@aimee.shop/sdk 0.22.0-dev.205 → 0.22.0-dev.213
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/core/config.d.ts +8 -0
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js.map +1 -1
- package/dist/core/events/event-names.d.ts +3 -3
- package/dist/core/events/event-names.js +3 -3
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +1 -1
- package/dist/core/sdk.js.map +1 -1
- package/dist/generated/core-api.d.ts +265 -46
- package/dist/generated/core-api.d.ts.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/services/core/checkout-token-store.d.ts +27 -0
- package/dist/services/core/checkout-token-store.d.ts.map +1 -0
- package/dist/services/core/checkout-token-store.js +14 -0
- package/dist/services/core/checkout-token-store.js.map +1 -0
- package/dist/services/core/checkout.client.d.ts +81 -20
- package/dist/services/core/checkout.client.d.ts.map +1 -1
- package/dist/services/core/checkout.client.js +138 -32
- package/dist/services/core/checkout.client.js.map +1 -1
- package/dist/services/core/cms/types.d.ts +6 -0
- package/dist/services/core/cms/types.d.ts.map +1 -1
- package/dist/services/core/cms/types.js.map +1 -1
- package/dist/services/core/discounts.client.d.ts +1 -1
- package/dist/services/core/discounts.client.d.ts.map +1 -1
- package/dist/storefront/index.d.ts +12 -0
- package/dist/storefront/index.d.ts.map +1 -1
- package/dist/storefront/index.js +5 -1
- package/dist/storefront/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -115,7 +115,7 @@ export interface paths {
|
|
|
115
115
|
put?: never;
|
|
116
116
|
/**
|
|
117
117
|
* Logout user
|
|
118
|
-
* @description Revokes tokens and ends the user session. Note: Due to API Gateway caching, tokens may remain valid for up to 5 minutes.
|
|
118
|
+
* @description Revokes tokens and ends the user session. Send the refresh token in the body to end only this session; without it, or with global=true, every refresh token of the user is revoked in Cognito. Note: Due to API Gateway caching, tokens may remain valid for up to 5 minutes.
|
|
119
119
|
*/
|
|
120
120
|
post: operations['AuthController_logout'];
|
|
121
121
|
delete?: never;
|
|
@@ -2254,7 +2254,7 @@ export interface paths {
|
|
|
2254
2254
|
post?: never;
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Delete own account
|
|
2257
|
-
* @description Soft-deletes the user account, removes
|
|
2257
|
+
* @description Soft-deletes the user account, removes its membership, and disables the Cognito identity. This action cannot be undone by the user. An identity that belongs to more than one organization cannot be deleted here; leave the other organizations first (POST /users/me/leave-tenant/:tenantId).
|
|
2258
2258
|
*/
|
|
2259
2259
|
delete: operations['UserSelfServiceController_deleteAccount'];
|
|
2260
2260
|
options?: never;
|
|
@@ -2314,7 +2314,7 @@ export interface paths {
|
|
|
2314
2314
|
put?: never;
|
|
2315
2315
|
/**
|
|
2316
2316
|
* Confirm organization membership
|
|
2317
|
-
* @description
|
|
2317
|
+
* @description For CONFIRMED users to accept an org/store join. The caller must be signed in as the invited identity (ID or access token). Does not set a password.
|
|
2318
2318
|
*/
|
|
2319
2319
|
post: operations['InvitationController_confirmMembership'];
|
|
2320
2320
|
delete?: never;
|
|
@@ -2694,7 +2694,7 @@ export interface paths {
|
|
|
2694
2694
|
};
|
|
2695
2695
|
/**
|
|
2696
2696
|
* Get all members of a store
|
|
2697
|
-
* @description Returns store members
|
|
2697
|
+
* @description Returns store members, including org-level (storeAccess=ALL) members who hold a role bound to this store. When includeInherited=true, returns every org-level member.
|
|
2698
2698
|
*/
|
|
2699
2699
|
get: operations['StoreMembersController_getStoreMembers'];
|
|
2700
2700
|
put?: never;
|
|
@@ -2717,7 +2717,10 @@ export interface paths {
|
|
|
2717
2717
|
get: operations['StoreMembersController_getMember'];
|
|
2718
2718
|
put?: never;
|
|
2719
2719
|
post?: never;
|
|
2720
|
-
/**
|
|
2720
|
+
/**
|
|
2721
|
+
* Remove member from store
|
|
2722
|
+
* @description Removes the store membership and revokes the role assignments bound to this store. A member with organization-wide store access (storeAccess=ALL) is switched to explicit access and keeps every other active store.
|
|
2723
|
+
*/
|
|
2721
2724
|
delete: operations['StoreMembersController_removeMember'];
|
|
2722
2725
|
options?: never;
|
|
2723
2726
|
head?: never;
|
|
@@ -7637,6 +7640,26 @@ export interface paths {
|
|
|
7637
7640
|
patch?: never;
|
|
7638
7641
|
trace?: never;
|
|
7639
7642
|
};
|
|
7643
|
+
'/v1/checkout/handoff': {
|
|
7644
|
+
parameters: {
|
|
7645
|
+
query?: never;
|
|
7646
|
+
header?: never;
|
|
7647
|
+
path?: never;
|
|
7648
|
+
cookie?: never;
|
|
7649
|
+
};
|
|
7650
|
+
get?: never;
|
|
7651
|
+
put?: never;
|
|
7652
|
+
/**
|
|
7653
|
+
* Exchange an agent handoff token
|
|
7654
|
+
* @description Trades the single-use checkout_token from an agent continue_url for the session token. The storefront stores accessToken and removes checkout_token from the URL.
|
|
7655
|
+
*/
|
|
7656
|
+
post: operations['CheckoutController_exchangeHandoff'];
|
|
7657
|
+
delete?: never;
|
|
7658
|
+
options?: never;
|
|
7659
|
+
head?: never;
|
|
7660
|
+
patch?: never;
|
|
7661
|
+
trace?: never;
|
|
7662
|
+
};
|
|
7640
7663
|
'/v1/checkout/sessions/{id}': {
|
|
7641
7664
|
parameters: {
|
|
7642
7665
|
query?: never;
|
|
@@ -12991,6 +13014,10 @@ export interface components {
|
|
|
12991
13014
|
accessToken: string;
|
|
12992
13015
|
idToken: string;
|
|
12993
13016
|
};
|
|
13017
|
+
LogoutBodyDto: {
|
|
13018
|
+
/** @description Refresh token of this session. When sent, only this session is revoked; without it every refresh token of the user is revoked. */
|
|
13019
|
+
refreshToken?: string;
|
|
13020
|
+
};
|
|
12994
13021
|
CurrentUserResponseDto: {
|
|
12995
13022
|
userId: string;
|
|
12996
13023
|
tenantId: string;
|
|
@@ -17379,7 +17406,10 @@ export interface components {
|
|
|
17379
17406
|
fontFamily?: string;
|
|
17380
17407
|
/** @example Proxima Nova, sans-serif */
|
|
17381
17408
|
headingFontFamily?: string;
|
|
17382
|
-
/**
|
|
17409
|
+
/**
|
|
17410
|
+
* @description px or rem, 10px to 32px (rem counts as 16px)
|
|
17411
|
+
* @example 16px
|
|
17412
|
+
*/
|
|
17383
17413
|
baseFontSize?: string;
|
|
17384
17414
|
fontSources?: components['schemas']['FontSourceDto'][];
|
|
17385
17415
|
};
|
|
@@ -20042,7 +20072,7 @@ export interface components {
|
|
|
20042
20072
|
*/
|
|
20043
20073
|
compareAtAmount?: string;
|
|
20044
20074
|
/**
|
|
20045
|
-
* @description Cost of Goods Sold in cents
|
|
20075
|
+
* @description Cost of Goods Sold in cents. Internal only: the HTTP resolve endpoints never return it.
|
|
20046
20076
|
* @example 1500
|
|
20047
20077
|
*/
|
|
20048
20078
|
cost?: string;
|
|
@@ -28771,8 +28801,8 @@ export interface components {
|
|
|
28771
28801
|
*/
|
|
28772
28802
|
description?: string | null;
|
|
28773
28803
|
/**
|
|
28774
|
-
* @description Minimum order amount to apply discount (null clears)
|
|
28775
|
-
* @example
|
|
28804
|
+
* @description Minimum order amount in cents to apply discount (null clears)
|
|
28805
|
+
* @example 5000
|
|
28776
28806
|
*/
|
|
28777
28807
|
minimumOrderAmount?: number | null;
|
|
28778
28808
|
/**
|
|
@@ -30233,6 +30263,11 @@ export interface components {
|
|
|
30233
30263
|
* @example guest_123e4567-e89b-12d3-a456-426614174000
|
|
30234
30264
|
*/
|
|
30235
30265
|
guestToken?: string;
|
|
30266
|
+
/**
|
|
30267
|
+
* @description Session token. Returned only by create (new session, or a resume a customer proved with their own token), by an update that binds a customer, and by the handoff exchange. Send it as X-Checkout-Token on every storefront call for this session; each new one replaces the last.
|
|
30268
|
+
* @example Jx0yq8fW1u3c2k9Qm4bT7rZpA5sL6vN0eH2gD8iK1oU
|
|
30269
|
+
*/
|
|
30270
|
+
accessToken?: string;
|
|
30236
30271
|
/**
|
|
30237
30272
|
* @description Cart ID associated with checkout
|
|
30238
30273
|
* @example cart_123e4567-e89b-12d3-a456-426614174000
|
|
@@ -30469,6 +30504,24 @@ export interface components {
|
|
|
30469
30504
|
/** @description Resolved cart messages for this session. Omitted when none match. */
|
|
30470
30505
|
messages?: components['schemas']['CartMessageResolved'][];
|
|
30471
30506
|
};
|
|
30507
|
+
ExchangeCheckoutHandoffDto: {
|
|
30508
|
+
/**
|
|
30509
|
+
* Format: uuid
|
|
30510
|
+
* @description Checkout session id from the agent continue_url
|
|
30511
|
+
*/
|
|
30512
|
+
checkoutId: string;
|
|
30513
|
+
/** @description The checkout_token query parameter of the agent continue_url. Single use. */
|
|
30514
|
+
handoffToken: string;
|
|
30515
|
+
};
|
|
30516
|
+
CheckoutSessionHandleDto: {
|
|
30517
|
+
/**
|
|
30518
|
+
* Format: uuid
|
|
30519
|
+
* @description Checkout session id
|
|
30520
|
+
*/
|
|
30521
|
+
id: string;
|
|
30522
|
+
/** @description Session token; send it as X-Checkout-Token */
|
|
30523
|
+
accessToken: string;
|
|
30524
|
+
};
|
|
30472
30525
|
UpdateCheckoutSessionDto: {
|
|
30473
30526
|
/**
|
|
30474
30527
|
* @description Customer ID (if authenticated)
|
|
@@ -33862,7 +33915,7 @@ export interface components {
|
|
|
33862
33915
|
* @description Would recommend this product
|
|
33863
33916
|
* @default true
|
|
33864
33917
|
*/
|
|
33865
|
-
recommendProduct
|
|
33918
|
+
recommendProduct?: boolean;
|
|
33866
33919
|
/** @description Reviewer display name */
|
|
33867
33920
|
reviewerName?: string;
|
|
33868
33921
|
/** @description Reviewer location */
|
|
@@ -33962,7 +34015,7 @@ export interface components {
|
|
|
33962
34015
|
* @description Would recommend this product
|
|
33963
34016
|
* @default true
|
|
33964
34017
|
*/
|
|
33965
|
-
recommendProduct
|
|
34018
|
+
recommendProduct?: boolean;
|
|
33966
34019
|
/** @description Reviewer display name */
|
|
33967
34020
|
reviewerName?: string;
|
|
33968
34021
|
/** @description Reviewer location */
|
|
@@ -35555,6 +35608,8 @@ export interface components {
|
|
|
35555
35608
|
seoDescription?: string;
|
|
35556
35609
|
/** @description SEO keywords */
|
|
35557
35610
|
seoKeywords?: string[];
|
|
35611
|
+
/** @description Absolute https canonical URL for the entry; an empty string or null clears it */
|
|
35612
|
+
canonicalUrl?: string | null;
|
|
35558
35613
|
/** @description Content tags for categorization */
|
|
35559
35614
|
tags?: string[];
|
|
35560
35615
|
/** @description Custom metadata */
|
|
@@ -35617,6 +35672,7 @@ export interface components {
|
|
|
35617
35672
|
seoTitle?: string | null;
|
|
35618
35673
|
seoDescription?: string | null;
|
|
35619
35674
|
seoKeywords: string[];
|
|
35675
|
+
canonicalUrl?: string | null;
|
|
35620
35676
|
tags: string[];
|
|
35621
35677
|
metadata?: {
|
|
35622
35678
|
[key: string]: unknown;
|
|
@@ -35709,6 +35765,8 @@ export interface components {
|
|
|
35709
35765
|
seoDescription?: string;
|
|
35710
35766
|
/** @description SEO keywords */
|
|
35711
35767
|
seoKeywords?: string[];
|
|
35768
|
+
/** @description Absolute https canonical URL for the entry; an empty string or null clears it */
|
|
35769
|
+
canonicalUrl?: string | null;
|
|
35712
35770
|
/** @description Content tags */
|
|
35713
35771
|
tags?: string[];
|
|
35714
35772
|
/** @description Custom metadata */
|
|
@@ -36268,6 +36326,8 @@ export interface components {
|
|
|
36268
36326
|
title: string | null;
|
|
36269
36327
|
description: string | null;
|
|
36270
36328
|
keywords: string[];
|
|
36329
|
+
/** @description Entry canonical URL; falls back to an article fields.canonicalUrl */
|
|
36330
|
+
canonicalUrl: string | null;
|
|
36271
36331
|
};
|
|
36272
36332
|
PublicContentBlockDto: {
|
|
36273
36333
|
type: string;
|
|
@@ -37858,7 +37918,11 @@ export interface operations {
|
|
|
37858
37918
|
path?: never;
|
|
37859
37919
|
cookie?: never;
|
|
37860
37920
|
};
|
|
37861
|
-
requestBody?:
|
|
37921
|
+
requestBody?: {
|
|
37922
|
+
content: {
|
|
37923
|
+
'application/json': components['schemas']['LogoutBodyDto'];
|
|
37924
|
+
};
|
|
37925
|
+
};
|
|
37862
37926
|
responses: {
|
|
37863
37927
|
/** @description Logout successful */
|
|
37864
37928
|
204: {
|
|
@@ -43197,7 +43261,10 @@ export interface operations {
|
|
|
43197
43261
|
UserSelfServiceController_setupMfa: {
|
|
43198
43262
|
parameters: {
|
|
43199
43263
|
query?: never;
|
|
43200
|
-
header
|
|
43264
|
+
header: {
|
|
43265
|
+
/** @description Cognito access token of the signed-in session. Authorization stays the ID token. */
|
|
43266
|
+
'X-Cognito-Access-Token': string;
|
|
43267
|
+
};
|
|
43201
43268
|
path?: never;
|
|
43202
43269
|
cookie?: never;
|
|
43203
43270
|
};
|
|
@@ -43212,6 +43279,13 @@ export interface operations {
|
|
|
43212
43279
|
'application/json': components['schemas']['MfaSetupResponseDto'];
|
|
43213
43280
|
};
|
|
43214
43281
|
};
|
|
43282
|
+
/** @description X-Cognito-Access-Token header missing */
|
|
43283
|
+
400: {
|
|
43284
|
+
headers: {
|
|
43285
|
+
[name: string]: unknown;
|
|
43286
|
+
};
|
|
43287
|
+
content?: never;
|
|
43288
|
+
};
|
|
43215
43289
|
/** @description Unauthorized */
|
|
43216
43290
|
401: {
|
|
43217
43291
|
headers: {
|
|
@@ -43219,12 +43293,22 @@ export interface operations {
|
|
|
43219
43293
|
};
|
|
43220
43294
|
content?: never;
|
|
43221
43295
|
};
|
|
43296
|
+
/** @description Access token belongs to another user */
|
|
43297
|
+
403: {
|
|
43298
|
+
headers: {
|
|
43299
|
+
[name: string]: unknown;
|
|
43300
|
+
};
|
|
43301
|
+
content?: never;
|
|
43302
|
+
};
|
|
43222
43303
|
};
|
|
43223
43304
|
};
|
|
43224
43305
|
UserSelfServiceController_verifyMfa: {
|
|
43225
43306
|
parameters: {
|
|
43226
43307
|
query?: never;
|
|
43227
|
-
header
|
|
43308
|
+
header: {
|
|
43309
|
+
/** @description Cognito access token of the signed-in session. Authorization stays the ID token. */
|
|
43310
|
+
'X-Cognito-Access-Token': string;
|
|
43311
|
+
};
|
|
43228
43312
|
path?: never;
|
|
43229
43313
|
cookie?: never;
|
|
43230
43314
|
};
|
|
@@ -43260,7 +43344,10 @@ export interface operations {
|
|
|
43260
43344
|
UserSelfServiceController_disableMfa: {
|
|
43261
43345
|
parameters: {
|
|
43262
43346
|
query?: never;
|
|
43263
|
-
header
|
|
43347
|
+
header: {
|
|
43348
|
+
/** @description Cognito access token of the signed-in session. Authorization stays the ID token. */
|
|
43349
|
+
'X-Cognito-Access-Token': string;
|
|
43350
|
+
};
|
|
43264
43351
|
path?: never;
|
|
43265
43352
|
cookie?: never;
|
|
43266
43353
|
};
|
|
@@ -43332,6 +43419,13 @@ export interface operations {
|
|
|
43332
43419
|
};
|
|
43333
43420
|
content?: never;
|
|
43334
43421
|
};
|
|
43422
|
+
/** @description last_tenant_admin: the user is the last active Tenant Administrator */
|
|
43423
|
+
409: {
|
|
43424
|
+
headers: {
|
|
43425
|
+
[name: string]: unknown;
|
|
43426
|
+
};
|
|
43427
|
+
content?: never;
|
|
43428
|
+
};
|
|
43335
43429
|
};
|
|
43336
43430
|
};
|
|
43337
43431
|
UserSelfServiceController_leaveStore: {
|
|
@@ -43425,7 +43519,7 @@ export interface operations {
|
|
|
43425
43519
|
};
|
|
43426
43520
|
content?: never;
|
|
43427
43521
|
};
|
|
43428
|
-
/** @description Cannot delete: user is the last member of
|
|
43522
|
+
/** @description Cannot delete: user is the last member of the organization */
|
|
43429
43523
|
400: {
|
|
43430
43524
|
headers: {
|
|
43431
43525
|
[name: string]: unknown;
|
|
@@ -43439,6 +43533,13 @@ export interface operations {
|
|
|
43439
43533
|
};
|
|
43440
43534
|
content?: never;
|
|
43441
43535
|
};
|
|
43536
|
+
/** @description shared_identity: the identity belongs to other organizations; last_tenant_admin: the user is the last active Tenant Administrator */
|
|
43537
|
+
409: {
|
|
43538
|
+
headers: {
|
|
43539
|
+
[name: string]: unknown;
|
|
43540
|
+
};
|
|
43541
|
+
content?: never;
|
|
43542
|
+
};
|
|
43442
43543
|
};
|
|
43443
43544
|
};
|
|
43444
43545
|
UsersController_updateCurrentUser: {
|
|
@@ -43564,6 +43665,20 @@ export interface operations {
|
|
|
43564
43665
|
};
|
|
43565
43666
|
content?: never;
|
|
43566
43667
|
};
|
|
43668
|
+
/** @description Not signed in */
|
|
43669
|
+
401: {
|
|
43670
|
+
headers: {
|
|
43671
|
+
[name: string]: unknown;
|
|
43672
|
+
};
|
|
43673
|
+
content?: never;
|
|
43674
|
+
};
|
|
43675
|
+
/** @description Signed in as a different identity than the invited one */
|
|
43676
|
+
403: {
|
|
43677
|
+
headers: {
|
|
43678
|
+
[name: string]: unknown;
|
|
43679
|
+
};
|
|
43680
|
+
content?: never;
|
|
43681
|
+
};
|
|
43567
43682
|
};
|
|
43568
43683
|
};
|
|
43569
43684
|
PasswordResetController_forgotPassword: {
|
|
@@ -44477,7 +44592,9 @@ export interface operations {
|
|
|
44477
44592
|
UserStoreMembershipController_deleteMembership: {
|
|
44478
44593
|
parameters: {
|
|
44479
44594
|
query?: never;
|
|
44480
|
-
header
|
|
44595
|
+
header: {
|
|
44596
|
+
authorization: string;
|
|
44597
|
+
};
|
|
44481
44598
|
path: {
|
|
44482
44599
|
/** @description User ID, or "me" for the authenticated caller */
|
|
44483
44600
|
userId: string;
|
|
@@ -44578,7 +44695,9 @@ export interface operations {
|
|
|
44578
44695
|
/** @description Include users with org-level store access (storeAccess=ALL). Each result includes accessSource field. */
|
|
44579
44696
|
includeInherited?: boolean;
|
|
44580
44697
|
};
|
|
44581
|
-
header
|
|
44698
|
+
header: {
|
|
44699
|
+
authorization: string;
|
|
44700
|
+
};
|
|
44582
44701
|
path: {
|
|
44583
44702
|
/** @description Store ID */
|
|
44584
44703
|
storeId: string;
|
|
@@ -44587,9 +44706,11 @@ export interface operations {
|
|
|
44587
44706
|
};
|
|
44588
44707
|
requestBody?: never;
|
|
44589
44708
|
responses: {
|
|
44590
|
-
/** @description Store members retrieved successfully */
|
|
44709
|
+
/** @description Store members retrieved successfully. X-Aimee-Partial-Result: true means the role assignments could not be read, so org-level members holding a role bound to this store are missing from the list. */
|
|
44591
44710
|
200: {
|
|
44592
44711
|
headers: {
|
|
44712
|
+
/** @description true when the list is partial */
|
|
44713
|
+
'X-Aimee-Partial-Result'?: string;
|
|
44593
44714
|
[name: string]: unknown;
|
|
44594
44715
|
};
|
|
44595
44716
|
content: {
|
|
@@ -44688,7 +44809,9 @@ export interface operations {
|
|
|
44688
44809
|
StoreMembersController_removeMember: {
|
|
44689
44810
|
parameters: {
|
|
44690
44811
|
query?: never;
|
|
44691
|
-
header
|
|
44812
|
+
header: {
|
|
44813
|
+
authorization: string;
|
|
44814
|
+
};
|
|
44692
44815
|
path: {
|
|
44693
44816
|
/** @description Store ID */
|
|
44694
44817
|
storeId: string;
|
|
@@ -44706,7 +44829,7 @@ export interface operations {
|
|
|
44706
44829
|
};
|
|
44707
44830
|
content?: never;
|
|
44708
44831
|
};
|
|
44709
|
-
/** @description
|
|
44832
|
+
/** @description Store membership not found: the user is neither a member of this store nor an active all-stores member of the organization */
|
|
44710
44833
|
404: {
|
|
44711
44834
|
headers: {
|
|
44712
44835
|
[name: string]: unknown;
|
|
@@ -46318,7 +46441,7 @@ export interface operations {
|
|
|
46318
46441
|
};
|
|
46319
46442
|
requestBody?: never;
|
|
46320
46443
|
responses: {
|
|
46321
|
-
/** @description Variant prices retrieved successfully */
|
|
46444
|
+
/** @description Variant prices retrieved successfully. Publishable keys and shoppers get the prices without cost. */
|
|
46322
46445
|
200: {
|
|
46323
46446
|
headers: {
|
|
46324
46447
|
[name: string]: unknown;
|
|
@@ -46388,7 +46511,7 @@ export interface operations {
|
|
|
46388
46511
|
};
|
|
46389
46512
|
requestBody?: never;
|
|
46390
46513
|
responses: {
|
|
46391
|
-
/** @description Variant price retrieved successfully */
|
|
46514
|
+
/** @description Variant price retrieved successfully. Publishable keys and shoppers get the price without cost. */
|
|
46392
46515
|
200: {
|
|
46393
46516
|
headers: {
|
|
46394
46517
|
[name: string]: unknown;
|
|
@@ -53181,6 +53304,20 @@ export interface operations {
|
|
|
53181
53304
|
'application/json': components['schemas']['SignupAttemptStatusDto'];
|
|
53182
53305
|
};
|
|
53183
53306
|
};
|
|
53307
|
+
/** @description Email not verified, SetupIntent not bound to this attempt, or card setup never started */
|
|
53308
|
+
400: {
|
|
53309
|
+
headers: {
|
|
53310
|
+
[name: string]: unknown;
|
|
53311
|
+
};
|
|
53312
|
+
content?: never;
|
|
53313
|
+
};
|
|
53314
|
+
/** @description card_not_verified: the SetupIntent did not succeed (declined or unconfirmed card) */
|
|
53315
|
+
402: {
|
|
53316
|
+
headers: {
|
|
53317
|
+
[name: string]: unknown;
|
|
53318
|
+
};
|
|
53319
|
+
content?: never;
|
|
53320
|
+
};
|
|
53184
53321
|
};
|
|
53185
53322
|
};
|
|
53186
53323
|
SignupController_status: {
|
|
@@ -54749,7 +54886,9 @@ export interface operations {
|
|
|
54749
54886
|
CartsController_updateCart: {
|
|
54750
54887
|
parameters: {
|
|
54751
54888
|
query?: never;
|
|
54752
|
-
header
|
|
54889
|
+
header: {
|
|
54890
|
+
authorization: string;
|
|
54891
|
+
};
|
|
54753
54892
|
path: {
|
|
54754
54893
|
/** @description Cart ID */
|
|
54755
54894
|
id: string;
|
|
@@ -55331,7 +55470,10 @@ export interface operations {
|
|
|
55331
55470
|
/** @description Sort direction (default: desc) */
|
|
55332
55471
|
sortOrder?: 'asc' | 'desc';
|
|
55333
55472
|
};
|
|
55334
|
-
header?:
|
|
55473
|
+
header?: {
|
|
55474
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55475
|
+
'x-checkout-token'?: string;
|
|
55476
|
+
};
|
|
55335
55477
|
path?: never;
|
|
55336
55478
|
cookie?: never;
|
|
55337
55479
|
};
|
|
@@ -55352,6 +55494,8 @@ export interface operations {
|
|
|
55352
55494
|
parameters: {
|
|
55353
55495
|
query?: never;
|
|
55354
55496
|
header: {
|
|
55497
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55498
|
+
'x-checkout-token'?: string;
|
|
55355
55499
|
authorization: string;
|
|
55356
55500
|
};
|
|
55357
55501
|
path?: never;
|
|
@@ -55395,10 +55539,46 @@ export interface operations {
|
|
|
55395
55539
|
};
|
|
55396
55540
|
};
|
|
55397
55541
|
};
|
|
55542
|
+
CheckoutController_exchangeHandoff: {
|
|
55543
|
+
parameters: {
|
|
55544
|
+
query?: never;
|
|
55545
|
+
header?: {
|
|
55546
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55547
|
+
'x-checkout-token'?: string;
|
|
55548
|
+
};
|
|
55549
|
+
path?: never;
|
|
55550
|
+
cookie?: never;
|
|
55551
|
+
};
|
|
55552
|
+
requestBody: {
|
|
55553
|
+
content: {
|
|
55554
|
+
'application/json': components['schemas']['ExchangeCheckoutHandoffDto'];
|
|
55555
|
+
};
|
|
55556
|
+
};
|
|
55557
|
+
responses: {
|
|
55558
|
+
200: {
|
|
55559
|
+
headers: {
|
|
55560
|
+
[name: string]: unknown;
|
|
55561
|
+
};
|
|
55562
|
+
content: {
|
|
55563
|
+
'application/json': components['schemas']['CheckoutSessionHandleDto'];
|
|
55564
|
+
};
|
|
55565
|
+
};
|
|
55566
|
+
/** @description Unknown session, or a spent, expired or wrong handoff token */
|
|
55567
|
+
404: {
|
|
55568
|
+
headers: {
|
|
55569
|
+
[name: string]: unknown;
|
|
55570
|
+
};
|
|
55571
|
+
content?: never;
|
|
55572
|
+
};
|
|
55573
|
+
};
|
|
55574
|
+
};
|
|
55398
55575
|
CheckoutController_getCheckoutSession: {
|
|
55399
55576
|
parameters: {
|
|
55400
55577
|
query?: never;
|
|
55401
|
-
header?:
|
|
55578
|
+
header?: {
|
|
55579
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55580
|
+
'x-checkout-token'?: string;
|
|
55581
|
+
};
|
|
55402
55582
|
path: {
|
|
55403
55583
|
/** @description Checkout session ID */
|
|
55404
55584
|
id: string;
|
|
@@ -55428,7 +55608,10 @@ export interface operations {
|
|
|
55428
55608
|
CheckoutController_updateCheckoutSession: {
|
|
55429
55609
|
parameters: {
|
|
55430
55610
|
query?: never;
|
|
55431
|
-
header?:
|
|
55611
|
+
header?: {
|
|
55612
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55613
|
+
'x-checkout-token'?: string;
|
|
55614
|
+
};
|
|
55432
55615
|
path: {
|
|
55433
55616
|
/** @description Checkout session ID */
|
|
55434
55617
|
id: string;
|
|
@@ -55462,7 +55645,10 @@ export interface operations {
|
|
|
55462
55645
|
CheckoutController_deleteCheckoutSession: {
|
|
55463
55646
|
parameters: {
|
|
55464
55647
|
query?: never;
|
|
55465
|
-
header?:
|
|
55648
|
+
header?: {
|
|
55649
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55650
|
+
'x-checkout-token'?: string;
|
|
55651
|
+
};
|
|
55466
55652
|
path: {
|
|
55467
55653
|
/** @description Checkout session ID */
|
|
55468
55654
|
id: string;
|
|
@@ -55490,7 +55676,10 @@ export interface operations {
|
|
|
55490
55676
|
CheckoutController_updateShippingAddress: {
|
|
55491
55677
|
parameters: {
|
|
55492
55678
|
query?: never;
|
|
55493
|
-
header?:
|
|
55679
|
+
header?: {
|
|
55680
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55681
|
+
'x-checkout-token'?: string;
|
|
55682
|
+
};
|
|
55494
55683
|
path: {
|
|
55495
55684
|
/** @description Checkout session ID */
|
|
55496
55685
|
id: string;
|
|
@@ -55531,7 +55720,10 @@ export interface operations {
|
|
|
55531
55720
|
CheckoutController_updateBillingAddress: {
|
|
55532
55721
|
parameters: {
|
|
55533
55722
|
query?: never;
|
|
55534
|
-
header?:
|
|
55723
|
+
header?: {
|
|
55724
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55725
|
+
'x-checkout-token'?: string;
|
|
55726
|
+
};
|
|
55535
55727
|
path: {
|
|
55536
55728
|
/** @description Checkout session ID */
|
|
55537
55729
|
id: string;
|
|
@@ -55581,7 +55773,10 @@ export interface operations {
|
|
|
55581
55773
|
/** @description Include international shipping options; false filters them out */
|
|
55582
55774
|
includeInternational?: boolean;
|
|
55583
55775
|
};
|
|
55584
|
-
header?:
|
|
55776
|
+
header?: {
|
|
55777
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55778
|
+
'x-checkout-token'?: string;
|
|
55779
|
+
};
|
|
55585
55780
|
path: {
|
|
55586
55781
|
/** @description Checkout session ID */
|
|
55587
55782
|
id: string;
|
|
@@ -55618,7 +55813,10 @@ export interface operations {
|
|
|
55618
55813
|
CheckoutController_selectShippingMethod: {
|
|
55619
55814
|
parameters: {
|
|
55620
55815
|
query?: never;
|
|
55621
|
-
header?:
|
|
55816
|
+
header?: {
|
|
55817
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55818
|
+
'x-checkout-token'?: string;
|
|
55819
|
+
};
|
|
55622
55820
|
path: {
|
|
55623
55821
|
/** @description Checkout session ID */
|
|
55624
55822
|
id: string;
|
|
@@ -55659,7 +55857,10 @@ export interface operations {
|
|
|
55659
55857
|
CheckoutController_calculateTotals: {
|
|
55660
55858
|
parameters: {
|
|
55661
55859
|
query?: never;
|
|
55662
|
-
header?:
|
|
55860
|
+
header?: {
|
|
55861
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55862
|
+
'x-checkout-token'?: string;
|
|
55863
|
+
};
|
|
55663
55864
|
path: {
|
|
55664
55865
|
/** @description Checkout session ID */
|
|
55665
55866
|
id: string;
|
|
@@ -55693,7 +55894,10 @@ export interface operations {
|
|
|
55693
55894
|
CheckoutController_validateCheckout: {
|
|
55694
55895
|
parameters: {
|
|
55695
55896
|
query?: never;
|
|
55696
|
-
header?:
|
|
55897
|
+
header?: {
|
|
55898
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55899
|
+
'x-checkout-token'?: string;
|
|
55900
|
+
};
|
|
55697
55901
|
path: {
|
|
55698
55902
|
/** @description Checkout session ID */
|
|
55699
55903
|
id: string;
|
|
@@ -55727,7 +55931,10 @@ export interface operations {
|
|
|
55727
55931
|
CheckoutController_preparePayment: {
|
|
55728
55932
|
parameters: {
|
|
55729
55933
|
query?: never;
|
|
55730
|
-
header?:
|
|
55934
|
+
header?: {
|
|
55935
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55936
|
+
'x-checkout-token'?: string;
|
|
55937
|
+
};
|
|
55731
55938
|
path: {
|
|
55732
55939
|
/** @description Checkout session ID */
|
|
55733
55940
|
id: string;
|
|
@@ -55783,6 +55990,8 @@ export interface operations {
|
|
|
55783
55990
|
parameters: {
|
|
55784
55991
|
query?: never;
|
|
55785
55992
|
header: {
|
|
55993
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
55994
|
+
'x-checkout-token'?: string;
|
|
55786
55995
|
authorization: string;
|
|
55787
55996
|
'x-api-key': string;
|
|
55788
55997
|
/** @description Client-generated idempotency key */
|
|
@@ -55816,7 +56025,7 @@ export interface operations {
|
|
|
55816
56025
|
};
|
|
55817
56026
|
content?: never;
|
|
55818
56027
|
};
|
|
55819
|
-
/** @description Payment intent missing, not succeeded, amount/currency mismatch, or requires action */
|
|
56028
|
+
/** @description Payment intent missing, not succeeded, amount/currency mismatch, or requires action. PAYMENT_DECLINED (with optional declineCode): the provider declined the nonce; nothing was charged, prepare payment again with another method */
|
|
55820
56029
|
402: {
|
|
55821
56030
|
headers: {
|
|
55822
56031
|
[name: string]: unknown;
|
|
@@ -55844,7 +56053,7 @@ export interface operations {
|
|
|
55844
56053
|
};
|
|
55845
56054
|
content?: never;
|
|
55846
56055
|
};
|
|
55847
|
-
/** @description Payment verification is unavailable */
|
|
56056
|
+
/** @description Payment verification is unavailable, or PAYMENT_OUTCOME_UNKNOWN (the sale answer was lost); retry the same complete */
|
|
55848
56057
|
503: {
|
|
55849
56058
|
headers: {
|
|
55850
56059
|
[name: string]: unknown;
|
|
@@ -55856,7 +56065,10 @@ export interface operations {
|
|
|
55856
56065
|
CheckoutController_abandonCheckout: {
|
|
55857
56066
|
parameters: {
|
|
55858
56067
|
query?: never;
|
|
55859
|
-
header?:
|
|
56068
|
+
header?: {
|
|
56069
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
56070
|
+
'x-checkout-token'?: string;
|
|
56071
|
+
};
|
|
55860
56072
|
path: {
|
|
55861
56073
|
/** @description Checkout session ID */
|
|
55862
56074
|
id: string;
|
|
@@ -55890,7 +56102,10 @@ export interface operations {
|
|
|
55890
56102
|
CheckoutController_cleanupExpiredSessions: {
|
|
55891
56103
|
parameters: {
|
|
55892
56104
|
query?: never;
|
|
55893
|
-
header?:
|
|
56105
|
+
header?: {
|
|
56106
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
56107
|
+
'x-checkout-token'?: string;
|
|
56108
|
+
};
|
|
55894
56109
|
path?: never;
|
|
55895
56110
|
cookie?: never;
|
|
55896
56111
|
};
|
|
@@ -55911,6 +56126,8 @@ export interface operations {
|
|
|
55911
56126
|
parameters: {
|
|
55912
56127
|
query?: never;
|
|
55913
56128
|
header: {
|
|
56129
|
+
/** @description Session token (accessToken from create, customer bind or the handoff exchange). Storefront calls for a session send it. */
|
|
56130
|
+
'x-checkout-token'?: string;
|
|
55914
56131
|
authorization: string;
|
|
55915
56132
|
'x-api-key': string;
|
|
55916
56133
|
/** @description Client-generated idempotency key */
|
|
@@ -56020,12 +56237,14 @@ export interface operations {
|
|
|
56020
56237
|
totalMax?: number;
|
|
56021
56238
|
/** @description Filter by minimum order total in cents (integer) */
|
|
56022
56239
|
totalMin?: number;
|
|
56023
|
-
/** @description Filter orders created before date (ISO
|
|
56240
|
+
/** @description Filter orders created at or before this date (ISO 8601; a date-only value includes the whole day, UTC; 400 when not a date) */
|
|
56024
56241
|
createdBefore?: string;
|
|
56025
|
-
/** @description Filter orders created after date (ISO
|
|
56242
|
+
/** @description Filter orders created at or after this date (ISO 8601; 400 when not a date) */
|
|
56026
56243
|
createdAfter?: string;
|
|
56027
|
-
/** @description Search by order number, order email,
|
|
56244
|
+
/** @description Search by order number, order email, customer first name, last name or email, shipping or billing phone, zip or street (case-insensitive substring; every word must match; a trailing * matches a prefix; max 100 characters) */
|
|
56028
56245
|
search?: string;
|
|
56246
|
+
/** @description Filter by payment method id stored on the order (e.g. manual_cash) */
|
|
56247
|
+
paymentMethod?: string;
|
|
56029
56248
|
/** @description Filter by ERP order ID */
|
|
56030
56249
|
erpOrderId?: string;
|
|
56031
56250
|
/** @description Filter by fulfillment status */
|
|
@@ -59512,7 +59731,7 @@ export interface operations {
|
|
|
59512
59731
|
};
|
|
59513
59732
|
requestBody?: never;
|
|
59514
59733
|
responses: {
|
|
59515
|
-
/** @description Reviews retrieved successfully */
|
|
59734
|
+
/** @description Reviews retrieved successfully. Callers without reviews:moderate get PublicReviewDto items. */
|
|
59516
59735
|
200: {
|
|
59517
59736
|
headers: {
|
|
59518
59737
|
[name: string]: unknown;
|
|
@@ -59652,7 +59871,7 @@ export interface operations {
|
|
|
59652
59871
|
};
|
|
59653
59872
|
requestBody?: never;
|
|
59654
59873
|
responses: {
|
|
59655
|
-
/** @description Product reviews retrieved successfully */
|
|
59874
|
+
/** @description Product reviews retrieved successfully. Callers without reviews:moderate get PublicReviewDto items. */
|
|
59656
59875
|
200: {
|
|
59657
59876
|
headers: {
|
|
59658
59877
|
[name: string]: unknown;
|
|
@@ -59724,7 +59943,7 @@ export interface operations {
|
|
|
59724
59943
|
};
|
|
59725
59944
|
requestBody?: never;
|
|
59726
59945
|
responses: {
|
|
59727
|
-
/** @description Customer reviews retrieved successfully */
|
|
59946
|
+
/** @description Customer reviews retrieved successfully. Callers without reviews:moderate get PublicReviewDto items. */
|
|
59728
59947
|
200: {
|
|
59729
59948
|
headers: {
|
|
59730
59949
|
[name: string]: unknown;
|
|
@@ -59746,7 +59965,7 @@ export interface operations {
|
|
|
59746
59965
|
};
|
|
59747
59966
|
requestBody?: never;
|
|
59748
59967
|
responses: {
|
|
59749
|
-
/** @description Review retrieved successfully */
|
|
59968
|
+
/** @description Review retrieved successfully. Callers without reviews:moderate get a PublicReviewDto. */
|
|
59750
59969
|
200: {
|
|
59751
59970
|
headers: {
|
|
59752
59971
|
[name: string]: unknown;
|