@spree/sdk 0.6.6 → 0.6.8

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.
@@ -219,9 +219,9 @@ declare const AdminProductSchema: z.ZodObject<{
219
219
  }, z.core.$strip>>>;
220
220
  position: z.ZodNumber;
221
221
  tax_category_id: z.ZodNullable<z.ZodString>;
222
- deleted_at: z.ZodNullable<z.ZodString>;
223
- cost_price: z.ZodNullable<z.ZodNumber>;
222
+ cost_price: z.ZodNullable<z.ZodString>;
224
223
  cost_currency: z.ZodNullable<z.ZodString>;
224
+ deleted_at: z.ZodNullable<z.ZodString>;
225
225
  total_on_hand: z.ZodNullable<z.ZodNumber>;
226
226
  prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
227
227
  id: z.ZodString;
@@ -314,9 +314,9 @@ declare const AdminProductSchema: z.ZodObject<{
314
314
  }, z.core.$strip>>>;
315
315
  position: z.ZodNumber;
316
316
  tax_category_id: z.ZodNullable<z.ZodString>;
317
- deleted_at: z.ZodNullable<z.ZodString>;
318
- cost_price: z.ZodNullable<z.ZodNumber>;
317
+ cost_price: z.ZodNullable<z.ZodString>;
319
318
  cost_currency: z.ZodNullable<z.ZodString>;
319
+ deleted_at: z.ZodNullable<z.ZodString>;
320
320
  total_on_hand: z.ZodNullable<z.ZodNumber>;
321
321
  prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
322
322
  id: z.ZodString;
@@ -409,9 +409,9 @@ declare const AdminProductSchema: z.ZodObject<{
409
409
  }, z.core.$strip>>>;
410
410
  position: z.ZodNumber;
411
411
  tax_category_id: z.ZodNullable<z.ZodString>;
412
- deleted_at: z.ZodNullable<z.ZodString>;
413
- cost_price: z.ZodNullable<z.ZodNumber>;
412
+ cost_price: z.ZodNullable<z.ZodString>;
414
413
  cost_currency: z.ZodNullable<z.ZodString>;
414
+ deleted_at: z.ZodNullable<z.ZodString>;
415
415
  total_on_hand: z.ZodNullable<z.ZodNumber>;
416
416
  prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
417
417
  id: z.ZodString;
@@ -447,7 +447,7 @@ declare const AdminProductSchema: z.ZodObject<{
447
447
  make_active_at: z.ZodNullable<z.ZodString>;
448
448
  discontinue_on: z.ZodNullable<z.ZodString>;
449
449
  deleted_at: z.ZodNullable<z.ZodString>;
450
- cost_price: z.ZodNullable<z.ZodNumber>;
450
+ cost_price: z.ZodNullable<z.ZodString>;
451
451
  cost_currency: z.ZodNullable<z.ZodString>;
452
452
  }, z.core.$strip>;
453
453
  type AdminProduct = z.infer<typeof AdminProductSchema>;
@@ -585,9 +585,9 @@ declare const AdminVariantSchema: z.ZodObject<{
585
585
  }, z.core.$strip>>>;
586
586
  position: z.ZodNumber;
587
587
  tax_category_id: z.ZodNullable<z.ZodString>;
588
- deleted_at: z.ZodNullable<z.ZodString>;
589
- cost_price: z.ZodNullable<z.ZodNumber>;
588
+ cost_price: z.ZodNullable<z.ZodString>;
590
589
  cost_currency: z.ZodNullable<z.ZodString>;
590
+ deleted_at: z.ZodNullable<z.ZodString>;
591
591
  total_on_hand: z.ZodNullable<z.ZodNumber>;
592
592
  prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
593
593
  id: z.ZodString;
@@ -643,18 +643,7 @@ declare const StoreBaseSchema: z.ZodObject<{
643
643
  }, z.core.$strip>;
