@spree/sdk 0.5.0 → 0.6.1
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 +33 -13
- package/dist/index.cjs +60 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -5
- package/dist/index.d.ts +19 -5
- package/dist/index.js +60 -9
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.cts +318 -31
- package/dist/types/index.d.ts +318 -31
- package/dist/zod/index.cjs +275 -31
- package/dist/zod/index.cjs.map +1 -1
- package/dist/zod/index.d.cts +326 -34
- package/dist/zod/index.d.ts +326 -34
- package/dist/zod/index.js +257 -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,7 @@ 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
|
-
public_metadata: zod.z.record(zod.z.string(), zod.z.unknown()).nullable()
|
|
693
|
+
gateway_payment_profile_id: zod.z.string().nullable()
|
|
567
694
|
});
|
|
568
695
|
var StoreVariantSchema = zod.z.object({
|
|
569
696
|
id: zod.z.string(),
|
|
@@ -619,6 +746,110 @@ var StoreProductSchema = zod.z.object({
|
|
|
619
746
|
taxons: zod.z.array(zod.z.lazy(() => StoreTaxonSchema)).optional(),
|
|
620
747
|
metafields: zod.z.array(StoreMetafieldSchema).optional()
|
|
621
748
|
});
|
|
749
|
+
var StorePromotionSchema = zod.z.object({
|
|
750
|
+
id: zod.z.string(),
|
|
751
|
+
name: zod.z.string(),
|
|
752
|
+
description: zod.z.string().nullable(),
|
|
753
|
+
code: zod.z.string().nullable(),
|
|
754
|
+
type: zod.z.string().nullable(),
|
|
755
|
+
kind: zod.z.string().nullable(),
|
|
756
|
+
path: zod.z.string().nullable(),
|
|
757
|
+
match_policy: zod.z.string().nullable(),
|
|
758
|
+
usage_limit: zod.z.number().nullable(),
|
|
759
|
+
advertise: zod.z.boolean(),
|
|
760
|
+
multi_codes: zod.z.boolean(),
|
|
761
|
+
code_prefix: zod.z.string().nullable(),
|
|
762
|
+
number_of_codes: zod.z.number().nullable(),
|
|
763
|
+
starts_at: zod.z.string().nullable(),
|
|
764
|
+
expires_at: zod.z.string().nullable(),
|
|
765
|
+
created_at: zod.z.string(),
|
|
766
|
+
updated_at: zod.z.string(),
|
|
767
|
+
promotion_category_id: zod.z.string().nullable()
|
|
768
|
+
});
|
|
769
|
+
var StoreRefundSchema = zod.z.object({
|
|
770
|
+
id: zod.z.string(),
|
|
771
|
+
transaction_id: zod.z.string().nullable(),
|
|
772
|
+
created_at: zod.z.string(),
|
|
773
|
+
updated_at: zod.z.string(),
|
|
774
|
+
amount: zod.z.string().nullable(),
|
|
775
|
+
payment_id: zod.z.string().nullable(),
|
|
776
|
+
refund_reason_id: zod.z.string().nullable(),
|
|
777
|
+
reimbursement_id: zod.z.string().nullable()
|
|
778
|
+
});
|
|
779
|
+
var StoreReimbursementSchema = zod.z.object({
|
|
780
|
+
id: zod.z.string(),
|
|
781
|
+
number: zod.z.string(),
|
|
782
|
+
reimbursement_status: zod.z.string().nullable(),
|
|
783
|
+
created_at: zod.z.string(),
|
|
784
|
+
updated_at: zod.z.string(),
|
|
785
|
+
total: zod.z.string().nullable(),
|
|
786
|
+
order_id: zod.z.string().nullable(),
|
|
787
|
+
customer_return_id: zod.z.string().nullable()
|
|
788
|
+
});
|
|
789
|
+
var StoreReportSchema = zod.z.object({
|
|
790
|
+
id: zod.z.string(),
|
|
791
|
+
type: zod.z.string().nullable(),
|
|
792
|
+
currency: zod.z.string().nullable(),
|
|
793
|
+
created_at: zod.z.string(),
|
|
794
|
+
updated_at: zod.z.string(),
|
|
795
|
+
user_id: zod.z.string().nullable(),
|
|
796
|
+
date_from: zod.z.string().nullable(),
|
|
797
|
+
date_to: zod.z.string().nullable()
|
|
798
|
+
});
|
|
799
|
+
var StoreReturnAuthorizationSchema = zod.z.object({
|
|
800
|
+
id: zod.z.string(),
|
|
801
|
+
number: zod.z.string(),
|
|
802
|
+
created_at: zod.z.string(),
|
|
803
|
+
updated_at: zod.z.string(),
|
|
804
|
+
state: zod.z.string(),
|
|
805
|
+
order_id: zod.z.string().nullable(),
|
|
806
|
+
stock_location_id: zod.z.string().nullable(),
|
|
807
|
+
return_authorization_reason_id: zod.z.string().nullable()
|
|
808
|
+
});
|
|
809
|
+
var StoreReturnItemSchema = zod.z.object({
|
|
810
|
+
id: zod.z.string(),
|
|
811
|
+
reception_status: zod.z.string().nullable(),
|
|
812
|
+
acceptance_status: zod.z.string().nullable(),
|
|
813
|
+
created_at: zod.z.string(),
|
|
814
|
+
updated_at: zod.z.string(),
|
|
815
|
+
pre_tax_amount: zod.z.string().nullable(),
|
|
816
|
+
included_tax_total: zod.z.string().nullable(),
|
|
817
|
+
additional_tax_total: zod.z.string().nullable(),
|
|
818
|
+
inventory_unit_id: zod.z.string().nullable(),
|
|
819
|
+
return_authorization_id: zod.z.string().nullable(),
|
|
820
|
+
customer_return_id: zod.z.string().nullable(),
|
|
821
|
+
reimbursement_id: zod.z.string().nullable(),
|
|
822
|
+
exchange_variant_id: zod.z.string().nullable()
|
|
823
|
+
});
|
|
824
|
+
var StoreStockItemSchema = zod.z.object({
|
|
825
|
+
id: zod.z.string(),
|
|
826
|
+
count_on_hand: zod.z.number(),
|
|
827
|
+
backorderable: zod.z.boolean(),
|
|
828
|
+
created_at: zod.z.string(),
|
|
829
|
+
updated_at: zod.z.string(),
|
|
830
|
+
stock_location_id: zod.z.string().nullable(),
|
|
831
|
+
variant_id: zod.z.string().nullable()
|
|
832
|
+
});
|
|
833
|
+
var StoreStockMovementSchema = zod.z.object({
|
|
834
|
+
id: zod.z.string(),
|
|
835
|
+
quantity: zod.z.number(),
|
|
836
|
+
action: zod.z.string().nullable(),
|
|
837
|
+
originator_type: zod.z.string().nullable(),
|
|
838
|
+
created_at: zod.z.string(),
|
|
839
|
+
updated_at: zod.z.string(),
|
|
840
|
+
originator_id: zod.z.string().nullable(),
|
|
841
|
+
stock_item_id: zod.z.string().nullable()
|
|
842
|
+
});
|
|
843
|
+
var StoreStockTransferSchema = zod.z.object({
|
|
844
|
+
id: zod.z.string(),
|
|
845
|
+
number: zod.z.string().nullable(),
|
|
846
|
+
type: zod.z.string().nullable(),
|
|
847
|
+
reference: zod.z.string().nullable(),
|
|
848
|
+
created_at: zod.z.string(),
|
|
849
|
+
updated_at: zod.z.string(),
|
|
850
|
+
source_location_id: zod.z.string().nullable(),
|
|
851
|
+
destination_location_id: zod.z.string().nullable()
|
|
852
|
+
});
|
|
622
853
|
var StoreStoreSchema = zod.z.object({
|
|
623
854
|
id: zod.z.string(),
|
|
624
855
|
name: zod.z.string(),
|
|
@@ -626,22 +857,16 @@ var StoreStoreSchema = zod.z.object({
|
|
|
626
857
|
meta_description: zod.z.string().nullable(),
|
|
627
858
|
meta_keywords: zod.z.string().nullable(),
|
|
628
859
|
seo_title: zod.z.string().nullable(),
|
|
629
|
-
default_currency: zod.z.string(),
|
|
630
860
|
code: zod.z.string(),
|
|
631
|
-
default: zod.z.boolean(),
|
|
632
861
|
facebook: zod.z.string().nullable(),
|
|
633
862
|
twitter: zod.z.string().nullable(),
|
|
634
863
|
instagram: zod.z.string().nullable(),
|
|
635
864
|
customer_support_email: zod.z.string().nullable(),
|
|
636
|
-
default_locale: zod.z.string(),
|
|
637
865
|
created_at: zod.z.string(),
|
|
638
866
|
updated_at: zod.z.string(),
|
|
639
|
-
default_country_iso: zod.z.string().nullable(),
|
|
640
|
-
supported_currencies: zod.z.array(zod.z.string()),
|
|
641
867
|
favicon_image_url: zod.z.string().nullable(),
|
|
642
868
|
logo_image_url: zod.z.string().nullable(),
|
|
643
869
|
social_image_url: zod.z.string().nullable(),
|
|
644
|
-
supported_locales: zod.z.array(zod.z.string()),
|
|
645
870
|
payment_methods: zod.z.array(StorePaymentMethodSchema)
|
|
646
871
|
});
|
|
647
872
|
var StoreStoreCreditSchema = zod.z.object({
|
|
@@ -686,6 +911,7 @@ var StoreWishlistSchema = zod.z.object({
|
|
|
686
911
|
});
|
|
687
912
|
|
|
688
913
|
exports.AdminCustomerSchema = AdminCustomerSchema;
|
|
914
|
+
exports.AdminLineItemSchema = AdminLineItemSchema;
|
|
689
915
|
exports.AdminMetafieldSchema = AdminMetafieldSchema;
|
|
690
916
|
exports.AdminOrderSchema = AdminOrderSchema;
|
|
691
917
|
exports.AdminPriceSchema = AdminPriceSchema;
|
|
@@ -694,17 +920,26 @@ exports.AdminTaxonSchema = AdminTaxonSchema;
|
|
|
694
920
|
exports.AdminTaxonomySchema = AdminTaxonomySchema;
|
|
695
921
|
exports.AdminVariantSchema = AdminVariantSchema;
|
|
696
922
|
exports.StoreAddressSchema = StoreAddressSchema;
|
|
923
|
+
exports.StoreAssetSchema = StoreAssetSchema;
|
|
697
924
|
exports.StoreBaseSchema = StoreBaseSchema;
|
|
698
925
|
exports.StoreCountrySchema = StoreCountrySchema;
|
|
699
926
|
exports.StoreCreditCardSchema = StoreCreditCardSchema;
|
|
700
927
|
exports.StoreCurrencySchema = StoreCurrencySchema;
|
|
928
|
+
exports.StoreCustomerReturnSchema = StoreCustomerReturnSchema;
|
|
701
929
|
exports.StoreCustomerSchema = StoreCustomerSchema;
|
|
702
930
|
exports.StoreDigitalLinkSchema = StoreDigitalLinkSchema;
|
|
931
|
+
exports.StoreDigitalSchema = StoreDigitalSchema;
|
|
932
|
+
exports.StoreExportSchema = StoreExportSchema;
|
|
933
|
+
exports.StoreGiftCardBatchSchema = StoreGiftCardBatchSchema;
|
|
703
934
|
exports.StoreGiftCardSchema = StoreGiftCardSchema;
|
|
704
935
|
exports.StoreImageSchema = StoreImageSchema;
|
|
936
|
+
exports.StoreImportRowSchema = StoreImportRowSchema;
|
|
937
|
+
exports.StoreImportSchema = StoreImportSchema;
|
|
938
|
+
exports.StoreInvitationSchema = StoreInvitationSchema;
|
|
705
939
|
exports.StoreLineItemSchema = StoreLineItemSchema;
|
|
706
940
|
exports.StoreLocaleSchema = StoreLocaleSchema;
|
|
707
941
|
exports.StoreMetafieldSchema = StoreMetafieldSchema;
|
|
942
|
+
exports.StoreNewsletterSubscriberSchema = StoreNewsletterSubscriberSchema;
|
|
708
943
|
exports.StoreOptionTypeSchema = StoreOptionTypeSchema;
|
|
709
944
|
exports.StoreOptionValueSchema = StoreOptionValueSchema;
|
|
710
945
|
exports.StoreOrderPromotionSchema = StoreOrderPromotionSchema;
|
|
@@ -716,11 +951,20 @@ exports.StorePaymentSetupSessionSchema = StorePaymentSetupSessionSchema;
|
|
|
716
951
|
exports.StorePaymentSourceSchema = StorePaymentSourceSchema;
|
|
717
952
|
exports.StorePriceSchema = StorePriceSchema;
|
|
718
953
|
exports.StoreProductSchema = StoreProductSchema;
|
|
954
|
+
exports.StorePromotionSchema = StorePromotionSchema;
|
|
955
|
+
exports.StoreRefundSchema = StoreRefundSchema;
|
|
956
|
+
exports.StoreReimbursementSchema = StoreReimbursementSchema;
|
|
957
|
+
exports.StoreReportSchema = StoreReportSchema;
|
|
958
|
+
exports.StoreReturnAuthorizationSchema = StoreReturnAuthorizationSchema;
|
|
959
|
+
exports.StoreReturnItemSchema = StoreReturnItemSchema;
|
|
719
960
|
exports.StoreShipmentSchema = StoreShipmentSchema;
|
|
720
961
|
exports.StoreShippingMethodSchema = StoreShippingMethodSchema;
|
|
721
962
|
exports.StoreShippingRateSchema = StoreShippingRateSchema;
|
|
722
963
|
exports.StoreStateSchema = StoreStateSchema;
|
|
964
|
+
exports.StoreStockItemSchema = StoreStockItemSchema;
|
|
723
965
|
exports.StoreStockLocationSchema = StoreStockLocationSchema;
|
|
966
|
+
exports.StoreStockMovementSchema = StoreStockMovementSchema;
|
|
967
|
+
exports.StoreStockTransferSchema = StoreStockTransferSchema;
|
|
724
968
|
exports.StoreStoreCreditSchema = StoreStoreCreditSchema;
|
|
725
969
|
exports.StoreStoreSchema = StoreStoreSchema;
|
|
726
970
|
exports.StoreTaxonSchema = StoreTaxonSchema;
|