@medusajs/medusa 2.8.8-snapshot-20250714090316 → 2.8.8-snapshot-20250714120129
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/api/admin/api-keys/validators.d.ts +27 -13
- package/dist/api/admin/api-keys/validators.d.ts.map +1 -1
- package/dist/api/admin/campaigns/validators.d.ts +37 -23
- package/dist/api/admin/campaigns/validators.d.ts.map +1 -1
- package/dist/api/admin/claims/validators.d.ts +61 -64
- package/dist/api/admin/claims/validators.d.ts.map +1 -1
- package/dist/api/admin/collections/validators.d.ts +28 -14
- package/dist/api/admin/collections/validators.d.ts.map +1 -1
- package/dist/api/admin/currencies/validators.d.ts +21 -7
- package/dist/api/admin/currencies/validators.d.ts.map +1 -1
- package/dist/api/admin/customer-groups/validators.d.ts +59 -45
- package/dist/api/admin/customer-groups/validators.d.ts.map +1 -1
- package/dist/api/admin/customers/validators.d.ts +56 -44
- package/dist/api/admin/customers/validators.d.ts.map +1 -1
- package/dist/api/admin/draft-orders/validators.d.ts +154 -128
- package/dist/api/admin/draft-orders/validators.d.ts.map +1 -1
- package/dist/api/admin/exchanges/validators.d.ts +49 -52
- package/dist/api/admin/exchanges/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-providers/validators.d.ts +7 -9
- package/dist/api/admin/fulfillment-providers/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts +4 -8
- package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-sets/validators.d.ts +30 -42
- package/dist/api/admin/fulfillment-sets/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillments/validators.d.ts +6 -6
- package/dist/api/admin/inventory-items/validators.d.ts +96 -68
- package/dist/api/admin/inventory-items/validators.d.ts.map +1 -1
- package/dist/api/admin/invites/validators.d.ts +21 -8
- package/dist/api/admin/invites/validators.d.ts.map +1 -1
- package/dist/api/admin/notifications/validators.d.ts +21 -7
- package/dist/api/admin/notifications/validators.d.ts.map +1 -1
- package/dist/api/admin/order-edits/validators.d.ts +22 -22
- package/dist/api/admin/orders/validators.d.ts +46 -51
- package/dist/api/admin/orders/validators.d.ts.map +1 -1
- package/dist/api/admin/payments/validators.d.ts +42 -14
- package/dist/api/admin/payments/validators.d.ts.map +1 -1
- package/dist/api/admin/price-lists/validators.d.ts +48 -34
- package/dist/api/admin/price-lists/validators.d.ts.map +1 -1
- package/dist/api/admin/price-preferences/validators.d.ts +25 -11
- package/dist/api/admin/price-preferences/validators.d.ts.map +1 -1
- package/dist/api/admin/product-categories/validators.d.ts +42 -29
- package/dist/api/admin/product-categories/validators.d.ts.map +1 -1
- package/dist/api/admin/product-tags/validators.d.ts +21 -7
- package/dist/api/admin/product-tags/validators.d.ts.map +1 -1
- package/dist/api/admin/product-types/validators.d.ts +21 -7
- package/dist/api/admin/product-types/validators.d.ts.map +1 -1
- package/dist/api/admin/product-variants/validators.d.ts +25 -11
- package/dist/api/admin/product-variants/validators.d.ts.map +1 -1
- package/dist/api/admin/products/validators.d.ts +520 -476
- package/dist/api/admin/products/validators.d.ts.map +1 -1
- package/dist/api/admin/products/validators.js.map +1 -1
- package/dist/api/admin/promotions/validators.d.ts +119 -108
- package/dist/api/admin/promotions/validators.d.ts.map +1 -1
- package/dist/api/admin/refund-reasons/validators.d.ts +10 -12
- package/dist/api/admin/refund-reasons/validators.d.ts.map +1 -1
- package/dist/api/admin/regions/validators.d.ts +35 -21
- package/dist/api/admin/regions/validators.d.ts.map +1 -1
- package/dist/api/admin/reservations/validators.d.ts +23 -25
- package/dist/api/admin/reservations/validators.d.ts.map +1 -1
- package/dist/api/admin/return-reasons/validators.d.ts +39 -26
- package/dist/api/admin/return-reasons/validators.d.ts.map +1 -1
- package/dist/api/admin/returns/validators.d.ts +45 -48
- package/dist/api/admin/returns/validators.d.ts.map +1 -1
- package/dist/api/admin/sales-channels/validators.d.ts +20 -29
- package/dist/api/admin/sales-channels/validators.d.ts.map +1 -1
- package/dist/api/admin/shipping-options/validators.d.ts +67 -69
- package/dist/api/admin/shipping-options/validators.d.ts.map +1 -1
- package/dist/api/admin/shipping-profiles/validators.d.ts +25 -11
- package/dist/api/admin/shipping-profiles/validators.d.ts.map +1 -1
- package/dist/api/admin/stock-locations/validators.d.ts +50 -59
- package/dist/api/admin/stock-locations/validators.d.ts.map +1 -1
- package/dist/api/admin/stores/validators.d.ts +32 -18
- package/dist/api/admin/stores/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-providers/validators.d.ts +19 -5
- package/dist/api/admin/tax-providers/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-rates/validators.d.ts +36 -22
- package/dist/api/admin/tax-rates/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-regions/validators.d.ts +36 -22
- package/dist/api/admin/tax-regions/validators.d.ts.map +1 -1
- package/dist/api/admin/users/validators.d.ts +13 -15
- package/dist/api/admin/users/validators.d.ts.map +1 -1
- package/dist/api/admin/workflows-executions/validators.d.ts +5 -7
- package/dist/api/admin/workflows-executions/validators.d.ts.map +1 -1
- package/dist/api/store/carts/validators.d.ts +44 -44
- package/dist/api/store/collections/validators.d.ts +24 -10
- package/dist/api/store/collections/validators.d.ts.map +1 -1
- package/dist/api/store/currencies/validators.d.ts +21 -7
- package/dist/api/store/currencies/validators.d.ts.map +1 -1
- package/dist/api/store/customers/validators.d.ts +13 -17
- package/dist/api/store/customers/validators.d.ts.map +1 -1
- package/dist/api/store/orders/validators.d.ts +19 -5
- package/dist/api/store/orders/validators.d.ts.map +1 -1
- package/dist/api/store/payment-providers/validators.d.ts +1 -3
- package/dist/api/store/payment-providers/validators.d.ts.map +1 -1
- package/dist/api/store/product-categories/validators.d.ts +27 -14
- package/dist/api/store/product-categories/validators.d.ts.map +1 -1
- package/dist/api/store/product-tags/validators.d.ts +21 -7
- package/dist/api/store/product-tags/validators.d.ts.map +1 -1
- package/dist/api/store/product-types/validators.d.ts +21 -7
- package/dist/api/store/product-types/validators.d.ts.map +1 -1
- package/dist/api/store/products/validators.d.ts +71 -40
- package/dist/api/store/products/validators.d.ts.map +1 -1
- package/dist/api/store/products/validators.js.map +1 -1
- package/dist/api/store/regions/validators.d.ts +23 -9
- package/dist/api/store/regions/validators.d.ts.map +1 -1
- package/dist/api/store/return-reasons/validators.d.ts +2 -3
- package/dist/api/store/return-reasons/validators.d.ts.map +1 -1
- package/dist/api/store/returns/validators.d.ts +21 -7
- package/dist/api/store/returns/validators.d.ts.map +1 -1
- package/dist/api/store/shipping-options/validators.d.ts +19 -5
- package/dist/api/store/shipping-options/validators.d.ts.map +1 -1
- package/dist/api/utils/common-validators/common.d.ts +20 -7
- package/dist/api/utils/common-validators/common.d.ts.map +1 -1
- package/dist/api/utils/common-validators/products/index.d.ts +16 -17
- package/dist/api/utils/common-validators/products/index.d.ts.map +1 -1
- package/dist/api/utils/common-validators/products/index.js +14 -14
- package/dist/api/utils/common-validators/products/index.js.map +1 -1
- package/dist/api/utils/validators.d.ts +4 -5
- package/dist/api/utils/validators.d.ts.map +1 -1
- package/package.json +50 -50
@@ -151,31 +151,33 @@ export declare const AdminGetProductVariantsParamsFields: z.ZodObject<{
|
|
151
151
|
$lte?: any;
|
152
152
|
}>]>>;
|
153
153
|
}, "strip", z.ZodTypeAny, {
|
154
|
-
id?: string | string[] | undefined;
|
155
|
-
created_at?: any;
|
156
|
-
updated_at?: any;
|
157
|
-
deleted_at?: any;
|
158
154
|
q?: string | undefined;
|
159
|
-
|
155
|
+
id?: string | string[] | undefined;
|
156
|
+
manage_inventory?: boolean | undefined;
|
160
157
|
allow_backorder?: boolean | undefined;
|
161
158
|
ean?: string | string[] | undefined;
|
162
159
|
upc?: string | string[] | undefined;
|
163
|
-
|
164
|
-
}, {
|
165
|
-
id?: string | string[] | undefined;
|
160
|
+
barcode?: string | string[] | undefined;
|
166
161
|
created_at?: any;
|
167
162
|
updated_at?: any;
|
168
163
|
deleted_at?: any;
|
164
|
+
}, {
|
169
165
|
q?: string | undefined;
|
170
|
-
|
166
|
+
id?: string | string[] | undefined;
|
167
|
+
manage_inventory?: string | boolean | undefined;
|
171
168
|
allow_backorder?: string | boolean | undefined;
|
172
169
|
ean?: string | string[] | undefined;
|
173
170
|
upc?: string | string[] | undefined;
|
174
|
-
|
171
|
+
barcode?: string | string[] | undefined;
|
172
|
+
created_at?: any;
|
173
|
+
updated_at?: any;
|
174
|
+
deleted_at?: any;
|
175
175
|
}>;
|
176
176
|
export type AdminGetProductVariantsParamsType = z.infer<typeof AdminGetProductVariantsParams>;
|
177
|
-
export declare const AdminGetProductVariantsParams: z.ZodObject<{
|
177
|
+
export declare const AdminGetProductVariantsParams: z.ZodObject<{
|
178
178
|
[x: string]: any;
|
179
|
+
[x: number]: any;
|
180
|
+
[x: symbol]: any;
|
179
181
|
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
180
182
|
[x: string]: any;
|
181
183
|
}, {
|
@@ -188,16 +190,30 @@ export declare const AdminGetProductVariantsParams: z.ZodObject<{} & {
|
|
188
190
|
}>, "many">>>;
|
189
191
|
}, "strip", z.ZodTypeAny, {
|
190
192
|
[x: string]: any;
|
191
|
-
|
192
|
-
|
193
|
+
[x: number]: any;
|
194
|
+
[x: symbol]: any;
|
195
|
+
$and?: {
|
196
|
+
[x: string]: any;
|
197
|
+
}[] | undefined;
|
198
|
+
$or?: {
|
199
|
+
[x: string]: any;
|
200
|
+
}[] | undefined;
|
193
201
|
}, {
|
194
202
|
[x: string]: any;
|
195
|
-
|
196
|
-
|
203
|
+
[x: number]: any;
|
204
|
+
[x: symbol]: any;
|
205
|
+
$and?: {
|
206
|
+
[x: string]: any;
|
207
|
+
}[] | undefined;
|
208
|
+
$or?: {
|
209
|
+
[x: string]: any;
|
210
|
+
}[] | undefined;
|
197
211
|
}>;
|
198
212
|
export declare const AdminGetProductsParamsDirectFields: z.ZodObject<{
|
199
|
-
variants: z.ZodOptional<z.ZodObject<{
|
213
|
+
variants: z.ZodOptional<z.ZodObject<{
|
200
214
|
[x: string]: any;
|
215
|
+
[x: number]: any;
|
216
|
+
[x: symbol]: any;
|
201
217
|
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
202
218
|
[x: string]: any;
|
203
219
|
}, {
|
@@ -210,42 +226,58 @@ export declare const AdminGetProductsParamsDirectFields: z.ZodObject<{
|
|
210
226
|
}>, "many">>>;
|
211
227
|
}, "strip", z.ZodTypeAny, {
|
212
228
|
[x: string]: any;
|
213
|
-
|
214
|
-
|
229
|
+
[x: number]: any;
|
230
|
+
[x: symbol]: any;
|
231
|
+
$and?: {
|
232
|
+
[x: string]: any;
|
233
|
+
}[] | undefined;
|
234
|
+
$or?: {
|
235
|
+
[x: string]: any;
|
236
|
+
}[] | undefined;
|
215
237
|
}, {
|
216
238
|
[x: string]: any;
|
217
|
-
|
218
|
-
|
239
|
+
[x: number]: any;
|
240
|
+
[x: symbol]: any;
|
241
|
+
$and?: {
|
242
|
+
[x: string]: any;
|
243
|
+
}[] | undefined;
|
244
|
+
$or?: {
|
245
|
+
[x: string]: any;
|
246
|
+
}[] | undefined;
|
219
247
|
}>>;
|
220
248
|
status: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ProductStatus>, "many">>;
|
221
249
|
}, "strip", z.ZodTypeAny, {
|
222
250
|
variants?: {
|
223
251
|
[x: string]: any;
|
224
|
-
|
225
|
-
|
252
|
+
[x: number]: any;
|
253
|
+
[x: symbol]: any;
|
254
|
+
$and?: {
|
255
|
+
[x: string]: any;
|
256
|
+
}[] | undefined;
|
257
|
+
$or?: {
|
258
|
+
[x: string]: any;
|
259
|
+
}[] | undefined;
|
226
260
|
} | undefined;
|
227
261
|
status?: ProductStatus[] | undefined;
|
228
262
|
}, {
|
229
263
|
variants?: {
|
230
264
|
[x: string]: any;
|
231
|
-
|
232
|
-
|
265
|
+
[x: number]: any;
|
266
|
+
[x: symbol]: any;
|
267
|
+
$and?: {
|
268
|
+
[x: string]: any;
|
269
|
+
}[] | undefined;
|
270
|
+
$or?: {
|
271
|
+
[x: string]: any;
|
272
|
+
}[] | undefined;
|
233
273
|
} | undefined;
|
234
274
|
status?: ProductStatus[] | undefined;
|
235
275
|
}>;
|
236
276
|
export type AdminGetProductsParamsType = z.infer<typeof AdminGetProductsParams>;
|
237
|
-
export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{
|
277
|
+
export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{
|
238
278
|
[x: string]: any;
|
239
|
-
|
240
|
-
|
241
|
-
}, {
|
242
|
-
[x: string]: any;
|
243
|
-
}>, "many">>>;
|
244
|
-
$or: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
245
|
-
[x: string]: any;
|
246
|
-
}, {
|
247
|
-
[x: string]: any;
|
248
|
-
}>, "many">>>;
|
279
|
+
[x: number]: any;
|
280
|
+
[x: symbol]: any;
|
249
281
|
sales_channel_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
250
282
|
q: z.ZodOptional<z.ZodString>;
|
251
283
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
@@ -379,58 +411,58 @@ export declare const AdminGetProductsParams: z.ZodEffects<z.ZodObject<{} & {
|
|
379
411
|
}>]>>;
|
380
412
|
}, "strip", z.ZodTypeAny, {
|
381
413
|
[x: string]: any;
|
382
|
-
|
383
|
-
|
384
|
-
sales_channel_id?:
|
385
|
-
q?:
|
386
|
-
id?:
|
387
|
-
title?:
|
388
|
-
handle?:
|
389
|
-
is_giftcard?:
|
390
|
-
category_id?:
|
391
|
-
external_id?:
|
392
|
-
collection_id?:
|
393
|
-
tag_id?:
|
394
|
-
type_id?:
|
395
|
-
created_at?:
|
396
|
-
updated_at?:
|
397
|
-
deleted_at?:
|
414
|
+
[x: number]: any;
|
415
|
+
[x: symbol]: any;
|
416
|
+
sales_channel_id?: string | string[] | undefined;
|
417
|
+
q?: string | undefined;
|
418
|
+
id?: string | string[] | undefined;
|
419
|
+
title?: string | string[] | undefined;
|
420
|
+
handle?: string | string[] | undefined;
|
421
|
+
is_giftcard?: boolean | undefined;
|
422
|
+
category_id?: string | string[] | undefined;
|
423
|
+
external_id?: string | string[] | undefined;
|
424
|
+
collection_id?: string | string[] | undefined;
|
425
|
+
tag_id?: string | string[] | undefined;
|
426
|
+
type_id?: string | string[] | undefined;
|
427
|
+
created_at?: any;
|
428
|
+
updated_at?: any;
|
429
|
+
deleted_at?: any;
|
398
430
|
}, {
|
399
431
|
[x: string]: any;
|
400
|
-
|
401
|
-
|
402
|
-
sales_channel_id?:
|
403
|
-
q?:
|
404
|
-
id?:
|
405
|
-
title?:
|
406
|
-
handle?:
|
407
|
-
is_giftcard?:
|
408
|
-
category_id?:
|
409
|
-
external_id?:
|
410
|
-
collection_id?:
|
411
|
-
tag_id?:
|
412
|
-
type_id?:
|
413
|
-
created_at?:
|
414
|
-
updated_at?:
|
415
|
-
deleted_at?:
|
416
|
-
}>,
|
432
|
+
[x: number]: any;
|
433
|
+
[x: symbol]: any;
|
434
|
+
sales_channel_id?: string | string[] | undefined;
|
435
|
+
q?: string | undefined;
|
436
|
+
id?: string | string[] | undefined;
|
437
|
+
title?: string | string[] | undefined;
|
438
|
+
handle?: string | string[] | undefined;
|
439
|
+
is_giftcard?: string | boolean | undefined;
|
440
|
+
category_id?: string | string[] | undefined;
|
441
|
+
external_id?: string | string[] | undefined;
|
442
|
+
collection_id?: string | string[] | undefined;
|
443
|
+
tag_id?: string | string[] | undefined;
|
444
|
+
type_id?: string | string[] | undefined;
|
445
|
+
created_at?: any;
|
446
|
+
updated_at?: any;
|
447
|
+
deleted_at?: any;
|
448
|
+
}>, import("@medusajs/framework/types").FilterableProductProps, {
|
417
449
|
[x: string]: any;
|
418
|
-
|
419
|
-
|
420
|
-
sales_channel_id?:
|
421
|
-
q?:
|
422
|
-
id?:
|
423
|
-
title?:
|
424
|
-
handle?:
|
425
|
-
is_giftcard?:
|
426
|
-
category_id?:
|
427
|
-
external_id?:
|
428
|
-
collection_id?:
|
429
|
-
tag_id?:
|
430
|
-
type_id?:
|
431
|
-
created_at?:
|
432
|
-
updated_at?:
|
433
|
-
deleted_at?:
|
450
|
+
[x: number]: any;
|
451
|
+
[x: symbol]: any;
|
452
|
+
sales_channel_id?: string | string[] | undefined;
|
453
|
+
q?: string | undefined;
|
454
|
+
id?: string | string[] | undefined;
|
455
|
+
title?: string | string[] | undefined;
|
456
|
+
handle?: string | string[] | undefined;
|
457
|
+
is_giftcard?: string | boolean | undefined;
|
458
|
+
category_id?: string | string[] | undefined;
|
459
|
+
external_id?: string | string[] | undefined;
|
460
|
+
collection_id?: string | string[] | undefined;
|
461
|
+
tag_id?: string | string[] | undefined;
|
462
|
+
type_id?: string | string[] | undefined;
|
463
|
+
created_at?: any;
|
464
|
+
updated_at?: any;
|
465
|
+
deleted_at?: any;
|
434
466
|
}>;
|
435
467
|
export declare const AdminGetProductOptionsParamsFields: z.ZodObject<{
|
436
468
|
q: z.ZodOptional<z.ZodString>;
|
@@ -557,23 +589,25 @@ export declare const AdminGetProductOptionsParamsFields: z.ZodObject<{
|
|
557
589
|
$lte?: any;
|
558
590
|
}>]>>;
|
559
591
|
}, "strip", z.ZodTypeAny, {
|
592
|
+
q?: string | undefined;
|
560
593
|
id?: string | string[] | undefined;
|
594
|
+
title?: string | undefined;
|
561
595
|
created_at?: any;
|
562
596
|
updated_at?: any;
|
563
597
|
deleted_at?: any;
|
564
|
-
title?: string | undefined;
|
565
|
-
q?: string | undefined;
|
566
598
|
}, {
|
599
|
+
q?: string | undefined;
|
567
600
|
id?: string | string[] | undefined;
|
601
|
+
title?: string | undefined;
|
568
602
|
created_at?: any;
|
569
603
|
updated_at?: any;
|
570
604
|
deleted_at?: any;
|
571
|
-
title?: string | undefined;
|
572
|
-
q?: string | undefined;
|
573
605
|
}>;
|
574
606
|
export type AdminGetProductOptionsParamsType = z.infer<typeof AdminGetProductOptionsParams>;
|
575
|
-
export declare const AdminGetProductOptionsParams: z.ZodObject<{
|
607
|
+
export declare const AdminGetProductOptionsParams: z.ZodObject<{
|
576
608
|
[x: string]: any;
|
609
|
+
[x: number]: any;
|
610
|
+
[x: symbol]: any;
|
577
611
|
$and: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodObject<any, z.UnknownKeysParam, z.ZodTypeAny, {
|
578
612
|
[x: string]: any;
|
579
613
|
}, {
|
@@ -586,12 +620,24 @@ export declare const AdminGetProductOptionsParams: z.ZodObject<{} & {
|
|
586
620
|
}>, "many">>>;
|
587
621
|
}, "strip", z.ZodTypeAny, {
|
588
622
|
[x: string]: any;
|
589
|
-
|
590
|
-
|
623
|
+
[x: number]: any;
|
624
|
+
[x: symbol]: any;
|
625
|
+
$and?: {
|
626
|
+
[x: string]: any;
|
627
|
+
}[] | undefined;
|
628
|
+
$or?: {
|
629
|
+
[x: string]: any;
|
630
|
+
}[] | undefined;
|
591
631
|
}, {
|
592
632
|
[x: string]: any;
|
593
|
-
|
594
|
-
|
633
|
+
[x: number]: any;
|
634
|
+
[x: symbol]: any;
|
635
|
+
$and?: {
|
636
|
+
[x: string]: any;
|
637
|
+
}[] | undefined;
|
638
|
+
$or?: {
|
639
|
+
[x: string]: any;
|
640
|
+
}[] | undefined;
|
595
641
|
}>;
|
596
642
|
export type AdminCreateProductTagType = z.infer<typeof AdminCreateProductTag>;
|
597
643
|
export declare const AdminCreateProductTag: z.ZodObject<{
|
@@ -634,13 +680,13 @@ export declare const UpdateProductOption: z.ZodObject<{
|
|
634
680
|
title: z.ZodOptional<z.ZodString>;
|
635
681
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
636
682
|
}, "strip", z.ZodTypeAny, {
|
637
|
-
values?: string[] | undefined;
|
638
683
|
id?: string | undefined;
|
639
684
|
title?: string | undefined;
|
640
|
-
}, {
|
641
685
|
values?: string[] | undefined;
|
686
|
+
}, {
|
642
687
|
id?: string | undefined;
|
643
688
|
title?: string | undefined;
|
689
|
+
values?: string[] | undefined;
|
644
690
|
}>;
|
645
691
|
export declare const AdminUpdateProductOption: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
646
692
|
[x: string]: any;
|
@@ -657,15 +703,15 @@ export declare const AdminCreateVariantPrice: z.ZodObject<{
|
|
657
703
|
}, "strip", z.ZodTypeAny, {
|
658
704
|
amount: number;
|
659
705
|
currency_code: string;
|
660
|
-
rules?: Record<string, string> | undefined;
|
661
706
|
min_quantity?: number | null | undefined;
|
662
707
|
max_quantity?: number | null | undefined;
|
708
|
+
rules?: Record<string, string> | undefined;
|
663
709
|
}, {
|
664
710
|
amount: number;
|
665
711
|
currency_code: string;
|
666
|
-
rules?: Record<string, string> | undefined;
|
667
712
|
min_quantity?: number | null | undefined;
|
668
713
|
max_quantity?: number | null | undefined;
|
714
|
+
rules?: Record<string, string> | undefined;
|
669
715
|
}>;
|
670
716
|
export type AdminUpdateVariantPriceType = z.infer<typeof AdminUpdateVariantPrice>;
|
671
717
|
export declare const AdminUpdateVariantPrice: z.ZodObject<{
|
@@ -677,18 +723,18 @@ export declare const AdminUpdateVariantPrice: z.ZodObject<{
|
|
677
723
|
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
678
724
|
}, "strip", z.ZodTypeAny, {
|
679
725
|
id?: string | undefined;
|
680
|
-
rules?: Record<string, string> | undefined;
|
681
|
-
amount?: number | undefined;
|
682
726
|
currency_code?: string | undefined;
|
727
|
+
amount?: number | undefined;
|
683
728
|
min_quantity?: number | null | undefined;
|
684
729
|
max_quantity?: number | null | undefined;
|
730
|
+
rules?: Record<string, string> | undefined;
|
685
731
|
}, {
|
686
732
|
id?: string | undefined;
|
687
|
-
rules?: Record<string, string> | undefined;
|
688
|
-
amount?: number | undefined;
|
689
733
|
currency_code?: string | undefined;
|
734
|
+
amount?: number | undefined;
|
690
735
|
min_quantity?: number | null | undefined;
|
691
736
|
max_quantity?: number | null | undefined;
|
737
|
+
rules?: Record<string, string> | undefined;
|
692
738
|
}>;
|
693
739
|
export type AdminCreateProductTypeType = z.infer<typeof AdminCreateProductType>;
|
694
740
|
export declare const AdminCreateProductType: z.ZodObject<{
|
@@ -726,15 +772,15 @@ export declare const CreateProductVariant: z.ZodObject<{
|
|
726
772
|
}, "strip", z.ZodTypeAny, {
|
727
773
|
amount: number;
|
728
774
|
currency_code: string;
|
729
|
-
rules?: Record<string, string> | undefined;
|
730
775
|
min_quantity?: number | null | undefined;
|
731
776
|
max_quantity?: number | null | undefined;
|
777
|
+
rules?: Record<string, string> | undefined;
|
732
778
|
}, {
|
733
779
|
amount: number;
|
734
780
|
currency_code: string;
|
735
|
-
rules?: Record<string, string> | undefined;
|
736
781
|
min_quantity?: number | null | undefined;
|
737
782
|
max_quantity?: number | null | undefined;
|
783
|
+
rules?: Record<string, string> | undefined;
|
738
784
|
}>, "many">;
|
739
785
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
740
786
|
inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
@@ -751,62 +797,62 @@ export declare const CreateProductVariant: z.ZodObject<{
|
|
751
797
|
prices: {
|
752
798
|
amount: number;
|
753
799
|
currency_code: string;
|
754
|
-
rules?: Record<string, string> | undefined;
|
755
800
|
min_quantity?: number | null | undefined;
|
756
801
|
max_quantity?: number | null | undefined;
|
802
|
+
rules?: Record<string, string> | undefined;
|
757
803
|
}[];
|
758
804
|
title: string;
|
759
805
|
allow_backorder: boolean;
|
760
806
|
manage_inventory: boolean;
|
761
|
-
length?: number | null | undefined;
|
762
|
-
options?: Record<string, string> | undefined;
|
763
|
-
metadata?: Record<string, unknown> | null | undefined;
|
764
|
-
inventory_items?: {
|
765
|
-
inventory_item_id: string;
|
766
|
-
required_quantity: number;
|
767
|
-
}[] | undefined;
|
768
807
|
sku?: string | null | undefined;
|
808
|
+
ean?: string | null | undefined;
|
809
|
+
upc?: string | null | undefined;
|
769
810
|
barcode?: string | null | undefined;
|
770
|
-
origin_country?: string | null | undefined;
|
771
811
|
hs_code?: string | null | undefined;
|
772
812
|
mid_code?: string | null | undefined;
|
773
|
-
|
813
|
+
variant_rank?: number | undefined;
|
774
814
|
weight?: number | null | undefined;
|
815
|
+
length?: number | null | undefined;
|
775
816
|
height?: number | null | undefined;
|
776
817
|
width?: number | null | undefined;
|
777
|
-
|
778
|
-
|
779
|
-
|
818
|
+
origin_country?: string | null | undefined;
|
819
|
+
material?: string | null | undefined;
|
820
|
+
metadata?: Record<string, unknown> | null | undefined;
|
821
|
+
options?: Record<string, string> | undefined;
|
822
|
+
inventory_items?: {
|
823
|
+
inventory_item_id: string;
|
824
|
+
required_quantity: number;
|
825
|
+
}[] | undefined;
|
780
826
|
}, {
|
781
827
|
prices: {
|
782
828
|
amount: number;
|
783
829
|
currency_code: string;
|
784
|
-
rules?: Record<string, string> | undefined;
|
785
830
|
min_quantity?: number | null | undefined;
|
786
831
|
max_quantity?: number | null | undefined;
|
832
|
+
rules?: Record<string, string> | undefined;
|
787
833
|
}[];
|
788
834
|
title: string;
|
789
|
-
length?: number | null | undefined;
|
790
|
-
options?: Record<string, string> | undefined;
|
791
|
-
metadata?: Record<string, unknown> | null | undefined;
|
792
|
-
inventory_items?: {
|
793
|
-
inventory_item_id: string;
|
794
|
-
required_quantity: number;
|
795
|
-
}[] | undefined;
|
796
835
|
sku?: string | null | undefined;
|
836
|
+
ean?: string | null | undefined;
|
837
|
+
upc?: string | null | undefined;
|
797
838
|
barcode?: string | null | undefined;
|
798
|
-
allow_backorder?: string | boolean | undefined;
|
799
|
-
origin_country?: string | null | undefined;
|
800
839
|
hs_code?: string | null | undefined;
|
801
840
|
mid_code?: string | null | undefined;
|
802
|
-
|
841
|
+
allow_backorder?: string | boolean | undefined;
|
842
|
+
manage_inventory?: string | boolean | undefined;
|
843
|
+
variant_rank?: number | undefined;
|
803
844
|
weight?: number | null | undefined;
|
845
|
+
length?: number | null | undefined;
|
804
846
|
height?: number | null | undefined;
|
805
847
|
width?: number | null | undefined;
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
848
|
+
origin_country?: string | null | undefined;
|
849
|
+
material?: string | null | undefined;
|
850
|
+
metadata?: Record<string, unknown> | null | undefined;
|
851
|
+
options?: Record<string, string> | undefined;
|
852
|
+
inventory_items?: {
|
853
|
+
inventory_item_id: string;
|
854
|
+
required_quantity: number;
|
855
|
+
}[] | undefined;
|
810
856
|
}>;
|
811
857
|
export declare const AdminCreateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
812
858
|
[x: string]: any;
|
@@ -826,18 +872,18 @@ export declare const UpdateProductVariant: z.ZodObject<{
|
|
826
872
|
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
827
873
|
}, "strip", z.ZodTypeAny, {
|
828
874
|
id?: string | undefined;
|
829
|
-
rules?: Record<string, string> | undefined;
|
830
|
-
amount?: number | undefined;
|
831
875
|
currency_code?: string | undefined;
|
876
|
+
amount?: number | undefined;
|
832
877
|
min_quantity?: number | null | undefined;
|
833
878
|
max_quantity?: number | null | undefined;
|
879
|
+
rules?: Record<string, string> | undefined;
|
834
880
|
}, {
|
835
881
|
id?: string | undefined;
|
836
|
-
rules?: Record<string, string> | undefined;
|
837
|
-
amount?: number | undefined;
|
838
882
|
currency_code?: string | undefined;
|
883
|
+
amount?: number | undefined;
|
839
884
|
min_quantity?: number | null | undefined;
|
840
885
|
max_quantity?: number | null | undefined;
|
886
|
+
rules?: Record<string, string> | undefined;
|
841
887
|
}>, "many">>;
|
842
888
|
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
843
889
|
ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -857,61 +903,61 @@ export declare const UpdateProductVariant: z.ZodObject<{
|
|
857
903
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
858
904
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
859
905
|
}, "strict", z.ZodTypeAny, {
|
860
|
-
length?: number | null | undefined;
|
861
|
-
options?: Record<string, string> | undefined;
|
862
906
|
id?: string | undefined;
|
863
|
-
|
907
|
+
title?: string | undefined;
|
864
908
|
prices?: {
|
865
909
|
id?: string | undefined;
|
866
|
-
rules?: Record<string, string> | undefined;
|
867
|
-
amount?: number | undefined;
|
868
910
|
currency_code?: string | undefined;
|
911
|
+
amount?: number | undefined;
|
869
912
|
min_quantity?: number | null | undefined;
|
870
913
|
max_quantity?: number | null | undefined;
|
914
|
+
rules?: Record<string, string> | undefined;
|
871
915
|
}[] | undefined;
|
872
|
-
title?: string | undefined;
|
873
916
|
sku?: string | null | undefined;
|
917
|
+
ean?: string | null | undefined;
|
918
|
+
upc?: string | null | undefined;
|
874
919
|
barcode?: string | null | undefined;
|
875
|
-
allow_backorder?: boolean | undefined;
|
876
|
-
origin_country?: string | null | undefined;
|
877
920
|
hs_code?: string | null | undefined;
|
878
921
|
mid_code?: string | null | undefined;
|
879
|
-
|
880
|
-
weight?: number | null | undefined;
|
881
|
-
height?: number | null | undefined;
|
882
|
-
width?: number | null | undefined;
|
883
|
-
ean?: string | null | undefined;
|
884
|
-
upc?: string | null | undefined;
|
922
|
+
allow_backorder?: boolean | undefined;
|
885
923
|
manage_inventory?: boolean | undefined;
|
886
924
|
variant_rank?: number | undefined;
|
887
|
-
|
925
|
+
weight?: number | null | undefined;
|
888
926
|
length?: number | null | undefined;
|
927
|
+
height?: number | null | undefined;
|
928
|
+
width?: number | null | undefined;
|
929
|
+
origin_country?: string | null | undefined;
|
930
|
+
material?: string | null | undefined;
|
931
|
+
metadata?: Record<string, unknown> | null | undefined;
|
889
932
|
options?: Record<string, string> | undefined;
|
933
|
+
}, {
|
890
934
|
id?: string | undefined;
|
891
|
-
|
935
|
+
title?: string | undefined;
|
892
936
|
prices?: {
|
893
937
|
id?: string | undefined;
|
894
|
-
rules?: Record<string, string> | undefined;
|
895
|
-
amount?: number | undefined;
|
896
938
|
currency_code?: string | undefined;
|
939
|
+
amount?: number | undefined;
|
897
940
|
min_quantity?: number | null | undefined;
|
898
941
|
max_quantity?: number | null | undefined;
|
942
|
+
rules?: Record<string, string> | undefined;
|
899
943
|
}[] | undefined;
|
900
|
-
title?: string | undefined;
|
901
944
|
sku?: string | null | undefined;
|
945
|
+
ean?: string | null | undefined;
|
946
|
+
upc?: string | null | undefined;
|
902
947
|
barcode?: string | null | undefined;
|
903
|
-
allow_backorder?: string | boolean | undefined;
|
904
|
-
origin_country?: string | null | undefined;
|
905
948
|
hs_code?: string | null | undefined;
|
906
949
|
mid_code?: string | null | undefined;
|
907
|
-
|
950
|
+
allow_backorder?: string | boolean | undefined;
|
951
|
+
manage_inventory?: string | boolean | undefined;
|
952
|
+
variant_rank?: number | undefined;
|
908
953
|
weight?: number | null | undefined;
|
954
|
+
length?: number | null | undefined;
|
909
955
|
height?: number | null | undefined;
|
910
956
|
width?: number | null | undefined;
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
957
|
+
origin_country?: string | null | undefined;
|
958
|
+
material?: string | null | undefined;
|
959
|
+
metadata?: Record<string, unknown> | null | undefined;
|
960
|
+
options?: Record<string, string> | undefined;
|
915
961
|
}>;
|
916
962
|
export declare const AdminUpdateProductVariant: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
917
963
|
[x: string]: any;
|
@@ -920,7 +966,9 @@ export declare const AdminUpdateProductVariant: (additionalDataValidator?: z.Zod
|
|
920
966
|
}> | z.ZodEffects<any, any, any>;
|
921
967
|
export type AdminBatchUpdateProductVariantType = z.infer<typeof AdminBatchUpdateProductVariant>;
|
922
968
|
export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
923
|
-
|
969
|
+
length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
970
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
971
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
924
972
|
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
925
973
|
id: z.ZodOptional<z.ZodString>;
|
926
974
|
currency_code: z.ZodOptional<z.ZodString>;
|
@@ -930,37 +978,34 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
930
978
|
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
931
979
|
}, "strip", z.ZodTypeAny, {
|
932
980
|
id?: string | undefined;
|
933
|
-
rules?: Record<string, string> | undefined;
|
934
|
-
amount?: number | undefined;
|
935
981
|
currency_code?: string | undefined;
|
982
|
+
amount?: number | undefined;
|
936
983
|
min_quantity?: number | null | undefined;
|
937
984
|
max_quantity?: number | null | undefined;
|
985
|
+
rules?: Record<string, string> | undefined;
|
938
986
|
}, {
|
939
987
|
id?: string | undefined;
|
940
|
-
rules?: Record<string, string> | undefined;
|
941
|
-
amount?: number | undefined;
|
942
988
|
currency_code?: string | undefined;
|
989
|
+
amount?: number | undefined;
|
943
990
|
min_quantity?: number | null | undefined;
|
944
991
|
max_quantity?: number | null | undefined;
|
992
|
+
rules?: Record<string, string> | undefined;
|
945
993
|
}>, "many">>;
|
994
|
+
title: z.ZodOptional<z.ZodString>;
|
946
995
|
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
947
|
-
ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
948
|
-
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
949
996
|
barcode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
997
|
+
allow_backorder: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
998
|
+
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
950
999
|
hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
951
1000
|
mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
952
|
-
|
953
|
-
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
954
|
-
variant_rank: z.ZodOptional<z.ZodNumber>;
|
1001
|
+
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
955
1002
|
weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
956
|
-
length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
957
1003
|
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
958
1004
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
} & {
|
1005
|
+
ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1006
|
+
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1007
|
+
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1008
|
+
variant_rank: z.ZodOptional<z.ZodNumber>;
|
964
1009
|
id: z.ZodString;
|
965
1010
|
}, "strict", z.ZodTypeAny, {
|
966
1011
|
id: string;
|
@@ -969,11 +1014,11 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
969
1014
|
metadata?: Record<string, unknown> | null | undefined;
|
970
1015
|
prices?: {
|
971
1016
|
id?: string | undefined;
|
972
|
-
rules?: Record<string, string> | undefined;
|
973
|
-
amount?: number | undefined;
|
974
1017
|
currency_code?: string | undefined;
|
1018
|
+
amount?: number | undefined;
|
975
1019
|
min_quantity?: number | null | undefined;
|
976
1020
|
max_quantity?: number | null | undefined;
|
1021
|
+
rules?: Record<string, string> | undefined;
|
977
1022
|
}[] | undefined;
|
978
1023
|
title?: string | undefined;
|
979
1024
|
sku?: string | null | undefined;
|
@@ -997,11 +1042,11 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
997
1042
|
metadata?: Record<string, unknown> | null | undefined;
|
998
1043
|
prices?: {
|
999
1044
|
id?: string | undefined;
|
1000
|
-
rules?: Record<string, string> | undefined;
|
1001
|
-
amount?: number | undefined;
|
1002
1045
|
currency_code?: string | undefined;
|
1046
|
+
amount?: number | undefined;
|
1003
1047
|
min_quantity?: number | null | undefined;
|
1004
1048
|
max_quantity?: number | null | undefined;
|
1049
|
+
rules?: Record<string, string> | undefined;
|
1005
1050
|
}[] | undefined;
|
1006
1051
|
title?: string | undefined;
|
1007
1052
|
sku?: string | null | undefined;
|
@@ -1097,15 +1142,15 @@ export declare const CreateProduct: z.ZodObject<{
|
|
1097
1142
|
}, "strip", z.ZodTypeAny, {
|
1098
1143
|
amount: number;
|
1099
1144
|
currency_code: string;
|
1100
|
-
rules?: Record<string, string> | undefined;
|
1101
1145
|
min_quantity?: number | null | undefined;
|
1102
1146
|
max_quantity?: number | null | undefined;
|
1147
|
+
rules?: Record<string, string> | undefined;
|
1103
1148
|
}, {
|
1104
1149
|
amount: number;
|
1105
1150
|
currency_code: string;
|
1106
|
-
rules?: Record<string, string> | undefined;
|
1107
1151
|
min_quantity?: number | null | undefined;
|
1108
1152
|
max_quantity?: number | null | undefined;
|
1153
|
+
rules?: Record<string, string> | undefined;
|
1109
1154
|
}>, "many">;
|
1110
1155
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1111
1156
|
inventory_items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
@@ -1122,62 +1167,62 @@ export declare const CreateProduct: z.ZodObject<{
|
|
1122
1167
|
prices: {
|
1123
1168
|
amount: number;
|
1124
1169
|
currency_code: string;
|
1125
|
-
rules?: Record<string, string> | undefined;
|
1126
1170
|
min_quantity?: number | null | undefined;
|
1127
1171
|
max_quantity?: number | null | undefined;
|
1172
|
+
rules?: Record<string, string> | undefined;
|
1128
1173
|
}[];
|
1129
1174
|
title: string;
|
1130
1175
|
allow_backorder: boolean;
|
1131
1176
|
manage_inventory: boolean;
|
1132
|
-
length?: number | null | undefined;
|
1133
|
-
options?: Record<string, string> | undefined;
|
1134
|
-
metadata?: Record<string, unknown> | null | undefined;
|
1135
|
-
inventory_items?: {
|
1136
|
-
inventory_item_id: string;
|
1137
|
-
required_quantity: number;
|
1138
|
-
}[] | undefined;
|
1139
1177
|
sku?: string | null | undefined;
|
1178
|
+
ean?: string | null | undefined;
|
1179
|
+
upc?: string | null | undefined;
|
1140
1180
|
barcode?: string | null | undefined;
|
1141
|
-
origin_country?: string | null | undefined;
|
1142
1181
|
hs_code?: string | null | undefined;
|
1143
1182
|
mid_code?: string | null | undefined;
|
1144
|
-
|
1183
|
+
variant_rank?: number | undefined;
|
1145
1184
|
weight?: number | null | undefined;
|
1185
|
+
length?: number | null | undefined;
|
1146
1186
|
height?: number | null | undefined;
|
1147
1187
|
width?: number | null | undefined;
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1188
|
+
origin_country?: string | null | undefined;
|
1189
|
+
material?: string | null | undefined;
|
1190
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1191
|
+
options?: Record<string, string> | undefined;
|
1192
|
+
inventory_items?: {
|
1193
|
+
inventory_item_id: string;
|
1194
|
+
required_quantity: number;
|
1195
|
+
}[] | undefined;
|
1151
1196
|
}, {
|
1152
1197
|
prices: {
|
1153
1198
|
amount: number;
|
1154
1199
|
currency_code: string;
|
1155
|
-
rules?: Record<string, string> | undefined;
|
1156
1200
|
min_quantity?: number | null | undefined;
|
1157
1201
|
max_quantity?: number | null | undefined;
|
1202
|
+
rules?: Record<string, string> | undefined;
|
1158
1203
|
}[];
|
1159
1204
|
title: string;
|
1160
|
-
length?: number | null | undefined;
|
1161
|
-
options?: Record<string, string> | undefined;
|
1162
|
-
metadata?: Record<string, unknown> | null | undefined;
|
1163
|
-
inventory_items?: {
|
1164
|
-
inventory_item_id: string;
|
1165
|
-
required_quantity: number;
|
1166
|
-
}[] | undefined;
|
1167
1205
|
sku?: string | null | undefined;
|
1206
|
+
ean?: string | null | undefined;
|
1207
|
+
upc?: string | null | undefined;
|
1168
1208
|
barcode?: string | null | undefined;
|
1169
|
-
allow_backorder?: string | boolean | undefined;
|
1170
|
-
origin_country?: string | null | undefined;
|
1171
1209
|
hs_code?: string | null | undefined;
|
1172
1210
|
mid_code?: string | null | undefined;
|
1173
|
-
|
1211
|
+
allow_backorder?: string | boolean | undefined;
|
1212
|
+
manage_inventory?: string | boolean | undefined;
|
1213
|
+
variant_rank?: number | undefined;
|
1174
1214
|
weight?: number | null | undefined;
|
1215
|
+
length?: number | null | undefined;
|
1175
1216
|
height?: number | null | undefined;
|
1176
1217
|
width?: number | null | undefined;
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1218
|
+
origin_country?: string | null | undefined;
|
1219
|
+
material?: string | null | undefined;
|
1220
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1221
|
+
options?: Record<string, string> | undefined;
|
1222
|
+
inventory_items?: {
|
1223
|
+
inventory_item_id: string;
|
1224
|
+
required_quantity: number;
|
1225
|
+
}[] | undefined;
|
1181
1226
|
}>, "many">>;
|
1182
1227
|
sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1183
1228
|
id: z.ZodString;
|
@@ -1197,11 +1242,26 @@ export declare const CreateProduct: z.ZodObject<{
|
|
1197
1242
|
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1198
1243
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1199
1244
|
}, "strict", z.ZodTypeAny, {
|
1200
|
-
status: ProductStatus | null;
|
1201
1245
|
title: string;
|
1246
|
+
status: ProductStatus | null;
|
1202
1247
|
is_giftcard: boolean;
|
1203
1248
|
discountable: boolean;
|
1204
|
-
|
1249
|
+
subtitle?: string | null | undefined;
|
1250
|
+
description?: string | null | undefined;
|
1251
|
+
images?: {
|
1252
|
+
url: string;
|
1253
|
+
}[] | undefined;
|
1254
|
+
thumbnail?: string | null | undefined;
|
1255
|
+
handle?: string | undefined;
|
1256
|
+
external_id?: string | null | undefined;
|
1257
|
+
type_id?: string | null | undefined;
|
1258
|
+
collection_id?: string | null | undefined;
|
1259
|
+
categories?: {
|
1260
|
+
id: string;
|
1261
|
+
}[] | undefined;
|
1262
|
+
tags?: {
|
1263
|
+
id: string;
|
1264
|
+
}[] | undefined;
|
1205
1265
|
options?: {
|
1206
1266
|
values: string[];
|
1207
1267
|
title: string;
|
@@ -1210,64 +1270,67 @@ export declare const CreateProduct: z.ZodObject<{
|
|
1210
1270
|
prices: {
|
1211
1271
|
amount: number;
|
1212
1272
|
currency_code: string;
|
1213
|
-
rules?: Record<string, string> | undefined;
|
1214
1273
|
min_quantity?: number | null | undefined;
|
1215
1274
|
max_quantity?: number | null | undefined;
|
1275
|
+
rules?: Record<string, string> | undefined;
|
1216
1276
|
}[];
|
1217
1277
|
title: string;
|
1218
1278
|
allow_backorder: boolean;
|
1219
1279
|
manage_inventory: boolean;
|
1220
|
-
length?: number | null | undefined;
|
1221
|
-
options?: Record<string, string> | undefined;
|
1222
|
-
metadata?: Record<string, unknown> | null | undefined;
|
1223
|
-
inventory_items?: {
|
1224
|
-
inventory_item_id: string;
|
1225
|
-
required_quantity: number;
|
1226
|
-
}[] | undefined;
|
1227
1280
|
sku?: string | null | undefined;
|
1281
|
+
ean?: string | null | undefined;
|
1282
|
+
upc?: string | null | undefined;
|
1228
1283
|
barcode?: string | null | undefined;
|
1229
|
-
origin_country?: string | null | undefined;
|
1230
1284
|
hs_code?: string | null | undefined;
|
1231
1285
|
mid_code?: string | null | undefined;
|
1232
|
-
|
1286
|
+
variant_rank?: number | undefined;
|
1233
1287
|
weight?: number | null | undefined;
|
1288
|
+
length?: number | null | undefined;
|
1234
1289
|
height?: number | null | undefined;
|
1235
1290
|
width?: number | null | undefined;
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1291
|
+
origin_country?: string | null | undefined;
|
1292
|
+
material?: string | null | undefined;
|
1293
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1294
|
+
options?: Record<string, string> | undefined;
|
1295
|
+
inventory_items?: {
|
1296
|
+
inventory_item_id: string;
|
1297
|
+
required_quantity: number;
|
1298
|
+
}[] | undefined;
|
1299
|
+
}[] | undefined;
|
1300
|
+
sales_channels?: {
|
1301
|
+
id: string;
|
1239
1302
|
}[] | undefined;
|
1240
|
-
metadata?: Record<string, unknown> | null | undefined;
|
1241
1303
|
shipping_profile_id?: string | undefined;
|
1242
|
-
description?: string | null | undefined;
|
1243
|
-
handle?: string | undefined;
|
1244
|
-
external_id?: string | null | undefined;
|
1245
|
-
collection_id?: string | null | undefined;
|
1246
|
-
type_id?: string | null | undefined;
|
1247
|
-
thumbnail?: string | null | undefined;
|
1248
|
-
origin_country?: string | null | undefined;
|
1249
|
-
hs_code?: string | null | undefined;
|
1250
|
-
mid_code?: string | null | undefined;
|
1251
|
-
material?: string | null | undefined;
|
1252
1304
|
weight?: number | null | undefined;
|
1305
|
+
length?: number | null | undefined;
|
1253
1306
|
height?: number | null | undefined;
|
1254
1307
|
width?: number | null | undefined;
|
1308
|
+
hs_code?: string | null | undefined;
|
1309
|
+
mid_code?: string | null | undefined;
|
1310
|
+
origin_country?: string | null | undefined;
|
1311
|
+
material?: string | null | undefined;
|
1312
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1313
|
+
}, {
|
1314
|
+
title: string;
|
1255
1315
|
subtitle?: string | null | undefined;
|
1316
|
+
description?: string | null | undefined;
|
1317
|
+
is_giftcard?: string | boolean | undefined;
|
1318
|
+
discountable?: string | boolean | undefined;
|
1319
|
+
images?: {
|
1320
|
+
url: string;
|
1321
|
+
}[] | undefined;
|
1322
|
+
thumbnail?: string | null | undefined;
|
1323
|
+
handle?: string | undefined;
|
1324
|
+
status?: ProductStatus | null | undefined;
|
1325
|
+
external_id?: string | null | undefined;
|
1326
|
+
type_id?: string | null | undefined;
|
1327
|
+
collection_id?: string | null | undefined;
|
1256
1328
|
categories?: {
|
1257
1329
|
id: string;
|
1258
1330
|
}[] | undefined;
|
1259
1331
|
tags?: {
|
1260
1332
|
id: string;
|
1261
1333
|
}[] | undefined;
|
1262
|
-
images?: {
|
1263
|
-
url: string;
|
1264
|
-
}[] | undefined;
|
1265
|
-
sales_channels?: {
|
1266
|
-
id: string;
|
1267
|
-
}[] | undefined;
|
1268
|
-
}, {
|
1269
|
-
title: string;
|
1270
|
-
length?: number | null | undefined;
|
1271
1334
|
options?: {
|
1272
1335
|
values: string[];
|
1273
1336
|
title: string;
|
@@ -1276,64 +1339,46 @@ export declare const CreateProduct: z.ZodObject<{
|
|
1276
1339
|
prices: {
|
1277
1340
|
amount: number;
|
1278
1341
|
currency_code: string;
|
1279
|
-
rules?: Record<string, string> | undefined;
|
1280
1342
|
min_quantity?: number | null | undefined;
|
1281
1343
|
max_quantity?: number | null | undefined;
|
1344
|
+
rules?: Record<string, string> | undefined;
|
1282
1345
|
}[];
|
1283
1346
|
title: string;
|
1284
|
-
length?: number | null | undefined;
|
1285
|
-
options?: Record<string, string> | undefined;
|
1286
|
-
metadata?: Record<string, unknown> | null | undefined;
|
1287
|
-
inventory_items?: {
|
1288
|
-
inventory_item_id: string;
|
1289
|
-
required_quantity: number;
|
1290
|
-
}[] | undefined;
|
1291
1347
|
sku?: string | null | undefined;
|
1348
|
+
ean?: string | null | undefined;
|
1349
|
+
upc?: string | null | undefined;
|
1292
1350
|
barcode?: string | null | undefined;
|
1293
|
-
allow_backorder?: string | boolean | undefined;
|
1294
|
-
origin_country?: string | null | undefined;
|
1295
1351
|
hs_code?: string | null | undefined;
|
1296
1352
|
mid_code?: string | null | undefined;
|
1297
|
-
|
1353
|
+
allow_backorder?: string | boolean | undefined;
|
1354
|
+
manage_inventory?: string | boolean | undefined;
|
1355
|
+
variant_rank?: number | undefined;
|
1298
1356
|
weight?: number | null | undefined;
|
1357
|
+
length?: number | null | undefined;
|
1299
1358
|
height?: number | null | undefined;
|
1300
1359
|
width?: number | null | undefined;
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1360
|
+
origin_country?: string | null | undefined;
|
1361
|
+
material?: string | null | undefined;
|
1362
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1363
|
+
options?: Record<string, string> | undefined;
|
1364
|
+
inventory_items?: {
|
1365
|
+
inventory_item_id: string;
|
1366
|
+
required_quantity: number;
|
1367
|
+
}[] | undefined;
|
1368
|
+
}[] | undefined;
|
1369
|
+
sales_channels?: {
|
1370
|
+
id: string;
|
1305
1371
|
}[] | undefined;
|
1306
|
-
metadata?: Record<string, unknown> | null | undefined;
|
1307
1372
|
shipping_profile_id?: string | undefined;
|
1308
|
-
description?: string | null | undefined;
|
1309
|
-
status?: ProductStatus | null | undefined;
|
1310
|
-
handle?: string | undefined;
|
1311
|
-
is_giftcard?: string | boolean | undefined;
|
1312
|
-
external_id?: string | null | undefined;
|
1313
|
-
collection_id?: string | null | undefined;
|
1314
|
-
type_id?: string | null | undefined;
|
1315
|
-
thumbnail?: string | null | undefined;
|
1316
|
-
origin_country?: string | null | undefined;
|
1317
|
-
hs_code?: string | null | undefined;
|
1318
|
-
mid_code?: string | null | undefined;
|
1319
|
-
material?: string | null | undefined;
|
1320
1373
|
weight?: number | null | undefined;
|
1374
|
+
length?: number | null | undefined;
|
1321
1375
|
height?: number | null | undefined;
|
1322
1376
|
width?: number | null | undefined;
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
tags?: {
|
1329
|
-
id: string;
|
1330
|
-
}[] | undefined;
|
1331
|
-
images?: {
|
1332
|
-
url: string;
|
1333
|
-
}[] | undefined;
|
1334
|
-
sales_channels?: {
|
1335
|
-
id: string;
|
1336
|
-
}[] | undefined;
|
1377
|
+
hs_code?: string | null | undefined;
|
1378
|
+
mid_code?: string | null | undefined;
|
1379
|
+
origin_country?: string | null | undefined;
|
1380
|
+
material?: string | null | undefined;
|
1381
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1337
1382
|
}>;
|
1338
1383
|
export declare const AdminCreateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
1339
1384
|
[x: string]: any;
|
@@ -1350,13 +1395,13 @@ export declare const UpdateProduct: z.ZodObject<{
|
|
1350
1395
|
title: z.ZodOptional<z.ZodString>;
|
1351
1396
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1352
1397
|
}, "strip", z.ZodTypeAny, {
|
1353
|
-
values?: string[] | undefined;
|
1354
1398
|
id?: string | undefined;
|
1355
1399
|
title?: string | undefined;
|
1356
|
-
}, {
|
1357
1400
|
values?: string[] | undefined;
|
1401
|
+
}, {
|
1358
1402
|
id?: string | undefined;
|
1359
1403
|
title?: string | undefined;
|
1404
|
+
values?: string[] | undefined;
|
1360
1405
|
}>, "many">>;
|
1361
1406
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1362
1407
|
id: z.ZodOptional<z.ZodString>;
|
@@ -1370,18 +1415,18 @@ export declare const UpdateProduct: z.ZodObject<{
|
|
1370
1415
|
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1371
1416
|
}, "strip", z.ZodTypeAny, {
|
1372
1417
|
id?: string | undefined;
|
1373
|
-
rules?: Record<string, string> | undefined;
|
1374
|
-
amount?: number | undefined;
|
1375
1418
|
currency_code?: string | undefined;
|
1419
|
+
amount?: number | undefined;
|
1376
1420
|
min_quantity?: number | null | undefined;
|
1377
1421
|
max_quantity?: number | null | undefined;
|
1422
|
+
rules?: Record<string, string> | undefined;
|
1378
1423
|
}, {
|
1379
1424
|
id?: string | undefined;
|
1380
|
-
rules?: Record<string, string> | undefined;
|
1381
|
-
amount?: number | undefined;
|
1382
1425
|
currency_code?: string | undefined;
|
1426
|
+
amount?: number | undefined;
|
1383
1427
|
min_quantity?: number | null | undefined;
|
1384
1428
|
max_quantity?: number | null | undefined;
|
1429
|
+
rules?: Record<string, string> | undefined;
|
1385
1430
|
}>, "many">>;
|
1386
1431
|
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1387
1432
|
ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1401,61 +1446,61 @@ export declare const UpdateProduct: z.ZodObject<{
|
|
1401
1446
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1402
1447
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1403
1448
|
}, "strict", z.ZodTypeAny, {
|
1404
|
-
length?: number | null | undefined;
|
1405
|
-
options?: Record<string, string> | undefined;
|
1406
1449
|
id?: string | undefined;
|
1407
|
-
|
1450
|
+
title?: string | undefined;
|
1408
1451
|
prices?: {
|
1409
1452
|
id?: string | undefined;
|
1410
|
-
rules?: Record<string, string> | undefined;
|
1411
|
-
amount?: number | undefined;
|
1412
1453
|
currency_code?: string | undefined;
|
1454
|
+
amount?: number | undefined;
|
1413
1455
|
min_quantity?: number | null | undefined;
|
1414
1456
|
max_quantity?: number | null | undefined;
|
1457
|
+
rules?: Record<string, string> | undefined;
|
1415
1458
|
}[] | undefined;
|
1416
|
-
title?: string | undefined;
|
1417
1459
|
sku?: string | null | undefined;
|
1460
|
+
ean?: string | null | undefined;
|
1461
|
+
upc?: string | null | undefined;
|
1418
1462
|
barcode?: string | null | undefined;
|
1419
|
-
allow_backorder?: boolean | undefined;
|
1420
|
-
origin_country?: string | null | undefined;
|
1421
1463
|
hs_code?: string | null | undefined;
|
1422
1464
|
mid_code?: string | null | undefined;
|
1423
|
-
|
1424
|
-
weight?: number | null | undefined;
|
1425
|
-
height?: number | null | undefined;
|
1426
|
-
width?: number | null | undefined;
|
1427
|
-
ean?: string | null | undefined;
|
1428
|
-
upc?: string | null | undefined;
|
1465
|
+
allow_backorder?: boolean | undefined;
|
1429
1466
|
manage_inventory?: boolean | undefined;
|
1430
1467
|
variant_rank?: number | undefined;
|
1431
|
-
|
1468
|
+
weight?: number | null | undefined;
|
1432
1469
|
length?: number | null | undefined;
|
1433
|
-
|
1434
|
-
|
1470
|
+
height?: number | null | undefined;
|
1471
|
+
width?: number | null | undefined;
|
1472
|
+
origin_country?: string | null | undefined;
|
1473
|
+
material?: string | null | undefined;
|
1435
1474
|
metadata?: Record<string, unknown> | null | undefined;
|
1475
|
+
options?: Record<string, string> | undefined;
|
1476
|
+
}, {
|
1477
|
+
id?: string | undefined;
|
1478
|
+
title?: string | undefined;
|
1436
1479
|
prices?: {
|
1437
1480
|
id?: string | undefined;
|
1438
|
-
rules?: Record<string, string> | undefined;
|
1439
|
-
amount?: number | undefined;
|
1440
1481
|
currency_code?: string | undefined;
|
1482
|
+
amount?: number | undefined;
|
1441
1483
|
min_quantity?: number | null | undefined;
|
1442
1484
|
max_quantity?: number | null | undefined;
|
1485
|
+
rules?: Record<string, string> | undefined;
|
1443
1486
|
}[] | undefined;
|
1444
|
-
title?: string | undefined;
|
1445
1487
|
sku?: string | null | undefined;
|
1488
|
+
ean?: string | null | undefined;
|
1489
|
+
upc?: string | null | undefined;
|
1446
1490
|
barcode?: string | null | undefined;
|
1447
|
-
allow_backorder?: string | boolean | undefined;
|
1448
|
-
origin_country?: string | null | undefined;
|
1449
1491
|
hs_code?: string | null | undefined;
|
1450
1492
|
mid_code?: string | null | undefined;
|
1451
|
-
|
1493
|
+
allow_backorder?: string | boolean | undefined;
|
1494
|
+
manage_inventory?: string | boolean | undefined;
|
1495
|
+
variant_rank?: number | undefined;
|
1452
1496
|
weight?: number | null | undefined;
|
1497
|
+
length?: number | null | undefined;
|
1453
1498
|
height?: number | null | undefined;
|
1454
1499
|
width?: number | null | undefined;
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1500
|
+
origin_country?: string | null | undefined;
|
1501
|
+
material?: string | null | undefined;
|
1502
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1503
|
+
options?: Record<string, string> | undefined;
|
1459
1504
|
}>, "many">>;
|
1460
1505
|
status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
|
1461
1506
|
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1504,141 +1549,141 @@ export declare const UpdateProduct: z.ZodObject<{
|
|
1504
1549
|
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1505
1550
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1506
1551
|
}, "strict", z.ZodTypeAny, {
|
1507
|
-
|
1552
|
+
title?: string | undefined;
|
1553
|
+
discountable?: boolean | undefined;
|
1554
|
+
is_giftcard?: boolean | undefined;
|
1508
1555
|
options?: {
|
1509
|
-
values?: string[] | undefined;
|
1510
1556
|
id?: string | undefined;
|
1511
1557
|
title?: string | undefined;
|
1558
|
+
values?: string[] | undefined;
|
1512
1559
|
}[] | undefined;
|
1513
1560
|
variants?: {
|
1514
|
-
length?: number | null | undefined;
|
1515
|
-
options?: Record<string, string> | undefined;
|
1516
1561
|
id?: string | undefined;
|
1517
|
-
|
1562
|
+
title?: string | undefined;
|
1518
1563
|
prices?: {
|
1519
1564
|
id?: string | undefined;
|
1520
|
-
rules?: Record<string, string> | undefined;
|
1521
|
-
amount?: number | undefined;
|
1522
1565
|
currency_code?: string | undefined;
|
1566
|
+
amount?: number | undefined;
|
1523
1567
|
min_quantity?: number | null | undefined;
|
1524
1568
|
max_quantity?: number | null | undefined;
|
1569
|
+
rules?: Record<string, string> | undefined;
|
1525
1570
|
}[] | undefined;
|
1526
|
-
title?: string | undefined;
|
1527
1571
|
sku?: string | null | undefined;
|
1572
|
+
ean?: string | null | undefined;
|
1573
|
+
upc?: string | null | undefined;
|
1528
1574
|
barcode?: string | null | undefined;
|
1529
|
-
allow_backorder?: boolean | undefined;
|
1530
|
-
origin_country?: string | null | undefined;
|
1531
1575
|
hs_code?: string | null | undefined;
|
1532
1576
|
mid_code?: string | null | undefined;
|
1533
|
-
|
1577
|
+
allow_backorder?: boolean | undefined;
|
1578
|
+
manage_inventory?: boolean | undefined;
|
1579
|
+
variant_rank?: number | undefined;
|
1534
1580
|
weight?: number | null | undefined;
|
1581
|
+
length?: number | null | undefined;
|
1535
1582
|
height?: number | null | undefined;
|
1536
1583
|
width?: number | null | undefined;
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1584
|
+
origin_country?: string | null | undefined;
|
1585
|
+
material?: string | null | undefined;
|
1586
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1587
|
+
options?: Record<string, string> | undefined;
|
1541
1588
|
}[] | undefined;
|
1542
|
-
metadata?: Record<string, unknown> | null | undefined;
|
1543
|
-
shipping_profile_id?: string | null | undefined;
|
1544
|
-
description?: string | null | undefined;
|
1545
1589
|
status?: ProductStatus | undefined;
|
1546
|
-
|
1590
|
+
subtitle?: string | null | undefined;
|
1591
|
+
description?: string | null | undefined;
|
1592
|
+
images?: {
|
1593
|
+
url: string;
|
1594
|
+
}[] | undefined;
|
1595
|
+
thumbnail?: string | null | undefined;
|
1547
1596
|
handle?: string | null | undefined;
|
1548
|
-
|
1597
|
+
type_id?: string | null | undefined;
|
1549
1598
|
external_id?: string | null | undefined;
|
1550
1599
|
collection_id?: string | null | undefined;
|
1551
|
-
type_id?: string | null | undefined;
|
1552
|
-
thumbnail?: string | null | undefined;
|
1553
|
-
origin_country?: string | null | undefined;
|
1554
|
-
hs_code?: string | null | undefined;
|
1555
|
-
mid_code?: string | null | undefined;
|
1556
|
-
material?: string | null | undefined;
|
1557
|
-
weight?: number | null | undefined;
|
1558
|
-
height?: number | null | undefined;
|
1559
|
-
width?: number | null | undefined;
|
1560
|
-
subtitle?: string | null | undefined;
|
1561
|
-
discountable?: boolean | undefined;
|
1562
1600
|
categories?: {
|
1563
1601
|
id: string;
|
1564
1602
|
}[] | undefined;
|
1565
1603
|
tags?: {
|
1566
1604
|
id: string;
|
1567
1605
|
}[] | undefined;
|
1568
|
-
images?: {
|
1569
|
-
url: string;
|
1570
|
-
}[] | undefined;
|
1571
1606
|
sales_channels?: {
|
1572
1607
|
id: string;
|
1573
1608
|
}[] | undefined;
|
1574
|
-
|
1609
|
+
shipping_profile_id?: string | null | undefined;
|
1610
|
+
weight?: number | null | undefined;
|
1575
1611
|
length?: number | null | undefined;
|
1612
|
+
height?: number | null | undefined;
|
1613
|
+
width?: number | null | undefined;
|
1614
|
+
hs_code?: string | null | undefined;
|
1615
|
+
mid_code?: string | null | undefined;
|
1616
|
+
origin_country?: string | null | undefined;
|
1617
|
+
material?: string | null | undefined;
|
1618
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1619
|
+
}, {
|
1620
|
+
title?: string | undefined;
|
1621
|
+
discountable?: string | boolean | undefined;
|
1622
|
+
is_giftcard?: string | boolean | undefined;
|
1576
1623
|
options?: {
|
1577
|
-
values?: string[] | undefined;
|
1578
1624
|
id?: string | undefined;
|
1579
1625
|
title?: string | undefined;
|
1626
|
+
values?: string[] | undefined;
|
1580
1627
|
}[] | undefined;
|
1581
1628
|
variants?: {
|
1582
|
-
length?: number | null | undefined;
|
1583
|
-
options?: Record<string, string> | undefined;
|
1584
1629
|
id?: string | undefined;
|
1585
|
-
|
1630
|
+
title?: string | undefined;
|
1586
1631
|
prices?: {
|
1587
1632
|
id?: string | undefined;
|
1588
|
-
rules?: Record<string, string> | undefined;
|
1589
|
-
amount?: number | undefined;
|
1590
1633
|
currency_code?: string | undefined;
|
1634
|
+
amount?: number | undefined;
|
1591
1635
|
min_quantity?: number | null | undefined;
|
1592
1636
|
max_quantity?: number | null | undefined;
|
1637
|
+
rules?: Record<string, string> | undefined;
|
1593
1638
|
}[] | undefined;
|
1594
|
-
title?: string | undefined;
|
1595
1639
|
sku?: string | null | undefined;
|
1640
|
+
ean?: string | null | undefined;
|
1641
|
+
upc?: string | null | undefined;
|
1596
1642
|
barcode?: string | null | undefined;
|
1597
|
-
allow_backorder?: string | boolean | undefined;
|
1598
|
-
origin_country?: string | null | undefined;
|
1599
1643
|
hs_code?: string | null | undefined;
|
1600
1644
|
mid_code?: string | null | undefined;
|
1601
|
-
|
1645
|
+
allow_backorder?: string | boolean | undefined;
|
1646
|
+
manage_inventory?: string | boolean | undefined;
|
1647
|
+
variant_rank?: number | undefined;
|
1602
1648
|
weight?: number | null | undefined;
|
1649
|
+
length?: number | null | undefined;
|
1603
1650
|
height?: number | null | undefined;
|
1604
1651
|
width?: number | null | undefined;
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1652
|
+
origin_country?: string | null | undefined;
|
1653
|
+
material?: string | null | undefined;
|
1654
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1655
|
+
options?: Record<string, string> | undefined;
|
1609
1656
|
}[] | undefined;
|
1610
|
-
metadata?: Record<string, unknown> | null | undefined;
|
1611
|
-
shipping_profile_id?: string | null | undefined;
|
1612
|
-
description?: string | null | undefined;
|
1613
1657
|
status?: ProductStatus | undefined;
|
1614
|
-
|
1658
|
+
subtitle?: string | null | undefined;
|
1659
|
+
description?: string | null | undefined;
|
1660
|
+
images?: {
|
1661
|
+
url: string;
|
1662
|
+
}[] | undefined;
|
1663
|
+
thumbnail?: string | null | undefined;
|
1615
1664
|
handle?: string | null | undefined;
|
1616
|
-
|
1665
|
+
type_id?: string | null | undefined;
|
1617
1666
|
external_id?: string | null | undefined;
|
1618
1667
|
collection_id?: string | null | undefined;
|
1619
|
-
type_id?: string | null | undefined;
|
1620
|
-
thumbnail?: string | null | undefined;
|
1621
|
-
origin_country?: string | null | undefined;
|
1622
|
-
hs_code?: string | null | undefined;
|
1623
|
-
mid_code?: string | null | undefined;
|
1624
|
-
material?: string | null | undefined;
|
1625
|
-
weight?: number | null | undefined;
|
1626
|
-
height?: number | null | undefined;
|
1627
|
-
width?: number | null | undefined;
|
1628
|
-
subtitle?: string | null | undefined;
|
1629
|
-
discountable?: string | boolean | undefined;
|
1630
1668
|
categories?: {
|
1631
1669
|
id: string;
|
1632
1670
|
}[] | undefined;
|
1633
1671
|
tags?: {
|
1634
1672
|
id: string;
|
1635
1673
|
}[] | undefined;
|
1636
|
-
images?: {
|
1637
|
-
url: string;
|
1638
|
-
}[] | undefined;
|
1639
1674
|
sales_channels?: {
|
1640
1675
|
id: string;
|
1641
1676
|
}[] | undefined;
|
1677
|
+
shipping_profile_id?: string | null | undefined;
|
1678
|
+
weight?: number | null | undefined;
|
1679
|
+
length?: number | null | undefined;
|
1680
|
+
height?: number | null | undefined;
|
1681
|
+
width?: number | null | undefined;
|
1682
|
+
hs_code?: string | null | undefined;
|
1683
|
+
mid_code?: string | null | undefined;
|
1684
|
+
origin_country?: string | null | undefined;
|
1685
|
+
material?: string | null | undefined;
|
1686
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1642
1687
|
}>;
|
1643
1688
|
export declare const AdminUpdateProduct: (additionalDataValidator?: z.ZodOptional<z.ZodNullable<z.ZodObject<any, any>>>) => z.ZodObject<any, any, z.ZodTypeAny, {
|
1644
1689
|
[x: string]: any;
|
@@ -1647,21 +1692,19 @@ export declare const AdminUpdateProduct: (additionalDataValidator?: z.ZodOptiona
|
|
1647
1692
|
}> | z.ZodEffects<any, any, any>;
|
1648
1693
|
export type AdminBatchUpdateProductType = z.infer<typeof AdminBatchUpdateProduct>;
|
1649
1694
|
export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
1650
|
-
|
1651
|
-
discountable: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1652
|
-
is_giftcard: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1695
|
+
length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1653
1696
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1654
1697
|
id: z.ZodOptional<z.ZodString>;
|
1655
1698
|
title: z.ZodOptional<z.ZodString>;
|
1656
1699
|
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1657
1700
|
}, "strip", z.ZodTypeAny, {
|
1658
|
-
values?: string[] | undefined;
|
1659
1701
|
id?: string | undefined;
|
1660
1702
|
title?: string | undefined;
|
1661
|
-
}, {
|
1662
1703
|
values?: string[] | undefined;
|
1704
|
+
}, {
|
1663
1705
|
id?: string | undefined;
|
1664
1706
|
title?: string | undefined;
|
1707
|
+
values?: string[] | undefined;
|
1665
1708
|
}>, "many">>;
|
1666
1709
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1667
1710
|
id: z.ZodOptional<z.ZodString>;
|
@@ -1675,18 +1718,18 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
1675
1718
|
rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1676
1719
|
}, "strip", z.ZodTypeAny, {
|
1677
1720
|
id?: string | undefined;
|
1678
|
-
rules?: Record<string, string> | undefined;
|
1679
|
-
amount?: number | undefined;
|
1680
1721
|
currency_code?: string | undefined;
|
1722
|
+
amount?: number | undefined;
|
1681
1723
|
min_quantity?: number | null | undefined;
|
1682
1724
|
max_quantity?: number | null | undefined;
|
1725
|
+
rules?: Record<string, string> | undefined;
|
1683
1726
|
}, {
|
1684
1727
|
id?: string | undefined;
|
1685
|
-
rules?: Record<string, string> | undefined;
|
1686
|
-
amount?: number | undefined;
|
1687
1728
|
currency_code?: string | undefined;
|
1729
|
+
amount?: number | undefined;
|
1688
1730
|
min_quantity?: number | null | undefined;
|
1689
1731
|
max_quantity?: number | null | undefined;
|
1732
|
+
rules?: Record<string, string> | undefined;
|
1690
1733
|
}>, "many">>;
|
1691
1734
|
sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1692
1735
|
ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1706,77 +1749,82 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
1706
1749
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1707
1750
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
1708
1751
|
}, "strict", z.ZodTypeAny, {
|
1709
|
-
length?: number | null | undefined;
|
1710
|
-
options?: Record<string, string> | undefined;
|
1711
1752
|
id?: string | undefined;
|
1712
|
-
|
1753
|
+
title?: string | undefined;
|
1713
1754
|
prices?: {
|
1714
1755
|
id?: string | undefined;
|
1715
|
-
rules?: Record<string, string> | undefined;
|
1716
|
-
amount?: number | undefined;
|
1717
1756
|
currency_code?: string | undefined;
|
1757
|
+
amount?: number | undefined;
|
1718
1758
|
min_quantity?: number | null | undefined;
|
1719
1759
|
max_quantity?: number | null | undefined;
|
1760
|
+
rules?: Record<string, string> | undefined;
|
1720
1761
|
}[] | undefined;
|
1721
|
-
title?: string | undefined;
|
1722
1762
|
sku?: string | null | undefined;
|
1763
|
+
ean?: string | null | undefined;
|
1764
|
+
upc?: string | null | undefined;
|
1723
1765
|
barcode?: string | null | undefined;
|
1724
|
-
allow_backorder?: boolean | undefined;
|
1725
|
-
origin_country?: string | null | undefined;
|
1726
1766
|
hs_code?: string | null | undefined;
|
1727
1767
|
mid_code?: string | null | undefined;
|
1728
|
-
|
1729
|
-
weight?: number | null | undefined;
|
1730
|
-
height?: number | null | undefined;
|
1731
|
-
width?: number | null | undefined;
|
1732
|
-
ean?: string | null | undefined;
|
1733
|
-
upc?: string | null | undefined;
|
1768
|
+
allow_backorder?: boolean | undefined;
|
1734
1769
|
manage_inventory?: boolean | undefined;
|
1735
1770
|
variant_rank?: number | undefined;
|
1736
|
-
|
1771
|
+
weight?: number | null | undefined;
|
1737
1772
|
length?: number | null | undefined;
|
1773
|
+
height?: number | null | undefined;
|
1774
|
+
width?: number | null | undefined;
|
1775
|
+
origin_country?: string | null | undefined;
|
1776
|
+
material?: string | null | undefined;
|
1777
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1738
1778
|
options?: Record<string, string> | undefined;
|
1779
|
+
}, {
|
1739
1780
|
id?: string | undefined;
|
1740
|
-
|
1781
|
+
title?: string | undefined;
|
1741
1782
|
prices?: {
|
1742
1783
|
id?: string | undefined;
|
1743
|
-
rules?: Record<string, string> | undefined;
|
1744
|
-
amount?: number | undefined;
|
1745
1784
|
currency_code?: string | undefined;
|
1785
|
+
amount?: number | undefined;
|
1746
1786
|
min_quantity?: number | null | undefined;
|
1747
1787
|
max_quantity?: number | null | undefined;
|
1788
|
+
rules?: Record<string, string> | undefined;
|
1748
1789
|
}[] | undefined;
|
1749
|
-
title?: string | undefined;
|
1750
1790
|
sku?: string | null | undefined;
|
1791
|
+
ean?: string | null | undefined;
|
1792
|
+
upc?: string | null | undefined;
|
1751
1793
|
barcode?: string | null | undefined;
|
1752
|
-
allow_backorder?: string | boolean | undefined;
|
1753
|
-
origin_country?: string | null | undefined;
|
1754
1794
|
hs_code?: string | null | undefined;
|
1755
1795
|
mid_code?: string | null | undefined;
|
1756
|
-
|
1796
|
+
allow_backorder?: string | boolean | undefined;
|
1797
|
+
manage_inventory?: string | boolean | undefined;
|
1798
|
+
variant_rank?: number | undefined;
|
1757
1799
|
weight?: number | null | undefined;
|
1800
|
+
length?: number | null | undefined;
|
1758
1801
|
height?: number | null | undefined;
|
1759
1802
|
width?: number | null | undefined;
|
1760
|
-
|
1761
|
-
|
1762
|
-
|
1763
|
-
|
1803
|
+
origin_country?: string | null | undefined;
|
1804
|
+
material?: string | null | undefined;
|
1805
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1806
|
+
options?: Record<string, string> | undefined;
|
1764
1807
|
}>, "many">>;
|
1765
|
-
|
1766
|
-
|
1808
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1809
|
+
shipping_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1767
1810
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1768
|
-
|
1769
|
-
|
1770
|
-
}, "strip", z.ZodTypeAny, {
|
1771
|
-
url: string;
|
1772
|
-
}, {
|
1773
|
-
url: string;
|
1774
|
-
}>, "many">>;
|
1775
|
-
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1811
|
+
title: z.ZodOptional<z.ZodString>;
|
1812
|
+
status: z.ZodOptional<z.ZodNativeEnum<typeof ProductStatus>>;
|
1776
1813
|
handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1777
|
-
|
1814
|
+
is_giftcard: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1778
1815
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1779
1816
|
collection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1817
|
+
type_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1818
|
+
thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1819
|
+
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1820
|
+
hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1821
|
+
mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1822
|
+
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1823
|
+
weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1824
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1825
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1826
|
+
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1827
|
+
discountable: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
1780
1828
|
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1781
1829
|
id: z.ZodString;
|
1782
1830
|
}, "strip", z.ZodTypeAny, {
|
@@ -1791,6 +1839,13 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
1791
1839
|
}, {
|
1792
1840
|
id: string;
|
1793
1841
|
}>, "many">>;
|
1842
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1843
|
+
url: z.ZodString;
|
1844
|
+
}, "strip", z.ZodTypeAny, {
|
1845
|
+
url: string;
|
1846
|
+
}, {
|
1847
|
+
url: string;
|
1848
|
+
}>, "many">>;
|
1794
1849
|
sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1795
1850
|
id: z.ZodString;
|
1796
1851
|
}, "strip", z.ZodTypeAny, {
|
@@ -1798,60 +1853,49 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
1798
1853
|
}, {
|
1799
1854
|
id: string;
|
1800
1855
|
}>, "many">>;
|
1801
|
-
shipping_profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1802
|
-
weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1803
|
-
length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1804
|
-
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1805
|
-
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
1806
|
-
hs_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1807
|
-
mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1808
|
-
origin_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1809
|
-
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1810
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
1811
|
-
} & {
|
1812
1856
|
id: z.ZodString;
|
1813
1857
|
}, "strict", z.ZodTypeAny, {
|
1814
1858
|
id: string;
|
1815
1859
|
length?: number | null | undefined;
|
1816
1860
|
options?: {
|
1817
|
-
values?: string[] | undefined;
|
1818
1861
|
id?: string | undefined;
|
1819
1862
|
title?: string | undefined;
|
1863
|
+
values?: string[] | undefined;
|
1820
1864
|
}[] | undefined;
|
1821
1865
|
variants?: {
|
1822
|
-
length?: number | null | undefined;
|
1823
|
-
options?: Record<string, string> | undefined;
|
1824
1866
|
id?: string | undefined;
|
1825
|
-
|
1867
|
+
title?: string | undefined;
|
1826
1868
|
prices?: {
|
1827
1869
|
id?: string | undefined;
|
1828
|
-
rules?: Record<string, string> | undefined;
|
1829
|
-
amount?: number | undefined;
|
1830
1870
|
currency_code?: string | undefined;
|
1871
|
+
amount?: number | undefined;
|
1831
1872
|
min_quantity?: number | null | undefined;
|
1832
1873
|
max_quantity?: number | null | undefined;
|
1874
|
+
rules?: Record<string, string> | undefined;
|
1833
1875
|
}[] | undefined;
|
1834
|
-
title?: string | undefined;
|
1835
1876
|
sku?: string | null | undefined;
|
1877
|
+
ean?: string | null | undefined;
|
1878
|
+
upc?: string | null | undefined;
|
1836
1879
|
barcode?: string | null | undefined;
|
1837
|
-
allow_backorder?: boolean | undefined;
|
1838
|
-
origin_country?: string | null | undefined;
|
1839
1880
|
hs_code?: string | null | undefined;
|
1840
1881
|
mid_code?: string | null | undefined;
|
1841
|
-
|
1882
|
+
allow_backorder?: boolean | undefined;
|
1883
|
+
manage_inventory?: boolean | undefined;
|
1884
|
+
variant_rank?: number | undefined;
|
1842
1885
|
weight?: number | null | undefined;
|
1886
|
+
length?: number | null | undefined;
|
1843
1887
|
height?: number | null | undefined;
|
1844
1888
|
width?: number | null | undefined;
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1889
|
+
origin_country?: string | null | undefined;
|
1890
|
+
material?: string | null | undefined;
|
1891
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1892
|
+
options?: Record<string, string> | undefined;
|
1849
1893
|
}[] | undefined;
|
1850
1894
|
metadata?: Record<string, unknown> | null | undefined;
|
1851
1895
|
shipping_profile_id?: string | null | undefined;
|
1852
1896
|
description?: string | null | undefined;
|
1853
|
-
status?: ProductStatus | undefined;
|
1854
1897
|
title?: string | undefined;
|
1898
|
+
status?: ProductStatus | undefined;
|
1855
1899
|
handle?: string | null | undefined;
|
1856
1900
|
is_giftcard?: boolean | undefined;
|
1857
1901
|
external_id?: string | null | undefined;
|
@@ -1883,44 +1927,44 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
1883
1927
|
id: string;
|
1884
1928
|
length?: number | null | undefined;
|
1885
1929
|
options?: {
|
1886
|
-
values?: string[] | undefined;
|
1887
1930
|
id?: string | undefined;
|
1888
1931
|
title?: string | undefined;
|
1932
|
+
values?: string[] | undefined;
|
1889
1933
|
}[] | undefined;
|
1890
1934
|
variants?: {
|
1891
|
-
length?: number | null | undefined;
|
1892
|
-
options?: Record<string, string> | undefined;
|
1893
1935
|
id?: string | undefined;
|
1894
|
-
|
1936
|
+
title?: string | undefined;
|
1895
1937
|
prices?: {
|
1896
1938
|
id?: string | undefined;
|
1897
|
-
rules?: Record<string, string> | undefined;
|
1898
|
-
amount?: number | undefined;
|
1899
1939
|
currency_code?: string | undefined;
|
1940
|
+
amount?: number | undefined;
|
1900
1941
|
min_quantity?: number | null | undefined;
|
1901
1942
|
max_quantity?: number | null | undefined;
|
1943
|
+
rules?: Record<string, string> | undefined;
|
1902
1944
|
}[] | undefined;
|
1903
|
-
title?: string | undefined;
|
1904
1945
|
sku?: string | null | undefined;
|
1946
|
+
ean?: string | null | undefined;
|
1947
|
+
upc?: string | null | undefined;
|
1905
1948
|
barcode?: string | null | undefined;
|
1906
|
-
allow_backorder?: string | boolean | undefined;
|
1907
|
-
origin_country?: string | null | undefined;
|
1908
1949
|
hs_code?: string | null | undefined;
|
1909
1950
|
mid_code?: string | null | undefined;
|
1910
|
-
|
1951
|
+
allow_backorder?: string | boolean | undefined;
|
1952
|
+
manage_inventory?: string | boolean | undefined;
|
1953
|
+
variant_rank?: number | undefined;
|
1911
1954
|
weight?: number | null | undefined;
|
1955
|
+
length?: number | null | undefined;
|
1912
1956
|
height?: number | null | undefined;
|
1913
1957
|
width?: number | null | undefined;
|
1914
|
-
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1958
|
+
origin_country?: string | null | undefined;
|
1959
|
+
material?: string | null | undefined;
|
1960
|
+
metadata?: Record<string, unknown> | null | undefined;
|
1961
|
+
options?: Record<string, string> | undefined;
|
1918
1962
|
}[] | undefined;
|
1919
1963
|
metadata?: Record<string, unknown> | null | undefined;
|
1920
1964
|
shipping_profile_id?: string | null | undefined;
|
1921
1965
|
description?: string | null | undefined;
|
1922
|
-
status?: ProductStatus | undefined;
|
1923
1966
|
title?: string | undefined;
|
1967
|
+
status?: ProductStatus | undefined;
|
1924
1968
|
handle?: string | null | undefined;
|
1925
1969
|
is_giftcard?: string | boolean | undefined;
|
1926
1970
|
external_id?: string | null | undefined;
|