From 191bfb1f8de29eb331240163c915126e8fd1cee4 Mon Sep 17 00:00:00 2001 From: Pierluigi Viti Date: Wed, 11 Dec 2024 10:05:02 +0100 Subject: [PATCH] feat: update resources to schema v7.5.0 --- gen/openapi.json | 2715 ++++++++++------- gen/resources.json | 2486 +++++++++++---- package.json | 2 +- pnpm-lock.yaml | 857 +++--- specs/resources/line_items.spec.ts | 21 + ...on_rules.spec.ts => notifications.spec.ts} | 86 +- specs/resources/orders.spec.ts | 47 + src/api.ts | 17 +- src/commercelayer.ts | 6 +- src/model.ts | 2 +- src/resources/authorizations.ts | 11 + .../billing_info_validation_rules.ts | 100 - src/resources/captures.ts | 11 + src/resources/customers.ts | 15 + src/resources/line_items.ts | 21 +- src/resources/notifications.ts | 127 + src/resources/order_copies.ts | 10 + src/resources/orders.ts | 24 +- src/resources/organizations.ts | 27 + src/resources/refunds.ts | 11 + src/resources/shipping_zones.ts | 36 +- src/resources/sku_lists.ts | 6 +- src/resources/sku_options.ts | 6 +- src/resources/stock_transfers.ts | 9 +- src/resources/tax_rules.ts | 142 +- src/resources/transactions.ts | 11 + src/resources/voids.ts | 11 + 27 files changed, 4432 insertions(+), 2385 deletions(-) rename specs/resources/{billing_info_validation_rules.spec.ts => notifications.spec.ts} (66%) delete mode 100644 src/resources/billing_info_validation_rules.ts create mode 100644 src/resources/notifications.ts diff --git a/gen/openapi.json b/gen/openapi.json index 41a44b0c..fe625bfe 100644 --- a/gen/openapi.json +++ b/gen/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.1.0", "info": { "title": "Commerce Layer API", - "version": "7.4.0", + "version": "7.5.0", "contact": { "name": "API Support", "url": "https://commercelayer.io", @@ -2100,237 +2100,6 @@ } } }, - "/billing_info_validation_rules": { - "get": { - "operationId": "GET/billing_info_validation_rules", - "summary": "List all billing info validation rules", - "description": "List all billing info validation rules", - "tags": [ - "billing_info_validation_rules" - ], - "responses": { - "200": { - "description": "A list of billing info validation rule objects", - "content": { - "application/vnd.api+json": { - "schema": { - "$ref": "#/components/schemas/billingInfoValidationRuleResponseList" - } - } - } - } - } - }, - "post": { - "operationId": "POST/billing_info_validation_rules", - "summary": "Create a billing info validation rule", - "description": "Create a billing info validation rule", - "tags": [ - "billing_info_validation_rules" - ], - "requestBody": { - "required": true, - "content": { - "application/vnd.api+json": { - "schema": { - "$ref": "#/components/schemas/billingInfoValidationRuleCreate" - } - } - } - }, - "responses": { - "201": { - "description": "The created billing info validation rule object", - "content": { - "application/vnd.api+json": { - "schema": { - "$ref": "#/components/schemas/billingInfoValidationRuleResponse" - } - } - } - } - } - } - }, - "/billing_info_validation_rules/{billingInfoValidationRuleId}": { - "get": { - "operationId": "GET/billing_info_validation_rules/billingInfoValidationRuleId", - "summary": "Retrieve a billing info validation rule", - "description": "Retrieve a billing info validation rule", - "tags": [ - "billing_info_validation_rules" - ], - "parameters": [ - { - "name": "billingInfoValidationRuleId", - "in": "path", - "schema": { - "type": "string" - }, - "required": true, - "description": "The resource's id" - } - ], - "responses": { - "200": { - "description": "The billing info validation rule object", - "content": { - "application/vnd.api+json": { - "schema": { - "$ref": "#/components/schemas/billingInfoValidationRuleResponse" - } - } - } - } - } - }, - "patch": { - "operationId": "PATCH/billing_info_validation_rules/billingInfoValidationRuleId", - "summary": "Update a billing info validation rule", - "description": "Update a billing info validation rule", - "tags": [ - "billing_info_validation_rules" - ], - "parameters": [ - { - "name": "billingInfoValidationRuleId", - "in": "path", - "schema": { - "type": "string" - }, - "required": true, - "description": "The resource's id" - } - ], - "requestBody": { - "required": true, - "content": { - "application/vnd.api+json": { - "schema": { - "$ref": "#/components/schemas/billingInfoValidationRuleUpdate" - } - } - } - }, - "responses": { - "200": { - "description": "The updated billing info validation rule object", - "content": { - "application/vnd.api+json": { - "schema": { - "$ref": "#/components/schemas/billingInfoValidationRuleResponse" - } - } - } - } - } - }, - "delete": { - "operationId": "DELETE/billing_info_validation_rules/billingInfoValidationRuleId", - "summary": "Delete a billing info validation rule", - "description": "Delete a billing info validation rule", - "tags": [ - "billing_info_validation_rules" - ], - "parameters": [ - { - "name": "billingInfoValidationRuleId", - "in": "path", - "schema": { - "type": "string" - }, - "required": true, - "description": "The resource's id" - } - ], - "responses": { - "204": { - "description": "No content" - } - } - } - }, - "/billing_info_validation_rules/{billingInfoValidationRuleId}/market": { - "get": { - "operationId": "GET/billingInfoValidationRuleId/market", - "summary": "Retrieve the market associated to the billing info validation rule", - "description": "Retrieve the market associated to the billing info validation rule", - "tags": [ - "has_one", - "markets" - ], - "parameters": [ - { - "name": "billingInfoValidationRuleId", - "in": "path", - "schema": { - "type": "string" - }, - "required": true, - "description": "The resource's id" - } - ], - "responses": { - "200": { - "description": "The market associated to the billing info validation rule" - } - } - } - }, - "/billing_info_validation_rules/{billingInfoValidationRuleId}/attachments": { - "get": { - "operationId": "GET/billingInfoValidationRuleId/attachments", - "summary": "Retrieve the attachments associated to the billing info validation rule", - "description": "Retrieve the attachments associated to the billing info validation rule", - "tags": [ - "has_many", - "attachments" - ], - "parameters": [ - { - "name": "billingInfoValidationRuleId", - "in": "path", - "schema": { - "type": "string" - }, - "required": true, - "description": "The resource's id" - } - ], - "responses": { - "200": { - "description": "The attachments associated to the billing info validation rule" - } - } - } - }, - "/billing_info_validation_rules/{billingInfoValidationRuleId}/versions": { - "get": { - "operationId": "GET/billingInfoValidationRuleId/versions", - "summary": "Retrieve the versions associated to the billing info validation rule", - "description": "Retrieve the versions associated to the billing info validation rule", - "tags": [ - "has_many", - "versions" - ], - "parameters": [ - { - "name": "billingInfoValidationRuleId", - "in": "path", - "schema": { - "type": "string" - }, - "required": true, - "description": "The resource's id" - } - ], - "responses": { - "200": { - "description": "The versions associated to the billing info validation rule" - } - } - } - }, "/bing_geocoders": { "get": { "operationId": "GET/bing_geocoders", @@ -14711,6 +14480,33 @@ } } }, + "/line_items/{lineItemId}/notifications": { + "get": { + "operationId": "GET/lineItemId/notifications", + "summary": "Retrieve the notifications associated to the line item", + "description": "Retrieve the notifications associated to the line item", + "tags": [ + "has_many", + "notifications" + ], + "parameters": [ + { + "name": "lineItemId", + "in": "path", + "schema": { + "type": "string" + }, + "required": true, + "description": "The resource's id" + } + ], + "responses": { + "200": { + "description": "The notifications associated to the line item" + } + } + } + }, "/line_items/{lineItemId}/events": { "get": { "operationId": "GET/lineItemId/events", @@ -16109,6 +15905,156 @@ } } }, + "/notifications": { + "get": { + "operationId": "GET/notifications", + "summary": "List all notifications", + "description": "List all notifications", + "tags": [ + "notifications" + ], + "responses": { + "200": { + "description": "A list of notification objects", + "content": { + "application/vnd.api+json": { + "schema": { + "$ref": "#/components/schemas/notificationResponseList" + } + } + } + } + } + }, + "post": { + "operationId": "POST/notifications", + "summary": "Create a notification", + "description": "Create a notification", + "tags": [ + "notifications" + ], + "requestBody": { + "required": true, + "content": { + "application/vnd.api+json": { + "schema": { + "$ref": "#/components/schemas/notificationCreate" + } + } + } + }, + "responses": { + "201": { + "description": "The created notification object", + "content": { + "application/vnd.api+json": { + "schema": { + "$ref": "#/components/schemas/notificationResponse" + } + } + } + } + } + } + }, + "/notifications/{notificationId}": { + "get": { + "operationId": "GET/notifications/notificationId", + "summary": "Retrieve a notification", + "description": "Retrieve a notification", + "tags": [ + "notifications" + ], + "parameters": [ + { + "name": "notificationId", + "in": "path", + "schema": { + "type": "string" + }, + "required": true, + "description": "The resource's id" + } + ], + "responses": { + "200": { + "description": "The notification object", + "content": { + "application/vnd.api+json": { + "schema": { + "$ref": "#/components/schemas/notificationResponse" + } + } + } + } + } + }, + "patch": { + "operationId": "PATCH/notifications/notificationId", + "summary": "Update a notification", + "description": "Update a notification", + "tags": [ + "notifications" + ], + "parameters": [ + { + "name": "notificationId", + "in": "path", + "schema": { + "type": "string" + }, + "required": true, + "description": "The resource's id" + } + ], + "requestBody": { + "required": true, + "content": { + "application/vnd.api+json": { + "schema": { + "$ref": "#/components/schemas/notificationUpdate" + } + } + } + }, + "responses": { + "200": { + "description": "The updated notification object", + "content": { + "application/vnd.api+json": { + "schema": { + "$ref": "#/components/schemas/notificationResponse" + } + } + } + } + } + }, + "delete": { + "operationId": "DELETE/notifications/notificationId", + "summary": "Delete a notification", + "description": "Delete a notification", + "tags": [ + "notifications" + ], + "parameters": [ + { + "name": "notificationId", + "in": "path", + "schema": { + "type": "string" + }, + "required": true, + "description": "The resource's id" + } + ], + "responses": { + "204": { + "description": "No content" + } + } + } + }, "/order_amount_promotion_rules": { "get": { "operationId": "GET/order_amount_promotion_rules", @@ -18264,6 +18210,33 @@ } } }, + "/orders/{orderId}/notifications": { + "get": { + "operationId": "GET/orderId/notifications", + "summary": "Retrieve the notifications associated to the order", + "description": "Retrieve the notifications associated to the order", + "tags": [ + "has_many", + "notifications" + ], + "parameters": [ + { + "name": "orderId", + "in": "path", + "schema": { + "type": "string" + }, + "required": true, + "description": "The resource's id" + } + ], + "responses": { + "200": { + "description": "The notifications associated to the order" + } + } + } + }, "/orders/{orderId}/links": { "get": { "operationId": "GET/orderId/links", @@ -36340,6 +36313,69 @@ } } }, + "payment_source": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "adyen_payments", + "axerve_payments", + "braintree_payments", + "checkout_com_payments", + "external_payments", + "klarna_payments", + "paypal_payments", + "satispay_payments", + "stripe_payments", + "wire_transfers" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + }, + "oneOf": [ + { + "$ref": "#/components/schemas/adyenPayment" + }, + { + "$ref": "#/components/schemas/axervePayment" + }, + { + "$ref": "#/components/schemas/braintreePayment" + }, + { + "$ref": "#/components/schemas/checkoutComPayment" + }, + { + "$ref": "#/components/schemas/externalPayment" + }, + { + "$ref": "#/components/schemas/klarnaPayment" + }, + { + "$ref": "#/components/schemas/paypalPayment" + }, + { + "$ref": "#/components/schemas/satispayPayment" + }, + { + "$ref": "#/components/schemas/stripePayment" + }, + { + "$ref": "#/components/schemas/wireTransfer" + } + ] + }, "attachments": { "type": "object", "properties": { @@ -36617,6 +36653,40 @@ } } }, + "payment_source": { + "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_source" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, "attachments": { "type": "object", "properties": { @@ -38517,7 +38587,7 @@ } } }, - "billingInfoValidationRule": { + "bingGeocoder": { "type": "object", "properties": { "data": { @@ -38531,19 +38601,26 @@ "type": "string", "description": "The resource's type", "enum": [ - "billing_info_validation_rules" + "bing_geocoders" ] }, "attributes": { "type": "object", "properties": { + "name": { + "type": "string", + "description": "The geocoder's internal name.", + "example": "Default geocoder", + "nullable": false + }, "type": { "type": "string", - "description": "The order validation rule's type.", - "example": "billing_info_validation_rules", + "description": "The geocoder's type.", + "example": "google_geocoders", "nullable": false, "enum": [ - "billing_info_validation_rules" + "google_geocoders", + "bing_geocoders" ] }, "created_at": { @@ -38583,7 +38660,7 @@ "relationships": { "type": "object", "properties": { - "market": { + "markets": { "type": "object", "properties": { "data": { @@ -38605,7 +38682,7 @@ } } }, - "attachments": { + "addresses": { "type": "object", "properties": { "data": { @@ -38615,7 +38692,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "attachments" + "addresses" ] }, "id": { @@ -38627,7 +38704,7 @@ } } }, - "versions": { + "attachments": { "type": "object", "properties": { "data": { @@ -38637,7 +38714,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "versions" + "attachments" ] }, "id": { @@ -38655,7 +38732,7 @@ } } }, - "billingInfoValidationRuleCreate": { + "bingGeocoderCreate": { "required": [ "data" ], @@ -38672,12 +38749,17 @@ "type": "string", "description": "The resource's type", "enum": [ - "billing_info_validation_rules" + "bing_geocoders" ] }, "attributes": { "type": "object", "properties": { + "name": { + "type": "string", + "description": "The geocoder's internal name.", + "example": "Default geocoder" + }, "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.", @@ -38694,47 +38776,27 @@ "example": { "foo": "bar" } - } - } - }, - "relationships": { - "type": "object", - "properties": { - "market": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "markets" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } + }, + "key": { + "type": "string", + "description": "The Bing Virtualearth key.", + "example": "xxxx-yyyy-zzzz" } }, "required": [ - "market" + "name", + "key" ] + }, + "relationships": { + "type": "object", + "properties": {} } } } } }, - "billingInfoValidationRuleUpdate": { + "bingGeocoderUpdate": { "required": [ "data" ], @@ -38752,7 +38814,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "billing_info_validation_rules" + "bing_geocoders" ] }, "id": { @@ -38763,6 +38825,12 @@ "attributes": { "type": "object", "properties": { + "name": { + "type": "string", + "description": "The geocoder's internal name.", + "example": "Default geocoder", + "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.", @@ -38782,44 +38850,23 @@ "foo": "bar" }, "nullable": true + }, + "key": { + "type": "string", + "description": "The Bing Virtualearth key.", + "example": "xxxx-yyyy-zzzz" } } }, "relationships": { "type": "object", - "properties": { - "market": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "markets" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - } - } + "properties": {} } } } } }, - "billingInfoValidationRuleResponse": { + "bingGeocoderResponse": { "type": "object", "properties": { "data": { @@ -38834,7 +38881,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "billing_info_validation_rules" + "bing_geocoders" ] }, "links": { @@ -38847,12 +38894,12 @@ } }, "attributes": { - "$ref": "#/components/schemas/billingInfoValidationRule/properties/data/properties/attributes" + "$ref": "#/components/schemas/bingGeocoder/properties/data/properties/attributes" }, "relationships": { "type": "object", "properties": { - "market": { + "markets": { "type": "object", "properties": { "links": { @@ -38875,7 +38922,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "market" + "markets" ] }, "id": { @@ -38886,7 +38933,7 @@ } } }, - "attachments": { + "addresses": { "type": "object", "properties": { "links": { @@ -38909,7 +38956,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "attachments" + "addresses" ] }, "id": { @@ -38920,7 +38967,7 @@ } } }, - "versions": { + "attachments": { "type": "object", "properties": { "links": { @@ -38943,7 +38990,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "versions" + "attachments" ] }, "id": { @@ -38960,18 +39007,18 @@ } } }, - "billingInfoValidationRuleResponseList": { + "bingGeocoderResponseList": { "type": "object", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/billingInfoValidationRuleResponse/properties/data" + "$ref": "#/components/schemas/bingGeocoderResponse/properties/data" } } } }, - "bingGeocoder": { + "braintreeGateway": { "type": "object", "properties": { "data": { @@ -38985,7 +39032,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "bing_geocoders" + "braintree_gateways" ] }, "attributes": { @@ -38993,439 +39040,8 @@ "properties": { "name": { "type": "string", - "description": "The geocoder's internal name.", - "example": "Default geocoder", - "nullable": false - }, - "type": { - "type": "string", - "description": "The geocoder's type.", - "example": "google_geocoders", - "nullable": false, - "enum": [ - "google_geocoders", - "bing_geocoders" - ] - }, - "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": { - "markets": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "markets" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, - "addresses": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "addresses" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, - "attachments": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "attachments" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - } - } - } - } - } - } - }, - "bingGeocoderCreate": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "required": [ - "type", - "attributes" - ], - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "bing_geocoders" - ] - }, - "attributes": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The geocoder's internal name.", - "example": "Default geocoder" - }, - "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" - }, - "reference_origin": { - "type": "string", - "description": "Any identifier of the third party system that defines the reference code.", - "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN" - }, - "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" - } - }, - "key": { - "type": "string", - "description": "The Bing Virtualearth key.", - "example": "xxxx-yyyy-zzzz" - } - }, - "required": [ - "name", - "key" - ] - }, - "relationships": { - "type": "object", - "properties": {} - } - } - } - } - }, - "bingGeocoderUpdate": { - "required": [ - "data" - ], - "type": "object", - "properties": { - "data": { - "type": "object", - "required": [ - "type", - "id", - "attributes" - ], - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "bing_geocoders" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - }, - "attributes": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The geocoder's internal name.", - "example": "Default geocoder", - "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 - }, - "key": { - "type": "string", - "description": "The Bing Virtualearth key.", - "example": "xxxx-yyyy-zzzz" - } - } - }, - "relationships": { - "type": "object", - "properties": {} - } - } - } - } - }, - "bingGeocoderResponse": { - "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": [ - "bing_geocoders" - ] - }, - "links": { - "type": "object", - "properties": { - "self": { - "type": "string", - "description": "URL" - } - } - }, - "attributes": { - "$ref": "#/components/schemas/bingGeocoder/properties/data/properties/attributes" - }, - "relationships": { - "type": "object", - "properties": { - "markets": { - "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": [ - "markets" - ] - }, - "id": { - "type": "string", - "description": "The resource ID" - } - } - } - } - }, - "addresses": { - "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": [ - "addresses" - ] - }, - "id": { - "type": "string", - "description": "The resource ID" - } - } - } - } - }, - "attachments": { - "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": [ - "attachments" - ] - }, - "id": { - "type": "string", - "description": "The resource ID" - } - } - } - } - } - } - } - } - } - } - }, - "bingGeocoderResponseList": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/bingGeocoderResponse/properties/data" - } - } - } - }, - "braintreeGateway": { - "type": "object", - "properties": { - "data": { - "type": "object", - "required": [ - "type", - "attributes" - ], - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "braintree_gateways" - ] - }, - "attributes": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The payment gateway's internal name.", - "example": "US payment gateway", + "description": "The payment gateway's internal name.", + "example": "US payment gateway", "nullable": false }, "created_at": { @@ -43144,6 +42760,69 @@ } } }, + "payment_source": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "adyen_payments", + "axerve_payments", + "braintree_payments", + "checkout_com_payments", + "external_payments", + "klarna_payments", + "paypal_payments", + "satispay_payments", + "stripe_payments", + "wire_transfers" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + }, + "oneOf": [ + { + "$ref": "#/components/schemas/adyenPayment" + }, + { + "$ref": "#/components/schemas/axervePayment" + }, + { + "$ref": "#/components/schemas/braintreePayment" + }, + { + "$ref": "#/components/schemas/checkoutComPayment" + }, + { + "$ref": "#/components/schemas/externalPayment" + }, + { + "$ref": "#/components/schemas/klarnaPayment" + }, + { + "$ref": "#/components/schemas/paypalPayment" + }, + { + "$ref": "#/components/schemas/satispayPayment" + }, + { + "$ref": "#/components/schemas/stripePayment" + }, + { + "$ref": "#/components/schemas/wireTransfer" + } + ] + }, "attachments": { "type": "object", "properties": { @@ -43437,6 +43116,40 @@ } } }, + "payment_source": { + "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_source" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, "attachments": { "type": "object", "properties": { @@ -50717,6 +50430,12 @@ "example": "xxx-yyy-zzz", "nullable": true }, + "profile_id": { + "type": "string", + "description": "A reference to uniquely identify the customer on any connected external services.", + "example": "xxx-yyy-zzz", + "nullable": true + }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -51040,6 +50759,11 @@ "description": "A reference to uniquely identify the shopper during payment sessions.", "example": "xxx-yyy-zzz" }, + "profile_id": { + "type": "string", + "description": "A reference to uniquely identify the customer on any connected external services.", + "example": "xxx-yyy-zzz" + }, "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.", @@ -51167,6 +50891,12 @@ "example": "xxx-yyy-zzz", "nullable": true }, + "profile_id": { + "type": "string", + "description": "A reference to uniquely identify the customer on any connected external services.", + "example": "xxx-yyy-zzz", + "nullable": 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.", @@ -69820,7 +69550,7 @@ }, "unit_amount_cents": { "type": "integer", - "description": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods.", + "description": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.", "example": 10000, "nullable": true }, @@ -69982,7 +69712,7 @@ }, "item_type": { "type": "string", - "description": "The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.", + "description": "The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.", "example": "skus", "nullable": true, "enum": [ @@ -69992,6 +69722,7 @@ "shipments", "payment_methods", "adjustments", + "discount_engine_items", "percentage_discount_promotions", "free_shipping_promotions", "buy_x_pay_y_promotions", @@ -70406,6 +70137,28 @@ } } }, + "notifications": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "notifications" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, "events": { "type": "object", "properties": { @@ -70511,7 +70264,7 @@ }, "unit_amount_cents": { "type": "integer", - "description": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods.", + "description": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.", "example": 10000 }, "compare_at_amount_cents": { @@ -70531,7 +70284,7 @@ }, "item_type": { "type": "string", - "description": "The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.", + "description": "The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.", "example": "skus", "enum": [ "skus", @@ -70540,6 +70293,7 @@ "shipments", "payment_methods", "adjustments", + "discount_engine_items", "percentage_discount_promotions", "free_shipping_promotions", "buy_x_pay_y_promotions", @@ -70782,7 +70536,7 @@ }, "unit_amount_cents": { "type": "integer", - "description": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods.", + "description": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.", "example": 10000, "nullable": true }, @@ -71353,6 +71107,40 @@ } } }, + "notifications": { + "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": [ + "notifications" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, "events": { "type": "object", "properties": { @@ -74415,18 +74203,483 @@ } } }, - "marketResponseList": { + "marketResponseList": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/marketResponse/properties/data" + } + } + } + }, + "merchant": { + "type": "object", + "properties": { + "data": { + "type": "object", + "required": [ + "type", + "attributes" + ], + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "merchants" + ] + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The merchant's internal name.", + "example": "The Brand Inc.", + "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": { + "address": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "addresses" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, + "attachments": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "attachments" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, + "versions": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "versions" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + } + } + } + } + } + } + }, + "merchantCreate": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "object", + "required": [ + "type", + "attributes" + ], + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "merchants" + ] + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The merchant's internal name.", + "example": "The Brand Inc." + }, + "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" + }, + "reference_origin": { + "type": "string", + "description": "Any identifier of the third party system that defines the reference code.", + "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN" + }, + "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" + } + } + }, + "required": [ + "name" + ] + }, + "relationships": { + "type": "object", + "properties": { + "address": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "addresses" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + } + }, + "required": [ + "address" + ] + } + } + } + } + }, + "merchantUpdate": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "object", + "required": [ + "type", + "id", + "attributes" + ], + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "merchants" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The merchant's internal name.", + "example": "The Brand Inc.", + "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": { + "address": { + "required": [ + "data" + ], + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "addresses" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + } + } + } + } + } + } + }, + "merchantResponse": { + "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": [ + "merchants" + ] + }, + "links": { + "type": "object", + "properties": { + "self": { + "type": "string", + "description": "URL" + } + } + }, + "attributes": { + "$ref": "#/components/schemas/merchant/properties/data/properties/attributes" + }, + "relationships": { + "type": "object", + "properties": { + "address": { + "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": [ + "address" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, + "attachments": { + "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": [ + "attachments" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, + "versions": { + "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": [ + "versions" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + } + } + } + } + } + } + }, + "merchantResponseList": { "type": "object", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/marketResponse/properties/data" + "$ref": "#/components/schemas/merchantResponse/properties/data" } } } }, - "merchant": { + "notification": { "type": "object", "properties": { "data": { @@ -74440,7 +74693,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "merchants" + "notifications" ] }, "attributes": { @@ -74448,10 +74701,25 @@ "properties": { "name": { "type": "string", - "description": "The merchant's internal name.", - "example": "The Brand Inc.", + "description": "The internal name of the notification.", + "example": "DDT transport document", "nullable": false }, + "flash": { + "type": "boolean", + "description": "Indicates if the notification is temporary, valid for the ones created by external services.", + "example": false, + "nullable": true + }, + "body": { + "type": "object", + "description": "An internal body of the notification.", + "example": { + "sku": "REDHANDBAG", + "name": "Enjoy your free item" + }, + "nullable": true + }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -74489,7 +74757,7 @@ "relationships": { "type": "object", "properties": { - "address": { + "notifiable": { "type": "object", "properties": { "data": { @@ -74499,29 +74767,8 @@ "type": "string", "description": "The resource's type", "enum": [ - "addresses" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } - } - } - }, - "attachments": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "attachments" + "orders", + "line_items" ] }, "id": { @@ -74531,29 +74778,15 @@ } } } - } - }, - "versions": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The resource's type", - "enum": [ - "versions" - ] - }, - "id": { - "type": "string", - "description": "The resource's id", - "example": "XGZwpOSrWL" - } - } + }, + "oneOf": [ + { + "$ref": "#/components/schemas/order" + }, + { + "$ref": "#/components/schemas/lineItem" } - } + ] } } } @@ -74561,7 +74794,7 @@ } } }, - "merchantCreate": { + "notificationCreate": { "required": [ "data" ], @@ -74578,7 +74811,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "merchants" + "notifications" ] }, "attributes": { @@ -74586,8 +74819,21 @@ "properties": { "name": { "type": "string", - "description": "The merchant's internal name.", - "example": "The Brand Inc." + "description": "The internal name of the notification.", + "example": "DDT transport document" + }, + "flash": { + "type": "boolean", + "description": "Indicates if the notification is temporary, valid for the ones created by external services.", + "example": false + }, + "body": { + "type": "object", + "description": "An internal body of the notification.", + "example": { + "sku": "REDHANDBAG", + "name": "Enjoy your free item" + } }, "reference": { "type": "string", @@ -74614,7 +74860,7 @@ "relationships": { "type": "object", "properties": { - "address": { + "notifiable": { "required": [ "data" ], @@ -74627,7 +74873,8 @@ "type": "string", "description": "The resource's type", "enum": [ - "addresses" + "orders", + "line_items" ] }, "id": { @@ -74637,18 +74884,26 @@ } } } - } + }, + "oneOf": [ + { + "$ref": "#/components/schemas/order" + }, + { + "$ref": "#/components/schemas/lineItem" + } + ] } }, "required": [ - "address" + "notifiable" ] } } } } }, - "merchantUpdate": { + "notificationUpdate": { "required": [ "data" ], @@ -74666,7 +74921,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "merchants" + "notifications" ] }, "id": { @@ -74679,10 +74934,25 @@ "properties": { "name": { "type": "string", - "description": "The merchant's internal name.", - "example": "The Brand Inc.", + "description": "The internal name of the notification.", + "example": "DDT transport document", "nullable": false }, + "flash": { + "type": "boolean", + "description": "Indicates if the notification is temporary, valid for the ones created by external services.", + "example": false, + "nullable": false + }, + "body": { + "type": "object", + "description": "An internal body of the notification.", + "example": { + "sku": "REDHANDBAG", + "name": "Enjoy your free item" + }, + "nullable": 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.", @@ -74708,7 +74978,7 @@ "relationships": { "type": "object", "properties": { - "address": { + "notifiable": { "required": [ "data" ], @@ -74721,7 +74991,8 @@ "type": "string", "description": "The resource's type", "enum": [ - "addresses" + "orders", + "line_items" ] }, "id": { @@ -74731,7 +75002,15 @@ } } } - } + }, + "oneOf": [ + { + "$ref": "#/components/schemas/order" + }, + { + "$ref": "#/components/schemas/lineItem" + } + ] } } } @@ -74739,7 +75018,7 @@ } } }, - "merchantResponse": { + "notificationResponse": { "type": "object", "properties": { "data": { @@ -74754,7 +75033,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "merchants" + "notifications" ] }, "links": { @@ -74767,46 +75046,12 @@ } }, "attributes": { - "$ref": "#/components/schemas/merchant/properties/data/properties/attributes" + "$ref": "#/components/schemas/notification/properties/data/properties/attributes" }, "relationships": { "type": "object", "properties": { - "address": { - "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": [ - "address" - ] - }, - "id": { - "type": "string", - "description": "The resource ID" - } - } - } - } - }, - "attachments": { + "notifiable": { "type": "object", "properties": { "links": { @@ -74829,41 +75074,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "attachments" - ] - }, - "id": { - "type": "string", - "description": "The resource ID" - } - } - } - } - }, - "versions": { - "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": [ - "versions" + "notifiable" ] }, "id": { @@ -74880,13 +75091,13 @@ } } }, - "merchantResponseList": { + "notificationResponseList": { "type": "object", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/merchantResponse/properties/data" + "$ref": "#/components/schemas/notificationResponse/properties/data" } } } @@ -75569,6 +75780,12 @@ "example": true, "nullable": true }, + "skip_errors": { + "type": "boolean", + "description": "Indicates to ignore any errors during copy.", + "example": true, + "nullable": true + }, "ignore_invalid_coupon": { "type": "boolean", "description": "Indicates to ignore invalid coupon code during copy.", @@ -75734,6 +75951,11 @@ "description": "Indicates if promotions got applied upon copy.", "example": true }, + "skip_errors": { + "type": "boolean", + "description": "Indicates to ignore any errors during copy.", + "example": true + }, "ignore_invalid_coupon": { "type": "boolean", "description": "Indicates to ignore invalid coupon code during copy.", @@ -78422,7 +78644,7 @@ }, "affiliate_code": { "type": "string", - "description": "The affiliate code, if any, the seller will transfer commission on shop by link transactions.", + "description": "The affiliate code, if any, to track commissions using any third party services.", "example": "xxxx-yyyy-zzzz", "nullable": true }, @@ -79852,6 +80074,28 @@ } } }, + "notifications": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "notifications" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + } + }, "links": { "type": "object", "properties": { @@ -79998,7 +80242,7 @@ }, "affiliate_code": { "type": "string", - "description": "The affiliate code, if any, the seller will transfer commission on shop by link transactions.", + "description": "The affiliate code, if any, to track commissions using any third party services.", "example": "xxxx-yyyy-zzzz" }, "autorefresh": { @@ -80392,7 +80636,7 @@ }, "affiliate_code": { "type": "string", - "description": "The affiliate code, if any, the seller will transfer commission on shop by link transactions.", + "description": "The affiliate code, if any, to track commissions using any third party services.", "example": "xxxx-yyyy-zzzz", "nullable": true }, @@ -80580,6 +80824,12 @@ "example": false, "nullable": false }, + "_fix_payment_source": { + "type": "boolean", + "description": "Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready for approval. Cannot be passed by sales channels.", + "example": true, + "nullable": false + }, "_billing_address_clone_id": { "type": "string", "description": "The id of the address that you want to clone to create the order's billing address.", @@ -81545,7 +81795,41 @@ "type": "string", "description": "The resource's type", "enum": [ - "shipments" + "shipments" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, + "payment_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": [ + "payment_options" ] }, "id": { @@ -81556,7 +81840,7 @@ } } }, - "payment_options": { + "transactions": { "type": "object", "properties": { "links": { @@ -81579,7 +81863,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "payment_options" + "transactions" ] }, "id": { @@ -81590,7 +81874,7 @@ } } }, - "transactions": { + "authorizations": { "type": "object", "properties": { "links": { @@ -81613,7 +81897,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "transactions" + "authorizations" ] }, "id": { @@ -81624,7 +81908,7 @@ } } }, - "authorizations": { + "captures": { "type": "object", "properties": { "links": { @@ -81647,7 +81931,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "authorizations" + "captures" ] }, "id": { @@ -81658,7 +81942,7 @@ } } }, - "captures": { + "voids": { "type": "object", "properties": { "links": { @@ -81681,7 +81965,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "captures" + "voids" ] }, "id": { @@ -81692,7 +81976,7 @@ } } }, - "voids": { + "refunds": { "type": "object", "properties": { "links": { @@ -81715,7 +81999,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "voids" + "refunds" ] }, "id": { @@ -81726,7 +82010,7 @@ } } }, - "refunds": { + "returns": { "type": "object", "properties": { "links": { @@ -81749,7 +82033,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "refunds" + "returns" ] }, "id": { @@ -81760,7 +82044,7 @@ } } }, - "returns": { + "order_subscription": { "type": "object", "properties": { "links": { @@ -81783,7 +82067,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "returns" + "order_subscription" ] }, "id": { @@ -81794,7 +82078,7 @@ } } }, - "order_subscription": { + "order_subscriptions": { "type": "object", "properties": { "links": { @@ -81817,7 +82101,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "order_subscription" + "order_subscriptions" ] }, "id": { @@ -81828,7 +82112,7 @@ } } }, - "order_subscriptions": { + "order_factories": { "type": "object", "properties": { "links": { @@ -81851,7 +82135,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "order_subscriptions" + "order_factories" ] }, "id": { @@ -81862,7 +82146,7 @@ } } }, - "order_factories": { + "order_copies": { "type": "object", "properties": { "links": { @@ -81885,7 +82169,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "order_factories" + "order_copies" ] }, "id": { @@ -81896,7 +82180,7 @@ } } }, - "order_copies": { + "recurring_order_copies": { "type": "object", "properties": { "links": { @@ -81919,7 +82203,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "order_copies" + "recurring_order_copies" ] }, "id": { @@ -81930,7 +82214,7 @@ } } }, - "recurring_order_copies": { + "attachments": { "type": "object", "properties": { "links": { @@ -81953,7 +82237,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "recurring_order_copies" + "attachments" ] }, "id": { @@ -81964,7 +82248,7 @@ } } }, - "attachments": { + "notifications": { "type": "object", "properties": { "links": { @@ -81987,7 +82271,7 @@ "type": "string", "description": "The resource's type", "enum": [ - "attachments" + "notifications" ] }, "id": { @@ -82387,12 +82671,24 @@ "example": false, "nullable": true }, + "api_new_auth": { + "type": "boolean", + "description": "Forces the usage of the new Authentication API.", + "example": true, + "nullable": true + }, "api_purge_single_resource": { "type": "boolean", "description": "Enables the purge of cached single resources when list is purged.", "example": false, "nullable": true }, + "api_max_regex_length": { + "type": "integer", + "description": "The maximum length for the regular expressions, default is 5000.", + "example": 5000, + "nullable": true + }, "addresses_phone_required": { "type": "boolean", "description": "Indicates if the phone attribute is required for addresses, default is true.", @@ -82483,6 +82779,12 @@ "example": true, "nullable": true }, + "imports_skip_errors": { + "type": "boolean", + "description": "Disables the interruption of the import in case its errors exceeds the 10% threshold, default is false.", + "example": false, + "nullable": true + }, "promotions_max_concurrent_count": { "type": "integer", "description": "The maximum number of active concurrent promotions allowed for your organization, default is 10.", @@ -82495,6 +82797,24 @@ "example": 0, "nullable": true }, + "discount_engines_enabled": { + "type": "boolean", + "description": "Enables the use of an external discount engine in place of the standard one, default is false.", + "example": false, + "nullable": true + }, + "discount_engines_errors": { + "type": "boolean", + "description": "Enables raising of API errors in case of discount engine failure, default is false.", + "example": false, + "nullable": true + }, + "tags_max_name_length": { + "type": "integer", + "description": "The maximum length for the tag name, default is 25.", + "example": 25, + "nullable": true + }, "tax_calculators_errors": { "type": "boolean", "description": "Enables raising of API errors in case of tax calculation failure, default is false.", @@ -94527,6 +94847,69 @@ } } }, + "payment_source": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "adyen_payments", + "axerve_payments", + "braintree_payments", + "checkout_com_payments", + "external_payments", + "klarna_payments", + "paypal_payments", + "satispay_payments", + "stripe_payments", + "wire_transfers" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + }, + "oneOf": [ + { + "$ref": "#/components/schemas/adyenPayment" + }, + { + "$ref": "#/components/schemas/axervePayment" + }, + { + "$ref": "#/components/schemas/braintreePayment" + }, + { + "$ref": "#/components/schemas/checkoutComPayment" + }, + { + "$ref": "#/components/schemas/externalPayment" + }, + { + "$ref": "#/components/schemas/klarnaPayment" + }, + { + "$ref": "#/components/schemas/paypalPayment" + }, + { + "$ref": "#/components/schemas/satispayPayment" + }, + { + "$ref": "#/components/schemas/stripePayment" + }, + { + "$ref": "#/components/schemas/wireTransfer" + } + ] + }, "attachments": { "type": "object", "properties": { @@ -94781,6 +95164,40 @@ } } }, + "payment_source": { + "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_source" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, "attachments": { "type": "object", "properties": { @@ -102611,37 +103028,37 @@ }, "country_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address country code.", + "description": "The regex that will be evaluated to match the shipping address country code, max size is 5000.", "example": "AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT", "nullable": true }, "not_country_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address country code.", + "description": "The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.", "example": "AT|BE|BG|CZ|DK|EE|DE", "nullable": true }, "state_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address state code.", + "description": "The regex that will be evaluated to match the shipping address state code, max size is 5000.", "example": "A[KLRZ]|C[AOT]|D[CE]|FL", "nullable": true }, "not_state_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address state code.", + "description": "The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.", "example": "A[KLRZ]|C[AOT]", "nullable": true }, "zip_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address zip code.", + "description": "The regex that will be evaluated to match the shipping address zip code, max size is 5000.", "example": "(?i)(JE1|JE2|JE3|JE4|JE5)", "nullable": true }, "not_zip_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping zip country code.", + "description": "The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.", "example": "(?i)(JE1|JE2|JE3)", "nullable": true }, @@ -102762,32 +103179,32 @@ }, "country_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address country code.", + "description": "The regex that will be evaluated to match the shipping address country code, max size is 5000.", "example": "AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT" }, "not_country_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address country code.", + "description": "The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.", "example": "AT|BE|BG|CZ|DK|EE|DE" }, "state_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address state code.", + "description": "The regex that will be evaluated to match the shipping address state code, max size is 5000.", "example": "A[KLRZ]|C[AOT]|D[CE]|FL" }, "not_state_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address state code.", + "description": "The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.", "example": "A[KLRZ]|C[AOT]" }, "zip_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address zip code.", + "description": "The regex that will be evaluated to match the shipping address zip code, max size is 5000.", "example": "(?i)(JE1|JE2|JE3|JE4|JE5)" }, "not_zip_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping zip country code.", + "description": "The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.", "example": "(?i)(JE1|JE2|JE3)" }, "reference": { @@ -102857,37 +103274,37 @@ }, "country_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address country code.", + "description": "The regex that will be evaluated to match the shipping address country code, max size is 5000.", "example": "AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT", "nullable": true }, "not_country_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address country code.", + "description": "The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.", "example": "AT|BE|BG|CZ|DK|EE|DE", "nullable": true }, "state_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address state code.", + "description": "The regex that will be evaluated to match the shipping address state code, max size is 5000.", "example": "A[KLRZ]|C[AOT]|D[CE]|FL", "nullable": true }, "not_state_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address state code.", + "description": "The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.", "example": "A[KLRZ]|C[AOT]", "nullable": true }, "zip_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address zip code.", + "description": "The regex that will be evaluated to match the shipping address zip code, max size is 5000.", "example": "(?i)(JE1|JE2|JE3|JE4|JE5)", "nullable": true }, "not_zip_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping zip country code.", + "description": "The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.", "example": "(?i)(JE1|JE2|JE3)", "nullable": true }, @@ -104283,7 +104700,7 @@ }, "sku_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the SKU codes.", + "description": "The regex that will be evaluated to match the SKU codes, max size is 5000.", "example": "^(A|B).*$", "nullable": true }, @@ -104529,7 +104946,7 @@ }, "sku_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the SKU codes.", + "description": "The regex that will be evaluated to match the SKU codes, max size is 5000.", "example": "^(A|B).*$" }, "reference": { @@ -104643,7 +105060,7 @@ }, "sku_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the SKU codes.", + "description": "The regex that will be evaluated to match the SKU codes, max size is 5000.", "example": "^(A|B).*$", "nullable": true }, @@ -105061,7 +105478,7 @@ }, "sku_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the SKU codes.", + "description": "The regex that will be evaluated to match the SKU codes, max size is 5000.", "example": "^(A|B).*$", "nullable": true }, @@ -105268,7 +105685,7 @@ }, "sku_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the SKU codes.", + "description": "The regex that will be evaluated to match the SKU codes, max size is 5000.", "example": "^(A|B).*$" }, "reference": { @@ -105413,7 +105830,7 @@ }, "sku_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the SKU codes.", + "description": "The regex that will be evaluated to match the SKU codes, max size is 5000.", "example": "^(A|B).*$", "nullable": true }, @@ -110292,7 +110709,7 @@ }, "quantity": { "type": "integer", - "description": "The stock quantity to be transferred from the origin stock location to destination one.", + "description": "The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.", "example": 2, "nullable": false }, @@ -110602,7 +111019,7 @@ }, "quantity": { "type": "integer", - "description": "The stock quantity to be transferred from the origin stock location to destination one.", + "description": "The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.", "example": 2 }, "reference": { @@ -110807,6 +111224,12 @@ "example": "TSHIRTMM000000FFFFFFXLXX", "nullable": true }, + "quantity": { + "type": "integer", + "description": "The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.", + "example": 2, + "nullable": false + }, "_upcoming": { "type": "boolean", "description": "Send this attribute if you want to mark this stock transfer as upcoming.", @@ -114877,42 +115300,6 @@ "example": 0.22, "nullable": true }, - "country_code_regex": { - "type": "string", - "description": "The regex that will be evaluated to match the shipping address country code.", - "example": "AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT", - "nullable": true - }, - "not_country_code_regex": { - "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address country code.", - "example": "AT|BE|BG|CZ|DK|EE|DE", - "nullable": true - }, - "state_code_regex": { - "type": "string", - "description": "The regex that will be evaluated to match the shipping address state code.", - "example": "A[KLRZ]|C[AOT]|D[CE]|FL", - "nullable": true - }, - "not_state_code_regex": { - "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address state code.", - "example": "A[KLRZ]|C[AOT]", - "nullable": true - }, - "zip_code_regex": { - "type": "string", - "description": "The regex that will be evaluated to match the shipping address zip code.", - "example": "(?i)(JE1|JE2|JE3|JE4|JE5)", - "nullable": true - }, - "not_zip_code_regex": { - "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping zip country code.", - "example": "(?i)(JE1|JE2|JE3)", - "nullable": true - }, "freight_taxable": { "type": "boolean", "description": "Indicates if the freight is taxable.", @@ -114947,6 +115334,42 @@ }, "nullable": true }, + "country_code_regex": { + "type": "string", + "description": "The regex that will be evaluated to match the shipping address country code, max size is 5000.", + "example": "AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT", + "nullable": true + }, + "not_country_code_regex": { + "type": "string", + "description": "The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.", + "example": "AT|BE|BG|CZ|DK|EE|DE", + "nullable": true + }, + "state_code_regex": { + "type": "string", + "description": "The regex that will be evaluated to match the shipping address state code, max size is 5000.", + "example": "A[KLRZ]|C[AOT]|D[CE]|FL", + "nullable": true + }, + "not_state_code_regex": { + "type": "string", + "description": "The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.", + "example": "A[KLRZ]|C[AOT]", + "nullable": true + }, + "zip_code_regex": { + "type": "string", + "description": "The regex that will be evaluated to match the shipping address zip code, max size is 5000.", + "example": "(?i)(JE1|JE2|JE3|JE4|JE5)", + "nullable": true + }, + "not_zip_code_regex": { + "type": "string", + "description": "The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.", + "example": "(?i)(JE1|JE2|JE3)", + "nullable": true + }, "created_at": { "type": "string", "description": "Time at which the resource was created.", @@ -115067,56 +115490,56 @@ "description": "The tax rate for this rule.", "example": 0.22 }, + "freight_taxable": { + "type": "boolean", + "description": "Indicates if the freight is taxable.", + "example": false + }, + "payment_method_taxable": { + "type": "boolean", + "description": "Indicates if the payment method is taxable.", + "example": false + }, + "gift_card_taxable": { + "type": "boolean", + "description": "Indicates if gift cards are taxable.", + "example": false + }, + "adjustment_taxable": { + "type": "boolean", + "description": "Indicates if adjustemnts are taxable.", + "example": false + }, "country_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address country code.", + "description": "The regex that will be evaluated to match the shipping address country code, max size is 5000.", "example": "AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT" }, "not_country_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address country code.", + "description": "The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.", "example": "AT|BE|BG|CZ|DK|EE|DE" }, "state_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address state code.", + "description": "The regex that will be evaluated to match the shipping address state code, max size is 5000.", "example": "A[KLRZ]|C[AOT]|D[CE]|FL" }, "not_state_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address state code.", + "description": "The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.", "example": "A[KLRZ]|C[AOT]" }, "zip_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address zip code.", + "description": "The regex that will be evaluated to match the shipping address zip code, max size is 5000.", "example": "(?i)(JE1|JE2|JE3|JE4|JE5)" }, "not_zip_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping zip country code.", + "description": "The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.", "example": "(?i)(JE1|JE2|JE3)" }, - "freight_taxable": { - "type": "boolean", - "description": "Indicates if the freight is taxable.", - "example": false - }, - "payment_method_taxable": { - "type": "boolean", - "description": "Indicates if the payment method is taxable.", - "example": false - }, - "gift_card_taxable": { - "type": "boolean", - "description": "Indicates if gift cards are taxable.", - "example": false - }, - "adjustment_taxable": { - "type": "boolean", - "description": "Indicates if adjustemnts are taxable.", - "example": 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.", @@ -115217,66 +115640,66 @@ "example": 0.22, "nullable": true }, + "freight_taxable": { + "type": "boolean", + "description": "Indicates if the freight is taxable.", + "example": false, + "nullable": false + }, + "payment_method_taxable": { + "type": "boolean", + "description": "Indicates if the payment method is taxable.", + "example": false, + "nullable": false + }, + "gift_card_taxable": { + "type": "boolean", + "description": "Indicates if gift cards are taxable.", + "example": false, + "nullable": false + }, + "adjustment_taxable": { + "type": "boolean", + "description": "Indicates if adjustemnts are taxable.", + "example": false, + "nullable": false + }, "country_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address country code.", + "description": "The regex that will be evaluated to match the shipping address country code, max size is 5000.", "example": "AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT", "nullable": true }, "not_country_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address country code.", + "description": "The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.", "example": "AT|BE|BG|CZ|DK|EE|DE", "nullable": true }, "state_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address state code.", + "description": "The regex that will be evaluated to match the shipping address state code, max size is 5000.", "example": "A[KLRZ]|C[AOT]|D[CE]|FL", "nullable": true }, "not_state_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping address state code.", + "description": "The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.", "example": "A[KLRZ]|C[AOT]", "nullable": true }, "zip_code_regex": { "type": "string", - "description": "The regex that will be evaluated to match the shipping address zip code.", + "description": "The regex that will be evaluated to match the shipping address zip code, max size is 5000.", "example": "(?i)(JE1|JE2|JE3|JE4|JE5)", "nullable": true }, "not_zip_code_regex": { "type": "string", - "description": "The regex that will be evaluated as negative match for the shipping zip country code.", + "description": "The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.", "example": "(?i)(JE1|JE2|JE3)", "nullable": true }, - "freight_taxable": { - "type": "boolean", - "description": "Indicates if the freight is taxable.", - "example": false, - "nullable": false - }, - "payment_method_taxable": { - "type": "boolean", - "description": "Indicates if the payment method is taxable.", - "example": false, - "nullable": false - }, - "gift_card_taxable": { - "type": "boolean", - "description": "Indicates if gift cards are taxable.", - "example": false, - "nullable": false - }, - "adjustment_taxable": { - "type": "boolean", - "description": "Indicates if adjustemnts are taxable.", - "example": false, - "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.", @@ -116149,6 +116572,69 @@ } } }, + "payment_source": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "adyen_payments", + "axerve_payments", + "braintree_payments", + "checkout_com_payments", + "external_payments", + "klarna_payments", + "paypal_payments", + "satispay_payments", + "stripe_payments", + "wire_transfers" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + }, + "oneOf": [ + { + "$ref": "#/components/schemas/adyenPayment" + }, + { + "$ref": "#/components/schemas/axervePayment" + }, + { + "$ref": "#/components/schemas/braintreePayment" + }, + { + "$ref": "#/components/schemas/checkoutComPayment" + }, + { + "$ref": "#/components/schemas/externalPayment" + }, + { + "$ref": "#/components/schemas/klarnaPayment" + }, + { + "$ref": "#/components/schemas/paypalPayment" + }, + { + "$ref": "#/components/schemas/satispayPayment" + }, + { + "$ref": "#/components/schemas/stripePayment" + }, + { + "$ref": "#/components/schemas/wireTransfer" + } + ] + }, "attachments": { "type": "object", "properties": { @@ -116288,6 +116774,40 @@ } } }, + "payment_source": { + "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_source" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, "attachments": { "type": "object", "properties": { @@ -116720,6 +117240,69 @@ } } }, + "payment_source": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The resource's type", + "enum": [ + "adyen_payments", + "axerve_payments", + "braintree_payments", + "checkout_com_payments", + "external_payments", + "klarna_payments", + "paypal_payments", + "satispay_payments", + "stripe_payments", + "wire_transfers" + ] + }, + "id": { + "type": "string", + "description": "The resource's id", + "example": "XGZwpOSrWL" + } + } + } + }, + "oneOf": [ + { + "$ref": "#/components/schemas/adyenPayment" + }, + { + "$ref": "#/components/schemas/axervePayment" + }, + { + "$ref": "#/components/schemas/braintreePayment" + }, + { + "$ref": "#/components/schemas/checkoutComPayment" + }, + { + "$ref": "#/components/schemas/externalPayment" + }, + { + "$ref": "#/components/schemas/klarnaPayment" + }, + { + "$ref": "#/components/schemas/paypalPayment" + }, + { + "$ref": "#/components/schemas/satispayPayment" + }, + { + "$ref": "#/components/schemas/stripePayment" + }, + { + "$ref": "#/components/schemas/wireTransfer" + } + ] + }, "attachments": { "type": "object", "properties": { @@ -116952,6 +117535,40 @@ } } }, + "payment_source": { + "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_source" + ] + }, + "id": { + "type": "string", + "description": "The resource ID" + } + } + } + } + }, "attachments": { "type": "object", "properties": { @@ -118044,10 +118661,6 @@ "name": "axerve_payments", "description": "resource type" }, - { - "name": "billing_info_validation_rules", - "description": "resource type" - }, { "name": "bing_geocoders", "description": "resource type" @@ -118252,6 +118865,10 @@ "name": "merchants", "description": "resource type" }, + { + "name": "notifications", + "description": "resource type" + }, { "name": "order_amount_promotion_rules", "description": "resource type" diff --git a/gen/resources.json b/gen/resources.json index b6cfeb5e..9e678b1d 100644 --- a/gen/resources.json +++ b/gen/resources.json @@ -5,6 +5,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -369,12 +371,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::AddressResource", "class_name": "Tag" }, @@ -430,6 +433,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -617,6 +622,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -868,6 +875,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -1116,6 +1125,8 @@ "attributes": { "singleton": true, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "retrieve" ], @@ -1274,6 +1285,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -1425,6 +1438,7 @@ "customers", "delivery_lead_times", "shipping_methods", + "discount_engines", "gift_card_recipients", "gift_cards", "inventory_models", @@ -1467,6 +1481,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -1904,6 +1920,33 @@ "parent_resource": "Api::TransactionResource", "class_name": "Order" }, + "payment_source": { + "type": "has_one", + "desc": "The associated payment source.", + "required": "optional", + "creatable": false, + "updatable": false, + "sortable": false, + "filterable": true, + "polymorphic": true, + "abstract": true, + "eager_load_on_include": false, + "parent_resource": "Api::TransactionResource", + "class_name": "PaymentSource", + "enum": [ + "adyen_payments", + "axerve_payments", + "braintree_payments", + "checkout_com_payments", + "credit_cards", + "external_payments", + "klarna_payments", + "paypal_payments", + "satispay_payments", + "stripe_payments", + "wire_transfers" + ] + }, "attachments": { "type": "has_many", "desc": "The associated attachments.", @@ -1963,6 +2006,7 @@ "metadata", "q", "order_id", + "payment_source_id", "attachments_id", "events_id", "ids", @@ -1979,6 +2023,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -2212,6 +2258,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -2393,6 +2441,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -2640,7 +2690,9 @@ "type": "resources", "attributes": { "singleton": false, - "deprecated": false, + "deprecated": true, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -2793,6 +2845,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -2957,6 +3011,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -3193,6 +3249,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -3402,6 +3460,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -3704,12 +3764,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::BundleResource", "class_name": "Tag" }, @@ -3761,6 +3822,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -4157,12 +4220,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::BuyXPayYPromotionResource", "class_name": "Tag" }, @@ -4236,6 +4300,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -4580,6 +4646,33 @@ "parent_resource": "Api::TransactionResource", "class_name": "Order" }, + "payment_source": { + "type": "has_one", + "desc": "The associated payment source.", + "required": "optional", + "creatable": false, + "updatable": false, + "sortable": false, + "filterable": true, + "polymorphic": true, + "abstract": true, + "eager_load_on_include": false, + "parent_resource": "Api::TransactionResource", + "class_name": "PaymentSource", + "enum": [ + "adyen_payments", + "axerve_payments", + "braintree_payments", + "checkout_com_payments", + "credit_cards", + "external_payments", + "klarna_payments", + "paypal_payments", + "satispay_payments", + "stripe_payments", + "wire_transfers" + ] + }, "attachments": { "type": "has_many", "desc": "The associated attachments.", @@ -4657,6 +4750,7 @@ "metadata", "q", "order_id", + "payment_source_id", "attachments_id", "events_id", "return_id", @@ -4674,6 +4768,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -4855,6 +4951,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -5057,6 +5155,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -5365,6 +5465,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -5619,6 +5721,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -5797,12 +5901,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::CouponResource", "class_name": "Tag" }, @@ -5851,6 +5956,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -6019,6 +6126,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -6191,6 +6300,8 @@ "attributes": { "singleton": false, "deprecated": true, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -6481,6 +6592,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -6663,6 +6776,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -6743,6 +6858,17 @@ "sortable": false, "example": "xxx-yyy-zzz" }, + "profile_id": { + "type": "string", + "desc": "A reference to uniquely identify the customer on any connected external services.", + "required": "required, auto generated if missing", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "xxx-yyy-zzz" + }, "id": { "format": "id", "type": "string", @@ -6897,12 +7023,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::CustomerResource", "class_name": "Tag" } @@ -6942,6 +7069,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -7112,6 +7241,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -7272,6 +7403,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -7279,7 +7412,14 @@ "update", "delete" ], - "examples": {}, + "examples": { + "updatable": { + "fields": [ + "customer_password", + "_reset_password_token" + ] + } + }, "filter_scopes": [], "fields": { "customer_email": { @@ -7452,6 +7592,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -7650,6 +7792,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -7797,6 +7941,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -7986,218 +8132,536 @@ } }, { - "id": "event", + "id": "discount_engine", "type": "resources", "attributes": { "singleton": false, "deprecated": false, + "addon": true, + "hidden": true, "actions": [ "list", - "retrieve", - "update" + "retrieve" ], "examples": {}, "filter_scopes": [], "fields": { "name": { "type": "string", - "desc": "The event's internal name.", - "required": "required", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "orders.create" - }, - "_trigger": { - "type": "boolean", - "trigger": true, - "desc": "Send this attribute if you want to force webhooks execution for this event. Cannot be passed by sales channels.", - "prohibited": true, - "creatable": false, - "updatable": true, - "fetchable": false, - "filterable": false, - "sortable": false, - "example": "true" - }, - "id": { - "format": "id", - "type": "string", - "desc": "Unique identifier for the resource (hash).", + "desc": "The discount engine's internal name.", "required": "required", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "XAyRWNUzyN" - }, - "created_at": { - "type": "datetime", - "desc": "Time at which the resource was created.", - "required": "required", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "2018-01-01T12:00:00.000Z" - }, - "updated_at": { - "type": "datetime", - "desc": "Time at which the resource was last updated.", - "required": "required", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "2018-01-01T12:00:00.000Z" - }, - "reference": { - "type": "string", - "desc": "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.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "ANY-EXTERNAL-REFEFERNCE" - }, - "reference_origin": { - "type": "string", - "desc": "Any identifier of the third party system that defines the reference code.", - "required": "optional", "creatable": true, "updatable": true, "fetchable": true, "filterable": true, "sortable": true, - "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN" + "example": "Personal discount engine" }, - "metadata": { - "type": "object", - "desc": "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.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": true, - "sortable": false, - "example": { - "foo": "bar" - } - } - }, - "relationships": { - "webhooks": { - "type": "has_many", - "desc": "The associated webhooks.", - "class_name": "Webhook", - "eager_load_on_include": false, - "virtual": true, - "parent_resource": "Api::EventResource" - }, - "last_event_callbacks": { - "type": "has_many", - "desc": "The last associated event callbacks.", - "class_name": "EventCallback", - "eager_load_on_include": false, - "virtual": true, - "parent_resource": "Api::EventResource" - } - }, - "filters": [ - "id", - "name", - "created_at", - "updated_at", - "reference", - "reference_origin", - "metadata", - "q", - "ids", - "created_at_from", - "created_at_to", - "updated_at_from", - "updated_at_to" - ] - } - }, - { - "id": "event_callback", - "type": "resources", - "attributes": { - "singleton": false, - "deprecated": false, - "actions": [ - "list", - "retrieve" - ], - "examples": {}, - "filter_scopes": [], - "fields": { - "callback_url": { + "type": { "type": "string", - "desc": "The URI of the callback, inherited by the associated webhook.", + "desc": "The discount engine's type.", "required": "required", "creatable": false, "updatable": false, "fetchable": true, "filterable": true, - "sortable": false, - "example": "https://yourapp.com/webhooks" - }, - "signature": { - "type": "string", - "desc": "The callback signature, used to sign the payload.", - "required": "required", - "creatable": false, - "updatable": false, - "fetchable": false, - "filterable": false, - "sortable": false, - "example": "xxxx-yyyy-zzzz" + "sortable": true, + "example": "talon_one_accounts", + "enum": [ + "talon_one_accounts" + ] }, - "payload": { - "type": "object", - "desc": "The payload sent to the callback endpoint, including the event affected resource and the specified includes.", + "manage_gift_cards": { + "type": "boolean", + "desc": "Indicates if the discount engine manages both promotions and gift cards application at once.", "creatable": false, "updatable": false, "fetchable": true, "filterable": false, "sortable": false, - "example": { - "data": { - "attributes": { - "id": "PYWehaoXJj", - "type": "orders" - } - } - } - }, - "response_code": { - "type": "string", - "desc": "The HTTP response code of the callback endpoint.", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "200" - }, - "response_message": { - "type": "string", - "desc": "The HTTP response message of the callback endpoint.", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "OK" + "delegate": "manage_gift_cards?", + "example": true + }, + "id": { + "format": "id", + "type": "string", + "desc": "Unique identifier for the resource (hash).", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "XAyRWNUzyN" + }, + "created_at": { + "type": "datetime", + "desc": "Time at which the resource was created.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "updated_at": { + "type": "datetime", + "desc": "Time at which the resource was last updated.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "reference": { + "type": "string", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE" + }, + "reference_origin": { + "type": "string", + "desc": "Any identifier of the third party system that defines the reference code.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN" + }, + "metadata": { + "type": "object", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": false, + "example": { + "foo": "bar" + } + } + }, + "relationships": { + "markets": { + "type": "has_many", + "desc": "The associated markets.", + "parent_resource": "Api::TalonOneAccountResource", + "class_name": "Market" + }, + "discount_engine_items": { + "type": "has_many", + "desc": "The associated discount engine items.", + "parent_resource": "Api::TalonOneAccountResource", + "class_name": "DiscountEngineItem" + }, + "attachments": { + "type": "has_many", + "desc": "The associated attachments.", + "filterable": true, + "sortable": false, + "parent_resource": "Api::DiscountEngineResource", + "class_name": "Attachment" + }, + "versions": { + "type": "has_many", + "desc": "The associated changes.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "parent_resource": "Api::DiscountEngineResource", + "class_name": "Version" + } + }, + "filters": [ + "id", + "name", + "type", + "created_at", + "updated_at", + "reference", + "reference_origin", + "metadata", + "q", + "attachments_id", + "ids", + "created_at_from", + "created_at_to", + "updated_at_from", + "updated_at_to" + ] + } + }, + { + "id": "discount_engine_item", + "type": "resources", + "attributes": { + "singleton": false, + "deprecated": false, + "addon": false, + "hidden": true, + "actions": [ + "list", + "retrieve" + ], + "examples": {}, + "filter_scopes": [], + "fields": { + "body": { + "type": "object", + "desc": "The body of the external discount engine response.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": false, + "example": { + "foo": "bar" + } + }, + "id": { + "format": "id", + "type": "string", + "desc": "Unique identifier for the resource (hash).", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "XAyRWNUzyN" + }, + "created_at": { + "type": "datetime", + "desc": "Time at which the resource was created.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "updated_at": { + "type": "datetime", + "desc": "Time at which the resource was last updated.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "reference": { + "type": "string", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE" + }, + "reference_origin": { + "type": "string", + "desc": "Any identifier of the third party system that defines the reference code.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN" + }, + "metadata": { + "type": "object", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": false, + "example": { + "foo": "bar" + } + } + }, + "relationships": { + "discount_engine": { + "type": "has_one", + "desc": "The associated discount engine.", + "required": "required", + "creatable": true, + "updatable": false, + "filterable": true, + "sortable": true, + "parent_resource": "Api::DiscountEngineItemResource", + "class_name": "DiscountEngine" + }, + "order": { + "type": "has_one", + "desc": "The associated order.", + "required": "required", + "creatable": true, + "updatable": false, + "filterable": true, + "sortable": true, + "parent_resource": "Api::DiscountEngineItemResource", + "class_name": "Order" + } + }, + "filters": [ + "id", + "body", + "created_at", + "updated_at", + "reference", + "reference_origin", + "metadata", + "q", + "discount_engine_id", + "order_id", + "ids", + "created_at_from", + "created_at_to", + "updated_at_from", + "updated_at_to" + ] + } + }, + { + "id": "event", + "type": "resources", + "attributes": { + "singleton": false, + "deprecated": false, + "addon": false, + "hidden": false, + "actions": [ + "list", + "retrieve", + "update" + ], + "examples": {}, + "filter_scopes": [], + "fields": { + "name": { + "type": "string", + "desc": "The event's internal name.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "orders.create" + }, + "_trigger": { + "type": "boolean", + "trigger": true, + "desc": "Send this attribute if you want to force webhooks execution for this event. Cannot be passed by sales channels.", + "prohibited": true, + "creatable": false, + "updatable": true, + "fetchable": false, + "filterable": false, + "sortable": false, + "example": "true" + }, + "id": { + "format": "id", + "type": "string", + "desc": "Unique identifier for the resource (hash).", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "XAyRWNUzyN" + }, + "created_at": { + "type": "datetime", + "desc": "Time at which the resource was created.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "updated_at": { + "type": "datetime", + "desc": "Time at which the resource was last updated.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "reference": { + "type": "string", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE" + }, + "reference_origin": { + "type": "string", + "desc": "Any identifier of the third party system that defines the reference code.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN" + }, + "metadata": { + "type": "object", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": false, + "example": { + "foo": "bar" + } + } + }, + "relationships": { + "webhooks": { + "type": "has_many", + "desc": "The associated webhooks.", + "class_name": "Webhook", + "eager_load_on_include": false, + "virtual": true, + "parent_resource": "Api::EventResource" + }, + "last_event_callbacks": { + "type": "has_many", + "desc": "The last associated event callbacks.", + "class_name": "EventCallback", + "eager_load_on_include": false, + "virtual": true, + "parent_resource": "Api::EventResource" + } + }, + "filters": [ + "id", + "name", + "created_at", + "updated_at", + "reference", + "reference_origin", + "metadata", + "q", + "ids", + "created_at_from", + "created_at_to", + "updated_at_from", + "updated_at_to" + ] + } + }, + { + "id": "event_callback", + "type": "resources", + "attributes": { + "singleton": false, + "deprecated": false, + "addon": false, + "hidden": false, + "actions": [ + "list", + "retrieve" + ], + "examples": {}, + "filter_scopes": [], + "fields": { + "callback_url": { + "type": "string", + "desc": "The URI of the callback, inherited by the associated webhook.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": false, + "example": "https://yourapp.com/webhooks" + }, + "signature": { + "type": "string", + "desc": "The callback signature, used to sign the payload.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": false, + "filterable": false, + "sortable": false, + "example": "xxxx-yyyy-zzzz" + }, + "payload": { + "type": "object", + "desc": "The payload sent to the callback endpoint, including the event affected resource and the specified includes.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": { + "data": { + "attributes": { + "id": "PYWehaoXJj", + "type": "orders" + } + } + } + }, + "response_code": { + "type": "string", + "desc": "The HTTP response code of the callback endpoint.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "200" + }, + "response_message": { + "type": "string", + "desc": "The HTTP response message of the callback endpoint.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "OK" }, "id": { "format": "id", @@ -8308,6 +8772,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -8558,6 +9024,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -8822,6 +9290,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -9007,6 +9477,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -9439,12 +9911,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::ExternalPromotionResource", "class_name": "Tag" }, @@ -9518,6 +9991,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -9749,6 +10224,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -10145,12 +10622,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::FixedAmountPromotionResource", "class_name": "Tag" }, @@ -10222,6 +10700,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -10618,12 +11098,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::FixedPricePromotionResource", "class_name": "Tag" }, @@ -10695,6 +11176,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -11002,12 +11485,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::FlexPromotionResource", "class_name": "Tag" }, @@ -11065,6 +11549,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -11440,12 +11926,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::FreeGiftPromotionResource", "class_name": "Tag" }, @@ -11517,6 +12004,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -11880,12 +12369,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::PromotionResource", "class_name": "Tag" }, @@ -11949,6 +12439,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -12099,6 +12591,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -12516,12 +13010,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::GiftCardResource", "class_name": "Tag" }, @@ -12574,6 +13069,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -12746,6 +13243,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -12910,6 +13409,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -13245,6 +13746,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -13478,6 +13981,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -13690,6 +14195,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -13841,6 +14348,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -14004,6 +14513,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -14186,6 +14697,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -14406,6 +14919,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -14495,8 +15010,9 @@ }, "unit_amount_cents": { "type": "integer", - "desc": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods.", + "desc": "The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels.", "required": "required, unless computed", + "prohibited": true, "creatable": true, "updatable": true, "fetchable": true, @@ -14768,7 +15284,7 @@ }, "item_type": { "type": "string", - "desc": "The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.", + "desc": "The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.", "delegate": "item_resource_type", "creatable": true, "updatable": false, @@ -14783,6 +15299,7 @@ "shipments", "payment_methods", "adjustments", + "discount_engine_items", "percentage_discount_promotions", "free_shipping_promotions", "buy_x_pay_y_promotions", @@ -14932,7 +15449,7 @@ }, "item": { "type": "has_one", - "desc": "The polymorphic item associated to the line item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.", + "desc": "The polymorphic item associated to the line item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'.", "required": "optional", "creatable": true, "updatable": false, @@ -14949,6 +15466,7 @@ "shipments", "payment_methods", "adjustments", + "discount_engine_items", "percentage_discount_promotions", "free_shipping_promotions", "buy_x_pay_y_promotions", @@ -15084,6 +15602,14 @@ "parent_resource": "Api::LineItemResource", "class_name": "StockTransfer" }, + "notifications": { + "type": "has_many", + "desc": "The associated notifications.", + "filterable": true, + "sortable": false, + "parent_resource": "Api::LineItemResource", + "class_name": "Notification" + }, "events": { "type": "has_many", "desc": "The associated events.", @@ -15094,12 +15620,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::LineItemResource", "class_name": "Tag" } @@ -15138,6 +15665,7 @@ "stock_reservations_id", "stock_line_items_id", "stock_transfers_id", + "notifications_id", "events_id", "tags_id", "ids", @@ -15154,6 +15682,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -15398,12 +15928,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::LineItemOptionResource", "class_name": "Tag" } @@ -15440,6 +15971,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -15754,6 +16287,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -15892,6 +16427,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -16063,6 +16600,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -16302,316 +16841,492 @@ } }, "relationships": { - "merchant": { + "merchant": { + "type": "has_one", + "desc": "The associated merchant.", + "required": "required", + "creatable": true, + "updatable": true, + "filterable": true, + "sortable": false, + "parent_resource": "Api::MarketResource", + "class_name": "Merchant" + }, + "price_list": { + "type": "has_one", + "desc": "The active price list. Can be the one associated to the active scheduler or the base one if there are no schedulers.", + "required": "required", + "creatable": true, + "updatable": true, + "filterable": true, + "sortable": true, + "parent_resource": "Api::MarketResource", + "class_name": "PriceList" + }, + "base_price_list": { + "type": "has_one", + "desc": "The base price list associated to the market, no matter the active price scheduler.", + "class_name": "PriceList", + "eager_load_on_include": false, + "virtual": true, + "parent_resource": "Api::MarketResource" + }, + "inventory_model": { + "type": "has_one", + "desc": "The associated inventory model.", + "required": "required", + "creatable": true, + "updatable": true, + "filterable": true, + "sortable": true, + "parent_resource": "Api::MarketResource", + "class_name": "InventoryModel" + }, + "subscription_model": { + "type": "has_one", + "desc": "The associated subscription model.", + "required": "optional", + "creatable": true, + "updatable": true, + "filterable": true, + "sortable": true, + "parent_resource": "Api::MarketResource", + "class_name": "SubscriptionModel" + }, + "discount_engine": { + "type": "has_one", + "desc": "The associated discount engine.", + "required": "optional", + "creatable": true, + "updatable": true, + "filterable": true, + "sortable": true, + "parent_resource": "Api::MarketResource", + "class_name": "DiscountEngine" + }, + "tax_calculator": { + "type": "has_one", + "desc": "The associated tax calculator.", + "required": "optional", + "creatable": true, + "updatable": true, + "filterable": true, + "sortable": true, + "parent_resource": "Api::MarketResource", + "class_name": "TaxCalculator", + "enum": [ + "avalara_accounts", + "taxjar_accounts", + "manual_tax_calculators", + "external_tax_calculators" + ] + }, + "customer_group": { + "type": "has_one", + "desc": "The associated customer group.", + "required": "optional", + "creatable": true, + "updatable": true, + "filterable": true, + "sortable": true, + "parent_resource": "Api::MarketResource", + "class_name": "CustomerGroup" + }, + "geocoder": { + "type": "has_one", + "desc": "The associated geocoder.", + "required": "optional", + "creatable": true, + "updatable": true, + "filterable": true, + "sortable": true, + "parent_resource": "Api::MarketResource", + "class_name": "Geocoder" + }, + "stores": { + "type": "has_many", + "desc": "The associated stores.", + "filterable": true, + "sortable": false, + "parent_resource": "Api::MarketResource", + "class_name": "Store" + }, + "price_list_schedulers": { + "type": "has_many", + "desc": "The associated price list schedulers.", + "filterable": true, + "sortable": false, + "parent_resource": "Api::MarketResource", + "class_name": "PriceListScheduler" + }, + "order_validation_rules": { + "type": "has_many", + "desc": "The associated order validation rules.", + "filterable": true, + "sortable": false, + "polymorphic": true, + "sti": true, + "deprecated": true, + "parent_resource": "Api::MarketResource", + "class_name": "OrderValidationRule" + }, + "attachments": { + "type": "has_many", + "desc": "The associated attachments.", + "filterable": true, + "sortable": false, + "parent_resource": "Api::MarketResource", + "class_name": "Attachment" + }, + "versions": { + "type": "has_many", + "desc": "The associated changes.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "parent_resource": "Api::MarketResource", + "class_name": "Version" + } + }, + "filters": [ + "id", + "name", + "code", + "disabled_at", + "created_at", + "updated_at", + "reference", + "reference_origin", + "metadata", + "q", + "merchant_id", + "price_list_id", + "inventory_model_id", + "subscription_model_id", + "discount_engine_id", + "tax_calculator_id", + "customer_group_id", + "geocoder_id", + "stores_id", + "price_list_schedulers_id", + "order_validation_rules_id", + "attachments_id", + "ids", + "disabled_at_from", + "disabled_at_to", + "created_at_from", + "created_at_to", + "updated_at_from", + "updated_at_to" + ] + } + }, + { + "id": "merchant", + "type": "resources", + "attributes": { + "singleton": false, + "deprecated": false, + "addon": false, + "hidden": false, + "actions": [ + "list", + "retrieve", + "create", + "update", + "delete" + ], + "examples": {}, + "filter_scopes": [], + "fields": { + "name": { + "type": "string", + "desc": "The merchant's internal name.", + "required": "required", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "The Brand Inc." + }, + "id": { + "format": "id", + "type": "string", + "desc": "Unique identifier for the resource (hash).", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "XAyRWNUzyN" + }, + "created_at": { + "type": "datetime", + "desc": "Time at which the resource was created.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "updated_at": { + "type": "datetime", + "desc": "Time at which the resource was last updated.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "reference": { + "type": "string", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE" + }, + "reference_origin": { + "type": "string", + "desc": "Any identifier of the third party system that defines the reference code.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN" + }, + "metadata": { + "type": "object", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": false, + "example": { + "foo": "bar" + } + } + }, + "relationships": { + "address": { + "type": "has_one", + "desc": "The associated address.", + "required": "required", + "creatable": true, + "updatable": true, + "filterable": true, + "sortable": false, + "parent_resource": "Api::MerchantResource", + "class_name": "Address" + }, + "attachments": { + "type": "has_many", + "desc": "The associated attachments.", + "filterable": true, + "sortable": false, + "parent_resource": "Api::MerchantResource", + "class_name": "Attachment" + }, + "versions": { + "type": "has_many", + "desc": "The associated changes.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "parent_resource": "Api::MerchantResource", + "class_name": "Version" + } + }, + "filters": [ + "id", + "name", + "created_at", + "updated_at", + "reference", + "reference_origin", + "metadata", + "q", + "address_id", + "attachments_id", + "ids", + "created_at_from", + "created_at_to", + "updated_at_from", + "updated_at_to" + ] + } + }, + { + "id": "notification", + "type": "resources", + "attributes": { + "singleton": false, + "deprecated": false, + "addon": false, + "hidden": false, + "actions": [ + "list", + "retrieve", + "create", + "update", + "delete" + ], + "examples": {}, + "filter_scopes": [], + "fields": { + "name": { + "type": "string", + "desc": "The internal name of the notification.", + "required": "required", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "DDT transport document" + }, + "flash": { + "type": "boolean", + "desc": "Indicates if the notification is temporary, valid for the ones created by external services.", + "required": "optional, default is 'false'", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": false + }, + "body": { + "type": "object", + "desc": "An internal body of the notification.", + "required": "optional, default to {}", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": { + "sku": "REDHANDBAG", + "name": "Enjoy your free item" + } + }, + "id": { + "format": "id", + "type": "string", + "desc": "Unique identifier for the resource (hash).", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "XAyRWNUzyN" + }, + "created_at": { + "type": "datetime", + "desc": "Time at which the resource was created.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "updated_at": { + "type": "datetime", + "desc": "Time at which the resource was last updated.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "reference": { + "type": "string", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE" + }, + "reference_origin": { + "type": "string", + "desc": "Any identifier of the third party system that defines the reference code.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN" + }, + "metadata": { + "type": "object", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": false, + "example": { + "foo": "bar" + } + } + }, + "relationships": { + "notifiable": { "type": "has_one", - "desc": "The associated merchant.", + "desc": "The resource the notification belongs to.", "required": "required", "creatable": true, "updatable": true, - "filterable": true, + "fetchable": true, + "filterable": false, "sortable": false, - "parent_resource": "Api::MarketResource", - "class_name": "Merchant" - }, - "price_list": { - "type": "has_one", - "desc": "The active price list. Can be the one associated to the active scheduler or the base one if there are no schedulers.", - "required": "required", - "creatable": true, - "updatable": true, - "filterable": true, - "sortable": true, - "parent_resource": "Api::MarketResource", - "class_name": "PriceList" - }, - "base_price_list": { - "type": "has_one", - "desc": "The base price list associated to the market, no matter the active price scheduler.", - "class_name": "PriceList", + "polymorphic": true, "eager_load_on_include": false, - "virtual": true, - "parent_resource": "Api::MarketResource" - }, - "inventory_model": { - "type": "has_one", - "desc": "The associated inventory model.", - "required": "required", - "creatable": true, - "updatable": true, - "filterable": true, - "sortable": true, - "parent_resource": "Api::MarketResource", - "class_name": "InventoryModel" - }, - "subscription_model": { - "type": "has_one", - "desc": "The associated subscription model.", - "required": "optional", - "creatable": true, - "updatable": true, - "filterable": true, - "sortable": true, - "parent_resource": "Api::MarketResource", - "class_name": "SubscriptionModel" - }, - "tax_calculator": { - "type": "has_one", - "desc": "The associated tax calculator.", - "required": "optional", - "creatable": true, - "updatable": true, - "filterable": true, - "sortable": true, - "parent_resource": "Api::MarketResource", - "class_name": "TaxCalculator", + "parent_resource": "Api::NotificationResource", + "class_name": "Notifiable", "enum": [ - "avalara_accounts", - "taxjar_accounts", - "manual_tax_calculators", - "external_tax_calculators" + "orders", + "line_items" ] - }, - "customer_group": { - "type": "has_one", - "desc": "The associated customer group.", - "required": "optional", - "creatable": true, - "updatable": true, - "filterable": true, - "sortable": true, - "parent_resource": "Api::MarketResource", - "class_name": "CustomerGroup" - }, - "geocoder": { - "type": "has_one", - "desc": "The associated geocoder.", - "required": "optional", - "creatable": true, - "updatable": true, - "filterable": true, - "sortable": true, - "parent_resource": "Api::MarketResource", - "class_name": "Geocoder" - }, - "stores": { - "type": "has_many", - "desc": "The associated stores.", - "filterable": true, - "sortable": false, - "parent_resource": "Api::MarketResource", - "class_name": "Store" - }, - "price_list_schedulers": { - "type": "has_many", - "desc": "The associated price list schedulers.", - "filterable": true, - "sortable": false, - "parent_resource": "Api::MarketResource", - "class_name": "PriceListScheduler" - }, - "order_validation_rules": { - "type": "has_many", - "desc": "The associated order validation rules.", - "filterable": true, - "sortable": false, - "polymorphic": true, - "sti": true, - "deprecated": true, - "parent_resource": "Api::MarketResource", - "class_name": "OrderValidationRule" - }, - "attachments": { - "type": "has_many", - "desc": "The associated attachments.", - "filterable": true, - "sortable": false, - "parent_resource": "Api::MarketResource", - "class_name": "Attachment" - }, - "versions": { - "type": "has_many", - "desc": "The associated changes.", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": false, - "sortable": false, - "parent_resource": "Api::MarketResource", - "class_name": "Version" } }, "filters": [ "id", "name", - "code", - "disabled_at", + "flash", "created_at", "updated_at", "reference", "reference_origin", "metadata", "q", - "merchant_id", - "price_list_id", - "inventory_model_id", - "subscription_model_id", - "tax_calculator_id", - "customer_group_id", - "geocoder_id", - "stores_id", - "price_list_schedulers_id", - "order_validation_rules_id", - "attachments_id", - "ids", - "disabled_at_from", - "disabled_at_to", - "created_at_from", - "created_at_to", - "updated_at_from", - "updated_at_to" - ] - } - }, - { - "id": "merchant", - "type": "resources", - "attributes": { - "singleton": false, - "deprecated": false, - "actions": [ - "list", - "retrieve", - "create", - "update", - "delete" - ], - "examples": {}, - "filter_scopes": [], - "fields": { - "name": { - "type": "string", - "desc": "The merchant's internal name.", - "required": "required", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "The Brand Inc." - }, - "id": { - "format": "id", - "type": "string", - "desc": "Unique identifier for the resource (hash).", - "required": "required", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "XAyRWNUzyN" - }, - "created_at": { - "type": "datetime", - "desc": "Time at which the resource was created.", - "required": "required", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "2018-01-01T12:00:00.000Z" - }, - "updated_at": { - "type": "datetime", - "desc": "Time at which the resource was last updated.", - "required": "required", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "2018-01-01T12:00:00.000Z" - }, - "reference": { - "type": "string", - "desc": "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.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "ANY-EXTERNAL-REFEFERNCE" - }, - "reference_origin": { - "type": "string", - "desc": "Any identifier of the third party system that defines the reference code.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN" - }, - "metadata": { - "type": "object", - "desc": "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.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": true, - "sortable": false, - "example": { - "foo": "bar" - } - } - }, - "relationships": { - "address": { - "type": "has_one", - "desc": "The associated address.", - "required": "required", - "creatable": true, - "updatable": true, - "filterable": true, - "sortable": false, - "parent_resource": "Api::MerchantResource", - "class_name": "Address" - }, - "attachments": { - "type": "has_many", - "desc": "The associated attachments.", - "filterable": true, - "sortable": false, - "parent_resource": "Api::MerchantResource", - "class_name": "Attachment" - }, - "versions": { - "type": "has_many", - "desc": "The associated changes.", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": false, - "sortable": false, - "parent_resource": "Api::MerchantResource", - "class_name": "Version" - } - }, - "filters": [ - "id", - "name", - "created_at", - "updated_at", - "reference", - "reference_origin", - "metadata", - "q", - "address_id", - "attachments_id", "ids", "created_at_from", "created_at_to", @@ -16626,6 +17341,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -16663,7 +17380,7 @@ }, "affiliate_code": { "type": "string", - "desc": "The affiliate code, if any, the seller will transfer commission on shop by link transactions.", + "desc": "The affiliate code, if any, to track commissions using any third party services.", "required": "optional", "creatable": true, "updatable": true, @@ -17693,7 +18410,7 @@ "creatable": false, "updatable": false, "fetchable": true, - "filterable": false, + "filterable": true, "sortable": false, "example": { "foo": "bar" @@ -17922,6 +18639,18 @@ "sortable": false, "example": "false" }, + "_fix_payment_source": { + "type": "boolean", + "trigger": true, + "desc": "Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready for approval. Cannot be passed by sales channels.", + "prohibited": true, + "creatable": false, + "updatable": true, + "fetchable": false, + "filterable": false, + "sortable": false, + "example": "true" + }, "_billing_address_clone_id": { "type": "string", "desc": "The id of the address that you want to clone to create the order's billing address.", @@ -18409,6 +19138,17 @@ "wire_transfers" ] }, + "discount_engine_item": { + "type": "has_one", + "desc": "The associated external engine applied discount.", + "required": "optional", + "creatable": false, + "updatable": false, + "filterable": true, + "sortable": false, + "parent_resource": "Api::OrderResource", + "class_name": "DiscountEngineItem" + }, "line_items": { "type": "has_many", "desc": "The associated line items.", @@ -18571,6 +19311,14 @@ "parent_resource": "Api::OrderResource", "class_name": "Attachment" }, + "notifications": { + "type": "has_many", + "desc": "The associated notifications.", + "filterable": true, + "sortable": false, + "parent_resource": "Api::OrderResource", + "class_name": "Notification" + }, "links": { "type": "has_many", "desc": "The associated links.", @@ -18597,12 +19345,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::OrderResource", "class_name": "Tag" }, @@ -18646,6 +19395,7 @@ "total_amount_cents", "fees_amount_cents", "duty_amount_cents", + "payment_source_details", "token", "placed_at", "approved_at", @@ -18670,6 +19420,7 @@ "store_id", "payment_method_id", "payment_source_id", + "discount_engine_item_id", "line_items_id", "line_item_options_id", "stock_reservations_id", @@ -18688,6 +19439,7 @@ "order_copies_id", "recurring_order_copies_id", "attachments_id", + "notifications_id", "links_id", "resource_errors_id", "events_id", @@ -18722,6 +19474,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -18923,6 +19677,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -19132,6 +19888,18 @@ "sortable": false, "example": "true" }, + "skip_errors": { + "type": "boolean", + "desc": "Indicates to ignore any errors during copy.", + "required": "optional, default is 'false'", + "default": false, + "creatable": true, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "true" + }, "ignore_invalid_coupon": { "type": "boolean", "desc": "Indicates to ignore invalid coupon code during copy.", @@ -19224,6 +19992,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -19477,6 +20247,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -19875,12 +20647,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::OrderSubscriptionResource", "class_name": "Tag" }, @@ -19944,6 +20717,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -20233,6 +21008,8 @@ "attributes": { "singleton": false, "deprecated": true, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -20382,6 +21159,8 @@ "attributes": { "singleton": true, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "retrieve" ], @@ -20624,6 +21403,17 @@ "sortable": false, "example": "false" }, + "api_new_auth": { + "type": "boolean", + "default": true, + "desc": "Forces the usage of the new Authentication API.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "true" + }, "api_purge_single_resource": { "type": "boolean", "default": false, @@ -20635,6 +21425,17 @@ "sortable": false, "example": "false" }, + "api_max_regex_length": { + "type": "integer", + "default": 5000, + "desc": "The maximum length for the regular expressions, default is 5000.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "5000" + }, "addresses_phone_required": { "type": "boolean", "default": true, @@ -20800,6 +21601,17 @@ "sortable": false, "example": "true" }, + "imports_skip_errors": { + "type": "boolean", + "default": false, + "desc": "Disables the interruption of the import in case its errors exceeds the 10% threshold, default is false.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "false" + }, "promotions_max_concurrent_count": { "type": "integer", "default": 10, @@ -20822,6 +21634,40 @@ "sortable": false, "example": "false" }, + "discount_engines_enabled": { + "type": "boolean", + "default": false, + "addon": true, + "desc": "Enables the use of an external discount engine in place of the standard one, default is false.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "false" + }, + "discount_engines_errors": { + "type": "boolean", + "default": false, + "desc": "Enables raising of API errors in case of discount engine failure, default is false.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "false" + }, + "tags_max_name_length": { + "type": "integer", + "default": 25, + "desc": "The maximum length for the tag name, default is 25.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "25" + }, "tax_calculators_errors": { "type": "boolean", "default": false, @@ -20926,6 +21772,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -21144,6 +21992,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -21615,6 +22465,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -21823,6 +22675,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -21958,6 +22812,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -22316,6 +23172,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -22493,6 +23351,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -22664,6 +23524,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -22915,6 +23777,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -23289,12 +24153,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::PercentageDiscountPromotionResource", "class_name": "Tag" }, @@ -23366,6 +24231,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -23719,6 +24586,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -23938,6 +24807,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -24153,6 +25024,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -24406,6 +25279,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -24613,6 +25488,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -24832,6 +25709,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -25192,12 +26071,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::PromotionResource", "class_name": "Tag" }, @@ -25261,6 +26141,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -25415,6 +26297,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -25683,6 +26567,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -25922,6 +26808,33 @@ "parent_resource": "Api::TransactionResource", "class_name": "Order" }, + "payment_source": { + "type": "has_one", + "desc": "The associated payment source.", + "required": "optional", + "creatable": false, + "updatable": false, + "sortable": false, + "filterable": true, + "polymorphic": true, + "abstract": true, + "eager_load_on_include": false, + "parent_resource": "Api::TransactionResource", + "class_name": "PaymentSource", + "enum": [ + "adyen_payments", + "axerve_payments", + "braintree_payments", + "checkout_com_payments", + "credit_cards", + "external_payments", + "klarna_payments", + "paypal_payments", + "satispay_payments", + "stripe_payments", + "wire_transfers" + ] + }, "attachments": { "type": "has_many", "desc": "The associated attachments.", @@ -25993,6 +26906,7 @@ "metadata", "q", "order_id", + "payment_source_id", "attachments_id", "events_id", "reference_capture_id", @@ -26011,6 +26925,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -26166,6 +27082,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -26322,6 +27240,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -26791,12 +27711,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::ReturnResource", "class_name": "Tag" }, @@ -26870,6 +27791,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -27129,6 +28052,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -27332,6 +28257,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -27565,6 +28492,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -28214,12 +29143,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::ShipmentResource", "class_name": "Tag" }, @@ -28303,6 +29233,8 @@ "attributes": { "singleton": false, "deprecated": true, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -28549,6 +29481,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -28706,6 +29640,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -29185,6 +30121,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -29391,6 +30329,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -29600,6 +30540,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -29621,9 +30563,21 @@ "sortable": true, "example": "Europe (main countries)" }, + "id": { + "format": "id", + "type": "string", + "desc": "Unique identifier for the resource (hash).", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "XAyRWNUzyN" + }, "country_code_regex": { "type": "string", - "desc": "The regex that will be evaluated to match the shipping address country code.", + "desc": "The regex that will be evaluated to match the shipping address country code, max size is 5000.", "required": "optional", "creatable": true, "updatable": true, @@ -29634,7 +30588,7 @@ }, "not_country_code_regex": { "type": "string", - "desc": "The regex that will be evaluated as negative match for the shipping address country code.", + "desc": "The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.", "required": "optional", "creatable": true, "updatable": true, @@ -29645,7 +30599,7 @@ }, "state_code_regex": { "type": "string", - "desc": "The regex that will be evaluated to match the shipping address state code.", + "desc": "The regex that will be evaluated to match the shipping address state code, max size is 5000.", "required": "optional", "creatable": true, "updatable": true, @@ -29656,7 +30610,7 @@ }, "not_state_code_regex": { "type": "string", - "desc": "The regex that will be evaluated as negative match for the shipping address state code.", + "desc": "The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.", "required": "optional", "creatable": true, "updatable": true, @@ -29667,7 +30621,7 @@ }, "zip_code_regex": { "type": "string", - "desc": "The regex that will be evaluated to match the shipping address zip code.", + "desc": "The regex that will be evaluated to match the shipping address zip code, max size is 5000.", "required": "optional", "creatable": true, "updatable": true, @@ -29678,7 +30632,7 @@ }, "not_zip_code_regex": { "type": "string", - "desc": "The regex that will be evaluated as negative match for the shipping zip country code.", + "desc": "The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.", "required": "optional", "creatable": true, "updatable": true, @@ -29687,18 +30641,6 @@ "sortable": false, "example": "(?i)(JE1|JE2|JE3)" }, - "id": { - "format": "id", - "type": "string", - "desc": "Unique identifier for the resource (hash).", - "required": "required", - "creatable": false, - "updatable": false, - "fetchable": true, - "filterable": true, - "sortable": true, - "example": "XAyRWNUzyN" - }, "created_at": { "type": "datetime", "desc": "Time at which the resource was created.", @@ -29802,6 +30744,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -30198,12 +31142,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::SkuResource", "class_name": "Tag" }, @@ -30286,6 +31231,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -30359,7 +31306,7 @@ }, "sku_code_regex": { "type": "string", - "desc": "The regex that will be evaluated to match the SKU codes.", + "desc": "The regex that will be evaluated to match the SKU codes, max size is 5000.", "required": "required, if manual is falsy", "creatable": true, "updatable": true, @@ -30531,6 +31478,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -30705,6 +31654,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -30903,6 +31854,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -31002,7 +31955,7 @@ }, "sku_code_regex": { "type": "string", - "desc": "The regex that will be evaluated to match the SKU codes.", + "desc": "The regex that will be evaluated to match the SKU codes, max size is 5000.", "required": "optional", "creatable": true, "updatable": true, @@ -31111,12 +32064,13 @@ }, "tags": { "type": "has_many", - "desc": "The associated tags.", + "desc": "The associated tags. Cannot be passed by sales channels.", "creatable": true, "fetchable": true, "updatable": true, "filterable": true, "sortable": false, + "prohibited": true, "parent_resource": "Api::SkuOptionResource", "class_name": "Tag" }, @@ -31164,6 +32118,8 @@ "attributes": { "singleton": false, "deprecated": true, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -31324,6 +32280,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -31531,6 +32489,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -31780,6 +32740,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -32014,6 +32976,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -32258,6 +33222,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -32312,10 +33278,10 @@ }, "quantity": { "type": "integer", - "desc": "The stock quantity to be transferred from the origin stock location to destination one.", + "desc": "The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability.", "required": "required", "creatable": true, - "updatable": false, + "updatable": true, "fetchable": true, "filterable": true, "sortable": true, @@ -32656,6 +33622,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -32852,6 +33820,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -33075,6 +34045,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -33350,6 +34322,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -33491,41 +34465,158 @@ } } }, - "relationships": { - "markets": { - "type": "has_many", - "desc": "The associated markets.", - "parent_resource": "Api::SubscriptionModelResource", - "class_name": "Market" - }, - "order_subscriptions": { - "type": "has_many", - "desc": "The associated order subscriptions.", - "parent_resource": "Api::SubscriptionModelResource", - "class_name": "OrderSubscription" - }, - "attachments": { - "type": "has_many", - "desc": "The associated attachments.", - "filterable": true, - "sortable": false, - "parent_resource": "Api::SubscriptionModelResource", - "class_name": "Attachment" - } - }, + "relationships": { + "markets": { + "type": "has_many", + "desc": "The associated markets.", + "parent_resource": "Api::SubscriptionModelResource", + "class_name": "Market" + }, + "order_subscriptions": { + "type": "has_many", + "desc": "The associated order subscriptions.", + "parent_resource": "Api::SubscriptionModelResource", + "class_name": "OrderSubscription" + }, + "attachments": { + "type": "has_many", + "desc": "The associated attachments.", + "filterable": true, + "sortable": false, + "parent_resource": "Api::SubscriptionModelResource", + "class_name": "Attachment" + } + }, + "filters": [ + "id", + "name", + "strategy", + "auto_activate", + "auto_cancel", + "created_at", + "updated_at", + "reference", + "reference_origin", + "metadata", + "q", + "attachments_id", + "ids", + "created_at_from", + "created_at_to", + "updated_at_from", + "updated_at_to" + ] + } + }, + { + "id": "tag", + "type": "resources", + "attributes": { + "singleton": false, + "deprecated": false, + "addon": false, + "hidden": false, + "actions": [ + "list", + "retrieve", + "create", + "update", + "delete" + ], + "examples": {}, + "filter_scopes": [], + "fields": { + "name": { + "type": "string", + "desc": "The tag name.", + "required": "required", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "new_campaign" + }, + "id": { + "format": "id", + "type": "string", + "desc": "Unique identifier for the resource (hash).", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "XAyRWNUzyN" + }, + "created_at": { + "type": "datetime", + "desc": "Time at which the resource was created.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "updated_at": { + "type": "datetime", + "desc": "Time at which the resource was last updated.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "2018-01-01T12:00:00.000Z" + }, + "reference": { + "type": "string", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE" + }, + "reference_origin": { + "type": "string", + "desc": "Any identifier of the third party system that defines the reference code.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "ANY-EXTERNAL-REFEFERNCE-ORIGIN" + }, + "metadata": { + "type": "object", + "desc": "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.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": true, + "sortable": false, + "example": { + "foo": "bar" + } + } + }, + "relationships": {}, "filters": [ "id", "name", - "strategy", - "auto_activate", - "auto_cancel", "created_at", "updated_at", "reference", "reference_origin", "metadata", "q", - "attachments_id", "ids", "created_at_from", "created_at_to", @@ -33535,11 +34626,13 @@ } }, { - "id": "tag", + "id": "talon_one_account", "type": "resources", "attributes": { "singleton": false, "deprecated": false, + "addon": true, + "hidden": true, "actions": [ "list", "retrieve", @@ -33552,14 +34645,39 @@ "fields": { "name": { "type": "string", - "desc": "The tag name.", + "desc": "The discount engine's internal name.", "required": "required", "creatable": true, "updatable": true, "fetchable": true, "filterable": true, "sortable": true, - "example": "new_campaign" + "example": "Personal discount engine" + }, + "type": { + "type": "string", + "desc": "The discount engine's type.", + "required": "required", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": true, + "sortable": true, + "example": "talon_one_accounts", + "enum": [ + "talon_one_accounts" + ] + }, + "manage_gift_cards": { + "type": "boolean", + "desc": "Indicates if the discount engine manages both promotions and gift cards application at once.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "delegate": "manage_gift_cards?", + "example": true }, "id": { "format": "id", @@ -33629,18 +34747,74 @@ "example": { "foo": "bar" } + }, + "api_key": { + "type": "string", + "desc": "The Talon.One account API key.", + "required": "required", + "creatable": true, + "updatable": true, + "fetchable": false, + "filterable": false, + "sortable": true, + "example": "TALON_ONE_API_KEY" + }, + "baseurl": { + "type": "string", + "desc": "The Talon.One API baseurl (excluding the talon.io domain).", + "required": "required", + "creatable": true, + "updatable": true, + "fetchable": false, + "filterable": false, + "sortable": true, + "example": "yourbaseurl" + } + }, + "relationships": { + "markets": { + "type": "has_many", + "desc": "The associated markets.", + "parent_resource": "Api::TalonOneAccountResource", + "class_name": "Market" + }, + "discount_engine_items": { + "type": "has_many", + "desc": "The associated discount engine items.", + "parent_resource": "Api::TalonOneAccountResource", + "class_name": "DiscountEngineItem" + }, + "attachments": { + "type": "has_many", + "desc": "The associated attachments.", + "filterable": true, + "sortable": false, + "parent_resource": "Api::TalonOneAccountResource", + "class_name": "Attachment" + }, + "versions": { + "type": "has_many", + "desc": "The associated changes.", + "creatable": false, + "updatable": false, + "fetchable": true, + "filterable": false, + "sortable": false, + "parent_resource": "Api::TalonOneAccountResource", + "class_name": "Version" } }, - "relationships": {}, "filters": [ "id", "name", + "type", "created_at", "updated_at", "reference", "reference_origin", "metadata", "q", + "attachments_id", "ids", "created_at_from", "created_at_to", @@ -33655,6 +34829,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -33812,6 +34988,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -33991,6 +35169,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -34023,72 +35203,6 @@ "sortable": true, "example": "0.22" }, - "country_code_regex": { - "type": "string", - "desc": "The regex that will be evaluated to match the shipping address country code.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": false, - "sortable": false, - "example": "AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT" - }, - "not_country_code_regex": { - "type": "string", - "desc": "The regex that will be evaluated as negative match for the shipping address country code.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": false, - "sortable": false, - "example": "AT|BE|BG|CZ|DK|EE|DE" - }, - "state_code_regex": { - "type": "string", - "desc": "The regex that will be evaluated to match the shipping address state code.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": false, - "sortable": false, - "example": "A[KLRZ]|C[AOT]|D[CE]|FL" - }, - "not_state_code_regex": { - "type": "string", - "desc": "The regex that will be evaluated as negative match for the shipping address state code.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": false, - "sortable": false, - "example": "A[KLRZ]|C[AOT]" - }, - "zip_code_regex": { - "type": "string", - "desc": "The regex that will be evaluated to match the shipping address zip code.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": false, - "sortable": false, - "example": "(?i)(JE1|JE2|JE3|JE4|JE5)" - }, - "not_zip_code_regex": { - "type": "string", - "desc": "The regex that will be evaluated as negative match for the shipping zip country code.", - "required": "optional", - "creatable": true, - "updatable": true, - "fetchable": true, - "filterable": false, - "sortable": false, - "example": "(?i)(JE1|JE2|JE3)" - }, "freight_taxable": { "type": "boolean", "desc": "Indicates if the freight is taxable.", @@ -34159,6 +35273,72 @@ "sortable": true, "example": "XAyRWNUzyN" }, + "country_code_regex": { + "type": "string", + "desc": "The regex that will be evaluated to match the shipping address country code, max size is 5000.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT" + }, + "not_country_code_regex": { + "type": "string", + "desc": "The regex that will be evaluated as negative match for the shipping address country code, max size is 5000.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "AT|BE|BG|CZ|DK|EE|DE" + }, + "state_code_regex": { + "type": "string", + "desc": "The regex that will be evaluated to match the shipping address state code, max size is 5000.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "A[KLRZ]|C[AOT]|D[CE]|FL" + }, + "not_state_code_regex": { + "type": "string", + "desc": "The regex that will be evaluated as negative match for the shipping address state code, max size is 5000.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "A[KLRZ]|C[AOT]" + }, + "zip_code_regex": { + "type": "string", + "desc": "The regex that will be evaluated to match the shipping address zip code, max size is 5000.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "(?i)(JE1|JE2|JE3|JE4|JE5)" + }, + "not_zip_code_regex": { + "type": "string", + "desc": "The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000.", + "required": "optional", + "creatable": true, + "updatable": true, + "fetchable": true, + "filterable": false, + "sortable": false, + "example": "(?i)(JE1|JE2|JE3)" + }, "created_at": { "type": "datetime", "desc": "Time at which the resource was created.", @@ -34271,6 +35451,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -34452,6 +35634,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -34690,6 +35874,33 @@ "parent_resource": "Api::TransactionResource", "class_name": "Order" }, + "payment_source": { + "type": "has_one", + "desc": "The associated payment source.", + "required": "optional", + "creatable": false, + "updatable": false, + "sortable": false, + "filterable": true, + "polymorphic": true, + "abstract": true, + "eager_load_on_include": false, + "parent_resource": "Api::TransactionResource", + "class_name": "PaymentSource", + "enum": [ + "adyen_payments", + "axerve_payments", + "braintree_payments", + "checkout_com_payments", + "credit_cards", + "external_payments", + "klarna_payments", + "paypal_payments", + "satispay_payments", + "stripe_payments", + "wire_transfers" + ] + }, "attachments": { "type": "has_many", "desc": "The associated attachments.", @@ -34737,6 +35948,7 @@ "metadata", "q", "order_id", + "payment_source_id", "attachments_id", "events_id", "ids", @@ -34753,6 +35965,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve" @@ -34944,6 +36158,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -35183,6 +36399,33 @@ "parent_resource": "Api::TransactionResource", "class_name": "Order" }, + "payment_source": { + "type": "has_one", + "desc": "The associated payment source.", + "required": "optional", + "creatable": false, + "updatable": false, + "sortable": false, + "filterable": true, + "polymorphic": true, + "abstract": true, + "eager_load_on_include": false, + "parent_resource": "Api::TransactionResource", + "class_name": "PaymentSource", + "enum": [ + "adyen_payments", + "axerve_payments", + "braintree_payments", + "checkout_com_payments", + "credit_cards", + "external_payments", + "klarna_payments", + "paypal_payments", + "satispay_payments", + "stripe_payments", + "wire_transfers" + ] + }, "attachments": { "type": "has_many", "desc": "The associated attachments.", @@ -35242,6 +36485,7 @@ "metadata", "q", "order_id", + "payment_source_id", "attachments_id", "events_id", "reference_authorization_id", @@ -35259,6 +36503,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", @@ -35530,6 +36776,8 @@ "attributes": { "singleton": false, "deprecated": false, + "addon": false, + "hidden": false, "actions": [ "list", "retrieve", diff --git a/package.json b/package.json index 02dc630c..e3a757d4 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@types/debug": "^4.1.12", "@types/jest": "^29.5.14", "@types/node": "^22.10.1", - "dotenv": "^16.4.5", + "dotenv": "^16.4.7", "eslint": "^8.57.1", "jest": "^29.7.0", "json-typescript": "^1.1.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2eb02cd1..7456dd54 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: ^22.10.1 version: 22.10.1 dotenv: - specifier: ^16.4.5 - version: 16.4.5 + specifier: ^16.4.7 + version: 16.4.7 eslint: specifier: ^8.57.1 version: 8.57.1 @@ -79,26 +79,22 @@ packages: resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} engines: {node: '>=6.9.0'} - '@babel/compat-data@7.26.2': - resolution: {integrity: sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==} + '@babel/compat-data@7.26.3': + resolution: {integrity: sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==} engines: {node: '>=6.9.0'} '@babel/core@7.26.0': resolution: {integrity: sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==} engines: {node: '>=6.9.0'} - '@babel/generator@7.26.2': - resolution: {integrity: sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw==} + '@babel/generator@7.26.3': + resolution: {integrity: sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==} engines: {node: '>=6.9.0'} '@babel/helper-annotate-as-pure@7.25.9': resolution: {integrity: sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==} engines: {node: '>=6.9.0'} - '@babel/helper-builder-binary-assignment-operator-visitor@7.25.9': - resolution: {integrity: sha512-C47lC7LIDCnz0h4vai/tpNOI95tCd5ZT3iBt/DBH5lXKHZsyNQv18yf1wIIg2ntiQNgmAvA+DgZ82iW8Qdym8g==} - engines: {node: '>=6.9.0'} - '@babel/helper-compilation-targets@7.25.9': resolution: {integrity: sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==} engines: {node: '>=6.9.0'} @@ -109,8 +105,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0 - '@babel/helper-create-regexp-features-plugin@7.25.9': - resolution: {integrity: sha512-ORPNZ3h6ZRkOyAa/SaHU+XsLZr0UQzRwuDQ0cczIA17nAzZ+85G5cVkOJIj7QavLZGSe8QXUmNFxSZzjcZF9bw==} + '@babel/helper-create-regexp-features-plugin@7.26.3': + resolution: {integrity: sha512-G7ZRb40uUgdKOQqPLjfD12ZmGA54PzqDFUv2BKImnC9QIfGhIHKvVML0oN8IUiDq4iRqpq74ABpvOaerfWdong==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 @@ -154,10 +150,6 @@ packages: peerDependencies: '@babel/core': ^7.0.0 - '@babel/helper-simple-access@7.25.9': - resolution: {integrity: sha512-c6WHXuiaRsJTyHYLJV75t9IqsmTbItYfdj99PnzYGQZkYKvan5/2jKJ7gu31J3/BJ/A18grImSPModuyG/Eo0Q==} - engines: {node: '>=6.9.0'} - '@babel/helper-skip-transparent-expression-wrappers@7.25.9': resolution: {integrity: sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA==} engines: {node: '>=6.9.0'} @@ -182,8 +174,8 @@ packages: resolution: {integrity: sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==} engines: {node: '>=6.9.0'} - '@babel/parser@7.26.2': - resolution: {integrity: sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==} + '@babel/parser@7.26.3': + resolution: {integrity: sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==} engines: {node: '>=6.0.0'} hasBin: true @@ -410,8 +402,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-exponentiation-operator@7.25.9': - resolution: {integrity: sha512-KRhdhlVk2nObA5AYa7QMgTMTVJdfHprfpAk4DjZVtllqRg9qarilstTKEhpVjyt+Npi8ThRyiV8176Am3CodPA==} + '@babel/plugin-transform-exponentiation-operator@7.26.3': + resolution: {integrity: sha512-7CAHcQ58z2chuXPWblnn1K6rLDnDWieghSOEmqQsrBenH0P9InCUtOJYD89pvngljmZlJcz3fcmgYsXFNGa1ZQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -464,8 +456,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-modules-commonjs@7.25.9': - resolution: {integrity: sha512-dwh2Ol1jWwL2MgkCzUSOvfmKElqQcuswAZypBSUsScMXvgdT8Ekq5YA6TtqpTVWH+4903NmboMuH1o9i8Rxlyg==} + '@babel/plugin-transform-modules-commonjs@7.26.3': + resolution: {integrity: sha512-MgR55l4q9KddUDITEzEFYn5ZsGDXMSsU9E+kh7fjRXTIC3RHqfCo8RPRbyReYJh44HQ/yomFkqbOFohXvDCiIQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -602,8 +594,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-typescript@7.25.9': - resolution: {integrity: sha512-7PbZQZP50tzv2KGGnhh82GSyMB01yKY9scIjf1a+GfZCtInOWqUH5+1EBU4t9fyR5Oykkkc9vFTs4OHrhHXljQ==} + '@babel/plugin-transform-typescript@7.26.3': + resolution: {integrity: sha512-6+5hpdr6mETwSKjmJUdYw0EIkATiQhnELWlE3kJFBwSg/BGIVwVaVbX+gOXBCdc7Ln1RXZxyWGecIXhUfnl7oA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -657,12 +649,12 @@ packages: resolution: {integrity: sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.25.9': - resolution: {integrity: sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==} + '@babel/traverse@7.26.4': + resolution: {integrity: sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w==} engines: {node: '>=6.9.0'} - '@babel/types@7.26.0': - resolution: {integrity: sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==} + '@babel/types@7.26.3': + resolution: {integrity: sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==} engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@0.2.3': @@ -1177,93 +1169,98 @@ packages: resolution: {integrity: sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw==} engines: {node: '>=12'} - '@rollup/rollup-android-arm-eabi@4.27.4': - resolution: {integrity: sha512-2Y3JT6f5MrQkICUyRVCw4oa0sutfAsgaSsb0Lmmy1Wi2y7X5vT9Euqw4gOsCyy0YfKURBg35nhUKZS4mDcfULw==} + '@rollup/rollup-android-arm-eabi@4.28.1': + resolution: {integrity: sha512-2aZp8AES04KI2dy3Ss6/MDjXbwBzj+i0GqKtWXgw2/Ma6E4jJvujryO6gJAghIRVz7Vwr9Gtl/8na3nDUKpraQ==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.27.4': - resolution: {integrity: sha512-wzKRQXISyi9UdCVRqEd0H4cMpzvHYt1f/C3CoIjES6cG++RHKhrBj2+29nPF0IB5kpy9MS71vs07fvrNGAl/iA==} + '@rollup/rollup-android-arm64@4.28.1': + resolution: {integrity: sha512-EbkK285O+1YMrg57xVA+Dp0tDBRB93/BZKph9XhMjezf6F4TpYjaUSuPt5J0fZXlSag0LmZAsTmdGGqPp4pQFA==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.27.4': - resolution: {integrity: sha512-PlNiRQapift4LNS8DPUHuDX/IdXiLjf8mc5vdEmUR0fF/pyy2qWwzdLjB+iZquGr8LuN4LnUoSEvKRwjSVYz3Q==} + '@rollup/rollup-darwin-arm64@4.28.1': + resolution: {integrity: sha512-prduvrMKU6NzMq6nxzQw445zXgaDBbMQvmKSJaxpaZ5R1QDM8w+eGxo6Y/jhT/cLoCvnZI42oEqf9KQNYz1fqQ==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.27.4': - resolution: {integrity: sha512-o9bH2dbdgBDJaXWJCDTNDYa171ACUdzpxSZt+u/AAeQ20Nk5x+IhA+zsGmrQtpkLiumRJEYef68gcpn2ooXhSQ==} + '@rollup/rollup-darwin-x64@4.28.1': + resolution: {integrity: sha512-WsvbOunsUk0wccO/TV4o7IKgloJ942hVFK1CLatwv6TJspcCZb9umQkPdvB7FihmdxgaKR5JyxDjWpCOp4uZlQ==} cpu: [x64] os: [darwin] - '@rollup/rollup-freebsd-arm64@4.27.4': - resolution: {integrity: sha512-NBI2/i2hT9Q+HySSHTBh52da7isru4aAAo6qC3I7QFVsuhxi2gM8t/EI9EVcILiHLj1vfi+VGGPaLOUENn7pmw==} + '@rollup/rollup-freebsd-arm64@4.28.1': + resolution: {integrity: sha512-HTDPdY1caUcU4qK23FeeGxCdJF64cKkqajU0iBnTVxS8F7H/7BewvYoG+va1KPSL63kQ1PGNyiwKOfReavzvNA==} cpu: [arm64] os: [freebsd] - '@rollup/rollup-freebsd-x64@4.27.4': - resolution: {integrity: sha512-wYcC5ycW2zvqtDYrE7deary2P2UFmSh85PUpAx+dwTCO9uw3sgzD6Gv9n5X4vLaQKsrfTSZZ7Z7uynQozPVvWA==} + '@rollup/rollup-freebsd-x64@4.28.1': + resolution: {integrity: sha512-m/uYasxkUevcFTeRSM9TeLyPe2QDuqtjkeoTpP9SW0XxUWfcYrGDMkO/m2tTw+4NMAF9P2fU3Mw4ahNvo7QmsQ==} cpu: [x64] os: [freebsd] - '@rollup/rollup-linux-arm-gnueabihf@4.27.4': - resolution: {integrity: sha512-9OwUnK/xKw6DyRlgx8UizeqRFOfi9mf5TYCw1uolDaJSbUmBxP85DE6T4ouCMoN6pXw8ZoTeZCSEfSaYo+/s1w==} + '@rollup/rollup-linux-arm-gnueabihf@4.28.1': + resolution: {integrity: sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.27.4': - resolution: {integrity: sha512-Vgdo4fpuphS9V24WOV+KwkCVJ72u7idTgQaBoLRD0UxBAWTF9GWurJO9YD9yh00BzbkhpeXtm6na+MvJU7Z73A==} + '@rollup/rollup-linux-arm-musleabihf@4.28.1': + resolution: {integrity: sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.27.4': - resolution: {integrity: sha512-pleyNgyd1kkBkw2kOqlBx+0atfIIkkExOTiifoODo6qKDSpnc6WzUY5RhHdmTdIJXBdSnh6JknnYTtmQyobrVg==} + '@rollup/rollup-linux-arm64-gnu@4.28.1': + resolution: {integrity: sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.27.4': - resolution: {integrity: sha512-caluiUXvUuVyCHr5DxL8ohaaFFzPGmgmMvwmqAITMpV/Q+tPoaHZ/PWa3t8B2WyoRcIIuu1hkaW5KkeTDNSnMA==} + '@rollup/rollup-linux-arm64-musl@4.28.1': + resolution: {integrity: sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.27.4': - resolution: {integrity: sha512-FScrpHrO60hARyHh7s1zHE97u0KlT/RECzCKAdmI+LEoC1eDh/RDji9JgFqyO+wPDb86Oa/sXkily1+oi4FzJQ==} + '@rollup/rollup-linux-loongarch64-gnu@4.28.1': + resolution: {integrity: sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==} + cpu: [loong64] + os: [linux] + + '@rollup/rollup-linux-powerpc64le-gnu@4.28.1': + resolution: {integrity: sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.27.4': - resolution: {integrity: sha512-qyyprhyGb7+RBfMPeww9FlHwKkCXdKHeGgSqmIXw9VSUtvyFZ6WZRtnxgbuz76FK7LyoN8t/eINRbPUcvXB5fw==} + '@rollup/rollup-linux-riscv64-gnu@4.28.1': + resolution: {integrity: sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.27.4': - resolution: {integrity: sha512-PFz+y2kb6tbh7m3A7nA9++eInGcDVZUACulf/KzDtovvdTizHpZaJty7Gp0lFwSQcrnebHOqxF1MaKZd7psVRg==} + '@rollup/rollup-linux-s390x-gnu@4.28.1': + resolution: {integrity: sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.27.4': - resolution: {integrity: sha512-Ni8mMtfo+o/G7DVtweXXV/Ol2TFf63KYjTtoZ5f078AUgJTmaIJnj4JFU7TK/9SVWTaSJGxPi5zMDgK4w+Ez7Q==} + '@rollup/rollup-linux-x64-gnu@4.28.1': + resolution: {integrity: sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.27.4': - resolution: {integrity: sha512-5AeeAF1PB9TUzD+3cROzFTnAJAcVUGLuR8ng0E0WXGkYhp6RD6L+6szYVX+64Rs0r72019KHZS1ka1q+zU/wUw==} + '@rollup/rollup-linux-x64-musl@4.28.1': + resolution: {integrity: sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==} cpu: [x64] os: [linux] - '@rollup/rollup-win32-arm64-msvc@4.27.4': - resolution: {integrity: sha512-yOpVsA4K5qVwu2CaS3hHxluWIK5HQTjNV4tWjQXluMiiiu4pJj4BN98CvxohNCpcjMeTXk/ZMJBRbgRg8HBB6A==} + '@rollup/rollup-win32-arm64-msvc@4.28.1': + resolution: {integrity: sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.27.4': - resolution: {integrity: sha512-KtwEJOaHAVJlxV92rNYiG9JQwQAdhBlrjNRp7P9L8Cb4Rer3in+0A+IPhJC9y68WAi9H0sX4AiG2NTsVlmqJeQ==} + '@rollup/rollup-win32-ia32-msvc@4.28.1': + resolution: {integrity: sha512-ZkyTJ/9vkgrE/Rk9vhMXhf8l9D+eAhbAVbsGsXKy2ohmJaWg0LPQLnIxRdRp/bKyr8tXuPlXhIoGlEB5XpJnGA==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.27.4': - resolution: {integrity: sha512-3j4jx1TppORdTAoBJRd+/wJRGCPC0ETWkXOecJ6PPZLj6SptXkrXcNqdj0oclbKML6FkQltdz7bBA3rUSirZug==} + '@rollup/rollup-win32-x64-msvc@4.28.1': + resolution: {integrity: sha512-ZvK2jBafvttJjoIdKm/Q/Bh7IJ1Ose9IBOwpOXcOvW3ikGTQGmKDgxTC6oCAzW6PynbkKP8+um1du81XJHZ0JA==} cpu: [x64] os: [win32] @@ -1484,8 +1481,8 @@ packages: resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} engines: {node: ^18.18.0 || >=20.0.0} - '@ungap/structured-clone@1.2.0': - resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + '@ungap/structured-clone@1.2.1': + resolution: {integrity: sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==} acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} @@ -1497,8 +1494,8 @@ packages: engines: {node: '>=0.4.0'} hasBin: true - agent-base@7.1.1: - resolution: {integrity: sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==} + agent-base@7.1.3: + resolution: {integrity: sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==} engines: {node: '>= 14'} aggregate-error@3.1.0: @@ -1678,8 +1675,12 @@ packages: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} - call-bind@1.0.7: - resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} + call-bind-apply-helpers@1.0.1: + resolution: {integrity: sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==} + engines: {node: '>= 0.4'} + + call-bind@1.0.8: + resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==} engines: {node: '>= 0.4'} callsites@3.1.0: @@ -1694,8 +1695,8 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - caniuse-lite@1.0.30001684: - resolution: {integrity: sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==} + caniuse-lite@1.0.30001687: + resolution: {integrity: sha512-0S/FDhf4ZiqrTUiQ39dKeUjYRjkv7lOZU1Dgif2rIqrTzX/1wV2hfKu9TOm1IHkdSijfLswxTFzl/cvir+SLSQ==} chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} @@ -1858,8 +1859,8 @@ packages: supports-color: optional: true - debug@4.3.7: - resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==} + debug@4.4.0: + resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==} engines: {node: '>=6.0'} peerDependencies: supports-color: '*' @@ -1918,18 +1919,22 @@ packages: resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==} engines: {node: '>=8'} - dotenv@16.4.5: - resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} + dotenv@16.4.7: + resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==} engines: {node: '>=12'} + dunder-proto@1.0.0: + resolution: {integrity: sha512-9+Sj30DIu+4KvHqMfLUGLFYL2PkURSYMVXJyXe92nFRvlYq5hBjLEhblKB+vkd/WVlUYMWigiY07T91Fkk0+4A==} + engines: {node: '>= 0.4'} + duplexer2@0.1.4: resolution: {integrity: sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==} eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - electron-to-chromium@1.5.67: - resolution: {integrity: sha512-nz88NNBsD7kQSAGGJyp8hS6xSPtWwqNogA0mjtc2nUYeEf3nURK9qpV18TuBdDmEDgVWotS8Wkzf+V52dSQ/LQ==} + electron-to-chromium@1.5.72: + resolution: {integrity: sha512-ZpSAUOZ2Izby7qnZluSrAlGgGQzucmFbN0n64dYzocYxnxV5ufurpj3VgEe4cUp7ir9LmeLxNYo8bVnlM8bQHw==} emittery@0.13.1: resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} @@ -1963,8 +1968,8 @@ packages: resolution: {integrity: sha512-vlmniQ0WNPwXqA0BnmwV3Ng7HxiGlh6r5U6JcTMNx8OilcAGqVJBHJcPjqOMaczU9fRuRK5Px2BdVyPRnKMMVQ==} engines: {node: '>= 0.4'} - es-define-property@1.0.0: - resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} + es-define-property@1.0.1: + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} engines: {node: '>= 0.4'} es-errors@1.3.0: @@ -2160,8 +2165,8 @@ packages: resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} engines: {node: '>=16.17'} - execa@9.5.1: - resolution: {integrity: sha512-QY5PPtSonnGwhhHDNI7+3RvY285c7iuJFFB+lU+oEzMY/gEGJ808owqJsrr8Otd1E/x07po1LkUBmdAc5duPAg==} + execa@9.5.2: + resolution: {integrity: sha512-EHlpxMCpHWSAh1dgS6bVeoLAXGnJNdR93aabr4QCGbzOM73o5XmRfM/e5FUqsw3aagP8S8XEWUWFAxnRBnAF0Q==} engines: {node: ^18.19.0 || >=20.5.0} exit@0.1.2: @@ -2289,8 +2294,8 @@ packages: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} - get-intrinsic@1.2.4: - resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} + get-intrinsic@1.2.5: + resolution: {integrity: sha512-Y4+pKa7XeRUPWFNvOOYHkRYrfzW07oraURSvjDmRVOJ748OrVmeXtpE4+GCEHncjCjkTxPNRt8kEbxDhsn6VTg==} engines: {node: '>= 0.4'} get-package-type@0.1.0: @@ -2359,8 +2364,9 @@ packages: resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==} engines: {node: '>=18'} - gopd@1.0.1: - resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + gopd@1.2.0: + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} graceful-fs@4.2.10: resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} @@ -2390,12 +2396,12 @@ packages: has-property-descriptors@1.0.2: resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} - has-proto@1.0.3: - resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} + has-proto@1.2.0: + resolution: {integrity: sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==} engines: {node: '>= 0.4'} - has-symbols@1.0.3: - resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + has-symbols@1.1.0: + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} engines: {node: '>= 0.4'} has-tostringtag@1.0.2: @@ -2428,8 +2434,8 @@ packages: resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} engines: {node: '>= 14'} - https-proxy-agent@7.0.5: - resolution: {integrity: sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==} + https-proxy-agent@7.0.6: + resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==} engines: {node: '>= 14'} human-signals@2.1.0: @@ -2509,11 +2515,12 @@ packages: resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==} engines: {node: '>= 0.4'} - is-bigint@1.0.4: - resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} + is-bigint@1.1.0: + resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==} + engines: {node: '>= 0.4'} - is-boolean-object@1.1.2: - resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} + is-boolean-object@1.2.0: + resolution: {integrity: sha512-kR5g0+dXf/+kXnqI+lu0URKYPKgICtHGGNCDSB10AaUFj3o/HkB3u7WfpRBJGFopxxY0oH3ux7ZsDjLtK7xqvw==} engines: {node: '>= 0.4'} is-builtin-module@3.2.1: @@ -2568,8 +2575,8 @@ packages: resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==} engines: {node: '>= 0.4'} - is-number-object@1.0.7: - resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} + is-number-object@1.1.0: + resolution: {integrity: sha512-KVSZV0Dunv9DTPkhXwcZ3Q+tUc9TsaE1ZwX5J2WMvsSGS6Md8TFPun5uwh0yRdrNerI6vf/tbJxqSx4c1ZI1Lw==} engines: {node: '>= 0.4'} is-number@7.0.0: @@ -2588,8 +2595,8 @@ packages: resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} engines: {node: '>=12'} - is-regex@1.1.4: - resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} + is-regex@1.2.0: + resolution: {integrity: sha512-B6ohK4ZmoftlUe+uvenXSbPJFo6U37BH7oO1B3nQH8f/7h27N56s85MhUtbFJAziz5dcmuR3i8ovUl35zp8pFA==} engines: {node: '>= 0.4'} is-set@2.0.3: @@ -2612,12 +2619,12 @@ packages: resolution: {integrity: sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==} engines: {node: '>=18'} - is-string@1.0.7: - resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} + is-string@1.1.0: + resolution: {integrity: sha512-PlfzajuF9vSo5wErv3MJAKD/nqf9ngAs1NFQYm16nUYFO2IzxJ2hcm+IOCg+EEopdykNNUhVq5cz35cAUxU8+g==} engines: {node: '>= 0.4'} - is-symbol@1.0.4: - resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} + is-symbol@1.1.0: + resolution: {integrity: sha512-qS8KkNNXUZ/I+nX6QT8ZS1/Yx0A444yhzdTKxCzKkNjQ9sHErBxJnJAgh+f5YhusYECEcjo4XcyH87hn6+ks0A==} engines: {node: '>= 0.4'} is-typed-array@1.1.13: @@ -2832,6 +2839,11 @@ packages: engines: {node: '>=6'} hasBin: true + jsesc@3.1.0: + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} + engines: {node: '>=6'} + hasBin: true + json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} @@ -2880,8 +2892,8 @@ packages: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} - lilconfig@3.1.2: - resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} + lilconfig@3.1.3: + resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==} engines: {node: '>=14'} lines-and-columns@1.2.4: @@ -3025,15 +3037,15 @@ packages: nerf-dart@1.0.0: resolution: {integrity: sha512-EZSPZB70jiVsivaBLYDCyntd5eH8NTSMOn3rB+HxwdmKThGELLdYv8qVIMWvZEFy9w8ZZpW9h9OB32l1rGtj7g==} - node-emoji@2.1.3: - resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} + node-emoji@2.2.0: + resolution: {integrity: sha512-Z3lTE9pLaJF47NyMhd4ww1yFTAP8YhYI8SleJiHzM46Fgpm5cnNzSl9XfzFNqbaz+VlJrIj3fXQ4DeN1Rjm6cw==} engines: {node: '>=18'} node-int64@0.4.0: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} - node-releases@2.0.18: - resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} + node-releases@2.0.19: + resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} normalize-package-data@6.0.2: resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} @@ -3059,8 +3071,8 @@ packages: resolution: {integrity: sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==} engines: {node: '>=18'} - npm@10.9.1: - resolution: {integrity: sha512-yJUw03xLqjiv1D52oHeoS5qmOEC5hkJlhP1cWlSrCgshuxWVyFEEK3M3hLC0NwbTaklLTYrhoIanYsuNP5WUKg==} + npm@10.9.2: + resolution: {integrity: sha512-iriPEPIkoMYUy3F6f3wwSZAU93E0Eg6cHwIR6jzzOXWSy+SD/rOODEs74cVONHKSx2obXtuUoyidVEhISrisgQ==} engines: {node: ^18.17.0 || >=20.5.0} hasBin: true bundledDependencies: @@ -3212,8 +3224,8 @@ packages: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} engines: {node: '>=10'} - p-map@7.0.2: - resolution: {integrity: sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==} + p-map@7.0.3: + resolution: {integrity: sha512-VkndIv2fIB99swvQoA65bm+fsmt6UNdGeIB0oxBs+WhAhdh08QA04JXpI7rbB9r08/nkbysKoya9rtDERYOYMA==} engines: {node: '>=18'} p-reduce@2.1.0: @@ -3356,8 +3368,8 @@ packages: resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} engines: {node: '>=6.0.0'} - prettier@3.4.1: - resolution: {integrity: sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==} + prettier@3.4.2: + resolution: {integrity: sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==} engines: {node: '>=14'} hasBin: true @@ -3411,8 +3423,8 @@ packages: resolution: {integrity: sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==} engines: {node: '>= 14.16.0'} - reflect.getprototypeof@1.0.7: - resolution: {integrity: sha512-bMvFGIUKlc/eSfXNX+aZ+EL95/EgZzuwA0OBPTbZZDEJw/0AkentjMuM1oiRfwHrshqk4RzdgiTg5CcDalXN5g==} + reflect.getprototypeof@1.0.8: + resolution: {integrity: sha512-B5dj6usc5dkk8uFliwjwDHM8To5/QwdKz9JcBZ8Ic4G1f0YmeeJTtE/ZTdgRFPAfxZFiUaPhZ1Jcs4qeagItGQ==} engines: {node: '>= 0.4'} regenerate-unicode-properties@10.2.0: @@ -3466,8 +3478,8 @@ packages: resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} - resolve.exports@2.0.2: - resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} + resolve.exports@2.0.3: + resolution: {integrity: sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==} engines: {node: '>=10'} resolve@1.22.8: @@ -3483,8 +3495,8 @@ packages: deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true - rollup@4.27.4: - resolution: {integrity: sha512-RLKxqHEMjh/RGLsDxAEsaLO3mWgyoU6x9w6n1ikAzet4B3gI2/3yP6PWY2p9QzRTh6MfEIXB3MwsOY0Iv3vNrw==} + rollup@4.28.1: + resolution: {integrity: sha512-61fXYl/qNVinKmGSTHAZ6Yy8I3YIJC/r2m9feHo6SwVAVcLT5MPwOUFe7EuURA/4m0NR8lXG4BBXuo/IZEsjMg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -3821,8 +3833,8 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} - type-fest@4.29.0: - resolution: {integrity: sha512-RPYt6dKyemXJe7I6oNstcH24myUGSReicxcHTvCLgzm4e0n8y05dGvcGB15/SoPRBmhlMthWQ9pvKyL81ko8nQ==} + type-fest@4.30.0: + resolution: {integrity: sha512-G6zXWS1dLj6eagy6sVhOMQiLtJdxQBHIA9Z6HFUNLOlr6MFOgzV8wvmidtPONfPtEUv0uZsy77XJNzTAfwPDaA==} engines: {node: '>=16'} typed-array-buffer@1.0.2: @@ -3928,8 +3940,9 @@ packages: whatwg-url@7.1.0: resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} - which-boxed-primitive@1.0.2: - resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} + which-boxed-primitive@1.1.0: + resolution: {integrity: sha512-Ei7Miu/AXe2JJ4iNF5j/UphAgRoma4trE6PtisM09bPygb3egMH3YLW/befsWb1A1AxvNSFidOFTB18XtnIIng==} + engines: {node: '>= 0.4'} which-builtin-type@1.2.0: resolution: {integrity: sha512-I+qLGQ/vucCby4tf5HsLmGueEla4ZhwTBSqaooS+Y0BuxN4Cp+okmGuV+8mXZ84KDI9BA+oklo+RzKg0ONdSUA==} @@ -4023,50 +4036,43 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.1.1 - '@babel/compat-data@7.26.2': {} + '@babel/compat-data@7.26.3': {} '@babel/core@7.26.0': dependencies: '@ampproject/remapping': 2.3.0 '@babel/code-frame': 7.26.2 - '@babel/generator': 7.26.2 + '@babel/generator': 7.26.3 '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) '@babel/helpers': 7.26.0 - '@babel/parser': 7.26.2 + '@babel/parser': 7.26.3 '@babel/template': 7.25.9 - '@babel/traverse': 7.25.9 - '@babel/types': 7.26.0 + '@babel/traverse': 7.26.4 + '@babel/types': 7.26.3 convert-source-map: 2.0.0 - debug: 4.3.7 + debug: 4.4.0 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/generator@7.26.2': + '@babel/generator@7.26.3': dependencies: - '@babel/parser': 7.26.2 - '@babel/types': 7.26.0 + '@babel/parser': 7.26.3 + '@babel/types': 7.26.3 '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - jsesc: 3.0.2 + jsesc: 3.1.0 '@babel/helper-annotate-as-pure@7.25.9': dependencies: - '@babel/types': 7.26.0 - - '@babel/helper-builder-binary-assignment-operator-visitor@7.25.9': - dependencies: - '@babel/traverse': 7.25.9 - '@babel/types': 7.26.0 - transitivePeerDependencies: - - supports-color + '@babel/types': 7.26.3 '@babel/helper-compilation-targets@7.25.9': dependencies: - '@babel/compat-data': 7.26.2 + '@babel/compat-data': 7.26.3 '@babel/helper-validator-option': 7.25.9 browserslist: 4.24.2 lru-cache: 5.1.1 @@ -4080,12 +4086,12 @@ snapshots: '@babel/helper-optimise-call-expression': 7.25.9 '@babel/helper-replace-supers': 7.25.9(@babel/core@7.26.0) '@babel/helper-skip-transparent-expression-wrappers': 7.25.9 - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.26.4 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/helper-create-regexp-features-plugin@7.25.9(@babel/core@7.26.0)': + '@babel/helper-create-regexp-features-plugin@7.26.3(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 '@babel/helper-annotate-as-pure': 7.25.9 @@ -4097,7 +4103,7 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 - debug: 4.3.7 + debug: 4.4.0 lodash.debounce: 4.0.8 resolve: 1.22.8 transitivePeerDependencies: @@ -4105,15 +4111,15 @@ snapshots: '@babel/helper-member-expression-to-functions@7.25.9': dependencies: - '@babel/traverse': 7.25.9 - '@babel/types': 7.26.0 + '@babel/traverse': 7.26.4 + '@babel/types': 7.26.3 transitivePeerDependencies: - supports-color '@babel/helper-module-imports@7.25.9': dependencies: - '@babel/traverse': 7.25.9 - '@babel/types': 7.26.0 + '@babel/traverse': 7.26.4 + '@babel/types': 7.26.3 transitivePeerDependencies: - supports-color @@ -4122,13 +4128,13 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-module-imports': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.26.4 transitivePeerDependencies: - supports-color '@babel/helper-optimise-call-expression@7.25.9': dependencies: - '@babel/types': 7.26.0 + '@babel/types': 7.26.3 '@babel/helper-plugin-utils@7.25.9': {} @@ -4137,7 +4143,7 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-annotate-as-pure': 7.25.9 '@babel/helper-wrap-function': 7.25.9 - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.26.4 transitivePeerDependencies: - supports-color @@ -4146,21 +4152,14 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-member-expression-to-functions': 7.25.9 '@babel/helper-optimise-call-expression': 7.25.9 - '@babel/traverse': 7.25.9 - transitivePeerDependencies: - - supports-color - - '@babel/helper-simple-access@7.25.9': - dependencies: - '@babel/traverse': 7.25.9 - '@babel/types': 7.26.0 + '@babel/traverse': 7.26.4 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.25.9': dependencies: - '@babel/traverse': 7.25.9 - '@babel/types': 7.26.0 + '@babel/traverse': 7.26.4 + '@babel/types': 7.26.3 transitivePeerDependencies: - supports-color @@ -4173,25 +4172,25 @@ snapshots: '@babel/helper-wrap-function@7.25.9': dependencies: '@babel/template': 7.25.9 - '@babel/traverse': 7.25.9 - '@babel/types': 7.26.0 + '@babel/traverse': 7.26.4 + '@babel/types': 7.26.3 transitivePeerDependencies: - supports-color '@babel/helpers@7.26.0': dependencies: '@babel/template': 7.25.9 - '@babel/types': 7.26.0 + '@babel/types': 7.26.3 - '@babel/parser@7.26.2': + '@babel/parser@7.26.3': dependencies: - '@babel/types': 7.26.0 + '@babel/types': 7.26.3 '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.9(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.26.4 transitivePeerDependencies: - supports-color @@ -4218,7 +4217,7 @@ snapshots: dependencies: '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.26.4 transitivePeerDependencies: - supports-color @@ -4319,7 +4318,7 @@ snapshots: '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-transform-arrow-functions@7.25.9(@babel/core@7.26.0)': @@ -4332,7 +4331,7 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-remap-async-to-generator': 7.25.9(@babel/core@7.26.0) - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.26.4 transitivePeerDependencies: - supports-color @@ -4378,7 +4377,7 @@ snapshots: '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-replace-supers': 7.25.9(@babel/core@7.26.0) - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.26.4 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -4397,7 +4396,7 @@ snapshots: '@babel/plugin-transform-dotall-regex@7.25.9(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-transform-duplicate-keys@7.25.9(@babel/core@7.26.0)': @@ -4408,7 +4407,7 @@ snapshots: '@babel/plugin-transform-duplicate-named-capturing-groups-regex@7.25.9(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-transform-dynamic-import@7.25.9(@babel/core@7.26.0)': @@ -4416,13 +4415,10 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-exponentiation-operator@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-exponentiation-operator@7.26.3(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 - '@babel/helper-builder-binary-assignment-operator-visitor': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 - transitivePeerDependencies: - - supports-color '@babel/plugin-transform-export-namespace-from@7.25.9(@babel/core@7.26.0)': dependencies: @@ -4442,7 +4438,7 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.26.4 transitivePeerDependencies: - supports-color @@ -4474,12 +4470,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/plugin-transform-modules-commonjs@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-modules-commonjs@7.26.3(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 - '@babel/helper-simple-access': 7.25.9 transitivePeerDependencies: - supports-color @@ -4489,7 +4484,7 @@ snapshots: '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.26.4 transitivePeerDependencies: - supports-color @@ -4504,7 +4499,7 @@ snapshots: '@babel/plugin-transform-named-capturing-groups-regex@7.25.9(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-transform-new-target@7.25.9(@babel/core@7.26.0)': @@ -4586,7 +4581,7 @@ snapshots: '@babel/plugin-transform-regexp-modifiers@7.26.0(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-transform-reserved-words@7.25.9(@babel/core@7.26.0)': @@ -4622,7 +4617,7 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 - '@babel/plugin-transform-typescript@7.25.9(@babel/core@7.26.0)': + '@babel/plugin-transform-typescript@7.26.3(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 '@babel/helper-annotate-as-pure': 7.25.9 @@ -4641,24 +4636,24 @@ snapshots: '@babel/plugin-transform-unicode-property-regex@7.25.9(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-transform-unicode-regex@7.25.9(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/plugin-transform-unicode-sets-regex@7.25.9(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 - '@babel/helper-create-regexp-features-plugin': 7.25.9(@babel/core@7.26.0) + '@babel/helper-create-regexp-features-plugin': 7.26.3(@babel/core@7.26.0) '@babel/helper-plugin-utils': 7.25.9 '@babel/preset-env@7.26.0(@babel/core@7.26.0)': dependencies: - '@babel/compat-data': 7.26.2 + '@babel/compat-data': 7.26.3 '@babel/core': 7.26.0 '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 @@ -4686,7 +4681,7 @@ snapshots: '@babel/plugin-transform-duplicate-keys': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-duplicate-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-dynamic-import': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-exponentiation-operator': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-exponentiation-operator': 7.26.3(@babel/core@7.26.0) '@babel/plugin-transform-export-namespace-from': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-for-of': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-function-name': 7.25.9(@babel/core@7.26.0) @@ -4695,7 +4690,7 @@ snapshots: '@babel/plugin-transform-logical-assignment-operators': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-member-expression-literals': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-modules-amd': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-modules-commonjs': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.0) '@babel/plugin-transform-modules-systemjs': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-modules-umd': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-named-capturing-groups-regex': 7.25.9(@babel/core@7.26.0) @@ -4735,7 +4730,7 @@ snapshots: dependencies: '@babel/core': 7.26.0 '@babel/helper-plugin-utils': 7.25.9 - '@babel/types': 7.26.0 + '@babel/types': 7.26.3 esutils: 2.0.3 '@babel/preset-typescript@7.26.0(@babel/core@7.26.0)': @@ -4744,8 +4739,8 @@ snapshots: '@babel/helper-plugin-utils': 7.25.9 '@babel/helper-validator-option': 7.25.9 '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-modules-commonjs': 7.25.9(@babel/core@7.26.0) - '@babel/plugin-transform-typescript': 7.25.9(@babel/core@7.26.0) + '@babel/plugin-transform-modules-commonjs': 7.26.3(@babel/core@7.26.0) + '@babel/plugin-transform-typescript': 7.26.3(@babel/core@7.26.0) transitivePeerDependencies: - supports-color @@ -4756,22 +4751,22 @@ snapshots: '@babel/template@7.25.9': dependencies: '@babel/code-frame': 7.26.2 - '@babel/parser': 7.26.2 - '@babel/types': 7.26.0 + '@babel/parser': 7.26.3 + '@babel/types': 7.26.3 - '@babel/traverse@7.25.9': + '@babel/traverse@7.26.4': dependencies: '@babel/code-frame': 7.26.2 - '@babel/generator': 7.26.2 - '@babel/parser': 7.26.2 + '@babel/generator': 7.26.3 + '@babel/parser': 7.26.3 '@babel/template': 7.25.9 - '@babel/types': 7.26.0 - debug: 4.3.7 + '@babel/types': 7.26.3 + debug: 4.4.0 globals: 11.12.0 transitivePeerDependencies: - supports-color - '@babel/types@7.26.0': + '@babel/types@7.26.3': dependencies: '@babel/helper-string-parser': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 @@ -4790,9 +4785,9 @@ snapshots: eslint-config-prettier: 9.1.0(eslint@8.57.1) eslint-plugin-import: 2.31.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1) eslint-plugin-n: 16.6.2(eslint@8.57.1) - eslint-plugin-prettier: 5.2.1(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.4.1) + eslint-plugin-prettier: 5.2.1(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.4.2) eslint-plugin-promise: 6.6.0(eslint@8.57.1) - prettier: 3.4.1 + prettier: 3.4.2 typescript: 5.7.2 transitivePeerDependencies: - '@types/eslint' @@ -4956,7 +4951,7 @@ snapshots: '@eslint/eslintrc@2.1.4': dependencies: ajv: 6.12.6 - debug: 4.3.7 + debug: 4.4.0 espree: 9.6.1 globals: 13.24.0 ignore: 5.3.2 @@ -4972,7 +4967,7 @@ snapshots: '@humanwhocodes/config-array@0.13.0': dependencies: '@humanwhocodes/object-schema': 2.0.3 - debug: 4.3.7 + debug: 4.4.0 minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -5266,58 +5261,61 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@rollup/rollup-android-arm-eabi@4.27.4': + '@rollup/rollup-android-arm-eabi@4.28.1': optional: true - '@rollup/rollup-android-arm64@4.27.4': + '@rollup/rollup-android-arm64@4.28.1': optional: true - '@rollup/rollup-darwin-arm64@4.27.4': + '@rollup/rollup-darwin-arm64@4.28.1': optional: true - '@rollup/rollup-darwin-x64@4.27.4': + '@rollup/rollup-darwin-x64@4.28.1': optional: true - '@rollup/rollup-freebsd-arm64@4.27.4': + '@rollup/rollup-freebsd-arm64@4.28.1': optional: true - '@rollup/rollup-freebsd-x64@4.27.4': + '@rollup/rollup-freebsd-x64@4.28.1': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.27.4': + '@rollup/rollup-linux-arm-gnueabihf@4.28.1': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.27.4': + '@rollup/rollup-linux-arm-musleabihf@4.28.1': optional: true - '@rollup/rollup-linux-arm64-gnu@4.27.4': + '@rollup/rollup-linux-arm64-gnu@4.28.1': optional: true - '@rollup/rollup-linux-arm64-musl@4.27.4': + '@rollup/rollup-linux-arm64-musl@4.28.1': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.27.4': + '@rollup/rollup-linux-loongarch64-gnu@4.28.1': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.27.4': + '@rollup/rollup-linux-powerpc64le-gnu@4.28.1': optional: true - '@rollup/rollup-linux-s390x-gnu@4.27.4': + '@rollup/rollup-linux-riscv64-gnu@4.28.1': optional: true - '@rollup/rollup-linux-x64-gnu@4.27.4': + '@rollup/rollup-linux-s390x-gnu@4.28.1': optional: true - '@rollup/rollup-linux-x64-musl@4.27.4': + '@rollup/rollup-linux-x64-gnu@4.28.1': optional: true - '@rollup/rollup-win32-arm64-msvc@4.27.4': + '@rollup/rollup-linux-x64-musl@4.28.1': optional: true - '@rollup/rollup-win32-ia32-msvc@4.27.4': + '@rollup/rollup-win32-arm64-msvc@4.28.1': optional: true - '@rollup/rollup-win32-x64-msvc@4.27.4': + '@rollup/rollup-win32-ia32-msvc@4.28.1': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.28.1': optional: true '@rtsao/scc@1.1.0': {} @@ -5338,7 +5336,7 @@ snapshots: conventional-changelog-writer: 8.0.0 conventional-commits-filter: 5.0.0 conventional-commits-parser: 6.0.0 - debug: 4.3.7 + debug: 4.4.0 import-from-esm: 1.3.4 lodash-es: 4.17.21 micromatch: 4.0.8 @@ -5354,7 +5352,7 @@ snapshots: dependencies: '@semantic-release/error': 3.0.0 aggregate-error: 3.1.0 - debug: 4.3.7 + debug: 4.4.0 dir-glob: 3.0.1 execa: 5.1.1 lodash: 4.17.21 @@ -5372,11 +5370,11 @@ snapshots: '@octokit/plugin-throttling': 9.3.2(@octokit/core@6.1.2) '@semantic-release/error': 4.0.0 aggregate-error: 5.0.0 - debug: 4.3.7 + debug: 4.4.0 dir-glob: 3.0.1 globby: 14.0.2 http-proxy-agent: 7.0.2 - https-proxy-agent: 7.0.5 + https-proxy-agent: 7.0.6 issue-parser: 7.0.1 lodash-es: 4.17.21 mime: 4.0.4 @@ -5390,12 +5388,12 @@ snapshots: dependencies: '@semantic-release/error': 4.0.0 aggregate-error: 5.0.0 - execa: 9.5.1 + execa: 9.5.2 fs-extra: 11.2.0 lodash-es: 4.17.21 nerf-dart: 1.0.0 normalize-url: 8.0.1 - npm: 10.9.1 + npm: 10.9.2 rc: 1.2.8 read-pkg: 9.0.1 registry-auth-token: 5.0.3 @@ -5409,7 +5407,7 @@ snapshots: conventional-changelog-writer: 8.0.0 conventional-commits-filter: 5.0.0 conventional-commits-parser: 6.0.0 - debug: 4.3.7 + debug: 4.4.0 get-stream: 7.0.1 import-from-esm: 1.3.4 into-stream: 7.0.0 @@ -5437,24 +5435,24 @@ snapshots: '@types/babel__core@7.20.5': dependencies: - '@babel/parser': 7.26.2 - '@babel/types': 7.26.0 + '@babel/parser': 7.26.3 + '@babel/types': 7.26.3 '@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.26.0 + '@babel/types': 7.26.3 '@types/babel__template@7.4.4': dependencies: - '@babel/parser': 7.26.2 - '@babel/types': 7.26.0 + '@babel/parser': 7.26.3 + '@babel/types': 7.26.3 '@types/babel__traverse@7.20.6': dependencies: - '@babel/types': 7.26.0 + '@babel/types': 7.26.3 '@types/debug@4.1.12': dependencies: @@ -5525,7 +5523,7 @@ snapshots: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.7.2) '@typescript-eslint/visitor-keys': 6.21.0 - debug: 4.3.7 + debug: 4.4.0 eslint: 8.57.1 optionalDependencies: typescript: 5.7.2 @@ -5538,7 +5536,7 @@ snapshots: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.7.2) '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.7 + debug: 4.4.0 eslint: 8.57.1 optionalDependencies: typescript: 5.7.2 @@ -5559,7 +5557,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.7.2) '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.7.2) - debug: 4.3.7 + debug: 4.4.0 eslint: 8.57.1 ts-api-utils: 1.4.3(typescript@5.7.2) optionalDependencies: @@ -5575,7 +5573,7 @@ snapshots: dependencies: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/visitor-keys': 6.21.0 - debug: 4.3.7 + debug: 4.4.0 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.3 @@ -5590,7 +5588,7 @@ snapshots: dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.7 + debug: 4.4.0 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.5 @@ -5622,7 +5620,7 @@ snapshots: '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 - '@ungap/structured-clone@1.2.0': {} + '@ungap/structured-clone@1.2.1': {} acorn-jsx@5.3.2(acorn@8.14.0): dependencies: @@ -5630,11 +5628,7 @@ snapshots: acorn@8.14.0: {} - agent-base@7.1.1: - dependencies: - debug: 4.3.7 - transitivePeerDependencies: - - supports-color + agent-base@7.1.3: {} aggregate-error@3.1.0: dependencies: @@ -5692,25 +5686,25 @@ snapshots: array-buffer-byte-length@1.0.1: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 is-array-buffer: 3.0.4 array-ify@1.0.0: {} array-includes@3.1.8: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.5 es-object-atoms: 1.0.0 - get-intrinsic: 1.2.4 - is-string: 1.0.7 + get-intrinsic: 1.2.5 + is-string: 1.1.0 array-union@2.1.0: {} array.prototype.findlastindex@1.2.5: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.5 es-errors: 1.3.0 @@ -5719,14 +5713,14 @@ snapshots: array.prototype.flat@1.3.2: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.5 es-shim-unscopables: 1.0.2 array.prototype.flatmap@1.3.2: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.5 es-shim-unscopables: 1.0.2 @@ -5734,11 +5728,11 @@ snapshots: arraybuffer.prototype.slice@1.0.3: dependencies: array-buffer-byte-length: 1.0.1 - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.5 es-errors: 1.3.0 - get-intrinsic: 1.2.4 + get-intrinsic: 1.2.5 is-array-buffer: 3.0.4 is-shared-array-buffer: 1.0.3 @@ -5772,13 +5766,13 @@ snapshots: babel-plugin-jest-hoist@29.6.3: dependencies: '@babel/template': 7.25.9 - '@babel/types': 7.26.0 + '@babel/types': 7.26.3 '@types/babel__core': 7.20.5 '@types/babel__traverse': 7.20.6 babel-plugin-polyfill-corejs2@0.4.12(@babel/core@7.26.0): dependencies: - '@babel/compat-data': 7.26.2 + '@babel/compat-data': 7.26.3 '@babel/core': 7.26.0 '@babel/helper-define-polyfill-provider': 0.6.3(@babel/core@7.26.0) semver: 6.3.1 @@ -5846,9 +5840,9 @@ snapshots: browserslist@4.24.2: dependencies: - caniuse-lite: 1.0.30001684 - electron-to-chromium: 1.5.67 - node-releases: 2.0.18 + caniuse-lite: 1.0.30001687 + electron-to-chromium: 1.5.72 + node-releases: 2.0.19 update-browserslist-db: 1.1.1(browserslist@4.24.2) bser@2.1.1: @@ -5870,12 +5864,16 @@ snapshots: cac@6.7.14: {} - call-bind@1.0.7: + call-bind-apply-helpers@1.0.1: dependencies: - es-define-property: 1.0.0 es-errors: 1.3.0 function-bind: 1.1.2 - get-intrinsic: 1.2.4 + + call-bind@1.0.8: + dependencies: + call-bind-apply-helpers: 1.0.1 + es-define-property: 1.0.1 + get-intrinsic: 1.2.5 set-function-length: 1.2.2 callsites@3.1.0: {} @@ -5884,7 +5882,7 @@ snapshots: camelcase@6.3.0: {} - caniuse-lite@1.0.30001684: {} + caniuse-lite@1.0.30001687: {} chalk@2.4.2: dependencies: @@ -6038,19 +6036,19 @@ snapshots: data-view-buffer@1.0.1: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 es-errors: 1.3.0 is-data-view: 1.0.1 data-view-byte-length@1.0.1: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 es-errors: 1.3.0 is-data-view: 1.0.1 data-view-byte-offset@1.0.0: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 es-errors: 1.3.0 is-data-view: 1.0.1 @@ -6058,7 +6056,7 @@ snapshots: dependencies: ms: 2.1.3 - debug@4.3.7: + debug@4.4.0: dependencies: ms: 2.1.3 @@ -6072,9 +6070,9 @@ snapshots: define-data-property@1.1.4: dependencies: - es-define-property: 1.0.0 + es-define-property: 1.0.1 es-errors: 1.3.0 - gopd: 1.0.1 + gopd: 1.2.0 define-properties@1.2.1: dependencies: @@ -6102,7 +6100,13 @@ snapshots: dependencies: is-obj: 2.0.0 - dotenv@16.4.5: {} + dotenv@16.4.7: {} + + dunder-proto@1.0.0: + dependencies: + call-bind-apply-helpers: 1.0.1 + es-errors: 1.3.0 + gopd: 1.2.0 duplexer2@0.1.4: dependencies: @@ -6110,7 +6114,7 @@ snapshots: eastasianwidth@0.2.0: {} - electron-to-chromium@1.5.67: {} + electron-to-chromium@1.5.72: {} emittery@0.13.1: {} @@ -6138,32 +6142,32 @@ snapshots: array-buffer-byte-length: 1.0.1 arraybuffer.prototype.slice: 1.0.3 available-typed-arrays: 1.0.7 - call-bind: 1.0.7 + call-bind: 1.0.8 data-view-buffer: 1.0.1 data-view-byte-length: 1.0.1 data-view-byte-offset: 1.0.0 - es-define-property: 1.0.0 + es-define-property: 1.0.1 es-errors: 1.3.0 es-object-atoms: 1.0.0 es-set-tostringtag: 2.0.3 es-to-primitive: 1.3.0 function.prototype.name: 1.1.6 - get-intrinsic: 1.2.4 + get-intrinsic: 1.2.5 get-symbol-description: 1.0.2 globalthis: 1.0.4 - gopd: 1.0.1 + gopd: 1.2.0 has-property-descriptors: 1.0.2 - has-proto: 1.0.3 - has-symbols: 1.0.3 + has-proto: 1.2.0 + has-symbols: 1.1.0 hasown: 2.0.2 internal-slot: 1.0.7 is-array-buffer: 3.0.4 is-callable: 1.2.7 is-data-view: 1.0.1 is-negative-zero: 2.0.3 - is-regex: 1.1.4 + is-regex: 1.2.0 is-shared-array-buffer: 1.0.3 - is-string: 1.0.7 + is-string: 1.1.0 is-typed-array: 1.1.13 is-weakref: 1.0.2 object-inspect: 1.13.3 @@ -6182,9 +6186,7 @@ snapshots: unbox-primitive: 1.0.2 which-typed-array: 1.1.16 - es-define-property@1.0.0: - dependencies: - get-intrinsic: 1.2.4 + es-define-property@1.0.1: {} es-errors@1.3.0: {} @@ -6194,7 +6196,7 @@ snapshots: es-set-tostringtag@2.0.3: dependencies: - get-intrinsic: 1.2.4 + get-intrinsic: 1.2.5 has-tostringtag: 1.0.2 hasown: 2.0.2 @@ -6206,7 +6208,7 @@ snapshots: dependencies: is-callable: 1.2.7 is-date-object: 1.0.5 - is-symbol: 1.0.4 + is-symbol: 1.1.0 esbuild@0.23.1: optionalDependencies: @@ -6370,10 +6372,10 @@ snapshots: resolve: 1.22.8 semver: 7.6.3 - eslint-plugin-prettier@5.2.1(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.4.1): + eslint-plugin-prettier@5.2.1(eslint-config-prettier@9.1.0(eslint@8.57.1))(eslint@8.57.1)(prettier@3.4.2): dependencies: eslint: 8.57.1 - prettier: 3.4.1 + prettier: 3.4.2 prettier-linter-helpers: 1.0.0 synckit: 0.9.2 optionalDependencies: @@ -6399,11 +6401,11 @@ snapshots: '@humanwhocodes/config-array': 0.13.0 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 - '@ungap/structured-clone': 1.2.0 + '@ungap/structured-clone': 1.2.1 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.6 - debug: 4.3.7 + debug: 4.4.0 doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -6477,7 +6479,7 @@ snapshots: signal-exit: 4.1.0 strip-final-newline: 3.0.0 - execa@9.5.1: + execa@9.5.2: dependencies: '@sindresorhus/merge-streams': 4.0.0 cross-spawn: 7.0.6 @@ -6606,7 +6608,7 @@ snapshots: function.prototype.name@1.1.6: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.5 functions-have-names: 1.2.3 @@ -6617,12 +6619,15 @@ snapshots: get-caller-file@2.0.5: {} - get-intrinsic@1.2.4: + get-intrinsic@1.2.5: dependencies: + call-bind-apply-helpers: 1.0.1 + dunder-proto: 1.0.0 + es-define-property: 1.0.1 es-errors: 1.3.0 function-bind: 1.1.2 - has-proto: 1.0.3 - has-symbols: 1.0.3 + gopd: 1.2.0 + has-symbols: 1.1.0 hasown: 2.0.2 get-package-type@0.1.0: {} @@ -6640,9 +6645,9 @@ snapshots: get-symbol-description@1.0.2: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 es-errors: 1.3.0 - get-intrinsic: 1.2.4 + get-intrinsic: 1.2.5 get-tsconfig@4.8.1: dependencies: @@ -6692,7 +6697,7 @@ snapshots: globalthis@1.0.4: dependencies: define-properties: 1.2.1 - gopd: 1.0.1 + gopd: 1.2.0 globby@11.1.0: dependencies: @@ -6712,9 +6717,7 @@ snapshots: slash: 5.1.0 unicorn-magic: 0.1.0 - gopd@1.0.1: - dependencies: - get-intrinsic: 1.2.4 + gopd@1.2.0: {} graceful-fs@4.2.10: {} @@ -6739,15 +6742,17 @@ snapshots: has-property-descriptors@1.0.2: dependencies: - es-define-property: 1.0.0 + es-define-property: 1.0.1 - has-proto@1.0.3: {} + has-proto@1.2.0: + dependencies: + dunder-proto: 1.0.0 - has-symbols@1.0.3: {} + has-symbols@1.1.0: {} has-tostringtag@1.0.2: dependencies: - has-symbols: 1.0.3 + has-symbols: 1.1.0 hasown@2.0.2: dependencies: @@ -6769,15 +6774,15 @@ snapshots: http-proxy-agent@7.0.2: dependencies: - agent-base: 7.1.1 - debug: 4.3.7 + agent-base: 7.1.3 + debug: 4.4.0 transitivePeerDependencies: - supports-color - https-proxy-agent@7.0.5: + https-proxy-agent@7.0.6: dependencies: - agent-base: 7.1.1 - debug: 4.3.7 + agent-base: 7.1.3 + debug: 4.4.0 transitivePeerDependencies: - supports-color @@ -6796,7 +6801,7 @@ snapshots: import-from-esm@1.3.4: dependencies: - debug: 4.3.7 + debug: 4.4.0 import-meta-resolve: 4.1.0 transitivePeerDependencies: - supports-color @@ -6838,8 +6843,8 @@ snapshots: is-array-buffer@3.0.4: dependencies: - call-bind: 1.0.7 - get-intrinsic: 1.2.4 + call-bind: 1.0.8 + get-intrinsic: 1.2.5 is-arrayish@0.2.1: {} @@ -6847,13 +6852,13 @@ snapshots: dependencies: has-tostringtag: 1.0.2 - is-bigint@1.0.4: + is-bigint@1.1.0: dependencies: has-bigints: 1.0.2 - is-boolean-object@1.1.2: + is-boolean-object@1.2.0: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 has-tostringtag: 1.0.2 is-builtin-module@3.2.1: @@ -6878,7 +6883,7 @@ snapshots: is-finalizationregistry@1.1.0: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 is-fullwidth-code-point@3.0.0: {} @@ -6896,8 +6901,9 @@ snapshots: is-negative-zero@2.0.3: {} - is-number-object@1.0.7: + is-number-object@1.1.0: dependencies: + call-bind: 1.0.8 has-tostringtag: 1.0.2 is-number@7.0.0: {} @@ -6908,16 +6914,18 @@ snapshots: is-plain-obj@4.1.0: {} - is-regex@1.1.4: + is-regex@1.2.0: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 + gopd: 1.2.0 has-tostringtag: 1.0.2 + hasown: 2.0.2 is-set@2.0.3: {} is-shared-array-buffer@1.0.3: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 is-stream@2.0.1: {} @@ -6925,13 +6933,16 @@ snapshots: is-stream@4.0.1: {} - is-string@1.0.7: + is-string@1.1.0: dependencies: + call-bind: 1.0.8 has-tostringtag: 1.0.2 - is-symbol@1.0.4: + is-symbol@1.1.0: dependencies: - has-symbols: 1.0.3 + call-bind: 1.0.8 + has-symbols: 1.1.0 + safe-regex-test: 1.0.3 is-typed-array@1.1.13: dependencies: @@ -6943,12 +6954,12 @@ snapshots: is-weakref@1.0.2: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 is-weakset@2.0.3: dependencies: - call-bind: 1.0.7 - get-intrinsic: 1.2.4 + call-bind: 1.0.8 + get-intrinsic: 1.2.5 isarray@1.0.0: {} @@ -6969,7 +6980,7 @@ snapshots: istanbul-lib-instrument@5.2.1: dependencies: '@babel/core': 7.26.0 - '@babel/parser': 7.26.2 + '@babel/parser': 7.26.3 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 6.3.1 @@ -6979,7 +6990,7 @@ snapshots: istanbul-lib-instrument@6.0.3: dependencies: '@babel/core': 7.26.0 - '@babel/parser': 7.26.2 + '@babel/parser': 7.26.3 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.2 semver: 7.6.3 @@ -6994,7 +7005,7 @@ snapshots: istanbul-lib-source-maps@4.0.1: dependencies: - debug: 4.3.7 + debug: 4.4.0 istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: @@ -7192,7 +7203,7 @@ snapshots: jest-util: 29.7.0 jest-validate: 29.7.0 resolve: 1.22.8 - resolve.exports: 2.0.2 + resolve.exports: 2.0.3 slash: 3.0.0 jest-runner@29.7.0: @@ -7251,10 +7262,10 @@ snapshots: jest-snapshot@29.7.0: dependencies: '@babel/core': 7.26.0 - '@babel/generator': 7.26.2 + '@babel/generator': 7.26.3 '@babel/plugin-syntax-jsx': 7.25.9(@babel/core@7.26.0) '@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.26.0) - '@babel/types': 7.26.0 + '@babel/types': 7.26.3 '@jest/expect-utils': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 @@ -7336,6 +7347,8 @@ snapshots: jsesc@3.0.2: {} + jsesc@3.1.0: {} + json-buffer@3.0.1: {} json-parse-better-errors@1.0.2: {} @@ -7377,7 +7390,7 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 - lilconfig@3.1.2: {} + lilconfig@3.1.3: {} lines-and-columns@1.2.4: {} @@ -7447,7 +7460,7 @@ snapshots: cli-highlight: 2.1.11 cli-table3: 0.6.5 marked: 12.0.2 - node-emoji: 2.1.3 + node-emoji: 2.2.0 supports-hyperlinks: 3.1.0 marked@12.0.2: {} @@ -7499,7 +7512,7 @@ snapshots: nerf-dart@1.0.0: {} - node-emoji@2.1.3: + node-emoji@2.2.0: dependencies: '@sindresorhus/is': 4.6.0 char-regex: 1.0.2 @@ -7508,7 +7521,7 @@ snapshots: node-int64@0.4.0: {} - node-releases@2.0.18: {} + node-releases@2.0.19: {} normalize-package-data@6.0.2: dependencies: @@ -7533,7 +7546,7 @@ snapshots: path-key: 4.0.0 unicorn-magic: 0.3.0 - npm@10.9.1: {} + npm@10.9.2: {} object-assign@4.1.1: {} @@ -7543,27 +7556,27 @@ snapshots: object.assign@4.1.5: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 - has-symbols: 1.0.3 + has-symbols: 1.1.0 object-keys: 1.1.1 object.fromentries@2.0.8: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.5 es-object-atoms: 1.0.0 object.groupby@1.0.3: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.5 object.values@1.2.0: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-object-atoms: 1.0.0 @@ -7592,7 +7605,7 @@ snapshots: p-filter@4.1.0: dependencies: - p-map: 7.0.2 + p-map: 7.0.3 p-is-promise@3.0.0: {} @@ -7620,7 +7633,7 @@ snapshots: dependencies: p-limit: 3.1.0 - p-map@7.0.2: {} + p-map@7.0.3: {} p-reduce@2.1.0: {} @@ -7652,7 +7665,7 @@ snapshots: dependencies: '@babel/code-frame': 7.26.2 index-to-position: 0.1.2 - type-fest: 4.29.0 + type-fest: 4.30.0 parse-ms@4.0.0: {} @@ -7708,7 +7721,7 @@ snapshots: postcss-load-config@6.0.1(tsx@4.19.2)(yaml@2.4.5): dependencies: - lilconfig: 3.1.2 + lilconfig: 3.1.3 optionalDependencies: tsx: 4.19.2 yaml: 2.4.5 @@ -7719,7 +7732,7 @@ snapshots: dependencies: fast-diff: 1.3.0 - prettier@3.4.1: {} + prettier@3.4.2: {} pretty-format@29.7.0: dependencies: @@ -7759,14 +7772,14 @@ snapshots: dependencies: find-up-simple: 1.0.0 read-pkg: 9.0.1 - type-fest: 4.29.0 + type-fest: 4.30.0 read-pkg@9.0.1: dependencies: '@types/normalize-package-data': 2.4.4 normalize-package-data: 6.0.2 parse-json: 8.1.0 - type-fest: 4.29.0 + type-fest: 4.30.0 unicorn-magic: 0.1.0 readable-stream@2.3.8: @@ -7781,14 +7794,15 @@ snapshots: readdirp@4.0.2: {} - reflect.getprototypeof@1.0.7: + reflect.getprototypeof@1.0.8: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 + dunder-proto: 1.0.0 es-abstract: 1.23.5 es-errors: 1.3.0 - get-intrinsic: 1.2.4 - gopd: 1.0.1 + get-intrinsic: 1.2.5 + gopd: 1.2.0 which-builtin-type: 1.2.0 regenerate-unicode-properties@10.2.0: @@ -7805,7 +7819,7 @@ snapshots: regexp.prototype.flags@1.5.3: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-errors: 1.3.0 set-function-name: 2.0.2 @@ -7841,7 +7855,7 @@ snapshots: resolve-pkg-maps@1.0.0: {} - resolve.exports@2.0.2: {} + resolve.exports@2.0.3: {} resolve@1.22.8: dependencies: @@ -7855,28 +7869,29 @@ snapshots: dependencies: glob: 7.2.3 - rollup@4.27.4: + rollup@4.28.1: dependencies: '@types/estree': 1.0.6 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.27.4 - '@rollup/rollup-android-arm64': 4.27.4 - '@rollup/rollup-darwin-arm64': 4.27.4 - '@rollup/rollup-darwin-x64': 4.27.4 - '@rollup/rollup-freebsd-arm64': 4.27.4 - '@rollup/rollup-freebsd-x64': 4.27.4 - '@rollup/rollup-linux-arm-gnueabihf': 4.27.4 - '@rollup/rollup-linux-arm-musleabihf': 4.27.4 - '@rollup/rollup-linux-arm64-gnu': 4.27.4 - '@rollup/rollup-linux-arm64-musl': 4.27.4 - '@rollup/rollup-linux-powerpc64le-gnu': 4.27.4 - '@rollup/rollup-linux-riscv64-gnu': 4.27.4 - '@rollup/rollup-linux-s390x-gnu': 4.27.4 - '@rollup/rollup-linux-x64-gnu': 4.27.4 - '@rollup/rollup-linux-x64-musl': 4.27.4 - '@rollup/rollup-win32-arm64-msvc': 4.27.4 - '@rollup/rollup-win32-ia32-msvc': 4.27.4 - '@rollup/rollup-win32-x64-msvc': 4.27.4 + '@rollup/rollup-android-arm-eabi': 4.28.1 + '@rollup/rollup-android-arm64': 4.28.1 + '@rollup/rollup-darwin-arm64': 4.28.1 + '@rollup/rollup-darwin-x64': 4.28.1 + '@rollup/rollup-freebsd-arm64': 4.28.1 + '@rollup/rollup-freebsd-x64': 4.28.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.28.1 + '@rollup/rollup-linux-arm-musleabihf': 4.28.1 + '@rollup/rollup-linux-arm64-gnu': 4.28.1 + '@rollup/rollup-linux-arm64-musl': 4.28.1 + '@rollup/rollup-linux-loongarch64-gnu': 4.28.1 + '@rollup/rollup-linux-powerpc64le-gnu': 4.28.1 + '@rollup/rollup-linux-riscv64-gnu': 4.28.1 + '@rollup/rollup-linux-s390x-gnu': 4.28.1 + '@rollup/rollup-linux-x64-gnu': 4.28.1 + '@rollup/rollup-linux-x64-musl': 4.28.1 + '@rollup/rollup-win32-arm64-msvc': 4.28.1 + '@rollup/rollup-win32-ia32-msvc': 4.28.1 + '@rollup/rollup-win32-x64-msvc': 4.28.1 fsevents: 2.3.3 run-parallel@1.2.0: @@ -7885,18 +7900,18 @@ snapshots: safe-array-concat@1.1.2: dependencies: - call-bind: 1.0.7 - get-intrinsic: 1.2.4 - has-symbols: 1.0.3 + call-bind: 1.0.8 + get-intrinsic: 1.2.5 + has-symbols: 1.1.0 isarray: 2.0.5 safe-buffer@5.1.2: {} safe-regex-test@1.0.3: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 es-errors: 1.3.0 - is-regex: 1.1.4 + is-regex: 1.2.0 semantic-release@24.2.0(typescript@5.7.2): dependencies: @@ -7907,9 +7922,9 @@ snapshots: '@semantic-release/release-notes-generator': 14.0.1(semantic-release@24.2.0(typescript@5.7.2)) aggregate-error: 5.0.0 cosmiconfig: 9.0.0(typescript@5.7.2) - debug: 4.3.7 + debug: 4.4.0 env-ci: 11.1.0 - execa: 9.5.1 + execa: 9.5.2 figures: 6.1.0 find-versions: 6.0.0 get-stream: 6.0.1 @@ -7948,8 +7963,8 @@ snapshots: 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 + get-intrinsic: 1.2.5 + gopd: 1.2.0 has-property-descriptors: 1.0.2 set-function-name@2.0.2: @@ -7967,9 +7982,9 @@ snapshots: side-channel@1.0.6: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 es-errors: 1.3.0 - get-intrinsic: 1.2.4 + get-intrinsic: 1.2.5 object-inspect: 1.13.3 signal-exit@3.0.7: {} @@ -8053,20 +8068,20 @@ snapshots: string.prototype.trim@1.2.9: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.5 es-object-atoms: 1.0.0 string.prototype.trimend@1.0.8: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-object-atoms: 1.0.0 string.prototype.trimstart@1.0.8: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 define-properties: 1.2.1 es-object-atoms: 1.0.0 @@ -8211,13 +8226,13 @@ snapshots: cac: 6.7.14 chokidar: 4.0.1 consola: 3.2.3 - debug: 4.3.7 + debug: 4.4.0 esbuild: 0.24.0 joycon: 3.1.1 picocolors: 1.1.1 postcss-load-config: 6.0.1(tsx@4.19.2)(yaml@2.4.5) resolve-from: 5.0.0 - rollup: 4.27.4 + rollup: 4.28.1 source-map: 0.8.0-beta.0 sucrase: 3.35.0 tinyexec: 0.3.1 @@ -8252,40 +8267,40 @@ snapshots: type-fest@2.19.0: {} - type-fest@4.29.0: {} + type-fest@4.30.0: {} typed-array-buffer@1.0.2: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 es-errors: 1.3.0 is-typed-array: 1.1.13 typed-array-byte-length@1.0.1: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 for-each: 0.3.3 - gopd: 1.0.1 - has-proto: 1.0.3 + gopd: 1.2.0 + has-proto: 1.2.0 is-typed-array: 1.1.13 typed-array-byte-offset@1.0.3: dependencies: available-typed-arrays: 1.0.7 - call-bind: 1.0.7 + call-bind: 1.0.8 for-each: 0.3.3 - gopd: 1.0.1 - has-proto: 1.0.3 + gopd: 1.2.0 + has-proto: 1.2.0 is-typed-array: 1.1.13 - reflect.getprototypeof: 1.0.7 + reflect.getprototypeof: 1.0.8 typed-array-length@1.0.7: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 for-each: 0.3.3 - gopd: 1.0.1 + gopd: 1.2.0 is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - reflect.getprototypeof: 1.0.7 + reflect.getprototypeof: 1.0.8 typescript@5.7.2: {} @@ -8294,10 +8309,10 @@ snapshots: unbox-primitive@1.0.2: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 has-bigints: 1.0.2 - has-symbols: 1.0.3 - which-boxed-primitive: 1.0.2 + has-symbols: 1.1.0 + which-boxed-primitive: 1.1.0 undici-types@6.20.0: {} @@ -8363,27 +8378,27 @@ snapshots: tr46: 1.0.1 webidl-conversions: 4.0.2 - which-boxed-primitive@1.0.2: + which-boxed-primitive@1.1.0: dependencies: - is-bigint: 1.0.4 - is-boolean-object: 1.1.2 - is-number-object: 1.0.7 - is-string: 1.0.7 - is-symbol: 1.0.4 + is-bigint: 1.1.0 + is-boolean-object: 1.2.0 + is-number-object: 1.1.0 + is-string: 1.1.0 + is-symbol: 1.1.0 which-builtin-type@1.2.0: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 function.prototype.name: 1.1.6 has-tostringtag: 1.0.2 is-async-function: 2.0.0 is-date-object: 1.0.5 is-finalizationregistry: 1.1.0 is-generator-function: 1.0.10 - is-regex: 1.1.4 + is-regex: 1.2.0 is-weakref: 1.0.2 isarray: 2.0.5 - which-boxed-primitive: 1.0.2 + which-boxed-primitive: 1.1.0 which-collection: 1.0.2 which-typed-array: 1.1.16 @@ -8397,9 +8412,9 @@ snapshots: which-typed-array@1.1.16: dependencies: available-typed-arrays: 1.0.7 - call-bind: 1.0.7 + call-bind: 1.0.8 for-each: 0.3.3 - gopd: 1.0.1 + gopd: 1.2.0 has-tostringtag: 1.0.2 which@2.0.2: diff --git a/specs/resources/line_items.spec.ts b/specs/resources/line_items.spec.ts index d5d20097..de4ce16b 100644 --- a/specs/resources/line_items.spec.ts +++ b/specs/resources/line_items.spec.ts @@ -330,6 +330,27 @@ describe('LineItems resource', () => { /* relationship.stock_transfers stop */ + /* relationship.notifications start */ + it(resourceType + '.notifications', async () => { + + const id = TestData.id + const params = { fields: { notifications: CommonData.paramsFields } } + + const intId = cl.addRequestInterceptor((request) => { + expect(request.options.method).toBe('GET') + checkCommon(request, resourcePath, id, currentAccessToken, 'notifications') + checkCommonParams(request, params) + return interceptRequest() + }) + + await cl[resourcePath].notifications(id, params, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request')) + + }) + /* relationship.notifications stop */ + + /* relationship.events start */ it(resourceType + '.events', async () => { diff --git a/specs/resources/billing_info_validation_rules.spec.ts b/specs/resources/notifications.spec.ts similarity index 66% rename from specs/resources/billing_info_validation_rules.spec.ts rename to specs/resources/notifications.spec.ts index 5e274c08..270e685c 100644 --- a/specs/resources/billing_info_validation_rules.spec.ts +++ b/specs/resources/notifications.spec.ts @@ -3,7 +3,7 @@ * Source code generated automatically by SDK codegen **/ -import { CommerceLayerClient, BillingInfoValidationRule } from '../../src' +import { CommerceLayerClient, Notification } from '../../src' import isEqual from 'lodash.isequal' // eslint-disable-next-line @typescript-eslint/no-unused-vars import { getClient, TestData, CommonData, handleError, interceptRequest, checkCommon, checkCommonData, checkCommonParamsList, checkCommonParams, currentAccessToken, randomValue } from '../../test/common' @@ -16,17 +16,18 @@ let cl: CommerceLayerClient beforeAll(async () => { cl = await getClient() }) -describe('BillingInfoValidationRules resource', () => { +describe('Notifications resource', () => { - const resourceType = 'billing_info_validation_rules' - const resourcePath = 'billing_info_validation_rules' + const resourceType = 'notifications' + const resourcePath = 'notifications' /* spec.create.start */ it(resourceType + '.create', async () => { const createAttributes = { - market: cl.markets.relationship(TestData.id), + name: randomValue('string', 'name'), + notifiable: cl.orders.relationship(TestData.id), } const attributes = { ...createAttributes, reference: TestData.reference } @@ -38,12 +39,12 @@ describe('BillingInfoValidationRules resource', () => { expect(request.options.method).toBe('POST') checkCommon(request, resourcePath) checkCommonData(data, resourceType, attributes) - expect(cl[resourcePath].isBillingInfoValidationRule(data.data)).toBeTruthy() + expect(cl[resourcePath].isNotification(data.data)).toBeTruthy() return interceptRequest() }) await cl[resourcePath].create(resData, params, CommonData.options) - .then((res: BillingInfoValidationRule) => expect(res).not.toBeNull()) + .then((res: Notification) => expect(res).not.toBeNull()) .catch(handleError) .finally(() => cl.removeInterceptor('request')) @@ -65,7 +66,7 @@ describe('BillingInfoValidationRules resource', () => { }) await cl[resourcePath].retrieve(id, params, CommonData.options) - .then((res: BillingInfoValidationRule) => expect(res).not.toBeNull()) + .then((res: Notification) => expect(res).not.toBeNull()) .catch(handleError) .finally(() => cl.removeInterceptor('request')) @@ -89,7 +90,7 @@ describe('BillingInfoValidationRules resource', () => { }) await cl[resourcePath].update(resData, params, CommonData.options) - .then((res: BillingInfoValidationRule) => expect(res).not.toBeNull()) + .then((res: Notification) => expect(res).not.toBeNull()) .catch(handleError) .finally(() => cl.removeInterceptor('request')) @@ -140,7 +141,7 @@ describe('BillingInfoValidationRules resource', () => { it(resourceType + '.type', async () => { const resource = { id: TestData.id, type: resourceType } - expect(cl[resourcePath].isBillingInfoValidationRule(resource)).toBeTruthy() + expect(cl[resourcePath].isNotification(resource)).toBeTruthy() const type = cl[resourcePath].type() expect(type).toBe(resourceType) @@ -190,7 +191,7 @@ describe('BillingInfoValidationRules resource', () => { } ` - const res = cl[resourcePath].parse(payload) as BillingInfoValidationRule + const res = cl[resourcePath].parse(payload) as Notification expect(res.type).toBe(resourceType) expect(res.reference).toBe(reference) @@ -200,68 +201,5 @@ describe('BillingInfoValidationRules resource', () => { /* spec.parse.stop */ - - /* relationship.market start */ - it(resourceType + '.market', async () => { - - const id = TestData.id - const params = { fields: { markets: CommonData.paramsFields } } - - const intId = cl.addRequestInterceptor((request) => { - expect(request.options.method).toBe('GET') - checkCommon(request, resourcePath, id, currentAccessToken, 'market') - checkCommonParams(request, params) - return interceptRequest() - }) - - await cl[resourcePath].market(id, params, CommonData.options) - .catch(handleError) - .finally(() => cl.removeInterceptor('request')) - - }) - /* relationship.market stop */ - - - /* relationship.attachments start */ - it(resourceType + '.attachments', async () => { - - const id = TestData.id - const params = { fields: { attachments: CommonData.paramsFields } } - - const intId = cl.addRequestInterceptor((request) => { - expect(request.options.method).toBe('GET') - checkCommon(request, resourcePath, id, currentAccessToken, 'attachments') - checkCommonParams(request, params) - return interceptRequest() - }) - - await cl[resourcePath].attachments(id, params, CommonData.options) - .catch(handleError) - .finally(() => cl.removeInterceptor('request')) - - }) - /* relationship.attachments stop */ - - - /* relationship.versions start */ - it(resourceType + '.versions', async () => { - - const id = TestData.id - const params = { fields: { versions: CommonData.paramsFields } } - - const intId = cl.addRequestInterceptor((request) => { - expect(request.options.method).toBe('GET') - checkCommon(request, resourcePath, id, currentAccessToken, 'versions') - checkCommonParams(request, params) - return interceptRequest() - }) - - await cl[resourcePath].versions(id, params, CommonData.options) - .catch(handleError) - .finally(() => cl.removeInterceptor('request')) - - }) - /* relationship.versions stop */ - }) diff --git a/specs/resources/orders.spec.ts b/specs/resources/orders.spec.ts index 44b198e3..60afaa27 100644 --- a/specs/resources/orders.spec.ts +++ b/specs/resources/orders.spec.ts @@ -796,6 +796,27 @@ describe('Orders resource', () => { /* relationship.attachments stop */ + /* relationship.notifications start */ + it(resourceType + '.notifications', async () => { + + const id = TestData.id + const params = { fields: { notifications: CommonData.paramsFields } } + + const intId = cl.addRequestInterceptor((request) => { + expect(request.options.method).toBe('GET') + checkCommon(request, resourcePath, id, currentAccessToken, 'notifications') + checkCommonParams(request, params) + return interceptRequest() + }) + + await cl[resourcePath].notifications(id, params, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request')) + + }) + /* relationship.notifications stop */ + + /* relationship.links start */ it(resourceType + '.links', async () => { @@ -1266,6 +1287,32 @@ describe('Orders resource', () => { /* trigger._nullify_payment_source stop */ + /* trigger._fix_payment_source start */ + it(resourceType + '._fix_payment_source', async () => { + + let triggerAttr = '_fix_payment_source' + if (!triggerAttr.startsWith('_')) triggerAttr = `_${triggerAttr}` + + const triggerValue = true + const attributes = { [triggerAttr]: triggerValue } + const id = TestData.id + + const intId = cl.addRequestInterceptor((request) => { + const data = JSON.parse(String(request.options.body)) + expect(request.options.method).toBe('PATCH') + checkCommon(request, resourcePath, id, currentAccessToken) + checkCommonData(data, resourceType, attributes, id) + return interceptRequest() + }) + + await cl[resourcePath]._fix_payment_source(id, {}, CommonData.options) + .catch(handleError) + .finally(() => cl.removeInterceptor('request')) + + }) + /* trigger._fix_payment_source stop */ + + /* trigger._billing_address_clone_id start */ it(resourceType + '._billing_address_clone_id', async () => { diff --git a/src/api.ts b/src/api.ts index 0e8f2e37..6a15334a 100644 --- a/src/api.ts +++ b/src/api.ts @@ -18,7 +18,6 @@ export { default as Authorizations } from './resources/authorizations' export { default as AvalaraAccounts } from './resources/avalara_accounts' export { default as AxerveGateways } from './resources/axerve_gateways' export { default as AxervePayments } from './resources/axerve_payments' -export { default as BillingInfoValidationRules } from './resources/billing_info_validation_rules' export { default as BingGeocoders } from './resources/bing_geocoders' export { default as BraintreeGateways } from './resources/braintree_gateways' export { default as BraintreePayments } from './resources/braintree_payments' @@ -70,6 +69,7 @@ export { default as ManualGateways } from './resources/manual_gateways' export { default as ManualTaxCalculators } from './resources/manual_tax_calculators' export { default as Markets } from './resources/markets' export { default as Merchants } from './resources/merchants' +export { default as Notifications } from './resources/notifications' export { default as OrderAmountPromotionRules } from './resources/order_amount_promotion_rules' export { default as OrderCopies } from './resources/order_copies' export { default as OrderFactories } from './resources/order_factories' @@ -147,7 +147,6 @@ export type ResourceTypeLock = | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' -| 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' @@ -199,6 +198,7 @@ export type ResourceTypeLock = | 'manual_tax_calculators' | 'markets' | 'merchants' +| 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_factories' @@ -276,7 +276,6 @@ export const resourceList: ResourceTypeLock[] = [ 'avalara_accounts', 'axerve_gateways', 'axerve_payments', - 'billing_info_validation_rules', 'bing_geocoders', 'braintree_gateways', 'braintree_payments', @@ -328,6 +327,7 @@ export const resourceList: ResourceTypeLock[] = [ 'manual_tax_calculators', 'markets', 'merchants', + 'notifications', 'order_amount_promotion_rules', 'order_copies', 'order_factories', @@ -449,7 +449,6 @@ export type CreatableResourceType = | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' -| 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' @@ -497,6 +496,7 @@ export type CreatableResourceType = | 'manual_tax_calculators' | 'markets' | 'merchants' +| 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' @@ -564,7 +564,6 @@ export type UpdatableResourceType = | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' -| 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' @@ -614,6 +613,7 @@ export type UpdatableResourceType = | 'manual_tax_calculators' | 'markets' | 'merchants' +| 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' @@ -682,7 +682,6 @@ export type DeletableResourceType = | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' -| 'billing_info_validation_rules' | 'bing_geocoders' | 'braintree_gateways' | 'braintree_payments' @@ -730,6 +729,7 @@ export type DeletableResourceType = | 'manual_tax_calculators' | 'markets' | 'merchants' +| 'notifications' | 'order_amount_promotion_rules' | 'order_copies' | 'order_subscription_items' @@ -829,7 +829,6 @@ export type VersionableResourceType = | 'avalara_accounts' | 'axerve_gateways' | 'axerve_payments' -| 'billing_info_validation_rules' | 'braintree_gateways' | 'braintree_payments' | 'bundles' @@ -940,7 +939,6 @@ export type ResourceFields = { avalara_accounts: models.AvalaraAccount, axerve_gateways: models.AxerveGateway, axerve_payments: models.AxervePayment, - billing_info_validation_rules: models.BillingInfoValidationRule, bing_geocoders: models.BingGeocoder, braintree_gateways: models.BraintreeGateway, braintree_payments: models.BraintreePayment, @@ -992,6 +990,7 @@ export type ResourceFields = { manual_tax_calculators: models.ManualTaxCalculator, markets: models.Market, merchants: models.Merchant, + notifications: models.Notification, order_amount_promotion_rules: models.OrderAmountPromotionRule, order_copies: models.OrderCopy, order_factories: models.OrderFactory, @@ -1070,7 +1069,6 @@ export type ResourceSortFields = { avalara_accounts: models.AvalaraAccountSort, axerve_gateways: models.AxerveGatewaySort, axerve_payments: models.AxervePaymentSort, - billing_info_validation_rules: models.BillingInfoValidationRuleSort, bing_geocoders: models.BingGeocoderSort, braintree_gateways: models.BraintreeGatewaySort, braintree_payments: models.BraintreePaymentSort, @@ -1122,6 +1120,7 @@ export type ResourceSortFields = { manual_tax_calculators: models.ManualTaxCalculatorSort, markets: models.MarketSort, merchants: models.MerchantSort, + notifications: models.NotificationSort, order_amount_promotion_rules: models.OrderAmountPromotionRuleSort, order_copies: models.OrderCopySort, order_factories: models.OrderFactorySort, diff --git a/src/commercelayer.ts b/src/commercelayer.ts index c2e308da..6a777e62 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 = '7.4.0' +const OPEN_API_SCHEMA_VERSION = '7.5.0' export { OPEN_API_SCHEMA_VERSION } @@ -46,7 +46,6 @@ class CommerceLayerClient { #avalara_accounts?: api.AvalaraAccounts #axerve_gateways?: api.AxerveGateways #axerve_payments?: api.AxervePayments - #billing_info_validation_rules?: api.BillingInfoValidationRules #bing_geocoders?: api.BingGeocoders #braintree_gateways?: api.BraintreeGateways #braintree_payments?: api.BraintreePayments @@ -98,6 +97,7 @@ class CommerceLayerClient { #manual_tax_calculators?: api.ManualTaxCalculators #markets?: api.Markets #merchants?: api.Merchants + #notifications?: api.Notifications #order_amount_promotion_rules?: api.OrderAmountPromotionRules #order_copies?: api.OrderCopies #order_factories?: api.OrderFactories @@ -195,7 +195,6 @@ class CommerceLayerClient { get avalara_accounts(): api.AvalaraAccounts { return this.#avalara_accounts || (this.#avalara_accounts = new api.AvalaraAccounts(this.#adapter)) } get axerve_gateways(): api.AxerveGateways { return this.#axerve_gateways || (this.#axerve_gateways = new api.AxerveGateways(this.#adapter)) } get axerve_payments(): api.AxervePayments { return this.#axerve_payments || (this.#axerve_payments = new api.AxervePayments(this.#adapter)) } - get billing_info_validation_rules(): api.BillingInfoValidationRules { return this.#billing_info_validation_rules || (this.#billing_info_validation_rules = new api.BillingInfoValidationRules(this.#adapter)) } get bing_geocoders(): api.BingGeocoders { return this.#bing_geocoders || (this.#bing_geocoders = new api.BingGeocoders(this.#adapter)) } get braintree_gateways(): api.BraintreeGateways { return this.#braintree_gateways || (this.#braintree_gateways = new api.BraintreeGateways(this.#adapter)) } get braintree_payments(): api.BraintreePayments { return this.#braintree_payments || (this.#braintree_payments = new api.BraintreePayments(this.#adapter)) } @@ -247,6 +246,7 @@ class CommerceLayerClient { get manual_tax_calculators(): api.ManualTaxCalculators { return this.#manual_tax_calculators || (this.#manual_tax_calculators = new api.ManualTaxCalculators(this.#adapter)) } get markets(): api.Markets { return this.#markets || (this.#markets = new api.Markets(this.#adapter)) } get merchants(): api.Merchants { return this.#merchants || (this.#merchants = new api.Merchants(this.#adapter)) } + get notifications(): api.Notifications { return this.#notifications || (this.#notifications = new api.Notifications(this.#adapter)) } get order_amount_promotion_rules(): api.OrderAmountPromotionRules { return this.#order_amount_promotion_rules || (this.#order_amount_promotion_rules = new api.OrderAmountPromotionRules(this.#adapter)) } get order_copies(): api.OrderCopies { return this.#order_copies || (this.#order_copies = new api.OrderCopies(this.#adapter)) } get order_factories(): api.OrderFactories { return this.#order_factories || (this.#order_factories = new api.OrderFactories(this.#adapter)) } diff --git a/src/model.ts b/src/model.ts index 7f3e11da..295b7dac 100644 --- a/src/model.ts +++ b/src/model.ts @@ -14,7 +14,6 @@ export type { Authorization, AuthorizationUpdate, AuthorizationSort } from './re export type { AvalaraAccount, AvalaraAccountCreate, AvalaraAccountUpdate, AvalaraAccountSort } from './resources/avalara_accounts' export type { AxerveGateway, AxerveGatewayCreate, AxerveGatewayUpdate, AxerveGatewaySort } from './resources/axerve_gateways' export type { AxervePayment, AxervePaymentCreate, AxervePaymentUpdate, AxervePaymentSort } from './resources/axerve_payments' -export type { BillingInfoValidationRule, BillingInfoValidationRuleCreate, BillingInfoValidationRuleUpdate, BillingInfoValidationRuleSort } from './resources/billing_info_validation_rules' export type { BingGeocoder, BingGeocoderCreate, BingGeocoderUpdate, BingGeocoderSort } from './resources/bing_geocoders' export type { BraintreeGateway, BraintreeGatewayCreate, BraintreeGatewayUpdate, BraintreeGatewaySort } from './resources/braintree_gateways' export type { BraintreePayment, BraintreePaymentCreate, BraintreePaymentUpdate, BraintreePaymentSort } from './resources/braintree_payments' @@ -66,6 +65,7 @@ export type { ManualGateway, ManualGatewayCreate, ManualGatewayUpdate, ManualGat export type { ManualTaxCalculator, ManualTaxCalculatorCreate, ManualTaxCalculatorUpdate, ManualTaxCalculatorSort } from './resources/manual_tax_calculators' export type { Market, MarketCreate, MarketUpdate, MarketSort } from './resources/markets' export type { Merchant, MerchantCreate, MerchantUpdate, MerchantSort } from './resources/merchants' +export type { Notification, NotificationCreate, NotificationUpdate, NotificationSort } from './resources/notifications' export type { OrderAmountPromotionRule, OrderAmountPromotionRuleCreate, OrderAmountPromotionRuleUpdate, OrderAmountPromotionRuleSort } from './resources/order_amount_promotion_rules' export type { OrderCopy, OrderCopyCreate, OrderCopyUpdate, OrderCopySort } from './resources/order_copies' export type { OrderFactory, OrderFactorySort } from './resources/order_factories' diff --git a/src/resources/authorizations.ts b/src/resources/authorizations.ts index 80c03957..28f6dfbf 100644 --- a/src/resources/authorizations.ts +++ b/src/resources/authorizations.ts @@ -8,6 +8,16 @@ import type { Event } from './events' import type { Version } from './versions' import type { Capture } from './captures' import type { Void } from './voids' +import type { AdyenPayment } from './adyen_payments' +import type { AxervePayment } from './axerve_payments' +import type { BraintreePayment } from './braintree_payments' +import type { CheckoutComPayment } from './checkout_com_payments' +import type { ExternalPayment } from './external_payments' +import type { KlarnaPayment } from './klarna_payments' +import type { PaypalPayment } from './paypal_payments' +import type { SatispayPayment } from './satispay_payments' +import type { StripePayment } from './stripe_payments' +import type { WireTransfer } from './wire_transfers' type AuthorizationType = 'authorizations' @@ -148,6 +158,7 @@ interface Authorization extends Resource { formatted_void_balance?: string | null order?: Order | null + payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null attachments?: Attachment[] | null events?: Event[] | null versions?: Version[] | null diff --git a/src/resources/billing_info_validation_rules.ts b/src/resources/billing_info_validation_rules.ts deleted file mode 100644 index d30c78e5..00000000 --- a/src/resources/billing_info_validation_rules.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { ApiResource } from '../resource' -import type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource' -import type { QueryParamsRetrieve, QueryParamsList } from '../query' - -import type { Market, MarketType } from './markets' -import type { Attachment } from './attachments' -import type { Version } from './versions' - - -type BillingInfoValidationRuleType = 'billing_info_validation_rules' -type BillingInfoValidationRuleRel = ResourceRel & { type: BillingInfoValidationRuleType } -type MarketRel = ResourceRel & { type: MarketType } - - -export type BillingInfoValidationRuleSort = Pick & ResourceSort -// export type BillingInfoValidationRuleFilter = Pick & ResourceFilter - - -interface BillingInfoValidationRule extends Resource { - - readonly type: BillingInfoValidationRuleType - - - market?: Market | null - attachments?: Attachment[] | null - versions?: Version[] | null - -} - - -interface BillingInfoValidationRuleCreate extends ResourceCreate { - - market: MarketRel - -} - - -interface BillingInfoValidationRuleUpdate extends ResourceUpdate { - - market?: MarketRel | null - -} - - -class BillingInfoValidationRules extends ApiResource { - - static readonly TYPE: BillingInfoValidationRuleType = 'billing_info_validation_rules' as const - - async create(resource: BillingInfoValidationRuleCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { - return this.resources.create({ ...resource, type: BillingInfoValidationRules.TYPE }, params, options) - } - - async update(resource: BillingInfoValidationRuleUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { - return this.resources.update({ ...resource, type: BillingInfoValidationRules.TYPE }, params, options) - } - - async delete(id: string | ResourceId, options?: ResourcesConfig): Promise { - await this.resources.delete((typeof id === 'string')? { id, type: BillingInfoValidationRules.TYPE } : id, options) - } - - async market(billingInfoValidationRuleId: string | BillingInfoValidationRule, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { - const _billingInfoValidationRuleId = (billingInfoValidationRuleId as BillingInfoValidationRule).id || billingInfoValidationRuleId as string - return this.resources.fetch({ type: 'markets' }, `billing_info_validation_rules/${_billingInfoValidationRuleId}/market`, params, options) as unknown as Market - } - - async attachments(billingInfoValidationRuleId: string | BillingInfoValidationRule, params?: QueryParamsList, options?: ResourcesConfig): Promise> { - const _billingInfoValidationRuleId = (billingInfoValidationRuleId as BillingInfoValidationRule).id || billingInfoValidationRuleId as string - return this.resources.fetch({ type: 'attachments' }, `billing_info_validation_rules/${_billingInfoValidationRuleId}/attachments`, params, options) as unknown as ListResponse - } - - async versions(billingInfoValidationRuleId: string | BillingInfoValidationRule, params?: QueryParamsList, options?: ResourcesConfig): Promise> { - const _billingInfoValidationRuleId = (billingInfoValidationRuleId as BillingInfoValidationRule).id || billingInfoValidationRuleId as string - return this.resources.fetch({ type: 'versions' }, `billing_info_validation_rules/${_billingInfoValidationRuleId}/versions`, params, options) as unknown as ListResponse - } - - - isBillingInfoValidationRule(resource: any): resource is BillingInfoValidationRule { - return resource.type && (resource.type === BillingInfoValidationRules.TYPE) - } - - - relationship(id: string | ResourceId | null): BillingInfoValidationRuleRel { - return super.relationshipOneToOne(id) - } - - relationshipToMany(...ids: string[]): BillingInfoValidationRuleRel[] { - return super.relationshipOneToMany(...ids) - } - - - type(): BillingInfoValidationRuleType { - return BillingInfoValidationRules.TYPE - } - -} - - -export default BillingInfoValidationRules - -export type { BillingInfoValidationRule, BillingInfoValidationRuleCreate, BillingInfoValidationRuleUpdate, BillingInfoValidationRuleType } diff --git a/src/resources/captures.ts b/src/resources/captures.ts index fe0c5db1..d254b7c7 100644 --- a/src/resources/captures.ts +++ b/src/resources/captures.ts @@ -9,6 +9,16 @@ import type { Version } from './versions' import type { Authorization } from './authorizations' import type { Refund } from './refunds' import type { Return } from './returns' +import type { AdyenPayment } from './adyen_payments' +import type { AxervePayment } from './axerve_payments' +import type { BraintreePayment } from './braintree_payments' +import type { CheckoutComPayment } from './checkout_com_payments' +import type { ExternalPayment } from './external_payments' +import type { KlarnaPayment } from './klarna_payments' +import type { PaypalPayment } from './paypal_payments' +import type { SatispayPayment } from './satispay_payments' +import type { StripePayment } from './stripe_payments' +import type { WireTransfer } from './wire_transfers' type CaptureType = 'captures' @@ -109,6 +119,7 @@ interface Capture extends Resource { formatted_refund_balance?: string | null order?: Order | null + payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null attachments?: Attachment[] | null events?: Event[] | null versions?: Version[] | null diff --git a/src/resources/customers.ts b/src/resources/customers.ts index 3e7c89b4..0830d485 100644 --- a/src/resources/customers.ts +++ b/src/resources/customers.ts @@ -53,6 +53,11 @@ interface Customer extends Resource { * @example ```"xxx-yyy-zzz"``` */ shopper_reference?: string | null + /** + * A reference to uniquely identify the customer on any connected external services. + * @example ```"xxx-yyy-zzz"``` + */ + profile_id?: string | null customer_group?: CustomerGroup | null customer_addresses?: CustomerAddress[] | null @@ -86,6 +91,11 @@ interface CustomerCreate extends ResourceCreate { * @example ```"xxx-yyy-zzz"``` */ shopper_reference?: string | null + /** + * A reference to uniquely identify the customer on any connected external services. + * @example ```"xxx-yyy-zzz"``` + */ + profile_id?: string | null customer_group?: CustomerGroupRel | null tags?: TagRel[] | null @@ -110,6 +120,11 @@ interface CustomerUpdate extends ResourceUpdate { * @example ```"xxx-yyy-zzz"``` */ shopper_reference?: string | null + /** + * A reference to uniquely identify the customer on any connected external services. + * @example ```"xxx-yyy-zzz"``` + */ + profile_id?: string | null customer_group?: CustomerGroupRel | null tags?: TagRel[] | null diff --git a/src/resources/line_items.ts b/src/resources/line_items.ts index 6f342eff..669e7aef 100644 --- a/src/resources/line_items.ts +++ b/src/resources/line_items.ts @@ -8,6 +8,7 @@ import type { ReturnLineItem } from './return_line_items' import type { StockReservation } from './stock_reservations' import type { StockLineItem } from './stock_line_items' import type { StockTransfer } from './stock_transfers' +import type { Notification } from './notifications' import type { Event } from './events' import type { Tag, TagType } from './tags' import type { Sku, SkuType } from './skus' @@ -80,7 +81,7 @@ interface LineItem extends Resource { */ currency_code?: string | null /** - * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. + * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels. * @example ```"10000"``` */ unit_amount_cents?: number | null @@ -195,10 +196,10 @@ interface LineItem extends Resource { */ tax_breakdown?: Record | null /** - * The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. + * The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. * @example ```"skus"``` */ - item_type?: 'skus' | 'bundles' | 'gift_cards' | 'shipments' | 'payment_methods' | 'adjustments' | 'percentage_discount_promotions' | 'free_shipping_promotions' | 'buy_x_pay_y_promotions' | 'free_gift_promotions' | 'fixed_price_promotions' | 'external_promotions' | 'fixed_amount_promotions' | 'flex_promotions' | null + item_type?: 'skus' | 'bundles' | 'gift_cards' | 'shipments' | 'payment_methods' | 'adjustments' | 'discount_engine_items' | 'percentage_discount_promotions' | 'free_shipping_promotions' | 'buy_x_pay_y_promotions' | 'free_gift_promotions' | 'fixed_price_promotions' | 'external_promotions' | 'fixed_amount_promotions' | 'flex_promotions' | null /** * The frequency which generates a subscription. Must be supported by existing associated subscription_model. * @example ```"monthly"``` @@ -233,6 +234,7 @@ interface LineItem extends Resource { stock_reservations?: StockReservation[] | null stock_line_items?: StockLineItem[] | null stock_transfers?: StockTransfer[] | null + notifications?: Notification[] | null events?: Event[] | null tags?: Tag[] | null @@ -272,7 +274,7 @@ interface LineItemCreate extends ResourceCreate { */ _reserve_stock?: boolean | null /** - * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. + * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels. * @example ```"10000"``` */ unit_amount_cents?: number | null @@ -292,10 +294,10 @@ interface LineItemCreate extends ResourceCreate { */ image_url?: string | null /** - * The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. + * The type of the associated item. One of 'skus', 'bundles', 'gift_cards', 'shipments', 'payment_methods', 'adjustments', 'discount_engine_items', 'percentage_discount_promotions', 'free_shipping_promotions', 'buy_x_pay_y_promotions', 'free_gift_promotions', 'fixed_price_promotions', 'external_promotions', 'fixed_amount_promotions', or 'flex_promotions'. * @example ```"skus"``` */ - item_type?: 'skus' | 'bundles' | 'gift_cards' | 'shipments' | 'payment_methods' | 'adjustments' | 'percentage_discount_promotions' | 'free_shipping_promotions' | 'buy_x_pay_y_promotions' | 'free_gift_promotions' | 'fixed_price_promotions' | 'external_promotions' | 'fixed_amount_promotions' | 'flex_promotions' | null + item_type?: 'skus' | 'bundles' | 'gift_cards' | 'shipments' | 'payment_methods' | 'adjustments' | 'discount_engine_items' | 'percentage_discount_promotions' | 'free_shipping_promotions' | 'buy_x_pay_y_promotions' | 'free_gift_promotions' | 'fixed_price_promotions' | 'external_promotions' | 'fixed_amount_promotions' | 'flex_promotions' | null /** * The frequency which generates a subscription. Must be supported by existing associated subscription_model. * @example ```"monthly"``` @@ -337,7 +339,7 @@ interface LineItemUpdate extends ResourceUpdate { */ _reserve_stock?: boolean | null /** - * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. + * The unit amount of the line item, in cents. Can be specified only via an integration application, or when the item is missing, otherwise is automatically computed by using one of the available methods. Cannot be passed by sales channels. * @example ```"10000"``` */ unit_amount_cents?: number | null @@ -423,6 +425,11 @@ class LineItems extends ApiResource { return this.resources.fetch({ type: 'stock_transfers' }, `line_items/${_lineItemId}/stock_transfers`, params, options) as unknown as ListResponse } + async notifications(lineItemId: string | LineItem, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + const _lineItemId = (lineItemId as LineItem).id || lineItemId as string + return this.resources.fetch({ type: 'notifications' }, `line_items/${_lineItemId}/notifications`, params, options) as unknown as ListResponse + } + async events(lineItemId: string | LineItem, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _lineItemId = (lineItemId as LineItem).id || lineItemId as string return this.resources.fetch({ type: 'events' }, `line_items/${_lineItemId}/events`, params, options) as unknown as ListResponse diff --git a/src/resources/notifications.ts b/src/resources/notifications.ts new file mode 100644 index 00000000..42c491e0 --- /dev/null +++ b/src/resources/notifications.ts @@ -0,0 +1,127 @@ +import { ApiResource } from '../resource' +import type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ResourceSort, /* ResourceFilter */ } from '../resource' +import type { QueryParamsRetrieve } from '../query' + +import type { Order, OrderType } from './orders' +import type { LineItem, LineItemType } from './line_items' + + +type NotificationType = 'notifications' +type NotificationRel = ResourceRel & { type: NotificationType } +type OrderRel = ResourceRel & { type: OrderType } +type LineItemRel = ResourceRel & { type: LineItemType } + + +export type NotificationSort = Pick & ResourceSort +// export type NotificationFilter = Pick & ResourceFilter + + +interface Notification extends Resource { + + readonly type: NotificationType + + /** + * The internal name of the notification. + * @example ```"DDT transport document"``` + */ + name: string + /** + * Indicates if the notification is temporary, valid for the ones created by external services. + */ + flash?: boolean | null + /** + * An internal body of the notification. + * @example ```"[object Object]"``` + */ + body?: Record | null + + notifiable?: Order | LineItem | null + +} + + +interface NotificationCreate extends ResourceCreate { + + /** + * The internal name of the notification. + * @example ```"DDT transport document"``` + */ + name: string + /** + * Indicates if the notification is temporary, valid for the ones created by external services. + */ + flash?: boolean | null + /** + * An internal body of the notification. + * @example ```"[object Object]"``` + */ + body?: Record | null + + notifiable: OrderRel | LineItemRel + +} + + +interface NotificationUpdate extends ResourceUpdate { + + /** + * The internal name of the notification. + * @example ```"DDT transport document"``` + */ + name?: string | null + /** + * Indicates if the notification is temporary, valid for the ones created by external services. + */ + flash?: boolean | null + /** + * An internal body of the notification. + * @example ```"[object Object]"``` + */ + body?: Record | null + + notifiable?: OrderRel | LineItemRel | null + +} + + +class Notifications extends ApiResource { + + static readonly TYPE: NotificationType = 'notifications' as const + + async create(resource: NotificationCreate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.create({ ...resource, type: Notifications.TYPE }, params, options) + } + + async update(resource: NotificationUpdate, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.update({ ...resource, type: Notifications.TYPE }, params, options) + } + + async delete(id: string | ResourceId, options?: ResourcesConfig): Promise { + await this.resources.delete((typeof id === 'string')? { id, type: Notifications.TYPE } : id, options) + } + + + isNotification(resource: any): resource is Notification { + return resource.type && (resource.type === Notifications.TYPE) + } + + + relationship(id: string | ResourceId | null): NotificationRel { + return super.relationshipOneToOne(id) + } + + relationshipToMany(...ids: string[]): NotificationRel[] { + return super.relationshipOneToMany(...ids) + } + + + type(): NotificationType { + return Notifications.TYPE + } + +} + + +export default Notifications + +export type { Notification, NotificationCreate, NotificationUpdate, NotificationType } diff --git a/src/resources/order_copies.ts b/src/resources/order_copies.ts index 2e92eaf9..9340175e 100644 --- a/src/resources/order_copies.ts +++ b/src/resources/order_copies.ts @@ -70,6 +70,11 @@ interface OrderCopy extends Resource { * @example ```"true"``` */ apply_promotions?: boolean | null + /** + * Indicates to ignore any errors during copy. + * @example ```"true"``` + */ + skip_errors?: boolean | null /** * Indicates to ignore invalid coupon code during copy. * @example ```"true"``` @@ -106,6 +111,11 @@ interface OrderCopyCreate extends ResourceCreate { * @example ```"true"``` */ apply_promotions?: boolean | null + /** + * Indicates to ignore any errors during copy. + * @example ```"true"``` + */ + skip_errors?: boolean | null /** * Indicates to ignore invalid coupon code during copy. * @example ```"true"``` diff --git a/src/resources/orders.ts b/src/resources/orders.ts index 699930e8..04fee24e 100644 --- a/src/resources/orders.ts +++ b/src/resources/orders.ts @@ -27,6 +27,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 { Notification } from './notifications' import type { Link } from './links' import type { ResourceError } from './resource_errors' import type { Event } from './events' @@ -65,7 +66,7 @@ type TagRel = ResourceRel & { type: TagType } export type OrderSort = Pick & ResourceSort -// export type OrderFilter = Pick & ResourceFilter +// export type OrderFilter = Pick & ResourceFilter interface Order extends Resource { @@ -78,7 +79,7 @@ interface Order extends Resource { */ number?: string | null /** - * The affiliate code, if any, the seller will transfer commission on shop by link transactions. + * The affiliate code, if any, to track commissions using any third party services. * @example ```"xxxx-yyyy-zzzz"``` */ affiliate_code?: string | null @@ -634,6 +635,7 @@ interface Order extends Resource { order_copies?: OrderCopy[] | null recurring_order_copies?: RecurringOrderCopy[] | null attachments?: Attachment[] | null + notifications?: Notification[] | null links?: Link[] | null resource_errors?: ResourceError[] | null events?: Event[] | null @@ -651,7 +653,7 @@ interface OrderCreate extends ResourceCreate { */ number?: string | null /** - * The affiliate code, if any, the seller will transfer commission on shop by link transactions. + * The affiliate code, if any, to track commissions using any third party services. * @example ```"xxxx-yyyy-zzzz"``` */ affiliate_code?: string | null @@ -760,7 +762,7 @@ interface OrderUpdate extends ResourceUpdate { */ number?: string | null /** - * The affiliate code, if any, the seller will transfer commission on shop by link transactions. + * The affiliate code, if any, to track commissions using any third party services. * @example ```"xxxx-yyyy-zzzz"``` */ affiliate_code?: string | null @@ -917,6 +919,11 @@ interface OrderUpdate extends ResourceUpdate { * Send this attribute if you want to nullify the payment source for this order. */ _nullify_payment_source?: boolean | null + /** + * Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready for approval. Cannot be passed by sales channels. + * @example ```"true"``` + */ + _fix_payment_source?: boolean | null /** * The id of the address that you want to clone to create the order's billing address. * @example ```"1234"``` @@ -1166,6 +1173,11 @@ class Orders extends ApiResource { return this.resources.fetch({ type: 'attachments' }, `orders/${_orderId}/attachments`, params, options) as unknown as ListResponse } + async notifications(orderId: string | Order, params?: QueryParamsList, options?: ResourcesConfig): Promise> { + const _orderId = (orderId as Order).id || orderId as string + return this.resources.fetch({ type: 'notifications' }, `orders/${_orderId}/notifications`, params, options) as unknown as ListResponse + } + async links(orderId: string | Order, params?: QueryParamsList, options?: ResourcesConfig): Promise> { const _orderId = (orderId as Order).id || orderId as string return this.resources.fetch({ type: 'links' }, `orders/${_orderId}/links`, params, options) as unknown as ListResponse @@ -1247,6 +1259,10 @@ class Orders extends ApiResource { return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Orders.TYPE, _nullify_payment_source: true }, params, options) } + async _fix_payment_source(id: string | Order, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { + return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Orders.TYPE, _fix_payment_source: true }, params, options) + } + async _billing_address_clone_id(id: string | Order, triggerValue: string, params?: QueryParamsRetrieve, options?: ResourcesConfig): Promise { return this.resources.update({ id: (typeof id === 'string')? id: id.id, type: Orders.TYPE, _billing_address_clone_id: triggerValue }, params, options) } diff --git a/src/resources/organizations.ts b/src/resources/organizations.ts index 54f16fe9..8e24b295 100644 --- a/src/resources/organizations.ts +++ b/src/resources/organizations.ts @@ -80,10 +80,20 @@ interface Organization extends Resource { * Enables the rules engine for flex promotions and price list rules. */ api_rules_engine?: boolean | null + /** + * Forces the usage of the new Authentication API. + * @example ```"true"``` + */ + api_new_auth?: boolean | null /** * Enables the purge of cached single resources when list is purged. */ api_purge_single_resource?: boolean | null + /** + * The maximum length for the regular expressions, default is 5000. + * @example ```"5000"``` + */ + api_max_regex_length?: number | null /** * Indicates if the phone attribute is required for addresses, default is true. * @example ```"true"``` @@ -157,6 +167,10 @@ interface Organization extends Resource { * @example ```"true"``` */ imports_purge_cache?: boolean | null + /** + * Disables the interruption of the import in case its errors exceeds the 10% threshold, default is false. + */ + imports_skip_errors?: boolean | null /** * The maximum number of active concurrent promotions allowed for your organization, default is 10. * @example ```"10"``` @@ -166,6 +180,19 @@ interface Organization extends Resource { * Enables triggering of webhooks during imports, default is false. */ imports_trigger_webhooks?: number | null + /** + * Enables the use of an external discount engine in place of the standard one, default is false. + */ + discount_engines_enabled?: boolean | null + /** + * Enables raising of API errors in case of discount engine failure, default is false. + */ + discount_engines_errors?: boolean | null + /** + * The maximum length for the tag name, default is 25. + * @example ```"25"``` + */ + tags_max_name_length?: number | null /** * Enables raising of API errors in case of tax calculation failure, default is false. */ diff --git a/src/resources/refunds.ts b/src/resources/refunds.ts index 06471946..c37acf83 100644 --- a/src/resources/refunds.ts +++ b/src/resources/refunds.ts @@ -8,6 +8,16 @@ import type { Event } from './events' import type { Version } from './versions' import type { Capture } from './captures' import type { Return } from './returns' +import type { AdyenPayment } from './adyen_payments' +import type { AxervePayment } from './axerve_payments' +import type { BraintreePayment } from './braintree_payments' +import type { CheckoutComPayment } from './checkout_com_payments' +import type { ExternalPayment } from './external_payments' +import type { KlarnaPayment } from './klarna_payments' +import type { PaypalPayment } from './paypal_payments' +import type { SatispayPayment } from './satispay_payments' +import type { StripePayment } from './stripe_payments' +import type { WireTransfer } from './wire_transfers' type RefundType = 'refunds' @@ -78,6 +88,7 @@ interface Refund extends Resource { gateway_transaction_id?: string | null order?: Order | null + payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null attachments?: Attachment[] | null events?: Event[] | null versions?: Version[] | null diff --git a/src/resources/shipping_zones.ts b/src/resources/shipping_zones.ts index f7ae90f4..11ca8e67 100644 --- a/src/resources/shipping_zones.ts +++ b/src/resources/shipping_zones.ts @@ -24,32 +24,32 @@ interface ShippingZone extends Resource { */ name: string /** - * The regex that will be evaluated to match the shipping address country code. + * The regex that will be evaluated to match the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"``` */ country_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address country code. + * The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE"``` */ not_country_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address state code. + * The regex that will be evaluated to match the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"``` */ state_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address state code. + * The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]"``` */ not_state_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address zip code. + * The regex that will be evaluated to match the shipping address zip code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"``` */ zip_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping zip country code. + * The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3)"``` */ not_zip_code_regex?: string | null @@ -68,32 +68,32 @@ interface ShippingZoneCreate extends ResourceCreate { */ name: string /** - * The regex that will be evaluated to match the shipping address country code. + * The regex that will be evaluated to match the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"``` */ country_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address country code. + * The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE"``` */ not_country_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address state code. + * The regex that will be evaluated to match the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"``` */ state_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address state code. + * The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]"``` */ not_state_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address zip code. + * The regex that will be evaluated to match the shipping address zip code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"``` */ zip_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping zip country code. + * The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3)"``` */ not_zip_code_regex?: string | null @@ -109,32 +109,32 @@ interface ShippingZoneUpdate extends ResourceUpdate { */ name?: string | null /** - * The regex that will be evaluated to match the shipping address country code. + * The regex that will be evaluated to match the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"``` */ country_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address country code. + * The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE"``` */ not_country_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address state code. + * The regex that will be evaluated to match the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"``` */ state_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address state code. + * The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]"``` */ not_state_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address zip code. + * The regex that will be evaluated to match the shipping address zip code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"``` */ zip_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping zip country code. + * The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3)"``` */ not_zip_code_regex?: string | null diff --git a/src/resources/sku_lists.ts b/src/resources/sku_lists.ts index c3919d37..fc638c9f 100644 --- a/src/resources/sku_lists.ts +++ b/src/resources/sku_lists.ts @@ -49,7 +49,7 @@ interface SkuList extends Resource { */ manual?: boolean | null /** - * The regex that will be evaluated to match the SKU codes. + * The regex that will be evaluated to match the SKU codes, max size is 5000. * @example ```"^(A|B).*$"``` */ sku_code_regex?: string | null @@ -87,7 +87,7 @@ interface SkuListCreate extends ResourceCreate { */ manual?: boolean | null /** - * The regex that will be evaluated to match the SKU codes. + * The regex that will be evaluated to match the SKU codes, max size is 5000. * @example ```"^(A|B).*$"``` */ sku_code_regex?: string | null @@ -119,7 +119,7 @@ interface SkuListUpdate extends ResourceUpdate { */ manual?: boolean | null /** - * The regex that will be evaluated to match the SKU codes. + * The regex that will be evaluated to match the SKU codes, max size is 5000. * @example ```"^(A|B).*$"``` */ sku_code_regex?: string | null diff --git a/src/resources/sku_options.ts b/src/resources/sku_options.ts index fd455500..0018c8ea 100644 --- a/src/resources/sku_options.ts +++ b/src/resources/sku_options.ts @@ -64,7 +64,7 @@ interface SkuOption extends Resource { */ delay_days?: number | null /** - * The regex that will be evaluated to match the SKU codes. + * The regex that will be evaluated to match the SKU codes, max size is 5000. * @example ```"^(A|B).*$"``` */ sku_code_regex?: string | null @@ -106,7 +106,7 @@ interface SkuOptionCreate extends ResourceCreate { */ delay_hours?: number | null /** - * The regex that will be evaluated to match the SKU codes. + * The regex that will be evaluated to match the SKU codes, max size is 5000. * @example ```"^(A|B).*$"``` */ sku_code_regex?: string | null @@ -145,7 +145,7 @@ interface SkuOptionUpdate extends ResourceUpdate { */ delay_hours?: number | null /** - * The regex that will be evaluated to match the SKU codes. + * The regex that will be evaluated to match the SKU codes, max size is 5000. * @example ```"^(A|B).*$"``` */ sku_code_regex?: string | null diff --git a/src/resources/stock_transfers.ts b/src/resources/stock_transfers.ts index af50b070..38670473 100644 --- a/src/resources/stock_transfers.ts +++ b/src/resources/stock_transfers.ts @@ -44,7 +44,7 @@ interface StockTransfer extends Resource { */ status: 'draft' | 'upcoming' | 'on_hold' | 'picking' | 'in_transit' | 'completed' | 'cancelled' /** - * The stock quantity to be transferred from the origin stock location to destination one. + * The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability. * @example ```"2"``` */ quantity: number @@ -100,7 +100,7 @@ interface StockTransferCreate extends ResourceCreate { */ sku_code?: string | null /** - * The stock quantity to be transferred from the origin stock location to destination one. + * The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability. * @example ```"2"``` */ quantity: number @@ -126,6 +126,11 @@ interface StockTransferUpdate extends ResourceUpdate { * @example ```"TSHIRTMM000000FFFFFFXLXX"``` */ sku_code?: string | null + /** + * The stock quantity to be transferred from the origin stock location to destination one. Updatable unless stock transfer is completed or cancelled and depending on origin stock availability. + * @example ```"2"``` + */ + quantity?: number | null /** * Send this attribute if you want to mark this stock transfer as upcoming. * @example ```"true"``` diff --git a/src/resources/tax_rules.ts b/src/resources/tax_rules.ts index 95cf362a..9b3cd5df 100644 --- a/src/resources/tax_rules.ts +++ b/src/resources/tax_rules.ts @@ -30,56 +30,56 @@ interface TaxRule extends Resource { */ tax_rate?: number | null /** - * The regex that will be evaluated to match the shipping address country code. + * Indicates if the freight is taxable. + */ + freight_taxable?: boolean | null + /** + * Indicates if the payment method is taxable. + */ + payment_method_taxable?: boolean | null + /** + * Indicates if gift cards are taxable. + */ + gift_card_taxable?: boolean | null + /** + * Indicates if adjustemnts are taxable. + */ + adjustment_taxable?: boolean | null + /** + * The breakdown for this tax rule (if calculated). + * @example ```"[object Object]"``` + */ + breakdown?: Record | null + /** + * The regex that will be evaluated to match the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"``` */ country_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address country code. + * The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE"``` */ not_country_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address state code. + * The regex that will be evaluated to match the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"``` */ state_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address state code. + * The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]"``` */ not_state_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address zip code. + * The regex that will be evaluated to match the shipping address zip code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"``` */ zip_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping zip country code. + * The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3)"``` */ not_zip_code_regex?: string | null - /** - * Indicates if the freight is taxable. - */ - freight_taxable?: boolean | null - /** - * Indicates if the payment method is taxable. - */ - payment_method_taxable?: boolean | null - /** - * Indicates if gift cards are taxable. - */ - gift_card_taxable?: boolean | null - /** - * Indicates if adjustemnts are taxable. - */ - adjustment_taxable?: boolean | null - /** - * The breakdown for this tax rule (if calculated). - * @example ```"[object Object]"``` - */ - breakdown?: Record | null manual_tax_calculator?: ManualTaxCalculator | null versions?: Version[] | null @@ -100,51 +100,51 @@ interface TaxRuleCreate extends ResourceCreate { */ tax_rate?: number | null /** - * The regex that will be evaluated to match the shipping address country code. + * Indicates if the freight is taxable. + */ + freight_taxable?: boolean | null + /** + * Indicates if the payment method is taxable. + */ + payment_method_taxable?: boolean | null + /** + * Indicates if gift cards are taxable. + */ + gift_card_taxable?: boolean | null + /** + * Indicates if adjustemnts are taxable. + */ + adjustment_taxable?: boolean | null + /** + * The regex that will be evaluated to match the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"``` */ country_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address country code. + * The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE"``` */ not_country_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address state code. + * The regex that will be evaluated to match the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"``` */ state_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address state code. + * The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]"``` */ not_state_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address zip code. + * The regex that will be evaluated to match the shipping address zip code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"``` */ zip_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping zip country code. + * The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3)"``` */ not_zip_code_regex?: string | null - /** - * Indicates if the freight is taxable. - */ - freight_taxable?: boolean | null - /** - * Indicates if the payment method is taxable. - */ - payment_method_taxable?: boolean | null - /** - * Indicates if gift cards are taxable. - */ - gift_card_taxable?: boolean | null - /** - * Indicates if adjustemnts are taxable. - */ - adjustment_taxable?: boolean | null manual_tax_calculator: ManualTaxCalculatorRel @@ -164,51 +164,51 @@ interface TaxRuleUpdate extends ResourceUpdate { */ tax_rate?: number | null /** - * The regex that will be evaluated to match the shipping address country code. + * Indicates if the freight is taxable. + */ + freight_taxable?: boolean | null + /** + * Indicates if the payment method is taxable. + */ + payment_method_taxable?: boolean | null + /** + * Indicates if gift cards are taxable. + */ + gift_card_taxable?: boolean | null + /** + * Indicates if adjustemnts are taxable. + */ + adjustment_taxable?: boolean | null + /** + * The regex that will be evaluated to match the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE|HU|LV|LT"``` */ country_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address country code. + * The regex that will be evaluated as negative match for the shipping address country code, max size is 5000. * @example ```"AT|BE|BG|CZ|DK|EE|DE"``` */ not_country_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address state code. + * The regex that will be evaluated to match the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]|D[CE]|FL"``` */ state_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping address state code. + * The regex that will be evaluated as negative match for the shipping address state code, max size is 5000. * @example ```"A[KLRZ]|C[AOT]"``` */ not_state_code_regex?: string | null /** - * The regex that will be evaluated to match the shipping address zip code. + * The regex that will be evaluated to match the shipping address zip code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3|JE4|JE5)"``` */ zip_code_regex?: string | null /** - * The regex that will be evaluated as negative match for the shipping zip country code. + * The regex that will be evaluated as negative match for the shipping zip country code, max size is 5000. * @example ```"(?i)(JE1|JE2|JE3)"``` */ not_zip_code_regex?: string | null - /** - * Indicates if the freight is taxable. - */ - freight_taxable?: boolean | null - /** - * Indicates if the payment method is taxable. - */ - payment_method_taxable?: boolean | null - /** - * Indicates if gift cards are taxable. - */ - gift_card_taxable?: boolean | null - /** - * Indicates if adjustemnts are taxable. - */ - adjustment_taxable?: boolean | null manual_tax_calculator?: ManualTaxCalculatorRel | null diff --git a/src/resources/transactions.ts b/src/resources/transactions.ts index 43fd4484..2ec51c73 100644 --- a/src/resources/transactions.ts +++ b/src/resources/transactions.ts @@ -6,6 +6,16 @@ import type { Order } from './orders' import type { Attachment } from './attachments' import type { Event } from './events' import type { Version } from './versions' +import type { AdyenPayment } from './adyen_payments' +import type { AxervePayment } from './axerve_payments' +import type { BraintreePayment } from './braintree_payments' +import type { CheckoutComPayment } from './checkout_com_payments' +import type { ExternalPayment } from './external_payments' +import type { KlarnaPayment } from './klarna_payments' +import type { PaypalPayment } from './paypal_payments' +import type { SatispayPayment } from './satispay_payments' +import type { StripePayment } from './stripe_payments' +import type { WireTransfer } from './wire_transfers' type TransactionType = 'transactions' @@ -76,6 +86,7 @@ interface Transaction extends Resource { gateway_transaction_id?: string | null order?: Order | null + payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null attachments?: Attachment[] | null events?: Event[] | null versions?: Version[] | null diff --git a/src/resources/voids.ts b/src/resources/voids.ts index 802ae925..59670cf8 100644 --- a/src/resources/voids.ts +++ b/src/resources/voids.ts @@ -7,6 +7,16 @@ import type { Attachment } from './attachments' import type { Event } from './events' import type { Version } from './versions' import type { Authorization } from './authorizations' +import type { AdyenPayment } from './adyen_payments' +import type { AxervePayment } from './axerve_payments' +import type { BraintreePayment } from './braintree_payments' +import type { CheckoutComPayment } from './checkout_com_payments' +import type { ExternalPayment } from './external_payments' +import type { KlarnaPayment } from './klarna_payments' +import type { PaypalPayment } from './paypal_payments' +import type { SatispayPayment } from './satispay_payments' +import type { StripePayment } from './stripe_payments' +import type { WireTransfer } from './wire_transfers' type VoidType = 'voids' @@ -77,6 +87,7 @@ interface Void extends Resource { gateway_transaction_id?: string | null order?: Order | null + payment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null attachments?: Attachment[] | null events?: Event[] | null versions?: Version[] | null