@ecomiq/core 0.1.6 → 0.1.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.
Files changed (65) hide show
  1. package/dist/client.cjs +58 -46
  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 +58 -46
  6. package/dist/client.js.map +1 -1
  7. package/dist/index.cjs +60 -46
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +3 -2
  10. package/dist/index.d.ts +3 -2
  11. package/dist/index.js +59 -47
  12. package/dist/index.js.map +1 -1
  13. package/dist/models/collections.cjs +9 -1
  14. package/dist/models/collections.cjs.map +1 -1
  15. package/dist/models/collections.d.cts +6 -6
  16. package/dist/models/collections.d.ts +6 -6
  17. package/dist/models/collections.js +9 -1
  18. package/dist/models/collections.js.map +1 -1
  19. package/dist/models/geo.cjs +10 -2
  20. package/dist/models/geo.cjs.map +1 -1
  21. package/dist/models/geo.d.cts +14 -14
  22. package/dist/models/geo.d.ts +14 -14
  23. package/dist/models/geo.js +10 -2
  24. package/dist/models/geo.js.map +1 -1
  25. package/dist/models/ids.cjs +17 -0
  26. package/dist/models/ids.cjs.map +1 -0
  27. package/dist/models/ids.d.cts +12 -0
  28. package/dist/models/ids.d.ts +12 -0
  29. package/dist/models/ids.js +13 -0
  30. package/dist/models/ids.js.map +1 -0
  31. package/dist/models/products.cjs +12 -4
  32. package/dist/models/products.cjs.map +1 -1
  33. package/dist/models/products.d.cts +4 -4
  34. package/dist/models/products.d.ts +4 -4
  35. package/dist/models/products.js +12 -4
  36. package/dist/models/products.js.map +1 -1
  37. package/dist/models/search.cjs +11 -5
  38. package/dist/models/search.cjs.map +1 -1
  39. package/dist/models/search.d.cts +1 -1
  40. package/dist/models/search.d.ts +1 -1
  41. package/dist/models/search.js +11 -5
  42. package/dist/models/search.js.map +1 -1
  43. package/dist/models/settings.cjs +12 -9
  44. package/dist/models/settings.cjs.map +1 -1
  45. package/dist/models/settings.d.cts +23 -25
  46. package/dist/models/settings.d.ts +23 -25
  47. package/dist/models/settings.js +12 -10
  48. package/dist/models/settings.js.map +1 -1
  49. package/dist/models/storefront-cart.cjs +23 -15
  50. package/dist/models/storefront-cart.cjs.map +1 -1
  51. package/dist/models/storefront-cart.d.cts +23 -23
  52. package/dist/models/storefront-cart.d.ts +23 -23
  53. package/dist/models/storefront-cart.js +23 -15
  54. package/dist/models/storefront-cart.js.map +1 -1
  55. package/dist/models/storefront-checkout.cjs +46 -29
  56. package/dist/models/storefront-checkout.cjs.map +1 -1
  57. package/dist/models/storefront-checkout.d.cts +555 -2183
  58. package/dist/models/storefront-checkout.d.ts +555 -2183
  59. package/dist/models/storefront-checkout.js +46 -30
  60. package/dist/models/storefront-checkout.js.map +1 -1
  61. package/dist/models/storefront-reviews.cjs +12 -4
  62. package/dist/models/storefront-reviews.cjs.map +1 -1
  63. package/dist/models/storefront-reviews.js +12 -4
  64. package/dist/models/storefront-reviews.js.map +1 -1
  65. package/package.json +6 -1