644
644
  type StoreBase = z.infer<typeof StoreBaseSchema>;
645
645
 
646
- declare const StoreCountrySchema: z.ZodObject<{
647
- iso: z.ZodString;
648
- iso3: z.ZodString;
649
- name: z.ZodString;
650
- states_required: z.ZodBoolean;
651
- zipcode_required: z.ZodBoolean;
652
- states: z.ZodOptional<z.ZodArray<z.ZodObject<{
653
- abbr: z.ZodString;
654
- name: z.ZodString;
655
- }, z.core.$strip>>>;
656
- market: z.ZodOptional<z.ZodAny>;
657
- }, z.core.$strip>;
646
+ declare const StoreCountrySchema: z.ZodObject<any>;
658
647
  type StoreCountry = z.infer<typeof StoreCountrySchema>;
659
648
 
660
649
  declare const StoreCreditCardSchema: z.ZodObject<{
@@ -787,10 +776,10 @@ declare const StoreGiftCardSchema: z.ZodObject<{
787
776
  code: z.ZodString;
788
777
  state: z.ZodString;
789
778
  currency: z.ZodString;
790
- amount: z.ZodNumber;
791
- amount_used: z.ZodNumber;
792
- amount_authorized: z.ZodNumber;
793
- amount_remaining: z.ZodNumber;
779
+ amount: z.ZodString;
780
+ amount_used: z.ZodString;
781
+ amount_authorized: z.ZodString;
782
+ amount_remaining: z.ZodString;
794
783
  display_amount: z.ZodString;
795
784
  display_amount_used: z.ZodString;
796
785
  display_amount_remaining: z.ZodString;
@@ -939,27 +928,7 @@ declare const StoreLocaleSchema: z.ZodObject<{
939
928
  }, z.core.$strip>;
940
929
  type StoreLocale = z.infer<typeof StoreLocaleSchema>;
941
930
 
942
- declare const StoreMarketSchema: z.ZodObject<{
943
- id: z.ZodString;
944
- name: z.ZodString;
945
- currency: z.ZodString;
946
- default_locale: z.ZodString;
947
- tax_inclusive: z.ZodBoolean;
948
- default: z.ZodBoolean;
949
- supported_locales: z.ZodArray<z.ZodString>;
950
- countries: z.ZodOptional<z.ZodArray<z.ZodObject<{
951
- iso: z.ZodString;
952
- iso3: z.ZodString;
953
- name: z.ZodString;
954
- states_required: z.ZodBoolean;
955
- zipcode_required: z.ZodBoolean;
956
- states: z.ZodOptional<z.ZodArray<z.ZodObject<{
957
- abbr: z.ZodString;
958
- name: z.ZodString;
959
- }, z.core.$strip>>>;
960
- market: z.ZodOptional<z.ZodAny>;
961
- }, z.core.$strip>>>;
962
- }, z.core.$strip>;
931
+ declare const StoreMarketSchema: z.ZodObject<any>;
963
932
  type StoreMarket = z.infer<typeof StoreMarketSchema>;
964
933
 
965
934
  declare const StoreMetafieldSchema: z.ZodObject<{
@@ -1125,7 +1094,7 @@ declare const StoreOrderSchema: z.ZodObject<{
1125
1094
  shipping_method_id: z.ZodString;
1126
1095
  name: z.ZodString;
1127
1096
  selected: z.ZodBoolean;
1128
- cost: z.ZodNumber;
1097
+ cost: z.ZodString;
1129
1098
  display_cost: z.ZodString;
1130
1099
  shipping_method: z.ZodObject<{
1131
1100
  id: z.ZodString;
@@ -1744,7 +1713,7 @@ declare const StoreShipmentSchema: z.ZodObject<{
1744
1713
  shipping_method_id: z.ZodString;
1745
1714
  name: z.ZodString;
1746
1715
  selected: z.ZodBoolean;
1747
- cost: z.ZodNumber;
1716
+ cost: z.ZodString;
1748
1717
  display_cost: z.ZodString;
1749
1718
  shipping_method: z.ZodObject<{
1750
1719
  id: z.ZodString;
@@ -1767,7 +1736,7 @@ declare const StoreShippingRateSchema: z.ZodObject<{
1767
1736
  shipping_method_id: z.ZodString;
1768
1737
  name: z.ZodString;
1769
1738
  selected: z.ZodBoolean;
1770
- cost: z.ZodNumber;
1739
+ cost: z.ZodString;
1771
1740
  display_cost: z.ZodString;
1772
1741
  shipping_method: z.ZodObject<{
1773
1742
  id: z.ZodString;
@@ -1831,33 +1800,6 @@ declare const StoreStockTransferSchema: z.ZodObject<{
1831
1800
  }, z.core.$strip>;
1832
1801
  type StoreStockTransfer = z.infer<typeof StoreStockTransferSchema>;
1833
1802
 
1834
- declare const StoreStoreSchema: z.ZodObject<{
1835
- id: z.ZodString;
1836
- name: z.ZodString;
1837
- url: z.ZodString;
1838
- meta_description: z.ZodNullable<z.ZodString>;
1839
- meta_keywords: z.ZodNullable<z.ZodString>;
1840
- seo_title: z.ZodNullable<z.ZodString>;
1841
- code: z.ZodString;
1842
- facebook: z.ZodNullable<z.ZodString>;
1843
- twitter: z.ZodNullable<z.ZodString>;
1844
- instagram: z.ZodNullable<z.ZodString>;
1845
- customer_support_email: z.ZodNullable<z.ZodString>;
1846
- created_at: z.ZodString;
1847
- updated_at: z.ZodString;
1848
- favicon_image_url: z.ZodNullable<z.ZodString>;
1849
- logo_image_url: z.ZodNullable<z.ZodString>;
1850
- social_image_url: z.ZodNullable<z.ZodString>;
1851
- payment_methods: z.ZodArray<z.ZodObject<{
1852
- id: z.ZodString;
1853
- name: z.ZodString;
1854
- description: z.ZodNullable<z.ZodString>;
1855
- type: z.ZodString;
1856
- session_required: z.ZodBoolean;
1857
- }, z.core.$strip>>;
1858
- }, z.core.$strip>;
1859
- type StoreStore = z.infer<typeof StoreStoreSchema>;
1860
-
1861
1803
  declare const StoreStoreCreditSchema: z.ZodObject<{
1862
1804
  id: z.ZodString;
1863
1805
  amount: z.ZodString;
@@ -2145,4 +2087,4 @@ declare const StoreWishlistSchema: z.ZodObject<{
2145
2087
  }, z.core.$strip>;
2146
2088
  type StoreWishlist = z.infer<typeof StoreWishlistSchema>;
2147
2089
 
2148
- 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 StoreMarket, StoreMarketSchema, 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 };
2090
+ 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 StoreMarket, StoreMarketSchema, 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 StoreStoreCredit, StoreStoreCreditSchema, type StoreTaxon, StoreTaxonSchema, type StoreTaxonomy, StoreTaxonomySchema, type StoreVariant, StoreVariantSchema, type StoreWishedItem, StoreWishedItemSchema, type StoreWishlist, StoreWishlistSchema };
@@ -219,9 +219,9 @@ declare const AdminProductSchema: z.ZodObject<{
219
219
  }, z.core.$strip>>>;
220
220
  position: z.ZodNumber;
221
221
  tax_category_id: z.ZodNullable<z.ZodString>;
222
- deleted_at: z.ZodNullable<z.ZodString>;
223
- cost_price: z.ZodNullable<z.ZodNumber>;
222
+ cost_price: z.ZodNullable<z.ZodString>;
224
223
  cost_currency: z.ZodNullable<z.ZodString>;
224
+ deleted_at: z.ZodNullable<z.ZodString>;
225
225
  total_on_hand: z.ZodNullable<z.ZodNumber>;
226
226
  prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
227
227
  id: z.ZodString;
@@ -314,9 +314,9 @@ declare const AdminProductSchema: z.ZodObject<{
314
314
  }, z.core.$strip>>>;
315
315
  position: z.ZodNumber;
316
316
  tax_category_id: z.ZodNullable<z.ZodString>;
317
- deleted_at: z.ZodNullable<z.ZodString>;
318
- cost_price: z.ZodNullable<z.ZodNumber>;
317
+ cost_price: z.ZodNullable<z.ZodString>;
319
318
  cost_currency: z.ZodNullable<z.ZodString>;
319
+ deleted_at: z.ZodNullable<z.ZodString>;
320
320
  total_on_hand: z.ZodNullable<z.ZodNumber>;
321
321
  prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
322
322
  id: z.ZodString;
@@ -409,9 +409,9 @@ declare const AdminProductSchema: z.ZodObject<{
409
409
  }, z.core.$strip>>>;
410
410
  position: z.ZodNumber;
411
411
  tax_category_id: z.ZodNullable<z.ZodString>;
412
- deleted_at: z.ZodNullable<z.ZodString>;
413
- cost_price: z.ZodNullable<z.ZodNumber>;
412
+ cost_price: z.ZodNullable<z.ZodString>;
414
413
  cost_currency: z.ZodNullable<z.ZodString>;
414
+ deleted_at: z.ZodNullable<z.ZodString>;
415
415
  total_on_hand: z.ZodNullable<z.ZodNumber>;
416
416
  prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
417
417
  id: z.ZodString;
@@ -447,7 +447,7 @@ declare const AdminProductSchema: z.ZodObject<{
447
447
  make_active_at: z.ZodNullable<z.ZodString>;
448
448
  discontinue_on: z.ZodNullable<z.ZodString>;
449
449
  deleted_at: z.ZodNullable<z.ZodString>;
450
- cost_price: z.ZodNullable<z.ZodNumber>;
450
+ cost_price: z.ZodNullable<z.ZodString>;
451
451
  cost_currency: z.ZodNullable<z.ZodString>;
452
452
  }, z.core.$strip>;
453
453
  type AdminProduct = z.infer<typeof AdminProductSchema>;
@@ -585,9 +585,9 @@ declare const AdminVariantSchema: z.ZodObject<{
585
585
  }, z.core.$strip>>>;
586
586
  position: z.ZodNumber;
587
587
  tax_category_id: z.ZodNullable<z.ZodString>;
588
- deleted_at: z.ZodNullable<z.ZodString>;
589
- cost_price: z.ZodNullable<z.ZodNumber>;
588
+ cost_price: z.ZodNullable<z.ZodString>;
590
589
  cost_currency: z.ZodNullable<z.ZodString>;
590
+ deleted_at: z.ZodNullable<z.ZodString>;
591
591
  total_on_hand: z.ZodNullable<z.ZodNumber>;
592
592
  prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
593
593
  id: z.ZodString;
@@ -643,18 +643,7 @@ declare const StoreBaseSchema: z.ZodObject<{
643
643
  }, z.core.$strip>;
644
644
  type StoreBase = z.infer<typeof StoreBaseSchema>;
645
645
 
646
- declare const StoreCountrySchema: z.ZodObject<{
647
- iso: z.ZodString;
648
- iso3: z.ZodString;
649
- name: z.ZodString;
650
- states_required: z.ZodBoolean;
651
- zipcode_required: z.ZodBoolean;
652
- states: z.ZodOptional<z.ZodArray<z.ZodObject<{
653
- abbr: z.ZodString;
654
- name: z.ZodString;
655
- }, z.core.$strip>>>;
656
- market: z.ZodOptional<z.ZodAny>;
657
- }, z.core.$strip>;
646
+ declare const StoreCountrySchema: z.ZodObject<any>;
658
647
  type StoreCountry = z.infer<typeof StoreCountrySchema>;
659
648
 
660
649
  declare const StoreCreditCardSchema: z.ZodObject<{
@@ -787,10 +776,10 @@ declare const StoreGiftCardSchema: z.ZodObject<{
787
776
  code: z.ZodString;
788
777
  state: z.ZodString;
789
778
  currency: z.ZodString;
790
- amount: z.ZodNumber;
791
- amount_used: z.ZodNumber;
792
- amount_authorized: z.ZodNumber;
793
- amount_remaining: z.ZodNumber;
779
+ amount: z.ZodString;
780
+ amount_used: z.ZodString;
781
+ amount_authorized: z.ZodString;
782
+ amount_remaining: z.ZodString;
794
783
  display_amount: z.ZodString;
795
784
  display_amount_used: z.ZodString;
796
785
  display_amount_remaining: z.ZodString;
@@ -939,27 +928,7 @@ declare const StoreLocaleSchema: z.ZodObject<{
939
928
  }, z.core.$strip>;
940
929
  type StoreLocale = z.infer<typeof StoreLocaleSchema>;
941
930
 
942
- declare const StoreMarketSchema: z.ZodObject<{
943
- id: z.ZodString;
944
- name: z.ZodString;
945
- currency: z.ZodString;
946
- default_locale: z.ZodString;
947
- tax_inclusive: z.ZodBoolean;
948
- default: z.ZodBoolean;
949
- supported_locales: z.ZodArray<z.ZodString>;
950
- countries: z.ZodOptional<z.ZodArray<z.ZodObject<{
951
- iso: z.ZodString;
952
- iso3: z.ZodString;
953
- name: z.ZodString;
954
- states_required: z.ZodBoolean;
955
- zipcode_required: z.ZodBoolean;
956
- states: z.ZodOptional<z.ZodArray<z.ZodObject<{
957
- abbr: z.ZodString;
958
- name: z.ZodString;
959
- }, z.core.$strip>>>;
960
- market: z.ZodOptional<z.ZodAny>;
961
- }, z.core.$strip>>>;
962
- }, z.core.$strip>;
931
+ declare const StoreMarketSchema: z.ZodObject<any>;
963
932
  type StoreMarket = z.infer<typeof StoreMarketSchema>;
964
933
 
965
934
  declare const StoreMetafieldSchema: z.ZodObject<{
@@ -1125,7 +1094,7 @@ declare const StoreOrderSchema: z.ZodObject<{
1125
1094
  shipping_method_id: z.ZodString;
1126
1095
  name: z.ZodString;
1127
1096
  selected: z.ZodBoolean;
1128
- cost: z.ZodNumber;
1097
+ cost: z.ZodString;
1129
1098
  display_cost: z.ZodString;
1130
1099
  shipping_method: z.ZodObject<{
1131
1100
  id: z.ZodString;
@@ -1744,7 +1713,7 @@ declare const StoreShipmentSchema: z.ZodObject<{
1744
1713
  shipping_method_id: z.ZodString;
1745
1714
  name: z.ZodString;
1746
1715
  selected: z.ZodBoolean;
1747
- cost: z.ZodNumber;
1716
+ cost: z.ZodString;
1748
1717
  display_cost: z.ZodString;
1749
1718
  shipping_method: z.ZodObject<{
1750
1719
  id: z.ZodString;
@@ -1767,7 +1736,7 @@ declare const StoreShippingRateSchema: z.ZodObject<{
1767
1736
  shipping_method_id: z.ZodString;
1768
1737
  name: z.ZodString;
1769
1738
  selected: z.ZodBoolean;
1770
- cost: z.ZodNumber;
1739
+ cost: z.ZodString;
1771
1740
  display_cost: z.ZodString;
1772
1741
  shipping_method: z.ZodObject<{
1773
1742
  id: z.ZodString;
@@ -1831,33 +1800,6 @@ declare const StoreStockTransferSchema: z.ZodObject<{
1831
1800
  }, z.core.$strip>;
1832
1801
  type StoreStockTransfer = z.infer<typeof StoreStockTransferSchema>;
1833
1802
 
1834
- declare const StoreStoreSchema: z.ZodObject<{
1835
- id: z.ZodString;
1836
- name: z.ZodString;
1837
- url: z.ZodString;
1838
- meta_description: z.ZodNullable<z.ZodString>;
1839
- meta_keywords: z.ZodNullable<z.ZodString>;
1840
- seo_title: z.ZodNullable<z.ZodString>;
1841
- code: z.ZodString;
1842
- facebook: z.ZodNullable<z.ZodString>;
1843
- twitter: z.ZodNullable<z.ZodString>;
1844
- instagram: z.ZodNullable<z.ZodString>;
1845
- customer_support_email: z.ZodNullable<z.ZodString>;
1846
- created_at: z.ZodString;
1847
- updated_at: z.ZodString;
1848
- favicon_image_url: z.ZodNullable<z.ZodString>;
1849
- logo_image_url: z.ZodNullable<z.ZodString>;
1850
- social_image_url: z.ZodNullable<z.ZodString>;
1851
- payment_methods: z.ZodArray<z.ZodObject<{
1852
- id: z.ZodString;
1853
- name: z.ZodString;
1854
- description: z.ZodNullable<z.ZodString>;
1855
- type: z.ZodString;
1856
- session_required: z.ZodBoolean;
1857
- }, z.core.$strip>>;
1858
- }, z.core.$strip>;
1859
- type StoreStore = z.infer<typeof StoreStoreSchema>;
1860
-
1861
1803
  declare const StoreStoreCreditSchema: z.ZodObject<{
1862
1804
  id: z.ZodString;
1863
1805
  amount: z.ZodString;
@@ -2145,4 +2087,4 @@ declare const StoreWishlistSchema: z.ZodObject<{
2145
2087
  }, z.core.$strip>;
2146
2088
  type StoreWishlist = z.infer<typeof StoreWishlistSchema>;
2147
2089
 
2148
- 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 StoreMarket, StoreMarketSchema, 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 };
2090
+ 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 StoreMarket, StoreMarketSchema, 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 StoreStoreCredit, StoreStoreCreditSchema, type StoreTaxon, StoreTaxonSchema, type StoreTaxonomy, StoreTaxonomySchema, type StoreVariant, StoreVariantSchema, type StoreWishedItem, StoreWishedItemSchema, type StoreWishlist, StoreWishlistSchema };
package/dist/zod/index.js CHANGED
@@ -118,7 +118,7 @@ var StoreShippingRateSchema = z.object({
118
118
  shipping_method_id: z.string(),
119
119
  name: z.string(),
120
120
  selected: z.boolean(),
121
- cost: z.number(),
121
+ cost: z.string(),
122
122
  display_cost: z.string(),
123
123
  shipping_method: StoreShippingMethodSchema
124
124
  });
@@ -305,9 +305,9 @@ var AdminVariantSchema = z.object({
305
305
  metafields: z.array(AdminMetafieldSchema).optional(),
306
306
  position: z.number(),
307
307
  tax_category_id: z.string().nullable(),
308
- deleted_at: z.string().nullable(),
309
- cost_price: z.number().nullable(),
308
+ cost_price: z.string().nullable(),
310
309
  cost_currency: z.string().nullable(),
310
+ deleted_at: z.string().nullable(),
311
311
  total_on_hand: z.number().nullable(),
312
312
  prices: z.array(AdminPriceSchema).optional()
313
313
  });
@@ -385,7 +385,7 @@ var AdminProductSchema = z.object({
385
385
  make_active_at: z.string().nullable(),
386
386
  discontinue_on: z.string().nullable(),
387
387
  deleted_at: z.string().nullable(),
388
- cost_price: z.number().nullable(),
388
+ cost_price: z.string().nullable(),
389
389
  cost_currency: z.string().nullable()
390
390
  });
391
391
  var AdminTaxonSchema = z.object({
@@ -440,6 +440,16 @@ var StoreAssetSchema = z.object({
440
440
  var StoreBaseSchema = z.object({
441
441
  id: z.string()
442
442
  });
443
+ var StoreMarketSchema = z.object({
444
+ id: z.string(),
445
+ name: z.string(),
446
+ currency: z.string(),
447
+ default_locale: z.string(),
448
+ tax_inclusive: z.boolean(),
449
+ default: z.boolean(),
450
+ supported_locales: z.array(z.string()),
451
+ countries: z.array(z.lazy(() => StoreCountrySchema)).optional()
452
+ });
443
453
  var StoreStateSchema = z.object({
444
454
  abbr: z.string(),
445
455
  name: z.string()
@@ -453,7 +463,7 @@ var StoreCountrySchema = z.object({
453
463
  states_required: z.boolean(),
454
464
  zipcode_required: z.boolean(),
455
465
  states: z.array(StoreStateSchema).optional(),
456
- market: z.any().optional()
466
+ market: z.lazy(() => StoreMarketSchema).nullable().optional()
457
467
  });
458
468
  var StoreCreditCardSchema = z.object({
459
469
  id: z.string(),
@@ -508,10 +518,10 @@ var StoreGiftCardSchema = z.object({
508
518
  code: z.string(),
509
519
  state: z.string(),
510
520
  currency: z.string(),
511
- amount: z.number(),
512
- amount_used: z.number(),
513
- amount_authorized: z.number(),
514
- amount_remaining: z.number(),
521
+ amount: z.string(),
522
+ amount_used: z.string(),
523
+ amount_authorized: z.string(),
524
+ amount_remaining: z.string(),
515
525
  display_amount: z.string(),
516
526
  display_amount_used: z.string(),
517
527
  display_amount_remaining: z.string(),
@@ -608,16 +618,6 @@ var StoreLocaleSchema = z.object({
608
618
  code: z.string(),
609
619
  name: z.string()
610
620
  });
611
- var StoreMarketSchema = z.object({
612
- id: z.string(),
613
- name: z.string(),
614
- currency: z.string(),
615
- default_locale: z.string(),
616
- tax_inclusive: z.boolean(),
617
- default: z.boolean(),
618
- supported_locales: z.array(z.string()),
619
- countries: z.array(StoreCountrySchema).optional()
620
- });
621
621
  var StoreNewsletterSubscriberSchema = z.object({
622
622
  id: z.string(),
623
623
  email: z.string(),
@@ -859,25 +859,6 @@ var StoreStockTransferSchema = z.object({
859
859
  source_location_id: z.string().nullable(),
860
860
  destination_location_id: z.string().nullable()
861
861
  });
862
- var StoreStoreSchema = z.object({
863
- id: z.string(),
864
- name: z.string(),
865
- url: z.string(),
866
- meta_description: z.string().nullable(),
867
- meta_keywords: z.string().nullable(),
868
- seo_title: z.string().nullable(),
869
- code: z.string(),
870
- facebook: z.string().nullable(),
871
- twitter: z.string().nullable(),
872
- instagram: z.string().nullable(),
873
- customer_support_email: z.string().nullable(),
874
- created_at: z.string(),
875
- updated_at: z.string(),
876
- favicon_image_url: z.string().nullable(),
877
- logo_image_url: z.string().nullable(),
878
- social_image_url: z.string().nullable(),
879
- payment_methods: z.array(StorePaymentMethodSchema)
880
- });
881
862
  var StoreStoreCreditSchema = z.object({
882
863
  id: z.string(),
883
864
  amount: z.string(),
@@ -919,6 +900,6 @@ var StoreWishlistSchema = z.object({
919
900
  items: z.array(StoreWishedItemSchema).optional()
920
901
  });
921
902
 
922
- export { AdminCustomerSchema, AdminLineItemSchema, AdminMetafieldSchema, AdminOrderSchema, AdminPriceSchema, AdminProductSchema, AdminTaxonSchema, AdminTaxonomySchema, AdminVariantSchema, StoreAddressSchema, StoreAssetSchema, StoreBaseSchema, StoreCountrySchema, StoreCreditCardSchema, StoreCurrencySchema, StoreCustomerReturnSchema, StoreCustomerSchema, StoreDigitalLinkSchema, StoreDigitalSchema, StoreExportSchema, StoreGiftCardBatchSchema, StoreGiftCardSchema, StoreImageSchema, StoreImportRowSchema, StoreImportSchema, StoreInvitationSchema, StoreLineItemSchema, StoreLocaleSchema, StoreMarketSchema, StoreMetafieldSchema, StoreNewsletterSubscriberSchema, StoreOptionTypeSchema, StoreOptionValueSchema, StoreOrderPromotionSchema, StoreOrderSchema, StorePaymentMethodSchema, StorePaymentSchema, StorePaymentSessionSchema, StorePaymentSetupSessionSchema, StorePaymentSourceSchema, StorePriceSchema, StoreProductSchema, StorePromotionSchema, StoreRefundSchema, StoreReimbursementSchema, StoreReportSchema, StoreReturnAuthorizationSchema, StoreReturnItemSchema, StoreShipmentSchema, StoreShippingMethodSchema, StoreShippingRateSchema, StoreStateSchema, StoreStockItemSchema, StoreStockLocationSchema, StoreStockMovementSchema, StoreStockTransferSchema, StoreStoreCreditSchema, StoreStoreSchema, StoreTaxonSchema, StoreTaxonomySchema, StoreVariantSchema, StoreWishedItemSchema, StoreWishlistSchema };
903
+ export { AdminCustomerSchema, AdminLineItemSchema, AdminMetafieldSchema, AdminOrderSchema, AdminPriceSchema, AdminProductSchema, AdminTaxonSchema, AdminTaxonomySchema, AdminVariantSchema, StoreAddressSchema, StoreAssetSchema, StoreBaseSchema, StoreCountrySchema, StoreCreditCardSchema, StoreCurrencySchema, StoreCustomerReturnSchema, StoreCustomerSchema, StoreDigitalLinkSchema, StoreDigitalSchema, StoreExportSchema, StoreGiftCardBatchSchema, StoreGiftCardSchema, StoreImageSchema, StoreImportRowSchema, StoreImportSchema, StoreInvitationSchema, StoreLineItemSchema, StoreLocaleSchema, StoreMarketSchema, StoreMetafieldSchema, StoreNewsletterSubscriberSchema, StoreOptionTypeSchema, StoreOptionValueSchema, StoreOrderPromotionSchema, StoreOrderSchema, StorePaymentMethodSchema, StorePaymentSchema, StorePaymentSessionSchema, StorePaymentSetupSessionSchema, StorePaymentSourceSchema, StorePriceSchema, StoreProductSchema, StorePromotionSchema, StoreRefundSchema, StoreReimbursementSchema, StoreReportSchema, StoreReturnAuthorizationSchema, StoreReturnItemSchema, StoreShipmentSchema, StoreShippingMethodSchema, StoreShippingRateSchema, StoreStateSchema, StoreStockItemSchema, StoreStockLocationSchema, StoreStockMovementSchema, StoreStockTransferSchema, StoreStoreCreditSchema, StoreTaxonSchema, StoreTaxonomySchema, StoreVariantSchema, StoreWishedItemSchema, StoreWishlistSchema };
923
904
  //# sourceMappingURL=index.js.map
924
905
  //# sourceMappingURL=index.js.map