@spree/sdk 0.5.0 → 0.6.0
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/README.md +2 -2
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.cts +288 -12
- package/dist/types/index.d.ts +288 -12
- package/dist/zod/index.cjs +296 -31
- package/dist/zod/index.cjs.map +1 -1
- package/dist/zod/index.d.cts +349 -34
- package/dist/zod/index.d.ts +349 -34
- package/dist/zod/index.js +276 -32
- package/dist/zod/index.js.map +1 -1
- package/package.json +1 -1
package/dist/zod/index.cjs
CHANGED
|
@@ -3,23 +3,6 @@
|
|
|
3
3
|
var zod = require('zod');
|
|
4
4
|
|
|
5
5
|
// src/zod/generated/AdminCustomer.ts
|
|
6
|
-
var StoreAddressSchema = zod.z.object({
|
|
7
|
-
id: zod.z.string(),
|
|
8
|
-
firstname: zod.z.string().nullable(),
|
|
9
|
-
lastname: zod.z.string().nullable(),
|
|
10
|
-
full_name: zod.z.string(),
|
|
11
|
-
address1: zod.z.string().nullable(),
|
|
12
|
-
address2: zod.z.string().nullable(),
|
|
13
|
-
city: zod.z.string().nullable(),
|
|
14
|
-
zipcode: zod.z.string().nullable(),
|
|
15
|
-
phone: zod.z.string().nullable(),
|
|
16
|
-
company: zod.z.string().nullable(),
|
|
17
|
-
country_name: zod.z.string(),
|
|
18
|
-
country_iso: zod.z.string(),
|
|
19
|
-
state_text: zod.z.string().nullable(),
|
|
20
|
-
state_abbr: zod.z.string().nullable(),
|
|
21
|
-
state_name: zod.z.string().nullable()
|
|
22
|
-
});
|
|
23
6
|
var StoreDigitalLinkSchema = zod.z.object({
|
|
24
7
|
id: zod.z.string(),
|
|
25
8
|
access_counter: zod.z.number(),
|
|
@@ -42,8 +25,8 @@ var StoreOptionValueSchema = zod.z.object({
|
|
|
42
25
|
option_type_presentation: zod.z.string()
|
|
43
26
|
});
|
|
44
27
|
|
|
45
|
-
// src/zod/generated/
|
|
46
|
-
var
|
|
28
|
+
// src/zod/generated/AdminLineItem.ts
|
|
29
|
+
var AdminLineItemSchema = zod.z.object({
|
|
47
30
|
id: zod.z.string(),
|
|
48
31
|
variant_id: zod.z.string(),
|
|
49
32
|
quantity: zod.z.number(),
|
|
@@ -73,7 +56,25 @@ var StoreLineItemSchema = zod.z.object({
|
|
|
73
56
|
compare_at_amount: zod.z.string().nullable(),
|
|
74
57
|
thumbnail_url: zod.z.string().nullable(),
|
|
75
58
|
option_values: zod.z.array(StoreOptionValueSchema),
|
|
76
|
-
digital_links: zod.z.array(StoreDigitalLinkSchema)
|
|
59
|
+
digital_links: zod.z.array(StoreDigitalLinkSchema),
|
|
60
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).nullable()
|
|
61
|
+
});
|
|
62
|
+
var StoreAddressSchema = zod.z.object({
|
|
63
|
+
id: zod.z.string(),
|
|
64
|
+
firstname: zod.z.string().nullable(),
|
|
65
|
+
lastname: zod.z.string().nullable(),
|
|
66
|
+
full_name: zod.z.string(),
|
|
67
|
+
address1: zod.z.string().nullable(),
|
|
68
|
+
address2: zod.z.string().nullable(),
|
|
69
|
+
city: zod.z.string().nullable(),
|
|
70
|
+
zipcode: zod.z.string().nullable(),
|
|
71
|
+
phone: zod.z.string().nullable(),
|
|
72
|
+
company: zod.z.string().nullable(),
|
|
73
|
+
country_name: zod.z.string(),
|
|
74
|
+
country_iso: zod.z.string(),
|
|
75
|
+
state_text: zod.z.string().nullable(),
|
|
76
|
+
state_abbr: zod.z.string().nullable(),
|
|
77
|
+
state_name: zod.z.string().nullable()
|
|
77
78
|
});
|
|
78
79
|
var StoreOrderPromotionSchema = zod.z.object({
|
|
79
80
|
id: zod.z.string(),
|
|
@@ -160,6 +161,7 @@ var AdminOrderSchema = zod.z.object({
|
|
|
160
161
|
email: zod.z.string().nullable(),
|
|
161
162
|
special_instructions: zod.z.string().nullable(),
|
|
162
163
|
currency: zod.z.string(),
|
|
164
|
+
locale: zod.z.string().nullable(),
|
|
163
165
|
item_count: zod.z.number(),
|
|
164
166
|
shipment_state: zod.z.string().nullable(),
|
|
165
167
|
payment_state: zod.z.string().nullable(),
|
|
@@ -183,7 +185,7 @@ var AdminOrderSchema = zod.z.object({
|
|
|
183
185
|
created_at: zod.z.string(),
|
|
184
186
|
updated_at: zod.z.string(),
|
|
185
187
|
order_promotions: zod.z.array(StoreOrderPromotionSchema),
|
|
186
|
-
line_items: zod.z.array(
|
|
188
|
+
line_items: zod.z.array(AdminLineItemSchema),
|
|
187
189
|
shipments: zod.z.array(StoreShipmentSchema),
|
|
188
190
|
payments: zod.z.array(StorePaymentSchema),
|
|
189
191
|
bill_address: StoreAddressSchema.nullable(),
|
|
@@ -198,6 +200,7 @@ var AdminOrderSchema = zod.z.object({
|
|
|
198
200
|
approver_id: zod.z.string().nullable(),
|
|
199
201
|
canceled_at: zod.z.string().nullable(),
|
|
200
202
|
approved_at: zod.z.string().nullable(),
|
|
203
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).nullable(),
|
|
201
204
|
canceler_id: zod.z.string().nullable(),
|
|
202
205
|
created_by_id: zod.z.string().nullable(),
|
|
203
206
|
user: zod.z.lazy(() => AdminCustomerSchema).optional()
|
|
@@ -250,9 +253,10 @@ var AdminPriceSchema = zod.z.object({
|
|
|
250
253
|
var StoreImageSchema = zod.z.object({
|
|
251
254
|
id: zod.z.string(),
|
|
252
255
|
viewable_id: zod.z.string(),
|
|
253
|
-
|
|
254
|
-
alt: zod.z.string().nullable(),
|
|
256
|
+
type: zod.z.string().nullable(),
|
|
255
257
|
viewable_type: zod.z.string(),
|
|
258
|
+
position: zod.z.number().nullable(),
|
|
259
|
+
alt: zod.z.string().nullable(),
|
|
256
260
|
created_at: zod.z.string(),
|
|
257
261
|
updated_at: zod.z.string(),
|
|
258
262
|
original_url: zod.z.string().nullable(),
|
|
@@ -423,6 +427,16 @@ var AdminTaxonomySchema = zod.z.object({
|
|
|
423
427
|
taxons: zod.z.array(zod.z.lazy(() => StoreTaxonSchema)).optional(),
|
|
424
428
|
metafields: zod.z.array(AdminMetafieldSchema).optional()
|
|
425
429
|
});
|
|
430
|
+
var StoreAssetSchema = zod.z.object({
|
|
431
|
+
id: zod.z.string(),
|
|
432
|
+
viewable_id: zod.z.string(),
|
|
433
|
+
type: zod.z.string().nullable(),
|
|
434
|
+
viewable_type: zod.z.string(),
|
|
435
|
+
position: zod.z.number().nullable(),
|
|
436
|
+
alt: zod.z.string().nullable(),
|
|
437
|
+
created_at: zod.z.string(),
|
|
438
|
+
updated_at: zod.z.string()
|
|
439
|
+
});
|
|
426
440
|
var StoreBaseSchema = zod.z.object({
|
|
427
441
|
id: zod.z.string()
|
|
428
442
|
});
|
|
@@ -469,6 +483,28 @@ var StoreCustomerSchema = zod.z.object({
|
|
|
469
483
|
default_billing_address: StoreAddressSchema.nullable(),
|
|
470
484
|
default_shipping_address: StoreAddressSchema.nullable()
|
|
471
485
|
});
|
|
486
|
+
var StoreCustomerReturnSchema = zod.z.object({
|
|
487
|
+
id: zod.z.string(),
|
|
488
|
+
number: zod.z.string(),
|
|
489
|
+
created_at: zod.z.string(),
|
|
490
|
+
updated_at: zod.z.string(),
|
|
491
|
+
stock_location_id: zod.z.string().nullable()
|
|
492
|
+
});
|
|
493
|
+
var StoreDigitalSchema = zod.z.object({
|
|
494
|
+
id: zod.z.string(),
|
|
495
|
+
created_at: zod.z.string(),
|
|
496
|
+
updated_at: zod.z.string(),
|
|
497
|
+
variant_id: zod.z.string().nullable()
|
|
498
|
+
});
|
|
499
|
+
var StoreExportSchema = zod.z.object({
|
|
500
|
+
id: zod.z.string(),
|
|
501
|
+
number: zod.z.string(),
|
|
502
|
+
type: zod.z.string().nullable(),
|
|
503
|
+
format: zod.z.string().nullable(),
|
|
504
|
+
created_at: zod.z.string(),
|
|
505
|
+
updated_at: zod.z.string(),
|
|
506
|
+
user_id: zod.z.string().nullable()
|
|
507
|
+
});
|
|
472
508
|
var StoreGiftCardSchema = zod.z.object({
|
|
473
509
|
id: zod.z.string(),
|
|
474
510
|
code: zod.z.string(),
|
|
@@ -488,10 +524,101 @@ var StoreGiftCardSchema = zod.z.object({
|
|
|
488
524
|
created_at: zod.z.string(),
|
|
489
525
|
updated_at: zod.z.string()
|
|
490
526
|
});
|
|
527
|
+
var StoreGiftCardBatchSchema = zod.z.object({
|
|
528
|
+
id: zod.z.string(),
|
|
529
|
+
codes_count: zod.z.number(),
|
|
530
|
+
currency: zod.z.string().nullable(),
|
|
531
|
+
prefix: zod.z.string().nullable(),
|
|
532
|
+
created_at: zod.z.string(),
|
|
533
|
+
updated_at: zod.z.string(),
|
|
534
|
+
amount: zod.z.string().nullable(),
|
|
535
|
+
expires_at: zod.z.string().nullable(),
|
|
536
|
+
created_by_id: zod.z.string().nullable()
|
|
537
|
+
});
|
|
538
|
+
var StoreImportSchema = zod.z.object({
|
|
539
|
+
id: zod.z.string(),
|
|
540
|
+
number: zod.z.string(),
|
|
541
|
+
type: zod.z.string().nullable(),
|
|
542
|
+
rows_count: zod.z.number(),
|
|
543
|
+
created_at: zod.z.string(),
|
|
544
|
+
updated_at: zod.z.string(),
|
|
545
|
+
status: zod.z.string(),
|
|
546
|
+
owner_type: zod.z.string().nullable(),
|
|
547
|
+
owner_id: zod.z.string().nullable(),
|
|
548
|
+
user_id: zod.z.string().nullable()
|
|
549
|
+
});
|
|
550
|
+
var StoreImportRowSchema = zod.z.object({
|
|
551
|
+
id: zod.z.string(),
|
|
552
|
+
row_number: zod.z.number(),
|
|
553
|
+
status: zod.z.string(),
|
|
554
|
+
validation_errors: zod.z.any(),
|
|
555
|
+
item_type: zod.z.string().nullable(),
|
|
556
|
+
created_at: zod.z.string(),
|
|
557
|
+
updated_at: zod.z.string(),
|
|
558
|
+
import_id: zod.z.string().nullable(),
|
|
559
|
+
item_id: zod.z.string().nullable()
|
|
560
|
+
});
|
|
561
|
+
var StoreInvitationSchema = zod.z.object({
|
|
562
|
+
id: zod.z.string(),
|
|
563
|
+
email: zod.z.string(),
|
|
564
|
+
resource_type: zod.z.string().nullable(),
|
|
565
|
+
inviter_type: zod.z.string().nullable(),
|
|
566
|
+
invitee_type: zod.z.string().nullable(),
|
|
567
|
+
created_at: zod.z.string(),
|
|
568
|
+
updated_at: zod.z.string(),
|
|
569
|
+
status: zod.z.string(),
|
|
570
|
+
resource_id: zod.z.string().nullable(),
|
|
571
|
+
inviter_id: zod.z.string().nullable(),
|
|
572
|
+
invitee_id: zod.z.string().nullable(),
|
|
573
|
+
role_id: zod.z.string().nullable(),
|
|
574
|
+
expires_at: zod.z.string().nullable(),
|
|
575
|
+
accepted_at: zod.z.string().nullable()
|
|
576
|
+
});
|
|
577
|
+
var StoreLineItemSchema = zod.z.object({
|
|
578
|
+
id: zod.z.string(),
|
|
579
|
+
variant_id: zod.z.string(),
|
|
580
|
+
quantity: zod.z.number(),
|
|
581
|
+
currency: zod.z.string(),
|
|
582
|
+
name: zod.z.string(),
|
|
583
|
+
slug: zod.z.string(),
|
|
584
|
+
options_text: zod.z.string(),
|
|
585
|
+
price: zod.z.string(),
|
|
586
|
+
display_price: zod.z.string(),
|
|
587
|
+
total: zod.z.string(),
|
|
588
|
+
display_total: zod.z.string(),
|
|
589
|
+
adjustment_total: zod.z.string(),
|
|
590
|
+
display_adjustment_total: zod.z.string(),
|
|
591
|
+
additional_tax_total: zod.z.string(),
|
|
592
|
+
display_additional_tax_total: zod.z.string(),
|
|
593
|
+
included_tax_total: zod.z.string(),
|
|
594
|
+
display_included_tax_total: zod.z.string(),
|
|
595
|
+
promo_total: zod.z.string(),
|
|
596
|
+
display_promo_total: zod.z.string(),
|
|
597
|
+
pre_tax_amount: zod.z.string(),
|
|
598
|
+
display_pre_tax_amount: zod.z.string(),
|
|
599
|
+
discounted_amount: zod.z.string(),
|
|
600
|
+
display_discounted_amount: zod.z.string(),
|
|
601
|
+
display_compare_at_amount: zod.z.string().nullable(),
|
|
602
|
+
created_at: zod.z.string(),
|
|
603
|
+
updated_at: zod.z.string(),
|
|
604
|
+
compare_at_amount: zod.z.string().nullable(),
|
|
605
|
+
thumbnail_url: zod.z.string().nullable(),
|
|
606
|
+
option_values: zod.z.array(StoreOptionValueSchema),
|
|
607
|
+
digital_links: zod.z.array(StoreDigitalLinkSchema)
|
|
608
|
+
});
|
|
491
609
|
var StoreLocaleSchema = zod.z.object({
|
|
492
610
|
code: zod.z.string(),
|
|
493
611
|
name: zod.z.string()
|
|
494
612
|
});
|
|
613
|
+
var StoreNewsletterSubscriberSchema = zod.z.object({
|
|
614
|
+
id: zod.z.string(),
|
|
615
|
+
email: zod.z.string(),
|
|
616
|
+
created_at: zod.z.string(),
|
|
617
|
+
updated_at: zod.z.string(),
|
|
618
|
+
verified: zod.z.boolean(),
|
|
619
|
+
verified_at: zod.z.string().nullable(),
|
|
620
|
+
user_id: zod.z.string().nullable()
|
|
621
|
+
});
|
|
495
622
|
var StoreOrderSchema = zod.z.object({
|
|
496
623
|
id: zod.z.string(),
|
|
497
624
|
number: zod.z.string(),
|
|
@@ -500,6 +627,7 @@ var StoreOrderSchema = zod.z.object({
|
|
|
500
627
|
email: zod.z.string().nullable(),
|
|
501
628
|
special_instructions: zod.z.string().nullable(),
|
|
502
629
|
currency: zod.z.string(),
|
|
630
|
+
locale: zod.z.string().nullable(),
|
|
503
631
|
item_count: zod.z.number(),
|
|
504
632
|
shipment_state: zod.z.string().nullable(),
|
|
505
633
|
payment_state: zod.z.string().nullable(),
|
|
@@ -562,8 +690,26 @@ var StorePaymentSetupSessionSchema = zod.z.object({
|
|
|
562
690
|
});
|
|
563
691
|
var StorePaymentSourceSchema = zod.z.object({
|
|
564
692
|
id: zod.z.string(),
|
|
565
|
-
gateway_payment_profile_id: zod.z.string().nullable()
|
|
566
|
-
|
|
693
|
+
gateway_payment_profile_id: zod.z.string().nullable()
|
|
694
|
+
});
|
|
695
|
+
var StorePostSchema = zod.z.object({
|
|
696
|
+
id: zod.z.string(),
|
|
697
|
+
title: zod.z.string(),
|
|
698
|
+
slug: zod.z.string(),
|
|
699
|
+
meta_title: zod.z.string().nullable(),
|
|
700
|
+
meta_description: zod.z.string().nullable(),
|
|
701
|
+
published_at: zod.z.string().nullable(),
|
|
702
|
+
created_at: zod.z.string(),
|
|
703
|
+
updated_at: zod.z.string(),
|
|
704
|
+
author_id: zod.z.string().nullable(),
|
|
705
|
+
post_category_id: zod.z.string().nullable()
|
|
706
|
+
});
|
|
707
|
+
var StorePostCategorySchema = zod.z.object({
|
|
708
|
+
id: zod.z.string(),
|
|
709
|
+
title: zod.z.string(),
|
|
710
|
+
slug: zod.z.string(),
|
|
711
|
+
created_at: zod.z.string(),
|
|
712
|
+
updated_at: zod.z.string()
|
|
567
713
|
});
|
|
568
714
|
var StoreVariantSchema = zod.z.object({
|
|
569
715
|
id: zod.z.string(),
|
|
@@ -619,6 +765,110 @@ var StoreProductSchema = zod.z.object({
|
|
|
619
765
|
taxons: zod.z.array(zod.z.lazy(() => StoreTaxonSchema)).optional(),
|
|
620
766
|
metafields: zod.z.array(StoreMetafieldSchema).optional()
|
|
621
767
|
});
|
|
768
|
+
var StorePromotionSchema = zod.z.object({
|
|
769
|
+
id: zod.z.string(),
|
|
770
|
+
name: zod.z.string(),
|
|
771
|
+
description: zod.z.string().nullable(),
|
|
772
|
+
code: zod.z.string().nullable(),
|
|
773
|
+
type: zod.z.string().nullable(),
|
|
774
|
+
kind: zod.z.string().nullable(),
|
|
775
|
+
path: zod.z.string().nullable(),
|
|
776
|
+
match_policy: zod.z.string().nullable(),
|
|
777
|
+
usage_limit: zod.z.number().nullable(),
|
|
778
|
+
advertise: zod.z.boolean(),
|
|
779
|
+
multi_codes: zod.z.boolean(),
|
|
780
|
+
code_prefix: zod.z.string().nullable(),
|
|
781
|
+
number_of_codes: zod.z.number().nullable(),
|
|
782
|
+
starts_at: zod.z.string().nullable(),
|
|
783
|
+
expires_at: zod.z.string().nullable(),
|
|
784
|
+
created_at: zod.z.string(),
|
|
785
|
+
updated_at: zod.z.string(),
|
|
786
|
+
promotion_category_id: zod.z.string().nullable()
|
|
787
|
+
});
|
|
788
|
+
var StoreRefundSchema = zod.z.object({
|
|
789
|
+
id: zod.z.string(),
|
|
790
|
+
transaction_id: zod.z.string().nullable(),
|
|
791
|
+
created_at: zod.z.string(),
|
|
792
|
+
updated_at: zod.z.string(),
|
|
793
|
+
amount: zod.z.string().nullable(),
|
|
794
|
+
payment_id: zod.z.string().nullable(),
|
|
795
|
+
refund_reason_id: zod.z.string().nullable(),
|
|
796
|
+
reimbursement_id: zod.z.string().nullable()
|
|
797
|
+
});
|
|
798
|
+
var StoreReimbursementSchema = zod.z.object({
|
|
799
|
+
id: zod.z.string(),
|
|
800
|
+
number: zod.z.string(),
|
|
801
|
+
reimbursement_status: zod.z.string().nullable(),
|
|
802
|
+
created_at: zod.z.string(),
|
|
803
|
+
updated_at: zod.z.string(),
|
|
804
|
+
total: zod.z.string().nullable(),
|
|
805
|
+
order_id: zod.z.string().nullable(),
|
|
806
|
+
customer_return_id: zod.z.string().nullable()
|
|
807
|
+
});
|
|
808
|
+
var StoreReportSchema = zod.z.object({
|
|
809
|
+
id: zod.z.string(),
|
|
810
|
+
type: zod.z.string().nullable(),
|
|
811
|
+
currency: zod.z.string().nullable(),
|
|
812
|
+
created_at: zod.z.string(),
|
|
813
|
+
updated_at: zod.z.string(),
|
|
814
|
+
user_id: zod.z.string().nullable(),
|
|
815
|
+
date_from: zod.z.string().nullable(),
|
|
816
|
+
date_to: zod.z.string().nullable()
|
|
817
|
+
});
|
|
818
|
+
var StoreReturnAuthorizationSchema = zod.z.object({
|
|
819
|
+
id: zod.z.string(),
|
|
820
|
+
number: zod.z.string(),
|
|
821
|
+
created_at: zod.z.string(),
|
|
822
|
+
updated_at: zod.z.string(),
|
|
823
|
+
state: zod.z.string(),
|
|
824
|
+
order_id: zod.z.string().nullable(),
|
|
825
|
+
stock_location_id: zod.z.string().nullable(),
|
|
826
|
+
return_authorization_reason_id: zod.z.string().nullable()
|
|
827
|
+
});
|
|
828
|
+
var StoreReturnItemSchema = zod.z.object({
|
|
829
|
+
id: zod.z.string(),
|
|
830
|
+
reception_status: zod.z.string().nullable(),
|
|
831
|
+
acceptance_status: zod.z.string().nullable(),
|
|
832
|
+
created_at: zod.z.string(),
|
|
833
|
+
updated_at: zod.z.string(),
|
|
834
|
+
pre_tax_amount: zod.z.string().nullable(),
|
|
835
|
+
included_tax_total: zod.z.string().nullable(),
|
|
836
|
+
additional_tax_total: zod.z.string().nullable(),
|
|
837
|
+
inventory_unit_id: zod.z.string().nullable(),
|
|
838
|
+
return_authorization_id: zod.z.string().nullable(),
|
|
839
|
+
customer_return_id: zod.z.string().nullable(),
|
|
840
|
+
reimbursement_id: zod.z.string().nullable(),
|
|
841
|
+
exchange_variant_id: zod.z.string().nullable()
|
|
842
|
+
});
|
|
843
|
+
var StoreStockItemSchema = zod.z.object({
|
|
844
|
+
id: zod.z.string(),
|
|
845
|
+
count_on_hand: zod.z.number(),
|
|
846
|
+
backorderable: zod.z.boolean(),
|
|
847
|
+
created_at: zod.z.string(),
|
|
848
|
+
updated_at: zod.z.string(),
|
|
849
|
+
stock_location_id: zod.z.string().nullable(),
|
|
850
|
+
variant_id: zod.z.string().nullable()
|
|
851
|
+
});
|
|
852
|
+
var StoreStockMovementSchema = zod.z.object({
|
|
853
|
+
id: zod.z.string(),
|
|
854
|
+
quantity: zod.z.number(),
|
|
855
|
+
action: zod.z.string().nullable(),
|
|
856
|
+
originator_type: zod.z.string().nullable(),
|
|
857
|
+
created_at: zod.z.string(),
|
|
858
|
+
updated_at: zod.z.string(),
|
|
859
|
+
originator_id: zod.z.string().nullable(),
|
|
860
|
+
stock_item_id: zod.z.string().nullable()
|
|
861
|
+
});
|
|
862
|
+
var StoreStockTransferSchema = zod.z.object({
|
|
863
|
+
id: zod.z.string(),
|
|
864
|
+
number: zod.z.string().nullable(),
|
|
865
|
+
type: zod.z.string().nullable(),
|
|
866
|
+
reference: zod.z.string().nullable(),
|
|
867
|
+
created_at: zod.z.string(),
|
|
868
|
+
updated_at: zod.z.string(),
|
|
869
|
+
source_location_id: zod.z.string().nullable(),
|
|
870
|
+
destination_location_id: zod.z.string().nullable()
|
|
871
|
+
});
|
|
622
872
|
var StoreStoreSchema = zod.z.object({
|
|
623
873
|
id: zod.z.string(),
|
|
624
874
|
name: zod.z.string(),
|
|
@@ -626,22 +876,16 @@ var StoreStoreSchema = zod.z.object({
|
|
|
626
876
|
meta_description: zod.z.string().nullable(),
|
|
627
877
|
meta_keywords: zod.z.string().nullable(),
|
|
628
878
|
seo_title: zod.z.string().nullable(),
|
|
629
|
-
default_currency: zod.z.string(),
|
|
630
879
|
code: zod.z.string(),
|
|
631
|
-
default: zod.z.boolean(),
|
|
632
880
|
facebook: zod.z.string().nullable(),
|
|
633
881
|
twitter: zod.z.string().nullable(),
|
|
634
882
|
instagram: zod.z.string().nullable(),
|
|
635
883
|
customer_support_email: zod.z.string().nullable(),
|
|
636
|
-
default_locale: zod.z.string(),
|
|
637
884
|
created_at: zod.z.string(),
|
|
638
885
|
updated_at: zod.z.string(),
|
|
639
|
-
default_country_iso: zod.z.string().nullable(),
|
|
640
|
-
supported_currencies: zod.z.array(zod.z.string()),
|
|
641
886
|
favicon_image_url: zod.z.string().nullable(),
|
|
642
887
|
logo_image_url: zod.z.string().nullable(),
|
|
643
888
|
social_image_url: zod.z.string().nullable(),
|
|
644
|
-
supported_locales: zod.z.array(zod.z.string()),
|
|
645
889
|
payment_methods: zod.z.array(StorePaymentMethodSchema)
|
|
646
890
|
});
|
|
647
891
|
var StoreStoreCreditSchema = zod.z.object({
|
|
@@ -686,6 +930,7 @@ var StoreWishlistSchema = zod.z.object({
|
|
|
686
930
|
});
|
|
687
931
|
|
|
688
932
|
exports.AdminCustomerSchema = AdminCustomerSchema;
|
|
933
|
+
exports.AdminLineItemSchema = AdminLineItemSchema;
|
|
689
934
|
exports.AdminMetafieldSchema = AdminMetafieldSchema;
|
|
690
935
|
exports.AdminOrderSchema = AdminOrderSchema;
|
|
691
936
|
exports.AdminPriceSchema = AdminPriceSchema;
|
|
@@ -694,17 +939,26 @@ exports.AdminTaxonSchema = AdminTaxonSchema;
|
|
|
694
939
|
exports.AdminTaxonomySchema = AdminTaxonomySchema;
|
|
695
940
|
exports.AdminVariantSchema = AdminVariantSchema;
|
|
696
941
|
exports.StoreAddressSchema = StoreAddressSchema;
|
|
942
|
+
exports.StoreAssetSchema = StoreAssetSchema;
|
|
697
943
|
exports.StoreBaseSchema = StoreBaseSchema;
|
|
698
944
|
exports.StoreCountrySchema = StoreCountrySchema;
|
|
699
945
|
exports.StoreCreditCardSchema = StoreCreditCardSchema;
|
|
700
946
|
exports.StoreCurrencySchema = StoreCurrencySchema;
|
|
947
|
+
exports.StoreCustomerReturnSchema = StoreCustomerReturnSchema;
|
|
701
948
|
exports.StoreCustomerSchema = StoreCustomerSchema;
|
|
702
949
|
exports.StoreDigitalLinkSchema = StoreDigitalLinkSchema;
|
|
950
|
+
exports.StoreDigitalSchema = StoreDigitalSchema;
|
|
951
|
+
exports.StoreExportSchema = StoreExportSchema;
|
|
952
|
+
exports.StoreGiftCardBatchSchema = StoreGiftCardBatchSchema;
|
|
703
953
|
exports.StoreGiftCardSchema = StoreGiftCardSchema;
|
|
704
954
|
exports.StoreImageSchema = StoreImageSchema;
|
|
955
|
+
exports.StoreImportRowSchema = StoreImportRowSchema;
|
|
956
|
+
exports.StoreImportSchema = StoreImportSchema;
|
|
957
|
+
exports.StoreInvitationSchema = StoreInvitationSchema;
|
|
705
958
|
exports.StoreLineItemSchema = StoreLineItemSchema;
|
|
706
959
|
exports.StoreLocaleSchema = StoreLocaleSchema;
|
|
707
960
|
exports.StoreMetafieldSchema = StoreMetafieldSchema;
|
|
961
|
+
exports.StoreNewsletterSubscriberSchema = StoreNewsletterSubscriberSchema;
|
|
708
962
|
exports.StoreOptionTypeSchema = StoreOptionTypeSchema;
|
|
709
963
|
exports.StoreOptionValueSchema = StoreOptionValueSchema;
|
|
710
964
|
exports.StoreOrderPromotionSchema = StoreOrderPromotionSchema;
|
|
@@ -714,13 +968,24 @@ exports.StorePaymentSchema = StorePaymentSchema;
|
|
|
714
968
|
exports.StorePaymentSessionSchema = StorePaymentSessionSchema;
|
|
715
969
|
exports.StorePaymentSetupSessionSchema = StorePaymentSetupSessionSchema;
|
|
716
970
|
exports.StorePaymentSourceSchema = StorePaymentSourceSchema;
|
|
971
|
+
exports.StorePostCategorySchema = StorePostCategorySchema;
|
|
972
|
+
exports.StorePostSchema = StorePostSchema;
|
|
717
973
|
exports.StorePriceSchema = StorePriceSchema;
|
|
718
974
|
exports.StoreProductSchema = StoreProductSchema;
|
|
975
|
+
exports.StorePromotionSchema = StorePromotionSchema;
|
|
976
|
+
exports.StoreRefundSchema = StoreRefundSchema;
|
|
977
|
+
exports.StoreReimbursementSchema = StoreReimbursementSchema;
|
|
978
|
+
exports.StoreReportSchema = StoreReportSchema;
|
|
979
|
+
exports.StoreReturnAuthorizationSchema = StoreReturnAuthorizationSchema;
|
|
980
|
+
exports.StoreReturnItemSchema = StoreReturnItemSchema;
|
|
719
981
|
exports.StoreShipmentSchema = StoreShipmentSchema;
|
|
720
982
|
exports.StoreShippingMethodSchema = StoreShippingMethodSchema;
|
|
721
983
|
exports.StoreShippingRateSchema = StoreShippingRateSchema;
|
|
722
984
|
exports.StoreStateSchema = StoreStateSchema;
|
|
985
|
+
exports.StoreStockItemSchema = StoreStockItemSchema;
|
|
723
986
|
exports.StoreStockLocationSchema = StoreStockLocationSchema;
|
|
987
|
+
exports.StoreStockMovementSchema = StoreStockMovementSchema;
|
|
988
|
+
exports.StoreStockTransferSchema = StoreStockTransferSchema;
|
|
724
989
|
exports.StoreStoreCreditSchema = StoreStoreCreditSchema;
|
|
725
990
|
exports.StoreStoreSchema = StoreStoreSchema;
|
|
726
991
|
exports.StoreTaxonSchema = StoreTaxonSchema;
|