package/dist/index.d.cts CHANGED
@@ -1,8 +1,9 @@
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
- export { CmsBlockDto, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDto, CmsMenuDtoSchema, CmsMenuItem, CmsMenuItemSchema, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDto, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDto, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, EntityIdSchema, JsonElement, JsonElementSchema, NullableEntityIdSchema, 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
+ 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';
7
8
  import { ProductDetailParams, ProductsParamsInput, RelatedProductsParams } from './models/products.cjs';
8
9
  export { BundleItem, BundleItemSchema, Facet, FacetItem, FacetItemSchema, FacetSchema, PriceTier, PriceTierSchema, Product, ProductDetail, ProductDetailParamsSchema, ProductDetailSchema, ProductImage, ProductImageSchema, ProductPriceTier, ProductPriceTierSchema, ProductPublicIdSchema, ProductSchema, ProductSort, ProductSortSchema, ProductSummariesSchema, ProductSummary, ProductSummarySchema, ProductsParams, ProductsParamsSchema, ProductsResponse, ProductsResponseSchema, RelatedProductsParamsSchema, SearchFilter, SearchFilterSchema, SizeGuide, SizeGuideMeasurement, SizeGuideMeasurementSchema, SizeGuideRow, SizeGuideRowSchema, SizeGuideSchema, SpecItem, SpecItemSchema, Variant, VariantItem, VariantItemSchema, VariantOption, VariantOptionSchema, VariantSchema } from './models/products.cjs';
@@ -11,7 +12,7 @@ export { ProductAutocompleteParamsSchema, ProductSuggestion, ProductSuggestionSc
11
12
  import { AddCartItemParams, CreateCartParams, GetCartParams, RemoveCartItemParams, UpdateCartItemQuantityParams } from './models/storefront-cart.cjs';
12
13
  export { AddCartItemParamsSchema, CartItemModifierSchema, CreateCartParamsSchema, GetCartParamsSchema, RemoveCartItemParamsSchema, StorefrontAddress, StorefrontAddressSchema, StorefrontCart, StorefrontCartBundleItem, StorefrontCartBundleItemSchema, StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotals, StorefrontCartTotalsSchema, UpdateCartItemQuantityParamsSchema, cartVariantIdFromProduct } from './models/storefront-cart.cjs';
13
14
  import { CartPromotionCodeParams, CartCheckoutParams, CartCheckoutResponse, CartCheckoutReadParams, CartCheckoutReadResponse, GetShippingOptionsParams, ShippingOptionsResponse, CartAddressesParams, CartBuyerParams, PutShippingMethodParams, UploadPaymentReceiptParams, CartPaymentReceiptResponse } from './models/storefront-checkout.cjs';
14
- export { CartAddressWrite, CartAddressWriteSchema, CartAddressesParamsSchema, CartBuyerParamsSchema, CartCheckoutParamsSchema, CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, CartCheckoutReadParamsSchema, CartCheckoutReadResponseSchema, CartCheckoutResponseSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentReceiptResponseSchema, CartPromotionCodeParamsSchema, GetShippingOptionsParamsSchema, PutShippingMethodParamsSchema, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, StorefrontOrderBump, StorefrontOrderBumpSchema } from './models/storefront-checkout.cjs';
15
+ export { CartAddressWrite, CartAddressWriteSchema, CartAddressesParamsSchema, CartBuyerParamsSchema, CartCheckoutParamsSchema, CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, CartCheckoutReadParamsSchema, CartCheckoutReadResponseSchema, CartCheckoutResponseSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentReceiptResponseSchema, CartPromotionCodeParamsSchema, CheckoutMetadataValue, CheckoutMetadataValueSchema, GetShippingOptionsParamsSchema, PutShippingMethodParamsSchema, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, StorefrontOrderBump, StorefrontOrderBumpSchema } from './models/storefront-checkout.cjs';
15
16
  import { CreateProductReviewParams, ListProductReviewsParams } from './models/storefront-reviews.cjs';
16
17
  export { CreateProductReviewParamsSchema, ListProductReviewsParamsSchema, StorefrontReview, StorefrontReviewSchema, StorefrontReviews, StorefrontReviewsSchema } from './models/storefront-reviews.cjs';
17
18
  import { Countries, GetDepartmentsParams, Departments, GetDistrictsParams, Districts, GetProvincesParams, Provinces } from './models/geo.cjs';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,9 @@
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
- export { CmsBlockDto, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDto, CmsMenuDtoSchema, CmsMenuItem, CmsMenuItemSchema, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDto, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDto, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, EntityIdSchema, JsonElement, JsonElementSchema, NullableEntityIdSchema, 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
+ 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';
7
8
  import { ProductDetailParams, ProductsParamsInput, RelatedProductsParams } from './models/products.js';
8
9
  export { BundleItem, BundleItemSchema, Facet, FacetItem, FacetItemSchema, FacetSchema, PriceTier, PriceTierSchema, Product, ProductDetail, ProductDetailParamsSchema, ProductDetailSchema, ProductImage, ProductImageSchema, ProductPriceTier, ProductPriceTierSchema, ProductPublicIdSchema, ProductSchema, ProductSort, ProductSortSchema, ProductSummariesSchema, ProductSummary, ProductSummarySchema, ProductsParams, ProductsParamsSchema, ProductsResponse, ProductsResponseSchema, RelatedProductsParamsSchema, SearchFilter, SearchFilterSchema, SizeGuide, SizeGuideMeasurement, SizeGuideMeasurementSchema, SizeGuideRow, SizeGuideRowSchema, SizeGuideSchema, SpecItem, SpecItemSchema, Variant, VariantItem, VariantItemSchema, VariantOption, VariantOptionSchema, VariantSchema } from './models/products.js';
@@ -11,7 +12,7 @@ export { ProductAutocompleteParamsSchema, ProductSuggestion, ProductSuggestionSc
11
12
  import { AddCartItemParams, CreateCartParams, GetCartParams, RemoveCartItemParams, UpdateCartItemQuantityParams } from './models/storefront-cart.js';
12
13
  export { AddCartItemParamsSchema, CartItemModifierSchema, CreateCartParamsSchema, GetCartParamsSchema, RemoveCartItemParamsSchema, StorefrontAddress, StorefrontAddressSchema, StorefrontCart, StorefrontCartBundleItem, StorefrontCartBundleItemSchema, StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotals, StorefrontCartTotalsSchema, UpdateCartItemQuantityParamsSchema, cartVariantIdFromProduct } from './models/storefront-cart.js';
13
14
  import { CartPromotionCodeParams, CartCheckoutParams, CartCheckoutResponse, CartCheckoutReadParams, CartCheckoutReadResponse, GetShippingOptionsParams, ShippingOptionsResponse, CartAddressesParams, CartBuyerParams, PutShippingMethodParams, UploadPaymentReceiptParams, CartPaymentReceiptResponse } from './models/storefront-checkout.js';
14
- export { CartAddressWrite, CartAddressWriteSchema, CartAddressesParamsSchema, CartBuyerParamsSchema, CartCheckoutParamsSchema, CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, CartCheckoutReadParamsSchema, CartCheckoutReadResponseSchema, CartCheckoutResponseSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentReceiptResponseSchema, CartPromotionCodeParamsSchema, GetShippingOptionsParamsSchema, PutShippingMethodParamsSchema, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, StorefrontOrderBump, StorefrontOrderBumpSchema } from './models/storefront-checkout.js';
15
+ export { CartAddressWrite, CartAddressWriteSchema, CartAddressesParamsSchema, CartBuyerParamsSchema, CartCheckoutParamsSchema, CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, CartCheckoutReadParamsSchema, CartCheckoutReadResponseSchema, CartCheckoutResponseSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentReceiptResponseSchema, CartPromotionCodeParamsSchema, CheckoutMetadataValue, CheckoutMetadataValueSchema, GetShippingOptionsParamsSchema, PutShippingMethodParamsSchema, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, StorefrontOrderBump, StorefrontOrderBumpSchema } from './models/storefront-checkout.js';
15
16
  import { CreateProductReviewParams, ListProductReviewsParams } from './models/storefront-reviews.js';
16
17
  export { CreateProductReviewParamsSchema, ListProductReviewsParamsSchema, StorefrontReview, StorefrontReviewSchema, StorefrontReviews, StorefrontReviewsSchema } from './models/storefront-reviews.js';
17
18
  import { Countries, GetDepartmentsParams, Departments, GetDistrictsParams, Districts, GetProvincesParams, Provinces } from './models/geo.js';
package/dist/index.js CHANGED
@@ -104,8 +104,16 @@ function createApi(options = {}) {
104
104
  postForm: (path, body, schema, opts) => request("POST", path, schema, { ...opts, body })
105
105
  };
106
106
  }
107
+ var EntityIdSchema = z.union([
108
+ z.string().uuid(),
109
+ z.string().regex(/^\d+$/, "Expected numeric id")
110
+ ]);
111
+ var NullableEntityIdSchema = EntityIdSchema.nullable();
112
+ var OptionalEntityIdSchema = EntityIdSchema.optional();
113
+
114
+ // src/models/collections.ts
107
115
  var CollectionSchema = z.object({
108
- id: z.number(),
116
+ id: EntityIdSchema,
109
117
  slug: z.string(),
110
118
  name: z.string(),
111
119
  description: z.string().nullable().optional(),
@@ -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,12 +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
- var EntityIdSchema = z.union([
311
- z.string().uuid(),
312
- z.string().regex(/^\d+$/, "Expected numeric id")
313
- ]);
314
- var NullableEntityIdSchema = EntityIdSchema.nullable();
315
317
  var StoreTypeSchema = z.enum([
316
318
  "b2C",
317
319
  "marketplace",
@@ -483,11 +485,11 @@ var CmsPageDetailsDtoSchema = z.object({
483
485
  status: CmsPageStatusSchema,
484
486
  hasPublishedVersion: z.boolean(),
485
487
  publishedOn: NullableDateTimeOffsetSchema,
486
- publishedBy: NullableUuidSchema,
488
+ publishedBy: NullableEntityIdSchema,
487
489
  createdOn: DateTimeOffsetSchema,
488
490
  updatedOn: NullableDateTimeOffsetSchema,
489
- createdBy: NullableUuidSchema,
490
- updatedBy: NullableUuidSchema,
491
+ createdBy: NullableEntityIdSchema,
492
+ updatedBy: NullableEntityIdSchema,
491
493
  lastModifiedBy: z.string().nullable()
492
494
  }).strict();
493
495
  var CmsSnapshotDtoSchema = z.object({
@@ -598,7 +600,7 @@ async function getRelatedProducts(api, params) {
598
600
  var ProductAutocompleteParamsSchema = z.object({
599
601
  search: z.string().min(2).max(80),
600
602
  limit: z.number().int().positive().max(20).default(8),
601
- sellerId: z.string().uuid().optional()
603
+ sellerId: OptionalEntityIdSchema
602
604
  });
603
605
  var ProductSuggestionSchema = z.object({
604
606
  id: ProductPublicIdSchema,
@@ -722,7 +724,7 @@ var StorefrontCartBundleItemSchema = z.object({
722
724
  quantity: z.number().int().positive()
723
725
  });
724
726
  var StorefrontCartItemSchema = z.object({
725
- id: z.string().uuid(),
727
+ id: EntityIdSchema,
726
728
  productId: z.number().int().safe().nonnegative(),
727
729
  title: z.string(),
728
730
  variantLabel: z.string().nullable(),
@@ -736,20 +738,20 @@ var StorefrontCartItemSchema = z.object({
736
738
  bundleItems: z.array(StorefrontCartBundleItemSchema)
737
739
  });
738
740
  var StorefrontCartShippingMethodSchema = z.object({
739
- id: z.string().uuid(),
740
- shippingMethodId: z.string().uuid().nullable(),
741
- rateId: z.string().uuid().nullable(),
741
+ id: EntityIdSchema,
742
+ shippingMethodId: NullableEntityIdSchema,
743
+ rateId: NullableEntityIdSchema,
742
744
  name: z.string(),
743
745
  description: z.string().nullable(),
744
746
  total: z.number(),
745
- locationId: z.string().uuid().nullable(),
747
+ locationId: NullableEntityIdSchema,
746
748
  estimatedDays: z.number().int().nullable(),
747
- pickupPointId: z.string().uuid().nullable(),
749
+ pickupPointId: NullableEntityIdSchema,
748
750
  scheduledDate: z.string().nullable(),
749
751
  scheduledTime: z.string().nullable(),
750
752
  serviceCode: z.string().nullable(),
751
- sellerId: z.string().uuid().nullable(),
752
- shippingProfileId: z.string().uuid().nullable()
753
+ sellerId: NullableEntityIdSchema,
754
+ shippingProfileId: NullableEntityIdSchema
753
755
  });
754
756
  var StorefrontCartTotalsSchema = z.object({
755
757
  subtotal: z.number(),
@@ -770,7 +772,7 @@ var StorefrontCartStatusSchema = z.enum([
770
772
  "failed"
771
773
  ]);
772
774
  var StorefrontCartSchema = z.object({
773
- id: z.string().uuid(),
775
+ id: EntityIdSchema,
774
776
  cartNumber: z.string(),
775
777
  email: z.string().nullable(),
776
778
  phone: z.string().nullable(),
@@ -792,26 +794,26 @@ var CreateCartParamsSchema = z.object({
792
794
  email: z.string().email().optional()
793
795
  });
794
796
  var GetCartParamsSchema = z.object({
795
- cartId: z.string().uuid()
797
+ cartId: EntityIdSchema
796
798
  });
797
799
  var CartItemModifierSchema = z.object({
798
800
  modifierGroupId: z.number().int().safe().positive(),
799
801
  optionIds: z.array(z.number().int().safe().positive()).min(1)
800
802
  });
801
803
  var AddCartItemParamsSchema = z.object({
802
- cartId: z.string().uuid(),
804
+ cartId: EntityIdSchema,
803
805
  variantId: z.number().int().safe().positive(),
804
806
  quantity: z.number().int().positive(),
805
807
  modifiers: z.array(CartItemModifierSchema).optional()
806
808
  });
807
809
  var UpdateCartItemQuantityParamsSchema = z.object({
808
- cartId: z.string().uuid(),
809
- cartItemId: z.string().uuid(),
810
+ cartId: EntityIdSchema,
811
+ cartItemId: EntityIdSchema,
810
812
  quantity: z.number().int().nonnegative()
811
813
  });
812
814
  var RemoveCartItemParamsSchema = z.object({
813
- cartId: z.string().uuid(),
814
- cartItemId: z.string().uuid()
815
+ cartId: EntityIdSchema,
816
+ cartItemId: EntityIdSchema
815
817
  });
816
818
 
817
819
  // src/services/cart.service.ts
@@ -876,8 +878,18 @@ async function getCollectionBySlug(api, collectionSlug) {
876
878
  async function getPageBySlug(api, pageSlug) {
877
879
  return api.get(`pages/${encodeURIComponent(pageSlug)}`, CmsPageDetailsDtoSchema);
878
880
  }
881
+ var CheckoutMetadataValueSchema = z.lazy(
882
+ () => z.union([
883
+ z.string(),
884
+ z.number(),
885
+ z.boolean(),
886
+ z.null(),
887
+ z.array(CheckoutMetadataValueSchema),
888
+ z.record(z.string(), CheckoutMetadataValueSchema)
889
+ ])
890
+ );
879
891
  var CartBuyerParamsSchema = z.object({
880
- cartId: z.string().uuid(),
892
+ cartId: EntityIdSchema,
881
893
  email: z.string().email(),
882
894
  firstName: z.string().min(1),
883
895
  lastName: z.string().min(1),
@@ -903,7 +915,7 @@ var CartAddressWriteSchema = z.object({
903
915
  }).nullable().optional()
904
916
  });
905
917
  var CartAddressesParamsSchema = z.object({
906
- cartId: z.string().uuid(),
918
+ cartId: EntityIdSchema,
907
919
  shippingAddress: CartAddressWriteSchema,
908
920
  billingAddress: CartAddressWriteSchema
909
921
  });
@@ -936,7 +948,7 @@ var StorefrontOrderBumpSchema = z.object({
936
948
  description: z.string().nullable().optional()
937
949
  });
938
950
  var CartCheckoutReadParamsSchema = z.object({
939
- cartId: z.string().uuid()
951
+ cartId: EntityIdSchema
940
952
  });
941
953
  var CartCheckoutReadResponseSchema = z.object({
942
954
  cart: StorefrontCartSchema,
@@ -952,13 +964,13 @@ var CartCheckoutPaymentActionSchema = z.object({
952
964
  phoneNumber: z.string().nullable().optional(),
953
965
  accountHolder: z.string().nullable().optional(),
954
966
  qrImageUrl: z.string().nullable().optional()
955
- }).passthrough().nullable().optional(),
967
+ }).strip().nullable().optional(),
956
968
  url: z.string().nullable().optional(),
957
969
  html: z.string().nullable().optional(),
958
970
  clientSecret: z.string().nullable().optional(),
959
971
  qrCode: z.string().nullable().optional(),
960
972
  expiresAt: z.string().nullable().optional()
961
- }).passthrough();
973
+ }).strip();
962
974
  var CartCheckoutPaymentSchema = z.object({
963
975
  transactionId: z.string(),
964
976
  paymentMethodCode: z.string(),
@@ -969,7 +981,7 @@ var CartCheckoutPaymentSchema = z.object({
969
981
  actionType: z.string(),
970
982
  receiptUrl: z.string().nullable().optional(),
971
983
  action: CartCheckoutPaymentActionSchema.nullable().optional()
972
- }).passthrough();
984
+ }).strip();
973
985
  var CartCheckoutResponseSchema = z.object({
974
986
  publicKey: z.string().optional(),
975
987
  publishableKey: z.string().optional(),
@@ -981,9 +993,9 @@ var CartCheckoutResponseSchema = z.object({
981
993
  orderIds: z.array(z.coerce.string()).optional(),
982
994
  payment: CartCheckoutPaymentSchema.optional(),
983
995
  cart: StorefrontCartSchema.optional()
984
- }).passthrough();
996
+ }).strip();
985
997
  var CartCheckoutParamsSchema = z.object({
986
- cartId: z.string().uuid(),
998
+ cartId: EntityIdSchema,
987
999
  paymentMethodCode: z.string().min(1),
988
1000
  externalRef: z.string().min(1),
989
1001
  receiptUrl: z.string().min(1).optional()
@@ -1002,8 +1014,8 @@ var ShippingRateSchema = z.object({
1002
1014
  deliveryLocationName: z.string().nullable().optional(),
1003
1015
  estimatedDeliveryDays: z.number().nullable().optional(),
1004
1016
  serviceCode: z.string().nullable().optional(),
1005
- metadata: z.record(z.string(), z.unknown()).optional()
1006
- }).passthrough();
1017
+ metadata: z.record(z.string(), CheckoutMetadataValueSchema).optional()
1018
+ }).strip();
1007
1019
  var ShippingOptionGroupSchema = z.object({
1008
1020
  sellerId: z.string(),
1009
1021
  shippingProfileId: z.string().nullable().optional(),
@@ -1011,16 +1023,16 @@ var ShippingOptionGroupSchema = z.object({
1011
1023
  totalWeight: z.number().optional(),
1012
1024
  itemIds: z.array(z.string()).optional(),
1013
1025
  rates: z.array(ShippingRateSchema)
1014
- }).passthrough();
1026
+ }).strip();
1015
1027
  var ShippingOptionsResponseSchema = z.object({
1016
1028
  groups: z.array(ShippingOptionGroupSchema)
1017
1029
  });
1018
1030
  var GetShippingOptionsParamsSchema = z.object({
1019
- cartId: z.string().uuid(),
1031
+ cartId: EntityIdSchema,
1020
1032
  postalCode: z.string().min(1)
1021
1033
  });
1022
1034
  var PutShippingMethodParamsSchema = z.object({
1023
- cartId: z.string().uuid(),
1035
+ cartId: EntityIdSchema,
1024
1036
  rateId: z.string().min(1),
1025
1037
  shippingMethodId: z.string().min(1),
1026
1038
  serviceCode: z.string().nullable().optional(),
@@ -1036,7 +1048,7 @@ var CartPaymentReceiptResponseSchema = z.object({
1036
1048
  url: z.string()
1037
1049
  });
1038
1050
  var CartPromotionCodeParamsSchema = z.object({
1039
- cartId: z.string().uuid(),
1051
+ cartId: EntityIdSchema,
1040
1052
  code: z.string().min(1)
1041
1053
  });
1042
1054
 
@@ -1132,12 +1144,12 @@ var CountrySchema = z.object({
1132
1144
  var CountriesSchema = z.array(CountrySchema);
1133
1145
  var GeoDivisionTypeSchema = z.enum(["level1", "level2", "level3"]);
1134
1146
  var GeoDivisionSchema = z.object({
1135
- id: z.string().uuid(),
1147
+ id: EntityIdSchema,
1136
1148
  countryCode: z.string().length(2),
1137
1149
  type: GeoDivisionTypeSchema,
1138
1150
  code: z.string().min(1),
1139
1151
  name: z.string().min(1),
1140
- parentId: z.string().uuid().nullable(),
1152
+ parentId: NullableEntityIdSchema,
1141
1153
  source: z.string().min(1)
1142
1154
  }).strict();
1143
1155
  var DepartmentSchema = GeoDivisionSchema;
@@ -1893,6 +1905,6 @@ function stripHtml(html) {
1893
1905
  return html.replace(/<br\s*\/?>/gi, " ").replace(/<[^>]+>/g, " ").replace(/\s+/g, " ").trim();
1894
1906
  }
1895
1907
 
1896
- 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, 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 };
1908
+ export { AddCartItemParamsSchema, ApiError, BundleItemSchema, CartAddressWriteSchema, CartAddressesParamsSchema, CartBuyerParamsSchema, CartCheckoutParamsSchema, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, CartCheckoutReadParamsSchema, CartCheckoutReadResponseSchema, CartCheckoutResponseSchema, CartItemModifierSchema, CartPaymentMethodSchema, CartPaymentReceiptResponseSchema, CartPromotionCodeParamsSchema, CheckoutMetadataValueSchema, 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 };
1897
1909
  //# sourceMappingURL=index.js.map
1898
1910
  //# sourceMappingURL=index.js.map