@01.software/sdk 0.46.1 → 0.49.0

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 (57) hide show
  1. package/CHANGELOG.md +96 -1
  2. package/README.md +145 -14
  3. package/dist/client.cjs +485 -81
  4. package/dist/client.cjs.map +1 -1
  5. package/dist/client.d.cts +7 -6
  6. package/dist/client.d.ts +7 -6
  7. package/dist/client.js +485 -81
  8. package/dist/client.js.map +1 -1
  9. package/dist/{collection-client-BEGXnfQe.d.ts → collection-client-DnDt6EQz.d.ts} +4 -4
  10. package/dist/{collection-client-L2rEgBaR.d.cts → collection-client-XfGLPuTf.d.cts} +4 -4
  11. package/dist/{const-y0eipvnQ.d.cts → const-CBba4lDo.d.cts} +4 -4
  12. package/dist/{const-GYVwlXLr.d.ts → const-DCNV5Kq7.d.ts} +4 -4
  13. package/dist/errors.cjs +112 -16
  14. package/dist/errors.cjs.map +1 -1
  15. package/dist/errors.d.cts +13 -4
  16. package/dist/errors.d.ts +13 -4
  17. package/dist/errors.js +112 -16
  18. package/dist/errors.js.map +1 -1
  19. package/dist/{index-BfYL6Qb1.d.cts → index-CbKyoEzy.d.cts} +3 -3
  20. package/dist/{index-Bei4WlVw.d.ts → index-DUuIqUS8.d.ts} +3 -3
  21. package/dist/index.cjs +452 -104
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.d.cts +8 -8
  24. package/dist/index.d.ts +8 -8
  25. package/dist/index.js +452 -104
  26. package/dist/index.js.map +1 -1
  27. package/dist/{payload-types-3WNyC0gk.d.cts → payload-types-MKbx5MuJ.d.cts} +309 -17
  28. package/dist/{payload-types-3WNyC0gk.d.ts → payload-types-MKbx5MuJ.d.ts} +309 -17
  29. package/dist/query.cjs +165 -43
  30. package/dist/query.cjs.map +1 -1
  31. package/dist/query.d.cts +5 -5
  32. package/dist/query.d.ts +5 -5
  33. package/dist/query.js +165 -43
  34. package/dist/query.js.map +1 -1
  35. package/dist/realtime.d.cts +2 -2
  36. package/dist/realtime.d.ts +2 -2
  37. package/dist/server.cjs +566 -81
  38. package/dist/server.cjs.map +1 -1
  39. package/dist/server.d.cts +8 -7
  40. package/dist/server.d.ts +8 -7
  41. package/dist/server.js +566 -81
  42. package/dist/server.js.map +1 -1
  43. package/dist/storefront-cache.cjs +70 -1
  44. package/dist/storefront-cache.cjs.map +1 -1
  45. package/dist/storefront-cache.js +70 -1
  46. package/dist/storefront-cache.js.map +1 -1
  47. package/dist/{types-mIROvhhP.d.ts → types-1UeOk1Uy.d.cts} +110 -8
  48. package/dist/{types-CAicTn-o.d.cts → types-BKr_2avj.d.cts} +2 -2
  49. package/dist/{types-CDJ2M-MJ.d.cts → types-Du4s5anw.d.ts} +110 -8
  50. package/dist/{types-DpSyNTxy.d.ts → types-L_nh-ED7.d.ts} +2 -2
  51. package/dist/ui/form.d.cts +1 -1
  52. package/dist/ui/form.d.ts +1 -1
  53. package/dist/ui/video.d.cts +1 -1
  54. package/dist/ui/video.d.ts +1 -1
  55. package/dist/webhook.d.cts +4 -4
  56. package/dist/webhook.d.ts +4 -4
  57. package/package.json +6 -5
