@aimee.shop/sdk 0.21.0-dev.173 → 0.21.0-dev.178
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 +1250 -167
- 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 +2 -0
- package/dist/services/core/checkout.client.d.ts.map +1 -1
- 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/dist/services/core/taxes/index.d.ts +1 -0
- package/dist/services/core/taxes/index.d.ts.map +1 -1
- package/dist/services/core/taxes/index.js +1 -0
- package/dist/services/core/taxes/index.js.map +1 -1
- package/dist/services/core/taxes/starter-rates.client.d.ts +34 -0
- package/dist/services/core/taxes/starter-rates.client.d.ts.map +1 -0
- package/dist/services/core/taxes/starter-rates.client.js +47 -0
- package/dist/services/core/taxes/starter-rates.client.js.map +1 -0
- package/dist/services/core/taxes/taxes.client.d.ts +6 -0
- package/dist/services/core/taxes/taxes.client.d.ts.map +1 -1
- package/dist/services/core/taxes/taxes.client.js +11 -0
- package/dist/services/core/taxes/taxes.client.js.map +1 -1
- package/dist/services/core/taxes/types.d.ts +12 -0
- package/dist/services/core/taxes/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4547,6 +4547,91 @@ export interface paths {
|
|
|
4547
4547
|
patch?: never;
|
|
4548
4548
|
trace?: never;
|
|
4549
4549
|
};
|
|
4550
|
+
'/v1/taxes/starter-rates': {
|
|
4551
|
+
parameters: {
|
|
4552
|
+
query?: never;
|
|
4553
|
+
header?: never;
|
|
4554
|
+
path?: never;
|
|
4555
|
+
cookie?: never;
|
|
4556
|
+
};
|
|
4557
|
+
/** Current starter rate set, its label and the tenant opt-in state */
|
|
4558
|
+
get: operations['StarterTaxRatesController_getStatus'];
|
|
4559
|
+
put?: never;
|
|
4560
|
+
post?: never;
|
|
4561
|
+
delete?: never;
|
|
4562
|
+
options?: never;
|
|
4563
|
+
head?: never;
|
|
4564
|
+
patch?: never;
|
|
4565
|
+
trace?: never;
|
|
4566
|
+
};
|
|
4567
|
+
'/v1/taxes/starter-rates/opt-in/dry-run': {
|
|
4568
|
+
parameters: {
|
|
4569
|
+
query?: never;
|
|
4570
|
+
header?: never;
|
|
4571
|
+
path?: never;
|
|
4572
|
+
cookie?: never;
|
|
4573
|
+
};
|
|
4574
|
+
get?: never;
|
|
4575
|
+
put?: never;
|
|
4576
|
+
/** Preview opting in to the starter rates */
|
|
4577
|
+
post: operations['StarterTaxRatesController_dryRunOptIn'];
|
|
4578
|
+
delete?: never;
|
|
4579
|
+
options?: never;
|
|
4580
|
+
head?: never;
|
|
4581
|
+
patch?: never;
|
|
4582
|
+
trace?: never;
|
|
4583
|
+
};
|
|
4584
|
+
'/v1/taxes/starter-rates/opt-in': {
|
|
4585
|
+
parameters: {
|
|
4586
|
+
query?: never;
|
|
4587
|
+
header?: never;
|
|
4588
|
+
path?: never;
|
|
4589
|
+
cookie?: never;
|
|
4590
|
+
};
|
|
4591
|
+
get?: never;
|
|
4592
|
+
put?: never;
|
|
4593
|
+
/** Opt in: import the current starter set into the tenant tax tables (never overwrites existing rates) */
|
|
4594
|
+
post: operations['StarterTaxRatesController_optIn'];
|
|
4595
|
+
delete?: never;
|
|
4596
|
+
options?: never;
|
|
4597
|
+
head?: never;
|
|
4598
|
+
patch?: never;
|
|
4599
|
+
trace?: never;
|
|
4600
|
+
};
|
|
4601
|
+
'/v1/taxes/starter-rates/updates': {
|
|
4602
|
+
parameters: {
|
|
4603
|
+
query?: never;
|
|
4604
|
+
header?: never;
|
|
4605
|
+
path?: never;
|
|
4606
|
+
cookie?: never;
|
|
4607
|
+
};
|
|
4608
|
+
/** Diff the tenant starter rows against the latest starter set (added, changed, removed, skipped merchant-owned) */
|
|
4609
|
+
get: operations['StarterTaxRatesController_listUpdates'];
|
|
4610
|
+
put?: never;
|
|
4611
|
+
post?: never;
|
|
4612
|
+
delete?: never;
|
|
4613
|
+
options?: never;
|
|
4614
|
+
head?: never;
|
|
4615
|
+
patch?: never;
|
|
4616
|
+
trace?: never;
|
|
4617
|
+
};
|
|
4618
|
+
'/v1/taxes/starter-rates/updates/apply': {
|
|
4619
|
+
parameters: {
|
|
4620
|
+
query?: never;
|
|
4621
|
+
header?: never;
|
|
4622
|
+
path?: never;
|
|
4623
|
+
cookie?: never;
|
|
4624
|
+
};
|
|
4625
|
+
get?: never;
|
|
4626
|
+
put?: never;
|
|
4627
|
+
/** Apply selected starter updates; merchant-owned rows are skipped */
|
|
4628
|
+
post: operations['StarterTaxRatesController_applyUpdates'];
|
|
4629
|
+
delete?: never;
|
|
4630
|
+
options?: never;
|
|
4631
|
+
head?: never;
|
|
4632
|
+
patch?: never;
|
|
4633
|
+
trace?: never;
|
|
4634
|
+
};
|
|
4550
4635
|
'/v1/shipping/calculate': {
|
|
4551
4636
|
parameters: {
|
|
4552
4637
|
query?: never;
|
|
@@ -9901,6 +9986,206 @@ export interface paths {
|
|
|
9901
9986
|
patch?: never;
|
|
9902
9987
|
trace?: never;
|
|
9903
9988
|
};
|
|
9989
|
+
'/v1/storefront/orders/{id}/fulfillments': {
|
|
9990
|
+
parameters: {
|
|
9991
|
+
query?: never;
|
|
9992
|
+
header?: never;
|
|
9993
|
+
path?: never;
|
|
9994
|
+
cookie?: never;
|
|
9995
|
+
};
|
|
9996
|
+
/**
|
|
9997
|
+
* List own order shipments
|
|
9998
|
+
* @description Shipments of an order belonging to the authenticated customer, with carrier, tracking and the lines in each. Otherwise 404.
|
|
9999
|
+
*/
|
|
10000
|
+
get: operations['StorefrontOrdersController_getFulfillments'];
|
|
10001
|
+
put?: never;
|
|
10002
|
+
post?: never;
|
|
10003
|
+
delete?: never;
|
|
10004
|
+
options?: never;
|
|
10005
|
+
head?: never;
|
|
10006
|
+
patch?: never;
|
|
10007
|
+
trace?: never;
|
|
10008
|
+
};
|
|
10009
|
+
'/v1/storefront/orders/{id}/invoices': {
|
|
10010
|
+
parameters: {
|
|
10011
|
+
query?: never;
|
|
10012
|
+
header?: never;
|
|
10013
|
+
path?: never;
|
|
10014
|
+
cookie?: never;
|
|
10015
|
+
};
|
|
10016
|
+
/**
|
|
10017
|
+
* List own order invoices
|
|
10018
|
+
* @description Invoices of an order belonging to the authenticated customer (drafts excluded); otherwise 404.
|
|
10019
|
+
*/
|
|
10020
|
+
get: operations['StorefrontOrdersController_getInvoices'];
|
|
10021
|
+
put?: never;
|
|
10022
|
+
post?: never;
|
|
10023
|
+
delete?: never;
|
|
10024
|
+
options?: never;
|
|
10025
|
+
head?: never;
|
|
10026
|
+
patch?: never;
|
|
10027
|
+
trace?: never;
|
|
10028
|
+
};
|
|
10029
|
+
'/v1/storefront/orders/{id}/cancellation': {
|
|
10030
|
+
parameters: {
|
|
10031
|
+
query?: never;
|
|
10032
|
+
header?: never;
|
|
10033
|
+
path?: never;
|
|
10034
|
+
cookie?: never;
|
|
10035
|
+
};
|
|
10036
|
+
/**
|
|
10037
|
+
* Can the order still be cancelled
|
|
10038
|
+
* @description Whether the shopper can cancel now under the store cancel window, and until when. Refused once shipped or released to the ERP.
|
|
10039
|
+
*/
|
|
10040
|
+
get: operations['StorefrontOrdersController_getCancellationStatus'];
|
|
10041
|
+
put?: never;
|
|
10042
|
+
post?: never;
|
|
10043
|
+
delete?: never;
|
|
10044
|
+
options?: never;
|
|
10045
|
+
head?: never;
|
|
10046
|
+
patch?: never;
|
|
10047
|
+
trace?: never;
|
|
10048
|
+
};
|
|
10049
|
+
'/v1/storefront/orders/{id}/cancel': {
|
|
10050
|
+
parameters: {
|
|
10051
|
+
query?: never;
|
|
10052
|
+
header?: never;
|
|
10053
|
+
path?: never;
|
|
10054
|
+
cookie?: never;
|
|
10055
|
+
};
|
|
10056
|
+
get?: never;
|
|
10057
|
+
put?: never;
|
|
10058
|
+
/**
|
|
10059
|
+
* Cancel own order
|
|
10060
|
+
* @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.
|
|
10061
|
+
*/
|
|
10062
|
+
post: operations['StorefrontOrderActionsController_cancel'];
|
|
10063
|
+
delete?: never;
|
|
10064
|
+
options?: never;
|
|
10065
|
+
head?: never;
|
|
10066
|
+
patch?: never;
|
|
10067
|
+
trace?: never;
|
|
10068
|
+
};
|
|
10069
|
+
'/v1/storefront/orders/{orderId}/returns': {
|
|
10070
|
+
parameters: {
|
|
10071
|
+
query?: never;
|
|
10072
|
+
header?: never;
|
|
10073
|
+
path?: never;
|
|
10074
|
+
cookie?: never;
|
|
10075
|
+
};
|
|
10076
|
+
get?: never;
|
|
10077
|
+
put?: never;
|
|
10078
|
+
/**
|
|
10079
|
+
* Start a return for own order
|
|
10080
|
+
* @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.
|
|
10081
|
+
*/
|
|
10082
|
+
post: operations['StorefrontReturnsController_startReturn'];
|
|
10083
|
+
delete?: never;
|
|
10084
|
+
options?: never;
|
|
10085
|
+
head?: never;
|
|
10086
|
+
patch?: never;
|
|
10087
|
+
trace?: never;
|
|
10088
|
+
};
|
|
10089
|
+
'/v1/storefront/returns': {
|
|
10090
|
+
parameters: {
|
|
10091
|
+
query?: never;
|
|
10092
|
+
header?: never;
|
|
10093
|
+
path?: never;
|
|
10094
|
+
cookie?: never;
|
|
10095
|
+
};
|
|
10096
|
+
/**
|
|
10097
|
+
* List own returns
|
|
10098
|
+
* @description Returns of the authenticated customer, newest first.
|
|
10099
|
+
*/
|
|
10100
|
+
get: operations['StorefrontReturnsController_listReturns'];
|
|
10101
|
+
put?: never;
|
|
10102
|
+
post?: never;
|
|
10103
|
+
delete?: never;
|
|
10104
|
+
options?: never;
|
|
10105
|
+
head?: never;
|
|
10106
|
+
patch?: never;
|
|
10107
|
+
trace?: never;
|
|
10108
|
+
};
|
|
10109
|
+
'/v1/storefront/returns/{id}': {
|
|
10110
|
+
parameters: {
|
|
10111
|
+
query?: never;
|
|
10112
|
+
header?: never;
|
|
10113
|
+
path?: never;
|
|
10114
|
+
cookie?: never;
|
|
10115
|
+
};
|
|
10116
|
+
/**
|
|
10117
|
+
* Get own return
|
|
10118
|
+
* @description A return of the authenticated customer; otherwise 404.
|
|
10119
|
+
*/
|
|
10120
|
+
get: operations['StorefrontReturnsController_getReturn'];
|
|
10121
|
+
put?: never;
|
|
10122
|
+
post?: never;
|
|
10123
|
+
delete?: never;
|
|
10124
|
+
options?: never;
|
|
10125
|
+
head?: never;
|
|
10126
|
+
patch?: never;
|
|
10127
|
+
trace?: never;
|
|
10128
|
+
};
|
|
10129
|
+
'/v1/storefront/returns/{id}/label': {
|
|
10130
|
+
parameters: {
|
|
10131
|
+
query?: never;
|
|
10132
|
+
header?: never;
|
|
10133
|
+
path?: never;
|
|
10134
|
+
cookie?: never;
|
|
10135
|
+
};
|
|
10136
|
+
get?: never;
|
|
10137
|
+
put?: never;
|
|
10138
|
+
/**
|
|
10139
|
+
* Create the prepaid label for an approved return
|
|
10140
|
+
* @description Generates the return label once the merchant has approved the return; the response carries shippingLabelUrl and trackingNumber.
|
|
10141
|
+
*/
|
|
10142
|
+
post: operations['StorefrontReturnsController_createLabel'];
|
|
10143
|
+
delete?: never;
|
|
10144
|
+
options?: never;
|
|
10145
|
+
head?: never;
|
|
10146
|
+
patch?: never;
|
|
10147
|
+
trace?: never;
|
|
10148
|
+
};
|
|
10149
|
+
'/v1/storefront/privacy': {
|
|
10150
|
+
parameters: {
|
|
10151
|
+
query?: never;
|
|
10152
|
+
header?: never;
|
|
10153
|
+
path?: never;
|
|
10154
|
+
cookie?: never;
|
|
10155
|
+
};
|
|
10156
|
+
/**
|
|
10157
|
+
* Get own privacy choices
|
|
10158
|
+
* @description The "Do Not Sell or Share" opt-out kept on the account.
|
|
10159
|
+
*/
|
|
10160
|
+
get: operations['StorefrontPrivacyController_get'];
|
|
10161
|
+
put?: never;
|
|
10162
|
+
post?: never;
|
|
10163
|
+
delete?: never;
|
|
10164
|
+
options?: never;
|
|
10165
|
+
head?: never;
|
|
10166
|
+
patch?: never;
|
|
10167
|
+
trace?: never;
|
|
10168
|
+
};
|
|
10169
|
+
'/v1/storefront/privacy/data-sharing': {
|
|
10170
|
+
parameters: {
|
|
10171
|
+
query?: never;
|
|
10172
|
+
header?: never;
|
|
10173
|
+
path?: never;
|
|
10174
|
+
cookie?: never;
|
|
10175
|
+
};
|
|
10176
|
+
get?: never;
|
|
10177
|
+
/**
|
|
10178
|
+
* Opt out of, or back into, sale or sharing of data
|
|
10179
|
+
* @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.
|
|
10180
|
+
*/
|
|
10181
|
+
put: operations['StorefrontPrivacyController_updateDataSharing'];
|
|
10182
|
+
post?: never;
|
|
10183
|
+
delete?: never;
|
|
10184
|
+
options?: never;
|
|
10185
|
+
head?: never;
|
|
10186
|
+
patch?: never;
|
|
10187
|
+
trace?: never;
|
|
10188
|
+
};
|
|
9904
10189
|
'/v1/storefront/addresses': {
|
|
9905
10190
|
parameters: {
|
|
9906
10191
|
query?: never;
|
|
@@ -22079,6 +22364,101 @@ export interface components {
|
|
|
22079
22364
|
*/
|
|
22080
22365
|
isActive?: boolean;
|
|
22081
22366
|
};
|
|
22367
|
+
StarterTaxRateRowDto: {
|
|
22368
|
+
/** @example US:CA:sales */
|
|
22369
|
+
key: string;
|
|
22370
|
+
/** @example US */
|
|
22371
|
+
country: string;
|
|
22372
|
+
/** @example CA */
|
|
22373
|
+
state: string;
|
|
22374
|
+
/** @example sales */
|
|
22375
|
+
taxType: string;
|
|
22376
|
+
/**
|
|
22377
|
+
* @description Percentage, 7.25 = 7.25%
|
|
22378
|
+
* @example 7.25
|
|
22379
|
+
*/
|
|
22380
|
+
ratePercent: number;
|
|
22381
|
+
isShippingTaxable: boolean;
|
|
22382
|
+
/** @example 2025-01-01 */
|
|
22383
|
+
effectiveDate: string;
|
|
22384
|
+
};
|
|
22385
|
+
StarterTaxRatesStatusDto: {
|
|
22386
|
+
/** @example Starter rates (statewide base only, last updated 2026-10-22). Local taxes not included. Review before going live. */
|
|
22387
|
+
label: string;
|
|
22388
|
+
/** @example 2026-10-22.1 */
|
|
22389
|
+
availableVersion: string;
|
|
22390
|
+
/** Format: date-time */
|
|
22391
|
+
publishedAt: string;
|
|
22392
|
+
optedIn: boolean;
|
|
22393
|
+
appliedVersion: string | null;
|
|
22394
|
+
/** Format: date-time */
|
|
22395
|
+
optedInAt: string | null;
|
|
22396
|
+
rows: components['schemas']['StarterTaxRateRowDto'][];
|
|
22397
|
+
};
|
|
22398
|
+
StarterOptInDryRunResponseDto: {
|
|
22399
|
+
/** @example Starter rates (statewide base only, last updated 2026-10-22). Local taxes not included. Review before going live. */
|
|
22400
|
+
label: string;
|
|
22401
|
+
/** @example 2026-10-22.1 */
|
|
22402
|
+
version: string;
|
|
22403
|
+
preview: components['schemas']['TaxImportDryRunResultDto'];
|
|
22404
|
+
};
|
|
22405
|
+
StarterOptInResponseDto: {
|
|
22406
|
+
/** @example Starter rates (statewide base only, last updated 2026-10-22). Local taxes not included. Review before going live. */
|
|
22407
|
+
label: string;
|
|
22408
|
+
/** @example 2026-10-22.1 */
|
|
22409
|
+
version: string;
|
|
22410
|
+
result: components['schemas']['TaxImportResultDto'];
|
|
22411
|
+
};
|
|
22412
|
+
StarterDiffRowDto: {
|
|
22413
|
+
/** @example US:CA:sales */
|
|
22414
|
+
key: string;
|
|
22415
|
+
country: string;
|
|
22416
|
+
state: string;
|
|
22417
|
+
taxType: string;
|
|
22418
|
+
/** @description Existing tenant rate id */
|
|
22419
|
+
rateId?: string;
|
|
22420
|
+
currentRatePercent?: number;
|
|
22421
|
+
newRatePercent?: number;
|
|
22422
|
+
/** @example 2025-01-01 */
|
|
22423
|
+
currentEffectiveDate?: string;
|
|
22424
|
+
/** @example 2025-01-01 */
|
|
22425
|
+
newEffectiveDate?: string;
|
|
22426
|
+
isShippingTaxable?: boolean;
|
|
22427
|
+
/**
|
|
22428
|
+
* @description Why a merchant-owned row is skipped
|
|
22429
|
+
* @enum {string}
|
|
22430
|
+
*/
|
|
22431
|
+
reason?: 'merchant-edited' | 'merchant-created';
|
|
22432
|
+
};
|
|
22433
|
+
StarterUpdatesResponseDto: {
|
|
22434
|
+
/** @example Starter rates (statewide base only, last updated 2026-10-22). Local taxes not included. Review before going live. */
|
|
22435
|
+
label: string;
|
|
22436
|
+
/** @description Version the tenant last fully applied */
|
|
22437
|
+
appliedVersion: string;
|
|
22438
|
+
availableVersion: string;
|
|
22439
|
+
/** Format: date-time */
|
|
22440
|
+
publishedAt: string;
|
|
22441
|
+
added: components['schemas']['StarterDiffRowDto'][];
|
|
22442
|
+
changed: components['schemas']['StarterDiffRowDto'][];
|
|
22443
|
+
removed: components['schemas']['StarterDiffRowDto'][];
|
|
22444
|
+
/** @description Merchant-owned rows; never changed by starter updates */
|
|
22445
|
+
skipped: components['schemas']['StarterDiffRowDto'][];
|
|
22446
|
+
};
|
|
22447
|
+
ApplyStarterUpdatesDto: {
|
|
22448
|
+
/** @description Row keys from the updates diff (`US:CA:sales`) to apply. Merchant-owned rows are skipped. */
|
|
22449
|
+
keys?: string[];
|
|
22450
|
+
/** @description Apply every added, changed and removed row in the diff */
|
|
22451
|
+
all?: boolean;
|
|
22452
|
+
};
|
|
22453
|
+
StarterApplyUpdatesResponseDto: {
|
|
22454
|
+
/** @example Starter rates (statewide base only, last updated 2026-10-22). Local taxes not included. Review before going live. */
|
|
22455
|
+
label: string;
|
|
22456
|
+
version: string;
|
|
22457
|
+
added: number;
|
|
22458
|
+
changed: number;
|
|
22459
|
+
removed: number;
|
|
22460
|
+
skipped: components['schemas']['StarterDiffRowDto'][];
|
|
22461
|
+
};
|
|
22082
22462
|
ShippingAddressDto: {
|
|
22083
22463
|
/**
|
|
22084
22464
|
* @description Contact or business name
|
|
@@ -22321,9 +22701,25 @@ export interface components {
|
|
|
22321
22701
|
[key: string]: unknown;
|
|
22322
22702
|
};
|
|
22323
22703
|
};
|
|
22704
|
+
ExcludedShippingRateDto: {
|
|
22705
|
+
/** @description ID of the shipping rate entity */
|
|
22706
|
+
shippingRateId?: string;
|
|
22707
|
+
/** @example express-saver */
|
|
22708
|
+
serviceCode: string;
|
|
22709
|
+
/** @example Express Saver */
|
|
22710
|
+
serviceName: string;
|
|
22711
|
+
/**
|
|
22712
|
+
* @description Why the rate was withheld
|
|
22713
|
+
* @example po_box_not_supported
|
|
22714
|
+
* @enum {string}
|
|
22715
|
+
*/
|
|
22716
|
+
reason: 'po_box_not_supported';
|
|
22717
|
+
};
|
|
22324
22718
|
ShippingRateResponseDto: {
|
|
22325
22719
|
/** @description Available shipping rate options */
|
|
22326
22720
|
rates: components['schemas']['ShippingRateOptionDto'][];
|
|
22721
|
+
/** @description Rates withheld for this destination, each with a machine-readable reason */
|
|
22722
|
+
excludedRates: components['schemas']['ExcludedShippingRateDto'][];
|
|
22327
22723
|
/**
|
|
22328
22724
|
* @description Time taken to calculate rates in milliseconds
|
|
22329
22725
|
* @example 245
|
|
@@ -23651,7 +24047,6 @@ export interface components {
|
|
|
23651
24047
|
* @description Shipping restrictions for this class
|
|
23652
24048
|
* @example {
|
|
23653
24049
|
* "requiresSignature": true,
|
|
23654
|
-
* "noPoBox": true,
|
|
23655
24050
|
* "packagingRequirements": "extraPadding"
|
|
23656
24051
|
* }
|
|
23657
24052
|
*/
|
|
@@ -23705,7 +24100,6 @@ export interface components {
|
|
|
23705
24100
|
* @description Shipping restrictions for this class
|
|
23706
24101
|
* @example {
|
|
23707
24102
|
* "requiresSignature": true,
|
|
23708
|
-
* "noPoBox": true,
|
|
23709
24103
|
* "packagingRequirements": "extraPadding"
|
|
23710
24104
|
* }
|
|
23711
24105
|
*/
|
|
@@ -23760,7 +24154,6 @@ export interface components {
|
|
|
23760
24154
|
* @description Shipping restrictions for this class
|
|
23761
24155
|
* @example {
|
|
23762
24156
|
* "requiresSignature": true,
|
|
23763
|
-
* "noPoBox": true,
|
|
23764
24157
|
* "packagingRequirements": "extraPadding"
|
|
23765
24158
|
* }
|
|
23766
24159
|
*/
|
|
@@ -23841,6 +24234,12 @@ export interface components {
|
|
|
23841
24234
|
* @example 5
|
|
23842
24235
|
*/
|
|
23843
24236
|
deliveryEstimateMaxDays?: number;
|
|
24237
|
+
/**
|
|
24238
|
+
* @description When true the rate is not offered for PO box destinations (checkout returns it unavailable with code po_box_not_supported)
|
|
24239
|
+
* @default false
|
|
24240
|
+
* @example false
|
|
24241
|
+
*/
|
|
24242
|
+
noPoBox?: boolean;
|
|
23844
24243
|
/**
|
|
23845
24244
|
* @description Optional provider ID for calculated rates (null = internal calculation)
|
|
23846
24245
|
* @example provider-uuid-123
|
|
@@ -23949,9 +24348,15 @@ export interface components {
|
|
|
23949
24348
|
isAvailable: boolean;
|
|
23950
24349
|
/**
|
|
23951
24350
|
* @description Reason if not available
|
|
23952
|
-
* @example
|
|
24351
|
+
* @example Needs a street address; not available for PO boxes
|
|
23953
24352
|
*/
|
|
23954
24353
|
unavailableReason?: string;
|
|
24354
|
+
/**
|
|
24355
|
+
* @description Machine-readable code for why the option is unavailable; show a note to the shopper
|
|
24356
|
+
* @example po_box_not_supported
|
|
24357
|
+
* @enum {string}
|
|
24358
|
+
*/
|
|
24359
|
+
unavailableCode?: 'po_box_not_supported';
|
|
23955
24360
|
};
|
|
23956
24361
|
ShippingRateListResponseDto: {
|
|
23957
24362
|
/** @description List of shipping rates */
|
|
@@ -24023,6 +24428,12 @@ export interface components {
|
|
|
24023
24428
|
* @example 5
|
|
24024
24429
|
*/
|
|
24025
24430
|
deliveryEstimateMaxDays?: number;
|
|
24431
|
+
/**
|
|
24432
|
+
* @description When true the rate is not offered for PO box destinations (checkout returns it unavailable with code po_box_not_supported)
|
|
24433
|
+
* @default false
|
|
24434
|
+
* @example false
|
|
24435
|
+
*/
|
|
24436
|
+
noPoBox?: boolean;
|
|
24026
24437
|
/**
|
|
24027
24438
|
* @description Optional provider ID for calculated rates (null = internal calculation)
|
|
24028
24439
|
* @example provider-uuid-123
|
|
@@ -33487,201 +33898,336 @@ export interface components {
|
|
|
33487
33898
|
/** @description New password (minimum 8 characters) */
|
|
33488
33899
|
newPassword: string;
|
|
33489
33900
|
};
|
|
33490
|
-
|
|
33491
|
-
/**
|
|
33492
|
-
|
|
33493
|
-
|
|
33494
|
-
|
|
33901
|
+
StorefrontFulfillmentItemDto: {
|
|
33902
|
+
/** @description Order item shipped in this shipment */
|
|
33903
|
+
orderItemId: string;
|
|
33904
|
+
/** @description Quantity of the order item in this shipment */
|
|
33905
|
+
quantity: number;
|
|
33906
|
+
};
|
|
33907
|
+
StorefrontFulfillmentDto: {
|
|
33495
33908
|
id: string;
|
|
33496
33909
|
/**
|
|
33497
|
-
* @description
|
|
33498
|
-
* @example cust_01HXZ9K2Y8W3N4V5B6A7C8D9E0
|
|
33499
|
-
*/
|
|
33500
|
-
customerId: string;
|
|
33501
|
-
/**
|
|
33502
|
-
* @description Tenant ID for isolation
|
|
33503
|
-
* @example tenant_01HXZ9K2Y8W3N4V5B6A7C8D9E0
|
|
33504
|
-
*/
|
|
33505
|
-
tenantId: string;
|
|
33506
|
-
/**
|
|
33507
|
-
* @description Store ID for isolation
|
|
33508
|
-
* @example store_01HXZ9K2Y8W3N4V5B6A7C8D9E0
|
|
33509
|
-
*/
|
|
33510
|
-
storeId: string;
|
|
33511
|
-
/**
|
|
33512
|
-
* @description Address type
|
|
33513
|
-
* @example shipping
|
|
33910
|
+
* @description Shipment status
|
|
33514
33911
|
* @enum {string}
|
|
33515
33912
|
*/
|
|
33516
|
-
|
|
33517
|
-
|
|
33518
|
-
|
|
33519
|
-
|
|
33520
|
-
|
|
33521
|
-
|
|
33522
|
-
|
|
33523
|
-
|
|
33524
|
-
|
|
33525
|
-
|
|
33526
|
-
|
|
33527
|
-
|
|
33528
|
-
|
|
33529
|
-
|
|
33530
|
-
|
|
33531
|
-
|
|
33532
|
-
|
|
33533
|
-
|
|
33534
|
-
|
|
33535
|
-
|
|
33536
|
-
|
|
33537
|
-
/**
|
|
33538
|
-
* @description Street address line 1
|
|
33539
|
-
* @example 123 Main Street
|
|
33540
|
-
*/
|
|
33541
|
-
address1: string;
|
|
33542
|
-
/**
|
|
33543
|
-
* @description Street address line 2
|
|
33544
|
-
* @example Apt 4B
|
|
33545
|
-
*/
|
|
33546
|
-
address2?: string;
|
|
33547
|
-
/**
|
|
33548
|
-
* @description Street address line 3
|
|
33549
|
-
* @example Building C
|
|
33550
|
-
*/
|
|
33551
|
-
address3?: string;
|
|
33552
|
-
/**
|
|
33553
|
-
* @description City
|
|
33554
|
-
* @example New York
|
|
33555
|
-
*/
|
|
33556
|
-
city: string;
|
|
33557
|
-
/**
|
|
33558
|
-
* @description State or province
|
|
33559
|
-
* @example NY
|
|
33560
|
-
*/
|
|
33561
|
-
state?: string;
|
|
33562
|
-
/**
|
|
33563
|
-
* @description ZIP or postal code
|
|
33564
|
-
* @example 10001
|
|
33565
|
-
*/
|
|
33566
|
-
zip: string;
|
|
33567
|
-
/**
|
|
33568
|
-
* @description Country code (ISO 3166-1 alpha-2)
|
|
33569
|
-
* @example US
|
|
33570
|
-
*/
|
|
33571
|
-
country: string;
|
|
33572
|
-
/**
|
|
33573
|
-
* @description Phone number for delivery
|
|
33574
|
-
* @example +1-555-123-4567
|
|
33575
|
-
*/
|
|
33576
|
-
phone?: string;
|
|
33577
|
-
/**
|
|
33578
|
-
* @description Whether this is the default billing address
|
|
33579
|
-
* @example false
|
|
33580
|
-
*/
|
|
33581
|
-
isDefaultBilling: boolean;
|
|
33582
|
-
/**
|
|
33583
|
-
* @description Whether this is the default shipping address
|
|
33584
|
-
* @example true
|
|
33585
|
-
*/
|
|
33586
|
-
isDefaultShipping: boolean;
|
|
33587
|
-
/**
|
|
33588
|
-
* @description Delivery instructions
|
|
33589
|
-
* @example Leave at front door
|
|
33590
|
-
*/
|
|
33591
|
-
instructions?: string;
|
|
33913
|
+
status: 'PENDING' | 'SHIPPED' | 'IN_TRANSIT' | 'DELIVERED' | 'FAILED' | 'CANCELLED';
|
|
33914
|
+
carrier?: string;
|
|
33915
|
+
serviceLevel?: string;
|
|
33916
|
+
trackingNumber?: string;
|
|
33917
|
+
/** @description Carrier tracking page */
|
|
33918
|
+
trackingUrl?: string;
|
|
33919
|
+
estimatedDeliveryDate?: string;
|
|
33920
|
+
shippedAt?: string;
|
|
33921
|
+
deliveredAt?: string;
|
|
33922
|
+
items: components['schemas']['StorefrontFulfillmentItemDto'][];
|
|
33923
|
+
};
|
|
33924
|
+
StorefrontFulfillmentListDto: {
|
|
33925
|
+
data: components['schemas']['StorefrontFulfillmentDto'][];
|
|
33926
|
+
};
|
|
33927
|
+
StorefrontInvoiceDto: {
|
|
33928
|
+
id: string;
|
|
33929
|
+
orderId: string;
|
|
33930
|
+
/** @example INV-202604-00001 */
|
|
33931
|
+
invoiceNumber: string;
|
|
33932
|
+
/** @enum {string} */
|
|
33933
|
+
status: 'draft' | 'sent' | 'viewed' | 'paid' | 'expired' | 'cancelled';
|
|
33592
33934
|
/**
|
|
33593
|
-
*
|
|
33594
|
-
* @
|
|
33595
|
-
* @example 2024-01-01T12:00:00.000Z
|
|
33935
|
+
* @description Amount in cents (string)
|
|
33936
|
+
* @example 9999
|
|
33596
33937
|
*/
|
|
33938
|
+
amount: string;
|
|
33939
|
+
/** @example USD */
|
|
33940
|
+
currency: string;
|
|
33941
|
+
dueDate?: string;
|
|
33942
|
+
paidAt?: string;
|
|
33597
33943
|
createdAt: string;
|
|
33598
|
-
/**
|
|
33599
|
-
* Format: date-time
|
|
33600
|
-
* @description When address was last updated
|
|
33601
|
-
* @example 2024-01-20T15:30:00.000Z
|
|
33602
|
-
*/
|
|
33603
|
-
updatedAt: string;
|
|
33604
33944
|
};
|
|
33605
|
-
|
|
33945
|
+
StorefrontInvoiceListDto: {
|
|
33946
|
+
data: components['schemas']['StorefrontInvoiceDto'][];
|
|
33947
|
+
};
|
|
33948
|
+
StorefrontCancellationStatusDto: {
|
|
33949
|
+
/** @description Whether the shopper can cancel the order now */
|
|
33950
|
+
canCancel: boolean;
|
|
33606
33951
|
/**
|
|
33607
|
-
* @description
|
|
33608
|
-
* @example shipping
|
|
33952
|
+
* @description Why not
|
|
33609
33953
|
* @enum {string}
|
|
33610
33954
|
*/
|
|
33611
|
-
|
|
33612
|
-
/**
|
|
33613
|
-
|
|
33614
|
-
|
|
33615
|
-
|
|
33616
|
-
|
|
33617
|
-
|
|
33618
|
-
|
|
33619
|
-
|
|
33620
|
-
|
|
33621
|
-
|
|
33622
|
-
/**
|
|
33623
|
-
|
|
33624
|
-
* @example Doe
|
|
33625
|
-
*/
|
|
33626
|
-
lastName?: string;
|
|
33627
|
-
/**
|
|
33628
|
-
* @description Company name
|
|
33629
|
-
* @example Acme Corporation
|
|
33630
|
-
*/
|
|
33631
|
-
company?: string;
|
|
33955
|
+
reason?: 'ORDER_NOT_CANCELLABLE' | 'ORDER_ALREADY_SHIPPED' | 'ORDER_RELEASED_TO_ERP' | 'ORDER_CANCEL_WINDOW_CLOSED';
|
|
33956
|
+
/** @description End of the cancel window (order time plus the store window) */
|
|
33957
|
+
cancellableUntil?: string;
|
|
33958
|
+
/** @description Store cancel window in minutes */
|
|
33959
|
+
windowMinutes: number;
|
|
33960
|
+
};
|
|
33961
|
+
CancelOwnOrderDto: {
|
|
33962
|
+
/** @description Why the shopper is cancelling */
|
|
33963
|
+
reason?: string;
|
|
33964
|
+
};
|
|
33965
|
+
StartStorefrontReturnDto: {
|
|
33966
|
+
/** @description Items to return */
|
|
33967
|
+
items: components['schemas']['ReturnItemDto'][];
|
|
33632
33968
|
/**
|
|
33633
|
-
* @description
|
|
33634
|
-
* @example
|
|
33969
|
+
* @description Primary reason for the return
|
|
33970
|
+
* @example defective
|
|
33971
|
+
* @enum {string}
|
|
33635
33972
|
*/
|
|
33636
|
-
|
|
33973
|
+
reason: 'defective' | 'notAsDescribed' | 'wrongItem' | 'damaged' | 'noLongerNeeded' | 'arrivedLate' | 'other';
|
|
33637
33974
|
/**
|
|
33638
|
-
* @description
|
|
33639
|
-
* @
|
|
33975
|
+
* @description Desired resolution type
|
|
33976
|
+
* @default refund
|
|
33977
|
+
* @example refund
|
|
33978
|
+
* @enum {string}
|
|
33640
33979
|
*/
|
|
33641
|
-
|
|
33980
|
+
resolutionType?: 'refund' | 'exchange' | 'storeCredit';
|
|
33642
33981
|
/**
|
|
33643
|
-
* @description
|
|
33644
|
-
* @example
|
|
33982
|
+
* @description Additional notes or comments
|
|
33983
|
+
* @example Product did not match the description on the website
|
|
33645
33984
|
*/
|
|
33646
|
-
|
|
33985
|
+
notes?: string;
|
|
33986
|
+
};
|
|
33987
|
+
StorefrontReturnItemDto: {
|
|
33988
|
+
orderItemId: string;
|
|
33989
|
+
quantity: number;
|
|
33990
|
+
reason: string;
|
|
33991
|
+
condition?: string;
|
|
33992
|
+
};
|
|
33993
|
+
StorefrontReturnDto: {
|
|
33994
|
+
id: string;
|
|
33995
|
+
returnNumber: string;
|
|
33996
|
+
orderId: string;
|
|
33997
|
+
/** @description requested, approved, rejected, shipped, ... */
|
|
33998
|
+
status: string;
|
|
33999
|
+
reason: string;
|
|
34000
|
+
resolutionType: string;
|
|
33647
34001
|
/**
|
|
33648
|
-
* @description
|
|
33649
|
-
* @example
|
|
34002
|
+
* @description Amount in cents (string)
|
|
34003
|
+
* @example 4999
|
|
33650
34004
|
*/
|
|
33651
|
-
|
|
34005
|
+
totalAmount: string;
|
|
34006
|
+
/** @description Amount in cents (string) */
|
|
34007
|
+
refundAmount?: string;
|
|
34008
|
+
trackingNumber?: string;
|
|
34009
|
+
/** @description Prepaid label, once approved */
|
|
34010
|
+
shippingLabelUrl?: string;
|
|
34011
|
+
shippingCarrier?: string;
|
|
34012
|
+
createdAt: string;
|
|
34013
|
+
items: components['schemas']['StorefrontReturnItemDto'][];
|
|
34014
|
+
};
|
|
34015
|
+
StorefrontReturnListDto: {
|
|
34016
|
+
data: components['schemas']['StorefrontReturnDto'][];
|
|
34017
|
+
total: number;
|
|
34018
|
+
};
|
|
34019
|
+
StorefrontPrivacyDto: {
|
|
34020
|
+
/** @description "Do Not Sell or Share" opt-out kept on the account */
|
|
34021
|
+
dataSharingOptOut: boolean;
|
|
34022
|
+
/** @description When the opt-out was recorded */
|
|
34023
|
+
dataSharingOptOutAt?: string;
|
|
34024
|
+
/** @enum {string} */
|
|
34025
|
+
dataSharingOptOutSource?: 'link' | 'gpc';
|
|
34026
|
+
};
|
|
34027
|
+
UpdateDataSharingDto: {
|
|
34028
|
+
/** @description true to opt out of sale or sharing */
|
|
34029
|
+
optOut: boolean;
|
|
33652
34030
|
/**
|
|
33653
|
-
* @description
|
|
33654
|
-
* @
|
|
34031
|
+
* @description link: the Do Not Sell or Share link. gpc: a Global Privacy Control signal, which can only opt out.
|
|
34032
|
+
* @enum {string}
|
|
33655
34033
|
*/
|
|
33656
|
-
|
|
34034
|
+
source: 'link' | 'gpc';
|
|
34035
|
+
};
|
|
34036
|
+
StorefrontAddressDto: {
|
|
33657
34037
|
/**
|
|
33658
|
-
* @description
|
|
33659
|
-
* @example
|
|
34038
|
+
* @description Unique identifier for the address
|
|
34039
|
+
* @example addr_01HXZ9K2Y8W3N4V5B6A7C8D9E0
|
|
33660
34040
|
*/
|
|
33661
|
-
|
|
34041
|
+
id: string;
|
|
33662
34042
|
/**
|
|
33663
|
-
* @description
|
|
33664
|
-
* @example
|
|
34043
|
+
* @description Customer ID that owns this address
|
|
34044
|
+
* @example cust_01HXZ9K2Y8W3N4V5B6A7C8D9E0
|
|
33665
34045
|
*/
|
|
33666
|
-
|
|
34046
|
+
customerId: string;
|
|
33667
34047
|
/**
|
|
33668
|
-
* @description
|
|
33669
|
-
* @example
|
|
34048
|
+
* @description Tenant ID for isolation
|
|
34049
|
+
* @example tenant_01HXZ9K2Y8W3N4V5B6A7C8D9E0
|
|
33670
34050
|
*/
|
|
33671
|
-
|
|
34051
|
+
tenantId: string;
|
|
33672
34052
|
/**
|
|
33673
|
-
* @description
|
|
33674
|
-
* @example
|
|
34053
|
+
* @description Store ID for isolation
|
|
34054
|
+
* @example store_01HXZ9K2Y8W3N4V5B6A7C8D9E0
|
|
33675
34055
|
*/
|
|
33676
|
-
|
|
33677
|
-
};
|
|
33678
|
-
UpdateStorefrontAddressDto: {
|
|
34056
|
+
storeId: string;
|
|
33679
34057
|
/**
|
|
33680
34058
|
* @description Address type
|
|
33681
34059
|
* @example shipping
|
|
33682
34060
|
* @enum {string}
|
|
33683
34061
|
*/
|
|
33684
|
-
type
|
|
34062
|
+
type: 'billing' | 'shipping' | 'work' | 'home' | 'other';
|
|
34063
|
+
/**
|
|
34064
|
+
* @description Custom label for the address
|
|
34065
|
+
* @example Home Address
|
|
34066
|
+
*/
|
|
34067
|
+
label?: string;
|
|
34068
|
+
/**
|
|
34069
|
+
* @description Recipient first name
|
|
34070
|
+
* @example John
|
|
34071
|
+
*/
|
|
34072
|
+
firstName?: string;
|
|
34073
|
+
/**
|
|
34074
|
+
* @description Recipient last name
|
|
34075
|
+
* @example Doe
|
|
34076
|
+
*/
|
|
34077
|
+
lastName?: string;
|
|
34078
|
+
/**
|
|
34079
|
+
* @description Company name
|
|
34080
|
+
* @example Acme Corporation
|
|
34081
|
+
*/
|
|
34082
|
+
company?: string;
|
|
34083
|
+
/**
|
|
34084
|
+
* @description Street address line 1
|
|
34085
|
+
* @example 123 Main Street
|
|
34086
|
+
*/
|
|
34087
|
+
address1: string;
|
|
34088
|
+
/**
|
|
34089
|
+
* @description Street address line 2
|
|
34090
|
+
* @example Apt 4B
|
|
34091
|
+
*/
|
|
34092
|
+
address2?: string;
|
|
34093
|
+
/**
|
|
34094
|
+
* @description Street address line 3
|
|
34095
|
+
* @example Building C
|
|
34096
|
+
*/
|
|
34097
|
+
address3?: string;
|
|
34098
|
+
/**
|
|
34099
|
+
* @description City
|
|
34100
|
+
* @example New York
|
|
34101
|
+
*/
|
|
34102
|
+
city: string;
|
|
34103
|
+
/**
|
|
34104
|
+
* @description State or province
|
|
34105
|
+
* @example NY
|
|
34106
|
+
*/
|
|
34107
|
+
state?: string;
|
|
34108
|
+
/**
|
|
34109
|
+
* @description ZIP or postal code
|
|
34110
|
+
* @example 10001
|
|
34111
|
+
*/
|
|
34112
|
+
zip: string;
|
|
34113
|
+
/**
|
|
34114
|
+
* @description Country code (ISO 3166-1 alpha-2)
|
|
34115
|
+
* @example US
|
|
34116
|
+
*/
|
|
34117
|
+
country: string;
|
|
34118
|
+
/**
|
|
34119
|
+
* @description Phone number for delivery
|
|
34120
|
+
* @example +1-555-123-4567
|
|
34121
|
+
*/
|
|
34122
|
+
phone?: string;
|
|
34123
|
+
/**
|
|
34124
|
+
* @description Whether this is the default billing address
|
|
34125
|
+
* @example false
|
|
34126
|
+
*/
|
|
34127
|
+
isDefaultBilling: boolean;
|
|
34128
|
+
/**
|
|
34129
|
+
* @description Whether this is the default shipping address
|
|
34130
|
+
* @example true
|
|
34131
|
+
*/
|
|
34132
|
+
isDefaultShipping: boolean;
|
|
34133
|
+
/**
|
|
34134
|
+
* @description Delivery instructions
|
|
34135
|
+
* @example Leave at front door
|
|
34136
|
+
*/
|
|
34137
|
+
instructions?: string;
|
|
34138
|
+
/**
|
|
34139
|
+
* Format: date-time
|
|
34140
|
+
* @description When address was created
|
|
34141
|
+
* @example 2024-01-01T12:00:00.000Z
|
|
34142
|
+
*/
|
|
34143
|
+
createdAt: string;
|
|
34144
|
+
/**
|
|
34145
|
+
* Format: date-time
|
|
34146
|
+
* @description When address was last updated
|
|
34147
|
+
* @example 2024-01-20T15:30:00.000Z
|
|
34148
|
+
*/
|
|
34149
|
+
updatedAt: string;
|
|
34150
|
+
};
|
|
34151
|
+
CreateStorefrontAddressDto: {
|
|
34152
|
+
/**
|
|
34153
|
+
* @description Address type
|
|
34154
|
+
* @example shipping
|
|
34155
|
+
* @enum {string}
|
|
34156
|
+
*/
|
|
34157
|
+
type: 'billing' | 'shipping' | 'work' | 'home' | 'other';
|
|
34158
|
+
/**
|
|
34159
|
+
* @description Custom label for the address
|
|
34160
|
+
* @example Home Address
|
|
34161
|
+
*/
|
|
34162
|
+
label?: string;
|
|
34163
|
+
/**
|
|
34164
|
+
* @description Recipient first name
|
|
34165
|
+
* @example John
|
|
34166
|
+
*/
|
|
34167
|
+
firstName?: string;
|
|
34168
|
+
/**
|
|
34169
|
+
* @description Recipient last name
|
|
34170
|
+
* @example Doe
|
|
34171
|
+
*/
|
|
34172
|
+
lastName?: string;
|
|
34173
|
+
/**
|
|
34174
|
+
* @description Company name
|
|
34175
|
+
* @example Acme Corporation
|
|
34176
|
+
*/
|
|
34177
|
+
company?: string;
|
|
34178
|
+
/**
|
|
34179
|
+
* @description Street address line 1
|
|
34180
|
+
* @example 123 Main Street
|
|
34181
|
+
*/
|
|
34182
|
+
address1: string;
|
|
34183
|
+
/**
|
|
34184
|
+
* @description Street address line 2
|
|
34185
|
+
* @example Apt 4B
|
|
34186
|
+
*/
|
|
34187
|
+
address2?: string;
|
|
34188
|
+
/**
|
|
34189
|
+
* @description Street address line 3
|
|
34190
|
+
* @example Building C
|
|
34191
|
+
*/
|
|
34192
|
+
address3?: string;
|
|
34193
|
+
/**
|
|
34194
|
+
* @description City
|
|
34195
|
+
* @example New York
|
|
34196
|
+
*/
|
|
34197
|
+
city: string;
|
|
34198
|
+
/**
|
|
34199
|
+
* @description State or province
|
|
34200
|
+
* @example NY
|
|
34201
|
+
*/
|
|
34202
|
+
state?: string;
|
|
34203
|
+
/**
|
|
34204
|
+
* @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.
|
|
34205
|
+
* @example 10001
|
|
34206
|
+
*/
|
|
34207
|
+
zip?: string;
|
|
34208
|
+
/**
|
|
34209
|
+
* @description Country as ISO-2, ISO-3, or English name. Stored and returned as ISO-2.
|
|
34210
|
+
* @example US
|
|
34211
|
+
*/
|
|
34212
|
+
country: string;
|
|
34213
|
+
/**
|
|
34214
|
+
* @description Phone number for delivery (validated for specified country)
|
|
34215
|
+
* @example +1-555-123-4567
|
|
34216
|
+
*/
|
|
34217
|
+
phone?: string;
|
|
34218
|
+
/**
|
|
34219
|
+
* @description Delivery instructions
|
|
34220
|
+
* @example Leave at front door
|
|
34221
|
+
*/
|
|
34222
|
+
instructions?: string;
|
|
34223
|
+
};
|
|
34224
|
+
UpdateStorefrontAddressDto: {
|
|
34225
|
+
/**
|
|
34226
|
+
* @description Address type
|
|
34227
|
+
* @example shipping
|
|
34228
|
+
* @enum {string}
|
|
34229
|
+
*/
|
|
34230
|
+
type?: 'billing' | 'shipping' | 'work' | 'home' | 'other';
|
|
33685
34231
|
/**
|
|
33686
34232
|
* @description Custom label for the address
|
|
33687
34233
|
* @example Home Address
|
|
@@ -34005,10 +34551,10 @@ export interface components {
|
|
|
34005
34551
|
currencyCode: string;
|
|
34006
34552
|
marketId?: string;
|
|
34007
34553
|
/**
|
|
34008
|
-
* @description Amount in cents
|
|
34554
|
+
* @description Amount in cents. Null means the price is the variant price minus the plan discount
|
|
34009
34555
|
* @example 2499
|
|
34010
34556
|
*/
|
|
34011
|
-
amount: string;
|
|
34557
|
+
amount: string | null;
|
|
34012
34558
|
/**
|
|
34013
34559
|
* @description Compare-at amount in cents
|
|
34014
34560
|
* @example 2999
|
|
@@ -34030,6 +34576,21 @@ export interface components {
|
|
|
34030
34576
|
* @example 500
|
|
34031
34577
|
*/
|
|
34032
34578
|
setupFee?: string | null;
|
|
34579
|
+
/**
|
|
34580
|
+
* @description Plan discount off the variant price (Subscribe & Save)
|
|
34581
|
+
* @enum {string|null}
|
|
34582
|
+
*/
|
|
34583
|
+
discountType?: 'percent' | 'fixed' | null;
|
|
34584
|
+
/**
|
|
34585
|
+
* @description A percent when discountType is percent, cents when fixed
|
|
34586
|
+
* @example 10
|
|
34587
|
+
*/
|
|
34588
|
+
discountValue?: number | null;
|
|
34589
|
+
/**
|
|
34590
|
+
* @description ISO 4217 currency of a fixed discount
|
|
34591
|
+
* @example USD
|
|
34592
|
+
*/
|
|
34593
|
+
discountCurrency?: string | null;
|
|
34033
34594
|
sortOrder: number;
|
|
34034
34595
|
prices?: components['schemas']['StorefrontPlanPriceDto'][];
|
|
34035
34596
|
};
|
|
@@ -48104,6 +48665,110 @@ export interface operations {
|
|
|
48104
48665
|
};
|
|
48105
48666
|
};
|
|
48106
48667
|
};
|
|
48668
|
+
StarterTaxRatesController_getStatus: {
|
|
48669
|
+
parameters: {
|
|
48670
|
+
query?: never;
|
|
48671
|
+
header?: never;
|
|
48672
|
+
path?: never;
|
|
48673
|
+
cookie?: never;
|
|
48674
|
+
};
|
|
48675
|
+
requestBody?: never;
|
|
48676
|
+
responses: {
|
|
48677
|
+
/** @description Label, versions, opt-in state and rows */
|
|
48678
|
+
200: {
|
|
48679
|
+
headers: {
|
|
48680
|
+
[name: string]: unknown;
|
|
48681
|
+
};
|
|
48682
|
+
content: {
|
|
48683
|
+
'application/json': components['schemas']['StarterTaxRatesStatusDto'];
|
|
48684
|
+
};
|
|
48685
|
+
};
|
|
48686
|
+
};
|
|
48687
|
+
};
|
|
48688
|
+
StarterTaxRatesController_dryRunOptIn: {
|
|
48689
|
+
parameters: {
|
|
48690
|
+
query?: never;
|
|
48691
|
+
header?: never;
|
|
48692
|
+
path?: never;
|
|
48693
|
+
cookie?: never;
|
|
48694
|
+
};
|
|
48695
|
+
requestBody?: never;
|
|
48696
|
+
responses: {
|
|
48697
|
+
/** @description Label, version and importer dry-run preview */
|
|
48698
|
+
200: {
|
|
48699
|
+
headers: {
|
|
48700
|
+
[name: string]: unknown;
|
|
48701
|
+
};
|
|
48702
|
+
content: {
|
|
48703
|
+
'application/json': components['schemas']['StarterOptInDryRunResponseDto'];
|
|
48704
|
+
};
|
|
48705
|
+
};
|
|
48706
|
+
};
|
|
48707
|
+
};
|
|
48708
|
+
StarterTaxRatesController_optIn: {
|
|
48709
|
+
parameters: {
|
|
48710
|
+
query?: never;
|
|
48711
|
+
header?: never;
|
|
48712
|
+
path?: never;
|
|
48713
|
+
cookie?: never;
|
|
48714
|
+
};
|
|
48715
|
+
requestBody?: never;
|
|
48716
|
+
responses: {
|
|
48717
|
+
/** @description Label, version and import result */
|
|
48718
|
+
200: {
|
|
48719
|
+
headers: {
|
|
48720
|
+
[name: string]: unknown;
|
|
48721
|
+
};
|
|
48722
|
+
content: {
|
|
48723
|
+
'application/json': components['schemas']['StarterOptInResponseDto'];
|
|
48724
|
+
};
|
|
48725
|
+
};
|
|
48726
|
+
};
|
|
48727
|
+
};
|
|
48728
|
+
StarterTaxRatesController_listUpdates: {
|
|
48729
|
+
parameters: {
|
|
48730
|
+
query?: never;
|
|
48731
|
+
header?: never;
|
|
48732
|
+
path?: never;
|
|
48733
|
+
cookie?: never;
|
|
48734
|
+
};
|
|
48735
|
+
requestBody?: never;
|
|
48736
|
+
responses: {
|
|
48737
|
+
/** @description Label, versions and the diff */
|
|
48738
|
+
200: {
|
|
48739
|
+
headers: {
|
|
48740
|
+
[name: string]: unknown;
|
|
48741
|
+
};
|
|
48742
|
+
content: {
|
|
48743
|
+
'application/json': components['schemas']['StarterUpdatesResponseDto'];
|
|
48744
|
+
};
|
|
48745
|
+
};
|
|
48746
|
+
};
|
|
48747
|
+
};
|
|
48748
|
+
StarterTaxRatesController_applyUpdates: {
|
|
48749
|
+
parameters: {
|
|
48750
|
+
query?: never;
|
|
48751
|
+
header?: never;
|
|
48752
|
+
path?: never;
|
|
48753
|
+
cookie?: never;
|
|
48754
|
+
};
|
|
48755
|
+
requestBody: {
|
|
48756
|
+
content: {
|
|
48757
|
+
'application/json': components['schemas']['ApplyStarterUpdatesDto'];
|
|
48758
|
+
};
|
|
48759
|
+
};
|
|
48760
|
+
responses: {
|
|
48761
|
+
/** @description Counts applied and the skipped rows */
|
|
48762
|
+
200: {
|
|
48763
|
+
headers: {
|
|
48764
|
+
[name: string]: unknown;
|
|
48765
|
+
};
|
|
48766
|
+
content: {
|
|
48767
|
+
'application/json': components['schemas']['StarterApplyUpdatesResponseDto'];
|
|
48768
|
+
};
|
|
48769
|
+
};
|
|
48770
|
+
};
|
|
48771
|
+
};
|
|
48107
48772
|
ShippingController_calculateRates: {
|
|
48108
48773
|
parameters: {
|
|
48109
48774
|
query?: never;
|
|
@@ -59281,6 +59946,424 @@ export interface operations {
|
|
|
59281
59946
|
};
|
|
59282
59947
|
};
|
|
59283
59948
|
};
|
|
59949
|
+
StorefrontOrdersController_getFulfillments: {
|
|
59950
|
+
parameters: {
|
|
59951
|
+
query?: never;
|
|
59952
|
+
header?: {
|
|
59953
|
+
/** @description Storefront API key */
|
|
59954
|
+
'x-api-key'?: string;
|
|
59955
|
+
};
|
|
59956
|
+
path: {
|
|
59957
|
+
/** @description Order ID */
|
|
59958
|
+
id: string;
|
|
59959
|
+
};
|
|
59960
|
+
cookie?: never;
|
|
59961
|
+
};
|
|
59962
|
+
requestBody?: never;
|
|
59963
|
+
responses: {
|
|
59964
|
+
200: {
|
|
59965
|
+
headers: {
|
|
59966
|
+
[name: string]: unknown;
|
|
59967
|
+
};
|
|
59968
|
+
content: {
|
|
59969
|
+
'application/json': components['schemas']['StorefrontFulfillmentListDto'];
|
|
59970
|
+
};
|
|
59971
|
+
};
|
|
59972
|
+
/** @description Access token required */
|
|
59973
|
+
401: {
|
|
59974
|
+
headers: {
|
|
59975
|
+
[name: string]: unknown;
|
|
59976
|
+
};
|
|
59977
|
+
content?: never;
|
|
59978
|
+
};
|
|
59979
|
+
/** @description Order not found */
|
|
59980
|
+
404: {
|
|
59981
|
+
headers: {
|
|
59982
|
+
[name: string]: unknown;
|
|
59983
|
+
};
|
|
59984
|
+
content?: never;
|
|
59985
|
+
};
|
|
59986
|
+
};
|
|
59987
|
+
};
|
|
59988
|
+
StorefrontOrdersController_getInvoices: {
|
|
59989
|
+
parameters: {
|
|
59990
|
+
query?: never;
|
|
59991
|
+
header?: {
|
|
59992
|
+
/** @description Storefront API key */
|
|
59993
|
+
'x-api-key'?: string;
|
|
59994
|
+
};
|
|
59995
|
+
path: {
|
|
59996
|
+
/** @description Order ID */
|
|
59997
|
+
id: string;
|
|
59998
|
+
};
|
|
59999
|
+
cookie?: never;
|
|
60000
|
+
};
|
|
60001
|
+
requestBody?: never;
|
|
60002
|
+
responses: {
|
|
60003
|
+
200: {
|
|
60004
|
+
headers: {
|
|
60005
|
+
[name: string]: unknown;
|
|
60006
|
+
};
|
|
60007
|
+
content: {
|
|
60008
|
+
'application/json': components['schemas']['StorefrontInvoiceListDto'];
|
|
60009
|
+
};
|
|
60010
|
+
};
|
|
60011
|
+
/** @description Access token required */
|
|
60012
|
+
401: {
|
|
60013
|
+
headers: {
|
|
60014
|
+
[name: string]: unknown;
|
|
60015
|
+
};
|
|
60016
|
+
content?: never;
|
|
60017
|
+
};
|
|
60018
|
+
/** @description Order not found */
|
|
60019
|
+
404: {
|
|
60020
|
+
headers: {
|
|
60021
|
+
[name: string]: unknown;
|
|
60022
|
+
};
|
|
60023
|
+
content?: never;
|
|
60024
|
+
};
|
|
60025
|
+
};
|
|
60026
|
+
};
|
|
60027
|
+
StorefrontOrdersController_getCancellationStatus: {
|
|
60028
|
+
parameters: {
|
|
60029
|
+
query?: never;
|
|
60030
|
+
header?: {
|
|
60031
|
+
/** @description Storefront API key */
|
|
60032
|
+
'x-api-key'?: string;
|
|
60033
|
+
};
|
|
60034
|
+
path: {
|
|
60035
|
+
/** @description Order ID */
|
|
60036
|
+
id: string;
|
|
60037
|
+
};
|
|
60038
|
+
cookie?: never;
|
|
60039
|
+
};
|
|
60040
|
+
requestBody?: never;
|
|
60041
|
+
responses: {
|
|
60042
|
+
200: {
|
|
60043
|
+
headers: {
|
|
60044
|
+
[name: string]: unknown;
|
|
60045
|
+
};
|
|
60046
|
+
content: {
|
|
60047
|
+
'application/json': components['schemas']['StorefrontCancellationStatusDto'];
|
|
60048
|
+
};
|
|
60049
|
+
};
|
|
60050
|
+
/** @description Access token required */
|
|
60051
|
+
401: {
|
|
60052
|
+
headers: {
|
|
60053
|
+
[name: string]: unknown;
|
|
60054
|
+
};
|
|
60055
|
+
content?: never;
|
|
60056
|
+
};
|
|
60057
|
+
/** @description Order not found */
|
|
60058
|
+
404: {
|
|
60059
|
+
headers: {
|
|
60060
|
+
[name: string]: unknown;
|
|
60061
|
+
};
|
|
60062
|
+
content?: never;
|
|
60063
|
+
};
|
|
60064
|
+
};
|
|
60065
|
+
};
|
|
60066
|
+
StorefrontOrderActionsController_cancel: {
|
|
60067
|
+
parameters: {
|
|
60068
|
+
query?: never;
|
|
60069
|
+
header?: {
|
|
60070
|
+
/** @description Storefront API key */
|
|
60071
|
+
'x-api-key'?: string;
|
|
60072
|
+
};
|
|
60073
|
+
path: {
|
|
60074
|
+
/** @description Order ID */
|
|
60075
|
+
id: string;
|
|
60076
|
+
};
|
|
60077
|
+
cookie?: never;
|
|
60078
|
+
};
|
|
60079
|
+
requestBody: {
|
|
60080
|
+
content: {
|
|
60081
|
+
'application/json': components['schemas']['CancelOwnOrderDto'];
|
|
60082
|
+
};
|
|
60083
|
+
};
|
|
60084
|
+
responses: {
|
|
60085
|
+
200: {
|
|
60086
|
+
headers: {
|
|
60087
|
+
[name: string]: unknown;
|
|
60088
|
+
};
|
|
60089
|
+
content: {
|
|
60090
|
+
'application/json': components['schemas']['OrderResponseDto'];
|
|
60091
|
+
};
|
|
60092
|
+
};
|
|
60093
|
+
/** @description Access token required */
|
|
60094
|
+
401: {
|
|
60095
|
+
headers: {
|
|
60096
|
+
[name: string]: unknown;
|
|
60097
|
+
};
|
|
60098
|
+
content?: never;
|
|
60099
|
+
};
|
|
60100
|
+
/** @description Order not found */
|
|
60101
|
+
404: {
|
|
60102
|
+
headers: {
|
|
60103
|
+
[name: string]: unknown;
|
|
60104
|
+
};
|
|
60105
|
+
content?: never;
|
|
60106
|
+
};
|
|
60107
|
+
/** @description Order can no longer be cancelled */
|
|
60108
|
+
409: {
|
|
60109
|
+
headers: {
|
|
60110
|
+
[name: string]: unknown;
|
|
60111
|
+
};
|
|
60112
|
+
content?: never;
|
|
60113
|
+
};
|
|
60114
|
+
};
|
|
60115
|
+
};
|
|
60116
|
+
StorefrontReturnsController_startReturn: {
|
|
60117
|
+
parameters: {
|
|
60118
|
+
query?: never;
|
|
60119
|
+
header?: {
|
|
60120
|
+
/** @description Storefront API key */
|
|
60121
|
+
'x-api-key'?: string;
|
|
60122
|
+
};
|
|
60123
|
+
path: {
|
|
60124
|
+
/** @description Order ID */
|
|
60125
|
+
orderId: string;
|
|
60126
|
+
};
|
|
60127
|
+
cookie?: never;
|
|
60128
|
+
};
|
|
60129
|
+
requestBody: {
|
|
60130
|
+
content: {
|
|
60131
|
+
'application/json': components['schemas']['StartStorefrontReturnDto'];
|
|
60132
|
+
};
|
|
60133
|
+
};
|
|
60134
|
+
responses: {
|
|
60135
|
+
201: {
|
|
60136
|
+
headers: {
|
|
60137
|
+
[name: string]: unknown;
|
|
60138
|
+
};
|
|
60139
|
+
content: {
|
|
60140
|
+
'application/json': components['schemas']['StorefrontReturnDto'];
|
|
60141
|
+
};
|
|
60142
|
+
};
|
|
60143
|
+
/** @description Window closed or bad quantities */
|
|
60144
|
+
400: {
|
|
60145
|
+
headers: {
|
|
60146
|
+
[name: string]: unknown;
|
|
60147
|
+
};
|
|
60148
|
+
content?: never;
|
|
60149
|
+
};
|
|
60150
|
+
/** @description Access token required */
|
|
60151
|
+
401: {
|
|
60152
|
+
headers: {
|
|
60153
|
+
[name: string]: unknown;
|
|
60154
|
+
};
|
|
60155
|
+
content?: never;
|
|
60156
|
+
};
|
|
60157
|
+
/** @description Order not found */
|
|
60158
|
+
404: {
|
|
60159
|
+
headers: {
|
|
60160
|
+
[name: string]: unknown;
|
|
60161
|
+
};
|
|
60162
|
+
content?: never;
|
|
60163
|
+
};
|
|
60164
|
+
};
|
|
60165
|
+
};
|
|
60166
|
+
StorefrontReturnsController_listReturns: {
|
|
60167
|
+
parameters: {
|
|
60168
|
+
query?: {
|
|
60169
|
+
orderId?: string;
|
|
60170
|
+
page?: number;
|
|
60171
|
+
limit?: number;
|
|
60172
|
+
};
|
|
60173
|
+
header?: {
|
|
60174
|
+
/** @description Storefront API key */
|
|
60175
|
+
'x-api-key'?: string;
|
|
60176
|
+
};
|
|
60177
|
+
path?: never;
|
|
60178
|
+
cookie?: never;
|
|
60179
|
+
};
|
|
60180
|
+
requestBody?: never;
|
|
60181
|
+
responses: {
|
|
60182
|
+
200: {
|
|
60183
|
+
headers: {
|
|
60184
|
+
[name: string]: unknown;
|
|
60185
|
+
};
|
|
60186
|
+
content: {
|
|
60187
|
+
'application/json': components['schemas']['StorefrontReturnListDto'];
|
|
60188
|
+
};
|
|
60189
|
+
};
|
|
60190
|
+
/** @description Access token required */
|
|
60191
|
+
401: {
|
|
60192
|
+
headers: {
|
|
60193
|
+
[name: string]: unknown;
|
|
60194
|
+
};
|
|
60195
|
+
content?: never;
|
|
60196
|
+
};
|
|
60197
|
+
};
|
|
60198
|
+
};
|
|
60199
|
+
StorefrontReturnsController_getReturn: {
|
|
60200
|
+
parameters: {
|
|
60201
|
+
query?: never;
|
|
60202
|
+
header?: {
|
|
60203
|
+
/** @description Storefront API key */
|
|
60204
|
+
'x-api-key'?: string;
|
|
60205
|
+
};
|
|
60206
|
+
path: {
|
|
60207
|
+
/** @description Return ID */
|
|
60208
|
+
id: string;
|
|
60209
|
+
};
|
|
60210
|
+
cookie?: never;
|
|
60211
|
+
};
|
|
60212
|
+
requestBody?: never;
|
|
60213
|
+
responses: {
|
|
60214
|
+
200: {
|
|
60215
|
+
headers: {
|
|
60216
|
+
[name: string]: unknown;
|
|
60217
|
+
};
|
|
60218
|
+
content: {
|
|
60219
|
+
'application/json': components['schemas']['StorefrontReturnDto'];
|
|
60220
|
+
};
|
|
60221
|
+
};
|
|
60222
|
+
/** @description Access token required */
|
|
60223
|
+
401: {
|
|
60224
|
+
headers: {
|
|
60225
|
+
[name: string]: unknown;
|
|
60226
|
+
};
|
|
60227
|
+
content?: never;
|
|
60228
|
+
};
|
|
60229
|
+
/** @description Return not found */
|
|
60230
|
+
404: {
|
|
60231
|
+
headers: {
|
|
60232
|
+
[name: string]: unknown;
|
|
60233
|
+
};
|
|
60234
|
+
content?: never;
|
|
60235
|
+
};
|
|
60236
|
+
};
|
|
60237
|
+
};
|
|
60238
|
+
StorefrontReturnsController_createLabel: {
|
|
60239
|
+
parameters: {
|
|
60240
|
+
query?: never;
|
|
60241
|
+
header?: {
|
|
60242
|
+
/** @description Storefront API key */
|
|
60243
|
+
'x-api-key'?: string;
|
|
60244
|
+
};
|
|
60245
|
+
path: {
|
|
60246
|
+
/** @description Return ID */
|
|
60247
|
+
id: string;
|
|
60248
|
+
};
|
|
60249
|
+
cookie?: never;
|
|
60250
|
+
};
|
|
60251
|
+
requestBody?: never;
|
|
60252
|
+
responses: {
|
|
60253
|
+
200: {
|
|
60254
|
+
headers: {
|
|
60255
|
+
[name: string]: unknown;
|
|
60256
|
+
};
|
|
60257
|
+
content: {
|
|
60258
|
+
'application/json': components['schemas']['StorefrontReturnDto'];
|
|
60259
|
+
};
|
|
60260
|
+
};
|
|
60261
|
+
/** @description Return is not approved */
|
|
60262
|
+
400: {
|
|
60263
|
+
headers: {
|
|
60264
|
+
[name: string]: unknown;
|
|
60265
|
+
};
|
|
60266
|
+
content?: never;
|
|
60267
|
+
};
|
|
60268
|
+
/** @description Access token required */
|
|
60269
|
+
401: {
|
|
60270
|
+
headers: {
|
|
60271
|
+
[name: string]: unknown;
|
|
60272
|
+
};
|
|
60273
|
+
content?: never;
|
|
60274
|
+
};
|
|
60275
|
+
/** @description Return not found */
|
|
60276
|
+
404: {
|
|
60277
|
+
headers: {
|
|
60278
|
+
[name: string]: unknown;
|
|
60279
|
+
};
|
|
60280
|
+
content?: never;
|
|
60281
|
+
};
|
|
60282
|
+
};
|
|
60283
|
+
};
|
|
60284
|
+
StorefrontPrivacyController_get: {
|
|
60285
|
+
parameters: {
|
|
60286
|
+
query?: never;
|
|
60287
|
+
header?: {
|
|
60288
|
+
/** @description Storefront API key */
|
|
60289
|
+
'x-api-key'?: string;
|
|
60290
|
+
};
|
|
60291
|
+
path?: never;
|
|
60292
|
+
cookie?: never;
|
|
60293
|
+
};
|
|
60294
|
+
requestBody?: never;
|
|
60295
|
+
responses: {
|
|
60296
|
+
200: {
|
|
60297
|
+
headers: {
|
|
60298
|
+
[name: string]: unknown;
|
|
60299
|
+
};
|
|
60300
|
+
content: {
|
|
60301
|
+
'application/json': components['schemas']['StorefrontPrivacyDto'];
|
|
60302
|
+
};
|
|
60303
|
+
};
|
|
60304
|
+
/** @description Access token required */
|
|
60305
|
+
401: {
|
|
60306
|
+
headers: {
|
|
60307
|
+
[name: string]: unknown;
|
|
60308
|
+
};
|
|
60309
|
+
content?: never;
|
|
60310
|
+
};
|
|
60311
|
+
/** @description Customer profile not found */
|
|
60312
|
+
404: {
|
|
60313
|
+
headers: {
|
|
60314
|
+
[name: string]: unknown;
|
|
60315
|
+
};
|
|
60316
|
+
content?: never;
|
|
60317
|
+
};
|
|
60318
|
+
};
|
|
60319
|
+
};
|
|
60320
|
+
StorefrontPrivacyController_updateDataSharing: {
|
|
60321
|
+
parameters: {
|
|
60322
|
+
query?: never;
|
|
60323
|
+
header?: {
|
|
60324
|
+
/** @description Storefront API key */
|
|
60325
|
+
'x-api-key'?: string;
|
|
60326
|
+
};
|
|
60327
|
+
path?: never;
|
|
60328
|
+
cookie?: never;
|
|
60329
|
+
};
|
|
60330
|
+
requestBody: {
|
|
60331
|
+
content: {
|
|
60332
|
+
'application/json': components['schemas']['UpdateDataSharingDto'];
|
|
60333
|
+
};
|
|
60334
|
+
};
|
|
60335
|
+
responses: {
|
|
60336
|
+
200: {
|
|
60337
|
+
headers: {
|
|
60338
|
+
[name: string]: unknown;
|
|
60339
|
+
};
|
|
60340
|
+
content: {
|
|
60341
|
+
'application/json': components['schemas']['StorefrontPrivacyDto'];
|
|
60342
|
+
};
|
|
60343
|
+
};
|
|
60344
|
+
/** @description gpc cannot opt in */
|
|
60345
|
+
400: {
|
|
60346
|
+
headers: {
|
|
60347
|
+
[name: string]: unknown;
|
|
60348
|
+
};
|
|
60349
|
+
content?: never;
|
|
60350
|
+
};
|
|
60351
|
+
/** @description Access token required */
|
|
60352
|
+
401: {
|
|
60353
|
+
headers: {
|
|
60354
|
+
[name: string]: unknown;
|
|
60355
|
+
};
|
|
60356
|
+
content?: never;
|
|
60357
|
+
};
|
|
60358
|
+
/** @description Customer profile not found */
|
|
60359
|
+
404: {
|
|
60360
|
+
headers: {
|
|
60361
|
+
[name: string]: unknown;
|
|
60362
|
+
};
|
|
60363
|
+
content?: never;
|
|
60364
|
+
};
|
|
60365
|
+
};
|
|
60366
|
+
};
|
|
59284
60367
|
StorefrontAddressesController_listAddresses: {
|
|
59285
60368
|
parameters: {
|
|
59286
60369
|
query?: {
|