@aimee.shop/sdk 0.20.0 → 0.21.0-dev.176
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/generated/core-api.d.ts +943 -6
- package/dist/generated/core-api.d.ts.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/services/core/checkout.client.d.ts +10 -0
- package/dist/services/core/checkout.client.d.ts.map +1 -1
- package/dist/services/core/checkout.client.js +7 -0
- package/dist/services/core/checkout.client.js.map +1 -1
- package/dist/services/core/shipping/types.d.ts +10 -0
- package/dist/services/core/shipping/types.d.ts.map +1 -1
- package/dist/services/core/storefront/index.d.ts +3 -1
- package/dist/services/core/storefront/index.d.ts.map +1 -1
- package/dist/services/core/storefront/index.js +2 -0
- package/dist/services/core/storefront/index.js.map +1 -1
- package/dist/services/core/storefront/storefront-orders.client.d.ts +37 -0
- package/dist/services/core/storefront/storefront-orders.client.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront-orders.client.js +31 -0
- package/dist/services/core/storefront/storefront-orders.client.js.map +1 -1
- package/dist/services/core/storefront/storefront-plans.client.d.ts +8 -1
- package/dist/services/core/storefront/storefront-plans.client.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront-plans.client.js.map +1 -1
- package/dist/services/core/storefront/storefront-privacy.client.d.ts +37 -0
- package/dist/services/core/storefront/storefront-privacy.client.d.ts.map +1 -0
- package/dist/services/core/storefront/storefront-privacy.client.js +45 -0
- package/dist/services/core/storefront/storefront-privacy.client.js.map +1 -0
- package/dist/services/core/storefront/storefront-returns.client.d.ts +53 -0
- package/dist/services/core/storefront/storefront-returns.client.d.ts.map +1 -0
- package/dist/services/core/storefront/storefront-returns.client.js +70 -0
- package/dist/services/core/storefront/storefront-returns.client.js.map +1 -0
- package/dist/services/core/storefront/storefront.client.d.ts +15 -1
- package/dist/services/core/storefront/storefront.client.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront.client.js +25 -1
- package/dist/services/core/storefront/storefront.client.js.map +1 -1
- package/package.json +1 -1
|
@@ -7459,6 +7459,26 @@ export interface paths {
|
|
|
7459
7459
|
patch?: never;
|
|
7460
7460
|
trace?: never;
|
|
7461
7461
|
};
|
|
7462
|
+
'/v1/checkout/sessions/{id}/billing-address': {
|
|
7463
|
+
parameters: {
|
|
7464
|
+
query?: never;
|
|
7465
|
+
header?: never;
|
|
7466
|
+
path?: never;
|
|
7467
|
+
cookie?: never;
|
|
7468
|
+
};
|
|
7469
|
+
get?: never;
|
|
7470
|
+
/**
|
|
7471
|
+
* Update billing address
|
|
7472
|
+
* @description Set or replace the billing address on a checkout session. Totals and tax keep using the shipping address.
|
|
7473
|
+
*/
|
|
7474
|
+
put: operations['CheckoutController_updateBillingAddress'];
|
|
7475
|
+
post?: never;
|
|
7476
|
+
delete?: never;
|
|
7477
|
+
options?: never;
|
|
7478
|
+
head?: never;
|
|
7479
|
+
patch?: never;
|
|
7480
|
+
trace?: never;
|
|
7481
|
+
};
|
|
7462
7482
|
'/v1/checkout/sessions/{id}/shipping-rates': {
|
|
7463
7483
|
parameters: {
|
|
7464
7484
|
query?: never;
|
|
@@ -9881,6 +9901,206 @@ export interface paths {
|
|
|
9881
9901
|
patch?: never;
|
|
9882
9902
|
trace?: never;
|
|
9883
9903
|
};
|
|
9904
|
+
'/v1/storefront/orders/{id}/fulfillments': {
|
|
9905
|
+
parameters: {
|
|
9906
|
+
query?: never;
|
|
9907
|
+
header?: never;
|
|
9908
|
+
path?: never;
|
|
9909
|
+
cookie?: never;
|
|
9910
|
+
};
|
|
9911
|
+
/**
|
|
9912
|
+
* List own order shipments
|
|
9913
|
+
* @description Shipments of an order belonging to the authenticated customer, with carrier, tracking and the lines in each. Otherwise 404.
|
|
9914
|
+
*/
|
|
9915
|
+
get: operations['StorefrontOrdersController_getFulfillments'];
|
|
9916
|
+
put?: never;
|
|
9917
|
+
post?: never;
|
|
9918
|
+
delete?: never;
|
|
9919
|
+
options?: never;
|
|
9920
|
+
head?: never;
|
|
9921
|
+
patch?: never;
|
|
9922
|
+
trace?: never;
|
|
9923
|
+
};
|
|
9924
|
+
'/v1/storefront/orders/{id}/invoices': {
|
|
9925
|
+
parameters: {
|
|
9926
|
+
query?: never;
|
|
9927
|
+
header?: never;
|
|
9928
|
+
path?: never;
|
|
9929
|
+
cookie?: never;
|
|
9930
|
+
};
|
|
9931
|
+
/**
|
|
9932
|
+
* List own order invoices
|
|
9933
|
+
* @description Invoices of an order belonging to the authenticated customer (drafts excluded); otherwise 404.
|
|
9934
|
+
*/
|
|
9935
|
+
get: operations['StorefrontOrdersController_getInvoices'];
|
|
9936
|
+
put?: never;
|
|
9937
|
+
post?: never;
|
|
9938
|
+
delete?: never;
|
|
9939
|
+
options?: never;
|
|
9940
|
+
head?: never;
|
|
9941
|
+
patch?: never;
|
|
9942
|
+
trace?: never;
|
|
9943
|
+
};
|
|
9944
|
+
'/v1/storefront/orders/{id}/cancellation': {
|
|
9945
|
+
parameters: {
|
|
9946
|
+
query?: never;
|
|
9947
|
+
header?: never;
|
|
9948
|
+
path?: never;
|
|
9949
|
+
cookie?: never;
|
|
9950
|
+
};
|
|
9951
|
+
/**
|
|
9952
|
+
* Can the order still be cancelled
|
|
9953
|
+
* @description Whether the shopper can cancel now under the store cancel window, and until when. Refused once shipped or released to the ERP.
|
|
9954
|
+
*/
|
|
9955
|
+
get: operations['StorefrontOrdersController_getCancellationStatus'];
|
|
9956
|
+
put?: never;
|
|
9957
|
+
post?: never;
|
|
9958
|
+
delete?: never;
|
|
9959
|
+
options?: never;
|
|
9960
|
+
head?: never;
|
|
9961
|
+
patch?: never;
|
|
9962
|
+
trace?: never;
|
|
9963
|
+
};
|
|
9964
|
+
'/v1/storefront/orders/{id}/cancel': {
|
|
9965
|
+
parameters: {
|
|
9966
|
+
query?: never;
|
|
9967
|
+
header?: never;
|
|
9968
|
+
path?: never;
|
|
9969
|
+
cookie?: never;
|
|
9970
|
+
};
|
|
9971
|
+
get?: never;
|
|
9972
|
+
put?: never;
|
|
9973
|
+
/**
|
|
9974
|
+
* Cancel own order
|
|
9975
|
+
* @description Cancels an order of the authenticated customer within the store cancel window (default 30 minutes, minimum 5). 409 with code ORDER_CANCEL_WINDOW_CLOSED, ORDER_ALREADY_SHIPPED, ORDER_RELEASED_TO_ERP or ORDER_NOT_CANCELLABLE otherwise.
|
|
9976
|
+
*/
|
|
9977
|
+
post: operations['StorefrontOrderActionsController_cancel'];
|
|
9978
|
+
delete?: never;
|
|
9979
|
+
options?: never;
|
|
9980
|
+
head?: never;
|
|
9981
|
+
patch?: never;
|
|
9982
|
+
trace?: never;
|
|
9983
|
+
};
|
|
9984
|
+
'/v1/storefront/orders/{orderId}/returns': {
|
|
9985
|
+
parameters: {
|
|
9986
|
+
query?: never;
|
|
9987
|
+
header?: never;
|
|
9988
|
+
path?: never;
|
|
9989
|
+
cookie?: never;
|
|
9990
|
+
};
|
|
9991
|
+
get?: never;
|
|
9992
|
+
put?: never;
|
|
9993
|
+
/**
|
|
9994
|
+
* Start a return for own order
|
|
9995
|
+
* @description Requests a return of items from an order of the authenticated customer. The window is 30 days from delivery (else from the order date); quantities already on a live return are not returnable again.
|
|
9996
|
+
*/
|
|
9997
|
+
post: operations['StorefrontReturnsController_startReturn'];
|
|
9998
|
+
delete?: never;
|
|
9999
|
+
options?: never;
|
|
10000
|
+
head?: never;
|
|
10001
|
+
patch?: never;
|
|
10002
|
+
trace?: never;
|
|
10003
|
+
};
|
|
10004
|
+
'/v1/storefront/returns': {
|
|
10005
|
+
parameters: {
|
|
10006
|
+
query?: never;
|
|
10007
|
+
header?: never;
|
|
10008
|
+
path?: never;
|
|
10009
|
+
cookie?: never;
|
|
10010
|
+
};
|
|
10011
|
+
/**
|
|
10012
|
+
* List own returns
|
|
10013
|
+
* @description Returns of the authenticated customer, newest first.
|
|
10014
|
+
*/
|
|
10015
|
+
get: operations['StorefrontReturnsController_listReturns'];
|
|
10016
|
+
put?: never;
|
|
10017
|
+
post?: never;
|
|
10018
|
+
delete?: never;
|
|
10019
|
+
options?: never;
|
|
10020
|
+
head?: never;
|
|
10021
|
+
patch?: never;
|
|
10022
|
+
trace?: never;
|
|
10023
|
+
};
|
|
10024
|
+
'/v1/storefront/returns/{id}': {
|
|
10025
|
+
parameters: {
|
|
10026
|
+
query?: never;
|
|
10027
|
+
header?: never;
|
|
10028
|
+
path?: never;
|
|
10029
|
+
cookie?: never;
|
|
10030
|
+
};
|
|
10031
|
+
/**
|
|
10032
|
+
* Get own return
|
|
10033
|
+
* @description A return of the authenticated customer; otherwise 404.
|
|
10034
|
+
*/
|
|
10035
|
+
get: operations['StorefrontReturnsController_getReturn'];
|
|
10036
|
+
put?: never;
|
|
10037
|
+
post?: never;
|
|
10038
|
+
delete?: never;
|
|
10039
|
+
options?: never;
|
|
10040
|
+
head?: never;
|
|
10041
|
+
patch?: never;
|
|
10042
|
+
trace?: never;
|
|
10043
|
+
};
|
|
10044
|
+
'/v1/storefront/returns/{id}/label': {
|
|
10045
|
+
parameters: {
|
|
10046
|
+
query?: never;
|
|
10047
|
+
header?: never;
|
|
10048
|
+
path?: never;
|
|
10049
|
+
cookie?: never;
|
|
10050
|
+
};
|
|
10051
|
+
get?: never;
|
|
10052
|
+
put?: never;
|
|
10053
|
+
/**
|
|
10054
|
+
* Create the prepaid label for an approved return
|
|
10055
|
+
* @description Generates the return label once the merchant has approved the return; the response carries shippingLabelUrl and trackingNumber.
|
|
10056
|
+
*/
|
|
10057
|
+
post: operations['StorefrontReturnsController_createLabel'];
|
|
10058
|
+
delete?: never;
|
|
10059
|
+
options?: never;
|
|
10060
|
+
head?: never;
|
|
10061
|
+
patch?: never;
|
|
10062
|
+
trace?: never;
|
|
10063
|
+
};
|
|
10064
|
+
'/v1/storefront/privacy': {
|
|
10065
|
+
parameters: {
|
|
10066
|
+
query?: never;
|
|
10067
|
+
header?: never;
|
|
10068
|
+
path?: never;
|
|
10069
|
+
cookie?: never;
|
|
10070
|
+
};
|
|
10071
|
+
/**
|
|
10072
|
+
* Get own privacy choices
|
|
10073
|
+
* @description The "Do Not Sell or Share" opt-out kept on the account.
|
|
10074
|
+
*/
|
|
10075
|
+
get: operations['StorefrontPrivacyController_get'];
|
|
10076
|
+
put?: never;
|
|
10077
|
+
post?: never;
|
|
10078
|
+
delete?: never;
|
|
10079
|
+
options?: never;
|
|
10080
|
+
head?: never;
|
|
10081
|
+
patch?: never;
|
|
10082
|
+
trace?: never;
|
|
10083
|
+
};
|
|
10084
|
+
'/v1/storefront/privacy/data-sharing': {
|
|
10085
|
+
parameters: {
|
|
10086
|
+
query?: never;
|
|
10087
|
+
header?: never;
|
|
10088
|
+
path?: never;
|
|
10089
|
+
cookie?: never;
|
|
10090
|
+
};
|
|
10091
|
+
get?: never;
|
|
10092
|
+
/**
|
|
10093
|
+
* Opt out of, or back into, sale or sharing of data
|
|
10094
|
+
* @description Saves the "Do Not Sell or Share" choice on the account. A Global Privacy Control signal (source gpc) counts as an opt-out and can never opt back in. Audited.
|
|
10095
|
+
*/
|
|
10096
|
+
put: operations['StorefrontPrivacyController_updateDataSharing'];
|
|
10097
|
+
post?: never;
|
|
10098
|
+
delete?: never;
|
|
10099
|
+
options?: never;
|
|
10100
|
+
head?: never;
|
|
10101
|
+
patch?: never;
|
|
10102
|
+
trace?: never;
|
|
10103
|
+
};
|
|
9884
10104
|
'/v1/storefront/addresses': {
|
|
9885
10105
|
parameters: {
|
|
9886
10106
|
query?: never;
|
|
@@ -22301,9 +22521,25 @@ export interface components {
|
|
|
22301
22521
|
[key: string]: unknown;
|
|
22302
22522
|
};
|
|
22303
22523
|
};
|
|
22524
|
+
ExcludedShippingRateDto: {
|
|
22525
|
+
/** @description ID of the shipping rate entity */
|
|
22526
|
+
shippingRateId?: string;
|
|
22527
|
+
/** @example express-saver */
|
|
22528
|
+
serviceCode: string;
|
|
22529
|
+
/** @example Express Saver */
|
|
22530
|
+
serviceName: string;
|
|
22531
|
+
/**
|
|
22532
|
+
* @description Why the rate was withheld
|
|
22533
|
+
* @example po_box_not_supported
|
|
22534
|
+
* @enum {string}
|
|
22535
|
+
*/
|
|
22536
|
+
reason: 'po_box_not_supported';
|
|
22537
|
+
};
|
|
22304
22538
|
ShippingRateResponseDto: {
|
|
22305
22539
|
/** @description Available shipping rate options */
|
|
22306
22540
|
rates: components['schemas']['ShippingRateOptionDto'][];
|
|
22541
|
+
/** @description Rates withheld for this destination, each with a machine-readable reason */
|
|
22542
|
+
excludedRates: components['schemas']['ExcludedShippingRateDto'][];
|
|
22307
22543
|
/**
|
|
22308
22544
|
* @description Time taken to calculate rates in milliseconds
|
|
22309
22545
|
* @example 245
|
|
@@ -23631,7 +23867,6 @@ export interface components {
|
|
|
23631
23867
|
* @description Shipping restrictions for this class
|
|
23632
23868
|
* @example {
|
|
23633
23869
|
* "requiresSignature": true,
|
|
23634
|
-
* "noPoBox": true,
|
|
23635
23870
|
* "packagingRequirements": "extraPadding"
|
|
23636
23871
|
* }
|
|
23637
23872
|
*/
|
|
@@ -23685,7 +23920,6 @@ export interface components {
|
|
|
23685
23920
|
* @description Shipping restrictions for this class
|
|
23686
23921
|
* @example {
|
|
23687
23922
|
* "requiresSignature": true,
|
|
23688
|
-
* "noPoBox": true,
|
|
23689
23923
|
* "packagingRequirements": "extraPadding"
|
|
23690
23924
|
* }
|
|
23691
23925
|
*/
|
|
@@ -23740,7 +23974,6 @@ export interface components {
|
|
|
23740
23974
|
* @description Shipping restrictions for this class
|
|
23741
23975
|
* @example {
|
|
23742
23976
|
* "requiresSignature": true,
|
|
23743
|
-
* "noPoBox": true,
|
|
23744
23977
|
* "packagingRequirements": "extraPadding"
|
|
23745
23978
|
* }
|
|
23746
23979
|
*/
|
|
@@ -23821,6 +24054,12 @@ export interface components {
|
|
|
23821
24054
|
* @example 5
|
|
23822
24055
|
*/
|
|
23823
24056
|
deliveryEstimateMaxDays?: number;
|
|
24057
|
+
/**
|
|
24058
|
+
* @description When true the rate is not offered for PO box destinations (checkout returns it unavailable with code po_box_not_supported)
|
|
24059
|
+
* @default false
|
|
24060
|
+
* @example false
|
|
24061
|
+
*/
|
|
24062
|
+
noPoBox?: boolean;
|
|
23824
24063
|
/**
|
|
23825
24064
|
* @description Optional provider ID for calculated rates (null = internal calculation)
|
|
23826
24065
|
* @example provider-uuid-123
|
|
@@ -23929,9 +24168,15 @@ export interface components {
|
|
|
23929
24168
|
isAvailable: boolean;
|
|
23930
24169
|
/**
|
|
23931
24170
|
* @description Reason if not available
|
|
23932
|
-
* @example
|
|
24171
|
+
* @example Needs a street address; not available for PO boxes
|
|
23933
24172
|
*/
|
|
23934
24173
|
unavailableReason?: string;
|
|
24174
|
+
/**
|
|
24175
|
+
* @description Machine-readable code for why the option is unavailable; show a note to the shopper
|
|
24176
|
+
* @example po_box_not_supported
|
|
24177
|
+
* @enum {string}
|
|
24178
|
+
*/
|
|
24179
|
+
unavailableCode?: 'po_box_not_supported';
|
|
23935
24180
|
};
|
|
23936
24181
|
ShippingRateListResponseDto: {
|
|
23937
24182
|
/** @description List of shipping rates */
|
|
@@ -24003,6 +24248,12 @@ export interface components {
|
|
|
24003
24248
|
* @example 5
|
|
24004
24249
|
*/
|
|
24005
24250
|
deliveryEstimateMaxDays?: number;
|
|
24251
|
+
/**
|
|
24252
|
+
* @description When true the rate is not offered for PO box destinations (checkout returns it unavailable with code po_box_not_supported)
|
|
24253
|
+
* @default false
|
|
24254
|
+
* @example false
|
|
24255
|
+
*/
|
|
24256
|
+
noPoBox?: boolean;
|
|
24006
24257
|
/**
|
|
24007
24258
|
* @description Optional provider ID for calculated rates (null = internal calculation)
|
|
24008
24259
|
* @example provider-uuid-123
|
|
@@ -29924,6 +30175,83 @@ export interface components {
|
|
|
29924
30175
|
*/
|
|
29925
30176
|
useForBilling?: boolean;
|
|
29926
30177
|
};
|
|
30178
|
+
UpdateBillingAddressDto: {
|
|
30179
|
+
/**
|
|
30180
|
+
* @description Reference to a saved CustomerAddress this was copied from
|
|
30181
|
+
* @example 550e8400-e29b-41d4-a716-446655440000
|
|
30182
|
+
*/
|
|
30183
|
+
addressId?: string;
|
|
30184
|
+
/**
|
|
30185
|
+
* @description First name
|
|
30186
|
+
* @example John
|
|
30187
|
+
*/
|
|
30188
|
+
firstName: string;
|
|
30189
|
+
/**
|
|
30190
|
+
* @description Last name
|
|
30191
|
+
* @example Doe
|
|
30192
|
+
*/
|
|
30193
|
+
lastName: string;
|
|
30194
|
+
/**
|
|
30195
|
+
* @description Company name
|
|
30196
|
+
* @example Acme Corp
|
|
30197
|
+
*/
|
|
30198
|
+
company?: string;
|
|
30199
|
+
/**
|
|
30200
|
+
* @description Address line 1
|
|
30201
|
+
* @example 123 Main St
|
|
30202
|
+
*/
|
|
30203
|
+
address1: string;
|
|
30204
|
+
/**
|
|
30205
|
+
* @description Address line 2
|
|
30206
|
+
* @example Apt 4B
|
|
30207
|
+
*/
|
|
30208
|
+
address2?: string;
|
|
30209
|
+
/**
|
|
30210
|
+
* @description City
|
|
30211
|
+
* @example New York
|
|
30212
|
+
*/
|
|
30213
|
+
city: string;
|
|
30214
|
+
/**
|
|
30215
|
+
* @description State/province/region code
|
|
30216
|
+
* @example NY
|
|
30217
|
+
*/
|
|
30218
|
+
state?: string;
|
|
30219
|
+
/**
|
|
30220
|
+
* @description State/province/region display name
|
|
30221
|
+
* @example New York
|
|
30222
|
+
*/
|
|
30223
|
+
stateName?: string;
|
|
30224
|
+
/**
|
|
30225
|
+
* @description ZIP or postal code. Required unless the country does not use postal codes (e.g. HK, AE); format-checked for countries with a known pattern.
|
|
30226
|
+
* @example 10001
|
|
30227
|
+
*/
|
|
30228
|
+
zip?: string;
|
|
30229
|
+
/**
|
|
30230
|
+
* @description Country as ISO-2, ISO-3, or English name. Stored and returned as ISO-2.
|
|
30231
|
+
* @example US
|
|
30232
|
+
*/
|
|
30233
|
+
country: string;
|
|
30234
|
+
/**
|
|
30235
|
+
* @description Country display name
|
|
30236
|
+
* @example United States
|
|
30237
|
+
*/
|
|
30238
|
+
countryName?: string;
|
|
30239
|
+
/**
|
|
30240
|
+
* @description Phone number
|
|
30241
|
+
* @example +1-555-123-4567
|
|
30242
|
+
*/
|
|
30243
|
+
phone?: string;
|
|
30244
|
+
/**
|
|
30245
|
+
* @description Email address
|
|
30246
|
+
* @example john.doe@example.com
|
|
30247
|
+
*/
|
|
30248
|
+
email?: string;
|
|
30249
|
+
/**
|
|
30250
|
+
* @description Delivery instructions
|
|
30251
|
+
* @example Leave at front door
|
|
30252
|
+
*/
|
|
30253
|
+
instructions?: string;
|
|
30254
|
+
};
|
|
29927
30255
|
Object: Record<string, unknown>;
|
|
29928
30256
|
SelectShippingMethodDto: {
|
|
29929
30257
|
/**
|
|
@@ -33390,6 +33718,141 @@ export interface components {
|
|
|
33390
33718
|
/** @description New password (minimum 8 characters) */
|
|
33391
33719
|
newPassword: string;
|
|
33392
33720
|
};
|
|
33721
|
+
StorefrontFulfillmentItemDto: {
|
|
33722
|
+
/** @description Order item shipped in this shipment */
|
|
33723
|
+
orderItemId: string;
|
|
33724
|
+
/** @description Quantity of the order item in this shipment */
|
|
33725
|
+
quantity: number;
|
|
33726
|
+
};
|
|
33727
|
+
StorefrontFulfillmentDto: {
|
|
33728
|
+
id: string;
|
|
33729
|
+
/**
|
|
33730
|
+
* @description Shipment status
|
|
33731
|
+
* @enum {string}
|
|
33732
|
+
*/
|
|
33733
|
+
status: 'PENDING' | 'SHIPPED' | 'IN_TRANSIT' | 'DELIVERED' | 'FAILED' | 'CANCELLED';
|
|
33734
|
+
carrier?: string;
|
|
33735
|
+
serviceLevel?: string;
|
|
33736
|
+
trackingNumber?: string;
|
|
33737
|
+
/** @description Carrier tracking page */
|
|
33738
|
+
trackingUrl?: string;
|
|
33739
|
+
estimatedDeliveryDate?: string;
|
|
33740
|
+
shippedAt?: string;
|
|
33741
|
+
deliveredAt?: string;
|
|
33742
|
+
items: components['schemas']['StorefrontFulfillmentItemDto'][];
|
|
33743
|
+
};
|
|
33744
|
+
StorefrontFulfillmentListDto: {
|
|
33745
|
+
data: components['schemas']['StorefrontFulfillmentDto'][];
|
|
33746
|
+
};
|
|
33747
|
+
StorefrontInvoiceDto: {
|
|
33748
|
+
id: string;
|
|
33749
|
+
orderId: string;
|
|
33750
|
+
/** @example INV-202604-00001 */
|
|
33751
|
+
invoiceNumber: string;
|
|
33752
|
+
/** @enum {string} */
|
|
33753
|
+
status: 'draft' | 'sent' | 'viewed' | 'paid' | 'expired' | 'cancelled';
|
|
33754
|
+
/**
|
|
33755
|
+
* @description Amount in cents (string)
|
|
33756
|
+
* @example 9999
|
|
33757
|
+
*/
|
|
33758
|
+
amount: string;
|
|
33759
|
+
/** @example USD */
|
|
33760
|
+
currency: string;
|
|
33761
|
+
dueDate?: string;
|
|
33762
|
+
paidAt?: string;
|
|
33763
|
+
createdAt: string;
|
|
33764
|
+
};
|
|
33765
|
+
StorefrontInvoiceListDto: {
|
|
33766
|
+
data: components['schemas']['StorefrontInvoiceDto'][];
|
|
33767
|
+
};
|
|
33768
|
+
StorefrontCancellationStatusDto: {
|
|
33769
|
+
/** @description Whether the shopper can cancel the order now */
|
|
33770
|
+
canCancel: boolean;
|
|
33771
|
+
/**
|
|
33772
|
+
* @description Why not
|
|
33773
|
+
* @enum {string}
|
|
33774
|
+
*/
|
|
33775
|
+
reason?: 'ORDER_NOT_CANCELLABLE' | 'ORDER_ALREADY_SHIPPED' | 'ORDER_RELEASED_TO_ERP' | 'ORDER_CANCEL_WINDOW_CLOSED';
|
|
33776
|
+
/** @description End of the cancel window (order time plus the store window) */
|
|
33777
|
+
cancellableUntil?: string;
|
|
33778
|
+
/** @description Store cancel window in minutes */
|
|
33779
|
+
windowMinutes: number;
|
|
33780
|
+
};
|
|
33781
|
+
CancelOwnOrderDto: {
|
|
33782
|
+
/** @description Why the shopper is cancelling */
|
|
33783
|
+
reason?: string;
|
|
33784
|
+
};
|
|
33785
|
+
StartStorefrontReturnDto: {
|
|
33786
|
+
/** @description Items to return */
|
|
33787
|
+
items: components['schemas']['ReturnItemDto'][];
|
|
33788
|
+
/**
|
|
33789
|
+
* @description Primary reason for the return
|
|
33790
|
+
* @example defective
|
|
33791
|
+
* @enum {string}
|
|
33792
|
+
*/
|
|
33793
|
+
reason: 'defective' | 'notAsDescribed' | 'wrongItem' | 'damaged' | 'noLongerNeeded' | 'arrivedLate' | 'other';
|
|
33794
|
+
/**
|
|
33795
|
+
* @description Desired resolution type
|
|
33796
|
+
* @default refund
|
|
33797
|
+
* @example refund
|
|
33798
|
+
* @enum {string}
|
|
33799
|
+
*/
|
|
33800
|
+
resolutionType?: 'refund' | 'exchange' | 'storeCredit';
|
|
33801
|
+
/**
|
|
33802
|
+
* @description Additional notes or comments
|
|
33803
|
+
* @example Product did not match the description on the website
|
|
33804
|
+
*/
|
|
33805
|
+
notes?: string;
|
|
33806
|
+
};
|
|
33807
|
+
StorefrontReturnItemDto: {
|
|
33808
|
+
orderItemId: string;
|
|
33809
|
+
quantity: number;
|
|
33810
|
+
reason: string;
|
|
33811
|
+
condition?: string;
|
|
33812
|
+
};
|
|
33813
|
+
StorefrontReturnDto: {
|
|
33814
|
+
id: string;
|
|
33815
|
+
returnNumber: string;
|
|
33816
|
+
orderId: string;
|
|
33817
|
+
/** @description requested, approved, rejected, shipped, ... */
|
|
33818
|
+
status: string;
|
|
33819
|
+
reason: string;
|
|
33820
|
+
resolutionType: string;
|
|
33821
|
+
/**
|
|
33822
|
+
* @description Amount in cents (string)
|
|
33823
|
+
* @example 4999
|
|
33824
|
+
*/
|
|
33825
|
+
totalAmount: string;
|
|
33826
|
+
/** @description Amount in cents (string) */
|
|
33827
|
+
refundAmount?: string;
|
|
33828
|
+
trackingNumber?: string;
|
|
33829
|
+
/** @description Prepaid label, once approved */
|
|
33830
|
+
shippingLabelUrl?: string;
|
|
33831
|
+
shippingCarrier?: string;
|
|
33832
|
+
createdAt: string;
|
|
33833
|
+
items: components['schemas']['StorefrontReturnItemDto'][];
|
|
33834
|
+
};
|
|
33835
|
+
StorefrontReturnListDto: {
|
|
33836
|
+
data: components['schemas']['StorefrontReturnDto'][];
|
|
33837
|
+
total: number;
|
|
33838
|
+
};
|
|
33839
|
+
StorefrontPrivacyDto: {
|
|
33840
|
+
/** @description "Do Not Sell or Share" opt-out kept on the account */
|
|
33841
|
+
dataSharingOptOut: boolean;
|
|
33842
|
+
/** @description When the opt-out was recorded */
|
|
33843
|
+
dataSharingOptOutAt?: string;
|
|
33844
|
+
/** @enum {string} */
|
|
33845
|
+
dataSharingOptOutSource?: 'link' | 'gpc';
|
|
33846
|
+
};
|
|
33847
|
+
UpdateDataSharingDto: {
|
|
33848
|
+
/** @description true to opt out of sale or sharing */
|
|
33849
|
+
optOut: boolean;
|
|
33850
|
+
/**
|
|
33851
|
+
* @description link: the Do Not Sell or Share link. gpc: a Global Privacy Control signal, which can only opt out.
|
|
33852
|
+
* @enum {string}
|
|
33853
|
+
*/
|
|
33854
|
+
source: 'link' | 'gpc';
|
|
33855
|
+
};
|
|
33393
33856
|
StorefrontAddressDto: {
|
|
33394
33857
|
/**
|
|
33395
33858
|
* @description Unique identifier for the address
|
|
@@ -33908,10 +34371,10 @@ export interface components {
|
|
|
33908
34371
|
currencyCode: string;
|
|
33909
34372
|
marketId?: string;
|
|
33910
34373
|
/**
|
|
33911
|
-
* @description Amount in cents
|
|
34374
|
+
* @description Amount in cents. Null means the price is the variant price minus the plan discount
|
|
33912
34375
|
* @example 2499
|
|
33913
34376
|
*/
|
|
33914
|
-
amount: string;
|
|
34377
|
+
amount: string | null;
|
|
33915
34378
|
/**
|
|
33916
34379
|
* @description Compare-at amount in cents
|
|
33917
34380
|
* @example 2999
|
|
@@ -33933,6 +34396,21 @@ export interface components {
|
|
|
33933
34396
|
* @example 500
|
|
33934
34397
|
*/
|
|
33935
34398
|
setupFee?: string | null;
|
|
34399
|
+
/**
|
|
34400
|
+
* @description Plan discount off the variant price (Subscribe & Save)
|
|
34401
|
+
* @enum {string|null}
|
|
34402
|
+
*/
|
|
34403
|
+
discountType?: 'percent' | 'fixed' | null;
|
|
34404
|
+
/**
|
|
34405
|
+
* @description A percent when discountType is percent, cents when fixed
|
|
34406
|
+
* @example 10
|
|
34407
|
+
*/
|
|
34408
|
+
discountValue?: number | null;
|
|
34409
|
+
/**
|
|
34410
|
+
* @description ISO 4217 currency of a fixed discount
|
|
34411
|
+
* @example USD
|
|
34412
|
+
*/
|
|
34413
|
+
discountCurrency?: string | null;
|
|
33936
34414
|
sortOrder: number;
|
|
33937
34415
|
prices?: components['schemas']['StorefrontPlanPriceDto'][];
|
|
33938
34416
|
};
|
|
@@ -54214,6 +54692,47 @@ export interface operations {
|
|
|
54214
54692
|
};
|
|
54215
54693
|
};
|
|
54216
54694
|
};
|
|
54695
|
+
CheckoutController_updateBillingAddress: {
|
|
54696
|
+
parameters: {
|
|
54697
|
+
query?: never;
|
|
54698
|
+
header?: never;
|
|
54699
|
+
path: {
|
|
54700
|
+
/** @description Checkout session ID */
|
|
54701
|
+
id: string;
|
|
54702
|
+
};
|
|
54703
|
+
cookie?: never;
|
|
54704
|
+
};
|
|
54705
|
+
requestBody: {
|
|
54706
|
+
content: {
|
|
54707
|
+
'application/json': components['schemas']['UpdateBillingAddressDto'];
|
|
54708
|
+
};
|
|
54709
|
+
};
|
|
54710
|
+
responses: {
|
|
54711
|
+
/** @description Billing address updated successfully */
|
|
54712
|
+
200: {
|
|
54713
|
+
headers: {
|
|
54714
|
+
[name: string]: unknown;
|
|
54715
|
+
};
|
|
54716
|
+
content: {
|
|
54717
|
+
'application/json': components['schemas']['CheckoutSessionDto'];
|
|
54718
|
+
};
|
|
54719
|
+
};
|
|
54720
|
+
/** @description Invalid address data */
|
|
54721
|
+
400: {
|
|
54722
|
+
headers: {
|
|
54723
|
+
[name: string]: unknown;
|
|
54724
|
+
};
|
|
54725
|
+
content?: never;
|
|
54726
|
+
};
|
|
54727
|
+
/** @description Checkout session not found */
|
|
54728
|
+
404: {
|
|
54729
|
+
headers: {
|
|
54730
|
+
[name: string]: unknown;
|
|
54731
|
+
};
|
|
54732
|
+
content?: never;
|
|
54733
|
+
};
|
|
54734
|
+
};
|
|
54735
|
+
};
|
|
54217
54736
|
CheckoutController_getShippingRates: {
|
|
54218
54737
|
parameters: {
|
|
54219
54738
|
query?: {
|
|
@@ -59143,6 +59662,424 @@ export interface operations {
|
|
|
59143
59662
|
};
|
|
59144
59663
|
};
|
|
59145
59664
|
};
|
|
59665
|
+
StorefrontOrdersController_getFulfillments: {
|
|
59666
|
+
parameters: {
|
|
59667
|
+
query?: never;
|
|
59668
|
+
header?: {
|
|
59669
|
+
/** @description Storefront API key */
|
|
59670
|
+
'x-api-key'?: string;
|
|
59671
|
+
};
|
|
59672
|
+
path: {
|
|
59673
|
+
/** @description Order ID */
|
|
59674
|
+
id: string;
|
|
59675
|
+
};
|
|
59676
|
+
cookie?: never;
|
|
59677
|
+
};
|
|
59678
|
+
requestBody?: never;
|
|
59679
|
+
responses: {
|
|
59680
|
+
200: {
|
|
59681
|
+
headers: {
|
|
59682
|
+
[name: string]: unknown;
|
|
59683
|
+
};
|
|
59684
|
+
content: {
|
|
59685
|
+
'application/json': components['schemas']['StorefrontFulfillmentListDto'];
|
|
59686
|
+
};
|
|
59687
|
+
};
|
|
59688
|
+
/** @description Access token required */
|
|
59689
|
+
401: {
|
|
59690
|
+
headers: {
|
|
59691
|
+
[name: string]: unknown;
|
|
59692
|
+
};
|
|
59693
|
+
content?: never;
|
|
59694
|
+
};
|
|
59695
|
+
/** @description Order not found */
|
|
59696
|
+
404: {
|
|
59697
|
+
headers: {
|
|
59698
|
+
[name: string]: unknown;
|
|
59699
|
+
};
|
|
59700
|
+
content?: never;
|
|
59701
|
+
};
|
|
59702
|
+
};
|
|
59703
|
+
};
|
|
59704
|
+
StorefrontOrdersController_getInvoices: {
|
|
59705
|
+
parameters: {
|
|
59706
|
+
query?: never;
|
|
59707
|
+
header?: {
|
|
59708
|
+
/** @description Storefront API key */
|
|
59709
|
+
'x-api-key'?: string;
|
|
59710
|
+
};
|
|
59711
|
+
path: {
|
|
59712
|
+
/** @description Order ID */
|
|
59713
|
+
id: string;
|
|
59714
|
+
};
|
|
59715
|
+
cookie?: never;
|
|
59716
|
+
};
|
|
59717
|
+
requestBody?: never;
|
|
59718
|
+
responses: {
|
|
59719
|
+
200: {
|
|
59720
|
+
headers: {
|
|
59721
|
+
[name: string]: unknown;
|
|
59722
|
+
};
|
|
59723
|
+
content: {
|
|
59724
|
+
'application/json': components['schemas']['StorefrontInvoiceListDto'];
|
|
59725
|
+
};
|
|
59726
|
+
};
|
|
59727
|
+
/** @description Access token required */
|
|
59728
|
+
401: {
|
|
59729
|
+
headers: {
|
|
59730
|
+
[name: string]: unknown;
|
|
59731
|
+
};
|
|
59732
|
+
content?: never;
|
|
59733
|
+
};
|
|
59734
|
+
/** @description Order not found */
|
|
59735
|
+
404: {
|
|
59736
|
+
headers: {
|
|
59737
|
+
[name: string]: unknown;
|
|
59738
|
+
};
|
|
59739
|
+
content?: never;
|
|
59740
|
+
};
|
|
59741
|
+
};
|
|
59742
|
+
};
|
|
59743
|
+
StorefrontOrdersController_getCancellationStatus: {
|
|
59744
|
+
parameters: {
|
|
59745
|
+
query?: never;
|
|
59746
|
+
header?: {
|
|
59747
|
+
/** @description Storefront API key */
|
|
59748
|
+
'x-api-key'?: string;
|
|
59749
|
+
};
|
|
59750
|
+
path: {
|
|
59751
|
+
/** @description Order ID */
|
|
59752
|
+
id: string;
|
|
59753
|
+
};
|
|
59754
|
+
cookie?: never;
|
|
59755
|
+
};
|
|
59756
|
+
requestBody?: never;
|
|
59757
|
+
responses: {
|
|
59758
|
+
200: {
|
|
59759
|
+
headers: {
|
|
59760
|
+
[name: string]: unknown;
|
|
59761
|
+
};
|
|
59762
|
+
content: {
|
|
59763
|
+
'application/json': components['schemas']['StorefrontCancellationStatusDto'];
|
|
59764
|
+
};
|
|
59765
|
+
};
|
|
59766
|
+
/** @description Access token required */
|
|
59767
|
+
401: {
|
|
59768
|
+
headers: {
|
|
59769
|
+
[name: string]: unknown;
|
|
59770
|
+
};
|
|
59771
|
+
content?: never;
|
|
59772
|
+
};
|
|
59773
|
+
/** @description Order not found */
|
|
59774
|
+
404: {
|
|
59775
|
+
headers: {
|
|
59776
|
+
[name: string]: unknown;
|
|
59777
|
+
};
|
|
59778
|
+
content?: never;
|
|
59779
|
+
};
|
|
59780
|
+
};
|
|
59781
|
+
};
|
|
59782
|
+
StorefrontOrderActionsController_cancel: {
|
|
59783
|
+
parameters: {
|
|
59784
|
+
query?: never;
|
|
59785
|
+
header?: {
|
|
59786
|
+
/** @description Storefront API key */
|
|
59787
|
+
'x-api-key'?: string;
|
|
59788
|
+
};
|
|
59789
|
+
path: {
|
|
59790
|
+
/** @description Order ID */
|
|
59791
|
+
id: string;
|
|
59792
|
+
};
|
|
59793
|
+
cookie?: never;
|
|
59794
|
+
};
|
|
59795
|
+
requestBody: {
|
|
59796
|
+
content: {
|
|
59797
|
+
'application/json': components['schemas']['CancelOwnOrderDto'];
|
|
59798
|
+
};
|
|
59799
|
+
};
|
|
59800
|
+
responses: {
|
|
59801
|
+
200: {
|
|
59802
|
+
headers: {
|
|
59803
|
+
[name: string]: unknown;
|
|
59804
|
+
};
|
|
59805
|
+
content: {
|
|
59806
|
+
'application/json': components['schemas']['OrderResponseDto'];
|
|
59807
|
+
};
|
|
59808
|
+
};
|
|
59809
|
+
/** @description Access token required */
|
|
59810
|
+
401: {
|
|
59811
|
+
headers: {
|
|
59812
|
+
[name: string]: unknown;
|
|
59813
|
+
};
|
|
59814
|
+
content?: never;
|
|
59815
|
+
};
|
|
59816
|
+
/** @description Order not found */
|
|
59817
|
+
404: {
|
|
59818
|
+
headers: {
|
|
59819
|
+
[name: string]: unknown;
|
|
59820
|
+
};
|
|
59821
|
+
content?: never;
|
|
59822
|
+
};
|
|
59823
|
+
/** @description Order can no longer be cancelled */
|
|
59824
|
+
409: {
|
|
59825
|
+
headers: {
|
|
59826
|
+
[name: string]: unknown;
|
|
59827
|
+
};
|
|
59828
|
+
content?: never;
|
|
59829
|
+
};
|
|
59830
|
+
};
|
|
59831
|
+
};
|
|
59832
|
+
StorefrontReturnsController_startReturn: {
|
|
59833
|
+
parameters: {
|
|
59834
|
+
query?: never;
|
|
59835
|
+
header?: {
|
|
59836
|
+
/** @description Storefront API key */
|
|
59837
|
+
'x-api-key'?: string;
|
|
59838
|
+
};
|
|
59839
|
+
path: {
|
|
59840
|
+
/** @description Order ID */
|
|
59841
|
+
orderId: string;
|
|
59842
|
+
};
|
|
59843
|
+
cookie?: never;
|
|
59844
|
+
};
|
|
59845
|
+
requestBody: {
|
|
59846
|
+
content: {
|
|
59847
|
+
'application/json': components['schemas']['StartStorefrontReturnDto'];
|
|
59848
|
+
};
|
|
59849
|
+
};
|
|
59850
|
+
responses: {
|
|
59851
|
+
201: {
|
|
59852
|
+
headers: {
|
|
59853
|
+
[name: string]: unknown;
|
|
59854
|
+
};
|
|
59855
|
+
content: {
|
|
59856
|
+
'application/json': components['schemas']['StorefrontReturnDto'];
|
|
59857
|
+
};
|
|
59858
|
+
};
|
|
59859
|
+
/** @description Window closed or bad quantities */
|
|
59860
|
+
400: {
|
|
59861
|
+
headers: {
|
|
59862
|
+
[name: string]: unknown;
|
|
59863
|
+
};
|
|
59864
|
+
content?: never;
|
|
59865
|
+
};
|
|
59866
|
+
/** @description Access token required */
|
|
59867
|
+
401: {
|
|
59868
|
+
headers: {
|
|
59869
|
+
[name: string]: unknown;
|
|
59870
|
+
};
|
|
59871
|
+
content?: never;
|
|
59872
|
+
};
|
|
59873
|
+
/** @description Order not found */
|
|
59874
|
+
404: {
|
|
59875
|
+
headers: {
|
|
59876
|
+
[name: string]: unknown;
|
|
59877
|
+
};
|
|
59878
|
+
content?: never;
|
|
59879
|
+
};
|
|
59880
|
+
};
|
|
59881
|
+
};
|
|
59882
|
+
StorefrontReturnsController_listReturns: {
|
|
59883
|
+
parameters: {
|
|
59884
|
+
query?: {
|
|
59885
|
+
orderId?: string;
|
|
59886
|
+
page?: number;
|
|
59887
|
+
limit?: number;
|
|
59888
|
+
};
|
|
59889
|
+
header?: {
|
|
59890
|
+
/** @description Storefront API key */
|
|
59891
|
+
'x-api-key'?: string;
|
|
59892
|
+
};
|
|
59893
|
+
path?: never;
|
|
59894
|
+
cookie?: never;
|
|
59895
|
+
};
|
|
59896
|
+
requestBody?: never;
|
|
59897
|
+
responses: {
|
|
59898
|
+
200: {
|
|
59899
|
+
headers: {
|
|
59900
|
+
[name: string]: unknown;
|
|
59901
|
+
};
|
|
59902
|
+
content: {
|
|
59903
|
+
'application/json': components['schemas']['StorefrontReturnListDto'];
|
|
59904
|
+
};
|
|
59905
|
+
};
|
|
59906
|
+
/** @description Access token required */
|
|
59907
|
+
401: {
|
|
59908
|
+
headers: {
|
|
59909
|
+
[name: string]: unknown;
|
|
59910
|
+
};
|
|
59911
|
+
content?: never;
|
|
59912
|
+
};
|
|
59913
|
+
};
|
|
59914
|
+
};
|
|
59915
|
+
StorefrontReturnsController_getReturn: {
|
|
59916
|
+
parameters: {
|
|
59917
|
+
query?: never;
|
|
59918
|
+
header?: {
|
|
59919
|
+
/** @description Storefront API key */
|
|
59920
|
+
'x-api-key'?: string;
|
|
59921
|
+
};
|
|
59922
|
+
path: {
|
|
59923
|
+
/** @description Return ID */
|
|
59924
|
+
id: string;
|
|
59925
|
+
};
|
|
59926
|
+
cookie?: never;
|
|
59927
|
+
};
|
|
59928
|
+
requestBody?: never;
|
|
59929
|
+
responses: {
|
|
59930
|
+
200: {
|
|
59931
|
+
headers: {
|
|
59932
|
+
[name: string]: unknown;
|
|
59933
|
+
};
|
|
59934
|
+
content: {
|
|
59935
|
+
'application/json': components['schemas']['StorefrontReturnDto'];
|
|
59936
|
+
};
|
|
59937
|
+
};
|
|
59938
|
+
/** @description Access token required */
|
|
59939
|
+
401: {
|
|
59940
|
+
headers: {
|
|
59941
|
+
[name: string]: unknown;
|
|
59942
|
+
};
|
|
59943
|
+
content?: never;
|
|
59944
|
+
};
|
|
59945
|
+
/** @description Return not found */
|
|
59946
|
+
404: {
|
|
59947
|
+
headers: {
|
|
59948
|
+
[name: string]: unknown;
|
|
59949
|
+
};
|
|
59950
|
+
content?: never;
|
|
59951
|
+
};
|
|
59952
|
+
};
|
|
59953
|
+
};
|
|
59954
|
+
StorefrontReturnsController_createLabel: {
|
|
59955
|
+
parameters: {
|
|
59956
|
+
query?: never;
|
|
59957
|
+
header?: {
|
|
59958
|
+
/** @description Storefront API key */
|
|
59959
|
+
'x-api-key'?: string;
|
|
59960
|
+
};
|
|
59961
|
+
path: {
|
|
59962
|
+
/** @description Return ID */
|
|
59963
|
+
id: string;
|
|
59964
|
+
};
|
|
59965
|
+
cookie?: never;
|
|
59966
|
+
};
|
|
59967
|
+
requestBody?: never;
|
|
59968
|
+
responses: {
|
|
59969
|
+
200: {
|
|
59970
|
+
headers: {
|
|
59971
|
+
[name: string]: unknown;
|
|
59972
|
+
};
|
|
59973
|
+
content: {
|
|
59974
|
+
'application/json': components['schemas']['StorefrontReturnDto'];
|
|
59975
|
+
};
|
|
59976
|
+
};
|
|
59977
|
+
/** @description Return is not approved */
|
|
59978
|
+
400: {
|
|
59979
|
+
headers: {
|
|
59980
|
+
[name: string]: unknown;
|
|
59981
|
+
};
|
|
59982
|
+
content?: never;
|
|
59983
|
+
};
|
|
59984
|
+
/** @description Access token required */
|
|
59985
|
+
401: {
|
|
59986
|
+
headers: {
|
|
59987
|
+
[name: string]: unknown;
|
|
59988
|
+
};
|
|
59989
|
+
content?: never;
|
|
59990
|
+
};
|
|
59991
|
+
/** @description Return not found */
|
|
59992
|
+
404: {
|
|
59993
|
+
headers: {
|
|
59994
|
+
[name: string]: unknown;
|
|
59995
|
+
};
|
|
59996
|
+
content?: never;
|
|
59997
|
+
};
|
|
59998
|
+
};
|
|
59999
|
+
};
|
|
60000
|
+
StorefrontPrivacyController_get: {
|
|
60001
|
+
parameters: {
|
|
60002
|
+
query?: never;
|
|
60003
|
+
header?: {
|
|
60004
|
+
/** @description Storefront API key */
|
|
60005
|
+
'x-api-key'?: string;
|
|
60006
|
+
};
|
|
60007
|
+
path?: never;
|
|
60008
|
+
cookie?: never;
|
|
60009
|
+
};
|
|
60010
|
+
requestBody?: never;
|
|
60011
|
+
responses: {
|
|
60012
|
+
200: {
|
|
60013
|
+
headers: {
|
|
60014
|
+
[name: string]: unknown;
|
|
60015
|
+
};
|
|
60016
|
+
content: {
|
|
60017
|
+
'application/json': components['schemas']['StorefrontPrivacyDto'];
|
|
60018
|
+
};
|
|
60019
|
+
};
|
|
60020
|
+
/** @description Access token required */
|
|
60021
|
+
401: {
|
|
60022
|
+
headers: {
|
|
60023
|
+
[name: string]: unknown;
|
|
60024
|
+
};
|
|
60025
|
+
content?: never;
|
|
60026
|
+
};
|
|
60027
|
+
/** @description Customer profile not found */
|
|
60028
|
+
404: {
|
|
60029
|
+
headers: {
|
|
60030
|
+
[name: string]: unknown;
|
|
60031
|
+
};
|
|
60032
|
+
content?: never;
|
|
60033
|
+
};
|
|
60034
|
+
};
|
|
60035
|
+
};
|
|
60036
|
+
StorefrontPrivacyController_updateDataSharing: {
|
|
60037
|
+
parameters: {
|
|
60038
|
+
query?: never;
|
|
60039
|
+
header?: {
|
|
60040
|
+
/** @description Storefront API key */
|
|
60041
|
+
'x-api-key'?: string;
|
|
60042
|
+
};
|
|
60043
|
+
path?: never;
|
|
60044
|
+
cookie?: never;
|
|
60045
|
+
};
|
|
60046
|
+
requestBody: {
|
|
60047
|
+
content: {
|
|
60048
|
+
'application/json': components['schemas']['UpdateDataSharingDto'];
|
|
60049
|
+
};
|
|
60050
|
+
};
|
|
60051
|
+
responses: {
|
|
60052
|
+
200: {
|
|
60053
|
+
headers: {
|
|
60054
|
+
[name: string]: unknown;
|
|
60055
|
+
};
|
|
60056
|
+
content: {
|
|
60057
|
+
'application/json': components['schemas']['StorefrontPrivacyDto'];
|
|
60058
|
+
};
|
|
60059
|
+
};
|
|
60060
|
+
/** @description gpc cannot opt in */
|
|
60061
|
+
400: {
|
|
60062
|
+
headers: {
|
|
60063
|
+
[name: string]: unknown;
|
|
60064
|
+
};
|
|
60065
|
+
content?: never;
|
|
60066
|
+
};
|
|
60067
|
+
/** @description Access token required */
|
|
60068
|
+
401: {
|
|
60069
|
+
headers: {
|
|
60070
|
+
[name: string]: unknown;
|
|
60071
|
+
};
|
|
60072
|
+
content?: never;
|
|
60073
|
+
};
|
|
60074
|
+
/** @description Customer profile not found */
|
|
60075
|
+
404: {
|
|
60076
|
+
headers: {
|
|
60077
|
+
[name: string]: unknown;
|
|
60078
|
+
};
|
|
60079
|
+
content?: never;
|
|
60080
|
+
};
|
|
60081
|
+
};
|
|
60082
|
+
};
|
|
59146
60083
|
StorefrontAddressesController_listAddresses: {
|
|
59147
60084
|
parameters: {
|
|
59148
60085
|
query?: {
|