@ecomiq/core 1.0.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/client.cjs +1 -1
  2. package/dist/client.js +1 -1
  3. package/dist/index.cjs +14 -2
  4. package/dist/index.d.cts +4 -2
  5. package/dist/index.d.ts +4 -2
  6. package/dist/index.js +6 -4
  7. package/dist/models/customer-order.cjs +3 -1
  8. package/dist/models/customer-order.d.cts +45 -0
  9. package/dist/models/customer-order.d.ts +45 -0
  10. package/dist/models/customer-order.js +3 -1
  11. package/dist/models/{order-draft-PFBZfRRR.cjs → order-draft-DWKoM7Lu.cjs} +3 -1
  12. package/dist/models/{order-draft-CnHJ0btL.js → order-draft-DhEKDqI8.js} +3 -1
  13. package/dist/models/order-draft.d.cts +18 -0
  14. package/dist/models/order-draft.d.ts +18 -0
  15. package/dist/models/order-status.d.cts +9 -0
  16. package/dist/models/order-status.d.ts +9 -0
  17. package/dist/models/personalization-CdwIzzSn.js +48 -0
  18. package/dist/models/personalization-Uh_MWts-.cjs +52 -0
  19. package/dist/models/personalization-lines-BurVHB4o.cjs +26 -0
  20. package/dist/models/personalization-lines-DigNu6OK.js +23 -0
  21. package/dist/models/personalization-lines.d.cts +15 -0
  22. package/dist/models/personalization-lines.d.ts +15 -0
  23. package/dist/models/personalization.d.cts +69 -0
  24. package/dist/models/personalization.d.ts +69 -0
  25. package/dist/models/products.cjs +4 -1
  26. package/dist/models/products.d.cts +35 -0
  27. package/dist/models/products.d.ts +35 -0
  28. package/dist/models/products.js +4 -1
  29. package/dist/models/storefront-cart.cjs +11 -3
  30. package/dist/models/storefront-cart.d.cts +33 -2
  31. package/dist/models/storefront-cart.d.ts +33 -2
  32. package/dist/models/storefront-cart.js +11 -4
  33. package/dist/models/storefront-checkout.d.cts +18 -0
  34. package/dist/models/storefront-checkout.d.ts +18 -0
  35. package/dist/models/urls.d.cts +32 -0
  36. package/dist/models/urls.d.ts +32 -0
  37. package/dist/services/cart.service.d.cts +45 -0
  38. package/dist/services/cart.service.d.ts +45 -0
  39. package/dist/services/checkout.service.d.cts +36 -0
  40. package/dist/services/checkout.service.d.ts +36 -0
  41. package/dist/services/{order-draft.service-D9gy-OPr.cjs → order-draft.service-CdJbIUT6.cjs} +1 -1
  42. package/dist/services/{order-draft.service-DYPR_pcV.js → order-draft.service-DHhae1Ct.js} +1 -1
  43. package/dist/services/product.service.d.cts +25 -0
  44. package/dist/services/product.service.d.ts +25 -0
  45. package/package.json +1 -1
