From 841887e91de86ab028144706a1893ffd1a291264 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Fri, 23 Aug 2024 16:18:46 +0200 Subject: [PATCH] feat: update resources to schema v6.3.0 --- gen/openapi.json | 158 ++++++++++- gen/resources.json | 114 +++++++- package.json | 4 +- pnpm-lock.yaml | 328 +++++++++++------------ specs/resources/avalara_accounts.spec.ts | 21 ++ src/commercelayer.ts | 2 +- src/resources/avalara_accounts.ts | 7 + src/resources/markets.ts | 15 ++ src/resources/organization.ts | 50 +++- 9 files changed, 497 insertions(+), 202 deletions(-) diff --git a/gen/openapi.json b/gen/openapi.json index 10c3caca..8dd3c587 100644 --- a/gen/openapi.json +++ b/gen/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Commerce Layer API", - "version": "6.2.1", + "version": "6.3.0", "contact": { "name": "API Support", "url": "https://commercelayer.io", @@ -1611,6 +1611,33 @@ } } }, + "/avalara_accounts/{avalaraAccountId}/events": { + "get": { + "operationId": "GET/avalaraAccountId/events", + "summary": "Retrieve the events associated to the avalara account", + "description": "Retrieve the events associated to the avalara account", + "tags": [ + "has_many", + "events" + ], + "parameters": [ + { + "name": "avalaraAccountId", + "in": "path", + "schema": { + "type": "string" + }, + "required": true, + "description": "The resource's id" + } + ], + "responses": { + "200": { + "description": "The events associated to the avalara account" + } + } + } + }, "/axerve_gateways": { "get": { "operationId": "GET/axerve_gateways", @@ -35723,6 +35750,28 @@ } } } + }, + "events": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "events" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } } } } @@ -36130,6 +36179,40 @@ } } } + }, + "events": { + "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": [ + "events" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } } } } @@ -70575,6 +70658,12 @@ "example": true, "nullable": true }, + "shipping_cost_cutoff": { + "type": "integer", + "description": "When specified indicates the maximum number of shipping line items with cost that will be added to an order.", + "example": 3, + "nullable": true + }, "disabled_at": { "type": "string", "description": "Time at which this resource was disabled.", @@ -70920,6 +71009,11 @@ "description": "The URL used to validate orders by an external source.", "example": "https://external_validation.yourbrand.com" }, + "shipping_cost_cutoff": { + "type": "integer", + "description": "When specified indicates the maximum number of shipping line items with cost that will be added to an order.", + "example": 3 + }, "_disable": { "type": "boolean", "description": "Send this attribute if you want to mark this resource as disabled.", @@ -71223,6 +71317,12 @@ "example": "https://external_validation.yourbrand.com", "nullable": true }, + "shipping_cost_cutoff": { + "type": "integer", + "description": "When specified indicates the maximum number of shipping line items with cost that will be added to an order.", + "example": 3, + "nullable": true + }, "_disable": { "type": "boolean", "description": "Send this attribute if you want to mark this resource as disabled.", @@ -79530,42 +79630,78 @@ "example": "GTM-5FJXX7", "nullable": true }, - "max_concurrent_promotions": { + "addresses_phone_required": { + "type": "boolean", + "description": "Indicates if the phone attribute is required for addresses, default is true.", + "example": true, + "nullable": true + }, + "bundles_max_items_count": { + "type": "integer", + "description": "The maximum number of SKUs allowed for bundles, default is 10.", + "example": 10, + "nullable": true + }, + "coupons_min_code_length": { + "type": "integer", + "description": "The minimum length for coupon code, default is 8.", + "example": 8, + "nullable": true + }, + "coupons_max_code_length": { "type": "integer", - "description": "The maximum number of active concurrent promotions allowed for your organization.", + "description": "The maximum length for coupon code, default is 40.", + "example": 40, + "nullable": true + }, + "promotions_max_concurrent_count": { + "type": "integer", + "description": "The maximum number of active concurrent promotions allowed for your organization, default is 10.", "example": 10, "nullable": true }, - "max_concurrent_imports": { + "imports_max_concurrent_count": { "type": "integer", - "description": "The maximum number of concurrent imports allowed for your organization.", + "description": "The maximum number of concurrent imports allowed for your organization, default is 10.", "example": 10, "nullable": true }, - "max_concurrent_exports": { + "exports_max_concurrent_count": { "type": "integer", - "description": "The maximum number of concurrent exports allowed for your organization.", + "description": "The maximum number of concurrent exports allowed for your organization, default is 10.", "example": 10, "nullable": true }, - "max_concurrent_cleanups": { + "cleanups_max_concurrent_count": { "type": "integer", - "description": "The maximum number of concurrent cleanups allowed for your organization.", + "description": "The maximum number of concurrent cleanups allowed for your organization, default is 10.", "example": 10, "nullable": true }, - "order_number_editable_test": { + "orders_number_editable_test": { "type": "boolean", "description": "Enables orders number editing as a string in test (for enterprise plans only).", "example": false, "nullable": true }, - "order_number_editable_live": { + "orders_number_editable_live": { "type": "boolean", "description": "Enables orders number editing as a string in live (for enterprise plans only).", "example": false, "nullable": true }, + "tax_calculators_errors": { + "type": "boolean", + "description": "Enables raising of API errors in case of tax calculation failure, default is false.", + "example": true, + "nullable": true + }, + "external_promotions_errors": { + "type": "boolean", + "description": "Enables raising of API errors in case of external promotion failure, default is false.", + "example": true, + "nullable": true + }, "config": { "type": "object", "description": "The organization's configuration.", diff --git a/gen/resources.json b/gen/resources.json index 2790b812..b57f6bfd 100644 --- a/gen/resources.json +++ b/gen/resources.json @@ -2164,6 +2164,14 @@ "sortable": false, "parent_resource": "Api::AvalaraAccountResource", "class_name": "TaxCategory" + }, + "events": { + "type": "has_many", + "desc": "The associated events.", + "filterable": true, + "sortable": false, + "parent_resource": "Api::AvalaraAccountResource", + "class_name": "Event" } }, "filters": [ @@ -2178,6 +2186,7 @@ "q", "attachments_id", "tax_categories_id", + "events_id", "ids", "created_at_from", "created_at_to", @@ -15729,6 +15738,17 @@ "sortable": false, "example": "true" }, + "shipping_cost_cutoff": { + "type": "integer", + "desc": "When specified indicates the maximum number of shipping line items with cost that will be added to an order.", + "required": "optional, default is null", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "3" + }, "id": { "format": "id", "type": "string", @@ -19976,10 +19996,21 @@ "sortable": false, "example": "GTM-5FJXX7" }, - "max_concurrent_promotions": { + "addresses_phone_required": { + "type": "boolean", + "desc": "Indicates if the phone attribute is required for addresses, default is true.", + "required": "optional, default is true", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "true" + }, + "bundles_max_items_count": { "type": "integer", - "desc": "The maximum number of active concurrent promotions allowed for your organization.", - "required": "optional, default to 10", + "desc": "The maximum number of SKUs allowed for bundles, default is 10.", + "required": "optional, default is 10", "creatable": false, "updatable": false, "fetchable": true, @@ -19987,10 +20018,43 @@ "sortable": false, "example": "10" }, - "max_concurrent_imports": { + "coupons_min_code_length": { + "type": "integer", + "desc": "The minimum length for coupon code, default is 8.", + "required": "optional, default is 8", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "8" + }, + "coupons_max_code_length": { "type": "integer", - "desc": "The maximum number of concurrent imports allowed for your organization.", - "required": "optional, default to 10", + "desc": "The maximum length for coupon code, default is 40.", + "required": "optional, default is 40", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "40" + }, + "promotions_max_concurrent_count": { + "type": "integer", + "desc": "The maximum number of active concurrent promotions allowed for your organization, default is 10.", + "required": "optional, default is 10", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "10" + }, + "imports_max_concurrent_count": { + "type": "integer", + "desc": "The maximum number of concurrent imports allowed for your organization, default is 10.", + "required": "optional, default is 10", "creatable": false, "updatable": false, "fetchable": true, @@ -19998,10 +20062,10 @@ "sortable": false, "example": "10" }, - "max_concurrent_exports": { + "exports_max_concurrent_count": { "type": "integer", - "desc": "The maximum number of concurrent exports allowed for your organization.", - "required": "optional, default to 10", + "desc": "The maximum number of concurrent exports allowed for your organization, default is 10.", + "required": "optional, default is 10", "creatable": false, "updatable": false, "fetchable": true, @@ -20009,10 +20073,10 @@ "sortable": false, "example": "10" }, - "max_concurrent_cleanups": { + "cleanups_max_concurrent_count": { "type": "integer", - "desc": "The maximum number of concurrent cleanups allowed for your organization.", - "required": "optional, default to 10", + "desc": "The maximum number of concurrent cleanups allowed for your organization, default is 10.", + "required": "optional, default is 10", "creatable": false, "updatable": false, "fetchable": true, @@ -20020,7 +20084,7 @@ "sortable": false, "example": "10" }, - "order_number_editable_test": { + "orders_number_editable_test": { "type": "boolean", "desc": "Enables orders number editing as a string in test (for enterprise plans only).", "creatable": true, @@ -20030,7 +20094,7 @@ "sortable": false, "example": "false" }, - "order_number_editable_live": { + "orders_number_editable_live": { "type": "boolean", "desc": "Enables orders number editing as a string in live (for enterprise plans only).", "creatable": true, @@ -20040,6 +20104,28 @@ "sortable": false, "example": "false" }, + "tax_calculators_errors": { + "type": "boolean", + "desc": "Enables raising of API errors in case of tax calculation failure, default is false.", + "required": "optional, default is false", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "true" + }, + "external_promotions_errors": { + "type": "boolean", + "desc": "Enables raising of API errors in case of external promotion failure, default is false.", + "required": "optional, default is false", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "true" + }, "config": { "type": "object", "desc": "The organization's configuration.", diff --git a/package.json b/package.json index 820fe2d4..8959bbb7 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "node": ">=20" }, "devDependencies": { - "@babel/preset-env": "^7.25.3", + "@babel/preset-env": "^7.25.4", "@babel/preset-typescript": "^7.24.7", "@commercelayer/eslint-config-ts": "1.4.5", "@commercelayer/js-auth": "^6.3.1", @@ -40,7 +40,7 @@ "@semantic-release/git": "^10.0.1", "@types/debug": "^4.1.12", "@types/jest": "^29.5.12", - "@types/node": "^22.4.1", + "@types/node": "^22.5.0", "dotenv": "^16.4.5", "eslint": "^8.57.0", "jest": "^29.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 703b8fdb..cf1bb6a3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: .: devDependencies: '@babel/preset-env': - specifier: ^7.25.3 - version: 7.25.3(@babel/core@7.25.2) + specifier: ^7.25.4 + version: 7.25.4(@babel/core@7.25.2) '@babel/preset-typescript': specifier: ^7.24.7 version: 7.24.7(@babel/core@7.25.2) @@ -36,8 +36,8 @@ importers: specifier: ^29.5.12 version: 29.5.12 '@types/node': - specifier: ^22.4.1 - version: 22.4.1 + specifier: ^22.5.0 + version: 22.5.0 dotenv: specifier: ^16.4.5 version: 16.4.5 @@ -46,7 +46,7 @@ importers: version: 8.57.0 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@22.4.1) + version: 29.7.0(@types/node@22.5.0) json-typescript: specifier: ^1.1.2 version: 1.1.2 @@ -79,16 +79,16 @@ packages: resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} engines: {node: '>=6.9.0'} - '@babel/compat-data@7.25.2': - resolution: {integrity: sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==} + '@babel/compat-data@7.25.4': + resolution: {integrity: sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==} engines: {node: '>=6.9.0'} '@babel/core@7.25.2': resolution: {integrity: sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==} engines: {node: '>=6.9.0'} - '@babel/generator@7.25.0': - resolution: {integrity: sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==} + '@babel/generator@7.25.5': + resolution: {integrity: sha512-abd43wyLfbWoxC6ahM8xTkqLpGB2iWBVyuKC9/srhFunCd1SDNrV1s72bBpK4hLj8KLzHBBcOblvLQZBNw9r3w==} engines: {node: '>=6.9.0'} '@babel/helper-annotate-as-pure@7.24.7': @@ -103,8 +103,8 @@ packages: resolution: {integrity: sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==} engines: {node: '>=6.9.0'} - '@babel/helper-create-class-features-plugin@7.25.0': - resolution: {integrity: sha512-GYM6BxeQsETc9mnct+nIIpf63SAyzvyYN7UB/IlTyd+MBg06afFGp0mIeUqGyWgS2mxad6vqbMrHVlaL3m70sQ==} + '@babel/helper-create-class-features-plugin@7.25.4': + resolution: {integrity: sha512-ro/bFs3/84MDgDmMwbcHgDa8/E6J3QKNTk4xJJnVeFtGE+tL0K26E3pNxhYz2b67fJpt7Aphw5XcploKXuCvCQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 @@ -186,8 +186,8 @@ packages: resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} engines: {node: '>=6.9.0'} - '@babel/parser@7.25.3': - resolution: {integrity: sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==} + '@babel/parser@7.25.4': + resolution: {integrity: sha512-nq+eWrOgdtu3jG5Os4TQP3x3cLA8hR8TvJNjD8vnPa20WGycimcparWnLK4jJhElTK6SDyuJo1weMKO/5LpmLA==} engines: {node: '>=6.0.0'} hasBin: true @@ -328,8 +328,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-syntax-typescript@7.24.7': - resolution: {integrity: sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==} + '@babel/plugin-syntax-typescript@7.25.4': + resolution: {integrity: sha512-uMOCoHVU52BsSWxPOMVv5qKRdeSlPuImUCB2dlPuBSU+W2/ROE7/Zg8F2Kepbk+8yBa68LlRKxO+xgEVWorsDg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -346,8 +346,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-async-generator-functions@7.25.0': - resolution: {integrity: sha512-uaIi2FdqzjpAMvVqvB51S42oC2JEVgh0LDsGfZVDysWE8LrJtQC2jvKmOqEYThKyB7bDEb7BP1GYWDm7tABA0Q==} + '@babel/plugin-transform-async-generator-functions@7.25.4': + resolution: {integrity: sha512-jz8cV2XDDTqjKPwVPJBIjORVEmSGYhdRa8e5k5+vN+uwcjSrSxUaebBRa4ko1jqNF2uxyg8G6XYk30Jv285xzg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -370,8 +370,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-class-properties@7.24.7': - resolution: {integrity: sha512-vKbfawVYayKcSeSR5YYzzyXvsDFWU2mD8U5TFeXtbCPLFUqe7GyCgvO6XDHzje862ODrOwy6WCPmKeWHbCFJ4w==} + '@babel/plugin-transform-class-properties@7.25.4': + resolution: {integrity: sha512-nZeZHyCWPfjkdU5pA/uHiTaDAFUEqkpzf1YoQT2NeSynCGYq9rxfyI3XpQbfx/a0hSnFH6TGlEXvae5Vi7GD8g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -382,8 +382,8 @@ packages: peerDependencies: '@babel/core': ^7.12.0 - '@babel/plugin-transform-classes@7.25.0': - resolution: {integrity: sha512-xyi6qjr/fYU304fiRwFbekzkqVJZ6A7hOjWZd+89FVcBqPV3S9Wuozz82xdpLspckeaafntbzglaW4pqpzvtSw==} + '@babel/plugin-transform-classes@7.25.4': + resolution: {integrity: sha512-oexUfaQle2pF/b6E0dwsxQtAol9TLSO88kQvym6HHBWFliV2lGdrPieX+WgMRLSJDVzdYywk7jXbLPuO2KLTLg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -550,8 +550,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-private-methods@7.24.7': - resolution: {integrity: sha512-COTCOkG2hn4JKGEKBADkA8WNb35TGkkRbI5iT845dB+NyqgO8Hn+ajPbSnIQznneJTa3d30scb6iz/DhH8GsJQ==} + '@babel/plugin-transform-private-methods@7.25.4': + resolution: {integrity: sha512-ao8BG7E2b/URaUQGqN3Tlsg+M3KlHY6rJ1O1gXAEUnZoyNQnvKyH87Kfg+FoxSeyWUB8ISZZsC91C44ZuBFytw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -634,14 +634,14 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-unicode-sets-regex@7.24.7': - resolution: {integrity: sha512-2G8aAvF4wy1w/AGZkemprdGMRg5o6zPNhbHVImRz3lss55TYCBd6xStN19rt8XJHq20sqV0JbyWjOWwQRwV/wg==} + '@babel/plugin-transform-unicode-sets-regex@7.25.4': + resolution: {integrity: sha512-qesBxiWkgN1Q+31xUE9RcMk79eOXXDCv6tfyGMRSs4RGlioSg2WVyQAm07k726cSE56pa+Kb0y9epX2qaXzTvA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 - '@babel/preset-env@7.25.3': - resolution: {integrity: sha512-QsYW7UeAaXvLPX9tdVliMJE7MD7M6MLYVTovRTIwhoYQVFHR1rM4wO8wqAezYi3/BpSD+NzVCZ69R6smWiIi8g==} + '@babel/preset-env@7.25.4': + resolution: {integrity: sha512-W9Gyo+KmcxjGahtt3t9fb14vFRWvPpu5pT6GBlovAK6BTBcxgjfVMSQCfJl4oi35ODrxP6xx2Wr8LNST57Mraw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -660,20 +660,20 @@ packages: '@babel/regjsgen@0.8.0': resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} - '@babel/runtime@7.25.0': - resolution: {integrity: sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==} + '@babel/runtime@7.25.4': + resolution: {integrity: sha512-DSgLeL/FNcpXuzav5wfYvHCGvynXkJbn3Zvc3823AEe9nPwW9IK4UoCSS5yGymmQzN0pCPvivtgS6/8U2kkm1w==} engines: {node: '>=6.9.0'} '@babel/template@7.25.0': resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.25.3': - resolution: {integrity: sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==} + '@babel/traverse@7.25.4': + resolution: {integrity: sha512-VJ4XsrD+nOvlXyLzmLzUs/0qjFS4sK30te5yEFlvbbUNEgKaVb2BHZUpAL+ttLPQAHNrsI3zZisbfha5Cvr8vg==} engines: {node: '>=6.9.0'} - '@babel/types@7.25.2': - resolution: {integrity: sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==} + '@babel/types@7.25.4': + resolution: {integrity: sha512-zQ1ijeeCXVEh+aNL0RlmkPkG8HUiDcU2pzQQFjtbntgAczRASFzj4H+6+bV+dy1ntKR14I/DypeuRG1uma98iQ==} engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@0.2.3': @@ -1153,8 +1153,8 @@ packages: peerDependencies: semantic-release: '>=18.0.0' - '@semantic-release/github@10.1.6': - resolution: {integrity: sha512-UTW7hNp6nDeJJWrHcNx8dki95d12WVh++PH98rIr7PQxrZrnjtL0ys/rsAt9tOBTWBaCZdj6797RMLkY9tU+ug==} + '@semantic-release/github@10.1.7': + resolution: {integrity: sha512-QnhP4k1eqzYLz6a4kpWrUQeKJYXqHggveMykvUFbSquq07GF85BXvr/QLhpOD7bpDcmEfL8VnphRA7KT5i9lzQ==} engines: {node: '>=20.8.1'} peerDependencies: semantic-release: '>=20.1.0' @@ -1231,8 +1231,8 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} - '@types/node@22.4.1': - resolution: {integrity: sha512-1tbpb9325+gPnKK0dMm+/LMriX0vKxf6RnB0SZUqfyVkQ4fMgUSySqhxE/y8Jvs4NyF1yHzTfG9KlnkIODxPKg==} + '@types/node@22.5.0': + resolution: {integrity: sha512-DkFrJOe+rfdHTqqMg0bSNlGlQ85hSoh2TPzZyhHsXnMtligRWpxUySiyw8FY14ITt24HVCiQPWxS3KO/QlGmWg==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -1786,8 +1786,8 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - electron-to-chromium@1.5.12: - resolution: {integrity: sha512-tIhPkdlEoCL1Y+PToq3zRNehUaKp3wBX/sr7aclAWdIWjvqAe/Im/H0SiCM4c1Q8BLPHCdoJTol+ZblflydehA==} + electron-to-chromium@1.5.13: + resolution: {integrity: sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==} emittery@0.13.1: resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} @@ -2364,8 +2364,8 @@ packages: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} - is-core-module@2.15.0: - resolution: {integrity: sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==} + is-core-module@2.15.1: + resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} engines: {node: '>= 0.4'} is-data-view@1.0.1: @@ -3401,8 +3401,8 @@ packages: spdx-expression-parse@3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} - spdx-license-ids@3.0.18: - resolution: {integrity: sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==} + spdx-license-ids@3.0.20: + resolution: {integrity: sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==} split2@1.0.0: resolution: {integrity: sha512-NKywug4u4pX/AZBB1FCPzZ6/7O+Xhz1qMVbzTvvKvikjO99oPN87SkK08mEY9P63/5lWjK+wgOOgApnTg5r6qg==} @@ -3500,8 +3500,8 @@ packages: resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} engines: {node: '>=10'} - supports-hyperlinks@3.0.0: - resolution: {integrity: sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==} + supports-hyperlinks@3.1.0: + resolution: {integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==} engines: {node: '>=14.18'} supports-preserve-symlinks-flag@1.0.0: @@ -3815,20 +3815,20 @@ snapshots: '@babel/highlight': 7.24.7 picocolors: 1.0.1 - '@babel/compat-data@7.25.2': {} + '@babel/compat-data@7.25.4': {} '@babel/core@7.25.2': dependencies: '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.0 + '@babel/generator': 7.25.5 '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) '@babel/helpers': 7.25.0 - '@babel/parser': 7.25.3 + '@babel/parser': 7.25.4 '@babel/template': 7.25.0 - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 convert-source-map: 2.0.0 debug: 4.3.6 gensync: 1.0.0-beta.2 @@ -3837,33 +3837,33 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/generator@7.25.0': + '@babel/generator@7.25.5': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 jsesc: 2.5.2 '@babel/helper-annotate-as-pure@7.24.7': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/helper-builder-binary-assignment-operator-visitor@7.24.7': dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color '@babel/helper-compilation-targets@7.25.2': dependencies: - '@babel/compat-data': 7.25.2 + '@babel/compat-data': 7.25.4 '@babel/helper-validator-option': 7.24.8 browserslist: 4.23.3 lru-cache: 5.1.1 semver: 6.3.1 - '@babel/helper-create-class-features-plugin@7.25.0(@babel/core@7.25.2)': + '@babel/helper-create-class-features-plugin@7.25.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.24.7 @@ -3871,7 +3871,7 @@ snapshots: '@babel/helper-optimise-call-expression': 7.24.7 '@babel/helper-replace-supers': 7.25.0(@babel/core@7.25.2) '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -3896,15 +3896,15 @@ snapshots: '@babel/helper-member-expression-to-functions@7.24.8': dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color '@babel/helper-module-imports@7.24.7': dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color @@ -3914,13 +3914,13 @@ snapshots: '@babel/helper-module-imports': 7.24.7 '@babel/helper-simple-access': 7.24.7 '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 transitivePeerDependencies: - supports-color '@babel/helper-optimise-call-expression@7.24.7': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/helper-plugin-utils@7.24.8': {} @@ -3929,7 +3929,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.24.7 '@babel/helper-wrap-function': 7.25.0 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 transitivePeerDependencies: - supports-color @@ -3938,21 +3938,21 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-member-expression-to-functions': 7.24.8 '@babel/helper-optimise-call-expression': 7.24.7 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 transitivePeerDependencies: - supports-color '@babel/helper-simple-access@7.24.7': dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.24.7': dependencies: - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color @@ -3965,15 +3965,15 @@ snapshots: '@babel/helper-wrap-function@7.25.0': dependencies: '@babel/template': 7.25.0 - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 transitivePeerDependencies: - supports-color '@babel/helpers@7.25.0': dependencies: '@babel/template': 7.25.0 - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/highlight@7.24.7': dependencies: @@ -3982,15 +3982,15 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.0.1 - '@babel/parser@7.25.3': + '@babel/parser@7.25.4': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.3(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 transitivePeerDependencies: - supports-color @@ -4017,7 +4017,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 transitivePeerDependencies: - supports-color @@ -4120,7 +4120,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/plugin-syntax-typescript@7.24.7(@babel/core@7.25.2)': + '@babel/plugin-syntax-typescript@7.25.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 @@ -4136,13 +4136,13 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/plugin-transform-async-generator-functions@7.25.0(@babel/core@7.25.2)': + '@babel/plugin-transform-async-generator-functions@7.25.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-remap-async-to-generator': 7.25.0(@babel/core@7.25.2) '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.25.2) - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 transitivePeerDependencies: - supports-color @@ -4165,10 +4165,10 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/plugin-transform-class-properties@7.24.7(@babel/core@7.25.2)': + '@babel/plugin-transform-class-properties@7.25.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-create-class-features-plugin': 7.25.0(@babel/core@7.25.2) + '@babel/helper-create-class-features-plugin': 7.25.4(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.8 transitivePeerDependencies: - supports-color @@ -4176,20 +4176,20 @@ snapshots: '@babel/plugin-transform-class-static-block@7.24.7(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-create-class-features-plugin': 7.25.0(@babel/core@7.25.2) + '@babel/helper-create-class-features-plugin': 7.25.4(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.25.2) transitivePeerDependencies: - supports-color - '@babel/plugin-transform-classes@7.25.0(@babel/core@7.25.2)': + '@babel/plugin-transform-classes@7.25.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.24.7 '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-replace-supers': 7.25.0(@babel/core@7.25.2) - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -4255,7 +4255,7 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 transitivePeerDependencies: - supports-color @@ -4304,7 +4304,7 @@ snapshots: '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.3 + '@babel/traverse': 7.25.4 transitivePeerDependencies: - supports-color @@ -4375,10 +4375,10 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/plugin-transform-private-methods@7.24.7(@babel/core@7.25.2)': + '@babel/plugin-transform-private-methods@7.25.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 - '@babel/helper-create-class-features-plugin': 7.25.0(@babel/core@7.25.2) + '@babel/helper-create-class-features-plugin': 7.25.4(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.8 transitivePeerDependencies: - supports-color @@ -4387,7 +4387,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.24.7 - '@babel/helper-create-class-features-plugin': 7.25.0(@babel/core@7.25.2) + '@babel/helper-create-class-features-plugin': 7.25.4(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.25.2) transitivePeerDependencies: @@ -4441,10 +4441,10 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-annotate-as-pure': 7.24.7 - '@babel/helper-create-class-features-plugin': 7.25.0(@babel/core@7.25.2) + '@babel/helper-create-class-features-plugin': 7.25.4(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.8 '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 - '@babel/plugin-syntax-typescript': 7.24.7(@babel/core@7.25.2) + '@babel/plugin-syntax-typescript': 7.25.4(@babel/core@7.25.2) transitivePeerDependencies: - supports-color @@ -4465,15 +4465,15 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.25.2(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.8 - '@babel/plugin-transform-unicode-sets-regex@7.24.7(@babel/core@7.25.2)': + '@babel/plugin-transform-unicode-sets-regex@7.25.4(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 '@babel/helper-create-regexp-features-plugin': 7.25.2(@babel/core@7.25.2) '@babel/helper-plugin-utils': 7.24.8 - '@babel/preset-env@7.25.3(@babel/core@7.25.2)': + '@babel/preset-env@7.25.4(@babel/core@7.25.2)': dependencies: - '@babel/compat-data': 7.25.2 + '@babel/compat-data': 7.25.4 '@babel/core': 7.25.2 '@babel/helper-compilation-targets': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 @@ -4503,13 +4503,13 @@ snapshots: '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.25.2) '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.25.2) '@babel/plugin-transform-arrow-functions': 7.24.7(@babel/core@7.25.2) - '@babel/plugin-transform-async-generator-functions': 7.25.0(@babel/core@7.25.2) + '@babel/plugin-transform-async-generator-functions': 7.25.4(@babel/core@7.25.2) '@babel/plugin-transform-async-to-generator': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-block-scoped-functions': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-block-scoping': 7.25.0(@babel/core@7.25.2) - '@babel/plugin-transform-class-properties': 7.24.7(@babel/core@7.25.2) + '@babel/plugin-transform-class-properties': 7.25.4(@babel/core@7.25.2) '@babel/plugin-transform-class-static-block': 7.24.7(@babel/core@7.25.2) - '@babel/plugin-transform-classes': 7.25.0(@babel/core@7.25.2) + '@babel/plugin-transform-classes': 7.25.4(@babel/core@7.25.2) '@babel/plugin-transform-computed-properties': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-destructuring': 7.24.8(@babel/core@7.25.2) '@babel/plugin-transform-dotall-regex': 7.24.7(@babel/core@7.25.2) @@ -4537,7 +4537,7 @@ snapshots: '@babel/plugin-transform-optional-catch-binding': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-optional-chaining': 7.24.8(@babel/core@7.25.2) '@babel/plugin-transform-parameters': 7.24.7(@babel/core@7.25.2) - '@babel/plugin-transform-private-methods': 7.24.7(@babel/core@7.25.2) + '@babel/plugin-transform-private-methods': 7.25.4(@babel/core@7.25.2) '@babel/plugin-transform-private-property-in-object': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-property-literals': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-regenerator': 7.24.7(@babel/core@7.25.2) @@ -4550,7 +4550,7 @@ snapshots: '@babel/plugin-transform-unicode-escapes': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-unicode-property-regex': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-unicode-regex': 7.24.7(@babel/core@7.25.2) - '@babel/plugin-transform-unicode-sets-regex': 7.24.7(@babel/core@7.25.2) + '@babel/plugin-transform-unicode-sets-regex': 7.25.4(@babel/core@7.25.2) '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.25.2) babel-plugin-polyfill-corejs2: 0.4.11(@babel/core@7.25.2) babel-plugin-polyfill-corejs3: 0.10.6(@babel/core@7.25.2) @@ -4564,7 +4564,7 @@ snapshots: dependencies: '@babel/core': 7.25.2 '@babel/helper-plugin-utils': 7.24.8 - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 esutils: 2.0.3 '@babel/preset-typescript@7.24.7(@babel/core@7.25.2)': @@ -4580,29 +4580,29 @@ snapshots: '@babel/regjsgen@0.8.0': {} - '@babel/runtime@7.25.0': + '@babel/runtime@7.25.4': dependencies: regenerator-runtime: 0.14.1 '@babel/template@7.25.0': dependencies: '@babel/code-frame': 7.24.7 - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 + '@babel/parser': 7.25.4 + '@babel/types': 7.25.4 - '@babel/traverse@7.25.3': + '@babel/traverse@7.25.4': dependencies: '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.0 - '@babel/parser': 7.25.3 + '@babel/generator': 7.25.5 + '@babel/parser': 7.25.4 '@babel/template': 7.25.0 - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 debug: 4.3.6 globals: 11.12.0 transitivePeerDependencies: - supports-color - '@babel/types@7.25.2': + '@babel/types@7.25.4': dependencies: '@babel/helper-string-parser': 7.24.8 '@babel/helper-validator-identifier': 7.24.7 @@ -4763,7 +4763,7 @@ snapshots: '@jest/console@29.7.0': dependencies: '@jest/types': 29.6.3 - '@types/node': 22.4.1 + '@types/node': 22.5.0 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -4776,14 +4776,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.4.1 + '@types/node': 22.5.0 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@22.4.1) + jest-config: 29.7.0(@types/node@22.5.0) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -4808,7 +4808,7 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.4.1 + '@types/node': 22.5.0 jest-mock: 29.7.0 '@jest/expect-utils@29.7.0': @@ -4826,7 +4826,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 22.4.1 + '@types/node': 22.5.0 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -4848,7 +4848,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 22.4.1 + '@types/node': 22.5.0 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -4918,7 +4918,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.4.1 + '@types/node': 22.5.0 '@types/yargs': 17.0.33 chalk: 4.1.2 @@ -5116,7 +5116,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@semantic-release/github@10.1.6(semantic-release@24.1.0(typescript@5.5.4))': + '@semantic-release/github@10.1.7(semantic-release@24.1.0(typescript@5.5.4))': dependencies: '@octokit/core': 6.1.2 '@octokit/plugin-paginate-rest': 11.3.3(@octokit/core@6.1.2) @@ -5189,24 +5189,24 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 + '@babel/parser': 7.25.4 + '@babel/types': 7.25.4 '@types/babel__generator': 7.6.8 '@types/babel__template': 7.4.4 '@types/babel__traverse': 7.20.6 '@types/babel__generator@7.6.8': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@types/babel__template@7.4.4': dependencies: - '@babel/parser': 7.25.3 - '@babel/types': 7.25.2 + '@babel/parser': 7.25.4 + '@babel/types': 7.25.4 '@types/babel__traverse@7.20.6': dependencies: - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@types/debug@4.1.12': dependencies: @@ -5216,7 +5216,7 @@ snapshots: '@types/graceful-fs@4.1.9': dependencies: - '@types/node': 22.4.1 + '@types/node': 22.5.0 '@types/istanbul-lib-coverage@2.0.6': {} @@ -5237,7 +5237,7 @@ snapshots: '@types/ms@0.7.34': {} - '@types/node@22.4.1': + '@types/node@22.5.0': dependencies: undici-types: 6.19.8 @@ -5524,13 +5524,13 @@ snapshots: babel-plugin-jest-hoist@29.6.3: dependencies: '@babel/template': 7.25.0 - '@babel/types': 7.25.2 + '@babel/types': 7.25.4 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.6 babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.25.2): dependencies: - '@babel/compat-data': 7.25.2 + '@babel/compat-data': 7.25.4 '@babel/core': 7.25.2 '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.25.2) semver: 6.3.1 @@ -5601,7 +5601,7 @@ snapshots: browserslist@4.23.3: dependencies: caniuse-lite: 1.0.30001651 - electron-to-chromium: 1.5.12 + electron-to-chromium: 1.5.13 node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.23.3) @@ -5773,13 +5773,13 @@ snapshots: optionalDependencies: typescript: 5.5.4 - create-jest@29.7.0(@types/node@22.4.1): + create-jest@29.7.0(@types/node@22.5.0): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@22.4.1) + jest-config: 29.7.0(@types/node@22.5.0) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -5872,7 +5872,7 @@ snapshots: eastasianwidth@0.2.0: {} - electron-to-chromium@1.5.12: {} + electron-to-chromium@1.5.13: {} emittery@0.13.1: {} @@ -6039,7 +6039,7 @@ snapshots: eslint-import-resolver-node@0.3.9: dependencies: debug: 3.2.7 - is-core-module: 2.15.0 + is-core-module: 2.15.1 resolve: 1.22.8 transitivePeerDependencies: - supports-color @@ -6073,7 +6073,7 @@ snapshots: eslint-import-resolver-node: 0.3.9 eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@8.57.0) hasown: 2.0.2 - is-core-module: 2.15.0 + is-core-module: 2.15.1 is-glob: 4.0.3 minimatch: 3.1.2 object.fromentries: 2.0.8 @@ -6098,7 +6098,7 @@ snapshots: globals: 13.24.0 ignore: 5.3.2 is-builtin-module: 3.2.1 - is-core-module: 2.15.0 + is-core-module: 2.15.1 minimatch: 3.1.2 resolve: 1.22.8 semver: 7.6.3 @@ -6587,7 +6587,7 @@ snapshots: is-callable@1.2.7: {} - is-core-module@2.15.0: + is-core-module@2.15.1: dependencies: hasown: 2.0.2 @@ -6675,7 +6675,7 @@ snapshots: istanbul-lib-instrument@5.2.1: dependencies: '@babel/core': 7.25.2 - '@babel/parser': 7.25.3 + '@babel/parser': 7.25.4 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -6685,7 +6685,7 @@ snapshots: istanbul-lib-instrument@6.0.3: dependencies: '@babel/core': 7.25.2 - '@babel/parser': 7.25.3 + '@babel/parser': 7.25.4 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 7.6.3 @@ -6731,7 +6731,7 @@ snapshots: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.4.1 + '@types/node': 22.5.0 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.3 @@ -6751,16 +6751,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@22.4.1): + jest-cli@29.7.0(@types/node@22.5.0): dependencies: '@jest/core': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@22.4.1) + create-jest: 29.7.0(@types/node@22.5.0) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@22.4.1) + jest-config: 29.7.0(@types/node@22.5.0) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -6770,7 +6770,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@22.4.1): + jest-config@29.7.0(@types/node@22.5.0): dependencies: '@babel/core': 7.25.2 '@jest/test-sequencer': 29.7.0 @@ -6795,7 +6795,7 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 22.4.1 + '@types/node': 22.5.0 transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -6824,7 +6824,7 @@ snapshots: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.4.1 + '@types/node': 22.5.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -6834,7 +6834,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 22.4.1 + '@types/node': 22.5.0 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -6873,7 +6873,7 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.4.1 + '@types/node': 22.5.0 jest-util: 29.7.0 jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): @@ -6908,7 +6908,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.4.1 + '@types/node': 22.5.0 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -6936,7 +6936,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.4.1 + '@types/node': 22.5.0 chalk: 4.1.2 cjs-module-lexer: 1.3.1 collect-v8-coverage: 1.0.2 @@ -6957,10 +6957,10 @@ snapshots: jest-snapshot@29.7.0: dependencies: '@babel/core': 7.25.2 - '@babel/generator': 7.25.0 + '@babel/generator': 7.25.5 '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) - '@babel/plugin-syntax-typescript': 7.24.7(@babel/core@7.25.2) - '@babel/types': 7.25.2 + '@babel/plugin-syntax-typescript': 7.25.4(@babel/core@7.25.2) + '@babel/types': 7.25.4 '@jest/expect-utils': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 @@ -6982,7 +6982,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.4.1 + '@types/node': 22.5.0 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -7001,7 +7001,7 @@ snapshots: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.4.1 + '@types/node': 22.5.0 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -7010,17 +7010,17 @@ snapshots: jest-worker@29.7.0: dependencies: - '@types/node': 22.4.1 + '@types/node': 22.5.0 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@22.4.1): + jest@29.7.0(@types/node@22.5.0): dependencies: '@jest/core': 29.7.0 '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@22.4.1) + jest-cli: 29.7.0(@types/node@22.5.0) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -7155,7 +7155,7 @@ snapshots: cli-table3: 0.6.5 marked: 12.0.2 node-emoji: 2.1.3 - supports-hyperlinks: 3.0.0 + supports-hyperlinks: 3.1.0 marked@12.0.2: {} @@ -7495,7 +7495,7 @@ snapshots: regenerator-transform@0.15.2: dependencies: - '@babel/runtime': 7.25.0 + '@babel/runtime': 7.25.4 regexp.prototype.flags@1.5.2: dependencies: @@ -7537,7 +7537,7 @@ snapshots: resolve@1.22.8: dependencies: - is-core-module: 2.15.0 + is-core-module: 2.15.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 @@ -7592,7 +7592,7 @@ snapshots: dependencies: '@semantic-release/commit-analyzer': 13.0.0(semantic-release@24.1.0(typescript@5.5.4)) '@semantic-release/error': 4.0.0 - '@semantic-release/github': 10.1.6(semantic-release@24.1.0(typescript@5.5.4)) + '@semantic-release/github': 10.1.7(semantic-release@24.1.0(typescript@5.5.4)) '@semantic-release/npm': 12.0.1(semantic-release@24.1.0(typescript@5.5.4)) '@semantic-release/release-notes-generator': 14.0.1(semantic-release@24.1.0(typescript@5.5.4)) aggregate-error: 5.0.0 @@ -7698,16 +7698,16 @@ snapshots: spdx-correct@3.2.0: dependencies: spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.18 + spdx-license-ids: 3.0.20 spdx-exceptions@2.5.0: {} spdx-expression-parse@3.0.1: dependencies: spdx-exceptions: 2.5.0 - spdx-license-ids: 3.0.18 + spdx-license-ids: 3.0.20 - spdx-license-ids@3.0.18: {} + spdx-license-ids@3.0.20: {} split2@1.0.0: dependencies: @@ -7813,7 +7813,7 @@ snapshots: dependencies: has-flag: 4.0.0 - supports-hyperlinks@3.0.0: + supports-hyperlinks@3.1.0: dependencies: has-flag: 4.0.0 supports-color: 7.2.0 diff --git a/specs/resources/avalara_accounts.spec.ts b/specs/resources/avalara_accounts.spec.ts index 11cbe14f..5d5cd616 100644 --- a/specs/resources/avalara_accounts.spec.ts +++ b/specs/resources/avalara_accounts.spec.ts @@ -287,5 +287,26 @@ describe('AvalaraAccounts resource', () => { }) /* relationship.tax_categories stop */ + + /* relationship.events start */ + it(resourceType + '.events', async () => { + + const id = TestData.id + const params = { fields: { events: CommonData.paramsFields } } + + const intId = cl.addRequestInterceptor((request) => { + expect(request.options.method).toBe('GET') + checkCommon(request, resourceType, id, currentAccessToken, 'events') + checkCommonParams(request, params) + return interceptRequest() + }) + + await cl[resourceType].events(id, params, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request')) + + }) + /* relationship.events stop */ + }) diff --git a/src/commercelayer.ts b/src/commercelayer.ts index 26d09676..435a86cc 100644 --- a/src/commercelayer.ts +++ b/src/commercelayer.ts @@ -12,7 +12,7 @@ const debug = Debug('commercelayer') // Autogenerated schema version number, do not remove this line -const OPEN_API_SCHEMA_VERSION = '6.2.1' +const OPEN_API_SCHEMA_VERSION = '6.3.0' export { OPEN_API_SCHEMA_VERSION } diff --git a/src/resources/avalara_accounts.ts b/src/resources/avalara_accounts.ts index e0db11cc..7db69fa9 100644 --- a/src/resources/avalara_accounts.ts +++ b/src/resources/avalara_accounts.ts @@ -6,6 +6,7 @@ import type { Market } from './markets' import type { Attachment } from './attachments' import type { Version } from './versions' import type { TaxCategory, TaxCategoryType } from './tax_categories' +import type { Event } from './events' type AvalaraAccountType = 'avalara_accounts' @@ -51,6 +52,7 @@ interface AvalaraAccount extends Resource { attachments?: Attachment[] | null versions?: Version[] | null tax_categories?: TaxCategory[] | null + events?: Event[] | null } @@ -167,6 +169,11 @@ class AvalaraAccounts extends ApiResource { return this.resources.fetch({ type: 'tax_categories' }, `avalara_accounts/${_avalaraAccountId}/tax_categories`, params, options) as unknown as ListResponse } + async events(avalaraAccountId: string | AvalaraAccount, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + const _avalaraAccountId = (avalaraAccountId as AvalaraAccount).id || avalaraAccountId as string + return this.resources.fetch({ type: 'events' }, `avalara_accounts/${_avalaraAccountId}/events`, params, options) as unknown as ListResponse + } + isAvalaraAccount(resource: any): resource is AvalaraAccount { return resource.type && (resource.type === AvalaraAccounts.TYPE) diff --git a/src/resources/markets.ts b/src/resources/markets.ts index 99341438..a48021a6 100644 --- a/src/resources/markets.ts +++ b/src/resources/markets.ts @@ -80,6 +80,11 @@ interface Market extends Resource { * @example ```"true"``` */ private?: boolean | null + /** + * When specified indicates the maximum number of shipping line items with cost that will be added to an order. + * @example ```"3"``` + */ + shipping_cost_cutoff?: number | null /** * Time at which this resource was disabled. * @example ```"2018-01-01T12:00:00.000Z"``` @@ -137,6 +142,11 @@ interface MarketCreate extends ResourceCreate { * @example ```"https://external_validation.yourbrand.com"``` */ external_order_validation_url?: string | null + /** + * When specified indicates the maximum number of shipping line items with cost that will be added to an order. + * @example ```"3"``` + */ + shipping_cost_cutoff?: number | null /** * Send this attribute if you want to mark this resource as disabled. * @example ```"true"``` @@ -191,6 +201,11 @@ interface MarketUpdate extends ResourceUpdate { * @example ```"https://external_validation.yourbrand.com"``` */ external_order_validation_url?: string | null + /** + * When specified indicates the maximum number of shipping line items with cost that will be added to an order. + * @example ```"3"``` + */ + shipping_cost_cutoff?: number | null /** * Send this attribute if you want to mark this resource as disabled. * @example ```"true"``` diff --git a/src/resources/organization.ts b/src/resources/organization.ts index 8b64341f..44bf36bc 100644 --- a/src/resources/organization.ts +++ b/src/resources/organization.ts @@ -67,33 +67,63 @@ interface Organization extends Resource { */ gtm_id_test?: string | null /** - * The maximum number of active concurrent promotions allowed for your organization. + * Indicates if the phone attribute is required for addresses, default is true. + * @example ```"true"``` + */ + addresses_phone_required?: boolean | null + /** + * The maximum number of SKUs allowed for bundles, default is 10. * @example ```"10"``` */ - max_concurrent_promotions?: number | null + bundles_max_items_count?: number | null + /** + * The minimum length for coupon code, default is 8. + * @example ```"8"``` + */ + coupons_min_code_length?: number | null /** - * The maximum number of concurrent imports allowed for your organization. + * The maximum length for coupon code, default is 40. + * @example ```"40"``` + */ + coupons_max_code_length?: number | null + /** + * The maximum number of active concurrent promotions allowed for your organization, default is 10. * @example ```"10"``` */ - max_concurrent_imports?: number | null + promotions_max_concurrent_count?: number | null /** - * The maximum number of concurrent exports allowed for your organization. + * The maximum number of concurrent imports allowed for your organization, default is 10. * @example ```"10"``` */ - max_concurrent_exports?: number | null + imports_max_concurrent_count?: number | null /** - * The maximum number of concurrent cleanups allowed for your organization. + * The maximum number of concurrent exports allowed for your organization, default is 10. * @example ```"10"``` */ - max_concurrent_cleanups?: number | null + exports_max_concurrent_count?: number | null + /** + * The maximum number of concurrent cleanups allowed for your organization, default is 10. + * @example ```"10"``` + */ + cleanups_max_concurrent_count?: number | null /** * Enables orders number editing as a string in test (for enterprise plans only). */ - order_number_editable_test?: boolean | null + orders_number_editable_test?: boolean | null /** * Enables orders number editing as a string in live (for enterprise plans only). */ - order_number_editable_live?: boolean | null + orders_number_editable_live?: boolean | null + /** + * Enables raising of API errors in case of tax calculation failure, default is false. + * @example ```"true"``` + */ + tax_calculators_errors?: boolean | null + /** + * Enables raising of API errors in case of external promotion failure, default is false. + * @example ```"true"``` + */ + external_promotions_errors?: boolean | null /** * The organization's configuration. * @example ```"[object Object]"```