@ecomiq/core 0.1.5 → 0.1.7

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.
Files changed (59) hide show
  1. package/dist/client.cjs +46 -39
  2. package/dist/client.cjs.map +1 -1
  3. package/dist/client.d.cts +1 -0
  4. package/dist/client.d.ts +1 -0
  5. package/dist/client.js +46 -39
  6. package/dist/client.js.map +1 -1
  7. package/dist/index.cjs +49 -39
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +1 -0
  10. package/dist/index.d.ts +1 -0
  11. package/dist/index.js +47 -40
  12. package/dist/index.js.map +1 -1
  13. package/dist/models/geo.cjs +10 -2
  14. package/dist/models/geo.cjs.map +1 -1
  15. package/dist/models/geo.d.cts +14 -14
  16. package/dist/models/geo.d.ts +14 -14
  17. package/dist/models/geo.js +10 -2
  18. package/dist/models/geo.js.map +1 -1
  19. package/dist/models/ids.cjs +17 -0
  20. package/dist/models/ids.cjs.map +1 -0
  21. package/dist/models/ids.d.cts +12 -0
  22. package/dist/models/ids.d.ts +12 -0
  23. package/dist/models/ids.js +13 -0
  24. package/dist/models/ids.js.map +1 -0
  25. package/dist/models/products.cjs +12 -4
  26. package/dist/models/products.cjs.map +1 -1
  27. package/dist/models/products.d.cts +4 -4
  28. package/dist/models/products.d.ts +4 -4
  29. package/dist/models/products.js +12 -4
  30. package/dist/models/products.js.map +1 -1
  31. package/dist/models/search.cjs +11 -5
  32. package/dist/models/search.cjs.map +1 -1
  33. package/dist/models/search.d.cts +1 -1
  34. package/dist/models/search.d.ts +1 -1
  35. package/dist/models/search.js +11 -5
  36. package/dist/models/search.js.map +1 -1
  37. package/dist/models/settings.cjs +20 -10
  38. package/dist/models/settings.cjs.map +1 -1
  39. package/dist/models/settings.d.cts +64 -63
  40. package/dist/models/settings.d.ts +64 -63
  41. package/dist/models/settings.js +18 -11
  42. package/dist/models/settings.js.map +1 -1
  43. package/dist/models/storefront-cart.cjs +23 -15
  44. package/dist/models/storefront-cart.cjs.map +1 -1
  45. package/dist/models/storefront-cart.d.cts +23 -23
  46. package/dist/models/storefront-cart.d.ts +23 -23
  47. package/dist/models/storefront-cart.js +23 -15
  48. package/dist/models/storefront-cart.js.map +1 -1
  49. package/dist/models/storefront-checkout.cjs +28 -22
  50. package/dist/models/storefront-checkout.cjs.map +1 -1
  51. package/dist/models/storefront-checkout.d.cts +43 -43
  52. package/dist/models/storefront-checkout.d.ts +43 -43
  53. package/dist/models/storefront-checkout.js +28 -22
  54. package/dist/models/storefront-checkout.js.map +1 -1
  55. package/dist/models/storefront-reviews.cjs +12 -4
  56. package/dist/models/storefront-reviews.cjs.map +1 -1
  57. package/dist/models/storefront-reviews.js +12 -4
  58. package/dist/models/storefront-reviews.js.map +1 -1
  59. package/package.json +6 -1
package/dist/index.d.cts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Api } from './api.cjs';
2
2
  export { ApiError, CreateApiOptions, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, createApi, resolveApiBaseUrl } from './api.cjs';
3
3
  export { C as CreateClientOptions, a as CustomerAddressMutationResponse, b as CustomerAddressMutationResponseSchema, c as CustomerAddressRequestOptions, d as CustomerOrderRequestOptions, e as CustomerRequestOptions, S as StorefrontClient, f as createClient, g as createCustomerAddress, h as createStorefrontClient, i as deleteCustomerAddress, j as getCustomerAddresses, k as getCustomerMe, l as getCustomerOrder, m as getCustomerOrders, p as patchCustomer, r as registerCustomer, u as updateCustomerAddress } from './client-BpX4yR6S.cjs';
4
+ export { EntityId, EntityIdSchema, NullableEntityIdSchema, OptionalEntityIdSchema } from './models/ids.cjs';
4
5
  import { CmsPageDetailsDto } from './models/settings.cjs';
