@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.
@@ -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>;
@@ -667,6 +738,23 @@ declare const StoreCustomerSchema: z.ZodObject<{
667
738
  }, z.core.$strip>;
668
739
  type StoreCustomer = z.infer<typeof StoreCustomerSchema>;
669
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
+
670
758
  declare const StoreDigitalLinkSchema: z.ZodObject<{
671
759
  id: z.ZodString;
672
760
  access_counter: z.ZodNumber;
@@ -681,6 +769,17 @@ declare const StoreDigitalLinkSchema: z.ZodObject<{
681
769
  }, z.core.$strip>;
682
770
  type StoreDigitalLink = z.infer<typeof StoreDigitalLinkSchema>;
683
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
+
684
783
  declare const StoreGiftCardSchema: z.ZodObject<{
685
784
  id: z.ZodString;
686
785
  code: z.ZodString;
@@ -702,12 +801,26 @@ declare const StoreGiftCardSchema: z.ZodObject<{
702
801
  }, z.core.$strip>;
703
802
  type StoreGiftCard = z.infer<typeof StoreGiftCardSchema>;
704
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
+
705
817
  declare const StoreImageSchema: z.ZodObject<{
706
818
  id: z.ZodString;
707
819
  viewable_id: z.ZodString;
708
- position: z.ZodNumber;
709
- alt: z.ZodNullable<z.ZodString>;
820
+ type: z.ZodNullable<z.ZodString>;
710
821
  viewable_type: z.ZodString;
822
+ position: z.ZodNullable<z.ZodNumber>;
823
+ alt: z.ZodNullable<z.ZodString>;
711
824
  created_at: z.ZodString;
712
825
  updated_at: z.ZodString;
713
826
  original_url: z.ZodNullable<z.ZodString>;
@@ -720,6 +833,51 @@ declare const StoreImageSchema: z.ZodObject<{
720
833
  }, z.core.$strip>;
721
834
  type StoreImage = z.infer<typeof StoreImageSchema>;
722
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
+
723
881
  declare const StoreLineItemSchema: z.ZodObject<{
724
882
  id: z.ZodString;
725
883
  variant_id: z.ZodString;
@@ -788,6 +946,17 @@ declare const StoreMetafieldSchema: z.ZodObject<{
788
946
  }, z.core.$strip>;
789
947
  type StoreMetafield = z.infer<typeof StoreMetafieldSchema>;
790
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
+
791
960
  declare const StoreOptionTypeSchema: z.ZodObject<{
792
961
  id: z.ZodString;
793
962
  name: z.ZodString;
@@ -815,6 +984,7 @@ declare const StoreOrderSchema: z.ZodObject<{
815
984
  email: z.ZodNullable<z.ZodString>;
816
985
  special_instructions: z.ZodNullable<z.ZodString>;
817
986
  currency: z.ZodString;
987
+ locale: z.ZodNullable<z.ZodString>;
818
988
  item_count: z.ZodNumber;
819
989
  shipment_state: z.ZodNullable<z.ZodString>;
820
990
  payment_state: z.ZodNullable<z.ZodString>;
@@ -1115,10 +1285,32 @@ type StorePaymentSetupSession = z.infer<typeof StorePaymentSetupSessionSchema>;
1115
1285
  declare const StorePaymentSourceSchema: z.ZodObject<{
1116
1286
  id: z.ZodString;
1117
1287
  gateway_payment_profile_id: z.ZodNullable<z.ZodString>;
1118
- public_metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1119
1288
  }, z.core.$strip>;
1120
1289
  type StorePaymentSource = z.infer<typeof StorePaymentSourceSchema>;
1121
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
+
1122
1314
  declare const StorePriceSchema: z.ZodObject<{
1123
1315
  id: z.ZodString;
1124
1316
  amount: z.ZodNullable<z.ZodString>;
@@ -1175,9 +1367,10 @@ declare const StoreProductSchema: z.ZodObject<{
1175
1367
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1176
1368
  id: z.ZodString;
1177
1369
  viewable_id: z.ZodString;
1178
- position: z.ZodNumber;
1179
- alt: z.ZodNullable<z.ZodString>;
1370
+ type: z.ZodNullable<z.ZodString>;
1180
1371
  viewable_type: z.ZodString;
1372
+ position: z.ZodNullable<z.ZodNumber>;
1373
+ alt: z.ZodNullable<z.ZodString>;
1181
1374
  created_at: z.ZodString;
1182
1375
  updated_at: z.ZodString;
1183
1376
  original_url: z.ZodNullable<z.ZodString>;
@@ -1231,9 +1424,10 @@ declare const StoreProductSchema: z.ZodObject<{
1231
1424
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1232
1425
  id: z.ZodString;
1233
1426
  viewable_id: z.ZodString;
1234
- position: z.ZodNumber;
1235
- alt: z.ZodNullable<z.ZodString>;
1427
+ type: z.ZodNullable<z.ZodString>;
1236
1428
  viewable_type: z.ZodString;
1429
+ position: z.ZodNullable<z.ZodNumber>;
1430
+ alt: z.ZodNullable<z.ZodString>;
1237
1431
  created_at: z.ZodString;
1238
1432
  updated_at: z.ZodString;
1239
1433
  original_url: z.ZodNullable<z.ZodString>;
@@ -1304,9 +1498,10 @@ declare const StoreProductSchema: z.ZodObject<{
1304
1498
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1305
1499
  id: z.ZodString;
1306
1500
  viewable_id: z.ZodString;
1307
- position: z.ZodNumber;
1308
- alt: z.ZodNullable<z.ZodString>;
1501
+ type: z.ZodNullable<z.ZodString>;
1309
1502
  viewable_type: z.ZodString;
1503
+ position: z.ZodNullable<z.ZodNumber>;
1504
+ alt: z.ZodNullable<z.ZodString>;
1310
1505
  created_at: z.ZodString;
1311
1506
  updated_at: z.ZodString;
1312
1507
  original_url: z.ZodNullable<z.ZodString>;
@@ -1377,9 +1572,10 @@ declare const StoreProductSchema: z.ZodObject<{
1377
1572
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1378
1573
  id: z.ZodString;
1379
1574
  viewable_id: z.ZodString;
1380
- position: z.ZodNumber;
1381
- alt: z.ZodNullable<z.ZodString>;
1575
+ type: z.ZodNullable<z.ZodString>;
1382
1576
  viewable_type: z.ZodString;
1577
+ position: z.ZodNullable<z.ZodNumber>;
1578
+ alt: z.ZodNullable<z.ZodString>;
1383
1579
  created_at: z.ZodString;
1384
1580
  updated_at: z.ZodString;
1385
1581
  original_url: z.ZodNullable<z.ZodString>;
@@ -1424,6 +1620,93 @@ declare const StoreProductSchema: z.ZodObject<{
1424
1620
  }, z.core.$strip>;
1425
1621
  type StoreProduct = z.infer<typeof StoreProductSchema>;
1426
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
+
1427
1710
  declare const StoreShipmentSchema: z.ZodObject<{
1428
1711
  id: z.ZodString;
1429
1712
  number: z.ZodString;
@@ -1495,6 +1778,17 @@ declare const StoreStateSchema: z.ZodObject<{
1495
1778
  }, z.core.$strip>;
1496
1779
  type StoreState = z.infer<typeof StoreStateSchema>;
1497
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
+
1498
1792
  declare const StoreStockLocationSchema: z.ZodObject<{
1499
1793
  id: z.ZodString;
1500
1794
  state_abbr: z.ZodNullable<z.ZodString>;
@@ -1508,6 +1802,30 @@ declare const StoreStockLocationSchema: z.ZodObject<{
1508
1802
  }, z.core.$strip>;
1509
1803
  type StoreStockLocation = z.infer<typeof StoreStockLocationSchema>;
1510
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
+
1511
1829
  declare const StoreStoreSchema: z.ZodObject<{
1512
1830
  id: z.ZodString;
1513
1831
  name: z.ZodString;
@@ -1515,22 +1833,16 @@ declare const StoreStoreSchema: z.ZodObject<{
1515
1833
  meta_description: z.ZodNullable<z.ZodString>;
1516
1834
  meta_keywords: z.ZodNullable<z.ZodString>;
1517
1835
  seo_title: z.ZodNullable<z.ZodString>;
1518
- default_currency: z.ZodString;
1519
1836
  code: z.ZodString;
1520
- default: z.ZodBoolean;
1521
1837
  facebook: z.ZodNullable<z.ZodString>;
1522
1838
  twitter: z.ZodNullable<z.ZodString>;
1523
1839
  instagram: z.ZodNullable<z.ZodString>;
1524
1840
  customer_support_email: z.ZodNullable<z.ZodString>;
1525
- default_locale: z.ZodString;
1526
1841
  created_at: z.ZodString;
1527
1842
  updated_at: z.ZodString;
1528
- default_country_iso: z.ZodNullable<z.ZodString>;
1529
- supported_currencies: z.ZodArray<z.ZodString>;
1530
1843
  favicon_image_url: z.ZodNullable<z.ZodString>;
1531
1844
  logo_image_url: z.ZodNullable<z.ZodString>;
1532
1845
  social_image_url: z.ZodNullable<z.ZodString>;
1533
- supported_locales: z.ZodArray<z.ZodString>;
1534
1846
  payment_methods: z.ZodArray<z.ZodObject<{
1535
1847
  id: z.ZodString;
1536
1848
  name: z.ZodString;
@@ -1618,9 +1930,10 @@ declare const StoreVariantSchema: z.ZodObject<{
1618
1930
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1619
1931
  id: z.ZodString;
1620
1932
  viewable_id: z.ZodString;
1621
- position: z.ZodNumber;
1622
- alt: z.ZodNullable<z.ZodString>;
1933
+ type: z.ZodNullable<z.ZodString>;
1623
1934
  viewable_type: z.ZodString;
1935
+ position: z.ZodNullable<z.ZodNumber>;
1936
+ alt: z.ZodNullable<z.ZodString>;
1624
1937
  created_at: z.ZodString;
1625
1938
  updated_at: z.ZodString;
1626
1939
  original_url: z.ZodNullable<z.ZodString>;
@@ -1700,9 +2013,10 @@ declare const StoreWishedItemSchema: z.ZodObject<{
1700
2013
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1701
2014
  id: z.ZodString;
1702
2015
  viewable_id: z.ZodString;
1703
- position: z.ZodNumber;
1704
- alt: z.ZodNullable<z.ZodString>;
2016
+ type: z.ZodNullable<z.ZodString>;
1705
2017
  viewable_type: z.ZodString;
2018
+ position: z.ZodNullable<z.ZodNumber>;
2019
+ alt: z.ZodNullable<z.ZodString>;
1706
2020
  created_at: z.ZodString;
1707
2021
  updated_at: z.ZodString;
1708
2022
  original_url: z.ZodNullable<z.ZodString>;
@@ -1791,9 +2105,10 @@ declare const StoreWishlistSchema: z.ZodObject<{
1791
2105
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1792
2106
  id: z.ZodString;
1793
2107
  viewable_id: z.ZodString;
1794
- position: z.ZodNumber;
1795
- alt: z.ZodNullable<z.ZodString>;
2108
+ type: z.ZodNullable<z.ZodString>;
1796
2109
  viewable_type: z.ZodString;
2110
+ position: z.ZodNullable<z.ZodNumber>;
2111
+ alt: z.ZodNullable<z.ZodString>;
1797
2112
  created_at: z.ZodString;
1798
2113
  updated_at: z.ZodString;
1799
2114
  original_url: z.ZodNullable<z.ZodString>;
@@ -1825,4 +2140,4 @@ declare const StoreWishlistSchema: z.ZodObject<{
1825
2140
  }, z.core.$strip>;
1826
2141
  type StoreWishlist = z.infer<typeof StoreWishlistSchema>;
1827
2142
 
1828
- 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 StoreCurrency, StoreCurrencySchema, type StoreCustomer, StoreCustomerSchema, type StoreDigitalLink, StoreDigitalLinkSchema, type StoreGiftCard, StoreGiftCardSchema, type StoreImage, StoreImageSchema, type StoreLineItem, StoreLineItemSchema, type StoreLocale, StoreLocaleSchema, 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 };