@shophost/rest-api 2.0.60 → 2.0.62
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 +1 -1
- package/src/bootstrap.js +1 -1
- package/src/bootstrap.js.map +1 -1
- package/src/container.d.ts +4 -0
- package/src/container.js +1 -1
- package/src/container.js.map +1 -1
- package/src/core/lib/prisma.d.ts +24 -24
- package/src/core/notifications/email.service.d.ts +12 -14
- package/src/core/notifications/email.service.js +1 -1
- package/src/core/notifications/email.service.js.map +1 -1
- package/src/features/access/access.route.d.ts +6 -6
- package/src/features/cart/cart.route.d.ts +15 -15
- package/src/features/cart/cart.schema.d.ts +27 -27
- package/src/features/cart/cart.service.d.ts +4 -4
- package/src/features/customer/customer.route.d.ts +9 -9
- package/src/features/customer/customer.schema.d.ts +9 -9
- package/src/features/customer/customer.service.d.ts +1 -1
- package/src/features/integration/integration-registry.d.ts +10 -10
- package/src/features/integration/integration-registry.js +1 -1
- package/src/features/integration/integration-registry.js.map +1 -1
- package/src/features/integration/integration.service.d.ts +5 -1
- package/src/features/integration/integration.service.js +1 -1
- package/src/features/integration/integration.service.js.map +1 -1
- package/src/features/manufacturer/manufacturer.route.d.ts +14 -14
- package/src/features/manufacturer/manufacturer.schema.d.ts +1 -1
- package/src/features/manufacturer/manufacturer.service.d.ts +2 -2
- package/src/features/order/order-fulfillment.service.d.ts +12 -0
- package/src/features/order/order-fulfillment.service.js +1 -0
- package/src/features/order/order-fulfillment.service.js.map +1 -0
- package/src/features/order/order.route.d.ts +61 -61
- package/src/features/order/order.schema.d.ts +14 -14
- package/src/features/order/order.service.d.ts +10 -6
- package/src/features/order/order.service.js +1 -1
- package/src/features/order/order.service.js.map +1 -1
- package/src/features/order/recipient.schema.d.ts +2 -2
- package/src/features/organization/organization-configuration.schema.d.ts +25 -25
- package/src/features/organization/organization.route.d.ts +67 -67
- package/src/features/organization/organization.schema.d.ts +25 -25
- package/src/features/organization/organization.service.d.ts +8 -8
- package/src/features/payment/payment-webhook.service.d.ts +12 -0
- package/src/features/payment/payment-webhook.service.js +1 -0
- package/src/features/payment/payment-webhook.service.js.map +1 -0
- package/src/features/payment/payment.service.d.ts +3 -11
- package/src/features/payment/payment.service.js +1 -1
- package/src/features/payment/payment.service.js.map +1 -1
- package/src/features/payment/stripe.service.d.ts +22 -31
- package/src/features/payment/stripe.service.js +1 -1
- package/src/features/payment/stripe.service.js.map +1 -1
- package/src/features/product/product-modifier.schema.d.ts +30 -30
- package/src/features/product/product.route.d.ts +182 -182
- package/src/features/product/product.schema.d.ts +65 -65
- package/src/features/product/product.service.d.ts +26 -26
- package/src/features/product-category/product-category.route.d.ts +14 -14
- package/src/features/product-category/product-category.schema.d.ts +1 -1
- package/src/features/product-category/product-category.service.d.ts +2 -2
- package/src/features/reservation/reservation.route.d.ts +12 -12
- package/src/features/reservation/reservation.schema.d.ts +6 -6
- package/src/features/reservation/reservation.service.d.ts +3 -5
- package/src/features/reservation/reservation.service.js +1 -1
- package/src/features/reservation/reservation.service.js.map +1 -1
- package/src/features/shipping-method/shipping-method.route.d.ts +6 -6
- package/src/features/webhook/webhook.handler.d.ts +2 -2
- package/src/features/webhook/webhook.handler.js +1 -1
- package/src/features/webhook/webhook.handler.js.map +1 -1
- package/src/schemas/locales.schema.d.ts +6 -6
- package/src/schemas/pagination.schema.d.ts +6 -6
- package/src/schemas/queries.schema.d.ts +6 -6
|
@@ -19,7 +19,13 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
19
19
|
selectMin: z.ZodCoercedNumber<unknown>;
|
|
20
20
|
selectMax: z.ZodCoercedNumber<unknown>;
|
|
21
21
|
defaultLocale: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
hr: "hr";
|
|
23
|
+
th: "th";
|
|
24
|
+
tr: "tr";
|
|
22
25
|
id: "id";
|
|
26
|
+
is: "is";
|
|
27
|
+
mt: "mt";
|
|
28
|
+
ml: "ml";
|
|
23
29
|
af: "af";
|
|
24
30
|
sq: "sq";
|
|
25
31
|
ar_dz: "ar_dz";
|
|
@@ -46,7 +52,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
46
52
|
zh_cn: "zh_cn";
|
|
47
53
|
zh_sg: "zh_sg";
|
|
48
54
|
zh_tw: "zh_tw";
|
|
49
|
-
hr: "hr";
|
|
50
55
|
cs: "cs";
|
|
51
56
|
da: "da";
|
|
52
57
|
nl_be: "nl_be";
|
|
@@ -81,7 +86,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
81
86
|
he: "he";
|
|
82
87
|
hi: "hi";
|
|
83
88
|
hu: "hu";
|
|
84
|
-
is: "is";
|
|
85
89
|
ga: "ga";
|
|
86
90
|
it: "it";
|
|
87
91
|
it_ch: "it_ch";
|
|
@@ -91,9 +95,7 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
91
95
|
lv: "lv";
|
|
92
96
|
lt: "lt";
|
|
93
97
|
mk: "mk";
|
|
94
|
-
ml: "ml";
|
|
95
98
|
ms: "ms";
|
|
96
|
-
mt: "mt";
|
|
97
99
|
no: "no";
|
|
98
100
|
nb: "nb";
|
|
99
101
|
nn: "nn";
|
|
@@ -124,8 +126,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
124
126
|
es: "es";
|
|
125
127
|
sv: "sv";
|
|
126
128
|
sv_fi: "sv_fi";
|
|
127
|
-
th: "th";
|
|
128
|
-
tr: "tr";
|
|
129
129
|
uk: "uk";
|
|
130
130
|
ur: "ur";
|
|
131
131
|
vi: "vi";
|
|
@@ -141,7 +141,13 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
141
141
|
}, z.core.$strip>>>;
|
|
142
142
|
translations: z.ZodArray<z.ZodObject<{
|
|
143
143
|
locale: z.ZodEnum<{
|
|
144
|
+
hr: "hr";
|
|
145
|
+
th: "th";
|
|
146
|
+
tr: "tr";
|
|
144
147
|
id: "id";
|
|
148
|
+
is: "is";
|
|
149
|
+
mt: "mt";
|
|
150
|
+
ml: "ml";
|
|
145
151
|
af: "af";
|
|
146
152
|
sq: "sq";
|
|
147
153
|
ar_dz: "ar_dz";
|
|
@@ -168,7 +174,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
168
174
|
zh_cn: "zh_cn";
|
|
169
175
|
zh_sg: "zh_sg";
|
|
170
176
|
zh_tw: "zh_tw";
|
|
171
|
-
hr: "hr";
|
|
172
177
|
cs: "cs";
|
|
173
178
|
da: "da";
|
|
174
179
|
nl_be: "nl_be";
|
|
@@ -203,7 +208,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
203
208
|
he: "he";
|
|
204
209
|
hi: "hi";
|
|
205
210
|
hu: "hu";
|
|
206
|
-
is: "is";
|
|
207
211
|
ga: "ga";
|
|
208
212
|
it: "it";
|
|
209
213
|
it_ch: "it_ch";
|
|
@@ -213,9 +217,7 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
213
217
|
lv: "lv";
|
|
214
218
|
lt: "lt";
|
|
215
219
|
mk: "mk";
|
|
216
|
-
ml: "ml";
|
|
217
220
|
ms: "ms";
|
|
218
|
-
mt: "mt";
|
|
219
221
|
no: "no";
|
|
220
222
|
nb: "nb";
|
|
221
223
|
nn: "nn";
|
|
@@ -246,8 +248,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
246
248
|
es: "es";
|
|
247
249
|
sv: "sv";
|
|
248
250
|
sv_fi: "sv_fi";
|
|
249
|
-
th: "th";
|
|
250
|
-
tr: "tr";
|
|
251
251
|
uk: "uk";
|
|
252
252
|
ur: "ur";
|
|
253
253
|
vi: "vi";
|
|
@@ -281,7 +281,13 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
281
281
|
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
282
282
|
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
283
283
|
locale: z.ZodEnum<{
|
|
284
|
+
hr: "hr";
|
|
285
|
+
th: "th";
|
|
286
|
+
tr: "tr";
|
|
284
287
|
id: "id";
|
|
288
|
+
is: "is";
|
|
289
|
+
mt: "mt";
|
|
290
|
+
ml: "ml";
|
|
285
291
|
af: "af";
|
|
286
292
|
sq: "sq";
|
|
287
293
|
ar_dz: "ar_dz";
|
|
@@ -308,7 +314,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
308
314
|
zh_cn: "zh_cn";
|
|
309
315
|
zh_sg: "zh_sg";
|
|
310
316
|
zh_tw: "zh_tw";
|
|
311
|
-
hr: "hr";
|
|
312
317
|
cs: "cs";
|
|
313
318
|
da: "da";
|
|
314
319
|
nl_be: "nl_be";
|
|
@@ -343,7 +348,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
343
348
|
he: "he";
|
|
344
349
|
hi: "hi";
|
|
345
350
|
hu: "hu";
|
|
346
|
-
is: "is";
|
|
347
351
|
ga: "ga";
|
|
348
352
|
it: "it";
|
|
349
353
|
it_ch: "it_ch";
|
|
@@ -353,9 +357,7 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
353
357
|
lv: "lv";
|
|
354
358
|
lt: "lt";
|
|
355
359
|
mk: "mk";
|
|
356
|
-
ml: "ml";
|
|
357
360
|
ms: "ms";
|
|
358
|
-
mt: "mt";
|
|
359
361
|
no: "no";
|
|
360
362
|
nb: "nb";
|
|
361
363
|
nn: "nn";
|
|
@@ -386,8 +388,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
386
388
|
es: "es";
|
|
387
389
|
sv: "sv";
|
|
388
390
|
sv_fi: "sv_fi";
|
|
389
|
-
th: "th";
|
|
390
|
-
tr: "tr";
|
|
391
391
|
uk: "uk";
|
|
392
392
|
ur: "ur";
|
|
393
393
|
vi: "vi";
|
|
@@ -403,9 +403,10 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
403
403
|
export declare const LocalizedProductSchema: z.ZodObject<{
|
|
404
404
|
description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
405
405
|
title: z.ZodDefault<z.ZodString>;
|
|
406
|
-
currency: z.ZodString;
|
|
407
|
-
id: z.ZodString;
|
|
408
406
|
createdAt: z.ZodDate;
|
|
407
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
408
|
+
id: z.ZodString;
|
|
409
|
+
currency: z.ZodString;
|
|
409
410
|
slug: z.ZodOptional<z.ZodString>;
|
|
410
411
|
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
411
412
|
sku: z.ZodOptional<z.ZodString>;
|
|
@@ -423,7 +424,13 @@ export declare const LocalizedProductSchema: z.ZodObject<{
|
|
|
423
424
|
title: z.ZodNullable<z.ZodDefault<z.ZodString>>;
|
|
424
425
|
id: z.ZodString;
|
|
425
426
|
defaultLocale: z.ZodOptional<z.ZodEnum<{
|
|
427
|
+
hr: "hr";
|
|
428
|
+
th: "th";
|
|
429
|
+
tr: "tr";
|
|
426
430
|
id: "id";
|
|
431
|
+
is: "is";
|
|
432
|
+
mt: "mt";
|
|
433
|
+
ml: "ml";
|
|
427
434
|
af: "af";
|
|
428
435
|
sq: "sq";
|
|
429
436
|
ar_dz: "ar_dz";
|
|
@@ -450,7 +457,6 @@ export declare const LocalizedProductSchema: z.ZodObject<{
|
|
|
450
457
|
zh_cn: "zh_cn";
|
|
451
458
|
zh_sg: "zh_sg";
|
|
452
459
|
zh_tw: "zh_tw";
|
|
453
|
-
hr: "hr";
|
|
454
460
|
cs: "cs";
|
|
455
461
|
da: "da";
|
|
456
462
|
nl_be: "nl_be";
|
|
@@ -485,7 +491,6 @@ export declare const LocalizedProductSchema: z.ZodObject<{
|
|
|
485
491
|
he: "he";
|
|
486
492
|
hi: "hi";
|
|
487
493
|
hu: "hu";
|
|
488
|
-
is: "is";
|
|
489
494
|
ga: "ga";
|
|
490
495
|
it: "it";
|
|
491
496
|
it_ch: "it_ch";
|
|
@@ -495,9 +500,7 @@ export declare const LocalizedProductSchema: z.ZodObject<{
|
|
|
495
500
|
lv: "lv";
|
|
496
501
|
lt: "lt";
|
|
497
502
|
mk: "mk";
|
|
498
|
-
ml: "ml";
|
|
499
503
|
ms: "ms";
|
|
500
|
-
mt: "mt";
|
|
501
504
|
no: "no";
|
|
502
505
|
nb: "nb";
|
|
503
506
|
nn: "nn";
|
|
@@ -528,8 +531,6 @@ export declare const LocalizedProductSchema: z.ZodObject<{
|
|
|
528
531
|
es: "es";
|
|
529
532
|
sv: "sv";
|
|
530
533
|
sv_fi: "sv_fi";
|
|
531
|
-
th: "th";
|
|
532
|
-
tr: "tr";
|
|
533
534
|
uk: "uk";
|
|
534
535
|
ur: "ur";
|
|
535
536
|
vi: "vi";
|
|
@@ -550,13 +551,19 @@ export declare const LocalizedProductSchema: z.ZodObject<{
|
|
|
550
551
|
id: z.ZodString;
|
|
551
552
|
}, z.core.$strip>>>;
|
|
552
553
|
manufacturerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
553
|
-
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
554
554
|
}, z.core.$strip>;
|
|
555
555
|
export declare const CreateProductSchema: z.ZodObject<{
|
|
556
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
556
557
|
currency: z.ZodString;
|
|
557
558
|
translations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
558
559
|
locale: z.ZodEnum<{
|
|
560
|
+
hr: "hr";
|
|
561
|
+
th: "th";
|
|
562
|
+
tr: "tr";
|
|
559
563
|
id: "id";
|
|
564
|
+
is: "is";
|
|
565
|
+
mt: "mt";
|
|
566
|
+
ml: "ml";
|
|
560
567
|
af: "af";
|
|
561
568
|
sq: "sq";
|
|
562
569
|
ar_dz: "ar_dz";
|
|
@@ -583,7 +590,6 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
583
590
|
zh_cn: "zh_cn";
|
|
584
591
|
zh_sg: "zh_sg";
|
|
585
592
|
zh_tw: "zh_tw";
|
|
586
|
-
hr: "hr";
|
|
587
593
|
cs: "cs";
|
|
588
594
|
da: "da";
|
|
589
595
|
nl_be: "nl_be";
|
|
@@ -618,7 +624,6 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
618
624
|
he: "he";
|
|
619
625
|
hi: "hi";
|
|
620
626
|
hu: "hu";
|
|
621
|
-
is: "is";
|
|
622
627
|
ga: "ga";
|
|
623
628
|
it: "it";
|
|
624
629
|
it_ch: "it_ch";
|
|
@@ -628,9 +633,7 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
628
633
|
lv: "lv";
|
|
629
634
|
lt: "lt";
|
|
630
635
|
mk: "mk";
|
|
631
|
-
ml: "ml";
|
|
632
636
|
ms: "ms";
|
|
633
|
-
mt: "mt";
|
|
634
637
|
no: "no";
|
|
635
638
|
nb: "nb";
|
|
636
639
|
nn: "nn";
|
|
@@ -661,8 +664,6 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
661
664
|
es: "es";
|
|
662
665
|
sv: "sv";
|
|
663
666
|
sv_fi: "sv_fi";
|
|
664
|
-
th: "th";
|
|
665
|
-
tr: "tr";
|
|
666
667
|
uk: "uk";
|
|
667
668
|
ur: "ur";
|
|
668
669
|
vi: "vi";
|
|
@@ -686,13 +687,18 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
686
687
|
filename: z.ZodString;
|
|
687
688
|
}, z.core.$strip>>>;
|
|
688
689
|
manufacturerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
689
|
-
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
690
690
|
defaultLocale: z.ZodString;
|
|
691
691
|
modifierGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
692
692
|
selectMin: z.ZodCoercedNumber<unknown>;
|
|
693
693
|
selectMax: z.ZodCoercedNumber<unknown>;
|
|
694
694
|
defaultLocale: z.ZodOptional<z.ZodEnum<{
|
|
695
|
+
hr: "hr";
|
|
696
|
+
th: "th";
|
|
697
|
+
tr: "tr";
|
|
695
698
|
id: "id";
|
|
699
|
+
is: "is";
|
|
700
|
+
mt: "mt";
|
|
701
|
+
ml: "ml";
|
|
696
702
|
af: "af";
|
|
697
703
|
sq: "sq";
|
|
698
704
|
ar_dz: "ar_dz";
|
|
@@ -719,7 +725,6 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
719
725
|
zh_cn: "zh_cn";
|
|
720
726
|
zh_sg: "zh_sg";
|
|
721
727
|
zh_tw: "zh_tw";
|
|
722
|
-
hr: "hr";
|
|
723
728
|
cs: "cs";
|
|
724
729
|
da: "da";
|
|
725
730
|
nl_be: "nl_be";
|
|
@@ -754,7 +759,6 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
754
759
|
he: "he";
|
|
755
760
|
hi: "hi";
|
|
756
761
|
hu: "hu";
|
|
757
|
-
is: "is";
|
|
758
762
|
ga: "ga";
|
|
759
763
|
it: "it";
|
|
760
764
|
it_ch: "it_ch";
|
|
@@ -764,9 +768,7 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
764
768
|
lv: "lv";
|
|
765
769
|
lt: "lt";
|
|
766
770
|
mk: "mk";
|
|
767
|
-
ml: "ml";
|
|
768
771
|
ms: "ms";
|
|
769
|
-
mt: "mt";
|
|
770
772
|
no: "no";
|
|
771
773
|
nb: "nb";
|
|
772
774
|
nn: "nn";
|
|
@@ -797,8 +799,6 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
797
799
|
es: "es";
|
|
798
800
|
sv: "sv";
|
|
799
801
|
sv_fi: "sv_fi";
|
|
800
|
-
th: "th";
|
|
801
|
-
tr: "tr";
|
|
802
802
|
uk: "uk";
|
|
803
803
|
ur: "ur";
|
|
804
804
|
vi: "vi";
|
|
@@ -814,7 +814,13 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
814
814
|
}, z.core.$strip>>>;
|
|
815
815
|
translations: z.ZodArray<z.ZodObject<{
|
|
816
816
|
locale: z.ZodEnum<{
|
|
817
|
+
hr: "hr";
|
|
818
|
+
th: "th";
|
|
819
|
+
tr: "tr";
|
|
817
820
|
id: "id";
|
|
821
|
+
is: "is";
|
|
822
|
+
mt: "mt";
|
|
823
|
+
ml: "ml";
|
|
818
824
|
af: "af";
|
|
819
825
|
sq: "sq";
|
|
820
826
|
ar_dz: "ar_dz";
|
|
@@ -841,7 +847,6 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
841
847
|
zh_cn: "zh_cn";
|
|
842
848
|
zh_sg: "zh_sg";
|
|
843
849
|
zh_tw: "zh_tw";
|
|
844
|
-
hr: "hr";
|
|
845
850
|
cs: "cs";
|
|
846
851
|
da: "da";
|
|
847
852
|
nl_be: "nl_be";
|
|
@@ -876,7 +881,6 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
876
881
|
he: "he";
|
|
877
882
|
hi: "hi";
|
|
878
883
|
hu: "hu";
|
|
879
|
-
is: "is";
|
|
880
884
|
ga: "ga";
|
|
881
885
|
it: "it";
|
|
882
886
|
it_ch: "it_ch";
|
|
@@ -886,9 +890,7 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
886
890
|
lv: "lv";
|
|
887
891
|
lt: "lt";
|
|
888
892
|
mk: "mk";
|
|
889
|
-
ml: "ml";
|
|
890
893
|
ms: "ms";
|
|
891
|
-
mt: "mt";
|
|
892
894
|
no: "no";
|
|
893
895
|
nb: "nb";
|
|
894
896
|
nn: "nn";
|
|
@@ -919,8 +921,6 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
919
921
|
es: "es";
|
|
920
922
|
sv: "sv";
|
|
921
923
|
sv_fi: "sv_fi";
|
|
922
|
-
th: "th";
|
|
923
|
-
tr: "tr";
|
|
924
924
|
uk: "uk";
|
|
925
925
|
ur: "ur";
|
|
926
926
|
vi: "vi";
|
|
@@ -934,10 +934,17 @@ export declare const CreateProductSchema: z.ZodObject<{
|
|
|
934
934
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
935
935
|
}, z.core.$strip>;
|
|
936
936
|
export declare const UpdateProductSchema: z.ZodObject<{
|
|
937
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>>;
|
|
937
938
|
currency: z.ZodOptional<z.ZodString>;
|
|
938
939
|
translations: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
939
940
|
locale: z.ZodEnum<{
|
|
941
|
+
hr: "hr";
|
|
942
|
+
th: "th";
|
|
943
|
+
tr: "tr";
|
|
940
944
|
id: "id";
|
|
945
|
+
is: "is";
|
|
946
|
+
mt: "mt";
|
|
947
|
+
ml: "ml";
|
|
941
948
|
af: "af";
|
|
942
949
|
sq: "sq";
|
|
943
950
|
ar_dz: "ar_dz";
|
|
@@ -964,7 +971,6 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
964
971
|
zh_cn: "zh_cn";
|
|
965
972
|
zh_sg: "zh_sg";
|
|
966
973
|
zh_tw: "zh_tw";
|
|
967
|
-
hr: "hr";
|
|
968
974
|
cs: "cs";
|
|
969
975
|
da: "da";
|
|
970
976
|
nl_be: "nl_be";
|
|
@@ -999,7 +1005,6 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
999
1005
|
he: "he";
|
|
1000
1006
|
hi: "hi";
|
|
1001
1007
|
hu: "hu";
|
|
1002
|
-
is: "is";
|
|
1003
1008
|
ga: "ga";
|
|
1004
1009
|
it: "it";
|
|
1005
1010
|
it_ch: "it_ch";
|
|
@@ -1009,9 +1014,7 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1009
1014
|
lv: "lv";
|
|
1010
1015
|
lt: "lt";
|
|
1011
1016
|
mk: "mk";
|
|
1012
|
-
ml: "ml";
|
|
1013
1017
|
ms: "ms";
|
|
1014
|
-
mt: "mt";
|
|
1015
1018
|
no: "no";
|
|
1016
1019
|
nb: "nb";
|
|
1017
1020
|
nn: "nn";
|
|
@@ -1042,8 +1045,6 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1042
1045
|
es: "es";
|
|
1043
1046
|
sv: "sv";
|
|
1044
1047
|
sv_fi: "sv_fi";
|
|
1045
|
-
th: "th";
|
|
1046
|
-
tr: "tr";
|
|
1047
1048
|
uk: "uk";
|
|
1048
1049
|
ur: "ur";
|
|
1049
1050
|
vi: "vi";
|
|
@@ -1067,13 +1068,18 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1067
1068
|
filename: z.ZodString;
|
|
1068
1069
|
}, z.core.$strip>>>>;
|
|
1069
1070
|
manufacturerId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1070
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>>;
|
|
1071
1071
|
defaultLocale: z.ZodOptional<z.ZodString>;
|
|
1072
1072
|
modifierGroups: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1073
1073
|
selectMin: z.ZodCoercedNumber<unknown>;
|
|
1074
1074
|
selectMax: z.ZodCoercedNumber<unknown>;
|
|
1075
1075
|
defaultLocale: z.ZodOptional<z.ZodEnum<{
|
|
1076
|
+
hr: "hr";
|
|
1077
|
+
th: "th";
|
|
1078
|
+
tr: "tr";
|
|
1076
1079
|
id: "id";
|
|
1080
|
+
is: "is";
|
|
1081
|
+
mt: "mt";
|
|
1082
|
+
ml: "ml";
|
|
1077
1083
|
af: "af";
|
|
1078
1084
|
sq: "sq";
|
|
1079
1085
|
ar_dz: "ar_dz";
|
|
@@ -1100,7 +1106,6 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1100
1106
|
zh_cn: "zh_cn";
|
|
1101
1107
|
zh_sg: "zh_sg";
|
|
1102
1108
|
zh_tw: "zh_tw";
|
|
1103
|
-
hr: "hr";
|
|
1104
1109
|
cs: "cs";
|
|
1105
1110
|
da: "da";
|
|
1106
1111
|
nl_be: "nl_be";
|
|
@@ -1135,7 +1140,6 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1135
1140
|
he: "he";
|
|
1136
1141
|
hi: "hi";
|
|
1137
1142
|
hu: "hu";
|
|
1138
|
-
is: "is";
|
|
1139
1143
|
ga: "ga";
|
|
1140
1144
|
it: "it";
|
|
1141
1145
|
it_ch: "it_ch";
|
|
@@ -1145,9 +1149,7 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1145
1149
|
lv: "lv";
|
|
1146
1150
|
lt: "lt";
|
|
1147
1151
|
mk: "mk";
|
|
1148
|
-
ml: "ml";
|
|
1149
1152
|
ms: "ms";
|
|
1150
|
-
mt: "mt";
|
|
1151
1153
|
no: "no";
|
|
1152
1154
|
nb: "nb";
|
|
1153
1155
|
nn: "nn";
|
|
@@ -1178,8 +1180,6 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1178
1180
|
es: "es";
|
|
1179
1181
|
sv: "sv";
|
|
1180
1182
|
sv_fi: "sv_fi";
|
|
1181
|
-
th: "th";
|
|
1182
|
-
tr: "tr";
|
|
1183
1183
|
uk: "uk";
|
|
1184
1184
|
ur: "ur";
|
|
1185
1185
|
vi: "vi";
|
|
@@ -1195,7 +1195,13 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1195
1195
|
}, z.core.$strip>>>;
|
|
1196
1196
|
translations: z.ZodArray<z.ZodObject<{
|
|
1197
1197
|
locale: z.ZodEnum<{
|
|
1198
|
+
hr: "hr";
|
|
1199
|
+
th: "th";
|
|
1200
|
+
tr: "tr";
|
|
1198
1201
|
id: "id";
|
|
1202
|
+
is: "is";
|
|
1203
|
+
mt: "mt";
|
|
1204
|
+
ml: "ml";
|
|
1199
1205
|
af: "af";
|
|
1200
1206
|
sq: "sq";
|
|
1201
1207
|
ar_dz: "ar_dz";
|
|
@@ -1222,7 +1228,6 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1222
1228
|
zh_cn: "zh_cn";
|
|
1223
1229
|
zh_sg: "zh_sg";
|
|
1224
1230
|
zh_tw: "zh_tw";
|
|
1225
|
-
hr: "hr";
|
|
1226
1231
|
cs: "cs";
|
|
1227
1232
|
da: "da";
|
|
1228
1233
|
nl_be: "nl_be";
|
|
@@ -1257,7 +1262,6 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1257
1262
|
he: "he";
|
|
1258
1263
|
hi: "hi";
|
|
1259
1264
|
hu: "hu";
|
|
1260
|
-
is: "is";
|
|
1261
1265
|
ga: "ga";
|
|
1262
1266
|
it: "it";
|
|
1263
1267
|
it_ch: "it_ch";
|
|
@@ -1267,9 +1271,7 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1267
1271
|
lv: "lv";
|
|
1268
1272
|
lt: "lt";
|
|
1269
1273
|
mk: "mk";
|
|
1270
|
-
ml: "ml";
|
|
1271
1274
|
ms: "ms";
|
|
1272
|
-
mt: "mt";
|
|
1273
1275
|
no: "no";
|
|
1274
1276
|
nb: "nb";
|
|
1275
1277
|
nn: "nn";
|
|
@@ -1300,8 +1302,6 @@ export declare const UpdateProductSchema: z.ZodObject<{
|
|
|
1300
1302
|
es: "es";
|
|
1301
1303
|
sv: "sv";
|
|
1302
1304
|
sv_fi: "sv_fi";
|
|
1303
|
-
th: "th";
|
|
1304
|
-
tr: "tr";
|
|
1305
1305
|
uk: "uk";
|
|
1306
1306
|
ur: "ur";
|
|
1307
1307
|
vi: "vi";
|