5
6
  export { CmsBlockDto, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDto, CmsMenuDtoSchema, CmsMenuItem, CmsMenuItemSchema, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDto, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDto, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, JsonElement, JsonElementSchema, StoreCheckoutCartPageSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreCheckoutShippingSettingsSchema, StoreFeatureFlagsSchema, StoreModel, StoreModelSchema, StoreSettingsSnapshotDto, StoreSettingsSnapshotDtoSchema, StoreThemeSettingsSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontCheckoutSettingsSchema, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontFeaturesEnabledSchema, StorefrontMenu, StorefrontMenuItem, StorefrontMenuItemSchema, StorefrontMenuSchema, StorefrontSettings, StorefrontSettingsSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, StorefrontThemeConfigSchema, getMenuItems } from './models/settings.cjs';
6
7
  export { Collection, CollectionSchema, Collections, CollectionsSchema } from './models/collections.cjs';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Api } from './api.js';
2
2
  export { ApiError, CreateApiOptions, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, createApi, resolveApiBaseUrl } from './api.js';
3
3
  export { C as CreateClientOptions, a as CustomerAddressMutationResponse, b as CustomerAddressMutationResponseSchema, c as CustomerAddressRequestOptions, d as CustomerOrderRequestOptions, e as CustomerRequestOptions, S as StorefrontClient, f as createClient, g as createCustomerAddress, h as createStorefrontClient, i as deleteCustomerAddress, j as getCustomerAddresses, k as getCustomerMe, l as getCustomerOrder, m as getCustomerOrders, p as patchCustomer, r as registerCustomer, u as updateCustomerAddress } from './client-4ZTG2RZ3.js';
4
+ export { EntityId, EntityIdSchema, NullableEntityIdSchema, OptionalEntityIdSchema } from './models/ids.js';
4
5
  import { CmsPageDetailsDto } from './models/settings.js';
5
6
  export { CmsBlockDto, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDto, CmsMenuDtoSchema, CmsMenuItem, CmsMenuItemSchema, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDto, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDto, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, JsonElement, JsonElementSchema, StoreCheckoutCartPageSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreCheckoutShippingSettingsSchema, StoreFeatureFlagsSchema, StoreModel, StoreModelSchema, StoreSettingsSnapshotDto, StoreSettingsSnapshotDtoSchema, StoreThemeSettingsSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontCheckoutSettingsSchema, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontFeaturesEnabledSchema, StorefrontMenu, StorefrontMenuItem, StorefrontMenuItemSchema, StorefrontMenuSchema, StorefrontSettings, StorefrontSettingsSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, StorefrontThemeConfigSchema, getMenuItems } from './models/settings.js';
6
7
  export { Collection, CollectionSchema, Collections, CollectionsSchema } from './models/collections.js';
package/dist/index.js CHANGED
@@ -114,6 +114,14 @@ var CollectionSchema = z.object({
114
114
  productCount: z.number().optional()
115
115
  });
116
116
  var CollectionsSchema = z.array(CollectionSchema);
