@wix/stores 1.0.157 → 1.0.159
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/package.json +4 -4
- package/type-bundles/context.bundle.d.ts +1 -611
- package/type-bundles/index.bundle.d.ts +153 -1239
- package/type-bundles/meta.bundle.d.ts +358 -1370
|
@@ -1697,25 +1697,6 @@ interface BulkAdjustProductPropertiesResponse$1 {
|
|
|
1697
1697
|
/** Bulk action metadata. */
|
|
1698
1698
|
bulkActionMetadata?: BulkActionMetadata$1;
|
|
1699
1699
|
}
|
|
1700
|
-
interface V1CreateProductPlatformizedRequest$1 {
|
|
1701
|
-
/** Product information. */
|
|
1702
|
-
product?: Product$1;
|
|
1703
|
-
}
|
|
1704
|
-
interface V1CreateProductPlatformizedResponse$1 {
|
|
1705
|
-
product?: Product$1;
|
|
1706
|
-
}
|
|
1707
|
-
interface V1UpdateProductPlatformizedRequest$1 {
|
|
1708
|
-
product: Product$1;
|
|
1709
|
-
}
|
|
1710
|
-
interface V1UpdateProductPlatformizedResponse$1 {
|
|
1711
|
-
product?: Product$1;
|
|
1712
|
-
}
|
|
1713
|
-
interface V1DeleteProductPlatformizedRequest$1 {
|
|
1714
|
-
/** ID of the product to delete. */
|
|
1715
|
-
id: string;
|
|
1716
|
-
}
|
|
1717
|
-
interface V1DeleteProductPlatformizedResponse$1 {
|
|
1718
|
-
}
|
|
1719
1700
|
interface Paging$3 {
|
|
1720
1701
|
/** Amount of items to load per page */
|
|
1721
1702
|
limit?: number | null;
|
|
@@ -2673,8 +2654,8 @@ interface BulkAdjustProductPropertiesResponseNonNullableFields$1 {
|
|
|
2673
2654
|
undetailedFailures: number;
|
|
2674
2655
|
};
|
|
2675
2656
|
}
|
|
2676
|
-
interface
|
|
2677
|
-
|
|
2657
|
+
interface QueryProductsPlatformizedResponseNonNullableFields$1 {
|
|
2658
|
+
products: {
|
|
2678
2659
|
id: string;
|
|
2679
2660
|
slug: string;
|
|
2680
2661
|
productType: ProductType$1;
|
|
@@ -2915,9 +2896,9 @@ interface V1CreateProductPlatformizedResponseNonNullableFields$1 {
|
|
|
2915
2896
|
fileName: string;
|
|
2916
2897
|
fileType: FileType;
|
|
2917
2898
|
};
|
|
2918
|
-
};
|
|
2899
|
+
}[];
|
|
2919
2900
|
}
|
|
2920
|
-
interface
|
|
2901
|
+
interface GetProductResponseNonNullableFields$1 {
|
|
2921
2902
|
product?: {
|
|
2922
2903
|
id: string;
|
|
2923
2904
|
slug: string;
|
|
@@ -3161,71 +3142,8 @@ interface V1UpdateProductPlatformizedResponseNonNullableFields$1 {
|
|
|
3161
3142
|
};
|
|
3162
3143
|
};
|
|
3163
3144
|
}
|
|
3164
|
-
interface
|
|
3165
|
-
|
|
3166
|
-
id: string;
|
|
3167
|
-
slug: string;
|
|
3168
|
-
productType: ProductType$1;
|
|
3169
|
-
weightRange?: {
|
|
3170
|
-
minValue: number;
|
|
3171
|
-
maxValue: number;
|
|
3172
|
-
};
|
|
3173
|
-
stock?: {
|
|
3174
|
-
trackInventory: boolean;
|
|
3175
|
-
inStock: boolean;
|
|
3176
|
-
inventoryStatus: InventoryStatus$1;
|
|
3177
|
-
};
|
|
3178
|
-
price?: {
|
|
3179
|
-
currency: string;
|
|
3180
|
-
discountedPrice: number;
|
|
3181
|
-
formatted?: {
|
|
3182
|
-
price: string;
|
|
3183
|
-
discountedPrice: string;
|
|
3184
|
-
};
|
|
3185
|
-
};
|
|
3186
|
-
priceData?: {
|
|
3187
|
-
currency: string;
|
|
3188
|
-
discountedPrice: number;
|
|
3189
|
-
formatted?: {
|
|
3190
|
-
price: string;
|
|
3191
|
-
discountedPrice: string;
|
|
3192
|
-
};
|
|
3193
|
-
};
|
|
3194
|
-
convertedPriceData?: {
|
|
3195
|
-
currency: string;
|
|
3196
|
-
discountedPrice: number;
|
|
3197
|
-
formatted?: {
|
|
3198
|
-
price: string;
|
|
3199
|
-
discountedPrice: string;
|
|
3200
|
-
};
|
|
3201
|
-
};
|
|
3202
|
-
priceRange?: {
|
|
3203
|
-
minValue: number;
|
|
3204
|
-
maxValue: number;
|
|
3205
|
-
};
|
|
3206
|
-
costAndProfitData?: {
|
|
3207
|
-
formattedItemCost: string;
|
|
3208
|
-
profit: number;
|
|
3209
|
-
formattedProfit: string;
|
|
3210
|
-
profitMargin: number;
|
|
3211
|
-
};
|
|
3212
|
-
costRange?: {
|
|
3213
|
-
minValue: number;
|
|
3214
|
-
maxValue: number;
|
|
3215
|
-
};
|
|
3216
|
-
pricePerUnitData?: {
|
|
3217
|
-
totalQuantity: number;
|
|
3218
|
-
totalMeasurementUnit: MeasurementUnit$1;
|
|
3219
|
-
baseQuantity: number;
|
|
3220
|
-
baseMeasurementUnit: MeasurementUnit$1;
|
|
3221
|
-
};
|
|
3222
|
-
additionalInfoSections: {
|
|
3223
|
-
title: string;
|
|
3224
|
-
description: string;
|
|
3225
|
-
}[];
|
|
3226
|
-
ribbons: {
|
|
3227
|
-
text: string;
|
|
3228
|
-
}[];
|
|
3145
|
+
interface GetCollectionBySlugResponseNonNullableFields$1 {
|
|
3146
|
+
collection?: {
|
|
3229
3147
|
media?: {
|
|
3230
3148
|
mainMedia?: {
|
|
3231
3149
|
image?: {
|
|
@@ -3274,115 +3192,8 @@ interface QueryProductsPlatformizedResponseNonNullableFields$1 {
|
|
|
3274
3192
|
id: string;
|
|
3275
3193
|
}[];
|
|
3276
3194
|
};
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
maxLength: number;
|
|
3280
|
-
mandatory: boolean;
|
|
3281
|
-
}[];
|
|
3282
|
-
productOptions: {
|
|
3283
|
-
optionType: OptionType$1;
|
|
3284
|
-
name: string;
|
|
3285
|
-
choices: {
|
|
3286
|
-
value: string;
|
|
3287
|
-
description: string;
|
|
3288
|
-
media?: {
|
|
3289
|
-
mainMedia?: {
|
|
3290
|
-
image?: {
|
|
3291
|
-
url: string;
|
|
3292
|
-
width: number;
|
|
3293
|
-
height: number;
|
|
3294
|
-
};
|
|
3295
|
-
video?: {
|
|
3296
|
-
files: {
|
|
3297
|
-
url: string;
|
|
3298
|
-
width: number;
|
|
3299
|
-
height: number;
|
|
3300
|
-
}[];
|
|
3301
|
-
stillFrameMediaId: string;
|
|
3302
|
-
};
|
|
3303
|
-
thumbnail?: {
|
|
3304
|
-
url: string;
|
|
3305
|
-
width: number;
|
|
3306
|
-
height: number;
|
|
3307
|
-
};
|
|
3308
|
-
mediaType: MediaItemType$1;
|
|
3309
|
-
title: string;
|
|
3310
|
-
id: string;
|
|
3311
|
-
};
|
|
3312
|
-
items: {
|
|
3313
|
-
image?: {
|
|
3314
|
-
url: string;
|
|
3315
|
-
width: number;
|
|
3316
|
-
height: number;
|
|
3317
|
-
};
|
|
3318
|
-
video?: {
|
|
3319
|
-
files: {
|
|
3320
|
-
url: string;
|
|
3321
|
-
width: number;
|
|
3322
|
-
height: number;
|
|
3323
|
-
}[];
|
|
3324
|
-
stillFrameMediaId: string;
|
|
3325
|
-
};
|
|
3326
|
-
thumbnail?: {
|
|
3327
|
-
url: string;
|
|
3328
|
-
width: number;
|
|
3329
|
-
height: number;
|
|
3330
|
-
};
|
|
3331
|
-
mediaType: MediaItemType$1;
|
|
3332
|
-
title: string;
|
|
3333
|
-
id: string;
|
|
3334
|
-
}[];
|
|
3335
|
-
};
|
|
3336
|
-
inStock: boolean;
|
|
3337
|
-
visible: boolean;
|
|
3338
|
-
}[];
|
|
3339
|
-
}[];
|
|
3340
|
-
productPageUrl?: {
|
|
3341
|
-
base: string;
|
|
3342
|
-
path: string;
|
|
3343
|
-
};
|
|
3344
|
-
numericId: string;
|
|
3345
|
-
inventoryItemId: string;
|
|
3346
|
-
discount?: {
|
|
3347
|
-
type: DiscountType$3;
|
|
3348
|
-
value: number;
|
|
3349
|
-
};
|
|
3350
|
-
collectionIds: string[];
|
|
3351
|
-
variants: {
|
|
3352
|
-
id: string;
|
|
3353
|
-
variant?: {
|
|
3354
|
-
priceData?: {
|
|
3355
|
-
currency: string;
|
|
3356
|
-
discountedPrice: number;
|
|
3357
|
-
formatted?: {
|
|
3358
|
-
price: string;
|
|
3359
|
-
discountedPrice: string;
|
|
3360
|
-
};
|
|
3361
|
-
};
|
|
3362
|
-
convertedPriceData?: {
|
|
3363
|
-
currency: string;
|
|
3364
|
-
discountedPrice: number;
|
|
3365
|
-
formatted?: {
|
|
3366
|
-
price: string;
|
|
3367
|
-
discountedPrice: string;
|
|
3368
|
-
};
|
|
3369
|
-
};
|
|
3370
|
-
costAndProfitData?: {
|
|
3371
|
-
formattedItemCost: string;
|
|
3372
|
-
profit: number;
|
|
3373
|
-
formattedProfit: string;
|
|
3374
|
-
profitMargin: number;
|
|
3375
|
-
};
|
|
3376
|
-
weight: number;
|
|
3377
|
-
sku: string;
|
|
3378
|
-
visible: boolean;
|
|
3379
|
-
};
|
|
3380
|
-
stock?: {
|
|
3381
|
-
trackQuantity: boolean;
|
|
3382
|
-
inStock: boolean;
|
|
3383
|
-
};
|
|
3384
|
-
}[];
|
|
3385
|
-
seoData?: {
|
|
3195
|
+
numberOfProducts: number;
|
|
3196
|
+
seoSchema?: {
|
|
3386
3197
|
tags: {
|
|
3387
3198
|
type: string;
|
|
3388
3199
|
children: string;
|
|
@@ -3397,28 +3208,10 @@ interface QueryProductsPlatformizedResponseNonNullableFields$1 {
|
|
|
3397
3208
|
}[];
|
|
3398
3209
|
};
|
|
3399
3210
|
};
|
|
3400
|
-
|
|
3401
|
-
digitalFile?: {
|
|
3402
|
-
id: string;
|
|
3403
|
-
fileName: string;
|
|
3404
|
-
fileType: FileType;
|
|
3405
|
-
};
|
|
3406
|
-
}[];
|
|
3211
|
+
};
|
|
3407
3212
|
}
|
|
3408
|
-
interface
|
|
3409
|
-
|
|
3410
|
-
id: string;
|
|
3411
|
-
slug: string;
|
|
3412
|
-
productType: ProductType$1;
|
|
3413
|
-
weightRange?: {
|
|
3414
|
-
minValue: number;
|
|
3415
|
-
maxValue: number;
|
|
3416
|
-
};
|
|
3417
|
-
stock?: {
|
|
3418
|
-
trackInventory: boolean;
|
|
3419
|
-
inStock: boolean;
|
|
3420
|
-
inventoryStatus: InventoryStatus$1;
|
|
3421
|
-
};
|
|
3213
|
+
interface ProductOptionsAvailabilityResponseNonNullableFields$1 {
|
|
3214
|
+
selectedVariant?: {
|
|
3422
3215
|
price?: {
|
|
3423
3216
|
currency: string;
|
|
3424
3217
|
discountedPrice: number;
|
|
@@ -3427,7 +3220,7 @@ interface GetProductResponseNonNullableFields$1 {
|
|
|
3427
3220
|
discountedPrice: string;
|
|
3428
3221
|
};
|
|
3429
3222
|
};
|
|
3430
|
-
|
|
3223
|
+
convertedPriceData?: {
|
|
3431
3224
|
currency: string;
|
|
3432
3225
|
discountedPrice: number;
|
|
3433
3226
|
formatted?: {
|
|
@@ -3435,445 +3228,145 @@ interface GetProductResponseNonNullableFields$1 {
|
|
|
3435
3228
|
discountedPrice: string;
|
|
3436
3229
|
};
|
|
3437
3230
|
};
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3231
|
+
sku: string;
|
|
3232
|
+
inStock: boolean;
|
|
3233
|
+
visible: boolean;
|
|
3234
|
+
variantId: string;
|
|
3235
|
+
};
|
|
3236
|
+
media?: {
|
|
3237
|
+
mainMedia?: {
|
|
3238
|
+
image?: {
|
|
3239
|
+
url: string;
|
|
3240
|
+
width: number;
|
|
3241
|
+
height: number;
|
|
3444
3242
|
};
|
|
3243
|
+
video?: {
|
|
3244
|
+
files: {
|
|
3245
|
+
url: string;
|
|
3246
|
+
width: number;
|
|
3247
|
+
height: number;
|
|
3248
|
+
}[];
|
|
3249
|
+
stillFrameMediaId: string;
|
|
3250
|
+
};
|
|
3251
|
+
thumbnail?: {
|
|
3252
|
+
url: string;
|
|
3253
|
+
width: number;
|
|
3254
|
+
height: number;
|
|
3255
|
+
};
|
|
3256
|
+
mediaType: MediaItemType$1;
|
|
3257
|
+
title: string;
|
|
3258
|
+
id: string;
|
|
3445
3259
|
};
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
formattedItemCost: string;
|
|
3452
|
-
profit: number;
|
|
3453
|
-
formattedProfit: string;
|
|
3454
|
-
profitMargin: number;
|
|
3455
|
-
};
|
|
3456
|
-
costRange?: {
|
|
3457
|
-
minValue: number;
|
|
3458
|
-
maxValue: number;
|
|
3459
|
-
};
|
|
3460
|
-
pricePerUnitData?: {
|
|
3461
|
-
totalQuantity: number;
|
|
3462
|
-
totalMeasurementUnit: MeasurementUnit$1;
|
|
3463
|
-
baseQuantity: number;
|
|
3464
|
-
baseMeasurementUnit: MeasurementUnit$1;
|
|
3465
|
-
};
|
|
3466
|
-
additionalInfoSections: {
|
|
3467
|
-
title: string;
|
|
3468
|
-
description: string;
|
|
3469
|
-
}[];
|
|
3470
|
-
ribbons: {
|
|
3471
|
-
text: string;
|
|
3472
|
-
}[];
|
|
3473
|
-
media?: {
|
|
3474
|
-
mainMedia?: {
|
|
3475
|
-
image?: {
|
|
3476
|
-
url: string;
|
|
3477
|
-
width: number;
|
|
3478
|
-
height: number;
|
|
3479
|
-
};
|
|
3480
|
-
video?: {
|
|
3481
|
-
files: {
|
|
3482
|
-
url: string;
|
|
3483
|
-
width: number;
|
|
3484
|
-
height: number;
|
|
3485
|
-
}[];
|
|
3486
|
-
stillFrameMediaId: string;
|
|
3487
|
-
};
|
|
3488
|
-
thumbnail?: {
|
|
3489
|
-
url: string;
|
|
3490
|
-
width: number;
|
|
3491
|
-
height: number;
|
|
3492
|
-
};
|
|
3493
|
-
mediaType: MediaItemType$1;
|
|
3494
|
-
title: string;
|
|
3495
|
-
id: string;
|
|
3260
|
+
items: {
|
|
3261
|
+
image?: {
|
|
3262
|
+
url: string;
|
|
3263
|
+
width: number;
|
|
3264
|
+
height: number;
|
|
3496
3265
|
};
|
|
3497
|
-
|
|
3498
|
-
|
|
3266
|
+
video?: {
|
|
3267
|
+
files: {
|
|
3499
3268
|
url: string;
|
|
3500
3269
|
width: number;
|
|
3501
3270
|
height: number;
|
|
3502
|
-
};
|
|
3503
|
-
|
|
3504
|
-
|
|
3271
|
+
}[];
|
|
3272
|
+
stillFrameMediaId: string;
|
|
3273
|
+
};
|
|
3274
|
+
thumbnail?: {
|
|
3275
|
+
url: string;
|
|
3276
|
+
width: number;
|
|
3277
|
+
height: number;
|
|
3278
|
+
};
|
|
3279
|
+
mediaType: MediaItemType$1;
|
|
3280
|
+
title: string;
|
|
3281
|
+
id: string;
|
|
3282
|
+
}[];
|
|
3283
|
+
};
|
|
3284
|
+
productOptions: {
|
|
3285
|
+
optionType: OptionType$1;
|
|
3286
|
+
name: string;
|
|
3287
|
+
choices: {
|
|
3288
|
+
value: string;
|
|
3289
|
+
description: string;
|
|
3290
|
+
media?: {
|
|
3291
|
+
mainMedia?: {
|
|
3292
|
+
image?: {
|
|
3505
3293
|
url: string;
|
|
3506
3294
|
width: number;
|
|
3507
3295
|
height: number;
|
|
3508
|
-
}[];
|
|
3509
|
-
stillFrameMediaId: string;
|
|
3510
|
-
};
|
|
3511
|
-
thumbnail?: {
|
|
3512
|
-
url: string;
|
|
3513
|
-
width: number;
|
|
3514
|
-
height: number;
|
|
3515
|
-
};
|
|
3516
|
-
mediaType: MediaItemType$1;
|
|
3517
|
-
title: string;
|
|
3518
|
-
id: string;
|
|
3519
|
-
}[];
|
|
3520
|
-
};
|
|
3521
|
-
customTextFields: {
|
|
3522
|
-
title: string;
|
|
3523
|
-
maxLength: number;
|
|
3524
|
-
mandatory: boolean;
|
|
3525
|
-
}[];
|
|
3526
|
-
productOptions: {
|
|
3527
|
-
optionType: OptionType$1;
|
|
3528
|
-
name: string;
|
|
3529
|
-
choices: {
|
|
3530
|
-
value: string;
|
|
3531
|
-
description: string;
|
|
3532
|
-
media?: {
|
|
3533
|
-
mainMedia?: {
|
|
3534
|
-
image?: {
|
|
3535
|
-
url: string;
|
|
3536
|
-
width: number;
|
|
3537
|
-
height: number;
|
|
3538
|
-
};
|
|
3539
|
-
video?: {
|
|
3540
|
-
files: {
|
|
3541
|
-
url: string;
|
|
3542
|
-
width: number;
|
|
3543
|
-
height: number;
|
|
3544
|
-
}[];
|
|
3545
|
-
stillFrameMediaId: string;
|
|
3546
|
-
};
|
|
3547
|
-
thumbnail?: {
|
|
3548
|
-
url: string;
|
|
3549
|
-
width: number;
|
|
3550
|
-
height: number;
|
|
3551
|
-
};
|
|
3552
|
-
mediaType: MediaItemType$1;
|
|
3553
|
-
title: string;
|
|
3554
|
-
id: string;
|
|
3555
3296
|
};
|
|
3556
|
-
|
|
3557
|
-
|
|
3297
|
+
video?: {
|
|
3298
|
+
files: {
|
|
3558
3299
|
url: string;
|
|
3559
3300
|
width: number;
|
|
3560
3301
|
height: number;
|
|
3561
|
-
};
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3302
|
+
}[];
|
|
3303
|
+
stillFrameMediaId: string;
|
|
3304
|
+
};
|
|
3305
|
+
thumbnail?: {
|
|
3306
|
+
url: string;
|
|
3307
|
+
width: number;
|
|
3308
|
+
height: number;
|
|
3309
|
+
};
|
|
3310
|
+
mediaType: MediaItemType$1;
|
|
3311
|
+
title: string;
|
|
3312
|
+
id: string;
|
|
3313
|
+
};
|
|
3314
|
+
items: {
|
|
3315
|
+
image?: {
|
|
3316
|
+
url: string;
|
|
3317
|
+
width: number;
|
|
3318
|
+
height: number;
|
|
3319
|
+
};
|
|
3320
|
+
video?: {
|
|
3321
|
+
files: {
|
|
3571
3322
|
url: string;
|
|
3572
3323
|
width: number;
|
|
3573
3324
|
height: number;
|
|
3574
|
-
};
|
|
3575
|
-
|
|
3576
|
-
title: string;
|
|
3577
|
-
id: string;
|
|
3578
|
-
}[];
|
|
3579
|
-
};
|
|
3580
|
-
inStock: boolean;
|
|
3581
|
-
visible: boolean;
|
|
3582
|
-
}[];
|
|
3583
|
-
}[];
|
|
3584
|
-
productPageUrl?: {
|
|
3585
|
-
base: string;
|
|
3586
|
-
path: string;
|
|
3587
|
-
};
|
|
3588
|
-
numericId: string;
|
|
3589
|
-
inventoryItemId: string;
|
|
3590
|
-
discount?: {
|
|
3591
|
-
type: DiscountType$3;
|
|
3592
|
-
value: number;
|
|
3593
|
-
};
|
|
3594
|
-
collectionIds: string[];
|
|
3595
|
-
variants: {
|
|
3596
|
-
id: string;
|
|
3597
|
-
variant?: {
|
|
3598
|
-
priceData?: {
|
|
3599
|
-
currency: string;
|
|
3600
|
-
discountedPrice: number;
|
|
3601
|
-
formatted?: {
|
|
3602
|
-
price: string;
|
|
3603
|
-
discountedPrice: string;
|
|
3325
|
+
}[];
|
|
3326
|
+
stillFrameMediaId: string;
|
|
3604
3327
|
};
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
formatted?: {
|
|
3610
|
-
price: string;
|
|
3611
|
-
discountedPrice: string;
|
|
3328
|
+
thumbnail?: {
|
|
3329
|
+
url: string;
|
|
3330
|
+
width: number;
|
|
3331
|
+
height: number;
|
|
3612
3332
|
};
|
|
3333
|
+
mediaType: MediaItemType$1;
|
|
3334
|
+
title: string;
|
|
3335
|
+
id: string;
|
|
3336
|
+
}[];
|
|
3337
|
+
};
|
|
3338
|
+
inStock: boolean;
|
|
3339
|
+
visible: boolean;
|
|
3340
|
+
}[];
|
|
3341
|
+
}[];
|
|
3342
|
+
availableForPurchase: boolean;
|
|
3343
|
+
managedProduct: boolean;
|
|
3344
|
+
}
|
|
3345
|
+
interface QueryProductVariantsResponseNonNullableFields$1 {
|
|
3346
|
+
variants: {
|
|
3347
|
+
id: string;
|
|
3348
|
+
variant?: {
|
|
3349
|
+
priceData?: {
|
|
3350
|
+
currency: string;
|
|
3351
|
+
discountedPrice: number;
|
|
3352
|
+
formatted?: {
|
|
3353
|
+
price: string;
|
|
3354
|
+
discountedPrice: string;
|
|
3613
3355
|
};
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3356
|
+
};
|
|
3357
|
+
convertedPriceData?: {
|
|
3358
|
+
currency: string;
|
|
3359
|
+
discountedPrice: number;
|
|
3360
|
+
formatted?: {
|
|
3361
|
+
price: string;
|
|
3362
|
+
discountedPrice: string;
|
|
3619
3363
|
};
|
|
3620
|
-
weight: number;
|
|
3621
|
-
sku: string;
|
|
3622
|
-
visible: boolean;
|
|
3623
3364
|
};
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
seoData?: {
|
|
3630
|
-
tags: {
|
|
3631
|
-
type: string;
|
|
3632
|
-
children: string;
|
|
3633
|
-
custom: boolean;
|
|
3634
|
-
disabled: boolean;
|
|
3635
|
-
}[];
|
|
3636
|
-
settings?: {
|
|
3637
|
-
preventAutoRedirect: boolean;
|
|
3638
|
-
keywords: {
|
|
3639
|
-
term: string;
|
|
3640
|
-
isMain: boolean;
|
|
3641
|
-
}[];
|
|
3642
|
-
};
|
|
3643
|
-
};
|
|
3644
|
-
exportProductId: string;
|
|
3645
|
-
digitalFile?: {
|
|
3646
|
-
id: string;
|
|
3647
|
-
fileName: string;
|
|
3648
|
-
fileType: FileType;
|
|
3649
|
-
};
|
|
3650
|
-
};
|
|
3651
|
-
}
|
|
3652
|
-
interface GetCollectionBySlugResponseNonNullableFields$1 {
|
|
3653
|
-
collection?: {
|
|
3654
|
-
media?: {
|
|
3655
|
-
mainMedia?: {
|
|
3656
|
-
image?: {
|
|
3657
|
-
url: string;
|
|
3658
|
-
width: number;
|
|
3659
|
-
height: number;
|
|
3660
|
-
};
|
|
3661
|
-
video?: {
|
|
3662
|
-
files: {
|
|
3663
|
-
url: string;
|
|
3664
|
-
width: number;
|
|
3665
|
-
height: number;
|
|
3666
|
-
}[];
|
|
3667
|
-
stillFrameMediaId: string;
|
|
3668
|
-
};
|
|
3669
|
-
thumbnail?: {
|
|
3670
|
-
url: string;
|
|
3671
|
-
width: number;
|
|
3672
|
-
height: number;
|
|
3673
|
-
};
|
|
3674
|
-
mediaType: MediaItemType$1;
|
|
3675
|
-
title: string;
|
|
3676
|
-
id: string;
|
|
3677
|
-
};
|
|
3678
|
-
items: {
|
|
3679
|
-
image?: {
|
|
3680
|
-
url: string;
|
|
3681
|
-
width: number;
|
|
3682
|
-
height: number;
|
|
3683
|
-
};
|
|
3684
|
-
video?: {
|
|
3685
|
-
files: {
|
|
3686
|
-
url: string;
|
|
3687
|
-
width: number;
|
|
3688
|
-
height: number;
|
|
3689
|
-
}[];
|
|
3690
|
-
stillFrameMediaId: string;
|
|
3691
|
-
};
|
|
3692
|
-
thumbnail?: {
|
|
3693
|
-
url: string;
|
|
3694
|
-
width: number;
|
|
3695
|
-
height: number;
|
|
3696
|
-
};
|
|
3697
|
-
mediaType: MediaItemType$1;
|
|
3698
|
-
title: string;
|
|
3699
|
-
id: string;
|
|
3700
|
-
}[];
|
|
3701
|
-
};
|
|
3702
|
-
numberOfProducts: number;
|
|
3703
|
-
seoSchema?: {
|
|
3704
|
-
tags: {
|
|
3705
|
-
type: string;
|
|
3706
|
-
children: string;
|
|
3707
|
-
custom: boolean;
|
|
3708
|
-
disabled: boolean;
|
|
3709
|
-
}[];
|
|
3710
|
-
settings?: {
|
|
3711
|
-
preventAutoRedirect: boolean;
|
|
3712
|
-
keywords: {
|
|
3713
|
-
term: string;
|
|
3714
|
-
isMain: boolean;
|
|
3715
|
-
}[];
|
|
3716
|
-
};
|
|
3717
|
-
};
|
|
3718
|
-
};
|
|
3719
|
-
}
|
|
3720
|
-
interface ProductOptionsAvailabilityResponseNonNullableFields$1 {
|
|
3721
|
-
selectedVariant?: {
|
|
3722
|
-
price?: {
|
|
3723
|
-
currency: string;
|
|
3724
|
-
discountedPrice: number;
|
|
3725
|
-
formatted?: {
|
|
3726
|
-
price: string;
|
|
3727
|
-
discountedPrice: string;
|
|
3728
|
-
};
|
|
3729
|
-
};
|
|
3730
|
-
convertedPriceData?: {
|
|
3731
|
-
currency: string;
|
|
3732
|
-
discountedPrice: number;
|
|
3733
|
-
formatted?: {
|
|
3734
|
-
price: string;
|
|
3735
|
-
discountedPrice: string;
|
|
3736
|
-
};
|
|
3737
|
-
};
|
|
3738
|
-
sku: string;
|
|
3739
|
-
inStock: boolean;
|
|
3740
|
-
visible: boolean;
|
|
3741
|
-
variantId: string;
|
|
3742
|
-
};
|
|
3743
|
-
media?: {
|
|
3744
|
-
mainMedia?: {
|
|
3745
|
-
image?: {
|
|
3746
|
-
url: string;
|
|
3747
|
-
width: number;
|
|
3748
|
-
height: number;
|
|
3749
|
-
};
|
|
3750
|
-
video?: {
|
|
3751
|
-
files: {
|
|
3752
|
-
url: string;
|
|
3753
|
-
width: number;
|
|
3754
|
-
height: number;
|
|
3755
|
-
}[];
|
|
3756
|
-
stillFrameMediaId: string;
|
|
3757
|
-
};
|
|
3758
|
-
thumbnail?: {
|
|
3759
|
-
url: string;
|
|
3760
|
-
width: number;
|
|
3761
|
-
height: number;
|
|
3762
|
-
};
|
|
3763
|
-
mediaType: MediaItemType$1;
|
|
3764
|
-
title: string;
|
|
3765
|
-
id: string;
|
|
3766
|
-
};
|
|
3767
|
-
items: {
|
|
3768
|
-
image?: {
|
|
3769
|
-
url: string;
|
|
3770
|
-
width: number;
|
|
3771
|
-
height: number;
|
|
3772
|
-
};
|
|
3773
|
-
video?: {
|
|
3774
|
-
files: {
|
|
3775
|
-
url: string;
|
|
3776
|
-
width: number;
|
|
3777
|
-
height: number;
|
|
3778
|
-
}[];
|
|
3779
|
-
stillFrameMediaId: string;
|
|
3780
|
-
};
|
|
3781
|
-
thumbnail?: {
|
|
3782
|
-
url: string;
|
|
3783
|
-
width: number;
|
|
3784
|
-
height: number;
|
|
3785
|
-
};
|
|
3786
|
-
mediaType: MediaItemType$1;
|
|
3787
|
-
title: string;
|
|
3788
|
-
id: string;
|
|
3789
|
-
}[];
|
|
3790
|
-
};
|
|
3791
|
-
productOptions: {
|
|
3792
|
-
optionType: OptionType$1;
|
|
3793
|
-
name: string;
|
|
3794
|
-
choices: {
|
|
3795
|
-
value: string;
|
|
3796
|
-
description: string;
|
|
3797
|
-
media?: {
|
|
3798
|
-
mainMedia?: {
|
|
3799
|
-
image?: {
|
|
3800
|
-
url: string;
|
|
3801
|
-
width: number;
|
|
3802
|
-
height: number;
|
|
3803
|
-
};
|
|
3804
|
-
video?: {
|
|
3805
|
-
files: {
|
|
3806
|
-
url: string;
|
|
3807
|
-
width: number;
|
|
3808
|
-
height: number;
|
|
3809
|
-
}[];
|
|
3810
|
-
stillFrameMediaId: string;
|
|
3811
|
-
};
|
|
3812
|
-
thumbnail?: {
|
|
3813
|
-
url: string;
|
|
3814
|
-
width: number;
|
|
3815
|
-
height: number;
|
|
3816
|
-
};
|
|
3817
|
-
mediaType: MediaItemType$1;
|
|
3818
|
-
title: string;
|
|
3819
|
-
id: string;
|
|
3820
|
-
};
|
|
3821
|
-
items: {
|
|
3822
|
-
image?: {
|
|
3823
|
-
url: string;
|
|
3824
|
-
width: number;
|
|
3825
|
-
height: number;
|
|
3826
|
-
};
|
|
3827
|
-
video?: {
|
|
3828
|
-
files: {
|
|
3829
|
-
url: string;
|
|
3830
|
-
width: number;
|
|
3831
|
-
height: number;
|
|
3832
|
-
}[];
|
|
3833
|
-
stillFrameMediaId: string;
|
|
3834
|
-
};
|
|
3835
|
-
thumbnail?: {
|
|
3836
|
-
url: string;
|
|
3837
|
-
width: number;
|
|
3838
|
-
height: number;
|
|
3839
|
-
};
|
|
3840
|
-
mediaType: MediaItemType$1;
|
|
3841
|
-
title: string;
|
|
3842
|
-
id: string;
|
|
3843
|
-
}[];
|
|
3844
|
-
};
|
|
3845
|
-
inStock: boolean;
|
|
3846
|
-
visible: boolean;
|
|
3847
|
-
}[];
|
|
3848
|
-
}[];
|
|
3849
|
-
availableForPurchase: boolean;
|
|
3850
|
-
managedProduct: boolean;
|
|
3851
|
-
}
|
|
3852
|
-
interface QueryProductVariantsResponseNonNullableFields$1 {
|
|
3853
|
-
variants: {
|
|
3854
|
-
id: string;
|
|
3855
|
-
variant?: {
|
|
3856
|
-
priceData?: {
|
|
3857
|
-
currency: string;
|
|
3858
|
-
discountedPrice: number;
|
|
3859
|
-
formatted?: {
|
|
3860
|
-
price: string;
|
|
3861
|
-
discountedPrice: string;
|
|
3862
|
-
};
|
|
3863
|
-
};
|
|
3864
|
-
convertedPriceData?: {
|
|
3865
|
-
currency: string;
|
|
3866
|
-
discountedPrice: number;
|
|
3867
|
-
formatted?: {
|
|
3868
|
-
price: string;
|
|
3869
|
-
discountedPrice: string;
|
|
3870
|
-
};
|
|
3871
|
-
};
|
|
3872
|
-
costAndProfitData?: {
|
|
3873
|
-
formattedItemCost: string;
|
|
3874
|
-
profit: number;
|
|
3875
|
-
formattedProfit: string;
|
|
3876
|
-
profitMargin: number;
|
|
3365
|
+
costAndProfitData?: {
|
|
3366
|
+
formattedItemCost: string;
|
|
3367
|
+
profit: number;
|
|
3368
|
+
formattedProfit: string;
|
|
3369
|
+
profitMargin: number;
|
|
3877
3370
|
};
|
|
3878
3371
|
weight: number;
|
|
3879
3372
|
sku: string;
|
|
@@ -4840,30 +4333,11 @@ interface BulkAdjustProductPropertiesResponse {
|
|
|
4840
4333
|
/** Bulk action metadata. */
|
|
4841
4334
|
bulkActionMetadata?: BulkActionMetadata;
|
|
4842
4335
|
}
|
|
4843
|
-
interface
|
|
4844
|
-
/**
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
product?: Product;
|
|
4849
|
-
}
|
|
4850
|
-
interface V1UpdateProductPlatformizedRequest {
|
|
4851
|
-
product: Product;
|
|
4852
|
-
}
|
|
4853
|
-
interface V1UpdateProductPlatformizedResponse {
|
|
4854
|
-
product?: Product;
|
|
4855
|
-
}
|
|
4856
|
-
interface V1DeleteProductPlatformizedRequest {
|
|
4857
|
-
/** ID of the product to delete. */
|
|
4858
|
-
_id: string;
|
|
4859
|
-
}
|
|
4860
|
-
interface V1DeleteProductPlatformizedResponse {
|
|
4861
|
-
}
|
|
4862
|
-
interface Paging$2 {
|
|
4863
|
-
/** Amount of items to load per page */
|
|
4864
|
-
limit?: number | null;
|
|
4865
|
-
/** Number of items to skip in the display (relevant for all pages after the first) */
|
|
4866
|
-
offset?: number | null;
|
|
4336
|
+
interface Paging$2 {
|
|
4337
|
+
/** Amount of items to load per page */
|
|
4338
|
+
limit?: number | null;
|
|
4339
|
+
/** Number of items to skip in the display (relevant for all pages after the first) */
|
|
4340
|
+
offset?: number | null;
|
|
4867
4341
|
}
|
|
4868
4342
|
interface PagingMetadata$2 {
|
|
4869
4343
|
/** Amount of items to load per page */
|
|
@@ -5028,706 +4502,54 @@ interface StoreVariant {
|
|
|
5028
4502
|
variantId?: string;
|
|
5029
4503
|
/** Product ID. */
|
|
5030
4504
|
productId?: string;
|
|
5031
|
-
/** Variant name. */
|
|
5032
|
-
variantName?: string;
|
|
5033
|
-
/** Product name. */
|
|
5034
|
-
productName?: string;
|
|
5035
|
-
/** Whether the variant is managed or represents a product. */
|
|
5036
|
-
managedVariant?: boolean;
|
|
5037
|
-
/** Variant SKU (stock keeping unit). */
|
|
5038
|
-
sku?: string;
|
|
5039
|
-
/** Variant inventory status. */
|
|
5040
|
-
stock?: VariantStock;
|
|
5041
|
-
/** The selected options of this variant. For example, `{"Color": "Blue", "Size": "Large"}`. */
|
|
5042
|
-
choices?: Record<string, string>;
|
|
5043
|
-
/** Collections that include this variant. */
|
|
5044
|
-
collectionIds?: string[];
|
|
5045
|
-
/**
|
|
5046
|
-
* Media items (images, videos) associated with this variant.
|
|
5047
|
-
* @readonly
|
|
5048
|
-
*/
|
|
5049
|
-
media?: PlatformMedia;
|
|
5050
|
-
/** Preorder information. */
|
|
5051
|
-
preorderInfo?: PreorderInfo$2;
|
|
5052
|
-
}
|
|
5053
|
-
interface PlatformMedia extends PlatformMediaMediaOneOf {
|
|
5054
|
-
image?: string;
|
|
5055
|
-
video?: string;
|
|
5056
|
-
}
|
|
5057
|
-
/** @oneof */
|
|
5058
|
-
interface PlatformMediaMediaOneOf {
|
|
5059
|
-
image?: string;
|
|
5060
|
-
video?: string;
|
|
5061
|
-
}
|
|
5062
|
-
interface PreorderInfo$2 {
|
|
5063
|
-
/** Whether the item is available for preorder. */
|
|
5064
|
-
enabled?: boolean;
|
|
5065
|
-
/** A message the buyer will see when the item is out of stock and preorder is enabled. */
|
|
5066
|
-
message?: string | null;
|
|
5067
|
-
/** Number of products that can be preordered after stock reaches zero. */
|
|
5068
|
-
limit?: number | null;
|
|
5069
|
-
}
|
|
5070
|
-
interface GetStoreVariantRequest {
|
|
5071
|
-
/** Store variant ID. Comprised of the `productId` and the `variantId`, separated by a hyphen. For example, `{productId}-{variantId}`. */
|
|
5072
|
-
_id: string;
|
|
5073
|
-
}
|
|
5074
|
-
interface GetStoreVariantResponse {
|
|
5075
|
-
/** The requested store variant. */
|
|
5076
|
-
variant?: StoreVariant;
|
|
5077
|
-
}
|
|
5078
|
-
interface CreateProductResponseNonNullableFields {
|
|
5079
|
-
product?: {
|
|
5080
|
-
_id: string;
|
|
5081
|
-
slug: string;
|
|
5082
|
-
productType: ProductType;
|
|
5083
|
-
weightRange?: {
|
|
5084
|
-
minValue: number;
|
|
5085
|
-
maxValue: number;
|
|
5086
|
-
};
|
|
5087
|
-
stock?: {
|
|
5088
|
-
trackInventory: boolean;
|
|
5089
|
-
inStock: boolean;
|
|
5090
|
-
inventoryStatus: InventoryStatus;
|
|
5091
|
-
};
|
|
5092
|
-
price?: {
|
|
5093
|
-
currency: string;
|
|
5094
|
-
discountedPrice: number;
|
|
5095
|
-
formatted?: {
|
|
5096
|
-
price: string;
|
|
5097
|
-
discountedPrice: string;
|
|
5098
|
-
};
|
|
5099
|
-
};
|
|
5100
|
-
priceData?: {
|
|
5101
|
-
currency: string;
|
|
5102
|
-
discountedPrice: number;
|
|
5103
|
-
formatted?: {
|
|
5104
|
-
price: string;
|
|
5105
|
-
discountedPrice: string;
|
|
5106
|
-
};
|
|
5107
|
-
};
|
|
5108
|
-
convertedPriceData?: {
|
|
5109
|
-
currency: string;
|
|
5110
|
-
discountedPrice: number;
|
|
5111
|
-
formatted?: {
|
|
5112
|
-
price: string;
|
|
5113
|
-
discountedPrice: string;
|
|
5114
|
-
};
|
|
5115
|
-
};
|
|
5116
|
-
priceRange?: {
|
|
5117
|
-
minValue: number;
|
|
5118
|
-
maxValue: number;
|
|
5119
|
-
};
|
|
5120
|
-
costAndProfitData?: {
|
|
5121
|
-
formattedItemCost: string;
|
|
5122
|
-
profit: number;
|
|
5123
|
-
formattedProfit: string;
|
|
5124
|
-
profitMargin: number;
|
|
5125
|
-
};
|
|
5126
|
-
costRange?: {
|
|
5127
|
-
minValue: number;
|
|
5128
|
-
maxValue: number;
|
|
5129
|
-
};
|
|
5130
|
-
pricePerUnitData?: {
|
|
5131
|
-
totalQuantity: number;
|
|
5132
|
-
totalMeasurementUnit: MeasurementUnit;
|
|
5133
|
-
baseQuantity: number;
|
|
5134
|
-
baseMeasurementUnit: MeasurementUnit;
|
|
5135
|
-
};
|
|
5136
|
-
additionalInfoSections: {
|
|
5137
|
-
title: string;
|
|
5138
|
-
description: string;
|
|
5139
|
-
}[];
|
|
5140
|
-
ribbons: {
|
|
5141
|
-
text: string;
|
|
5142
|
-
}[];
|
|
5143
|
-
media?: {
|
|
5144
|
-
mainMedia?: {
|
|
5145
|
-
image?: {
|
|
5146
|
-
url: string;
|
|
5147
|
-
width: number;
|
|
5148
|
-
height: number;
|
|
5149
|
-
};
|
|
5150
|
-
video?: {
|
|
5151
|
-
files: {
|
|
5152
|
-
url: string;
|
|
5153
|
-
width: number;
|
|
5154
|
-
height: number;
|
|
5155
|
-
}[];
|
|
5156
|
-
stillFrameMediaId: string;
|
|
5157
|
-
};
|
|
5158
|
-
thumbnail?: {
|
|
5159
|
-
url: string;
|
|
5160
|
-
width: number;
|
|
5161
|
-
height: number;
|
|
5162
|
-
};
|
|
5163
|
-
mediaType: MediaItemType;
|
|
5164
|
-
title: string;
|
|
5165
|
-
_id: string;
|
|
5166
|
-
};
|
|
5167
|
-
items: {
|
|
5168
|
-
image?: {
|
|
5169
|
-
url: string;
|
|
5170
|
-
width: number;
|
|
5171
|
-
height: number;
|
|
5172
|
-
};
|
|
5173
|
-
video?: {
|
|
5174
|
-
files: {
|
|
5175
|
-
url: string;
|
|
5176
|
-
width: number;
|
|
5177
|
-
height: number;
|
|
5178
|
-
}[];
|
|
5179
|
-
stillFrameMediaId: string;
|
|
5180
|
-
};
|
|
5181
|
-
thumbnail?: {
|
|
5182
|
-
url: string;
|
|
5183
|
-
width: number;
|
|
5184
|
-
height: number;
|
|
5185
|
-
};
|
|
5186
|
-
mediaType: MediaItemType;
|
|
5187
|
-
title: string;
|
|
5188
|
-
_id: string;
|
|
5189
|
-
}[];
|
|
5190
|
-
};
|
|
5191
|
-
customTextFields: {
|
|
5192
|
-
title: string;
|
|
5193
|
-
maxLength: number;
|
|
5194
|
-
mandatory: boolean;
|
|
5195
|
-
}[];
|
|
5196
|
-
productOptions: {
|
|
5197
|
-
optionType: OptionType;
|
|
5198
|
-
name: string;
|
|
5199
|
-
choices: {
|
|
5200
|
-
value: string;
|
|
5201
|
-
description: string;
|
|
5202
|
-
media?: {
|
|
5203
|
-
mainMedia?: {
|
|
5204
|
-
image?: {
|
|
5205
|
-
url: string;
|
|
5206
|
-
width: number;
|
|
5207
|
-
height: number;
|
|
5208
|
-
};
|
|
5209
|
-
video?: {
|
|
5210
|
-
files: {
|
|
5211
|
-
url: string;
|
|
5212
|
-
width: number;
|
|
5213
|
-
height: number;
|
|
5214
|
-
}[];
|
|
5215
|
-
stillFrameMediaId: string;
|
|
5216
|
-
};
|
|
5217
|
-
thumbnail?: {
|
|
5218
|
-
url: string;
|
|
5219
|
-
width: number;
|
|
5220
|
-
height: number;
|
|
5221
|
-
};
|
|
5222
|
-
mediaType: MediaItemType;
|
|
5223
|
-
title: string;
|
|
5224
|
-
_id: string;
|
|
5225
|
-
};
|
|
5226
|
-
items: {
|
|
5227
|
-
image?: {
|
|
5228
|
-
url: string;
|
|
5229
|
-
width: number;
|
|
5230
|
-
height: number;
|
|
5231
|
-
};
|
|
5232
|
-
video?: {
|
|
5233
|
-
files: {
|
|
5234
|
-
url: string;
|
|
5235
|
-
width: number;
|
|
5236
|
-
height: number;
|
|
5237
|
-
}[];
|
|
5238
|
-
stillFrameMediaId: string;
|
|
5239
|
-
};
|
|
5240
|
-
thumbnail?: {
|
|
5241
|
-
url: string;
|
|
5242
|
-
width: number;
|
|
5243
|
-
height: number;
|
|
5244
|
-
};
|
|
5245
|
-
mediaType: MediaItemType;
|
|
5246
|
-
title: string;
|
|
5247
|
-
_id: string;
|
|
5248
|
-
}[];
|
|
5249
|
-
};
|
|
5250
|
-
inStock: boolean;
|
|
5251
|
-
visible: boolean;
|
|
5252
|
-
}[];
|
|
5253
|
-
}[];
|
|
5254
|
-
productPageUrl?: {
|
|
5255
|
-
base: string;
|
|
5256
|
-
path: string;
|
|
5257
|
-
};
|
|
5258
|
-
numericId: string;
|
|
5259
|
-
inventoryItemId: string;
|
|
5260
|
-
discount?: {
|
|
5261
|
-
type: DiscountType$2;
|
|
5262
|
-
value: number;
|
|
5263
|
-
};
|
|
5264
|
-
collectionIds: string[];
|
|
5265
|
-
variants: {
|
|
5266
|
-
_id: string;
|
|
5267
|
-
variant?: {
|
|
5268
|
-
priceData?: {
|
|
5269
|
-
currency: string;
|
|
5270
|
-
discountedPrice: number;
|
|
5271
|
-
formatted?: {
|
|
5272
|
-
price: string;
|
|
5273
|
-
discountedPrice: string;
|
|
5274
|
-
};
|
|
5275
|
-
};
|
|
5276
|
-
convertedPriceData?: {
|
|
5277
|
-
currency: string;
|
|
5278
|
-
discountedPrice: number;
|
|
5279
|
-
formatted?: {
|
|
5280
|
-
price: string;
|
|
5281
|
-
discountedPrice: string;
|
|
5282
|
-
};
|
|
5283
|
-
};
|
|
5284
|
-
costAndProfitData?: {
|
|
5285
|
-
formattedItemCost: string;
|
|
5286
|
-
profit: number;
|
|
5287
|
-
formattedProfit: string;
|
|
5288
|
-
profitMargin: number;
|
|
5289
|
-
};
|
|
5290
|
-
weight: number;
|
|
5291
|
-
sku: string;
|
|
5292
|
-
visible: boolean;
|
|
5293
|
-
};
|
|
5294
|
-
stock?: {
|
|
5295
|
-
trackQuantity: boolean;
|
|
5296
|
-
inStock: boolean;
|
|
5297
|
-
};
|
|
5298
|
-
}[];
|
|
5299
|
-
seoData?: {
|
|
5300
|
-
tags: {
|
|
5301
|
-
type: string;
|
|
5302
|
-
children: string;
|
|
5303
|
-
custom: boolean;
|
|
5304
|
-
disabled: boolean;
|
|
5305
|
-
}[];
|
|
5306
|
-
settings?: {
|
|
5307
|
-
preventAutoRedirect: boolean;
|
|
5308
|
-
keywords: {
|
|
5309
|
-
term: string;
|
|
5310
|
-
isMain: boolean;
|
|
5311
|
-
}[];
|
|
5312
|
-
};
|
|
5313
|
-
};
|
|
5314
|
-
};
|
|
5315
|
-
}
|
|
5316
|
-
interface UpdateProductResponseNonNullableFields {
|
|
5317
|
-
product?: {
|
|
5318
|
-
_id: string;
|
|
5319
|
-
slug: string;
|
|
5320
|
-
productType: ProductType;
|
|
5321
|
-
weightRange?: {
|
|
5322
|
-
minValue: number;
|
|
5323
|
-
maxValue: number;
|
|
5324
|
-
};
|
|
5325
|
-
stock?: {
|
|
5326
|
-
trackInventory: boolean;
|
|
5327
|
-
inStock: boolean;
|
|
5328
|
-
inventoryStatus: InventoryStatus;
|
|
5329
|
-
};
|
|
5330
|
-
price?: {
|
|
5331
|
-
currency: string;
|
|
5332
|
-
discountedPrice: number;
|
|
5333
|
-
formatted?: {
|
|
5334
|
-
price: string;
|
|
5335
|
-
discountedPrice: string;
|
|
5336
|
-
};
|
|
5337
|
-
};
|
|
5338
|
-
priceData?: {
|
|
5339
|
-
currency: string;
|
|
5340
|
-
discountedPrice: number;
|
|
5341
|
-
formatted?: {
|
|
5342
|
-
price: string;
|
|
5343
|
-
discountedPrice: string;
|
|
5344
|
-
};
|
|
5345
|
-
};
|
|
5346
|
-
convertedPriceData?: {
|
|
5347
|
-
currency: string;
|
|
5348
|
-
discountedPrice: number;
|
|
5349
|
-
formatted?: {
|
|
5350
|
-
price: string;
|
|
5351
|
-
discountedPrice: string;
|
|
5352
|
-
};
|
|
5353
|
-
};
|
|
5354
|
-
priceRange?: {
|
|
5355
|
-
minValue: number;
|
|
5356
|
-
maxValue: number;
|
|
5357
|
-
};
|
|
5358
|
-
costAndProfitData?: {
|
|
5359
|
-
formattedItemCost: string;
|
|
5360
|
-
profit: number;
|
|
5361
|
-
formattedProfit: string;
|
|
5362
|
-
profitMargin: number;
|
|
5363
|
-
};
|
|
5364
|
-
costRange?: {
|
|
5365
|
-
minValue: number;
|
|
5366
|
-
maxValue: number;
|
|
5367
|
-
};
|
|
5368
|
-
pricePerUnitData?: {
|
|
5369
|
-
totalQuantity: number;
|
|
5370
|
-
totalMeasurementUnit: MeasurementUnit;
|
|
5371
|
-
baseQuantity: number;
|
|
5372
|
-
baseMeasurementUnit: MeasurementUnit;
|
|
5373
|
-
};
|
|
5374
|
-
additionalInfoSections: {
|
|
5375
|
-
title: string;
|
|
5376
|
-
description: string;
|
|
5377
|
-
}[];
|
|
5378
|
-
ribbons: {
|
|
5379
|
-
text: string;
|
|
5380
|
-
}[];
|
|
5381
|
-
media?: {
|
|
5382
|
-
mainMedia?: {
|
|
5383
|
-
image?: {
|
|
5384
|
-
url: string;
|
|
5385
|
-
width: number;
|
|
5386
|
-
height: number;
|
|
5387
|
-
};
|
|
5388
|
-
video?: {
|
|
5389
|
-
files: {
|
|
5390
|
-
url: string;
|
|
5391
|
-
width: number;
|
|
5392
|
-
height: number;
|
|
5393
|
-
}[];
|
|
5394
|
-
stillFrameMediaId: string;
|
|
5395
|
-
};
|
|
5396
|
-
thumbnail?: {
|
|
5397
|
-
url: string;
|
|
5398
|
-
width: number;
|
|
5399
|
-
height: number;
|
|
5400
|
-
};
|
|
5401
|
-
mediaType: MediaItemType;
|
|
5402
|
-
title: string;
|
|
5403
|
-
_id: string;
|
|
5404
|
-
};
|
|
5405
|
-
items: {
|
|
5406
|
-
image?: {
|
|
5407
|
-
url: string;
|
|
5408
|
-
width: number;
|
|
5409
|
-
height: number;
|
|
5410
|
-
};
|
|
5411
|
-
video?: {
|
|
5412
|
-
files: {
|
|
5413
|
-
url: string;
|
|
5414
|
-
width: number;
|
|
5415
|
-
height: number;
|
|
5416
|
-
}[];
|
|
5417
|
-
stillFrameMediaId: string;
|
|
5418
|
-
};
|
|
5419
|
-
thumbnail?: {
|
|
5420
|
-
url: string;
|
|
5421
|
-
width: number;
|
|
5422
|
-
height: number;
|
|
5423
|
-
};
|
|
5424
|
-
mediaType: MediaItemType;
|
|
5425
|
-
title: string;
|
|
5426
|
-
_id: string;
|
|
5427
|
-
}[];
|
|
5428
|
-
};
|
|
5429
|
-
customTextFields: {
|
|
5430
|
-
title: string;
|
|
5431
|
-
maxLength: number;
|
|
5432
|
-
mandatory: boolean;
|
|
5433
|
-
}[];
|
|
5434
|
-
productOptions: {
|
|
5435
|
-
optionType: OptionType;
|
|
5436
|
-
name: string;
|
|
5437
|
-
choices: {
|
|
5438
|
-
value: string;
|
|
5439
|
-
description: string;
|
|
5440
|
-
media?: {
|
|
5441
|
-
mainMedia?: {
|
|
5442
|
-
image?: {
|
|
5443
|
-
url: string;
|
|
5444
|
-
width: number;
|
|
5445
|
-
height: number;
|
|
5446
|
-
};
|
|
5447
|
-
video?: {
|
|
5448
|
-
files: {
|
|
5449
|
-
url: string;
|
|
5450
|
-
width: number;
|
|
5451
|
-
height: number;
|
|
5452
|
-
}[];
|
|
5453
|
-
stillFrameMediaId: string;
|
|
5454
|
-
};
|
|
5455
|
-
thumbnail?: {
|
|
5456
|
-
url: string;
|
|
5457
|
-
width: number;
|
|
5458
|
-
height: number;
|
|
5459
|
-
};
|
|
5460
|
-
mediaType: MediaItemType;
|
|
5461
|
-
title: string;
|
|
5462
|
-
_id: string;
|
|
5463
|
-
};
|
|
5464
|
-
items: {
|
|
5465
|
-
image?: {
|
|
5466
|
-
url: string;
|
|
5467
|
-
width: number;
|
|
5468
|
-
height: number;
|
|
5469
|
-
};
|
|
5470
|
-
video?: {
|
|
5471
|
-
files: {
|
|
5472
|
-
url: string;
|
|
5473
|
-
width: number;
|
|
5474
|
-
height: number;
|
|
5475
|
-
}[];
|
|
5476
|
-
stillFrameMediaId: string;
|
|
5477
|
-
};
|
|
5478
|
-
thumbnail?: {
|
|
5479
|
-
url: string;
|
|
5480
|
-
width: number;
|
|
5481
|
-
height: number;
|
|
5482
|
-
};
|
|
5483
|
-
mediaType: MediaItemType;
|
|
5484
|
-
title: string;
|
|
5485
|
-
_id: string;
|
|
5486
|
-
}[];
|
|
5487
|
-
};
|
|
5488
|
-
inStock: boolean;
|
|
5489
|
-
visible: boolean;
|
|
5490
|
-
}[];
|
|
5491
|
-
}[];
|
|
5492
|
-
productPageUrl?: {
|
|
5493
|
-
base: string;
|
|
5494
|
-
path: string;
|
|
5495
|
-
};
|
|
5496
|
-
numericId: string;
|
|
5497
|
-
inventoryItemId: string;
|
|
5498
|
-
discount?: {
|
|
5499
|
-
type: DiscountType$2;
|
|
5500
|
-
value: number;
|
|
5501
|
-
};
|
|
5502
|
-
collectionIds: string[];
|
|
5503
|
-
variants: {
|
|
5504
|
-
_id: string;
|
|
5505
|
-
variant?: {
|
|
5506
|
-
priceData?: {
|
|
5507
|
-
currency: string;
|
|
5508
|
-
discountedPrice: number;
|
|
5509
|
-
formatted?: {
|
|
5510
|
-
price: string;
|
|
5511
|
-
discountedPrice: string;
|
|
5512
|
-
};
|
|
5513
|
-
};
|
|
5514
|
-
convertedPriceData?: {
|
|
5515
|
-
currency: string;
|
|
5516
|
-
discountedPrice: number;
|
|
5517
|
-
formatted?: {
|
|
5518
|
-
price: string;
|
|
5519
|
-
discountedPrice: string;
|
|
5520
|
-
};
|
|
5521
|
-
};
|
|
5522
|
-
costAndProfitData?: {
|
|
5523
|
-
formattedItemCost: string;
|
|
5524
|
-
profit: number;
|
|
5525
|
-
formattedProfit: string;
|
|
5526
|
-
profitMargin: number;
|
|
5527
|
-
};
|
|
5528
|
-
weight: number;
|
|
5529
|
-
sku: string;
|
|
5530
|
-
visible: boolean;
|
|
5531
|
-
};
|
|
5532
|
-
stock?: {
|
|
5533
|
-
trackQuantity: boolean;
|
|
5534
|
-
inStock: boolean;
|
|
5535
|
-
};
|
|
5536
|
-
}[];
|
|
5537
|
-
seoData?: {
|
|
5538
|
-
tags: {
|
|
5539
|
-
type: string;
|
|
5540
|
-
children: string;
|
|
5541
|
-
custom: boolean;
|
|
5542
|
-
disabled: boolean;
|
|
5543
|
-
}[];
|
|
5544
|
-
settings?: {
|
|
5545
|
-
preventAutoRedirect: boolean;
|
|
5546
|
-
keywords: {
|
|
5547
|
-
term: string;
|
|
5548
|
-
isMain: boolean;
|
|
5549
|
-
}[];
|
|
5550
|
-
};
|
|
5551
|
-
};
|
|
5552
|
-
};
|
|
5553
|
-
}
|
|
5554
|
-
interface UpdateVariantsResponseNonNullableFields {
|
|
5555
|
-
variants: {
|
|
5556
|
-
_id: string;
|
|
5557
|
-
variant?: {
|
|
5558
|
-
priceData?: {
|
|
5559
|
-
currency: string;
|
|
5560
|
-
discountedPrice: number;
|
|
5561
|
-
formatted?: {
|
|
5562
|
-
price: string;
|
|
5563
|
-
discountedPrice: string;
|
|
5564
|
-
};
|
|
5565
|
-
};
|
|
5566
|
-
convertedPriceData?: {
|
|
5567
|
-
currency: string;
|
|
5568
|
-
discountedPrice: number;
|
|
5569
|
-
formatted?: {
|
|
5570
|
-
price: string;
|
|
5571
|
-
discountedPrice: string;
|
|
5572
|
-
};
|
|
5573
|
-
};
|
|
5574
|
-
costAndProfitData?: {
|
|
5575
|
-
formattedItemCost: string;
|
|
5576
|
-
profit: number;
|
|
5577
|
-
formattedProfit: string;
|
|
5578
|
-
profitMargin: number;
|
|
5579
|
-
};
|
|
5580
|
-
weight: number;
|
|
5581
|
-
sku: string;
|
|
5582
|
-
visible: boolean;
|
|
5583
|
-
};
|
|
5584
|
-
stock?: {
|
|
5585
|
-
trackQuantity: boolean;
|
|
5586
|
-
inStock: boolean;
|
|
5587
|
-
};
|
|
5588
|
-
}[];
|
|
5589
|
-
}
|
|
5590
|
-
interface CreateCollectionResponseNonNullableFields {
|
|
5591
|
-
collection?: {
|
|
5592
|
-
media?: {
|
|
5593
|
-
mainMedia?: {
|
|
5594
|
-
image?: {
|
|
5595
|
-
url: string;
|
|
5596
|
-
width: number;
|
|
5597
|
-
height: number;
|
|
5598
|
-
};
|
|
5599
|
-
video?: {
|
|
5600
|
-
files: {
|
|
5601
|
-
url: string;
|
|
5602
|
-
width: number;
|
|
5603
|
-
height: number;
|
|
5604
|
-
}[];
|
|
5605
|
-
stillFrameMediaId: string;
|
|
5606
|
-
};
|
|
5607
|
-
thumbnail?: {
|
|
5608
|
-
url: string;
|
|
5609
|
-
width: number;
|
|
5610
|
-
height: number;
|
|
5611
|
-
};
|
|
5612
|
-
mediaType: MediaItemType;
|
|
5613
|
-
title: string;
|
|
5614
|
-
_id: string;
|
|
5615
|
-
};
|
|
5616
|
-
items: {
|
|
5617
|
-
image?: {
|
|
5618
|
-
url: string;
|
|
5619
|
-
width: number;
|
|
5620
|
-
height: number;
|
|
5621
|
-
};
|
|
5622
|
-
video?: {
|
|
5623
|
-
files: {
|
|
5624
|
-
url: string;
|
|
5625
|
-
width: number;
|
|
5626
|
-
height: number;
|
|
5627
|
-
}[];
|
|
5628
|
-
stillFrameMediaId: string;
|
|
5629
|
-
};
|
|
5630
|
-
thumbnail?: {
|
|
5631
|
-
url: string;
|
|
5632
|
-
width: number;
|
|
5633
|
-
height: number;
|
|
5634
|
-
};
|
|
5635
|
-
mediaType: MediaItemType;
|
|
5636
|
-
title: string;
|
|
5637
|
-
_id: string;
|
|
5638
|
-
}[];
|
|
5639
|
-
};
|
|
5640
|
-
numberOfProducts: number;
|
|
5641
|
-
};
|
|
5642
|
-
}
|
|
5643
|
-
interface UpdateCollectionResponseNonNullableFields {
|
|
5644
|
-
collection?: {
|
|
5645
|
-
media?: {
|
|
5646
|
-
mainMedia?: {
|
|
5647
|
-
image?: {
|
|
5648
|
-
url: string;
|
|
5649
|
-
width: number;
|
|
5650
|
-
height: number;
|
|
5651
|
-
};
|
|
5652
|
-
video?: {
|
|
5653
|
-
files: {
|
|
5654
|
-
url: string;
|
|
5655
|
-
width: number;
|
|
5656
|
-
height: number;
|
|
5657
|
-
}[];
|
|
5658
|
-
stillFrameMediaId: string;
|
|
5659
|
-
};
|
|
5660
|
-
thumbnail?: {
|
|
5661
|
-
url: string;
|
|
5662
|
-
width: number;
|
|
5663
|
-
height: number;
|
|
5664
|
-
};
|
|
5665
|
-
mediaType: MediaItemType;
|
|
5666
|
-
title: string;
|
|
5667
|
-
_id: string;
|
|
5668
|
-
};
|
|
5669
|
-
items: {
|
|
5670
|
-
image?: {
|
|
5671
|
-
url: string;
|
|
5672
|
-
width: number;
|
|
5673
|
-
height: number;
|
|
5674
|
-
};
|
|
5675
|
-
video?: {
|
|
5676
|
-
files: {
|
|
5677
|
-
url: string;
|
|
5678
|
-
width: number;
|
|
5679
|
-
height: number;
|
|
5680
|
-
}[];
|
|
5681
|
-
stillFrameMediaId: string;
|
|
5682
|
-
};
|
|
5683
|
-
thumbnail?: {
|
|
5684
|
-
url: string;
|
|
5685
|
-
width: number;
|
|
5686
|
-
height: number;
|
|
5687
|
-
};
|
|
5688
|
-
mediaType: MediaItemType;
|
|
5689
|
-
title: string;
|
|
5690
|
-
_id: string;
|
|
5691
|
-
}[];
|
|
5692
|
-
};
|
|
5693
|
-
numberOfProducts: number;
|
|
5694
|
-
};
|
|
4505
|
+
/** Variant name. */
|
|
4506
|
+
variantName?: string;
|
|
4507
|
+
/** Product name. */
|
|
4508
|
+
productName?: string;
|
|
4509
|
+
/** Whether the variant is managed or represents a product. */
|
|
4510
|
+
managedVariant?: boolean;
|
|
4511
|
+
/** Variant SKU (stock keeping unit). */
|
|
4512
|
+
sku?: string;
|
|
4513
|
+
/** Variant inventory status. */
|
|
4514
|
+
stock?: VariantStock;
|
|
4515
|
+
/** The selected options of this variant. For example, `{"Color": "Blue", "Size": "Large"}`. */
|
|
4516
|
+
choices?: Record<string, string>;
|
|
4517
|
+
/** Collections that include this variant. */
|
|
4518
|
+
collectionIds?: string[];
|
|
4519
|
+
/**
|
|
4520
|
+
* Media items (images, videos) associated with this variant.
|
|
4521
|
+
* @readonly
|
|
4522
|
+
*/
|
|
4523
|
+
media?: PlatformMedia;
|
|
4524
|
+
/** Preorder information. */
|
|
4525
|
+
preorderInfo?: PreorderInfo$2;
|
|
5695
4526
|
}
|
|
5696
|
-
interface
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
originalIndex: number;
|
|
5700
|
-
success: boolean;
|
|
5701
|
-
error?: {
|
|
5702
|
-
code: string;
|
|
5703
|
-
description: string;
|
|
5704
|
-
};
|
|
5705
|
-
};
|
|
5706
|
-
}[];
|
|
5707
|
-
bulkActionMetadata?: {
|
|
5708
|
-
totalSuccesses: number;
|
|
5709
|
-
totalFailures: number;
|
|
5710
|
-
undetailedFailures: number;
|
|
5711
|
-
};
|
|
4527
|
+
interface PlatformMedia extends PlatformMediaMediaOneOf {
|
|
4528
|
+
image?: string;
|
|
4529
|
+
video?: string;
|
|
5712
4530
|
}
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
4531
|
+
/** @oneof */
|
|
4532
|
+
interface PlatformMediaMediaOneOf {
|
|
4533
|
+
image?: string;
|
|
4534
|
+
video?: string;
|
|
4535
|
+
}
|
|
4536
|
+
interface PreorderInfo$2 {
|
|
4537
|
+
/** Whether the item is available for preorder. */
|
|
4538
|
+
enabled?: boolean;
|
|
4539
|
+
/** A message the buyer will see when the item is out of stock and preorder is enabled. */
|
|
4540
|
+
message?: string | null;
|
|
4541
|
+
/** Number of products that can be preordered after stock reaches zero. */
|
|
4542
|
+
limit?: number | null;
|
|
4543
|
+
}
|
|
4544
|
+
interface GetStoreVariantRequest {
|
|
4545
|
+
/** Store variant ID. Comprised of the `productId` and the `variantId`, separated by a hyphen. For example, `{productId}-{variantId}`. */
|
|
4546
|
+
_id: string;
|
|
5729
4547
|
}
|
|
5730
|
-
interface
|
|
4548
|
+
interface GetStoreVariantResponse {
|
|
4549
|
+
/** The requested store variant. */
|
|
4550
|
+
variant?: StoreVariant;
|
|
4551
|
+
}
|
|
4552
|
+
interface CreateProductResponseNonNullableFields {
|
|
5731
4553
|
product?: {
|
|
5732
4554
|
_id: string;
|
|
5733
4555
|
slug: string;
|
|
@@ -5965,7 +4787,7 @@ interface V1CreateProductPlatformizedResponseNonNullableFields {
|
|
|
5965
4787
|
};
|
|
5966
4788
|
};
|
|
5967
4789
|
}
|
|
5968
|
-
interface
|
|
4790
|
+
interface UpdateProductResponseNonNullableFields {
|
|
5969
4791
|
product?: {
|
|
5970
4792
|
_id: string;
|
|
5971
4793
|
slug: string;
|
|
@@ -6203,6 +5025,182 @@ interface V1UpdateProductPlatformizedResponseNonNullableFields {
|
|
|
6203
5025
|
};
|
|
6204
5026
|
};
|
|
6205
5027
|
}
|
|
5028
|
+
interface UpdateVariantsResponseNonNullableFields {
|
|
5029
|
+
variants: {
|
|
5030
|
+
_id: string;
|
|
5031
|
+
variant?: {
|
|
5032
|
+
priceData?: {
|
|
5033
|
+
currency: string;
|
|
5034
|
+
discountedPrice: number;
|
|
5035
|
+
formatted?: {
|
|
5036
|
+
price: string;
|
|
5037
|
+
discountedPrice: string;
|
|
5038
|
+
};
|
|
5039
|
+
};
|
|
5040
|
+
convertedPriceData?: {
|
|
5041
|
+
currency: string;
|
|
5042
|
+
discountedPrice: number;
|
|
5043
|
+
formatted?: {
|
|
5044
|
+
price: string;
|
|
5045
|
+
discountedPrice: string;
|
|
5046
|
+
};
|
|
5047
|
+
};
|
|
5048
|
+
costAndProfitData?: {
|
|
5049
|
+
formattedItemCost: string;
|
|
5050
|
+
profit: number;
|
|
5051
|
+
formattedProfit: string;
|
|
5052
|
+
profitMargin: number;
|
|
5053
|
+
};
|
|
5054
|
+
weight: number;
|
|
5055
|
+
sku: string;
|
|
5056
|
+
visible: boolean;
|
|
5057
|
+
};
|
|
5058
|
+
stock?: {
|
|
5059
|
+
trackQuantity: boolean;
|
|
5060
|
+
inStock: boolean;
|
|
5061
|
+
};
|
|
5062
|
+
}[];
|
|
5063
|
+
}
|
|
5064
|
+
interface CreateCollectionResponseNonNullableFields {
|
|
5065
|
+
collection?: {
|
|
5066
|
+
media?: {
|
|
5067
|
+
mainMedia?: {
|
|
5068
|
+
image?: {
|
|
5069
|
+
url: string;
|
|
5070
|
+
width: number;
|
|
5071
|
+
height: number;
|
|
5072
|
+
};
|
|
5073
|
+
video?: {
|
|
5074
|
+
files: {
|
|
5075
|
+
url: string;
|
|
5076
|
+
width: number;
|
|
5077
|
+
height: number;
|
|
5078
|
+
}[];
|
|
5079
|
+
stillFrameMediaId: string;
|
|
5080
|
+
};
|
|
5081
|
+
thumbnail?: {
|
|
5082
|
+
url: string;
|
|
5083
|
+
width: number;
|
|
5084
|
+
height: number;
|
|
5085
|
+
};
|
|
5086
|
+
mediaType: MediaItemType;
|
|
5087
|
+
title: string;
|
|
5088
|
+
_id: string;
|
|
5089
|
+
};
|
|
5090
|
+
items: {
|
|
5091
|
+
image?: {
|
|
5092
|
+
url: string;
|
|
5093
|
+
width: number;
|
|
5094
|
+
height: number;
|
|
5095
|
+
};
|
|
5096
|
+
video?: {
|
|
5097
|
+
files: {
|
|
5098
|
+
url: string;
|
|
5099
|
+
width: number;
|
|
5100
|
+
height: number;
|
|
5101
|
+
}[];
|
|
5102
|
+
stillFrameMediaId: string;
|
|
5103
|
+
};
|
|
5104
|
+
thumbnail?: {
|
|
5105
|
+
url: string;
|
|
5106
|
+
width: number;
|
|
5107
|
+
height: number;
|
|
5108
|
+
};
|
|
5109
|
+
mediaType: MediaItemType;
|
|
5110
|
+
title: string;
|
|
5111
|
+
_id: string;
|
|
5112
|
+
}[];
|
|
5113
|
+
};
|
|
5114
|
+
numberOfProducts: number;
|
|
5115
|
+
};
|
|
5116
|
+
}
|
|
5117
|
+
interface UpdateCollectionResponseNonNullableFields {
|
|
5118
|
+
collection?: {
|
|
5119
|
+
media?: {
|
|
5120
|
+
mainMedia?: {
|
|
5121
|
+
image?: {
|
|
5122
|
+
url: string;
|
|
5123
|
+
width: number;
|
|
5124
|
+
height: number;
|
|
5125
|
+
};
|
|
5126
|
+
video?: {
|
|
5127
|
+
files: {
|
|
5128
|
+
url: string;
|
|
5129
|
+
width: number;
|
|
5130
|
+
height: number;
|
|
5131
|
+
}[];
|
|
5132
|
+
stillFrameMediaId: string;
|
|
5133
|
+
};
|
|
5134
|
+
thumbnail?: {
|
|
5135
|
+
url: string;
|
|
5136
|
+
width: number;
|
|
5137
|
+
height: number;
|
|
5138
|
+
};
|
|
5139
|
+
mediaType: MediaItemType;
|
|
5140
|
+
title: string;
|
|
5141
|
+
_id: string;
|
|
5142
|
+
};
|
|
5143
|
+
items: {
|
|
5144
|
+
image?: {
|
|
5145
|
+
url: string;
|
|
5146
|
+
width: number;
|
|
5147
|
+
height: number;
|
|
5148
|
+
};
|
|
5149
|
+
video?: {
|
|
5150
|
+
files: {
|
|
5151
|
+
url: string;
|
|
5152
|
+
width: number;
|
|
5153
|
+
height: number;
|
|
5154
|
+
}[];
|
|
5155
|
+
stillFrameMediaId: string;
|
|
5156
|
+
};
|
|
5157
|
+
thumbnail?: {
|
|
5158
|
+
url: string;
|
|
5159
|
+
width: number;
|
|
5160
|
+
height: number;
|
|
5161
|
+
};
|
|
5162
|
+
mediaType: MediaItemType;
|
|
5163
|
+
title: string;
|
|
5164
|
+
_id: string;
|
|
5165
|
+
}[];
|
|
5166
|
+
};
|
|
5167
|
+
numberOfProducts: number;
|
|
5168
|
+
};
|
|
5169
|
+
}
|
|
5170
|
+
interface BulkUpdateProductsResponseNonNullableFields {
|
|
5171
|
+
results: {
|
|
5172
|
+
itemMetadata?: {
|
|
5173
|
+
originalIndex: number;
|
|
5174
|
+
success: boolean;
|
|
5175
|
+
error?: {
|
|
5176
|
+
code: string;
|
|
5177
|
+
description: string;
|
|
5178
|
+
};
|
|
5179
|
+
};
|
|
5180
|
+
}[];
|
|
5181
|
+
bulkActionMetadata?: {
|
|
5182
|
+
totalSuccesses: number;
|
|
5183
|
+
totalFailures: number;
|
|
5184
|
+
undetailedFailures: number;
|
|
5185
|
+
};
|
|
5186
|
+
}
|
|
5187
|
+
interface BulkAdjustProductPropertiesResponseNonNullableFields {
|
|
5188
|
+
results: {
|
|
5189
|
+
itemMetadata?: {
|
|
5190
|
+
originalIndex: number;
|
|
5191
|
+
success: boolean;
|
|
5192
|
+
error?: {
|
|
5193
|
+
code: string;
|
|
5194
|
+
description: string;
|
|
5195
|
+
};
|
|
5196
|
+
};
|
|
5197
|
+
}[];
|
|
5198
|
+
bulkActionMetadata?: {
|
|
5199
|
+
totalSuccesses: number;
|
|
5200
|
+
totalFailures: number;
|
|
5201
|
+
undetailedFailures: number;
|
|
5202
|
+
};
|
|
5203
|
+
}
|
|
6206
5204
|
interface QueryProductsPlatformizedResponseNonNullableFields {
|
|
6207
5205
|
products: {
|
|
6208
5206
|
_id: string;
|
|
@@ -7009,13 +6007,6 @@ declare function removeRibbon(): __PublicMethodMetaInfo$2<'POST', {
|
|
|
7009
6007
|
}, RemoveProductRibbonRequest, RemoveProductRibbonRequest$1, RemoveProductRibbonResponse, RemoveProductRibbonResponse$1>;
|
|
7010
6008
|
declare function bulkUpdateProductsProperty(): __PublicMethodMetaInfo$2<'POST', {}, BulkUpdateProductsRequest, BulkUpdateProductsRequest$1, BulkUpdateProductsResponse & BulkUpdateProductsResponseNonNullableFields, BulkUpdateProductsResponse$1 & BulkUpdateProductsResponseNonNullableFields$1>;
|
|
7011
6009
|
declare function bulkAdjustProductProperty(): __PublicMethodMetaInfo$2<'POST', {}, BulkAdjustProductPropertiesRequest, BulkAdjustProductPropertiesRequest$1, BulkAdjustProductPropertiesResponse & BulkAdjustProductPropertiesResponseNonNullableFields, BulkAdjustProductPropertiesResponse$1 & BulkAdjustProductPropertiesResponseNonNullableFields$1>;
|
|
7012
|
-
declare function writeProxyCreateProductPlatformized(): __PublicMethodMetaInfo$2<'POST', {}, V1CreateProductPlatformizedRequest, V1CreateProductPlatformizedRequest$1, V1CreateProductPlatformizedResponse & V1CreateProductPlatformizedResponseNonNullableFields, V1CreateProductPlatformizedResponse$1 & V1CreateProductPlatformizedResponseNonNullableFields$1>;
|
|
7013
|
-
declare function writeProxyUpdateProductPlatformized(): __PublicMethodMetaInfo$2<'PATCH', {
|
|
7014
|
-
productId: string;
|
|
7015
|
-
}, V1UpdateProductPlatformizedRequest, V1UpdateProductPlatformizedRequest$1, V1UpdateProductPlatformizedResponse & V1UpdateProductPlatformizedResponseNonNullableFields, V1UpdateProductPlatformizedResponse$1 & V1UpdateProductPlatformizedResponseNonNullableFields$1>;
|
|
7016
|
-
declare function writeProxyDeleteProductPlatformized(): __PublicMethodMetaInfo$2<'DELETE', {
|
|
7017
|
-
id: string;
|
|
7018
|
-
}, V1DeleteProductPlatformizedRequest, V1DeleteProductPlatformizedRequest$1, V1DeleteProductPlatformizedResponse, V1DeleteProductPlatformizedResponse$1>;
|
|
7019
6010
|
declare function queryProducts(): __PublicMethodMetaInfo$2<'GET', {}, QueryProductsPlatformizedRequest, QueryProductsPlatformizedRequest$1, QueryProductsPlatformizedResponse & QueryProductsPlatformizedResponseNonNullableFields, QueryProductsPlatformizedResponse$1 & QueryProductsPlatformizedResponseNonNullableFields$1>;
|
|
7020
6011
|
declare function getProduct(): __PublicMethodMetaInfo$2<'GET', {
|
|
7021
6012
|
id: string;
|
|
@@ -7060,11 +6051,8 @@ declare const meta$2_resetAllProductVariantData: typeof resetAllProductVariantDa
|
|
|
7060
6051
|
declare const meta$2_updateCollection: typeof updateCollection;
|
|
7061
6052
|
declare const meta$2_updateProduct: typeof updateProduct;
|
|
7062
6053
|
declare const meta$2_updateProductVariants: typeof updateProductVariants;
|
|
7063
|
-
declare const meta$2_writeProxyCreateProductPlatformized: typeof writeProxyCreateProductPlatformized;
|
|
7064
|
-
declare const meta$2_writeProxyDeleteProductPlatformized: typeof writeProxyDeleteProductPlatformized;
|
|
7065
|
-
declare const meta$2_writeProxyUpdateProductPlatformized: typeof writeProxyUpdateProductPlatformized;
|
|
7066
6054
|
declare namespace meta$2 {
|
|
7067
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_addProductMedia as addProductMedia, meta$2_addProductMediaToChoices as addProductMediaToChoices, meta$2_addProductsToCollection as addProductsToCollection, meta$2_bulkAdjustProductProperty as bulkAdjustProductProperty, meta$2_bulkUpdateProductsProperty as bulkUpdateProductsProperty, meta$2_createCollection as createCollection, meta$2_createProduct as createProduct, meta$2_deleteCollection as deleteCollection, meta$2_deleteProduct as deleteProduct, meta$2_deleteProductOptions as deleteProductOptions, meta$2_getCollectionBySlug as getCollectionBySlug, meta$2_getProduct as getProduct, meta$2_getProductOptionsAvailability as getProductOptionsAvailability, meta$2_getStoreVariant as getStoreVariant, meta$2_queryProductVariants as queryProductVariants, meta$2_queryProducts as queryProducts, meta$2_queryStoreVariants as queryStoreVariants, meta$2_removeBrand as removeBrand, meta$2_removeProductMedia as removeProductMedia, meta$2_removeProductMediaFromChoices as removeProductMediaFromChoices, meta$2_removeProductsFromCollection as removeProductsFromCollection, meta$2_removeRibbon as removeRibbon, meta$2_resetAllProductVariantData as resetAllProductVariantData, meta$2_updateCollection as updateCollection, meta$2_updateProduct as updateProduct, meta$2_updateProductVariants as updateProductVariants
|
|
6055
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_addProductMedia as addProductMedia, meta$2_addProductMediaToChoices as addProductMediaToChoices, meta$2_addProductsToCollection as addProductsToCollection, meta$2_bulkAdjustProductProperty as bulkAdjustProductProperty, meta$2_bulkUpdateProductsProperty as bulkUpdateProductsProperty, meta$2_createCollection as createCollection, meta$2_createProduct as createProduct, meta$2_deleteCollection as deleteCollection, meta$2_deleteProduct as deleteProduct, meta$2_deleteProductOptions as deleteProductOptions, meta$2_getCollectionBySlug as getCollectionBySlug, meta$2_getProduct as getProduct, meta$2_getProductOptionsAvailability as getProductOptionsAvailability, meta$2_getStoreVariant as getStoreVariant, meta$2_queryProductVariants as queryProductVariants, meta$2_queryProducts as queryProducts, meta$2_queryStoreVariants as queryStoreVariants, meta$2_removeBrand as removeBrand, meta$2_removeProductMedia as removeProductMedia, meta$2_removeProductMediaFromChoices as removeProductMediaFromChoices, meta$2_removeProductsFromCollection as removeProductsFromCollection, meta$2_removeRibbon as removeRibbon, meta$2_resetAllProductVariantData as resetAllProductVariantData, meta$2_updateCollection as updateCollection, meta$2_updateProduct as updateProduct, meta$2_updateProductVariants as updateProductVariants };
|
|
7068
6056
|
}
|
|
7069
6057
|
|
|
7070
6058
|
interface SubscriptionOption$1 {
|