@aimee.shop/sdk 0.22.0-dev.195 → 0.22.0-dev.205
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/errors/checkout-refusal.d.ts +6 -0
- package/dist/core/errors/checkout-refusal.d.ts.map +1 -1
- package/dist/core/errors/checkout-refusal.js +4 -0
- package/dist/core/errors/checkout-refusal.js.map +1 -1
- package/dist/core/errors/multipart-upload.d.ts +37 -0
- package/dist/core/errors/multipart-upload.d.ts.map +1 -0
- package/dist/core/errors/multipart-upload.js +42 -0
- package/dist/core/errors/multipart-upload.js.map +1 -0
- package/dist/core/http-client.d.ts.map +1 -1
- package/dist/core/http-client.js +8 -1
- package/dist/core/http-client.js.map +1 -1
- package/dist/generated/core-api.d.ts +493 -74
- package/dist/generated/core-api.d.ts.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/services/core/assets-large-upload.d.ts +63 -0
- package/dist/services/core/assets-large-upload.d.ts.map +1 -0
- package/dist/services/core/assets-large-upload.js +382 -0
- package/dist/services/core/assets-large-upload.js.map +1 -0
- package/dist/services/core/assets-multipart.client.d.ts +47 -0
- package/dist/services/core/assets-multipart.client.d.ts.map +1 -0
- package/dist/services/core/assets-multipart.client.js +46 -0
- package/dist/services/core/assets-multipart.client.js.map +1 -0
- package/dist/services/core/assets.client.d.ts +14 -0
- package/dist/services/core/assets.client.d.ts.map +1 -1
- package/dist/services/core/assets.client.js +21 -0
- package/dist/services/core/assets.client.js.map +1 -1
- package/dist/services/core/storefront/index.d.ts +1 -1
- package/dist/services/core/storefront/index.d.ts.map +1 -1
- package/dist/services/core/storefront/index.js.map +1 -1
- package/dist/services/core/storefront/storefront-orders.client.d.ts +7 -2
- package/dist/services/core/storefront/storefront-orders.client.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront-orders.client.js.map +1 -1
- package/package.json +1 -1
|
@@ -631,7 +631,7 @@ export interface paths {
|
|
|
631
631
|
put?: never;
|
|
632
632
|
/**
|
|
633
633
|
* Generate presigned URL for product asset upload
|
|
634
|
-
* @description Generate a presigned S3 URL for direct client-side upload of product media (images, video, audio, documents). Limits:
|
|
634
|
+
* @description Generate a presigned S3 URL for direct client-side upload of product media (images, video, audio, documents). Limits: 1 GB video, 25 MB other types.
|
|
635
635
|
*/
|
|
636
636
|
post: operations['ProductsController_generateAssetUploadUrl'];
|
|
637
637
|
delete?: never;
|
|
@@ -931,7 +931,7 @@ export interface paths {
|
|
|
931
931
|
put?: never;
|
|
932
932
|
/**
|
|
933
933
|
* Generate presigned URL for variant asset upload
|
|
934
|
-
* @description Generate a presigned S3 URL for direct client-side upload of variant media (images, video, audio, documents). Limits:
|
|
934
|
+
* @description Generate a presigned S3 URL for direct client-side upload of variant media (images, video, audio, documents). Limits: 1 GB video, 25 MB other types.
|
|
935
935
|
*/
|
|
936
936
|
post: operations['VariantController_generateAssetUploadUrl'];
|
|
937
937
|
delete?: never;
|
|
@@ -6165,6 +6165,107 @@ export interface paths {
|
|
|
6165
6165
|
patch?: never;
|
|
6166
6166
|
trace?: never;
|
|
6167
6167
|
};
|
|
6168
|
+
'/v1/assets/multipart-uploads': {
|
|
6169
|
+
parameters: {
|
|
6170
|
+
query?: never;
|
|
6171
|
+
header?: never;
|
|
6172
|
+
path?: never;
|
|
6173
|
+
cookie?: never;
|
|
6174
|
+
};
|
|
6175
|
+
get?: never;
|
|
6176
|
+
put?: never;
|
|
6177
|
+
/**
|
|
6178
|
+
* Start a multipart upload for a large library file
|
|
6179
|
+
* @description Use for files over 16 MiB. Returns partSize and partCount; PUT each part with a URL from POST :id/parts, then POST :id/complete and poll GET :id.
|
|
6180
|
+
*/
|
|
6181
|
+
post: operations['AssetMultipartUploadController_start'];
|
|
6182
|
+
delete?: never;
|
|
6183
|
+
options?: never;
|
|
6184
|
+
head?: never;
|
|
6185
|
+
patch?: never;
|
|
6186
|
+
trace?: never;
|
|
6187
|
+
};
|
|
6188
|
+
'/v1/assets/multipart-uploads/{id}': {
|
|
6189
|
+
parameters: {
|
|
6190
|
+
query?: never;
|
|
6191
|
+
header?: never;
|
|
6192
|
+
path?: never;
|
|
6193
|
+
cookie?: never;
|
|
6194
|
+
};
|
|
6195
|
+
/**
|
|
6196
|
+
* Get a multipart upload session
|
|
6197
|
+
* @description Poll after complete until status is completed (assetId) or failed (error).
|
|
6198
|
+
*/
|
|
6199
|
+
get: operations['AssetMultipartUploadController_get'];
|
|
6200
|
+
put?: never;
|
|
6201
|
+
post?: never;
|
|
6202
|
+
delete?: never;
|
|
6203
|
+
options?: never;
|
|
6204
|
+
head?: never;
|
|
6205
|
+
patch?: never;
|
|
6206
|
+
trace?: never;
|
|
6207
|
+
};
|
|
6208
|
+
'/v1/assets/multipart-uploads/{id}/parts': {
|
|
6209
|
+
parameters: {
|
|
6210
|
+
query?: never;
|
|
6211
|
+
header?: never;
|
|
6212
|
+
path?: never;
|
|
6213
|
+
cookie?: never;
|
|
6214
|
+
};
|
|
6215
|
+
/**
|
|
6216
|
+
* List parts already in storage
|
|
6217
|
+
* @description Use to resume: upload only missing or wrong-size parts.
|
|
6218
|
+
*/
|
|
6219
|
+
get: operations['AssetMultipartUploadController_listParts'];
|
|
6220
|
+
put?: never;
|
|
6221
|
+
/**
|
|
6222
|
+
* Presign part upload URLs
|
|
6223
|
+
* @description URLs expire after 15 minutes; presign again on 403.
|
|
6224
|
+
*/
|
|
6225
|
+
post: operations['AssetMultipartUploadController_presignParts'];
|
|
6226
|
+
delete?: never;
|
|
6227
|
+
options?: never;
|
|
6228
|
+
head?: never;
|
|
6229
|
+
patch?: never;
|
|
6230
|
+
trace?: never;
|
|
6231
|
+
};
|
|
6232
|
+
'/v1/assets/multipart-uploads/{id}/complete': {
|
|
6233
|
+
parameters: {
|
|
6234
|
+
query?: never;
|
|
6235
|
+
header?: never;
|
|
6236
|
+
path?: never;
|
|
6237
|
+
cookie?: never;
|
|
6238
|
+
};
|
|
6239
|
+
get?: never;
|
|
6240
|
+
put?: never;
|
|
6241
|
+
/**
|
|
6242
|
+
* Complete a multipart upload
|
|
6243
|
+
* @description Checks all parts, then verifies and creates the asset in the background. Idempotent; poll GET :id for the result.
|
|
6244
|
+
*/
|
|
6245
|
+
post: operations['AssetMultipartUploadController_complete'];
|
|
6246
|
+
delete?: never;
|
|
6247
|
+
options?: never;
|
|
6248
|
+
head?: never;
|
|
6249
|
+
patch?: never;
|
|
6250
|
+
trace?: never;
|
|
6251
|
+
};
|
|
6252
|
+
'/v1/assets/multipart-uploads/{id}/abort': {
|
|
6253
|
+
parameters: {
|
|
6254
|
+
query?: never;
|
|
6255
|
+
header?: never;
|
|
6256
|
+
path?: never;
|
|
6257
|
+
cookie?: never;
|
|
6258
|
+
};
|
|
6259
|
+
get?: never;
|
|
6260
|
+
put?: never;
|
|
6261
|
+
/** Abort a multipart upload (idempotent) */
|
|
6262
|
+
post: operations['AssetMultipartUploadController_abort'];
|
|
6263
|
+
delete?: never;
|
|
6264
|
+
options?: never;
|
|
6265
|
+
head?: never;
|
|
6266
|
+
patch?: never;
|
|
6267
|
+
trace?: never;
|
|
6268
|
+
};
|
|
6168
6269
|
'/v1/assets': {
|
|
6169
6270
|
parameters: {
|
|
6170
6271
|
query?: never;
|
|
@@ -6666,7 +6767,7 @@ export interface paths {
|
|
|
6666
6767
|
post?: never;
|
|
6667
6768
|
/**
|
|
6668
6769
|
* Delete customer
|
|
6669
|
-
* @description Soft deletes a customer record. The customer data is retained but marked as deleted.
|
|
6770
|
+
* @description Soft deletes a customer record. The customer data is retained but marked as deleted. A customer with orders cannot be deleted (409).
|
|
6670
6771
|
*/
|
|
6671
6772
|
delete: operations['CustomersController_deleteCustomer'];
|
|
6672
6773
|
options?: never;
|
|
@@ -10086,6 +10187,26 @@ export interface paths {
|
|
|
10086
10187
|
patch?: never;
|
|
10087
10188
|
trace?: never;
|
|
10088
10189
|
};
|
|
10190
|
+
'/v1/storefront/orders/{id}': {
|
|
10191
|
+
parameters: {
|
|
10192
|
+
query?: never;
|
|
10193
|
+
header?: never;
|
|
10194
|
+
path?: never;
|
|
10195
|
+
cookie?: never;
|
|
10196
|
+
};
|
|
10197
|
+
/**
|
|
10198
|
+
* Get own order by id
|
|
10199
|
+
* @description Returns the order only if it belongs to the authenticated customer; otherwise 404.
|
|
10200
|
+
*/
|
|
10201
|
+
get: operations['StorefrontOrdersController_getOrder'];
|
|
10202
|
+
put?: never;
|
|
10203
|
+
post?: never;
|
|
10204
|
+
delete?: never;
|
|
10205
|
+
options?: never;
|
|
10206
|
+
head?: never;
|
|
10207
|
+
patch?: never;
|
|
10208
|
+
trace?: never;
|
|
10209
|
+
};
|
|
10089
10210
|
'/v1/storefront/orders/{id}/cancel': {
|
|
10090
10211
|
parameters: {
|
|
10091
10212
|
query?: never;
|
|
@@ -14699,7 +14820,7 @@ export interface components {
|
|
|
14699
14820
|
*/
|
|
14700
14821
|
contentType: string;
|
|
14701
14822
|
/**
|
|
14702
|
-
* @description File size in bytes. When sent, a file over the limit for its type (
|
|
14823
|
+
* @description File size in bytes. When sent, a file over the limit for its type (1 GB video, 25 MB other) is rejected here instead of at confirm.
|
|
14703
14824
|
* @example 102400
|
|
14704
14825
|
*/
|
|
14705
14826
|
size?: number;
|
|
@@ -16495,24 +16616,6 @@ export interface components {
|
|
|
16495
16616
|
* @example sk_test_abc123
|
|
16496
16617
|
*/
|
|
16497
16618
|
cmsApiKey?: string;
|
|
16498
|
-
/**
|
|
16499
|
-
* @description HIPAA compliance enabled
|
|
16500
|
-
* @default true
|
|
16501
|
-
* @example true
|
|
16502
|
-
*/
|
|
16503
|
-
hipaaEnabled?: boolean;
|
|
16504
|
-
/**
|
|
16505
|
-
* @description GDPR compliance enabled
|
|
16506
|
-
* @default true
|
|
16507
|
-
* @example true
|
|
16508
|
-
*/
|
|
16509
|
-
gdprEnabled?: boolean;
|
|
16510
|
-
/**
|
|
16511
|
-
* @description PCI compliance enabled
|
|
16512
|
-
* @default true
|
|
16513
|
-
* @example true
|
|
16514
|
-
*/
|
|
16515
|
-
pciEnabled?: boolean;
|
|
16516
16619
|
/**
|
|
16517
16620
|
* @description Tenant-specific settings (theme, tax mode, integrations)
|
|
16518
16621
|
* @example {
|
|
@@ -16684,21 +16787,6 @@ export interface components {
|
|
|
16684
16787
|
* @example sk_test_abc123
|
|
16685
16788
|
*/
|
|
16686
16789
|
cmsApiKey?: string;
|
|
16687
|
-
/**
|
|
16688
|
-
* @description HIPAA compliance enabled
|
|
16689
|
-
* @example true
|
|
16690
|
-
*/
|
|
16691
|
-
hipaaEnabled: boolean;
|
|
16692
|
-
/**
|
|
16693
|
-
* @description GDPR compliance enabled
|
|
16694
|
-
* @example true
|
|
16695
|
-
*/
|
|
16696
|
-
gdprEnabled: boolean;
|
|
16697
|
-
/**
|
|
16698
|
-
* @description PCI compliance enabled
|
|
16699
|
-
* @example true
|
|
16700
|
-
*/
|
|
16701
|
-
pciEnabled: boolean;
|
|
16702
16790
|
/**
|
|
16703
16791
|
* @description Tenant-specific settings (theme, tax mode, integrations)
|
|
16704
16792
|
* @example {
|
|
@@ -16836,24 +16924,6 @@ export interface components {
|
|
|
16836
16924
|
* @example sk_test_abc123
|
|
16837
16925
|
*/
|
|
16838
16926
|
cmsApiKey?: string;
|
|
16839
|
-
/**
|
|
16840
|
-
* @description HIPAA compliance enabled
|
|
16841
|
-
* @default true
|
|
16842
|
-
* @example true
|
|
16843
|
-
*/
|
|
16844
|
-
hipaaEnabled?: boolean;
|
|
16845
|
-
/**
|
|
16846
|
-
* @description GDPR compliance enabled
|
|
16847
|
-
* @default true
|
|
16848
|
-
* @example true
|
|
16849
|
-
*/
|
|
16850
|
-
gdprEnabled?: boolean;
|
|
16851
|
-
/**
|
|
16852
|
-
* @description PCI compliance enabled
|
|
16853
|
-
* @default true
|
|
16854
|
-
* @example true
|
|
16855
|
-
*/
|
|
16856
|
-
pciEnabled?: boolean;
|
|
16857
16927
|
/**
|
|
16858
16928
|
* @description Tenant-specific settings (theme, tax mode, integrations)
|
|
16859
16929
|
* @example {
|
|
@@ -16958,21 +17028,6 @@ export interface components {
|
|
|
16958
17028
|
* @example acme-corp
|
|
16959
17029
|
*/
|
|
16960
17030
|
slug: string;
|
|
16961
|
-
/**
|
|
16962
|
-
* @description Enable HIPAA compliance
|
|
16963
|
-
* @example true
|
|
16964
|
-
*/
|
|
16965
|
-
hipaaEnabled?: boolean;
|
|
16966
|
-
/**
|
|
16967
|
-
* @description Enable GDPR compliance
|
|
16968
|
-
* @example true
|
|
16969
|
-
*/
|
|
16970
|
-
gdprEnabled?: boolean;
|
|
16971
|
-
/**
|
|
16972
|
-
* @description Enable PCI compliance
|
|
16973
|
-
* @example true
|
|
16974
|
-
*/
|
|
16975
|
-
pciEnabled?: boolean;
|
|
16976
17031
|
/**
|
|
16977
17032
|
* @description Default country code (ISO 3166-1)
|
|
16978
17033
|
* @example US
|
|
@@ -26197,6 +26252,99 @@ export interface components {
|
|
|
26197
26252
|
/** @description Number of assets moved */
|
|
26198
26253
|
moved: number;
|
|
26199
26254
|
};
|
|
26255
|
+
StartMultipartUploadDto: {
|
|
26256
|
+
/**
|
|
26257
|
+
* @description Original filename
|
|
26258
|
+
* @example launch.mov
|
|
26259
|
+
*/
|
|
26260
|
+
filename: string;
|
|
26261
|
+
/**
|
|
26262
|
+
* @description MIME type. Empty or application/octet-stream falls back to the filename extension.
|
|
26263
|
+
* @example video/quicktime
|
|
26264
|
+
*/
|
|
26265
|
+
contentType: string;
|
|
26266
|
+
/**
|
|
26267
|
+
* @description File size in bytes. Over the limit for its type (1 GB video, 25 MB other) is rejected here.
|
|
26268
|
+
* @example 1073741824
|
|
26269
|
+
*/
|
|
26270
|
+
size: number;
|
|
26271
|
+
/** @description Client SHA-256 (64 lowercase hex), hashed in chunks. Checked against the server hash; a mismatch fails the upload. */
|
|
26272
|
+
checksumSha256?: string;
|
|
26273
|
+
/**
|
|
26274
|
+
* @description Dedupe policy applied at verification (default reuse)
|
|
26275
|
+
* @enum {string}
|
|
26276
|
+
*/
|
|
26277
|
+
dedupePolicy?: 'reuse' | 'replace' | 'keep_both';
|
|
26278
|
+
/** @description Library folder id */
|
|
26279
|
+
folderId?: string;
|
|
26280
|
+
/** @description Default alt text */
|
|
26281
|
+
altText?: string;
|
|
26282
|
+
/** @description Default title */
|
|
26283
|
+
title?: string;
|
|
26284
|
+
/** @description Default caption */
|
|
26285
|
+
caption?: string;
|
|
26286
|
+
/** @description Image width in pixels */
|
|
26287
|
+
width?: number;
|
|
26288
|
+
/** @description Image height in pixels */
|
|
26289
|
+
height?: number;
|
|
26290
|
+
};
|
|
26291
|
+
MultipartUploadSessionDto: {
|
|
26292
|
+
/** @description Upload session id */
|
|
26293
|
+
id: string;
|
|
26294
|
+
/** @enum {string} */
|
|
26295
|
+
status: 'uploading' | 'completing' | 'verifying' | 'completed' | 'failed' | 'aborted' | 'expired';
|
|
26296
|
+
/** @description S3 object key of the future asset */
|
|
26297
|
+
key: string;
|
|
26298
|
+
filename: string;
|
|
26299
|
+
/** @description Declared MIME type after extension fallback */
|
|
26300
|
+
mimeType: string;
|
|
26301
|
+
/** @description Declared size in bytes */
|
|
26302
|
+
size: number;
|
|
26303
|
+
/** @description Bytes per part; every part but the last is exactly this */
|
|
26304
|
+
partSize: number;
|
|
26305
|
+
partCount: number;
|
|
26306
|
+
/** @description Suggested parallel part uploads */
|
|
26307
|
+
recommendedConcurrency: number;
|
|
26308
|
+
/** @description Complete must be called before this (ISO 8601) */
|
|
26309
|
+
expiresAt: string;
|
|
26310
|
+
/** @description Set when status is completed */
|
|
26311
|
+
assetId: string | null;
|
|
26312
|
+
/** @description Set when status is failed */
|
|
26313
|
+
error: string | null;
|
|
26314
|
+
createdAt: string;
|
|
26315
|
+
updatedAt: string;
|
|
26316
|
+
};
|
|
26317
|
+
PresignMultipartPartsDto: {
|
|
26318
|
+
/**
|
|
26319
|
+
* @description Part numbers to presign (1..partCount, at most 100)
|
|
26320
|
+
* @example [
|
|
26321
|
+
* 1,
|
|
26322
|
+
* 2,
|
|
26323
|
+
* 3,
|
|
26324
|
+
* 4
|
|
26325
|
+
* ]
|
|
26326
|
+
*/
|
|
26327
|
+
partNumbers: number[];
|
|
26328
|
+
};
|
|
26329
|
+
PresignedMultipartPartDto: {
|
|
26330
|
+
partNumber: number;
|
|
26331
|
+
/** @description Presigned PUT URL for this part */
|
|
26332
|
+
url: string;
|
|
26333
|
+
/** @description URL expiry (ISO 8601) */
|
|
26334
|
+
expiresAt: string;
|
|
26335
|
+
};
|
|
26336
|
+
PresignedMultipartPartsDto: {
|
|
26337
|
+
parts: components['schemas']['PresignedMultipartPartDto'][];
|
|
26338
|
+
};
|
|
26339
|
+
UploadedMultipartPartDto: {
|
|
26340
|
+
partNumber: number;
|
|
26341
|
+
/** @description Bytes received by S3 for this part */
|
|
26342
|
+
size: number;
|
|
26343
|
+
etag: string;
|
|
26344
|
+
};
|
|
26345
|
+
MultipartUploadedPartsDto: {
|
|
26346
|
+
parts: components['schemas']['UploadedMultipartPartDto'][];
|
|
26347
|
+
};
|
|
26200
26348
|
PaginatedAssetResponseDto: {
|
|
26201
26349
|
data: components['schemas']['AssetResponseDto'][];
|
|
26202
26350
|
meta: components['schemas']['PaginationMetaDto'];
|
|
@@ -34008,6 +34156,66 @@ export interface components {
|
|
|
34008
34156
|
/** @description New password (minimum 8 characters) */
|
|
34009
34157
|
newPassword: string;
|
|
34010
34158
|
};
|
|
34159
|
+
StorefrontOrderItemDto: {
|
|
34160
|
+
id: string;
|
|
34161
|
+
productId: string;
|
|
34162
|
+
productVariantId?: string | null;
|
|
34163
|
+
productName: string;
|
|
34164
|
+
productSku?: string | null;
|
|
34165
|
+
/** @description Cents, serialized as string */
|
|
34166
|
+
unitPrice: string;
|
|
34167
|
+
quantity: number;
|
|
34168
|
+
/** @description Cents, serialized as string */
|
|
34169
|
+
totalPrice: string;
|
|
34170
|
+
/** @description Cents, serialized as string */
|
|
34171
|
+
discountAmount: string;
|
|
34172
|
+
/** @description Cents, serialized as string */
|
|
34173
|
+
taxAmount: string;
|
|
34174
|
+
fulfillmentStatus: string;
|
|
34175
|
+
};
|
|
34176
|
+
StorefrontOrderDto: {
|
|
34177
|
+
id: string;
|
|
34178
|
+
orderNumber: string;
|
|
34179
|
+
customerId: string;
|
|
34180
|
+
subscriptionId?: string | null;
|
|
34181
|
+
source?: string | null;
|
|
34182
|
+
status: string;
|
|
34183
|
+
paymentStatus?: string | null;
|
|
34184
|
+
fulfillmentStatus?: string | null;
|
|
34185
|
+
currency?: string | null;
|
|
34186
|
+
/** @description Cents, serialized as string */
|
|
34187
|
+
subtotalAmount: string;
|
|
34188
|
+
/** @description Cents, serialized as string */
|
|
34189
|
+
taxAmount: string;
|
|
34190
|
+
/** @description Cents, serialized as string */
|
|
34191
|
+
shippingAmount: string;
|
|
34192
|
+
/** @description Cents, serialized as string */
|
|
34193
|
+
discountAmount: string;
|
|
34194
|
+
/** @description Cents, serialized as string */
|
|
34195
|
+
totalAmount: string;
|
|
34196
|
+
shippingAddress?: components['schemas']['AddressSnapshotDto'] | null;
|
|
34197
|
+
billingAddress?: components['schemas']['AddressSnapshotDto'] | null;
|
|
34198
|
+
shippingMethod?: string | null;
|
|
34199
|
+
trackingNumbers?: string[];
|
|
34200
|
+
carrierInformation?: components['schemas']['FulfillmentSummaryDto'][];
|
|
34201
|
+
/** Format: date-time */
|
|
34202
|
+
estimatedDeliveryDate?: string | null;
|
|
34203
|
+
orderItems: components['schemas']['StorefrontOrderItemDto'][];
|
|
34204
|
+
/** Format: date-time */
|
|
34205
|
+
createdAt: string;
|
|
34206
|
+
/** Format: date-time */
|
|
34207
|
+
updatedAt: string;
|
|
34208
|
+
};
|
|
34209
|
+
StorefrontOrderPaginationDto: {
|
|
34210
|
+
page: number;
|
|
34211
|
+
limit: number;
|
|
34212
|
+
total: number;
|
|
34213
|
+
pages: number;
|
|
34214
|
+
};
|
|
34215
|
+
StorefrontOrderListResponseDto: {
|
|
34216
|
+
data: components['schemas']['StorefrontOrderDto'][];
|
|
34217
|
+
pagination: components['schemas']['StorefrontOrderPaginationDto'];
|
|
34218
|
+
};
|
|
34011
34219
|
StorefrontFulfillmentItemDto: {
|
|
34012
34220
|
/** @description Order item shipped in this shipment */
|
|
34013
34221
|
orderItemId: string;
|
|
@@ -52258,6 +52466,171 @@ export interface operations {
|
|
|
52258
52466
|
};
|
|
52259
52467
|
};
|
|
52260
52468
|
};
|
|
52469
|
+
AssetMultipartUploadController_start: {
|
|
52470
|
+
parameters: {
|
|
52471
|
+
query?: never;
|
|
52472
|
+
header?: never;
|
|
52473
|
+
path?: never;
|
|
52474
|
+
cookie?: never;
|
|
52475
|
+
};
|
|
52476
|
+
requestBody: {
|
|
52477
|
+
content: {
|
|
52478
|
+
'application/json': components['schemas']['StartMultipartUploadDto'];
|
|
52479
|
+
};
|
|
52480
|
+
};
|
|
52481
|
+
responses: {
|
|
52482
|
+
201: {
|
|
52483
|
+
headers: {
|
|
52484
|
+
[name: string]: unknown;
|
|
52485
|
+
};
|
|
52486
|
+
content: {
|
|
52487
|
+
'application/json': components['schemas']['MultipartUploadSessionDto'];
|
|
52488
|
+
};
|
|
52489
|
+
};
|
|
52490
|
+
/** @description MULTIPART_TOO_MANY_ACTIVE: too many uploads in progress */
|
|
52491
|
+
429: {
|
|
52492
|
+
headers: {
|
|
52493
|
+
[name: string]: unknown;
|
|
52494
|
+
};
|
|
52495
|
+
content?: never;
|
|
52496
|
+
};
|
|
52497
|
+
};
|
|
52498
|
+
};
|
|
52499
|
+
AssetMultipartUploadController_get: {
|
|
52500
|
+
parameters: {
|
|
52501
|
+
query?: never;
|
|
52502
|
+
header?: never;
|
|
52503
|
+
path: {
|
|
52504
|
+
/** @description Upload session ID */
|
|
52505
|
+
id: string;
|
|
52506
|
+
};
|
|
52507
|
+
cookie?: never;
|
|
52508
|
+
};
|
|
52509
|
+
requestBody?: never;
|
|
52510
|
+
responses: {
|
|
52511
|
+
200: {
|
|
52512
|
+
headers: {
|
|
52513
|
+
[name: string]: unknown;
|
|
52514
|
+
};
|
|
52515
|
+
content: {
|
|
52516
|
+
'application/json': components['schemas']['MultipartUploadSessionDto'];
|
|
52517
|
+
};
|
|
52518
|
+
};
|
|
52519
|
+
};
|
|
52520
|
+
};
|
|
52521
|
+
AssetMultipartUploadController_listParts: {
|
|
52522
|
+
parameters: {
|
|
52523
|
+
query?: never;
|
|
52524
|
+
header?: never;
|
|
52525
|
+
path: {
|
|
52526
|
+
/** @description Upload session ID */
|
|
52527
|
+
id: string;
|
|
52528
|
+
};
|
|
52529
|
+
cookie?: never;
|
|
52530
|
+
};
|
|
52531
|
+
requestBody?: never;
|
|
52532
|
+
responses: {
|
|
52533
|
+
200: {
|
|
52534
|
+
headers: {
|
|
52535
|
+
[name: string]: unknown;
|
|
52536
|
+
};
|
|
52537
|
+
content: {
|
|
52538
|
+
'application/json': components['schemas']['MultipartUploadedPartsDto'];
|
|
52539
|
+
};
|
|
52540
|
+
};
|
|
52541
|
+
};
|
|
52542
|
+
};
|
|
52543
|
+
AssetMultipartUploadController_presignParts: {
|
|
52544
|
+
parameters: {
|
|
52545
|
+
query?: never;
|
|
52546
|
+
header?: never;
|
|
52547
|
+
path: {
|
|
52548
|
+
/** @description Upload session ID */
|
|
52549
|
+
id: string;
|
|
52550
|
+
};
|
|
52551
|
+
cookie?: never;
|
|
52552
|
+
};
|
|
52553
|
+
requestBody: {
|
|
52554
|
+
content: {
|
|
52555
|
+
'application/json': components['schemas']['PresignMultipartPartsDto'];
|
|
52556
|
+
};
|
|
52557
|
+
};
|
|
52558
|
+
responses: {
|
|
52559
|
+
200: {
|
|
52560
|
+
headers: {
|
|
52561
|
+
[name: string]: unknown;
|
|
52562
|
+
};
|
|
52563
|
+
content: {
|
|
52564
|
+
'application/json': components['schemas']['PresignedMultipartPartsDto'];
|
|
52565
|
+
};
|
|
52566
|
+
};
|
|
52567
|
+
/** @description MULTIPART_NOT_UPLOADING: session is not uploading */
|
|
52568
|
+
409: {
|
|
52569
|
+
headers: {
|
|
52570
|
+
[name: string]: unknown;
|
|
52571
|
+
};
|
|
52572
|
+
content?: never;
|
|
52573
|
+
};
|
|
52574
|
+
};
|
|
52575
|
+
};
|
|
52576
|
+
AssetMultipartUploadController_complete: {
|
|
52577
|
+
parameters: {
|
|
52578
|
+
query?: never;
|
|
52579
|
+
header?: never;
|
|
52580
|
+
path: {
|
|
52581
|
+
/** @description Upload session ID */
|
|
52582
|
+
id: string;
|
|
52583
|
+
};
|
|
52584
|
+
cookie?: never;
|
|
52585
|
+
};
|
|
52586
|
+
requestBody?: never;
|
|
52587
|
+
responses: {
|
|
52588
|
+
200: {
|
|
52589
|
+
headers: {
|
|
52590
|
+
[name: string]: unknown;
|
|
52591
|
+
};
|
|
52592
|
+
content: {
|
|
52593
|
+
'application/json': components['schemas']['MultipartUploadSessionDto'];
|
|
52594
|
+
};
|
|
52595
|
+
};
|
|
52596
|
+
/** @description MULTIPART_PARTS_INCOMPLETE: missingPartNumbers / wrongSizePartNumbers */
|
|
52597
|
+
400: {
|
|
52598
|
+
headers: {
|
|
52599
|
+
[name: string]: unknown;
|
|
52600
|
+
};
|
|
52601
|
+
content?: never;
|
|
52602
|
+
};
|
|
52603
|
+
};
|
|
52604
|
+
};
|
|
52605
|
+
AssetMultipartUploadController_abort: {
|
|
52606
|
+
parameters: {
|
|
52607
|
+
query?: never;
|
|
52608
|
+
header?: never;
|
|
52609
|
+
path: {
|
|
52610
|
+
/** @description Upload session ID */
|
|
52611
|
+
id: string;
|
|
52612
|
+
};
|
|
52613
|
+
cookie?: never;
|
|
52614
|
+
};
|
|
52615
|
+
requestBody?: never;
|
|
52616
|
+
responses: {
|
|
52617
|
+
200: {
|
|
52618
|
+
headers: {
|
|
52619
|
+
[name: string]: unknown;
|
|
52620
|
+
};
|
|
52621
|
+
content: {
|
|
52622
|
+
'application/json': components['schemas']['MultipartUploadSessionDto'];
|
|
52623
|
+
};
|
|
52624
|
+
};
|
|
52625
|
+
/** @description MULTIPART_ALREADY_COMPLETED: delete the asset instead */
|
|
52626
|
+
409: {
|
|
52627
|
+
headers: {
|
|
52628
|
+
[name: string]: unknown;
|
|
52629
|
+
};
|
|
52630
|
+
content?: never;
|
|
52631
|
+
};
|
|
52632
|
+
};
|
|
52633
|
+
};
|
|
52261
52634
|
AssetController_listAssets: {
|
|
52262
52635
|
parameters: {
|
|
52263
52636
|
query?: {
|
|
@@ -53078,6 +53451,13 @@ export interface operations {
|
|
|
53078
53451
|
};
|
|
53079
53452
|
content?: never;
|
|
53080
53453
|
};
|
|
53454
|
+
/** @description Customer has orders and cannot be deleted */
|
|
53455
|
+
409: {
|
|
53456
|
+
headers: {
|
|
53457
|
+
[name: string]: unknown;
|
|
53458
|
+
};
|
|
53459
|
+
content?: never;
|
|
53460
|
+
};
|
|
53081
53461
|
};
|
|
53082
53462
|
};
|
|
53083
53463
|
CustomersController_findCustomerByEmail: {
|
|
@@ -57295,7 +57675,7 @@ export interface operations {
|
|
|
57295
57675
|
};
|
|
57296
57676
|
content?: never;
|
|
57297
57677
|
};
|
|
57298
|
-
/** @description Payments rejected the refund; body carries code (e.g. exceeds_refundable_balance, offline_requires_manual_payment, order_payment_missing) */
|
|
57678
|
+
/** @description Payments rejected the refund; body carries code (e.g. exceeds_return_refundable_balance with remainingRefundable, exceeds_refundable_balance, offline_requires_manual_payment, order_payment_missing) */
|
|
57299
57679
|
422: {
|
|
57300
57680
|
headers: {
|
|
57301
57681
|
[name: string]: unknown;
|
|
@@ -60021,7 +60401,7 @@ export interface operations {
|
|
|
60021
60401
|
[name: string]: unknown;
|
|
60022
60402
|
};
|
|
60023
60403
|
content: {
|
|
60024
|
-
'application/json': components['schemas']['
|
|
60404
|
+
'application/json': components['schemas']['StorefrontOrderListResponseDto'];
|
|
60025
60405
|
};
|
|
60026
60406
|
};
|
|
60027
60407
|
/** @description Access token required */
|
|
@@ -60060,7 +60440,7 @@ export interface operations {
|
|
|
60060
60440
|
[name: string]: unknown;
|
|
60061
60441
|
};
|
|
60062
60442
|
content: {
|
|
60063
|
-
'application/json': components['schemas']['
|
|
60443
|
+
'application/json': components['schemas']['StorefrontOrderDto'];
|
|
60064
60444
|
};
|
|
60065
60445
|
};
|
|
60066
60446
|
/** @description Access token required */
|
|
@@ -60235,6 +60615,45 @@ export interface operations {
|
|
|
60235
60615
|
};
|
|
60236
60616
|
};
|
|
60237
60617
|
};
|
|
60618
|
+
StorefrontOrdersController_getOrder: {
|
|
60619
|
+
parameters: {
|
|
60620
|
+
query?: never;
|
|
60621
|
+
header?: {
|
|
60622
|
+
/** @description Storefront API key */
|
|
60623
|
+
'x-api-key'?: string;
|
|
60624
|
+
};
|
|
60625
|
+
path: {
|
|
60626
|
+
/** @description Order ID */
|
|
60627
|
+
id: string;
|
|
60628
|
+
};
|
|
60629
|
+
cookie?: never;
|
|
60630
|
+
};
|
|
60631
|
+
requestBody?: never;
|
|
60632
|
+
responses: {
|
|
60633
|
+
200: {
|
|
60634
|
+
headers: {
|
|
60635
|
+
[name: string]: unknown;
|
|
60636
|
+
};
|
|
60637
|
+
content: {
|
|
60638
|
+
'application/json': components['schemas']['StorefrontOrderDto'];
|
|
60639
|
+
};
|
|
60640
|
+
};
|
|
60641
|
+
/** @description Access token required */
|
|
60642
|
+
401: {
|
|
60643
|
+
headers: {
|
|
60644
|
+
[name: string]: unknown;
|
|
60645
|
+
};
|
|
60646
|
+
content?: never;
|
|
60647
|
+
};
|
|
60648
|
+
/** @description Order not found */
|
|
60649
|
+
404: {
|
|
60650
|
+
headers: {
|
|
60651
|
+
[name: string]: unknown;
|
|
60652
|
+
};
|
|
60653
|
+
content?: never;
|
|
60654
|
+
};
|
|
60655
|
+
};
|
|
60656
|
+
};
|
|
60238
60657
|
StorefrontOrderActionsController_cancel: {
|
|
60239
60658
|
parameters: {
|
|
60240
60659
|
query?: never;
|
|
@@ -60259,7 +60678,7 @@ export interface operations {
|
|
|
60259
60678
|
[name: string]: unknown;
|
|
60260
60679
|
};
|
|
60261
60680
|
content: {
|
|
60262
|
-
'application/json': components['schemas']['
|
|
60681
|
+
'application/json': components['schemas']['StorefrontOrderDto'];
|
|
60263
60682
|
};
|
|
60264
60683
|
};
|
|
60265
60684
|
/** @description Access token required */
|