@poweredbysous/storefront-sdk 2.0.1 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +148 -4
- package/dist/index.d.ts +148 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -657,6 +657,31 @@ interface paths {
|
|
|
657
657
|
patch?: never;
|
|
658
658
|
trace?: never;
|
|
659
659
|
};
|
|
660
|
+
"/api/v1/checkout/{checkout_id}/marketing-consent/": {
|
|
661
|
+
parameters: {
|
|
662
|
+
query?: never;
|
|
663
|
+
header?: never;
|
|
664
|
+
path?: never;
|
|
665
|
+
cookie?: never;
|
|
666
|
+
};
|
|
667
|
+
get?: never;
|
|
668
|
+
put?: never;
|
|
669
|
+
post?: never;
|
|
670
|
+
delete?: never;
|
|
671
|
+
options?: never;
|
|
672
|
+
head?: never;
|
|
673
|
+
/**
|
|
674
|
+
* @description PATCH /api/v1/checkout/{id}/marketing-consent/ — the customer's opt-in
|
|
675
|
+
* for special offers and updates.
|
|
676
|
+
*
|
|
677
|
+
* Kept off the delivery PATCH deliberately: consent is an independent choice
|
|
678
|
+
* the customer can toggle at any point in the flow, and folding it into
|
|
679
|
+
* ``set_delivery`` would force a ``DELIVERY_SET`` transition on a write that
|
|
680
|
+
* changes no totals. Store-scoped like every other checkout mutation.
|
|
681
|
+
*/
|
|
682
|
+
patch: operations["checkout_marketing_consent_partial_update"];
|
|
683
|
+
trace?: never;
|
|
684
|
+
};
|
|
660
685
|
"/api/v1/checkout/{checkout_id}/packaging-choice/": {
|
|
661
686
|
parameters: {
|
|
662
687
|
query?: never;
|
|
@@ -2549,7 +2574,7 @@ interface components {
|
|
|
2549
2574
|
id: string;
|
|
2550
2575
|
/**
|
|
2551
2576
|
* Format: int64
|
|
2552
|
-
* @description
|
|
2577
|
+
* @description Store.id from the authenticated merchant
|
|
2553
2578
|
*/
|
|
2554
2579
|
store_id: number;
|
|
2555
2580
|
/**
|
|
@@ -2764,7 +2789,7 @@ interface components {
|
|
|
2764
2789
|
id: string;
|
|
2765
2790
|
/**
|
|
2766
2791
|
* Format: int64
|
|
2767
|
-
* @description
|
|
2792
|
+
* @description Store.id from the authenticated merchant
|
|
2768
2793
|
*/
|
|
2769
2794
|
store_id: number;
|
|
2770
2795
|
/**
|
|
@@ -3038,7 +3063,7 @@ interface components {
|
|
|
3038
3063
|
id: string;
|
|
3039
3064
|
/**
|
|
3040
3065
|
* Format: int64
|
|
3041
|
-
* @description
|
|
3066
|
+
* @description Store.id from the authenticated merchant
|
|
3042
3067
|
*/
|
|
3043
3068
|
store_id: number;
|
|
3044
3069
|
/** @description 6-character alphanumeric code for sharing */
|
|
@@ -3231,7 +3256,7 @@ interface components {
|
|
|
3231
3256
|
order_number: string;
|
|
3232
3257
|
/**
|
|
3233
3258
|
* Format: int64
|
|
3234
|
-
* @description
|
|
3259
|
+
* @description Store.id from the authenticated merchant
|
|
3235
3260
|
*/
|
|
3236
3261
|
store_id: number;
|
|
3237
3262
|
/**
|
|
@@ -3589,6 +3614,24 @@ interface components {
|
|
|
3589
3614
|
/** Format: uuid */
|
|
3590
3615
|
service_point_id?: string | null;
|
|
3591
3616
|
};
|
|
3617
|
+
/**
|
|
3618
|
+
* @description Marketing consent captured at checkout.
|
|
3619
|
+
*
|
|
3620
|
+
* A single opt-in for special offers and updates (over email, SMS or
|
|
3621
|
+
* WhatsApp), plus the version identifier of the consent copy the customer
|
|
3622
|
+
* saw. Stored on the checkout and copied to the order at creation, then
|
|
3623
|
+
* forwarded to the merchant portal, which persists it onto the customer
|
|
3624
|
+
* record. Unticked by default; the order completes regardless of state.
|
|
3625
|
+
*/
|
|
3626
|
+
PatchedMarketingConsentInput: {
|
|
3627
|
+
/** @default false */
|
|
3628
|
+
opted_in: boolean;
|
|
3629
|
+
/**
|
|
3630
|
+
* @description Version id of the consent copy shown to the customer.
|
|
3631
|
+
* @default
|
|
3632
|
+
*/
|
|
3633
|
+
version: string;
|
|
3634
|
+
};
|
|
3592
3635
|
PatchedPromotion: {
|
|
3593
3636
|
readonly id?: number;
|
|
3594
3637
|
/** @description Per-location id (PAT-1306). Required when location_scope=SINGLE; NULL for SUBSET and ALL_LOCATIONS. */
|
|
@@ -7872,6 +7915,107 @@ interface operations {
|
|
|
7872
7915
|
};
|
|
7873
7916
|
};
|
|
7874
7917
|
};
|
|
7918
|
+
checkout_marketing_consent_partial_update: {
|
|
7919
|
+
parameters: {
|
|
7920
|
+
query?: never;
|
|
7921
|
+
header?: never;
|
|
7922
|
+
path: {
|
|
7923
|
+
checkout_id: string;
|
|
7924
|
+
};
|
|
7925
|
+
cookie?: never;
|
|
7926
|
+
};
|
|
7927
|
+
requestBody?: {
|
|
7928
|
+
content: {
|
|
7929
|
+
"application/json": components["schemas"]["PatchedMarketingConsentInput"];
|
|
7930
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedMarketingConsentInput"];
|
|
7931
|
+
"multipart/form-data": components["schemas"]["PatchedMarketingConsentInput"];
|
|
7932
|
+
};
|
|
7933
|
+
};
|
|
7934
|
+
responses: {
|
|
7935
|
+
200: {
|
|
7936
|
+
headers: {
|
|
7937
|
+
[name: string]: unknown;
|
|
7938
|
+
};
|
|
7939
|
+
content: {
|
|
7940
|
+
"application/json": {
|
|
7941
|
+
[key: string]: unknown;
|
|
7942
|
+
};
|
|
7943
|
+
};
|
|
7944
|
+
};
|
|
7945
|
+
/** @description Possible error codes: `CHECKOUT_VALIDATION_ERROR`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7946
|
+
400: {
|
|
7947
|
+
headers: {
|
|
7948
|
+
[name: string]: unknown;
|
|
7949
|
+
};
|
|
7950
|
+
content: {
|
|
7951
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7952
|
+
};
|
|
7953
|
+
};
|
|
7954
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7955
|
+
401: {
|
|
7956
|
+
headers: {
|
|
7957
|
+
[name: string]: unknown;
|
|
7958
|
+
};
|
|
7959
|
+
content: {
|
|
7960
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7961
|
+
};
|
|
7962
|
+
};
|
|
7963
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7964
|
+
403: {
|
|
7965
|
+
headers: {
|
|
7966
|
+
[name: string]: unknown;
|
|
7967
|
+
};
|
|
7968
|
+
content: {
|
|
7969
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7970
|
+
};
|
|
7971
|
+
};
|
|
7972
|
+
/** @description Possible error codes: `CHECKOUT_NOT_FOUND`. Retryable: no. Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_GROUP_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_RATE_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7973
|
+
404: {
|
|
7974
|
+
headers: {
|
|
7975
|
+
[name: string]: unknown;
|
|
7976
|
+
};
|
|
7977
|
+
content: {
|
|
7978
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7979
|
+
};
|
|
7980
|
+
};
|
|
7981
|
+
/** @description Possible error codes: `CHECKOUT_INVALID_STATUS`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7982
|
+
409: {
|
|
7983
|
+
headers: {
|
|
7984
|
+
[name: string]: unknown;
|
|
7985
|
+
};
|
|
7986
|
+
content: {
|
|
7987
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7988
|
+
};
|
|
7989
|
+
};
|
|
7990
|
+
/** @description Possible error codes include `SHIPPING_RATE_EXPIRED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7991
|
+
410: {
|
|
7992
|
+
headers: {
|
|
7993
|
+
[name: string]: unknown;
|
|
7994
|
+
};
|
|
7995
|
+
content: {
|
|
7996
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7997
|
+
};
|
|
7998
|
+
};
|
|
7999
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MERCHANT_AT_CAPACITY`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8000
|
+
429: {
|
|
8001
|
+
headers: {
|
|
8002
|
+
[name: string]: unknown;
|
|
8003
|
+
};
|
|
8004
|
+
content: {
|
|
8005
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
8006
|
+
};
|
|
8007
|
+
};
|
|
8008
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8009
|
+
500: {
|
|
8010
|
+
headers: {
|
|
8011
|
+
[name: string]: unknown;
|
|
8012
|
+
};
|
|
8013
|
+
content: {
|
|
8014
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
8015
|
+
};
|
|
8016
|
+
};
|
|
8017
|
+
};
|
|
8018
|
+
};
|
|
7875
8019
|
checkout_packaging_choice_create: {
|
|
7876
8020
|
parameters: {
|
|
7877
8021
|
query?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -657,6 +657,31 @@ interface paths {
|
|
|
657
657
|
patch?: never;
|
|
658
658
|
trace?: never;
|
|
659
659
|
};
|
|
660
|
+
"/api/v1/checkout/{checkout_id}/marketing-consent/": {
|
|
661
|
+
parameters: {
|
|
662
|
+
query?: never;
|
|
663
|
+
header?: never;
|
|
664
|
+
path?: never;
|
|
665
|
+
cookie?: never;
|
|
666
|
+
};
|
|
667
|
+
get?: never;
|
|
668
|
+
put?: never;
|
|
669
|
+
post?: never;
|
|
670
|
+
delete?: never;
|
|
671
|
+
options?: never;
|
|
672
|
+
head?: never;
|
|
673
|
+
/**
|
|
674
|
+
* @description PATCH /api/v1/checkout/{id}/marketing-consent/ — the customer's opt-in
|
|
675
|
+
* for special offers and updates.
|
|
676
|
+
*
|
|
677
|
+
* Kept off the delivery PATCH deliberately: consent is an independent choice
|
|
678
|
+
* the customer can toggle at any point in the flow, and folding it into
|
|
679
|
+
* ``set_delivery`` would force a ``DELIVERY_SET`` transition on a write that
|
|
680
|
+
* changes no totals. Store-scoped like every other checkout mutation.
|
|
681
|
+
*/
|
|
682
|
+
patch: operations["checkout_marketing_consent_partial_update"];
|
|
683
|
+
trace?: never;
|
|
684
|
+
};
|
|
660
685
|
"/api/v1/checkout/{checkout_id}/packaging-choice/": {
|
|
661
686
|
parameters: {
|
|
662
687
|
query?: never;
|
|
@@ -2549,7 +2574,7 @@ interface components {
|
|
|
2549
2574
|
id: string;
|
|
2550
2575
|
/**
|
|
2551
2576
|
* Format: int64
|
|
2552
|
-
* @description
|
|
2577
|
+
* @description Store.id from the authenticated merchant
|
|
2553
2578
|
*/
|
|
2554
2579
|
store_id: number;
|
|
2555
2580
|
/**
|
|
@@ -2764,7 +2789,7 @@ interface components {
|
|
|
2764
2789
|
id: string;
|
|
2765
2790
|
/**
|
|
2766
2791
|
* Format: int64
|
|
2767
|
-
* @description
|
|
2792
|
+
* @description Store.id from the authenticated merchant
|
|
2768
2793
|
*/
|
|
2769
2794
|
store_id: number;
|
|
2770
2795
|
/**
|
|
@@ -3038,7 +3063,7 @@ interface components {
|
|
|
3038
3063
|
id: string;
|
|
3039
3064
|
/**
|
|
3040
3065
|
* Format: int64
|
|
3041
|
-
* @description
|
|
3066
|
+
* @description Store.id from the authenticated merchant
|
|
3042
3067
|
*/
|
|
3043
3068
|
store_id: number;
|
|
3044
3069
|
/** @description 6-character alphanumeric code for sharing */
|
|
@@ -3231,7 +3256,7 @@ interface components {
|
|
|
3231
3256
|
order_number: string;
|
|
3232
3257
|
/**
|
|
3233
3258
|
* Format: int64
|
|
3234
|
-
* @description
|
|
3259
|
+
* @description Store.id from the authenticated merchant
|
|
3235
3260
|
*/
|
|
3236
3261
|
store_id: number;
|
|
3237
3262
|
/**
|
|
@@ -3589,6 +3614,24 @@ interface components {
|
|
|
3589
3614
|
/** Format: uuid */
|
|
3590
3615
|
service_point_id?: string | null;
|
|
3591
3616
|
};
|
|
3617
|
+
/**
|
|
3618
|
+
* @description Marketing consent captured at checkout.
|
|
3619
|
+
*
|
|
3620
|
+
* A single opt-in for special offers and updates (over email, SMS or
|
|
3621
|
+
* WhatsApp), plus the version identifier of the consent copy the customer
|
|
3622
|
+
* saw. Stored on the checkout and copied to the order at creation, then
|
|
3623
|
+
* forwarded to the merchant portal, which persists it onto the customer
|
|
3624
|
+
* record. Unticked by default; the order completes regardless of state.
|
|
3625
|
+
*/
|
|
3626
|
+
PatchedMarketingConsentInput: {
|
|
3627
|
+
/** @default false */
|
|
3628
|
+
opted_in: boolean;
|
|
3629
|
+
/**
|
|
3630
|
+
* @description Version id of the consent copy shown to the customer.
|
|
3631
|
+
* @default
|
|
3632
|
+
*/
|
|
3633
|
+
version: string;
|
|
3634
|
+
};
|
|
3592
3635
|
PatchedPromotion: {
|
|
3593
3636
|
readonly id?: number;
|
|
3594
3637
|
/** @description Per-location id (PAT-1306). Required when location_scope=SINGLE; NULL for SUBSET and ALL_LOCATIONS. */
|
|
@@ -7872,6 +7915,107 @@ interface operations {
|
|
|
7872
7915
|
};
|
|
7873
7916
|
};
|
|
7874
7917
|
};
|
|
7918
|
+
checkout_marketing_consent_partial_update: {
|
|
7919
|
+
parameters: {
|
|
7920
|
+
query?: never;
|
|
7921
|
+
header?: never;
|
|
7922
|
+
path: {
|
|
7923
|
+
checkout_id: string;
|
|
7924
|
+
};
|
|
7925
|
+
cookie?: never;
|
|
7926
|
+
};
|
|
7927
|
+
requestBody?: {
|
|
7928
|
+
content: {
|
|
7929
|
+
"application/json": components["schemas"]["PatchedMarketingConsentInput"];
|
|
7930
|
+
"application/x-www-form-urlencoded": components["schemas"]["PatchedMarketingConsentInput"];
|
|
7931
|
+
"multipart/form-data": components["schemas"]["PatchedMarketingConsentInput"];
|
|
7932
|
+
};
|
|
7933
|
+
};
|
|
7934
|
+
responses: {
|
|
7935
|
+
200: {
|
|
7936
|
+
headers: {
|
|
7937
|
+
[name: string]: unknown;
|
|
7938
|
+
};
|
|
7939
|
+
content: {
|
|
7940
|
+
"application/json": {
|
|
7941
|
+
[key: string]: unknown;
|
|
7942
|
+
};
|
|
7943
|
+
};
|
|
7944
|
+
};
|
|
7945
|
+
/** @description Possible error codes: `CHECKOUT_VALIDATION_ERROR`. Retryable: no. Possible error codes include `VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_PAID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_VALIDATION_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_CART_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GATEWAY_ID`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_GATEWAY`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_SHIPPING_METHOD`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_FULFILLMENT_MISMATCH`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MISSING_GIFT_CARD_CODE`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `GATEWAY_NOT_ENABLED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `INVALID_TAX_PROVIDER`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7946
|
+
400: {
|
|
7947
|
+
headers: {
|
|
7948
|
+
[name: string]: unknown;
|
|
7949
|
+
};
|
|
7950
|
+
content: {
|
|
7951
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7952
|
+
};
|
|
7953
|
+
};
|
|
7954
|
+
/** @description Possible error codes include `UNAUTHORIZED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7955
|
+
401: {
|
|
7956
|
+
headers: {
|
|
7957
|
+
[name: string]: unknown;
|
|
7958
|
+
};
|
|
7959
|
+
content: {
|
|
7960
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7961
|
+
};
|
|
7962
|
+
};
|
|
7963
|
+
/** @description Possible error codes include `FORBIDDEN`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7964
|
+
403: {
|
|
7965
|
+
headers: {
|
|
7966
|
+
[name: string]: unknown;
|
|
7967
|
+
};
|
|
7968
|
+
content: {
|
|
7969
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7970
|
+
};
|
|
7971
|
+
};
|
|
7972
|
+
/** @description Possible error codes: `CHECKOUT_NOT_FOUND`. Retryable: no. Possible error codes include `NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `CHECKOUT_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_GROUP_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `SHIPPING_RATE_NOT_FOUND`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7973
|
+
404: {
|
|
7974
|
+
headers: {
|
|
7975
|
+
[name: string]: unknown;
|
|
7976
|
+
};
|
|
7977
|
+
content: {
|
|
7978
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7979
|
+
};
|
|
7980
|
+
};
|
|
7981
|
+
/** @description Possible error codes: `CHECKOUT_INVALID_STATUS`. Retryable: no. Possible error codes include `CHECKOUT_INVALID_STATUS`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `PAYMENT_IN_FLIGHT`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `store_closed_for_date`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7982
|
+
409: {
|
|
7983
|
+
headers: {
|
|
7984
|
+
[name: string]: unknown;
|
|
7985
|
+
};
|
|
7986
|
+
content: {
|
|
7987
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7988
|
+
};
|
|
7989
|
+
};
|
|
7990
|
+
/** @description Possible error codes include `SHIPPING_RATE_EXPIRED`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
7991
|
+
410: {
|
|
7992
|
+
headers: {
|
|
7993
|
+
[name: string]: unknown;
|
|
7994
|
+
};
|
|
7995
|
+
content: {
|
|
7996
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
7997
|
+
};
|
|
7998
|
+
};
|
|
7999
|
+
/** @description Possible error codes include `RATE_LIMITED`. Use `x-error-codes` for machine-readable retryability metadata. Possible error codes include `MERCHANT_AT_CAPACITY`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8000
|
+
429: {
|
|
8001
|
+
headers: {
|
|
8002
|
+
[name: string]: unknown;
|
|
8003
|
+
};
|
|
8004
|
+
content: {
|
|
8005
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
8006
|
+
};
|
|
8007
|
+
};
|
|
8008
|
+
/** @description Possible error codes include `INTERNAL_ERROR`. Use `x-error-codes` for machine-readable retryability metadata. */
|
|
8009
|
+
500: {
|
|
8010
|
+
headers: {
|
|
8011
|
+
[name: string]: unknown;
|
|
8012
|
+
};
|
|
8013
|
+
content: {
|
|
8014
|
+
"application/json": components["schemas"]["APIErrorEnvelope"];
|
|
8015
|
+
};
|
|
8016
|
+
};
|
|
8017
|
+
};
|
|
8018
|
+
};
|
|
7875
8019
|
checkout_packaging_choice_create: {
|
|
7876
8020
|
parameters: {
|
|
7877
8021
|
query?: never;
|