From 12786d3b952f50fa092402269f2ef4e6dd877543 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 19 Jan 2024 16:12:04 +0000 Subject: [PATCH 01/26] chore(release): 5.29.0 [skip ci] # [5.29.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.28.0...v5.29.0) (2024-01-19) ### Features * add support for jcont filter as object ([f1f83d6](https://github.com/commercelayer/commercelayer-sdk/commit/f1f83d6aabc3bcd1568ac2cef04423e2be1e1562)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af4f4e5c..364603f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [5.29.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.28.0...v5.29.0) (2024-01-19) + + +### Features + +* add support for jcont filter as object ([f1f83d6](https://github.com/commercelayer/commercelayer-sdk/commit/f1f83d6aabc3bcd1568ac2cef04423e2be1e1562)) + # [5.28.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.27.3...v5.28.0) (2024-01-12) diff --git a/package.json b/package.json index 5f944c92..6e112cf3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@commercelayer/sdk", - "version": "5.28.0", + "version": "5.29.0", "main": "lib/cjs/index.js", "types": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", From 4c2cbc45811f7a5e63039390499230aa466c55f0 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Thu, 25 Jan 2024 11:39:09 +0100 Subject: [PATCH 02/26] feat: update resources to schema v4.25.0 --- gen/openapi.json | 16 +- package.json | 4 +- pnpm-lock.yaml | 267 +++++++++++++-------------- src/commercelayer.ts | 2 +- src/resources/adyen_gateways.ts | 4 +- src/resources/order_subscriptions.ts | 1 + test/spot.ts | 28 ++- 7 files changed, 175 insertions(+), 147 deletions(-) diff --git a/gen/openapi.json b/gen/openapi.json index 74420eed..f8e8a0b1 100644 --- a/gen/openapi.json +++ b/gen/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Commerce Layer API", - "version": "4.24.0", + "version": "4.25.0", "contact": { "name": "API Support", "url": "https://commercelayer.io", @@ -31873,9 +31873,9 @@ "example": "1797a841fbb37ca7-AdyenDemo" }, "api_version": { - "type": "string", + "type": "integer", "description": "The checkout API version, supported range is from 66 to 68, default is 68.", - "example": "68" + "example": 68 }, "async_api": { "type": "boolean", @@ -32006,9 +32006,9 @@ "nullable": false }, "api_version": { - "type": "string", + "type": "integer", "description": "The checkout API version, supported range is from 66 to 68, default is 68.", - "example": "68" + "example": 68 }, "async_api": { "type": "boolean", @@ -71940,6 +71940,12 @@ "example": "2018-01-02T12:00:00.000Z", "nullable": true }, + "last_run_at": { + "type": "string", + "description": "The date/time of the subscription last run.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true + }, "next_run_at": { "type": "string", "description": "The date/time of the subscription next run. Can be updated but only in the future, to copy with frequency changes.", diff --git a/package.json b/package.json index 6e112cf3..24579b9d 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "@types/debug": "^4.1.12", "@types/jest": "^29.5.11", "@types/lodash": "^4.14.202", - "@types/node": "^20.11.5", - "dotenv": "^16.3.1", + "@types/node": "^20.11.6", + "dotenv": "^16.4.1", "eslint": "^8.56.0", "inflector-js": "^1.0.1", "jest": "^29.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 08d16e82..8ab10d94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,11 +41,11 @@ devDependencies: specifier: ^4.14.202 version: 4.14.202 '@types/node': - specifier: ^20.11.5 - version: 20.11.5 + specifier: ^20.11.6 + version: 20.11.6 dotenv: - specifier: ^16.3.1 - version: 16.3.1 + specifier: ^16.4.1 + version: 16.4.1 eslint: specifier: ^8.56.0 version: 8.56.0 @@ -54,7 +54,7 @@ devDependencies: version: 1.0.1 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.5)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -72,7 +72,7 @@ devDependencies: version: 22.0.12(typescript@5.3.3) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.5)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.6)(typescript@5.3.3) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -89,7 +89,7 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.21 + '@jridgewell/trace-mapping': 0.3.22 dev: true /@babel/code-frame@7.23.5: @@ -134,7 +134,7 @@ packages: dependencies: '@babel/types': 7.23.6 '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.21 + '@jridgewell/trace-mapping': 0.3.22 jsesc: 2.5.2 dev: true @@ -1250,7 +1250,7 @@ packages: babel-plugin-polyfill-corejs2: 0.4.8(@babel/core@7.23.7) babel-plugin-polyfill-corejs3: 0.8.7(@babel/core@7.23.7) babel-plugin-polyfill-regenerator: 0.5.5(@babel/core@7.23.7) - core-js-compat: 3.35.0 + core-js-compat: 3.35.1 semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -1345,12 +1345,12 @@ packages: eslint: '>=8.0' typescript: '>=5.0' dependencies: - '@typescript-eslint/eslint-plugin': 6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.19.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.19.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.19.1(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 eslint-config-prettier: 9.1.0(eslint@8.56.0) - eslint-config-standard-with-typescript: 42.0.0(@typescript-eslint/eslint-plugin@6.19.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.19.0)(eslint@8.56.0) + eslint-config-standard-with-typescript: 42.0.0(@typescript-eslint/eslint-plugin@6.19.1)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0) eslint-plugin-n: 16.6.2(eslint@8.56.0) eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.4) eslint-plugin-promise: 6.1.1(eslint@8.56.0) @@ -1663,7 +1663,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1684,14 +1684,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.5)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1719,7 +1719,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 jest-mock: 29.7.0 dev: true @@ -1746,7 +1746,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.5 + '@types/node': 20.11.6 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1778,8 +1778,8 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.21 - '@types/node': 20.11.5 + '@jridgewell/trace-mapping': 0.3.22 + '@types/node': 20.11.6 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1812,7 +1812,7 @@ packages: resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jridgewell/trace-mapping': 0.3.21 + '@jridgewell/trace-mapping': 0.3.22 callsites: 3.1.0 graceful-fs: 4.2.11 dev: true @@ -1843,7 +1843,7 @@ packages: dependencies: '@babel/core': 7.23.7 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.21 + '@jridgewell/trace-mapping': 0.3.22 babel-plugin-istanbul: 6.1.1 chalk: 4.1.2 convert-source-map: 2.0.0 @@ -1867,7 +1867,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.5 + '@types/node': 20.11.6 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1878,7 +1878,7 @@ packages: dependencies: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.21 + '@jridgewell/trace-mapping': 0.3.22 dev: true /@jridgewell/resolve-uri@3.1.1: @@ -1895,8 +1895,8 @@ packages: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true - /@jridgewell/trace-mapping@0.3.21: - resolution: {integrity: sha512-SRfKmRe1KvYnxjEMtxEr+J4HIeMX5YBg/qhRHpxEIGjhX1rshcHlnFUE9K0GazhVKWM7B+nARSkV8LuvJdJ5/g==} + /@jridgewell/trace-mapping@0.3.22: + resolution: {integrity: sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==} dependencies: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 @@ -1935,8 +1935,8 @@ packages: engines: {node: '>= 18'} dev: true - /@octokit/core@5.0.2: - resolution: {integrity: sha512-cZUy1gUvd4vttMic7C0lwPed8IYXWYp8kHIMatyhY8t8n3Cpw2ILczkV5pGMPqef7v0bLo0pOHrEHarsau2Ydg==} + /@octokit/core@5.1.0: + resolution: {integrity: sha512-BDa2VAMLSh3otEiaMJ/3Y36GU4qf6GI+VivQ/P41NC6GHcdxpKlqV0ikSZ5gdQsmS3ojXeRx5vasgNTinF0Q4g==} engines: {node: '>= 18'} dependencies: '@octokit/auth-token': 4.0.0 @@ -1969,35 +1969,35 @@ packages: resolution: {integrity: sha512-6G+ywGClliGQwRsjvqVYpklIfa7oRPA0vyhPQG/1Feh+B+wU0vGH1JiJ5T25d3g1JZYBHzR2qefLi9x8Gt+cpw==} dev: true - /@octokit/plugin-paginate-rest@9.1.5(@octokit/core@5.0.2): + /@octokit/plugin-paginate-rest@9.1.5(@octokit/core@5.1.0): resolution: {integrity: sha512-WKTQXxK+bu49qzwv4qKbMMRXej1DU2gq017euWyKVudA6MldaSSQuxtz+vGbhxV4CjxpUxjZu6rM2wfc1FiWVg==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': '>=5' dependencies: - '@octokit/core': 5.0.2 + '@octokit/core': 5.1.0 '@octokit/types': 12.4.0 dev: true - /@octokit/plugin-retry@6.0.1(@octokit/core@5.0.2): + /@octokit/plugin-retry@6.0.1(@octokit/core@5.1.0): resolution: {integrity: sha512-SKs+Tz9oj0g4p28qkZwl/topGcb0k0qPNX/i7vBKmDsjoeqnVfFUquqrE/O9oJY7+oLzdCtkiWSXLpLjvl6uog==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': '>=5' dependencies: - '@octokit/core': 5.0.2 + '@octokit/core': 5.1.0 '@octokit/request-error': 5.0.1 '@octokit/types': 12.4.0 bottleneck: 2.19.5 dev: true - /@octokit/plugin-throttling@8.1.3(@octokit/core@5.0.2): + /@octokit/plugin-throttling@8.1.3(@octokit/core@5.1.0): resolution: {integrity: sha512-pfyqaqpc0EXh5Cn4HX9lWYsZ4gGbjnSmUILeu4u2gnuM50K/wIk9s1Pxt3lVeVwekmITgN/nJdoh43Ka+vye8A==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': ^5.0.0 dependencies: - '@octokit/core': 5.0.2 + '@octokit/core': 5.1.0 '@octokit/types': 12.4.0 bottleneck: 2.19.5 dev: true @@ -2126,10 +2126,10 @@ packages: peerDependencies: semantic-release: '>=20.1.0' dependencies: - '@octokit/core': 5.0.2 - '@octokit/plugin-paginate-rest': 9.1.5(@octokit/core@5.0.2) - '@octokit/plugin-retry': 6.0.1(@octokit/core@5.0.2) - '@octokit/plugin-throttling': 8.1.3(@octokit/core@5.0.2) + '@octokit/core': 5.1.0 + '@octokit/plugin-paginate-rest': 9.1.5(@octokit/core@5.1.0) + '@octokit/plugin-retry': 6.0.1(@octokit/core@5.1.0) + '@octokit/plugin-throttling': 8.1.3(@octokit/core@5.1.0) '@semantic-release/error': 4.0.0 aggregate-error: 5.0.0 debug: 4.3.4 @@ -2160,7 +2160,7 @@ packages: lodash-es: 4.17.21 nerf-dart: 1.0.0 normalize-url: 8.0.0 - npm: 10.3.0 + npm: 10.4.0 rc: 1.2.8 read-pkg: 9.0.1 registry-auth-token: 5.0.2 @@ -2204,8 +2204,8 @@ packages: engines: {node: '>=18'} dev: true - /@sinonjs/commons@3.0.0: - resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} + /@sinonjs/commons@3.0.1: + resolution: {integrity: sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==} dependencies: type-detect: 4.0.8 dev: true @@ -2213,7 +2213,7 @@ packages: /@sinonjs/fake-timers@10.3.0: resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} dependencies: - '@sinonjs/commons': 3.0.0 + '@sinonjs/commons': 3.0.1 dev: true /@tsconfig/node10@1.0.9: @@ -2270,7 +2270,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.5 + '@types/node': 20.11.6 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -2312,8 +2312,8 @@ packages: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.11.5: - resolution: {integrity: sha512-g557vgQjUUfN76MZAN/dt1z3dzcUsimuysco0KeluHgrPdJXkP/XdAURgyO2W9fZWHRtRBiVKzKn8vyOAwlG+w==} + /@types/node@20.11.6: + resolution: {integrity: sha512-+EOokTnksGVgip2PbYbr3xnR7kZigh4LbybAfBAw5BpnQ+FqBYUsvCEjYd70IXKlbohQ64mzEYmMtlWUY8q//Q==} dependencies: undici-types: 5.26.5 dev: true @@ -2340,8 +2340,8 @@ packages: '@types/yargs-parser': 21.0.3 dev: true - /@typescript-eslint/eslint-plugin@6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-DUCUkQNklCQYnrBSSikjVChdc84/vMPDQSgJTHBZ64G9bA9w0Crc0rd2diujKbTdp6w2J47qkeHQLoi0rpLCdg==} + /@typescript-eslint/eslint-plugin@6.19.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-roQScUGFruWod9CEyoV5KlCYrubC/fvG8/1zXuT0WTcxX87GnMMmnksMwSg99lo1xiKrBzw2icsJPMAw1OtKxg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -2352,11 +2352,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.19.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 6.19.0 - '@typescript-eslint/type-utils': 6.19.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.19.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.19.0 + '@typescript-eslint/parser': 6.19.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.19.1 + '@typescript-eslint/type-utils': 6.19.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.19.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.19.1 debug: 4.3.4 eslint: 8.56.0 graphemer: 1.4.0 @@ -2369,8 +2369,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.19.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-1DyBLG5SH7PYCd00QlroiW60YJ4rWMuUGa/JBV0iZuqi4l4IK3twKPq5ZkEebmGqRjXWVgsUzfd3+nZveewgow==} + /@typescript-eslint/parser@6.19.1(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-WEfX22ziAh6pRE9jnbkkLGp/4RhTpffr2ZK5bJ18M8mIfA8A+k97U9ZyaXCEJRlmMHh7R9MJZWXp/r73DzINVQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -2379,10 +2379,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.19.0 - '@typescript-eslint/types': 6.19.0 - '@typescript-eslint/typescript-estree': 6.19.0(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.19.0 + '@typescript-eslint/scope-manager': 6.19.1 + '@typescript-eslint/types': 6.19.1 + '@typescript-eslint/typescript-estree': 6.19.1(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.19.1 debug: 4.3.4 eslint: 8.56.0 typescript: 5.3.3 @@ -2390,16 +2390,16 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@6.19.0: - resolution: {integrity: sha512-dO1XMhV2ehBI6QN8Ufi7I10wmUovmLU0Oru3n5LVlM2JuzB4M+dVphCPLkVpKvGij2j/pHBWuJ9piuXx+BhzxQ==} + /@typescript-eslint/scope-manager@6.19.1: + resolution: {integrity: sha512-4CdXYjKf6/6aKNMSly/BP4iCSOpvMmqtDzRtqFyyAae3z5kkqEjKndR5vDHL8rSuMIIWP8u4Mw4VxLyxZW6D5w==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.19.0 - '@typescript-eslint/visitor-keys': 6.19.0 + '@typescript-eslint/types': 6.19.1 + '@typescript-eslint/visitor-keys': 6.19.1 dev: true - /@typescript-eslint/type-utils@6.19.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-mcvS6WSWbjiSxKCwBcXtOM5pRkPQ6kcDds/juxcy/727IQr3xMEcwr/YLHW2A2+Fp5ql6khjbKBzOyjuPqGi/w==} + /@typescript-eslint/type-utils@6.19.1(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-0vdyld3ecfxJuddDjACUvlAeYNrHP/pDeQk2pWBR2ESeEzQhg52DF53AbI9QCBkYE23lgkhLCZNkHn2hEXXYIg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -2408,8 +2408,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.19.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.19.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.19.1(typescript@5.3.3) + '@typescript-eslint/utils': 6.19.1(eslint@8.56.0)(typescript@5.3.3) debug: 4.3.4 eslint: 8.56.0 ts-api-utils: 1.0.3(typescript@5.3.3) @@ -2418,13 +2418,13 @@ packages: - supports-color dev: true - /@typescript-eslint/types@6.19.0: - resolution: {integrity: sha512-lFviGV/vYhOy3m8BJ/nAKoAyNhInTdXpftonhWle66XHAtT1ouBlkjL496b5H5hb8dWXHwtypTqgtb/DEa+j5A==} + /@typescript-eslint/types@6.19.1: + resolution: {integrity: sha512-6+bk6FEtBhvfYvpHsDgAL3uo4BfvnTnoge5LrrCj2eJN8g3IJdLTD4B/jK3Q6vo4Ql/Hoip9I8aB6fF+6RfDqg==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@6.19.0(typescript@5.3.3): - resolution: {integrity: sha512-o/zefXIbbLBZ8YJ51NlkSAt2BamrK6XOmuxSR3hynMIzzyMY33KuJ9vuMdFSXW+H0tVvdF9qBPTHA91HDb4BIQ==} + /@typescript-eslint/typescript-estree@6.19.1(typescript@5.3.3): + resolution: {integrity: sha512-aFdAxuhzBFRWhy+H20nYu19+Km+gFfwNO4TEqyszkMcgBDYQjmPJ61erHxuT2ESJXhlhrO7I5EFIlZ+qGR8oVA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -2432,8 +2432,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.19.0 - '@typescript-eslint/visitor-keys': 6.19.0 + '@typescript-eslint/types': 6.19.1 + '@typescript-eslint/visitor-keys': 6.19.1 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -2445,8 +2445,8 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.19.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-QR41YXySiuN++/dC9UArYOg4X86OAYP83OWTewpVx5ct1IZhjjgTLocj7QNxGhWoTqknsgpl7L+hGygCO+sdYw==} + /@typescript-eslint/utils@6.19.1(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-JvjfEZuP5WoMqwh9SPAPDSHSg9FBHHGhjPugSRxu5jMfjvBpq5/sGTD+9M9aQ5sh6iJ8AY/Kk/oUYVEMAPwi7w==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -2454,9 +2454,9 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.6 - '@typescript-eslint/scope-manager': 6.19.0 - '@typescript-eslint/types': 6.19.0 - '@typescript-eslint/typescript-estree': 6.19.0(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.19.1 + '@typescript-eslint/types': 6.19.1 + '@typescript-eslint/typescript-estree': 6.19.1(typescript@5.3.3) eslint: 8.56.0 semver: 7.5.4 transitivePeerDependencies: @@ -2464,11 +2464,11 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@6.19.0: - resolution: {integrity: sha512-hZaUCORLgubBvtGpp1JEFEazcuEdfxta9j4iUwdSAr7mEsYYAp3EAUyCZk3VEEqGj6W+AV4uWyrDGtrlawAsgQ==} + /@typescript-eslint/visitor-keys@6.19.1: + resolution: {integrity: sha512-gkdtIO+xSO/SmI0W68DBg4u1KElmIUo3vXzgHyGPs6cxgB0sa3TlptRAAE0hUY1hM6FcDKEv7aIwiTGm76cXfQ==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.19.0 + '@typescript-eslint/types': 6.19.1 eslint-visitor-keys: 3.4.3 dev: true @@ -2761,7 +2761,7 @@ packages: dependencies: '@babel/core': 7.23.7 '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.7) - core-js-compat: 3.35.0 + core-js-compat: 3.35.1 transitivePeerDependencies: - supports-color dev: true @@ -2845,8 +2845,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001579 - electron-to-chromium: 1.4.637 + caniuse-lite: 1.0.30001580 + electron-to-chromium: 1.4.645 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.2) dev: true @@ -2895,8 +2895,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite@1.0.30001579: - resolution: {integrity: sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==} + /caniuse-lite@1.0.30001580: + resolution: {integrity: sha512-mtj5ur2FFPZcCEpXFy8ADXbDACuNFXg6mxVDqp7tqooX6l3zwm+d8EPoeOSIFRDvHs8qu7/SLFOGniULkcH2iA==} dev: true /cardinal@2.1.1: @@ -3073,8 +3073,8 @@ packages: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} dev: true - /core-js-compat@3.35.0: - resolution: {integrity: sha512-5blwFAddknKeNgsjBzilkdQ0+YK8L1PfqPYq40NOYMYFSS38qj+hpTcLLWwpIwA2A5bje/x5jmVn2tzUMg9IVw==} + /core-js-compat@3.35.1: + resolution: {integrity: sha512-sftHa5qUJY3rs9Zht1WEnmkvXputCyDBczPnr7QDgL8n3qrF3CMXY4VPSYtOLLiOUJcah2WNXREd48iOl6mQIw==} dependencies: browserslist: 4.22.2 dev: true @@ -3099,7 +3099,7 @@ packages: typescript: 5.3.3 dev: true - /create-jest@29.7.0(@types/node@20.11.5)(ts-node@10.9.2): + /create-jest@29.7.0(@types/node@20.11.6)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3108,7 +3108,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.5)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3254,8 +3254,8 @@ packages: is-obj: 2.0.0 dev: true - /dotenv@16.3.1: - resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==} + /dotenv@16.4.1: + resolution: {integrity: sha512-CjA3y+Dr3FyFDOAMnxZEGtnW9KBR2M0JvvUtXNW+dYJL5ROWxP9DUHCwgFqpMk0OXCc0ljhaNTr2w/kutYIcHQ==} engines: {node: '>=12'} dev: true @@ -3273,8 +3273,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.637: - resolution: {integrity: sha512-G7j3UCOukFtxVO1vWrPQUoDk3kL70mtvjc/DC/k2o7lE0wAdq+Vwp1ipagOow+BH0uVztFysLWbkM/RTIrbK3w==} + /electron-to-chromium@1.4.645: + resolution: {integrity: sha512-EeS1oQDCmnYsRDRy2zTeC336a/4LZ6WKqvSaM1jLocEk5ZuyszkQtCpsqvuvaIXGOUjwtvF6LTcS8WueibXvSw==} dev: true /emittery@0.13.1: @@ -3450,7 +3450,7 @@ packages: eslint: 8.56.0 dev: true - /eslint-config-standard-with-typescript@42.0.0(@typescript-eslint/eslint-plugin@6.19.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3): + /eslint-config-standard-with-typescript@42.0.0(@typescript-eslint/eslint-plugin@6.19.1)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3): resolution: {integrity: sha512-m1/2g/Sicun1uFZOFigJVeOqo9fE7OkMsNtilcpHwdCdcGr21qsGqYiyxYSvvHfJwY7w5OTQH0hxk8sM2N5Ohg==} peerDependencies: '@typescript-eslint/eslint-plugin': ^6.4.0 @@ -3460,11 +3460,11 @@ packages: eslint-plugin-promise: ^6.0.0 typescript: '*' dependencies: - '@typescript-eslint/eslint-plugin': 6.19.0(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.19.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.19.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.19.1(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.19.0)(eslint@8.56.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0) eslint-plugin-n: 16.6.2(eslint@8.56.0) eslint-plugin-promise: 6.1.1(eslint@8.56.0) typescript: 5.3.3 @@ -3482,7 +3482,7 @@ packages: eslint-plugin-promise: ^6.0.0 dependencies: eslint: 8.56.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.19.0)(eslint@8.56.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0) eslint-plugin-n: 16.6.2(eslint@8.56.0) eslint-plugin-promise: 6.1.1(eslint@8.56.0) dev: true @@ -3497,7 +3497,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.19.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.19.1)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -3518,7 +3518,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.19.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.19.1(eslint@8.56.0)(typescript@5.3.3) debug: 3.2.7 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 @@ -3538,7 +3538,7 @@ packages: eslint-compat-utils: 0.1.2(eslint@8.56.0) dev: true - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.19.0)(eslint@8.56.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -3548,7 +3548,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.19.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.19.1(eslint@8.56.0)(typescript@5.3.3) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 @@ -3557,7 +3557,7 @@ packages: doctrine: 2.1.0 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.19.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.19.1)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -4595,7 +4595,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4616,7 +4616,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.5)(ts-node@10.9.2): + /jest-cli@29.7.0(@types/node@20.11.6)(ts-node@10.9.2): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4630,10 +4630,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.5)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.5)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4644,7 +4644,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.5)(ts-node@10.9.2): + /jest-config@29.7.0(@types/node@20.11.6)(ts-node@10.9.2): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4659,7 +4659,7 @@ packages: '@babel/core': 7.23.7 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 babel-jest: 29.7.0(@babel/core@7.23.7) chalk: 4.1.2 ci-info: 3.9.0 @@ -4679,7 +4679,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.11.5)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@20.11.6)(typescript@5.3.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -4720,7 +4720,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4736,7 +4736,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.5 + '@types/node': 20.11.6 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4787,7 +4787,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 jest-util: 29.7.0 dev: true @@ -4842,7 +4842,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4873,7 +4873,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4925,7 +4925,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4950,7 +4950,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.5 + '@types/node': 20.11.6 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -4962,13 +4962,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.5 + '@types/node': 20.11.6 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.5)(ts-node@10.9.2): + /jest@29.7.0(@types/node@20.11.6)(ts-node@10.9.2): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4981,7 +4981,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.2) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.5)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -5388,8 +5388,8 @@ packages: path-key: 4.0.0 dev: true - /npm@10.3.0: - resolution: {integrity: sha512-9u5GFc1UqI2DLlGI7QdjkpIaBs3UhTtY8KoCqYJK24gV/j/tByaI4BA4R7RkOc+ASqZMzFPKt4Pj2Z8JcGo//A==} + /npm@10.4.0: + resolution: {integrity: sha512-RS7Mx0OVfXlOcQLRePuDIYdFCVBPCNapWHplDK+mh7GDdP/Tvor4ocuybRRPSvfcRb2vjRJt1fHCqw3cr8qACQ==} engines: {node: ^18.17.0 || >=20.5.0} hasBin: true dev: true @@ -5456,7 +5456,6 @@ packages: - semver - spdx-expression-parse - ssri - - strip-ansi - supports-color - tar - text-table @@ -5659,7 +5658,7 @@ packages: dependencies: '@babel/code-frame': 7.23.5 index-to-position: 0.1.2 - type-fest: 4.9.0 + type-fest: 4.10.1 dev: true /path-exists@3.0.0: @@ -5833,7 +5832,7 @@ packages: dependencies: find-up-simple: 1.0.0 read-pkg: 9.0.1 - type-fest: 4.9.0 + type-fest: 4.10.1 dev: true /read-pkg@9.0.1: @@ -5843,7 +5842,7 @@ packages: '@types/normalize-package-data': 2.4.4 normalize-package-data: 6.0.0 parse-json: 8.1.0 - type-fest: 4.9.0 + type-fest: 4.10.1 unicorn-magic: 0.1.0 dev: true @@ -6168,14 +6167,14 @@ packages: spdx-license-ids: 3.0.16 dev: true - /spdx-exceptions@2.3.0: - resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} + /spdx-exceptions@2.4.0: + resolution: {integrity: sha512-hcjppoJ68fhxA/cjbN4T8N6uCUejN8yFw69ttpqtBeCbF3u13n7mb31NB9jKwGTTWWnt9IbRA/mf1FprYS8wfw==} dev: true /spdx-expression-parse@3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} dependencies: - spdx-exceptions: 2.3.0 + spdx-exceptions: 2.4.0 spdx-license-ids: 3.0.16 dev: true @@ -6429,7 +6428,7 @@ packages: typescript: 5.3.3 dev: true - /ts-node@10.9.2(@types/node@20.11.5)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.6)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6448,7 +6447,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.5 + '@types/node': 20.11.6 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -6510,8 +6509,8 @@ packages: engines: {node: '>=14.16'} dev: true - /type-fest@4.9.0: - resolution: {integrity: sha512-KS/6lh/ynPGiHD/LnAobrEFq3Ad4pBzOlJ1wAnJx9N4EYoqFhMfLIBjUT2UEx4wg5ZE+cC1ob6DCSpppVo+rtg==} + /type-fest@4.10.1: + resolution: {integrity: sha512-7ZnJYTp6uc04uYRISWtiX3DSKB/fxNQT0B5o1OUeCqiQiwF+JC9+rJiZIDrPrNCLLuTqyQmh4VdQqh/ZOkv9MQ==} engines: {node: '>=16'} dev: true @@ -6663,7 +6662,7 @@ packages: resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} engines: {node: '>=10.12.0'} dependencies: - '@jridgewell/trace-mapping': 0.3.21 + '@jridgewell/trace-mapping': 0.3.22 '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 dev: true diff --git a/src/commercelayer.ts b/src/commercelayer.ts index 3806d0f0..d6e6d8b0 100644 --- a/src/commercelayer.ts +++ b/src/commercelayer.ts @@ -10,7 +10,7 @@ const debug = Debug('commercelayer') // Autogenerated schema version number, do not remove this line -const OPEN_API_SCHEMA_VERSION = '4.24.0' +const OPEN_API_SCHEMA_VERSION = '4.25.0' export { OPEN_API_SCHEMA_VERSION } diff --git a/src/resources/adyen_gateways.ts b/src/resources/adyen_gateways.ts index c90a6bcc..0ee378cd 100644 --- a/src/resources/adyen_gateways.ts +++ b/src/resources/adyen_gateways.ts @@ -36,7 +36,7 @@ interface AdyenGatewayCreate extends ResourceCreate { api_key: string public_key?: string | null live_url_prefix: string - api_version?: string | null + api_version?: number | null async_api?: boolean | null webhook_endpoint_secret?: string | null @@ -52,7 +52,7 @@ interface AdyenGatewayUpdate extends ResourceUpdate { api_key?: string | null public_key?: string | null live_url_prefix?: string | null - api_version?: string | null + api_version?: number | null async_api?: boolean | null webhook_endpoint_secret?: string | null diff --git a/src/resources/order_subscriptions.ts b/src/resources/order_subscriptions.ts index 089428be..d3b8988a 100644 --- a/src/resources/order_subscriptions.ts +++ b/src/resources/order_subscriptions.ts @@ -32,6 +32,7 @@ interface OrderSubscription extends Resource { customer_email?: string | null starts_at?: string | null expires_at?: string | null + last_run_at?: string | null next_run_at?: string | null occurrencies?: number | null errors_count?: number | null diff --git a/test/spot.ts b/test/spot.ts index 1796bcf3..75f4bcee 100644 --- a/test/spot.ts +++ b/test/spot.ts @@ -1,6 +1,6 @@ import { inspect } from 'util' -import commercelayer from '../src/index' +import commercelayer, { Tag } from '../src/index' import getToken from './token' @@ -17,8 +17,30 @@ import getToken from './token' try { - const customers = await cl.customers.list({ filters: { email_eq: 'userx2@server.com' }}) - console.log(inspect(customers, false, null, true)) + let tags = await cl.tags.list() + console.log(inspect(tags, false, null, true)) + const tag = tags.first() + + tags = await cl.customers.tags('OqzZhVzyaQ') + console.log(inspect(tags, false, null, true)) + + let customer = await cl.customers.update({ + id: 'OqzZhVzyaQ', + tags: [ cl.tags.relationship(tag as Tag) ] + }, { + include: ['tags'] + }) + console.log(inspect(customer, false, null, true)) + + customer = await cl.customers.update({ + id: 'OqzZhVzyaQ', + tags: [ cl.tags.relationship(null) ] + }, { + include: ['tags'] + }) + console.log(inspect(customer, false, null, true)) + + } catch (error: any) { console.log(inspect(error, false, null, true)) From 969fed1339e818e66e9e7f37dadcefec7871dfae Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 25 Jan 2024 10:41:32 +0000 Subject: [PATCH 03/26] chore(release): 5.30.0 [skip ci] # [5.30.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.29.0...v5.30.0) (2024-01-25) ### Features * update resources to schema v4.25.0 ([4c2cbc4](https://github.com/commercelayer/commercelayer-sdk/commit/4c2cbc45811f7a5e63039390499230aa466c55f0)) * update resources to schema v4.25.0 ([#318](https://github.com/commercelayer/commercelayer-sdk/issues/318)) ([d4cfc33](https://github.com/commercelayer/commercelayer-sdk/commit/d4cfc33d4d41ea2901eaff25f2b81364076401d0)) --- CHANGELOG.md | 8 ++++++++ package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 364603f1..c07af3c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# [5.30.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.29.0...v5.30.0) (2024-01-25) + + +### Features + +* update resources to schema v4.25.0 ([4c2cbc4](https://github.com/commercelayer/commercelayer-sdk/commit/4c2cbc45811f7a5e63039390499230aa466c55f0)) +* update resources to schema v4.25.0 ([#318](https://github.com/commercelayer/commercelayer-sdk/issues/318)) ([d4cfc33](https://github.com/commercelayer/commercelayer-sdk/commit/d4cfc33d4d41ea2901eaff25f2b81364076401d0)) + # [5.29.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.28.0...v5.29.0) (2024-01-19) diff --git a/package.json b/package.json index 24579b9d..d6450131 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@commercelayer/sdk", - "version": "5.29.0", + "version": "5.30.0", "main": "lib/cjs/index.js", "types": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", From 653531afc0c0e8c2ea412e170598afab5caef329 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti <57948342+pviti@users.noreply.github.com> Date: Wed, 31 Jan 2024 10:41:01 +0100 Subject: [PATCH 04/26] feat: add support for array and object query filters --- package.json | 4 +- pnpm-lock.yaml | 997 ++++++++++++++++++++++++------------------------- src/query.ts | 19 +- test/spot.ts | 41 +- 4 files changed, 529 insertions(+), 532 deletions(-) diff --git a/package.json b/package.json index d6450131..39308fbb 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "axios": "1.6.5" }, "devDependencies": { - "@babel/preset-env": "^7.23.8", + "@babel/preset-env": "^7.23.9", "@babel/preset-typescript": "^7.23.3", "@commercelayer/eslint-config-ts": "1.3.0", "@commercelayer/js-auth": "^4.2.0", @@ -45,7 +45,7 @@ "@types/debug": "^4.1.12", "@types/jest": "^29.5.11", "@types/lodash": "^4.14.202", - "@types/node": "^20.11.6", + "@types/node": "^20.11.13", "dotenv": "^16.4.1", "eslint": "^8.56.0", "inflector-js": "^1.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8ab10d94..798d9f90 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,11 +14,11 @@ dependencies: devDependencies: '@babel/preset-env': - specifier: ^7.23.8 - version: 7.23.8(@babel/core@7.23.7) + specifier: ^7.23.9 + version: 7.23.9(@babel/core@7.23.9) '@babel/preset-typescript': specifier: ^7.23.3 - version: 7.23.3(@babel/core@7.23.7) + version: 7.23.3(@babel/core@7.23.9) '@commercelayer/eslint-config-ts': specifier: 1.3.0 version: 1.3.0(eslint@8.56.0)(typescript@5.3.3) @@ -41,8 +41,8 @@ devDependencies: specifier: ^4.14.202 version: 4.14.202 '@types/node': - specifier: ^20.11.6 - version: 20.11.6 + specifier: ^20.11.13 + version: 20.11.13 dotenv: specifier: ^16.4.1 version: 16.4.1 @@ -54,7 +54,7 @@ devDependencies: version: 1.0.1 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -72,7 +72,7 @@ devDependencies: version: 22.0.12(typescript@5.3.3) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.6)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.13)(typescript@5.3.3) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -105,20 +105,20 @@ packages: engines: {node: '>=6.9.0'} dev: true - /@babel/core@7.23.7: - resolution: {integrity: sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw==} + /@babel/core@7.23.9: + resolution: {integrity: sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw==} engines: {node: '>=6.9.0'} dependencies: '@ampproject/remapping': 2.2.1 '@babel/code-frame': 7.23.5 '@babel/generator': 7.23.6 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) - '@babel/helpers': 7.23.8 - '@babel/parser': 7.23.6 - '@babel/template': 7.22.15 - '@babel/traverse': 7.23.7 - '@babel/types': 7.23.6 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) + '@babel/helpers': 7.23.9 + '@babel/parser': 7.23.9 + '@babel/template': 7.23.9 + '@babel/traverse': 7.23.9 + '@babel/types': 7.23.9 convert-source-map: 2.0.0 debug: 4.3.4 gensync: 1.0.0-beta.2 @@ -132,7 +132,7 @@ packages: resolution: {integrity: sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.22 jsesc: 2.5.2 @@ -142,14 +142,14 @@ packages: resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true /@babel/helper-builder-binary-assignment-operator-visitor@7.22.15: resolution: {integrity: sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true /@babel/helper-compilation-targets@7.23.6: @@ -158,62 +158,47 @@ packages: dependencies: '@babel/compat-data': 7.23.5 '@babel/helper-validator-option': 7.23.5 - browserslist: 4.22.2 + browserslist: 4.22.3 lru-cache: 5.1.1 semver: 6.3.1 dev: true - /@babel/helper-create-class-features-plugin@7.23.7(@babel/core@7.23.7): - resolution: {integrity: sha512-xCoqR/8+BoNnXOY7RVSgv6X+o7pmT5q1d+gGcRlXYkI+9B31glE4jeejhKVpA04O1AtzOt7OSQ6VYKP5FcRl9g==} + /@babel/helper-create-class-features-plugin@7.23.9(@babel/core@7.23.9): + resolution: {integrity: sha512-B2L9neXTIyPQoXDm+NtovPvG6VOLWnaXu3BIeVDWwdKFgG30oNa6CqVGiJPDWQwIAK49t9gnQI9c6K6RzabiKw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-function-name': 7.23.0 '@babel/helper-member-expression-to-functions': 7.23.0 '@babel/helper-optimise-call-expression': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.7) + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.9) '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 semver: 6.3.1 dev: true - /@babel/helper-create-regexp-features-plugin@7.22.15(@babel/core@7.23.7): + /@babel/helper-create-regexp-features-plugin@7.22.15(@babel/core@7.23.9): resolution: {integrity: sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-annotate-as-pure': 7.22.5 regexpu-core: 5.3.2 semver: 6.3.1 dev: true - /@babel/helper-define-polyfill-provider@0.4.4(@babel/core@7.23.7): - resolution: {integrity: sha512-QcJMILQCu2jm5TFPGA3lCpJJTeEP+mqeXooG/NZbg/h5FTFi6V0+99ahlRsW8/kRLyb24LZVCCiclDedhLKcBA==} - peerDependencies: - '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - dependencies: - '@babel/core': 7.23.7 - '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.22.5 - debug: 4.3.4 - lodash.debounce: 4.0.8 - resolve: 1.22.8 - transitivePeerDependencies: - - supports-color - dev: true - - /@babel/helper-define-polyfill-provider@0.5.0(@babel/core@7.23.7): + /@babel/helper-define-polyfill-provider@0.5.0(@babel/core@7.23.9): resolution: {integrity: sha512-NovQquuQLAQ5HuyjCz7WQP9MjRj7dx++yspwiyUiGl9ZyadHRSql1HZh5ogRd8W8w6YM6EQ/NTB8rgjLt5W65Q==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-plugin-utils': 7.22.5 debug: 4.3.4 @@ -232,38 +217,38 @@ packages: resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.22.15 - '@babel/types': 7.23.6 + '@babel/template': 7.23.9 + '@babel/types': 7.23.9 dev: true /@babel/helper-hoist-variables@7.22.5: resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true /@babel/helper-member-expression-to-functions@7.23.0: resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true /@babel/helper-module-imports@7.22.15: resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true - /@babel/helper-module-transforms@7.23.3(@babel/core@7.23.7): + /@babel/helper-module-transforms@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-module-imports': 7.22.15 '@babel/helper-simple-access': 7.22.5 @@ -275,7 +260,7 @@ packages: resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true /@babel/helper-plugin-utils@7.22.5: @@ -283,25 +268,25 @@ packages: engines: {node: '>=6.9.0'} dev: true - /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.23.7): + /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.23.9): resolution: {integrity: sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-wrap-function': 7.22.20 dev: true - /@babel/helper-replace-supers@7.22.20(@babel/core@7.23.7): + /@babel/helper-replace-supers@7.22.20(@babel/core@7.23.9): resolution: {integrity: sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-member-expression-to-functions': 7.23.0 '@babel/helper-optimise-call-expression': 7.22.5 @@ -311,21 +296,21 @@ packages: resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true /@babel/helper-skip-transparent-expression-wrappers@7.22.5: resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true /@babel/helper-split-export-declaration@7.22.6: resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true /@babel/helper-string-parser@7.23.4: @@ -348,17 +333,17 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/helper-function-name': 7.23.0 - '@babel/template': 7.22.15 - '@babel/types': 7.23.6 + '@babel/template': 7.23.9 + '@babel/types': 7.23.9 dev: true - /@babel/helpers@7.23.8: - resolution: {integrity: sha512-KDqYz4PiOWvDFrdHLPhKtCThtIcKVy6avWD2oG4GEvyQ+XDZwHD4YQd+H2vNMnq2rkdxsDkU82T+Vk8U/WXHRQ==} + /@babel/helpers@7.23.9: + resolution: {integrity: sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.22.15 - '@babel/traverse': 7.23.7 - '@babel/types': 7.23.6 + '@babel/template': 7.23.9 + '@babel/traverse': 7.23.9 + '@babel/types': 7.23.9 transitivePeerDependencies: - supports-color dev: true @@ -372,937 +357,937 @@ packages: js-tokens: 4.0.0 dev: true - /@babel/parser@7.23.6: - resolution: {integrity: sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==} + /@babel/parser@7.23.9: + resolution: {integrity: sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==} engines: {node: '>=6.0.0'} hasBin: true dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true - /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.23.3(@babel/core@7.23.7): + /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.23.3(@babel/core@7.23.7): + /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.13.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.9) dev: true - /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.23.7(@babel/core@7.23.7): + /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.23.7(@babel/core@7.23.9): resolution: {integrity: sha512-LlRT7HgaifEpQA1ZgLVOIJZZFVPWN5iReq/7/JixwBtwcoeVGDBD53ZV28rrsLYOZs1Y/EHhA8N/Z6aazHR8cw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.7): + /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.9): resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 dev: true - /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.23.7): + /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.23.9): resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.23.7): + /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.23.9): resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.23.7): + /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.23.9): resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.23.7): + /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.23.9): resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.23.7): + /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.23.9): resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.23.7): + /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.23.9): resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-import-assertions@7.23.3(@babel/core@7.23.7): + /@babel/plugin-syntax-import-assertions@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-import-attributes@7.23.3(@babel/core@7.23.7): + /@babel/plugin-syntax-import-attributes@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.23.7): + /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.23.9): resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.7): + /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.9): resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.7): + /@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.23.7): + /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.23.9): resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.23.7): + /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.23.9): resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.7): + /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.9): resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.23.7): + /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.23.9): resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.23.7): + /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.23.9): resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.23.7): + /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.23.9): resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.23.7): + /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.23.9): resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.23.7): + /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.23.9): resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-typescript@7.23.3(@babel/core@7.23.7): + /@babel/plugin-syntax-typescript@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.23.7): + /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.23.9): resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-arrow-functions@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-arrow-functions@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-async-generator-functions@7.23.7(@babel/core@7.23.7): - resolution: {integrity: sha512-PdxEpL71bJp1byMG0va5gwQcXHxuEYC/BgI/e88mGTtohbZN28O5Yit0Plkkm/dBzCF/BxmbNcses1RH1T+urA==} + /@babel/plugin-transform-async-generator-functions@7.23.9(@babel/core@7.23.9): + resolution: {integrity: sha512-8Q3veQEDGe14dTYuwagbRtwxQDnytyg1JFu4/HwEMETeofocrB0U0ejBJIXoeG/t2oXZ8kzCyI0ZZfbT80VFNQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.7) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.7) + '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.9) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-async-to-generator@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-async-to-generator@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-A7LFsKi4U4fomjqXJlZg/u0ft/n8/7n7lpffUP/ZULx/DtV9SGlNKZolHH6PE8Xl1ngCc0M11OaeZptXVkfKSw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-module-imports': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.7) + '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-block-scoped-functions@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-block-scoped-functions@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-block-scoping@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-block-scoping@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-class-properties@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-class-properties@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-create-class-features-plugin': 7.23.7(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-class-static-block@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-class-static-block@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.12.0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-create-class-features-plugin': 7.23.7(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.7) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-classes@7.23.8(@babel/core@7.23.7): + /@babel/plugin-transform-classes@7.23.8(@babel/core@7.23.9): resolution: {integrity: sha512-yAYslGsY1bX6Knmg46RjiCiNSwJKv2IUC8qOdYKqMMr0491SXFhcHqOdRDeCRohOOIzwN/90C6mQ9qAKgrP7dg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-function-name': 7.23.0 '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.7) + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.9) '@babel/helper-split-export-declaration': 7.22.6 globals: 11.12.0 dev: true - /@babel/plugin-transform-computed-properties@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-computed-properties@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 - '@babel/template': 7.22.15 + '@babel/template': 7.23.9 dev: true - /@babel/plugin-transform-destructuring@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-destructuring@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-dotall-regex@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-dotall-regex@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-duplicate-keys@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-duplicate-keys@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-dynamic-import@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-dynamic-import@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-exponentiation-operator@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-exponentiation-operator@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-builder-binary-assignment-operator-visitor': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-export-namespace-from@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-export-namespace-from@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-for-of@7.23.6(@babel/core@7.23.7): + /@babel/plugin-transform-for-of@7.23.6(@babel/core@7.23.9): resolution: {integrity: sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 dev: true - /@babel/plugin-transform-function-name@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-function-name@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-function-name': 7.23.0 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-json-strings@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-json-strings@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-literals@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-literals@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-logical-assignment-operators@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-logical-assignment-operators@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.7) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-member-expression-literals@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-member-expression-literals@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-modules-amd@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-modules-amd@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-simple-access': 7.22.5 dev: true - /@babel/plugin-transform-modules-systemjs@7.23.3(@babel/core@7.23.7): - resolution: {integrity: sha512-ZxyKGTkF9xT9YJuKQRo19ewf3pXpopuYQd8cDXqNzc3mUNbOME0RKMoZxviQk74hwzfQsEe66dE92MaZbdHKNQ==} + /@babel/plugin-transform-modules-systemjs@7.23.9(@babel/core@7.23.9): + resolution: {integrity: sha512-KDlPRM6sLo4o1FkiSlXoAa8edLXFsKKIda779fbLrvmeuc3itnjCtaO6RrtoaANsIJANj+Vk1zqbZIMhkCAHVw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-identifier': 7.22.20 dev: true - /@babel/plugin-transform-modules-umd@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-modules-umd@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.23.7): + /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.23.9): resolution: {integrity: sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-new-target@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-new-target@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-nullish-coalescing-operator@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-nullish-coalescing-operator@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-numeric-separator@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-numeric-separator@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.7) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-object-rest-spread@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-object-rest-spread@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-9x9K1YyeQVw0iOXJlIzwm8ltobIIv7j2iLyP2jIhEbqPRQ7ScNgwQufU2I0Gq11VjyG4gI4yMXt2VFags+1N3g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-object-super@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-object-super@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.7) + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-optional-catch-binding@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-optional-catch-binding@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-optional-chaining@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-optional-chaining@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-parameters@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-parameters@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-private-methods@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-private-methods@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-create-class-features-plugin': 7.23.7(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-private-property-in-object@7.23.4(@babel/core@7.23.7): + /@babel/plugin-transform-private-property-in-object@7.23.4(@babel/core@7.23.9): resolution: {integrity: sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.23.7(@babel/core@7.23.7) + '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.7) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-property-literals@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-property-literals@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-regenerator@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-regenerator@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 regenerator-transform: 0.15.2 dev: true - /@babel/plugin-transform-reserved-words@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-reserved-words@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-shorthand-properties@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-shorthand-properties@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-spread@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-spread@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 dev: true - /@babel/plugin-transform-sticky-regex@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-sticky-regex@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-template-literals@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-template-literals@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-typeof-symbol@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-typeof-symbol@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-typescript@7.23.6(@babel/core@7.23.7): + /@babel/plugin-transform-typescript@7.23.6(@babel/core@7.23.9): resolution: {integrity: sha512-6cBG5mBvUu4VUD04OHKnYzbuHNP8huDsD3EDqqpIpsswTDoqHCjLoHb6+QgsV1WsT2nipRqCPgxD3LXnEO7XfA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.23.7(@babel/core@7.23.7) + '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.9) dev: true - /@babel/plugin-transform-unicode-escapes@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-unicode-escapes@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-unicode-property-regex@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-unicode-property-regex@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-unicode-regex@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-unicode-regex@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/plugin-transform-unicode-sets-regex@7.23.3(@babel/core@7.23.7): + /@babel/plugin-transform-unicode-sets-regex@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true - /@babel/preset-env@7.23.8(@babel/core@7.23.7): - resolution: {integrity: sha512-lFlpmkApLkEP6woIKprO6DO60RImpatTQKtz4sUcDjVcK8M8mQ4sZsuxaTMNOZf0sqAq/ReYW1ZBHnOQwKpLWA==} + /@babel/preset-env@7.23.9(@babel/core@7.23.9): + resolution: {integrity: sha512-3kBGTNBBk9DQiPoXYS0g0BYlwTQYUTifqgKTjxUwEUkduRT2QOa0FPGBJ+NROQhGyYO5BuTJwGvBnqKDykac6A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-option': 7.23.5 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.23.7(@babel/core@7.23.7) - '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.7) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.7) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.7) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.7) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-syntax-import-attributes': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.7) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.7) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.7) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.7) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.7) - '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.23.7) - '@babel/plugin-transform-arrow-functions': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-async-generator-functions': 7.23.7(@babel/core@7.23.7) - '@babel/plugin-transform-async-to-generator': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-block-scoped-functions': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-block-scoping': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-class-properties': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-class-static-block': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-classes': 7.23.8(@babel/core@7.23.7) - '@babel/plugin-transform-computed-properties': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-destructuring': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-dotall-regex': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-duplicate-keys': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-dynamic-import': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-exponentiation-operator': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-export-namespace-from': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-for-of': 7.23.6(@babel/core@7.23.7) - '@babel/plugin-transform-function-name': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-json-strings': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-literals': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-logical-assignment-operators': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-member-expression-literals': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-modules-amd': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-modules-systemjs': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-modules-umd': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.23.7) - '@babel/plugin-transform-new-target': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-nullish-coalescing-operator': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-numeric-separator': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-object-rest-spread': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-object-super': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-optional-catch-binding': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-private-methods': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-private-property-in-object': 7.23.4(@babel/core@7.23.7) - '@babel/plugin-transform-property-literals': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-regenerator': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-reserved-words': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-shorthand-properties': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-spread': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-sticky-regex': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-template-literals': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-typeof-symbol': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-unicode-escapes': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-unicode-property-regex': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.23.7) - '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.7) - babel-plugin-polyfill-corejs2: 0.4.8(@babel/core@7.23.7) - babel-plugin-polyfill-corejs3: 0.8.7(@babel/core@7.23.7) - babel-plugin-polyfill-regenerator: 0.5.5(@babel/core@7.23.7) + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.23.7(@babel/core@7.23.9) + '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.9) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.9) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.9) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.9) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-syntax-import-attributes': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.9) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.9) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.9) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.9) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.9) + '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.23.9) + '@babel/plugin-transform-arrow-functions': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-async-generator-functions': 7.23.9(@babel/core@7.23.9) + '@babel/plugin-transform-async-to-generator': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-block-scoped-functions': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-block-scoping': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-class-properties': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-class-static-block': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-classes': 7.23.8(@babel/core@7.23.9) + '@babel/plugin-transform-computed-properties': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-destructuring': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-dotall-regex': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-duplicate-keys': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-dynamic-import': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-exponentiation-operator': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-export-namespace-from': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-for-of': 7.23.6(@babel/core@7.23.9) + '@babel/plugin-transform-function-name': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-json-strings': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-literals': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-logical-assignment-operators': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-member-expression-literals': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-modules-amd': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-modules-systemjs': 7.23.9(@babel/core@7.23.9) + '@babel/plugin-transform-modules-umd': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.23.9) + '@babel/plugin-transform-new-target': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-nullish-coalescing-operator': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-numeric-separator': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-object-rest-spread': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-object-super': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-optional-catch-binding': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-private-methods': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-private-property-in-object': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-property-literals': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-regenerator': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-reserved-words': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-shorthand-properties': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-spread': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-sticky-regex': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-template-literals': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-typeof-symbol': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-unicode-escapes': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-unicode-property-regex': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.23.9) + '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.9) + babel-plugin-polyfill-corejs2: 0.4.8(@babel/core@7.23.9) + babel-plugin-polyfill-corejs3: 0.9.0(@babel/core@7.23.9) + babel-plugin-polyfill-regenerator: 0.5.5(@babel/core@7.23.9) core-js-compat: 3.35.1 semver: 6.3.1 transitivePeerDependencies: - supports-color dev: true - /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.23.7): + /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.23.9): resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==} peerDependencies: '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 esutils: 2.0.3 dev: true - /@babel/preset-typescript@7.23.3(@babel/core@7.23.7): + /@babel/preset-typescript@7.23.3(@babel/core@7.23.9): resolution: {integrity: sha512-17oIGVlqz6CchO9RFYn5U6ZpWRZIngayYCtrPRSgANSwC2V1Jb+iP74nVxzzXJte8b8BYxrL1yY96xfhTBrNNQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-option': 7.23.5 - '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.7) + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.9) dev: true /@babel/regjsgen@0.8.0: resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} dev: true - /@babel/runtime@7.23.8: - resolution: {integrity: sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw==} + /@babel/runtime@7.23.9: + resolution: {integrity: sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.14.1 dev: true - /@babel/template@7.22.15: - resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==} + /@babel/template@7.23.9: + resolution: {integrity: sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.23.5 - '@babel/parser': 7.23.6 - '@babel/types': 7.23.6 + '@babel/parser': 7.23.9 + '@babel/types': 7.23.9 dev: true - /@babel/traverse@7.23.7: - resolution: {integrity: sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg==} + /@babel/traverse@7.23.9: + resolution: {integrity: sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.23.5 @@ -1311,16 +1296,16 @@ packages: '@babel/helper-function-name': 7.23.0 '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.6 - '@babel/types': 7.23.6 + '@babel/parser': 7.23.9 + '@babel/types': 7.23.9 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: - supports-color dev: true - /@babel/types@7.23.6: - resolution: {integrity: sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==} + /@babel/types@7.23.9: + resolution: {integrity: sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-string-parser': 7.23.4 @@ -1345,12 +1330,12 @@ packages: eslint: '>=8.0' typescript: '>=5.0' dependencies: - '@typescript-eslint/eslint-plugin': 6.19.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.19.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.20.0(@typescript-eslint/parser@6.20.0)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.20.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 eslint-config-prettier: 9.1.0(eslint@8.56.0) - eslint-config-standard-with-typescript: 42.0.0(@typescript-eslint/eslint-plugin@6.19.1)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0) + eslint-config-standard-with-typescript: 42.0.0(@typescript-eslint/eslint-plugin@6.20.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.20.0)(eslint@8.56.0) eslint-plugin-n: 16.6.2(eslint@8.56.0) eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.4) eslint-plugin-promise: 6.1.1(eslint@8.56.0) @@ -1663,7 +1648,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.6 + '@types/node': 20.11.13 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1684,14 +1669,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.6 + '@types/node': 20.11.13 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1719,7 +1704,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.6 + '@types/node': 20.11.13 jest-mock: 29.7.0 dev: true @@ -1746,7 +1731,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.6 + '@types/node': 20.11.13 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1779,7 +1764,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.22 - '@types/node': 20.11.6 + '@types/node': 20.11.13 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1841,7 +1826,7 @@ packages: resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.22 babel-plugin-istanbul: 6.1.1 @@ -1867,7 +1852,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.6 + '@types/node': 20.11.13 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1927,7 +1912,7 @@ packages: engines: {node: '>= 8'} dependencies: '@nodelib/fs.scandir': 2.1.5 - fastq: 1.16.0 + fastq: 1.17.0 dev: true /@octokit/auth-token@4.0.0: @@ -2235,8 +2220,8 @@ packages: /@types/babel__core@7.20.5: resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} dependencies: - '@babel/parser': 7.23.6 - '@babel/types': 7.23.6 + '@babel/parser': 7.23.9 + '@babel/types': 7.23.9 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.5 @@ -2245,20 +2230,20 @@ packages: /@types/babel__generator@7.6.8: resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true /@types/babel__template@7.4.4: resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} dependencies: - '@babel/parser': 7.23.6 - '@babel/types': 7.23.6 + '@babel/parser': 7.23.9 + '@babel/types': 7.23.9 dev: true /@types/babel__traverse@7.20.5: resolution: {integrity: sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==} dependencies: - '@babel/types': 7.23.6 + '@babel/types': 7.23.9 dev: true /@types/debug@4.1.12: @@ -2270,7 +2255,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.6 + '@types/node': 20.11.13 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -2312,8 +2297,8 @@ packages: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.11.6: - resolution: {integrity: sha512-+EOokTnksGVgip2PbYbr3xnR7kZigh4LbybAfBAw5BpnQ+FqBYUsvCEjYd70IXKlbohQ64mzEYmMtlWUY8q//Q==} + /@types/node@20.11.13: + resolution: {integrity: sha512-5G4zQwdiQBSWYTDAH1ctw2eidqdhMJaNsiIDKHFr55ihz5Trl2qqR8fdrT732yPBho5gkNxXm67OxWFBqX9aPg==} dependencies: undici-types: 5.26.5 dev: true @@ -2340,8 +2325,8 @@ packages: '@types/yargs-parser': 21.0.3 dev: true - /@typescript-eslint/eslint-plugin@6.19.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-roQScUGFruWod9CEyoV5KlCYrubC/fvG8/1zXuT0WTcxX87GnMMmnksMwSg99lo1xiKrBzw2icsJPMAw1OtKxg==} + /@typescript-eslint/eslint-plugin@6.20.0(@typescript-eslint/parser@6.20.0)(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -2352,11 +2337,11 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.19.1(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 6.19.1 - '@typescript-eslint/type-utils': 6.19.1(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.19.1(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.19.1 + '@typescript-eslint/parser': 6.20.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.20.0 + '@typescript-eslint/type-utils': 6.20.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.20.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.20.0 debug: 4.3.4 eslint: 8.56.0 graphemer: 1.4.0 @@ -2369,8 +2354,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.19.1(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-WEfX22ziAh6pRE9jnbkkLGp/4RhTpffr2ZK5bJ18M8mIfA8A+k97U9ZyaXCEJRlmMHh7R9MJZWXp/r73DzINVQ==} + /@typescript-eslint/parser@6.20.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -2379,10 +2364,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.19.1 - '@typescript-eslint/types': 6.19.1 - '@typescript-eslint/typescript-estree': 6.19.1(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.19.1 + '@typescript-eslint/scope-manager': 6.20.0 + '@typescript-eslint/types': 6.20.0 + '@typescript-eslint/typescript-estree': 6.20.0(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.20.0 debug: 4.3.4 eslint: 8.56.0 typescript: 5.3.3 @@ -2390,16 +2375,16 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@6.19.1: - resolution: {integrity: sha512-4CdXYjKf6/6aKNMSly/BP4iCSOpvMmqtDzRtqFyyAae3z5kkqEjKndR5vDHL8rSuMIIWP8u4Mw4VxLyxZW6D5w==} + /@typescript-eslint/scope-manager@6.20.0: + resolution: {integrity: sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.19.1 - '@typescript-eslint/visitor-keys': 6.19.1 + '@typescript-eslint/types': 6.20.0 + '@typescript-eslint/visitor-keys': 6.20.0 dev: true - /@typescript-eslint/type-utils@6.19.1(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-0vdyld3ecfxJuddDjACUvlAeYNrHP/pDeQk2pWBR2ESeEzQhg52DF53AbI9QCBkYE23lgkhLCZNkHn2hEXXYIg==} + /@typescript-eslint/type-utils@6.20.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -2408,8 +2393,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.19.1(typescript@5.3.3) - '@typescript-eslint/utils': 6.19.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.20.0(typescript@5.3.3) + '@typescript-eslint/utils': 6.20.0(eslint@8.56.0)(typescript@5.3.3) debug: 4.3.4 eslint: 8.56.0 ts-api-utils: 1.0.3(typescript@5.3.3) @@ -2418,13 +2403,13 @@ packages: - supports-color dev: true - /@typescript-eslint/types@6.19.1: - resolution: {integrity: sha512-6+bk6FEtBhvfYvpHsDgAL3uo4BfvnTnoge5LrrCj2eJN8g3IJdLTD4B/jK3Q6vo4Ql/Hoip9I8aB6fF+6RfDqg==} + /@typescript-eslint/types@6.20.0: + resolution: {integrity: sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@6.19.1(typescript@5.3.3): - resolution: {integrity: sha512-aFdAxuhzBFRWhy+H20nYu19+Km+gFfwNO4TEqyszkMcgBDYQjmPJ61erHxuT2ESJXhlhrO7I5EFIlZ+qGR8oVA==} + /@typescript-eslint/typescript-estree@6.20.0(typescript@5.3.3): + resolution: {integrity: sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -2432,8 +2417,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.19.1 - '@typescript-eslint/visitor-keys': 6.19.1 + '@typescript-eslint/types': 6.20.0 + '@typescript-eslint/visitor-keys': 6.20.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -2445,8 +2430,8 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.19.1(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-JvjfEZuP5WoMqwh9SPAPDSHSg9FBHHGhjPugSRxu5jMfjvBpq5/sGTD+9M9aQ5sh6iJ8AY/Kk/oUYVEMAPwi7w==} + /@typescript-eslint/utils@6.20.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -2454,9 +2439,9 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.6 - '@typescript-eslint/scope-manager': 6.19.1 - '@typescript-eslint/types': 6.19.1 - '@typescript-eslint/typescript-estree': 6.19.1(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.20.0 + '@typescript-eslint/types': 6.20.0 + '@typescript-eslint/typescript-estree': 6.20.0(typescript@5.3.3) eslint: 8.56.0 semver: 7.5.4 transitivePeerDependencies: @@ -2464,11 +2449,11 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@6.19.1: - resolution: {integrity: sha512-gkdtIO+xSO/SmI0W68DBg4u1KElmIUo3vXzgHyGPs6cxgB0sa3TlptRAAE0hUY1hM6FcDKEv7aIwiTGm76cXfQ==} + /@typescript-eslint/visitor-keys@6.20.0: + resolution: {integrity: sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.19.1 + '@typescript-eslint/types': 6.20.0 eslint-visitor-keys: 3.4.3 dev: true @@ -2700,17 +2685,17 @@ packages: - debug dev: false - /babel-jest@29.7.0(@babel/core@7.23.7): + /babel-jest@29.7.0(@babel/core@7.23.9): resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.8.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@jest/transform': 29.7.0 '@types/babel__core': 7.20.5 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.6.3(@babel/core@7.23.7) + babel-preset-jest: 29.6.3(@babel/core@7.23.9) chalk: 4.1.2 graceful-fs: 4.2.11 slash: 3.0.0 @@ -2735,77 +2720,77 @@ packages: resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/template': 7.22.15 - '@babel/types': 7.23.6 + '@babel/template': 7.23.9 + '@babel/types': 7.23.9 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.5 dev: true - /babel-plugin-polyfill-corejs2@0.4.8(@babel/core@7.23.7): + /babel-plugin-polyfill-corejs2@0.4.8(@babel/core@7.23.9): resolution: {integrity: sha512-OtIuQfafSzpo/LhnJaykc0R/MMnuLSSVjVYy9mHArIZ9qTCSZ6TpWCuEKZYVoN//t8HqBNScHrOtCrIK5IaGLg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.7 - '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.23.9) semver: 6.3.1 transitivePeerDependencies: - supports-color dev: true - /babel-plugin-polyfill-corejs3@0.8.7(@babel/core@7.23.7): - resolution: {integrity: sha512-KyDvZYxAzkC0Aj2dAPyDzi2Ym15e5JKZSK+maI7NAwSqofvuFglbSsxE7wUOvTg9oFVnHMzVzBKcqEb4PJgtOA==} + /babel-plugin-polyfill-corejs3@0.9.0(@babel/core@7.23.9): + resolution: {integrity: sha512-7nZPG1uzK2Ymhy/NbaOWTg3uibM2BmGASS4vHS4szRZAIR8R6GwA/xAujpdrXU5iyklrimWnLWU+BLF9suPTqg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.23.9) core-js-compat: 3.35.1 transitivePeerDependencies: - supports-color dev: true - /babel-plugin-polyfill-regenerator@0.5.5(@babel/core@7.23.7): + /babel-plugin-polyfill-regenerator@0.5.5(@babel/core@7.23.9): resolution: {integrity: sha512-OJGYZlhLqBh2DDHeqAxWB1XIvr49CxiJ2gIt61/PU55CQK4Z58OzMqjDe1zwQdQk+rBYsRc+1rJmdajM3gimHg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.7 - '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.23.7) + '@babel/core': 7.23.9 + '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.23.9) transitivePeerDependencies: - supports-color dev: true - /babel-preset-current-node-syntax@1.0.1(@babel/core@7.23.7): + /babel-preset-current-node-syntax@1.0.1(@babel/core@7.23.9): resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.7) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.7) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.7) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.7) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.7) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.7) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.7) - dev: true - - /babel-preset-jest@29.6.3(@babel/core@7.23.7): + '@babel/core': 7.23.9 + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.9) + '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.9) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.9) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.9) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.9) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.9) + dev: true + + /babel-preset-jest@29.6.3(@babel/core@7.23.9): resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 babel-plugin-jest-hoist: 29.6.3 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.7) + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.9) dev: true /balanced-match@1.0.2: @@ -2840,15 +2825,15 @@ packages: fill-range: 7.0.1 dev: true - /browserslist@4.22.2: - resolution: {integrity: sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==} + /browserslist@4.22.3: + resolution: {integrity: sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001580 - electron-to-chromium: 1.4.645 + caniuse-lite: 1.0.30001581 + electron-to-chromium: 1.4.651 node-releases: 2.0.14 - update-browserslist-db: 1.0.13(browserslist@4.22.2) + update-browserslist-db: 1.0.13(browserslist@4.22.3) dev: true /bser@2.1.1: @@ -2895,8 +2880,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite@1.0.30001580: - resolution: {integrity: sha512-mtj5ur2FFPZcCEpXFy8ADXbDACuNFXg6mxVDqp7tqooX6l3zwm+d8EPoeOSIFRDvHs8qu7/SLFOGniULkcH2iA==} + /caniuse-lite@1.0.30001581: + resolution: {integrity: sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ==} dev: true /cardinal@2.1.1: @@ -3076,7 +3061,7 @@ packages: /core-js-compat@3.35.1: resolution: {integrity: sha512-sftHa5qUJY3rs9Zht1WEnmkvXputCyDBczPnr7QDgL8n3qrF3CMXY4VPSYtOLLiOUJcah2WNXREd48iOl6mQIw==} dependencies: - browserslist: 4.22.2 + browserslist: 4.22.3 dev: true /core-util-is@1.0.3: @@ -3099,7 +3084,7 @@ packages: typescript: 5.3.3 dev: true - /create-jest@29.7.0(@types/node@20.11.6)(ts-node@10.9.2): + /create-jest@29.7.0(@types/node@20.11.13)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3108,7 +3093,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3273,8 +3258,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.645: - resolution: {integrity: sha512-EeS1oQDCmnYsRDRy2zTeC336a/4LZ6WKqvSaM1jLocEk5ZuyszkQtCpsqvuvaIXGOUjwtvF6LTcS8WueibXvSw==} + /electron-to-chromium@1.4.651: + resolution: {integrity: sha512-jjks7Xx+4I7dslwsbaFocSwqBbGHQmuXBJUK9QBZTIrzPq3pzn6Uf2szFSP728FtLYE3ldiccmlkOM/zhGKCpA==} dev: true /emittery@0.13.1: @@ -3450,7 +3435,7 @@ packages: eslint: 8.56.0 dev: true - /eslint-config-standard-with-typescript@42.0.0(@typescript-eslint/eslint-plugin@6.19.1)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3): + /eslint-config-standard-with-typescript@42.0.0(@typescript-eslint/eslint-plugin@6.20.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3): resolution: {integrity: sha512-m1/2g/Sicun1uFZOFigJVeOqo9fE7OkMsNtilcpHwdCdcGr21qsGqYiyxYSvvHfJwY7w5OTQH0hxk8sM2N5Ohg==} peerDependencies: '@typescript-eslint/eslint-plugin': ^6.4.0 @@ -3460,11 +3445,11 @@ packages: eslint-plugin-promise: ^6.0.0 typescript: '*' dependencies: - '@typescript-eslint/eslint-plugin': 6.19.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.19.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.20.0(@typescript-eslint/parser@6.20.0)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.20.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.20.0)(eslint@8.56.0) eslint-plugin-n: 16.6.2(eslint@8.56.0) eslint-plugin-promise: 6.1.1(eslint@8.56.0) typescript: 5.3.3 @@ -3482,7 +3467,7 @@ packages: eslint-plugin-promise: ^6.0.0 dependencies: eslint: 8.56.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.20.0)(eslint@8.56.0) eslint-plugin-n: 16.6.2(eslint@8.56.0) eslint-plugin-promise: 6.1.1(eslint@8.56.0) dev: true @@ -3497,7 +3482,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.19.1)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.20.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -3518,7 +3503,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.19.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.20.0(eslint@8.56.0)(typescript@5.3.3) debug: 3.2.7 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 @@ -3538,7 +3523,7 @@ packages: eslint-compat-utils: 0.1.2(eslint@8.56.0) dev: true - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.19.1)(eslint@8.56.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.20.0)(eslint@8.56.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -3548,7 +3533,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.19.1(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.20.0(eslint@8.56.0)(typescript@5.3.3) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 @@ -3557,7 +3542,7 @@ packages: doctrine: 2.1.0 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.19.1)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.20.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -3795,8 +3780,8 @@ packages: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} dev: true - /fastq@1.16.0: - resolution: {integrity: sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==} + /fastq@1.17.0: + resolution: {integrity: sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==} dependencies: reusify: 1.0.4 dev: true @@ -4190,7 +4175,7 @@ packages: resolution: {integrity: sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: - lru-cache: 10.1.0 + lru-cache: 10.2.0 dev: true /html-escaper@2.0.2: @@ -4514,8 +4499,8 @@ packages: resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.23.7 - '@babel/parser': 7.23.6 + '@babel/core': 7.23.9 + '@babel/parser': 7.23.9 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -4527,8 +4512,8 @@ packages: resolution: {integrity: sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA==} engines: {node: '>=10'} dependencies: - '@babel/core': 7.23.7 - '@babel/parser': 7.23.6 + '@babel/core': 7.23.9 + '@babel/parser': 7.23.9 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 7.5.4 @@ -4595,7 +4580,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.6 + '@types/node': 20.11.13 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4616,7 +4601,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.6)(ts-node@10.9.2): + /jest-cli@29.7.0(@types/node@20.11.13)(ts-node@10.9.2): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4630,10 +4615,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4644,7 +4629,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.6)(ts-node@10.9.2): + /jest-config@29.7.0(@types/node@20.11.13)(ts-node@10.9.2): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4656,11 +4641,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.6 - babel-jest: 29.7.0(@babel/core@7.23.7) + '@types/node': 20.11.13 + babel-jest: 29.7.0(@babel/core@7.23.9) chalk: 4.1.2 ci-info: 3.9.0 deepmerge: 4.3.1 @@ -4679,7 +4664,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.11.6)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@20.11.13)(typescript@5.3.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -4720,7 +4705,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.6 + '@types/node': 20.11.13 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4736,7 +4721,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.6 + '@types/node': 20.11.13 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4787,7 +4772,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.6 + '@types/node': 20.11.13 jest-util: 29.7.0 dev: true @@ -4842,7 +4827,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.6 + '@types/node': 20.11.13 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4873,7 +4858,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.6 + '@types/node': 20.11.13 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4896,15 +4881,15 @@ packages: resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.23.7 + '@babel/core': 7.23.9 '@babel/generator': 7.23.6 - '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.7) - '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.7) - '@babel/types': 7.23.6 + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.9) + '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.9) + '@babel/types': 7.23.9 '@jest/expect-utils': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.7) + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.9) chalk: 4.1.2 expect: 29.7.0 graceful-fs: 4.2.11 @@ -4925,7 +4910,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.6 + '@types/node': 20.11.13 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4950,7 +4935,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.6 + '@types/node': 20.11.13 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -4962,13 +4947,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.6 + '@types/node': 20.11.13 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.6)(ts-node@10.9.2): + /jest@29.7.0(@types/node@20.11.13)(ts-node@10.9.2): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4981,7 +4966,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.2) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.6)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -5175,8 +5160,8 @@ packages: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} dev: true - /lru-cache@10.1.0: - resolution: {integrity: sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==} + /lru-cache@10.2.0: + resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==} engines: {node: 14 || >=16.14} dev: true @@ -5658,7 +5643,7 @@ packages: dependencies: '@babel/code-frame': 7.23.5 index-to-position: 0.1.2 - type-fest: 4.10.1 + type-fest: 4.10.2 dev: true /path-exists@3.0.0: @@ -5694,7 +5679,7 @@ packages: resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} engines: {node: '>=16 || 14 >=14.17'} dependencies: - lru-cache: 10.1.0 + lru-cache: 10.2.0 minipass: 7.0.4 dev: true @@ -5832,7 +5817,7 @@ packages: dependencies: find-up-simple: 1.0.0 read-pkg: 9.0.1 - type-fest: 4.10.1 + type-fest: 4.10.2 dev: true /read-pkg@9.0.1: @@ -5842,7 +5827,7 @@ packages: '@types/normalize-package-data': 2.4.4 normalize-package-data: 6.0.0 parse-json: 8.1.0 - type-fest: 4.10.1 + type-fest: 4.10.2 unicorn-magic: 0.1.0 dev: true @@ -5882,7 +5867,7 @@ packages: /regenerator-transform@0.15.2: resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==} dependencies: - '@babel/runtime': 7.23.8 + '@babel/runtime': 7.23.9 dev: true /regexp.prototype.flags@1.5.1: @@ -6428,7 +6413,7 @@ packages: typescript: 5.3.3 dev: true - /ts-node@10.9.2(@types/node@20.11.6)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.13)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6447,7 +6432,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.6 + '@types/node': 20.11.13 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -6509,8 +6494,8 @@ packages: engines: {node: '>=14.16'} dev: true - /type-fest@4.10.1: - resolution: {integrity: sha512-7ZnJYTp6uc04uYRISWtiX3DSKB/fxNQT0B5o1OUeCqiQiwF+JC9+rJiZIDrPrNCLLuTqyQmh4VdQqh/ZOkv9MQ==} + /type-fest@4.10.2: + resolution: {integrity: sha512-anpAG63wSpdEbLwOqH8L84urkL6PiVIov3EMmgIhhThevh9aiMQov+6Btx0wldNcvm4wV+e2/Rt1QdDwKHFbHw==} engines: {node: '>=16'} dev: true @@ -6628,13 +6613,13 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /update-browserslist-db@1.0.13(browserslist@4.22.2): + /update-browserslist-db@1.0.13(browserslist@4.22.3): resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' dependencies: - browserslist: 4.22.2 + browserslist: 4.22.3 escalade: 3.1.1 picocolors: 1.0.0 dev: true diff --git a/src/query.ts b/src/query.ts index 9259f361..7a20926f 100644 --- a/src/query.ts +++ b/src/query.ts @@ -2,10 +2,14 @@ import type { ResourceType } from "./resource" import Debug from './debug' +// import { ErrorType, SdkError } from "./error" const debug = Debug('query') -type QueryFilter = Record +type QueryFilter = Record> + +// const arrayFilters = ['_any', '_all', '_in'] +// const objectFilters = ['_jcont'] interface QueryParamsRetrieve { @@ -61,7 +65,18 @@ const generateQueryStringParams = (params: QueryParamsRetrieve | QueryParamsList // Filters if (params.filters) { Object.entries(params.filters).forEach(([p, v]) => { - qp[`filter[q][${p}]`] = (typeof v === 'object')? JSON.stringify(v) : String(v) + // const filter = p.substring(p.lastIndexOf('_')) + let val + if (Array.isArray(v)) { + // if (!arrayFilters.includes(filter)) throw new SdkError({ message: `Wrong ${filter} filter: Array value is supported only for the following filters: ${arrayFilters.join(', ')}`, type: ErrorType.REQUEST }) + val = v.join(',') + } + else if (typeof v === 'object') { + // if (!objectFilters.includes(filter)) throw new SdkError({ message: `Wrong ${filter} filter: Object value is supported only for the following filters: ${objectFilters.join(', ')}`, type: ErrorType.REQUEST }) + val = JSON.stringify(v) + } + else val = String(v) + qp[`filter[q][${p}]`] = val }) } } diff --git a/test/spot.ts b/test/spot.ts index 75f4bcee..35e989b0 100644 --- a/test/spot.ts +++ b/test/spot.ts @@ -17,29 +17,26 @@ import getToken from './token' try { - let tags = await cl.tags.list() - console.log(inspect(tags, false, null, true)) - const tag = tags.first() - - tags = await cl.customers.tags('OqzZhVzyaQ') - console.log(inspect(tags, false, null, true)) - - let customer = await cl.customers.update({ - id: 'OqzZhVzyaQ', - tags: [ cl.tags.relationship(tag as Tag) ] - }, { - include: ['tags'] - }) - console.log(inspect(customer, false, null, true)) - - customer = await cl.customers.update({ - id: 'OqzZhVzyaQ', - tags: [ cl.tags.relationship(null) ] - }, { - include: ['tags'] - }) - console.log(inspect(customer, false, null, true)) + let customers = await cl.customers.list({ filters: { 'email_cont_any': ['userx2@server.com','userx@server.com'] } }) + console.log(customers) + customers = await cl.customers.list({ filters: { 'email_cont_any': 'userx2@server.com,userx@server.com' } }) + console.log(customers) + + customers = await cl.customers.list({ filters: { 'email_cont': 'userx2@server.com' } }) + console.log(customers) + + customers = await cl.customers.list({ filters: { 'metadata_jcont': { testkey: 'meta' } } }) + console.log(customers) + + customers = await cl.customers.list({ filters: { 'metadata_jcont': '{ "testkey": "meta" }' } }) + console.log(customers) + + customers = await cl.customers.list({ filters: { 'email_eq': ['a', 'b'] } }) + console.log(customers) + + customers = await cl.customers.list({ filters: { 'metadata_eq': { testkey: 'meta' } } }) + console.log(customers) } catch (error: any) { From dcec5f3be066149feb6805263e55f929ab678cac Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 31 Jan 2024 09:41:56 +0000 Subject: [PATCH 05/26] chore(release): 5.31.0 [skip ci] # [5.31.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.30.0...v5.31.0) (2024-01-31) ### Features * add support for array and object query filters ([653531a](https://github.com/commercelayer/commercelayer-sdk/commit/653531afc0c0e8c2ea412e170598afab5caef329)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c07af3c1..d13d02f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [5.31.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.30.0...v5.31.0) (2024-01-31) + + +### Features + +* add support for array and object query filters ([653531a](https://github.com/commercelayer/commercelayer-sdk/commit/653531afc0c0e8c2ea412e170598afab5caef329)) + # [5.30.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.29.0...v5.30.0) (2024-01-25) diff --git a/package.json b/package.json index 39308fbb..c6d5edfe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@commercelayer/sdk", - "version": "5.30.0", + "version": "5.31.0", "main": "lib/cjs/index.js", "types": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", From 87f52f5032b24c3ad8b3a59012ae485ecd1fc9ad Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Thu, 1 Feb 2024 12:01:00 +0100 Subject: [PATCH 06/26] fix: enforce checks in query filters and resource parser --- gen/templates/spec.tpl | 2 +- package.json | 2 +- pnpm-lock.yaml | 122 ++++++++++++++++++++--------------------- src/query.ts | 12 ++-- src/resource.ts | 29 ++++++++-- test/spot.ts | 46 +++++++++------- 6 files changed, 118 insertions(+), 95 deletions(-) diff --git a/gen/templates/spec.tpl b/gen/templates/spec.tpl index 147c3191..1d1843ce 100644 --- a/gen/templates/spec.tpl +++ b/gen/templates/spec.tpl @@ -188,7 +188,7 @@ describe('##__RESOURCE_CLASS__## resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://cli-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/package.json b/package.json index c6d5edfe..fcd47bab 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@types/debug": "^4.1.12", "@types/jest": "^29.5.11", "@types/lodash": "^4.14.202", - "@types/node": "^20.11.13", + "@types/node": "^20.11.15", "dotenv": "^16.4.1", "eslint": "^8.56.0", "inflector-js": "^1.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 798d9f90..fa0e94d0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,8 +41,8 @@ devDependencies: specifier: ^4.14.202 version: 4.14.202 '@types/node': - specifier: ^20.11.13 - version: 20.11.13 + specifier: ^20.11.15 + version: 20.11.15 dotenv: specifier: ^16.4.1 version: 16.4.1 @@ -54,7 +54,7 @@ devDependencies: version: 1.0.1 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -72,7 +72,7 @@ devDependencies: version: 22.0.12(typescript@5.3.3) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.13)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.15)(typescript@5.3.3) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -163,8 +163,8 @@ packages: semver: 6.3.1 dev: true - /@babel/helper-create-class-features-plugin@7.23.9(@babel/core@7.23.9): - resolution: {integrity: sha512-B2L9neXTIyPQoXDm+NtovPvG6VOLWnaXu3BIeVDWwdKFgG30oNa6CqVGiJPDWQwIAK49t9gnQI9c6K6RzabiKw==} + /@babel/helper-create-class-features-plugin@7.23.10(@babel/core@7.23.9): + resolution: {integrity: sha512-2XpP2XhkXzgxecPNEEK8Vz8Asj9aRxt08oKOqtiZoqV2UGZ5T+EkyP9sXQ9nwMxBIG34a7jmasVqoMop7VdPUw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 @@ -667,7 +667,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) + '@babel/helper-create-class-features-plugin': 7.23.10(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true @@ -678,7 +678,7 @@ packages: '@babel/core': ^7.12.0 dependencies: '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) + '@babel/helper-create-class-features-plugin': 7.23.10(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.9) dev: true @@ -995,7 +995,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) + '@babel/helper-create-class-features-plugin': 7.23.10(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 dev: true @@ -1007,7 +1007,7 @@ packages: dependencies: '@babel/core': 7.23.9 '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) + '@babel/helper-create-class-features-plugin': 7.23.10(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.9) dev: true @@ -1102,7 +1102,7 @@ packages: dependencies: '@babel/core': 7.23.9 '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.23.9(@babel/core@7.23.9) + '@babel/helper-create-class-features-plugin': 7.23.10(@babel/core@7.23.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.9) dev: true @@ -1581,7 +1581,7 @@ packages: debug: 4.3.4 espree: 9.6.1 globals: 13.24.0 - ignore: 5.3.0 + ignore: 5.3.1 import-fresh: 3.3.0 js-yaml: 4.1.0 minimatch: 3.1.2 @@ -1648,7 +1648,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1669,14 +1669,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1704,7 +1704,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 jest-mock: 29.7.0 dev: true @@ -1731,7 +1731,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.13 + '@types/node': 20.11.15 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1764,7 +1764,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.22 - '@types/node': 20.11.13 + '@types/node': 20.11.15 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1852,7 +1852,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.13 + '@types/node': 20.11.15 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -2255,7 +2255,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.13 + '@types/node': 20.11.15 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -2297,8 +2297,8 @@ packages: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.11.13: - resolution: {integrity: sha512-5G4zQwdiQBSWYTDAH1ctw2eidqdhMJaNsiIDKHFr55ihz5Trl2qqR8fdrT732yPBho5gkNxXm67OxWFBqX9aPg==} + /@types/node@20.11.15: + resolution: {integrity: sha512-gscmuADZfvNULx1eyirVbr3kVOVZtpQtzKMCZpeSZcN6MfbkRXAR4s9/gsQ4CzxLHw6EStDtKLNtSDL3vbq05A==} dependencies: undici-types: 5.26.5 dev: true @@ -2345,7 +2345,7 @@ packages: debug: 4.3.4 eslint: 8.56.0 graphemer: 1.4.0 - ignore: 5.3.0 + ignore: 5.3.1 natural-compare: 1.4.0 semver: 7.5.4 ts-api-utils: 1.0.3(typescript@5.3.3) @@ -2670,8 +2670,8 @@ packages: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} dev: false - /available-typed-arrays@1.0.5: - resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} + /available-typed-arrays@1.0.6: + resolution: {integrity: sha512-j1QzY8iPNPG4o4xmO3ptzpRxTciqD3MgEHtifP/YnJpIo58Xu+ne4BejlbkuaLfXn/nz6HFiw29bLpj2PNMdGg==} engines: {node: '>= 0.4'} dev: true @@ -2830,8 +2830,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001581 - electron-to-chromium: 1.4.651 + caniuse-lite: 1.0.30001582 + electron-to-chromium: 1.4.653 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.3) dev: true @@ -2880,8 +2880,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite@1.0.30001581: - resolution: {integrity: sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ==} + /caniuse-lite@1.0.30001582: + resolution: {integrity: sha512-vsJG3V5vgfduaQGVxL53uSX/HUzxyr2eA8xCo36OLal7sRcSZbibJtLeh0qja4sFOr/QQGt4opB4tOy+eOgAxg==} dev: true /cardinal@2.1.1: @@ -3084,7 +3084,7 @@ packages: typescript: 5.3.3 dev: true - /create-jest@29.7.0(@types/node@20.11.13)(ts-node@10.9.2): + /create-jest@29.7.0(@types/node@20.11.15)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3093,7 +3093,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3258,8 +3258,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.651: - resolution: {integrity: sha512-jjks7Xx+4I7dslwsbaFocSwqBbGHQmuXBJUK9QBZTIrzPq3pzn6Uf2szFSP728FtLYE3ldiccmlkOM/zhGKCpA==} + /electron-to-chromium@1.4.653: + resolution: {integrity: sha512-wA2A2LQCqnEwQAvwADQq3KpMpNwgAUBnRmrFgRzHnPhbQUFArTR32Ab46f4p0MovDLcg4uqd4nCsN2hTltslpA==} dev: true /emittery@0.13.1: @@ -3299,7 +3299,7 @@ packages: dependencies: array-buffer-byte-length: 1.0.0 arraybuffer.prototype.slice: 1.0.2 - available-typed-arrays: 1.0.5 + available-typed-arrays: 1.0.6 call-bind: 1.0.5 es-set-tostringtag: 2.0.2 es-to-primitive: 1.2.1 @@ -3570,7 +3570,7 @@ packages: eslint-plugin-es-x: 7.5.0(eslint@8.56.0) get-tsconfig: 4.7.2 globals: 13.24.0 - ignore: 5.3.0 + ignore: 5.3.1 is-builtin-module: 3.2.1 is-core-module: 2.13.1 minimatch: 3.1.2 @@ -3651,7 +3651,7 @@ packages: glob-parent: 6.0.2 globals: 13.24.0 graphemer: 1.4.0 - ignore: 5.3.0 + ignore: 5.3.1 imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 @@ -4074,7 +4074,7 @@ packages: array-union: 2.1.0 dir-glob: 3.0.1 fast-glob: 3.3.2 - ignore: 5.3.0 + ignore: 5.3.1 merge2: 1.4.1 slash: 3.0.0 dev: true @@ -4085,7 +4085,7 @@ packages: dependencies: '@sindresorhus/merge-streams': 1.0.0 fast-glob: 3.3.2 - ignore: 5.3.0 + ignore: 5.3.1 path-type: 5.0.0 slash: 5.1.0 unicorn-magic: 0.1.0 @@ -4212,8 +4212,8 @@ packages: engines: {node: '>=16.17.0'} dev: true - /ignore@5.3.0: - resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==} + /ignore@5.3.1: + resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} dev: true @@ -4580,7 +4580,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4601,7 +4601,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.13)(ts-node@10.9.2): + /jest-cli@29.7.0(@types/node@20.11.15)(ts-node@10.9.2): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4615,10 +4615,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4629,7 +4629,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.13)(ts-node@10.9.2): + /jest-config@29.7.0(@types/node@20.11.15)(ts-node@10.9.2): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4644,7 +4644,7 @@ packages: '@babel/core': 7.23.9 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 babel-jest: 29.7.0(@babel/core@7.23.9) chalk: 4.1.2 ci-info: 3.9.0 @@ -4664,7 +4664,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.11.13)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@20.11.15)(typescript@5.3.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -4705,7 +4705,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4721,7 +4721,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.13 + '@types/node': 20.11.15 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4772,7 +4772,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 jest-util: 29.7.0 dev: true @@ -4827,7 +4827,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4858,7 +4858,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4910,7 +4910,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4935,7 +4935,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.13 + '@types/node': 20.11.15 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -4947,13 +4947,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.13 + '@types/node': 20.11.15 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.13)(ts-node@10.9.2): + /jest@29.7.0(@types/node@20.11.15)(ts-node@10.9.2): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4966,7 +4966,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.2) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.13)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -6413,7 +6413,7 @@ packages: typescript: 5.3.3 dev: true - /ts-node@10.9.2(@types/node@20.11.13)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.15)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6432,7 +6432,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.13 + '@types/node': 20.11.15 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -6522,7 +6522,7 @@ packages: resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==} engines: {node: '>= 0.4'} dependencies: - available-typed-arrays: 1.0.5 + available-typed-arrays: 1.0.6 call-bind: 1.0.5 for-each: 0.3.3 has-proto: 1.0.1 @@ -6679,7 +6679,7 @@ packages: resolution: {integrity: sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==} engines: {node: '>= 0.4'} dependencies: - available-typed-arrays: 1.0.5 + available-typed-arrays: 1.0.6 call-bind: 1.0.5 for-each: 0.3.3 gopd: 1.0.1 diff --git a/src/query.ts b/src/query.ts index 7a20926f..fe6ecbe2 100644 --- a/src/query.ts +++ b/src/query.ts @@ -2,14 +2,14 @@ import type { ResourceType } from "./resource" import Debug from './debug' -// import { ErrorType, SdkError } from "./error" +import { ErrorType, SdkError } from "./error" const debug = Debug('query') type QueryFilter = Record> -// const arrayFilters = ['_any', '_all', '_in'] -// const objectFilters = ['_jcont'] +const arrayFilters = ['_any', '_all', '_in'] +const objectFilters = ['_jcont'] interface QueryParamsRetrieve { @@ -65,14 +65,14 @@ const generateQueryStringParams = (params: QueryParamsRetrieve | QueryParamsList // Filters if (params.filters) { Object.entries(params.filters).forEach(([p, v]) => { - // const filter = p.substring(p.lastIndexOf('_')) + const filter = p.substring(p.lastIndexOf('_')) let val if (Array.isArray(v)) { - // if (!arrayFilters.includes(filter)) throw new SdkError({ message: `Wrong ${filter} filter: Array value is supported only for the following filters: ${arrayFilters.join(', ')}`, type: ErrorType.REQUEST }) + if (!arrayFilters.includes(filter)) throw new SdkError({ message: `Wrong ${filter} filter: Array value is supported only for the following filters: ${arrayFilters.join(', ')}`, type: ErrorType.REQUEST }) val = v.join(',') } else if (typeof v === 'object') { - // if (!objectFilters.includes(filter)) throw new SdkError({ message: `Wrong ${filter} filter: Object value is supported only for the following filters: ${objectFilters.join(', ')}`, type: ErrorType.REQUEST }) + if (!objectFilters.includes(filter)) throw new SdkError({ message: `Wrong ${filter} filter: Object value is supported only for the following filters: ${objectFilters.join(', ')}`, type: ErrorType.REQUEST }) val = JSON.stringify(v) } else val = String(v) diff --git a/src/resource.ts b/src/resource.ts index 6738e6a3..04be68b9 100644 --- a/src/resource.ts +++ b/src/resource.ts @@ -132,11 +132,11 @@ class ResourceAdapter { } - /* - get clientInstance(): ApiClient { + + get client(): Readonly { return this.#client } - */ + async singleton(resource: ResourceType, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { @@ -271,15 +271,34 @@ abstract class ApiResourceBase { abstract type(): ResourceTypeLock - parse(resource: string): R | R[] { + + parse(resource: string, options?: { ignoreSlug?: boolean }): R | R[] { + try { + const res = JSON.parse(resource) - if (res.data?.type !== this.type()) throw new SdkError({ message: `Invalid resource type [${res.data?.type}]`, type: ErrorType.PARSE }) + + // Resource type always checked + const rtype = res.data?.type + if (rtype !== this.type()) throw new SdkError({ message: `Invalid resource type [${rtype}]`, type: ErrorType.PARSE }) + + // Parse options + const { ignoreSlug } = options || {} + + if (!ignoreSlug) { + const links = res.data.links.self + if (!links || !String(links).match(`^${this.resources.client.baseUrl}/${this.type()}/*`)) + throw new SdkError({ message: `Resource contains invalid links [${links}]`, type: ErrorType.PARSE }) + } + + return denormalize(res as DocWithData) + } catch (error: any) { if (SdkError.isSdkError(error)) throw error else throw new SdkError({ message: `Payload parse error [${error.message}]`, type: ErrorType.PARSE }) } + } diff --git a/test/spot.ts b/test/spot.ts index 35e989b0..0b7183d8 100644 --- a/test/spot.ts +++ b/test/spot.ts @@ -17,27 +17,31 @@ import getToken from './token' try { - let customers = await cl.customers.list({ filters: { 'email_cont_any': ['userx2@server.com','userx@server.com'] } }) - console.log(customers) - - customers = await cl.customers.list({ filters: { 'email_cont_any': 'userx2@server.com,userx@server.com' } }) - console.log(customers) - - customers = await cl.customers.list({ filters: { 'email_cont': 'userx2@server.com' } }) - console.log(customers) - - customers = await cl.customers.list({ filters: { 'metadata_jcont': { testkey: 'meta' } } }) - console.log(customers) - - customers = await cl.customers.list({ filters: { 'metadata_jcont': '{ "testkey": "meta" }' } }) - console.log(customers) - - customers = await cl.customers.list({ filters: { 'email_eq': ['a', 'b'] } }) - console.log(customers) - - customers = await cl.customers.list({ filters: { 'metadata_eq': { testkey: 'meta' } } }) - console.log(customers) - + const payload = ` + { + "data": { + "id": "AbcdEfgHiL", + "meta": { + "mode": "test", + "organization_id": "myOrgId" + }, + "type": "customers2", + "links": { + "self": "https://sdk2-test-org.commercelayer.io/api/customers/AbcdEfgHiL" + }, + "attributes": { + "metadata": {}, + "reference": "ref_test", + "created_at": "2023-10-01T05:53:29.296Z", + "updated_at": "2023-10-10T08:52:13.251Z" + } + } + } + ` + + const c = cl.customers.parse(payload, { ignoreSlug: true }) + console.log('----------') + console.log(c) } catch (error: any) { console.log(inspect(error, false, null, true)) From 89795a67686c0e7fb13def73a86831b9ef9da555 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Thu, 1 Feb 2024 12:04:21 +0100 Subject: [PATCH 07/26] fix: fix parse spec --- gen/templates/spec.tpl | 2 +- specs/resources/addresses.spec.ts | 2 +- specs/resources/adjustments.spec.ts | 2 +- specs/resources/adyen_gateways.spec.ts | 2 +- specs/resources/adyen_payments.spec.ts | 2 +- specs/resources/application.spec.ts | 2 +- specs/resources/attachments.spec.ts | 2 +- specs/resources/authorizations.spec.ts | 2 +- specs/resources/avalara_accounts.spec.ts | 2 +- specs/resources/axerve_gateways.spec.ts | 2 +- specs/resources/axerve_payments.spec.ts | 2 +- specs/resources/billing_info_validation_rules.spec.ts | 2 +- specs/resources/bing_geocoders.spec.ts | 2 +- specs/resources/braintree_gateways.spec.ts | 2 +- specs/resources/braintree_payments.spec.ts | 2 +- specs/resources/bundles.spec.ts | 2 +- specs/resources/buy_x_pay_y_promotions.spec.ts | 2 +- specs/resources/captures.spec.ts | 2 +- specs/resources/carrier_accounts.spec.ts | 2 +- specs/resources/checkout_com_gateways.spec.ts | 2 +- specs/resources/checkout_com_payments.spec.ts | 2 +- specs/resources/cleanups.spec.ts | 2 +- specs/resources/coupon_codes_promotion_rules.spec.ts | 2 +- specs/resources/coupon_recipients.spec.ts | 2 +- specs/resources/coupons.spec.ts | 2 +- specs/resources/custom_promotion_rules.spec.ts | 2 +- specs/resources/customer_addresses.spec.ts | 2 +- specs/resources/customer_groups.spec.ts | 2 +- specs/resources/customer_password_resets.spec.ts | 2 +- specs/resources/customer_payment_sources.spec.ts | 2 +- specs/resources/customer_subscriptions.spec.ts | 2 +- specs/resources/customers.spec.ts | 2 +- specs/resources/delivery_lead_times.spec.ts | 2 +- specs/resources/event_callbacks.spec.ts | 2 +- specs/resources/events.spec.ts | 2 +- specs/resources/exports.spec.ts | 2 +- specs/resources/external_gateways.spec.ts | 2 +- specs/resources/external_payments.spec.ts | 2 +- specs/resources/external_promotions.spec.ts | 2 +- specs/resources/external_tax_calculators.spec.ts | 2 +- specs/resources/fixed_amount_promotions.spec.ts | 2 +- specs/resources/fixed_price_promotions.spec.ts | 2 +- specs/resources/free_gift_promotions.spec.ts | 2 +- specs/resources/free_shipping_promotions.spec.ts | 2 +- specs/resources/geocoders.spec.ts | 2 +- specs/resources/gift_card_recipients.spec.ts | 2 +- specs/resources/gift_cards.spec.ts | 2 +- specs/resources/google_geocoders.spec.ts | 2 +- specs/resources/imports.spec.ts | 2 +- specs/resources/in_stock_subscriptions.spec.ts | 2 +- specs/resources/inventory_models.spec.ts | 2 +- specs/resources/inventory_return_locations.spec.ts | 2 +- specs/resources/inventory_stock_locations.spec.ts | 2 +- specs/resources/klarna_gateways.spec.ts | 2 +- specs/resources/klarna_payments.spec.ts | 2 +- specs/resources/line_item_options.spec.ts | 2 +- specs/resources/line_items.spec.ts | 2 +- specs/resources/manual_gateways.spec.ts | 2 +- specs/resources/manual_tax_calculators.spec.ts | 2 +- specs/resources/markets.spec.ts | 2 +- specs/resources/merchants.spec.ts | 2 +- specs/resources/order_amount_promotion_rules.spec.ts | 2 +- specs/resources/order_copies.spec.ts | 2 +- specs/resources/order_factories.spec.ts | 2 +- specs/resources/order_subscription_items.spec.ts | 2 +- specs/resources/order_subscriptions.spec.ts | 2 +- specs/resources/order_validation_rules.spec.ts | 2 +- specs/resources/orders.spec.ts | 2 +- specs/resources/organization.spec.ts | 2 +- specs/resources/packages.spec.ts | 2 +- specs/resources/parcel_line_items.spec.ts | 2 +- specs/resources/parcels.spec.ts | 2 +- specs/resources/payment_gateways.spec.ts | 2 +- specs/resources/payment_methods.spec.ts | 2 +- specs/resources/payment_options.spec.ts | 2 +- specs/resources/paypal_gateways.spec.ts | 2 +- specs/resources/paypal_payments.spec.ts | 2 +- specs/resources/percentage_discount_promotions.spec.ts | 2 +- specs/resources/price_frequency_tiers.spec.ts | 2 +- specs/resources/price_lists.spec.ts | 2 +- specs/resources/price_tiers.spec.ts | 2 +- specs/resources/price_volume_tiers.spec.ts | 2 +- specs/resources/prices.spec.ts | 2 +- specs/resources/promotion_rules.spec.ts | 2 +- specs/resources/promotions.spec.ts | 2 +- specs/resources/recurring_order_copies.spec.ts | 2 +- specs/resources/refunds.spec.ts | 2 +- specs/resources/reserved_stocks.spec.ts | 2 +- specs/resources/return_line_items.spec.ts | 2 +- specs/resources/returns.spec.ts | 2 +- specs/resources/satispay_gateways.spec.ts | 2 +- specs/resources/satispay_payments.spec.ts | 2 +- specs/resources/shipments.spec.ts | 2 +- specs/resources/shipping_categories.spec.ts | 2 +- specs/resources/shipping_method_tiers.spec.ts | 2 +- specs/resources/shipping_methods.spec.ts | 2 +- specs/resources/shipping_weight_tiers.spec.ts | 2 +- specs/resources/shipping_zones.spec.ts | 2 +- specs/resources/sku_list_items.spec.ts | 2 +- specs/resources/sku_list_promotion_rules.spec.ts | 2 +- specs/resources/sku_lists.spec.ts | 2 +- specs/resources/sku_options.spec.ts | 2 +- specs/resources/skus.spec.ts | 2 +- specs/resources/stock_items.spec.ts | 2 +- specs/resources/stock_line_items.spec.ts | 2 +- specs/resources/stock_locations.spec.ts | 2 +- specs/resources/stock_reservations.spec.ts | 2 +- specs/resources/stock_transfers.spec.ts | 2 +- specs/resources/stripe_gateways.spec.ts | 2 +- specs/resources/stripe_payments.spec.ts | 2 +- specs/resources/subscription_models.spec.ts | 2 +- specs/resources/tags.spec.ts | 2 +- specs/resources/tax_calculators.spec.ts | 2 +- specs/resources/tax_categories.spec.ts | 2 +- specs/resources/tax_rules.spec.ts | 2 +- specs/resources/taxjar_accounts.spec.ts | 2 +- specs/resources/transactions.spec.ts | 2 +- specs/resources/versions.spec.ts | 2 +- specs/resources/voids.spec.ts | 2 +- specs/resources/webhooks.spec.ts | 2 +- specs/resources/wire_transfers.spec.ts | 2 +- 121 files changed, 121 insertions(+), 121 deletions(-) diff --git a/gen/templates/spec.tpl b/gen/templates/spec.tpl index 1d1843ce..abe6d8c5 100644 --- a/gen/templates/spec.tpl +++ b/gen/templates/spec.tpl @@ -188,7 +188,7 @@ describe('##__RESOURCE_CLASS__## resource', () => { }, "type": "${resourceType}", "links": { - "self": "https://cli-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/addresses.spec.ts b/specs/resources/addresses.spec.ts index 8eeb9427..248bbecd 100644 --- a/specs/resources/addresses.spec.ts +++ b/specs/resources/addresses.spec.ts @@ -177,7 +177,7 @@ describe('Addresses resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/adjustments.spec.ts b/specs/resources/adjustments.spec.ts index b729c99c..fe980d9d 100644 --- a/specs/resources/adjustments.spec.ts +++ b/specs/resources/adjustments.spec.ts @@ -173,7 +173,7 @@ describe('Adjustments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/adyen_gateways.spec.ts b/specs/resources/adyen_gateways.spec.ts index 534cefb8..fd578512 100644 --- a/specs/resources/adyen_gateways.spec.ts +++ b/specs/resources/adyen_gateways.spec.ts @@ -175,7 +175,7 @@ describe('AdyenGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/adyen_payments.spec.ts b/specs/resources/adyen_payments.spec.ts index 2d82a091..3ebf2f72 100644 --- a/specs/resources/adyen_payments.spec.ts +++ b/specs/resources/adyen_payments.spec.ts @@ -171,7 +171,7 @@ describe('AdyenPayments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/application.spec.ts b/specs/resources/application.spec.ts index ed1da617..52ed2820 100644 --- a/specs/resources/application.spec.ts +++ b/specs/resources/application.spec.ts @@ -82,7 +82,7 @@ describe('Applications resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/attachments.spec.ts b/specs/resources/attachments.spec.ts index 0f15ec4b..dfa9253c 100644 --- a/specs/resources/attachments.spec.ts +++ b/specs/resources/attachments.spec.ts @@ -172,7 +172,7 @@ describe('Attachments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/authorizations.spec.ts b/specs/resources/authorizations.spec.ts index f3c772c7..8576118b 100644 --- a/specs/resources/authorizations.spec.ts +++ b/specs/resources/authorizations.spec.ts @@ -125,7 +125,7 @@ describe('Authorizations resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/avalara_accounts.spec.ts b/specs/resources/avalara_accounts.spec.ts index 794c33ed..60e7ca6c 100644 --- a/specs/resources/avalara_accounts.spec.ts +++ b/specs/resources/avalara_accounts.spec.ts @@ -175,7 +175,7 @@ describe('AvalaraAccounts resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/axerve_gateways.spec.ts b/specs/resources/axerve_gateways.spec.ts index 9e7f3faf..555e5fd4 100644 --- a/specs/resources/axerve_gateways.spec.ts +++ b/specs/resources/axerve_gateways.spec.ts @@ -174,7 +174,7 @@ describe('AxerveGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/axerve_payments.spec.ts b/specs/resources/axerve_payments.spec.ts index e0a92b70..d6f62b53 100644 --- a/specs/resources/axerve_payments.spec.ts +++ b/specs/resources/axerve_payments.spec.ts @@ -172,7 +172,7 @@ describe('AxervePayments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/billing_info_validation_rules.spec.ts b/specs/resources/billing_info_validation_rules.spec.ts index 4d4e0684..3343346c 100644 --- a/specs/resources/billing_info_validation_rules.spec.ts +++ b/specs/resources/billing_info_validation_rules.spec.ts @@ -171,7 +171,7 @@ describe('BillingInfoValidationRules resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/bing_geocoders.spec.ts b/specs/resources/bing_geocoders.spec.ts index b469c768..7b6757a6 100644 --- a/specs/resources/bing_geocoders.spec.ts +++ b/specs/resources/bing_geocoders.spec.ts @@ -172,7 +172,7 @@ describe('BingGeocoders resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/braintree_gateways.spec.ts b/specs/resources/braintree_gateways.spec.ts index 608e0e48..d640e9de 100644 --- a/specs/resources/braintree_gateways.spec.ts +++ b/specs/resources/braintree_gateways.spec.ts @@ -176,7 +176,7 @@ describe('BraintreeGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/braintree_payments.spec.ts b/specs/resources/braintree_payments.spec.ts index df444ce8..8556a040 100644 --- a/specs/resources/braintree_payments.spec.ts +++ b/specs/resources/braintree_payments.spec.ts @@ -171,7 +171,7 @@ describe('BraintreePayments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/bundles.spec.ts b/specs/resources/bundles.spec.ts index 2c3bd40e..62344783 100644 --- a/specs/resources/bundles.spec.ts +++ b/specs/resources/bundles.spec.ts @@ -175,7 +175,7 @@ describe('Bundles resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/buy_x_pay_y_promotions.spec.ts b/specs/resources/buy_x_pay_y_promotions.spec.ts index 4750b2f4..54e88e8d 100644 --- a/specs/resources/buy_x_pay_y_promotions.spec.ts +++ b/specs/resources/buy_x_pay_y_promotions.spec.ts @@ -184,7 +184,7 @@ describe('BuyXPayYPromotions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/captures.spec.ts b/specs/resources/captures.spec.ts index b7592f1d..35f77237 100644 --- a/specs/resources/captures.spec.ts +++ b/specs/resources/captures.spec.ts @@ -125,7 +125,7 @@ describe('Captures resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/carrier_accounts.spec.ts b/specs/resources/carrier_accounts.spec.ts index f74178d7..9d896bc3 100644 --- a/specs/resources/carrier_accounts.spec.ts +++ b/specs/resources/carrier_accounts.spec.ts @@ -103,7 +103,7 @@ describe('CarrierAccounts resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/checkout_com_gateways.spec.ts b/specs/resources/checkout_com_gateways.spec.ts index f426ad73..b684c777 100644 --- a/specs/resources/checkout_com_gateways.spec.ts +++ b/specs/resources/checkout_com_gateways.spec.ts @@ -174,7 +174,7 @@ describe('CheckoutComGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/checkout_com_payments.spec.ts b/specs/resources/checkout_com_payments.spec.ts index d55c78ff..6f9f510a 100644 --- a/specs/resources/checkout_com_payments.spec.ts +++ b/specs/resources/checkout_com_payments.spec.ts @@ -173,7 +173,7 @@ describe('CheckoutComPayments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/cleanups.spec.ts b/specs/resources/cleanups.spec.ts index bc54e5a2..b82bc9df 100644 --- a/specs/resources/cleanups.spec.ts +++ b/specs/resources/cleanups.spec.ts @@ -149,7 +149,7 @@ describe('Cleanups resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/coupon_codes_promotion_rules.spec.ts b/specs/resources/coupon_codes_promotion_rules.spec.ts index 94ca9ff8..8c7f5c52 100644 --- a/specs/resources/coupon_codes_promotion_rules.spec.ts +++ b/specs/resources/coupon_codes_promotion_rules.spec.ts @@ -172,7 +172,7 @@ describe('CouponCodesPromotionRules resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/coupon_recipients.spec.ts b/specs/resources/coupon_recipients.spec.ts index b5db4475..2b20d49c 100644 --- a/specs/resources/coupon_recipients.spec.ts +++ b/specs/resources/coupon_recipients.spec.ts @@ -172,7 +172,7 @@ describe('CouponRecipients resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/coupons.spec.ts b/specs/resources/coupons.spec.ts index a3ae184b..f841ee4c 100644 --- a/specs/resources/coupons.spec.ts +++ b/specs/resources/coupons.spec.ts @@ -174,7 +174,7 @@ describe('Coupons resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/custom_promotion_rules.spec.ts b/specs/resources/custom_promotion_rules.spec.ts index 20e715dc..bb2b428e 100644 --- a/specs/resources/custom_promotion_rules.spec.ts +++ b/specs/resources/custom_promotion_rules.spec.ts @@ -171,7 +171,7 @@ describe('CustomPromotionRules resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/customer_addresses.spec.ts b/specs/resources/customer_addresses.spec.ts index 4e942ddf..415e41d9 100644 --- a/specs/resources/customer_addresses.spec.ts +++ b/specs/resources/customer_addresses.spec.ts @@ -173,7 +173,7 @@ describe('CustomerAddresses resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/customer_groups.spec.ts b/specs/resources/customer_groups.spec.ts index 7765e447..17317ac2 100644 --- a/specs/resources/customer_groups.spec.ts +++ b/specs/resources/customer_groups.spec.ts @@ -171,7 +171,7 @@ describe('CustomerGroups resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/customer_password_resets.spec.ts b/specs/resources/customer_password_resets.spec.ts index 741a992e..a2745b0b 100644 --- a/specs/resources/customer_password_resets.spec.ts +++ b/specs/resources/customer_password_resets.spec.ts @@ -171,7 +171,7 @@ describe('CustomerPasswordResets resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/customer_payment_sources.spec.ts b/specs/resources/customer_payment_sources.spec.ts index 38421339..5bbd458d 100644 --- a/specs/resources/customer_payment_sources.spec.ts +++ b/specs/resources/customer_payment_sources.spec.ts @@ -173,7 +173,7 @@ describe('CustomerPaymentSources resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/customer_subscriptions.spec.ts b/specs/resources/customer_subscriptions.spec.ts index 2c6535a4..1214c723 100644 --- a/specs/resources/customer_subscriptions.spec.ts +++ b/specs/resources/customer_subscriptions.spec.ts @@ -171,7 +171,7 @@ describe('CustomerSubscriptions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/customers.spec.ts b/specs/resources/customers.spec.ts index 10d44533..6b7251b8 100644 --- a/specs/resources/customers.spec.ts +++ b/specs/resources/customers.spec.ts @@ -173,7 +173,7 @@ describe('Customers resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/delivery_lead_times.spec.ts b/specs/resources/delivery_lead_times.spec.ts index 50a4a986..2ec3f009 100644 --- a/specs/resources/delivery_lead_times.spec.ts +++ b/specs/resources/delivery_lead_times.spec.ts @@ -174,7 +174,7 @@ describe('DeliveryLeadTimes resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/event_callbacks.spec.ts b/specs/resources/event_callbacks.spec.ts index 2bdf4883..63236b4f 100644 --- a/specs/resources/event_callbacks.spec.ts +++ b/specs/resources/event_callbacks.spec.ts @@ -103,7 +103,7 @@ describe('EventCallbacks resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/events.spec.ts b/specs/resources/events.spec.ts index 8735dbe6..eab56276 100644 --- a/specs/resources/events.spec.ts +++ b/specs/resources/events.spec.ts @@ -103,7 +103,7 @@ describe('Events resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/exports.spec.ts b/specs/resources/exports.spec.ts index 7b956b22..2b39ad3f 100644 --- a/specs/resources/exports.spec.ts +++ b/specs/resources/exports.spec.ts @@ -149,7 +149,7 @@ describe('Exports resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/external_gateways.spec.ts b/specs/resources/external_gateways.spec.ts index a4a36d9c..5c13e0a3 100644 --- a/specs/resources/external_gateways.spec.ts +++ b/specs/resources/external_gateways.spec.ts @@ -171,7 +171,7 @@ describe('ExternalGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/external_payments.spec.ts b/specs/resources/external_payments.spec.ts index cbd70a49..a4f6a6ad 100644 --- a/specs/resources/external_payments.spec.ts +++ b/specs/resources/external_payments.spec.ts @@ -172,7 +172,7 @@ describe('ExternalPayments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/external_promotions.spec.ts b/specs/resources/external_promotions.spec.ts index c070ba5b..1ebecc47 100644 --- a/specs/resources/external_promotions.spec.ts +++ b/specs/resources/external_promotions.spec.ts @@ -183,7 +183,7 @@ describe('ExternalPromotions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/external_tax_calculators.spec.ts b/specs/resources/external_tax_calculators.spec.ts index 14f9c695..eac558d7 100644 --- a/specs/resources/external_tax_calculators.spec.ts +++ b/specs/resources/external_tax_calculators.spec.ts @@ -172,7 +172,7 @@ describe('ExternalTaxCalculators resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/fixed_amount_promotions.spec.ts b/specs/resources/fixed_amount_promotions.spec.ts index 36d843c9..667eaa90 100644 --- a/specs/resources/fixed_amount_promotions.spec.ts +++ b/specs/resources/fixed_amount_promotions.spec.ts @@ -183,7 +183,7 @@ describe('FixedAmountPromotions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/fixed_price_promotions.spec.ts b/specs/resources/fixed_price_promotions.spec.ts index 644cd1a4..50bcad6b 100644 --- a/specs/resources/fixed_price_promotions.spec.ts +++ b/specs/resources/fixed_price_promotions.spec.ts @@ -183,7 +183,7 @@ describe('FixedPricePromotions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/free_gift_promotions.spec.ts b/specs/resources/free_gift_promotions.spec.ts index 3ecaee58..f1d10c24 100644 --- a/specs/resources/free_gift_promotions.spec.ts +++ b/specs/resources/free_gift_promotions.spec.ts @@ -182,7 +182,7 @@ describe('FreeGiftPromotions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/free_shipping_promotions.spec.ts b/specs/resources/free_shipping_promotions.spec.ts index ae274966..f231c38e 100644 --- a/specs/resources/free_shipping_promotions.spec.ts +++ b/specs/resources/free_shipping_promotions.spec.ts @@ -181,7 +181,7 @@ describe('FreeShippingPromotions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/geocoders.spec.ts b/specs/resources/geocoders.spec.ts index de42d7aa..89a50eb8 100644 --- a/specs/resources/geocoders.spec.ts +++ b/specs/resources/geocoders.spec.ts @@ -103,7 +103,7 @@ describe('Geocoders resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/gift_card_recipients.spec.ts b/specs/resources/gift_card_recipients.spec.ts index 253ffbee..a4bae191 100644 --- a/specs/resources/gift_card_recipients.spec.ts +++ b/specs/resources/gift_card_recipients.spec.ts @@ -172,7 +172,7 @@ describe('GiftCardRecipients resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/gift_cards.spec.ts b/specs/resources/gift_cards.spec.ts index 4a35c198..78223075 100644 --- a/specs/resources/gift_cards.spec.ts +++ b/specs/resources/gift_cards.spec.ts @@ -174,7 +174,7 @@ describe('GiftCards resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/google_geocoders.spec.ts b/specs/resources/google_geocoders.spec.ts index ad92bcfc..3708ab8f 100644 --- a/specs/resources/google_geocoders.spec.ts +++ b/specs/resources/google_geocoders.spec.ts @@ -172,7 +172,7 @@ describe('GoogleGeocoders resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/imports.spec.ts b/specs/resources/imports.spec.ts index f1f4d6f7..ea3a3350 100644 --- a/specs/resources/imports.spec.ts +++ b/specs/resources/imports.spec.ts @@ -150,7 +150,7 @@ describe('Imports resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/in_stock_subscriptions.spec.ts b/specs/resources/in_stock_subscriptions.spec.ts index 236a0882..159d0d9c 100644 --- a/specs/resources/in_stock_subscriptions.spec.ts +++ b/specs/resources/in_stock_subscriptions.spec.ts @@ -173,7 +173,7 @@ describe('InStockSubscriptions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/inventory_models.spec.ts b/specs/resources/inventory_models.spec.ts index f51b6578..b19f370d 100644 --- a/specs/resources/inventory_models.spec.ts +++ b/specs/resources/inventory_models.spec.ts @@ -171,7 +171,7 @@ describe('InventoryModels resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/inventory_return_locations.spec.ts b/specs/resources/inventory_return_locations.spec.ts index 8a9d44b7..46de536c 100644 --- a/specs/resources/inventory_return_locations.spec.ts +++ b/specs/resources/inventory_return_locations.spec.ts @@ -173,7 +173,7 @@ describe('InventoryReturnLocations resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/inventory_stock_locations.spec.ts b/specs/resources/inventory_stock_locations.spec.ts index 0f53bbf9..f129fd66 100644 --- a/specs/resources/inventory_stock_locations.spec.ts +++ b/specs/resources/inventory_stock_locations.spec.ts @@ -173,7 +173,7 @@ describe('InventoryStockLocations resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/klarna_gateways.spec.ts b/specs/resources/klarna_gateways.spec.ts index 01deffae..0626dd12 100644 --- a/specs/resources/klarna_gateways.spec.ts +++ b/specs/resources/klarna_gateways.spec.ts @@ -175,7 +175,7 @@ describe('KlarnaGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/klarna_payments.spec.ts b/specs/resources/klarna_payments.spec.ts index 9eee1c1f..4b24fe4a 100644 --- a/specs/resources/klarna_payments.spec.ts +++ b/specs/resources/klarna_payments.spec.ts @@ -171,7 +171,7 @@ describe('KlarnaPayments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/line_item_options.spec.ts b/specs/resources/line_item_options.spec.ts index 41f18609..d0ffb01c 100644 --- a/specs/resources/line_item_options.spec.ts +++ b/specs/resources/line_item_options.spec.ts @@ -175,7 +175,7 @@ describe('LineItemOptions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/line_items.spec.ts b/specs/resources/line_items.spec.ts index d24e3acf..64a7e9a2 100644 --- a/specs/resources/line_items.spec.ts +++ b/specs/resources/line_items.spec.ts @@ -176,7 +176,7 @@ describe('LineItems resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/manual_gateways.spec.ts b/specs/resources/manual_gateways.spec.ts index a2bd7875..2c57c8d2 100644 --- a/specs/resources/manual_gateways.spec.ts +++ b/specs/resources/manual_gateways.spec.ts @@ -171,7 +171,7 @@ describe('ManualGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/manual_tax_calculators.spec.ts b/specs/resources/manual_tax_calculators.spec.ts index cb4b9e9e..17d56755 100644 --- a/specs/resources/manual_tax_calculators.spec.ts +++ b/specs/resources/manual_tax_calculators.spec.ts @@ -172,7 +172,7 @@ describe('ManualTaxCalculators resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/markets.spec.ts b/specs/resources/markets.spec.ts index 4f326a3f..af2013fc 100644 --- a/specs/resources/markets.spec.ts +++ b/specs/resources/markets.spec.ts @@ -177,7 +177,7 @@ describe('Markets resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/merchants.spec.ts b/specs/resources/merchants.spec.ts index 2e7d673f..0d5a5cb8 100644 --- a/specs/resources/merchants.spec.ts +++ b/specs/resources/merchants.spec.ts @@ -172,7 +172,7 @@ describe('Merchants resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/order_amount_promotion_rules.spec.ts b/specs/resources/order_amount_promotion_rules.spec.ts index 9422f291..1ba654e5 100644 --- a/specs/resources/order_amount_promotion_rules.spec.ts +++ b/specs/resources/order_amount_promotion_rules.spec.ts @@ -171,7 +171,7 @@ describe('OrderAmountPromotionRules resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/order_copies.spec.ts b/specs/resources/order_copies.spec.ts index f0f6681a..eea14b2a 100644 --- a/specs/resources/order_copies.spec.ts +++ b/specs/resources/order_copies.spec.ts @@ -171,7 +171,7 @@ describe('OrderCopies resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/order_factories.spec.ts b/specs/resources/order_factories.spec.ts index 4adb8f5b..4b58211d 100644 --- a/specs/resources/order_factories.spec.ts +++ b/specs/resources/order_factories.spec.ts @@ -103,7 +103,7 @@ describe('OrderFactories resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/order_subscription_items.spec.ts b/specs/resources/order_subscription_items.spec.ts index 979d47c7..54300029 100644 --- a/specs/resources/order_subscription_items.spec.ts +++ b/specs/resources/order_subscription_items.spec.ts @@ -175,7 +175,7 @@ describe('OrderSubscriptionItems resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/order_subscriptions.spec.ts b/specs/resources/order_subscriptions.spec.ts index 10f2f192..4f1bef2a 100644 --- a/specs/resources/order_subscriptions.spec.ts +++ b/specs/resources/order_subscriptions.spec.ts @@ -173,7 +173,7 @@ describe('OrderSubscriptions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/order_validation_rules.spec.ts b/specs/resources/order_validation_rules.spec.ts index b6fc1515..7e7a2e47 100644 --- a/specs/resources/order_validation_rules.spec.ts +++ b/specs/resources/order_validation_rules.spec.ts @@ -103,7 +103,7 @@ describe('OrderValidationRules resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/orders.spec.ts b/specs/resources/orders.spec.ts index ecc47a11..1ff89fd2 100644 --- a/specs/resources/orders.spec.ts +++ b/specs/resources/orders.spec.ts @@ -177,7 +177,7 @@ describe('Orders resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/organization.spec.ts b/specs/resources/organization.spec.ts index 31e16dab..23287ddf 100644 --- a/specs/resources/organization.spec.ts +++ b/specs/resources/organization.spec.ts @@ -82,7 +82,7 @@ describe('Organizations resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/packages.spec.ts b/specs/resources/packages.spec.ts index 7cc58fed..f36ae9d1 100644 --- a/specs/resources/packages.spec.ts +++ b/specs/resources/packages.spec.ts @@ -176,7 +176,7 @@ describe('Packages resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/parcel_line_items.spec.ts b/specs/resources/parcel_line_items.spec.ts index 9503a6fb..b9158922 100644 --- a/specs/resources/parcel_line_items.spec.ts +++ b/specs/resources/parcel_line_items.spec.ts @@ -173,7 +173,7 @@ describe('ParcelLineItems resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/parcels.spec.ts b/specs/resources/parcels.spec.ts index 004bbb48..5cde3a3a 100644 --- a/specs/resources/parcels.spec.ts +++ b/specs/resources/parcels.spec.ts @@ -174,7 +174,7 @@ describe('Parcels resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/payment_gateways.spec.ts b/specs/resources/payment_gateways.spec.ts index cec74cf5..a34e64c9 100644 --- a/specs/resources/payment_gateways.spec.ts +++ b/specs/resources/payment_gateways.spec.ts @@ -103,7 +103,7 @@ describe('PaymentGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/payment_methods.spec.ts b/specs/resources/payment_methods.spec.ts index 8b32d17e..d15b94f9 100644 --- a/specs/resources/payment_methods.spec.ts +++ b/specs/resources/payment_methods.spec.ts @@ -174,7 +174,7 @@ describe('PaymentMethods resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/payment_options.spec.ts b/specs/resources/payment_options.spec.ts index 15f30367..0b039a57 100644 --- a/specs/resources/payment_options.spec.ts +++ b/specs/resources/payment_options.spec.ts @@ -173,7 +173,7 @@ describe('PaymentOptions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/paypal_gateways.spec.ts b/specs/resources/paypal_gateways.spec.ts index 9862f45e..67ead938 100644 --- a/specs/resources/paypal_gateways.spec.ts +++ b/specs/resources/paypal_gateways.spec.ts @@ -173,7 +173,7 @@ describe('PaypalGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/paypal_payments.spec.ts b/specs/resources/paypal_payments.spec.ts index 08653fc8..3253a8e2 100644 --- a/specs/resources/paypal_payments.spec.ts +++ b/specs/resources/paypal_payments.spec.ts @@ -173,7 +173,7 @@ describe('PaypalPayments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/percentage_discount_promotions.spec.ts b/specs/resources/percentage_discount_promotions.spec.ts index 722e75ca..9909b3ad 100644 --- a/specs/resources/percentage_discount_promotions.spec.ts +++ b/specs/resources/percentage_discount_promotions.spec.ts @@ -183,7 +183,7 @@ describe('PercentageDiscountPromotions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/price_frequency_tiers.spec.ts b/specs/resources/price_frequency_tiers.spec.ts index 3d0e6809..2681db49 100644 --- a/specs/resources/price_frequency_tiers.spec.ts +++ b/specs/resources/price_frequency_tiers.spec.ts @@ -173,7 +173,7 @@ describe('PriceFrequencyTiers resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/price_lists.spec.ts b/specs/resources/price_lists.spec.ts index 53f08ff5..db6f4172 100644 --- a/specs/resources/price_lists.spec.ts +++ b/specs/resources/price_lists.spec.ts @@ -172,7 +172,7 @@ describe('PriceLists resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/price_tiers.spec.ts b/specs/resources/price_tiers.spec.ts index 1c80b82e..541808af 100644 --- a/specs/resources/price_tiers.spec.ts +++ b/specs/resources/price_tiers.spec.ts @@ -103,7 +103,7 @@ describe('PriceTiers resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/price_volume_tiers.spec.ts b/specs/resources/price_volume_tiers.spec.ts index 41ebb3da..1c3910fb 100644 --- a/specs/resources/price_volume_tiers.spec.ts +++ b/specs/resources/price_volume_tiers.spec.ts @@ -173,7 +173,7 @@ describe('PriceVolumeTiers resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/prices.spec.ts b/specs/resources/prices.spec.ts index 8bfa2402..3afae44d 100644 --- a/specs/resources/prices.spec.ts +++ b/specs/resources/prices.spec.ts @@ -174,7 +174,7 @@ describe('Prices resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/promotion_rules.spec.ts b/specs/resources/promotion_rules.spec.ts index b8c4fdb5..d1ed8afe 100644 --- a/specs/resources/promotion_rules.spec.ts +++ b/specs/resources/promotion_rules.spec.ts @@ -103,7 +103,7 @@ describe('PromotionRules resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/promotions.spec.ts b/specs/resources/promotions.spec.ts index 0cf492fd..eeffd168 100644 --- a/specs/resources/promotions.spec.ts +++ b/specs/resources/promotions.spec.ts @@ -103,7 +103,7 @@ describe('Promotions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/recurring_order_copies.spec.ts b/specs/resources/recurring_order_copies.spec.ts index f6db1c6c..f050b4ce 100644 --- a/specs/resources/recurring_order_copies.spec.ts +++ b/specs/resources/recurring_order_copies.spec.ts @@ -172,7 +172,7 @@ describe('RecurringOrderCopies resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/refunds.spec.ts b/specs/resources/refunds.spec.ts index e5a485b1..a29789c3 100644 --- a/specs/resources/refunds.spec.ts +++ b/specs/resources/refunds.spec.ts @@ -103,7 +103,7 @@ describe('Refunds resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/reserved_stocks.spec.ts b/specs/resources/reserved_stocks.spec.ts index 56f5cd84..fd7f62f5 100644 --- a/specs/resources/reserved_stocks.spec.ts +++ b/specs/resources/reserved_stocks.spec.ts @@ -103,7 +103,7 @@ describe('ReservedStocks resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/return_line_items.spec.ts b/specs/resources/return_line_items.spec.ts index 4af2e879..c1e2af5b 100644 --- a/specs/resources/return_line_items.spec.ts +++ b/specs/resources/return_line_items.spec.ts @@ -173,7 +173,7 @@ describe('ReturnLineItems resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/returns.spec.ts b/specs/resources/returns.spec.ts index c408fd22..354b9452 100644 --- a/specs/resources/returns.spec.ts +++ b/specs/resources/returns.spec.ts @@ -173,7 +173,7 @@ describe('Returns resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/satispay_gateways.spec.ts b/specs/resources/satispay_gateways.spec.ts index 330daec2..aefb739d 100644 --- a/specs/resources/satispay_gateways.spec.ts +++ b/specs/resources/satispay_gateways.spec.ts @@ -173,7 +173,7 @@ describe('SatispayGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/satispay_payments.spec.ts b/specs/resources/satispay_payments.spec.ts index 23d511d0..0ee95487 100644 --- a/specs/resources/satispay_payments.spec.ts +++ b/specs/resources/satispay_payments.spec.ts @@ -171,7 +171,7 @@ describe('SatispayPayments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/shipments.spec.ts b/specs/resources/shipments.spec.ts index bb9b89c1..31501b35 100644 --- a/specs/resources/shipments.spec.ts +++ b/specs/resources/shipments.spec.ts @@ -176,7 +176,7 @@ describe('Shipments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/shipping_categories.spec.ts b/specs/resources/shipping_categories.spec.ts index 8d3d9f25..18c3c1e7 100644 --- a/specs/resources/shipping_categories.spec.ts +++ b/specs/resources/shipping_categories.spec.ts @@ -171,7 +171,7 @@ describe('ShippingCategories resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/shipping_method_tiers.spec.ts b/specs/resources/shipping_method_tiers.spec.ts index 2bdaa577..0da2a779 100644 --- a/specs/resources/shipping_method_tiers.spec.ts +++ b/specs/resources/shipping_method_tiers.spec.ts @@ -103,7 +103,7 @@ describe('ShippingMethodTiers resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/shipping_methods.spec.ts b/specs/resources/shipping_methods.spec.ts index 95596ffd..6c37e354 100644 --- a/specs/resources/shipping_methods.spec.ts +++ b/specs/resources/shipping_methods.spec.ts @@ -177,7 +177,7 @@ describe('ShippingMethods resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/shipping_weight_tiers.spec.ts b/specs/resources/shipping_weight_tiers.spec.ts index 82cb9c25..1fdd36fd 100644 --- a/specs/resources/shipping_weight_tiers.spec.ts +++ b/specs/resources/shipping_weight_tiers.spec.ts @@ -173,7 +173,7 @@ describe('ShippingWeightTiers resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/shipping_zones.spec.ts b/specs/resources/shipping_zones.spec.ts index 2089ff31..7a7959c9 100644 --- a/specs/resources/shipping_zones.spec.ts +++ b/specs/resources/shipping_zones.spec.ts @@ -171,7 +171,7 @@ describe('ShippingZones resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/sku_list_items.spec.ts b/specs/resources/sku_list_items.spec.ts index 064d80fd..f51f0b2e 100644 --- a/specs/resources/sku_list_items.spec.ts +++ b/specs/resources/sku_list_items.spec.ts @@ -172,7 +172,7 @@ describe('SkuListItems resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/sku_list_promotion_rules.spec.ts b/specs/resources/sku_list_promotion_rules.spec.ts index f67e42db..06707b8a 100644 --- a/specs/resources/sku_list_promotion_rules.spec.ts +++ b/specs/resources/sku_list_promotion_rules.spec.ts @@ -172,7 +172,7 @@ describe('SkuListPromotionRules resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/sku_lists.spec.ts b/specs/resources/sku_lists.spec.ts index a8149b9b..eba37efb 100644 --- a/specs/resources/sku_lists.spec.ts +++ b/specs/resources/sku_lists.spec.ts @@ -172,7 +172,7 @@ describe('SkuLists resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/sku_options.spec.ts b/specs/resources/sku_options.spec.ts index 7c83362f..b365d999 100644 --- a/specs/resources/sku_options.spec.ts +++ b/specs/resources/sku_options.spec.ts @@ -173,7 +173,7 @@ describe('SkuOptions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/skus.spec.ts b/specs/resources/skus.spec.ts index 47341f76..64f9548b 100644 --- a/specs/resources/skus.spec.ts +++ b/specs/resources/skus.spec.ts @@ -174,7 +174,7 @@ describe('Skus resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/stock_items.spec.ts b/specs/resources/stock_items.spec.ts index ebd6450b..d2f3b431 100644 --- a/specs/resources/stock_items.spec.ts +++ b/specs/resources/stock_items.spec.ts @@ -173,7 +173,7 @@ describe('StockItems resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/stock_line_items.spec.ts b/specs/resources/stock_line_items.spec.ts index 9362420e..1d56004f 100644 --- a/specs/resources/stock_line_items.spec.ts +++ b/specs/resources/stock_line_items.spec.ts @@ -175,7 +175,7 @@ describe('StockLineItems resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/stock_locations.spec.ts b/specs/resources/stock_locations.spec.ts index f6b16166..9fbc4160 100644 --- a/specs/resources/stock_locations.spec.ts +++ b/specs/resources/stock_locations.spec.ts @@ -172,7 +172,7 @@ describe('StockLocations resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/stock_reservations.spec.ts b/specs/resources/stock_reservations.spec.ts index b644c3b9..3a0ebc01 100644 --- a/specs/resources/stock_reservations.spec.ts +++ b/specs/resources/stock_reservations.spec.ts @@ -172,7 +172,7 @@ describe('StockReservations resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/stock_transfers.spec.ts b/specs/resources/stock_transfers.spec.ts index b95ce3b6..dc5b9bef 100644 --- a/specs/resources/stock_transfers.spec.ts +++ b/specs/resources/stock_transfers.spec.ts @@ -176,7 +176,7 @@ describe('StockTransfers resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/stripe_gateways.spec.ts b/specs/resources/stripe_gateways.spec.ts index fb8edefe..1ac1a576 100644 --- a/specs/resources/stripe_gateways.spec.ts +++ b/specs/resources/stripe_gateways.spec.ts @@ -172,7 +172,7 @@ describe('StripeGateways resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/stripe_payments.spec.ts b/specs/resources/stripe_payments.spec.ts index fb2fd798..0ecde751 100644 --- a/specs/resources/stripe_payments.spec.ts +++ b/specs/resources/stripe_payments.spec.ts @@ -171,7 +171,7 @@ describe('StripePayments resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/subscription_models.spec.ts b/specs/resources/subscription_models.spec.ts index b56aaaac..dc6d47a5 100644 --- a/specs/resources/subscription_models.spec.ts +++ b/specs/resources/subscription_models.spec.ts @@ -172,7 +172,7 @@ describe('SubscriptionModels resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/tags.spec.ts b/specs/resources/tags.spec.ts index 742dc164..4f758cd9 100644 --- a/specs/resources/tags.spec.ts +++ b/specs/resources/tags.spec.ts @@ -171,7 +171,7 @@ describe('Tags resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/tax_calculators.spec.ts b/specs/resources/tax_calculators.spec.ts index f9f7d834..03de1d17 100644 --- a/specs/resources/tax_calculators.spec.ts +++ b/specs/resources/tax_calculators.spec.ts @@ -103,7 +103,7 @@ describe('TaxCalculators resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/tax_categories.spec.ts b/specs/resources/tax_categories.spec.ts index 2cc41854..484f9361 100644 --- a/specs/resources/tax_categories.spec.ts +++ b/specs/resources/tax_categories.spec.ts @@ -173,7 +173,7 @@ describe('TaxCategories resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/tax_rules.spec.ts b/specs/resources/tax_rules.spec.ts index ec6596da..6e90543c 100644 --- a/specs/resources/tax_rules.spec.ts +++ b/specs/resources/tax_rules.spec.ts @@ -172,7 +172,7 @@ describe('TaxRules resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/taxjar_accounts.spec.ts b/specs/resources/taxjar_accounts.spec.ts index dbadbde7..f03e287b 100644 --- a/specs/resources/taxjar_accounts.spec.ts +++ b/specs/resources/taxjar_accounts.spec.ts @@ -173,7 +173,7 @@ describe('TaxjarAccounts resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/transactions.spec.ts b/specs/resources/transactions.spec.ts index 21215ad4..ce8c5d52 100644 --- a/specs/resources/transactions.spec.ts +++ b/specs/resources/transactions.spec.ts @@ -103,7 +103,7 @@ describe('Transactions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/versions.spec.ts b/specs/resources/versions.spec.ts index a00c9316..b6c20ebf 100644 --- a/specs/resources/versions.spec.ts +++ b/specs/resources/versions.spec.ts @@ -103,7 +103,7 @@ describe('Versions resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/voids.spec.ts b/specs/resources/voids.spec.ts index ab362eb7..d16fb3f0 100644 --- a/specs/resources/voids.spec.ts +++ b/specs/resources/voids.spec.ts @@ -103,7 +103,7 @@ describe('Voids resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/webhooks.spec.ts b/specs/resources/webhooks.spec.ts index 689cc5a1..87cc745e 100644 --- a/specs/resources/webhooks.spec.ts +++ b/specs/resources/webhooks.spec.ts @@ -172,7 +172,7 @@ describe('Webhooks resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, diff --git a/specs/resources/wire_transfers.spec.ts b/specs/resources/wire_transfers.spec.ts index 1c3d4ef8..9d0dedf0 100644 --- a/specs/resources/wire_transfers.spec.ts +++ b/specs/resources/wire_transfers.spec.ts @@ -171,7 +171,7 @@ describe('WireTransfers resource', () => { }, "type": "${resourceType}", "links": { - "self": "/api/${resourceType}/AbcdEfgHiL" + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" }, "attributes": { "metadata": {}, From e818ac664f7f62503a83cc465c4df3613b362bbf Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 1 Feb 2024 11:05:15 +0000 Subject: [PATCH 08/26] chore(release): 5.31.1 [skip ci] ## [5.31.1](https://github.com/commercelayer/commercelayer-sdk/compare/v5.31.0...v5.31.1) (2024-02-01) ### Bug Fixes * enforce checks in query filters and resource parser ([87f52f5](https://github.com/commercelayer/commercelayer-sdk/commit/87f52f5032b24c3ad8b3a59012ae485ecd1fc9ad)) * fix parse spec ([89795a6](https://github.com/commercelayer/commercelayer-sdk/commit/89795a67686c0e7fb13def73a86831b9ef9da555)) --- CHANGELOG.md | 8 ++++++++ package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d13d02f7..acfc3892 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## [5.31.1](https://github.com/commercelayer/commercelayer-sdk/compare/v5.31.0...v5.31.1) (2024-02-01) + + +### Bug Fixes + +* enforce checks in query filters and resource parser ([87f52f5](https://github.com/commercelayer/commercelayer-sdk/commit/87f52f5032b24c3ad8b3a59012ae485ecd1fc9ad)) +* fix parse spec ([89795a6](https://github.com/commercelayer/commercelayer-sdk/commit/89795a67686c0e7fb13def73a86831b9ef9da555)) + # [5.31.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.30.0...v5.31.0) (2024-01-31) diff --git a/package.json b/package.json index fcd47bab..3cd66204 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@commercelayer/sdk", - "version": "5.31.0", + "version": "5.31.1", "main": "lib/cjs/index.js", "types": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", From ea20f7c82fb01770ff59cc666b63cba13a4a1d11 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Wed, 7 Feb 2024 11:58:51 +0100 Subject: [PATCH 09/26] chore: update dependencies --- .github/workflows/codeql-analysis.yml | 4 +- package.json | 4 +- pnpm-lock.yaml | 517 ++++++++++++++------------ test/spot.ts | 28 +- 4 files changed, 281 insertions(+), 272 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 28ad805a..513b90a1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -21,14 +21,14 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'javascript' ] + language: [ 'javascript-typescript' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] # Learn more: # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/package.json b/package.json index 3cd66204..e00df5fe 100644 --- a/package.json +++ b/package.json @@ -43,9 +43,9 @@ "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/debug": "^4.1.12", - "@types/jest": "^29.5.11", + "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", - "@types/node": "^20.11.15", + "@types/node": "^20.11.16", "dotenv": "^16.4.1", "eslint": "^8.56.0", "inflector-js": "^1.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fa0e94d0..c3531460 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,14 +35,14 @@ devDependencies: specifier: ^4.1.12 version: 4.1.12 '@types/jest': - specifier: ^29.5.11 - version: 29.5.11 + specifier: ^29.5.12 + version: 29.5.12 '@types/lodash': specifier: ^4.14.202 version: 4.14.202 '@types/node': - specifier: ^20.11.15 - version: 20.11.15 + specifier: ^20.11.16 + version: 20.11.16 dotenv: specifier: ^16.4.1 version: 16.4.1 @@ -54,7 +54,7 @@ devDependencies: version: 1.0.1 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -72,7 +72,7 @@ devDependencies: version: 22.0.12(typescript@5.3.3) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.15)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.16)(typescript@5.3.3) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -1330,16 +1330,16 @@ packages: eslint: '>=8.0' typescript: '>=5.0' dependencies: - '@typescript-eslint/eslint-plugin': 6.20.0(@typescript-eslint/parser@6.20.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.20.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 eslint-config-prettier: 9.1.0(eslint@8.56.0) - eslint-config-standard-with-typescript: 42.0.0(@typescript-eslint/eslint-plugin@6.20.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.20.0)(eslint@8.56.0) + eslint-config-standard-with-typescript: 42.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0) eslint-plugin-n: 16.6.2(eslint@8.56.0) - eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.4) + eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.5) eslint-plugin-promise: 6.1.1(eslint@8.56.0) - prettier: 3.2.4 + prettier: 3.2.5 typescript: 5.3.3 transitivePeerDependencies: - '@types/eslint' @@ -1648,7 +1648,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1669,14 +1669,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1704,7 +1704,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 jest-mock: 29.7.0 dev: true @@ -1731,7 +1731,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.15 + '@types/node': 20.11.16 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1764,7 +1764,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.22 - '@types/node': 20.11.15 + '@types/node': 20.11.16 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1852,7 +1852,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.15 + '@types/node': 20.11.16 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1912,7 +1912,7 @@ packages: engines: {node: '>= 8'} dependencies: '@nodelib/fs.scandir': 2.1.5 - fastq: 1.17.0 + fastq: 1.17.1 dev: true /@octokit/auth-token@4.0.0: @@ -2150,7 +2150,7 @@ packages: read-pkg: 9.0.1 registry-auth-token: 5.0.2 semantic-release: 22.0.12(typescript@5.3.3) - semver: 7.5.4 + semver: 7.6.0 tempy: 3.1.0 dev: true @@ -2255,7 +2255,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.15 + '@types/node': 20.11.16 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -2274,8 +2274,8 @@ packages: '@types/istanbul-lib-report': 3.0.3 dev: true - /@types/jest@29.5.11: - resolution: {integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==} + /@types/jest@29.5.12: + resolution: {integrity: sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==} dependencies: expect: 29.7.0 pretty-format: 29.7.0 @@ -2297,8 +2297,8 @@ packages: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.11.15: - resolution: {integrity: sha512-gscmuADZfvNULx1eyirVbr3kVOVZtpQtzKMCZpeSZcN6MfbkRXAR4s9/gsQ4CzxLHw6EStDtKLNtSDL3vbq05A==} + /@types/node@20.11.16: + resolution: {integrity: sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ==} dependencies: undici-types: 5.26.5 dev: true @@ -2325,8 +2325,8 @@ packages: '@types/yargs-parser': 21.0.3 dev: true - /@typescript-eslint/eslint-plugin@6.20.0(@typescript-eslint/parser@6.20.0)(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==} + /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -2337,25 +2337,25 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.20.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/scope-manager': 6.20.0 - '@typescript-eslint/type-utils': 6.20.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.20.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.20.0 + '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.21.0 + '@typescript-eslint/type-utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 eslint: 8.56.0 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) + semver: 7.6.0 + ts-api-utils: 1.2.1(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@6.20.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==} + /@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -2364,10 +2364,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.20.0 - '@typescript-eslint/types': 6.20.0 - '@typescript-eslint/typescript-estree': 6.20.0(typescript@5.3.3) - '@typescript-eslint/visitor-keys': 6.20.0 + '@typescript-eslint/scope-manager': 6.21.0 + '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) + '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 eslint: 8.56.0 typescript: 5.3.3 @@ -2375,16 +2375,16 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@6.20.0: - resolution: {integrity: sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==} + /@typescript-eslint/scope-manager@6.21.0: + resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.20.0 - '@typescript-eslint/visitor-keys': 6.20.0 + '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/visitor-keys': 6.21.0 dev: true - /@typescript-eslint/type-utils@6.20.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==} + /@typescript-eslint/type-utils@6.21.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -2393,23 +2393,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.20.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.20.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) debug: 4.3.4 eslint: 8.56.0 - ts-api-utils: 1.0.3(typescript@5.3.3) + ts-api-utils: 1.2.1(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/types@6.20.0: - resolution: {integrity: sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==} + /@typescript-eslint/types@6.21.0: + resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@6.20.0(typescript@5.3.3): - resolution: {integrity: sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==} + /@typescript-eslint/typescript-estree@6.21.0(typescript@5.3.3): + resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -2417,21 +2417,21 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.20.0 - '@typescript-eslint/visitor-keys': 6.20.0 + '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.3) + semver: 7.6.0 + ts-api-utils: 1.2.1(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils@6.20.0(eslint@8.56.0)(typescript@5.3.3): - resolution: {integrity: sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==} + /@typescript-eslint/utils@6.21.0(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -2439,21 +2439,21 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.6 - '@typescript-eslint/scope-manager': 6.20.0 - '@typescript-eslint/types': 6.20.0 - '@typescript-eslint/typescript-estree': 6.20.0(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.21.0 + '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) eslint: 8.56.0 - semver: 7.5.4 + semver: 7.6.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/visitor-keys@6.20.0: - resolution: {integrity: sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==} + /@typescript-eslint/visitor-keys@6.21.0: + resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.20.0 + '@typescript-eslint/types': 6.21.0 eslint-visitor-keys: 3.4.3 dev: true @@ -2595,11 +2595,12 @@ packages: resolution: {integrity: sha512-F2+Hkm9xFaRg+GkaNnbwXNDV5O6pnCFEmqyhvfC/Ic5LbgOWjJh3L+mN/s91rxVL3znE7DYVpW0GJFT+4YBgWw==} dev: true - /array-buffer-byte-length@1.0.0: - resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} + /array-buffer-byte-length@1.0.1: + resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - is-array-buffer: 3.0.2 + call-bind: 1.0.6 + is-array-buffer: 3.0.4 dev: true /array-ify@1.0.0: @@ -2610,10 +2611,10 @@ packages: resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 - get-intrinsic: 1.2.2 + get-intrinsic: 1.2.4 is-string: 1.0.7 dev: true @@ -2622,22 +2623,33 @@ packages: engines: {node: '>=8'} dev: true - /array.prototype.findlastindex@1.2.3: - resolution: {integrity: sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==} + /array.prototype.filter@1.0.3: + resolution: {integrity: sha512-VizNcj/RGJiUyQBgzwxzE5oHdeuXY5hSbbmKMlphj1cy1Vl7Pn2asCGbSrru6hSQjmCzqTBPVWAF/whmEOVHbw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 + es-array-method-boxes-properly: 1.0.0 + is-string: 1.0.7 + dev: true + + /array.prototype.findlastindex@1.2.4: + resolution: {integrity: sha512-hzvSHUshSpCflDR1QMUBLHGHP1VIEBegT4pix9H/Z92Xw3ySoy6c2qh7lJWTJnRJ8JCZ9bJNCgTyYaJGcJu6xQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.6 + define-properties: 1.2.1 + es-abstract: 1.22.3 + es-errors: 1.3.0 es-shim-unscopables: 1.0.2 - get-intrinsic: 1.2.2 dev: true /array.prototype.flat@1.3.2: resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 es-shim-unscopables: 1.0.2 @@ -2647,22 +2659,23 @@ packages: resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 es-shim-unscopables: 1.0.2 dev: true - /arraybuffer.prototype.slice@1.0.2: - resolution: {integrity: sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==} + /arraybuffer.prototype.slice@1.0.3: + resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==} engines: {node: '>= 0.4'} dependencies: - array-buffer-byte-length: 1.0.0 - call-bind: 1.0.5 + array-buffer-byte-length: 1.0.1 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 - get-intrinsic: 1.2.2 - is-array-buffer: 3.0.2 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + is-array-buffer: 3.0.4 is-shared-array-buffer: 1.0.2 dev: true @@ -2830,8 +2843,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001582 - electron-to-chromium: 1.4.653 + caniuse-lite: 1.0.30001585 + electron-to-chromium: 1.4.659 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.3) dev: true @@ -2854,15 +2867,17 @@ packages: /builtins@5.0.1: resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} dependencies: - semver: 7.5.4 + semver: 7.6.0 dev: true - /call-bind@1.0.5: - resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} + /call-bind@1.0.6: + resolution: {integrity: sha512-Mj50FLHtlsoVfRfnHaZvyrooHcrlceNZdL/QBvJJVd9Ta55qCQK0gs4ss2oZDeV9zFCs6ewzYgVE5yfVmfFpVg==} + engines: {node: '>= 0.4'} dependencies: + es-errors: 1.3.0 function-bind: 1.1.2 - get-intrinsic: 1.2.2 - set-function-length: 1.2.0 + get-intrinsic: 1.2.4 + set-function-length: 1.2.1 dev: true /callsites@3.1.0: @@ -2880,8 +2895,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite@1.0.30001582: - resolution: {integrity: sha512-vsJG3V5vgfduaQGVxL53uSX/HUzxyr2eA8xCo36OLal7sRcSZbibJtLeh0qja4sFOr/QQGt4opB4tOy+eOgAxg==} + /caniuse-lite@1.0.30001585: + resolution: {integrity: sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q==} dev: true /cardinal@2.1.1: @@ -3034,7 +3049,7 @@ packages: handlebars: 4.7.8 json-stringify-safe: 5.0.1 meow: 12.1.1 - semver: 7.5.4 + semver: 7.6.0 split2: 4.2.0 dev: true @@ -3084,7 +3099,7 @@ packages: typescript: 5.3.3 dev: true - /create-jest@29.7.0(@types/node@20.11.15)(ts-node@10.9.2): + /create-jest@29.7.0(@types/node@20.11.16)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3093,7 +3108,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3169,11 +3184,12 @@ packages: engines: {node: '>=0.10.0'} dev: true - /define-data-property@1.1.1: - resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==} + /define-data-property@1.1.2: + resolution: {integrity: sha512-SRtsSqsDbgpJBbW3pABMCOt6rQyeM8s8RiyeSN8jYG8sYmt/kGJejbydttUsnDs1tadr19tvhT4ShwMyoqAm4g==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.2.2 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 gopd: 1.0.1 has-property-descriptors: 1.0.1 dev: true @@ -3182,7 +3198,7 @@ packages: resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.1 + define-data-property: 1.1.2 has-property-descriptors: 1.0.1 object-keys: 1.1.1 dev: true @@ -3258,8 +3274,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.653: - resolution: {integrity: sha512-wA2A2LQCqnEwQAvwADQq3KpMpNwgAUBnRmrFgRzHnPhbQUFArTR32Ab46f4p0MovDLcg4uqd4nCsN2hTltslpA==} + /electron-to-chromium@1.4.659: + resolution: {integrity: sha512-sRJ3nV3HowrYpBtPF9bASQV7OW49IgZC01Xiq43WfSE3RTCkK0/JidoCmR73Hyc1mN+l/H4Yqx0eNiomvExFZg==} dev: true /emittery@0.13.1: @@ -3297,53 +3313,62 @@ packages: resolution: {integrity: sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==} engines: {node: '>= 0.4'} dependencies: - array-buffer-byte-length: 1.0.0 - arraybuffer.prototype.slice: 1.0.2 + array-buffer-byte-length: 1.0.1 + arraybuffer.prototype.slice: 1.0.3 available-typed-arrays: 1.0.6 - call-bind: 1.0.5 + call-bind: 1.0.6 es-set-tostringtag: 2.0.2 es-to-primitive: 1.2.1 function.prototype.name: 1.1.6 - get-intrinsic: 1.2.2 - get-symbol-description: 1.0.0 + get-intrinsic: 1.2.4 + get-symbol-description: 1.0.1 globalthis: 1.0.3 gopd: 1.0.1 has-property-descriptors: 1.0.1 has-proto: 1.0.1 has-symbols: 1.0.3 hasown: 2.0.0 - internal-slot: 1.0.6 - is-array-buffer: 3.0.2 + internal-slot: 1.0.7 + is-array-buffer: 3.0.4 is-callable: 1.2.7 is-negative-zero: 2.0.2 is-regex: 1.1.4 is-shared-array-buffer: 1.0.2 is-string: 1.0.7 - is-typed-array: 1.1.12 + is-typed-array: 1.1.13 is-weakref: 1.0.2 object-inspect: 1.13.1 object-keys: 1.1.1 object.assign: 4.1.5 regexp.prototype.flags: 1.5.1 safe-array-concat: 1.1.0 - safe-regex-test: 1.0.2 + safe-regex-test: 1.0.3 string.prototype.trim: 1.2.8 string.prototype.trimend: 1.0.7 string.prototype.trimstart: 1.0.7 - typed-array-buffer: 1.0.0 + typed-array-buffer: 1.0.1 typed-array-byte-length: 1.0.0 typed-array-byte-offset: 1.0.0 typed-array-length: 1.0.4 unbox-primitive: 1.0.2 - which-typed-array: 1.1.13 + which-typed-array: 1.1.14 + dev: true + + /es-array-method-boxes-properly@1.0.0: + resolution: {integrity: sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==} + dev: true + + /es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} dev: true /es-set-tostringtag@2.0.2: resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.2.2 - has-tostringtag: 1.0.0 + get-intrinsic: 1.2.4 + has-tostringtag: 1.0.2 hasown: 2.0.0 dev: true @@ -3392,8 +3417,8 @@ packages: '@esbuild/win32-x64': 0.18.20 dev: true - /escalade@3.1.1: - resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + /escalade@3.1.2: + resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} engines: {node: '>=6'} dev: true @@ -3435,7 +3460,7 @@ packages: eslint: 8.56.0 dev: true - /eslint-config-standard-with-typescript@42.0.0(@typescript-eslint/eslint-plugin@6.20.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3): + /eslint-config-standard-with-typescript@42.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3): resolution: {integrity: sha512-m1/2g/Sicun1uFZOFigJVeOqo9fE7OkMsNtilcpHwdCdcGr21qsGqYiyxYSvvHfJwY7w5OTQH0hxk8sM2N5Ohg==} peerDependencies: '@typescript-eslint/eslint-plugin': ^6.4.0 @@ -3445,11 +3470,11 @@ packages: eslint-plugin-promise: ^6.0.0 typescript: '*' dependencies: - '@typescript-eslint/eslint-plugin': 6.20.0(@typescript-eslint/parser@6.20.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.20.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) eslint: 8.56.0 eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.20.0)(eslint@8.56.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0) eslint-plugin-n: 16.6.2(eslint@8.56.0) eslint-plugin-promise: 6.1.1(eslint@8.56.0) typescript: 5.3.3 @@ -3467,7 +3492,7 @@ packages: eslint-plugin-promise: ^6.0.0 dependencies: eslint: 8.56.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.20.0)(eslint@8.56.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0) eslint-plugin-n: 16.6.2(eslint@8.56.0) eslint-plugin-promise: 6.1.1(eslint@8.56.0) dev: true @@ -3482,7 +3507,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.20.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -3503,7 +3528,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.20.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) debug: 3.2.7 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 @@ -3523,7 +3548,7 @@ packages: eslint-compat-utils: 0.1.2(eslint@8.56.0) dev: true - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.20.0)(eslint@8.56.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -3533,22 +3558,22 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.20.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) array-includes: 3.1.7 - array.prototype.findlastindex: 1.2.3 + array.prototype.findlastindex: 1.2.4 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.20.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 minimatch: 3.1.2 object.fromentries: 2.0.7 - object.groupby: 1.0.1 + object.groupby: 1.0.2 object.values: 1.1.7 semver: 6.3.1 tsconfig-paths: 3.15.0 @@ -3575,10 +3600,10 @@ packages: is-core-module: 2.13.1 minimatch: 3.1.2 resolve: 1.22.8 - semver: 7.5.4 + semver: 7.6.0 dev: true - /eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.4): + /eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.5): resolution: {integrity: sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3594,7 +3619,7 @@ packages: dependencies: eslint: 8.56.0 eslint-config-prettier: 9.1.0(eslint@8.56.0) - prettier: 3.2.4 + prettier: 3.2.5 prettier-linter-helpers: 1.0.0 synckit: 0.8.8 dev: true @@ -3780,8 +3805,8 @@ packages: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} dev: true - /fastq@1.17.0: - resolution: {integrity: sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==} + /fastq@1.17.1: + resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} dependencies: reusify: 1.0.4 dev: true @@ -3937,7 +3962,7 @@ packages: resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 functions-have-names: 1.2.3 @@ -3957,9 +3982,11 @@ packages: engines: {node: 6.* || 8.* || >= 10.*} dev: true - /get-intrinsic@1.2.2: - resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} + /get-intrinsic@1.2.4: + resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} + engines: {node: '>= 0.4'} dependencies: + es-errors: 1.3.0 function-bind: 1.1.2 has-proto: 1.0.1 has-symbols: 1.0.3 @@ -3986,12 +4013,12 @@ packages: engines: {node: '>=16'} dev: true - /get-symbol-description@1.0.0: - resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} + /get-symbol-description@1.0.1: + resolution: {integrity: sha512-KmuibvwbWaM4BHcBRYwJfZ1JxyJeBwB8ct9YYu67SvYdbEIlcQ2e56dHxfbobqW38GXo8/zDFqJeGtHiVbWyQw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 + call-bind: 1.0.6 + es-errors: 1.3.0 dev: true /get-tsconfig@4.7.2: @@ -4094,7 +4121,7 @@ packages: /gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} dependencies: - get-intrinsic: 1.2.2 + get-intrinsic: 1.2.4 dev: true /graceful-fs@4.2.10: @@ -4139,7 +4166,7 @@ packages: /has-property-descriptors@1.0.1: resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==} dependencies: - get-intrinsic: 1.2.2 + get-intrinsic: 1.2.4 dev: true /has-proto@1.0.1: @@ -4152,8 +4179,8 @@ packages: engines: {node: '>= 0.4'} dev: true - /has-tostringtag@1.0.0: - resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} + /has-tostringtag@1.0.2: + resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} engines: {node: '>= 0.4'} dependencies: has-symbols: 1.0.3 @@ -4287,13 +4314,13 @@ packages: resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} dev: true - /internal-slot@1.0.6: - resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} + /internal-slot@1.0.7: + resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} engines: {node: '>= 0.4'} dependencies: - get-intrinsic: 1.2.2 + es-errors: 1.3.0 hasown: 2.0.0 - side-channel: 1.0.4 + side-channel: 1.0.5 dev: true /into-stream@7.0.0: @@ -4304,12 +4331,12 @@ packages: p-is-promise: 3.0.0 dev: true - /is-array-buffer@3.0.2: - resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} + /is-array-buffer@3.0.4: + resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - is-typed-array: 1.1.12 + call-bind: 1.0.6 + get-intrinsic: 1.2.4 dev: true /is-arrayish@0.2.1: @@ -4326,8 +4353,8 @@ packages: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - has-tostringtag: 1.0.0 + call-bind: 1.0.6 + has-tostringtag: 1.0.2 dev: true /is-builtin-module@3.2.1: @@ -4352,7 +4379,7 @@ packages: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 dev: true /is-extglob@2.1.1: @@ -4386,7 +4413,7 @@ packages: resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 dev: true /is-number@7.0.0: @@ -4408,14 +4435,14 @@ packages: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - has-tostringtag: 1.0.0 + call-bind: 1.0.6 + has-tostringtag: 1.0.2 dev: true /is-shared-array-buffer@1.0.2: resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 dev: true /is-stream@2.0.1: @@ -4432,7 +4459,7 @@ packages: resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 dev: true /is-symbol@1.0.4: @@ -4449,11 +4476,11 @@ packages: text-extensions: 2.4.0 dev: true - /is-typed-array@1.1.12: - resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==} + /is-typed-array@1.1.13: + resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} engines: {node: '>= 0.4'} dependencies: - which-typed-array: 1.1.13 + which-typed-array: 1.1.14 dev: true /is-unicode-supported@2.0.0: @@ -4464,7 +4491,7 @@ packages: /is-weakref@1.0.2: resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 dev: true /isarray@1.0.0: @@ -4516,7 +4543,7 @@ packages: '@babel/parser': 7.23.9 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 - semver: 7.5.4 + semver: 7.6.0 transitivePeerDependencies: - supports-color dev: true @@ -4580,7 +4607,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4601,7 +4628,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.15)(ts-node@10.9.2): + /jest-cli@29.7.0(@types/node@20.11.16)(ts-node@10.9.2): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4615,10 +4642,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4629,7 +4656,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.15)(ts-node@10.9.2): + /jest-config@29.7.0(@types/node@20.11.16)(ts-node@10.9.2): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4644,7 +4671,7 @@ packages: '@babel/core': 7.23.9 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 babel-jest: 29.7.0(@babel/core@7.23.9) chalk: 4.1.2 ci-info: 3.9.0 @@ -4664,7 +4691,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.11.15)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@20.11.16)(typescript@5.3.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -4705,7 +4732,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4721,7 +4748,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.15 + '@types/node': 20.11.16 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4772,7 +4799,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 jest-util: 29.7.0 dev: true @@ -4827,7 +4854,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4858,7 +4885,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4900,7 +4927,7 @@ packages: jest-util: 29.7.0 natural-compare: 1.4.0 pretty-format: 29.7.0 - semver: 7.5.4 + semver: 7.6.0 transitivePeerDependencies: - supports-color dev: true @@ -4910,7 +4937,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4935,7 +4962,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.15 + '@types/node': 20.11.16 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -4947,13 +4974,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.15 + '@types/node': 20.11.16 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.15)(ts-node@10.9.2): + /jest@29.7.0(@types/node@20.11.16)(ts-node@10.9.2): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4966,7 +4993,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.2) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.15)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -5182,7 +5209,7 @@ packages: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} dependencies: - semver: 7.5.4 + semver: 7.6.0 dev: true /make-error@1.3.6: @@ -5345,7 +5372,7 @@ packages: dependencies: hosted-git-info: 7.0.1 is-core-module: 2.13.1 - semver: 7.5.4 + semver: 7.6.0 validate-npm-package-license: 3.0.4 dev: true @@ -5463,7 +5490,7 @@ packages: resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 has-symbols: 1.0.3 object-keys: 1.1.1 @@ -5473,25 +5500,26 @@ packages: resolution: {integrity: sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 dev: true - /object.groupby@1.0.1: - resolution: {integrity: sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==} + /object.groupby@1.0.2: + resolution: {integrity: sha512-bzBq58S+x+uo0VjurFT0UktpKHOZmv4/xePiOA1nbB9pMqpGK7rUPNgf+1YC+7mE+0HzhTMqNUuCqvKhj6FnBw==} dependencies: - call-bind: 1.0.5 + array.prototype.filter: 1.0.3 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 - get-intrinsic: 1.2.2 + es-errors: 1.3.0 dev: true /object.values@1.1.7: resolution: {integrity: sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 dev: true @@ -5739,8 +5767,8 @@ packages: fast-diff: 1.3.0 dev: true - /prettier@3.2.4: - resolution: {integrity: sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==} + /prettier@3.2.5: + resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==} engines: {node: '>=14'} hasBin: true dev: true @@ -5874,7 +5902,7 @@ packages: resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 set-function-name: 2.0.1 dev: true @@ -5967,8 +5995,8 @@ packages: resolution: {integrity: sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==} engines: {node: '>=0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 + call-bind: 1.0.6 + get-intrinsic: 1.2.4 has-symbols: 1.0.3 isarray: 2.0.5 dev: true @@ -5977,12 +6005,12 @@ packages: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} dev: true - /safe-regex-test@1.0.2: - resolution: {integrity: sha512-83S9w6eFq12BBIJYvjMux6/dkirb8+4zJRA9cxNBVb7Wq5fJBW+Xze48WqR8pxua7bDuAaaAxtVVd4Idjp1dBQ==} + /safe-regex-test@1.0.3: + resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 + call-bind: 1.0.6 + es-errors: 1.3.0 is-regex: 1.1.4 dev: true @@ -6016,7 +6044,7 @@ packages: p-reduce: 3.0.0 read-pkg-up: 11.0.0 resolve-from: 5.0.0 - semver: 7.5.4 + semver: 7.6.0 semver-diff: 4.0.0 signale: 1.4.0 yargs: 17.7.2 @@ -6029,7 +6057,7 @@ packages: resolution: {integrity: sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==} engines: {node: '>=12'} dependencies: - semver: 7.5.4 + semver: 7.6.0 dev: true /semver-regex@4.0.5: @@ -6042,21 +6070,22 @@ packages: hasBin: true dev: true - /semver@7.5.4: - resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} + /semver@7.6.0: + resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} engines: {node: '>=10'} hasBin: true dependencies: lru-cache: 6.0.0 dev: true - /set-function-length@1.2.0: - resolution: {integrity: sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==} + /set-function-length@1.2.1: + resolution: {integrity: sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.1 + define-data-property: 1.1.2 + es-errors: 1.3.0 function-bind: 1.1.2 - get-intrinsic: 1.2.2 + get-intrinsic: 1.2.4 gopd: 1.0.1 has-property-descriptors: 1.0.1 dev: true @@ -6065,7 +6094,7 @@ packages: resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.1 + define-data-property: 1.1.2 functions-have-names: 1.2.3 has-property-descriptors: 1.0.1 dev: true @@ -6082,11 +6111,13 @@ packages: engines: {node: '>=8'} dev: true - /side-channel@1.0.4: - resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} + /side-channel@1.0.5: + resolution: {integrity: sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==} + engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 + call-bind: 1.0.6 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 object-inspect: 1.13.1 dev: true @@ -6226,7 +6257,7 @@ packages: resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 dev: true @@ -6234,7 +6265,7 @@ packages: /string.prototype.trimend@1.0.7: resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 dev: true @@ -6242,7 +6273,7 @@ packages: /string.prototype.trimstart@1.0.7: resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 define-properties: 1.2.1 es-abstract: 1.22.3 dev: true @@ -6404,16 +6435,16 @@ packages: engines: {node: '>= 0.4'} dev: true - /ts-api-utils@1.0.3(typescript@5.3.3): - resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} - engines: {node: '>=16.13.0'} + /ts-api-utils@1.2.1(typescript@5.3.3): + resolution: {integrity: sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==} + engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' dependencies: typescript: 5.3.3 dev: true - /ts-node@10.9.2(@types/node@20.11.15)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.16)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6432,7 +6463,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.15 + '@types/node': 20.11.16 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -6499,23 +6530,23 @@ packages: engines: {node: '>=16'} dev: true - /typed-array-buffer@1.0.0: - resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} + /typed-array-buffer@1.0.1: + resolution: {integrity: sha512-RSqu1UEuSlrBhHTWC8O9FnPjOduNs4M7rJ4pRKoEjtx1zUNOPN2sSXHLDX+Y2WPbHIxbvg4JFo2DNAEfPIKWoQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - get-intrinsic: 1.2.2 - is-typed-array: 1.1.12 + call-bind: 1.0.6 + es-errors: 1.3.0 + is-typed-array: 1.1.13 dev: true /typed-array-byte-length@1.0.0: resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 for-each: 0.3.3 has-proto: 1.0.1 - is-typed-array: 1.1.12 + is-typed-array: 1.1.13 dev: true /typed-array-byte-offset@1.0.0: @@ -6523,18 +6554,18 @@ packages: engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.6 - call-bind: 1.0.5 + call-bind: 1.0.6 for-each: 0.3.3 has-proto: 1.0.1 - is-typed-array: 1.1.12 + is-typed-array: 1.1.13 dev: true /typed-array-length@1.0.4: resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 for-each: 0.3.3 - is-typed-array: 1.1.12 + is-typed-array: 1.1.13 dev: true /typescript@5.3.3: @@ -6554,7 +6585,7 @@ packages: /unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.6 has-bigints: 1.0.2 has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 @@ -6620,7 +6651,7 @@ packages: browserslist: '>= 4.21.0' dependencies: browserslist: 4.22.3 - escalade: 3.1.1 + escalade: 3.1.2 picocolors: 1.0.0 dev: true @@ -6675,15 +6706,15 @@ packages: is-symbol: 1.0.4 dev: true - /which-typed-array@1.1.13: - resolution: {integrity: sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==} + /which-typed-array@1.1.14: + resolution: {integrity: sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==} engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.6 - call-bind: 1.0.5 + call-bind: 1.0.6 for-each: 0.3.3 gopd: 1.0.1 - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 dev: true /which@2.0.2: @@ -6756,7 +6787,7 @@ packages: engines: {node: '>=12'} dependencies: cliui: 8.0.1 - escalade: 3.1.1 + escalade: 3.1.2 get-caller-file: 2.0.5 require-directory: 2.1.1 string-width: 4.2.3 diff --git a/test/spot.ts b/test/spot.ts index 0b7183d8..523f32d9 100644 --- a/test/spot.ts +++ b/test/spot.ts @@ -17,31 +17,9 @@ import getToken from './token' try { - const payload = ` - { - "data": { - "id": "AbcdEfgHiL", - "meta": { - "mode": "test", - "organization_id": "myOrgId" - }, - "type": "customers2", - "links": { - "self": "https://sdk2-test-org.commercelayer.io/api/customers/AbcdEfgHiL" - }, - "attributes": { - "metadata": {}, - "reference": "ref_test", - "created_at": "2023-10-01T05:53:29.296Z", - "updated_at": "2023-10-10T08:52:13.251Z" - } - } - } - ` - - const c = cl.customers.parse(payload, { ignoreSlug: true }) - console.log('----------') - console.log(c) + const customers = await cl.customers.list({ filters: { metadata_jcont: { testkey: 'meta' }}}) + + console.log(customers) } catch (error: any) { console.log(inspect(error, false, null, true)) From 05fc66afe040448021ef80a71366023e6ffe2023 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Fri, 9 Feb 2024 11:19:28 +0100 Subject: [PATCH 10/26] chore: update dependencies --- package.json | 8 +- pnpm-lock.yaml | 293 +++++++++++++++++++++++++++++++------------------ 2 files changed, 188 insertions(+), 113 deletions(-) diff --git a/package.json b/package.json index e00df5fe..e37e5488 100644 --- a/package.json +++ b/package.json @@ -33,19 +33,19 @@ "node": ">=16 || ^14.17" }, "dependencies": { - "axios": "1.6.5" + "axios": "1.6.7" }, "devDependencies": { "@babel/preset-env": "^7.23.9", "@babel/preset-typescript": "^7.23.3", "@commercelayer/eslint-config-ts": "1.3.0", - "@commercelayer/js-auth": "^4.2.0", + "@commercelayer/js-auth": "^4.2.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/debug": "^4.1.12", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", - "@types/node": "^20.11.16", + "@types/node": "^20.11.17", "dotenv": "^16.4.1", "eslint": "^8.56.0", "inflector-js": "^1.0.1", @@ -54,7 +54,7 @@ "jsonapi-typescript": "^0.1.3", "lodash": "^4.17.21", "minimize-js": "^1.4.0", - "semantic-release": "^22.0.12", + "semantic-release": "^23.0.2", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c3531460..656dc0b6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ overrides: dependencies: axios: - specifier: 1.6.5 - version: 1.6.5 + specifier: 1.6.7 + version: 1.6.7 devDependencies: '@babel/preset-env': @@ -23,14 +23,14 @@ devDependencies: specifier: 1.3.0 version: 1.3.0(eslint@8.56.0)(typescript@5.3.3) '@commercelayer/js-auth': - specifier: ^4.2.0 - version: 4.2.0 + specifier: ^4.2.1 + version: 4.2.1 '@semantic-release/changelog': specifier: ^6.0.3 - version: 6.0.3(semantic-release@22.0.12) + version: 6.0.3(semantic-release@23.0.2) '@semantic-release/git': specifier: ^10.0.1 - version: 10.0.1(semantic-release@22.0.12) + version: 10.0.1(semantic-release@23.0.2) '@types/debug': specifier: ^4.1.12 version: 4.1.12 @@ -41,8 +41,8 @@ devDependencies: specifier: ^4.14.202 version: 4.14.202 '@types/node': - specifier: ^20.11.16 - version: 20.11.16 + specifier: ^20.11.17 + version: 20.11.17 dotenv: specifier: ^16.4.1 version: 16.4.1 @@ -54,7 +54,7 @@ devDependencies: version: 1.0.1 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -68,11 +68,11 @@ devDependencies: specifier: ^1.4.0 version: 1.4.0 semantic-release: - specifier: ^22.0.12 - version: 22.0.12(typescript@5.3.3) + specifier: ^23.0.2 + version: 23.0.2(typescript@5.3.3) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.16)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.17)(typescript@5.3.3) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -1348,8 +1348,8 @@ packages: - supports-color dev: true - /@commercelayer/js-auth@4.2.0: - resolution: {integrity: sha512-KVVi3blZDVKHJCo2DWWbAuhfEGiF3a90OtPHVkjtyeW7n8m5/m2+++5CnMhRZKHvKIS7NpW0XPwoQNb7P8hO4Q==} + /@commercelayer/js-auth@4.2.1: + resolution: {integrity: sha512-VmsIVtoC9l9/xC2df7hEOASKFrxHYKnFGSkvIBjJ4zjzvkkuYhThmqEP9bFqilqa+DbNRa4tQUWdf82Cp/yEBQ==} engines: {node: '>=18.0.0'} dev: true @@ -1648,7 +1648,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1669,14 +1669,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1704,7 +1704,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 jest-mock: 29.7.0 dev: true @@ -1731,7 +1731,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.16 + '@types/node': 20.11.17 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1764,7 +1764,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.22 - '@types/node': 20.11.16 + '@types/node': 20.11.17 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1852,7 +1852,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.16 + '@types/node': 20.11.17 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1926,7 +1926,7 @@ packages: dependencies: '@octokit/auth-token': 4.0.0 '@octokit/graphql': 7.0.2 - '@octokit/request': 8.1.6 + '@octokit/request': 8.2.0 '@octokit/request-error': 5.0.1 '@octokit/types': 12.4.0 before-after-hook: 2.2.3 @@ -1945,7 +1945,7 @@ packages: resolution: {integrity: sha512-OJ2iGMtj5Tg3s6RaXH22cJcxXRi7Y3EBqbHTBRq+PQAqfaS8f/236fUrWhfSn8P4jovyzqucxme7/vWSSZBX2Q==} engines: {node: '>= 18'} dependencies: - '@octokit/request': 8.1.6 + '@octokit/request': 8.2.0 '@octokit/types': 12.4.0 universal-user-agent: 6.0.1 dev: true @@ -1996,8 +1996,8 @@ packages: once: 1.4.0 dev: true - /@octokit/request@8.1.6: - resolution: {integrity: sha512-YhPaGml3ncZC1NfXpP3WZ7iliL1ap6tLkAp6MvbK2fTTPytzVUyUesBBogcdMm86uRYO5rHaM1xIWxigWZ17MQ==} + /@octokit/request@8.2.0: + resolution: {integrity: sha512-exPif6x5uwLqv1N1irkLG1zZNJkOtj8bZxuVHd71U5Ftuxf2wGNvAJyNBcPbPC+EBzwYEbBDdSFb8EPcjpYxPQ==} engines: {node: '>= 18'} dependencies: '@octokit/endpoint': 9.0.4 @@ -2045,7 +2045,7 @@ packages: config-chain: 1.1.13 dev: true - /@semantic-release/changelog@6.0.3(semantic-release@22.0.12): + /@semantic-release/changelog@6.0.3(semantic-release@23.0.2): resolution: {integrity: sha512-dZuR5qByyfe3Y03TpmCvAxCyTnp7r5XwtHRf/8vD9EAn4ZWbavUX8adMtXYzE86EVh0gyLA7lm5yW4IV30XUag==} engines: {node: '>=14.17'} peerDependencies: @@ -2055,10 +2055,10 @@ packages: aggregate-error: 3.1.0 fs-extra: 11.2.0 lodash: 4.17.21 - semantic-release: 22.0.12(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.3.3) dev: true - /@semantic-release/commit-analyzer@11.1.0(semantic-release@22.0.12): + /@semantic-release/commit-analyzer@11.1.0(semantic-release@23.0.2): resolution: {integrity: sha512-cXNTbv3nXR2hlzHjAMgbuiQVtvWHTlwwISt60B+4NZv01y/QRY7p2HcJm8Eh2StzcTJoNnflvKjHH/cjFS7d5g==} engines: {node: ^18.17 || >=20.6.1} peerDependencies: @@ -2071,7 +2071,7 @@ packages: import-from-esm: 1.3.3 lodash-es: 4.17.21 micromatch: 4.0.5 - semantic-release: 22.0.12(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.3.3) transitivePeerDependencies: - supports-color dev: true @@ -2086,7 +2086,7 @@ packages: engines: {node: '>=18'} dev: true - /@semantic-release/git@10.0.1(semantic-release@22.0.12): + /@semantic-release/git@10.0.1(semantic-release@23.0.2): resolution: {integrity: sha512-eWrx5KguUcU2wUPaO6sfvZI0wPafUKAMNC18aXY4EnNcrZL86dEmpNVnC9uMpGZkmZJ9EfCVJBQx4pV4EMGT1w==} engines: {node: '>=14.17'} peerDependencies: @@ -2100,12 +2100,12 @@ packages: lodash: 4.17.21 micromatch: 4.0.5 p-reduce: 2.1.0 - semantic-release: 22.0.12(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.3.3) transitivePeerDependencies: - supports-color dev: true - /@semantic-release/github@9.2.6(semantic-release@22.0.12): + /@semantic-release/github@9.2.6(semantic-release@23.0.2): resolution: {integrity: sha512-shi+Lrf6exeNZF+sBhK+P011LSbhmIAoUEgEY6SsxF8irJ+J2stwI5jkyDQ+4gzYyDImzV6LCKdYB9FXnQRWKA==} engines: {node: '>=18'} peerDependencies: @@ -2126,13 +2126,13 @@ packages: lodash-es: 4.17.21 mime: 4.0.1 p-filter: 4.1.0 - semantic-release: 22.0.12(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.3.3) url-join: 5.0.0 transitivePeerDependencies: - supports-color dev: true - /@semantic-release/npm@11.0.2(semantic-release@22.0.12): + /@semantic-release/npm@11.0.2(semantic-release@23.0.2): resolution: {integrity: sha512-owtf3RjyPvRE63iUKZ5/xO4uqjRpVQDUB9+nnXj0xwfIeM9pRl+cG+zGDzdftR4m3f2s4Wyf3SexW+kF5DFtWA==} engines: {node: ^18.17 || >=20} peerDependencies: @@ -2149,12 +2149,12 @@ packages: rc: 1.2.8 read-pkg: 9.0.1 registry-auth-token: 5.0.2 - semantic-release: 22.0.12(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.3.3) semver: 7.6.0 tempy: 3.1.0 dev: true - /@semantic-release/release-notes-generator@12.1.0(semantic-release@22.0.12): + /@semantic-release/release-notes-generator@12.1.0(semantic-release@23.0.2): resolution: {integrity: sha512-g6M9AjUKAZUZnxaJZnouNBeDNTCUrJ5Ltj+VJ60gJeDaRRahcHsry9HW8yKrnKkKNkx5lbWiEP1FPMqVNQz8Kg==} engines: {node: ^18.17 || >=20.6.1} peerDependencies: @@ -2170,7 +2170,7 @@ packages: into-stream: 7.0.0 lodash-es: 4.17.21 read-pkg-up: 11.0.0 - semantic-release: 22.0.12(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.3.3) transitivePeerDependencies: - supports-color dev: true @@ -2255,7 +2255,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.16 + '@types/node': 20.11.17 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -2297,8 +2297,8 @@ packages: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.11.16: - resolution: {integrity: sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ==} + /@types/node@20.11.17: + resolution: {integrity: sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==} dependencies: undici-types: 5.26.5 dev: true @@ -2565,8 +2565,8 @@ packages: engines: {node: '>=12'} dev: true - /ansicolors@0.3.2: - resolution: {integrity: sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==} + /any-promise@1.3.0: + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} dev: true /anymatch@3.1.3: @@ -2688,8 +2688,8 @@ packages: engines: {node: '>= 0.4'} dev: true - /axios@1.6.5: - resolution: {integrity: sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==} + /axios@1.6.7: + resolution: {integrity: sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==} dependencies: follow-redirects: 1.15.5 form-data: 4.0.0 @@ -2844,7 +2844,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001585 - electron-to-chromium: 1.4.659 + electron-to-chromium: 1.4.664 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.3) dev: true @@ -2899,14 +2899,6 @@ packages: resolution: {integrity: sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q==} dev: true - /cardinal@2.1.1: - resolution: {integrity: sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw==} - hasBin: true - dependencies: - ansicolors: 0.3.2 - redeyed: 2.1.1 - dev: true - /chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -2955,6 +2947,19 @@ packages: escape-string-regexp: 5.0.0 dev: true + /cli-highlight@2.1.11: + resolution: {integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==} + engines: {node: '>=8.0.0', npm: '>=5.0.0'} + hasBin: true + dependencies: + chalk: 4.1.2 + highlight.js: 10.7.3 + mz: 2.7.0 + parse5: 5.1.1 + parse5-htmlparser2-tree-adapter: 6.0.1 + yargs: 16.2.0 + dev: true + /cli-table3@0.6.3: resolution: {integrity: sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==} engines: {node: 10.* || >= 12.*} @@ -2964,6 +2969,14 @@ packages: '@colors/colors': 1.5.0 dev: true + /cliui@7.0.4: + resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + dev: true + /cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -3083,8 +3096,8 @@ packages: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} dev: true - /cosmiconfig@8.3.6(typescript@5.3.3): - resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} + /cosmiconfig@9.0.0(typescript@5.3.3): + resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} engines: {node: '>=14'} peerDependencies: typescript: '>=4.9.5' @@ -3092,14 +3105,14 @@ packages: typescript: optional: true dependencies: + env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 - path-type: 4.0.0 typescript: 5.3.3 dev: true - /create-jest@29.7.0(@types/node@20.11.16)(ts-node@10.9.2): + /create-jest@29.7.0(@types/node@20.11.17)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3108,7 +3121,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3274,8 +3287,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.659: - resolution: {integrity: sha512-sRJ3nV3HowrYpBtPF9bASQV7OW49IgZC01Xiq43WfSE3RTCkK0/JidoCmR73Hyc1mN+l/H4Yqx0eNiomvExFZg==} + /electron-to-chromium@1.4.664: + resolution: {integrity: sha512-k9VKKSkOSNPvSckZgDDl/IQx45E1quMjX8QfLzUsAs/zve8AyFDK+ByRynSP/OfEfryiKHpQeMf00z0leLCc3A==} dev: true /emittery@0.13.1: @@ -3295,14 +3308,19 @@ packages: resolution: {integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==} dev: true - /env-ci@10.0.0: - resolution: {integrity: sha512-U4xcd/utDYFgMh0yWj07R1H6L5fwhVbmxBCpnL0DbVSDZVnsC82HONw0wxtxNkIAcua3KtbomQvIk5xFZGAQJw==} + /env-ci@11.0.0: + resolution: {integrity: sha512-apikxMgkipkgTvMdRT9MNqWx5VLOci79F4VBd7Op/7OPjjoanjdAvn6fglMCCEf/1bAh8eOiuEVCUs4V3qP3nQ==} engines: {node: ^18.17 || >=20.6.1} dependencies: execa: 8.0.1 java-properties: 1.0.2 dev: true + /env-paths@2.2.1: + resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} + engines: {node: '>=6'} + dev: true + /error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: @@ -3321,7 +3339,7 @@ packages: es-to-primitive: 1.2.1 function.prototype.name: 1.1.6 get-intrinsic: 1.2.4 - get-symbol-description: 1.0.1 + get-symbol-description: 1.0.2 globalthis: 1.0.3 gopd: 1.0.1 has-property-descriptors: 1.0.1 @@ -4013,12 +4031,13 @@ packages: engines: {node: '>=16'} dev: true - /get-symbol-description@1.0.1: - resolution: {integrity: sha512-KmuibvwbWaM4BHcBRYwJfZ1JxyJeBwB8ct9YYu67SvYdbEIlcQ2e56dHxfbobqW38GXo8/zDFqJeGtHiVbWyQw==} + /get-symbol-description@1.0.2: + resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.6 es-errors: 1.3.0 + get-intrinsic: 1.2.4 dev: true /get-tsconfig@4.7.2: @@ -4193,6 +4212,10 @@ packages: function-bind: 1.1.2 dev: true + /highlight.js@10.7.3: + resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} + dev: true + /hook-std@3.0.0: resolution: {integrity: sha512-jHRQzjSDzMtFy34AGj1DN+vq54WVuhSvKgrHf0OMiFQTwDD4L/qqofVEWjLOBMTn5+lCD3fPg32W9yOfnEJTTw==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -4607,7 +4630,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4628,7 +4651,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.16)(ts-node@10.9.2): + /jest-cli@29.7.0(@types/node@20.11.17)(ts-node@10.9.2): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4642,10 +4665,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4656,7 +4679,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.16)(ts-node@10.9.2): + /jest-config@29.7.0(@types/node@20.11.17)(ts-node@10.9.2): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4671,7 +4694,7 @@ packages: '@babel/core': 7.23.9 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 babel-jest: 29.7.0(@babel/core@7.23.9) chalk: 4.1.2 ci-info: 3.9.0 @@ -4691,7 +4714,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.11.16)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@20.11.17)(typescript@5.3.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -4732,7 +4755,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4748,7 +4771,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.16 + '@types/node': 20.11.17 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4799,7 +4822,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 jest-util: 29.7.0 dev: true @@ -4854,7 +4877,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4885,7 +4908,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4937,7 +4960,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4962,7 +4985,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.16 + '@types/node': 20.11.17 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -4974,13 +4997,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.16 + '@types/node': 20.11.17 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.16)(ts-node@10.9.2): + /jest@29.7.0(@types/node@20.11.17)(ts-node@10.9.2): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4993,7 +5016,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.2) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.16)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -5222,24 +5245,24 @@ packages: tmpl: 1.0.5 dev: true - /marked-terminal@6.2.0(marked@9.1.6): - resolution: {integrity: sha512-ubWhwcBFHnXsjYNsu+Wndpg0zhY4CahSpPlA70PlO0rR9r2sZpkyU+rkCsOWH+KMEkx847UpALON+HWgxowFtw==} + /marked-terminal@7.0.0(marked@12.0.0): + resolution: {integrity: sha512-sNEx8nn9Ktcm6pL0TnRz8tnXq/mSS0Q1FRSwJOAqw4lAB4l49UeDf85Gm1n9RPFm5qurCPjwi1StAQT2XExhZw==} engines: {node: '>=16.0.0'} peerDependencies: - marked: '>=1 <12' + marked: '>=1 <13' dependencies: ansi-escapes: 6.2.0 - cardinal: 2.1.1 chalk: 5.3.0 + cli-highlight: 2.1.11 cli-table3: 0.6.3 - marked: 9.1.6 + marked: 12.0.0 node-emoji: 2.1.3 supports-hyperlinks: 3.0.0 dev: true - /marked@9.1.6: - resolution: {integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==} - engines: {node: '>= 16'} + /marked@12.0.0: + resolution: {integrity: sha512-Vkwtq9rLqXryZnWaQc86+FHLC6tr/fycMfYAhiOIXkrNmeGAyhSxjqu0Rs1i0bBqw5u0S7+lV9fdH2ZSVaoa0w==} + engines: {node: '>= 18'} hasBin: true dev: true @@ -5336,6 +5359,14 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: true + /mz@2.7.0: + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + dependencies: + any-promise: 1.3.0 + object-assign: 4.1.1 + thenify-all: 1.6.0 + dev: true + /natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true @@ -5477,6 +5508,11 @@ packages: - which - write-file-atomic + /object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + dev: true + /object-inspect@1.13.1: resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} dev: true @@ -5674,6 +5710,20 @@ packages: type-fest: 4.10.2 dev: true + /parse5-htmlparser2-tree-adapter@6.0.1: + resolution: {integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==} + dependencies: + parse5: 6.0.1 + dev: true + + /parse5@5.1.1: + resolution: {integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==} + dev: true + + /parse5@6.0.1: + resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} + dev: true + /path-exists@3.0.0: resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} engines: {node: '>=4'} @@ -5871,12 +5921,6 @@ packages: util-deprecate: 1.0.2 dev: true - /redeyed@2.1.1: - resolution: {integrity: sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ==} - dependencies: - esprima: 4.0.1 - dev: true - /regenerate-unicode-properties@10.1.1: resolution: {integrity: sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==} engines: {node: '>=4'} @@ -6014,20 +6058,20 @@ packages: is-regex: 1.1.4 dev: true - /semantic-release@22.0.12(typescript@5.3.3): - resolution: {integrity: sha512-0mhiCR/4sZb00RVFJIUlMuiBkW3NMpVIW2Gse7noqEMoFGkvfPPAImEQbkBV8xga4KOPP4FdTRYuLLy32R1fPw==} - engines: {node: ^18.17 || >=20.6.1} + /semantic-release@23.0.2(typescript@5.3.3): + resolution: {integrity: sha512-OnVYJ6Xgzwe1x8MKswba7RU9+5djS1MWRTrTn5qsq3xZYpslroZkV9Pt0dA2YcIuieeuSZWJhn+yUWoBUHO5Fw==} + engines: {node: '>=20.8.1'} hasBin: true dependencies: - '@semantic-release/commit-analyzer': 11.1.0(semantic-release@22.0.12) + '@semantic-release/commit-analyzer': 11.1.0(semantic-release@23.0.2) '@semantic-release/error': 4.0.0 - '@semantic-release/github': 9.2.6(semantic-release@22.0.12) - '@semantic-release/npm': 11.0.2(semantic-release@22.0.12) - '@semantic-release/release-notes-generator': 12.1.0(semantic-release@22.0.12) + '@semantic-release/github': 9.2.6(semantic-release@23.0.2) + '@semantic-release/npm': 11.0.2(semantic-release@23.0.2) + '@semantic-release/release-notes-generator': 12.1.0(semantic-release@23.0.2) aggregate-error: 5.0.0 - cosmiconfig: 8.3.6(typescript@5.3.3) + cosmiconfig: 9.0.0(typescript@5.3.3) debug: 4.3.4 - env-ci: 10.0.0 + env-ci: 11.0.0 execa: 8.0.1 figures: 6.0.1 find-versions: 5.1.0 @@ -6037,8 +6081,8 @@ packages: hosted-git-info: 7.0.1 import-from-esm: 1.3.3 lodash-es: 4.17.21 - marked: 9.1.6 - marked-terminal: 6.2.0(marked@9.1.6) + marked: 12.0.0 + marked-terminal: 7.0.0(marked@12.0.0) micromatch: 4.0.5 p-each-series: 3.0.0 p-reduce: 3.0.0 @@ -6403,6 +6447,19 @@ packages: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} dev: true + /thenify-all@1.6.0: + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} + dependencies: + thenify: 3.3.1 + dev: true + + /thenify@3.3.1: + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + dependencies: + any-promise: 1.3.0 + dev: true + /through2@2.0.5: resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} dependencies: @@ -6444,7 +6501,7 @@ packages: typescript: 5.3.3 dev: true - /ts-node@10.9.2(@types/node@20.11.16)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.17)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6463,7 +6520,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.16 + '@types/node': 20.11.17 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -6777,11 +6834,29 @@ packages: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} dev: true + /yargs-parser@20.2.9: + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} + dev: true + /yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} dev: true + /yargs@16.2.0: + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} + dependencies: + cliui: 7.0.4 + escalade: 3.1.2 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 20.2.9 + dev: true + /yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} From 0f75edb466c4915b7e4c7954a2e675f2c03d38e4 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Wed, 14 Feb 2024 17:03:20 +0100 Subject: [PATCH 11/26] feat: update resources to schema v4.26.0 --- gen/openapi.json | 1051 ++++------------- package.json | 2 +- pnpm-lock.yaml | 226 ++-- .../resources/buy_x_pay_y_promotions.spec.ts | 26 +- specs/resources/external_promotions.spec.ts | 26 +- .../resources/fixed_amount_promotions.spec.ts | 26 +- .../resources/fixed_price_promotions.spec.ts | 26 +- specs/resources/free_gift_promotions.spec.ts | 26 +- .../free_shipping_promotions.spec.ts | 27 +- .../percentage_discount_promotions.spec.ts | 26 +- specs/resources/promotions.spec.ts | 24 +- src/commercelayer.ts | 2 +- src/resources/buy_x_pay_y_promotions.ts | 20 +- src/resources/external_promotions.ts | 20 +- src/resources/fixed_amount_promotions.ts | 20 +- src/resources/fixed_price_promotions.ts | 20 +- src/resources/free_gift_promotions.ts | 20 +- src/resources/free_shipping_promotions.ts | 25 +- src/resources/payment_methods.ts | 3 + .../percentage_discount_promotions.ts | 20 +- src/resources/promotions.ts | 12 +- src/resources/stock_transfers.ts | 2 +- src/resources/stripe_payments.ts | 5 +- 23 files changed, 501 insertions(+), 1154 deletions(-) diff --git a/gen/openapi.json b/gen/openapi.json index f8e8a0b1..66ee7cf8 100644 --- a/gen/openapi.json +++ b/gen/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Commerce Layer API", - "version": "4.25.0", + "version": "4.26.0", "contact": { "name": "API Support", "url": "https://commercelayer.io", @@ -3594,14 +3594,14 @@ } } }, - "/buy_x_pay_y_promotions/{buyXPayYPromotionId}/coupons": { + "/buy_x_pay_y_promotions/{buyXPayYPromotionId}/sku_list": { "get": { - "operationId": "GET/buyXPayYPromotionId/coupons", - "summary": "Retrieve the coupons associated to the buy x pay y promotion", - "description": "Retrieve the coupons associated to the buy x pay y promotion", + "operationId": "GET/buyXPayYPromotionId/sku_list", + "summary": "Retrieve the sku list associated to the buy x pay y promotion", + "description": "Retrieve the sku list associated to the buy x pay y promotion", "tags": [ - "has_many", - "coupons" + "has_one", + "sku_lists" ], "parameters": [ { @@ -3616,19 +3616,19 @@ ], "responses": { "200": { - "description": "The coupons associated to the buy x pay y promotion" + "description": "The sku_list associated to the buy x pay y promotion" } } } }, - "/buy_x_pay_y_promotions/{buyXPayYPromotionId}/sku_list": { + "/buy_x_pay_y_promotions/{buyXPayYPromotionId}/coupons": { "get": { - "operationId": "GET/buyXPayYPromotionId/sku_list", - "summary": "Retrieve the sku list associated to the buy x pay y promotion", - "description": "Retrieve the sku list associated to the buy x pay y promotion", + "operationId": "GET/buyXPayYPromotionId/coupons", + "summary": "Retrieve the coupons associated to the buy x pay y promotion", + "description": "Retrieve the coupons associated to the buy x pay y promotion", "tags": [ - "has_one", - "sku_lists" + "has_many", + "coupons" ], "parameters": [ { @@ -3643,7 +3643,7 @@ ], "responses": { "200": { - "description": "The sku_list associated to the buy x pay y promotion" + "description": "The coupons associated to the buy x pay y promotion" } } } @@ -8687,14 +8687,14 @@ } } }, - "/external_promotions/{externalPromotionId}/coupons": { + "/external_promotions/{externalPromotionId}/sku_list": { "get": { - "operationId": "GET/externalPromotionId/coupons", - "summary": "Retrieve the coupons associated to the external promotion", - "description": "Retrieve the coupons associated to the external promotion", + "operationId": "GET/externalPromotionId/sku_list", + "summary": "Retrieve the sku list associated to the external promotion", + "description": "Retrieve the sku list associated to the external promotion", "tags": [ - "has_many", - "coupons" + "has_one", + "sku_lists" ], "parameters": [ { @@ -8709,19 +8709,19 @@ ], "responses": { "200": { - "description": "The coupons associated to the external promotion" + "description": "The sku_list associated to the external promotion" } } } }, - "/external_promotions/{externalPromotionId}/sku_list": { + "/external_promotions/{externalPromotionId}/coupons": { "get": { - "operationId": "GET/externalPromotionId/sku_list", - "summary": "Retrieve the sku list associated to the external promotion", - "description": "Retrieve the sku list associated to the external promotion", + "operationId": "GET/externalPromotionId/coupons", + "summary": "Retrieve the coupons associated to the external promotion", + "description": "Retrieve the coupons associated to the external promotion", "tags": [ - "has_one", - "sku_lists" + "has_many", + "coupons" ], "parameters": [ { @@ -8736,7 +8736,7 @@ ], "responses": { "200": { - "description": "The sku_list associated to the external promotion" + "description": "The coupons associated to the external promotion" } } } @@ -9392,14 +9392,14 @@ } } }, - "/fixed_amount_promotions/{fixedAmountPromotionId}/coupons": { + "/fixed_amount_promotions/{fixedAmountPromotionId}/sku_list": { "get": { - "operationId": "GET/fixedAmountPromotionId/coupons", - "summary": "Retrieve the coupons associated to the fixed amount promotion", - "description": "Retrieve the coupons associated to the fixed amount promotion", + "operationId": "GET/fixedAmountPromotionId/sku_list", + "summary": "Retrieve the sku list associated to the fixed amount promotion", + "description": "Retrieve the sku list associated to the fixed amount promotion", "tags": [ - "has_many", - "coupons" + "has_one", + "sku_lists" ], "parameters": [ { @@ -9414,19 +9414,19 @@ ], "responses": { "200": { - "description": "The coupons associated to the fixed amount promotion" + "description": "The sku_list associated to the fixed amount promotion" } } } }, - "/fixed_amount_promotions/{fixedAmountPromotionId}/sku_list": { + "/fixed_amount_promotions/{fixedAmountPromotionId}/coupons": { "get": { - "operationId": "GET/fixedAmountPromotionId/sku_list", - "summary": "Retrieve the sku list associated to the fixed amount promotion", - "description": "Retrieve the sku list associated to the fixed amount promotion", + "operationId": "GET/fixedAmountPromotionId/coupons", + "summary": "Retrieve the coupons associated to the fixed amount promotion", + "description": "Retrieve the coupons associated to the fixed amount promotion", "tags": [ - "has_one", - "sku_lists" + "has_many", + "coupons" ], "parameters": [ { @@ -9441,7 +9441,7 @@ ], "responses": { "200": { - "description": "The sku_list associated to the fixed amount promotion" + "description": "The coupons associated to the fixed amount promotion" } } } @@ -9866,14 +9866,14 @@ } } }, - "/fixed_price_promotions/{fixedPricePromotionId}/coupons": { + "/fixed_price_promotions/{fixedPricePromotionId}/sku_list": { "get": { - "operationId": "GET/fixedPricePromotionId/coupons", - "summary": "Retrieve the coupons associated to the fixed price promotion", - "description": "Retrieve the coupons associated to the fixed price promotion", + "operationId": "GET/fixedPricePromotionId/sku_list", + "summary": "Retrieve the sku list associated to the fixed price promotion", + "description": "Retrieve the sku list associated to the fixed price promotion", "tags": [ - "has_many", - "coupons" + "has_one", + "sku_lists" ], "parameters": [ { @@ -9888,19 +9888,19 @@ ], "responses": { "200": { - "description": "The coupons associated to the fixed price promotion" + "description": "The sku_list associated to the fixed price promotion" } } } }, - "/fixed_price_promotions/{fixedPricePromotionId}/sku_list": { + "/fixed_price_promotions/{fixedPricePromotionId}/coupons": { "get": { - "operationId": "GET/fixedPricePromotionId/sku_list", - "summary": "Retrieve the sku list associated to the fixed price promotion", - "description": "Retrieve the sku list associated to the fixed price promotion", + "operationId": "GET/fixedPricePromotionId/coupons", + "summary": "Retrieve the coupons associated to the fixed price promotion", + "description": "Retrieve the coupons associated to the fixed price promotion", "tags": [ - "has_one", - "sku_lists" + "has_many", + "coupons" ], "parameters": [ { @@ -9915,7 +9915,7 @@ ], "responses": { "200": { - "description": "The sku_list associated to the fixed price promotion" + "description": "The coupons associated to the fixed price promotion" } } } @@ -10340,14 +10340,14 @@ } } }, - "/free_gift_promotions/{freeGiftPromotionId}/coupons": { + "/free_gift_promotions/{freeGiftPromotionId}/sku_list": { "get": { - "operationId": "GET/freeGiftPromotionId/coupons", - "summary": "Retrieve the coupons associated to the free gift promotion", - "description": "Retrieve the coupons associated to the free gift promotion", + "operationId": "GET/freeGiftPromotionId/sku_list", + "summary": "Retrieve the sku list associated to the free gift promotion", + "description": "Retrieve the sku list associated to the free gift promotion", "tags": [ - "has_many", - "coupons" + "has_one", + "sku_lists" ], "parameters": [ { @@ -10362,19 +10362,19 @@ ], "responses": { "200": { - "description": "The coupons associated to the free gift promotion" + "description": "The sku_list associated to the free gift promotion" } } } }, - "/free_gift_promotions/{freeGiftPromotionId}/sku_list": { + "/free_gift_promotions/{freeGiftPromotionId}/coupons": { "get": { - "operationId": "GET/freeGiftPromotionId/sku_list", - "summary": "Retrieve the sku list associated to the free gift promotion", - "description": "Retrieve the sku list associated to the free gift promotion", + "operationId": "GET/freeGiftPromotionId/coupons", + "summary": "Retrieve the coupons associated to the free gift promotion", + "description": "Retrieve the coupons associated to the free gift promotion", "tags": [ - "has_one", - "sku_lists" + "has_many", + "coupons" ], "parameters": [ { @@ -10389,7 +10389,7 @@ ], "responses": { "200": { - "description": "The sku_list associated to the free gift promotion" + "description": "The coupons associated to the free gift promotion" } } } @@ -10814,14 +10814,14 @@ } } }, - "/free_shipping_promotions/{freeShippingPromotionId}/coupons": { + "/free_shipping_promotions/{freeShippingPromotionId}/sku_list": { "get": { - "operationId": "GET/freeShippingPromotionId/coupons", - "summary": "Retrieve the coupons associated to the free shipping promotion", - "description": "Retrieve the coupons associated to the free shipping promotion", + "operationId": "GET/freeShippingPromotionId/sku_list", + "summary": "Retrieve the sku list associated to the free shipping promotion", + "description": "Retrieve the sku list associated to the free shipping promotion", "tags": [ - "has_many", - "coupons" + "has_one", + "sku_lists" ], "parameters": [ { @@ -10836,19 +10836,19 @@ ], "responses": { "200": { - "description": "The coupons associated to the free shipping promotion" + "description": "The sku_list associated to the free shipping promotion" } } } }, - "/free_shipping_promotions/{freeShippingPromotionId}/sku_list": { + "/free_shipping_promotions/{freeShippingPromotionId}/coupons": { "get": { - "operationId": "GET/freeShippingPromotionId/sku_list", - "summary": "Retrieve the sku list associated to the free shipping promotion", - "description": "Retrieve the sku list associated to the free shipping promotion", + "operationId": "GET/freeShippingPromotionId/coupons", + "summary": "Retrieve the coupons associated to the free shipping promotion", + "description": "Retrieve the coupons associated to the free shipping promotion", "tags": [ - "has_one", - "sku_lists" + "has_many", + "coupons" ], "parameters": [ { @@ -10863,7 +10863,7 @@ ], "responses": { "200": { - "description": "The sku_list associated to the free shipping promotion" + "description": "The coupons associated to the free shipping promotion" } } } @@ -19578,14 +19578,14 @@ } } }, - "/percentage_discount_promotions/{percentageDiscountPromotionId}/coupons": { + "/percentage_discount_promotions/{percentageDiscountPromotionId}/sku_list": { "get": { - "operationId": "GET/percentageDiscountPromotionId/coupons", - "summary": "Retrieve the coupons associated to the percentage discount promotion", - "description": "Retrieve the coupons associated to the percentage discount promotion", + "operationId": "GET/percentageDiscountPromotionId/sku_list", + "summary": "Retrieve the sku list associated to the percentage discount promotion", + "description": "Retrieve the sku list associated to the percentage discount promotion", "tags": [ - "has_many", - "coupons" + "has_one", + "sku_lists" ], "parameters": [ { @@ -19600,19 +19600,19 @@ ], "responses": { "200": { - "description": "The coupons associated to the percentage discount promotion" + "description": "The sku_list associated to the percentage discount promotion" } } } }, - "/percentage_discount_promotions/{percentageDiscountPromotionId}/sku_list": { + "/percentage_discount_promotions/{percentageDiscountPromotionId}/coupons": { "get": { - "operationId": "GET/percentageDiscountPromotionId/sku_list", - "summary": "Retrieve the sku list associated to the percentage discount promotion", - "description": "Retrieve the sku list associated to the percentage discount promotion", + "operationId": "GET/percentageDiscountPromotionId/coupons", + "summary": "Retrieve the coupons associated to the percentage discount promotion", + "description": "Retrieve the coupons associated to the percentage discount promotion", "tags": [ - "has_one", - "sku_lists" + "has_many", + "coupons" ], "parameters": [ { @@ -19627,7 +19627,7 @@ ], "responses": { "200": { - "description": "The sku_list associated to the percentage discount promotion" + "description": "The coupons associated to the percentage discount promotion" } } } @@ -21261,14 +21261,14 @@ } } }, - "/promotions/{promotionId}/coupons": { + "/promotions/{promotionId}/sku_list": { "get": { - "operationId": "GET/promotionId/coupons", - "summary": "Retrieve the coupons associated to the promotion", - "description": "Retrieve the coupons associated to the promotion", + "operationId": "GET/promotionId/sku_list", + "summary": "Retrieve the sku list associated to the promotion", + "description": "Retrieve the sku list associated to the promotion", "tags": [ - "has_many", - "coupons" + "has_one", + "sku_lists" ], "parameters": [ { @@ -21283,19 +21283,19 @@ ], "responses": { "200": { - "description": "The coupons associated to the promotion" + "description": "The sku_list associated to the promotion" } } } }, - "/promotions/{promotionId}/sku_list": { + "/promotions/{promotionId}/coupons": { "get": { - "operationId": "GET/promotionId/sku_list", - "summary": "Retrieve the sku list associated to the promotion", - "description": "Retrieve the sku list associated to the promotion", + "operationId": "GET/promotionId/coupons", + "summary": "Retrieve the coupons associated to the promotion", + "description": "Retrieve the coupons associated to the promotion", "tags": [ - "has_one", - "sku_lists" + "has_many", + "coupons" ], "parameters": [ { @@ -21310,7 +21310,7 @@ ], "responses": { "200": { - "description": "The sku_list associated to the promotion" + "description": "The coupons associated to the promotion" } } } @@ -39042,7 +39042,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "data": { @@ -39052,7 +39052,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_lists" ] }, "id": { @@ -39064,7 +39064,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "data": { @@ -39074,7 +39074,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_lists" + "coupons" ] }, "id": { @@ -39339,31 +39339,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -39464,31 +39439,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -39699,31 +39649,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -39824,31 +39749,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -40142,7 +40042,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "links": { @@ -40165,7 +40065,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_list" ] }, "id": { @@ -40176,7 +40076,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "links": { @@ -40199,7 +40099,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_list" + "coupons" ] }, "id": { @@ -51326,7 +51226,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "data": { @@ -51336,7 +51236,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_lists" ] }, "id": { @@ -51348,7 +51248,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "data": { @@ -51358,7 +51258,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_lists" + "coupons" ] }, "id": { @@ -51612,31 +51512,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -51737,31 +51612,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -51957,31 +51807,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -52082,31 +51907,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -52400,7 +52200,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "links": { @@ -52423,7 +52223,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_list" ] }, "id": { @@ -52434,7 +52234,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "links": { @@ -52457,7 +52257,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_list" + "coupons" ] }, "id": { @@ -53356,7 +53156,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "data": { @@ -53366,7 +53166,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_lists" ] }, "id": { @@ -53378,7 +53178,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "data": { @@ -53388,7 +53188,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_lists" + "coupons" ] }, "id": { @@ -53642,31 +53442,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -53767,31 +53542,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -53987,31 +53737,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -54112,31 +53837,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -54430,7 +54130,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "links": { @@ -54453,7 +54153,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_list" ] }, "id": { @@ -54464,7 +54164,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "links": { @@ -54487,7 +54187,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_list" + "coupons" ] }, "id": { @@ -54952,7 +54652,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "data": { @@ -54962,7 +54662,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_lists" ] }, "id": { @@ -54974,7 +54674,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "data": { @@ -54984,7 +54684,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_lists" + "coupons" ] }, "id": { @@ -55238,31 +54938,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -55363,31 +55038,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -55586,31 +55236,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -55711,31 +55336,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -56029,7 +55629,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "links": { @@ -56052,7 +55652,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_list" ] }, "id": { @@ -56063,7 +55663,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "links": { @@ -56086,7 +55686,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_list" + "coupons" ] }, "id": { @@ -56539,7 +56139,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "data": { @@ -56549,7 +56149,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_lists" ] }, "id": { @@ -56561,7 +56161,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "data": { @@ -56571,7 +56171,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_lists" + "coupons" ] }, "id": { @@ -56824,31 +56424,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -56949,31 +56524,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -57172,31 +56722,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -57297,31 +56822,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -57615,7 +57115,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "links": { @@ -57638,7 +57138,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_list" ] }, "id": { @@ -57649,7 +57149,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "links": { @@ -57672,7 +57172,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_list" + "coupons" ] }, "id": { @@ -58119,7 +57619,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "data": { @@ -58129,7 +57629,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_lists" ] }, "id": { @@ -58141,7 +57641,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "data": { @@ -58151,7 +57651,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_lists" + "coupons" ] }, "id": { @@ -58377,31 +57877,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -58502,7 +57977,7 @@ } } }, - "coupons": { + "sku_list": { "required": [ "data" ], @@ -58515,7 +57990,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_lists" ] }, "id": { @@ -58691,31 +58166,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -58816,7 +58266,7 @@ } } }, - "coupons": { + "sku_list": { "required": [ "data" ], @@ -58829,7 +58279,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_lists" ] }, "id": { @@ -59109,7 +58559,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "links": { @@ -59132,7 +58582,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_list" ] }, "id": { @@ -59143,7 +58593,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "links": { @@ -59166,7 +58616,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_list" + "coupons" ] }, "id": { @@ -79580,6 +79030,12 @@ "example": true, "nullable": true }, + "auto_place": { + "type": "boolean", + "description": "Send this attribute if you want to automatically place the order upon authorization performed asynchronously.", + "example": true, + "nullable": true + }, "auto_capture": { "type": "boolean", "description": "Send this attribute if you want to automatically capture the payment upon authorization.", @@ -79815,6 +79271,11 @@ "description": "Send this attribute if you want to require the payment capture before fulfillment.", "example": true }, + "auto_place": { + "type": "boolean", + "description": "Send this attribute if you want to automatically place the order upon authorization performed asynchronously.", + "example": true + }, "auto_capture": { "type": "boolean", "description": "Send this attribute if you want to automatically capture the payment upon authorization.", @@ -79991,6 +79452,12 @@ "example": true, "nullable": false }, + "auto_place": { + "type": "boolean", + "description": "Send this attribute if you want to automatically place the order upon authorization performed asynchronously.", + "example": true, + "nullable": false + }, "auto_capture": { "type": "boolean", "description": "Send this attribute if you want to automatically capture the payment upon authorization.", @@ -82002,7 +81469,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "data": { @@ -82012,7 +81479,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_lists" ] }, "id": { @@ -82024,7 +81491,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "data": { @@ -82034,7 +81501,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_lists" + "coupons" ] }, "id": { @@ -82288,31 +81755,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -82413,31 +81855,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -82633,31 +82050,6 @@ } } }, - "promotion_rules": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "promotion_rules" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "order_amount_promotion_rule": { "required": [ "data" @@ -82758,31 +82150,6 @@ } } }, - "coupons": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "coupons" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, "sku_list": { "required": [ "data" @@ -83076,7 +82443,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "links": { @@ -83099,7 +82466,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_list" ] }, "id": { @@ -83110,7 +82477,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "links": { @@ -83133,7 +82500,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_list" + "coupons" ] }, "id": { @@ -86597,7 +85964,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "data": { @@ -86607,7 +85974,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_lists" ] }, "id": { @@ -86619,7 +85986,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "data": { @@ -86629,7 +85996,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_lists" + "coupons" ] }, "id": { @@ -86972,7 +86339,7 @@ } } }, - "coupons": { + "sku_list": { "type": "object", "properties": { "links": { @@ -86995,7 +86362,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "coupons" + "sku_list" ] }, "id": { @@ -87006,7 +86373,7 @@ } } }, - "sku_list": { + "coupons": { "type": "object", "properties": { "links": { @@ -87029,7 +86396,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "sku_list" + "coupons" ] }, "id": { @@ -102266,9 +101633,9 @@ "type": "object", "properties": { "number": { - "type": "integer", + "type": "string", "description": "Unique identifier for the stock transfer (numeric).", - "example": 1234, + "example": "1234", "nullable": true }, "sku_code": { @@ -103642,11 +103009,17 @@ "attributes": { "type": "object", "properties": { + "stripe_id": { + "type": "string", + "description": "The Stripe payment intent ID. Required to identify a payment session on stripe.", + "example": "pi_1234XXX", + "nullable": true + }, "client_secret": { "type": "string", "description": "The Stripe payment intent client secret. Required to create a charge through Stripe.js.", "example": "pi_1234XXX_secret_5678YYY", - "nullable": false + "nullable": true }, "publishable_key": { "type": "string", @@ -103848,6 +103221,16 @@ "attributes": { "type": "object", "properties": { + "stripe_id": { + "type": "string", + "description": "The Stripe payment intent ID. Required to identify a payment session on stripe.", + "example": "pi_1234XXX" + }, + "client_secret": { + "type": "string", + "description": "The Stripe payment intent client secret. Required to create a charge through Stripe.js.", + "example": "pi_1234XXX_secret_5678YYY" + }, "options": { "type": "object", "description": "Stripe payment options: 'customer', 'payment_method', 'return_url', etc. Check Stripe payment intent API for more details.", diff --git a/package.json b/package.json index e37e5488..ae817d3e 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", "@types/node": "^20.11.17", - "dotenv": "^16.4.1", + "dotenv": "^16.4.4", "eslint": "^8.56.0", "inflector-js": "^1.0.1", "jest": "^29.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 656dc0b6..75e247a0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -44,8 +44,8 @@ devDependencies: specifier: ^20.11.17 version: 20.11.17 dotenv: - specifier: ^16.4.1 - version: 16.4.1 + specifier: ^16.4.4 + version: 16.4.4 eslint: specifier: ^8.56.0 version: 8.56.0 @@ -1235,7 +1235,7 @@ packages: babel-plugin-polyfill-corejs2: 0.4.8(@babel/core@7.23.9) babel-plugin-polyfill-corejs3: 0.9.0(@babel/core@7.23.9) babel-plugin-polyfill-regenerator: 0.5.5(@babel/core@7.23.9) - core-js-compat: 3.35.1 + core-js-compat: 3.36.0 semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -2119,9 +2119,9 @@ packages: aggregate-error: 5.0.0 debug: 4.3.4 dir-glob: 3.0.1 - globby: 14.0.0 - http-proxy-agent: 7.0.0 - https-proxy-agent: 7.0.2 + globby: 14.0.1 + http-proxy-agent: 7.0.1 + https-proxy-agent: 7.0.3 issue-parser: 6.0.0 lodash-es: 4.17.21 mime: 4.0.1 @@ -2184,8 +2184,8 @@ packages: engines: {node: '>=10'} dev: true - /@sindresorhus/merge-streams@1.0.0: - resolution: {integrity: sha512-rUV5WyJrJLoloD4NDN1V1+LDMDWOa4OTsT4yYJwQNpTU6FWxkxHpL7eu4w+DmiH8x/EAM1otkPE1+LaspIbplw==} + /@sindresorhus/merge-streams@2.2.0: + resolution: {integrity: sha512-UTce8mUwUW0RikMb/eseJ7ys0BRkZVFB86orHzrfW12ZmFtym5zua8joZ4L7okH2dDFHkcFjqnZ5GocWBXOFtA==} engines: {node: '>=18'} dev: true @@ -2307,8 +2307,8 @@ packages: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} dev: true - /@types/semver@7.5.6: - resolution: {integrity: sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==} + /@types/semver@7.5.7: + resolution: {integrity: sha512-/wdoPq1QqkSj9/QOeKkFquEuPzQbHTWAMPH/PaUMB+JuR31lXhlWXRZ52IpfDYVlDOUBvX09uBrPwxGT1hjNBg==} dev: true /@types/stack-utils@2.0.3: @@ -2438,7 +2438,7 @@ packages: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) '@types/json-schema': 7.0.15 - '@types/semver': 7.5.6 + '@types/semver': 7.5.7 '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) @@ -2599,7 +2599,7 @@ packages: resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 is-array-buffer: 3.0.4 dev: true @@ -2611,9 +2611,9 @@ packages: resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 get-intrinsic: 1.2.4 is-string: 1.0.7 dev: true @@ -2627,9 +2627,9 @@ packages: resolution: {integrity: sha512-VizNcj/RGJiUyQBgzwxzE5oHdeuXY5hSbbmKMlphj1cy1Vl7Pn2asCGbSrru6hSQjmCzqTBPVWAF/whmEOVHbw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 es-array-method-boxes-properly: 1.0.0 is-string: 1.0.7 dev: true @@ -2638,9 +2638,9 @@ packages: resolution: {integrity: sha512-hzvSHUshSpCflDR1QMUBLHGHP1VIEBegT4pix9H/Z92Xw3ySoy6c2qh7lJWTJnRJ8JCZ9bJNCgTyYaJGcJu6xQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 es-errors: 1.3.0 es-shim-unscopables: 1.0.2 dev: true @@ -2649,9 +2649,9 @@ packages: resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 es-shim-unscopables: 1.0.2 dev: true @@ -2659,9 +2659,9 @@ packages: resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 es-shim-unscopables: 1.0.2 dev: true @@ -2670,9 +2670,9 @@ packages: engines: {node: '>= 0.4'} dependencies: array-buffer-byte-length: 1.0.1 - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 es-errors: 1.3.0 get-intrinsic: 1.2.4 is-array-buffer: 3.0.4 @@ -2759,7 +2759,7 @@ packages: dependencies: '@babel/core': 7.23.9 '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.23.9) - core-js-compat: 3.35.1 + core-js-compat: 3.36.0 transitivePeerDependencies: - supports-color dev: true @@ -2843,8 +2843,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001585 - electron-to-chromium: 1.4.664 + caniuse-lite: 1.0.30001587 + electron-to-chromium: 1.4.668 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.3) dev: true @@ -2870,10 +2870,11 @@ packages: semver: 7.6.0 dev: true - /call-bind@1.0.6: - resolution: {integrity: sha512-Mj50FLHtlsoVfRfnHaZvyrooHcrlceNZdL/QBvJJVd9Ta55qCQK0gs4ss2oZDeV9zFCs6ewzYgVE5yfVmfFpVg==} + /call-bind@1.0.7: + resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} engines: {node: '>= 0.4'} dependencies: + es-define-property: 1.0.0 es-errors: 1.3.0 function-bind: 1.1.2 get-intrinsic: 1.2.4 @@ -2895,8 +2896,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite@1.0.30001585: - resolution: {integrity: sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q==} + /caniuse-lite@1.0.30001587: + resolution: {integrity: sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==} dev: true /chalk@2.4.2: @@ -3086,8 +3087,8 @@ packages: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} dev: true - /core-js-compat@3.35.1: - resolution: {integrity: sha512-sftHa5qUJY3rs9Zht1WEnmkvXputCyDBczPnr7QDgL8n3qrF3CMXY4VPSYtOLLiOUJcah2WNXREd48iOl6mQIw==} + /core-js-compat@3.36.0: + resolution: {integrity: sha512-iV9Pd/PsgjNWBXeq8XRtWVSgz2tKAfhfvBs7qxYty+RlRd+OCksaWmOnc4JKrTc1cToXL1N0s3l/vwlxPtdElw==} dependencies: browserslist: 4.22.3 dev: true @@ -3197,22 +3198,21 @@ packages: engines: {node: '>=0.10.0'} dev: true - /define-data-property@1.1.2: - resolution: {integrity: sha512-SRtsSqsDbgpJBbW3pABMCOt6rQyeM8s8RiyeSN8jYG8sYmt/kGJejbydttUsnDs1tadr19tvhT4ShwMyoqAm4g==} + /define-data-property@1.1.4: + resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} dependencies: + es-define-property: 1.0.0 es-errors: 1.3.0 - get-intrinsic: 1.2.4 gopd: 1.0.1 - has-property-descriptors: 1.0.1 dev: true /define-properties@1.2.1: resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.2 - has-property-descriptors: 1.0.1 + define-data-property: 1.1.4 + has-property-descriptors: 1.0.2 object-keys: 1.1.1 dev: true @@ -3268,8 +3268,8 @@ packages: is-obj: 2.0.0 dev: true - /dotenv@16.4.1: - resolution: {integrity: sha512-CjA3y+Dr3FyFDOAMnxZEGtnW9KBR2M0JvvUtXNW+dYJL5ROWxP9DUHCwgFqpMk0OXCc0ljhaNTr2w/kutYIcHQ==} + /dotenv@16.4.4: + resolution: {integrity: sha512-XvPXc8XAQThSjAbY6cQ/9PcBXmFoWuw1sQ3b8HqUCR6ziGXjkTi//kB9SWa2UwqlgdAIuRqAa/9hVljzPehbYg==} engines: {node: '>=12'} dev: true @@ -3287,8 +3287,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.664: - resolution: {integrity: sha512-k9VKKSkOSNPvSckZgDDl/IQx45E1quMjX8QfLzUsAs/zve8AyFDK+ByRynSP/OfEfryiKHpQeMf00z0leLCc3A==} + /electron-to-chromium@1.4.668: + resolution: {integrity: sha512-ZOBocMYCehr9W31+GpMclR+KBaDZOoAEabLdhpZ8oU1JFDwIaFY0UDbpXVEUFc0BIP2O2Qn3rkfCjQmMR4T/bQ==} dev: true /emittery@0.13.1: @@ -3327,14 +3327,16 @@ packages: is-arrayish: 0.2.1 dev: true - /es-abstract@1.22.3: - resolution: {integrity: sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==} + /es-abstract@1.22.4: + resolution: {integrity: sha512-vZYJlk2u6qHYxBOTjAeg7qUxHdNfih64Uu2J8QqWgXZ2cri0ZpJAkzDUK/q593+mvKwlxyaxr6F1Q+3LKoQRgg==} engines: {node: '>= 0.4'} dependencies: array-buffer-byte-length: 1.0.1 arraybuffer.prototype.slice: 1.0.3 available-typed-arrays: 1.0.6 - call-bind: 1.0.6 + call-bind: 1.0.7 + es-define-property: 1.0.0 + es-errors: 1.3.0 es-set-tostringtag: 2.0.2 es-to-primitive: 1.2.1 function.prototype.name: 1.1.6 @@ -3342,10 +3344,10 @@ packages: get-symbol-description: 1.0.2 globalthis: 1.0.3 gopd: 1.0.1 - has-property-descriptors: 1.0.1 + has-property-descriptors: 1.0.2 has-proto: 1.0.1 has-symbols: 1.0.3 - hasown: 2.0.0 + hasown: 2.0.1 internal-slot: 1.0.7 is-array-buffer: 3.0.4 is-callable: 1.2.7 @@ -3358,7 +3360,7 @@ packages: object-inspect: 1.13.1 object-keys: 1.1.1 object.assign: 4.1.5 - regexp.prototype.flags: 1.5.1 + regexp.prototype.flags: 1.5.2 safe-array-concat: 1.1.0 safe-regex-test: 1.0.3 string.prototype.trim: 1.2.8 @@ -3376,6 +3378,13 @@ packages: resolution: {integrity: sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==} dev: true + /es-define-property@1.0.0: + resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.4 + dev: true + /es-errors@1.3.0: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} @@ -3387,13 +3396,13 @@ packages: dependencies: get-intrinsic: 1.2.4 has-tostringtag: 1.0.2 - hasown: 2.0.0 + hasown: 2.0.1 dev: true /es-shim-unscopables@1.0.2: resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} dependencies: - hasown: 2.0.0 + hasown: 2.0.1 dev: true /es-to-primitive@1.2.1: @@ -3586,7 +3595,7 @@ packages: eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) - hasown: 2.0.0 + hasown: 2.0.1 is-core-module: 2.13.1 is-glob: 4.0.3 minimatch: 3.1.2 @@ -3980,9 +3989,9 @@ packages: resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 functions-have-names: 1.2.3 dev: true @@ -4008,7 +4017,7 @@ packages: function-bind: 1.1.2 has-proto: 1.0.1 has-symbols: 1.0.3 - hasown: 2.0.0 + hasown: 2.0.1 dev: true /get-package-type@0.1.0: @@ -4035,7 +4044,7 @@ packages: resolution: {integrity: sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 es-errors: 1.3.0 get-intrinsic: 1.2.4 dev: true @@ -4125,11 +4134,11 @@ packages: slash: 3.0.0 dev: true - /globby@14.0.0: - resolution: {integrity: sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ==} + /globby@14.0.1: + resolution: {integrity: sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==} engines: {node: '>=18'} dependencies: - '@sindresorhus/merge-streams': 1.0.0 + '@sindresorhus/merge-streams': 2.2.0 fast-glob: 3.3.2 ignore: 5.3.1 path-type: 5.0.0 @@ -4182,10 +4191,10 @@ packages: engines: {node: '>=8'} dev: true - /has-property-descriptors@1.0.1: - resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==} + /has-property-descriptors@1.0.2: + resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} dependencies: - get-intrinsic: 1.2.4 + es-define-property: 1.0.0 dev: true /has-proto@1.0.1: @@ -4205,8 +4214,8 @@ packages: has-symbols: 1.0.3 dev: true - /hasown@2.0.0: - resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} + /hasown@2.0.1: + resolution: {integrity: sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==} engines: {node: '>= 0.4'} dependencies: function-bind: 1.1.2 @@ -4232,8 +4241,8 @@ packages: resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} dev: true - /http-proxy-agent@7.0.0: - resolution: {integrity: sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==} + /http-proxy-agent@7.0.1: + resolution: {integrity: sha512-My1KCEPs6A0hb4qCVzYp8iEvA8j8YqcvXLZZH8C9OFuTYpYjHE7N2dtG3mRl1HMD4+VGXpF3XcDVcxGBT7yDZQ==} engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 @@ -4242,8 +4251,8 @@ packages: - supports-color dev: true - /https-proxy-agent@7.0.2: - resolution: {integrity: sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==} + /https-proxy-agent@7.0.3: + resolution: {integrity: sha512-kCnwztfX0KZJSLOBrcL0emLeFako55NWMovvyPP2AjsghNk9RB1yjSI+jVumPHYZsNXegNoqupSW9IY3afSH8w==} engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 @@ -4342,7 +4351,7 @@ packages: engines: {node: '>= 0.4'} dependencies: es-errors: 1.3.0 - hasown: 2.0.0 + hasown: 2.0.1 side-channel: 1.0.5 dev: true @@ -4358,7 +4367,7 @@ packages: resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 get-intrinsic: 1.2.4 dev: true @@ -4376,7 +4385,7 @@ packages: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 has-tostringtag: 1.0.2 dev: true @@ -4395,7 +4404,7 @@ packages: /is-core-module@2.13.1: resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} dependencies: - hasown: 2.0.0 + hasown: 2.0.1 dev: true /is-date-object@1.0.5: @@ -4458,14 +4467,14 @@ packages: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 has-tostringtag: 1.0.2 dev: true /is-shared-array-buffer@1.0.2: resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 dev: true /is-stream@2.0.1: @@ -4514,7 +4523,7 @@ packages: /is-weakref@1.0.2: resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 dev: true /isarray@1.0.0: @@ -5526,7 +5535,7 @@ packages: resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 has-symbols: 1.0.3 object-keys: 1.1.1 @@ -5536,18 +5545,18 @@ packages: resolution: {integrity: sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 dev: true /object.groupby@1.0.2: resolution: {integrity: sha512-bzBq58S+x+uo0VjurFT0UktpKHOZmv4/xePiOA1nbB9pMqpGK7rUPNgf+1YC+7mE+0HzhTMqNUuCqvKhj6FnBw==} dependencies: array.prototype.filter: 1.0.3 - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 es-errors: 1.3.0 dev: true @@ -5555,9 +5564,9 @@ packages: resolution: {integrity: sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 dev: true /once@1.4.0: @@ -5942,12 +5951,13 @@ packages: '@babel/runtime': 7.23.9 dev: true - /regexp.prototype.flags@1.5.1: - resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} + /regexp.prototype.flags@1.5.2: + resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 + es-errors: 1.3.0 set-function-name: 2.0.1 dev: true @@ -6039,7 +6049,7 @@ packages: resolution: {integrity: sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==} engines: {node: '>=0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 get-intrinsic: 1.2.4 has-symbols: 1.0.3 isarray: 2.0.5 @@ -6053,7 +6063,7 @@ packages: resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 es-errors: 1.3.0 is-regex: 1.1.4 dev: true @@ -6126,21 +6136,21 @@ packages: resolution: {integrity: sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.2 + define-data-property: 1.1.4 es-errors: 1.3.0 function-bind: 1.1.2 get-intrinsic: 1.2.4 gopd: 1.0.1 - has-property-descriptors: 1.0.1 + has-property-descriptors: 1.0.2 dev: true /set-function-name@2.0.1: resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} engines: {node: '>= 0.4'} dependencies: - define-data-property: 1.1.2 + define-data-property: 1.1.4 functions-have-names: 1.2.3 - has-property-descriptors: 1.0.1 + has-property-descriptors: 1.0.2 dev: true /shebang-command@2.0.0: @@ -6159,7 +6169,7 @@ packages: resolution: {integrity: sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 es-errors: 1.3.0 get-intrinsic: 1.2.4 object-inspect: 1.13.1 @@ -6224,7 +6234,7 @@ packages: resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} dependencies: spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.16 + spdx-license-ids: 3.0.17 dev: true /spdx-exceptions@2.4.0: @@ -6235,11 +6245,11 @@ packages: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} dependencies: spdx-exceptions: 2.4.0 - spdx-license-ids: 3.0.16 + spdx-license-ids: 3.0.17 dev: true - /spdx-license-ids@3.0.16: - resolution: {integrity: sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==} + /spdx-license-ids@3.0.17: + resolution: {integrity: sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==} dev: true /split2@1.0.0: @@ -6301,25 +6311,25 @@ packages: resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 dev: true /string.prototype.trimend@1.0.7: resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 dev: true /string.prototype.trimstart@1.0.7: resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 + es-abstract: 1.22.4 dev: true /string_decoder@1.1.1: @@ -6591,7 +6601,7 @@ packages: resolution: {integrity: sha512-RSqu1UEuSlrBhHTWC8O9FnPjOduNs4M7rJ4pRKoEjtx1zUNOPN2sSXHLDX+Y2WPbHIxbvg4JFo2DNAEfPIKWoQ==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 es-errors: 1.3.0 is-typed-array: 1.1.13 dev: true @@ -6600,7 +6610,7 @@ packages: resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 for-each: 0.3.3 has-proto: 1.0.1 is-typed-array: 1.1.13 @@ -6611,7 +6621,7 @@ packages: engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.6 - call-bind: 1.0.6 + call-bind: 1.0.7 for-each: 0.3.3 has-proto: 1.0.1 is-typed-array: 1.1.13 @@ -6620,7 +6630,7 @@ packages: /typed-array-length@1.0.4: resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 for-each: 0.3.3 is-typed-array: 1.1.13 dev: true @@ -6642,7 +6652,7 @@ packages: /unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: - call-bind: 1.0.6 + call-bind: 1.0.7 has-bigints: 1.0.2 has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 @@ -6768,7 +6778,7 @@ packages: engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.6 - call-bind: 1.0.6 + call-bind: 1.0.7 for-each: 0.3.3 gopd: 1.0.1 has-tostringtag: 1.0.2 diff --git a/specs/resources/buy_x_pay_y_promotions.spec.ts b/specs/resources/buy_x_pay_y_promotions.spec.ts index 54e88e8d..58226ea9 100644 --- a/specs/resources/buy_x_pay_y_promotions.spec.ts +++ b/specs/resources/buy_x_pay_y_promotions.spec.ts @@ -31,12 +31,10 @@ describe('BuyXPayYPromotions resource', () => { x: randomValue('integer', 'x'), y: randomValue('integer', 'y'), market: cl.markets.relationship(TestData.id), - promotion_rules: [ cl.promotion_rules.relationship(TestData.id) ], order_amount_promotion_rule: cl.order_amount_promotion_rules.relationship(TestData.id), sku_list_promotion_rule: cl.sku_list_promotion_rules.relationship(TestData.id), coupon_codes_promotion_rule: cl.coupon_codes_promotion_rules.relationship(TestData.id), custom_promotion_rule: cl.custom_promotion_rules.relationship(TestData.id), - coupons: [ cl.coupons.relationship(TestData.id) ], sku_list: cl.sku_lists.relationship(TestData.id), tags: [ cl.tags.relationship(TestData.id) ], } @@ -311,46 +309,46 @@ describe('BuyXPayYPromotions resource', () => { /* relationship.custom_promotion_rule stop */ - /* relationship.coupons start */ - it(resourceType + '.coupons', async () => { + /* relationship.sku_list start */ + it(resourceType + '.sku_list', async () => { const id = TestData.id - const params = { fields: { coupons: CommonData.paramsFields } } + const params = { fields: { sku_lists: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'coupons') + checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].coupons(id, params, CommonData.options) + await cl[resourceType].sku_list(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.coupons stop */ + /* relationship.sku_list stop */ - /* relationship.sku_list start */ - it(resourceType + '.sku_list', async () => { + /* relationship.coupons start */ + it(resourceType + '.coupons', async () => { const id = TestData.id - const params = { fields: { sku_lists: CommonData.paramsFields } } + const params = { fields: { coupons: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') + checkCommon(config, resourceType, id, currentAccessToken, 'coupons') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].sku_list(id, params, CommonData.options) + await cl[resourceType].coupons(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.sku_list stop */ + /* relationship.coupons stop */ /* relationship.attachments start */ diff --git a/specs/resources/external_promotions.spec.ts b/specs/resources/external_promotions.spec.ts index 1ebecc47..f1d72578 100644 --- a/specs/resources/external_promotions.spec.ts +++ b/specs/resources/external_promotions.spec.ts @@ -30,12 +30,10 @@ describe('ExternalPromotions resource', () => { expires_at: randomValue('string', 'expires_at'), promotion_url: randomValue('string', 'promotion_url'), market: cl.markets.relationship(TestData.id), - promotion_rules: [ cl.promotion_rules.relationship(TestData.id) ], order_amount_promotion_rule: cl.order_amount_promotion_rules.relationship(TestData.id), sku_list_promotion_rule: cl.sku_list_promotion_rules.relationship(TestData.id), coupon_codes_promotion_rule: cl.coupon_codes_promotion_rules.relationship(TestData.id), custom_promotion_rule: cl.custom_promotion_rules.relationship(TestData.id), - coupons: [ cl.coupons.relationship(TestData.id) ], sku_list: cl.sku_lists.relationship(TestData.id), tags: [ cl.tags.relationship(TestData.id) ], } @@ -310,46 +308,46 @@ describe('ExternalPromotions resource', () => { /* relationship.custom_promotion_rule stop */ - /* relationship.coupons start */ - it(resourceType + '.coupons', async () => { + /* relationship.sku_list start */ + it(resourceType + '.sku_list', async () => { const id = TestData.id - const params = { fields: { coupons: CommonData.paramsFields } } + const params = { fields: { sku_lists: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'coupons') + checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].coupons(id, params, CommonData.options) + await cl[resourceType].sku_list(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.coupons stop */ + /* relationship.sku_list stop */ - /* relationship.sku_list start */ - it(resourceType + '.sku_list', async () => { + /* relationship.coupons start */ + it(resourceType + '.coupons', async () => { const id = TestData.id - const params = { fields: { sku_lists: CommonData.paramsFields } } + const params = { fields: { coupons: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') + checkCommon(config, resourceType, id, currentAccessToken, 'coupons') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].sku_list(id, params, CommonData.options) + await cl[resourceType].coupons(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.sku_list stop */ + /* relationship.coupons stop */ /* relationship.attachments start */ diff --git a/specs/resources/fixed_amount_promotions.spec.ts b/specs/resources/fixed_amount_promotions.spec.ts index 667eaa90..0a49e9e3 100644 --- a/specs/resources/fixed_amount_promotions.spec.ts +++ b/specs/resources/fixed_amount_promotions.spec.ts @@ -30,12 +30,10 @@ describe('FixedAmountPromotions resource', () => { expires_at: randomValue('string', 'expires_at'), fixed_amount_cents: randomValue('integer', 'fixed_amount_cents'), market: cl.markets.relationship(TestData.id), - promotion_rules: [ cl.promotion_rules.relationship(TestData.id) ], order_amount_promotion_rule: cl.order_amount_promotion_rules.relationship(TestData.id), sku_list_promotion_rule: cl.sku_list_promotion_rules.relationship(TestData.id), coupon_codes_promotion_rule: cl.coupon_codes_promotion_rules.relationship(TestData.id), custom_promotion_rule: cl.custom_promotion_rules.relationship(TestData.id), - coupons: [ cl.coupons.relationship(TestData.id) ], sku_list: cl.sku_lists.relationship(TestData.id), tags: [ cl.tags.relationship(TestData.id) ], } @@ -310,46 +308,46 @@ describe('FixedAmountPromotions resource', () => { /* relationship.custom_promotion_rule stop */ - /* relationship.coupons start */ - it(resourceType + '.coupons', async () => { + /* relationship.sku_list start */ + it(resourceType + '.sku_list', async () => { const id = TestData.id - const params = { fields: { coupons: CommonData.paramsFields } } + const params = { fields: { sku_lists: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'coupons') + checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].coupons(id, params, CommonData.options) + await cl[resourceType].sku_list(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.coupons stop */ + /* relationship.sku_list stop */ - /* relationship.sku_list start */ - it(resourceType + '.sku_list', async () => { + /* relationship.coupons start */ + it(resourceType + '.coupons', async () => { const id = TestData.id - const params = { fields: { sku_lists: CommonData.paramsFields } } + const params = { fields: { coupons: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') + checkCommon(config, resourceType, id, currentAccessToken, 'coupons') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].sku_list(id, params, CommonData.options) + await cl[resourceType].coupons(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.sku_list stop */ + /* relationship.coupons stop */ /* relationship.attachments start */ diff --git a/specs/resources/fixed_price_promotions.spec.ts b/specs/resources/fixed_price_promotions.spec.ts index 50bcad6b..c5ebf4f3 100644 --- a/specs/resources/fixed_price_promotions.spec.ts +++ b/specs/resources/fixed_price_promotions.spec.ts @@ -30,12 +30,10 @@ describe('FixedPricePromotions resource', () => { expires_at: randomValue('string', 'expires_at'), fixed_amount_cents: randomValue('integer', 'fixed_amount_cents'), market: cl.markets.relationship(TestData.id), - promotion_rules: [ cl.promotion_rules.relationship(TestData.id) ], order_amount_promotion_rule: cl.order_amount_promotion_rules.relationship(TestData.id), sku_list_promotion_rule: cl.sku_list_promotion_rules.relationship(TestData.id), coupon_codes_promotion_rule: cl.coupon_codes_promotion_rules.relationship(TestData.id), custom_promotion_rule: cl.custom_promotion_rules.relationship(TestData.id), - coupons: [ cl.coupons.relationship(TestData.id) ], sku_list: cl.sku_lists.relationship(TestData.id), tags: [ cl.tags.relationship(TestData.id) ], } @@ -310,46 +308,46 @@ describe('FixedPricePromotions resource', () => { /* relationship.custom_promotion_rule stop */ - /* relationship.coupons start */ - it(resourceType + '.coupons', async () => { + /* relationship.sku_list start */ + it(resourceType + '.sku_list', async () => { const id = TestData.id - const params = { fields: { coupons: CommonData.paramsFields } } + const params = { fields: { sku_lists: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'coupons') + checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].coupons(id, params, CommonData.options) + await cl[resourceType].sku_list(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.coupons stop */ + /* relationship.sku_list stop */ - /* relationship.sku_list start */ - it(resourceType + '.sku_list', async () => { + /* relationship.coupons start */ + it(resourceType + '.coupons', async () => { const id = TestData.id - const params = { fields: { sku_lists: CommonData.paramsFields } } + const params = { fields: { coupons: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') + checkCommon(config, resourceType, id, currentAccessToken, 'coupons') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].sku_list(id, params, CommonData.options) + await cl[resourceType].coupons(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.sku_list stop */ + /* relationship.coupons stop */ /* relationship.attachments start */ diff --git a/specs/resources/free_gift_promotions.spec.ts b/specs/resources/free_gift_promotions.spec.ts index f1d10c24..0d31f0a6 100644 --- a/specs/resources/free_gift_promotions.spec.ts +++ b/specs/resources/free_gift_promotions.spec.ts @@ -29,12 +29,10 @@ describe('FreeGiftPromotions resource', () => { starts_at: randomValue('string', 'starts_at'), expires_at: randomValue('string', 'expires_at'), market: cl.markets.relationship(TestData.id), - promotion_rules: [ cl.promotion_rules.relationship(TestData.id) ], order_amount_promotion_rule: cl.order_amount_promotion_rules.relationship(TestData.id), sku_list_promotion_rule: cl.sku_list_promotion_rules.relationship(TestData.id), coupon_codes_promotion_rule: cl.coupon_codes_promotion_rules.relationship(TestData.id), custom_promotion_rule: cl.custom_promotion_rules.relationship(TestData.id), - coupons: [ cl.coupons.relationship(TestData.id) ], sku_list: cl.sku_lists.relationship(TestData.id), tags: [ cl.tags.relationship(TestData.id) ], } @@ -309,46 +307,46 @@ describe('FreeGiftPromotions resource', () => { /* relationship.custom_promotion_rule stop */ - /* relationship.coupons start */ - it(resourceType + '.coupons', async () => { + /* relationship.sku_list start */ + it(resourceType + '.sku_list', async () => { const id = TestData.id - const params = { fields: { coupons: CommonData.paramsFields } } + const params = { fields: { sku_lists: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'coupons') + checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].coupons(id, params, CommonData.options) + await cl[resourceType].sku_list(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.coupons stop */ + /* relationship.sku_list stop */ - /* relationship.sku_list start */ - it(resourceType + '.sku_list', async () => { + /* relationship.coupons start */ + it(resourceType + '.coupons', async () => { const id = TestData.id - const params = { fields: { sku_lists: CommonData.paramsFields } } + const params = { fields: { coupons: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') + checkCommon(config, resourceType, id, currentAccessToken, 'coupons') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].sku_list(id, params, CommonData.options) + await cl[resourceType].coupons(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.sku_list stop */ + /* relationship.coupons stop */ /* relationship.attachments start */ diff --git a/specs/resources/free_shipping_promotions.spec.ts b/specs/resources/free_shipping_promotions.spec.ts index f231c38e..e89523e6 100644 --- a/specs/resources/free_shipping_promotions.spec.ts +++ b/specs/resources/free_shipping_promotions.spec.ts @@ -29,12 +29,11 @@ describe('FreeShippingPromotions resource', () => { starts_at: randomValue('string', 'starts_at'), expires_at: randomValue('string', 'expires_at'), market: cl.markets.relationship(TestData.id), - promotion_rules: [ cl.promotion_rules.relationship(TestData.id) ], order_amount_promotion_rule: cl.order_amount_promotion_rules.relationship(TestData.id), sku_list_promotion_rule: cl.sku_list_promotion_rules.relationship(TestData.id), coupon_codes_promotion_rule: cl.coupon_codes_promotion_rules.relationship(TestData.id), custom_promotion_rule: cl.custom_promotion_rules.relationship(TestData.id), - coupons: [ cl.coupons.relationship(TestData.id) ], + sku_list: cl.sku_lists.relationship(TestData.id), tags: [ cl.tags.relationship(TestData.id) ], } @@ -308,46 +307,46 @@ describe('FreeShippingPromotions resource', () => { /* relationship.custom_promotion_rule stop */ - /* relationship.coupons start */ - it(resourceType + '.coupons', async () => { + /* relationship.sku_list start */ + it(resourceType + '.sku_list', async () => { const id = TestData.id - const params = { fields: { coupons: CommonData.paramsFields } } + const params = { fields: { sku_lists: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'coupons') + checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].coupons(id, params, CommonData.options) + await cl[resourceType].sku_list(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.coupons stop */ + /* relationship.sku_list stop */ - /* relationship.sku_list start */ - it(resourceType + '.sku_list', async () => { + /* relationship.coupons start */ + it(resourceType + '.coupons', async () => { const id = TestData.id - const params = { fields: { sku_lists: CommonData.paramsFields } } + const params = { fields: { coupons: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') + checkCommon(config, resourceType, id, currentAccessToken, 'coupons') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].sku_list(id, params, CommonData.options) + await cl[resourceType].coupons(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.sku_list stop */ + /* relationship.coupons stop */ /* relationship.attachments start */ diff --git a/specs/resources/percentage_discount_promotions.spec.ts b/specs/resources/percentage_discount_promotions.spec.ts index 9909b3ad..40d13afa 100644 --- a/specs/resources/percentage_discount_promotions.spec.ts +++ b/specs/resources/percentage_discount_promotions.spec.ts @@ -30,12 +30,10 @@ describe('PercentageDiscountPromotions resource', () => { expires_at: randomValue('string', 'expires_at'), percentage: randomValue('integer', 'percentage'), market: cl.markets.relationship(TestData.id), - promotion_rules: [ cl.promotion_rules.relationship(TestData.id) ], order_amount_promotion_rule: cl.order_amount_promotion_rules.relationship(TestData.id), sku_list_promotion_rule: cl.sku_list_promotion_rules.relationship(TestData.id), coupon_codes_promotion_rule: cl.coupon_codes_promotion_rules.relationship(TestData.id), custom_promotion_rule: cl.custom_promotion_rules.relationship(TestData.id), - coupons: [ cl.coupons.relationship(TestData.id) ], sku_list: cl.sku_lists.relationship(TestData.id), tags: [ cl.tags.relationship(TestData.id) ], } @@ -310,46 +308,46 @@ describe('PercentageDiscountPromotions resource', () => { /* relationship.custom_promotion_rule stop */ - /* relationship.coupons start */ - it(resourceType + '.coupons', async () => { + /* relationship.sku_list start */ + it(resourceType + '.sku_list', async () => { const id = TestData.id - const params = { fields: { coupons: CommonData.paramsFields } } + const params = { fields: { sku_lists: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'coupons') + checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].coupons(id, params, CommonData.options) + await cl[resourceType].sku_list(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.coupons stop */ + /* relationship.sku_list stop */ - /* relationship.sku_list start */ - it(resourceType + '.sku_list', async () => { + /* relationship.coupons start */ + it(resourceType + '.coupons', async () => { const id = TestData.id - const params = { fields: { sku_lists: CommonData.paramsFields } } + const params = { fields: { coupons: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') + checkCommon(config, resourceType, id, currentAccessToken, 'coupons') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].sku_list(id, params, CommonData.options) + await cl[resourceType].coupons(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.sku_list stop */ + /* relationship.coupons stop */ /* relationship.attachments start */ diff --git a/specs/resources/promotions.spec.ts b/specs/resources/promotions.spec.ts index eeffd168..1a7d7867 100644 --- a/specs/resources/promotions.spec.ts +++ b/specs/resources/promotions.spec.ts @@ -230,46 +230,46 @@ describe('Promotions resource', () => { /* relationship.custom_promotion_rule stop */ - /* relationship.coupons start */ - it(resourceType + '.coupons', async () => { + /* relationship.sku_list start */ + it(resourceType + '.sku_list', async () => { const id = TestData.id - const params = { fields: { coupons: CommonData.paramsFields } } + const params = { fields: { sku_lists: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'coupons') + checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].coupons(id, params, CommonData.options) + await cl[resourceType].sku_list(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.coupons stop */ + /* relationship.sku_list stop */ - /* relationship.sku_list start */ - it(resourceType + '.sku_list', async () => { + /* relationship.coupons start */ + it(resourceType + '.coupons', async () => { const id = TestData.id - const params = { fields: { sku_lists: CommonData.paramsFields } } + const params = { fields: { coupons: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'sku_list') + checkCommon(config, resourceType, id, currentAccessToken, 'coupons') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].sku_list(id, params, CommonData.options) + await cl[resourceType].coupons(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.sku_list stop */ + /* relationship.coupons stop */ /* relationship.attachments start */ diff --git a/src/commercelayer.ts b/src/commercelayer.ts index d6e6d8b0..4456f06a 100644 --- a/src/commercelayer.ts +++ b/src/commercelayer.ts @@ -10,7 +10,7 @@ const debug = Debug('commercelayer') // Autogenerated schema version number, do not remove this line -const OPEN_API_SCHEMA_VERSION = '4.25.0' +const OPEN_API_SCHEMA_VERSION = '4.26.0' export { OPEN_API_SCHEMA_VERSION } diff --git a/src/resources/buy_x_pay_y_promotions.ts b/src/resources/buy_x_pay_y_promotions.ts index ae24f94c..c397be2b 100644 --- a/src/resources/buy_x_pay_y_promotions.ts +++ b/src/resources/buy_x_pay_y_promotions.ts @@ -3,13 +3,13 @@ import type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesCon import type { QueryParamsRetrieve, QueryParamsList } from '../query' import type { Market, MarketType } from './markets' -import type { PromotionRule, PromotionRuleType } from './promotion_rules' +import type { PromotionRule } from './promotion_rules' import type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules' import type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules' import type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules' import type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules' -import type { Coupon, CouponType } from './coupons' import type { SkuList, SkuListType } from './sku_lists' +import type { Coupon } from './coupons' import type { Attachment } from './attachments' import type { Event } from './events' import type { Tag, TagType } from './tags' @@ -20,12 +20,10 @@ import type { Sku } from './skus' type BuyXPayYPromotionType = 'buy_x_pay_y_promotions' type BuyXPayYPromotionRel = ResourceRel & { type: BuyXPayYPromotionType } type MarketRel = ResourceRel & { type: MarketType } -type PromotionRuleRel = ResourceRel & { type: PromotionRuleType } type OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType } type SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType } type CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType } type CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType } -type CouponRel = ResourceRel & { type: CouponType } type SkuListRel = ResourceRel & { type: SkuListType } type TagRel = ResourceRel & { type: TagType } @@ -54,8 +52,8 @@ interface BuyXPayYPromotion extends Resource { sku_list_promotion_rule?: SkuListPromotionRule | null coupon_codes_promotion_rule?: CouponCodesPromotionRule | null custom_promotion_rule?: CustomPromotionRule | null - coupons?: Coupon[] | null sku_list?: SkuList | null + coupons?: Coupon[] | null attachments?: Attachment[] | null events?: Event[] | null tags?: Tag[] | null @@ -81,12 +79,10 @@ interface BuyXPayYPromotionCreate extends ResourceCreate { cheapest_free?: boolean | null market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list: SkuListRel tags?: TagRel[] | null @@ -109,12 +105,10 @@ interface BuyXPayYPromotionUpdate extends ResourceUpdate { cheapest_free?: boolean | null market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list?: SkuListRel | null tags?: TagRel[] | null @@ -162,14 +156,14 @@ class BuyXPayYPromotions extends ApiResource { return this.resources.fetch({ type: 'custom_promotion_rules' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule } - async coupons(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + async sku_list(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string - return this.resources.fetch({ type: 'coupons' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/coupons`, params, options) as unknown as ListResponse + return this.resources.fetch({ type: 'sku_lists' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/sku_list`, params, options) as unknown as SkuList } - async sku_list(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + async coupons(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _buyXPayYPromotionId = (buyXPayYPromotionId as BuyXPayYPromotion).id || buyXPayYPromotionId as string - return this.resources.fetch({ type: 'sku_lists' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/sku_list`, params, options) as unknown as SkuList + return this.resources.fetch({ type: 'coupons' }, `buy_x_pay_y_promotions/${_buyXPayYPromotionId}/coupons`, params, options) as unknown as ListResponse } async attachments(buyXPayYPromotionId: string | BuyXPayYPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { diff --git a/src/resources/external_promotions.ts b/src/resources/external_promotions.ts index 9927f286..f080edcf 100644 --- a/src/resources/external_promotions.ts +++ b/src/resources/external_promotions.ts @@ -3,13 +3,13 @@ import type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesCon import type { QueryParamsRetrieve, QueryParamsList } from '../query' import type { Market, MarketType } from './markets' -import type { PromotionRule, PromotionRuleType } from './promotion_rules' +import type { PromotionRule } from './promotion_rules' import type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules' import type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules' import type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules' import type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules' -import type { Coupon, CouponType } from './coupons' import type { SkuList, SkuListType } from './sku_lists' +import type { Coupon } from './coupons' import type { Attachment } from './attachments' import type { Event } from './events' import type { Tag, TagType } from './tags' @@ -20,12 +20,10 @@ import type { Sku } from './skus' type ExternalPromotionType = 'external_promotions' type ExternalPromotionRel = ResourceRel & { type: ExternalPromotionType } type MarketRel = ResourceRel & { type: MarketType } -type PromotionRuleRel = ResourceRel & { type: PromotionRuleType } type OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType } type SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType } type CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType } type CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType } -type CouponRel = ResourceRel & { type: CouponType } type SkuListRel = ResourceRel & { type: SkuListType } type TagRel = ResourceRel & { type: TagType } @@ -53,8 +51,8 @@ interface ExternalPromotion extends Resource { sku_list_promotion_rule?: SkuListPromotionRule | null coupon_codes_promotion_rule?: CouponCodesPromotionRule | null custom_promotion_rule?: CustomPromotionRule | null - coupons?: Coupon[] | null sku_list?: SkuList | null + coupons?: Coupon[] | null attachments?: Attachment[] | null events?: Event[] | null tags?: Tag[] | null @@ -78,12 +76,10 @@ interface ExternalPromotionCreate extends ResourceCreate { promotion_url: string market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list?: SkuListRel | null tags?: TagRel[] | null @@ -104,12 +100,10 @@ interface ExternalPromotionUpdate extends ResourceUpdate { promotion_url?: string | null market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list?: SkuListRel | null tags?: TagRel[] | null @@ -157,14 +151,14 @@ class ExternalPromotions extends ApiResource { return this.resources.fetch({ type: 'custom_promotion_rules' }, `external_promotions/${_externalPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule } - async coupons(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + async sku_list(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string - return this.resources.fetch({ type: 'coupons' }, `external_promotions/${_externalPromotionId}/coupons`, params, options) as unknown as ListResponse + return this.resources.fetch({ type: 'sku_lists' }, `external_promotions/${_externalPromotionId}/sku_list`, params, options) as unknown as SkuList } - async sku_list(externalPromotionId: string | ExternalPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + async coupons(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _externalPromotionId = (externalPromotionId as ExternalPromotion).id || externalPromotionId as string - return this.resources.fetch({ type: 'sku_lists' }, `external_promotions/${_externalPromotionId}/sku_list`, params, options) as unknown as SkuList + return this.resources.fetch({ type: 'coupons' }, `external_promotions/${_externalPromotionId}/coupons`, params, options) as unknown as ListResponse } async attachments(externalPromotionId: string | ExternalPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { diff --git a/src/resources/fixed_amount_promotions.ts b/src/resources/fixed_amount_promotions.ts index 45073735..d555e29a 100644 --- a/src/resources/fixed_amount_promotions.ts +++ b/src/resources/fixed_amount_promotions.ts @@ -3,13 +3,13 @@ import type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesCon import type { QueryParamsRetrieve, QueryParamsList } from '../query' import type { Market, MarketType } from './markets' -import type { PromotionRule, PromotionRuleType } from './promotion_rules' +import type { PromotionRule } from './promotion_rules' import type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules' import type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules' import type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules' import type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules' -import type { Coupon, CouponType } from './coupons' import type { SkuList, SkuListType } from './sku_lists' +import type { Coupon } from './coupons' import type { Attachment } from './attachments' import type { Event } from './events' import type { Tag, TagType } from './tags' @@ -20,12 +20,10 @@ import type { Sku } from './skus' type FixedAmountPromotionType = 'fixed_amount_promotions' type FixedAmountPromotionRel = ResourceRel & { type: FixedAmountPromotionType } type MarketRel = ResourceRel & { type: MarketType } -type PromotionRuleRel = ResourceRel & { type: PromotionRuleType } type OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType } type SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType } type CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType } type CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType } -type CouponRel = ResourceRel & { type: CouponType } type SkuListRel = ResourceRel & { type: SkuListType } type TagRel = ResourceRel & { type: TagType } @@ -54,8 +52,8 @@ interface FixedAmountPromotion extends Resource { sku_list_promotion_rule?: SkuListPromotionRule | null coupon_codes_promotion_rule?: CouponCodesPromotionRule | null custom_promotion_rule?: CustomPromotionRule | null - coupons?: Coupon[] | null sku_list?: SkuList | null + coupons?: Coupon[] | null attachments?: Attachment[] | null events?: Event[] | null tags?: Tag[] | null @@ -79,12 +77,10 @@ interface FixedAmountPromotionCreate extends ResourceCreate { fixed_amount_cents: number market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list?: SkuListRel | null tags?: TagRel[] | null @@ -105,12 +101,10 @@ interface FixedAmountPromotionUpdate extends ResourceUpdate { fixed_amount_cents?: number | null market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list?: SkuListRel | null tags?: TagRel[] | null @@ -158,14 +152,14 @@ class FixedAmountPromotions extends ApiResource { return this.resources.fetch({ type: 'custom_promotion_rules' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule } - async coupons(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + async sku_list(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { const _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string - return this.resources.fetch({ type: 'coupons' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/coupons`, params, options) as unknown as ListResponse + return this.resources.fetch({ type: 'sku_lists' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/sku_list`, params, options) as unknown as SkuList } - async sku_list(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + async coupons(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _fixedAmountPromotionId = (fixedAmountPromotionId as FixedAmountPromotion).id || fixedAmountPromotionId as string - return this.resources.fetch({ type: 'sku_lists' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/sku_list`, params, options) as unknown as SkuList + return this.resources.fetch({ type: 'coupons' }, `fixed_amount_promotions/${_fixedAmountPromotionId}/coupons`, params, options) as unknown as ListResponse } async attachments(fixedAmountPromotionId: string | FixedAmountPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { diff --git a/src/resources/fixed_price_promotions.ts b/src/resources/fixed_price_promotions.ts index f4d01ea1..5ca9adce 100644 --- a/src/resources/fixed_price_promotions.ts +++ b/src/resources/fixed_price_promotions.ts @@ -3,13 +3,13 @@ import type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesCon import type { QueryParamsRetrieve, QueryParamsList } from '../query' import type { Market, MarketType } from './markets' -import type { PromotionRule, PromotionRuleType } from './promotion_rules' +import type { PromotionRule } from './promotion_rules' import type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules' import type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules' import type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules' import type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules' -import type { Coupon, CouponType } from './coupons' import type { SkuList, SkuListType } from './sku_lists' +import type { Coupon } from './coupons' import type { Attachment } from './attachments' import type { Event } from './events' import type { Tag, TagType } from './tags' @@ -20,12 +20,10 @@ import type { Sku } from './skus' type FixedPricePromotionType = 'fixed_price_promotions' type FixedPricePromotionRel = ResourceRel & { type: FixedPricePromotionType } type MarketRel = ResourceRel & { type: MarketType } -type PromotionRuleRel = ResourceRel & { type: PromotionRuleType } type OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType } type SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType } type CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType } type CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType } -type CouponRel = ResourceRel & { type: CouponType } type SkuListRel = ResourceRel & { type: SkuListType } type TagRel = ResourceRel & { type: TagType } @@ -54,8 +52,8 @@ interface FixedPricePromotion extends Resource { sku_list_promotion_rule?: SkuListPromotionRule | null coupon_codes_promotion_rule?: CouponCodesPromotionRule | null custom_promotion_rule?: CustomPromotionRule | null - coupons?: Coupon[] | null sku_list?: SkuList | null + coupons?: Coupon[] | null attachments?: Attachment[] | null events?: Event[] | null tags?: Tag[] | null @@ -79,12 +77,10 @@ interface FixedPricePromotionCreate extends ResourceCreate { fixed_amount_cents: number market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list: SkuListRel tags?: TagRel[] | null @@ -105,12 +101,10 @@ interface FixedPricePromotionUpdate extends ResourceUpdate { fixed_amount_cents?: number | null market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list?: SkuListRel | null tags?: TagRel[] | null @@ -158,14 +152,14 @@ class FixedPricePromotions extends ApiResource { return this.resources.fetch({ type: 'custom_promotion_rules' }, `fixed_price_promotions/${_fixedPricePromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule } - async coupons(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + async sku_list(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { const _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string - return this.resources.fetch({ type: 'coupons' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options) as unknown as ListResponse + return this.resources.fetch({ type: 'sku_lists' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options) as unknown as SkuList } - async sku_list(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + async coupons(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _fixedPricePromotionId = (fixedPricePromotionId as FixedPricePromotion).id || fixedPricePromotionId as string - return this.resources.fetch({ type: 'sku_lists' }, `fixed_price_promotions/${_fixedPricePromotionId}/sku_list`, params, options) as unknown as SkuList + return this.resources.fetch({ type: 'coupons' }, `fixed_price_promotions/${_fixedPricePromotionId}/coupons`, params, options) as unknown as ListResponse } async attachments(fixedPricePromotionId: string | FixedPricePromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { diff --git a/src/resources/free_gift_promotions.ts b/src/resources/free_gift_promotions.ts index f89c74cf..04780517 100644 --- a/src/resources/free_gift_promotions.ts +++ b/src/resources/free_gift_promotions.ts @@ -3,13 +3,13 @@ import type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesCon import type { QueryParamsRetrieve, QueryParamsList } from '../query' import type { Market, MarketType } from './markets' -import type { PromotionRule, PromotionRuleType } from './promotion_rules' +import type { PromotionRule } from './promotion_rules' import type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules' import type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules' import type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules' import type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules' -import type { Coupon, CouponType } from './coupons' import type { SkuList, SkuListType } from './sku_lists' +import type { Coupon } from './coupons' import type { Attachment } from './attachments' import type { Event } from './events' import type { Tag, TagType } from './tags' @@ -20,12 +20,10 @@ import type { Sku } from './skus' type FreeGiftPromotionType = 'free_gift_promotions' type FreeGiftPromotionRel = ResourceRel & { type: FreeGiftPromotionType } type MarketRel = ResourceRel & { type: MarketType } -type PromotionRuleRel = ResourceRel & { type: PromotionRuleType } type OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType } type SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType } type CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType } type CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType } -type CouponRel = ResourceRel & { type: CouponType } type SkuListRel = ResourceRel & { type: SkuListType } type TagRel = ResourceRel & { type: TagType } @@ -52,8 +50,8 @@ interface FreeGiftPromotion extends Resource { sku_list_promotion_rule?: SkuListPromotionRule | null coupon_codes_promotion_rule?: CouponCodesPromotionRule | null custom_promotion_rule?: CustomPromotionRule | null - coupons?: Coupon[] | null sku_list?: SkuList | null + coupons?: Coupon[] | null attachments?: Attachment[] | null events?: Event[] | null tags?: Tag[] | null @@ -77,12 +75,10 @@ interface FreeGiftPromotionCreate extends ResourceCreate { max_quantity?: number | null market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list: SkuListRel tags?: TagRel[] | null @@ -103,12 +99,10 @@ interface FreeGiftPromotionUpdate extends ResourceUpdate { max_quantity?: number | null market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list?: SkuListRel | null tags?: TagRel[] | null @@ -156,14 +150,14 @@ class FreeGiftPromotions extends ApiResource { return this.resources.fetch({ type: 'custom_promotion_rules' }, `free_gift_promotions/${_freeGiftPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule } - async coupons(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + async sku_list(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { const _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string - return this.resources.fetch({ type: 'coupons' }, `free_gift_promotions/${_freeGiftPromotionId}/coupons`, params, options) as unknown as ListResponse + return this.resources.fetch({ type: 'sku_lists' }, `free_gift_promotions/${_freeGiftPromotionId}/sku_list`, params, options) as unknown as SkuList } - async sku_list(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + async coupons(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _freeGiftPromotionId = (freeGiftPromotionId as FreeGiftPromotion).id || freeGiftPromotionId as string - return this.resources.fetch({ type: 'sku_lists' }, `free_gift_promotions/${_freeGiftPromotionId}/sku_list`, params, options) as unknown as SkuList + return this.resources.fetch({ type: 'coupons' }, `free_gift_promotions/${_freeGiftPromotionId}/coupons`, params, options) as unknown as ListResponse } async attachments(freeGiftPromotionId: string | FreeGiftPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { diff --git a/src/resources/free_shipping_promotions.ts b/src/resources/free_shipping_promotions.ts index 6d01874e..6a4f70ca 100644 --- a/src/resources/free_shipping_promotions.ts +++ b/src/resources/free_shipping_promotions.ts @@ -3,13 +3,13 @@ import type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesCon import type { QueryParamsRetrieve, QueryParamsList } from '../query' import type { Market, MarketType } from './markets' -import type { PromotionRule, PromotionRuleType } from './promotion_rules' +import type { PromotionRule } from './promotion_rules' import type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules' import type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules' import type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules' import type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules' -import type { Coupon, CouponType } from './coupons' -import type { SkuList } from './sku_lists' +import type { SkuList, SkuListType } from './sku_lists' +import type { Coupon } from './coupons' import type { Attachment } from './attachments' import type { Event } from './events' import type { Tag, TagType } from './tags' @@ -19,12 +19,11 @@ import type { Version } from './versions' type FreeShippingPromotionType = 'free_shipping_promotions' type FreeShippingPromotionRel = ResourceRel & { type: FreeShippingPromotionType } type MarketRel = ResourceRel & { type: MarketType } -type PromotionRuleRel = ResourceRel & { type: PromotionRuleType } type OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType } type SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType } type CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType } type CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType } -type CouponRel = ResourceRel & { type: CouponType } +type SkuListRel = ResourceRel & { type: SkuListType } type TagRel = ResourceRel & { type: TagType } @@ -49,8 +48,8 @@ interface FreeShippingPromotion extends Resource { sku_list_promotion_rule?: SkuListPromotionRule | null coupon_codes_promotion_rule?: CouponCodesPromotionRule | null custom_promotion_rule?: CustomPromotionRule | null - coupons?: Coupon[] | null sku_list?: SkuList | null + coupons?: Coupon[] | null attachments?: Attachment[] | null events?: Event[] | null tags?: Tag[] | null @@ -72,12 +71,11 @@ interface FreeShippingPromotionCreate extends ResourceCreate { _enable?: boolean | null market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null + sku_list?: SkuListRel | null tags?: TagRel[] | null } @@ -96,12 +94,11 @@ interface FreeShippingPromotionUpdate extends ResourceUpdate { _enable?: boolean | null market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null + sku_list?: SkuListRel | null tags?: TagRel[] | null } @@ -148,14 +145,14 @@ class FreeShippingPromotions extends ApiResource { return this.resources.fetch({ type: 'custom_promotion_rules' }, `free_shipping_promotions/${_freeShippingPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule } - async coupons(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + async sku_list(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { const _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string - return this.resources.fetch({ type: 'coupons' }, `free_shipping_promotions/${_freeShippingPromotionId}/coupons`, params, options) as unknown as ListResponse + return this.resources.fetch({ type: 'sku_lists' }, `free_shipping_promotions/${_freeShippingPromotionId}/sku_list`, params, options) as unknown as SkuList } - async sku_list(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + async coupons(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _freeShippingPromotionId = (freeShippingPromotionId as FreeShippingPromotion).id || freeShippingPromotionId as string - return this.resources.fetch({ type: 'sku_lists' }, `free_shipping_promotions/${_freeShippingPromotionId}/sku_list`, params, options) as unknown as SkuList + return this.resources.fetch({ type: 'coupons' }, `free_shipping_promotions/${_freeShippingPromotionId}/coupons`, params, options) as unknown as ListResponse } async attachments(freeShippingPromotionId: string | FreeShippingPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { diff --git a/src/resources/payment_methods.ts b/src/resources/payment_methods.ts index c53b4804..3d9ece27 100644 --- a/src/resources/payment_methods.ts +++ b/src/resources/payment_methods.ts @@ -23,6 +23,7 @@ interface PaymentMethod extends Resource { currency_code?: string | null moto?: boolean | null require_capture?: boolean | null + auto_place?: boolean | null auto_capture?: boolean | null disabled_at?: string | null price_amount_cents: number @@ -46,6 +47,7 @@ interface PaymentMethodCreate extends ResourceCreate { currency_code?: string | null moto?: boolean | null require_capture?: boolean | null + auto_place?: boolean | null auto_capture?: boolean | null _disable?: boolean | null _enable?: boolean | null @@ -64,6 +66,7 @@ interface PaymentMethodUpdate extends ResourceUpdate { currency_code?: string | null moto?: boolean | null require_capture?: boolean | null + auto_place?: boolean | null auto_capture?: boolean | null _disable?: boolean | null _enable?: boolean | null diff --git a/src/resources/percentage_discount_promotions.ts b/src/resources/percentage_discount_promotions.ts index a9683f85..a4e23651 100644 --- a/src/resources/percentage_discount_promotions.ts +++ b/src/resources/percentage_discount_promotions.ts @@ -3,13 +3,13 @@ import type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesCon import type { QueryParamsRetrieve, QueryParamsList } from '../query' import type { Market, MarketType } from './markets' -import type { PromotionRule, PromotionRuleType } from './promotion_rules' +import type { PromotionRule } from './promotion_rules' import type { OrderAmountPromotionRule, OrderAmountPromotionRuleType } from './order_amount_promotion_rules' import type { SkuListPromotionRule, SkuListPromotionRuleType } from './sku_list_promotion_rules' import type { CouponCodesPromotionRule, CouponCodesPromotionRuleType } from './coupon_codes_promotion_rules' import type { CustomPromotionRule, CustomPromotionRuleType } from './custom_promotion_rules' -import type { Coupon, CouponType } from './coupons' import type { SkuList, SkuListType } from './sku_lists' +import type { Coupon } from './coupons' import type { Attachment } from './attachments' import type { Event } from './events' import type { Tag, TagType } from './tags' @@ -20,12 +20,10 @@ import type { Sku } from './skus' type PercentageDiscountPromotionType = 'percentage_discount_promotions' type PercentageDiscountPromotionRel = ResourceRel & { type: PercentageDiscountPromotionType } type MarketRel = ResourceRel & { type: MarketType } -type PromotionRuleRel = ResourceRel & { type: PromotionRuleType } type OrderAmountPromotionRuleRel = ResourceRel & { type: OrderAmountPromotionRuleType } type SkuListPromotionRuleRel = ResourceRel & { type: SkuListPromotionRuleType } type CouponCodesPromotionRuleRel = ResourceRel & { type: CouponCodesPromotionRuleType } type CustomPromotionRuleRel = ResourceRel & { type: CustomPromotionRuleType } -type CouponRel = ResourceRel & { type: CouponType } type SkuListRel = ResourceRel & { type: SkuListType } type TagRel = ResourceRel & { type: TagType } @@ -52,8 +50,8 @@ interface PercentageDiscountPromotion extends Resource { sku_list_promotion_rule?: SkuListPromotionRule | null coupon_codes_promotion_rule?: CouponCodesPromotionRule | null custom_promotion_rule?: CustomPromotionRule | null - coupons?: Coupon[] | null sku_list?: SkuList | null + coupons?: Coupon[] | null attachments?: Attachment[] | null events?: Event[] | null tags?: Tag[] | null @@ -77,12 +75,10 @@ interface PercentageDiscountPromotionCreate extends ResourceCreate { percentage: number market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list?: SkuListRel | null tags?: TagRel[] | null @@ -103,12 +99,10 @@ interface PercentageDiscountPromotionUpdate extends ResourceUpdate { percentage?: number | null market?: MarketRel | null - promotion_rules?: PromotionRuleRel[] | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null sku_list_promotion_rule?: SkuListPromotionRuleRel | null coupon_codes_promotion_rule?: CouponCodesPromotionRuleRel | null custom_promotion_rule?: CustomPromotionRuleRel | null - coupons?: CouponRel[] | null sku_list?: SkuListRel | null tags?: TagRel[] | null @@ -156,14 +150,14 @@ class PercentageDiscountPromotions extends ApiResource({ type: 'custom_promotion_rules' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule } - async coupons(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + async sku_list(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { const _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string - return this.resources.fetch({ type: 'coupons' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupons`, params, options) as unknown as ListResponse + return this.resources.fetch({ type: 'sku_lists' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list`, params, options) as unknown as SkuList } - async sku_list(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + async coupons(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _percentageDiscountPromotionId = (percentageDiscountPromotionId as PercentageDiscountPromotion).id || percentageDiscountPromotionId as string - return this.resources.fetch({ type: 'sku_lists' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/sku_list`, params, options) as unknown as SkuList + return this.resources.fetch({ type: 'coupons' }, `percentage_discount_promotions/${_percentageDiscountPromotionId}/coupons`, params, options) as unknown as ListResponse } async attachments(percentageDiscountPromotionId: string | PercentageDiscountPromotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { diff --git a/src/resources/promotions.ts b/src/resources/promotions.ts index 2d2054ea..07b2635b 100644 --- a/src/resources/promotions.ts +++ b/src/resources/promotions.ts @@ -8,8 +8,8 @@ import type { OrderAmountPromotionRule } from './order_amount_promotion_rules' import type { SkuListPromotionRule } from './sku_list_promotion_rules' import type { CouponCodesPromotionRule } from './coupon_codes_promotion_rules' import type { CustomPromotionRule } from './custom_promotion_rules' -import type { Coupon } from './coupons' import type { SkuList } from './sku_lists' +import type { Coupon } from './coupons' import type { Attachment } from './attachments' import type { Event } from './events' import type { Tag } from './tags' @@ -41,8 +41,8 @@ interface Promotion extends Resource { sku_list_promotion_rule?: SkuListPromotionRule | null coupon_codes_promotion_rule?: CouponCodesPromotionRule | null custom_promotion_rule?: CustomPromotionRule | null - coupons?: Coupon[] | null sku_list?: SkuList | null + coupons?: Coupon[] | null attachments?: Attachment[] | null events?: Event[] | null tags?: Tag[] | null @@ -80,14 +80,14 @@ class Promotions extends ApiResource { return this.resources.fetch({ type: 'custom_promotion_rules' }, `promotions/${_promotionId}/custom_promotion_rule`, params, options) as unknown as CustomPromotionRule } - async coupons(promotionId: string | Promotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + async sku_list(promotionId: string | Promotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { const _promotionId = (promotionId as Promotion).id || promotionId as string - return this.resources.fetch({ type: 'coupons' }, `promotions/${_promotionId}/coupons`, params, options) as unknown as ListResponse + return this.resources.fetch({ type: 'sku_lists' }, `promotions/${_promotionId}/sku_list`, params, options) as unknown as SkuList } - async sku_list(promotionId: string | Promotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + async coupons(promotionId: string | Promotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _promotionId = (promotionId as Promotion).id || promotionId as string - return this.resources.fetch({ type: 'sku_lists' }, `promotions/${_promotionId}/sku_list`, params, options) as unknown as SkuList + return this.resources.fetch({ type: 'coupons' }, `promotions/${_promotionId}/coupons`, params, options) as unknown as ListResponse } async attachments(promotionId: string | Promotion, params?: QueryParamsList, options?: ResourcesConfig): Promise> { diff --git a/src/resources/stock_transfers.ts b/src/resources/stock_transfers.ts index 103e965c..33ca3b1e 100644 --- a/src/resources/stock_transfers.ts +++ b/src/resources/stock_transfers.ts @@ -22,7 +22,7 @@ interface StockTransfer extends Resource { readonly type: StockTransferType - number?: number | null + number?: string | null sku_code?: string | null status: 'draft' | 'upcoming' | 'on_hold' | 'picking' | 'in_transit' | 'completed' | 'cancelled' quantity: number diff --git a/src/resources/stripe_payments.ts b/src/resources/stripe_payments.ts index 68a95822..fd32197b 100644 --- a/src/resources/stripe_payments.ts +++ b/src/resources/stripe_payments.ts @@ -16,7 +16,8 @@ interface StripePayment extends Resource { readonly type: StripePaymentType - client_secret: string + stripe_id?: string | null + client_secret?: string | null publishable_key?: string | null options?: Record | null payment_method?: Record | null @@ -37,6 +38,8 @@ interface StripePayment extends Resource { interface StripePaymentCreate extends ResourceCreate { + stripe_id?: string | null + client_secret?: string | null options?: Record | null return_url?: string | null receipt_email?: string | null From 69dd04f636f1240c31e8883ce65119c25ff8ba0e Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 14 Feb 2024 16:06:57 +0000 Subject: [PATCH 12/26] chore(release): 5.32.0 [skip ci] # [5.32.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.31.1...v5.32.0) (2024-02-14) ### Features * update resources to schema v4.26.0 ([0f75edb](https://github.com/commercelayer/commercelayer-sdk/commit/0f75edb466c4915b7e4c7954a2e675f2c03d38e4)) * update resources to schema v4.26.0 ([#324](https://github.com/commercelayer/commercelayer-sdk/issues/324)) ([deab65a](https://github.com/commercelayer/commercelayer-sdk/commit/deab65a0b69f871147f6c51253f563ef382acbed)) --- CHANGELOG.md | 8 ++++++++ package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index acfc3892..a1f269be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# [5.32.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.31.1...v5.32.0) (2024-02-14) + + +### Features + +* update resources to schema v4.26.0 ([0f75edb](https://github.com/commercelayer/commercelayer-sdk/commit/0f75edb466c4915b7e4c7954a2e675f2c03d38e4)) +* update resources to schema v4.26.0 ([#324](https://github.com/commercelayer/commercelayer-sdk/issues/324)) ([deab65a](https://github.com/commercelayer/commercelayer-sdk/commit/deab65a0b69f871147f6c51253f563ef382acbed)) + ## [5.31.1](https://github.com/commercelayer/commercelayer-sdk/compare/v5.31.0...v5.31.1) (2024-02-01) diff --git a/package.json b/package.json index ae817d3e..fd692e95 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@commercelayer/sdk", - "version": "5.31.1", + "version": "5.32.0", "main": "lib/cjs/index.js", "types": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", From 356e00a6e1a02a57220157073b5956fc369d0775 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Thu, 15 Feb 2024 16:07:16 +0100 Subject: [PATCH 13/26] chore: update dependencies --- package.json | 2 +- pnpm-lock.yaml | 110 ++++++++++++++++++++++++------------------------- test/spot.ts | 9 ++-- 3 files changed, 61 insertions(+), 60 deletions(-) diff --git a/package.json b/package.json index fd692e95..b1283d0b 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@types/debug": "^4.1.12", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", - "@types/node": "^20.11.17", + "@types/node": "^20.11.18", "dotenv": "^16.4.4", "eslint": "^8.56.0", "inflector-js": "^1.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 75e247a0..1131d512 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,8 +41,8 @@ devDependencies: specifier: ^4.14.202 version: 4.14.202 '@types/node': - specifier: ^20.11.17 - version: 20.11.17 + specifier: ^20.11.18 + version: 20.11.18 dotenv: specifier: ^16.4.4 version: 16.4.4 @@ -54,7 +54,7 @@ devDependencies: version: 1.0.1 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -72,7 +72,7 @@ devDependencies: version: 23.0.2(typescript@5.3.3) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.17)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.18)(typescript@5.3.3) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -158,7 +158,7 @@ packages: dependencies: '@babel/compat-data': 7.23.5 '@babel/helper-validator-option': 7.23.5 - browserslist: 4.22.3 + browserslist: 4.23.0 lru-cache: 5.1.1 semver: 6.3.1 dev: true @@ -1648,7 +1648,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1669,14 +1669,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1704,7 +1704,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 jest-mock: 29.7.0 dev: true @@ -1731,7 +1731,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.17 + '@types/node': 20.11.18 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1764,7 +1764,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.22 - '@types/node': 20.11.17 + '@types/node': 20.11.18 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1852,7 +1852,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.17 + '@types/node': 20.11.18 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1866,8 +1866,8 @@ packages: '@jridgewell/trace-mapping': 0.3.22 dev: true - /@jridgewell/resolve-uri@3.1.1: - resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + /@jridgewell/resolve-uri@3.1.2: + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} dev: true @@ -1883,14 +1883,14 @@ packages: /@jridgewell/trace-mapping@0.3.22: resolution: {integrity: sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==} dependencies: - '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 dev: true /@jridgewell/trace-mapping@0.3.9: resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} dependencies: - '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 dev: true @@ -2184,8 +2184,8 @@ packages: engines: {node: '>=10'} dev: true - /@sindresorhus/merge-streams@2.2.0: - resolution: {integrity: sha512-UTce8mUwUW0RikMb/eseJ7ys0BRkZVFB86orHzrfW12ZmFtym5zua8joZ4L7okH2dDFHkcFjqnZ5GocWBXOFtA==} + /@sindresorhus/merge-streams@2.2.1: + resolution: {integrity: sha512-255V7MMIKw6aQ43Wbqp9HZ+VHn6acddERTLiiLnlcPLU9PdTq9Aijl12oklAgUEblLWye+vHLzmqBx6f2TGcZw==} engines: {node: '>=18'} dev: true @@ -2255,7 +2255,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.17 + '@types/node': 20.11.18 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -2297,8 +2297,8 @@ packages: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.11.17: - resolution: {integrity: sha512-QmgQZGWu1Yw9TDyAP9ZzpFJKynYNeOvwMJmaxABfieQoVoiVOS6MN1WSpqpRcbeA5+RW82kraAVxCCJg+780Qw==} + /@types/node@20.11.18: + resolution: {integrity: sha512-ABT5VWnnYneSBcNWYSCuR05M826RoMyMSGiFivXGx6ZUIsXb9vn4643IEwkg2zbEOSgAiSogtapN2fgc4mAPlw==} dependencies: undici-types: 5.26.5 dev: true @@ -2838,15 +2838,15 @@ packages: fill-range: 7.0.1 dev: true - /browserslist@4.22.3: - resolution: {integrity: sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==} + /browserslist@4.23.0: + resolution: {integrity: sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: caniuse-lite: 1.0.30001587 - electron-to-chromium: 1.4.668 + electron-to-chromium: 1.4.670 node-releases: 2.0.14 - update-browserslist-db: 1.0.13(browserslist@4.22.3) + update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true /bser@2.1.1: @@ -3090,7 +3090,7 @@ packages: /core-js-compat@3.36.0: resolution: {integrity: sha512-iV9Pd/PsgjNWBXeq8XRtWVSgz2tKAfhfvBs7qxYty+RlRd+OCksaWmOnc4JKrTc1cToXL1N0s3l/vwlxPtdElw==} dependencies: - browserslist: 4.22.3 + browserslist: 4.23.0 dev: true /core-util-is@1.0.3: @@ -3113,7 +3113,7 @@ packages: typescript: 5.3.3 dev: true - /create-jest@29.7.0(@types/node@20.11.17)(ts-node@10.9.2): + /create-jest@29.7.0(@types/node@20.11.18)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3122,7 +3122,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3287,8 +3287,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.668: - resolution: {integrity: sha512-ZOBocMYCehr9W31+GpMclR+KBaDZOoAEabLdhpZ8oU1JFDwIaFY0UDbpXVEUFc0BIP2O2Qn3rkfCjQmMR4T/bQ==} + /electron-to-chromium@1.4.670: + resolution: {integrity: sha512-hcijYOWjOtjKrKPtNA6tuLlA/bTLO3heFG8pQA6mLpq7dRydSWicXova5lyxDzp1iVJaYhK7J2OQlGE52KYn7A==} dev: true /emittery@0.13.1: @@ -4138,7 +4138,7 @@ packages: resolution: {integrity: sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==} engines: {node: '>=18'} dependencies: - '@sindresorhus/merge-streams': 2.2.0 + '@sindresorhus/merge-streams': 2.2.1 fast-glob: 3.3.2 ignore: 5.3.1 path-type: 5.0.0 @@ -4639,7 +4639,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4660,7 +4660,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.17)(ts-node@10.9.2): + /jest-cli@29.7.0(@types/node@20.11.18)(ts-node@10.9.2): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4674,10 +4674,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4688,7 +4688,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.17)(ts-node@10.9.2): + /jest-config@29.7.0(@types/node@20.11.18)(ts-node@10.9.2): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4703,7 +4703,7 @@ packages: '@babel/core': 7.23.9 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 babel-jest: 29.7.0(@babel/core@7.23.9) chalk: 4.1.2 ci-info: 3.9.0 @@ -4723,7 +4723,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.11.17)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@20.11.18)(typescript@5.3.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -4764,7 +4764,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4780,7 +4780,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.17 + '@types/node': 20.11.18 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4831,7 +4831,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 jest-util: 29.7.0 dev: true @@ -4886,7 +4886,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4917,7 +4917,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4969,7 +4969,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4994,7 +4994,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.17 + '@types/node': 20.11.18 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -5006,13 +5006,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.17 + '@types/node': 20.11.18 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.17)(ts-node@10.9.2): + /jest@29.7.0(@types/node@20.11.18)(ts-node@10.9.2): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -5025,7 +5025,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.2) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.17)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -6237,14 +6237,14 @@ packages: spdx-license-ids: 3.0.17 dev: true - /spdx-exceptions@2.4.0: - resolution: {integrity: sha512-hcjppoJ68fhxA/cjbN4T8N6uCUejN8yFw69ttpqtBeCbF3u13n7mb31NB9jKwGTTWWnt9IbRA/mf1FprYS8wfw==} + /spdx-exceptions@2.5.0: + resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} dev: true /spdx-expression-parse@3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} dependencies: - spdx-exceptions: 2.4.0 + spdx-exceptions: 2.5.0 spdx-license-ids: 3.0.17 dev: true @@ -6511,7 +6511,7 @@ packages: typescript: 5.3.3 dev: true - /ts-node@10.9.2(@types/node@20.11.17)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.18)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6530,7 +6530,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.17 + '@types/node': 20.11.18 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -6711,13 +6711,13 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /update-browserslist-db@1.0.13(browserslist@4.22.3): + /update-browserslist-db@1.0.13(browserslist@4.23.0): resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' dependencies: - browserslist: 4.22.3 + browserslist: 4.23.0 escalade: 3.1.2 picocolors: 1.0.0 dev: true diff --git a/test/spot.ts b/test/spot.ts index 523f32d9..be21dbff 100644 --- a/test/spot.ts +++ b/test/spot.ts @@ -2,6 +2,7 @@ import { inspect } from 'util' import commercelayer, { Tag } from '../src/index' import getToken from './token' +import { error } from 'console' (async () => { @@ -17,10 +18,10 @@ import getToken from './token' try { - const customers = await cl.customers.list({ filters: { metadata_jcont: { testkey: 'meta' }}}) - - console.log(customers) - + cl.customers.create({ email: 'fake' }).catch(error => { + if (cl.isApiError(error)) console.log(error.errors) + }) + } catch (error: any) { console.log(inspect(error, false, null, true)) console.log(error.message) From c35dc3a50c6066c5afbff6b6289a3c488ba85a82 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Thu, 22 Feb 2024 10:20:29 +0100 Subject: [PATCH 14/26] chore: change spot test --- test/spot.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/test/spot.ts b/test/spot.ts index be21dbff..c9f2998b 100644 --- a/test/spot.ts +++ b/test/spot.ts @@ -18,9 +18,14 @@ import { error } from 'console' try { - cl.customers.create({ email: 'fake' }).catch(error => { - if (cl.isApiError(error)) console.log(error.errors) - }) + fetch("http://httpstat.us/429") + .then(res => { + console.log('RESPONSE') + console.log(res) + }).catch(err => { + console.log('ERROR') + console.log(err) + }); } catch (error: any) { console.log(inspect(error, false, null, true)) From b8eb17a7e3909e97f1753edb690536da14fbccd8 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Wed, 28 Feb 2024 15:20:33 +0100 Subject: [PATCH 15/26] feat: update resources to schema 4.27.0 --- gen/openapi.json | 385 ++++++- package.json | 8 +- pnpm-lock.yaml | 1363 ++++++++++++----------- specs/resources/orders.spec.ts | 46 + specs/resources/resource_errors.spec.ts | 128 +++ src/api.ts | 3 + src/commercelayer.ts | 4 +- src/model.ts | 1 + src/resources/gift_cards.ts | 3 + src/resources/orders.ts | 18 +- src/resources/resource_errors.ts | 51 + 11 files changed, 1328 insertions(+), 682 deletions(-) create mode 100644 specs/resources/resource_errors.spec.ts create mode 100644 src/resources/resource_errors.ts diff --git a/gen/openapi.json b/gen/openapi.json index 66ee7cf8..cb99fd53 100644 --- a/gen/openapi.json +++ b/gen/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Commerce Layer API", - "version": "4.26.0", + "version": "4.27.0", "contact": { "name": "API Support", "url": "https://commercelayer.io", @@ -17355,6 +17355,33 @@ } } }, + "/orders/{orderId}/resource_errors": { + "get": { + "operationId": "GET/orderId/resource_errors", + "summary": "Retrieve the resource errors associated to the order", + "description": "Retrieve the resource errors associated to the order", + "tags": [ + "has_many", + "resource_errors" + ], + "parameters": [ + { + "name": "orderId", + "in": "path", + "schema": { + "type": "string" + }, + "required": true, + "description": "The resource's id" + } + ], + "responses": { + "200": { + "description": "The resource_errors associated to the order" + } + } + } + }, "/orders/{orderId}/events": { "get": { "operationId": "GET/orderId/events", @@ -22007,6 +22034,61 @@ } } }, + "/resource_errors": { + "get": { + "operationId": "GET/resource_errors", + "summary": "List all resource errors", + "description": "List all resource errors", + "tags": [ + "resource_errors" + ], + "responses": { + "200": { + "description": "A list of resource error objects", + "content": { + "application/vnd.api+json": { + "schema": { + "$ref": "#/components/schemas/resourceErrorResponseList" + } + } + } + } + } + } + }, + "/resource_errors/{resourceErrorId}": { + "get": { + "operationId": "GET/resource_errors/resourceErrorId", + "summary": "Retrieve a resource error", + "description": "Retrieve a resource error", + "tags": [ + "resource_errors" + ], + "parameters": [ + { + "name": "resourceErrorId", + "in": "path", + "schema": { + "type": "string" + }, + "required": true, + "description": "The resource's id" + } + ], + "responses": { + "200": { + "description": "The resource error object", + "content": { + "application/vnd.api+json": { + "schema": { + "$ref": "#/components/schemas/resourceErrorResponse" + } + } + } + } + } + } + }, "/return_line_items": { "get": { "operationId": "GET/return_line_items", @@ -59635,6 +59717,12 @@ "example": true, "nullable": true }, + "distribute_discount": { + "type": "boolean", + "description": "Indicates if redeemed gift card amount is distributed for tax calculation.", + "example": true, + "nullable": true + }, "image_url": { "type": "string", "description": "The URL of an image that represents the gift card.", @@ -59881,6 +59969,11 @@ "description": "Indicates if the gift card can be recharged.", "example": true }, + "distribute_discount": { + "type": "boolean", + "description": "Indicates if redeemed gift card amount is distributed for tax calculation.", + "example": true + }, "image_url": { "type": "string", "description": "The URL of an image that represents the gift card.", @@ -60061,6 +60154,12 @@ "example": true, "nullable": false }, + "distribute_discount": { + "type": "boolean", + "description": "Indicates if redeemed gift card amount is distributed for tax calculation.", + "example": true, + "nullable": false + }, "image_url": { "type": "string", "description": "The URL of an image that represents the gift card.", @@ -72762,14 +72861,21 @@ "example": true, "nullable": true }, + "place_async": { + "type": "boolean", + "description": "Save this attribute as 'true' if you want perform the place asynchronously. Payment errors, if any, will be collected afterwards.", + "example": true, + "nullable": true + }, "status": { "type": "string", - "description": "The order status. One of 'draft' (default), 'pending', 'placed', 'editing', 'approved', or 'cancelled'.", + "description": "The order status. One of 'draft' (default), 'pending', 'placing', 'placed', 'editing', 'approved', or 'cancelled'.", "example": "draft", "nullable": false, "enum": [ "draft", "pending", + "placing", "placed", "editing", "approved", @@ -73310,6 +73416,12 @@ "example": 1, "nullable": true }, + "errors_count": { + "type": "integer", + "description": "The total number of resource errors.", + "example": 1, + "nullable": true + }, "payment_source_details": { "type": "object", "description": "An object that contains the shareable details of the order's payment source.", @@ -74141,6 +74253,28 @@ } } }, + "resource_errors": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "resource_errors" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, "events": { "type": "object", "properties": { @@ -74246,6 +74380,11 @@ "description": "Save this attribute as 'false' if you want prevent the order to be refreshed automatically at each change (much faster).", "example": true }, + "place_async": { + "type": "boolean", + "description": "Save this attribute as 'true' if you want perform the place asynchronously. Payment errors, if any, will be collected afterwards.", + "example": true + }, "guest": { "type": "boolean", "description": "Indicates if the order has been placed as guest.", @@ -74606,6 +74745,12 @@ "example": true, "nullable": false }, + "place_async": { + "type": "boolean", + "description": "Save this attribute as 'true' if you want perform the place asynchronously. Payment errors, if any, will be collected afterwards.", + "example": true, + "nullable": false + }, "guest": { "type": "boolean", "description": "Indicates if the order has been placed as guest.", @@ -74707,6 +74852,12 @@ "example": true, "nullable": false }, + "_pending": { + "type": "boolean", + "description": "Send this attribute if you want to move a draft or placing order to pending.", + "example": true, + "nullable": false + }, "_place": { "type": "boolean", "description": "Send this attribute if you want to place the order.", @@ -76119,6 +76270,40 @@ } } }, + "resource_errors": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "description": "URL" + }, + "related": { + "type": "string", + "description": "URL" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "resource_errors" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, "events": { "type": "object", "properties": { @@ -87875,6 +88060,198 @@ } } }, + "resourceError": { + "type": "object", + "properties": { + "data": { + "type": "object", + "required": [ + "type", + "attributes" + ], + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "resource_errors" + ] + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The resource attribute name related to the error.", + "example": "number", + "nullable": false + }, + "code": { + "type": "string", + "description": "The error code.", + "example": "BLANK", + "nullable": false + }, + "message": { + "type": "string", + "description": "The error message.", + "example": "can't be blank", + "nullable": false + }, + "created_at": { + "type": "string", + "description": "Time at which the resource was created.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": false + }, + "updated_at": { + "type": "string", + "description": "Time at which the resource was last updated.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": false + }, + "reference": { + "type": "string", + "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", + "example": "ANY-EXTERNAL-REFEFERNCE", + "nullable": true + }, + "reference_origin": { + "type": "string", + "description": "Any identifier of the third party system that defines the reference code", + "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN", + "nullable": true + }, + "metadata": { + "type": "object", + "description": "Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format.", + "example": { + "foo": "bar" + }, + "nullable": true + } + } + }, + "relationships": { + "type": "object", + "properties": { + "resource": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "orders" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + }, + "oneOf": [ + { + "$ref": "#/components/schemas/order" + } + ] + } + } + } + } + } + } + }, + "resourceErrorResponse": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + }, + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "resource_errors" + ] + }, + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "description": "URL" + } + } + }, + "attributes": { + "$ref": "#/components/schemas/resourceError/properties/data/properties/attributes" + }, + "relationships": { + "type": "object", + "properties": { + "resource": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "description": "URL" + }, + "related": { + "type": "string", + "description": "URL" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "resource" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + } + } + } + } + } + } + }, + "resourceErrorResponseList": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/resourceErrorResponse/properties/data" + } + } + } + }, "returnLineItem": { "type": "object", "properties": { @@ -108599,6 +108976,10 @@ "name": "reserved_stocks", "description": "resource type" }, + { + "name": "resource_errors", + "description": "resource type" + }, { "name": "return_line_items", "description": "resource type" diff --git a/package.json b/package.json index b1283d0b..4eb56d32 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "axios": "1.6.7" }, "devDependencies": { - "@babel/preset-env": "^7.23.9", + "@babel/preset-env": "^7.24.0", "@babel/preset-typescript": "^7.23.3", "@commercelayer/eslint-config-ts": "1.3.0", "@commercelayer/js-auth": "^4.2.1", @@ -45,9 +45,9 @@ "@types/debug": "^4.1.12", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", - "@types/node": "^20.11.18", - "dotenv": "^16.4.4", - "eslint": "^8.56.0", + "@types/node": "^20.11.21", + "dotenv": "^16.4.5", + "eslint": "^8.57.0", "inflector-js": "^1.0.1", "jest": "^29.7.0", "json-typescript": "^1.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1131d512..753d9e09 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,14 +14,14 @@ dependencies: devDependencies: '@babel/preset-env': - specifier: ^7.23.9 - version: 7.23.9(@babel/core@7.23.9) + specifier: ^7.24.0 + version: 7.24.0(@babel/core@7.24.0) '@babel/preset-typescript': specifier: ^7.23.3 - version: 7.23.3(@babel/core@7.23.9) + version: 7.23.3(@babel/core@7.24.0) '@commercelayer/eslint-config-ts': specifier: 1.3.0 - version: 1.3.0(eslint@8.56.0)(typescript@5.3.3) + version: 1.3.0(eslint@8.57.0)(typescript@5.3.3) '@commercelayer/js-auth': specifier: ^4.2.1 version: 4.2.1 @@ -41,20 +41,20 @@ devDependencies: specifier: ^4.14.202 version: 4.14.202 '@types/node': - specifier: ^20.11.18 - version: 20.11.18 + specifier: ^20.11.21 + version: 20.11.21 dotenv: - specifier: ^16.4.4 - version: 16.4.4 + specifier: ^16.4.5 + version: 16.4.5 eslint: - specifier: ^8.56.0 - version: 8.56.0 + specifier: ^8.57.0 + version: 8.57.0 inflector-js: specifier: ^1.0.1 version: 1.0.1 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -72,7 +72,7 @@ devDependencies: version: 23.0.2(typescript@5.3.3) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.18)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.21)(typescript@5.3.3) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -88,8 +88,8 @@ packages: resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} engines: {node: '>=6.0.0'} dependencies: - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.22 + '@jridgewell/gen-mapping': 0.3.4 + '@jridgewell/trace-mapping': 0.3.23 dev: true /@babel/code-frame@7.23.5: @@ -105,20 +105,20 @@ packages: engines: {node: '>=6.9.0'} dev: true - /@babel/core@7.23.9: - resolution: {integrity: sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw==} + /@babel/core@7.24.0: + resolution: {integrity: sha512-fQfkg0Gjkza3nf0c7/w6Xf34BW4YvzNfACRLmmb7XRLa6XHdR+K9AlJlxneFfWYf6uhOzuzZVTjF/8KfndZANw==} engines: {node: '>=6.9.0'} dependencies: '@ampproject/remapping': 2.2.1 '@babel/code-frame': 7.23.5 '@babel/generator': 7.23.6 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helpers': 7.23.9 - '@babel/parser': 7.23.9 - '@babel/template': 7.23.9 - '@babel/traverse': 7.23.9 - '@babel/types': 7.23.9 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) + '@babel/helpers': 7.24.0 + '@babel/parser': 7.24.0 + '@babel/template': 7.24.0 + '@babel/traverse': 7.24.0 + '@babel/types': 7.24.0 convert-source-map: 2.0.0 debug: 4.3.4 gensync: 1.0.0-beta.2 @@ -132,9 +132,9 @@ packages: resolution: {integrity: sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.22 + '@babel/types': 7.24.0 + '@jridgewell/gen-mapping': 0.3.4 + '@jridgewell/trace-mapping': 0.3.23 jsesc: 2.5.2 dev: true @@ -142,14 +142,14 @@ packages: resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true /@babel/helper-builder-binary-assignment-operator-visitor@7.22.15: resolution: {integrity: sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true /@babel/helper-compilation-targets@7.23.6: @@ -163,44 +163,44 @@ packages: semver: 6.3.1 dev: true - /@babel/helper-create-class-features-plugin@7.23.10(@babel/core@7.23.9): - resolution: {integrity: sha512-2XpP2XhkXzgxecPNEEK8Vz8Asj9aRxt08oKOqtiZoqV2UGZ5T+EkyP9sXQ9nwMxBIG34a7jmasVqoMop7VdPUw==} + /@babel/helper-create-class-features-plugin@7.24.0(@babel/core@7.24.0): + resolution: {integrity: sha512-QAH+vfvts51BCsNZ2PhY6HAggnlS6omLLFTsIpeqZk/MmJ6cW7tgz5yRv0fMJThcr6FmbMrENh1RgrWPTYA76g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-function-name': 7.23.0 '@babel/helper-member-expression-to-functions': 7.23.0 '@babel/helper-optimise-call-expression': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.9) + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.24.0) '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 semver: 6.3.1 dev: true - /@babel/helper-create-regexp-features-plugin@7.22.15(@babel/core@7.23.9): + /@babel/helper-create-regexp-features-plugin@7.22.15(@babel/core@7.24.0): resolution: {integrity: sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-annotate-as-pure': 7.22.5 regexpu-core: 5.3.2 semver: 6.3.1 dev: true - /@babel/helper-define-polyfill-provider@0.5.0(@babel/core@7.23.9): + /@babel/helper-define-polyfill-provider@0.5.0(@babel/core@7.24.0): resolution: {integrity: sha512-NovQquuQLAQ5HuyjCz7WQP9MjRj7dx++yspwiyUiGl9ZyadHRSql1HZh5ogRd8W8w6YM6EQ/NTB8rgjLt5W65Q==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-plugin-utils': 7.24.0 debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.8 @@ -217,38 +217,38 @@ packages: resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.23.9 - '@babel/types': 7.23.9 + '@babel/template': 7.24.0 + '@babel/types': 7.24.0 dev: true /@babel/helper-hoist-variables@7.22.5: resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true /@babel/helper-member-expression-to-functions@7.23.0: resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true /@babel/helper-module-imports@7.22.15: resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true - /@babel/helper-module-transforms@7.23.3(@babel/core@7.23.9): + /@babel/helper-module-transforms@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-module-imports': 7.22.15 '@babel/helper-simple-access': 7.22.5 @@ -260,33 +260,33 @@ packages: resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true - /@babel/helper-plugin-utils@7.22.5: - resolution: {integrity: sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==} + /@babel/helper-plugin-utils@7.24.0: + resolution: {integrity: sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==} engines: {node: '>=6.9.0'} dev: true - /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.23.9): + /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.24.0): resolution: {integrity: sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-wrap-function': 7.22.20 dev: true - /@babel/helper-replace-supers@7.22.20(@babel/core@7.23.9): + /@babel/helper-replace-supers@7.22.20(@babel/core@7.24.0): resolution: {integrity: sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-member-expression-to-functions': 7.23.0 '@babel/helper-optimise-call-expression': 7.22.5 @@ -296,21 +296,21 @@ packages: resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true /@babel/helper-skip-transparent-expression-wrappers@7.22.5: resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true /@babel/helper-split-export-declaration@7.22.6: resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true /@babel/helper-string-parser@7.23.4: @@ -333,17 +333,17 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/helper-function-name': 7.23.0 - '@babel/template': 7.23.9 - '@babel/types': 7.23.9 + '@babel/template': 7.24.0 + '@babel/types': 7.24.0 dev: true - /@babel/helpers@7.23.9: - resolution: {integrity: sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ==} + /@babel/helpers@7.24.0: + resolution: {integrity: sha512-ulDZdc0Aj5uLc5nETsa7EPx2L7rM0YJM8r7ck7U73AXi7qOV44IHHRAYZHY6iU1rr3C5N4NtTmMRUJP6kwCWeA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.23.9 - '@babel/traverse': 7.23.9 - '@babel/types': 7.23.9 + '@babel/template': 7.24.0 + '@babel/traverse': 7.24.0 + '@babel/types': 7.24.0 transitivePeerDependencies: - supports-color dev: true @@ -357,937 +357,937 @@ packages: js-tokens: 4.0.0 dev: true - /@babel/parser@7.23.9: - resolution: {integrity: sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==} + /@babel/parser@7.24.0: + resolution: {integrity: sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg==} engines: {node: '>=6.0.0'} hasBin: true dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true - /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.23.3(@babel/core@7.23.9): + /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.23.3(@babel/core@7.23.9): + /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.13.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.9) + '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.24.0) dev: true - /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.23.7(@babel/core@7.23.9): + /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.23.7(@babel/core@7.24.0): resolution: {integrity: sha512-LlRT7HgaifEpQA1ZgLVOIJZZFVPWN5iReq/7/JixwBtwcoeVGDBD53ZV28rrsLYOZs1Y/EHhA8N/Z6aazHR8cw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.9): + /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.24.0): resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 dev: true - /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.23.9): + /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.24.0): resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.24.0): resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.23.9): + /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.24.0): resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.23.9): + /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.24.0): resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.24.0): resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.24.0): resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-import-assertions@7.23.3(@babel/core@7.23.9): + /@babel/plugin-syntax-import-assertions@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-import-attributes@7.23.3(@babel/core@7.23.9): + /@babel/plugin-syntax-import-attributes@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.23.9): + /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.24.0): resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.24.0): resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.9): + /@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.23.9): + /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.24.0): resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.24.0): resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.9): + /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.24.0): resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.24.0): resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.24.0): resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.23.9): + /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.24.0): resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.23.9): + /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.24.0): resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.23.9): + /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.24.0): resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-typescript@7.23.3(@babel/core@7.23.9): + /@babel/plugin-syntax-typescript@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.23.9): + /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.24.0): resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-arrow-functions@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-arrow-functions@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-async-generator-functions@7.23.9(@babel/core@7.23.9): + /@babel/plugin-transform-async-generator-functions@7.23.9(@babel/core@7.24.0): resolution: {integrity: sha512-8Q3veQEDGe14dTYuwagbRtwxQDnytyg1JFu4/HwEMETeofocrB0U0ejBJIXoeG/t2oXZ8kzCyI0ZZfbT80VFNQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.9) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.9) + '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.24.0) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-async-to-generator@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-async-to-generator@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-A7LFsKi4U4fomjqXJlZg/u0ft/n8/7n7lpffUP/ZULx/DtV9SGlNKZolHH6PE8Xl1ngCc0M11OaeZptXVkfKSw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-module-imports': 7.22.15 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.9) + '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-block-scoped-functions@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-block-scoped-functions@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-block-scoping@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-block-scoping@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-class-properties@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-class-properties@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.23.10(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-class-static-block@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-class-static-block@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.12.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.23.10(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-classes@7.23.8(@babel/core@7.23.9): + /@babel/plugin-transform-classes@7.23.8(@babel/core@7.24.0): resolution: {integrity: sha512-yAYslGsY1bX6Knmg46RjiCiNSwJKv2IUC8qOdYKqMMr0491SXFhcHqOdRDeCRohOOIzwN/90C6mQ9qAKgrP7dg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-function-name': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.9) + '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.24.0) '@babel/helper-split-export-declaration': 7.22.6 globals: 11.12.0 dev: true - /@babel/plugin-transform-computed-properties@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-computed-properties@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/template': 7.23.9 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + '@babel/template': 7.24.0 dev: true - /@babel/plugin-transform-destructuring@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-destructuring@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-dotall-regex@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-dotall-regex@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-duplicate-keys@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-duplicate-keys@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-dynamic-import@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-dynamic-import@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-exponentiation-operator@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-exponentiation-operator@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-builder-binary-assignment-operator-visitor': 7.22.15 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-export-namespace-from@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-export-namespace-from@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-for-of@7.23.6(@babel/core@7.23.9): + /@babel/plugin-transform-for-of@7.23.6(@babel/core@7.24.0): resolution: {integrity: sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 dev: true - /@babel/plugin-transform-function-name@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-function-name@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-compilation-targets': 7.23.6 '@babel/helper-function-name': 7.23.0 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-json-strings@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-json-strings@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-literals@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-literals@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-logical-assignment-operators@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-logical-assignment-operators@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-member-expression-literals@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-member-expression-literals@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-modules-amd@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-modules-amd@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 '@babel/helper-simple-access': 7.22.5 dev: true - /@babel/plugin-transform-modules-systemjs@7.23.9(@babel/core@7.23.9): + /@babel/plugin-transform-modules-systemjs@7.23.9(@babel/core@7.24.0): resolution: {integrity: sha512-KDlPRM6sLo4o1FkiSlXoAa8edLXFsKKIda779fbLrvmeuc3itnjCtaO6RrtoaANsIJANj+Vk1zqbZIMhkCAHVw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 '@babel/helper-validator-identifier': 7.22.20 dev: true - /@babel/plugin-transform-modules-umd@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-modules-umd@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.23.9): + /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.24.0): resolution: {integrity: sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-new-target@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-new-target@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-nullish-coalescing-operator@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-nullish-coalescing-operator@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-numeric-separator@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-numeric-separator@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-object-rest-spread@7.23.4(@babel/core@7.23.9): - resolution: {integrity: sha512-9x9K1YyeQVw0iOXJlIzwm8ltobIIv7j2iLyP2jIhEbqPRQ7ScNgwQufU2I0Gq11VjyG4gI4yMXt2VFags+1N3g==} + /@babel/plugin-transform-object-rest-spread@7.24.0(@babel/core@7.24.0): + resolution: {integrity: sha512-y/yKMm7buHpFFXfxVFS4Vk1ToRJDilIa6fKRioB9Vjichv58TDGXTvqV0dN7plobAmTW5eSEGXDngE+Mm+uO+w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.9) + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-object-super@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-object-super@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-optional-catch-binding@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-optional-catch-binding@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-optional-chaining@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-optional-chaining@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.9) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-parameters@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-parameters@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-private-methods@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-private-methods@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-class-features-plugin': 7.23.10(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-private-property-in-object@7.23.4(@babel/core@7.23.9): + /@babel/plugin-transform-private-property-in-object@7.23.4(@babel/core@7.24.0): resolution: {integrity: sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.23.10(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.9) + '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-property-literals@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-property-literals@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-regenerator@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-regenerator@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 regenerator-transform: 0.15.2 dev: true - /@babel/plugin-transform-reserved-words@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-reserved-words@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-shorthand-properties@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-shorthand-properties@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-spread@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-spread@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 dev: true - /@babel/plugin-transform-sticky-regex@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-sticky-regex@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-template-literals@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-template-literals@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-typeof-symbol@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-typeof-symbol@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-typescript@7.23.6(@babel/core@7.23.9): + /@babel/plugin-transform-typescript@7.23.6(@babel/core@7.24.0): resolution: {integrity: sha512-6cBG5mBvUu4VUD04OHKnYzbuHNP8huDsD3EDqqpIpsswTDoqHCjLoHb6+QgsV1WsT2nipRqCPgxD3LXnEO7XfA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-annotate-as-pure': 7.22.5 - '@babel/helper-create-class-features-plugin': 7.23.10(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 - '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.9) + '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 + '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.24.0) dev: true - /@babel/plugin-transform-unicode-escapes@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-unicode-escapes@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-unicode-property-regex@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-unicode-property-regex@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-unicode-regex@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-unicode-regex@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/plugin-transform-unicode-sets-regex@7.23.3(@babel/core@7.23.9): + /@babel/plugin-transform-unicode-sets-regex@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.9) - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.24.0) + '@babel/helper-plugin-utils': 7.24.0 dev: true - /@babel/preset-env@7.23.9(@babel/core@7.23.9): - resolution: {integrity: sha512-3kBGTNBBk9DQiPoXYS0g0BYlwTQYUTifqgKTjxUwEUkduRT2QOa0FPGBJ+NROQhGyYO5BuTJwGvBnqKDykac6A==} + /@babel/preset-env@7.24.0(@babel/core@7.24.0): + resolution: {integrity: sha512-ZxPEzV9IgvGn73iK0E6VB9/95Nd7aMFpbE0l8KQFDG70cOV9IxRP7Y2FUPmlK0v6ImlLqYX50iuZ3ZTVhOF2lA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-plugin-utils': 7.24.0 '@babel/helper-validator-option': 7.23.5 - '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.23.7(@babel/core@7.23.9) - '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.9) - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.9) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.9) - '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.9) - '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-syntax-import-attributes': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.9) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.9) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.9) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.9) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.9) - '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.23.9) - '@babel/plugin-transform-arrow-functions': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-async-generator-functions': 7.23.9(@babel/core@7.23.9) - '@babel/plugin-transform-async-to-generator': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-block-scoped-functions': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-block-scoping': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-class-properties': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-class-static-block': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-classes': 7.23.8(@babel/core@7.23.9) - '@babel/plugin-transform-computed-properties': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-destructuring': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-dotall-regex': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-duplicate-keys': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-dynamic-import': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-exponentiation-operator': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-export-namespace-from': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-for-of': 7.23.6(@babel/core@7.23.9) - '@babel/plugin-transform-function-name': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-json-strings': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-literals': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-logical-assignment-operators': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-member-expression-literals': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-modules-amd': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-modules-systemjs': 7.23.9(@babel/core@7.23.9) - '@babel/plugin-transform-modules-umd': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.23.9) - '@babel/plugin-transform-new-target': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-nullish-coalescing-operator': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-numeric-separator': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-object-rest-spread': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-object-super': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-optional-catch-binding': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-private-methods': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-private-property-in-object': 7.23.4(@babel/core@7.23.9) - '@babel/plugin-transform-property-literals': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-regenerator': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-reserved-words': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-shorthand-properties': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-spread': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-sticky-regex': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-template-literals': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-typeof-symbol': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-unicode-escapes': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-unicode-property-regex': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.23.9) - '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.9) - babel-plugin-polyfill-corejs2: 0.4.8(@babel/core@7.23.9) - babel-plugin-polyfill-corejs3: 0.9.0(@babel/core@7.23.9) - babel-plugin-polyfill-regenerator: 0.5.5(@babel/core@7.23.9) + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.23.7(@babel/core@7.24.0) + '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.24.0) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.0) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.24.0) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.24.0) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-syntax-import-attributes': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.24.0) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.0) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.0) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.24.0) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.24.0) + '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.24.0) + '@babel/plugin-transform-arrow-functions': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-async-generator-functions': 7.23.9(@babel/core@7.24.0) + '@babel/plugin-transform-async-to-generator': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-block-scoped-functions': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-block-scoping': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-class-properties': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-class-static-block': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-classes': 7.23.8(@babel/core@7.24.0) + '@babel/plugin-transform-computed-properties': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-destructuring': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-dotall-regex': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-duplicate-keys': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-dynamic-import': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-exponentiation-operator': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-export-namespace-from': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-for-of': 7.23.6(@babel/core@7.24.0) + '@babel/plugin-transform-function-name': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-json-strings': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-literals': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-logical-assignment-operators': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-member-expression-literals': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-modules-amd': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-modules-systemjs': 7.23.9(@babel/core@7.24.0) + '@babel/plugin-transform-modules-umd': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.24.0) + '@babel/plugin-transform-new-target': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-nullish-coalescing-operator': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-numeric-separator': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-object-rest-spread': 7.24.0(@babel/core@7.24.0) + '@babel/plugin-transform-object-super': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-optional-catch-binding': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-private-methods': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-private-property-in-object': 7.23.4(@babel/core@7.24.0) + '@babel/plugin-transform-property-literals': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-regenerator': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-reserved-words': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-shorthand-properties': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-spread': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-sticky-regex': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-template-literals': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-typeof-symbol': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-unicode-escapes': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-unicode-property-regex': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.24.0) + '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.24.0) + babel-plugin-polyfill-corejs2: 0.4.8(@babel/core@7.24.0) + babel-plugin-polyfill-corejs3: 0.9.0(@babel/core@7.24.0) + babel-plugin-polyfill-regenerator: 0.5.5(@babel/core@7.24.0) core-js-compat: 3.36.0 semver: 6.3.1 transitivePeerDependencies: - supports-color dev: true - /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.23.9): + /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.24.0): resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==} peerDependencies: '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 - '@babel/types': 7.23.9 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + '@babel/types': 7.24.0 esutils: 2.0.3 dev: true - /@babel/preset-typescript@7.23.3(@babel/core@7.23.9): + /@babel/preset-typescript@7.23.3(@babel/core@7.24.0): resolution: {integrity: sha512-17oIGVlqz6CchO9RFYn5U6ZpWRZIngayYCtrPRSgANSwC2V1Jb+iP74nVxzzXJte8b8BYxrL1yY96xfhTBrNNQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 '@babel/helper-validator-option': 7.23.5 - '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.9) + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.24.0) dev: true /@babel/regjsgen@0.8.0: resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} dev: true - /@babel/runtime@7.23.9: - resolution: {integrity: sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==} + /@babel/runtime@7.24.0: + resolution: {integrity: sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==} engines: {node: '>=6.9.0'} dependencies: regenerator-runtime: 0.14.1 dev: true - /@babel/template@7.23.9: - resolution: {integrity: sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==} + /@babel/template@7.24.0: + resolution: {integrity: sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.23.5 - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 dev: true - /@babel/traverse@7.23.9: - resolution: {integrity: sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg==} + /@babel/traverse@7.24.0: + resolution: {integrity: sha512-HfuJlI8qq3dEDmNU5ChzzpZRWq+oxCZQyMzIMEqLho+AQnhMnKQUzH6ydo3RBl/YjPCuk68Y6s0Gx0AeyULiWw==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.23.5 @@ -1296,16 +1296,16 @@ packages: '@babel/helper-function-name': 7.23.0 '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: - supports-color dev: true - /@babel/types@7.23.9: - resolution: {integrity: sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==} + /@babel/types@7.24.0: + resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-string-parser': 7.23.4 @@ -1324,21 +1324,21 @@ packages: dev: true optional: true - /@commercelayer/eslint-config-ts@1.3.0(eslint@8.56.0)(typescript@5.3.3): + /@commercelayer/eslint-config-ts@1.3.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-N0ADyBWf2oPD4q0xVA7T18C+sYfAGmxiLPU8c99k3Mn9nN++gKJxXOL16zClokmfdEYn481nvmQHcmUaKOJYZw==} peerDependencies: eslint: '>=8.0' typescript: '>=5.0' dependencies: - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 - eslint-config-prettier: 9.1.0(eslint@8.56.0) - eslint-config-standard-with-typescript: 42.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0) - eslint-plugin-n: 16.6.2(eslint@8.56.0) - eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.5) - eslint-plugin-promise: 6.1.1(eslint@8.56.0) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + eslint: 8.57.0 + eslint-config-prettier: 9.1.0(eslint@8.57.0) + eslint-config-standard-with-typescript: 42.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.3.3) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.57.0) + eslint-plugin-n: 16.6.2(eslint@8.57.0) + eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.57.0)(prettier@3.2.5) + eslint-plugin-promise: 6.1.1(eslint@8.57.0) prettier: 3.2.5 typescript: 5.3.3 transitivePeerDependencies: @@ -1558,13 +1558,13 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.56.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.57.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.56.0 + eslint: 8.57.0 eslint-visitor-keys: 3.4.3 dev: true @@ -1590,8 +1590,8 @@ packages: - supports-color dev: true - /@eslint/js@8.56.0: - resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==} + /@eslint/js@8.57.0: + resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true @@ -1648,7 +1648,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.18 + '@types/node': 20.11.21 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1669,14 +1669,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.18 + '@types/node': 20.11.21 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1704,7 +1704,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.18 + '@types/node': 20.11.21 jest-mock: 29.7.0 dev: true @@ -1731,7 +1731,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.18 + '@types/node': 20.11.21 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1763,18 +1763,18 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.22 - '@types/node': 20.11.18 + '@jridgewell/trace-mapping': 0.3.23 + '@types/node': 20.11.21 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 glob: 7.2.3 graceful-fs: 4.2.11 istanbul-lib-coverage: 3.2.2 - istanbul-lib-instrument: 6.0.1 + istanbul-lib-instrument: 6.0.2 istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 4.0.1 - istanbul-reports: 3.1.6 + istanbul-reports: 3.1.7 jest-message-util: 29.7.0 jest-util: 29.7.0 jest-worker: 29.7.0 @@ -1797,7 +1797,7 @@ packages: resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jridgewell/trace-mapping': 0.3.22 + '@jridgewell/trace-mapping': 0.3.23 callsites: 3.1.0 graceful-fs: 4.2.11 dev: true @@ -1826,9 +1826,9 @@ packages: resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.22 + '@jridgewell/trace-mapping': 0.3.23 babel-plugin-istanbul: 6.1.1 chalk: 4.1.2 convert-source-map: 2.0.0 @@ -1852,18 +1852,18 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.18 + '@types/node': 20.11.21 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true - /@jridgewell/gen-mapping@0.3.3: - resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} + /@jridgewell/gen-mapping@0.3.4: + resolution: {integrity: sha512-Oud2QPM5dHviZNn4y/WhhYKSXksv+1xLEIsNrAbGcFzUN3ubqWRFT5gwPchNc5NuzILOU4tPBDTZ4VwhL8Y7cw==} engines: {node: '>=6.0.0'} dependencies: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.22 + '@jridgewell/trace-mapping': 0.3.23 dev: true /@jridgewell/resolve-uri@3.1.2: @@ -1880,8 +1880,8 @@ packages: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true - /@jridgewell/trace-mapping@0.3.22: - resolution: {integrity: sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==} + /@jridgewell/trace-mapping@0.3.23: + resolution: {integrity: sha512-9/4foRoUKp8s96tSkh8DlAAc5A0Ty8vLXld+l9gjKKY6ckwI8G15f0hskGmuLZu78ZlGa1vtsfOa+lnB4vG6Jg==} dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 @@ -1928,7 +1928,7 @@ packages: '@octokit/graphql': 7.0.2 '@octokit/request': 8.2.0 '@octokit/request-error': 5.0.1 - '@octokit/types': 12.4.0 + '@octokit/types': 12.6.0 before-after-hook: 2.2.3 universal-user-agent: 6.0.1 dev: true @@ -1937,7 +1937,7 @@ packages: resolution: {integrity: sha512-DWPLtr1Kz3tv8L0UvXTDP1fNwM0S+z6EJpRcvH66orY6Eld4XBMCSYsaWp4xIm61jTWxK68BrR7ibO+vSDnZqw==} engines: {node: '>= 18'} dependencies: - '@octokit/types': 12.4.0 + '@octokit/types': 12.6.0 universal-user-agent: 6.0.1 dev: true @@ -1946,22 +1946,22 @@ packages: engines: {node: '>= 18'} dependencies: '@octokit/request': 8.2.0 - '@octokit/types': 12.4.0 + '@octokit/types': 12.6.0 universal-user-agent: 6.0.1 dev: true - /@octokit/openapi-types@19.1.0: - resolution: {integrity: sha512-6G+ywGClliGQwRsjvqVYpklIfa7oRPA0vyhPQG/1Feh+B+wU0vGH1JiJ5T25d3g1JZYBHzR2qefLi9x8Gt+cpw==} + /@octokit/openapi-types@20.0.0: + resolution: {integrity: sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==} dev: true - /@octokit/plugin-paginate-rest@9.1.5(@octokit/core@5.1.0): - resolution: {integrity: sha512-WKTQXxK+bu49qzwv4qKbMMRXej1DU2gq017euWyKVudA6MldaSSQuxtz+vGbhxV4CjxpUxjZu6rM2wfc1FiWVg==} + /@octokit/plugin-paginate-rest@9.2.0(@octokit/core@5.1.0): + resolution: {integrity: sha512-NKi0bJEZqOSbBLMv9kdAcuocpe05Q2xAXNLTGi0HN2GSMFJHNZuSoPNa0tcQFTOFCKe+ZaYBZ3lpXh1yxgUDCA==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': '>=5' dependencies: '@octokit/core': 5.1.0 - '@octokit/types': 12.4.0 + '@octokit/types': 12.6.0 dev: true /@octokit/plugin-retry@6.0.1(@octokit/core@5.1.0): @@ -1972,18 +1972,18 @@ packages: dependencies: '@octokit/core': 5.1.0 '@octokit/request-error': 5.0.1 - '@octokit/types': 12.4.0 + '@octokit/types': 12.6.0 bottleneck: 2.19.5 dev: true - /@octokit/plugin-throttling@8.1.3(@octokit/core@5.1.0): - resolution: {integrity: sha512-pfyqaqpc0EXh5Cn4HX9lWYsZ4gGbjnSmUILeu4u2gnuM50K/wIk9s1Pxt3lVeVwekmITgN/nJdoh43Ka+vye8A==} + /@octokit/plugin-throttling@8.2.0(@octokit/core@5.1.0): + resolution: {integrity: sha512-nOpWtLayKFpgqmgD0y3GqXafMFuKcA4tRPZIfu7BArd2lEZeb1988nhWhwx4aZWmjDmUfdgVf7W+Tt4AmvRmMQ==} engines: {node: '>= 18'} peerDependencies: '@octokit/core': ^5.0.0 dependencies: '@octokit/core': 5.1.0 - '@octokit/types': 12.4.0 + '@octokit/types': 12.6.0 bottleneck: 2.19.5 dev: true @@ -1991,7 +1991,7 @@ packages: resolution: {integrity: sha512-X7pnyTMV7MgtGmiXBwmO6M5kIPrntOXdyKZLigNfQWSEQzVxR4a4vo49vJjTWX70mPndj8KhfT4Dx+2Ng3vnBQ==} engines: {node: '>= 18'} dependencies: - '@octokit/types': 12.4.0 + '@octokit/types': 12.6.0 deprecation: 2.3.1 once: 1.4.0 dev: true @@ -2002,14 +2002,14 @@ packages: dependencies: '@octokit/endpoint': 9.0.4 '@octokit/request-error': 5.0.1 - '@octokit/types': 12.4.0 + '@octokit/types': 12.6.0 universal-user-agent: 6.0.1 dev: true - /@octokit/types@12.4.0: - resolution: {integrity: sha512-FLWs/AvZllw/AGVs+nJ+ELCDZZJk+kY0zMen118xhL2zD0s1etIUHm1odgjP7epxYU1ln7SZxEUWYop5bhsdgQ==} + /@octokit/types@12.6.0: + resolution: {integrity: sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==} dependencies: - '@octokit/openapi-types': 19.1.0 + '@octokit/openapi-types': 20.0.0 dev: true /@pkgjs/parseargs@0.11.0: @@ -2112,16 +2112,16 @@ packages: semantic-release: '>=20.1.0' dependencies: '@octokit/core': 5.1.0 - '@octokit/plugin-paginate-rest': 9.1.5(@octokit/core@5.1.0) + '@octokit/plugin-paginate-rest': 9.2.0(@octokit/core@5.1.0) '@octokit/plugin-retry': 6.0.1(@octokit/core@5.1.0) - '@octokit/plugin-throttling': 8.1.3(@octokit/core@5.1.0) + '@octokit/plugin-throttling': 8.2.0(@octokit/core@5.1.0) '@semantic-release/error': 4.0.0 aggregate-error: 5.0.0 debug: 4.3.4 dir-glob: 3.0.1 globby: 14.0.1 - http-proxy-agent: 7.0.1 - https-proxy-agent: 7.0.3 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.4 issue-parser: 6.0.0 lodash-es: 4.17.21 mime: 4.0.1 @@ -2184,8 +2184,8 @@ packages: engines: {node: '>=10'} dev: true - /@sindresorhus/merge-streams@2.2.1: - resolution: {integrity: sha512-255V7MMIKw6aQ43Wbqp9HZ+VHn6acddERTLiiLnlcPLU9PdTq9Aijl12oklAgUEblLWye+vHLzmqBx6f2TGcZw==} + /@sindresorhus/merge-streams@2.3.0: + resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} dev: true @@ -2220,8 +2220,8 @@ packages: /@types/babel__core@7.20.5: resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} dependencies: - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.5 @@ -2230,20 +2230,20 @@ packages: /@types/babel__generator@7.6.8: resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true /@types/babel__template@7.4.4: resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} dependencies: - '@babel/parser': 7.23.9 - '@babel/types': 7.23.9 + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 dev: true /@types/babel__traverse@7.20.5: resolution: {integrity: sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==} dependencies: - '@babel/types': 7.23.9 + '@babel/types': 7.24.0 dev: true /@types/debug@4.1.12: @@ -2255,7 +2255,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.18 + '@types/node': 20.11.21 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -2297,8 +2297,8 @@ packages: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.11.18: - resolution: {integrity: sha512-ABT5VWnnYneSBcNWYSCuR05M826RoMyMSGiFivXGx6ZUIsXb9vn4643IEwkg2zbEOSgAiSogtapN2fgc4mAPlw==} + /@types/node@20.11.21: + resolution: {integrity: sha512-/ySDLGscFPNasfqStUuWWPfL78jompfIoVzLJPVVAHBh6rpG68+pI2Gk+fNLeI8/f1yPYL4s46EleVIc20F1Ow==} dependencies: undici-types: 5.26.5 dev: true @@ -2307,8 +2307,8 @@ packages: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} dev: true - /@types/semver@7.5.7: - resolution: {integrity: sha512-/wdoPq1QqkSj9/QOeKkFquEuPzQbHTWAMPH/PaUMB+JuR31lXhlWXRZ52IpfDYVlDOUBvX09uBrPwxGT1hjNBg==} + /@types/semver@7.5.8: + resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} dev: true /@types/stack-utils@2.0.3: @@ -2325,7 +2325,7 @@ packages: '@types/yargs-parser': 21.0.3 dev: true - /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2337,13 +2337,13 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/type-utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/type-utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 - eslint: 8.56.0 + eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 @@ -2354,7 +2354,7 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2369,7 +2369,7 @@ packages: '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 - eslint: 8.56.0 + eslint: 8.57.0 typescript: 5.3.3 transitivePeerDependencies: - supports-color @@ -2383,7 +2383,7 @@ packages: '@typescript-eslint/visitor-keys': 6.21.0 dev: true - /@typescript-eslint/type-utils@6.21.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/type-utils@6.21.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2394,9 +2394,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) debug: 4.3.4 - eslint: 8.56.0 + eslint: 8.57.0 ts-api-utils: 1.2.1(typescript@5.3.3) typescript: 5.3.3 transitivePeerDependencies: @@ -2430,19 +2430,19 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.21.0(eslint@8.56.0)(typescript@5.3.3): + /@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.15 - '@types/semver': 7.5.7 + '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) - eslint: 8.56.0 + eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: - supports-color @@ -2676,16 +2676,18 @@ packages: es-errors: 1.3.0 get-intrinsic: 1.2.4 is-array-buffer: 3.0.4 - is-shared-array-buffer: 1.0.2 + is-shared-array-buffer: 1.0.3 dev: true /asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} dev: false - /available-typed-arrays@1.0.6: - resolution: {integrity: sha512-j1QzY8iPNPG4o4xmO3ptzpRxTciqD3MgEHtifP/YnJpIo58Xu+ne4BejlbkuaLfXn/nz6HFiw29bLpj2PNMdGg==} + /available-typed-arrays@1.0.7: + resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} + dependencies: + possible-typed-array-names: 1.0.0 dev: true /axios@1.6.7: @@ -2698,17 +2700,17 @@ packages: - debug dev: false - /babel-jest@29.7.0(@babel/core@7.23.9): + /babel-jest@29.7.0(@babel/core@7.24.0): resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.8.0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@jest/transform': 29.7.0 '@types/babel__core': 7.20.5 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 29.6.3(@babel/core@7.23.9) + babel-preset-jest: 29.6.3(@babel/core@7.24.0) chalk: 4.1.2 graceful-fs: 4.2.11 slash: 3.0.0 @@ -2720,7 +2722,7 @@ packages: resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} engines: {node: '>=8'} dependencies: - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-plugin-utils': 7.24.0 '@istanbuljs/load-nyc-config': 1.1.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-instrument: 5.2.1 @@ -2733,77 +2735,77 @@ packages: resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/template': 7.23.9 - '@babel/types': 7.23.9 + '@babel/template': 7.24.0 + '@babel/types': 7.24.0 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.5 dev: true - /babel-plugin-polyfill-corejs2@0.4.8(@babel/core@7.23.9): + /babel-plugin-polyfill-corejs2@0.4.8(@babel/core@7.24.0): resolution: {integrity: sha512-OtIuQfafSzpo/LhnJaykc0R/MMnuLSSVjVYy9mHArIZ9qTCSZ6TpWCuEKZYVoN//t8HqBNScHrOtCrIK5IaGLg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: '@babel/compat-data': 7.23.5 - '@babel/core': 7.23.9 - '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.24.0) semver: 6.3.1 transitivePeerDependencies: - supports-color dev: true - /babel-plugin-polyfill-corejs3@0.9.0(@babel/core@7.23.9): + /babel-plugin-polyfill-corejs3@0.9.0(@babel/core@7.24.0): resolution: {integrity: sha512-7nZPG1uzK2Ymhy/NbaOWTg3uibM2BmGASS4vHS4szRZAIR8R6GwA/xAujpdrXU5iyklrimWnLWU+BLF9suPTqg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.24.0) core-js-compat: 3.36.0 transitivePeerDependencies: - supports-color dev: true - /babel-plugin-polyfill-regenerator@0.5.5(@babel/core@7.23.9): + /babel-plugin-polyfill-regenerator@0.5.5(@babel/core@7.24.0): resolution: {integrity: sha512-OJGYZlhLqBh2DDHeqAxWB1XIvr49CxiJ2gIt61/PU55CQK4Z58OzMqjDe1zwQdQk+rBYsRc+1rJmdajM3gimHg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.23.9) + '@babel/core': 7.24.0 + '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.24.0) transitivePeerDependencies: - supports-color dev: true - /babel-preset-current-node-syntax@1.0.1(@babel/core@7.23.9): + /babel-preset-current-node-syntax@1.0.1(@babel/core@7.24.0): resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 - '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.9) - '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.9) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.9) - '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.9) - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.9) - '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.9) - '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.9) - dev: true - - /babel-preset-jest@29.6.3(@babel/core@7.23.9): + '@babel/core': 7.24.0 + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.0) + '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.24.0) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.24.0) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.0) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.0) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.24.0) + dev: true + + /babel-preset-jest@29.6.3(@babel/core@7.24.0): resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 babel-plugin-jest-hoist: 29.6.3 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.9) + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.24.0) dev: true /balanced-match@1.0.2: @@ -2843,8 +2845,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001587 - electron-to-chromium: 1.4.670 + caniuse-lite: 1.0.30001591 + electron-to-chromium: 1.4.685 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -2896,8 +2898,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite@1.0.30001587: - resolution: {integrity: sha512-HMFNotUmLXn71BQxg8cijvqxnIAofforZOwGsxyXJ0qugTdspUF4sPSJ2vhgprHCB996tIDzEq1ubumPDV8ULA==} + /caniuse-lite@1.0.30001591: + resolution: {integrity: sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ==} dev: true /chalk@2.4.2: @@ -3113,7 +3115,7 @@ packages: typescript: 5.3.3 dev: true - /create-jest@29.7.0(@types/node@20.11.18)(ts-node@10.9.2): + /create-jest@29.7.0(@types/node@20.11.21)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3122,7 +3124,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3268,8 +3270,8 @@ packages: is-obj: 2.0.0 dev: true - /dotenv@16.4.4: - resolution: {integrity: sha512-XvPXc8XAQThSjAbY6cQ/9PcBXmFoWuw1sQ3b8HqUCR6ziGXjkTi//kB9SWa2UwqlgdAIuRqAa/9hVljzPehbYg==} + /dotenv@16.4.5: + resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} engines: {node: '>=12'} dev: true @@ -3287,8 +3289,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.670: - resolution: {integrity: sha512-hcijYOWjOtjKrKPtNA6tuLlA/bTLO3heFG8pQA6mLpq7dRydSWicXova5lyxDzp1iVJaYhK7J2OQlGE52KYn7A==} + /electron-to-chromium@1.4.685: + resolution: {integrity: sha512-yDYeobbTEe4TNooEzOQO6xFqg9XnAkVy2Lod1C1B2it8u47JNLYvl9nLDWBamqUakWB8Jc1hhS1uHUNYTNQdfw==} dev: true /emittery@0.13.1: @@ -3333,11 +3335,11 @@ packages: dependencies: array-buffer-byte-length: 1.0.1 arraybuffer.prototype.slice: 1.0.3 - available-typed-arrays: 1.0.6 + available-typed-arrays: 1.0.7 call-bind: 1.0.7 es-define-property: 1.0.0 es-errors: 1.3.0 - es-set-tostringtag: 2.0.2 + es-set-tostringtag: 2.0.3 es-to-primitive: 1.2.1 function.prototype.name: 1.1.6 get-intrinsic: 1.2.4 @@ -3345,15 +3347,15 @@ packages: globalthis: 1.0.3 gopd: 1.0.1 has-property-descriptors: 1.0.2 - has-proto: 1.0.1 + has-proto: 1.0.3 has-symbols: 1.0.3 hasown: 2.0.1 internal-slot: 1.0.7 is-array-buffer: 3.0.4 is-callable: 1.2.7 - is-negative-zero: 2.0.2 + is-negative-zero: 2.0.3 is-regex: 1.1.4 - is-shared-array-buffer: 1.0.2 + is-shared-array-buffer: 1.0.3 is-string: 1.0.7 is-typed-array: 1.1.13 is-weakref: 1.0.2 @@ -3366,10 +3368,10 @@ packages: string.prototype.trim: 1.2.8 string.prototype.trimend: 1.0.7 string.prototype.trimstart: 1.0.7 - typed-array-buffer: 1.0.1 - typed-array-byte-length: 1.0.0 - typed-array-byte-offset: 1.0.0 - typed-array-length: 1.0.4 + typed-array-buffer: 1.0.2 + typed-array-byte-length: 1.0.1 + typed-array-byte-offset: 1.0.2 + typed-array-length: 1.0.5 unbox-primitive: 1.0.2 which-typed-array: 1.1.14 dev: true @@ -3390,8 +3392,8 @@ packages: engines: {node: '>= 0.4'} dev: true - /es-set-tostringtag@2.0.2: - resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} + /es-set-tostringtag@2.0.3: + resolution: {integrity: sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==} engines: {node: '>= 0.4'} dependencies: get-intrinsic: 1.2.4 @@ -3469,25 +3471,25 @@ packages: engines: {node: '>=12'} dev: true - /eslint-compat-utils@0.1.2(eslint@8.56.0): + /eslint-compat-utils@0.1.2(eslint@8.57.0): resolution: {integrity: sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==} engines: {node: '>=12'} peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.56.0 + eslint: 8.57.0 dev: true - /eslint-config-prettier@9.1.0(eslint@8.56.0): + /eslint-config-prettier@9.1.0(eslint@8.57.0): resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.56.0 + eslint: 8.57.0 dev: true - /eslint-config-standard-with-typescript@42.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0)(typescript@5.3.3): + /eslint-config-standard-with-typescript@42.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.3.3): resolution: {integrity: sha512-m1/2g/Sicun1uFZOFigJVeOqo9fE7OkMsNtilcpHwdCdcGr21qsGqYiyxYSvvHfJwY7w5OTQH0hxk8sM2N5Ohg==} peerDependencies: '@typescript-eslint/eslint-plugin': ^6.4.0 @@ -3497,19 +3499,19 @@ packages: eslint-plugin-promise: ^6.0.0 typescript: '*' dependencies: - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) - eslint: 8.56.0 - eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0) - eslint-plugin-n: 16.6.2(eslint@8.56.0) - eslint-plugin-promise: 6.1.1(eslint@8.56.0) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + eslint: 8.57.0 + eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.57.0) + eslint-plugin-n: 16.6.2(eslint@8.57.0) + eslint-plugin-promise: 6.1.1(eslint@8.57.0) typescript: 5.3.3 transitivePeerDependencies: - supports-color dev: true - /eslint-config-standard@17.1.0(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.56.0): + /eslint-config-standard@17.1.0(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.57.0): resolution: {integrity: sha512-IwHwmaBNtDK4zDHQukFDW5u/aTb8+meQWZvNFWkiGmbWjD6bqyuSSBxxXKkCftCUzc1zwCH2m/baCNDLGmuO5Q==} engines: {node: '>=12.0.0'} peerDependencies: @@ -3518,10 +3520,10 @@ packages: eslint-plugin-n: '^15.0.0 || ^16.0.0 ' eslint-plugin-promise: ^6.0.0 dependencies: - eslint: 8.56.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0) - eslint-plugin-n: 16.6.2(eslint@8.56.0) - eslint-plugin-promise: 6.1.1(eslint@8.56.0) + eslint: 8.57.0 + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.57.0) + eslint-plugin-n: 16.6.2(eslint@8.57.0) + eslint-plugin-promise: 6.1.1(eslint@8.57.0) dev: true /eslint-import-resolver-node@0.3.9: @@ -3534,8 +3536,8 @@ packages: - supports-color dev: true - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + /eslint-module-utils@2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0): + resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -3555,27 +3557,27 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) debug: 3.2.7 - eslint: 8.56.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-es-x@7.5.0(eslint@8.56.0): + /eslint-plugin-es-x@7.5.0(eslint@8.57.0): resolution: {integrity: sha512-ODswlDSO0HJDzXU0XvgZ3lF3lS3XAZEossh15Q2UHjwrJggWeBoKqqEsLTZLXl+dh5eOAozG0zRcYtuE35oTuQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '>=8' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@eslint-community/regexpp': 4.10.0 - eslint: 8.56.0 - eslint-compat-utils: 0.1.2(eslint@8.56.0) + eslint: 8.57.0 + eslint-compat-utils: 0.1.2(eslint@8.57.0) dev: true - /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0): + /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.57.0): resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} engines: {node: '>=4'} peerDependencies: @@ -3585,16 +3587,16 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.4 array.prototype.flat: 1.3.2 array.prototype.flatmap: 1.3.2 debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.56.0 + eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.1 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -3610,16 +3612,16 @@ packages: - supports-color dev: true - /eslint-plugin-n@16.6.2(eslint@8.56.0): + /eslint-plugin-n@16.6.2(eslint@8.57.0): resolution: {integrity: sha512-6TyDmZ1HXoFQXnhCTUjVFULReoBPOAjpuiKELMkeP40yffI/1ZRO+d9ug/VC6fqISo2WkuIBk3cvuRPALaWlOQ==} engines: {node: '>=16.0.0'} peerDependencies: eslint: '>=7.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) builtins: 5.0.1 - eslint: 8.56.0 - eslint-plugin-es-x: 7.5.0(eslint@8.56.0) + eslint: 8.57.0 + eslint-plugin-es-x: 7.5.0(eslint@8.57.0) get-tsconfig: 4.7.2 globals: 13.24.0 ignore: 5.3.1 @@ -3630,7 +3632,7 @@ packages: semver: 7.6.0 dev: true - /eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.5): + /eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0)(eslint@8.57.0)(prettier@3.2.5): resolution: {integrity: sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3644,20 +3646,20 @@ packages: eslint-config-prettier: optional: true dependencies: - eslint: 8.56.0 - eslint-config-prettier: 9.1.0(eslint@8.56.0) + eslint: 8.57.0 + eslint-config-prettier: 9.1.0(eslint@8.57.0) prettier: 3.2.5 prettier-linter-helpers: 1.0.0 synckit: 0.8.8 dev: true - /eslint-plugin-promise@6.1.1(eslint@8.56.0): + /eslint-plugin-promise@6.1.1(eslint@8.57.0): resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.56.0 + eslint: 8.57.0 dev: true /eslint-scope@7.2.2: @@ -3673,15 +3675,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint@8.56.0: - resolution: {integrity: sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==} + /eslint@8.57.0: + resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@eslint-community/regexpp': 4.10.0 '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.56.0 + '@eslint/js': 8.57.0 '@humanwhocodes/config-array': 0.11.14 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -3783,7 +3785,7 @@ packages: human-signals: 5.0.0 is-stream: 3.0.0 merge-stream: 2.0.0 - npm-run-path: 5.2.0 + npm-run-path: 5.3.0 onetime: 6.0.0 signal-exit: 4.1.0 strip-final-newline: 3.0.0 @@ -3911,13 +3913,13 @@ packages: resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} engines: {node: ^10.12.0 || >=12.0.0} dependencies: - flatted: 3.2.9 + flatted: 3.3.1 keyv: 4.5.4 rimraf: 3.0.2 dev: true - /flatted@3.2.9: - resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} + /flatted@3.3.1: + resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} dev: true /follow-redirects@1.15.5: @@ -4015,7 +4017,7 @@ packages: dependencies: es-errors: 1.3.0 function-bind: 1.1.2 - has-proto: 1.0.1 + has-proto: 1.0.3 has-symbols: 1.0.3 hasown: 2.0.1 dev: true @@ -4138,7 +4140,7 @@ packages: resolution: {integrity: sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==} engines: {node: '>=18'} dependencies: - '@sindresorhus/merge-streams': 2.2.1 + '@sindresorhus/merge-streams': 2.3.0 fast-glob: 3.3.2 ignore: 5.3.1 path-type: 5.0.0 @@ -4197,8 +4199,8 @@ packages: es-define-property: 1.0.0 dev: true - /has-proto@1.0.1: - resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==} + /has-proto@1.0.3: + resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} engines: {node: '>= 0.4'} dev: true @@ -4241,8 +4243,8 @@ packages: resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} dev: true - /http-proxy-agent@7.0.1: - resolution: {integrity: sha512-My1KCEPs6A0hb4qCVzYp8iEvA8j8YqcvXLZZH8C9OFuTYpYjHE7N2dtG3mRl1HMD4+VGXpF3XcDVcxGBT7yDZQ==} + /http-proxy-agent@7.0.2: + resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 @@ -4251,8 +4253,8 @@ packages: - supports-color dev: true - /https-proxy-agent@7.0.3: - resolution: {integrity: sha512-kCnwztfX0KZJSLOBrcL0emLeFako55NWMovvyPP2AjsghNk9RB1yjSI+jVumPHYZsNXegNoqupSW9IY3afSH8w==} + /https-proxy-agent@7.0.4: + resolution: {integrity: sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==} engines: {node: '>= 14'} dependencies: agent-base: 7.1.0 @@ -4436,8 +4438,8 @@ packages: is-extglob: 2.1.1 dev: true - /is-negative-zero@2.0.2: - resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} + /is-negative-zero@2.0.3: + resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} engines: {node: '>= 0.4'} dev: true @@ -4471,8 +4473,9 @@ packages: has-tostringtag: 1.0.2 dev: true - /is-shared-array-buffer@1.0.2: - resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} + /is-shared-array-buffer@1.0.3: + resolution: {integrity: sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==} + engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.7 dev: true @@ -4558,8 +4561,8 @@ packages: resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.23.9 - '@babel/parser': 7.23.9 + '@babel/core': 7.24.0 + '@babel/parser': 7.24.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -4567,12 +4570,12 @@ packages: - supports-color dev: true - /istanbul-lib-instrument@6.0.1: - resolution: {integrity: sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA==} + /istanbul-lib-instrument@6.0.2: + resolution: {integrity: sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw==} engines: {node: '>=10'} dependencies: - '@babel/core': 7.23.9 - '@babel/parser': 7.23.9 + '@babel/core': 7.24.0 + '@babel/parser': 7.24.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 7.6.0 @@ -4600,8 +4603,8 @@ packages: - supports-color dev: true - /istanbul-reports@3.1.6: - resolution: {integrity: sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==} + /istanbul-reports@3.1.7: + resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==} engines: {node: '>=8'} dependencies: html-escaper: 2.0.2 @@ -4639,7 +4642,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.18 + '@types/node': 20.11.21 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4660,7 +4663,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.18)(ts-node@10.9.2): + /jest-cli@29.7.0(@types/node@20.11.21)(ts-node@10.9.2): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4674,10 +4677,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4688,7 +4691,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.18)(ts-node@10.9.2): + /jest-config@29.7.0(@types/node@20.11.21)(ts-node@10.9.2): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4700,11 +4703,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.18 - babel-jest: 29.7.0(@babel/core@7.23.9) + '@types/node': 20.11.21 + babel-jest: 29.7.0(@babel/core@7.24.0) chalk: 4.1.2 ci-info: 3.9.0 deepmerge: 4.3.1 @@ -4723,7 +4726,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.11.18)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@20.11.21)(typescript@5.3.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -4764,7 +4767,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.18 + '@types/node': 20.11.21 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4780,7 +4783,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.18 + '@types/node': 20.11.21 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4831,7 +4834,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.18 + '@types/node': 20.11.21 jest-util: 29.7.0 dev: true @@ -4886,7 +4889,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.18 + '@types/node': 20.11.21 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4917,7 +4920,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.18 + '@types/node': 20.11.21 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4940,15 +4943,15 @@ packages: resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@babel/core': 7.23.9 + '@babel/core': 7.24.0 '@babel/generator': 7.23.6 - '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.9) - '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.9) - '@babel/types': 7.23.9 + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.24.0) + '@babel/types': 7.24.0 '@jest/expect-utils': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - babel-preset-current-node-syntax: 1.0.1(@babel/core@7.23.9) + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.24.0) chalk: 4.1.2 expect: 29.7.0 graceful-fs: 4.2.11 @@ -4969,7 +4972,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.18 + '@types/node': 20.11.21 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4994,7 +4997,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.18 + '@types/node': 20.11.21 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -5006,13 +5009,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.18 + '@types/node': 20.11.21 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.18)(ts-node@10.9.2): + /jest@29.7.0(@types/node@20.11.21)(ts-node@10.9.2): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -5025,7 +5028,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.2) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.18)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -5433,8 +5436,8 @@ packages: path-key: 3.1.1 dev: true - /npm-run-path@5.2.0: - resolution: {integrity: sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg==} + /npm-run-path@5.3.0: + resolution: {integrity: sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: path-key: 4.0.0 @@ -5716,7 +5719,7 @@ packages: dependencies: '@babel/code-frame': 7.23.5 index-to-position: 0.1.2 - type-fest: 4.10.2 + type-fest: 4.10.3 dev: true /parse5-htmlparser2-tree-adapter@6.0.1: @@ -5814,6 +5817,11 @@ packages: find-up: 4.1.0 dev: true + /possible-typed-array-names@1.0.0: + resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} + engines: {node: '>= 0.4'} + dev: true + /prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} @@ -5904,7 +5912,7 @@ packages: dependencies: find-up-simple: 1.0.0 read-pkg: 9.0.1 - type-fest: 4.10.2 + type-fest: 4.10.3 dev: true /read-pkg@9.0.1: @@ -5914,7 +5922,7 @@ packages: '@types/normalize-package-data': 2.4.4 normalize-package-data: 6.0.0 parse-json: 8.1.0 - type-fest: 4.10.2 + type-fest: 4.10.3 unicorn-magic: 0.1.0 dev: true @@ -5948,7 +5956,7 @@ packages: /regenerator-transform@0.15.2: resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==} dependencies: - '@babel/runtime': 7.23.9 + '@babel/runtime': 7.24.0 dev: true /regexp.prototype.flags@1.5.2: @@ -5958,7 +5966,7 @@ packages: call-bind: 1.0.7 define-properties: 1.2.1 es-errors: 1.3.0 - set-function-name: 2.0.1 + set-function-name: 2.0.2 dev: true /regexpu-core@5.3.2: @@ -6144,11 +6152,12 @@ packages: has-property-descriptors: 1.0.2 dev: true - /set-function-name@2.0.1: - resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} + /set-function-name@2.0.2: + resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==} engines: {node: '>= 0.4'} dependencies: define-data-property: 1.1.4 + es-errors: 1.3.0 functions-have-names: 1.2.3 has-property-descriptors: 1.0.2 dev: true @@ -6511,7 +6520,7 @@ packages: typescript: 5.3.3 dev: true - /ts-node@10.9.2(@types/node@20.11.18)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.21)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6530,7 +6539,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.18 + '@types/node': 20.11.21 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -6592,13 +6601,13 @@ packages: engines: {node: '>=14.16'} dev: true - /type-fest@4.10.2: - resolution: {integrity: sha512-anpAG63wSpdEbLwOqH8L84urkL6PiVIov3EMmgIhhThevh9aiMQov+6Btx0wldNcvm4wV+e2/Rt1QdDwKHFbHw==} + /type-fest@4.10.3: + resolution: {integrity: sha512-JLXyjizi072smKGGcZiAJDCNweT8J+AuRxmPZ1aG7TERg4ijx9REl8CNhbr36RV4qXqL1gO1FF9HL8OkVmmrsA==} engines: {node: '>=16'} dev: true - /typed-array-buffer@1.0.1: - resolution: {integrity: sha512-RSqu1UEuSlrBhHTWC8O9FnPjOduNs4M7rJ4pRKoEjtx1zUNOPN2sSXHLDX+Y2WPbHIxbvg4JFo2DNAEfPIKWoQ==} + /typed-array-buffer@1.0.2: + resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.7 @@ -6606,33 +6615,39 @@ packages: is-typed-array: 1.1.13 dev: true - /typed-array-byte-length@1.0.0: - resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} + /typed-array-byte-length@1.0.1: + resolution: {integrity: sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.7 for-each: 0.3.3 - has-proto: 1.0.1 + gopd: 1.0.1 + has-proto: 1.0.3 is-typed-array: 1.1.13 dev: true - /typed-array-byte-offset@1.0.0: - resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==} + /typed-array-byte-offset@1.0.2: + resolution: {integrity: sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==} engines: {node: '>= 0.4'} dependencies: - available-typed-arrays: 1.0.6 + available-typed-arrays: 1.0.7 call-bind: 1.0.7 for-each: 0.3.3 - has-proto: 1.0.1 + gopd: 1.0.1 + has-proto: 1.0.3 is-typed-array: 1.1.13 dev: true - /typed-array-length@1.0.4: - resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} + /typed-array-length@1.0.5: + resolution: {integrity: sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==} + engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.7 for-each: 0.3.3 + gopd: 1.0.1 + has-proto: 1.0.3 is-typed-array: 1.1.13 + possible-typed-array-names: 1.0.0 dev: true /typescript@5.3.3: @@ -6745,7 +6760,7 @@ packages: resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} engines: {node: '>=10.12.0'} dependencies: - '@jridgewell/trace-mapping': 0.3.22 + '@jridgewell/trace-mapping': 0.3.23 '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 dev: true @@ -6777,7 +6792,7 @@ packages: resolution: {integrity: sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==} engines: {node: '>= 0.4'} dependencies: - available-typed-arrays: 1.0.6 + available-typed-arrays: 1.0.7 call-bind: 1.0.7 for-each: 0.3.3 gopd: 1.0.1 diff --git a/specs/resources/orders.spec.ts b/specs/resources/orders.spec.ts index 1ff89fd2..1253699e 100644 --- a/specs/resources/orders.spec.ts +++ b/specs/resources/orders.spec.ts @@ -766,6 +766,27 @@ describe('Orders resource', () => { /* relationship.attachments stop */ + /* relationship.resource_errors start */ + it(resourceType + '.resource_errors', async () => { + + const id = TestData.id + const params = { fields: { resource_errors: CommonData.paramsFields } } + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('get') + checkCommon(config, resourceType, id, currentAccessToken, 'resource_errors') + checkCommonParams(config, params) + return interceptRequest() + }) + + await cl[resourceType].resource_errors(id, params, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* relationship.resource_errors stop */ + + /* relationship.events start */ it(resourceType + '.events', async () => { @@ -880,6 +901,31 @@ describe('Orders resource', () => { /* trigger._unarchive stop */ + /* trigger._pending start */ + it(resourceType + '._pending', async () => { + + let triggerAttr = '_pending' + if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` + + const triggerValue = true + const attributes = { [triggerAttr]: triggerValue } + const id = TestData.id + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('patch') + checkCommon(config, resourceType, id, currentAccessToken) + checkCommonData(config, resourceType, attributes, id) + return interceptRequest() + }) + + await cl[resourceType]._pending(id, {}, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* trigger._pending stop */ + + /* trigger._place start */ it(resourceType + '._place', async () => { diff --git a/specs/resources/resource_errors.spec.ts b/specs/resources/resource_errors.spec.ts new file mode 100644 index 00000000..d22dfaa3 --- /dev/null +++ b/specs/resources/resource_errors.spec.ts @@ -0,0 +1,128 @@ +/** + * ©2024 Commerce Layer Inc. + * Source code generated automatically by SDK codegen + **/ + +import { CommerceLayerClient, ResourceError } from '../../src' +import { isEqual } from 'lodash' +// eslint-disable-next-line @typescript-eslint/no-unused-vars +import { getClient, TestData, CommonData, handleError, interceptRequest, checkCommon, checkCommonData, checkCommonParamsList, checkCommonParams, currentAccessToken, randomValue } from '../../test/common' + + + +let cl: CommerceLayerClient + + +beforeAll(async () => { cl = await getClient() }) + + +describe('ResourceErrors resource', () => { + + const resourceType = 'resource_errors' + + + /* spec.retrieve.start */ + it(resourceType + '.retrieve', async () => { + + const id = TestData.id + const params = { fields: {[resourceType]: CommonData.paramsFields } } + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('get') + checkCommon(config, resourceType, id, currentAccessToken) + checkCommonParams(config, params) + return interceptRequest() + }) + + await cl[resourceType].retrieve(id, params, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* spec.retrieve.stop */ + + + /* spec.list.start */ + it(resourceType + '.list', async () => { + + const params = CommonData.paramsList + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('get') + checkCommon(config, resourceType) + checkCommonParamsList(config, params) + return interceptRequest() + }) + + await cl[resourceType].list(params, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* spec.list.stop */ + + + /* spec.type.start */ + it(resourceType + '.type', async () => { + + const resource = { id: TestData.id, type: resourceType } + expect(cl[resourceType].isResourceError(resource)).toBeTruthy() + + const type = cl[resourceType].type() + expect(type).toBe(resourceType) + + }) + /* spec.type.stop */ + + + /* spec.relationship.start */ + it(resourceType + '.relationship', async () => { + + const relId = cl[resourceType].relationship(TestData.id) + expect(isEqual(relId, { id: TestData.id, type: resourceType})) + + const relResId = cl[resourceType].relationship({ id: TestData.id, type: resourceType }) + expect(isEqual(relResId, { id: TestData.id, type: resourceType})) + + }) + /* spec.relationship.stop */ + + + /* spec.parse.start */ + it(resourceType + '.parse', async () => { + + const reference = 'myReferenceId' + + const payload = ` + { + "data": { + "id": "AbcdEfgHiL", + "meta": { + "mode": "test", + "organization_id": "myOrgId" + }, + "type": "${resourceType}", + "links": { + "self": "https://sdk-test-org.commercelayer.io/api/${resourceType}/AbcdEfgHiL" + }, + "attributes": { + "metadata": {}, + "reference": "${reference}", + "created_at": "2023-10-01T05:53:29.296Z", + "updated_at": "2023-10-10T08:52:13.251Z" + } + } + } + ` + + const res = cl[resourceType].parse(payload) as ResourceError + + expect(res.type).toBe(resourceType) + expect(res.reference).toBe(reference) + + }) + /* spec.parse.stop */ + + + +}) diff --git a/src/api.ts b/src/api.ts index e9af0472..75319123 100644 --- a/src/api.ts +++ b/src/api.ts @@ -94,6 +94,7 @@ export { default as Promotions } from './resources/promotions' export { default as RecurringOrderCopies } from './resources/recurring_order_copies' export { default as Refunds } from './resources/refunds' export { default as ReservedStocks } from './resources/reserved_stocks' +export { default as ResourceErrors } from './resources/resource_errors' export { default as ReturnLineItems } from './resources/return_line_items' export { default as Returns } from './resources/returns' export { default as SatispayGateways } from './resources/satispay_gateways' @@ -219,6 +220,7 @@ export type ResourceTypeLock = | 'recurring_order_copies' | 'refunds' | 'reserved_stocks' +| 'resource_errors' | 'return_line_items' | 'returns' | 'satispay_gateways' @@ -344,6 +346,7 @@ export const resourceList = [ 'recurring_order_copies', 'refunds', 'reserved_stocks', + 'resource_errors', 'return_line_items', 'returns', 'satispay_gateways', diff --git a/src/commercelayer.ts b/src/commercelayer.ts index 4456f06a..79e821ae 100644 --- a/src/commercelayer.ts +++ b/src/commercelayer.ts @@ -10,7 +10,7 @@ const debug = Debug('commercelayer') // Autogenerated schema version number, do not remove this line -const OPEN_API_SCHEMA_VERSION = '4.26.0' +const OPEN_API_SCHEMA_VERSION = '4.27.0' export { OPEN_API_SCHEMA_VERSION } @@ -122,6 +122,7 @@ class CommerceLayerClient { recurring_order_copies: api.RecurringOrderCopies refunds: api.Refunds reserved_stocks: api.ReservedStocks + resource_errors: api.ResourceErrors return_line_items: api.ReturnLineItems returns: api.Returns satispay_gateways: api.SatispayGateways @@ -255,6 +256,7 @@ class CommerceLayerClient { this.recurring_order_copies = new api.RecurringOrderCopies(this.#adapter) this.refunds = new api.Refunds(this.#adapter) this.reserved_stocks = new api.ReservedStocks(this.#adapter) + this.resource_errors = new api.ResourceErrors(this.#adapter) this.return_line_items = new api.ReturnLineItems(this.#adapter) this.returns = new api.Returns(this.#adapter) this.satispay_gateways = new api.SatispayGateways(this.#adapter) diff --git a/src/model.ts b/src/model.ts index e0a37469..0bca6d8d 100644 --- a/src/model.ts +++ b/src/model.ts @@ -91,6 +91,7 @@ export type { Promotion } from './resources/promotions' export type { RecurringOrderCopy, RecurringOrderCopyCreate, RecurringOrderCopyUpdate } from './resources/recurring_order_copies' export type { Refund } from './resources/refunds' export type { ReservedStock } from './resources/reserved_stocks' +export type { ResourceError } from './resources/resource_errors' export type { ReturnLineItem, ReturnLineItemCreate, ReturnLineItemUpdate } from './resources/return_line_items' export type { Return, ReturnCreate, ReturnUpdate } from './resources/returns' export type { SatispayGateway, SatispayGatewayCreate, SatispayGatewayUpdate } from './resources/satispay_gateways' diff --git a/src/resources/gift_cards.ts b/src/resources/gift_cards.ts index f366dbf1..8096d932 100644 --- a/src/resources/gift_cards.ts +++ b/src/resources/gift_cards.ts @@ -36,6 +36,7 @@ interface GiftCard extends Resource { balance_log: Array> single_use?: boolean | null rechargeable?: boolean | null + distribute_discount?: boolean | null image_url?: string | null expires_at?: string | null recipient_email?: string | null @@ -58,6 +59,7 @@ interface GiftCardCreate extends ResourceCreate { balance_max_cents?: string | null single_use?: boolean | null rechargeable?: boolean | null + distribute_discount?: boolean | null image_url?: string | null expires_at?: string | null recipient_email?: string | null @@ -76,6 +78,7 @@ interface GiftCardUpdate extends ResourceUpdate { balance_max_cents?: string | null single_use?: boolean | null rechargeable?: boolean | null + distribute_discount?: boolean | null image_url?: string | null expires_at?: string | null recipient_email?: string | null diff --git a/src/resources/orders.ts b/src/resources/orders.ts index 5aa0da24..9f55ff3b 100644 --- a/src/resources/orders.ts +++ b/src/resources/orders.ts @@ -36,6 +36,7 @@ import type { OrderFactory } from './order_factories' import type { OrderCopy } from './order_copies' import type { RecurringOrderCopy } from './recurring_order_copies' import type { Attachment } from './attachments' +import type { ResourceError } from './resource_errors' import type { Event } from './events' import type { Tag, TagType } from './tags' import type { Version } from './versions' @@ -66,7 +67,8 @@ interface Order extends Resource { number?: string | null autorefresh?: boolean | null - status: 'draft' | 'pending' | 'placed' | 'editing' | 'approved' | 'cancelled' + place_async?: boolean | null + status: 'draft' | 'pending' | 'placing' | 'placed' | 'editing' | 'approved' | 'cancelled' payment_status: 'unpaid' | 'authorized' | 'partially_authorized' | 'paid' | 'partially_paid' | 'voided' | 'partially_voided' | 'refunded' | 'partially_refunded' | 'free' fulfillment_status: 'unfulfilled' | 'in_progress' | 'fulfilled' | 'not_required' guest?: boolean | null @@ -153,6 +155,7 @@ interface Order extends Resource { shipments_count?: number | null tax_calculations_count?: number | null validations_count?: number | null + errors_count?: number | null payment_source_details?: Record | null token?: string | null cart_url?: string | null @@ -199,6 +202,7 @@ interface Order extends Resource { order_copies?: OrderCopy[] | null recurring_order_copies?: RecurringOrderCopy[] | null attachments?: Attachment[] | null + resource_errors?: ResourceError[] | null events?: Event[] | null tags?: Tag[] | null versions?: Version[] | null @@ -210,6 +214,7 @@ interface OrderCreate extends ResourceCreate { number?: string | null autorefresh?: boolean | null + place_async?: boolean | null guest?: boolean | null customer_email?: string | null customer_password?: string | null @@ -241,6 +246,7 @@ interface OrderUpdate extends ResourceUpdate { number?: string | null autorefresh?: boolean | null + place_async?: boolean | null guest?: boolean | null customer_email?: string | null customer_password?: string | null @@ -258,6 +264,7 @@ interface OrderUpdate extends ResourceUpdate { privacy_url?: string | null _archive?: boolean | null _unarchive?: boolean | null + _pending?: boolean | null _place?: boolean | null _cancel?: boolean | null _approve?: boolean | null @@ -446,6 +453,11 @@ class Orders extends ApiResource { return this.resources.fetch({ type: 'attachments' }, `orders/${_orderId}/attachments`, params, options) as unknown as ListResponse } + async resource_errors(orderId: string | Order, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + const _orderId = (orderId as Order).id || orderId as string + return this.resources.fetch({ type: 'resource_errors' }, `orders/${_orderId}/resource_errors`, params, options) as unknown as ListResponse + } + async events(orderId: string | Order, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _orderId = (orderId as Order).id || orderId as string return this.resources.fetch({ type: 'events' }, `orders/${_orderId}/events`, params, options) as unknown as ListResponse @@ -469,6 +481,10 @@ class Orders extends ApiResource { return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Orders.TYPE, _unarchive: true }, params, options) } + async _pending(id: string | Order, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Orders.TYPE, _pending: true }, params, options) + } + async _place(id: string | Order, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Orders.TYPE, _place: true }, params, options) } diff --git a/src/resources/resource_errors.ts b/src/resources/resource_errors.ts new file mode 100644 index 00000000..8585f543 --- /dev/null +++ b/src/resources/resource_errors.ts @@ -0,0 +1,51 @@ +import { ApiResource } from '../resource' +import type { Resource, ResourceId, ResourceRel } from '../resource' + + +import type { Order } from './orders' + + +type ResourceErrorType = 'resource_errors' +type ResourceErrorRel = ResourceRel & { type: ResourceErrorType } + + +interface ResourceError extends Resource { + + readonly type: ResourceErrorType + + name: string + code: string + message: string + + resource?: Order | null + +} + + +class ResourceErrors extends ApiResource { + + static readonly TYPE: ResourceErrorType = 'resource_errors' as const + + + + + isResourceError(resource: any): resource is ResourceError { + return resource.type && (resource.type === ResourceErrors.TYPE) + } + + + relationship(id: string | ResourceId | null): ResourceErrorRel { + return ((id === null) || (typeof id === 'string')) ? { id, type: ResourceErrors.TYPE } : { id: id.id, type: ResourceErrors.TYPE } + } + + + type(): ResourceErrorType { + return ResourceErrors.TYPE + } + +} + + +export default ResourceErrors + +export type { ResourceError, ResourceErrorType } From e7e10d5481ec99d7e42226c2dcefa32c5771cc58 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 28 Feb 2024 14:21:29 +0000 Subject: [PATCH 16/26] chore(release): 5.33.0 [skip ci] # [5.33.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.32.0...v5.33.0) (2024-02-28) ### Features * update resources to schema 4.27.0 ([b8eb17a](https://github.com/commercelayer/commercelayer-sdk/commit/b8eb17a7e3909e97f1753edb690536da14fbccd8)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1f269be..5d892a61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [5.33.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.32.0...v5.33.0) (2024-02-28) + + +### Features + +* update resources to schema 4.27.0 ([b8eb17a](https://github.com/commercelayer/commercelayer-sdk/commit/b8eb17a7e3909e97f1753edb690536da14fbccd8)) + # [5.32.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.31.1...v5.32.0) (2024-02-14) diff --git a/package.json b/package.json index 4eb56d32..c5be555d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@commercelayer/sdk", - "version": "5.32.0", + "version": "5.33.0", "main": "lib/cjs/index.js", "types": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", From 8f992699c00e7a57d758eece49b92030e7fa951e Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Fri, 1 Mar 2024 17:40:45 +0100 Subject: [PATCH 17/26] fix: fix env secrets --- .github/workflows/semantic-release.yml | 4 +- package.json | 2 +- pnpm-lock.yaml | 164 ++++++++++++------------- 3 files changed, 85 insertions(+), 85 deletions(-) diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 6112e995..0cf21a96 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -30,8 +30,8 @@ jobs: - name: Run specs env: CL_SDK_ORGANIZATION: sdk-test-org - CL_SDK_CLIENT_ID: yOIJ1s3ez-hi1VhIlVk30Fe7EK152ixnfGN1zEkiX0I - CL_SDK_CLIENT_SECRET: XTP4tDrA2u-56I3NwYk1wIpmSHvl2kTqyetkSJw2KzI + CL_SDK_CLIENT_ID: ${{secrets.CL_SDK_CLIENT_ID}} + CL_SDK_CLIENT_SECRET: ${{secrets.CL_SDK_CLIENT_SECRET}} run: pnpm test - name: Release env: diff --git a/package.json b/package.json index c5be555d..e1724647 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@types/debug": "^4.1.12", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", - "@types/node": "^20.11.21", + "@types/node": "^20.11.24", "dotenv": "^16.4.5", "eslint": "^8.57.0", "inflector-js": "^1.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 753d9e09..a506b588 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,8 +41,8 @@ devDependencies: specifier: ^4.14.202 version: 4.14.202 '@types/node': - specifier: ^20.11.21 - version: 20.11.21 + specifier: ^20.11.24 + version: 20.11.24 dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -54,7 +54,7 @@ devDependencies: version: 1.0.1 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -72,7 +72,7 @@ devDependencies: version: 23.0.2(typescript@5.3.3) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.21)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.24)(typescript@5.3.3) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -84,12 +84,12 @@ packages: engines: {node: '>=0.10.0'} dev: true - /@ampproject/remapping@2.2.1: - resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} + /@ampproject/remapping@2.3.0: + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} dependencies: - '@jridgewell/gen-mapping': 0.3.4 - '@jridgewell/trace-mapping': 0.3.23 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.24 dev: true /@babel/code-frame@7.23.5: @@ -109,7 +109,7 @@ packages: resolution: {integrity: sha512-fQfkg0Gjkza3nf0c7/w6Xf34BW4YvzNfACRLmmb7XRLa6XHdR+K9AlJlxneFfWYf6uhOzuzZVTjF/8KfndZANw==} engines: {node: '>=6.9.0'} dependencies: - '@ampproject/remapping': 2.2.1 + '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.23.5 '@babel/generator': 7.23.6 '@babel/helper-compilation-targets': 7.23.6 @@ -133,8 +133,8 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/types': 7.24.0 - '@jridgewell/gen-mapping': 0.3.4 - '@jridgewell/trace-mapping': 0.3.23 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.24 jsesc: 2.5.2 dev: true @@ -1648,7 +1648,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1669,14 +1669,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1704,7 +1704,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 jest-mock: 29.7.0 dev: true @@ -1731,7 +1731,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.21 + '@types/node': 20.11.24 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1763,8 +1763,8 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.23 - '@types/node': 20.11.21 + '@jridgewell/trace-mapping': 0.3.24 + '@types/node': 20.11.24 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1797,7 +1797,7 @@ packages: resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jridgewell/trace-mapping': 0.3.23 + '@jridgewell/trace-mapping': 0.3.24 callsites: 3.1.0 graceful-fs: 4.2.11 dev: true @@ -1828,7 +1828,7 @@ packages: dependencies: '@babel/core': 7.24.0 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.23 + '@jridgewell/trace-mapping': 0.3.24 babel-plugin-istanbul: 6.1.1 chalk: 4.1.2 convert-source-map: 2.0.0 @@ -1852,18 +1852,18 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.21 + '@types/node': 20.11.24 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true - /@jridgewell/gen-mapping@0.3.4: - resolution: {integrity: sha512-Oud2QPM5dHviZNn4y/WhhYKSXksv+1xLEIsNrAbGcFzUN3ubqWRFT5gwPchNc5NuzILOU4tPBDTZ4VwhL8Y7cw==} + /@jridgewell/gen-mapping@0.3.5: + resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} engines: {node: '>=6.0.0'} dependencies: - '@jridgewell/set-array': 1.1.2 + '@jridgewell/set-array': 1.2.1 '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.23 + '@jridgewell/trace-mapping': 0.3.24 dev: true /@jridgewell/resolve-uri@3.1.2: @@ -1871,8 +1871,8 @@ packages: engines: {node: '>=6.0.0'} dev: true - /@jridgewell/set-array@1.1.2: - resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} + /@jridgewell/set-array@1.2.1: + resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} dev: true @@ -1880,8 +1880,8 @@ packages: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true - /@jridgewell/trace-mapping@0.3.23: - resolution: {integrity: sha512-9/4foRoUKp8s96tSkh8DlAAc5A0Ty8vLXld+l9gjKKY6ckwI8G15f0hskGmuLZu78ZlGa1vtsfOa+lnB4vG6Jg==} + /@jridgewell/trace-mapping@0.3.24: + resolution: {integrity: sha512-+VaWXDa6+l6MhflBvVXjIEAzb59nQ2JUK3bwRp2zRpPtU+8TFRy9Gg/5oIcNlkEL5PGlBFGfemUVvIgLnTzq7Q==} dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 @@ -1954,11 +1954,11 @@ packages: resolution: {integrity: sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==} dev: true - /@octokit/plugin-paginate-rest@9.2.0(@octokit/core@5.1.0): - resolution: {integrity: sha512-NKi0bJEZqOSbBLMv9kdAcuocpe05Q2xAXNLTGi0HN2GSMFJHNZuSoPNa0tcQFTOFCKe+ZaYBZ3lpXh1yxgUDCA==} + /@octokit/plugin-paginate-rest@9.2.1(@octokit/core@5.1.0): + resolution: {integrity: sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==} engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '>=5' + '@octokit/core': '5' dependencies: '@octokit/core': 5.1.0 '@octokit/types': 12.6.0 @@ -2112,7 +2112,7 @@ packages: semantic-release: '>=20.1.0' dependencies: '@octokit/core': 5.1.0 - '@octokit/plugin-paginate-rest': 9.2.0(@octokit/core@5.1.0) + '@octokit/plugin-paginate-rest': 9.2.1(@octokit/core@5.1.0) '@octokit/plugin-retry': 6.0.1(@octokit/core@5.1.0) '@octokit/plugin-throttling': 8.2.0(@octokit/core@5.1.0) '@semantic-release/error': 4.0.0 @@ -2145,7 +2145,7 @@ packages: lodash-es: 4.17.21 nerf-dart: 1.0.0 normalize-url: 8.0.0 - npm: 10.4.0 + npm: 10.5.0 rc: 1.2.8 read-pkg: 9.0.1 registry-auth-token: 5.0.2 @@ -2255,7 +2255,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.21 + '@types/node': 20.11.24 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -2297,8 +2297,8 @@ packages: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.11.21: - resolution: {integrity: sha512-/ySDLGscFPNasfqStUuWWPfL78jompfIoVzLJPVVAHBh6rpG68+pI2Gk+fNLeI8/f1yPYL4s46EleVIc20F1Ow==} + /@types/node@20.11.24: + resolution: {integrity: sha512-Kza43ewS3xoLgCEpQrsT+xRo/EJej1y0kVYGiLFE1NEODXGzTfwiC6tXTLMQskn1X4/Rjlh0MQUvx9W+L9long==} dependencies: undici-types: 5.26.5 dev: true @@ -2613,7 +2613,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 get-intrinsic: 1.2.4 is-string: 1.0.7 dev: true @@ -2629,7 +2629,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-array-method-boxes-properly: 1.0.0 is-string: 1.0.7 dev: true @@ -2640,7 +2640,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-errors: 1.3.0 es-shim-unscopables: 1.0.2 dev: true @@ -2651,7 +2651,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-shim-unscopables: 1.0.2 dev: true @@ -2661,7 +2661,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-shim-unscopables: 1.0.2 dev: true @@ -2672,7 +2672,7 @@ packages: array-buffer-byte-length: 1.0.1 call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-errors: 1.3.0 get-intrinsic: 1.2.4 is-array-buffer: 3.0.4 @@ -2846,7 +2846,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001591 - electron-to-chromium: 1.4.685 + electron-to-chromium: 1.4.689 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -3115,7 +3115,7 @@ packages: typescript: 5.3.3 dev: true - /create-jest@29.7.0(@types/node@20.11.21)(ts-node@10.9.2): + /create-jest@29.7.0(@types/node@20.11.24)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3124,7 +3124,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3289,8 +3289,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.685: - resolution: {integrity: sha512-yDYeobbTEe4TNooEzOQO6xFqg9XnAkVy2Lod1C1B2it8u47JNLYvl9nLDWBamqUakWB8Jc1hhS1uHUNYTNQdfw==} + /electron-to-chromium@1.4.689: + resolution: {integrity: sha512-GatzRKnGPS1go29ep25reM94xxd1Wj8ritU0yRhCJ/tr1Bg8gKnm6R9O/yPOhGQBoLMZ9ezfrpghNaTw97C/PQ==} dev: true /emittery@0.13.1: @@ -3329,8 +3329,8 @@ packages: is-arrayish: 0.2.1 dev: true - /es-abstract@1.22.4: - resolution: {integrity: sha512-vZYJlk2u6qHYxBOTjAeg7qUxHdNfih64Uu2J8QqWgXZ2cri0ZpJAkzDUK/q593+mvKwlxyaxr6F1Q+3LKoQRgg==} + /es-abstract@1.22.5: + resolution: {integrity: sha512-oW69R+4q2wG+Hc3KZePPZxOiisRIqfKBVo/HLx94QcJeWGU/8sZhCvc829rd1kS366vlJbzBfXf9yWwf0+Ko7w==} engines: {node: '>= 0.4'} dependencies: array-buffer-byte-length: 1.0.1 @@ -3993,7 +3993,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 functions-have-names: 1.2.3 dev: true @@ -4354,7 +4354,7 @@ packages: dependencies: es-errors: 1.3.0 hasown: 2.0.1 - side-channel: 1.0.5 + side-channel: 1.0.6 dev: true /into-stream@7.0.0: @@ -4642,7 +4642,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4663,7 +4663,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.21)(ts-node@10.9.2): + /jest-cli@29.7.0(@types/node@20.11.24)(ts-node@10.9.2): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4677,10 +4677,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4691,7 +4691,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.21)(ts-node@10.9.2): + /jest-config@29.7.0(@types/node@20.11.24)(ts-node@10.9.2): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4706,7 +4706,7 @@ packages: '@babel/core': 7.24.0 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 babel-jest: 29.7.0(@babel/core@7.24.0) chalk: 4.1.2 ci-info: 3.9.0 @@ -4726,7 +4726,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.11.21)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@20.11.24)(typescript@5.3.3) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -4767,7 +4767,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4783,7 +4783,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.21 + '@types/node': 20.11.24 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4834,7 +4834,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 jest-util: 29.7.0 dev: true @@ -4889,7 +4889,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4920,7 +4920,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4972,7 +4972,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4997,7 +4997,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.21 + '@types/node': 20.11.24 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -5009,13 +5009,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.21 + '@types/node': 20.11.24 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.21)(ts-node@10.9.2): + /jest@29.7.0(@types/node@20.11.24)(ts-node@10.9.2): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -5028,7 +5028,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.2) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.21)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -5443,8 +5443,8 @@ packages: path-key: 4.0.0 dev: true - /npm@10.4.0: - resolution: {integrity: sha512-RS7Mx0OVfXlOcQLRePuDIYdFCVBPCNapWHplDK+mh7GDdP/Tvor4ocuybRRPSvfcRb2vjRJt1fHCqw3cr8qACQ==} + /npm@10.5.0: + resolution: {integrity: sha512-Ejxwvfh9YnWVU2yA5FzoYLTW52vxHCz+MHrOFg9Cc8IFgF/6f5AGPAvb5WTay5DIUP1NIfN3VBZ0cLlGO0Ys+A==} engines: {node: ^18.17.0 || >=20.5.0} hasBin: true dev: true @@ -5550,7 +5550,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 dev: true /object.groupby@1.0.2: @@ -5559,7 +5559,7 @@ packages: array.prototype.filter: 1.0.3 call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 es-errors: 1.3.0 dev: true @@ -5569,7 +5569,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 dev: true /once@1.4.0: @@ -6174,8 +6174,8 @@ packages: engines: {node: '>=8'} dev: true - /side-channel@1.0.5: - resolution: {integrity: sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==} + /side-channel@1.0.6: + resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.7 @@ -6322,7 +6322,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 dev: true /string.prototype.trimend@1.0.7: @@ -6330,7 +6330,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 dev: true /string.prototype.trimstart@1.0.7: @@ -6338,7 +6338,7 @@ packages: dependencies: call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.4 + es-abstract: 1.22.5 dev: true /string_decoder@1.1.1: @@ -6520,7 +6520,7 @@ packages: typescript: 5.3.3 dev: true - /ts-node@10.9.2(@types/node@20.11.21)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.24)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6539,7 +6539,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.21 + '@types/node': 20.11.24 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -6760,7 +6760,7 @@ packages: resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} engines: {node: '>=10.12.0'} dependencies: - '@jridgewell/trace-mapping': 0.3.23 + '@jridgewell/trace-mapping': 0.3.24 '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 dev: true From 30df3db0fcea37673cd2eaedc8ed842e89d83a44 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 1 Mar 2024 16:41:42 +0000 Subject: [PATCH 18/26] chore(release): 5.33.1 [skip ci] ## [5.33.1](https://github.com/commercelayer/commercelayer-sdk/compare/v5.33.0...v5.33.1) (2024-03-01) ### Bug Fixes * fix env secrets ([8f99269](https://github.com/commercelayer/commercelayer-sdk/commit/8f992699c00e7a57d758eece49b92030e7fa951e)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d892a61..b9f3521c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [5.33.1](https://github.com/commercelayer/commercelayer-sdk/compare/v5.33.0...v5.33.1) (2024-03-01) + + +### Bug Fixes + +* fix env secrets ([8f99269](https://github.com/commercelayer/commercelayer-sdk/commit/8f992699c00e7a57d758eece49b92030e7fa951e)) + # [5.33.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.32.0...v5.33.0) (2024-02-28) diff --git a/package.json b/package.json index e1724647..c0439cea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@commercelayer/sdk", - "version": "5.33.0", + "version": "5.33.1", "main": "lib/cjs/index.js", "types": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", From 2fd9b9db2753791a27d62c28eb7aa54635cb3923 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Thu, 7 Mar 2024 16:34:30 +0100 Subject: [PATCH 19/26] feat: update resources to schema 5.0.0 --- gen/openapi.json | 1439 ++++++++++------- package.json | 6 +- pnpm-lock.yaml | 248 +-- specs/resources/external_gateways.spec.ts | 25 + specs/resources/external_promotions.spec.ts | 25 + .../external_tax_calculators.spec.ts | 25 + specs/resources/line_items.spec.ts | 29 + specs/resources/orders.spec.ts | 25 + specs/resources/shipping_methods.spec.ts | 25 + specs/resources/webhooks.spec.ts | 30 +- src/commercelayer.ts | 2 +- src/resources/adjustments.ts | 3 + src/resources/external_gateways.ts | 9 +- src/resources/external_promotions.ts | 7 + src/resources/external_tax_calculators.ts | 7 + src/resources/line_items.ts | 19 +- src/resources/markets.ts | 2 +- src/resources/order_subscriptions.ts | 4 - src/resources/orders.ts | 7 + src/resources/parcel_line_items.ts | 8 - src/resources/payment_methods.ts | 10 +- src/resources/shipments.ts | 4 - src/resources/shipping_methods.ts | 17 +- src/resources/webhooks.ts | 12 +- 24 files changed, 1246 insertions(+), 742 deletions(-) diff --git a/gen/openapi.json b/gen/openapi.json index cb99fd53..f26f37a5 100644 --- a/gen/openapi.json +++ b/gen/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Commerce Layer API", - "version": "4.27.0", + "version": "5.0.0", "contact": { "name": "API Support", "url": "https://commercelayer.io", @@ -31434,6 +31434,12 @@ "example": "€15,00", "nullable": false }, + "distribute_discount": { + "type": "boolean", + "description": "Indicates if megative adjustment amount is distributed for tax calculation.", + "example": true, + "nullable": true + }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -31537,6 +31543,11 @@ "description": "The adjustment amount, in cents.", "example": 1500 }, + "distribute_discount": { + "type": "boolean", + "description": "Indicates if megative adjustment amount is distributed for tax calculation.", + "example": true + }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -31616,6 +31627,12 @@ "example": 1500, "nullable": false }, + "distribute_discount": { + "type": "boolean", + "description": "Indicates if megative adjustment amount is distributed for tax calculation.", + "example": true, + "nullable": false + }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -38883,6 +38900,21 @@ "example": "Personal promotion", "nullable": false }, + "type": { + "type": "string", + "description": "The promotion's type.", + "example": "PercentageDiscountPromotion", + "nullable": false, + "enum": [ + "PercentageDiscountPromotion", + "FreeShippingPromotion", + "BuyXPayYPromotion", + "FreeGiftPromotion", + "FixedPricePromotion", + "ExternalPromotion", + "FixedAmountPromotion" + ] + }, "currency_code": { "type": "string", "description": "The international 3-letter currency code as defined by the ISO 4217 standard.", @@ -38931,12 +38963,6 @@ "example": true, "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the promotion was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -38969,6 +38995,12 @@ }, "nullable": true }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true + }, "x": { "type": "integer", "description": "The quantity which defines the threshold for free items (works by multiple of x).", @@ -39342,16 +39374,6 @@ "description": "The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.", "example": 5 }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -39369,6 +39391,16 @@ "foo": "bar" } }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true + }, "x": { "type": "integer", "description": "The quantity which defines the threshold for free items (works by multiple of x).", @@ -39651,18 +39683,6 @@ "example": 5, "nullable": true }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true, - "nullable": false - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -39683,6 +39703,18 @@ }, "nullable": true }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false + }, "x": { "type": "integer", "description": "The quantity which defines the threshold for free items (works by multiple of x).", @@ -50057,12 +50089,6 @@ }, "nullable": true }, - "shared_secret": { - "type": "string", - "description": "The shared secret used to sign the external request payload.", - "example": "1c0994cc4e996e8c6ee56a2198f66f3c", - "nullable": false - }, "authorize_url": { "type": "string", "description": "The endpoint used by the external gateway to authorize payments.", @@ -50092,6 +50118,24 @@ "description": "The endpoint used by the external gateway to create a customer payment token.", "example": "https://external_gateway.com/token", "nullable": true + }, + "circuit_state": { + "type": "string", + "description": "The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.", + "example": "closed", + "nullable": true + }, + "circuit_failure_count": { + "type": "integer", + "description": "The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.", + "example": 5, + "nullable": true + }, + "shared_secret": { + "type": "string", + "description": "The shared secret used to sign the external request payload.", + "example": "1c0994cc4e996e8c6ee56a2198f66f3c", + "nullable": false } } }, @@ -50337,6 +50381,12 @@ "description": "The endpoint used by the external gateway to create a customer payment token.", "example": "https://external_gateway.com/token", "nullable": true + }, + "_reset_circuit": { + "type": "boolean", + "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.", + "example": true, + "nullable": false } } }, @@ -51073,6 +51123,21 @@ "example": "Personal promotion", "nullable": false }, + "type": { + "type": "string", + "description": "The promotion's type.", + "example": "PercentageDiscountPromotion", + "nullable": false, + "enum": [ + "PercentageDiscountPromotion", + "FreeShippingPromotion", + "BuyXPayYPromotion", + "FreeGiftPromotion", + "FixedPricePromotion", + "ExternalPromotion", + "FixedAmountPromotion" + ] + }, "currency_code": { "type": "string", "description": "The international 3-letter currency code as defined by the ISO 4217 standard.", @@ -51121,12 +51186,6 @@ "example": true, "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the promotion was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -51159,12 +51218,30 @@ }, "nullable": true }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true + }, "promotion_url": { "type": "string", "description": "The URL to the service that will compute the discount.", "example": "https://external_promotion.yourbrand.com", "nullable": false }, + "circuit_state": { + "type": "string", + "description": "The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.", + "example": "closed", + "nullable": true + }, + "circuit_failure_count": { + "type": "integer", + "description": "The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.", + "example": 5, + "nullable": true + }, "shared_secret": { "type": "string", "description": "The shared secret used to sign the external request payload.", @@ -51526,16 +51603,6 @@ "description": "The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.", "example": 5 }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -51553,6 +51620,16 @@ "foo": "bar" } }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true + }, "promotion_url": { "type": "string", "description": "The URL to the service that will compute the discount.", @@ -51821,18 +51898,6 @@ "example": 5, "nullable": true }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true, - "nullable": false - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -51853,11 +51918,29 @@ }, "nullable": true }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false + }, "promotion_url": { "type": "string", "description": "The URL to the service that will compute the discount.", "example": "https://external_promotion.yourbrand.com", "nullable": false + }, + "_reset_circuit": { + "type": "boolean", + "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.", + "example": true, + "nullable": false } } }, @@ -52601,6 +52684,18 @@ "example": "https://external_calculator.yourbrand.com", "nullable": false }, + "circuit_state": { + "type": "string", + "description": "The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.", + "example": "closed", + "nullable": true + }, + "circuit_failure_count": { + "type": "integer", + "description": "The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.", + "example": 5, + "nullable": true + }, "shared_secret": { "type": "string", "description": "The shared secret used to sign the external request payload.", @@ -52808,6 +52903,12 @@ "description": "The URL to the service that will compute the taxes.", "example": "https://external_calculator.yourbrand.com", "nullable": false + }, + "_reset_circuit": { + "type": "boolean", + "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.", + "example": true, + "nullable": false } } }, @@ -52997,6 +53098,21 @@ "example": "Personal promotion", "nullable": false }, + "type": { + "type": "string", + "description": "The promotion's type.", + "example": "PercentageDiscountPromotion", + "nullable": false, + "enum": [ + "PercentageDiscountPromotion", + "FreeShippingPromotion", + "BuyXPayYPromotion", + "FreeGiftPromotion", + "FixedPricePromotion", + "ExternalPromotion", + "FixedAmountPromotion" + ] + }, "currency_code": { "type": "string", "description": "The international 3-letter currency code as defined by the ISO 4217 standard.", @@ -53045,12 +53161,6 @@ "example": true, "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the promotion was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -53083,6 +53193,12 @@ }, "nullable": true }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true + }, "fixed_amount_cents": { "type": "integer", "description": "The discount fixed amount to be applied, in cents", @@ -53456,16 +53572,6 @@ "description": "The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.", "example": 5 }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -53483,6 +53589,16 @@ "foo": "bar" } }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true + }, "fixed_amount_cents": { "type": "integer", "description": "The discount fixed amount to be applied, in cents", @@ -53751,18 +53867,6 @@ "example": 5, "nullable": true }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true, - "nullable": false - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -53783,6 +53887,18 @@ }, "nullable": true }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false + }, "fixed_amount_cents": { "type": "integer", "description": "The discount fixed amount to be applied, in cents", @@ -54493,6 +54609,21 @@ "example": "Personal promotion", "nullable": false }, + "type": { + "type": "string", + "description": "The promotion's type.", + "example": "PercentageDiscountPromotion", + "nullable": false, + "enum": [ + "PercentageDiscountPromotion", + "FreeShippingPromotion", + "BuyXPayYPromotion", + "FreeGiftPromotion", + "FixedPricePromotion", + "ExternalPromotion", + "FixedAmountPromotion" + ] + }, "currency_code": { "type": "string", "description": "The international 3-letter currency code as defined by the ISO 4217 standard.", @@ -54541,12 +54672,6 @@ "example": true, "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the promotion was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -54579,6 +54704,12 @@ }, "nullable": true }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true + }, "fixed_amount_cents": { "type": "integer", "description": "The price fixed amount to be applied on matching SKUs, in cents", @@ -54952,16 +55083,6 @@ "description": "The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.", "example": 5 }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -54979,6 +55100,16 @@ "foo": "bar" } }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true + }, "fixed_amount_cents": { "type": "integer", "description": "The price fixed amount to be applied on matching SKUs, in cents", @@ -55250,18 +55381,6 @@ "example": 5, "nullable": true }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true, - "nullable": false - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -55282,6 +55401,18 @@ }, "nullable": true }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false + }, "fixed_amount_cents": { "type": "integer", "description": "The price fixed amount to be applied on matching SKUs, in cents", @@ -55992,6 +56123,21 @@ "example": "Personal promotion", "nullable": false }, + "type": { + "type": "string", + "description": "The promotion's type.", + "example": "PercentageDiscountPromotion", + "nullable": false, + "enum": [ + "PercentageDiscountPromotion", + "FreeShippingPromotion", + "BuyXPayYPromotion", + "FreeGiftPromotion", + "FixedPricePromotion", + "ExternalPromotion", + "FixedAmountPromotion" + ] + }, "currency_code": { "type": "string", "description": "The international 3-letter currency code as defined by the ISO 4217 standard.", @@ -56040,12 +56186,6 @@ "example": true, "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the promotion was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -56078,6 +56218,12 @@ }, "nullable": true }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true + }, "max_quantity": { "type": "integer", "description": "The max quantity of free gifts globally applicable by the promotion.", @@ -56439,16 +56585,6 @@ "description": "The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.", "example": 5 }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -56466,6 +56602,16 @@ "foo": "bar" } }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true + }, "max_quantity": { "type": "integer", "description": "The max quantity of free gifts globally applicable by the promotion.", @@ -56736,18 +56882,6 @@ "example": 5, "nullable": true }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true, - "nullable": false - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -56768,6 +56902,18 @@ }, "nullable": true }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false + }, "max_quantity": { "type": "integer", "description": "The max quantity of free gifts globally applicable by the promotion.", @@ -57478,6 +57624,21 @@ "example": "Personal promotion", "nullable": false }, + "type": { + "type": "string", + "description": "The promotion's type.", + "example": "PercentageDiscountPromotion", + "nullable": false, + "enum": [ + "PercentageDiscountPromotion", + "FreeShippingPromotion", + "BuyXPayYPromotion", + "FreeGiftPromotion", + "FixedPricePromotion", + "ExternalPromotion", + "FixedAmountPromotion" + ] + }, "currency_code": { "type": "string", "description": "The international 3-letter currency code as defined by the ISO 4217 standard.", @@ -57526,12 +57687,6 @@ "example": true, "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the promotion was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -57563,6 +57718,12 @@ "foo": "bar" }, "nullable": true + }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true } } }, @@ -57897,16 +58058,6 @@ "description": "The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.", "example": 5 }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -57923,6 +58074,16 @@ "example": { "foo": "bar" } + }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true } }, "required": [ @@ -58186,18 +58347,6 @@ "example": 5, "nullable": true }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true, - "nullable": false - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -58217,6 +58366,18 @@ "foo": "bar" }, "nullable": true + }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false } } }, @@ -65609,6 +65770,18 @@ "foo": "bar" }, "nullable": true + }, + "circuit_state": { + "type": "string", + "description": "The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.", + "example": "closed", + "nullable": true + }, + "circuit_failure_count": { + "type": "integer", + "description": "The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.", + "example": 5, + "nullable": true } } }, @@ -65744,7 +65917,7 @@ } } }, - "line_item_options": { + "adjustment": { "type": "object", "properties": { "data": { @@ -65754,7 +65927,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "line_item_options" + "adjustments" ] }, "id": { @@ -65766,7 +65939,7 @@ } } }, - "return_line_items": { + "gift_card": { "type": "object", "properties": { "data": { @@ -65776,7 +65949,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "return_line_items" + "gift_cards" ] }, "id": { @@ -65788,7 +65961,7 @@ } } }, - "shipment_line_items": { + "shipment": { "type": "object", "properties": { "data": { @@ -65798,7 +65971,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "shipment_line_items" + "shipments" ] }, "id": { @@ -65808,8 +65981,73 @@ } } } - }, - "deprecated": true + } + }, + "payment_method": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "payment_methods" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, + "line_item_options": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "line_item_options" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, + "return_line_items": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "return_line_items" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } }, "stock_reservations": { "type": "object", @@ -66190,6 +66428,106 @@ } } }, + "adjustment": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "adjustments" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, + "gift_card": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "gift_cards" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, + "shipment": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "shipments" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, + "payment_method": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "payment_methods" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, "tags": { "required": [ "data" @@ -66326,6 +66664,12 @@ "foo": "bar" }, "nullable": true + }, + "_reset_circuit": { + "type": "boolean", + "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.", + "example": true, + "nullable": false } } }, @@ -66532,7 +66876,7 @@ } } }, - "line_item_options": { + "adjustment": { "type": "object", "properties": { "links": { @@ -66555,7 +66899,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "line_item_options" + "adjustment" ] }, "id": { @@ -66566,7 +66910,7 @@ } } }, - "return_line_items": { + "gift_card": { "type": "object", "properties": { "links": { @@ -66589,7 +66933,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "return_line_items" + "gift_card" ] }, "id": { @@ -66600,7 +66944,109 @@ } } }, - "shipment_line_items": { + "shipment": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "description": "URL" + }, + "related": { + "type": "string", + "description": "URL" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "shipment" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, + "payment_method": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "description": "URL" + }, + "related": { + "type": "string", + "description": "URL" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "payment_method" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, + "line_item_options": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "description": "URL" + }, + "related": { + "type": "string", + "description": "URL" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "line_item_options" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, + "return_line_items": { "type": "object", "properties": { "links": { @@ -66623,7 +67069,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "shipment_line_items" + "return_line_items" ] }, "id": { @@ -67755,24 +68201,12 @@ "example": "https://external_validation.yourbrand.com", "nullable": true }, - "shared_secret": { - "type": "string", - "description": "The shared secret used to sign the external requests payload.", - "example": "1c0994cc4e996e8c6ee56a2198f66f3c", - "nullable": false - }, "private": { "type": "boolean", "description": "Indicates if market belongs to a customer_group.", "example": true, "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the market was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -67804,6 +68238,18 @@ "foo": "bar" }, "nullable": true + }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true + }, + "shared_secret": { + "type": "string", + "description": "The shared secret used to sign the external request payload.", + "example": "1c0994cc4e996e8c6ee56a2198f66f3c", + "nullable": false } } }, @@ -68045,16 +68491,6 @@ "description": "The URL used to validate orders by an external source.", "example": "https://external_validation.yourbrand.com" }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the market as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the market as enabled.", - "example": true - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -68071,6 +68507,16 @@ "example": { "foo": "bar" } + }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true } }, "required": [ @@ -68306,18 +68752,6 @@ "example": "https://external_validation.yourbrand.com", "nullable": true }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the market as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the market as enabled.", - "example": true, - "nullable": false - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -68337,6 +68771,18 @@ "foo": "bar" }, "nullable": true + }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false } } }, @@ -71718,29 +72164,6 @@ } } }, - "order_copies": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "order_copies" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - }, - "deprecated": true - }, "recurring_order_copies": { "type": "object", "properties": { @@ -72361,40 +72784,6 @@ } } }, - "order_copies": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "description": "URL" - }, - "related": { - "type": "string", - "description": "URL" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "order_copies" - ] - }, - "id": { - "type": "string", - "description": "The resource ID" - } - } - } - } - }, "recurring_order_copies": { "type": "object", "properties": { @@ -73551,6 +73940,18 @@ "foo": "bar" }, "nullable": true + }, + "circuit_state": { + "type": "string", + "description": "The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.", + "example": "closed", + "nullable": true + }, + "circuit_failure_count": { + "type": "integer", + "description": "The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.", + "example": 5, + "nullable": true } } }, @@ -75023,6 +75424,12 @@ "foo": "bar" }, "nullable": true + }, + "_reset_circuit": { + "type": "boolean", + "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.", + "example": true, + "nullable": false } } }, @@ -77371,29 +77778,6 @@ } } }, - "shipment_line_item": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "shipment_line_items" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - }, - "deprecated": true - }, "versions": { "type": "object", "properties": { @@ -77524,32 +77908,6 @@ } } } - }, - "shipment_line_item": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "shipment_line_items" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - }, - "deprecated": true } }, "required": [ @@ -77721,40 +78079,6 @@ } } }, - "shipment_line_item": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "description": "URL" - }, - "related": { - "type": "string", - "description": "URL" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "shipment_line_item" - ] - }, - "id": { - "type": "string", - "description": "The resource ID" - } - } - } - } - }, "versions": { "type": "object", "properties": { @@ -79227,12 +79551,6 @@ "example": false, "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the payment method was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "price_amount_cents": { "type": "integer", "description": "The payment method's price, in cents", @@ -79300,6 +79618,12 @@ "foo": "bar" }, "nullable": true + }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true } } }, @@ -79466,16 +79790,6 @@ "description": "Send this attribute if you want to automatically capture the payment upon authorization.", "example": false }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the payment method as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the payment method as enabled.", - "example": true - }, "price_amount_cents": { "type": "integer", "description": "The payment method's price, in cents", @@ -79502,6 +79816,16 @@ "example": { "foo": "bar" } + }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true } }, "required": [ @@ -79649,18 +79973,6 @@ "example": false, "nullable": false }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the payment method as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the payment method as enabled.", - "example": true, - "nullable": false - }, "price_amount_cents": { "type": "integer", "description": "The payment method's price, in cents", @@ -79692,6 +80004,18 @@ "foo": "bar" }, "nullable": true + }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false } } }, @@ -81425,6 +81749,21 @@ "example": "Personal promotion", "nullable": false }, + "type": { + "type": "string", + "description": "The promotion's type.", + "example": "PercentageDiscountPromotion", + "nullable": false, + "enum": [ + "PercentageDiscountPromotion", + "FreeShippingPromotion", + "BuyXPayYPromotion", + "FreeGiftPromotion", + "FixedPricePromotion", + "ExternalPromotion", + "FixedAmountPromotion" + ] + }, "currency_code": { "type": "string", "description": "The international 3-letter currency code as defined by the ISO 4217 standard.", @@ -81473,12 +81812,6 @@ "example": true, "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the promotion was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -81511,6 +81844,12 @@ }, "nullable": true }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true + }, "percentage": { "type": "integer", "description": "The discount percentage to be applied.", @@ -81872,16 +82211,6 @@ "description": "The total number of times this promotion can be applied. When 'null' it means promotion can be applied infinite times.", "example": 5 }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -81899,6 +82228,16 @@ "foo": "bar" } }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true + }, "percentage": { "type": "integer", "description": "The discount percentage to be applied.", @@ -82167,18 +82506,6 @@ "example": 5, "nullable": true }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the promotion as enabled.", - "example": true, - "nullable": false - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -82199,6 +82526,18 @@ }, "nullable": true }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false + }, "percentage": { "type": "integer", "description": "The discount percentage to be applied.", @@ -85926,6 +86265,21 @@ "example": "Personal promotion", "nullable": false }, + "type": { + "type": "string", + "description": "The promotion's type.", + "example": "PercentageDiscountPromotion", + "nullable": false, + "enum": [ + "PercentageDiscountPromotion", + "FreeShippingPromotion", + "BuyXPayYPromotion", + "FreeGiftPromotion", + "FixedPricePromotion", + "ExternalPromotion", + "FixedAmountPromotion" + ] + }, "currency_code": { "type": "string", "description": "The international 3-letter currency code as defined by the ISO 4217 standard.", @@ -85974,12 +86328,6 @@ "example": true, "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the promotion was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -86011,6 +86359,12 @@ "foo": "bar" }, "nullable": true + }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true } } }, @@ -91158,29 +91512,6 @@ } } }, - "shipment_line_items": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "shipment_line_items" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - }, - "deprecated": true - }, "stock_line_items": { "type": "object", "properties": { @@ -92152,40 +92483,6 @@ } } }, - "shipment_line_items": { - "type": "object", - "properties": { - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "description": "URL" - }, - "related": { - "type": "string", - "description": "URL" - } - } - }, - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "shipment_line_items" - ] - }, - "id": { - "type": "string", - "description": "The resource ID" - } - } - } - } - }, "stock_line_items": { "type": "object", "properties": { @@ -93291,12 +93588,6 @@ "example": "https://external_prices.yourbrand.com", "nullable": true }, - "disabled_at": { - "type": "string", - "description": "Time at which the shipping method was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "price_amount_cents": { "type": "integer", "description": "The price of this shipping method, in cents.", @@ -93406,6 +93697,24 @@ "foo": "bar" }, "nullable": true + }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true + }, + "circuit_state": { + "type": "string", + "description": "The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.", + "example": "closed", + "nullable": true + }, + "circuit_failure_count": { + "type": "integer", + "description": "The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.", + "example": 5, + "nullable": true } } }, @@ -93659,16 +93968,6 @@ "description": "The URL used to overwrite prices by an external source.", "example": "https://external_prices.yourbrand.com" }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the shipping method as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the shipping method as enabled.", - "example": true - }, "price_amount_cents": { "type": "integer", "description": "The price of this shipping method, in cents.", @@ -93715,6 +94014,16 @@ "example": { "foo": "bar" } + }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true } }, "required": [ @@ -93909,18 +94218,6 @@ "example": "https://external_prices.yourbrand.com", "nullable": true }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the shipping method as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the shipping method as enabled.", - "example": true, - "nullable": false - }, "price_amount_cents": { "type": "integer", "description": "The price of this shipping method, in cents.", @@ -93976,6 +94273,24 @@ "foo": "bar" }, "nullable": true + }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false + }, + "_reset_circuit": { + "type": "boolean", + "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.", + "example": true, + "nullable": false } } }, @@ -107781,30 +108096,6 @@ "type": "string" } }, - "circuit_state": { - "type": "string", - "description": "The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.", - "example": "closed", - "nullable": true - }, - "circuit_failure_count": { - "type": "integer", - "description": "The number of consecutive failures recorded by the circuit breaker associated to this webhook, will be reset on first successful call to callback.", - "example": 5, - "nullable": true - }, - "shared_secret": { - "type": "string", - "description": "The shared secret used to sign the external request payload.", - "example": "1c0994cc4e996e8c6ee56a2198f66f3c", - "nullable": false - }, - "disabled_at": { - "type": "string", - "description": "Time at which the webhook was disabled.", - "example": "2018-01-01T12:00:00.000Z", - "nullable": true - }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -107836,6 +108127,30 @@ "foo": "bar" }, "nullable": true + }, + "disabled_at": { + "type": "string", + "description": "Time at which this resource was disabled.", + "example": "2018-01-01T12:00:00.000Z", + "nullable": true + }, + "circuit_state": { + "type": "string", + "description": "The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.", + "example": "closed", + "nullable": true + }, + "circuit_failure_count": { + "type": "integer", + "description": "The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.", + "example": 5, + "nullable": true + }, + "shared_secret": { + "type": "string", + "description": "The shared secret used to sign the external request payload.", + "example": "1c0994cc4e996e8c6ee56a2198f66f3c", + "nullable": false } } }, @@ -107942,16 +108257,6 @@ "type": "string" } }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the webhook as disabled.", - "example": true - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the webhook as enabled.", - "example": true - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -107968,6 +108273,16 @@ "example": { "foo": "bar" } + }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true } }, "required": [ @@ -108043,24 +108358,6 @@ "type": "string" } }, - "_reset_circuit": { - "type": "boolean", - "description": "Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero failures count.", - "example": true, - "nullable": false - }, - "_disable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the webhook as disabled.", - "example": true, - "nullable": false - }, - "_enable": { - "type": "boolean", - "description": "Send this attribute if you want to mark the webhook as enabled.", - "example": true, - "nullable": false - }, "reference": { "type": "string", "description": "A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.", @@ -108080,6 +108377,24 @@ "foo": "bar" }, "nullable": true + }, + "_disable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as disabled.", + "example": true, + "nullable": false + }, + "_enable": { + "type": "boolean", + "description": "Send this attribute if you want to mark this resource as enabled.", + "example": true, + "nullable": false + }, + "_reset_circuit": { + "type": "boolean", + "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.", + "example": true, + "nullable": false } } }, diff --git a/package.json b/package.json index c0439cea..cbe811ca 100644 --- a/package.json +++ b/package.json @@ -39,13 +39,13 @@ "@babel/preset-env": "^7.24.0", "@babel/preset-typescript": "^7.23.3", "@commercelayer/eslint-config-ts": "1.3.0", - "@commercelayer/js-auth": "^4.2.1", + "@commercelayer/js-auth": "^4.2.2", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/debug": "^4.1.12", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", - "@types/node": "^20.11.24", + "@types/node": "^20.11.25", "dotenv": "^16.4.5", "eslint": "^8.57.0", "inflector-js": "^1.0.1", @@ -56,7 +56,7 @@ "minimize-js": "^1.4.0", "semantic-release": "^23.0.2", "ts-node": "^10.9.2", - "typescript": "^5.3.3" + "typescript": "^5.4.2" }, "repository": "github:commercelayer/commercelayer-sdk", "bugs": "https://github.com/commercelayer/commercelayer-sdk/issues", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a506b588..e72e1736 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,10 +21,10 @@ devDependencies: version: 7.23.3(@babel/core@7.24.0) '@commercelayer/eslint-config-ts': specifier: 1.3.0 - version: 1.3.0(eslint@8.57.0)(typescript@5.3.3) + version: 1.3.0(eslint@8.57.0)(typescript@5.4.2) '@commercelayer/js-auth': - specifier: ^4.2.1 - version: 4.2.1 + specifier: ^4.2.2 + version: 4.2.2 '@semantic-release/changelog': specifier: ^6.0.3 version: 6.0.3(semantic-release@23.0.2) @@ -41,8 +41,8 @@ devDependencies: specifier: ^4.14.202 version: 4.14.202 '@types/node': - specifier: ^20.11.24 - version: 20.11.24 + specifier: ^20.11.25 + version: 20.11.25 dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -54,7 +54,7 @@ devDependencies: version: 1.0.1 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -69,13 +69,13 @@ devDependencies: version: 1.4.0 semantic-release: specifier: ^23.0.2 - version: 23.0.2(typescript@5.3.3) + version: 23.0.2(typescript@5.4.2) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.24)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.25)(typescript@5.4.2) typescript: - specifier: ^5.3.3 - version: 5.3.3 + specifier: ^5.4.2 + version: 5.4.2 packages: @@ -89,7 +89,7 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 dev: true /@babel/code-frame@7.23.5: @@ -134,7 +134,7 @@ packages: dependencies: '@babel/types': 7.24.0 '@jridgewell/gen-mapping': 0.3.5 - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 jsesc: 2.5.2 dev: true @@ -1324,23 +1324,23 @@ packages: dev: true optional: true - /@commercelayer/eslint-config-ts@1.3.0(eslint@8.57.0)(typescript@5.3.3): + /@commercelayer/eslint-config-ts@1.3.0(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-N0ADyBWf2oPD4q0xVA7T18C+sYfAGmxiLPU8c99k3Mn9nN++gKJxXOL16zClokmfdEYn481nvmQHcmUaKOJYZw==} peerDependencies: eslint: '>=8.0' typescript: '>=5.0' dependencies: - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.4.2) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.4.2) eslint: 8.57.0 eslint-config-prettier: 9.1.0(eslint@8.57.0) - eslint-config-standard-with-typescript: 42.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.3.3) + eslint-config-standard-with-typescript: 42.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.2) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.57.0) eslint-plugin-n: 16.6.2(eslint@8.57.0) eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.57.0)(prettier@3.2.5) eslint-plugin-promise: 6.1.1(eslint@8.57.0) prettier: 3.2.5 - typescript: 5.3.3 + typescript: 5.4.2 transitivePeerDependencies: - '@types/eslint' - eslint-import-resolver-typescript @@ -1348,9 +1348,11 @@ packages: - supports-color dev: true - /@commercelayer/js-auth@4.2.1: - resolution: {integrity: sha512-VmsIVtoC9l9/xC2df7hEOASKFrxHYKnFGSkvIBjJ4zjzvkkuYhThmqEP9bFqilqa+DbNRa4tQUWdf82Cp/yEBQ==} + /@commercelayer/js-auth@4.2.2: + resolution: {integrity: sha512-XgVr9eUbSYfNkQTIXJ+7BVHFSu1tUHosHiVLIirTr/mmCpS1pS7b8qOC1ft3y2azMknsnvWqu2K64vqbr8Fqyg==} engines: {node: '>=18.0.0'} + dependencies: + tslib: 2.6.2 dev: true /@cspotcode/source-map-support@0.8.1: @@ -1648,7 +1650,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1669,14 +1671,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1704,7 +1706,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 jest-mock: 29.7.0 dev: true @@ -1731,7 +1733,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.24 + '@types/node': 20.11.25 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1763,8 +1765,8 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.24 - '@types/node': 20.11.24 + '@jridgewell/trace-mapping': 0.3.25 + '@types/node': 20.11.25 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1797,7 +1799,7 @@ packages: resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 callsites: 3.1.0 graceful-fs: 4.2.11 dev: true @@ -1828,7 +1830,7 @@ packages: dependencies: '@babel/core': 7.24.0 '@jest/types': 29.6.3 - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 babel-plugin-istanbul: 6.1.1 chalk: 4.1.2 convert-source-map: 2.0.0 @@ -1852,7 +1854,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.24 + '@types/node': 20.11.25 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1863,7 +1865,7 @@ packages: dependencies: '@jridgewell/set-array': 1.2.1 '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 dev: true /@jridgewell/resolve-uri@3.1.2: @@ -1880,8 +1882,8 @@ packages: resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} dev: true - /@jridgewell/trace-mapping@0.3.24: - resolution: {integrity: sha512-+VaWXDa6+l6MhflBvVXjIEAzb59nQ2JUK3bwRp2zRpPtU+8TFRy9Gg/5oIcNlkEL5PGlBFGfemUVvIgLnTzq7Q==} + /@jridgewell/trace-mapping@0.3.25: + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 @@ -2055,7 +2057,7 @@ packages: aggregate-error: 3.1.0 fs-extra: 11.2.0 lodash: 4.17.21 - semantic-release: 23.0.2(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.4.2) dev: true /@semantic-release/commit-analyzer@11.1.0(semantic-release@23.0.2): @@ -2071,7 +2073,7 @@ packages: import-from-esm: 1.3.3 lodash-es: 4.17.21 micromatch: 4.0.5 - semantic-release: 23.0.2(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.4.2) transitivePeerDependencies: - supports-color dev: true @@ -2100,7 +2102,7 @@ packages: lodash: 4.17.21 micromatch: 4.0.5 p-reduce: 2.1.0 - semantic-release: 23.0.2(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.4.2) transitivePeerDependencies: - supports-color dev: true @@ -2126,14 +2128,14 @@ packages: lodash-es: 4.17.21 mime: 4.0.1 p-filter: 4.1.0 - semantic-release: 23.0.2(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.4.2) url-join: 5.0.0 transitivePeerDependencies: - supports-color dev: true - /@semantic-release/npm@11.0.2(semantic-release@23.0.2): - resolution: {integrity: sha512-owtf3RjyPvRE63iUKZ5/xO4uqjRpVQDUB9+nnXj0xwfIeM9pRl+cG+zGDzdftR4m3f2s4Wyf3SexW+kF5DFtWA==} + /@semantic-release/npm@11.0.3(semantic-release@23.0.2): + resolution: {integrity: sha512-KUsozQGhRBAnoVg4UMZj9ep436VEGwT536/jwSqB7vcEfA6oncCUU7UIYTRdLx7GvTtqn0kBjnkfLVkcnBa2YQ==} engines: {node: ^18.17 || >=20} peerDependencies: semantic-release: '>=20.1.0' @@ -2149,7 +2151,7 @@ packages: rc: 1.2.8 read-pkg: 9.0.1 registry-auth-token: 5.0.2 - semantic-release: 23.0.2(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.4.2) semver: 7.6.0 tempy: 3.1.0 dev: true @@ -2170,7 +2172,7 @@ packages: into-stream: 7.0.0 lodash-es: 4.17.21 read-pkg-up: 11.0.0 - semantic-release: 23.0.2(typescript@5.3.3) + semantic-release: 23.0.2(typescript@5.4.2) transitivePeerDependencies: - supports-color dev: true @@ -2255,7 +2257,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.24 + '@types/node': 20.11.25 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -2297,8 +2299,8 @@ packages: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.11.24: - resolution: {integrity: sha512-Kza43ewS3xoLgCEpQrsT+xRo/EJej1y0kVYGiLFE1NEODXGzTfwiC6tXTLMQskn1X4/Rjlh0MQUvx9W+L9long==} + /@types/node@20.11.25: + resolution: {integrity: sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==} dependencies: undici-types: 5.26.5 dev: true @@ -2325,7 +2327,7 @@ packages: '@types/yargs-parser': 21.0.3 dev: true - /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3): + /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2337,10 +2339,10 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.4.2) '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/type-utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/type-utils': 6.21.0(eslint@8.57.0)(typescript@5.4.2) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.4.2) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 eslint: 8.57.0 @@ -2348,13 +2350,13 @@ packages: ignore: 5.3.1 natural-compare: 1.4.0 semver: 7.6.0 - ts-api-utils: 1.2.1(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.2.1(typescript@5.4.2) + typescript: 5.4.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.3.3): + /@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2366,11 +2368,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.4.2) '@typescript-eslint/visitor-keys': 6.21.0 debug: 4.3.4 eslint: 8.57.0 - typescript: 5.3.3 + typescript: 5.4.2 transitivePeerDependencies: - supports-color dev: true @@ -2383,7 +2385,7 @@ packages: '@typescript-eslint/visitor-keys': 6.21.0 dev: true - /@typescript-eslint/type-utils@6.21.0(eslint@8.57.0)(typescript@5.3.3): + /@typescript-eslint/type-utils@6.21.0(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2393,12 +2395,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) - '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.4.2) + '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.4.2) debug: 4.3.4 eslint: 8.57.0 - ts-api-utils: 1.2.1(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.2.1(typescript@5.4.2) + typescript: 5.4.2 transitivePeerDependencies: - supports-color dev: true @@ -2408,7 +2410,7 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@6.21.0(typescript@5.3.3): + /@typescript-eslint/typescript-estree@6.21.0(typescript@5.4.2): resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2424,13 +2426,13 @@ packages: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.0 - ts-api-utils: 1.2.1(typescript@5.3.3) - typescript: 5.3.3 + ts-api-utils: 1.2.1(typescript@5.4.2) + typescript: 5.4.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.3.3): + /@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -2441,7 +2443,7 @@ packages: '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 6.21.0 '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3) + '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.4.2) eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: @@ -2845,8 +2847,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001591 - electron-to-chromium: 1.4.689 + caniuse-lite: 1.0.30001596 + electron-to-chromium: 1.4.695 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -2898,8 +2900,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite@1.0.30001591: - resolution: {integrity: sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ==} + /caniuse-lite@1.0.30001596: + resolution: {integrity: sha512-zpkZ+kEr6We7w63ORkoJ2pOfBwBkY/bJrG/UZ90qNb45Isblu8wzDgevEOrRL1r9dWayHjYiiyCMEXPn4DweGQ==} dev: true /chalk@2.4.2: @@ -3099,7 +3101,7 @@ packages: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} dev: true - /cosmiconfig@9.0.0(typescript@5.3.3): + /cosmiconfig@9.0.0(typescript@5.4.2): resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} engines: {node: '>=14'} peerDependencies: @@ -3112,10 +3114,10 @@ packages: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 - typescript: 5.3.3 + typescript: 5.4.2 dev: true - /create-jest@29.7.0(@types/node@20.11.24)(ts-node@10.9.2): + /create-jest@29.7.0(@types/node@20.11.25)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3124,7 +3126,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3289,8 +3291,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.689: - resolution: {integrity: sha512-GatzRKnGPS1go29ep25reM94xxd1Wj8ritU0yRhCJ/tr1Bg8gKnm6R9O/yPOhGQBoLMZ9ezfrpghNaTw97C/PQ==} + /electron-to-chromium@1.4.695: + resolution: {integrity: sha512-eMijZmeqPtm774pCZIOrfUHMs/7ls++W1sLhxwqgu8KQ8E2WmMtzwyqOMt0XXUJ3HTIPfuwlfwF+I5cwnfItBA==} dev: true /emittery@0.13.1: @@ -3489,7 +3491,7 @@ packages: eslint: 8.57.0 dev: true - /eslint-config-standard-with-typescript@42.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.3.3): + /eslint-config-standard-with-typescript@42.0.0(@typescript-eslint/eslint-plugin@6.21.0)(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.57.0)(typescript@5.4.2): resolution: {integrity: sha512-m1/2g/Sicun1uFZOFigJVeOqo9fE7OkMsNtilcpHwdCdcGr21qsGqYiyxYSvvHfJwY7w5OTQH0hxk8sM2N5Ohg==} peerDependencies: '@typescript-eslint/eslint-plugin': ^6.4.0 @@ -3499,14 +3501,14 @@ packages: eslint-plugin-promise: ^6.0.0 typescript: '*' dependencies: - '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.3.3) - '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.57.0)(typescript@5.4.2) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.4.2) eslint: 8.57.0 eslint-config-standard: 17.1.0(eslint-plugin-import@2.29.1)(eslint-plugin-n@16.6.2)(eslint-plugin-promise@6.1.1)(eslint@8.57.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.57.0) eslint-plugin-n: 16.6.2(eslint@8.57.0) eslint-plugin-promise: 6.1.1(eslint@8.57.0) - typescript: 5.3.3 + typescript: 5.4.2 transitivePeerDependencies: - supports-color dev: true @@ -3557,7 +3559,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.4.2) debug: 3.2.7 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 @@ -3587,7 +3589,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.3.3) + '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.4.2) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.4 array.prototype.flat: 1.3.2 @@ -3622,7 +3624,7 @@ packages: builtins: 5.0.1 eslint: 8.57.0 eslint-plugin-es-x: 7.5.0(eslint@8.57.0) - get-tsconfig: 4.7.2 + get-tsconfig: 4.7.3 globals: 13.24.0 ignore: 5.3.1 is-builtin-module: 3.2.1 @@ -3853,8 +3855,8 @@ packages: escape-string-regexp: 1.0.5 dev: true - /figures@6.0.1: - resolution: {integrity: sha512-0oY/olScYD4IhQ8u//gCPA4F3mlTn2dacYmiDm/mbDQvpmLjV4uH+zhsQ5IyXRyvqkvtUkXkNdGvg5OFJTCsuQ==} + /figures@6.1.0: + resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==} engines: {node: '>=18'} dependencies: is-unicode-supported: 2.0.0 @@ -4051,8 +4053,8 @@ packages: get-intrinsic: 1.2.4 dev: true - /get-tsconfig@4.7.2: - resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==} + /get-tsconfig@4.7.3: + resolution: {integrity: sha512-ZvkrzoUA0PQZM6fy6+/Hce561s+faD1rsNwhnO5FelNjyy7EMGJ3Rz1AQ8GYDWjhRs/7dBLOEJvhK8MiEJOAFg==} dependencies: resolve-pkg-maps: 1.0.0 dev: true @@ -4642,7 +4644,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4663,7 +4665,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.24)(ts-node@10.9.2): + /jest-cli@29.7.0(@types/node@20.11.25)(ts-node@10.9.2): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4677,10 +4679,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4691,7 +4693,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.24)(ts-node@10.9.2): + /jest-config@29.7.0(@types/node@20.11.25)(ts-node@10.9.2): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4706,7 +4708,7 @@ packages: '@babel/core': 7.24.0 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 babel-jest: 29.7.0(@babel/core@7.24.0) chalk: 4.1.2 ci-info: 3.9.0 @@ -4726,7 +4728,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.11.24)(typescript@5.3.3) + ts-node: 10.9.2(@types/node@20.11.25)(typescript@5.4.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -4767,7 +4769,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4783,7 +4785,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.24 + '@types/node': 20.11.25 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4834,7 +4836,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 jest-util: 29.7.0 dev: true @@ -4889,7 +4891,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4920,7 +4922,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4972,7 +4974,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -4997,7 +4999,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.24 + '@types/node': 20.11.25 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -5009,13 +5011,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.24 + '@types/node': 20.11.25 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.24)(ts-node@10.9.2): + /jest@29.7.0(@types/node@20.11.25)(ts-node@10.9.2): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -5028,7 +5030,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.2) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.24)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -5257,7 +5259,7 @@ packages: tmpl: 1.0.5 dev: true - /marked-terminal@7.0.0(marked@12.0.0): + /marked-terminal@7.0.0(marked@12.0.1): resolution: {integrity: sha512-sNEx8nn9Ktcm6pL0TnRz8tnXq/mSS0Q1FRSwJOAqw4lAB4l49UeDf85Gm1n9RPFm5qurCPjwi1StAQT2XExhZw==} engines: {node: '>=16.0.0'} peerDependencies: @@ -5267,13 +5269,13 @@ packages: chalk: 5.3.0 cli-highlight: 2.1.11 cli-table3: 0.6.3 - marked: 12.0.0 + marked: 12.0.1 node-emoji: 2.1.3 supports-hyperlinks: 3.0.0 dev: true - /marked@12.0.0: - resolution: {integrity: sha512-Vkwtq9rLqXryZnWaQc86+FHLC6tr/fycMfYAhiOIXkrNmeGAyhSxjqu0Rs1i0bBqw5u0S7+lV9fdH2ZSVaoa0w==} + /marked@12.0.1: + resolution: {integrity: sha512-Y1/V2yafOcOdWQCX0XpAKXzDakPOpn6U0YLxTJs3cww6VxOzZV1BTOOYWLvH3gX38cq+iLwljHHTnMtlDfg01Q==} engines: {node: '>= 18'} hasBin: true dev: true @@ -5719,7 +5721,7 @@ packages: dependencies: '@babel/code-frame': 7.23.5 index-to-position: 0.1.2 - type-fest: 4.10.3 + type-fest: 4.11.1 dev: true /parse5-htmlparser2-tree-adapter@6.0.1: @@ -5912,7 +5914,7 @@ packages: dependencies: find-up-simple: 1.0.0 read-pkg: 9.0.1 - type-fest: 4.10.3 + type-fest: 4.11.1 dev: true /read-pkg@9.0.1: @@ -5922,7 +5924,7 @@ packages: '@types/normalize-package-data': 2.4.4 normalize-package-data: 6.0.0 parse-json: 8.1.0 - type-fest: 4.10.3 + type-fest: 4.11.1 unicorn-magic: 0.1.0 dev: true @@ -6076,7 +6078,7 @@ packages: is-regex: 1.1.4 dev: true - /semantic-release@23.0.2(typescript@5.3.3): + /semantic-release@23.0.2(typescript@5.4.2): resolution: {integrity: sha512-OnVYJ6Xgzwe1x8MKswba7RU9+5djS1MWRTrTn5qsq3xZYpslroZkV9Pt0dA2YcIuieeuSZWJhn+yUWoBUHO5Fw==} engines: {node: '>=20.8.1'} hasBin: true @@ -6084,14 +6086,14 @@ packages: '@semantic-release/commit-analyzer': 11.1.0(semantic-release@23.0.2) '@semantic-release/error': 4.0.0 '@semantic-release/github': 9.2.6(semantic-release@23.0.2) - '@semantic-release/npm': 11.0.2(semantic-release@23.0.2) + '@semantic-release/npm': 11.0.3(semantic-release@23.0.2) '@semantic-release/release-notes-generator': 12.1.0(semantic-release@23.0.2) aggregate-error: 5.0.0 - cosmiconfig: 9.0.0(typescript@5.3.3) + cosmiconfig: 9.0.0(typescript@5.4.2) debug: 4.3.4 env-ci: 11.0.0 execa: 8.0.1 - figures: 6.0.1 + figures: 6.1.0 find-versions: 5.1.0 get-stream: 6.0.1 git-log-parser: 1.2.0 @@ -6099,8 +6101,8 @@ packages: hosted-git-info: 7.0.1 import-from-esm: 1.3.3 lodash-es: 4.17.21 - marked: 12.0.0 - marked-terminal: 7.0.0(marked@12.0.0) + marked: 12.0.1 + marked-terminal: 7.0.0(marked@12.0.1) micromatch: 4.0.5 p-each-series: 3.0.0 p-reduce: 3.0.0 @@ -6511,16 +6513,16 @@ packages: engines: {node: '>= 0.4'} dev: true - /ts-api-utils@1.2.1(typescript@5.3.3): + /ts-api-utils@1.2.1(typescript@5.4.2): resolution: {integrity: sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.3.3 + typescript: 5.4.2 dev: true - /ts-node@10.9.2(@types/node@20.11.24)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.25)(typescript@5.4.2): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6539,14 +6541,14 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.24 + '@types/node': 20.11.25 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.3.3 + typescript: 5.4.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: true @@ -6601,8 +6603,8 @@ packages: engines: {node: '>=14.16'} dev: true - /type-fest@4.10.3: - resolution: {integrity: sha512-JLXyjizi072smKGGcZiAJDCNweT8J+AuRxmPZ1aG7TERg4ijx9REl8CNhbr36RV4qXqL1gO1FF9HL8OkVmmrsA==} + /type-fest@4.11.1: + resolution: {integrity: sha512-MFMf6VkEVZAETidGGSYW2B1MjXbGX+sWIywn2QPEaJ3j08V+MwVRHMXtf2noB8ENJaD0LIun9wh5Z6OPNf1QzQ==} engines: {node: '>=16'} dev: true @@ -6650,8 +6652,8 @@ packages: possible-typed-array-names: 1.0.0 dev: true - /typescript@5.3.3: - resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} + /typescript@5.4.2: + resolution: {integrity: sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==} engines: {node: '>=14.17'} hasBin: true dev: true @@ -6760,7 +6762,7 @@ packages: resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} engines: {node: '>=10.12.0'} dependencies: - '@jridgewell/trace-mapping': 0.3.24 + '@jridgewell/trace-mapping': 0.3.25 '@types/istanbul-lib-coverage': 2.0.6 convert-source-map: 2.0.0 dev: true diff --git a/specs/resources/external_gateways.spec.ts b/specs/resources/external_gateways.spec.ts index 5c13e0a3..a98cd264 100644 --- a/specs/resources/external_gateways.spec.ts +++ b/specs/resources/external_gateways.spec.ts @@ -256,4 +256,29 @@ describe('ExternalGateways resource', () => { /* relationship.external_payments stop */ + + /* trigger._reset_circuit start */ + it(resourceType + '._reset_circuit', async () => { + + let triggerAttr = '_reset_circuit' + if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` + + const triggerValue = true + const attributes = { [triggerAttr]: triggerValue } + const id = TestData.id + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('patch') + checkCommon(config, resourceType, id, currentAccessToken) + checkCommonData(config, resourceType, attributes, id) + return interceptRequest() + }) + + await cl[resourceType]._reset_circuit(id, {}, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* trigger._reset_circuit stop */ + }) diff --git a/specs/resources/external_promotions.spec.ts b/specs/resources/external_promotions.spec.ts index f1d72578..633777d2 100644 --- a/specs/resources/external_promotions.spec.ts +++ b/specs/resources/external_promotions.spec.ts @@ -505,4 +505,29 @@ describe('ExternalPromotions resource', () => { }) /* trigger._enable stop */ + + /* trigger._reset_circuit start */ + it(resourceType + '._reset_circuit', async () => { + + let triggerAttr = '_reset_circuit' + if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` + + const triggerValue = true + const attributes = { [triggerAttr]: triggerValue } + const id = TestData.id + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('patch') + checkCommon(config, resourceType, id, currentAccessToken) + checkCommonData(config, resourceType, attributes, id) + return interceptRequest() + }) + + await cl[resourceType]._reset_circuit(id, {}, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* trigger._reset_circuit stop */ + }) diff --git a/specs/resources/external_tax_calculators.spec.ts b/specs/resources/external_tax_calculators.spec.ts index eac558d7..0875037d 100644 --- a/specs/resources/external_tax_calculators.spec.ts +++ b/specs/resources/external_tax_calculators.spec.ts @@ -257,4 +257,29 @@ describe('ExternalTaxCalculators resource', () => { /* relationship.versions stop */ + + /* trigger._reset_circuit start */ + it(resourceType + '._reset_circuit', async () => { + + let triggerAttr = '_reset_circuit' + if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` + + const triggerValue = true + const attributes = { [triggerAttr]: triggerValue } + const id = TestData.id + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('patch') + checkCommon(config, resourceType, id, currentAccessToken) + checkCommonData(config, resourceType, attributes, id) + return interceptRequest() + }) + + await cl[resourceType]._reset_circuit(id, {}, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* trigger._reset_circuit stop */ + }) diff --git a/specs/resources/line_items.spec.ts b/specs/resources/line_items.spec.ts index 64a7e9a2..a8ae5311 100644 --- a/specs/resources/line_items.spec.ts +++ b/specs/resources/line_items.spec.ts @@ -30,6 +30,10 @@ describe('LineItems resource', () => { item: cl.adjustments.relationship(TestData.id), sku: cl.skus.relationship(TestData.id), bundle: cl.bundles.relationship(TestData.id), + adjustment: cl.adjustments.relationship(TestData.id), + gift_card: cl.gift_cards.relationship(TestData.id), + shipment: cl.shipments.relationship(TestData.id), + payment_method: cl.payment_methods.relationship(TestData.id), tags: [ cl.tags.relationship(TestData.id) ], } @@ -416,4 +420,29 @@ describe('LineItems resource', () => { }) /* trigger._reserve_stock stop */ + + /* trigger._reset_circuit start */ + it(resourceType + '._reset_circuit', async () => { + + let triggerAttr = '_reset_circuit' + if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` + + const triggerValue = true + const attributes = { [triggerAttr]: triggerValue } + const id = TestData.id + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('patch') + checkCommon(config, resourceType, id, currentAccessToken) + checkCommonData(config, resourceType, attributes, id) + return interceptRequest() + }) + + await cl[resourceType]._reset_circuit(id, {}, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* trigger._reset_circuit stop */ + }) diff --git a/specs/resources/orders.spec.ts b/specs/resources/orders.spec.ts index 1253699e..72e53318 100644 --- a/specs/resources/orders.spec.ts +++ b/specs/resources/orders.spec.ts @@ -1550,4 +1550,29 @@ describe('Orders resource', () => { }) /* trigger._stop_editing stop */ + + /* trigger._reset_circuit start */ + it(resourceType + '._reset_circuit', async () => { + + let triggerAttr = '_reset_circuit' + if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` + + const triggerValue = true + const attributes = { [triggerAttr]: triggerValue } + const id = TestData.id + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('patch') + checkCommon(config, resourceType, id, currentAccessToken) + checkCommonData(config, resourceType, attributes, id) + return interceptRequest() + }) + + await cl[resourceType]._reset_circuit(id, {}, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* trigger._reset_circuit stop */ + }) diff --git a/specs/resources/shipping_methods.spec.ts b/specs/resources/shipping_methods.spec.ts index 6c37e354..1fd27cea 100644 --- a/specs/resources/shipping_methods.spec.ts +++ b/specs/resources/shipping_methods.spec.ts @@ -438,4 +438,29 @@ describe('ShippingMethods resource', () => { }) /* trigger._enable stop */ + + /* trigger._reset_circuit start */ + it(resourceType + '._reset_circuit', async () => { + + let triggerAttr = '_reset_circuit' + if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` + + const triggerValue = true + const attributes = { [triggerAttr]: triggerValue } + const id = TestData.id + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('patch') + checkCommon(config, resourceType, id, currentAccessToken) + checkCommonData(config, resourceType, attributes, id) + return interceptRequest() + }) + + await cl[resourceType]._reset_circuit(id, {}, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* trigger._reset_circuit stop */ + }) diff --git a/specs/resources/webhooks.spec.ts b/specs/resources/webhooks.spec.ts index 87cc745e..8f12d50d 100644 --- a/specs/resources/webhooks.spec.ts +++ b/specs/resources/webhooks.spec.ts @@ -237,10 +237,10 @@ describe('Webhooks resource', () => { - /* trigger._reset_circuit start */ - it(resourceType + '._reset_circuit', async () => { + /* trigger._disable start */ + it(resourceType + '._disable', async () => { - let triggerAttr = '_reset_circuit' + let triggerAttr = '_disable' if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` const triggerValue = true @@ -254,18 +254,18 @@ describe('Webhooks resource', () => { return interceptRequest() }) - await cl[resourceType]._reset_circuit(id, {}, CommonData.options) + await cl[resourceType]._disable(id, {}, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* trigger._reset_circuit stop */ + /* trigger._disable stop */ - /* trigger._disable start */ - it(resourceType + '._disable', async () => { + /* trigger._enable start */ + it(resourceType + '._enable', async () => { - let triggerAttr = '_disable' + let triggerAttr = '_enable' if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` const triggerValue = true @@ -279,18 +279,18 @@ describe('Webhooks resource', () => { return interceptRequest() }) - await cl[resourceType]._disable(id, {}, CommonData.options) + await cl[resourceType]._enable(id, {}, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* trigger._disable stop */ + /* trigger._enable stop */ - /* trigger._enable start */ - it(resourceType + '._enable', async () => { + /* trigger._reset_circuit start */ + it(resourceType + '._reset_circuit', async () => { - let triggerAttr = '_enable' + let triggerAttr = '_reset_circuit' if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` const triggerValue = true @@ -304,11 +304,11 @@ describe('Webhooks resource', () => { return interceptRequest() }) - await cl[resourceType]._enable(id, {}, CommonData.options) + await cl[resourceType]._reset_circuit(id, {}, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* trigger._enable stop */ + /* trigger._reset_circuit stop */ }) diff --git a/src/commercelayer.ts b/src/commercelayer.ts index 79e821ae..aef99abc 100644 --- a/src/commercelayer.ts +++ b/src/commercelayer.ts @@ -10,7 +10,7 @@ const debug = Debug('commercelayer') // Autogenerated schema version number, do not remove this line -const OPEN_API_SCHEMA_VERSION = '4.27.0' +const OPEN_API_SCHEMA_VERSION = '5.0.0' export { OPEN_API_SCHEMA_VERSION } diff --git a/src/resources/adjustments.ts b/src/resources/adjustments.ts index 481a301c..b2aa3f8f 100644 --- a/src/resources/adjustments.ts +++ b/src/resources/adjustments.ts @@ -18,6 +18,7 @@ interface Adjustment extends Resource { amount_cents: number amount_float: number formatted_amount: string + distribute_discount?: boolean | null versions?: Version[] | null @@ -29,6 +30,7 @@ interface AdjustmentCreate extends ResourceCreate { name: string currency_code: string amount_cents: number + distribute_discount?: boolean | null } @@ -38,6 +40,7 @@ interface AdjustmentUpdate extends ResourceUpdate { name?: string | null currency_code?: string | null amount_cents?: number | null + distribute_discount?: boolean | null } diff --git a/src/resources/external_gateways.ts b/src/resources/external_gateways.ts index bfe00e91..17db5c8b 100644 --- a/src/resources/external_gateways.ts +++ b/src/resources/external_gateways.ts @@ -16,12 +16,14 @@ interface ExternalGateway extends Resource { readonly type: ExternalGatewayType name: string - shared_secret: string authorize_url?: string | null capture_url?: string | null void_url?: string | null refund_url?: string | null token_url?: string | null + circuit_state?: string | null + circuit_failure_count?: number | null + shared_secret: string payment_methods?: PaymentMethod[] | null versions?: Version[] | null @@ -50,6 +52,7 @@ interface ExternalGatewayUpdate extends ResourceUpdate { void_url?: string | null refund_url?: string | null token_url?: string | null + _reset_circuit?: boolean | null } @@ -85,6 +88,10 @@ class ExternalGateways extends ApiResource { return this.resources.fetch({ type: 'external_payments' }, `external_gateways/${_externalGatewayId}/external_payments`, params, options) as unknown as ListResponse } + async _reset_circuit(id: string | ExternalGateway, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: ExternalGateways.TYPE, _reset_circuit: true }, params, options) + } + isExternalGateway(resource: any): resource is ExternalGateway { return resource.type && (resource.type === ExternalGateways.TYPE) diff --git a/src/resources/external_promotions.ts b/src/resources/external_promotions.ts index f080edcf..974d9113 100644 --- a/src/resources/external_promotions.ts +++ b/src/resources/external_promotions.ts @@ -43,6 +43,8 @@ interface ExternalPromotion extends Resource { active?: boolean | null disabled_at?: string | null promotion_url: string + circuit_state?: string | null + circuit_failure_count?: number | null shared_secret: string market?: Market | null @@ -98,6 +100,7 @@ interface ExternalPromotionUpdate extends ResourceUpdate { _disable?: boolean | null _enable?: boolean | null promotion_url?: string | null + _reset_circuit?: boolean | null market?: MarketRel | null order_amount_promotion_rule?: OrderAmountPromotionRuleRel | null @@ -194,6 +197,10 @@ class ExternalPromotions extends ApiResource { return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _enable: true }, params, options) } + async _reset_circuit(id: string | ExternalPromotion, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: ExternalPromotions.TYPE, _reset_circuit: true }, params, options) + } + isExternalPromotion(resource: any): resource is ExternalPromotion { return resource.type && (resource.type === ExternalPromotions.TYPE) diff --git a/src/resources/external_tax_calculators.ts b/src/resources/external_tax_calculators.ts index a98e9655..b98a35a9 100644 --- a/src/resources/external_tax_calculators.ts +++ b/src/resources/external_tax_calculators.ts @@ -17,6 +17,8 @@ interface ExternalTaxCalculator extends Resource { name: string tax_calculator_url: string + circuit_state?: string | null + circuit_failure_count?: number | null shared_secret: string markets?: Market[] | null @@ -38,6 +40,7 @@ interface ExternalTaxCalculatorUpdate extends ResourceUpdate { name?: string | null tax_calculator_url?: string | null + _reset_circuit?: boolean | null } @@ -73,6 +76,10 @@ class ExternalTaxCalculators extends ApiResource { return this.resources.fetch({ type: 'versions' }, `external_tax_calculators/${_externalTaxCalculatorId}/versions`, params, options) as unknown as ListResponse } + async _reset_circuit(id: string | ExternalTaxCalculator, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: ExternalTaxCalculators.TYPE, _reset_circuit: true }, params, options) + } + isExternalTaxCalculator(resource: any): resource is ExternalTaxCalculator { return resource.type && (resource.type === ExternalTaxCalculators.TYPE) diff --git a/src/resources/line_items.ts b/src/resources/line_items.ts index 64b04e39..b24b9bbe 100644 --- a/src/resources/line_items.ts +++ b/src/resources/line_items.ts @@ -73,17 +73,19 @@ interface LineItem extends Resource { item_type?: 'skus' | 'bundles' | 'shipments' | 'payment_methods' | 'adjustments' | 'gift_cards' | 'percentage_discount_promotions' | 'free_shipping_promotions' | 'free_gift_promotions' | 'fixed_price_promotions' | 'external_promotions' | 'fixed_amount_promotions' | null frequency?: string | null coupon_code?: string | null + circuit_state?: string | null + circuit_failure_count?: number | null order?: Order | null item?: Adjustment | Bundle | ExternalPromotion | FixedAmountPromotion | FreeShippingPromotion | GiftCard | PaymentMethod | PercentageDiscountPromotion | Shipment | Sku | null sku?: Sku | null bundle?: Bundle | null + adjustment?: Adjustment | null + gift_card?: GiftCard | null + shipment?: Shipment | null + payment_method?: PaymentMethod | null line_item_options?: LineItemOption[] | null return_line_items?: ReturnLineItem[] | null - /** - * @deprecated This field should not be used as it may be removed in the future without notice - */ - shipment_line_items?: object[] stock_reservations?: StockReservation[] | null stock_line_items?: StockLineItem[] | null stock_transfers?: StockTransfer[] | null @@ -112,6 +114,10 @@ interface LineItemCreate extends ResourceCreate { item?: AdjustmentRel | BundleRel | ExternalPromotionRel | FixedAmountPromotionRel | FreeShippingPromotionRel | GiftCardRel | PaymentMethodRel | PercentageDiscountPromotionRel | ShipmentRel | SkuRel | null sku?: SkuRel | null bundle?: BundleRel | null + adjustment?: AdjustmentRel | null + gift_card?: GiftCardRel | null + shipment?: ShipmentRel | null + payment_method?: PaymentMethodRel | null tags?: TagRel[] | null } @@ -128,6 +134,7 @@ interface LineItemUpdate extends ResourceUpdate { name?: string | null image_url?: string | null frequency?: string | null + _reset_circuit?: boolean | null tags?: TagRel[] | null @@ -198,6 +205,10 @@ class LineItems extends ApiResource { return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: LineItems.TYPE, _reserve_stock: true }, params, options) } + async _reset_circuit(id: string | LineItem, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: LineItems.TYPE, _reset_circuit: true }, params, options) + } + isLineItem(resource: any): resource is LineItem { return resource.type && (resource.type === LineItems.TYPE) diff --git a/src/resources/markets.ts b/src/resources/markets.ts index ef55ca7a..1dfed694 100644 --- a/src/resources/markets.ts +++ b/src/resources/markets.ts @@ -33,9 +33,9 @@ interface Market extends Resource { checkout_url?: string | null external_prices_url?: string | null external_order_validation_url?: string | null - shared_secret: string private?: boolean | null disabled_at?: string | null + shared_secret: string merchant?: Merchant | null price_list?: PriceList | null diff --git a/src/resources/order_subscriptions.ts b/src/resources/order_subscriptions.ts index d3b8988a..451dc75e 100644 --- a/src/resources/order_subscriptions.ts +++ b/src/resources/order_subscriptions.ts @@ -46,10 +46,6 @@ interface OrderSubscription extends Resource { customer_payment_source?: CustomerPaymentSource | null order_subscription_items?: OrderSubscriptionItem[] | null order_factories?: OrderFactory[] | null - /** - * @deprecated This field should not be used as it may be removed in the future without notice - */ - order_copies?: object[] recurring_order_copies?: RecurringOrderCopy[] | null orders?: Order[] | null events?: Event[] | null diff --git a/src/resources/orders.ts b/src/resources/orders.ts index 9f55ff3b..495293ae 100644 --- a/src/resources/orders.ts +++ b/src/resources/orders.ts @@ -172,6 +172,8 @@ interface Order extends Resource { archived_at?: string | null expires_at?: string | null subscription_created_at?: string | null + circuit_state?: string | null + circuit_failure_count?: number | null market?: Market | null customer?: Customer | null @@ -290,6 +292,7 @@ interface OrderUpdate extends ResourceUpdate { _create_subscriptions?: boolean | null _start_editing?: boolean | null _stop_editing?: boolean | null + _reset_circuit?: boolean | null market?: MarketRel | null customer?: CustomerRel | null @@ -585,6 +588,10 @@ class Orders extends ApiResource { return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Orders.TYPE, _stop_editing: true }, params, options) } + async _reset_circuit(id: string | Order, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Orders.TYPE, _reset_circuit: true }, params, options) + } + isOrder(resource: any): resource is Order { return resource.type && (resource.type === Orders.TYPE) diff --git a/src/resources/parcel_line_items.ts b/src/resources/parcel_line_items.ts index 2dc46245..1ad280ad 100644 --- a/src/resources/parcel_line_items.ts +++ b/src/resources/parcel_line_items.ts @@ -25,10 +25,6 @@ interface ParcelLineItem extends Resource { parcel?: Parcel | null stock_line_item?: StockLineItem | null - /** - * @deprecated This field should not be used as it may be removed in the future without notice - */ - shipment_line_item?: object versions?: Version[] | null } @@ -40,10 +36,6 @@ interface ParcelLineItemCreate extends ResourceCreate { parcel: ParcelRel stock_line_item: StockLineItemRel - /** - * @deprecated This field should not be used as it may be removed in the future without notice - */ - shipment_line_item?: object } diff --git a/src/resources/payment_methods.ts b/src/resources/payment_methods.ts index 3d9ece27..86eab28c 100644 --- a/src/resources/payment_methods.ts +++ b/src/resources/payment_methods.ts @@ -25,13 +25,13 @@ interface PaymentMethod extends Resource { require_capture?: boolean | null auto_place?: boolean | null auto_capture?: boolean | null - disabled_at?: string | null price_amount_cents: number price_amount_float?: number | null formatted_price_amount?: string | null auto_capture_max_amount_cents?: number | null auto_capture_max_amount_float?: number | null formatted_auto_capture_max_amount?: string | null + disabled_at?: string | null market?: Market | null payment_gateway?: PaymentGateway | null @@ -49,10 +49,10 @@ interface PaymentMethodCreate extends ResourceCreate { require_capture?: boolean | null auto_place?: boolean | null auto_capture?: boolean | null - _disable?: boolean | null - _enable?: boolean | null price_amount_cents: number auto_capture_max_amount_cents?: number | null + _disable?: boolean | null + _enable?: boolean | null market?: MarketRel | null payment_gateway: PaymentGatewayRel @@ -68,10 +68,10 @@ interface PaymentMethodUpdate extends ResourceUpdate { require_capture?: boolean | null auto_place?: boolean | null auto_capture?: boolean | null - _disable?: boolean | null - _enable?: boolean | null price_amount_cents?: number | null auto_capture_max_amount_cents?: number | null + _disable?: boolean | null + _enable?: boolean | null market?: MarketRel | null payment_gateway?: PaymentGatewayRel | null diff --git a/src/resources/shipments.ts b/src/resources/shipments.ts index cfb2829a..dc51a3bc 100644 --- a/src/resources/shipments.ts +++ b/src/resources/shipments.ts @@ -64,10 +64,6 @@ interface Shipment extends Resource { shipping_address?: Address | null shipping_method?: ShippingMethod | null delivery_lead_time?: DeliveryLeadTime | null - /** - * @deprecated This field should not be used as it may be removed in the future without notice - */ - shipment_line_items?: object[] stock_line_items?: StockLineItem[] | null stock_transfers?: StockTransfer[] | null available_shipping_methods?: ShippingMethod[] | null diff --git a/src/resources/shipping_methods.ts b/src/resources/shipping_methods.ts index 015c3cb2..0d62454c 100644 --- a/src/resources/shipping_methods.ts +++ b/src/resources/shipping_methods.ts @@ -30,7 +30,6 @@ interface ShippingMethod extends Resource { scheme?: string | null currency_code?: string | null external_prices_url?: string | null - disabled_at?: string | null price_amount_cents: number price_amount_float?: number | null formatted_price_amount?: string | null @@ -44,6 +43,9 @@ interface ShippingMethod extends Resource { min_weight?: number | null max_weight?: number | null unit_of_weight?: string | null + disabled_at?: string | null + circuit_state?: string | null + circuit_failure_count?: number | null market?: Market | null shipping_zone?: ShippingZone | null @@ -64,14 +66,14 @@ interface ShippingMethodCreate extends ResourceCreate { scheme?: string | null currency_code?: string | null external_prices_url?: string | null - _disable?: boolean | null - _enable?: boolean | null price_amount_cents: number free_over_amount_cents?: number | null use_subtotal?: boolean | null min_weight?: number | null max_weight?: number | null unit_of_weight?: string | null + _disable?: boolean | null + _enable?: boolean | null market?: MarketRel | null shipping_zone?: ShippingZoneRel | null @@ -88,14 +90,15 @@ interface ShippingMethodUpdate extends ResourceUpdate { scheme?: string | null currency_code?: string | null external_prices_url?: string | null - _disable?: boolean | null - _enable?: boolean | null price_amount_cents?: number | null free_over_amount_cents?: number | null use_subtotal?: boolean | null min_weight?: number | null max_weight?: number | null unit_of_weight?: string | null + _disable?: boolean | null + _enable?: boolean | null + _reset_circuit?: boolean | null market?: MarketRel | null shipping_zone?: ShippingZoneRel | null @@ -175,6 +178,10 @@ class ShippingMethods extends ApiResource { return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: ShippingMethods.TYPE, _enable: true }, params, options) } + async _reset_circuit(id: string | ShippingMethod, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: ShippingMethods.TYPE, _reset_circuit: true }, params, options) + } + isShippingMethod(resource: any): resource is ShippingMethod { return resource.type && (resource.type === ShippingMethods.TYPE) diff --git a/src/resources/webhooks.ts b/src/resources/webhooks.ts index 1f91e46c..7ea675b5 100644 --- a/src/resources/webhooks.ts +++ b/src/resources/webhooks.ts @@ -18,10 +18,10 @@ interface Webhook extends Resource { topic: string callback_url: string include_resources?: string[] | null + disabled_at?: string | null circuit_state?: string | null circuit_failure_count?: number | null shared_secret: string - disabled_at?: string | null last_event_callbacks?: EventCallback[] | null versions?: Version[] | null @@ -47,9 +47,9 @@ interface WebhookUpdate extends ResourceUpdate { topic?: string | null callback_url?: string | null include_resources?: string[] | null - _reset_circuit?: boolean | null _disable?: boolean | null _enable?: boolean | null + _reset_circuit?: boolean | null } @@ -80,10 +80,6 @@ class Webhooks extends ApiResource { return this.resources.fetch({ type: 'versions' }, `webhooks/${_webhookId}/versions`, params, options) as unknown as ListResponse } - async _reset_circuit(id: string | Webhook, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { - return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Webhooks.TYPE, _reset_circuit: true }, params, options) - } - async _disable(id: string | Webhook, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Webhooks.TYPE, _disable: true }, params, options) } @@ -92,6 +88,10 @@ class Webhooks extends ApiResource { return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Webhooks.TYPE, _enable: true }, params, options) } + async _reset_circuit(id: string | Webhook, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Webhooks.TYPE, _reset_circuit: true }, params, options) + } + isWebhook(resource: any): resource is Webhook { return resource.type && (resource.type === Webhooks.TYPE) From bb1b8208025f039205c672fd09a27690bc291f36 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 7 Mar 2024 15:38:03 +0000 Subject: [PATCH 20/26] chore(release): 5.34.0 [skip ci] # [5.34.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.33.1...v5.34.0) (2024-03-07) ### Features * update resources to schema 5.0.0 ([2fd9b9d](https://github.com/commercelayer/commercelayer-sdk/commit/2fd9b9db2753791a27d62c28eb7aa54635cb3923)) * update resources to schema 5.0.0 ([#327](https://github.com/commercelayer/commercelayer-sdk/issues/327)) ([c337ce2](https://github.com/commercelayer/commercelayer-sdk/commit/c337ce27c8a86c3de11a92ce42821ac9440d2557)) --- CHANGELOG.md | 8 ++++++++ package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9f3521c..88cae291 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# [5.34.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.33.1...v5.34.0) (2024-03-07) + + +### Features + +* update resources to schema 5.0.0 ([2fd9b9d](https://github.com/commercelayer/commercelayer-sdk/commit/2fd9b9db2753791a27d62c28eb7aa54635cb3923)) +* update resources to schema 5.0.0 ([#327](https://github.com/commercelayer/commercelayer-sdk/issues/327)) ([c337ce2](https://github.com/commercelayer/commercelayer-sdk/commit/c337ce27c8a86c3de11a92ce42821ac9440d2557)) + ## [5.33.1](https://github.com/commercelayer/commercelayer-sdk/compare/v5.33.0...v5.33.1) (2024-03-01) diff --git a/package.json b/package.json index cbe811ca..766e1423 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@commercelayer/sdk", - "version": "5.33.1", + "version": "5.34.0", "main": "lib/cjs/index.js", "types": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", From 94d5d9d88fb7e266cf04225c3d8ffd6d4a00626f Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Mon, 11 Mar 2024 12:00:46 +0100 Subject: [PATCH 21/26] fix: manage multiple test env --- .gitignore | 4 ++-- .npmignore | 1 + test/spot.ts | 17 +++++------------ test/token.ts | 25 +++++++++++++++---------- 4 files changed, 23 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index 39efbb68..7d12b180 100644 --- a/.gitignore +++ b/.gitignore @@ -110,8 +110,8 @@ typings/ # dotenv environment variables file .env -.env.test -.env*.local +.env.* +test/env/ # parcel-bundler cache (https://parceljs.org/) .cache diff --git a/.npmignore b/.npmignore index 0b853a43..15e11b37 100644 --- a/.npmignore +++ b/.npmignore @@ -2,6 +2,7 @@ build/ gen/ src/ node_modules/ +test/ tsconfig.json tsconfig.*.json diff --git a/test/spot.ts b/test/spot.ts index c9f2998b..50dc027b 100644 --- a/test/spot.ts +++ b/test/spot.ts @@ -1,11 +1,10 @@ - +import commercelayer from '../lib/cjs' import { inspect } from 'util' -import commercelayer, { Tag } from '../src/index' import getToken from './token' -import { error } from 'console' +const ENV = 'topfarmacia' -(async () => { +;(async () => { const auth = await getToken('integration') const accessToken = auth ? auth.accessToken : '' @@ -18,14 +17,8 @@ import { error } from 'console' try { - fetch("http://httpstat.us/429") - .then(res => { - console.log('RESPONSE') - console.log(res) - }).catch(err => { - console.log('ERROR') - console.log(err) - }); + const orders = await cl.orders.list({ pageSize: 1 }) + console.log(orders) } catch (error: any) { console.log(inspect(error, false, null, true)) diff --git a/test/token.ts b/test/token.ts index a55f7dae..5c80a949 100644 --- a/test/token.ts +++ b/test/token.ts @@ -32,22 +32,27 @@ export type AccessToken = { -const organization = process.env.CL_SDK_ORGANIZATION || '' -const domain = process.env.CL_SDK_DOMAIN -const clientId = process.env.CL_SDK_CLIENT_ID || '' -const clientSecret = process.env.CL_SDK_CLIENT_SECRET || '' -const scope = process.env.CL_SDK_SCOPE || '' +// const endpoint = `https://${organization.toLowerCase()}.${domain ? domain : 'commercelayer.io'}` -const endpoint = `https://${organization.toLowerCase()}.${domain ? domain : 'commercelayer.io'}` +export default async (type: TokenType): Promise => { + const env = process.env.CL_SDK_ENVIRONMENT || undefined + + if (env) dotenv.config({ path: `env/.env.${env}` }) + + const organization = process.env.CL_SDK_ORGANIZATION || '' + const domain = process.env.CL_SDK_DOMAIN + const clientId = process.env.CL_SDK_CLIENT_ID || '' + const clientSecret = process.env.CL_SDK_CLIENT_SECRET || '' + const scope = process.env.CL_SDK_SCOPE || '' -export default async (type: TokenType): Promise => { switch (type) { - case 'integration': return getAccessToken({ slug: organization, clientId, clientSecret, scope }) + case 'integration': return getAccessToken({ slug: organization, clientId, clientSecret, scope, domain }) case 'sales_channel': - default: return getAccessToken({ slug: organization, clientId, scope }) + default: return getAccessToken({ slug: organization, clientId, scope, domain }) } + } @@ -62,7 +67,7 @@ const getAccessToken = async (auth: AuthData): Promise => { clientId: auth.clientId, clientSecret: auth.clientSecret, slug: auth.slug, - domain: auth.domain, + domain: auth.domain || undefined, scope } From 47ec8b7defcb6d4175df92d97ebb8fc5390a85e7 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Mon, 11 Mar 2024 14:01:28 +0100 Subject: [PATCH 22/26] fix: fix multiple test env --- test/spot.ts | 21 +++++++++++++++------ test/token.ts | 9 +++++---- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/test/spot.ts b/test/spot.ts index 50dc027b..64e3c07c 100644 --- a/test/spot.ts +++ b/test/spot.ts @@ -1,4 +1,4 @@ -import commercelayer from '../lib/cjs' +import commercelayer, { CommerceLayerStatic } from '../lib/cjs' import { inspect } from 'util' import getToken from './token' @@ -6,7 +6,11 @@ const ENV = 'topfarmacia' ;(async () => { - const auth = await getToken('integration') + const auth = await getToken('integration', ENV).catch(err => { + console.log(`${err.message}\n`) + process.exit() + }) + const accessToken = auth ? auth.accessToken : '' const organization = process.env.CL_SDK_ORGANIZATION || 'sdk-test-org' @@ -16,13 +20,18 @@ const ENV = 'topfarmacia' }) try { + + const order = await cl.orders.retrieve('nlKhmzozJO') + console.log(order) - const orders = await cl.orders.list({ pageSize: 1 }) - console.log(orders) } catch (error: any) { - console.log(inspect(error, false, null, true)) - console.log(error.message) + console.log('\n\n --xx ERROR xx--\n') + if (CommerceLayerStatic.isApiError(error)) console.log(error.errors) + else { + console.log(inspect(error, false, null, true)) + console.log(error.message) + } } })() diff --git a/test/token.ts b/test/token.ts index 5c80a949..4878c49f 100644 --- a/test/token.ts +++ b/test/token.ts @@ -35,11 +35,12 @@ export type AccessToken = { // const endpoint = `https://${organization.toLowerCase()}.${domain ? domain : 'commercelayer.io'}` -export default async (type: TokenType): Promise => { +export default async (type: TokenType, env?: string): Promise => { - const env = process.env.CL_SDK_ENVIRONMENT || undefined - - if (env) dotenv.config({ path: `env/.env.${env}` }) + if (env) { + const cfg = dotenv.config({ path: `./test/env/.env.${env}`, override: true }) + if (cfg.error) throw cfg.error + } const organization = process.env.CL_SDK_ORGANIZATION || '' const domain = process.env.CL_SDK_DOMAIN From 6bb2e8831a158be66131fe1be0500b8581e25270 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 11 Mar 2024 13:03:50 +0000 Subject: [PATCH 23/26] chore(release): 5.34.1 [skip ci] ## [5.34.1](https://github.com/commercelayer/commercelayer-sdk/compare/v5.34.0...v5.34.1) (2024-03-11) ### Bug Fixes * fix multiple test env ([47ec8b7](https://github.com/commercelayer/commercelayer-sdk/commit/47ec8b7defcb6d4175df92d97ebb8fc5390a85e7)) * manage multiple test env ([94d5d9d](https://github.com/commercelayer/commercelayer-sdk/commit/94d5d9d88fb7e266cf04225c3d8ffd6d4a00626f)) * manage multiple test env ([#328](https://github.com/commercelayer/commercelayer-sdk/issues/328)) ([f470fdd](https://github.com/commercelayer/commercelayer-sdk/commit/f470fdd4aead41559545df4dbe56d4126bff1b56)) --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88cae291..8757949f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [5.34.1](https://github.com/commercelayer/commercelayer-sdk/compare/v5.34.0...v5.34.1) (2024-03-11) + + +### Bug Fixes + +* fix multiple test env ([47ec8b7](https://github.com/commercelayer/commercelayer-sdk/commit/47ec8b7defcb6d4175df92d97ebb8fc5390a85e7)) +* manage multiple test env ([94d5d9d](https://github.com/commercelayer/commercelayer-sdk/commit/94d5d9d88fb7e266cf04225c3d8ffd6d4a00626f)) +* manage multiple test env ([#328](https://github.com/commercelayer/commercelayer-sdk/issues/328)) ([f470fdd](https://github.com/commercelayer/commercelayer-sdk/commit/f470fdd4aead41559545df4dbe56d4126bff1b56)) + # [5.34.0](https://github.com/commercelayer/commercelayer-sdk/compare/v5.33.1...v5.34.0) (2024-03-07) diff --git a/package.json b/package.json index 766e1423..7d0d06a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@commercelayer/sdk", - "version": "5.34.0", + "version": "5.34.1", "main": "lib/cjs/index.js", "types": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", From 5f6d34aa03a21852f653e15fd297fc7f8a44eddd Mon Sep 17 00:00:00 2001 From: Pierluigi Viti <57948342+pviti@users.noreply.github.com> Date: Tue, 12 Mar 2024 13:01:33 +0100 Subject: [PATCH 24/26] fix: fix circular inclusion --- .gitignore | 2 +- pnpm-lock.yaml | 99 +++++++++++++++++++++++++++++--------------------- src/config.ts | 3 ++ src/jsonapi.ts | 14 ++++--- 4 files changed, 70 insertions(+), 48 deletions(-) diff --git a/.gitignore b/.gitignore index 7d12b180..a255daae 100644 --- a/.gitignore +++ b/.gitignore @@ -111,7 +111,7 @@ typings/ # dotenv environment variables file .env .env.* -test/env/ +test/env/*.* # parcel-bundler cache (https://parceljs.org/) .cache diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e72e1736..9d63cda2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -208,6 +208,21 @@ packages: - supports-color dev: true + /@babel/helper-define-polyfill-provider@0.6.0(@babel/core@7.24.0): + resolution: {integrity: sha512-efwOM90nCG6YeT8o3PCyBVSxRfmILxCNL+TNI8CGQl7a62M0Wd9VkV+XHwIlkOz1r4b+lxu6gBjdWiOMdUCrCQ==} + peerDependencies: + '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-compilation-targets': 7.23.6 + '@babel/helper-plugin-utils': 7.24.0 + debug: 4.3.4 + lodash.debounce: 4.0.8 + resolve: 1.22.8 + transitivePeerDependencies: + - supports-color + dev: true + /@babel/helper-environment-visitor@7.22.20: resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} engines: {node: '>=6.9.0'} @@ -1232,7 +1247,7 @@ packages: '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.24.0) '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.24.0) '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.24.0) - babel-plugin-polyfill-corejs2: 0.4.8(@babel/core@7.24.0) + babel-plugin-polyfill-corejs2: 0.4.9(@babel/core@7.24.0) babel-plugin-polyfill-corejs3: 0.9.0(@babel/core@7.24.0) babel-plugin-polyfill-regenerator: 0.5.5(@babel/core@7.24.0) core-js-compat: 3.36.0 @@ -2146,7 +2161,7 @@ packages: fs-extra: 11.2.0 lodash-es: 4.17.21 nerf-dart: 1.0.0 - normalize-url: 8.0.0 + normalize-url: 8.0.1 npm: 10.5.0 rc: 1.2.8 read-pkg: 9.0.1 @@ -2350,7 +2365,7 @@ packages: ignore: 5.3.1 natural-compare: 1.4.0 semver: 7.6.0 - ts-api-utils: 1.2.1(typescript@5.4.2) + ts-api-utils: 1.3.0(typescript@5.4.2) typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -2399,7 +2414,7 @@ packages: '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.4.2) debug: 4.3.4 eslint: 8.57.0 - ts-api-utils: 1.2.1(typescript@5.4.2) + ts-api-utils: 1.3.0(typescript@5.4.2) typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -2426,7 +2441,7 @@ packages: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.6.0 - ts-api-utils: 1.2.1(typescript@5.4.2) + ts-api-utils: 1.3.0(typescript@5.4.2) typescript: 5.4.2 transitivePeerDependencies: - supports-color @@ -2743,14 +2758,14 @@ packages: '@types/babel__traverse': 7.20.5 dev: true - /babel-plugin-polyfill-corejs2@0.4.8(@babel/core@7.24.0): - resolution: {integrity: sha512-OtIuQfafSzpo/LhnJaykc0R/MMnuLSSVjVYy9mHArIZ9qTCSZ6TpWCuEKZYVoN//t8HqBNScHrOtCrIK5IaGLg==} + /babel-plugin-polyfill-corejs2@0.4.9(@babel/core@7.24.0): + resolution: {integrity: sha512-BXIWIaO3MewbXWdJdIGDWZurv5OGJlFNo7oy20DpB3kWDVJLcY2NRypRsRUbRe5KMqSNLuOGnWTFQQtY5MAsRw==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: '@babel/compat-data': 7.23.5 '@babel/core': 7.24.0 - '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.24.0) + '@babel/helper-define-polyfill-provider': 0.6.0(@babel/core@7.24.0) semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -2847,8 +2862,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001596 - electron-to-chromium: 1.4.695 + caniuse-lite: 1.0.30001597 + electron-to-chromium: 1.4.699 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -2882,7 +2897,7 @@ packages: es-errors: 1.3.0 function-bind: 1.1.2 get-intrinsic: 1.2.4 - set-function-length: 1.2.1 + set-function-length: 1.2.2 dev: true /callsites@3.1.0: @@ -2900,8 +2915,8 @@ packages: engines: {node: '>=10'} dev: true - /caniuse-lite@1.0.30001596: - resolution: {integrity: sha512-zpkZ+kEr6We7w63ORkoJ2pOfBwBkY/bJrG/UZ90qNb45Isblu8wzDgevEOrRL1r9dWayHjYiiyCMEXPn4DweGQ==} + /caniuse-lite@1.0.30001597: + resolution: {integrity: sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==} dev: true /chalk@2.4.2: @@ -3291,8 +3306,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.695: - resolution: {integrity: sha512-eMijZmeqPtm774pCZIOrfUHMs/7ls++W1sLhxwqgu8KQ8E2WmMtzwyqOMt0XXUJ3HTIPfuwlfwF+I5cwnfItBA==} + /electron-to-chromium@1.4.699: + resolution: {integrity: sha512-I7q3BbQi6e4tJJN5CRcyvxhK0iJb34TV8eJQcgh+fR2fQ8miMgZcEInckCo1U9exDHbfz7DLDnFn8oqH/VcRKw==} dev: true /emittery@0.13.1: @@ -3351,7 +3366,7 @@ packages: has-property-descriptors: 1.0.2 has-proto: 1.0.3 has-symbols: 1.0.3 - hasown: 2.0.1 + hasown: 2.0.2 internal-slot: 1.0.7 is-array-buffer: 3.0.4 is-callable: 1.2.7 @@ -3365,7 +3380,7 @@ packages: object-keys: 1.1.1 object.assign: 4.1.5 regexp.prototype.flags: 1.5.2 - safe-array-concat: 1.1.0 + safe-array-concat: 1.1.2 safe-regex-test: 1.0.3 string.prototype.trim: 1.2.8 string.prototype.trimend: 1.0.7 @@ -3375,7 +3390,7 @@ packages: typed-array-byte-offset: 1.0.2 typed-array-length: 1.0.5 unbox-primitive: 1.0.2 - which-typed-array: 1.1.14 + which-typed-array: 1.1.15 dev: true /es-array-method-boxes-properly@1.0.0: @@ -3400,13 +3415,13 @@ packages: dependencies: get-intrinsic: 1.2.4 has-tostringtag: 1.0.2 - hasown: 2.0.1 + hasown: 2.0.2 dev: true /es-shim-unscopables@1.0.2: resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} dependencies: - hasown: 2.0.1 + hasown: 2.0.2 dev: true /es-to-primitive@1.2.1: @@ -3599,7 +3614,7 @@ packages: eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 eslint-module-utils: 2.8.1(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) - hasown: 2.0.1 + hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3 minimatch: 3.1.2 @@ -4021,7 +4036,7 @@ packages: function-bind: 1.1.2 has-proto: 1.0.3 has-symbols: 1.0.3 - hasown: 2.0.1 + hasown: 2.0.2 dev: true /get-package-type@0.1.0: @@ -4218,8 +4233,8 @@ packages: has-symbols: 1.0.3 dev: true - /hasown@2.0.1: - resolution: {integrity: sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==} + /hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} dependencies: function-bind: 1.1.2 @@ -4355,7 +4370,7 @@ packages: engines: {node: '>= 0.4'} dependencies: es-errors: 1.3.0 - hasown: 2.0.1 + hasown: 2.0.2 side-channel: 1.0.6 dev: true @@ -4408,7 +4423,7 @@ packages: /is-core-module@2.13.1: resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} dependencies: - hasown: 2.0.1 + hasown: 2.0.2 dev: true /is-date-object@1.0.5: @@ -4517,7 +4532,7 @@ packages: resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} engines: {node: '>= 0.4'} dependencies: - which-typed-array: 1.1.14 + which-typed-array: 1.1.15 dev: true /is-unicode-supported@2.0.0: @@ -5426,8 +5441,8 @@ packages: engines: {node: '>=0.10.0'} dev: true - /normalize-url@8.0.0: - resolution: {integrity: sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw==} + /normalize-url@8.0.1: + resolution: {integrity: sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==} engines: {node: '>=14.16'} dev: true @@ -5721,7 +5736,7 @@ packages: dependencies: '@babel/code-frame': 7.23.5 index-to-position: 0.1.2 - type-fest: 4.11.1 + type-fest: 4.12.0 dev: true /parse5-htmlparser2-tree-adapter@6.0.1: @@ -5914,7 +5929,7 @@ packages: dependencies: find-up-simple: 1.0.0 read-pkg: 9.0.1 - type-fest: 4.11.1 + type-fest: 4.12.0 dev: true /read-pkg@9.0.1: @@ -5924,7 +5939,7 @@ packages: '@types/normalize-package-data': 2.4.4 normalize-package-data: 6.0.0 parse-json: 8.1.0 - type-fest: 4.11.1 + type-fest: 4.12.0 unicorn-magic: 0.1.0 dev: true @@ -6055,8 +6070,8 @@ packages: queue-microtask: 1.2.3 dev: true - /safe-array-concat@1.1.0: - resolution: {integrity: sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==} + /safe-array-concat@1.1.2: + resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==} engines: {node: '>=0.4'} dependencies: call-bind: 1.0.7 @@ -6142,8 +6157,8 @@ packages: lru-cache: 6.0.0 dev: true - /set-function-length@1.2.1: - resolution: {integrity: sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==} + /set-function-length@1.2.2: + resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} dependencies: define-data-property: 1.1.4 @@ -6513,8 +6528,8 @@ packages: engines: {node: '>= 0.4'} dev: true - /ts-api-utils@1.2.1(typescript@5.4.2): - resolution: {integrity: sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==} + /ts-api-utils@1.3.0(typescript@5.4.2): + resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' @@ -6603,8 +6618,8 @@ packages: engines: {node: '>=14.16'} dev: true - /type-fest@4.11.1: - resolution: {integrity: sha512-MFMf6VkEVZAETidGGSYW2B1MjXbGX+sWIywn2QPEaJ3j08V+MwVRHMXtf2noB8ENJaD0LIun9wh5Z6OPNf1QzQ==} + /type-fest@4.12.0: + resolution: {integrity: sha512-5Y2/pp2wtJk8o08G0CMkuFPCO354FGwk/vbidxrdhRGZfd0tFnb4Qb8anp9XxXriwBgVPjdWbKpGl4J9lJY2jQ==} engines: {node: '>=16'} dev: true @@ -6790,8 +6805,8 @@ packages: is-symbol: 1.0.4 dev: true - /which-typed-array@1.1.14: - resolution: {integrity: sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==} + /which-typed-array@1.1.15: + resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==} engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.7 diff --git a/src/config.ts b/src/config.ts index 63435828..b4a70be7 100644 --- a/src/config.ts +++ b/src/config.ts @@ -11,6 +11,9 @@ const config = { client: { timeout: 15000, requiredAttributes: ['organization', 'accessToken'], + }, + jsonapi: { + maxResourceIncluded: 2 } } as const diff --git a/src/jsonapi.ts b/src/jsonapi.ts index 73353ff7..afaf01f6 100644 --- a/src/jsonapi.ts +++ b/src/jsonapi.ts @@ -3,6 +3,7 @@ import type { Value as JSONValue } from 'json-typescript' import type { DocWithData, Included, ResourceIdentifierObject, ResourceObject as JSONAPIObject, AttributesObject, RelationshipsObject } from 'jsonapi-typescript' import type { ResourceCreate, ResourceUpdate, ResourceId, ResourceType, Resource, ResourceRel } from './resource' import { isResourceId, isResourceType } from './common' +import config from './config' import Debug from './debug' const debug = Debug('jsonapi') @@ -41,7 +42,7 @@ const findIncluded = (rel: ResourceIdentifierObject, included: Included = []): J } -const denormalizeResource = (res: any, included?: Included): T => { +const denormalizeResource = (res: any, included?: Included, chain: ResourceIdentifierObject[] = []): T => { debug('denormalize resource: %O, %o', res, included || {}) @@ -54,13 +55,16 @@ const denormalizeResource = (res: any, included?: Includ } if (res.relationships) Object.keys(res.relationships as object).forEach(key => { - const rel = res.relationships[key].data as ResourceIdentifierObject + const rel: ResourceIdentifierObject = res.relationships[key].data if (rel) { - if (Array.isArray(rel)) resource[key] = rel.map((r: ResourceIdentifierObject) => denormalizeResource(findIncluded(r, included), included)) - else resource[key] = denormalizeResource(findIncluded(rel, included), included) + if (chain.filter(r => (r.id === rel.id) && (r.type === rel.type)).length >= config.jsonapi.maxResourceIncluded) resource[key] = rel + else { + if (Array.isArray(rel)) resource[key] = rel.map((r: ResourceIdentifierObject) => denormalizeResource(findIncluded(r, included), included, [...chain, r])) + else resource[key] = denormalizeResource(findIncluded(rel, included), included, [...chain, rel]) + } } else if (rel === null) resource[key] = null }) - + debug('denormalized resource: %O', resource) return resource From 94129667989cec87ac6fe1eecfdad7221d502003 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 12 Mar 2024 12:02:31 +0000 Subject: [PATCH 25/26] chore(release): 5.34.2 [skip ci] ## [5.34.2](https://github.com/commercelayer/commercelayer-sdk/compare/v5.34.1...v5.34.2) (2024-03-12) ### Bug Fixes * fix circular inclusion ([5f6d34a](https://github.com/commercelayer/commercelayer-sdk/commit/5f6d34aa03a21852f653e15fd297fc7f8a44eddd)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8757949f..586ecaaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [5.34.2](https://github.com/commercelayer/commercelayer-sdk/compare/v5.34.1...v5.34.2) (2024-03-12) + + +### Bug Fixes + +* fix circular inclusion ([5f6d34a](https://github.com/commercelayer/commercelayer-sdk/commit/5f6d34aa03a21852f653e15fd297fc7f8a44eddd)) + ## [5.34.1](https://github.com/commercelayer/commercelayer-sdk/compare/v5.34.0...v5.34.1) (2024-03-11) diff --git a/package.json b/package.json index 7d0d06a5..2e55cdcd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@commercelayer/sdk", - "version": "5.34.1", + "version": "5.34.2", "main": "lib/cjs/index.js", "types": "lib/cjs/index.d.ts", "module": "lib/esm/index.js", From d3387c6c80638fc2b4ea306b2508b010c7956257 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Fri, 15 Mar 2024 10:45:09 +0100 Subject: [PATCH 26/26] feat: update resources to schema v5.1.0 --- gen/openapi.json | 383 ++++++++++++++++++++++-------- package.json | 8 +- pnpm-lock.yaml | 262 ++++++++++---------- specs/resources/events.spec.ts | 24 +- specs/resources/shipments.spec.ts | 21 ++ src/commercelayer.ts | 2 +- src/resources/events.ts | 12 +- src/resources/organization.ts | 1 + src/resources/shipments.ts | 7 + 9 files changed, 470 insertions(+), 250 deletions(-) diff --git a/gen/openapi.json b/gen/openapi.json index f26f37a5..283d00de 100644 --- a/gen/openapi.json +++ b/gen/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Commerce Layer API", - "version": "5.0.0", + "version": "5.1.0", "contact": { "name": "API Support", "url": "https://commercelayer.io", @@ -7723,14 +7723,14 @@ } } }, - "/events/{eventId}/last_event_callbacks": { + "/events/{eventId}/webhooks": { "get": { - "operationId": "GET/eventId/last_event_callbacks", - "summary": "Retrieve the last event callbacks associated to the event", - "description": "Retrieve the last event callbacks associated to the event", + "operationId": "GET/eventId/webhooks", + "summary": "Retrieve the webhooks associated to the event", + "description": "Retrieve the webhooks associated to the event", "tags": [ "has_many", - "event_callbacks" + "webhooks" ], "parameters": [ { @@ -7745,19 +7745,19 @@ ], "responses": { "200": { - "description": "The last_event_callbacks associated to the event" + "description": "The webhooks associated to the event" } } } }, - "/events/{eventId}/webhooks": { + "/events/{eventId}/last_event_callbacks": { "get": { - "operationId": "GET/eventId/webhooks", - "summary": "Retrieve the webhooks associated to the event", - "description": "Retrieve the webhooks associated to the event", + "operationId": "GET/eventId/last_event_callbacks", + "summary": "Retrieve the last event callbacks associated to the event", + "description": "Retrieve the last event callbacks associated to the event", "tags": [ "has_many", - "webhooks" + "event_callbacks" ], "parameters": [ { @@ -7772,7 +7772,7 @@ ], "responses": { "200": { - "description": "The webhooks associated to the event" + "description": "The last_event_callbacks associated to the event" } } } @@ -23595,6 +23595,33 @@ } } }, + "/shipments/{shipmentId}/line_items": { + "get": { + "operationId": "GET/shipmentId/line_items", + "summary": "Retrieve the line items associated to the shipment", + "description": "Retrieve the line items associated to the shipment", + "tags": [ + "has_many", + "line_items" + ], + "parameters": [ + { + "name": "shipmentId", + "in": "path", + "schema": { + "type": "string" + }, + "required": true, + "description": "The resource's id" + } + ], + "responses": { + "200": { + "description": "The line_items associated to the shipment" + } + } + } + }, "/shipments/{shipmentId}/available_shipping_methods": { "get": { "operationId": "GET/shipmentId/available_shipping_methods", @@ -31436,7 +31463,7 @@ }, "distribute_discount": { "type": "boolean", - "description": "Indicates if megative adjustment amount is distributed for tax calculation.", + "description": "Indicates if negative adjustment amount is distributed for tax calculation.", "example": true, "nullable": true }, @@ -31545,7 +31572,7 @@ }, "distribute_discount": { "type": "boolean", - "description": "Indicates if megative adjustment amount is distributed for tax calculation.", + "description": "Indicates if negative adjustment amount is distributed for tax calculation.", "example": true }, "reference": { @@ -31629,7 +31656,7 @@ }, "distribute_discount": { "type": "boolean", - "description": "Indicates if megative adjustment amount is distributed for tax calculation.", + "description": "Indicates if negative adjustment amount is distributed for tax calculation.", "example": true, "nullable": false }, @@ -38903,16 +38930,16 @@ "type": { "type": "string", "description": "The promotion's type.", - "example": "PercentageDiscountPromotion", + "example": "percentage_discount_promotions", "nullable": false, "enum": [ - "PercentageDiscountPromotion", - "FreeShippingPromotion", - "BuyXPayYPromotion", - "FreeGiftPromotion", - "FixedPricePromotion", - "ExternalPromotion", - "FixedAmountPromotion" + "percentage_discount_promotions", + "free_shipping_promotions", + "buy_x_pay_y_promotions", + "free_gift_promotions", + "fixed_price_promotions", + "external_promotions", + "fixed_amount_promotions" ] }, "currency_code": { @@ -49531,7 +49558,7 @@ "relationships": { "type": "object", "properties": { - "last_event_callbacks": { + "webhooks": { "type": "object", "properties": { "data": { @@ -49541,7 +49568,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "event_callbacks" + "webhooks" ] }, "id": { @@ -49553,7 +49580,7 @@ } } }, - "webhooks": { + "last_event_callbacks": { "type": "object", "properties": { "data": { @@ -49563,7 +49590,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "webhooks" + "event_callbacks" ] }, "id": { @@ -49614,7 +49641,7 @@ "relationships": { "type": "object", "properties": { - "last_event_callbacks": { + "webhooks": { "type": "object", "properties": { "links": { @@ -49637,7 +49664,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "last_event_callbacks" + "webhooks" ] }, "id": { @@ -49648,7 +49675,7 @@ } } }, - "webhooks": { + "last_event_callbacks": { "type": "object", "properties": { "links": { @@ -49671,7 +49698,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "webhooks" + "last_event_callbacks" ] }, "id": { @@ -51126,16 +51153,16 @@ "type": { "type": "string", "description": "The promotion's type.", - "example": "PercentageDiscountPromotion", + "example": "percentage_discount_promotions", "nullable": false, "enum": [ - "PercentageDiscountPromotion", - "FreeShippingPromotion", - "BuyXPayYPromotion", - "FreeGiftPromotion", - "FixedPricePromotion", - "ExternalPromotion", - "FixedAmountPromotion" + "percentage_discount_promotions", + "free_shipping_promotions", + "buy_x_pay_y_promotions", + "free_gift_promotions", + "fixed_price_promotions", + "external_promotions", + "fixed_amount_promotions" ] }, "currency_code": { @@ -53101,16 +53128,16 @@ "type": { "type": "string", "description": "The promotion's type.", - "example": "PercentageDiscountPromotion", + "example": "percentage_discount_promotions", "nullable": false, "enum": [ - "PercentageDiscountPromotion", - "FreeShippingPromotion", - "BuyXPayYPromotion", - "FreeGiftPromotion", - "FixedPricePromotion", - "ExternalPromotion", - "FixedAmountPromotion" + "percentage_discount_promotions", + "free_shipping_promotions", + "buy_x_pay_y_promotions", + "free_gift_promotions", + "fixed_price_promotions", + "external_promotions", + "fixed_amount_promotions" ] }, "currency_code": { @@ -54612,16 +54639,16 @@ "type": { "type": "string", "description": "The promotion's type.", - "example": "PercentageDiscountPromotion", + "example": "percentage_discount_promotions", "nullable": false, "enum": [ - "PercentageDiscountPromotion", - "FreeShippingPromotion", - "BuyXPayYPromotion", - "FreeGiftPromotion", - "FixedPricePromotion", - "ExternalPromotion", - "FixedAmountPromotion" + "percentage_discount_promotions", + "free_shipping_promotions", + "buy_x_pay_y_promotions", + "free_gift_promotions", + "fixed_price_promotions", + "external_promotions", + "fixed_amount_promotions" ] }, "currency_code": { @@ -56126,16 +56153,16 @@ "type": { "type": "string", "description": "The promotion's type.", - "example": "PercentageDiscountPromotion", + "example": "percentage_discount_promotions", "nullable": false, "enum": [ - "PercentageDiscountPromotion", - "FreeShippingPromotion", - "BuyXPayYPromotion", - "FreeGiftPromotion", - "FixedPricePromotion", - "ExternalPromotion", - "FixedAmountPromotion" + "percentage_discount_promotions", + "free_shipping_promotions", + "buy_x_pay_y_promotions", + "free_gift_promotions", + "fixed_price_promotions", + "external_promotions", + "fixed_amount_promotions" ] }, "currency_code": { @@ -57627,16 +57654,16 @@ "type": { "type": "string", "description": "The promotion's type.", - "example": "PercentageDiscountPromotion", + "example": "percentage_discount_promotions", "nullable": false, "enum": [ - "PercentageDiscountPromotion", - "FreeShippingPromotion", - "BuyXPayYPromotion", - "FreeGiftPromotion", - "FixedPricePromotion", - "ExternalPromotion", - "FixedAmountPromotion" + "percentage_discount_promotions", + "free_shipping_promotions", + "buy_x_pay_y_promotions", + "free_gift_promotions", + "fixed_price_promotions", + "external_promotions", + "fixed_amount_promotions" ] }, "currency_code": { @@ -76946,6 +76973,120 @@ "example": false, "nullable": true }, + "config": { + "type": "object", + "description": "The organization's configuration.", + "example": { + "mfe": { + "default": { + "links": { + "cart": "https://cart.com/:orderId?accessToken=:accessToken", + "checkout": "https://checkout.com/checkout/:orderId?accessToken=:accessToken", + "identity": "https://checkout.com/checkout/?accessToken=:accessToken", + "microstore": "https://microstore.com/?accessToken=:accessToken", + "my_account": "https://checkout.com/my-account?accessToken=:accessToken" + }, + "checkout": { + "thankyou_page": "https://example.com/thanks/:lang/:orderId?accessToken=:accessToken", + "billing_countries": [ + { + "value": "ES", + "label": "Espana" + }, + { + "value": "IT", + "label": "Italia" + }, + { + "value": "US", + "label": "Unites States of America" + } + ], + "shipping_countries": [ + { + "value": "ES", + "label": "Espana" + }, + { + "value": "IT", + "label": "Italia" + }, + { + "value": "US", + "label": "Unites States of America" + } + ], + "billing_states": [ + { + "FR": [ + { + "value": "PA", + "label": "Paris" + }, + { + "value": "LY", + "label": "Lyon" + }, + { + "value": "NI", + "label": "Nice" + }, + { + "value": "MA", + "label": "Marseille" + }, + { + "value": "BO", + "label": "Bordeaux" + } + ] + } + ], + "shipping_states": [ + { + "FR": [ + { + "value": "PA", + "label": "Paris" + }, + { + "value": "LY", + "label": "Lyon" + }, + { + "value": "NI", + "label": "Nice" + }, + { + "value": "MA", + "label": "Marseille" + }, + { + "value": "BO", + "label": "Bordeaux" + } + ] + } + ], + "default_country": "US" + }, + "urls": { + "privacy": "https://example.com/privacy", + "terms": "https://example.com/terms" + } + }, + "market:id:ZKcv13rT": { + "links": { + "cart": "https://newcart.com/:orderId?accessToken=:accessToken" + }, + "checkout": { + "thankyou_page": "https://example.com/thanks/:lang/:orderId?accessToken=:accessToken" + } + } + } + }, + "nullable": true + }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -79505,7 +79646,7 @@ "payment_source_type": { "type": "string", "description": "The payment source type, can be one of: 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.", - "example": "StripePayment", + "example": "stripe_payments", "nullable": false, "enum": [ "adyen_payments", @@ -79750,7 +79891,7 @@ "payment_source_type": { "type": "string", "description": "The payment source type, can be one of: 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.", - "example": "StripePayment", + "example": "stripe_payments", "enum": [ "adyen_payments", "axerve_payments", @@ -79927,7 +80068,7 @@ "payment_source_type": { "type": "string", "description": "The payment source type, can be one of: 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.", - "example": "StripePayment", + "example": "stripe_payments", "nullable": false, "enum": [ "adyen_payments", @@ -80293,7 +80434,7 @@ "payment_source_type": { "type": "string", "description": "The payment source type, can be one of: 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.", - "example": "StripePayment", + "example": "stripe_payments", "nullable": false, "enum": [ "adyen_payments", @@ -80436,7 +80577,7 @@ "payment_source_type": { "type": "string", "description": "The payment source type, can be one of: 'adyen_payments', 'axerve_payments', 'braintree_payments', 'checkout_com_payments', 'credit_cards', 'external_payments', 'klarna_payments', 'paypal_payments', 'satispay_payments', 'stripe_payments', or 'wire_transfers'.", - "example": "StripePayment", + "example": "stripe_payments", "enum": [ "adyen_payments", "axerve_payments", @@ -81752,16 +81893,16 @@ "type": { "type": "string", "description": "The promotion's type.", - "example": "PercentageDiscountPromotion", + "example": "percentage_discount_promotions", "nullable": false, "enum": [ - "PercentageDiscountPromotion", - "FreeShippingPromotion", - "BuyXPayYPromotion", - "FreeGiftPromotion", - "FixedPricePromotion", - "ExternalPromotion", - "FixedAmountPromotion" + "percentage_discount_promotions", + "free_shipping_promotions", + "buy_x_pay_y_promotions", + "free_gift_promotions", + "fixed_price_promotions", + "external_promotions", + "fixed_amount_promotions" ] }, "currency_code": { @@ -86268,16 +86409,16 @@ "type": { "type": "string", "description": "The promotion's type.", - "example": "PercentageDiscountPromotion", + "example": "percentage_discount_promotions", "nullable": false, "enum": [ - "PercentageDiscountPromotion", - "FreeShippingPromotion", - "BuyXPayYPromotion", - "FreeGiftPromotion", - "FixedPricePromotion", - "ExternalPromotion", - "FixedAmountPromotion" + "percentage_discount_promotions", + "free_shipping_promotions", + "buy_x_pay_y_promotions", + "free_gift_promotions", + "fixed_price_promotions", + "external_promotions", + "fixed_amount_promotions" ] }, "currency_code": { @@ -91556,6 +91697,28 @@ } } }, + "line_items": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "line_items" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, "available_shipping_methods": { "type": "object", "properties": { @@ -92551,6 +92714,40 @@ } } }, + "line_items": { + "type": "object", + "properties": { + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "description": "URL" + }, + "related": { + "type": "string", + "description": "URL" + } + } + }, + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "line_items" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, "available_shipping_methods": { "type": "object", "properties": { diff --git a/package.json b/package.json index 2e55cdcd..aeaa4ee2 100644 --- a/package.json +++ b/package.json @@ -39,13 +39,13 @@ "@babel/preset-env": "^7.24.0", "@babel/preset-typescript": "^7.23.3", "@commercelayer/eslint-config-ts": "1.3.0", - "@commercelayer/js-auth": "^4.2.2", + "@commercelayer/js-auth": "^4.3.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/debug": "^4.1.12", "@types/jest": "^29.5.12", - "@types/lodash": "^4.14.202", - "@types/node": "^20.11.25", + "@types/lodash": "^4.17.0", + "@types/node": "^20.11.28", "dotenv": "^16.4.5", "eslint": "^8.57.0", "inflector-js": "^1.0.1", @@ -54,7 +54,7 @@ "jsonapi-typescript": "^0.1.3", "lodash": "^4.17.21", "minimize-js": "^1.4.0", - "semantic-release": "^23.0.2", + "semantic-release": "^23.0.3", "ts-node": "^10.9.2", "typescript": "^5.4.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9d63cda2..fc45e41c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,14 +23,14 @@ devDependencies: specifier: 1.3.0 version: 1.3.0(eslint@8.57.0)(typescript@5.4.2) '@commercelayer/js-auth': - specifier: ^4.2.2 - version: 4.2.2 + specifier: ^4.3.0 + version: 4.3.0 '@semantic-release/changelog': specifier: ^6.0.3 - version: 6.0.3(semantic-release@23.0.2) + version: 6.0.3(semantic-release@23.0.3) '@semantic-release/git': specifier: ^10.0.1 - version: 10.0.1(semantic-release@23.0.2) + version: 10.0.1(semantic-release@23.0.3) '@types/debug': specifier: ^4.1.12 version: 4.1.12 @@ -38,11 +38,11 @@ devDependencies: specifier: ^29.5.12 version: 29.5.12 '@types/lodash': - specifier: ^4.14.202 - version: 4.14.202 + specifier: ^4.17.0 + version: 4.17.0 '@types/node': - specifier: ^20.11.25 - version: 20.11.25 + specifier: ^20.11.28 + version: 20.11.28 dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -54,7 +54,7 @@ devDependencies: version: 1.0.1 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) + version: 29.7.0(@types/node@20.11.28)(ts-node@10.9.2) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -68,11 +68,11 @@ devDependencies: specifier: ^1.4.0 version: 1.4.0 semantic-release: - specifier: ^23.0.2 - version: 23.0.2(typescript@5.4.2) + specifier: ^23.0.3 + version: 23.0.3(typescript@5.4.2) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.11.25)(typescript@5.4.2) + version: 10.9.2(@types/node@20.11.28)(typescript@5.4.2) typescript: specifier: ^5.4.2 version: 5.4.2 @@ -208,8 +208,8 @@ packages: - supports-color dev: true - /@babel/helper-define-polyfill-provider@0.6.0(@babel/core@7.24.0): - resolution: {integrity: sha512-efwOM90nCG6YeT8o3PCyBVSxRfmILxCNL+TNI8CGQl7a62M0Wd9VkV+XHwIlkOz1r4b+lxu6gBjdWiOMdUCrCQ==} + /@babel/helper-define-polyfill-provider@0.6.1(@babel/core@7.24.0): + resolution: {integrity: sha512-o7SDgTJuvx5vLKD6SFvkydkSMBvahDKGiNJzG22IZYXhiqoe9efY7zocICBgzHV4IRg5wdgl2nEL/tulKIEIbA==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: @@ -1247,7 +1247,7 @@ packages: '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.24.0) '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.24.0) '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.24.0) - babel-plugin-polyfill-corejs2: 0.4.9(@babel/core@7.24.0) + babel-plugin-polyfill-corejs2: 0.4.10(@babel/core@7.24.0) babel-plugin-polyfill-corejs3: 0.9.0(@babel/core@7.24.0) babel-plugin-polyfill-regenerator: 0.5.5(@babel/core@7.24.0) core-js-compat: 3.36.0 @@ -1363,8 +1363,8 @@ packages: - supports-color dev: true - /@commercelayer/js-auth@4.2.2: - resolution: {integrity: sha512-XgVr9eUbSYfNkQTIXJ+7BVHFSu1tUHosHiVLIirTr/mmCpS1pS7b8qOC1ft3y2azMknsnvWqu2K64vqbr8Fqyg==} + /@commercelayer/js-auth@4.3.0: + resolution: {integrity: sha512-T/P4f4VejV39JuBhsujGR4/5LO8s2BNo0ZYONLMa838gkXKbQ6Vsodm5c5pIwAjMsUM3ajUgp4eSSS396i4J9w==} engines: {node: '>=18.0.0'} dependencies: tslib: 2.6.2 @@ -1665,7 +1665,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1686,14 +1686,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.28)(ts-node@10.9.2) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1721,7 +1721,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 jest-mock: 29.7.0 dev: true @@ -1748,7 +1748,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.25 + '@types/node': 20.11.28 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1781,7 +1781,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.11.25 + '@types/node': 20.11.28 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1869,7 +1869,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.25 + '@types/node': 20.11.28 '@types/yargs': 17.0.32 chalk: 4.1.2 dev: true @@ -1932,95 +1932,93 @@ packages: fastq: 1.17.1 dev: true - /@octokit/auth-token@4.0.0: - resolution: {integrity: sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==} + /@octokit/auth-token@5.0.1: + resolution: {integrity: sha512-RTmWsLfig8SBoiSdgvCht4BXl1CHU89Co5xiQ5JF19my/sIRDFCQ1RPrmK0exgqUZuNm39C/bV8+/83+MJEjGg==} engines: {node: '>= 18'} dev: true - /@octokit/core@5.1.0: - resolution: {integrity: sha512-BDa2VAMLSh3otEiaMJ/3Y36GU4qf6GI+VivQ/P41NC6GHcdxpKlqV0ikSZ5gdQsmS3ojXeRx5vasgNTinF0Q4g==} + /@octokit/core@6.0.1: + resolution: {integrity: sha512-MIpPQXu8Y8GjHwXM81JLveiV+DHJZtLMcB5nKekBGOl3iAtk0HT3i12Xl8Biybu+bCS1+k4qbuKEq5d0RxNRnQ==} engines: {node: '>= 18'} dependencies: - '@octokit/auth-token': 4.0.0 - '@octokit/graphql': 7.0.2 - '@octokit/request': 8.2.0 - '@octokit/request-error': 5.0.1 + '@octokit/auth-token': 5.0.1 + '@octokit/graphql': 8.0.1 + '@octokit/request': 9.0.1 + '@octokit/request-error': 6.0.2 '@octokit/types': 12.6.0 - before-after-hook: 2.2.3 - universal-user-agent: 6.0.1 + before-after-hook: 3.0.2 + universal-user-agent: 7.0.2 dev: true - /@octokit/endpoint@9.0.4: - resolution: {integrity: sha512-DWPLtr1Kz3tv8L0UvXTDP1fNwM0S+z6EJpRcvH66orY6Eld4XBMCSYsaWp4xIm61jTWxK68BrR7ibO+vSDnZqw==} + /@octokit/endpoint@10.0.0: + resolution: {integrity: sha512-emBcNDxBdC1y3+knJonS5zhUB/CG6TihubxM2U1/pG/Z1y3a4oV0Gzz3lmkCvWWQI6h3tqBAX9MgCBFp+M68Jw==} engines: {node: '>= 18'} dependencies: '@octokit/types': 12.6.0 - universal-user-agent: 6.0.1 + universal-user-agent: 7.0.2 dev: true - /@octokit/graphql@7.0.2: - resolution: {integrity: sha512-OJ2iGMtj5Tg3s6RaXH22cJcxXRi7Y3EBqbHTBRq+PQAqfaS8f/236fUrWhfSn8P4jovyzqucxme7/vWSSZBX2Q==} + /@octokit/graphql@8.0.1: + resolution: {integrity: sha512-lLDb6LhC1gBj2CxEDa5Xk10+H/boonhs+3Mi6jpRyetskDKNHe6crMeKmUE2efoLofMP8ruannLlCUgpTFmVzQ==} engines: {node: '>= 18'} dependencies: - '@octokit/request': 8.2.0 + '@octokit/request': 9.0.1 '@octokit/types': 12.6.0 - universal-user-agent: 6.0.1 + universal-user-agent: 7.0.2 dev: true /@octokit/openapi-types@20.0.0: resolution: {integrity: sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==} dev: true - /@octokit/plugin-paginate-rest@9.2.1(@octokit/core@5.1.0): - resolution: {integrity: sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==} + /@octokit/plugin-paginate-rest@10.0.0(@octokit/core@6.0.1): + resolution: {integrity: sha512-G1Z67qOiFneKDJyMafHQkWnKm1kU3FfbRZLzxgsFg4dOa3pRNdABbdk+xo/oev6P88lnbt7GKdBNB6dJZuPphA==} engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '5' + '@octokit/core': '>=6' dependencies: - '@octokit/core': 5.1.0 + '@octokit/core': 6.0.1 '@octokit/types': 12.6.0 dev: true - /@octokit/plugin-retry@6.0.1(@octokit/core@5.1.0): - resolution: {integrity: sha512-SKs+Tz9oj0g4p28qkZwl/topGcb0k0qPNX/i7vBKmDsjoeqnVfFUquqrE/O9oJY7+oLzdCtkiWSXLpLjvl6uog==} + /@octokit/plugin-retry@7.0.3(@octokit/core@6.0.1): + resolution: {integrity: sha512-T9l5Z7XnDZ7dkyNmhJPSUq0YjbqUT/xn4yQbhcSuv4WGC/LqM73/mKwkl68VDPoLw20e8oz4L7qQopWt9v6sow==} engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '>=5' + '@octokit/core': '>=6' dependencies: - '@octokit/core': 5.1.0 - '@octokit/request-error': 5.0.1 + '@octokit/core': 6.0.1 + '@octokit/request-error': 6.0.2 '@octokit/types': 12.6.0 bottleneck: 2.19.5 dev: true - /@octokit/plugin-throttling@8.2.0(@octokit/core@5.1.0): - resolution: {integrity: sha512-nOpWtLayKFpgqmgD0y3GqXafMFuKcA4tRPZIfu7BArd2lEZeb1988nhWhwx4aZWmjDmUfdgVf7W+Tt4AmvRmMQ==} + /@octokit/plugin-throttling@9.0.3(@octokit/core@6.0.1): + resolution: {integrity: sha512-DReKamrLBJOzld73dmmxV2H137QKJfsxszAczEZXeAJQ/Po6bzQacKajPdodA6T1jfmP9+waImus+d/R2j+R7Q==} engines: {node: '>= 18'} peerDependencies: - '@octokit/core': ^5.0.0 + '@octokit/core': ^6.0.0 dependencies: - '@octokit/core': 5.1.0 + '@octokit/core': 6.0.1 '@octokit/types': 12.6.0 bottleneck: 2.19.5 dev: true - /@octokit/request-error@5.0.1: - resolution: {integrity: sha512-X7pnyTMV7MgtGmiXBwmO6M5kIPrntOXdyKZLigNfQWSEQzVxR4a4vo49vJjTWX70mPndj8KhfT4Dx+2Ng3vnBQ==} + /@octokit/request-error@6.0.2: + resolution: {integrity: sha512-WtRVpoHcNXs84+s9s/wqfHaxM68NGMg8Av7h59B50OVO0PwwMx+2GgQ/OliUd0iQBSNWgR6N8afi/KjSHbXHWw==} engines: {node: '>= 18'} dependencies: '@octokit/types': 12.6.0 - deprecation: 2.3.1 - once: 1.4.0 dev: true - /@octokit/request@8.2.0: - resolution: {integrity: sha512-exPif6x5uwLqv1N1irkLG1zZNJkOtj8bZxuVHd71U5Ftuxf2wGNvAJyNBcPbPC+EBzwYEbBDdSFb8EPcjpYxPQ==} + /@octokit/request@9.0.1: + resolution: {integrity: sha512-kL+cAcbSl3dctYLuJmLfx6Iku2MXXy0jszhaEIjQNaCp4zjHXrhVAHeuaRdNvJjW9qjl3u1MJ72+OuBP0YW/pg==} engines: {node: '>= 18'} dependencies: - '@octokit/endpoint': 9.0.4 - '@octokit/request-error': 5.0.1 + '@octokit/endpoint': 10.0.0 + '@octokit/request-error': 6.0.2 '@octokit/types': 12.6.0 - universal-user-agent: 6.0.1 + universal-user-agent: 7.0.2 dev: true /@octokit/types@12.6.0: @@ -2062,7 +2060,7 @@ packages: config-chain: 1.1.13 dev: true - /@semantic-release/changelog@6.0.3(semantic-release@23.0.2): + /@semantic-release/changelog@6.0.3(semantic-release@23.0.3): resolution: {integrity: sha512-dZuR5qByyfe3Y03TpmCvAxCyTnp7r5XwtHRf/8vD9EAn4ZWbavUX8adMtXYzE86EVh0gyLA7lm5yW4IV30XUag==} engines: {node: '>=14.17'} peerDependencies: @@ -2072,10 +2070,10 @@ packages: aggregate-error: 3.1.0 fs-extra: 11.2.0 lodash: 4.17.21 - semantic-release: 23.0.2(typescript@5.4.2) + semantic-release: 23.0.3(typescript@5.4.2) dev: true - /@semantic-release/commit-analyzer@11.1.0(semantic-release@23.0.2): + /@semantic-release/commit-analyzer@11.1.0(semantic-release@23.0.3): resolution: {integrity: sha512-cXNTbv3nXR2hlzHjAMgbuiQVtvWHTlwwISt60B+4NZv01y/QRY7p2HcJm8Eh2StzcTJoNnflvKjHH/cjFS7d5g==} engines: {node: ^18.17 || >=20.6.1} peerDependencies: @@ -2088,7 +2086,7 @@ packages: import-from-esm: 1.3.3 lodash-es: 4.17.21 micromatch: 4.0.5 - semantic-release: 23.0.2(typescript@5.4.2) + semantic-release: 23.0.3(typescript@5.4.2) transitivePeerDependencies: - supports-color dev: true @@ -2103,7 +2101,7 @@ packages: engines: {node: '>=18'} dev: true - /@semantic-release/git@10.0.1(semantic-release@23.0.2): + /@semantic-release/git@10.0.1(semantic-release@23.0.3): resolution: {integrity: sha512-eWrx5KguUcU2wUPaO6sfvZI0wPafUKAMNC18aXY4EnNcrZL86dEmpNVnC9uMpGZkmZJ9EfCVJBQx4pV4EMGT1w==} engines: {node: '>=14.17'} peerDependencies: @@ -2117,21 +2115,21 @@ packages: lodash: 4.17.21 micromatch: 4.0.5 p-reduce: 2.1.0 - semantic-release: 23.0.2(typescript@5.4.2) + semantic-release: 23.0.3(typescript@5.4.2) transitivePeerDependencies: - supports-color dev: true - /@semantic-release/github@9.2.6(semantic-release@23.0.2): - resolution: {integrity: sha512-shi+Lrf6exeNZF+sBhK+P011LSbhmIAoUEgEY6SsxF8irJ+J2stwI5jkyDQ+4gzYyDImzV6LCKdYB9FXnQRWKA==} - engines: {node: '>=18'} + /@semantic-release/github@10.0.2(semantic-release@23.0.3): + resolution: {integrity: sha512-SP5ihhv/uQa8vPuWKmbJrrzfv8lRUkDFC6qwgaWoorrflN1DEW0IGCa9w/PxUp8Ad3dbvXZPmpXdGiP3eyTzhg==} + engines: {node: '>=20.8.1'} peerDependencies: semantic-release: '>=20.1.0' dependencies: - '@octokit/core': 5.1.0 - '@octokit/plugin-paginate-rest': 9.2.1(@octokit/core@5.1.0) - '@octokit/plugin-retry': 6.0.1(@octokit/core@5.1.0) - '@octokit/plugin-throttling': 8.2.0(@octokit/core@5.1.0) + '@octokit/core': 6.0.1 + '@octokit/plugin-paginate-rest': 10.0.0(@octokit/core@6.0.1) + '@octokit/plugin-retry': 7.0.3(@octokit/core@6.0.1) + '@octokit/plugin-throttling': 9.0.3(@octokit/core@6.0.1) '@semantic-release/error': 4.0.0 aggregate-error: 5.0.0 debug: 4.3.4 @@ -2139,17 +2137,17 @@ packages: globby: 14.0.1 http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.4 - issue-parser: 6.0.0 + issue-parser: 7.0.0 lodash-es: 4.17.21 mime: 4.0.1 p-filter: 4.1.0 - semantic-release: 23.0.2(typescript@5.4.2) + semantic-release: 23.0.3(typescript@5.4.2) url-join: 5.0.0 transitivePeerDependencies: - supports-color dev: true - /@semantic-release/npm@11.0.3(semantic-release@23.0.2): + /@semantic-release/npm@11.0.3(semantic-release@23.0.3): resolution: {integrity: sha512-KUsozQGhRBAnoVg4UMZj9ep436VEGwT536/jwSqB7vcEfA6oncCUU7UIYTRdLx7GvTtqn0kBjnkfLVkcnBa2YQ==} engines: {node: ^18.17 || >=20} peerDependencies: @@ -2166,12 +2164,12 @@ packages: rc: 1.2.8 read-pkg: 9.0.1 registry-auth-token: 5.0.2 - semantic-release: 23.0.2(typescript@5.4.2) + semantic-release: 23.0.3(typescript@5.4.2) semver: 7.6.0 tempy: 3.1.0 dev: true - /@semantic-release/release-notes-generator@12.1.0(semantic-release@23.0.2): + /@semantic-release/release-notes-generator@12.1.0(semantic-release@23.0.3): resolution: {integrity: sha512-g6M9AjUKAZUZnxaJZnouNBeDNTCUrJ5Ltj+VJ60gJeDaRRahcHsry9HW8yKrnKkKNkx5lbWiEP1FPMqVNQz8Kg==} engines: {node: ^18.17 || >=20.6.1} peerDependencies: @@ -2187,7 +2185,7 @@ packages: into-stream: 7.0.0 lodash-es: 4.17.21 read-pkg-up: 11.0.0 - semantic-release: 23.0.2(typescript@5.4.2) + semantic-release: 23.0.3(typescript@5.4.2) transitivePeerDependencies: - supports-color dev: true @@ -2272,7 +2270,7 @@ packages: /@types/graceful-fs@4.1.9: resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} dependencies: - '@types/node': 20.11.25 + '@types/node': 20.11.28 dev: true /@types/istanbul-lib-coverage@2.0.6: @@ -2306,16 +2304,16 @@ packages: resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} dev: true - /@types/lodash@4.14.202: - resolution: {integrity: sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==} + /@types/lodash@4.17.0: + resolution: {integrity: sha512-t7dhREVv6dbNj0q17X12j7yDG4bD/DHYX7o5/DbDxobP0HnGPgpRz2Ej77aL7TZT3DSw13fqUTj8J4mMnqa7WA==} dev: true /@types/ms@0.7.34: resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} dev: true - /@types/node@20.11.25: - resolution: {integrity: sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==} + /@types/node@20.11.28: + resolution: {integrity: sha512-M/GPWVS2wLkSkNHVeLkrF2fD5Lx5UC4PxA0uZcKc6QqbIQUJyW1jVjueJYi1z8n0I5PxYrtpnPnWglE+y9A0KA==} dependencies: undici-types: 5.26.5 dev: true @@ -2710,7 +2708,7 @@ packages: /axios@1.6.7: resolution: {integrity: sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==} dependencies: - follow-redirects: 1.15.5 + follow-redirects: 1.15.6 form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: @@ -2758,14 +2756,14 @@ packages: '@types/babel__traverse': 7.20.5 dev: true - /babel-plugin-polyfill-corejs2@0.4.9(@babel/core@7.24.0): - resolution: {integrity: sha512-BXIWIaO3MewbXWdJdIGDWZurv5OGJlFNo7oy20DpB3kWDVJLcY2NRypRsRUbRe5KMqSNLuOGnWTFQQtY5MAsRw==} + /babel-plugin-polyfill-corejs2@0.4.10(@babel/core@7.24.0): + resolution: {integrity: sha512-rpIuu//y5OX6jVU+a5BCn1R5RSZYWAl2Nar76iwaOdycqb6JPxediskWFMMl7stfwNJR4b7eiQvh5fB5TEQJTQ==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 dependencies: '@babel/compat-data': 7.23.5 '@babel/core': 7.24.0 - '@babel/helper-define-polyfill-provider': 0.6.0(@babel/core@7.24.0) + '@babel/helper-define-polyfill-provider': 0.6.1(@babel/core@7.24.0) semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -2829,8 +2827,8 @@ packages: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} dev: true - /before-after-hook@2.2.3: - resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==} + /before-after-hook@3.0.2: + resolution: {integrity: sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==} dev: true /bottleneck@2.19.5: @@ -2863,7 +2861,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001597 - electron-to-chromium: 1.4.699 + electron-to-chromium: 1.4.707 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: true @@ -3132,7 +3130,7 @@ packages: typescript: 5.4.2 dev: true - /create-jest@29.7.0(@types/node@20.11.25)(ts-node@10.9.2): + /create-jest@29.7.0(@types/node@20.11.28)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3141,7 +3139,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.28)(ts-node@10.9.2) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -3240,10 +3238,6 @@ packages: engines: {node: '>=0.4.0'} dev: false - /deprecation@2.3.1: - resolution: {integrity: sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==} - dev: true - /detect-newline@3.1.0: resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} engines: {node: '>=8'} @@ -3306,8 +3300,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: true - /electron-to-chromium@1.4.699: - resolution: {integrity: sha512-I7q3BbQi6e4tJJN5CRcyvxhK0iJb34TV8eJQcgh+fR2fQ8miMgZcEInckCo1U9exDHbfz7DLDnFn8oqH/VcRKw==} + /electron-to-chromium@1.4.707: + resolution: {integrity: sha512-qRq74Mo7ChePOU6GHdfAJ0NREXU8vQTlVlfWz3wNygFay6xrd/fY2J7oGHwrhFeU30OVctGLdTh/FcnokTWpng==} dev: true /emittery@0.13.1: @@ -3939,8 +3933,8 @@ packages: resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} dev: true - /follow-redirects@1.15.5: - resolution: {integrity: sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==} + /follow-redirects@1.15.6: + resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -4558,9 +4552,9 @@ packages: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: true - /issue-parser@6.0.0: - resolution: {integrity: sha512-zKa/Dxq2lGsBIXQ7CUZWTHfvxPC2ej0KfO7fIPqLlHB9J2hJ7rGhZ5rilhuufylr4RXYPzJUeFjKxz305OsNlA==} - engines: {node: '>=10.13'} + /issue-parser@7.0.0: + resolution: {integrity: sha512-jgAw78HO3gs9UrKqJNQvfDj9Ouy8Mhu40fbEJ8yXff4MW8+/Fcn9iFjyWUQ6SKbX8ipPk3X5A3AyfYHRu6uVLw==} + engines: {node: ^18.17 || >=20.6.1} dependencies: lodash.capitalize: 4.2.1 lodash.escaperegexp: 4.1.2 @@ -4659,7 +4653,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -4680,7 +4674,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.11.25)(ts-node@10.9.2): + /jest-cli@29.7.0(@types/node@20.11.28)(ts-node@10.9.2): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -4694,10 +4688,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) + create-jest: 29.7.0(@types/node@20.11.28)(ts-node@10.9.2) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) + jest-config: 29.7.0(@types/node@20.11.28)(ts-node@10.9.2) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -4708,7 +4702,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.11.25)(ts-node@10.9.2): + /jest-config@29.7.0(@types/node@20.11.28)(ts-node@10.9.2): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -4723,7 +4717,7 @@ packages: '@babel/core': 7.24.0 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 babel-jest: 29.7.0(@babel/core@7.24.0) chalk: 4.1.2 ci-info: 3.9.0 @@ -4743,7 +4737,7 @@ packages: pretty-format: 29.7.0 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.9.2(@types/node@20.11.25)(typescript@5.4.2) + ts-node: 10.9.2(@types/node@20.11.28)(typescript@5.4.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -4784,7 +4778,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -4800,7 +4794,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.25 + '@types/node': 20.11.28 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -4851,7 +4845,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 jest-util: 29.7.0 dev: true @@ -4906,7 +4900,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -4937,7 +4931,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -4989,7 +4983,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -5014,7 +5008,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.25 + '@types/node': 20.11.28 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -5026,13 +5020,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.11.25 + '@types/node': 20.11.28 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.11.25)(ts-node@10.9.2): + /jest@29.7.0(@types/node@20.11.28)(ts-node@10.9.2): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -5045,7 +5039,7 @@ packages: '@jest/core': 29.7.0(ts-node@10.9.2) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.25)(ts-node@10.9.2) + jest-cli: 29.7.0(@types/node@20.11.28)(ts-node@10.9.2) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -6093,16 +6087,16 @@ packages: is-regex: 1.1.4 dev: true - /semantic-release@23.0.2(typescript@5.4.2): - resolution: {integrity: sha512-OnVYJ6Xgzwe1x8MKswba7RU9+5djS1MWRTrTn5qsq3xZYpslroZkV9Pt0dA2YcIuieeuSZWJhn+yUWoBUHO5Fw==} + /semantic-release@23.0.3(typescript@5.4.2): + resolution: {integrity: sha512-eUxHZCyvhiMf9bo6LCisZa2428Be39PkXCppUKG6T6tcWpG9vJnCgaSoNwJ00fsYKGyzwKyO59f8AMhOn7clpQ==} engines: {node: '>=20.8.1'} hasBin: true dependencies: - '@semantic-release/commit-analyzer': 11.1.0(semantic-release@23.0.2) + '@semantic-release/commit-analyzer': 11.1.0(semantic-release@23.0.3) '@semantic-release/error': 4.0.0 - '@semantic-release/github': 9.2.6(semantic-release@23.0.2) - '@semantic-release/npm': 11.0.3(semantic-release@23.0.2) - '@semantic-release/release-notes-generator': 12.1.0(semantic-release@23.0.2) + '@semantic-release/github': 10.0.2(semantic-release@23.0.3) + '@semantic-release/npm': 11.0.3(semantic-release@23.0.3) + '@semantic-release/release-notes-generator': 12.1.0(semantic-release@23.0.3) aggregate-error: 5.0.0 cosmiconfig: 9.0.0(typescript@5.4.2) debug: 4.3.4 @@ -6537,7 +6531,7 @@ packages: typescript: 5.4.2 dev: true - /ts-node@10.9.2(@types/node@20.11.25)(typescript@5.4.2): + /ts-node@10.9.2(@types/node@20.11.28)(typescript@5.4.2): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -6556,7 +6550,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.25 + '@types/node': 20.11.28 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -6734,8 +6728,8 @@ packages: crypto-random-string: 4.0.0 dev: true - /universal-user-agent@6.0.1: - resolution: {integrity: sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==} + /universal-user-agent@7.0.2: + resolution: {integrity: sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==} dev: true /universalify@2.0.1: diff --git a/specs/resources/events.spec.ts b/specs/resources/events.spec.ts index eab56276..9661e4c2 100644 --- a/specs/resources/events.spec.ts +++ b/specs/resources/events.spec.ts @@ -125,46 +125,46 @@ describe('Events resource', () => { - /* relationship.last_event_callbacks start */ - it(resourceType + '.last_event_callbacks', async () => { + /* relationship.webhooks start */ + it(resourceType + '.webhooks', async () => { const id = TestData.id - const params = { fields: { event_callbacks: CommonData.paramsFields } } + const params = { fields: { webhooks: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'last_event_callbacks') + checkCommon(config, resourceType, id, currentAccessToken, 'webhooks') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].last_event_callbacks(id, params, CommonData.options) + await cl[resourceType].webhooks(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.last_event_callbacks stop */ + /* relationship.webhooks stop */ - /* relationship.webhooks start */ - it(resourceType + '.webhooks', async () => { + /* relationship.last_event_callbacks start */ + it(resourceType + '.last_event_callbacks', async () => { const id = TestData.id - const params = { fields: { webhooks: CommonData.paramsFields } } + const params = { fields: { event_callbacks: CommonData.paramsFields } } const intId = cl.addRequestInterceptor((config) => { expect(config.method).toBe('get') - checkCommon(config, resourceType, id, currentAccessToken, 'webhooks') + checkCommon(config, resourceType, id, currentAccessToken, 'last_event_callbacks') checkCommonParams(config, params) return interceptRequest() }) - await cl[resourceType].webhooks(id, params, CommonData.options) + await cl[resourceType].last_event_callbacks(id, params, CommonData.options) .catch(handleError) .finally(() => cl.removeInterceptor('request', intId)) }) - /* relationship.webhooks stop */ + /* relationship.last_event_callbacks stop */ }) diff --git a/specs/resources/shipments.spec.ts b/specs/resources/shipments.spec.ts index 31501b35..b17359af 100644 --- a/specs/resources/shipments.spec.ts +++ b/specs/resources/shipments.spec.ts @@ -408,6 +408,27 @@ describe('Shipments resource', () => { /* relationship.stock_transfers stop */ + /* relationship.line_items start */ + it(resourceType + '.line_items', async () => { + + const id = TestData.id + const params = { fields: { line_items: CommonData.paramsFields } } + + const intId = cl.addRequestInterceptor((config) => { + expect(config.method).toBe('get') + checkCommon(config, resourceType, id, currentAccessToken, 'line_items') + checkCommonParams(config, params) + return interceptRequest() + }) + + await cl[resourceType].line_items(id, params, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request', intId)) + + }) + /* relationship.line_items stop */ + + /* relationship.available_shipping_methods start */ it(resourceType + '.available_shipping_methods', async () => { diff --git a/src/commercelayer.ts b/src/commercelayer.ts index aef99abc..a5b0fc3c 100644 --- a/src/commercelayer.ts +++ b/src/commercelayer.ts @@ -10,7 +10,7 @@ const debug = Debug('commercelayer') // Autogenerated schema version number, do not remove this line -const OPEN_API_SCHEMA_VERSION = '5.0.0' +const OPEN_API_SCHEMA_VERSION = '5.1.0' export { OPEN_API_SCHEMA_VERSION } diff --git a/src/resources/events.ts b/src/resources/events.ts index b3d419e2..3b7d0ae4 100644 --- a/src/resources/events.ts +++ b/src/resources/events.ts @@ -2,8 +2,8 @@ import { ApiResource } from '../resource' import type { Resource, ResourceId, ResourcesConfig, ResourceRel, ListResponse } from '../resource' import type { QueryParamsList } from '../query' -import type { EventCallback } from './event_callbacks' import type { Webhook } from './webhooks' +import type { EventCallback } from './event_callbacks' type EventType = 'events' @@ -16,8 +16,8 @@ interface Event extends Resource { name: string - last_event_callbacks?: EventCallback[] | null webhooks?: Webhook[] | null + last_event_callbacks?: EventCallback[] | null } @@ -26,14 +26,14 @@ class Events extends ApiResource { static readonly TYPE: EventType = 'events' as const - async last_event_callbacks(eventId: string | Event, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + async webhooks(eventId: string | Event, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _eventId = (eventId as Event).id || eventId as string - return this.resources.fetch({ type: 'event_callbacks' }, `events/${_eventId}/last_event_callbacks`, params, options) as unknown as ListResponse + return this.resources.fetch({ type: 'webhooks' }, `events/${_eventId}/webhooks`, params, options) as unknown as ListResponse } - async webhooks(eventId: string | Event, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + async last_event_callbacks(eventId: string | Event, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _eventId = (eventId as Event).id || eventId as string - return this.resources.fetch({ type: 'webhooks' }, `events/${_eventId}/webhooks`, params, options) as unknown as ListResponse + return this.resources.fetch({ type: 'event_callbacks' }, `events/${_eventId}/last_event_callbacks`, params, options) as unknown as ListResponse } diff --git a/src/resources/organization.ts b/src/resources/organization.ts index cb8a7cab..c464fa93 100644 --- a/src/resources/organization.ts +++ b/src/resources/organization.ts @@ -28,6 +28,7 @@ interface Organization extends Resource { max_concurrent_cleanups?: number | null order_number_editable_test?: boolean | null order_number_editable_live?: boolean | null + config?: Record | null } diff --git a/src/resources/shipments.ts b/src/resources/shipments.ts index dc51a3bc..77c824ee 100644 --- a/src/resources/shipments.ts +++ b/src/resources/shipments.ts @@ -11,6 +11,7 @@ import type { ShippingMethod, ShippingMethodType } from './shipping_methods' import type { DeliveryLeadTime } from './delivery_lead_times' import type { StockLineItem } from './stock_line_items' import type { StockTransfer } from './stock_transfers' +import type { LineItem } from './line_items' import type { CarrierAccount } from './carrier_accounts' import type { Parcel } from './parcels' import type { Attachment } from './attachments' @@ -66,6 +67,7 @@ interface Shipment extends Resource { delivery_lead_time?: DeliveryLeadTime | null stock_line_items?: StockLineItem[] | null stock_transfers?: StockTransfer[] | null + line_items?: LineItem[] | null available_shipping_methods?: ShippingMethod[] | null carrier_accounts?: CarrierAccount[] | null parcels?: Parcel[] | null @@ -179,6 +181,11 @@ class Shipments extends ApiResource { return this.resources.fetch({ type: 'stock_transfers' }, `shipments/${_shipmentId}/stock_transfers`, params, options) as unknown as ListResponse } + async line_items(shipmentId: string | Shipment, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + const _shipmentId = (shipmentId as Shipment).id || shipmentId as string + return this.resources.fetch({ type: 'line_items' }, `shipments/${_shipmentId}/line_items`, params, options) as unknown as ListResponse + } + async available_shipping_methods(shipmentId: string | Shipment, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _shipmentId = (shipmentId as Shipment).id || shipmentId as string return this.resources.fetch({ type: 'shipping_methods' }, `shipments/${_shipmentId}/available_shipping_methods`, params, options) as unknown as ListResponse