package/dist/index.d.cts CHANGED
@@ -1,15 +1,15 @@
1
- import { c4 as BaseApi, aB as ServerApiOptions, aE as SubscribeMembershipParams, aF as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, c5 as ProductDetail, c6 as ProductDetailCatalog, c7 as StockSnapshotResponse, c8 as ProductSelectionMediaSource, c9 as ProductDisplayMediaSource, ca as ResolveProductSelectionMediaInput, cb as ResolveProductSelectionMediaResult, cc as ProductSelectionMediaPointer, h as ClientConfig, cd as RootClientWithEvents } from './types-CDJ2M-MJ.cjs';
2
- export { A as AddItemParams, i as ApiQueryOptions, ce as BulkImportFulfillmentsParams, cf as BulkImportFulfillmentsResponse, cg as CalculateShippingParams, ch as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, ci as CancelOrderParams, cj as CancelOrderResponse, ck as CancelReasonCode, cl as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, cm as CartWarning, cn as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, ah as Client, u as ClientMetadata, g as ClientState, ah as ClientType, co as Comment, C as CommerceClient, cp as CommerceClientOptions, a as CommunityClient, cq as CommunityClientOptions, cr as CommunityComment, cs as CommunityCommentListSort, ct as CommunityPost, cu as CommunityPostCategory, cv as CommunityPostListSort, cw as CommunityPostTag, cx as CommunityPublicAuthorSnapshot, cy as CommunityPublicMediaAsset, cz as CommunityPublicReference, cA as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, cB as CreateFulfillmentParams, B as CreatePaymentSessionParams, cC as CreateReturnParams, bP as CustomerAuth, cD as CustomerAuthOptions, bR as CustomerAuthResponse, cE as CustomerAuthorizationUrlInput, cF as CustomerAuthorizationUrlResult, bS as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, cG as CustomerOAuth, cH as CustomerOAuthCallbackResult, cI as CustomerOAuthConfig, cJ as CustomerOAuthTokenSet, cK as CustomerOrderListOptions, bQ as CustomerProfile, bV as CustomerRefreshResponse, bU as CustomerRegisterData, bT as CustomerRegisterResponse, D as CustomerSnapshot, F as DebugConfig, G as DeepPartial, cL as DiscountApi, cM as DiscountApiOptions, cN as DiscountErrorReasonCode, b3 as EventAdmissionAvailabilityParams, b4 as EventAdmissionAvailabilityResponse, b5 as EventAdmissionAvailabilityType, b6 as EventAdmissionPricePresentment, b7 as EventGuestCancelParams, b8 as EventGuestRegistration, b9 as EventGuestRegistrationResponse, ba as EventRegistrationAnswerInput, bb as EventRegistrationAttendeeInput, bc as EventRegistrationPublic, bd as EventRegistrationRegisterParams, be as EventRegistrationRegisterResponse, bf as EventsCalendarItem, E as EventsClient, bg as EventsClientOptions, bh as EventsDateParam, bi as EventsExternalSource, bj as EventsLocation, bk as EventsOccurrenceLocation, bl as EventsRangeEvent, bm as EventsRangeOccurrence, bn as EventsRangeParams, bo as EventsRangeResponse, bp as EventsTaxonomyItem, H as ExtractArrayType, cO as FeaturedImagePointerInput, cP as GetOrderByPaymentIdParams, cQ as LegacyProductSelectionParamEvent, cR as ListingGroupsParams, cS as MAX_CART_LINE_ADMISSIONS, cT as MarketDTO, cU as MediaValue, I as MembershipStatus, J as Money, cV as NormalizedOptionSwatch, cW as NormalizedProductSelection, O as OpenCheckoutPaymentState, cX as OrderApi, cY as OrderApiOptions, cZ as OrderByPaymentResult, c_ as PRODUCT_PLP_FIND_OPTIONS, c$ as PRODUCT_UPSERT_READONLY_FIELD_REASON, d0 as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, K as PayloadMutationResponse, L as PaymentFailureReason, N as PaymentNextAction, Q as PaymentProviderStatus, R as PaymentReconciliationReason, S as PaymentSessionRole, d1 as PrepareFulfillmentOrderParams, d2 as PrepareFulfillmentOrderResponse, d3 as ProductApi, d4 as ProductApiOptions, d5 as ProductDetailBrand, b_ as ProductDetailCatalogResult, d6 as ProductDetailCatalogVariant, d7 as ProductDetailCategory, d8 as ProductDetailImage, d9 as ProductDetailImageMedia, da as ProductDetailMedia, db as ProductDetailOption, dc as ProductDetailOptionValue, bZ as ProductDetailParams, dd as ProductDetailResult, de as ProductDetailTag, df as ProductDetailUnavailableReason, dg as ProductDetailVariant, dh as ProductDetailVariantOptionValue, di as ProductDetailVideo, dj as ProductFallbackLocaleOption, dk as ProductHrefGroup, dl as ProductHrefOptions, dm as ProductHrefProduct, dn as ProductListingCard, dp as ProductListingCardOptions, dq as ProductListingCardPriceRange, dr as ProductListingCardRepresentativeVariant, ds as ProductListingGroup, dt as ProductListingGroupCatalogSummary, du as ProductListingGroupCatalogVariant, dv as ProductListingGroupProjection, dw as ProductListingGroupSummary, dx as ProductListingGroupVariant, c1 as ProductListingGroupsCatalogItem, dy as ProductListingGroupsCatalogProduct, dz as ProductListingGroupsCatalogResponse, c3 as ProductListingGroupsItem, dA as ProductListingGroupsProduct, dB as ProductListingGroupsResponse, bY as ProductListingPageBaseParams, b$ as ProductListingPageCatalogParams, dC as ProductListingPageFilters, c2 as ProductListingPageFullParams, bX as ProductListingPageParams, c0 as ProductListingPageResult, dD as ProductListingPageSort, dE as ProductListingProductShape, dF as ProductListingSwatch, dG as ProductLocaleOption, dH as ProductLocaleReadParams, dI as ProductLocalizedText, dJ as ProductLocalizedValue, dK as ProductMediaResolutionSource, dL as ProductMoneyRange, dM as ProductOptionMatrix, dN as ProductOptionMatrixOption, dO as ProductOptionMatrixValue, dP as ProductOptionMatrixVariant, dQ as ProductOptionShape, dR as ProductOptionValueShape, dS as ProductOptionValueSwatch, dT as ProductOptionValueSwatchInput, dU as ProductPriceRange, dV as ProductSelectionAvailableSwatch, dW as ProductSelectionAvailableValue, dX as ProductSelectionByOptionValue, dY as ProductSelectionCodecError, dZ as ProductSelectionCodecOptions, d_ as ProductSelectionInput, d$ as ProductSelectionOptionValue, e0 as ProductSelectionResolution, e1 as ProductSelectionResolutionContext, e2 as ProductSelectionUrlEmit, e3 as ProductSelectionVariant, e4 as ProductUpsertFieldValidationErrorBody, e5 as ProductUpsertFieldValidationErrorReason, T as ProductUpsertInput, U as ProductUpsertParams, V as ProductUpsertResponse, W as ProductUpsertVariantInput, e6 as ProductVariantShape, X as PublicAttribute, Y as PublicCaptureEvidence, Z as PublicCart, _ as PublicCartItem, $ as PublicCartItemAdmission, a0 as PublicCartMarket, a1 as PublicCartReference, a2 as PublicCheckout, e7 as PublicCheckoutBase, a3 as PublicCheckoutItem, a4 as PublicMediaAsset, a5 as PublicMediaSize, a6 as PublicOrder, a7 as PublicOrderAmounts, a8 as PublicOrderItem, a9 as PublicOrderReference, aa as PublicPaymentSession, bO as PublicReadQueryOptions, ab as ReconciliationRequired, ac as RemoveItemParams, e8 as RequestOptions, e9 as ResolveCancelRefundFailedResponse, ea as ResolveCancelRefundOutcome, eb as ResolveCancelRefundParams, ec as ResolveCancelRefundResponse, ed as ResolveCancelRefundSucceededResponse, ee as ResolveProductDisplayMediaInput, ef as ResolveProductDisplayMediaResult, eg as ResolvedCatalogPrice, ad as RetrieveBrowserPaymentSessionParams, ae as RetrieveCartParams, af as RetrieveCheckoutParams, bt as RetrieveServerCheckoutParams, ag as RetryConfig, eh as ReturnCancellationReasonCode, ei as ReturnItem, ej as ReturnReason, ek as ReturnWithRefundItem, el as ReturnWithRefundParams, ah as RootClient, ai as RootCollectionClient, aj as RootReadOnlyQueryBuilder, em as ShippingApi, en as ShippingApiOptions, ak as ShippingLine, al as Sort, am as SpentCheckoutPaymentState, eo as StockCheckParams, ep as StockCheckResponse, eq as StockCheckResult, er as StockSnapshotItem, es as StockSnapshotParams, an as StorefrontContentListOptions, ao as StorefrontContentReference, ap as StorefrontGalleryItem, aq as StorefrontGalleryItemsListOptions, ar as StorefrontGalleryItemsSort, as as StorefrontLink, at as StorefrontLinksListOptions, au as StorefrontLinksSort, av as UpdateCartAttributesParams, aw as UpdateDiscountCodesParams, et as UpdateFulfillmentParams, ax as UpdateItemParams, eu as UpdateOrderParams, bW as UpdateProfileData, ev as UpdateReturnParams, ew as ValidateDiscountParams, ex as ValidateDiscountResult, ay as VariantInput, az as Where, ey as WithIdempotencyKey, ez as buildProductHref, eA as buildProductListingCard, eB as buildProductListingGroupProjection, eC as buildProductListingGroupsByOption, eD as buildProductOptionMatrix, eE as buildProductOptionMatrixFromDetail, eF as createProductSelectionCodec, eG as getAvailableOptionValues, eH as getProductSelectionImages, eI as getSelectedValueByOptionId, eJ as getVariantAvailableForSale, eK as getVariantAvailableStock, eL as isProductUpsertFieldValidationErrorBody, eM as normalizeProductSelection, eN as normalizeProductSelectionFromMatrix, eO as normalizeSelectedValueIds, eP as parseProductSelection, eQ as projectProductToListingShape, eR as resolveFeaturedImagePointer, eS as resolveProductDisplayMedia, eT as resolveProductSelection, eU as resolveProductSelectionFromMatrix, eV as resolveProductSelectionMedia, eW as resolveVariantForSelection, eX as selectNext, eY as selectedSwatchMediaItemId, eZ as stringifyProductSelection, e_ as toShopifyPriceRangeV2 } from './types-CDJ2M-MJ.cjs';
3
- import { P as Product } from './payload-types-3WNyC0gk.cjs';
4
- export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-3WNyC0gk.cjs';
5
- export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-CAicTn-o.cjs';
6
- export { C as COMMERCE_NOTIFICATION_EVENTS, a as COMMERCE_NOTIFICATION_EVENT_TYPE, b as COMMERCE_NOTIFICATION_OPERATION, c as CUSTOMER_PASSWORD_RESET_OPERATION, d as CollectionWebhookOperation, e as CommerceEmailChannel, f as CommerceEmailConfig, g as CommerceEmailEventConfig, h as CommerceEmailEventHandlers, i as CommerceEmailHandlerContext, j as CommerceNotification, k as CommerceNotificationData, l as CommerceNotificationEventHandlers, m as CommerceNotificationEventName, n as CommerceNotificationHandlerContext, o as CommerceNotificationSource, p as CommerceNotificationSourceCollection, q as CommerceNotificationWebhookEvent, r as CustomerAuthWebhookEvent, s as CustomerAuthWebhookHandlers, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, O as ORDER_CHANGED_EVENT_TYPE, v as OrderChangedWebhookEvent, W as WebhookChange, w as WebhookCommerceNotificationChange, x as WebhookEvent, y as WebhookHandler, z as WebhookKnownOperation, A as WebhookOperation, B as WebhookOptions, D as WebhookOrderChange, E as WebhookOrderMoved, F as WebhookOrderScope, G as createCommerceEmailWebhookHandler, H as createCommerceNotificationWebhookHandler, I as createCustomerAuthWebhookHandler, J as createTypedWebhookHandler, K as defineCommerceEmailConfig, L as getCommerceNotificationIdempotencyKey, M as handleWebhook, N as isCommerceNotificationWebhookEvent, P as isCustomerPasswordResetWebhookEvent, Q as isOrderChangedWebhookEvent, R as isValidWebhookEvent, S as isWebhookCollection, T as isWebhookOperation } from './index-BfYL6Qb1.cjs';
7
- export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS, P as PublicCollection, b as SERVER_COLLECTIONS, c as SERVER_ONLY_COLLECTIONS } from './const-y0eipvnQ.cjs';
1
+ import { cd as BaseApi, aF as ServerApiOptions, aI as SubscribeMembershipParams, aJ as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, ce as ProductDetail, cf as ProductDetailCatalog, cg as StockSnapshotResponse, ch as ProductSelectionMediaSource, ci as ProductDisplayMediaSource, cj as ResolveProductSelectionMediaInput, ck as ResolveProductSelectionMediaResult, cl as ProductSelectionMediaPointer, h as ClientConfig, cm as RootClientWithEvents } from './types-1UeOk1Uy.cjs';
2
+ export { A as AddItemParams, i as ApiQueryOptions, cn as BulkImportFulfillmentsParams, co as BulkImportFulfillmentsResponse, cp as CalculateShippingParams, cq as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, cr as CancelOrderParams, cs as CancelOrderResponse, ct as CancelReasonCode, cu as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, cv as CartWarning, cw as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, al as Client, u as ClientMetadata, g as ClientState, al as ClientType, cx as Comment, C as CommerceClient, cy as CommerceClientOptions, a as CommunityClient, cz as CommunityClientOptions, cA as CommunityComment, cB as CommunityCommentListSort, cC as CommunityPost, cD as CommunityPostCategory, cE as CommunityPostListSort, cF as CommunityPostTag, cG as CommunityPublicAuthorSnapshot, cH as CommunityPublicMediaAsset, cI as CommunityPublicReference, cJ as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, cK as CreateFulfillmentParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, cL as CreateReturnParams, bY as CustomerAuth, cM as CustomerAuthOptions, b_ as CustomerAuthResponse, cN as CustomerAuthorizationUrlInput, cO as CustomerAuthorizationUrlResult, b$ as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, cP as CustomerOAuth, cQ as CustomerOAuthCallbackResult, cR as CustomerOAuthConfig, cS as CustomerOAuthTokenSet, cT as CustomerOrderListOptions, bZ as CustomerProfile, c2 as CustomerRefreshResponse, c1 as CustomerRegisterData, c0 as CustomerRegisterResponse, F as CustomerSnapshot, G as DebugConfig, H as DeepPartial, cU as DiscountApi, cV as DiscountApiOptions, cW as DiscountErrorReasonCode, b9 as EventAdmissionAvailabilityParams, ba as EventAdmissionAvailabilityResponse, bb as EventAdmissionAvailabilityType, bc as EventAdmissionPricePresentment, bd as EventGuestCancelParams, be as EventGuestRegistration, bf as EventGuestRegistrationResponse, bg as EventRegistrationAnswerInput, bh as EventRegistrationAttendeeInput, bi as EventRegistrationPublic, bj as EventRegistrationRegisterParams, bk as EventRegistrationRegisterResponse, bl as EventsCalendarItem, E as EventsClient, bm as EventsClientOptions, bn as EventsDateParam, bo as EventsExternalSource, bp as EventsLocation, bq as EventsOccurrenceLocation, br as EventsRangeEvent, bs as EventsRangeOccurrence, bt as EventsRangeParams, bu as EventsRangeResponse, bv as EventsTaxonomyItem, I as ExtractArrayType, cX as FeaturedImagePointerInput, cY as GetOrderByPaymentIdParams, cZ as LegacyProductSelectionParamEvent, c_ as ListingGroupsParams, c$ as MAX_CART_LINE_ADMISSIONS, d0 as ManagedPaymentNextAction, d1 as ManagedPublicPaymentSession, d2 as MarketDTO, d3 as MediaValue, J as MembershipStatus, K as Money, d4 as NormalizedOptionSwatch, d5 as NormalizedProductSelection, O as OpenCheckoutPaymentState, d6 as OrderApi, d7 as OrderApiOptions, d8 as OrderByPaymentResult, d9 as PRODUCT_PLP_FIND_OPTIONS, da as PRODUCT_UPSERT_READONLY_FIELD_REASON, db as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, L as PayloadMutationResponse, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, V as PortOnePaymentNextAction, W as PortOnePublicPaymentSession, dc as PrepareFulfillmentOrderParams, dd as PrepareFulfillmentOrderResponse, de as ProductApi, df as ProductApiOptions, dg as ProductDetailBrand, c7 as ProductDetailCatalogResult, dh as ProductDetailCatalogVariant, di as ProductDetailCategory, dj as ProductDetailImage, dk as ProductDetailImageMedia, dl as ProductDetailMedia, dm as ProductDetailOption, dn as ProductDetailOptionValue, c6 as ProductDetailParams, dp as ProductDetailResult, dq as ProductDetailTag, dr as ProductDetailUnavailableReason, ds as ProductDetailVariant, dt as ProductDetailVariantOptionValue, du as ProductDetailVideo, dv as ProductFallbackLocaleOption, dw as ProductHrefGroup, dx as ProductHrefOptions, dy as ProductHrefProduct, dz as ProductListingCard, dA as ProductListingCardOptions, dB as ProductListingCardPriceRange, dC as ProductListingCardRepresentativeVariant, dD as ProductListingGroup, dE as ProductListingGroupCatalogSummary, dF as ProductListingGroupCatalogVariant, dG as ProductListingGroupProjection, dH as ProductListingGroupSummary, dI as ProductListingGroupVariant, ca as ProductListingGroupsCatalogItem, dJ as ProductListingGroupsCatalogProduct, dK as ProductListingGroupsCatalogResponse, cc as ProductListingGroupsItem, dL as ProductListingGroupsProduct, dM as ProductListingGroupsResponse, c5 as ProductListingPageBaseParams, c8 as ProductListingPageCatalogParams, dN as ProductListingPageFilters, cb as ProductListingPageFullParams, c4 as ProductListingPageParams, c9 as ProductListingPageResult, dO as ProductListingPageSort, dP as ProductListingProductShape, dQ as ProductListingSwatch, dR as ProductLocaleOption, dS as ProductLocaleReadParams, dT as ProductLocalizedText, dU as ProductLocalizedValue, dV as ProductMediaResolutionSource, dW as ProductMoneyRange, dX as ProductOptionMatrix, dY as ProductOptionMatrixOption, dZ as ProductOptionMatrixValue, d_ as ProductOptionMatrixVariant, d$ as ProductOptionShape, e0 as ProductOptionValueShape, e1 as ProductOptionValueSwatch, e2 as ProductOptionValueSwatchInput, e3 as ProductPriceRange, e4 as ProductSelectionAvailableSwatch, e5 as ProductSelectionAvailableValue, e6 as ProductSelectionByOptionValue, e7 as ProductSelectionCodecError, e8 as ProductSelectionCodecOptions, e9 as ProductSelectionInput, ea as ProductSelectionOptionValue, eb as ProductSelectionResolution, ec as ProductSelectionResolutionContext, ed as ProductSelectionUrlEmit, ee as ProductSelectionVariant, ef as ProductUpsertFieldValidationErrorBody, eg as ProductUpsertFieldValidationErrorReason, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, eh as ProductVariantShape, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, ei as PublicCheckoutBase, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, bX as PublicReadQueryOptions, af as ReconciliationRequired, ag as RemoveItemParams, ej as RequestOptions, ek as ResolveCancelRefundFailedResponse, el as ResolveCancelRefundOutcome, em as ResolveCancelRefundParams, en as ResolveCancelRefundResponse, eo as ResolveCancelRefundSucceededResponse, ep as ResolveProductDisplayMediaInput, eq as ResolveProductDisplayMediaResult, er as ResolvedCatalogPrice, ah as RetrieveBrowserPaymentSessionParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, bA as RetrieveServerCheckoutParams, ak as RetryConfig, es as ReturnCancellationReasonCode, et as ReturnItem, eu as ReturnReason, ev as ReturnWithRefundItem, ew as ReturnWithRefundParams, al as RootClient, am as RootCollectionClient, an as RootReadOnlyQueryBuilder, ex as ShippingApi, ey as ShippingApiOptions, ao as ShippingLine, ap as Sort, aq as SpentCheckoutPaymentState, ez as StockCheckParams, eA as StockCheckResponse, eB as StockCheckResult, eC as StockSnapshotItem, eD as StockSnapshotParams, ar as StorefrontContentListOptions, as as StorefrontContentReference, at as StorefrontGalleryItem, au as StorefrontGalleryItemsListOptions, av as StorefrontGalleryItemsSort, aw as StorefrontLink, ax as StorefrontLinksListOptions, ay as StorefrontLinksSort, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, eE as UpdateFulfillmentParams, aB as UpdateItemParams, eF as UpdateOrderParams, c3 as UpdateProfileData, eG as UpdateReturnParams, eH as ValidateDiscountParams, eI as ValidateDiscountResult, aC as VariantInput, aD as Where, eJ as WithIdempotencyKey, eK as buildProductHref, eL as buildProductListingCard, eM as buildProductListingGroupProjection, eN as buildProductListingGroupsByOption, eO as buildProductOptionMatrix, eP as buildProductOptionMatrixFromDetail, eQ as createProductSelectionCodec, eR as getAvailableOptionValues, eS as getProductSelectionImages, eT as getSelectedValueByOptionId, eU as getVariantAvailableForSale, eV as getVariantAvailableStock, eW as isProductUpsertFieldValidationErrorBody, eX as normalizeProductSelection, eY as normalizeProductSelectionFromMatrix, eZ as normalizeSelectedValueIds, e_ as parseProductSelection, e$ as projectProductToListingShape, f0 as resolveFeaturedImagePointer, f1 as resolveProductDisplayMedia, f2 as resolveProductSelection, f3 as resolveProductSelectionFromMatrix, f4 as resolveProductSelectionMedia, f5 as resolveVariantForSelection, f6 as selectNext, f7 as selectedSwatchMediaItemId, f8 as stringifyProductSelection, f9 as toShopifyPriceRangeV2 } from './types-1UeOk1Uy.cjs';
3
+ import { P as Product } from './payload-types-MKbx5MuJ.cjs';
4
+ export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-MKbx5MuJ.cjs';
5
+ export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-BKr_2avj.cjs';
6
+ export { C as COMMERCE_NOTIFICATION_EVENTS, a as COMMERCE_NOTIFICATION_EVENT_TYPE, b as COMMERCE_NOTIFICATION_OPERATION, c as CUSTOMER_PASSWORD_RESET_OPERATION, d as CollectionWebhookOperation, e as CommerceEmailChannel, f as CommerceEmailConfig, g as CommerceEmailEventConfig, h as CommerceEmailEventHandlers, i as CommerceEmailHandlerContext, j as CommerceNotification, k as CommerceNotificationData, l as CommerceNotificationEventHandlers, m as CommerceNotificationEventName, n as CommerceNotificationHandlerContext, o as CommerceNotificationSource, p as CommerceNotificationSourceCollection, q as CommerceNotificationWebhookEvent, r as CustomerAuthWebhookEvent, s as CustomerAuthWebhookHandlers, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, O as ORDER_CHANGED_EVENT_TYPE, v as OrderChangedWebhookEvent, W as WebhookChange, w as WebhookCommerceNotificationChange, x as WebhookEvent, y as WebhookHandler, z as WebhookKnownOperation, A as WebhookOperation, B as WebhookOptions, D as WebhookOrderChange, E as WebhookOrderMoved, F as WebhookOrderScope, G as createCommerceEmailWebhookHandler, H as createCommerceNotificationWebhookHandler, I as createCustomerAuthWebhookHandler, J as createTypedWebhookHandler, K as defineCommerceEmailConfig, L as getCommerceNotificationIdempotencyKey, M as handleWebhook, N as isCommerceNotificationWebhookEvent, P as isCustomerPasswordResetWebhookEvent, Q as isOrderChangedWebhookEvent, R as isValidWebhookEvent, S as isWebhookCollection, T as isWebhookOperation } from './index-CbKyoEzy.cjs';
7
+ export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS, P as PublicCollection, b as SERVER_COLLECTIONS, c as SERVER_ONLY_COLLECTIONS } from './const-CBba4lDo.cjs';
8
8
  export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
