@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.
@@ -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,7 +1285,6 @@ 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
 
@@ -1175,9 +1344,10 @@ declare const StoreProductSchema: z.ZodObject<{
1175
1344
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1176
1345
  id: z.ZodString;
1177
1346
  viewable_id: z.ZodString;
1178
- position: z.ZodNumber;
1179
- alt: z.ZodNullable<z.ZodString>;
1347
+ type: z.ZodNullable<z.ZodString>;
1180
1348
  viewable_type: z.ZodString;
1349
+ position: z.ZodNullable<z.ZodNumber>;
1350
+ alt: z.ZodNullable<z.ZodString>;
1181
1351
  created_at: z.ZodString;
1182
1352
  updated_at: z.ZodString;
1183
1353
  original_url: z.ZodNullable<z.ZodString>;
@@ -1231,9 +1401,10 @@ declare const StoreProductSchema: z.ZodObject<{
1231
1401
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1232
1402
  id: z.ZodString;
1233
1403
  viewable_id: z.ZodString;
1234
- position: z.ZodNumber;
1235
- alt: z.ZodNullable<z.ZodString>;
1404
+ type: z.ZodNullable<z.ZodString>;
1236
1405
  viewable_type: z.ZodString;
1406
+ position: z.ZodNullable<z.ZodNumber>;
1407
+ alt: z.ZodNullable<z.ZodString>;
1237
1408
  created_at: z.ZodString;
1238
1409
  updated_at: z.ZodString;
1239
1410
  original_url: z.ZodNullable<z.ZodString>;
@@ -1304,9 +1475,10 @@ declare const StoreProductSchema: z.ZodObject<{
1304
1475
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1305
1476
  id: z.ZodString;
1306
1477
  viewable_id: z.ZodString;
1307
- position: z.ZodNumber;
1308
- alt: z.ZodNullable<z.ZodString>;
1478
+ type: z.ZodNullable<z.ZodString>;
1309
1479
  viewable_type: z.ZodString;
1480
+ position: z.ZodNullable<z.ZodNumber>;
1481
+ alt: z.ZodNullable<z.ZodString>;
1310
1482
  created_at: z.ZodString;
1311
1483
  updated_at: z.ZodString;
1312
1484
  original_url: z.ZodNullable<z.ZodString>;
@@ -1377,9 +1549,10 @@ declare const StoreProductSchema: z.ZodObject<{
1377
1549
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1378
1550
  id: z.ZodString;
1379
1551
  viewable_id: z.ZodString;
1380
- position: z.ZodNumber;
1381
- alt: z.ZodNullable<z.ZodString>;
1552
+ type: z.ZodNullable<z.ZodString>;
1382
1553
  viewable_type: z.ZodString;
1554
+ position: z.ZodNullable<z.ZodNumber>;
1555
+ alt: z.ZodNullable<z.ZodString>;
1383
1556
  created_at: z.ZodString;
1384
1557
  updated_at: z.ZodString;
1385
1558
  original_url: z.ZodNullable<z.ZodString>;
@@ -1424,6 +1597,93 @@ declare const StoreProductSchema: z.ZodObject<{
1424
1597
  }, z.core.$strip>;
1425
1598
  type StoreProduct = z.infer<typeof StoreProductSchema>;
1426
1599
 
1600
+ declare const StorePromotionSchema: z.ZodObject<{
1601
+ id: z.ZodString;
1602
+ name: z.ZodString;
1603
+ description: z.ZodNullable<z.ZodString>;
1604
+ code: z.ZodNullable<z.ZodString>;
1605
+ type: z.ZodNullable<z.ZodString>;
1606
+ kind: z.ZodNullable<z.ZodString>;
1607
+ path: z.ZodNullable<z.ZodString>;
1608
+ match_policy: z.ZodNullable<z.ZodString>;
1609
+ usage_limit: z.ZodNullable<z.ZodNumber>;
1610
+ advertise: z.ZodBoolean;
1611
+ multi_codes: z.ZodBoolean;
1612
+ code_prefix: z.ZodNullable<z.ZodString>;
1613
+ number_of_codes: z.ZodNullable<z.ZodNumber>;
1614
+ starts_at: z.ZodNullable<z.ZodString>;
1615
+ expires_at: z.ZodNullable<z.ZodString>;
1616
+ created_at: z.ZodString;
1617
+ updated_at: z.ZodString;
1618
+ promotion_category_id: z.ZodNullable<z.ZodString>;
1619
+ }, z.core.$strip>;
1620
+ type StorePromotion = z.infer<typeof StorePromotionSchema>;
1621
+
1622
+ declare const StoreRefundSchema: z.ZodObject<{
1623
+ id: z.ZodString;
1624
+ transaction_id: z.ZodNullable<z.ZodString>;
1625
+ created_at: z.ZodString;
1626
+ updated_at: z.ZodString;
1627
+ amount: z.ZodNullable<z.ZodString>;
1628
+ payment_id: z.ZodNullable<z.ZodString>;
1629
+ refund_reason_id: z.ZodNullable<z.ZodString>;
1630
+ reimbursement_id: z.ZodNullable<z.ZodString>;
1631
+ }, z.core.$strip>;
1632
+ type StoreRefund = z.infer<typeof StoreRefundSchema>;
1633
+
1634
+ declare const StoreReimbursementSchema: z.ZodObject<{
1635
+ id: z.ZodString;
1636
+ number: z.ZodString;
1637
+ reimbursement_status: z.ZodNullable<z.ZodString>;
1638
+ created_at: z.ZodString;
1639
+ updated_at: z.ZodString;
1640
+ total: z.ZodNullable<z.ZodString>;
1641
+ order_id: z.ZodNullable<z.ZodString>;
1642
+ customer_return_id: z.ZodNullable<z.ZodString>;
1643
+ }, z.core.$strip>;
1644
+ type StoreReimbursement = z.infer<typeof StoreReimbursementSchema>;
1645
+
1646
+ declare const StoreReportSchema: z.ZodObject<{
1647
+ id: z.ZodString;
1648
+ type: z.ZodNullable<z.ZodString>;
1649
+ currency: z.ZodNullable<z.ZodString>;
1650
+ created_at: z.ZodString;
1651
+ updated_at: z.ZodString;
1652
+ user_id: z.ZodNullable<z.ZodString>;
1653
+ date_from: z.ZodNullable<z.ZodString>;
1654
+ date_to: z.ZodNullable<z.ZodString>;
1655
+ }, z.core.$strip>;
1656
+ type StoreReport = z.infer<typeof StoreReportSchema>;
1657
+
1658
+ declare const StoreReturnAuthorizationSchema: z.ZodObject<{
1659
+ id: z.ZodString;
1660
+ number: z.ZodString;
1661
+ created_at: z.ZodString;
1662
+ updated_at: z.ZodString;
1663
+ state: z.ZodString;
1664
+ order_id: z.ZodNullable<z.ZodString>;
1665
+ stock_location_id: z.ZodNullable<z.ZodString>;
1666
+ return_authorization_reason_id: z.ZodNullable<z.ZodString>;
1667
+ }, z.core.$strip>;
1668
+ type StoreReturnAuthorization = z.infer<typeof StoreReturnAuthorizationSchema>;
1669
+
1670
+ declare const StoreReturnItemSchema: z.ZodObject<{
1671
+ id: z.ZodString;
1672
+ reception_status: z.ZodNullable<z.ZodString>;
1673
+ acceptance_status: z.ZodNullable<z.ZodString>;
1674
+ created_at: z.ZodString;
1675
+ updated_at: z.ZodString;
1676
+ pre_tax_amount: z.ZodNullable<z.ZodString>;
1677
+ included_tax_total: z.ZodNullable<z.ZodString>;
1678
+ additional_tax_total: z.ZodNullable<z.ZodString>;
1679
+ inventory_unit_id: z.ZodNullable<z.ZodString>;
1680
+ return_authorization_id: z.ZodNullable<z.ZodString>;
1681
+ customer_return_id: z.ZodNullable<z.ZodString>;
1682
+ reimbursement_id: z.ZodNullable<z.ZodString>;
1683
+ exchange_variant_id: z.ZodNullable<z.ZodString>;
1684
+ }, z.core.$strip>;
1685
+ type StoreReturnItem = z.infer<typeof StoreReturnItemSchema>;
1686
+
1427
1687
  declare const StoreShipmentSchema: z.ZodObject<{
1428
1688
  id: z.ZodString;
1429
1689
  number: z.ZodString;
@@ -1495,6 +1755,17 @@ declare const StoreStateSchema: z.ZodObject<{
1495
1755
  }, z.core.$strip>;
1496
1756
  type StoreState = z.infer<typeof StoreStateSchema>;
1497
1757
 
1758
+ declare const StoreStockItemSchema: z.ZodObject<{
1759
+ id: z.ZodString;
1760
+ count_on_hand: z.ZodNumber;
1761
+ backorderable: z.ZodBoolean;
1762
+ created_at: z.ZodString;
1763
+ updated_at: z.ZodString;
1764
+ stock_location_id: z.ZodNullable<z.ZodString>;
1765
+ variant_id: z.ZodNullable<z.ZodString>;
1766
+ }, z.core.$strip>;
1767
+ type StoreStockItem = z.infer<typeof StoreStockItemSchema>;
1768
+
1498
1769
  declare const StoreStockLocationSchema: z.ZodObject<{
1499
1770
  id: z.ZodString;
1500
1771
  state_abbr: z.ZodNullable<z.ZodString>;
@@ -1508,6 +1779,30 @@ declare const StoreStockLocationSchema: z.ZodObject<{
1508
1779
  }, z.core.$strip>;
1509
1780
  type StoreStockLocation = z.infer<typeof StoreStockLocationSchema>;
1510
1781
 
1782
+ declare const StoreStockMovementSchema: z.ZodObject<{
1783
+ id: z.ZodString;
1784
+ quantity: z.ZodNumber;
1785
+ action: z.ZodNullable<z.ZodString>;
1786
+ originator_type: z.ZodNullable<z.ZodString>;
1787
+ created_at: z.ZodString;
1788
+ updated_at: z.ZodString;
1789
+ originator_id: z.ZodNullable<z.ZodString>;
1790
+ stock_item_id: z.ZodNullable<z.ZodString>;
1791
+ }, z.core.$strip>;
1792
+ type StoreStockMovement = z.infer<typeof StoreStockMovementSchema>;
1793
+
1794
+ declare const StoreStockTransferSchema: z.ZodObject<{
1795
+ id: z.ZodString;
1796
+ number: z.ZodNullable<z.ZodString>;
1797
+ type: z.ZodNullable<z.ZodString>;
1798
+ reference: z.ZodNullable<z.ZodString>;
1799
+ created_at: z.ZodString;
1800
+ updated_at: z.ZodString;
1801
+ source_location_id: z.ZodNullable<z.ZodString>;
1802
+ destination_location_id: z.ZodNullable<z.ZodString>;
1803
+ }, z.core.$strip>;
1804
+ type StoreStockTransfer = z.infer<typeof StoreStockTransferSchema>;
1805
+
1511
1806
  declare const StoreStoreSchema: z.ZodObject<{
1512
1807
  id: z.ZodString;
1513
1808
  name: z.ZodString;
@@ -1515,22 +1810,16 @@ declare const StoreStoreSchema: z.ZodObject<{
1515
1810
  meta_description: z.ZodNullable<z.ZodString>;
1516
1811
  meta_keywords: z.ZodNullable<z.ZodString>;
1517
1812
  seo_title: z.ZodNullable<z.ZodString>;
1518
- default_currency: z.ZodString;
1519
1813
  code: z.ZodString;
1520
- default: z.ZodBoolean;
1521
1814
  facebook: z.ZodNullable<z.ZodString>;
1522
1815
  twitter: z.ZodNullable<z.ZodString>;
1523
1816
  instagram: z.ZodNullable<z.ZodString>;
1524
1817
  customer_support_email: z.ZodNullable<z.ZodString>;
1525
- default_locale: z.ZodString;
1526
1818
  created_at: z.ZodString;
1527
1819
  updated_at: z.ZodString;
1528
- default_country_iso: z.ZodNullable<z.ZodString>;
1529
- supported_currencies: z.ZodArray<z.ZodString>;
1530
1820
  favicon_image_url: z.ZodNullable<z.ZodString>;
1531
1821
  logo_image_url: z.ZodNullable<z.ZodString>;
1532
1822
  social_image_url: z.ZodNullable<z.ZodString>;
1533
- supported_locales: z.ZodArray<z.ZodString>;
1534
1823
  payment_methods: z.ZodArray<z.ZodObject<{
1535
1824
  id: z.ZodString;
1536
1825
  name: z.ZodString;
@@ -1618,9 +1907,10 @@ declare const StoreVariantSchema: z.ZodObject<{
1618
1907
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1619
1908
  id: z.ZodString;
1620
1909
  viewable_id: z.ZodString;
1621
- position: z.ZodNumber;
1622
- alt: z.ZodNullable<z.ZodString>;
1910
+ type: z.ZodNullable<z.ZodString>;
1623
1911
  viewable_type: z.ZodString;
1912
+ position: z.ZodNullable<z.ZodNumber>;
1913
+ alt: z.ZodNullable<z.ZodString>;
1624
1914
  created_at: z.ZodString;
1625
1915
  updated_at: z.ZodString;
1626
1916
  original_url: z.ZodNullable<z.ZodString>;
@@ -1700,9 +1990,10 @@ declare const StoreWishedItemSchema: z.ZodObject<{
1700
1990
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1701
1991
  id: z.ZodString;
1702
1992
  viewable_id: z.ZodString;
1703
- position: z.ZodNumber;
1704
- alt: z.ZodNullable<z.ZodString>;
1993
+ type: z.ZodNullable<z.ZodString>;
1705
1994
  viewable_type: z.ZodString;
1995
+ position: z.ZodNullable<z.ZodNumber>;
1996
+ alt: z.ZodNullable<z.ZodString>;
1706
1997
  created_at: z.ZodString;
1707
1998
  updated_at: z.ZodString;
1708
1999
  original_url: z.ZodNullable<z.ZodString>;
@@ -1791,9 +2082,10 @@ declare const StoreWishlistSchema: z.ZodObject<{
1791
2082
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1792
2083
  id: z.ZodString;
1793
2084
  viewable_id: z.ZodString;
1794
- position: z.ZodNumber;
1795
- alt: z.ZodNullable<z.ZodString>;
2085
+ type: z.ZodNullable<z.ZodString>;
1796
2086
  viewable_type: z.ZodString;
2087
+ position: z.ZodNullable<z.ZodNumber>;
2088
+ alt: z.ZodNullable<z.ZodString>;
1797
2089
  created_at: z.ZodString;
1798
2090
  updated_at: z.ZodString;
1799
2091
  original_url: z.ZodNullable<z.ZodString>;
@@ -1825,4 +2117,4 @@ declare const StoreWishlistSchema: z.ZodObject<{
1825
2117
  }, z.core.$strip>;
1826
2118
  type StoreWishlist = z.infer<typeof StoreWishlistSchema>;
1827
2119
 
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 };
2120
+ 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 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 };