@spree/sdk 0.4.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.
@@ -3,6 +3,60 @@ import { z } from 'zod';
3
3
  declare const AdminCustomerSchema: z.ZodObject<any>;
4
4
  type AdminCustomer = z.infer<typeof AdminCustomerSchema>;
5
5
 
6
+ declare const AdminLineItemSchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ variant_id: z.ZodString;
9
+ quantity: z.ZodNumber;
10
+ currency: z.ZodString;
11
+ name: z.ZodString;
12
+ slug: z.ZodString;
13
+ options_text: z.ZodString;
14
+ price: z.ZodString;
15
+ display_price: z.ZodString;
16
+ total: z.ZodString;
17
+ display_total: z.ZodString;
18
+ adjustment_total: z.ZodString;
19
+ display_adjustment_total: z.ZodString;
20
+ additional_tax_total: z.ZodString;
21
+ display_additional_tax_total: z.ZodString;
22
+ included_tax_total: z.ZodString;
23
+ display_included_tax_total: z.ZodString;
24
+ promo_total: z.ZodString;
25
+ display_promo_total: z.ZodString;
26
+ pre_tax_amount: z.ZodString;
27
+ display_pre_tax_amount: z.ZodString;
28
+ discounted_amount: z.ZodString;
29
+ display_discounted_amount: z.ZodString;
30
+ display_compare_at_amount: z.ZodNullable<z.ZodString>;
31
+ created_at: z.ZodString;
32
+ updated_at: z.ZodString;
33
+ compare_at_amount: z.ZodNullable<z.ZodString>;
34
+ thumbnail_url: z.ZodNullable<z.ZodString>;
35
+ option_values: z.ZodArray<z.ZodObject<{
36
+ id: z.ZodString;
37
+ option_type_id: z.ZodString;
38
+ name: z.ZodString;
39
+ presentation: z.ZodString;
40
+ position: z.ZodNumber;
41
+ option_type_name: z.ZodString;
42
+ option_type_presentation: z.ZodString;
43
+ }, z.core.$strip>>;
44
+ digital_links: z.ZodArray<z.ZodObject<{
45
+ id: z.ZodString;
46
+ access_counter: z.ZodNumber;
47
+ filename: z.ZodString;
48
+ content_type: z.ZodString;
49
+ created_at: z.ZodString;
50
+ updated_at: z.ZodString;
51
+ download_url: z.ZodString;
52
+ authorizable: z.ZodBoolean;
53
+ expired: z.ZodBoolean;
54
+ access_limit_exceeded: z.ZodBoolean;
55
+ }, z.core.$strip>>;
56
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
57
+ }, z.core.$strip>;
58
+ type AdminLineItem = z.infer<typeof AdminLineItemSchema>;
59
+
6
60
  declare const AdminMetafieldSchema: z.ZodObject<{
7
61
  id: z.ZodString;
8
62
  name: z.ZodString;
@@ -75,9 +129,10 @@ declare const AdminProductSchema: z.ZodObject<{
75
129
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
76
130
  id: z.ZodString;
77
131
  viewable_id: z.ZodString;
78
- position: z.ZodNumber;
79
- alt: z.ZodNullable<z.ZodString>;
132
+ type: z.ZodNullable<z.ZodString>;
80
133
  viewable_type: z.ZodString;
134
+ position: z.ZodNullable<z.ZodNumber>;
135
+ alt: z.ZodNullable<z.ZodString>;
81
136
  created_at: z.ZodString;
82
137
  updated_at: z.ZodString;
83
138
  original_url: z.ZodNullable<z.ZodString>;
@@ -131,9 +186,10 @@ declare const AdminProductSchema: z.ZodObject<{
131
186
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
187
  id: z.ZodString;
133
188
  viewable_id: z.ZodString;
134
- position: z.ZodNumber;
135
- alt: z.ZodNullable<z.ZodString>;
189
+ type: z.ZodNullable<z.ZodString>;
136
190
  viewable_type: z.ZodString;
191
+ position: z.ZodNullable<z.ZodNumber>;
192
+ alt: z.ZodNullable<z.ZodString>;
137
193
  created_at: z.ZodString;
138
194
  updated_at: z.ZodString;
139
195
  original_url: z.ZodNullable<z.ZodString>;
@@ -225,9 +281,10 @@ declare const AdminProductSchema: z.ZodObject<{
225
281
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
226
282
  id: z.ZodString;
227
283
  viewable_id: z.ZodString;
228
- position: z.ZodNumber;
229
- alt: z.ZodNullable<z.ZodString>;
284
+ type: z.ZodNullable<z.ZodString>;
230
285
  viewable_type: z.ZodString;
286
+ position: z.ZodNullable<z.ZodNumber>;
287
+ alt: z.ZodNullable<z.ZodString>;
231
288
  created_at: z.ZodString;
232
289
  updated_at: z.ZodString;
233
290
  original_url: z.ZodNullable<z.ZodString>;
@@ -319,9 +376,10 @@ declare const AdminProductSchema: z.ZodObject<{
319
376
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
320
377
  id: z.ZodString;
321
378
  viewable_id: z.ZodString;
322
- position: z.ZodNumber;
323
- alt: z.ZodNullable<z.ZodString>;
379
+ type: z.ZodNullable<z.ZodString>;
324
380
  viewable_type: z.ZodString;
381
+ position: z.ZodNullable<z.ZodNumber>;
382
+ alt: z.ZodNullable<z.ZodString>;
325
383
  created_at: z.ZodString;
326
384
  updated_at: z.ZodString;
327
385
  original_url: z.ZodNullable<z.ZodString>;
@@ -494,9 +552,10 @@ declare const AdminVariantSchema: z.ZodObject<{
494
552
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
495
553
  id: z.ZodString;
496
554
  viewable_id: z.ZodString;
497
- position: z.ZodNumber;
498
- alt: z.ZodNullable<z.ZodString>;
555
+ type: z.ZodNullable<z.ZodString>;
499
556
  viewable_type: z.ZodString;
557
+ position: z.ZodNullable<z.ZodNumber>;
558
+ alt: z.ZodNullable<z.ZodString>;
500
559
  created_at: z.ZodString;
501
560
  updated_at: z.ZodString;
502
561
  original_url: z.ZodNullable<z.ZodString>;
@@ -566,6 +625,18 @@ declare const StoreAddressSchema: z.ZodObject<{
566
625
  }, z.core.$strip>;
567
626
  type StoreAddress = z.infer<typeof StoreAddressSchema>;
568
627
 
628
+ declare const StoreAssetSchema: z.ZodObject<{
629
+ id: z.ZodString;
630
+ viewable_id: z.ZodString;
631
+ type: z.ZodNullable<z.ZodString>;
632
+ viewable_type: z.ZodString;
633
+ position: z.ZodNullable<z.ZodNumber>;
634
+ alt: z.ZodNullable<z.ZodString>;
635
+ created_at: z.ZodString;
636
+ updated_at: z.ZodString;
637
+ }, z.core.$strip>;
638
+ type StoreAsset = z.infer<typeof StoreAssetSchema>;
639
+
569
640
  declare const StoreBaseSchema: z.ZodObject<{
570
641
  id: z.ZodString;
571
642
  }, z.core.$strip>;
@@ -577,6 +648,9 @@ declare const StoreCountrySchema: z.ZodObject<{
577
648
  name: z.ZodString;
578
649
  states_required: z.ZodBoolean;
579
650
  zipcode_required: z.ZodBoolean;
651
+ currency: z.ZodNullable<z.ZodString>;
652
+ default_locale: z.ZodNullable<z.ZodString>;
653
+ supported_locales: z.ZodArray<z.ZodString>;
580
654
  states: z.ZodOptional<z.ZodArray<z.ZodObject<{
581
655
  abbr: z.ZodString;
582
656
  name: z.ZodString;
@@ -596,6 +670,13 @@ declare const StoreCreditCardSchema: z.ZodObject<{
596
670
  }, z.core.$strip>;
597
671
  type StoreCreditCard = z.infer<typeof StoreCreditCardSchema>;
598
672
 
673
+ declare const StoreCurrencySchema: z.ZodObject<{
674
+ iso_code: z.ZodString;
675
+ name: z.ZodString;
676
+ symbol: z.ZodString;
677
+ }, z.core.$strip>;
678
+ type StoreCurrency = z.infer<typeof StoreCurrencySchema>;
679
+
599
680
  declare const StoreCustomerSchema: z.ZodObject<{
600
681
  id: z.ZodString;
601
682
  email: z.ZodString;
@@ -657,6 +738,23 @@ declare const StoreCustomerSchema: z.ZodObject<{
657
738
  }, z.core.$strip>;
658
739
  type StoreCustomer = z.infer<typeof StoreCustomerSchema>;
659
740
 
741
+ declare const StoreCustomerReturnSchema: z.ZodObject<{
742
+ id: z.ZodString;
743
+ number: z.ZodString;
744
+ created_at: z.ZodString;
745
+ updated_at: z.ZodString;
746
+ stock_location_id: z.ZodNullable<z.ZodString>;
747
+ }, z.core.$strip>;
748
+ type StoreCustomerReturn = z.infer<typeof StoreCustomerReturnSchema>;
749
+
750
+ declare const StoreDigitalSchema: z.ZodObject<{
751
+ id: z.ZodString;
752
+ created_at: z.ZodString;
753
+ updated_at: z.ZodString;
754
+ variant_id: z.ZodNullable<z.ZodString>;
755
+ }, z.core.$strip>;
756
+ type StoreDigital = z.infer<typeof StoreDigitalSchema>;
757
+
660
758
  declare const StoreDigitalLinkSchema: z.ZodObject<{
661
759
  id: z.ZodString;
662
760
  access_counter: z.ZodNumber;
@@ -671,6 +769,17 @@ declare const StoreDigitalLinkSchema: z.ZodObject<{
671
769
  }, z.core.$strip>;
672
770
  type StoreDigitalLink = z.infer<typeof StoreDigitalLinkSchema>;
673
771
 
772
+ declare const StoreExportSchema: z.ZodObject<{
773
+ id: z.ZodString;
774
+ number: z.ZodString;
775
+ type: z.ZodNullable<z.ZodString>;
776
+ format: z.ZodNullable<z.ZodString>;
777
+ created_at: z.ZodString;
778
+ updated_at: z.ZodString;
779
+ user_id: z.ZodNullable<z.ZodString>;
780
+ }, z.core.$strip>;
781
+ type StoreExport = z.infer<typeof StoreExportSchema>;
782
+
674
783
  declare const StoreGiftCardSchema: z.ZodObject<{
675
784
  id: z.ZodString;
676
785
  code: z.ZodString;
@@ -692,12 +801,26 @@ declare const StoreGiftCardSchema: z.ZodObject<{
692
801
  }, z.core.$strip>;
693
802
  type StoreGiftCard = z.infer<typeof StoreGiftCardSchema>;
694
803
 
804
+ declare const StoreGiftCardBatchSchema: z.ZodObject<{
805
+ id: z.ZodString;
806
+ codes_count: z.ZodNumber;
807
+ currency: z.ZodNullable<z.ZodString>;
808
+ prefix: z.ZodNullable<z.ZodString>;
809
+ created_at: z.ZodString;
810
+ updated_at: z.ZodString;
811
+ amount: z.ZodNullable<z.ZodString>;
812
+ expires_at: z.ZodNullable<z.ZodString>;
813
+ created_by_id: z.ZodNullable<z.ZodString>;
814
+ }, z.core.$strip>;
815
+ type StoreGiftCardBatch = z.infer<typeof StoreGiftCardBatchSchema>;
816
+
695
817
  declare const StoreImageSchema: z.ZodObject<{
696
818
  id: z.ZodString;
697
819
  viewable_id: z.ZodString;
698
- position: z.ZodNumber;
699
- alt: z.ZodNullable<z.ZodString>;
820
+ type: z.ZodNullable<z.ZodString>;
700
821
  viewable_type: z.ZodString;
822
+ position: z.ZodNullable<z.ZodNumber>;
823
+ alt: z.ZodNullable<z.ZodString>;
701
824
  created_at: z.ZodString;
702
825
  updated_at: z.ZodString;
703
826
  original_url: z.ZodNullable<z.ZodString>;
@@ -710,6 +833,51 @@ declare const StoreImageSchema: z.ZodObject<{
710
833
  }, z.core.$strip>;
711
834
  type StoreImage = z.infer<typeof StoreImageSchema>;
712
835
 
836
+ declare const StoreImportSchema: z.ZodObject<{
837
+ id: z.ZodString;
838
+ number: z.ZodString;
839
+ type: z.ZodNullable<z.ZodString>;
840
+ rows_count: z.ZodNumber;
841
+ created_at: z.ZodString;
842
+ updated_at: z.ZodString;
843
+ status: z.ZodString;
844
+ owner_type: z.ZodNullable<z.ZodString>;
845
+ owner_id: z.ZodNullable<z.ZodString>;
846
+ user_id: z.ZodNullable<z.ZodString>;
847
+ }, z.core.$strip>;
848
+ type StoreImport = z.infer<typeof StoreImportSchema>;
849
+
850
+ declare const StoreImportRowSchema: z.ZodObject<{
851
+ id: z.ZodString;
852
+ row_number: z.ZodNumber;
853
+ status: z.ZodString;
854
+ validation_errors: z.ZodAny;
855
+ item_type: z.ZodNullable<z.ZodString>;
856
+ created_at: z.ZodString;
857
+ updated_at: z.ZodString;
858
+ import_id: z.ZodNullable<z.ZodString>;
859
+ item_id: z.ZodNullable<z.ZodString>;
860
+ }, z.core.$strip>;
861
+ type StoreImportRow = z.infer<typeof StoreImportRowSchema>;
862
+
863
+ declare const StoreInvitationSchema: z.ZodObject<{
864
+ id: z.ZodString;
865
+ email: z.ZodString;
866
+ resource_type: z.ZodNullable<z.ZodString>;
867
+ inviter_type: z.ZodNullable<z.ZodString>;
868
+ invitee_type: z.ZodNullable<z.ZodString>;
869
+ created_at: z.ZodString;
870
+ updated_at: z.ZodString;
871
+ status: z.ZodString;
872
+ resource_id: z.ZodNullable<z.ZodString>;
873
+ inviter_id: z.ZodNullable<z.ZodString>;
874
+ invitee_id: z.ZodNullable<z.ZodString>;
875
+ role_id: z.ZodNullable<z.ZodString>;
876
+ expires_at: z.ZodNullable<z.ZodString>;
877
+ accepted_at: z.ZodNullable<z.ZodString>;
878
+ }, z.core.$strip>;
879
+ type StoreInvitation = z.infer<typeof StoreInvitationSchema>;
880
+
713
881
  declare const StoreLineItemSchema: z.ZodObject<{
714
882
  id: z.ZodString;
715
883
  variant_id: z.ZodString;
@@ -763,27 +931,11 @@ declare const StoreLineItemSchema: z.ZodObject<{
763
931
  }, z.core.$strip>;
764
932
  type StoreLineItem = z.infer<typeof StoreLineItemSchema>;
765
933
 
766
- declare const StoreMarketSchema: z.ZodObject<{
767
- id: z.ZodString;
934
+ declare const StoreLocaleSchema: z.ZodObject<{
935
+ code: z.ZodString;
768
936
  name: z.ZodString;
769
- currency: z.ZodString;
770
- default_locale: z.ZodString;
771
- tax_inclusive: z.ZodBoolean;
772
- default: z.ZodBoolean;
773
- supported_locales: z.ZodArray<z.ZodString>;
774
- countries: z.ZodArray<z.ZodObject<{
775
- iso: z.ZodString;
776
- iso3: z.ZodString;
777
- name: z.ZodString;
778
- states_required: z.ZodBoolean;
779
- zipcode_required: z.ZodBoolean;
780
- states: z.ZodOptional<z.ZodArray<z.ZodObject<{
781
- abbr: z.ZodString;
782
- name: z.ZodString;
783
- }, z.core.$strip>>>;
784
- }, z.core.$strip>>;
785
937
  }, z.core.$strip>;
786
- type StoreMarket = z.infer<typeof StoreMarketSchema>;
938
+ type StoreLocale = z.infer<typeof StoreLocaleSchema>;
787
939
 
788
940
  declare const StoreMetafieldSchema: z.ZodObject<{
789
941
  id: z.ZodString;
@@ -794,6 +946,17 @@ declare const StoreMetafieldSchema: z.ZodObject<{
794
946
  }, z.core.$strip>;
795
947
  type StoreMetafield = z.infer<typeof StoreMetafieldSchema>;
796
948
 
949
+ declare const StoreNewsletterSubscriberSchema: z.ZodObject<{
950
+ id: z.ZodString;
951
+ email: z.ZodString;
952
+ created_at: z.ZodString;
953
+ updated_at: z.ZodString;
954
+ verified: z.ZodBoolean;
955
+ verified_at: z.ZodNullable<z.ZodString>;
956
+ user_id: z.ZodNullable<z.ZodString>;
957
+ }, z.core.$strip>;
958
+ type StoreNewsletterSubscriber = z.infer<typeof StoreNewsletterSubscriberSchema>;
959
+
797
960
  declare const StoreOptionTypeSchema: z.ZodObject<{
798
961
  id: z.ZodString;
799
962
  name: z.ZodString;
@@ -821,6 +984,7 @@ declare const StoreOrderSchema: z.ZodObject<{
821
984
  email: z.ZodNullable<z.ZodString>;
822
985
  special_instructions: z.ZodNullable<z.ZodString>;
823
986
  currency: z.ZodString;
987
+ locale: z.ZodNullable<z.ZodString>;
824
988
  item_count: z.ZodNumber;
825
989
  shipment_state: z.ZodNullable<z.ZodString>;
826
990
  payment_state: z.ZodNullable<z.ZodString>;
@@ -1121,10 +1285,32 @@ type StorePaymentSetupSession = z.infer<typeof StorePaymentSetupSessionSchema>;
1121
1285
  declare const StorePaymentSourceSchema: z.ZodObject<{
1122
1286
  id: z.ZodString;
1123
1287
  gateway_payment_profile_id: z.ZodNullable<z.ZodString>;
1124
- public_metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1125
1288
  }, z.core.$strip>;
1126
1289
  type StorePaymentSource = z.infer<typeof StorePaymentSourceSchema>;
1127
1290
 
1291
+ declare const StorePostSchema: z.ZodObject<{
1292
+ id: z.ZodString;
1293
+ title: z.ZodString;
1294
+ slug: z.ZodString;
1295
+ meta_title: z.ZodNullable<z.ZodString>;
1296
+ meta_description: z.ZodNullable<z.ZodString>;
1297
+ published_at: z.ZodNullable<z.ZodString>;
1298
+ created_at: z.ZodString;
1299
+ updated_at: z.ZodString;
1300
+ author_id: z.ZodNullable<z.ZodString>;
1301
+ post_category_id: z.ZodNullable<z.ZodString>;
1302
+ }, z.core.$strip>;
1303
+ type StorePost = z.infer<typeof StorePostSchema>;
1304
+
1305
+ declare const StorePostCategorySchema: z.ZodObject<{
1306
+ id: z.ZodString;
1307
+ title: z.ZodString;
1308
+ slug: z.ZodString;
1309
+ created_at: z.ZodString;
1310
+ updated_at: z.ZodString;
1311
+ }, z.core.$strip>;
1312
+ type StorePostCategory = z.infer<typeof StorePostCategorySchema>;
1313
+
1128
1314
  declare const StorePriceSchema: z.ZodObject<{
1129
1315
  id: z.ZodString;
1130
1316
  amount: z.ZodNullable<z.ZodString>;
@@ -1181,9 +1367,10 @@ declare const StoreProductSchema: z.ZodObject<{
1181
1367
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1182
1368
  id: z.ZodString;
1183
1369
  viewable_id: z.ZodString;
1184
- position: z.ZodNumber;
1185
- alt: z.ZodNullable<z.ZodString>;
1370
+ type: z.ZodNullable<z.ZodString>;
1186
1371
  viewable_type: z.ZodString;
1372
+ position: z.ZodNullable<z.ZodNumber>;
1373
+ alt: z.ZodNullable<z.ZodString>;
1187
1374
  created_at: z.ZodString;
1188
1375
  updated_at: z.ZodString;
1189
1376
  original_url: z.ZodNullable<z.ZodString>;
@@ -1237,9 +1424,10 @@ declare const StoreProductSchema: z.ZodObject<{
1237
1424
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1238
1425
  id: z.ZodString;
1239
1426
  viewable_id: z.ZodString;
1240
- position: z.ZodNumber;
1241
- alt: z.ZodNullable<z.ZodString>;
1427
+ type: z.ZodNullable<z.ZodString>;
1242
1428
  viewable_type: z.ZodString;
1429
+ position: z.ZodNullable<z.ZodNumber>;
1430
+ alt: z.ZodNullable<z.ZodString>;
1243
1431
  created_at: z.ZodString;
1244
1432
  updated_at: z.ZodString;
1245
1433
  original_url: z.ZodNullable<z.ZodString>;
@@ -1310,9 +1498,10 @@ declare const StoreProductSchema: z.ZodObject<{
1310
1498
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1311
1499
  id: z.ZodString;
1312
1500
  viewable_id: z.ZodString;
1313
- position: z.ZodNumber;
1314
- alt: z.ZodNullable<z.ZodString>;
1501
+ type: z.ZodNullable<z.ZodString>;
1315
1502
  viewable_type: z.ZodString;
1503
+ position: z.ZodNullable<z.ZodNumber>;
1504
+ alt: z.ZodNullable<z.ZodString>;
1316
1505
  created_at: z.ZodString;
1317
1506
  updated_at: z.ZodString;
1318
1507
  original_url: z.ZodNullable<z.ZodString>;
@@ -1383,9 +1572,10 @@ declare const StoreProductSchema: z.ZodObject<{
1383
1572
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1384
1573
  id: z.ZodString;
1385
1574
  viewable_id: z.ZodString;
1386
- position: z.ZodNumber;
1387
- alt: z.ZodNullable<z.ZodString>;
1575
+ type: z.ZodNullable<z.ZodString>;
1388
1576
  viewable_type: z.ZodString;
1577
+ position: z.ZodNullable<z.ZodNumber>;
1578
+ alt: z.ZodNullable<z.ZodString>;
1389
1579
  created_at: z.ZodString;
1390
1580
  updated_at: z.ZodString;
1391
1581
  original_url: z.ZodNullable<z.ZodString>;
@@ -1430,6 +1620,93 @@ declare const StoreProductSchema: z.ZodObject<{
1430
1620
  }, z.core.$strip>;
1431
1621
  type StoreProduct = z.infer<typeof StoreProductSchema>;
1432
1622
 
1623
+ declare const StorePromotionSchema: z.ZodObject<{
1624
+ id: z.ZodString;
1625
+ name: z.ZodString;
1626
+ description: z.ZodNullable<z.ZodString>;
1627
+ code: z.ZodNullable<z.ZodString>;
1628
+ type: z.ZodNullable<z.ZodString>;
1629
+ kind: z.ZodNullable<z.ZodString>;
1630
+ path: z.ZodNullable<z.ZodString>;
1631
+ match_policy: z.ZodNullable<z.ZodString>;
1632
+ usage_limit: z.ZodNullable<z.ZodNumber>;
1633
+ advertise: z.ZodBoolean;
1634
+ multi_codes: z.ZodBoolean;
1635
+ code_prefix: z.ZodNullable<z.ZodString>;
1636
+ number_of_codes: z.ZodNullable<z.ZodNumber>;
1637
+ starts_at: z.ZodNullable<z.ZodString>;
1638
+ expires_at: z.ZodNullable<z.ZodString>;
1639
+ created_at: z.ZodString;
1640
+ updated_at: z.ZodString;
1641
+ promotion_category_id: z.ZodNullable<z.ZodString>;
1642
+ }, z.core.$strip>;
1643
+ type StorePromotion = z.infer<typeof StorePromotionSchema>;
1644
+
1645
+ declare const StoreRefundSchema: z.ZodObject<{
1646
+ id: z.ZodString;
1647
+ transaction_id: z.ZodNullable<z.ZodString>;
1648
+ created_at: z.ZodString;
1649
+ updated_at: z.ZodString;
1650
+ amount: z.ZodNullable<z.ZodString>;
1651
+ payment_id: z.ZodNullable<z.ZodString>;
1652
+ refund_reason_id: z.ZodNullable<z.ZodString>;
1653
+ reimbursement_id: z.ZodNullable<z.ZodString>;
1654
+ }, z.core.$strip>;
1655
+ type StoreRefund = z.infer<typeof StoreRefundSchema>;
1656
+
1657
+ declare const StoreReimbursementSchema: z.ZodObject<{
1658
+ id: z.ZodString;
1659
+ number: z.ZodString;
1660
+ reimbursement_status: z.ZodNullable<z.ZodString>;
1661
+ created_at: z.ZodString;
1662
+ updated_at: z.ZodString;
1663
+ total: z.ZodNullable<z.ZodString>;
1664
+ order_id: z.ZodNullable<z.ZodString>;
1665
+ customer_return_id: z.ZodNullable<z.ZodString>;
1666
+ }, z.core.$strip>;
1667
+ type StoreReimbursement = z.infer<typeof StoreReimbursementSchema>;
1668
+
1669
+ declare const StoreReportSchema: z.ZodObject<{
1670
+ id: z.ZodString;
1671
+ type: z.ZodNullable<z.ZodString>;
1672
+ currency: z.ZodNullable<z.ZodString>;
1673
+ created_at: z.ZodString;
1674
+ updated_at: z.ZodString;
1675
+ user_id: z.ZodNullable<z.ZodString>;
1676
+ date_from: z.ZodNullable<z.ZodString>;
1677
+ date_to: z.ZodNullable<z.ZodString>;
1678
+ }, z.core.$strip>;
1679
+ type StoreReport = z.infer<typeof StoreReportSchema>;
1680
+
1681
+ declare const StoreReturnAuthorizationSchema: z.ZodObject<{
1682
+ id: z.ZodString;
1683
+ number: z.ZodString;
1684
+ created_at: z.ZodString;
1685
+ updated_at: z.ZodString;
1686
+ state: z.ZodString;
1687
+ order_id: z.ZodNullable<z.ZodString>;
1688
+ stock_location_id: z.ZodNullable<z.ZodString>;
1689
+ return_authorization_reason_id: z.ZodNullable<z.ZodString>;
1690
+ }, z.core.$strip>;
1691
+ type StoreReturnAuthorization = z.infer<typeof StoreReturnAuthorizationSchema>;
1692
+
1693
+ declare const StoreReturnItemSchema: z.ZodObject<{
1694
+ id: z.ZodString;
1695
+ reception_status: z.ZodNullable<z.ZodString>;
1696
+ acceptance_status: z.ZodNullable<z.ZodString>;
1697
+ created_at: z.ZodString;
1698
+ updated_at: z.ZodString;
1699
+ pre_tax_amount: z.ZodNullable<z.ZodString>;
1700
+ included_tax_total: z.ZodNullable<z.ZodString>;
1701
+ additional_tax_total: z.ZodNullable<z.ZodString>;
1702
+ inventory_unit_id: z.ZodNullable<z.ZodString>;
1703
+ return_authorization_id: z.ZodNullable<z.ZodString>;
1704
+ customer_return_id: z.ZodNullable<z.ZodString>;
1705
+ reimbursement_id: z.ZodNullable<z.ZodString>;
1706
+ exchange_variant_id: z.ZodNullable<z.ZodString>;
1707
+ }, z.core.$strip>;
1708
+ type StoreReturnItem = z.infer<typeof StoreReturnItemSchema>;
1709
+
1433
1710
  declare const StoreShipmentSchema: z.ZodObject<{
1434
1711
  id: z.ZodString;
1435
1712
  number: z.ZodString;
@@ -1501,6 +1778,17 @@ declare const StoreStateSchema: z.ZodObject<{
1501
1778
  }, z.core.$strip>;
1502
1779
  type StoreState = z.infer<typeof StoreStateSchema>;
1503
1780
 
1781
+ declare const StoreStockItemSchema: z.ZodObject<{
1782
+ id: z.ZodString;
1783
+ count_on_hand: z.ZodNumber;
1784
+ backorderable: z.ZodBoolean;
1785
+ created_at: z.ZodString;
1786
+ updated_at: z.ZodString;
1787
+ stock_location_id: z.ZodNullable<z.ZodString>;
1788
+ variant_id: z.ZodNullable<z.ZodString>;
1789
+ }, z.core.$strip>;
1790
+ type StoreStockItem = z.infer<typeof StoreStockItemSchema>;
1791
+
1504
1792
  declare const StoreStockLocationSchema: z.ZodObject<{
1505
1793
  id: z.ZodString;
1506
1794
  state_abbr: z.ZodNullable<z.ZodString>;
@@ -1514,6 +1802,30 @@ declare const StoreStockLocationSchema: z.ZodObject<{
1514
1802
  }, z.core.$strip>;
1515
1803
  type StoreStockLocation = z.infer<typeof StoreStockLocationSchema>;
1516
1804
 
1805
+ declare const StoreStockMovementSchema: z.ZodObject<{
1806
+ id: z.ZodString;
1807
+ quantity: z.ZodNumber;
1808
+ action: z.ZodNullable<z.ZodString>;
1809
+ originator_type: z.ZodNullable<z.ZodString>;
1810
+ created_at: z.ZodString;
1811
+ updated_at: z.ZodString;
1812
+ originator_id: z.ZodNullable<z.ZodString>;
1813
+ stock_item_id: z.ZodNullable<z.ZodString>;
1814
+ }, z.core.$strip>;
1815
+ type StoreStockMovement = z.infer<typeof StoreStockMovementSchema>;
1816
+
1817
+ declare const StoreStockTransferSchema: z.ZodObject<{
1818
+ id: z.ZodString;
1819
+ number: z.ZodNullable<z.ZodString>;
1820
+ type: z.ZodNullable<z.ZodString>;
1821
+ reference: z.ZodNullable<z.ZodString>;
1822
+ created_at: z.ZodString;
1823
+ updated_at: z.ZodString;
1824
+ source_location_id: z.ZodNullable<z.ZodString>;
1825
+ destination_location_id: z.ZodNullable<z.ZodString>;
1826
+ }, z.core.$strip>;
1827
+ type StoreStockTransfer = z.infer<typeof StoreStockTransferSchema>;
1828
+
1517
1829
  declare const StoreStoreSchema: z.ZodObject<{
1518
1830
  id: z.ZodString;
1519
1831
  name: z.ZodString;
@@ -1521,22 +1833,16 @@ declare const StoreStoreSchema: z.ZodObject<{
1521
1833
  meta_description: z.ZodNullable<z.ZodString>;
1522
1834
  meta_keywords: z.ZodNullable<z.ZodString>;
1523
1835
  seo_title: z.ZodNullable<z.ZodString>;
1524
- default_currency: z.ZodString;
1525
1836
  code: z.ZodString;
1526
- default: z.ZodBoolean;
1527
1837
  facebook: z.ZodNullable<z.ZodString>;
1528
1838
  twitter: z.ZodNullable<z.ZodString>;
1529
1839
  instagram: z.ZodNullable<z.ZodString>;
1530
1840
  customer_support_email: z.ZodNullable<z.ZodString>;
1531
- default_locale: z.ZodString;
1532
1841
  created_at: z.ZodString;
1533
1842
  updated_at: z.ZodString;
1534
- default_country_iso: z.ZodNullable<z.ZodString>;
1535
- supported_currencies: z.ZodArray<z.ZodString>;
1536
1843
  favicon_image_url: z.ZodNullable<z.ZodString>;
1537
1844
  logo_image_url: z.ZodNullable<z.ZodString>;
1538
1845
  social_image_url: z.ZodNullable<z.ZodString>;
1539
- supported_locales: z.ZodArray<z.ZodString>;
1540
1846
  payment_methods: z.ZodArray<z.ZodObject<{
1541
1847
  id: z.ZodString;
1542
1848
  name: z.ZodString;
@@ -1624,9 +1930,10 @@ declare const StoreVariantSchema: z.ZodObject<{
1624
1930
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1625
1931
  id: z.ZodString;
1626
1932
  viewable_id: z.ZodString;
1627
- position: z.ZodNumber;
1628
- alt: z.ZodNullable<z.ZodString>;
1933
+ type: z.ZodNullable<z.ZodString>;
1629
1934
  viewable_type: z.ZodString;
1935
+ position: z.ZodNullable<z.ZodNumber>;
1936
+ alt: z.ZodNullable<z.ZodString>;
1630
1937
  created_at: z.ZodString;
1631
1938
  updated_at: z.ZodString;
1632
1939
  original_url: z.ZodNullable<z.ZodString>;
@@ -1706,9 +2013,10 @@ declare const StoreWishedItemSchema: z.ZodObject<{
1706
2013
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1707
2014
  id: z.ZodString;
1708
2015
  viewable_id: z.ZodString;
1709
- position: z.ZodNumber;
1710
- alt: z.ZodNullable<z.ZodString>;
2016
+ type: z.ZodNullable<z.ZodString>;
1711
2017
  viewable_type: z.ZodString;
2018
+ position: z.ZodNullable<z.ZodNumber>;
2019
+ alt: z.ZodNullable<z.ZodString>;
1712
2020
  created_at: z.ZodString;
1713
2021
  updated_at: z.ZodString;
1714
2022
  original_url: z.ZodNullable<z.ZodString>;
@@ -1797,9 +2105,10 @@ declare const StoreWishlistSchema: z.ZodObject<{
1797
2105
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1798
2106
  id: z.ZodString;
1799
2107
  viewable_id: z.ZodString;
1800
- position: z.ZodNumber;
1801
- alt: z.ZodNullable<z.ZodString>;
2108
+ type: z.ZodNullable<z.ZodString>;
1802
2109
  viewable_type: z.ZodString;
2110
+ position: z.ZodNullable<z.ZodNumber>;
2111
+ alt: z.ZodNullable<z.ZodString>;
1803
2112
  created_at: z.ZodString;
1804
2113
  updated_at: z.ZodString;
1805
2114
  original_url: z.ZodNullable<z.ZodString>;
@@ -1831,4 +2140,4 @@ declare const StoreWishlistSchema: z.ZodObject<{
1831
2140
  }, z.core.$strip>;
1832
2141
  type StoreWishlist = z.infer<typeof StoreWishlistSchema>;
1833
2142
 
1834
- export { type AdminCustomer, AdminCustomerSchema, type AdminMetafield, AdminMetafieldSchema, type AdminOrder, AdminOrderSchema, type AdminPrice, AdminPriceSchema, type AdminProduct, AdminProductSchema, type AdminTaxon, AdminTaxonSchema, type AdminTaxonomy, AdminTaxonomySchema, type AdminVariant, AdminVariantSchema, type StoreAddress, StoreAddressSchema, type StoreBase, StoreBaseSchema, type StoreCountry, StoreCountrySchema, type StoreCreditCard, StoreCreditCardSchema, type StoreCustomer, StoreCustomerSchema, type StoreDigitalLink, StoreDigitalLinkSchema, type StoreGiftCard, StoreGiftCardSchema, type StoreImage, StoreImageSchema, type StoreLineItem, StoreLineItemSchema, type StoreMarket, StoreMarketSchema, type StoreMetafield, StoreMetafieldSchema, type StoreOptionType, StoreOptionTypeSchema, type StoreOptionValue, StoreOptionValueSchema, type StoreOrder, type StoreOrderPromotion, StoreOrderPromotionSchema, StoreOrderSchema, type StorePayment, type StorePaymentMethod, StorePaymentMethodSchema, StorePaymentSchema, type StorePaymentSession, StorePaymentSessionSchema, type StorePaymentSetupSession, StorePaymentSetupSessionSchema, type StorePaymentSource, StorePaymentSourceSchema, type StorePrice, StorePriceSchema, type StoreProduct, StoreProductSchema, type StoreShipment, StoreShipmentSchema, type StoreShippingMethod, StoreShippingMethodSchema, type StoreShippingRate, StoreShippingRateSchema, type StoreState, StoreStateSchema, type StoreStockLocation, StoreStockLocationSchema, type StoreStore, type StoreStoreCredit, StoreStoreCreditSchema, StoreStoreSchema, type StoreTaxon, StoreTaxonSchema, type StoreTaxonomy, StoreTaxonomySchema, type StoreVariant, StoreVariantSchema, type StoreWishedItem, StoreWishedItemSchema, type StoreWishlist, StoreWishlistSchema };
2143
+ export { type AdminCustomer, AdminCustomerSchema, type AdminLineItem, AdminLineItemSchema, type AdminMetafield, AdminMetafieldSchema, type AdminOrder, AdminOrderSchema, type AdminPrice, AdminPriceSchema, type AdminProduct, AdminProductSchema, type AdminTaxon, AdminTaxonSchema, type AdminTaxonomy, AdminTaxonomySchema, type AdminVariant, AdminVariantSchema, type StoreAddress, StoreAddressSchema, type StoreAsset, StoreAssetSchema, type StoreBase, StoreBaseSchema, type StoreCountry, StoreCountrySchema, type StoreCreditCard, StoreCreditCardSchema, type StoreCurrency, StoreCurrencySchema, type StoreCustomer, type StoreCustomerReturn, StoreCustomerReturnSchema, StoreCustomerSchema, type StoreDigital, type StoreDigitalLink, StoreDigitalLinkSchema, StoreDigitalSchema, type StoreExport, StoreExportSchema, type StoreGiftCard, type StoreGiftCardBatch, StoreGiftCardBatchSchema, StoreGiftCardSchema, type StoreImage, StoreImageSchema, type StoreImport, type StoreImportRow, StoreImportRowSchema, StoreImportSchema, type StoreInvitation, StoreInvitationSchema, type StoreLineItem, StoreLineItemSchema, type StoreLocale, StoreLocaleSchema, type StoreMetafield, StoreMetafieldSchema, type StoreNewsletterSubscriber, StoreNewsletterSubscriberSchema, type StoreOptionType, StoreOptionTypeSchema, type StoreOptionValue, StoreOptionValueSchema, type StoreOrder, type StoreOrderPromotion, StoreOrderPromotionSchema, StoreOrderSchema, type StorePayment, type StorePaymentMethod, StorePaymentMethodSchema, StorePaymentSchema, type StorePaymentSession, StorePaymentSessionSchema, type StorePaymentSetupSession, StorePaymentSetupSessionSchema, type StorePaymentSource, StorePaymentSourceSchema, type StorePost, type StorePostCategory, StorePostCategorySchema, StorePostSchema, type StorePrice, StorePriceSchema, type StoreProduct, StoreProductSchema, type StorePromotion, StorePromotionSchema, type StoreRefund, StoreRefundSchema, type StoreReimbursement, StoreReimbursementSchema, type StoreReport, StoreReportSchema, type StoreReturnAuthorization, StoreReturnAuthorizationSchema, type StoreReturnItem, StoreReturnItemSchema, type StoreShipment, StoreShipmentSchema, type StoreShippingMethod, StoreShippingMethodSchema, type StoreShippingRate, StoreShippingRateSchema, type StoreState, StoreStateSchema, type StoreStockItem, StoreStockItemSchema, type StoreStockLocation, StoreStockLocationSchema, type StoreStockMovement, StoreStockMovementSchema, type StoreStockTransfer, StoreStockTransferSchema, type StoreStore, type StoreStoreCredit, StoreStoreCreditSchema, StoreStoreSchema, type StoreTaxon, StoreTaxonSchema, type StoreTaxonomy, StoreTaxonomySchema, type StoreVariant, StoreVariantSchema, type StoreWishedItem, StoreWishedItemSchema, type StoreWishlist, StoreWishlistSchema };