9
9
  export { a as IMAGE_SIZES, I as ImageData, b as ImageDataSizeEntry, c as ImageDataSizes, d as ImagePalette, e as ImagePlaceholderOptions, g as getImageLqip, f as getImagePalette, h as getImagePlaceholderStyle, i as getImageSrcSet, j as getImageUrl } from './image-BDjHp03R.cjs';
10
10
  export { V as VideoGifOptions, a as VideoThumbnailOptions, g as getVideoGif, b as getVideoMp4Url, c as getVideoStoryboard, d as getVideoStreamUrl, e as getVideoThumbnail } from './video-WR_TFO9a.cjs';
11
11
  export { Analytics, AnalyticsConfig, createAnalytics } from './analytics.cjs';
12
- export { ApiError, AuthError, COMMERCE_ERROR_CODES, CommerceErrorCode, CommerceSDKError, ConfigError, ConflictError, GoneError, NetworkError, NotFoundError, PermissionError, RateLimitError, SDKError, ServiceUnavailableError, TimeoutError, UsageLimitError, ValidationError, createAuthError, createConflictError, createNotFoundError, createPermissionError, createRateLimitError, isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.cjs';
12
+ export { ApiError, AuthError, COMMERCE_ERROR_CODES, CommerceErrorCode, CommerceSDKError, ConfigError, ConflictError, GoneError, NetworkError, NotFoundError, PermissionError, RateLimitError, SDKError, ServiceUnavailableError, TimeoutError, UsageLimitError, ValidationError, createAuthError, createConflictError, createNotFoundError, createPermissionError, createRateLimitError, getSDKErrorReason, isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.cjs';
13
13
 
14
14
  declare function isCommerceIdempotencyKey(value: unknown): value is string;
15
15
  declare function assertCommerceIdempotencyKey(value: unknown): asserts value is string;
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
- import { c4 as BaseApi, aB as ServerApiOptions, aE as SubscribeMembershipParams, aF as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, c5 as ProductDetail, c6 as ProductDetailCatalog, c7 as StockSnapshotResponse, c8 as ProductSelectionMediaSource, c9 as ProductDisplayMediaSource, ca as ResolveProductSelectionMediaInput, cb as ResolveProductSelectionMediaResult, cc as ProductSelectionMediaPointer, h as ClientConfig, cd as RootClientWithEvents } from './types-mIROvhhP.js';
2
- export { A as AddItemParams, i as ApiQueryOptions, ce as BulkImportFulfillmentsParams, cf as BulkImportFulfillmentsResponse, cg as CalculateShippingParams, ch as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, ci as CancelOrderParams, cj as CancelOrderResponse, ck as CancelReasonCode, cl as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, cm as CartWarning, cn as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, ah as Client, u as ClientMetadata, g as ClientState, ah as ClientType, co as Comment, C as CommerceClient, cp as CommerceClientOptions, a as CommunityClient, cq as CommunityClientOptions, cr as CommunityComment, cs as CommunityCommentListSort, ct as CommunityPost, cu as CommunityPostCategory, cv as CommunityPostListSort, cw as CommunityPostTag, cx as CommunityPublicAuthorSnapshot, cy as CommunityPublicMediaAsset, cz as CommunityPublicReference, cA as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, cB as CreateFulfillmentParams, B as CreatePaymentSessionParams, cC as CreateReturnParams, bP as CustomerAuth, cD as CustomerAuthOptions, bR as CustomerAuthResponse, cE as CustomerAuthorizationUrlInput, cF as CustomerAuthorizationUrlResult, bS as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, cG as CustomerOAuth, cH as CustomerOAuthCallbackResult, cI as CustomerOAuthConfig, cJ as CustomerOAuthTokenSet, cK as CustomerOrderListOptions, bQ as CustomerProfile, bV as CustomerRefreshResponse, bU as CustomerRegisterData, bT as CustomerRegisterResponse, D as CustomerSnapshot, F as DebugConfig, G as DeepPartial, cL as DiscountApi, cM as DiscountApiOptions, cN as DiscountErrorReasonCode, b3 as EventAdmissionAvailabilityParams, b4 as EventAdmissionAvailabilityResponse, b5 as EventAdmissionAvailabilityType, b6 as EventAdmissionPricePresentment, b7 as EventGuestCancelParams, b8 as EventGuestRegistration, b9 as EventGuestRegistrationResponse, ba as EventRegistrationAnswerInput, bb as EventRegistrationAttendeeInput, bc as EventRegistrationPublic, bd as EventRegistrationRegisterParams, be as EventRegistrationRegisterResponse, bf as EventsCalendarItem, E as EventsClient, bg as EventsClientOptions, bh as EventsDateParam, bi as EventsExternalSource, bj as EventsLocation, bk as EventsOccurrenceLocation, bl as EventsRangeEvent, bm as EventsRangeOccurrence, bn as EventsRangeParams, bo as EventsRangeResponse, bp as EventsTaxonomyItem, H as ExtractArrayType, cO as FeaturedImagePointerInput, cP as GetOrderByPaymentIdParams, cQ as LegacyProductSelectionParamEvent, cR as ListingGroupsParams, cS as MAX_CART_LINE_ADMISSIONS, cT as MarketDTO, cU as MediaValue, I as MembershipStatus, J as Money, cV as NormalizedOptionSwatch, cW as NormalizedProductSelection, O as OpenCheckoutPaymentState, cX as OrderApi, cY as OrderApiOptions, cZ as OrderByPaymentResult, c_ as PRODUCT_PLP_FIND_OPTIONS, c$ as PRODUCT_UPSERT_READONLY_FIELD_REASON, d0 as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, K as PayloadMutationResponse, L as PaymentFailureReason, N as PaymentNextAction, Q as PaymentProviderStatus, R as PaymentReconciliationReason, S as PaymentSessionRole, d1 as PrepareFulfillmentOrderParams, d2 as PrepareFulfillmentOrderResponse, d3 as ProductApi, d4 as ProductApiOptions, d5 as ProductDetailBrand, b_ as ProductDetailCatalogResult, d6 as ProductDetailCatalogVariant, d7 as ProductDetailCategory, d8 as ProductDetailImage, d9 as ProductDetailImageMedia, da as ProductDetailMedia, db as ProductDetailOption, dc as ProductDetailOptionValue, bZ as ProductDetailParams, dd as ProductDetailResult, de as ProductDetailTag, df as ProductDetailUnavailableReason, dg as ProductDetailVariant, dh as ProductDetailVariantOptionValue, di as ProductDetailVideo, dj as ProductFallbackLocaleOption, dk as ProductHrefGroup, dl as ProductHrefOptions, dm as ProductHrefProduct, dn as ProductListingCard, dp as ProductListingCardOptions, dq as ProductListingCardPriceRange, dr as ProductListingCardRepresentativeVariant, ds as ProductListingGroup, dt as ProductListingGroupCatalogSummary, du as ProductListingGroupCatalogVariant, dv as ProductListingGroupProjection, dw as ProductListingGroupSummary, dx as ProductListingGroupVariant, c1 as ProductListingGroupsCatalogItem, dy as ProductListingGroupsCatalogProduct, dz as ProductListingGroupsCatalogResponse, c3 as ProductListingGroupsItem, dA as ProductListingGroupsProduct, dB as ProductListingGroupsResponse, bY as ProductListingPageBaseParams, b$ as ProductListingPageCatalogParams, dC as ProductListingPageFilters, c2 as ProductListingPageFullParams, bX as ProductListingPageParams, c0 as ProductListingPageResult, dD as ProductListingPageSort, dE as ProductListingProductShape, dF as ProductListingSwatch, dG as ProductLocaleOption, dH as ProductLocaleReadParams, dI as ProductLocalizedText, dJ as ProductLocalizedValue, dK as ProductMediaResolutionSource, dL as ProductMoneyRange, dM as ProductOptionMatrix, dN as ProductOptionMatrixOption, dO as ProductOptionMatrixValue, dP as ProductOptionMatrixVariant, dQ as ProductOptionShape, dR as ProductOptionValueShape, dS as ProductOptionValueSwatch, dT as ProductOptionValueSwatchInput, dU as ProductPriceRange, dV as ProductSelectionAvailableSwatch, dW as ProductSelectionAvailableValue, dX as ProductSelectionByOptionValue, dY as ProductSelectionCodecError, dZ as ProductSelectionCodecOptions, d_ as ProductSelectionInput, d$ as ProductSelectionOptionValue, e0 as ProductSelectionResolution, e1 as ProductSelectionResolutionContext, e2 as ProductSelectionUrlEmit, e3 as ProductSelectionVariant, e4 as ProductUpsertFieldValidationErrorBody, e5 as ProductUpsertFieldValidationErrorReason, T as ProductUpsertInput, U as ProductUpsertParams, V as ProductUpsertResponse, W as ProductUpsertVariantInput, e6 as ProductVariantShape, X as PublicAttribute, Y as PublicCaptureEvidence, Z as PublicCart, _ as PublicCartItem, $ as PublicCartItemAdmission, a0 as PublicCartMarket, a1 as PublicCartReference, a2 as PublicCheckout, e7 as PublicCheckoutBase, a3 as PublicCheckoutItem, a4 as PublicMediaAsset, a5 as PublicMediaSize, a6 as PublicOrder, a7 as PublicOrderAmounts, a8 as PublicOrderItem, a9 as PublicOrderReference, aa as PublicPaymentSession, bO as PublicReadQueryOptions, ab as ReconciliationRequired, ac as RemoveItemParams, e8 as RequestOptions, e9 as ResolveCancelRefundFailedResponse, ea as ResolveCancelRefundOutcome, eb as ResolveCancelRefundParams, ec as ResolveCancelRefundResponse, ed as ResolveCancelRefundSucceededResponse, ee as ResolveProductDisplayMediaInput, ef as ResolveProductDisplayMediaResult, eg as ResolvedCatalogPrice, ad as RetrieveBrowserPaymentSessionParams, ae as RetrieveCartParams, af as RetrieveCheckoutParams, bt as RetrieveServerCheckoutParams, ag as RetryConfig, eh as ReturnCancellationReasonCode, ei as ReturnItem, ej as ReturnReason, ek as ReturnWithRefundItem, el as ReturnWithRefundParams, ah as RootClient, ai as RootCollectionClient, aj as RootReadOnlyQueryBuilder, em as ShippingApi, en as ShippingApiOptions, ak as ShippingLine, al as Sort, am as SpentCheckoutPaymentState, eo as StockCheckParams, ep as StockCheckResponse, eq as StockCheckResult, er as StockSnapshotItem, es as StockSnapshotParams, an as StorefrontContentListOptions, ao as StorefrontContentReference, ap as StorefrontGalleryItem, aq as StorefrontGalleryItemsListOptions, ar as StorefrontGalleryItemsSort, as as StorefrontLink, at as StorefrontLinksListOptions, au as StorefrontLinksSort, av as UpdateCartAttributesParams, aw as UpdateDiscountCodesParams, et as UpdateFulfillmentParams, ax as UpdateItemParams, eu as UpdateOrderParams, bW as UpdateProfileData, ev as UpdateReturnParams, ew as ValidateDiscountParams, ex as ValidateDiscountResult, ay as VariantInput, az as Where, ey as WithIdempotencyKey, ez as buildProductHref, eA as buildProductListingCard, eB as buildProductListingGroupProjection, eC as buildProductListingGroupsByOption, eD as buildProductOptionMatrix, eE as buildProductOptionMatrixFromDetail, eF as createProductSelectionCodec, eG as getAvailableOptionValues, eH as getProductSelectionImages, eI as getSelectedValueByOptionId, eJ as getVariantAvailableForSale, eK as getVariantAvailableStock, eL as isProductUpsertFieldValidationErrorBody, eM as normalizeProductSelection, eN as normalizeProductSelectionFromMatrix, eO as normalizeSelectedValueIds, eP as parseProductSelection, eQ as projectProductToListingShape, eR as resolveFeaturedImagePointer, eS as resolveProductDisplayMedia, eT as resolveProductSelection, eU as resolveProductSelectionFromMatrix, eV as resolveProductSelectionMedia, eW as resolveVariantForSelection, eX as selectNext, eY as selectedSwatchMediaItemId, eZ as stringifyProductSelection, e_ as toShopifyPriceRangeV2 } from './types-mIROvhhP.js';
3
- import { P as Product } from './payload-types-3WNyC0gk.js';
4
- export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-3WNyC0gk.js';
5
- export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-DpSyNTxy.js';
6
- export { C as COMMERCE_NOTIFICATION_EVENTS, a as COMMERCE_NOTIFICATION_EVENT_TYPE, b as COMMERCE_NOTIFICATION_OPERATION, c as CUSTOMER_PASSWORD_RESET_OPERATION, d as CollectionWebhookOperation, e as CommerceEmailChannel, f as CommerceEmailConfig, g as CommerceEmailEventConfig, h as CommerceEmailEventHandlers, i as CommerceEmailHandlerContext, j as CommerceNotification, k as CommerceNotificationData, l as CommerceNotificationEventHandlers, m as CommerceNotificationEventName, n as CommerceNotificationHandlerContext, o as CommerceNotificationSource, p as CommerceNotificationSourceCollection, q as CommerceNotificationWebhookEvent, r as CustomerAuthWebhookEvent, s as CustomerAuthWebhookHandlers, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, O as ORDER_CHANGED_EVENT_TYPE, v as OrderChangedWebhookEvent, W as WebhookChange, w as WebhookCommerceNotificationChange, x as WebhookEvent, y as WebhookHandler, z as WebhookKnownOperation, A as WebhookOperation, B as WebhookOptions, D as WebhookOrderChange, E as WebhookOrderMoved, F as WebhookOrderScope, G as createCommerceEmailWebhookHandler, H as createCommerceNotificationWebhookHandler, I as createCustomerAuthWebhookHandler, J as createTypedWebhookHandler, K as defineCommerceEmailConfig, L as getCommerceNotificationIdempotencyKey, M as handleWebhook, N as isCommerceNotificationWebhookEvent, P as isCustomerPasswordResetWebhookEvent, Q as isOrderChangedWebhookEvent, R as isValidWebhookEvent, S as isWebhookCollection, T as isWebhookOperation } from './index-Bei4WlVw.js';
7
- export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS, P as PublicCollection, b as SERVER_COLLECTIONS, c as SERVER_ONLY_COLLECTIONS } from './const-GYVwlXLr.js';
1
+ import { cd as BaseApi, aF as ServerApiOptions, aI as SubscribeMembershipParams, aJ as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, ce as ProductDetail, cf as ProductDetailCatalog, cg as StockSnapshotResponse, ch as ProductSelectionMediaSource, ci as ProductDisplayMediaSource, cj as ResolveProductSelectionMediaInput, ck as ResolveProductSelectionMediaResult, cl as ProductSelectionMediaPointer, h as ClientConfig, cm as RootClientWithEvents } from './types-Du4s5anw.js';
2
+ export { A as AddItemParams, i as ApiQueryOptions, cn as BulkImportFulfillmentsParams, co as BulkImportFulfillmentsResponse, cp as CalculateShippingParams, cq as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, cr as CancelOrderParams, cs as CancelOrderResponse, ct as CancelReasonCode, cu as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, cv as CartWarning, cw as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, al as Client, u as ClientMetadata, g as ClientState, al as ClientType, cx as Comment, C as CommerceClient, cy as CommerceClientOptions, a as CommunityClient, cz as CommunityClientOptions, cA as CommunityComment, cB as CommunityCommentListSort, cC as CommunityPost, cD as CommunityPostCategory, cE as CommunityPostListSort, cF as CommunityPostTag, cG as CommunityPublicAuthorSnapshot, cH as CommunityPublicMediaAsset, cI as CommunityPublicReference, cJ as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, cK as CreateFulfillmentParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, cL as CreateReturnParams, bY as CustomerAuth, cM as CustomerAuthOptions, b_ as CustomerAuthResponse, cN as CustomerAuthorizationUrlInput, cO as CustomerAuthorizationUrlResult, b$ as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, cP as CustomerOAuth, cQ as CustomerOAuthCallbackResult, cR as CustomerOAuthConfig, cS as CustomerOAuthTokenSet, cT as CustomerOrderListOptions, bZ as CustomerProfile, c2 as CustomerRefreshResponse, c1 as CustomerRegisterData, c0 as CustomerRegisterResponse, F as CustomerSnapshot, G as DebugConfig, H as DeepPartial, cU as DiscountApi, cV as DiscountApiOptions, cW as DiscountErrorReasonCode, b9 as EventAdmissionAvailabilityParams, ba as EventAdmissionAvailabilityResponse, bb as EventAdmissionAvailabilityType, bc as EventAdmissionPricePresentment, bd as EventGuestCancelParams, be as EventGuestRegistration, bf as EventGuestRegistrationResponse, bg as EventRegistrationAnswerInput, bh as EventRegistrationAttendeeInput, bi as EventRegistrationPublic, bj as EventRegistrationRegisterParams, bk as EventRegistrationRegisterResponse, bl as EventsCalendarItem, E as EventsClient, bm as EventsClientOptions, bn as EventsDateParam, bo as EventsExternalSource, bp as EventsLocation, bq as EventsOccurrenceLocation, br as EventsRangeEvent, bs as EventsRangeOccurrence, bt as EventsRangeParams, bu as EventsRangeResponse, bv as EventsTaxonomyItem, I as ExtractArrayType, cX as FeaturedImagePointerInput, cY as GetOrderByPaymentIdParams, cZ as LegacyProductSelectionParamEvent, c_ as ListingGroupsParams, c$ as MAX_CART_LINE_ADMISSIONS, d0 as ManagedPaymentNextAction, d1 as ManagedPublicPaymentSession, d2 as MarketDTO, d3 as MediaValue, J as MembershipStatus, K as Money, d4 as NormalizedOptionSwatch, d5 as NormalizedProductSelection, O as OpenCheckoutPaymentState, d6 as OrderApi, d7 as OrderApiOptions, d8 as OrderByPaymentResult, d9 as PRODUCT_PLP_FIND_OPTIONS, da as PRODUCT_UPSERT_READONLY_FIELD_REASON, db as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, L as PayloadMutationResponse, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, V as PortOnePaymentNextAction, W as PortOnePublicPaymentSession, dc as PrepareFulfillmentOrderParams, dd as PrepareFulfillmentOrderResponse, de as ProductApi, df as ProductApiOptions, dg as ProductDetailBrand, c7 as ProductDetailCatalogResult, dh as ProductDetailCatalogVariant, di as ProductDetailCategory, dj as ProductDetailImage, dk as ProductDetailImageMedia, dl as ProductDetailMedia, dm as ProductDetailOption, dn as ProductDetailOptionValue, c6 as ProductDetailParams, dp as ProductDetailResult, dq as ProductDetailTag, dr as ProductDetailUnavailableReason, ds as ProductDetailVariant, dt as ProductDetailVariantOptionValue, du as ProductDetailVideo, dv as ProductFallbackLocaleOption, dw as ProductHrefGroup, dx as ProductHrefOptions, dy as ProductHrefProduct, dz as ProductListingCard, dA as ProductListingCardOptions, dB as ProductListingCardPriceRange, dC as ProductListingCardRepresentativeVariant, dD as ProductListingGroup, dE as ProductListingGroupCatalogSummary, dF as ProductListingGroupCatalogVariant, dG as ProductListingGroupProjection, dH as ProductListingGroupSummary, dI as ProductListingGroupVariant, ca as ProductListingGroupsCatalogItem, dJ as ProductListingGroupsCatalogProduct, dK as ProductListingGroupsCatalogResponse, cc as ProductListingGroupsItem, dL as ProductListingGroupsProduct, dM as ProductListingGroupsResponse, c5 as ProductListingPageBaseParams, c8 as ProductListingPageCatalogParams, dN as ProductListingPageFilters, cb as ProductListingPageFullParams, c4 as ProductListingPageParams, c9 as ProductListingPageResult, dO as ProductListingPageSort, dP as ProductListingProductShape, dQ as ProductListingSwatch, dR as ProductLocaleOption, dS as ProductLocaleReadParams, dT as ProductLocalizedText, dU as ProductLocalizedValue, dV as ProductMediaResolutionSource, dW as ProductMoneyRange, dX as ProductOptionMatrix, dY as ProductOptionMatrixOption, dZ as ProductOptionMatrixValue, d_ as ProductOptionMatrixVariant, d$ as ProductOptionShape, e0 as ProductOptionValueShape, e1 as ProductOptionValueSwatch, e2 as ProductOptionValueSwatchInput, e3 as ProductPriceRange, e4 as ProductSelectionAvailableSwatch, e5 as ProductSelectionAvailableValue, e6 as ProductSelectionByOptionValue, e7 as ProductSelectionCodecError, e8 as ProductSelectionCodecOptions, e9 as ProductSelectionInput, ea as ProductSelectionOptionValue, eb as ProductSelectionResolution, ec as ProductSelectionResolutionContext, ed as ProductSelectionUrlEmit, ee as ProductSelectionVariant, ef as ProductUpsertFieldValidationErrorBody, eg as ProductUpsertFieldValidationErrorReason, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, eh as ProductVariantShape, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, ei as PublicCheckoutBase, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, bX as PublicReadQueryOptions, af as ReconciliationRequired, ag as RemoveItemParams, ej as RequestOptions, ek as ResolveCancelRefundFailedResponse, el as ResolveCancelRefundOutcome, em as ResolveCancelRefundParams, en as ResolveCancelRefundResponse, eo as ResolveCancelRefundSucceededResponse, ep as ResolveProductDisplayMediaInput, eq as ResolveProductDisplayMediaResult, er as ResolvedCatalogPrice, ah as RetrieveBrowserPaymentSessionParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, bA as RetrieveServerCheckoutParams, ak as RetryConfig, es as ReturnCancellationReasonCode, et as ReturnItem, eu as ReturnReason, ev as ReturnWithRefundItem, ew as ReturnWithRefundParams, al as RootClient, am as RootCollectionClient, an as RootReadOnlyQueryBuilder, ex as ShippingApi, ey as ShippingApiOptions, ao as ShippingLine, ap as Sort, aq as SpentCheckoutPaymentState, ez as StockCheckParams, eA as StockCheckResponse, eB as StockCheckResult, eC as StockSnapshotItem, eD as StockSnapshotParams, ar as StorefrontContentListOptions, as as StorefrontContentReference, at as StorefrontGalleryItem, au as StorefrontGalleryItemsListOptions, av as StorefrontGalleryItemsSort, aw as StorefrontLink, ax as StorefrontLinksListOptions, ay as StorefrontLinksSort, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, eE as UpdateFulfillmentParams, aB as UpdateItemParams, eF as UpdateOrderParams, c3 as UpdateProfileData, eG as UpdateReturnParams, eH as ValidateDiscountParams, eI as ValidateDiscountResult, aC as VariantInput, aD as Where, eJ as WithIdempotencyKey, eK as buildProductHref, eL as buildProductListingCard, eM as buildProductListingGroupProjection, eN as buildProductListingGroupsByOption, eO as buildProductOptionMatrix, eP as buildProductOptionMatrixFromDetail, eQ as createProductSelectionCodec, eR as getAvailableOptionValues, eS as getProductSelectionImages, eT as getSelectedValueByOptionId, eU as getVariantAvailableForSale, eV as getVariantAvailableStock, eW as isProductUpsertFieldValidationErrorBody, eX as normalizeProductSelection, eY as normalizeProductSelectionFromMatrix, eZ as normalizeSelectedValueIds, e_ as parseProductSelection, e$ as projectProductToListingShape, f0 as resolveFeaturedImagePointer, f1 as resolveProductDisplayMedia, f2 as resolveProductSelection, f3 as resolveProductSelectionFromMatrix, f4 as resolveProductSelectionMedia, f5 as resolveVariantForSelection, f6 as selectNext, f7 as selectedSwatchMediaItemId, f8 as stringifyProductSelection, f9 as toShopifyPriceRangeV2 } from './types-Du4s5anw.js';
3
+ import { P as Product } from './payload-types-MKbx5MuJ.js';
4
+ export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-MKbx5MuJ.js';
5
+ export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-L_nh-ED7.js';
6
+ export { C as COMMERCE_NOTIFICATION_EVENTS, a as COMMERCE_NOTIFICATION_EVENT_TYPE, b as COMMERCE_NOTIFICATION_OPERATION, c as CUSTOMER_PASSWORD_RESET_OPERATION, d as CollectionWebhookOperation, e as CommerceEmailChannel, f as CommerceEmailConfig, g as CommerceEmailEventConfig, h as CommerceEmailEventHandlers, i as CommerceEmailHandlerContext, j as CommerceNotification, k as CommerceNotificationData, l as CommerceNotificationEventHandlers, m as CommerceNotificationEventName, n as CommerceNotificationHandlerContext, o as CommerceNotificationSource, p as CommerceNotificationSourceCollection, q as CommerceNotificationWebhookEvent, r as CustomerAuthWebhookEvent, s as CustomerAuthWebhookHandlers, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, O as ORDER_CHANGED_EVENT_TYPE, v as OrderChangedWebhookEvent, W as WebhookChange, w as WebhookCommerceNotificationChange, x as WebhookEvent, y as WebhookHandler, z as WebhookKnownOperation, A as WebhookOperation, B as WebhookOptions, D as WebhookOrderChange, E as WebhookOrderMoved, F as WebhookOrderScope, G as createCommerceEmailWebhookHandler, H as createCommerceNotificationWebhookHandler, I as createCustomerAuthWebhookHandler, J as createTypedWebhookHandler, K as defineCommerceEmailConfig, L as getCommerceNotificationIdempotencyKey, M as handleWebhook, N as isCommerceNotificationWebhookEvent, P as isCustomerPasswordResetWebhookEvent, Q as isOrderChangedWebhookEvent, R as isValidWebhookEvent, S as isWebhookCollection, T as isWebhookOperation } from './index-DUuIqUS8.js';
7
+ export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS, P as PublicCollection, b as SERVER_COLLECTIONS, c as SERVER_ONLY_COLLECTIONS } from './const-DCNV5Kq7.js';
8
8
  export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.js';