117
+ var EntityIdSchema = z.union([
118
+ z.string().uuid(),
119
+ z.string().regex(/^\d+$/, "Expected numeric id")
120
+ ]);
121
+ var NullableEntityIdSchema = EntityIdSchema.nullable();
122
+ var OptionalEntityIdSchema = EntityIdSchema.optional();
123
+
124
+ // src/models/products.ts
117
125
  var ProductPublicIdSchema = z.union([
118
126
  z.string().regex(/^[1-9]\d*$/),
119
127
  z.number().int().safe().positive()
@@ -174,7 +182,7 @@ var ProductsParamsSchema = z.object({
174
182
  page: z.number().int().positive().default(1),
175
183
  pageSize: z.number().int().positive().max(100).default(24),
176
184
  sort: ProductSortSchema.optional(),
177
- sellerId: z.string().uuid().optional(),
185
+ sellerId: OptionalEntityIdSchema,
178
186
  search: z.string().optional(),
179
187
  collection: z.string().optional(),
180
188
  collections: z.array(z.string()).optional(),
@@ -188,18 +196,18 @@ var ProductsParamsSchema = z.object({
188
196
  tag: z.string().optional(),
189
197
  tags: z.array(z.string()).optional(),
190
198
  filters: z.array(z.string()).optional(),
191
- locationId: z.string().uuid().optional(),
199
+ locationId: OptionalEntityIdSchema,
192
200
  inStock: z.boolean().optional(),
193
201
  minPrice: z.number().nonnegative().optional(),
194
202
  maxPrice: z.number().nonnegative().optional()
195
203
  });
196
204
  var ProductDetailParamsSchema = z.object({
197
- sellerId: z.string().uuid().optional()
205
+ sellerId: OptionalEntityIdSchema
198
206
  });
199
207
  var RelatedProductsParamsSchema = z.object({
200
208
  productId: ProductPublicIdSchema,
201
209
  limit: z.number().int().positive().max(12).default(8),
202
- sellerId: z.string().uuid().optional()
210
+ sellerId: OptionalEntityIdSchema
203
211
  });
204
212
  var SpecItemSchema = z.object({
205
213
  key: z.string(),
@@ -306,7 +314,6 @@ var JsonElementSchema = z.lazy(
306
314
  );
307
315
  var DateTimeOffsetSchema = z.string().datetime({ offset: true });
308
316
  var NullableDateTimeOffsetSchema = DateTimeOffsetSchema.nullable();
309
- var NullableUuidSchema = z.string().uuid().nullable();
310
317
  var StoreTypeSchema = z.enum([
311
318
  "b2C",
312
319
  "marketplace",
@@ -369,9 +376,9 @@ var StoreCheckoutSettingsSchema = z.object({
369
376
  ordersAndPayments: StoreCheckoutOrdersAndPaymentsSettingsSchema
370
377
  }).strict();
371
378
  var StorefrontStoreShape = {
372
- id: z.string().uuid(),
373
- tenantId: z.string().uuid(),
374
- sellerId: NullableUuidSchema,
379
+ id: EntityIdSchema,
380
+ tenantId: EntityIdSchema,
381
+ sellerId: NullableEntityIdSchema,
375
382
  type: StoreTypeSchema,
376
383
  isActive: z.boolean(),
377
384
  name: z.string(),
@@ -452,13 +459,13 @@ var CmsMenuDtoSchema = z.object({
452
459
  items: z.array(CmsMenuItemSchema)
453
460
  }).strict();
454
461
  var CmsBlockDtoSchema = z.object({
455
- id: z.string().uuid(),
462
+ id: EntityIdSchema,
456
463
  type: z.string(),
457
464
  order: z.number().int(),
458
465
  settings: JsonElementSchema
459
466
  }).strict();
460
467
  var CmsSectionDtoSchema = z.object({
461
- id: z.string().uuid(),
468
+ id: EntityIdSchema,
462
469
  type: z.string(),
463
470
  order: z.number().int(),
464
471
  settings: JsonElementSchema,
@@ -467,7 +474,7 @@ var CmsSectionDtoSchema = z.object({
467
474
  var CmsContentChannelSchema = z.enum(["storefront", "pos"]);
468
475
  var CmsPageStatusSchema = z.enum(["draft", "published", "archived"]);
469
476
  var CmsPageDetailsDtoSchema = z.object({
470
- id: z.string().uuid(),
477
+ id: EntityIdSchema,
471
478
  name: z.string(),
472
479
  slug: z.string(),
473
480
  channel: CmsContentChannelSchema,
@@ -478,11 +485,11 @@ var CmsPageDetailsDtoSchema = z.object({
478
485
  status: CmsPageStatusSchema,
479
486
  hasPublishedVersion: z.boolean(),
480
487
  publishedOn: NullableDateTimeOffsetSchema,
481
- publishedBy: NullableUuidSchema,
488
+ publishedBy: NullableEntityIdSchema,
482
489
  createdOn: DateTimeOffsetSchema,
483
490
  updatedOn: NullableDateTimeOffsetSchema,
484
- createdBy: NullableUuidSchema,
485
- updatedBy: NullableUuidSchema,
491
+ createdBy: NullableEntityIdSchema,
492
+ updatedBy: NullableEntityIdSchema,
486
493
  lastModifiedBy: z.string().nullable()
487
494
  }).strict();
488
495
  var CmsSnapshotDtoSchema = z.object({
@@ -593,7 +600,7 @@ async function getRelatedProducts(api, params) {
593
600
  var ProductAutocompleteParamsSchema = z.object({
594
601
  search: z.string().min(2).max(80),
595
602
  limit: z.number().int().positive().max(20).default(8),
596
- sellerId: z.string().uuid().optional()
603
+ sellerId: OptionalEntityIdSchema
597
604
  });
598
605
  var ProductSuggestionSchema = z.object({
599
606
  id: ProductPublicIdSchema,
@@ -717,7 +724,7 @@ var StorefrontCartBundleItemSchema = z.object({
717
724
  quantity: z.number().int().positive()
718
725
  });
719
726
  var StorefrontCartItemSchema = z.object({
720
- id: z.string().uuid(),
727
+ id: EntityIdSchema,
721
728
  productId: z.number().int().safe().nonnegative(),
722
729
  title: z.string(),
723
730
  variantLabel: z.string().nullable(),
@@ -731,20 +738,20 @@ var StorefrontCartItemSchema = z.object({
731
738
  bundleItems: z.array(StorefrontCartBundleItemSchema)
732
739
  });
733
740
  var StorefrontCartShippingMethodSchema = z.object({
734
- id: z.string().uuid(),
735
- shippingMethodId: z.string().uuid().nullable(),
736
- rateId: z.string().uuid().nullable(),
741
+ id: EntityIdSchema,
742
+ shippingMethodId: NullableEntityIdSchema,
743
+ rateId: NullableEntityIdSchema,
737
744
  name: z.string(),
738
745
  description: z.string().nullable(),
739
746
  total: z.number(),
740
- locationId: z.string().uuid().nullable(),
747
+ locationId: NullableEntityIdSchema,
741
748
  estimatedDays: z.number().int().nullable(),
742
- pickupPointId: z.string().uuid().nullable(),
749
+ pickupPointId: NullableEntityIdSchema,
743
750
  scheduledDate: z.string().nullable(),
744
751
  scheduledTime: z.string().nullable(),
745
752
  serviceCode: z.string().nullable(),
746
- sellerId: z.string().uuid().nullable(),
747
- shippingProfileId: z.string().uuid().nullable()
753
+ sellerId: NullableEntityIdSchema,
754
+ shippingProfileId: NullableEntityIdSchema
748
755
  });
749
756
  var StorefrontCartTotalsSchema = z.object({
750
757
  subtotal: z.number(),
@@ -765,7 +772,7 @@ var StorefrontCartStatusSchema = z.enum([
765
772
  "failed"
766
773
  ]);
767
774
  var StorefrontCartSchema = z.object({
768
- id: z.string().uuid(),
775
+ id: EntityIdSchema,
769
776
  cartNumber: z.string(),
770
777
  email: z.string().nullable(),
771
778
  phone: z.string().nullable(),
@@ -787,26 +794,26 @@ var CreateCartParamsSchema = z.object({
787
794
  email: z.string().email().optional()
788
795
  });
789
796
  var GetCartParamsSchema = z.object({
790
- cartId: z.string().uuid()
797
+ cartId: EntityIdSchema
791
798
  });
792
799
  var CartItemModifierSchema = z.object({
793
800
  modifierGroupId: z.number().int().safe().positive(),
794
801
  optionIds: z.array(z.number().int().safe().positive()).min(1)
795
802
  });
796
803
  var AddCartItemParamsSchema = z.object({
797
- cartId: z.string().uuid(),
804
+ cartId: EntityIdSchema,
798
805
  variantId: z.number().int().safe().positive(),
799
806
  quantity: z.number().int().positive(),
800
807
  modifiers: z.array(CartItemModifierSchema).optional()
801
808
  });
802
809
  var UpdateCartItemQuantityParamsSchema = z.object({
803
- cartId: z.string().uuid(),
804
- cartItemId: z.string().uuid(),
810
+ cartId: EntityIdSchema,
811
+ cartItemId: EntityIdSchema,
805
812
  quantity: z.number().int().nonnegative()
806
813
  });
807
814
  var RemoveCartItemParamsSchema = z.object({
808
- cartId: z.string().uuid(),
809
- cartItemId: z.string().uuid()
815
+ cartId: EntityIdSchema,
816
+ cartItemId: EntityIdSchema
810
817
  });
811
818
 
812
819
  // src/services/cart.service.ts
@@ -872,7 +879,7 @@ async function getPageBySlug(api, pageSlug) {
872
879
  return api.get(`pages/${encodeURIComponent(pageSlug)}`, CmsPageDetailsDtoSchema);
873
880
  }
874
881
  var CartBuyerParamsSchema = z.object({
875
- cartId: z.string().uuid(),
882
+ cartId: EntityIdSchema,
876
883
  email: z.string().email(),
877
884
  firstName: z.string().min(1),
878
885
  lastName: z.string().min(1),
@@ -898,7 +905,7 @@ var CartAddressWriteSchema = z.object({
898
905
  }).nullable().optional()
899
906
  });
900
907
  var CartAddressesParamsSchema = z.object({
901
- cartId: z.string().uuid(),
908
+ cartId: EntityIdSchema,
902
909
  shippingAddress: CartAddressWriteSchema,
903
910
  billingAddress: CartAddressWriteSchema
904
911
  });
@@ -931,7 +938,7 @@ var StorefrontOrderBumpSchema = z.object({
931
938
  description: z.string().nullable().optional()
932
939
  });
933
940
  var CartCheckoutReadParamsSchema = z.object({
934
- cartId: z.string().uuid()
941
+ cartId: EntityIdSchema
935
942
  });
936
943
  var CartCheckoutReadResponseSchema = z.object({
937
944
  cart: StorefrontCartSchema,
@@ -978,7 +985,7 @@ var CartCheckoutResponseSchema = z.object({
978
985
  cart: StorefrontCartSchema.optional()
979
986
  }).passthrough();
980
987
  var CartCheckoutParamsSchema = z.object({
981
- cartId: z.string().uuid(),
988
+ cartId: EntityIdSchema,
982
989
  paymentMethodCode: z.string().min(1),
983
990
  externalRef: z.string().min(1),
984
991
  receiptUrl: z.string().min(1).optional()
@@ -1011,11 +1018,11 @@ var ShippingOptionsResponseSchema = z.object({
1011
1018
  groups: z.array(ShippingOptionGroupSchema)
1012
1019
  });
1013
1020
  var GetShippingOptionsParamsSchema = z.object({
1014
- cartId: z.string().uuid(),
1021
+ cartId: EntityIdSchema,
1015
1022
  postalCode: z.string().min(1)
1016
1023
  });
1017
1024
  var PutShippingMethodParamsSchema = z.object({
1018
- cartId: z.string().uuid(),
1025
+ cartId: EntityIdSchema,
1019
1026
  rateId: z.string().min(1),
1020
1027
  shippingMethodId: z.string().min(1),
1021
1028
  serviceCode: z.string().nullable().optional(),
@@ -1031,7 +1038,7 @@ var CartPaymentReceiptResponseSchema = z.object({
1031
1038
  url: z.string()
1032
1039
  });
1033
1040
  var CartPromotionCodeParamsSchema = z.object({
1034
- cartId: z.string().uuid(),
1041
+ cartId: EntityIdSchema,
1035
1042
  code: z.string().min(1)
1036
1043
  });
1037
1044
 
@@ -1127,12 +1134,12 @@ var CountrySchema = z.object({
1127
1134
  var CountriesSchema = z.array(CountrySchema);
1128
1135
  var GeoDivisionTypeSchema = z.enum(["level1", "level2", "level3"]);
1129
1136
  var GeoDivisionSchema = z.object({
1130
- id: z.string().uuid(),
1137
+ id: EntityIdSchema,
1131
1138
  countryCode: z.string().length(2),
1132
1139
  type: GeoDivisionTypeSchema,
1133
1140
  code: z.string().min(1),
1134
1141
  name: z.string().min(1),
1135
- parentId: z.string().uuid().nullable(),
1142
+ parentId: NullableEntityIdSchema,
1136
1143
  source: z.string().min(1)
1137
1144
  }).strict();
1138
1145
  var DepartmentSchema = GeoDivisionSchema;
@@ -1888,6 +1895,6 @@ function stripHtml(html) {
1888
1895
  return html.replace(/<br\s*\/?>/gi, " ").replace(/<[^>]+>/g, " ").replace(/\s+/g, " ").trim();
1889
1896
  }
1890
1897
 
1891
- export { AddCartItemParamsSchema, ApiError, BundleItemSchema, CartAddressWriteSchema, CartAddressesParamsSchema, CartBuyerParamsSchema, CartCheckoutParamsSchema, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, CartCheckoutReadParamsSchema, CartCheckoutReadResponseSchema, CartCheckoutResponseSchema, CartItemModifierSchema, CartPaymentMethodSchema, CartPaymentReceiptResponseSchema, CartPromotionCodeParamsSchema, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDtoSchema, CmsMenuItemSchema, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, CollectionSchema, CollectionsSchema, CountriesSchema, CountrySchema, CreateCartParamsSchema, CreateProductReviewParamsSchema, CustomerAddressMutationResponseSchema, CustomerAddressSchema, CustomerAddressUpsertInputSchema, CustomerAddressesSchema, CustomerMeSchema, CustomerOrderDetailSchema, CustomerOrderLineItemSchema, CustomerOrderListItemSchema, CustomerOrderListSchema, CustomerOrderPaymentSchema, CustomerOrderShippingAddressSchema, CustomerOrderStatusTimelineSchema, CustomerProfilePatchSchema, CustomerProfileSchema, CustomerRegisterRequestSchema, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, DepartmentSchema, DepartmentsSchema, DistrictSchema, DistrictsSchema, FacetItemSchema, FacetSchema, GeoDivisionSchema, GeoDivisionTypeSchema, GetCartParamsSchema, GetDepartmentsParamsSchema, GetDistrictsParamsSchema, GetProvincesParamsSchema, GetShippingOptionsParamsSchema, JsonElementSchema, ListProductReviewsParamsSchema, PriceTierSchema, ProductAutocompleteParamsSchema, ProductDetailParamsSchema, ProductDetailSchema, ProductImageSchema, ProductPriceTierSchema, ProductPublicIdSchema, ProductSchema, ProductSortSchema, ProductSuggestionSchema, ProductSuggestionsSchema, ProductSummariesSchema, ProductSummarySchema, ProductsParamsSchema, ProductsResponseSchema, ProvinceSchema, ProvincesSchema, PutShippingMethodParamsSchema, RelatedProductsParamsSchema, RemoveCartItemParamsSchema, SearchFilterSchema, ShippingOptionGroupSchema, ShippingOptionsResponseSchema, ShippingRateSchema, SizeGuideMeasurementSchema, SizeGuideRowSchema, SizeGuideSchema, SpecItemSchema, StoreCheckoutCartPageSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreCheckoutShippingSettingsSchema, StoreFeatureFlagsSchema, StoreModelSchema, StoreSettingsSnapshotDtoSchema, StoreThemeSettingsSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontAddressSchema, StorefrontCartBundleItemSchema, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotalsSchema, StorefrontCheckoutSettingsSchema, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontFeaturesEnabledSchema, StorefrontMenuItemSchema, StorefrontMenuSchema, StorefrontOrderBumpSchema, StorefrontReviewSchema, StorefrontReviewsSchema, StorefrontSettingsSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, StorefrontThemeConfigSchema, UpdateCartItemQuantityParamsSchema, VariantItemSchema, VariantOptionSchema, VariantSchema, addCartItem, addCartPromotionCode, autocompleteProducts, cartVariantIdFromProduct, checkoutCart, createApi, createCart, createClient, createCustomerAddress, createProductReview, createStorefrontClient, customerMeToProfile, customerMeToProfilePatch, customerOrderStatusTone, customerProfileToPatch, deleteCustomerAddress, formatCustomerOrderStatus, formatOrderDate, formatOrderDateTime, getCart, getCartCheckout, getCountries, getCustomerAddresses, getCustomerMe, getCustomerOrder, getCustomerOrders, getDepartments, getDistricts, getMenuItems, getPageBySlug, getProductBySlug, getProducts, getProvinces, getRelatedProducts, getShippingOptions, listProductReviews, patchCartAddresses, patchCartBuyer, patchCustomer, putCartShippingMethod, registerCustomer, removeCartItem, removeCartPromotionCode, resolveApiBaseUrl, sanitizeHtml, stripHtml, toCustomerSavedAddresses, updateCartItemQuantity, updateCustomerAddress, uploadPaymentReceipt };
1898
+ export { AddCartItemParamsSchema, ApiError, BundleItemSchema, CartAddressWriteSchema, CartAddressesParamsSchema, CartBuyerParamsSchema, CartCheckoutParamsSchema, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, CartCheckoutReadParamsSchema, CartCheckoutReadResponseSchema, CartCheckoutResponseSchema, CartItemModifierSchema, CartPaymentMethodSchema, CartPaymentReceiptResponseSchema, CartPromotionCodeParamsSchema, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDtoSchema, CmsMenuItemSchema, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, CollectionSchema, CollectionsSchema, CountriesSchema, CountrySchema, CreateCartParamsSchema, CreateProductReviewParamsSchema, CustomerAddressMutationResponseSchema, CustomerAddressSchema, CustomerAddressUpsertInputSchema, CustomerAddressesSchema, CustomerMeSchema, CustomerOrderDetailSchema, CustomerOrderLineItemSchema, CustomerOrderListItemSchema, CustomerOrderListSchema, CustomerOrderPaymentSchema, CustomerOrderShippingAddressSchema, CustomerOrderStatusTimelineSchema, CustomerProfilePatchSchema, CustomerProfileSchema, CustomerRegisterRequestSchema, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, DepartmentSchema, DepartmentsSchema, DistrictSchema, DistrictsSchema, EntityIdSchema, FacetItemSchema, FacetSchema, GeoDivisionSchema, GeoDivisionTypeSchema, GetCartParamsSchema, GetDepartmentsParamsSchema, GetDistrictsParamsSchema, GetProvincesParamsSchema, GetShippingOptionsParamsSchema, JsonElementSchema, ListProductReviewsParamsSchema, NullableEntityIdSchema, OptionalEntityIdSchema, PriceTierSchema, ProductAutocompleteParamsSchema, ProductDetailParamsSchema, ProductDetailSchema, ProductImageSchema, ProductPriceTierSchema, ProductPublicIdSchema, ProductSchema, ProductSortSchema, ProductSuggestionSchema, ProductSuggestionsSchema, ProductSummariesSchema, ProductSummarySchema, ProductsParamsSchema, ProductsResponseSchema, ProvinceSchema, ProvincesSchema, PutShippingMethodParamsSchema, RelatedProductsParamsSchema, RemoveCartItemParamsSchema, SearchFilterSchema, ShippingOptionGroupSchema, ShippingOptionsResponseSchema, ShippingRateSchema, SizeGuideMeasurementSchema, SizeGuideRowSchema, SizeGuideSchema, SpecItemSchema, StoreCheckoutCartPageSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreCheckoutShippingSettingsSchema, StoreFeatureFlagsSchema, StoreModelSchema, StoreSettingsSnapshotDtoSchema, StoreThemeSettingsSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontAddressSchema, StorefrontCartBundleItemSchema, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotalsSchema, StorefrontCheckoutSettingsSchema, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontFeaturesEnabledSchema, StorefrontMenuItemSchema, StorefrontMenuSchema, StorefrontOrderBumpSchema, StorefrontReviewSchema, StorefrontReviewsSchema, StorefrontSettingsSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, StorefrontThemeConfigSchema, UpdateCartItemQuantityParamsSchema, VariantItemSchema, VariantOptionSchema, VariantSchema, addCartItem, addCartPromotionCode, autocompleteProducts, cartVariantIdFromProduct, checkoutCart, createApi, createCart, createClient, createCustomerAddress, createProductReview, createStorefrontClient, customerMeToProfile, customerMeToProfilePatch, customerOrderStatusTone, customerProfileToPatch, deleteCustomerAddress, formatCustomerOrderStatus, formatOrderDate, formatOrderDateTime, getCart, getCartCheckout, getCountries, getCustomerAddresses, getCustomerMe, getCustomerOrder, getCustomerOrders, getDepartments, getDistricts, getMenuItems, getPageBySlug, getProductBySlug, getProducts, getProvinces, getRelatedProducts, getShippingOptions, listProductReviews, patchCartAddresses, patchCartBuyer, patchCustomer, putCartShippingMethod, registerCustomer, removeCartItem, removeCartPromotionCode, resolveApiBaseUrl, sanitizeHtml, stripHtml, toCustomerSavedAddresses, updateCartItemQuantity, updateCustomerAddress, uploadPaymentReceipt };
1892
1899
  //# sourceMappingURL=index.js.map
1893
1900
  //# sourceMappingURL=index.js.map