package/dist/client.cjs CHANGED
@@ -10,7 +10,7 @@ const require_bounded_read_cache = require("./libs/bounded-read-cache-D4644LJo.c
10
10
  const require_customer_registration_service = require("./services/customer-registration.service-C3BNyCHP.cjs");
11
11
  const require_customer_session_service = require("./services/customer-session.service-Bd8pLC2v.cjs");
12
12
  const require_order_status_service = require("./services/order-status.service-Cn7dsaJo.cjs");
13
- const require_order_draft_service = require("./services/order-draft.service-D9gy-OPr.cjs");
13
+ const require_order_draft_service = require("./services/order-draft.service-CdJbIUT6.cjs");
14
14
  const require_complaint_book_service = require("./services/complaint-book.service-C7TxltQe.cjs");
15
15
  const require_models_settings = require("./models/settings.cjs");
16
16
  const require_product_service = require("./services/product.service-B7OFZWB1.cjs");
package/dist/client.js CHANGED
@@ -9,7 +9,7 @@ import { BoundedReadCache } from "./libs/bounded-read-cache-Abmb5VnJ.js";
9
9
  import { completeCustomerRegistration, getCustomerRegistration } from "./services/customer-registration.service-CxcWD2hf.js";
10
10
  import { createCustomerSession, deleteCustomerSession, getCustomerSession, upsertCustomerAuthConfiguration } from "./services/customer-session.service-4YgfbWRB.js";
11
11
  import { authenticateOrderPayment, getOrderStatus, startOrderPayment, uploadOrderPaymentReceipt } from "./services/order-status.service-MC9hVpP-.js";
12
- import { checkoutOrderDraft, getOrderDraft } from "./services/order-draft.service-DYPR_pcV.js";
12
+ import { checkoutOrderDraft, getOrderDraft } from "./services/order-draft.service-DHhae1Ct.js";
13
13
  import { createComplaintBookEntry, getComplaintBook } from "./services/complaint-book.service-DXiVyKdD.js";
14
14
  import { StorefrontSettingsSchema } from "./models/settings.js";
15
15
  import { getProductBySlug, getProducts, getRelatedProducts } from "./services/product.service-B05Qmbuh.js";
package/dist/index.cjs CHANGED
@@ -13,6 +13,8 @@ const require_catalog_links = require("./models/catalog-links-c4LADGf_.cjs");
13
13
  const require_payment_methods = require("./models/payment-methods-CmK08zBM.cjs");
14
14
  const require_articles = require("./models/articles-xHCXLKDK.cjs");
15
15
  const require_models_products = require("./models/products.cjs");
16
+ const require_personalization = require("./models/personalization-Uh_MWts-.cjs");
17
+ const require_personalization_lines = require("./models/personalization-lines-BurVHB4o.cjs");
16
18
  const require_models_search = require("./models/search.cjs");
17
19
  const require_models_storefront_cart = require("./models/storefront-cart.cjs");
18
20
  const require_models_storefront_checkout = require("./models/storefront-checkout.cjs");
@@ -42,8 +44,8 @@ const require_order_review = require("./models/order-review--xGlZKtS.cjs");
42
44
  const require_order_review_service = require("./services/order-review.service-BEr-FB6_.cjs");
43
45
  const require_order_status = require("./models/order-status-CS_OeSPY.cjs");
44
46
  const require_order_status_service = require("./services/order-status.service-Cn7dsaJo.cjs");
45
- const require_order_draft = require("./models/order-draft-PFBZfRRR.cjs");
46
- const require_order_draft_service = require("./services/order-draft.service-D9gy-OPr.cjs");
47
+ const require_order_draft = require("./models/order-draft-DWKoM7Lu.cjs");
48
+ const require_order_draft_service = require("./services/order-draft.service-CdJbIUT6.cjs");
47
49
  const require_complaint_book = require("./models/complaint-book-D5INpuI2.cjs");
48
50
  const require_complaint_book_service = require("./services/complaint-book.service-C7TxltQe.cjs");
49
51
  const require_page_service = require("./services/page.service-DmCSeMiR.cjs");
@@ -72,6 +74,7 @@ exports.CartCheckoutPaymentSchema = require_models_storefront_checkout.CartCheck
72
74
  exports.CartCheckoutReadParamsSchema = require_models_storefront_checkout.CartCheckoutReadParamsSchema;
73
75
  exports.CartCheckoutReadResponseSchema = require_models_storefront_checkout.CartCheckoutReadResponseSchema;
74
76
  exports.CartCheckoutResponseSchema = require_models_storefront_checkout.CartCheckoutResponseSchema;
77
+ exports.CartItemModifierOptionSchema = require_models_storefront_cart.CartItemModifierOptionSchema;
75
78
  exports.CartItemModifierSchema = require_models_storefront_cart.CartItemModifierSchema;
76
79
  exports.CartPaymentMethodSchema = require_models_storefront_checkout.CartPaymentMethodSchema;
77
80
  exports.CartPaymentReceiptResponseSchema = require_models_storefront_checkout.CartPaymentReceiptResponseSchema;
@@ -155,10 +158,15 @@ exports.GetDistrictsParamsSchema = require_models_geo.GetDistrictsParamsSchema;
155
158
  exports.GetProvincesParamsSchema = require_models_geo.GetProvincesParamsSchema;
156
159
  exports.GetShippingOptionsParamsSchema = require_models_storefront_checkout.GetShippingOptionsParamsSchema;
157
160
  exports.GraphQLResponseError = require_graphql.GraphQLResponseError;
161
+ exports.ItemModifierSchema = require_personalization.ItemModifierSchema;
158
162
  exports.JsonElementSchema = require_models_settings.JsonElementSchema;
159
163
  exports.ListArticlesParamsSchema = require_articles.ListArticlesParamsSchema;
160
164
  exports.ListProductReviewsParamsSchema = require_models_storefront_reviews.ListProductReviewsParamsSchema;
161
165
  exports.ListStoreReviewsParamsSchema = require_models_storefront_reviews.ListStoreReviewsParamsSchema;
166
+ exports.ModifierDisplaySchema = require_personalization.ModifierDisplaySchema;
167
+ exports.ModifierGroupItemSchema = require_personalization.ModifierGroupItemSchema;
168
+ exports.ModifierOptionItemSchema = require_personalization.ModifierOptionItemSchema;
169
+ exports.ModifierSelectionTypeSchema = require_personalization.ModifierSelectionTypeSchema;
162
170
  exports.NullableEntityIdSchema = require_models_ids.NullableEntityIdSchema;
163
171
  exports.OptionalEntityIdSchema = require_models_ids.OptionalEntityIdSchema;
164
172
  exports.OrderDraftCheckoutSchema = require_order_draft.OrderDraftCheckoutSchema;
@@ -310,8 +318,12 @@ exports.getSellers = require_seller_service.getSellers;
310
318
  exports.getShippingOptions = require_checkout_service.getShippingOptions;
311
319
  exports.graphQLSelection = require_graphql_selection.graphQLSelection;
312
320
  exports.isCatalogLinkCandidate = require_catalog_links.isCatalogLinkCandidate;
321
+ exports.lineTotal = require_personalization_lines.lineTotal;
322
+ exports.lineUnitPrice = require_personalization_lines.lineUnitPrice;
313
323
  exports.listArticles = require_article_service.listArticles;
314
324
  exports.listProductReviews = require_review_service.listProductReviews;
325
+ exports.modifierLabel = require_personalization_lines.modifierLabel;
326
+ exports.modifiersUnitPrice = require_personalization_lines.modifiersUnitPrice;
315
327
  exports.patchCartAddresses = require_checkout_service.patchCartAddresses;
316
328
  exports.patchCartBuyer = require_checkout_service.patchCartBuyer;
317
329
  exports.patchCustomer = require_customer_service.patchCustomer;
package/dist/index.d.cts CHANGED
@@ -13,8 +13,10 @@ import { CATALOG_LINK_ID, CATALOG_LINK_MAX_LENGTH, CatalogLink, CatalogLinkRefer
13
13
  import { StorefrontPaymentCodeSchema, StorefrontPaymentMethod, StorefrontPaymentMethodSchema, StorefrontPaymentMethods, StorefrontPaymentMethodsSchema } from "./models/payment-methods.cjs";
14
14
  import { Article, ArticleSchema, ArticleSummary, ArticleSummarySchema, ArticlesSchema, ListArticlesParams, ListArticlesParamsSchema } from "./models/articles.cjs";
15
15
  import { BundleItem, BundleItemSchema, FacetItem, FacetItemSchema, ProductBySlugOptions, ProductDetail, ProductDetailSchema, ProductImage, ProductImageSchema, ProductMediaType, ProductMediaTypeSchema, ProductOptionGroup, ProductOptionGroupSchema, ProductPriceTier, ProductPriceTierSchema, ProductSeller, ProductSellerSchema, ProductSort, ProductSortSchema, ProductSummariesSchema, ProductSummary, ProductSummarySchema, ProductsParams, ProductsParamsInput, ProductsParamsSchema, ProductsResponse, ProductsResponseSchema, RelatedProductsParams, RelatedProductsParamsSchema, SearchFilter, SearchFilterSchema, SizeGuide, SizeGuideMeasurement, SizeGuideMeasurementSchema, SizeGuideRow, SizeGuideRowSchema, SizeGuideSchema, SpecItem, SpecItemSchema, SpecificationTypeSchema, VariantItem, VariantItemSchema } from "./models/products.cjs";
16
+ import { ItemModifier, ItemModifierSchema, ModifierDisplay, ModifierDisplaySchema, ModifierGroupItem, ModifierGroupItemSchema, ModifierOptionItem, ModifierOptionItemSchema, ModifierSelectionType, ModifierSelectionTypeSchema } from "./models/personalization.cjs";
17
+ import { lineTotal, lineUnitPrice, modifierLabel, modifiersUnitPrice } from "./models/personalization-lines.cjs";
16
18
  import { ProductAutocompleteParams, ProductAutocompleteParamsSchema, ProductSuggestion, ProductSuggestionSchema, ProductSuggestionsSchema } from "./models/search.cjs";
17
- import { AddCartItemParams, AddCartItemParamsSchema, CartItemModifierSchema, CartShippingMethodTypeSchema, CreateCartParams, CreateCartParamsSchema, GetCartParams, GetCartParamsSchema, RemoveCartItemParams, RemoveCartItemParamsSchema, ShippingMethodTargetSelection, ShippingMethodTargetSelectionSchema, StorefrontAddress, StorefrontAddressSchema, StorefrontCart, StorefrontCartBundleItem, StorefrontCartBundleItemSchema, StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotals, StorefrontCartTotalsSchema, StorefrontInvoiceType, StorefrontInvoiceTypeSchema, UpdateCartItemQuantityParams, UpdateCartItemQuantityParamsSchema } from "./models/storefront-cart.cjs";
19
+ import { AddCartItemParams, AddCartItemParamsSchema, CartItemModifierInput, CartItemModifierOptionSchema, CartItemModifierSchema, CartShippingMethodTypeSchema, CreateCartParams, CreateCartParamsSchema, GetCartParams, GetCartParamsSchema, RemoveCartItemParams, RemoveCartItemParamsSchema, ShippingMethodTargetSelection, ShippingMethodTargetSelectionSchema, StorefrontAddress, StorefrontAddressSchema, StorefrontCart, StorefrontCartBundleItem, StorefrontCartBundleItemSchema, StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotals, StorefrontCartTotalsSchema, StorefrontInvoiceType, StorefrontInvoiceTypeSchema, UpdateCartItemQuantityParams, UpdateCartItemQuantityParamsSchema } from "./models/storefront-cart.cjs";
18
20
  import { CartAddressWrite, CartAddressWriteSchema, CartAddressesParams, CartAddressesParamsSchema, CartBuyerParams, CartBuyerParamsSchema, CartCheckoutParams, CartCheckoutParamsSchema, CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentMethod, CartCheckoutPaymentMethodSchema, CartCheckoutPaymentSchema, CartCheckoutReadParams, CartCheckoutReadParamsSchema, CartCheckoutReadResponse, CartCheckoutReadResponseSchema, CartCheckoutResponse, CartCheckoutResponseSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, CartPromotionCodeParams, CartPromotionCodeParamsSchema, CheckoutMetadataValue, CheckoutMetadataValueSchema, CheckoutMode, CheckoutModeSchema, CheckoutPaymentCharge, CheckoutPaymentChargeSchema, GetShippingOptionsParams, GetShippingOptionsParamsSchema, PaymentBankAccount, PaymentBankAccountSchema, PutCartPaymentMethodParams, PutCartPaymentMethodParamsSchema, PutShippingMethodParams, PutShippingMethodParamsSchema, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponse, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, StorefrontOrderBump, StorefrontOrderBumpSchema, UploadPaymentReceiptParams } from "./models/storefront-checkout.cjs";
19
21
  import { CreateCustomerProductReviewParams, CreateCustomerProductReviewParamsSchema, CreateProductReviewParams, CreateProductReviewParamsSchema, ListProductReviewsParams, ListProductReviewsParamsSchema, ListStoreReviewsParams, ListStoreReviewsParamsSchema, StorefrontReview, StorefrontReviewSchema, StorefrontReviews, StorefrontReviewsSchema, StorefrontStoreReview, StorefrontStoreReviewSchema } from "./models/storefront-reviews.cjs";
20
22
  import { Countries, CountriesSchema, Country, CountrySchema, Department, DepartmentSchema, Departments, DepartmentsSchema, District, DistrictSchema, Districts, DistrictsSchema, GeoDivision, GeoDivisionSchema, GeoDivisionType, GeoDivisionTypeSchema, GetDepartmentsParams, GetDepartmentsParamsParsed, GetDepartmentsParamsSchema, GetDistrictsParams, GetDistrictsParamsParsed, GetDistrictsParamsSchema, GetProvincesParams, GetProvincesParamsParsed, GetProvincesParamsSchema, Province, ProvinceSchema, Provinces, ProvincesSchema } from "./models/geo.cjs";
@@ -50,4 +52,4 @@ import { getPageBySlug } from "./services/page.service.cjs";
50
52
  import { getArticleBySlug, listArticles } from "./services/article.service.cjs";
51
53
  import { sanitizeHtml, stripHtml } from "./utils.cjs";
52
54
  import { EmbeddedVideo, embeddedVideo } from "./video-links.cjs";
53
- export { AddCartItemParams, AddCartItemParamsSchema, type Api, ApiError, Article, ArticleSchema, ArticleSummary, ArticleSummarySchema, ArticlesSchema, AuthenticateOrderPaymentInput, AuthenticateOrderPaymentInputSchema, BundleItem, BundleItemSchema, CATALOG_LINK_ID, CATALOG_LINK_MAX_LENGTH, COMPLAINT_BOOK_ATTACHMENT_TYPES, COMPLAINT_BOOK_MAX_ATTACHMENTS, COMPLAINT_BOOK_MAX_ATTACHMENT_BYTES, CartAddressWrite, CartAddressWriteSchema, CartAddressesParams, CartAddressesParamsSchema, CartBuyerParams, CartBuyerParamsSchema, CartCheckoutParams, CartCheckoutParamsSchema, CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentMethod, CartCheckoutPaymentMethodSchema, CartCheckoutPaymentSchema, CartCheckoutReadParams, CartCheckoutReadParamsSchema, CartCheckoutReadResponse, CartCheckoutReadResponseSchema, CartCheckoutResponse, CartCheckoutResponseSchema, CartItemModifierSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, CartPromotionCodeParams, CartPromotionCodeParamsSchema, CartShippingMethodTypeSchema, CartToken, CartTokenSchema, CatalogLink, CatalogLinkReference, CatalogLinkReferenceSchema, CatalogLinkSchema, CatalogLinksResponseSchema, CategoryAncestor, CategoryAncestorSchema, CategoryChild, CategoryChildSchema, CategoryDetail, CategoryDetailSchema, CategoryItem, CategoryItemSchema, CheckoutMetadataValue, CheckoutMetadataValueSchema, CheckoutMode, CheckoutModeSchema, CheckoutPaymentCharge, CheckoutPaymentChargeSchema, CmsBlockDto, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDto, CmsMenuDtoSchema, CmsMenuItem, CmsMenuItemSchema, CmsPageDetailsDto, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDto, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDto, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, Collection, CollectionSchema, Collections, CollectionsSchema, ComplaintBook, ComplaintBookDocumentType, ComplaintBookDocumentTypeSchema, ComplaintBookEntry, ComplaintBookEntryInput, ComplaintBookEntryInputSchema, ComplaintBookEntrySchema, ComplaintBookSchema, Countries, CountriesSchema, Country, CountrySchema, type CreateApiOptions, CreateCartParams, CreateCartParamsSchema, type CreateClientOptions, CreateCustomerProductReviewParams, CreateCustomerProductReviewParamsSchema, CreateProductReviewParams, CreateProductReviewParamsSchema, CustomerAddress, type CustomerAddressCreated, CustomerAddressCreatedSchema, type CustomerAddressRequestOptions, CustomerAddressSchema, CustomerAddressUpsertInput, CustomerAddressUpsertInputSchema, CustomerAddresses, CustomerAddressesSchema, CustomerAuthConfiguration, CustomerAuthConfigurationSchema, CustomerMe, CustomerMeSchema, type CustomerOrderCancellationInput, CustomerOrderDetail, CustomerOrderDetailSchema, CustomerOrderLineItem, CustomerOrderLineItemSchema, CustomerOrderList, CustomerOrderListItem, CustomerOrderListItemSchema, type CustomerOrderListOptions, CustomerOrderListSchema, CustomerOrderPage, CustomerOrderPageSchema, CustomerOrderPayment, CustomerOrderPaymentSchema, type CustomerOrderRequestOptions, type CustomerOrderReturnInput, CustomerOrderShipment, CustomerOrderShipmentSchema, CustomerOrderShippingAddress, CustomerOrderShippingAddressSchema, type CustomerOrderStatusFilter, CustomerOrderStatusTimelineEntry, CustomerOrderStatusTimelineSchema, CustomerProfile, CustomerProfilePatch, CustomerProfilePatchSchema, CustomerProfileSchema, CustomerRegistration, CustomerRegistrationFieldModeSchema, CustomerRegistrationFields, CustomerRegistrationFieldsSchema, CustomerRegistrationInput, CustomerRegistrationInputSchema, CustomerRegistrationSchema, type CustomerRequestOptions, CustomerSavedAddress, CustomerSession, CustomerSessionCreate, CustomerSessionCreateSchema, CustomerSessionCreated, CustomerSessionCreatedSchema, CustomerSessionProfileSchema, CustomerSessionSchema, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, Department, DepartmentSchema, Departments, DepartmentsSchema, District, DistrictSchema, Districts, DistrictsSchema, EmbeddedVideo, EntityId, EntityIdSchema, FacetItem, FacetItemSchema, GeoDivision, GeoDivisionSchema, GeoDivisionType, GeoDivisionTypeSchema, GetCartParams, GetCartParamsSchema, GetDepartmentsParams, GetDepartmentsParamsParsed, GetDepartmentsParamsSchema, GetDistrictsParams, GetDistrictsParamsParsed, GetDistrictsParamsSchema, GetProvincesParams, GetProvincesParamsParsed, GetProvincesParamsSchema, GetShippingOptionsParams, GetShippingOptionsParamsSchema, type GraphQLError, type GraphQLRequestOptions, GraphQLResponseError, type GraphQLVariables, JsonElement, JsonElementSchema, ListArticlesParams, ListArticlesParamsSchema, ListProductReviewsParams, ListProductReviewsParamsSchema, ListStoreReviewsParams, ListStoreReviewsParamsSchema, NullableEntityIdSchema, OptionalEntityIdSchema, OrderDraft, OrderDraftCheckout, OrderDraftCheckoutSchema, OrderDraftItem, OrderDraftItemSchema, OrderDraftSchema, OrderPaymentInReview, OrderPaymentInReviewSchema, OrderPaymentMethod, OrderPaymentMethodSchema, OrderPaymentStart, OrderPaymentStartSchema, OrderReviewContext, OrderReviewContextItem, OrderReviewContextItemSchema, OrderReviewContextSchema, type OrderReviewRequestOptions, OrderStatusView, OrderStatusViewSchema, OrderStep, OrderStepSchema, PaymentAuthentication3DS, PaymentAuthentication3DSSchema, PaymentBankAccount, PaymentBankAccountSchema, PaymentPublicConfigurationSchema, ProductAutocompleteParams, ProductAutocompleteParamsSchema, ProductBySlugOptions, ProductDetail, ProductDetailSchema, ProductImage, ProductImageSchema, ProductMediaType, ProductMediaTypeSchema, ProductOptionGroup, ProductOptionGroupSchema, ProductPriceTier, ProductPriceTierSchema, ProductSeller, ProductSellerSchema, ProductSort, ProductSortSchema, ProductSuggestion, ProductSuggestionSchema, ProductSuggestionsSchema, ProductSummariesSchema, ProductSummary, ProductSummarySchema, ProductsParams, ProductsParamsInput, ProductsParamsSchema, ProductsResponse, ProductsResponseSchema, Province, ProvinceSchema, Provinces, ProvincesSchema, PublicOrderTracking, PublicOrderTrackingSchema, PutCartPaymentMethodParams, PutCartPaymentMethodParamsSchema, PutShippingMethodParams, PutShippingMethodParamsSchema, RelatedProductsParams, RelatedProductsParamsSchema, RemoveCartItemParams, RemoveCartItemParamsSchema, STOREFRONT_SETTINGS_SCHEMA_VERSION, SearchFilter, SearchFilterSchema, SellerLinkStyle, SellerLinkStyleSchema, SellerLinks, SellerLinksSchema, SellerProfile, SellerProfileSchema, SellerRating, SellerRatingSchema, SellerSummary, SellerSummarySchema, Sellers, SellersSchema, ShipmentTrackingEventSchema, ShippingMethodTargetSelection, ShippingMethodTargetSelectionSchema, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponse, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, SitemapItem, SitemapItemSchema, SitemapPage, SitemapPageSchema, SizeGuide, SizeGuideMeasurement, SizeGuideMeasurementSchema, SizeGuideRow, SizeGuideRowSchema, SizeGuideSchema, SpecItem, SpecItemSchema, SpecificationTypeSchema, type StartOrderPaymentInput, StoreBusinessSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreModel, StoreModelSchema, StoreSettingsSnapshotDto, StoreSettingsSnapshotDtoSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontAddress, StorefrontAddressSchema, StorefrontCart, StorefrontCartBundleItem, StorefrontCartBundleItemSchema, StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotals, StorefrontCartTotalsSchema, StorefrontCheckoutSettingsSchema, type StorefrontClient, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontInvoiceType, StorefrontInvoiceTypeSchema, type StorefrontLayout, StorefrontMenu, StorefrontMenuItem, StorefrontMenuItemSchema, StorefrontMenuSchema, StorefrontOrderBump, StorefrontOrderBumpSchema, StorefrontPaymentCodeSchema, StorefrontPaymentMethod, StorefrontPaymentMethodSchema, StorefrontPaymentMethods, StorefrontPaymentMethodsSchema, StorefrontReview, StorefrontReviewSchema, StorefrontReviews, StorefrontReviewsSchema, StorefrontSettings, StorefrontSettingsSchema, StorefrontStoreReview, StorefrontStoreReviewSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, TRACKING_STATUS_LABELS, type TrackingRequestOptions, UpdateCartItemQuantityParams, UpdateCartItemQuantityParamsSchema, type UploadOrderPaymentReceiptInput, UploadPaymentReceiptParams, UrlResolution, UrlResolutionOptions, UrlResolutionSchema, VariantItem, VariantItemSchema, addCartItem, addCartPromotionCode, authenticateOrderPayment, autocompleteProducts, catalogLinkCandidates, catalogLinkKey, checkoutCart, checkoutOrderDraft, completeCustomerRegistration, createApi, createCart, createClient, createComplaintBookEntry, createCustomerAddress, createProductReview, customerMeToProfile, customerMeToProfilePatch, customerOrderStatusTone, customerProfileToPatch, deleteCustomerAddress, embeddedVideo, formatCustomerOrderStatus, formatOrderDate, formatOrderDateTime, formatTrackingStatus, getArticleBySlug, getCart, getCartCheckout, getComplaintBook, getCountries, getCustomerAddresses, getCustomerMe, getCustomerOrder, getCustomerOrders, getCustomerRegistration, getDepartments, getDistricts, getMenuItems, getOrderDraft, getOrderReviewContext, getOrderStatus, getOrderTracking, getPageBySlug, getPaymentMethods, getProductBySlug, getProducts, getProvinces, getRelatedProducts, getSellerBySlug, getSellers, getShippingOptions, graphQLSelection, isCatalogLinkCandidate, listArticles, listProductReviews, patchCartAddresses, patchCartBuyer, patchCustomer, putCartPaymentMethod, putCartShippingMethod, readCatalogLink, removeCartItem, removeCartPromotionCode, requestCustomerOrderCancellation, requestCustomerOrderReturn, resolveApiBaseUrl, sanitizeHtml, startOrderPayment, stripHtml, toCustomerSavedAddresses, updateCartItemQuantity, updateCustomerAddress, uploadOrderPaymentReceipt, uploadPaymentReceipt };
55
+ export { AddCartItemParams, AddCartItemParamsSchema, type Api, ApiError, Article, ArticleSchema, ArticleSummary, ArticleSummarySchema, ArticlesSchema, AuthenticateOrderPaymentInput, AuthenticateOrderPaymentInputSchema, BundleItem, BundleItemSchema, CATALOG_LINK_ID, CATALOG_LINK_MAX_LENGTH, COMPLAINT_BOOK_ATTACHMENT_TYPES, COMPLAINT_BOOK_MAX_ATTACHMENTS, COMPLAINT_BOOK_MAX_ATTACHMENT_BYTES, CartAddressWrite, CartAddressWriteSchema, CartAddressesParams, CartAddressesParamsSchema, CartBuyerParams, CartBuyerParamsSchema, CartCheckoutParams, CartCheckoutParamsSchema, CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentMethod, CartCheckoutPaymentMethodSchema, CartCheckoutPaymentSchema, CartCheckoutReadParams, CartCheckoutReadParamsSchema, CartCheckoutReadResponse, CartCheckoutReadResponseSchema, CartCheckoutResponse, CartCheckoutResponseSchema, CartItemModifierInput, CartItemModifierOptionSchema, CartItemModifierSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, CartPromotionCodeParams, CartPromotionCodeParamsSchema, CartShippingMethodTypeSchema, CartToken, CartTokenSchema, CatalogLink, CatalogLinkReference, CatalogLinkReferenceSchema, CatalogLinkSchema, CatalogLinksResponseSchema, CategoryAncestor, CategoryAncestorSchema, CategoryChild, CategoryChildSchema, CategoryDetail, CategoryDetailSchema, CategoryItem, CategoryItemSchema, CheckoutMetadataValue, CheckoutMetadataValueSchema, CheckoutMode, CheckoutModeSchema, CheckoutPaymentCharge, CheckoutPaymentChargeSchema, CmsBlockDto, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDto, CmsMenuDtoSchema, CmsMenuItem, CmsMenuItemSchema, CmsPageDetailsDto, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDto, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDto, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, Collection, CollectionSchema, Collections, CollectionsSchema, ComplaintBook, ComplaintBookDocumentType, ComplaintBookDocumentTypeSchema, ComplaintBookEntry, ComplaintBookEntryInput, ComplaintBookEntryInputSchema, ComplaintBookEntrySchema, ComplaintBookSchema, Countries, CountriesSchema, Country, CountrySchema, type CreateApiOptions, CreateCartParams, CreateCartParamsSchema, type CreateClientOptions, CreateCustomerProductReviewParams, CreateCustomerProductReviewParamsSchema, CreateProductReviewParams, CreateProductReviewParamsSchema, CustomerAddress, type CustomerAddressCreated, CustomerAddressCreatedSchema, type CustomerAddressRequestOptions, CustomerAddressSchema, CustomerAddressUpsertInput, CustomerAddressUpsertInputSchema, CustomerAddresses, CustomerAddressesSchema, CustomerAuthConfiguration, CustomerAuthConfigurationSchema, CustomerMe, CustomerMeSchema, type CustomerOrderCancellationInput, CustomerOrderDetail, CustomerOrderDetailSchema, CustomerOrderLineItem, CustomerOrderLineItemSchema, CustomerOrderList, CustomerOrderListItem, CustomerOrderListItemSchema, type CustomerOrderListOptions, CustomerOrderListSchema, CustomerOrderPage, CustomerOrderPageSchema, CustomerOrderPayment, CustomerOrderPaymentSchema, type CustomerOrderRequestOptions, type CustomerOrderReturnInput, CustomerOrderShipment, CustomerOrderShipmentSchema, CustomerOrderShippingAddress, CustomerOrderShippingAddressSchema, type CustomerOrderStatusFilter, CustomerOrderStatusTimelineEntry, CustomerOrderStatusTimelineSchema, CustomerProfile, CustomerProfilePatch, CustomerProfilePatchSchema, CustomerProfileSchema, CustomerRegistration, CustomerRegistrationFieldModeSchema, CustomerRegistrationFields, CustomerRegistrationFieldsSchema, CustomerRegistrationInput, CustomerRegistrationInputSchema, CustomerRegistrationSchema, type CustomerRequestOptions, CustomerSavedAddress, CustomerSession, CustomerSessionCreate, CustomerSessionCreateSchema, CustomerSessionCreated, CustomerSessionCreatedSchema, CustomerSessionProfileSchema, CustomerSessionSchema, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, Department, DepartmentSchema, Departments, DepartmentsSchema, District, DistrictSchema, Districts, DistrictsSchema, EmbeddedVideo, EntityId, EntityIdSchema, FacetItem, FacetItemSchema, GeoDivision, GeoDivisionSchema, GeoDivisionType, GeoDivisionTypeSchema, GetCartParams, GetCartParamsSchema, GetDepartmentsParams, GetDepartmentsParamsParsed, GetDepartmentsParamsSchema, GetDistrictsParams, GetDistrictsParamsParsed, GetDistrictsParamsSchema, GetProvincesParams, GetProvincesParamsParsed, GetProvincesParamsSchema, GetShippingOptionsParams, GetShippingOptionsParamsSchema, type GraphQLError, type GraphQLRequestOptions, GraphQLResponseError, type GraphQLVariables, ItemModifier, ItemModifierSchema, JsonElement, JsonElementSchema, ListArticlesParams, ListArticlesParamsSchema, ListProductReviewsParams, ListProductReviewsParamsSchema, ListStoreReviewsParams, ListStoreReviewsParamsSchema, ModifierDisplay, ModifierDisplaySchema, ModifierGroupItem, ModifierGroupItemSchema, ModifierOptionItem, ModifierOptionItemSchema, ModifierSelectionType, ModifierSelectionTypeSchema, NullableEntityIdSchema, OptionalEntityIdSchema, OrderDraft, OrderDraftCheckout, OrderDraftCheckoutSchema, OrderDraftItem, OrderDraftItemSchema, OrderDraftSchema, OrderPaymentInReview, OrderPaymentInReviewSchema, OrderPaymentMethod, OrderPaymentMethodSchema, OrderPaymentStart, OrderPaymentStartSchema, OrderReviewContext, OrderReviewContextItem, OrderReviewContextItemSchema, OrderReviewContextSchema, type OrderReviewRequestOptions, OrderStatusView, OrderStatusViewSchema, OrderStep, OrderStepSchema, PaymentAuthentication3DS, PaymentAuthentication3DSSchema, PaymentBankAccount, PaymentBankAccountSchema, PaymentPublicConfigurationSchema, ProductAutocompleteParams, ProductAutocompleteParamsSchema, ProductBySlugOptions, ProductDetail, ProductDetailSchema, ProductImage, ProductImageSchema, ProductMediaType, ProductMediaTypeSchema, ProductOptionGroup, ProductOptionGroupSchema, ProductPriceTier, ProductPriceTierSchema, ProductSeller, ProductSellerSchema, ProductSort, ProductSortSchema, ProductSuggestion, ProductSuggestionSchema, ProductSuggestionsSchema, ProductSummariesSchema, ProductSummary, ProductSummarySchema, ProductsParams, ProductsParamsInput, ProductsParamsSchema, ProductsResponse, ProductsResponseSchema, Province, ProvinceSchema, Provinces, ProvincesSchema, PublicOrderTracking, PublicOrderTrackingSchema, PutCartPaymentMethodParams, PutCartPaymentMethodParamsSchema, PutShippingMethodParams, PutShippingMethodParamsSchema, RelatedProductsParams, RelatedProductsParamsSchema, RemoveCartItemParams, RemoveCartItemParamsSchema, STOREFRONT_SETTINGS_SCHEMA_VERSION, SearchFilter, SearchFilterSchema, SellerLinkStyle, SellerLinkStyleSchema, SellerLinks, SellerLinksSchema, SellerProfile, SellerProfileSchema, SellerRating, SellerRatingSchema, SellerSummary, SellerSummarySchema, Sellers, SellersSchema, ShipmentTrackingEventSchema, ShippingMethodTargetSelection, ShippingMethodTargetSelectionSchema, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponse, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, SitemapItem, SitemapItemSchema, SitemapPage, SitemapPageSchema, SizeGuide, SizeGuideMeasurement, SizeGuideMeasurementSchema, SizeGuideRow, SizeGuideRowSchema, SizeGuideSchema, SpecItem, SpecItemSchema, SpecificationTypeSchema, type StartOrderPaymentInput, StoreBusinessSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreModel, StoreModelSchema, StoreSettingsSnapshotDto, StoreSettingsSnapshotDtoSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontAddress, StorefrontAddressSchema, StorefrontCart, StorefrontCartBundleItem, StorefrontCartBundleItemSchema, StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotals, StorefrontCartTotalsSchema, StorefrontCheckoutSettingsSchema, type StorefrontClient, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontInvoiceType, StorefrontInvoiceTypeSchema, type StorefrontLayout, StorefrontMenu, StorefrontMenuItem, StorefrontMenuItemSchema, StorefrontMenuSchema, StorefrontOrderBump, StorefrontOrderBumpSchema, StorefrontPaymentCodeSchema, StorefrontPaymentMethod, StorefrontPaymentMethodSchema, StorefrontPaymentMethods, StorefrontPaymentMethodsSchema, StorefrontReview, StorefrontReviewSchema, StorefrontReviews, StorefrontReviewsSchema, StorefrontSettings, StorefrontSettingsSchema, StorefrontStoreReview, StorefrontStoreReviewSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, TRACKING_STATUS_LABELS, type TrackingRequestOptions, UpdateCartItemQuantityParams, UpdateCartItemQuantityParamsSchema, type UploadOrderPaymentReceiptInput, UploadPaymentReceiptParams, UrlResolution, UrlResolutionOptions, UrlResolutionSchema, VariantItem, VariantItemSchema, addCartItem, addCartPromotionCode, authenticateOrderPayment, autocompleteProducts, catalogLinkCandidates, catalogLinkKey, checkoutCart, checkoutOrderDraft, completeCustomerRegistration, createApi, createCart, createClient, createComplaintBookEntry, createCustomerAddress, createProductReview, customerMeToProfile, customerMeToProfilePatch, customerOrderStatusTone, customerProfileToPatch, deleteCustomerAddress, embeddedVideo, formatCustomerOrderStatus, formatOrderDate, formatOrderDateTime, formatTrackingStatus, getArticleBySlug, getCart, getCartCheckout, getComplaintBook, getCountries, getCustomerAddresses, getCustomerMe, getCustomerOrder, getCustomerOrders, getCustomerRegistration, getDepartments, getDistricts, getMenuItems, getOrderDraft, getOrderReviewContext, getOrderStatus, getOrderTracking, getPageBySlug, getPaymentMethods, getProductBySlug, getProducts, getProvinces, getRelatedProducts, getSellerBySlug, getSellers, getShippingOptions, graphQLSelection, isCatalogLinkCandidate, lineTotal, lineUnitPrice, listArticles, listProductReviews, modifierLabel, modifiersUnitPrice, patchCartAddresses, patchCartBuyer, patchCustomer, putCartPaymentMethod, putCartShippingMethod, readCatalogLink, removeCartItem, removeCartPromotionCode, requestCustomerOrderCancellation, requestCustomerOrderReturn, resolveApiBaseUrl, sanitizeHtml, startOrderPayment, stripHtml, toCustomerSavedAddresses, updateCartItemQuantity, updateCustomerAddress, uploadOrderPaymentReceipt, uploadPaymentReceipt };
package/dist/index.d.ts CHANGED
@@ -13,8 +13,10 @@ import { CATALOG_LINK_ID, CATALOG_LINK_MAX_LENGTH, CatalogLink, CatalogLinkRefer
13
13
  import { StorefrontPaymentCodeSchema, StorefrontPaymentMethod, StorefrontPaymentMethodSchema, StorefrontPaymentMethods, StorefrontPaymentMethodsSchema } from "./models/payment-methods.js";
14
14
  import { Article, ArticleSchema, ArticleSummary, ArticleSummarySchema, ArticlesSchema, ListArticlesParams, ListArticlesParamsSchema } from "./models/articles.js";
15
15
  import { BundleItem, BundleItemSchema, FacetItem, FacetItemSchema, ProductBySlugOptions, ProductDetail, ProductDetailSchema, ProductImage, ProductImageSchema, ProductMediaType, ProductMediaTypeSchema, ProductOptionGroup, ProductOptionGroupSchema, ProductPriceTier, ProductPriceTierSchema, ProductSeller, ProductSellerSchema, ProductSort, ProductSortSchema, ProductSummariesSchema, ProductSummary, ProductSummarySchema, ProductsParams, ProductsParamsInput, ProductsParamsSchema, ProductsResponse, ProductsResponseSchema, RelatedProductsParams, RelatedProductsParamsSchema, SearchFilter, SearchFilterSchema, SizeGuide, SizeGuideMeasurement, SizeGuideMeasurementSchema, SizeGuideRow, SizeGuideRowSchema, SizeGuideSchema, SpecItem, SpecItemSchema, SpecificationTypeSchema, VariantItem, VariantItemSchema } from "./models/products.js";
16
+ import { ItemModifier, ItemModifierSchema, ModifierDisplay, ModifierDisplaySchema, ModifierGroupItem, ModifierGroupItemSchema, ModifierOptionItem, ModifierOptionItemSchema, ModifierSelectionType, ModifierSelectionTypeSchema } from "./models/personalization.js";
17
+ import { lineTotal, lineUnitPrice, modifierLabel, modifiersUnitPrice } from "./models/personalization-lines.js";
16
18
  import { ProductAutocompleteParams, ProductAutocompleteParamsSchema, ProductSuggestion, ProductSuggestionSchema, ProductSuggestionsSchema } from "./models/search.js";
17
- import { AddCartItemParams, AddCartItemParamsSchema, CartItemModifierSchema, CartShippingMethodTypeSchema, CreateCartParams, CreateCartParamsSchema, GetCartParams, GetCartParamsSchema, RemoveCartItemParams, RemoveCartItemParamsSchema, ShippingMethodTargetSelection, ShippingMethodTargetSelectionSchema, StorefrontAddress, StorefrontAddressSchema, StorefrontCart, StorefrontCartBundleItem, StorefrontCartBundleItemSchema, StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotals, StorefrontCartTotalsSchema, StorefrontInvoiceType, StorefrontInvoiceTypeSchema, UpdateCartItemQuantityParams, UpdateCartItemQuantityParamsSchema } from "./models/storefront-cart.js";
19
+ import { AddCartItemParams, AddCartItemParamsSchema, CartItemModifierInput, CartItemModifierOptionSchema, CartItemModifierSchema, CartShippingMethodTypeSchema, CreateCartParams, CreateCartParamsSchema, GetCartParams, GetCartParamsSchema, RemoveCartItemParams, RemoveCartItemParamsSchema, ShippingMethodTargetSelection, ShippingMethodTargetSelectionSchema, StorefrontAddress, StorefrontAddressSchema, StorefrontCart, StorefrontCartBundleItem, StorefrontCartBundleItemSchema, StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotals, StorefrontCartTotalsSchema, StorefrontInvoiceType, StorefrontInvoiceTypeSchema, UpdateCartItemQuantityParams, UpdateCartItemQuantityParamsSchema } from "./models/storefront-cart.js";
18
20
  import { CartAddressWrite, CartAddressWriteSchema, CartAddressesParams, CartAddressesParamsSchema, CartBuyerParams, CartBuyerParamsSchema, CartCheckoutParams, CartCheckoutParamsSchema, CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentMethod, CartCheckoutPaymentMethodSchema, CartCheckoutPaymentSchema, CartCheckoutReadParams, CartCheckoutReadParamsSchema, CartCheckoutReadResponse, CartCheckoutReadResponseSchema, CartCheckoutResponse, CartCheckoutResponseSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, CartPromotionCodeParams, CartPromotionCodeParamsSchema, CheckoutMetadataValue, CheckoutMetadataValueSchema, CheckoutMode, CheckoutModeSchema, CheckoutPaymentCharge, CheckoutPaymentChargeSchema, GetShippingOptionsParams, GetShippingOptionsParamsSchema, PaymentBankAccount, PaymentBankAccountSchema, PutCartPaymentMethodParams, PutCartPaymentMethodParamsSchema, PutShippingMethodParams, PutShippingMethodParamsSchema, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponse, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, StorefrontOrderBump, StorefrontOrderBumpSchema, UploadPaymentReceiptParams } from "./models/storefront-checkout.js";
19
21
  import { CreateCustomerProductReviewParams, CreateCustomerProductReviewParamsSchema, CreateProductReviewParams, CreateProductReviewParamsSchema, ListProductReviewsParams, ListProductReviewsParamsSchema, ListStoreReviewsParams, ListStoreReviewsParamsSchema, StorefrontReview, StorefrontReviewSchema, StorefrontReviews, StorefrontReviewsSchema, StorefrontStoreReview, StorefrontStoreReviewSchema } from "./models/storefront-reviews.js";
20
22
  import { Countries, CountriesSchema, Country, CountrySchema, Department, DepartmentSchema, Departments, DepartmentsSchema, District, DistrictSchema, Districts, DistrictsSchema, GeoDivision, GeoDivisionSchema, GeoDivisionType, GeoDivisionTypeSchema, GetDepartmentsParams, GetDepartmentsParamsParsed, GetDepartmentsParamsSchema, GetDistrictsParams, GetDistrictsParamsParsed, GetDistrictsParamsSchema, GetProvincesParams, GetProvincesParamsParsed, GetProvincesParamsSchema, Province, ProvinceSchema, Provinces, ProvincesSchema } from "./models/geo.js";
@@ -50,4 +52,4 @@ import { getPageBySlug } from "./services/page.service.js";
50
52
  import { getArticleBySlug, listArticles } from "./services/article.service.js";
51
53
  import { sanitizeHtml, stripHtml } from "./utils.js";
52
54
  import { EmbeddedVideo, embeddedVideo } from "./video-links.js";
53
- export { AddCartItemParams, AddCartItemParamsSchema, type Api, ApiError, Article, ArticleSchema, ArticleSummary, ArticleSummarySchema, ArticlesSchema, AuthenticateOrderPaymentInput, AuthenticateOrderPaymentInputSchema, BundleItem, BundleItemSchema, CATALOG_LINK_ID, CATALOG_LINK_MAX_LENGTH, COMPLAINT_BOOK_ATTACHMENT_TYPES, COMPLAINT_BOOK_MAX_ATTACHMENTS, COMPLAINT_BOOK_MAX_ATTACHMENT_BYTES, CartAddressWrite, CartAddressWriteSchema, CartAddressesParams, CartAddressesParamsSchema, CartBuyerParams, CartBuyerParamsSchema, CartCheckoutParams, CartCheckoutParamsSchema, CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentMethod, CartCheckoutPaymentMethodSchema, CartCheckoutPaymentSchema, CartCheckoutReadParams, CartCheckoutReadParamsSchema, CartCheckoutReadResponse, CartCheckoutReadResponseSchema, CartCheckoutResponse, CartCheckoutResponseSchema, CartItemModifierSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, CartPromotionCodeParams, CartPromotionCodeParamsSchema, CartShippingMethodTypeSchema, CartToken, CartTokenSchema, CatalogLink, CatalogLinkReference, CatalogLinkReferenceSchema, CatalogLinkSchema, CatalogLinksResponseSchema, CategoryAncestor, CategoryAncestorSchema, CategoryChild, CategoryChildSchema, CategoryDetail, CategoryDetailSchema, CategoryItem, CategoryItemSchema, CheckoutMetadataValue, CheckoutMetadataValueSchema, CheckoutMode, CheckoutModeSchema, CheckoutPaymentCharge, CheckoutPaymentChargeSchema, CmsBlockDto, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDto, CmsMenuDtoSchema, CmsMenuItem, CmsMenuItemSchema, CmsPageDetailsDto, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDto, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDto, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, Collection, CollectionSchema, Collections, CollectionsSchema, ComplaintBook, ComplaintBookDocumentType, ComplaintBookDocumentTypeSchema, ComplaintBookEntry, ComplaintBookEntryInput, ComplaintBookEntryInputSchema, ComplaintBookEntrySchema, ComplaintBookSchema, Countries, CountriesSchema, Country, CountrySchema, type CreateApiOptions, CreateCartParams, CreateCartParamsSchema, type CreateClientOptions, CreateCustomerProductReviewParams, CreateCustomerProductReviewParamsSchema, CreateProductReviewParams, CreateProductReviewParamsSchema, CustomerAddress, type CustomerAddressCreated, CustomerAddressCreatedSchema, type CustomerAddressRequestOptions, CustomerAddressSchema, CustomerAddressUpsertInput, CustomerAddressUpsertInputSchema, CustomerAddresses, CustomerAddressesSchema, CustomerAuthConfiguration, CustomerAuthConfigurationSchema, CustomerMe, CustomerMeSchema, type CustomerOrderCancellationInput, CustomerOrderDetail, CustomerOrderDetailSchema, CustomerOrderLineItem, CustomerOrderLineItemSchema, CustomerOrderList, CustomerOrderListItem, CustomerOrderListItemSchema, type CustomerOrderListOptions, CustomerOrderListSchema, CustomerOrderPage, CustomerOrderPageSchema, CustomerOrderPayment, CustomerOrderPaymentSchema, type CustomerOrderRequestOptions, type CustomerOrderReturnInput, CustomerOrderShipment, CustomerOrderShipmentSchema, CustomerOrderShippingAddress, CustomerOrderShippingAddressSchema, type CustomerOrderStatusFilter, CustomerOrderStatusTimelineEntry, CustomerOrderStatusTimelineSchema, CustomerProfile, CustomerProfilePatch, CustomerProfilePatchSchema, CustomerProfileSchema, CustomerRegistration, CustomerRegistrationFieldModeSchema, CustomerRegistrationFields, CustomerRegistrationFieldsSchema, CustomerRegistrationInput, CustomerRegistrationInputSchema, CustomerRegistrationSchema, type CustomerRequestOptions, CustomerSavedAddress, CustomerSession, CustomerSessionCreate, CustomerSessionCreateSchema, CustomerSessionCreated, CustomerSessionCreatedSchema, CustomerSessionProfileSchema, CustomerSessionSchema, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, Department, DepartmentSchema, Departments, DepartmentsSchema, District, DistrictSchema, Districts, DistrictsSchema, EmbeddedVideo, EntityId, EntityIdSchema, FacetItem, FacetItemSchema, GeoDivision, GeoDivisionSchema, GeoDivisionType, GeoDivisionTypeSchema, GetCartParams, GetCartParamsSchema, GetDepartmentsParams, GetDepartmentsParamsParsed, GetDepartmentsParamsSchema, GetDistrictsParams, GetDistrictsParamsParsed, GetDistrictsParamsSchema, GetProvincesParams, GetProvincesParamsParsed, GetProvincesParamsSchema, GetShippingOptionsParams, GetShippingOptionsParamsSchema, type GraphQLError, type GraphQLRequestOptions, GraphQLResponseError, type GraphQLVariables, JsonElement, JsonElementSchema, ListArticlesParams, ListArticlesParamsSchema, ListProductReviewsParams, ListProductReviewsParamsSchema, ListStoreReviewsParams, ListStoreReviewsParamsSchema, NullableEntityIdSchema, OptionalEntityIdSchema, OrderDraft, OrderDraftCheckout, OrderDraftCheckoutSchema, OrderDraftItem, OrderDraftItemSchema, OrderDraftSchema, OrderPaymentInReview, OrderPaymentInReviewSchema, OrderPaymentMethod, OrderPaymentMethodSchema, OrderPaymentStart, OrderPaymentStartSchema, OrderReviewContext, OrderReviewContextItem, OrderReviewContextItemSchema, OrderReviewContextSchema, type OrderReviewRequestOptions, OrderStatusView, OrderStatusViewSchema, OrderStep, OrderStepSchema, PaymentAuthentication3DS, PaymentAuthentication3DSSchema, PaymentBankAccount, PaymentBankAccountSchema, PaymentPublicConfigurationSchema, ProductAutocompleteParams, ProductAutocompleteParamsSchema, ProductBySlugOptions, ProductDetail, ProductDetailSchema, ProductImage, ProductImageSchema, ProductMediaType, ProductMediaTypeSchema, ProductOptionGroup, ProductOptionGroupSchema, ProductPriceTier, ProductPriceTierSchema, ProductSeller, ProductSellerSchema, ProductSort, ProductSortSchema, ProductSuggestion, ProductSuggestionSchema, ProductSuggestionsSchema, ProductSummariesSchema, ProductSummary, ProductSummarySchema, ProductsParams, ProductsParamsInput, ProductsParamsSchema, ProductsResponse, ProductsResponseSchema, Province, ProvinceSchema, Provinces, ProvincesSchema, PublicOrderTracking, PublicOrderTrackingSchema, PutCartPaymentMethodParams, PutCartPaymentMethodParamsSchema, PutShippingMethodParams, PutShippingMethodParamsSchema, RelatedProductsParams, RelatedProductsParamsSchema, RemoveCartItemParams, RemoveCartItemParamsSchema, STOREFRONT_SETTINGS_SCHEMA_VERSION, SearchFilter, SearchFilterSchema, SellerLinkStyle, SellerLinkStyleSchema, SellerLinks, SellerLinksSchema, SellerProfile, SellerProfileSchema, SellerRating, SellerRatingSchema, SellerSummary, SellerSummarySchema, Sellers, SellersSchema, ShipmentTrackingEventSchema, ShippingMethodTargetSelection, ShippingMethodTargetSelectionSchema, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponse, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, SitemapItem, SitemapItemSchema, SitemapPage, SitemapPageSchema, SizeGuide, SizeGuideMeasurement, SizeGuideMeasurementSchema, SizeGuideRow, SizeGuideRowSchema, SizeGuideSchema, SpecItem, SpecItemSchema, SpecificationTypeSchema, type StartOrderPaymentInput, StoreBusinessSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreModel, StoreModelSchema, StoreSettingsSnapshotDto, StoreSettingsSnapshotDtoSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontAddress, StorefrontAddressSchema, StorefrontCart, StorefrontCartBundleItem, StorefrontCartBundleItemSchema, StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotals, StorefrontCartTotalsSchema, StorefrontCheckoutSettingsSchema, type StorefrontClient, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontInvoiceType, StorefrontInvoiceTypeSchema, type StorefrontLayout, StorefrontMenu, StorefrontMenuItem, StorefrontMenuItemSchema, StorefrontMenuSchema, StorefrontOrderBump, StorefrontOrderBumpSchema, StorefrontPaymentCodeSchema, StorefrontPaymentMethod, StorefrontPaymentMethodSchema, StorefrontPaymentMethods, StorefrontPaymentMethodsSchema, StorefrontReview, StorefrontReviewSchema, StorefrontReviews, StorefrontReviewsSchema, StorefrontSettings, StorefrontSettingsSchema, StorefrontStoreReview, StorefrontStoreReviewSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, TRACKING_STATUS_LABELS, type TrackingRequestOptions, UpdateCartItemQuantityParams, UpdateCartItemQuantityParamsSchema, type UploadOrderPaymentReceiptInput, UploadPaymentReceiptParams, UrlResolution, UrlResolutionOptions, UrlResolutionSchema, VariantItem, VariantItemSchema, addCartItem, addCartPromotionCode, authenticateOrderPayment, autocompleteProducts, catalogLinkCandidates, catalogLinkKey, checkoutCart, checkoutOrderDraft, completeCustomerRegistration, createApi, createCart, createClient, createComplaintBookEntry, createCustomerAddress, createProductReview, customerMeToProfile, customerMeToProfilePatch, customerOrderStatusTone, customerProfileToPatch, deleteCustomerAddress, embeddedVideo, formatCustomerOrderStatus, formatOrderDate, formatOrderDateTime, formatTrackingStatus, getArticleBySlug, getCart, getCartCheckout, getComplaintBook, getCountries, getCustomerAddresses, getCustomerMe, getCustomerOrder, getCustomerOrders, getCustomerRegistration, getDepartments, getDistricts, getMenuItems, getOrderDraft, getOrderReviewContext, getOrderStatus, getOrderTracking, getPageBySlug, getPaymentMethods, getProductBySlug, getProducts, getProvinces, getRelatedProducts, getSellerBySlug, getSellers, getShippingOptions, graphQLSelection, isCatalogLinkCandidate, listArticles, listProductReviews, patchCartAddresses, patchCartBuyer, patchCustomer, putCartPaymentMethod, putCartShippingMethod, readCatalogLink, removeCartItem, removeCartPromotionCode, requestCustomerOrderCancellation, requestCustomerOrderReturn, resolveApiBaseUrl, sanitizeHtml, startOrderPayment, stripHtml, toCustomerSavedAddresses, updateCartItemQuantity, updateCustomerAddress, uploadOrderPaymentReceipt, uploadPaymentReceipt };
55
+ export { AddCartItemParams, AddCartItemParamsSchema, type Api, ApiError, Article, ArticleSchema, ArticleSummary, ArticleSummarySchema, ArticlesSchema, AuthenticateOrderPaymentInput, AuthenticateOrderPaymentInputSchema, BundleItem, BundleItemSchema, CATALOG_LINK_ID, CATALOG_LINK_MAX_LENGTH, COMPLAINT_BOOK_ATTACHMENT_TYPES, COMPLAINT_BOOK_MAX_ATTACHMENTS, COMPLAINT_BOOK_MAX_ATTACHMENT_BYTES, CartAddressWrite, CartAddressWriteSchema, CartAddressesParams, CartAddressesParamsSchema, CartBuyerParams, CartBuyerParamsSchema, CartCheckoutParams, CartCheckoutParamsSchema, CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentMethod, CartCheckoutPaymentMethodSchema, CartCheckoutPaymentSchema, CartCheckoutReadParams, CartCheckoutReadParamsSchema, CartCheckoutReadResponse, CartCheckoutReadResponseSchema, CartCheckoutResponse, CartCheckoutResponseSchema, CartItemModifierInput, CartItemModifierOptionSchema, CartItemModifierSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, CartPromotionCodeParams, CartPromotionCodeParamsSchema, CartShippingMethodTypeSchema, CartToken, CartTokenSchema, CatalogLink, CatalogLinkReference, CatalogLinkReferenceSchema, CatalogLinkSchema, CatalogLinksResponseSchema, CategoryAncestor, CategoryAncestorSchema, CategoryChild, CategoryChildSchema, CategoryDetail, CategoryDetailSchema, CategoryItem, CategoryItemSchema, CheckoutMetadataValue, CheckoutMetadataValueSchema, CheckoutMode, CheckoutModeSchema, CheckoutPaymentCharge, CheckoutPaymentChargeSchema, CmsBlockDto, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDto, CmsMenuDtoSchema, CmsMenuItem, CmsMenuItemSchema, CmsPageDetailsDto, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDto, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDto, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, Collection, CollectionSchema, Collections, CollectionsSchema, ComplaintBook, ComplaintBookDocumentType, ComplaintBookDocumentTypeSchema, ComplaintBookEntry, ComplaintBookEntryInput, ComplaintBookEntryInputSchema, ComplaintBookEntrySchema, ComplaintBookSchema, Countries, CountriesSchema, Country, CountrySchema, type CreateApiOptions, CreateCartParams, CreateCartParamsSchema, type CreateClientOptions, CreateCustomerProductReviewParams, CreateCustomerProductReviewParamsSchema, CreateProductReviewParams, CreateProductReviewParamsSchema, CustomerAddress, type CustomerAddressCreated, CustomerAddressCreatedSchema, type CustomerAddressRequestOptions, CustomerAddressSchema, CustomerAddressUpsertInput, CustomerAddressUpsertInputSchema, CustomerAddresses, CustomerAddressesSchema, CustomerAuthConfiguration, CustomerAuthConfigurationSchema, CustomerMe, CustomerMeSchema, type CustomerOrderCancellationInput, CustomerOrderDetail, CustomerOrderDetailSchema, CustomerOrderLineItem, CustomerOrderLineItemSchema, CustomerOrderList, CustomerOrderListItem, CustomerOrderListItemSchema, type CustomerOrderListOptions, CustomerOrderListSchema, CustomerOrderPage, CustomerOrderPageSchema, CustomerOrderPayment, CustomerOrderPaymentSchema, type CustomerOrderRequestOptions, type CustomerOrderReturnInput, CustomerOrderShipment, CustomerOrderShipmentSchema, CustomerOrderShippingAddress, CustomerOrderShippingAddressSchema, type CustomerOrderStatusFilter, CustomerOrderStatusTimelineEntry, CustomerOrderStatusTimelineSchema, CustomerProfile, CustomerProfilePatch, CustomerProfilePatchSchema, CustomerProfileSchema, CustomerRegistration, CustomerRegistrationFieldModeSchema, CustomerRegistrationFields, CustomerRegistrationFieldsSchema, CustomerRegistrationInput, CustomerRegistrationInputSchema, CustomerRegistrationSchema, type CustomerRequestOptions, CustomerSavedAddress, CustomerSession, CustomerSessionCreate, CustomerSessionCreateSchema, CustomerSessionCreated, CustomerSessionCreatedSchema, CustomerSessionProfileSchema, CustomerSessionSchema, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, Department, DepartmentSchema, Departments, DepartmentsSchema, District, DistrictSchema, Districts, DistrictsSchema, EmbeddedVideo, EntityId, EntityIdSchema, FacetItem, FacetItemSchema, GeoDivision, GeoDivisionSchema, GeoDivisionType, GeoDivisionTypeSchema, GetCartParams, GetCartParamsSchema, GetDepartmentsParams, GetDepartmentsParamsParsed, GetDepartmentsParamsSchema, GetDistrictsParams, GetDistrictsParamsParsed, GetDistrictsParamsSchema, GetProvincesParams, GetProvincesParamsParsed, GetProvincesParamsSchema, GetShippingOptionsParams, GetShippingOptionsParamsSchema, type GraphQLError, type GraphQLRequestOptions, GraphQLResponseError, type GraphQLVariables, ItemModifier, ItemModifierSchema, JsonElement, JsonElementSchema, ListArticlesParams, ListArticlesParamsSchema, ListProductReviewsParams, ListProductReviewsParamsSchema, ListStoreReviewsParams, ListStoreReviewsParamsSchema, ModifierDisplay, ModifierDisplaySchema, ModifierGroupItem, ModifierGroupItemSchema, ModifierOptionItem, ModifierOptionItemSchema, ModifierSelectionType, ModifierSelectionTypeSchema, NullableEntityIdSchema, OptionalEntityIdSchema, OrderDraft, OrderDraftCheckout, OrderDraftCheckoutSchema, OrderDraftItem, OrderDraftItemSchema, OrderDraftSchema, OrderPaymentInReview, OrderPaymentInReviewSchema, OrderPaymentMethod, OrderPaymentMethodSchema, OrderPaymentStart, OrderPaymentStartSchema, OrderReviewContext, OrderReviewContextItem, OrderReviewContextItemSchema, OrderReviewContextSchema, type OrderReviewRequestOptions, OrderStatusView, OrderStatusViewSchema, OrderStep, OrderStepSchema, PaymentAuthentication3DS, PaymentAuthentication3DSSchema, PaymentBankAccount, PaymentBankAccountSchema, PaymentPublicConfigurationSchema, ProductAutocompleteParams, ProductAutocompleteParamsSchema, ProductBySlugOptions, ProductDetail, ProductDetailSchema, ProductImage, ProductImageSchema, ProductMediaType, ProductMediaTypeSchema, ProductOptionGroup, ProductOptionGroupSchema, ProductPriceTier, ProductPriceTierSchema, ProductSeller, ProductSellerSchema, ProductSort, ProductSortSchema, ProductSuggestion, ProductSuggestionSchema, ProductSuggestionsSchema, ProductSummariesSchema, ProductSummary, ProductSummarySchema, ProductsParams, ProductsParamsInput, ProductsParamsSchema, ProductsResponse, ProductsResponseSchema, Province, ProvinceSchema, Provinces, ProvincesSchema, PublicOrderTracking, PublicOrderTrackingSchema, PutCartPaymentMethodParams, PutCartPaymentMethodParamsSchema, PutShippingMethodParams, PutShippingMethodParamsSchema, RelatedProductsParams, RelatedProductsParamsSchema, RemoveCartItemParams, RemoveCartItemParamsSchema, STOREFRONT_SETTINGS_SCHEMA_VERSION, SearchFilter, SearchFilterSchema, SellerLinkStyle, SellerLinkStyleSchema, SellerLinks, SellerLinksSchema, SellerProfile, SellerProfileSchema, SellerRating, SellerRatingSchema, SellerSummary, SellerSummarySchema, Sellers, SellersSchema, ShipmentTrackingEventSchema, ShippingMethodTargetSelection, ShippingMethodTargetSelectionSchema, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponse, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, SitemapItem, SitemapItemSchema, SitemapPage, SitemapPageSchema, SizeGuide, SizeGuideMeasurement, SizeGuideMeasurementSchema, SizeGuideRow, SizeGuideRowSchema, SizeGuideSchema, SpecItem, SpecItemSchema, SpecificationTypeSchema, type StartOrderPaymentInput, StoreBusinessSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreModel, StoreModelSchema, StoreSettingsSnapshotDto, StoreSettingsSnapshotDtoSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontAddress, StorefrontAddressSchema, StorefrontCart, StorefrontCartBundleItem, StorefrontCartBundleItemSchema, StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotals, StorefrontCartTotalsSchema, StorefrontCheckoutSettingsSchema, type StorefrontClient, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontInvoiceType, StorefrontInvoiceTypeSchema, type StorefrontLayout, StorefrontMenu, StorefrontMenuItem, StorefrontMenuItemSchema, StorefrontMenuSchema, StorefrontOrderBump, StorefrontOrderBumpSchema, StorefrontPaymentCodeSchema, StorefrontPaymentMethod, StorefrontPaymentMethodSchema, StorefrontPaymentMethods, StorefrontPaymentMethodsSchema, StorefrontReview, StorefrontReviewSchema, StorefrontReviews, StorefrontReviewsSchema, StorefrontSettings, StorefrontSettingsSchema, StorefrontStoreReview, StorefrontStoreReviewSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, TRACKING_STATUS_LABELS, type TrackingRequestOptions, UpdateCartItemQuantityParams, UpdateCartItemQuantityParamsSchema, type UploadOrderPaymentReceiptInput, UploadPaymentReceiptParams, UrlResolution, UrlResolutionOptions, UrlResolutionSchema, VariantItem, VariantItemSchema, addCartItem, addCartPromotionCode, authenticateOrderPayment, autocompleteProducts, catalogLinkCandidates, catalogLinkKey, checkoutCart, checkoutOrderDraft, completeCustomerRegistration, createApi, createCart, createClient, createComplaintBookEntry, createCustomerAddress, createProductReview, customerMeToProfile, customerMeToProfilePatch, customerOrderStatusTone, customerProfileToPatch, deleteCustomerAddress, embeddedVideo, formatCustomerOrderStatus, formatOrderDate, formatOrderDateTime, formatTrackingStatus, getArticleBySlug, getCart, getCartCheckout, getComplaintBook, getCountries, getCustomerAddresses, getCustomerMe, getCustomerOrder, getCustomerOrders, getCustomerRegistration, getDepartments, getDistricts, getMenuItems, getOrderDraft, getOrderReviewContext, getOrderStatus, getOrderTracking, getPageBySlug, getPaymentMethods, getProductBySlug, getProducts, getProvinces, getRelatedProducts, getSellerBySlug, getSellers, getShippingOptions, graphQLSelection, isCatalogLinkCandidate, lineTotal, lineUnitPrice, listArticles, listProductReviews, modifierLabel, modifiersUnitPrice, patchCartAddresses, patchCartBuyer, patchCustomer, putCartPaymentMethod, putCartShippingMethod, readCatalogLink, removeCartItem, removeCartPromotionCode, requestCustomerOrderCancellation, requestCustomerOrderReturn, resolveApiBaseUrl, sanitizeHtml, startOrderPayment, stripHtml, toCustomerSavedAddresses, updateCartItemQuantity, updateCustomerAddress, uploadOrderPaymentReceipt, uploadPaymentReceipt };
package/dist/index.js CHANGED
@@ -12,8 +12,10 @@ import { CATALOG_LINK_ID, CATALOG_LINK_MAX_LENGTH, CatalogLinkReferenceSchema, C
12
12
  import { StorefrontPaymentCodeSchema, StorefrontPaymentMethodSchema, StorefrontPaymentMethodsSchema } from "./models/payment-methods--VUUZpMz.js";
13
13
  import { ArticleSchema, ArticleSummarySchema, ArticlesSchema, ListArticlesParamsSchema } from "./models/articles-C-4JvT2Z.js";
14
14
  import { BundleItemSchema, FacetItemSchema, ProductDetailSchema, ProductImageSchema, ProductMediaTypeSchema, ProductOptionGroupSchema, ProductPriceTierSchema, ProductSellerSchema, ProductSortSchema, ProductSummariesSchema, ProductSummarySchema, ProductsParamsSchema, ProductsResponseSchema, RelatedProductsParamsSchema, SearchFilterSchema, SizeGuideMeasurementSchema, SizeGuideRowSchema, SizeGuideSchema, SpecItemSchema, SpecificationTypeSchema, VariantItemSchema } from "./models/products.js";
15
+ import { ItemModifierSchema, ModifierDisplaySchema, ModifierGroupItemSchema, ModifierOptionItemSchema, ModifierSelectionTypeSchema } from "./models/personalization-CdwIzzSn.js";
16
+ import { lineTotal, lineUnitPrice, modifierLabel, modifiersUnitPrice } from "./models/personalization-lines-DigNu6OK.js";
15
17
  import { ProductAutocompleteParamsSchema, ProductSuggestionSchema, ProductSuggestionsSchema } from "./models/search.js";
16
- import { AddCartItemParamsSchema, CartItemModifierSchema, CartShippingMethodTypeSchema, CreateCartParamsSchema, GetCartParamsSchema, RemoveCartItemParamsSchema, ShippingMethodTargetSelectionSchema, StorefrontAddressSchema, StorefrontCartBundleItemSchema, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotalsSchema, StorefrontInvoiceTypeSchema, UpdateCartItemQuantityParamsSchema } from "./models/storefront-cart.js";
18
+ import { AddCartItemParamsSchema, CartItemModifierOptionSchema, CartItemModifierSchema, CartShippingMethodTypeSchema, CreateCartParamsSchema, GetCartParamsSchema, RemoveCartItemParamsSchema, ShippingMethodTargetSelectionSchema, StorefrontAddressSchema, StorefrontCartBundleItemSchema, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotalsSchema, StorefrontInvoiceTypeSchema, UpdateCartItemQuantityParamsSchema } from "./models/storefront-cart.js";
17
19
  import { CartAddressWriteSchema, CartAddressesParamsSchema, CartBuyerParamsSchema, CartCheckoutParamsSchema, CartCheckoutPaymentActionSchema, CartCheckoutPaymentMethodSchema, CartCheckoutPaymentSchema, CartCheckoutReadParamsSchema, CartCheckoutReadResponseSchema, CartCheckoutResponseSchema, CartPaymentMethodSchema, CartPaymentReceiptResponseSchema, CartPromotionCodeParamsSchema, CheckoutMetadataValueSchema, CheckoutModeSchema, CheckoutPaymentChargeSchema, GetShippingOptionsParamsSchema, PaymentBankAccountSchema, PutCartPaymentMethodParamsSchema, PutShippingMethodParamsSchema, ShippingOptionGroupSchema, ShippingOptionsResponseSchema, ShippingRateSchema, StorefrontOrderBumpSchema } from "./models/storefront-checkout.js";
18
20
  import { CreateCustomerProductReviewParamsSchema, CreateProductReviewParamsSchema, ListProductReviewsParamsSchema, ListStoreReviewsParamsSchema, StorefrontReviewSchema, StorefrontReviewsSchema, StorefrontStoreReviewSchema } from "./models/storefront-reviews.js";
19
21
  import { CountriesSchema, CountrySchema, DepartmentSchema, DepartmentsSchema, DistrictSchema, DistrictsSchema, GeoDivisionSchema, GeoDivisionTypeSchema, GetDepartmentsParamsSchema, GetDistrictsParamsSchema, GetProvincesParamsSchema, ProvinceSchema, ProvincesSchema } from "./models/geo.js";
@@ -41,12 +43,12 @@ import { OrderReviewContextItemSchema, OrderReviewContextSchema } from "./models
41
43
  import { getOrderReviewContext } from "./services/order-review.service-PdBPUsxE.js";
42
44
  import { AuthenticateOrderPaymentInputSchema, OrderPaymentInReviewSchema, OrderPaymentMethodSchema, OrderPaymentStartSchema, OrderStatusViewSchema, PaymentAuthentication3DSSchema, PaymentPublicConfigurationSchema } from "./models/order-status-CgaLkU0M.js";
43
45
  import { authenticateOrderPayment, getOrderStatus, startOrderPayment, uploadOrderPaymentReceipt } from "./services/order-status.service-MC9hVpP-.js";
44
- import { OrderDraftCheckoutSchema, OrderDraftItemSchema, OrderDraftSchema } from "./models/order-draft-CnHJ0btL.js";
45
- import { checkoutOrderDraft, getOrderDraft } from "./services/order-draft.service-DYPR_pcV.js";
46
+ import { OrderDraftCheckoutSchema, OrderDraftItemSchema, OrderDraftSchema } from "./models/order-draft-DhEKDqI8.js";
47
+ import { checkoutOrderDraft, getOrderDraft } from "./services/order-draft.service-DHhae1Ct.js";
46
48
  import { COMPLAINT_BOOK_ATTACHMENT_TYPES, COMPLAINT_BOOK_MAX_ATTACHMENTS, COMPLAINT_BOOK_MAX_ATTACHMENT_BYTES, ComplaintBookDocumentTypeSchema, ComplaintBookEntryInputSchema, ComplaintBookEntrySchema, ComplaintBookSchema } from "./models/complaint-book-QpQZe7Xl.js";
47
49
  import { createComplaintBookEntry, getComplaintBook } from "./services/complaint-book.service-DXiVyKdD.js";
48
50
  import { getPageBySlug } from "./services/page.service-CWhWCjMQ.js";
49
51
  import { getArticleBySlug, listArticles } from "./services/article.service-DBsOvflH.js";
50
52
  import { sanitizeHtml, stripHtml } from "./utils-DK7qa54o.js";
51
53
  import { embeddedVideo } from "./video-links-CbRO0m8V.js";
52
- export { AddCartItemParamsSchema, ApiError, ArticleSchema, ArticleSummarySchema, ArticlesSchema, AuthenticateOrderPaymentInputSchema, BundleItemSchema, CATALOG_LINK_ID, CATALOG_LINK_MAX_LENGTH, COMPLAINT_BOOK_ATTACHMENT_TYPES, COMPLAINT_BOOK_MAX_ATTACHMENTS, COMPLAINT_BOOK_MAX_ATTACHMENT_BYTES, CartAddressWriteSchema, CartAddressesParamsSchema, CartBuyerParamsSchema, CartCheckoutParamsSchema, CartCheckoutPaymentActionSchema, CartCheckoutPaymentMethodSchema, CartCheckoutPaymentSchema, CartCheckoutReadParamsSchema, CartCheckoutReadResponseSchema, CartCheckoutResponseSchema, CartItemModifierSchema, CartPaymentMethodSchema, CartPaymentReceiptResponseSchema, CartPromotionCodeParamsSchema, CartShippingMethodTypeSchema, CartTokenSchema, CatalogLinkReferenceSchema, CatalogLinkSchema, CatalogLinksResponseSchema, CategoryAncestorSchema, CategoryChildSchema, CategoryDetailSchema, CategoryItemSchema, CheckoutMetadataValueSchema, CheckoutModeSchema, CheckoutPaymentChargeSchema, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDtoSchema, CmsMenuItemSchema, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, CollectionSchema, CollectionsSchema, ComplaintBookDocumentTypeSchema, ComplaintBookEntryInputSchema, ComplaintBookEntrySchema, ComplaintBookSchema, CountriesSchema, CountrySchema, CreateCartParamsSchema, CreateCustomerProductReviewParamsSchema, CreateProductReviewParamsSchema, CustomerAddressCreatedSchema, CustomerAddressSchema, CustomerAddressUpsertInputSchema, CustomerAddressesSchema, CustomerAuthConfigurationSchema, CustomerMeSchema, CustomerOrderDetailSchema, CustomerOrderLineItemSchema, CustomerOrderListItemSchema, CustomerOrderListSchema, CustomerOrderPageSchema, CustomerOrderPaymentSchema, CustomerOrderShipmentSchema, CustomerOrderShippingAddressSchema, CustomerOrderStatusTimelineSchema, CustomerProfilePatchSchema, CustomerProfileSchema, CustomerRegistrationFieldModeSchema, CustomerRegistrationFieldsSchema, CustomerRegistrationInputSchema, CustomerRegistrationSchema, CustomerSessionCreateSchema, CustomerSessionCreatedSchema, CustomerSessionProfileSchema, CustomerSessionSchema, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, DepartmentSchema, DepartmentsSchema, DistrictSchema, DistrictsSchema, EntityIdSchema, FacetItemSchema, GeoDivisionSchema, GeoDivisionTypeSchema, GetCartParamsSchema, GetDepartmentsParamsSchema, GetDistrictsParamsSchema, GetProvincesParamsSchema, GetShippingOptionsParamsSchema, GraphQLResponseError, JsonElementSchema, ListArticlesParamsSchema, ListProductReviewsParamsSchema, ListStoreReviewsParamsSchema, NullableEntityIdSchema, OptionalEntityIdSchema, OrderDraftCheckoutSchema, OrderDraftItemSchema, OrderDraftSchema, OrderPaymentInReviewSchema, OrderPaymentMethodSchema, OrderPaymentStartSchema, OrderReviewContextItemSchema, OrderReviewContextSchema, OrderStatusViewSchema, OrderStepSchema, PaymentAuthentication3DSSchema, PaymentBankAccountSchema, PaymentPublicConfigurationSchema, ProductAutocompleteParamsSchema, ProductDetailSchema, ProductImageSchema, ProductMediaTypeSchema, ProductOptionGroupSchema, ProductPriceTierSchema, ProductSellerSchema, ProductSortSchema, ProductSuggestionSchema, ProductSuggestionsSchema, ProductSummariesSchema, ProductSummarySchema, ProductsParamsSchema, ProductsResponseSchema, ProvinceSchema, ProvincesSchema, PublicOrderTrackingSchema, PutCartPaymentMethodParamsSchema, PutShippingMethodParamsSchema, RelatedProductsParamsSchema, RemoveCartItemParamsSchema, STOREFRONT_SETTINGS_SCHEMA_VERSION, SearchFilterSchema, SellerLinkStyleSchema, SellerLinksSchema, SellerProfileSchema, SellerRatingSchema, SellerSummarySchema, SellersSchema, ShipmentTrackingEventSchema, ShippingMethodTargetSelectionSchema, ShippingOptionGroupSchema, ShippingOptionsResponseSchema, ShippingRateSchema, SitemapItemSchema, SitemapPageSchema, SizeGuideMeasurementSchema, SizeGuideRowSchema, SizeGuideSchema, SpecItemSchema, SpecificationTypeSchema, StoreBusinessSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreModelSchema, StoreSettingsSnapshotDtoSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontAddressSchema, StorefrontCartBundleItemSchema, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotalsSchema, StorefrontCheckoutSettingsSchema, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontInvoiceTypeSchema, StorefrontMenuItemSchema, StorefrontMenuSchema, StorefrontOrderBumpSchema, StorefrontPaymentCodeSchema, StorefrontPaymentMethodSchema, StorefrontPaymentMethodsSchema, StorefrontReviewSchema, StorefrontReviewsSchema, StorefrontSettingsSchema, StorefrontStoreReviewSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, TRACKING_STATUS_LABELS, UpdateCartItemQuantityParamsSchema, UrlResolutionSchema, VariantItemSchema, addCartItem, addCartPromotionCode, authenticateOrderPayment, autocompleteProducts, catalogLinkCandidates, catalogLinkKey, checkoutCart, checkoutOrderDraft, completeCustomerRegistration, createApi, createCart, createClient, createComplaintBookEntry, createCustomerAddress, createProductReview, customerMeToProfile, customerMeToProfilePatch, customerOrderStatusTone, customerProfileToPatch, deleteCustomerAddress, embeddedVideo, formatCustomerOrderStatus, formatOrderDate, formatOrderDateTime, formatTrackingStatus, getArticleBySlug, getCart, getCartCheckout, getComplaintBook, getCountries, getCustomerAddresses, getCustomerMe, getCustomerOrder, getCustomerOrders, getCustomerRegistration, getDepartments, getDistricts, getMenuItems, getOrderDraft, getOrderReviewContext, getOrderStatus, getOrderTracking, getPageBySlug, getPaymentMethods, getProductBySlug, getProducts, getProvinces, getRelatedProducts, getSellerBySlug, getSellers, getShippingOptions, graphQLSelection, isCatalogLinkCandidate, listArticles, listProductReviews, patchCartAddresses, patchCartBuyer, patchCustomer, putCartPaymentMethod, putCartShippingMethod, readCatalogLink, removeCartItem, removeCartPromotionCode, requestCustomerOrderCancellation, requestCustomerOrderReturn, resolveApiBaseUrl, sanitizeHtml, startOrderPayment, stripHtml, toCustomerSavedAddresses, updateCartItemQuantity, updateCustomerAddress, uploadOrderPaymentReceipt, uploadPaymentReceipt };
54
+ export { AddCartItemParamsSchema, ApiError, ArticleSchema, ArticleSummarySchema, ArticlesSchema, AuthenticateOrderPaymentInputSchema, BundleItemSchema, CATALOG_LINK_ID, CATALOG_LINK_MAX_LENGTH, COMPLAINT_BOOK_ATTACHMENT_TYPES, COMPLAINT_BOOK_MAX_ATTACHMENTS, COMPLAINT_BOOK_MAX_ATTACHMENT_BYTES, CartAddressWriteSchema, CartAddressesParamsSchema, CartBuyerParamsSchema, CartCheckoutParamsSchema, CartCheckoutPaymentActionSchema, CartCheckoutPaymentMethodSchema, CartCheckoutPaymentSchema, CartCheckoutReadParamsSchema, CartCheckoutReadResponseSchema, CartCheckoutResponseSchema, CartItemModifierOptionSchema, CartItemModifierSchema, CartPaymentMethodSchema, CartPaymentReceiptResponseSchema, CartPromotionCodeParamsSchema, CartShippingMethodTypeSchema, CartTokenSchema, CatalogLinkReferenceSchema, CatalogLinkSchema, CatalogLinksResponseSchema, CategoryAncestorSchema, CategoryChildSchema, CategoryDetailSchema, CategoryItemSchema, CheckoutMetadataValueSchema, CheckoutModeSchema, CheckoutPaymentChargeSchema, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, CmsMenuDtoSchema, CmsMenuItemSchema, CmsPageDetailsDtoSchema, CmsPageStatusSchema, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, CollectionSchema, CollectionsSchema, ComplaintBookDocumentTypeSchema, ComplaintBookEntryInputSchema, ComplaintBookEntrySchema, ComplaintBookSchema, CountriesSchema, CountrySchema, CreateCartParamsSchema, CreateCustomerProductReviewParamsSchema, CreateProductReviewParamsSchema, CustomerAddressCreatedSchema, CustomerAddressSchema, CustomerAddressUpsertInputSchema, CustomerAddressesSchema, CustomerAuthConfigurationSchema, CustomerMeSchema, CustomerOrderDetailSchema, CustomerOrderLineItemSchema, CustomerOrderListItemSchema, CustomerOrderListSchema, CustomerOrderPageSchema, CustomerOrderPaymentSchema, CustomerOrderShipmentSchema, CustomerOrderShippingAddressSchema, CustomerOrderStatusTimelineSchema, CustomerProfilePatchSchema, CustomerProfileSchema, CustomerRegistrationFieldModeSchema, CustomerRegistrationFieldsSchema, CustomerRegistrationInputSchema, CustomerRegistrationSchema, CustomerSessionCreateSchema, CustomerSessionCreatedSchema, CustomerSessionProfileSchema, CustomerSessionSchema, DEFAULT_API_BASE_URL, DEFAULT_API_VERSION, DepartmentSchema, DepartmentsSchema, DistrictSchema, DistrictsSchema, EntityIdSchema, FacetItemSchema, GeoDivisionSchema, GeoDivisionTypeSchema, GetCartParamsSchema, GetDepartmentsParamsSchema, GetDistrictsParamsSchema, GetProvincesParamsSchema, GetShippingOptionsParamsSchema, GraphQLResponseError, ItemModifierSchema, JsonElementSchema, ListArticlesParamsSchema, ListProductReviewsParamsSchema, ListStoreReviewsParamsSchema, ModifierDisplaySchema, ModifierGroupItemSchema, ModifierOptionItemSchema, ModifierSelectionTypeSchema, NullableEntityIdSchema, OptionalEntityIdSchema, OrderDraftCheckoutSchema, OrderDraftItemSchema, OrderDraftSchema, OrderPaymentInReviewSchema, OrderPaymentMethodSchema, OrderPaymentStartSchema, OrderReviewContextItemSchema, OrderReviewContextSchema, OrderStatusViewSchema, OrderStepSchema, PaymentAuthentication3DSSchema, PaymentBankAccountSchema, PaymentPublicConfigurationSchema, ProductAutocompleteParamsSchema, ProductDetailSchema, ProductImageSchema, ProductMediaTypeSchema, ProductOptionGroupSchema, ProductPriceTierSchema, ProductSellerSchema, ProductSortSchema, ProductSuggestionSchema, ProductSuggestionsSchema, ProductSummariesSchema, ProductSummarySchema, ProductsParamsSchema, ProductsResponseSchema, ProvinceSchema, ProvincesSchema, PublicOrderTrackingSchema, PutCartPaymentMethodParamsSchema, PutShippingMethodParamsSchema, RelatedProductsParamsSchema, RemoveCartItemParamsSchema, STOREFRONT_SETTINGS_SCHEMA_VERSION, SearchFilterSchema, SellerLinkStyleSchema, SellerLinksSchema, SellerProfileSchema, SellerRatingSchema, SellerSummarySchema, SellersSchema, ShipmentTrackingEventSchema, ShippingMethodTargetSelectionSchema, ShippingOptionGroupSchema, ShippingOptionsResponseSchema, ShippingRateSchema, SitemapItemSchema, SitemapPageSchema, SizeGuideMeasurementSchema, SizeGuideRowSchema, SizeGuideSchema, SpecItemSchema, SpecificationTypeSchema, StoreBusinessSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreModelSchema, StoreSettingsSnapshotDtoSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontAddressSchema, StorefrontCartBundleItemSchema, StorefrontCartItemSchema, StorefrontCartSchema, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, StorefrontCartTotalsSchema, StorefrontCheckoutSettingsSchema, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontInvoiceTypeSchema, StorefrontMenuItemSchema, StorefrontMenuSchema, StorefrontOrderBumpSchema, StorefrontPaymentCodeSchema, StorefrontPaymentMethodSchema, StorefrontPaymentMethodsSchema, StorefrontReviewSchema, StorefrontReviewsSchema, StorefrontSettingsSchema, StorefrontStoreReviewSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, TRACKING_STATUS_LABELS, UpdateCartItemQuantityParamsSchema, UrlResolutionSchema, VariantItemSchema, addCartItem, addCartPromotionCode, authenticateOrderPayment, autocompleteProducts, catalogLinkCandidates, catalogLinkKey, checkoutCart, checkoutOrderDraft, completeCustomerRegistration, createApi, createCart, createClient, createComplaintBookEntry, createCustomerAddress, createProductReview, customerMeToProfile, customerMeToProfilePatch, customerOrderStatusTone, customerProfileToPatch, deleteCustomerAddress, embeddedVideo, formatCustomerOrderStatus, formatOrderDate, formatOrderDateTime, formatTrackingStatus, getArticleBySlug, getCart, getCartCheckout, getComplaintBook, getCountries, getCustomerAddresses, getCustomerMe, getCustomerOrder, getCustomerOrders, getCustomerRegistration, getDepartments, getDistricts, getMenuItems, getOrderDraft, getOrderReviewContext, getOrderStatus, getOrderTracking, getPageBySlug, getPaymentMethods, getProductBySlug, getProducts, getProvinces, getRelatedProducts, getSellerBySlug, getSellers, getShippingOptions, graphQLSelection, isCatalogLinkCandidate, lineTotal, lineUnitPrice, listArticles, listProductReviews, modifierLabel, modifiersUnitPrice, patchCartAddresses, patchCartBuyer, patchCustomer, putCartPaymentMethod, putCartShippingMethod, readCatalogLink, removeCartItem, removeCartPromotionCode, requestCustomerOrderCancellation, requestCustomerOrderReturn, resolveApiBaseUrl, sanitizeHtml, startOrderPayment, stripHtml, toCustomerSavedAddresses, updateCartItemQuantity, updateCustomerAddress, uploadOrderPaymentReceipt, uploadPaymentReceipt };
@@ -1,6 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_amounts = require("./amounts-lmg89eJQ.cjs");
3
3
  const require_models_ids = require("./ids.cjs");
4
+ const require_personalization = require("./personalization-Uh_MWts-.cjs");
4
5
  let zod = require("zod");
5
6
  // src/models/customer-order.ts
6
7
  const CustomerOrderShippingAddressSchema = zod.z.object({
@@ -47,7 +48,8 @@ const CustomerOrderLineItemSchema = zod.z.object({
47
48
  trackingLink: zod.z.string().nullish(),
48
49
  shippedAt: zod.z.string().nullish(),
49
50
  deliveredAt: zod.z.string().nullish(),
50
- returnableQuantity: zod.z.number().default(0)
51
+ returnableQuantity: zod.z.number().default(0),
52
+ modifiers: zod.z.array(require_personalization.ItemModifierSchema).default([])
51
53
  });
52
54
  const CustomerOrderPaymentSchema = zod.z.object({
53
55
  id: require_models_ids.EntityIdSchema,
@@ -53,6 +53,15 @@ export declare const CustomerOrderLineItemSchema: z.ZodObject<{
53
53
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
56
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
57
+ modifierGroupId: z.ZodString;
58
+ modifierGroupName: z.ZodString;
59
+ modifierOptionId: z.ZodNullable<z.ZodString>;
60
+ modifierOptionName: z.ZodNullable<z.ZodString>;
61
+ value: z.ZodNullable<z.ZodString>;
62
+ quantity: z.ZodNumber;
63
+ priceDelta: z.ZodNumber;
64
+ }, z.core.$strip>>>;
56
65
  }, z.core.$strip>;
57
66
  export type CustomerOrderLineItem = z.infer<typeof CustomerOrderLineItemSchema>;
58
67
  export declare const CustomerOrderPaymentSchema: z.ZodObject<{
@@ -135,6 +144,15 @@ export declare const CustomerOrderListItemSchema: z.ZodObject<{
135
144
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
145
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
146
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
147
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
148
+ modifierGroupId: z.ZodString;
149
+ modifierGroupName: z.ZodString;
150
+ modifierOptionId: z.ZodNullable<z.ZodString>;
151
+ modifierOptionName: z.ZodNullable<z.ZodString>;
152
+ value: z.ZodNullable<z.ZodString>;
153
+ quantity: z.ZodNumber;
154
+ priceDelta: z.ZodNumber;
155
+ }, z.core.$strip>>>;
138
156
  }, z.core.$strip>>;
139
157
  payments: z.ZodDefault<z.ZodArray<z.ZodObject<{
140
158
  id: z.ZodString;
@@ -216,6 +234,15 @@ export declare const CustomerOrderListSchema: z.ZodArray<z.ZodObject<{
216
234
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
235
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
236
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
237
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
238
+ modifierGroupId: z.ZodString;
239
+ modifierGroupName: z.ZodString;
240
+ modifierOptionId: z.ZodNullable<z.ZodString>;
241
+ modifierOptionName: z.ZodNullable<z.ZodString>;
242
+ value: z.ZodNullable<z.ZodString>;
243
+ quantity: z.ZodNumber;
244
+ priceDelta: z.ZodNumber;
245
+ }, z.core.$strip>>>;
219
246
  }, z.core.$strip>>;
220
247
  payments: z.ZodDefault<z.ZodArray<z.ZodObject<{
221
248
  id: z.ZodString;
@@ -297,6 +324,15 @@ export declare const CustomerOrderPageSchema: z.ZodObject<{
297
324
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
298
325
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
299
326
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
327
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
328
+ modifierGroupId: z.ZodString;
329
+ modifierGroupName: z.ZodString;
330
+ modifierOptionId: z.ZodNullable<z.ZodString>;
331
+ modifierOptionName: z.ZodNullable<z.ZodString>;
332
+ value: z.ZodNullable<z.ZodString>;
333
+ quantity: z.ZodNumber;
334
+ priceDelta: z.ZodNumber;
335
+ }, z.core.$strip>>>;
300
336
  }, z.core.$strip>>;
301
337
  payments: z.ZodDefault<z.ZodArray<z.ZodObject<{
302
338
  id: z.ZodString;
@@ -424,6 +460,15 @@ export declare const CustomerOrderDetailSchema: z.ZodObject<{
424
460
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
425
461
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
426
462
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
463
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
464
+ modifierGroupId: z.ZodString;
465
+ modifierGroupName: z.ZodString;
466
+ modifierOptionId: z.ZodNullable<z.ZodString>;
467
+ modifierOptionName: z.ZodNullable<z.ZodString>;
468
+ value: z.ZodNullable<z.ZodString>;
469
+ quantity: z.ZodNumber;
470
+ priceDelta: z.ZodNumber;
471
+ }, z.core.$strip>>>;
427
472
  }, z.core.$strip>>;
428
473
  payments: z.ZodArray<z.ZodObject<{
429
474
  id: z.ZodString;
@@ -53,6 +53,15 @@ export declare const CustomerOrderLineItemSchema: z.ZodObject<{
53
53
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
56
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
57
+ modifierGroupId: z.ZodString;
58
+ modifierGroupName: z.ZodString;
59
+ modifierOptionId: z.ZodNullable<z.ZodString>;
60
+ modifierOptionName: z.ZodNullable<z.ZodString>;
61
+ value: z.ZodNullable<z.ZodString>;
62
+ quantity: z.ZodNumber;
63
+ priceDelta: z.ZodNumber;
64
+ }, z.core.$strip>>>;
56
65
  }, z.core.$strip>;
57
66
  export type CustomerOrderLineItem = z.infer<typeof CustomerOrderLineItemSchema>;
58
67
  export declare const CustomerOrderPaymentSchema: z.ZodObject<{
@@ -135,6 +144,15 @@ export declare const CustomerOrderListItemSchema: z.ZodObject<{
135
144
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
145
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
137
146
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
147
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
148
+ modifierGroupId: z.ZodString;
149
+ modifierGroupName: z.ZodString;
150
+ modifierOptionId: z.ZodNullable<z.ZodString>;
151
+ modifierOptionName: z.ZodNullable<z.ZodString>;
152
+ value: z.ZodNullable<z.ZodString>;
153
+ quantity: z.ZodNumber;
154
+ priceDelta: z.ZodNumber;
155
+ }, z.core.$strip>>>;
138
156
  }, z.core.$strip>>;
139
157
  payments: z.ZodDefault<z.ZodArray<z.ZodObject<{
140
158
  id: z.ZodString;
@@ -216,6 +234,15 @@ export declare const CustomerOrderListSchema: z.ZodArray<z.ZodObject<{
216
234
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
235
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
236
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
237
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
238
+ modifierGroupId: z.ZodString;
239
+ modifierGroupName: z.ZodString;
240
+ modifierOptionId: z.ZodNullable<z.ZodString>;
241
+ modifierOptionName: z.ZodNullable<z.ZodString>;
242
+ value: z.ZodNullable<z.ZodString>;
243
+ quantity: z.ZodNumber;
244
+ priceDelta: z.ZodNumber;
245
+ }, z.core.$strip>>>;
219
246
  }, z.core.$strip>>;
220
247
  payments: z.ZodDefault<z.ZodArray<z.ZodObject<{
221
248
  id: z.ZodString;
@@ -297,6 +324,15 @@ export declare const CustomerOrderPageSchema: z.ZodObject<{
297
324
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
298
325
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
299
326
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
327
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
328
+ modifierGroupId: z.ZodString;
329
+ modifierGroupName: z.ZodString;
330
+ modifierOptionId: z.ZodNullable<z.ZodString>;
331
+ modifierOptionName: z.ZodNullable<z.ZodString>;
332
+ value: z.ZodNullable<z.ZodString>;
333
+ quantity: z.ZodNumber;
334
+ priceDelta: z.ZodNumber;
335
+ }, z.core.$strip>>>;
300
336
  }, z.core.$strip>>;
301
337
  payments: z.ZodDefault<z.ZodArray<z.ZodObject<{
302
338
  id: z.ZodString;
@@ -424,6 +460,15 @@ export declare const CustomerOrderDetailSchema: z.ZodObject<{
424
460
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
425
461
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
426
462
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
463
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
464
+ modifierGroupId: z.ZodString;
465
+ modifierGroupName: z.ZodString;
466
+ modifierOptionId: z.ZodNullable<z.ZodString>;
467
+ modifierOptionName: z.ZodNullable<z.ZodString>;
468
+ value: z.ZodNullable<z.ZodString>;
469
+ quantity: z.ZodNumber;
470
+ priceDelta: z.ZodNumber;
471
+ }, z.core.$strip>>>;
427
472
  }, z.core.$strip>>;
428
473
  payments: z.ZodArray<z.ZodObject<{
429
474
  id: z.ZodString;
@@ -1,5 +1,6 @@
1
1
  import { DiscountAmountSchema } from "./amounts-cKBCecl7.js";
2
2
  import { EntityIdSchema } from "./ids.js";
3
+ import { ItemModifierSchema } from "./personalization-CdwIzzSn.js";
3
4
  import { z } from "zod";
4
5
  // src/models/customer-order.ts
5
6
  const CustomerOrderShippingAddressSchema = z.object({
@@ -46,7 +47,8 @@ const CustomerOrderLineItemSchema = z.object({
46
47
  trackingLink: z.string().nullish(),
47
48
  shippedAt: z.string().nullish(),
48
49
  deliveredAt: z.string().nullish(),
49
- returnableQuantity: z.number().default(0)
50
+ returnableQuantity: z.number().default(0),
51
+ modifiers: z.array(ItemModifierSchema).default([])
50
52
  });
51
53
  const CustomerOrderPaymentSchema = z.object({
52
54
  id: EntityIdSchema,
@@ -1,5 +1,6 @@
1
1
  const require_amounts = require("./amounts-lmg89eJQ.cjs");
2
2
  const require_models_ids = require("./ids.cjs");
3
+ const require_personalization = require("./personalization-Uh_MWts-.cjs");
3
4
  let zod = require("zod");
4
5
  // src/models/order-draft.ts
5
6
  const OrderDraftItemSchema = zod.z.object({
@@ -14,7 +15,8 @@ const OrderDraftItemSchema = zod.z.object({
14
15
  subTotal: zod.z.number(),
15
16
  discount: require_amounts.DiscountAmountSchema,
16
17
  total: zod.z.number(),
17
- requiresShipping: zod.z.boolean()
18
+ requiresShipping: zod.z.boolean(),
19
+ modifiers: zod.z.array(require_personalization.ItemModifierSchema).default([])
18
20
  });
19
21
  const OrderDraftSchema = zod.z.object({
20
22
  id: require_models_ids.EntityIdSchema,
@@ -1,5 +1,6 @@
1
1
  import { DiscountAmountSchema } from "./amounts-cKBCecl7.js";
2
2
  import { EntityIdSchema, NullableEntityIdSchema } from "./ids.js";
3
+ import { ItemModifierSchema } from "./personalization-CdwIzzSn.js";
3
4
  import { z } from "zod";
4
5
  // src/models/order-draft.ts
5
6
  const OrderDraftItemSchema = z.object({
@@ -14,7 +15,8 @@ const OrderDraftItemSchema = z.object({
14
15
  subTotal: z.number(),
15
16
  discount: DiscountAmountSchema,
16
17
  total: z.number(),
17
- requiresShipping: z.boolean()
18
+ requiresShipping: z.boolean(),
19
+ modifiers: z.array(ItemModifierSchema).default([])
18
20
  });
19
21
  const OrderDraftSchema = z.object({
20
22
  id: EntityIdSchema,
@@ -12,6 +12,15 @@ export declare const OrderDraftItemSchema: z.ZodObject<{
12
12
  discount: z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>;
13
13
  total: z.ZodNumber;
14
14
  requiresShipping: z.ZodBoolean;
15
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
16
+ modifierGroupId: z.ZodString;
17
+ modifierGroupName: z.ZodString;
18
+ modifierOptionId: z.ZodNullable<z.ZodString>;
19
+ modifierOptionName: z.ZodNullable<z.ZodString>;
20
+ value: z.ZodNullable<z.ZodString>;
21
+ quantity: z.ZodNumber;
22
+ priceDelta: z.ZodNumber;
23
+ }, z.core.$strip>>>;
15
24
  }, z.core.$strip>;
16
25
  export declare const OrderDraftSchema: z.ZodObject<{
17
26
  id: z.ZodString;
@@ -40,6 +49,15 @@ export declare const OrderDraftSchema: z.ZodObject<{
40
49
  discount: z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>;
41
50
  total: z.ZodNumber;
42
51
  requiresShipping: z.ZodBoolean;
52
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
53
+ modifierGroupId: z.ZodString;
54
+ modifierGroupName: z.ZodString;
55
+ modifierOptionId: z.ZodNullable<z.ZodString>;
56
+ modifierOptionName: z.ZodNullable<z.ZodString>;
57
+ value: z.ZodNullable<z.ZodString>;
58
+ quantity: z.ZodNumber;
59
+ priceDelta: z.ZodNumber;
60
+ }, z.core.$strip>>>;
43
61
  }, z.core.$strip>>;
44
62
  orderPaths: z.ZodNullable<z.ZodArray<z.ZodString>>;
45
63
  }, z.core.$strip>;
@@ -12,6 +12,15 @@ export declare const OrderDraftItemSchema: z.ZodObject<{
12
12
  discount: z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>;
13
13
  total: z.ZodNumber;
14
14
  requiresShipping: z.ZodBoolean;
15
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
16
+ modifierGroupId: z.ZodString;
17
+ modifierGroupName: z.ZodString;
18
+ modifierOptionId: z.ZodNullable<z.ZodString>;
19
+ modifierOptionName: z.ZodNullable<z.ZodString>;
20
+ value: z.ZodNullable<z.ZodString>;
21
+ quantity: z.ZodNumber;
22
+ priceDelta: z.ZodNumber;
23
+ }, z.core.$strip>>>;
15
24
  }, z.core.$strip>;
16
25
  export declare const OrderDraftSchema: z.ZodObject<{
17
26
  id: z.ZodString;
@@ -40,6 +49,15 @@ export declare const OrderDraftSchema: z.ZodObject<{
40
49
  discount: z.ZodPipe<z.ZodNumber, z.ZodTransform<number, number>>;
41
50
  total: z.ZodNumber;
42
51
  requiresShipping: z.ZodBoolean;
52
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
53
+ modifierGroupId: z.ZodString;
54
+ modifierGroupName: z.ZodString;
55
+ modifierOptionId: z.ZodNullable<z.ZodString>;
56
+ modifierOptionName: z.ZodNullable<z.ZodString>;
57
+ value: z.ZodNullable<z.ZodString>;
58
+ quantity: z.ZodNumber;
59
+ priceDelta: z.ZodNumber;
60
+ }, z.core.$strip>>>;
43
61
  }, z.core.$strip>>;
44
62
  orderPaths: z.ZodNullable<z.ZodArray<z.ZodString>>;
45
63
  }, z.core.$strip>;
@@ -162,6 +162,15 @@ export declare const OrderStatusViewSchema: z.ZodObject<{
162
162
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
163
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
164
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
165
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
166
+ modifierGroupId: z.ZodString;
167
+ modifierGroupName: z.ZodString;
168
+ modifierOptionId: z.ZodNullable<z.ZodString>;
169
+ modifierOptionName: z.ZodNullable<z.ZodString>;
170
+ value: z.ZodNullable<z.ZodString>;
171
+ quantity: z.ZodNumber;
172
+ priceDelta: z.ZodNumber;
173
+ }, z.core.$strip>>>;
165
174
  }, z.core.$strip>>;
166
175
  payments: z.ZodArray<z.ZodObject<{
167
176
  id: z.ZodString;
@@ -162,6 +162,15 @@ export declare const OrderStatusViewSchema: z.ZodObject<{
162
162
  shippedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
163
  deliveredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
164
  returnableQuantity: z.ZodDefault<z.ZodNumber>;
165
+ modifiers: z.ZodDefault<z.ZodArray<z.ZodObject<{
166
+ modifierGroupId: z.ZodString;
167
+ modifierGroupName: z.ZodString;
168
+ modifierOptionId: z.ZodNullable<z.ZodString>;
169
+ modifierOptionName: z.ZodNullable<z.ZodString>;
170
+ value: z.ZodNullable<z.ZodString>;
171
+ quantity: z.ZodNumber;
172
+ priceDelta: z.ZodNumber;
173
+ }, z.core.$strip>>>;
165
174
  }, z.core.$strip>>;
166
175
  payments: z.ZodArray<z.ZodObject<{
167
176
  id: z.ZodString;