9
9
  export { a as IMAGE_SIZES, I as ImageData, b as ImageDataSizeEntry, c as ImageDataSizes, d as ImagePalette, e as ImagePlaceholderOptions, g as getImageLqip, f as getImagePalette, h as getImagePlaceholderStyle, i as getImageSrcSet, j as getImageUrl } from './image-BDjHp03R.js';
10
10
  export { V as VideoGifOptions, a as VideoThumbnailOptions, g as getVideoGif, b as getVideoMp4Url, c as getVideoStoryboard, d as getVideoStreamUrl, e as getVideoThumbnail } from './video-WR_TFO9a.js';
11
11
  export { Analytics, AnalyticsConfig, createAnalytics } from './analytics.js';
12
- export { ApiError, AuthError, COMMERCE_ERROR_CODES, CommerceErrorCode, CommerceSDKError, ConfigError, ConflictError, GoneError, NetworkError, NotFoundError, PermissionError, RateLimitError, SDKError, ServiceUnavailableError, TimeoutError, UsageLimitError, ValidationError, createAuthError, createConflictError, createNotFoundError, createPermissionError, createRateLimitError, isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.js';
12
+ export { ApiError, AuthError, COMMERCE_ERROR_CODES, CommerceErrorCode, CommerceSDKError, ConfigError, ConflictError, GoneError, NetworkError, NotFoundError, PermissionError, RateLimitError, SDKError, ServiceUnavailableError, TimeoutError, UsageLimitError, ValidationError, createAuthError, createConflictError, createNotFoundError, createPermissionError, createRateLimitError, getSDKErrorReason, isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.js';
13
13
 
14
14
  declare function isCommerceIdempotencyKey(value: unknown): value is string;
15
15
  declare function assertCommerceIdempotencyKey(value: unknown): asserts value is string;