@01.software/sdk 0.72.1 → 0.73.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 (43) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +40 -0
  3. package/dist/client.cjs +9 -2
  4. package/dist/client.cjs.map +1 -1
  5. package/dist/client.d.cts +6 -6
  6. package/dist/client.d.ts +6 -6
  7. package/dist/client.js +9 -2
  8. package/dist/client.js.map +1 -1
  9. package/dist/{collection-client-B3CnqMDQ.d.cts → collection-client-BH4dIZ6c.d.cts} +4 -4
  10. package/dist/{collection-client-uOgS_1bC.d.ts → collection-client-lLAl3xCZ.d.ts} +4 -4
  11. package/dist/{const-_ZfJjRQG.d.cts → const-BS2EaIp4.d.cts} +1 -1
  12. package/dist/{const-BJBK7jBl.d.ts → const-CCvoknRY.d.ts} +1 -1
  13. package/dist/{index-CI_LFWiG.d.cts → index-CHdrzJ8-.d.cts} +3 -3
  14. package/dist/{index-CBaP4q8r.d.ts → index-DVqNpmsc.d.ts} +3 -3
  15. package/dist/index.cjs +10 -3
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +14 -11
  18. package/dist/index.d.ts +14 -11
  19. package/dist/index.js +10 -3
  20. package/dist/index.js.map +1 -1
  21. package/dist/{payload-types-BRg8Yary.d.cts → payload-types-PXkmefhZ.d.cts} +77 -20
  22. package/dist/{payload-types-BRg8Yary.d.ts → payload-types-PXkmefhZ.d.ts} +77 -20
  23. package/dist/query.d.cts +5 -5
  24. package/dist/query.d.ts +5 -5
  25. package/dist/realtime.d.cts +2 -2
  26. package/dist/realtime.d.ts +2 -2
  27. package/dist/server.cjs +39 -10
  28. package/dist/server.cjs.map +1 -1
  29. package/dist/server.d.cts +8 -7
  30. package/dist/server.d.ts +8 -7
  31. package/dist/server.js +39 -10
  32. package/dist/server.js.map +1 -1
  33. package/dist/{types-DLjSqL0P.d.ts → types-CQRsG6sA.d.ts} +2 -2
  34. package/dist/{types-CnkJQUez.d.cts → types-Chwgg4CQ.d.cts} +21 -4
  35. package/dist/{types-FyklqLAk.d.cts → types-CyMz0Kzc.d.cts} +2 -2
  36. package/dist/{types-Cmnxxvuv.d.ts → types-lbzbJSZh.d.ts} +21 -4
  37. package/dist/ui/form.d.cts +1 -1
  38. package/dist/ui/form.d.ts +1 -1
  39. package/dist/ui/video.d.cts +1 -1
  40. package/dist/ui/video.d.ts +1 -1
  41. package/dist/webhook.d.cts +5 -5
  42. package/dist/webhook.d.ts +5 -5
  43. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { dT as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, E as EndSubscribeIntentParams, d as EndSubscribeIntentResponse, C as CancelMembershipParams, e as CancelMembershipResponse, B as BillingCustodyParams, f as BillingCustodyResponse, dU as ProductDetail, dV as ProductDetailCatalog, dW as StockSnapshotResponse, d5 as ClientConfig, dX as RootClientWithEvents } from './types-CnkJQUez.cjs';
2
- export { A as AddItemParams, d6 as ApiQueryOptions, r as BENEFIT_VOUCHER_ERROR_REASONS, s as BENEFIT_VOUCHER_VOID_REASONS, t as BenefitVoucher, u as BenefitVoucherErrorReason, j as BenefitVouchersApi, dY as BillingCustodyWireRequest, dZ as BulkImportFulfillmentsParams, d_ as BulkImportFulfillmentsResponse, d$ as CalculateShippingParams, e0 as CalculateShippingResult, d7 as CancelBrowserPaymentSessionParams, e1 as CancelOrderManagedAlreadyCanceledResponse, e2 as CancelOrderManagedCommittedResponse, e3 as CancelOrderParams, e4 as CancelOrderResponse, e5 as CancelReasonCode, e6 as CartDiscountCode, d8 as CartMergeParams, z as CartMergeResult, D as CartMineResult, F as CartMutationResult, e7 as CartWarning, e8 as CartWarningCode, G as CheckoutAbandonedReason, H as CheckoutAmounts, e9 as CheckoutFunding, N as CheckoutOrderReference, O as CheckoutPaymentSessionRef, W as CheckoutShippingAddress, Z as ClearCartParams, dk as Client, d9 as ClientMetadata, o as ClientState, dk as ClientType, ea as Comment, d2 as CommerceClient, eb as CommerceClientOptions, l as CommunityClient, ec as CommunityClientOptions, ed as CommunityComment, ee as CommunityCommentListSort, ef as CommunityPost, eg as CommunityPostCategory, eh as CommunityPostListSort, ei as CommunityPostTag, ej as CommunityPublicAuthorSnapshot, ek as CommunityPublicMediaAsset, el as CommunityPublicReference, em as CompatibilityProductSelectionParamEvent, d3 as ContentClient, da as ContentClientOptions, a7 as CreateCartParams, a8 as CreateCartResult, db as CreateCheckoutParams, dc as CreateCheckoutResult, en as CreateFulfillmentParams, ab as CreatePaymentSessionParams, ac as CreatePortOnePaymentSessionParams, eo as CreateReturnParams, af as CreateServerPaymentSessionParams, ag as CreateServerPortOnePaymentSessionParams, k as CreditsApi, dC as CustomerAuth, ep as CustomerAuthOptions, dE as CustomerAuthResponse, eq as CustomerAuthorizationUrlInput, er as CustomerAuthorizationUrlResult, aj as CustomerBenefitVoucher, ak as CustomerCreditAccountResponse, al as CustomerCreditBalances, am as CustomerCreditGrant, g as CustomerGroupApi, an as CustomerGroupApiOptions, ao as CustomerGroupManualSource, ap as CustomerGroupMember, aq as CustomerGroupMemberCommandResponse, ar as CustomerGroupMemberSource, as as CustomerGroupMembershipSource, at as CustomerGroupMembershipState, dF as CustomerLoginData, au as CustomerMembershipView, d4 as CustomerNamespace, es as CustomerOAuth, et as CustomerOAuthCallbackResult, eu as CustomerOAuthConfig, ev as CustomerOAuthTokenSet, ew as CustomerOrderListOptions, dD as CustomerProfile, dI as CustomerRefreshResponse, dH as CustomerRegisterData, dG as CustomerRegisterResponse, av as CustomerSnapshot, ex as CustomerWithdrawalResult, dd as DebugConfig, de as DeepPartial, ey as DiscountApi, ez as DiscountApiOptions, eA as DiscountErrorReasonCode, ax as EventAdmissionAvailabilityParams, ay as EventAdmissionAvailabilityResponse, az as EventAdmissionAvailabilityType, aA as EventAdmissionPricePresentment, aB as EventGuestCancelParams, aC as EventGuestRegistration, aD as EventGuestRegistrationResponse, aE as EventMyRegistration, aF as EventMyRegistrationsParams, aG as EventMyRegistrationsResponse, aH as EventRegistrationAnswerInput, aI as EventRegistrationAttendeeInput, aJ as EventRegistrationPublic, aK as EventRegistrationRegisterParams, aL as EventRegistrationRegisterResponse, aM as EventsCalendarItem, aN as EventsClient, aO as EventsClientOptions, aP as EventsDateParam, aQ as EventsExternalSource, aR as EventsLocation, aS as EventsOccurrenceLocation, aT as EventsRangeEvent, aU as EventsRangeOccurrence, aV as EventsRangeParams, aW as EventsRangeResponse, aX as EventsTaxonomyItem, df as ExtractArrayType, eB as FeaturedImagePointerInput, b6 as GetBenefitVoucherRequest, b7 as GetCustomerCreditAccountRequest, b8 as GetCustomerCreditGrantRequest, eC as GetOrderByPaymentIdParams, bb as GrantCustomerCreditRequest, bc as GrantCustomerGroupMemberParams, bf as IssueBenefitVoucherRequest, bg as IssueBenefitVoucherResponse, eD as LegacyProductSelectionParamEvent, bh as ListBenefitVouchersRequest, bi as ListBenefitVouchersResponse, bj as ListCustomerGroupMembersParams, bk as ListCustomerGroupMembersResponse, bm as ListMyBenefitVouchersRequest, bn as ListMyBenefitVouchersResponse, eE as ListingGroupsParams, eF as MAX_CART_LINE_ADMISSIONS, eG as ManagedCancelRefundOutcome, eH as ManagedPaymentNextAction, eI as ManagedPublicPaymentSession, eJ as MarketDTO, eK as MediaValue, bo as MembershipStatus, bq as Money, br as MutateBenefitVoucherResponse, bt as MyCustomerCreditHistoryRequest, bu as MyCustomerCreditHistoryResponse, bv as MyCustomerCreditsRequest, bw as MyCustomerCreditsResponse, eL as NormalizedOptionSwatch, eM as NormalizedProductSelection, bx as OpenCheckoutPaymentState, eN as OrderApi, eO as OrderApiOptions, eP as OrderByPaymentResult, eQ as PRODUCT_PLP_FIND_OPTIONS, eR as PRODUCT_UPSERT_READONLY_FIELD_REASON, eS as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, dg as PayloadFindResponse, dh as PayloadMutationResponse, by as PaymentFailureReason, bz as PaymentNextAction, bA as PaymentProviderStatus, bB as PaymentReconciliationReason, bE as PaymentSessionRole, bF as PortOneHostedPaymentMethod, bH as PortOnePaymentNextAction, bK as PortOnePublicPaymentSession, eT as PrepareFulfillmentOrderParams, eU as PrepareFulfillmentOrderResponse, eV as ProductApi, eW as ProductApiOptions, eX as ProductDetailBrand, dN as ProductDetailCatalogResult, eY as ProductDetailCatalogVariant, eZ as ProductDetailCategory, e_ as ProductDetailImage, e$ as ProductDetailImageMedia, f0 as ProductDetailMedia, f1 as ProductDetailOption, f2 as ProductDetailOptionValue, dM as ProductDetailParams, f3 as ProductDetailResult, f4 as ProductDetailTag, f5 as ProductDetailUnavailableReason, f6 as ProductDetailVariant, f7 as ProductDetailVariantOptionValue, f8 as ProductDetailVideo, f9 as ProductDisplayMediaSource, fa as ProductFallbackLocaleOption, fb as ProductHrefGroup, fc as ProductHrefOptions, fd as ProductHrefProduct, fe as ProductListingCard, ff as ProductListingCardOptions, fg as ProductListingCardPriceRange, fh as ProductListingCardRepresentativeVariant, fi as ProductListingGroup, fj as ProductListingGroupCatalogSummary, fk as ProductListingGroupCatalogVariant, fl as ProductListingGroupProjection, fm as ProductListingGroupSummary, fn as ProductListingGroupVariant, dQ as ProductListingGroupsCatalogItem, fo as ProductListingGroupsCatalogProduct, fp as ProductListingGroupsCatalogResponse, dS as ProductListingGroupsItem, fq as ProductListingGroupsProduct, fr as ProductListingGroupsResponse, dL as ProductListingPageBaseParams, dO as ProductListingPageCatalogParams, fs as ProductListingPageFilters, dR as ProductListingPageFullParams, dK as ProductListingPageParams, dP as ProductListingPageResult, ft as ProductListingPageSort, fu as ProductListingProductShape, fv as ProductListingSwatch, fw as ProductLocaleOption, fx as ProductLocaleReadParams, fy as ProductLocalizedText, fz as ProductLocalizedValue, fA as ProductMediaResolutionSource, fB as ProductMoneyRange, fC as ProductOptionMatrix, fD as ProductOptionMatrixOption, fE as ProductOptionMatrixValue, fF as ProductOptionMatrixVariant, fG as ProductOptionShape, fH as ProductOptionValueShape, fI as ProductOptionValueSwatch, fJ as ProductOptionValueSwatchInput, fK as ProductPriceRange, fL as ProductSelectionAvailableSwatch, fM as ProductSelectionAvailableValue, fN as ProductSelectionByOptionValue, fO as ProductSelectionCodecError, fP as ProductSelectionCodecOptions, fQ as ProductSelectionInput, fR as ProductSelectionMediaPointer, fS as ProductSelectionMediaSource, fT as ProductSelectionOptionValue, fU as ProductSelectionResolution, fV as ProductSelectionResolutionContext, fW as ProductSelectionUrlEmit, fX as ProductSelectionVariant, fY as ProductUpsertFieldValidationErrorBody, fZ as ProductUpsertFieldValidationErrorReason, bO as ProductUpsertInput, bP as ProductUpsertParams, bQ as ProductUpsertResponse, bR as ProductUpsertVariantInput, f_ as ProductVariantShape, bS as PublicAttribute, bT as PublicCaptureEvidence, bU as PublicCart, bV as PublicCartItem, bW as PublicCartItemAdmission, bX as PublicCartMarket, bY as PublicCartReference, bZ as PublicCheckout, f$ as PublicCheckoutBase, b_ as PublicCheckoutItem, b$ as PublicMediaAsset, c0 as PublicMediaSize, c1 as PublicOrder, c2 as PublicOrderAmounts, c3 as PublicOrderItem, c4 as PublicOrderReference, c5 as PublicPaymentSession, dB as PublicReadQueryOptions, c8 as ReconciliationRequired, ca as RedeemBenefitVoucherRequest, cb as RemoveItemParams, g0 as RequestOptions, g1 as ResolveCancelRefundFailedResponse, g2 as ResolveCancelRefundOutcome, g3 as ResolveCancelRefundParams, g4 as ResolveCancelRefundResponse, g5 as ResolveCancelRefundSucceededResponse, g6 as ResolveProductDisplayMediaInput, g7 as ResolveProductDisplayMediaResult, g8 as ResolveProductSelectionMediaInput, g9 as ResolveProductSelectionMediaResult, ga as ResolvedCatalogPrice, di as RetrieveBrowserPaymentSessionParams, ce as RetrieveCartParams, cf as RetrieveCheckoutParams, ch as RetrieveServerCheckoutParams, dj as RetryConfig, gb as ReturnCancellationReasonCode, gc as ReturnItem, gd as ReturnReason, ge as ReturnWithRefundItem, gf as ReturnWithRefundParams, ck as RevokeCustomerCreditRequest, cl as RevokeCustomerCreditResponse, cm as RevokeCustomerGroupMemberParams, dk as RootClient, dl as RootCollectionClient, dm as RootReadOnlyQueryBuilder, gg as ShippingApi, gh as ShippingApiOptions, ct as ShippingLine, dn as Sort, cu as SpentCheckoutPaymentState, gi as StockCheckParams, gj as StockCheckResponse, gk as StockCheckResult, gl as StockSnapshotItem, gm as StockSnapshotParams, dp as StorefrontContentListOptions, dq as StorefrontContentReference, dr as StorefrontGalleryItem, ds as StorefrontGalleryItemsListOptions, dt as StorefrontGalleryItemsSort, du as StorefrontLink, dv as StorefrontLinksListOptions, dw as StorefrontLinksSort, cL as UpdateCartAttributesParams, cM as UpdateDiscountCodesParams, gn as UpdateFulfillmentParams, cN as UpdateItemParams, go as UpdateOrderParams, dJ as UpdateProfileData, gp as UpdateReturnParams, gq as ValidateDiscountParams, gr as ValidateDiscountResult, cO as VariantInput, gs as VideoPlaybackResponse, cS as VoidBenefitVoucherRequest, dx as Where, gt as WithIdempotencyKey, gu as buildProductHref, gv as buildProductListingCard, gw as buildProductListingGroupProjection, gx as buildProductListingGroupsByOption, gy as buildProductOptionMatrix, gz as buildProductOptionMatrixFromDetail, gA as createProductSelectionCodec, gB as getAvailableOptionValues, gC as getProductSelectionImages, gD as getSelectedValueByOptionId, gE as getVariantAvailableForSale, gF as getVariantAvailableStock, cU as invalidBenefitVoucherResponse, gG as isProductUpsertFieldValidationErrorBody, gH as normalizeProductSelection, gI as normalizeProductSelectionFromMatrix, gJ as normalizeSelectedValueIds, cV as parseBenefitVoucher, cW as parseBenefitVoucherList, cX as parseCustomerCreditAccount, cY as parseCustomerCreditGrant, cZ as parseMyCustomerCreditHistory, c_ as parseMyCustomerCredits, gK as parseProductSelection, c$ as parseRevokeCustomerCredit, gL as projectProductToListingShape, gM as resolveFeaturedImagePointer, gN as resolveProductDisplayMedia, gO as resolveProductSelection, gP as resolveProductSelectionFromMatrix, gQ as resolveProductSelectionMedia, gR as resolveVariantForSelection, gS as selectNext, gT as selectedSwatchMediaItemId, gU as stringifyProductSelection, gV as toShopifyPriceRangeV2 } from './types-CnkJQUez.cjs';
3
- import { P as Product } from './payload-types-BRg8Yary.cjs';
4
- export { A as Article, g as ArticleAuthor, h as ArticleCategory, i as ArticleTag, D as Document, I as Image, j as Post, k as PostCategory, T as Tenant, V as Video } from './payload-types-BRg8Yary.cjs';
5
- export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-FyklqLAk.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, a2 as CustomerCommerceNotificationEventName, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, M as MembershipNotificationData, v as MembershipNotificationEventName, O as ORDER_CHANGED_EVENT_TYPE, w as OrderChangedWebhookEvent, P as PaymentIncidentMoney, x as PaymentIncidentNotificationData, y as PaymentIncidentNotificationEventName, z as PaymentIncidentNotificationReason, A as PaymentIncidentNotificationSourceCollection, B as PaymentIncidentNotificationStatus, D as PaymentIncidentProviderObject, a3 as PaymentReconciliationRequiredNotificationData, a4 as PaymentRefundRequiresAttentionNotificationData, E as WebhookChange, F as WebhookCommerceNotificationChange, G as WebhookEvent, W as WebhookHandler, H as WebhookKnownOperation, I as WebhookOperation, J as WebhookOptions, K as WebhookOrderChange, L as WebhookOrderMoved, N as WebhookOrderScope, Q as createCommerceEmailWebhookHandler, R as createCommerceNotificationWebhookHandler, S as createCustomerAuthWebhookHandler, T as createTypedWebhookHandler, U as defineCommerceEmailConfig, V as getCommerceNotificationIdempotencyKey, X as handleWebhook, Y as isCommerceNotificationWebhookEvent, Z as isCustomerPasswordResetWebhookEvent, _ as isOrderChangedWebhookEvent, $ as isValidWebhookEvent, a0 as isWebhookCollection, a1 as isWebhookOperation } from './index-CI_LFWiG.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-_ZfJjRQG.cjs';
1
+ import { dV as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, E as EndSubscribeIntentParams, d as EndSubscribeIntentResponse, C as CancelMembershipParams, e as CancelMembershipResponse, B as BillingCustodyParams, f as BillingCustodyResponse, g as BillingCustodyContextParams, h as BillingCustodyContextResponse, dW as ProductDetail, dX as ProductDetailCatalog, dY as StockSnapshotResponse, d7 as ClientConfig, dZ as RootClientWithEvents } from './types-Chwgg4CQ.cjs';
2
+ export { A as AddItemParams, d8 as ApiQueryOptions, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, l as BenefitVouchersApi, d_ as BillingCustodyContextWireRequest, d$ as BillingCustodyWireRequest, e0 as BulkImportFulfillmentsParams, e1 as BulkImportFulfillmentsResponse, e2 as CalculateShippingParams, e3 as CalculateShippingResult, d9 as CancelBrowserPaymentSessionParams, e4 as CancelOrderManagedAlreadyCanceledResponse, e5 as CancelOrderManagedCommittedResponse, e6 as CancelOrderParams, e7 as CancelOrderResponse, e8 as CancelReasonCode, e9 as CartDiscountCode, da as CartMergeParams, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, ea as CartWarning, eb as CartWarningCode, J as CheckoutAbandonedReason, K as CheckoutAmounts, ec as CheckoutFunding, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, Y as CheckoutShippingAddress, $ as ClearCartParams, dm as Client, db as ClientMetadata, q as ClientState, dm as ClientType, ed as Comment, d4 as CommerceClient, ee as CommerceClientOptions, n as CommunityClient, ef as CommunityClientOptions, eg as CommunityComment, eh as CommunityCommentListSort, ei as CommunityPost, ej as CommunityPostCategory, ek as CommunityPostListSort, el as CommunityPostTag, em as CommunityPublicAuthorSnapshot, en as CommunityPublicMediaAsset, eo as CommunityPublicReference, ep as CompatibilityProductSelectionParamEvent, d5 as ContentClient, dc as ContentClientOptions, a9 as CreateCartParams, aa as CreateCartResult, dd as CreateCheckoutParams, de as CreateCheckoutResult, eq as CreateFulfillmentParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, er as CreateReturnParams, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, m as CreditsApi, dE as CustomerAuth, es as CustomerAuthOptions, dG as CustomerAuthResponse, et as CustomerAuthorizationUrlInput, eu as CustomerAuthorizationUrlResult, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, i as CustomerGroupApi, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, dH as CustomerLoginData, aw as CustomerMembershipView, d6 as CustomerNamespace, ev as CustomerOAuth, ew as CustomerOAuthCallbackResult, ex as CustomerOAuthConfig, ey as CustomerOAuthTokenSet, ez as CustomerOrderListOptions, dF as CustomerProfile, dK as CustomerRefreshResponse, dJ as CustomerRegisterData, dI as CustomerRegisterResponse, ax as CustomerSnapshot, eA as CustomerWithdrawalResult, df as DebugConfig, dg as DeepPartial, eB as DiscountApi, eC as DiscountApiOptions, eD as DiscountErrorReasonCode, az as EventAdmissionAvailabilityParams, aA as EventAdmissionAvailabilityResponse, aB as EventAdmissionAvailabilityType, aC as EventAdmissionPricePresentment, aD as EventGuestCancelParams, aE as EventGuestRegistration, aF as EventGuestRegistrationResponse, aG as EventMyRegistration, aH as EventMyRegistrationsParams, aI as EventMyRegistrationsResponse, aJ as EventRegistrationAnswerInput, aK as EventRegistrationAttendeeInput, aL as EventRegistrationPublic, aM as EventRegistrationRegisterParams, aN as EventRegistrationRegisterResponse, aO as EventsCalendarItem, aP as EventsClient, aQ as EventsClientOptions, aR as EventsDateParam, aS as EventsExternalSource, aT as EventsLocation, aU as EventsOccurrenceLocation, aV as EventsRangeEvent, aW as EventsRangeOccurrence, aX as EventsRangeParams, aY as EventsRangeResponse, aZ as EventsTaxonomyItem, dh as ExtractArrayType, eE as FeaturedImagePointerInput, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eF as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eG as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eH as ListingGroupsParams, eI as MAX_CART_LINE_ADMISSIONS, eJ as ManagedCancelRefundOutcome, eK as ManagedPaymentNextAction, eL as ManagedPublicPaymentSession, eM as MarketDTO, eN as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, eO as NormalizedOptionSwatch, eP as NormalizedProductSelection, bz as OpenCheckoutPaymentState, eQ as OrderApi, eR as OrderApiOptions, eS as OrderByPaymentResult, eT as PRODUCT_PLP_FIND_OPTIONS, eU as PRODUCT_UPSERT_READONLY_FIELD_REASON, eV as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, di as PayloadFindResponse, dj as PayloadMutationResponse, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bJ as PortOnePaymentNextAction, bM as PortOnePublicPaymentSession, eW as PrepareFulfillmentOrderParams, eX as PrepareFulfillmentOrderResponse, eY as ProductApi, eZ as ProductApiOptions, e_ as ProductDetailBrand, dP as ProductDetailCatalogResult, e$ as ProductDetailCatalogVariant, f0 as ProductDetailCategory, f1 as ProductDetailImage, f2 as ProductDetailImageMedia, f3 as ProductDetailMedia, f4 as ProductDetailOption, f5 as ProductDetailOptionValue, dO as ProductDetailParams, f6 as ProductDetailResult, f7 as ProductDetailTag, f8 as ProductDetailUnavailableReason, f9 as ProductDetailVariant, fa as ProductDetailVariantOptionValue, fb as ProductDetailVideo, fc as ProductDisplayMediaSource, fd as ProductFallbackLocaleOption, fe as ProductHrefGroup, ff as ProductHrefOptions, fg as ProductHrefProduct, fh as ProductListingCard, fi as ProductListingCardOptions, fj as ProductListingCardPriceRange, fk as ProductListingCardRepresentativeVariant, fl as ProductListingGroup, fm as ProductListingGroupCatalogSummary, fn as ProductListingGroupCatalogVariant, fo as ProductListingGroupProjection, fp as ProductListingGroupSummary, fq as ProductListingGroupVariant, dS as ProductListingGroupsCatalogItem, fr as ProductListingGroupsCatalogProduct, fs as ProductListingGroupsCatalogResponse, dU as ProductListingGroupsItem, ft as ProductListingGroupsProduct, fu as ProductListingGroupsResponse, dN as ProductListingPageBaseParams, dQ as ProductListingPageCatalogParams, fv as ProductListingPageFilters, dT as ProductListingPageFullParams, dM as ProductListingPageParams, dR as ProductListingPageResult, fw as ProductListingPageSort, fx as ProductListingProductShape, fy as ProductListingSwatch, fz as ProductLocaleOption, fA as ProductLocaleReadParams, fB as ProductLocalizedText, fC as ProductLocalizedValue, fD as ProductMediaResolutionSource, fE as ProductMoneyRange, fF as ProductOptionMatrix, fG as ProductOptionMatrixOption, fH as ProductOptionMatrixValue, fI as ProductOptionMatrixVariant, fJ as ProductOptionShape, fK as ProductOptionValueShape, fL as ProductOptionValueSwatch, fM as ProductOptionValueSwatchInput, fN as ProductPriceRange, fO as ProductSelectionAvailableSwatch, fP as ProductSelectionAvailableValue, fQ as ProductSelectionByOptionValue, fR as ProductSelectionCodecError, fS as ProductSelectionCodecOptions, fT as ProductSelectionInput, fU as ProductSelectionMediaPointer, fV as ProductSelectionMediaSource, fW as ProductSelectionOptionValue, fX as ProductSelectionResolution, fY as ProductSelectionResolutionContext, fZ as ProductSelectionUrlEmit, f_ as ProductSelectionVariant, f$ as ProductUpsertFieldValidationErrorBody, g0 as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, g1 as ProductVariantShape, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, g2 as PublicCheckoutBase, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, dD as PublicReadQueryOptions, ca as ReconciliationRequired, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, g3 as RequestOptions, g4 as ResolveCancelRefundFailedResponse, g5 as ResolveCancelRefundOutcome, g6 as ResolveCancelRefundParams, g7 as ResolveCancelRefundResponse, g8 as ResolveCancelRefundSucceededResponse, g9 as ResolveProductDisplayMediaInput, ga as ResolveProductDisplayMediaResult, gb as ResolveProductSelectionMediaInput, gc as ResolveProductSelectionMediaResult, gd as ResolvedCatalogPrice, dk as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dl as RetryConfig, ge as ReturnCancellationReasonCode, gf as ReturnItem, gg as ReturnReason, gh as ReturnWithRefundItem, gi as ReturnWithRefundParams, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, dm as RootClient, dn as RootCollectionClient, dp as RootReadOnlyQueryBuilder, gj as ShippingApi, gk as ShippingApiOptions, cv as ShippingLine, dq as Sort, cw as SpentCheckoutPaymentState, gl as StockCheckParams, gm as StockCheckResponse, gn as StockCheckResult, go as StockSnapshotItem, gp as StockSnapshotParams, dr as StorefrontContentListOptions, ds as StorefrontContentReference, dt as StorefrontGalleryItem, du as StorefrontGalleryItemsListOptions, dv as StorefrontGalleryItemsSort, dw as StorefrontLink, dx as StorefrontLinksListOptions, dy as StorefrontLinksSort, cN as UpdateCartAttributesParams, cO as UpdateDiscountCodesParams, gq as UpdateFulfillmentParams, cP as UpdateItemParams, gr as UpdateOrderParams, dL as UpdateProfileData, gs as UpdateReturnParams, gt as ValidateDiscountParams, gu as ValidateDiscountResult, cQ as VariantInput, gv as VideoPlaybackResponse, cU as VoidBenefitVoucherRequest, dz as Where, gw as WithIdempotencyKey, gx as buildProductHref, gy as buildProductListingCard, gz as buildProductListingGroupProjection, gA as buildProductListingGroupsByOption, gB as buildProductOptionMatrix, gC as buildProductOptionMatrixFromDetail, gD as createProductSelectionCodec, gE as getAvailableOptionValues, gF as getProductSelectionImages, gG as getSelectedValueByOptionId, gH as getVariantAvailableForSale, gI as getVariantAvailableStock, cW as invalidBenefitVoucherResponse, gJ as isProductUpsertFieldValidationErrorBody, gK as normalizeProductSelection, gL as normalizeProductSelectionFromMatrix, gM as normalizeSelectedValueIds, cX as parseBenefitVoucher, cY as parseBenefitVoucherList, cZ as parseCustomerCreditAccount, c_ as parseCustomerCreditGrant, c$ as parseMyCustomerCreditHistory, d0 as parseMyCustomerCredits, gN as parseProductSelection, d1 as parseRevokeCustomerCredit, gO as projectProductToListingShape, gP as resolveFeaturedImagePointer, gQ as resolveProductDisplayMedia, gR as resolveProductSelection, gS as resolveProductSelectionFromMatrix, gT as resolveProductSelectionMedia, gU as resolveVariantForSelection, gV as selectNext, gW as selectedSwatchMediaItemId, gX as stringifyProductSelection, gY as toShopifyPriceRangeV2 } from './types-Chwgg4CQ.cjs';
3
+ import { P as Product } from './payload-types-PXkmefhZ.cjs';
4
+ export { A as Article, g as ArticleAuthor, h as ArticleCategory, i as ArticleTag, D as Document, I as Image, j as Post, k as PostCategory, T as Tenant, V as Video } from './payload-types-PXkmefhZ.cjs';
5
+ export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-CyMz0Kzc.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, a2 as CustomerCommerceNotificationEventName, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, M as MembershipNotificationData, v as MembershipNotificationEventName, O as ORDER_CHANGED_EVENT_TYPE, w as OrderChangedWebhookEvent, P as PaymentIncidentMoney, x as PaymentIncidentNotificationData, y as PaymentIncidentNotificationEventName, z as PaymentIncidentNotificationReason, A as PaymentIncidentNotificationSourceCollection, B as PaymentIncidentNotificationStatus, D as PaymentIncidentProviderObject, a3 as PaymentReconciliationRequiredNotificationData, a4 as PaymentRefundRequiresAttentionNotificationData, E as WebhookChange, F as WebhookCommerceNotificationChange, G as WebhookEvent, W as WebhookHandler, H as WebhookKnownOperation, I as WebhookOperation, J as WebhookOptions, K as WebhookOrderChange, L as WebhookOrderMoved, N as WebhookOrderScope, Q as createCommerceEmailWebhookHandler, R as createCommerceNotificationWebhookHandler, S as createCustomerAuthWebhookHandler, T as createTypedWebhookHandler, U as defineCommerceEmailConfig, V as getCommerceNotificationIdempotencyKey, X as handleWebhook, Y as isCommerceNotificationWebhookEvent, Z as isCustomerPasswordResetWebhookEvent, _ as isOrderChangedWebhookEvent, $ as isValidWebhookEvent, a0 as isWebhookCollection, a1 as isWebhookOperation } from './index-CHdrzJ8-.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-BS2EaIp4.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';
@@ -58,11 +58,14 @@ declare class MembershipApi extends BaseApi {
58
58
  cancel(params: CancelMembershipParams): Promise<CancelMembershipResponse>;
59
59
  /**
60
60
  * Store/read only app-encrypted billing ciphertext for the Membership's
61
- * method. The tenant server receives the non-secret restore generation from
62
- * its platform operator's integration configuration; it is not discovered
63
- * from an unauthenticated endpoint.
61
+ * method. Obtain generation from billingCustodyContext before a new upload
62
+ * or read, and retain that same generation for every mutation based on the
63
+ * read. Never rediscover and retry a mutation after a generation mismatch.
64
64
  */
65
65
  billingCustody(params: BillingCustodyParams): Promise<BillingCustodyResponse>;
66
+ /** Requires the same server key, Membership and delegated HMAC as custody. */
67
+ billingCustodyContext(params: BillingCustodyContextParams): Promise<BillingCustodyContextResponse>;
68
+ private requestBillingCustody;
66
69
  }
67
70
 
68
71
  type ProductDetailStockMergeStatus = 'complete' | 'partial';
@@ -93,4 +96,4 @@ declare function resolveRelation<T>(ref: unknown): T | null;
93
96
 
94
97
  declare function createClient(options: ClientConfig): RootClientWithEvents;
95
98
 
96
- export { BaseApi, BillingCustodyParams, BillingCustodyResponse, CancelMembershipParams, CancelMembershipResponse, ClientConfig, EndSubscribeIntentParams, EndSubscribeIntentResponse, MembershipApi, type MembershipApiOptions, type MergedProductDetailResult, ProductDetail, ProductDetailCatalog, type ProductDetailStockMergeStatus, RootClientWithEvents, ServerApiOptions, StockSnapshotResponse, SubscribeMembershipParams, SubscribeMembershipResponse, assertCommerceIdempotencyKey, createClient, createCommerceIdempotencyKey, formatOrderName, generateOrderNumber, isCommerceIdempotencyKey, mergeProductDetailWithStock, resolveRelation };
99
+ export { BaseApi, BillingCustodyContextParams, BillingCustodyContextResponse, BillingCustodyParams, BillingCustodyResponse, CancelMembershipParams, CancelMembershipResponse, ClientConfig, EndSubscribeIntentParams, EndSubscribeIntentResponse, MembershipApi, type MembershipApiOptions, type MergedProductDetailResult, ProductDetail, ProductDetailCatalog, type ProductDetailStockMergeStatus, RootClientWithEvents, ServerApiOptions, StockSnapshotResponse, SubscribeMembershipParams, SubscribeMembershipResponse, assertCommerceIdempotencyKey, createClient, createCommerceIdempotencyKey, formatOrderName, generateOrderNumber, isCommerceIdempotencyKey, mergeProductDetailWithStock, resolveRelation };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { dT as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, E as EndSubscribeIntentParams, d as EndSubscribeIntentResponse, C as CancelMembershipParams, e as CancelMembershipResponse, B as BillingCustodyParams, f as BillingCustodyResponse, dU as ProductDetail, dV as ProductDetailCatalog, dW as StockSnapshotResponse, d5 as ClientConfig, dX as RootClientWithEvents } from './types-Cmnxxvuv.js';
2
- export { A as AddItemParams, d6 as ApiQueryOptions, r as BENEFIT_VOUCHER_ERROR_REASONS, s as BENEFIT_VOUCHER_VOID_REASONS, t as BenefitVoucher, u as BenefitVoucherErrorReason, j as BenefitVouchersApi, dY as BillingCustodyWireRequest, dZ as BulkImportFulfillmentsParams, d_ as BulkImportFulfillmentsResponse, d$ as CalculateShippingParams, e0 as CalculateShippingResult, d7 as CancelBrowserPaymentSessionParams, e1 as CancelOrderManagedAlreadyCanceledResponse, e2 as CancelOrderManagedCommittedResponse, e3 as CancelOrderParams, e4 as CancelOrderResponse, e5 as CancelReasonCode, e6 as CartDiscountCode, d8 as CartMergeParams, z as CartMergeResult, D as CartMineResult, F as CartMutationResult, e7 as CartWarning, e8 as CartWarningCode, G as CheckoutAbandonedReason, H as CheckoutAmounts, e9 as CheckoutFunding, N as CheckoutOrderReference, O as CheckoutPaymentSessionRef, W as CheckoutShippingAddress, Z as ClearCartParams, dk as Client, d9 as ClientMetadata, o as ClientState, dk as ClientType, ea as Comment, d2 as CommerceClient, eb as CommerceClientOptions, l as CommunityClient, ec as CommunityClientOptions, ed as CommunityComment, ee as CommunityCommentListSort, ef as CommunityPost, eg as CommunityPostCategory, eh as CommunityPostListSort, ei as CommunityPostTag, ej as CommunityPublicAuthorSnapshot, ek as CommunityPublicMediaAsset, el as CommunityPublicReference, em as CompatibilityProductSelectionParamEvent, d3 as ContentClient, da as ContentClientOptions, a7 as CreateCartParams, a8 as CreateCartResult, db as CreateCheckoutParams, dc as CreateCheckoutResult, en as CreateFulfillmentParams, ab as CreatePaymentSessionParams, ac as CreatePortOnePaymentSessionParams, eo as CreateReturnParams, af as CreateServerPaymentSessionParams, ag as CreateServerPortOnePaymentSessionParams, k as CreditsApi, dC as CustomerAuth, ep as CustomerAuthOptions, dE as CustomerAuthResponse, eq as CustomerAuthorizationUrlInput, er as CustomerAuthorizationUrlResult, aj as CustomerBenefitVoucher, ak as CustomerCreditAccountResponse, al as CustomerCreditBalances, am as CustomerCreditGrant, g as CustomerGroupApi, an as CustomerGroupApiOptions, ao as CustomerGroupManualSource, ap as CustomerGroupMember, aq as CustomerGroupMemberCommandResponse, ar as CustomerGroupMemberSource, as as CustomerGroupMembershipSource, at as CustomerGroupMembershipState, dF as CustomerLoginData, au as CustomerMembershipView, d4 as CustomerNamespace, es as CustomerOAuth, et as CustomerOAuthCallbackResult, eu as CustomerOAuthConfig, ev as CustomerOAuthTokenSet, ew as CustomerOrderListOptions, dD as CustomerProfile, dI as CustomerRefreshResponse, dH as CustomerRegisterData, dG as CustomerRegisterResponse, av as CustomerSnapshot, ex as CustomerWithdrawalResult, dd as DebugConfig, de as DeepPartial, ey as DiscountApi, ez as DiscountApiOptions, eA as DiscountErrorReasonCode, ax as EventAdmissionAvailabilityParams, ay as EventAdmissionAvailabilityResponse, az as EventAdmissionAvailabilityType, aA as EventAdmissionPricePresentment, aB as EventGuestCancelParams, aC as EventGuestRegistration, aD as EventGuestRegistrationResponse, aE as EventMyRegistration, aF as EventMyRegistrationsParams, aG as EventMyRegistrationsResponse, aH as EventRegistrationAnswerInput, aI as EventRegistrationAttendeeInput, aJ as EventRegistrationPublic, aK as EventRegistrationRegisterParams, aL as EventRegistrationRegisterResponse, aM as EventsCalendarItem, aN as EventsClient, aO as EventsClientOptions, aP as EventsDateParam, aQ as EventsExternalSource, aR as EventsLocation, aS as EventsOccurrenceLocation, aT as EventsRangeEvent, aU as EventsRangeOccurrence, aV as EventsRangeParams, aW as EventsRangeResponse, aX as EventsTaxonomyItem, df as ExtractArrayType, eB as FeaturedImagePointerInput, b6 as GetBenefitVoucherRequest, b7 as GetCustomerCreditAccountRequest, b8 as GetCustomerCreditGrantRequest, eC as GetOrderByPaymentIdParams, bb as GrantCustomerCreditRequest, bc as GrantCustomerGroupMemberParams, bf as IssueBenefitVoucherRequest, bg as IssueBenefitVoucherResponse, eD as LegacyProductSelectionParamEvent, bh as ListBenefitVouchersRequest, bi as ListBenefitVouchersResponse, bj as ListCustomerGroupMembersParams, bk as ListCustomerGroupMembersResponse, bm as ListMyBenefitVouchersRequest, bn as ListMyBenefitVouchersResponse, eE as ListingGroupsParams, eF as MAX_CART_LINE_ADMISSIONS, eG as ManagedCancelRefundOutcome, eH as ManagedPaymentNextAction, eI as ManagedPublicPaymentSession, eJ as MarketDTO, eK as MediaValue, bo as MembershipStatus, bq as Money, br as MutateBenefitVoucherResponse, bt as MyCustomerCreditHistoryRequest, bu as MyCustomerCreditHistoryResponse, bv as MyCustomerCreditsRequest, bw as MyCustomerCreditsResponse, eL as NormalizedOptionSwatch, eM as NormalizedProductSelection, bx as OpenCheckoutPaymentState, eN as OrderApi, eO as OrderApiOptions, eP as OrderByPaymentResult, eQ as PRODUCT_PLP_FIND_OPTIONS, eR as PRODUCT_UPSERT_READONLY_FIELD_REASON, eS as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, dg as PayloadFindResponse, dh as PayloadMutationResponse, by as PaymentFailureReason, bz as PaymentNextAction, bA as PaymentProviderStatus, bB as PaymentReconciliationReason, bE as PaymentSessionRole, bF as PortOneHostedPaymentMethod, bH as PortOnePaymentNextAction, bK as PortOnePublicPaymentSession, eT as PrepareFulfillmentOrderParams, eU as PrepareFulfillmentOrderResponse, eV as ProductApi, eW as ProductApiOptions, eX as ProductDetailBrand, dN as ProductDetailCatalogResult, eY as ProductDetailCatalogVariant, eZ as ProductDetailCategory, e_ as ProductDetailImage, e$ as ProductDetailImageMedia, f0 as ProductDetailMedia, f1 as ProductDetailOption, f2 as ProductDetailOptionValue, dM as ProductDetailParams, f3 as ProductDetailResult, f4 as ProductDetailTag, f5 as ProductDetailUnavailableReason, f6 as ProductDetailVariant, f7 as ProductDetailVariantOptionValue, f8 as ProductDetailVideo, f9 as ProductDisplayMediaSource, fa as ProductFallbackLocaleOption, fb as ProductHrefGroup, fc as ProductHrefOptions, fd as ProductHrefProduct, fe as ProductListingCard, ff as ProductListingCardOptions, fg as ProductListingCardPriceRange, fh as ProductListingCardRepresentativeVariant, fi as ProductListingGroup, fj as ProductListingGroupCatalogSummary, fk as ProductListingGroupCatalogVariant, fl as ProductListingGroupProjection, fm as ProductListingGroupSummary, fn as ProductListingGroupVariant, dQ as ProductListingGroupsCatalogItem, fo as ProductListingGroupsCatalogProduct, fp as ProductListingGroupsCatalogResponse, dS as ProductListingGroupsItem, fq as ProductListingGroupsProduct, fr as ProductListingGroupsResponse, dL as ProductListingPageBaseParams, dO as ProductListingPageCatalogParams, fs as ProductListingPageFilters, dR as ProductListingPageFullParams, dK as ProductListingPageParams, dP as ProductListingPageResult, ft as ProductListingPageSort, fu as ProductListingProductShape, fv as ProductListingSwatch, fw as ProductLocaleOption, fx as ProductLocaleReadParams, fy as ProductLocalizedText, fz as ProductLocalizedValue, fA as ProductMediaResolutionSource, fB as ProductMoneyRange, fC as ProductOptionMatrix, fD as ProductOptionMatrixOption, fE as ProductOptionMatrixValue, fF as ProductOptionMatrixVariant, fG as ProductOptionShape, fH as ProductOptionValueShape, fI as ProductOptionValueSwatch, fJ as ProductOptionValueSwatchInput, fK as ProductPriceRange, fL as ProductSelectionAvailableSwatch, fM as ProductSelectionAvailableValue, fN as ProductSelectionByOptionValue, fO as ProductSelectionCodecError, fP as ProductSelectionCodecOptions, fQ as ProductSelectionInput, fR as ProductSelectionMediaPointer, fS as ProductSelectionMediaSource, fT as ProductSelectionOptionValue, fU as ProductSelectionResolution, fV as ProductSelectionResolutionContext, fW as ProductSelectionUrlEmit, fX as ProductSelectionVariant, fY as ProductUpsertFieldValidationErrorBody, fZ as ProductUpsertFieldValidationErrorReason, bO as ProductUpsertInput, bP as ProductUpsertParams, bQ as ProductUpsertResponse, bR as ProductUpsertVariantInput, f_ as ProductVariantShape, bS as PublicAttribute, bT as PublicCaptureEvidence, bU as PublicCart, bV as PublicCartItem, bW as PublicCartItemAdmission, bX as PublicCartMarket, bY as PublicCartReference, bZ as PublicCheckout, f$ as PublicCheckoutBase, b_ as PublicCheckoutItem, b$ as PublicMediaAsset, c0 as PublicMediaSize, c1 as PublicOrder, c2 as PublicOrderAmounts, c3 as PublicOrderItem, c4 as PublicOrderReference, c5 as PublicPaymentSession, dB as PublicReadQueryOptions, c8 as ReconciliationRequired, ca as RedeemBenefitVoucherRequest, cb as RemoveItemParams, g0 as RequestOptions, g1 as ResolveCancelRefundFailedResponse, g2 as ResolveCancelRefundOutcome, g3 as ResolveCancelRefundParams, g4 as ResolveCancelRefundResponse, g5 as ResolveCancelRefundSucceededResponse, g6 as ResolveProductDisplayMediaInput, g7 as ResolveProductDisplayMediaResult, g8 as ResolveProductSelectionMediaInput, g9 as ResolveProductSelectionMediaResult, ga as ResolvedCatalogPrice, di as RetrieveBrowserPaymentSessionParams, ce as RetrieveCartParams, cf as RetrieveCheckoutParams, ch as RetrieveServerCheckoutParams, dj as RetryConfig, gb as ReturnCancellationReasonCode, gc as ReturnItem, gd as ReturnReason, ge as ReturnWithRefundItem, gf as ReturnWithRefundParams, ck as RevokeCustomerCreditRequest, cl as RevokeCustomerCreditResponse, cm as RevokeCustomerGroupMemberParams, dk as RootClient, dl as RootCollectionClient, dm as RootReadOnlyQueryBuilder, gg as ShippingApi, gh as ShippingApiOptions, ct as ShippingLine, dn as Sort, cu as SpentCheckoutPaymentState, gi as StockCheckParams, gj as StockCheckResponse, gk as StockCheckResult, gl as StockSnapshotItem, gm as StockSnapshotParams, dp as StorefrontContentListOptions, dq as StorefrontContentReference, dr as StorefrontGalleryItem, ds as StorefrontGalleryItemsListOptions, dt as StorefrontGalleryItemsSort, du as StorefrontLink, dv as StorefrontLinksListOptions, dw as StorefrontLinksSort, cL as UpdateCartAttributesParams, cM as UpdateDiscountCodesParams, gn as UpdateFulfillmentParams, cN as UpdateItemParams, go as UpdateOrderParams, dJ as UpdateProfileData, gp as UpdateReturnParams, gq as ValidateDiscountParams, gr as ValidateDiscountResult, cO as VariantInput, gs as VideoPlaybackResponse, cS as VoidBenefitVoucherRequest, dx as Where, gt as WithIdempotencyKey, gu as buildProductHref, gv as buildProductListingCard, gw as buildProductListingGroupProjection, gx as buildProductListingGroupsByOption, gy as buildProductOptionMatrix, gz as buildProductOptionMatrixFromDetail, gA as createProductSelectionCodec, gB as getAvailableOptionValues, gC as getProductSelectionImages, gD as getSelectedValueByOptionId, gE as getVariantAvailableForSale, gF as getVariantAvailableStock, cU as invalidBenefitVoucherResponse, gG as isProductUpsertFieldValidationErrorBody, gH as normalizeProductSelection, gI as normalizeProductSelectionFromMatrix, gJ as normalizeSelectedValueIds, cV as parseBenefitVoucher, cW as parseBenefitVoucherList, cX as parseCustomerCreditAccount, cY as parseCustomerCreditGrant, cZ as parseMyCustomerCreditHistory, c_ as parseMyCustomerCredits, gK as parseProductSelection, c$ as parseRevokeCustomerCredit, gL as projectProductToListingShape, gM as resolveFeaturedImagePointer, gN as resolveProductDisplayMedia, gO as resolveProductSelection, gP as resolveProductSelectionFromMatrix, gQ as resolveProductSelectionMedia, gR as resolveVariantForSelection, gS as selectNext, gT as selectedSwatchMediaItemId, gU as stringifyProductSelection, gV as toShopifyPriceRangeV2 } from './types-Cmnxxvuv.js';
3
- import { P as Product } from './payload-types-BRg8Yary.js';
4
- export { A as Article, g as ArticleAuthor, h as ArticleCategory, i as ArticleTag, D as Document, I as Image, j as Post, k as PostCategory, T as Tenant, V as Video } from './payload-types-BRg8Yary.js';
5
- export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-DLjSqL0P.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, a2 as CustomerCommerceNotificationEventName, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, M as MembershipNotificationData, v as MembershipNotificationEventName, O as ORDER_CHANGED_EVENT_TYPE, w as OrderChangedWebhookEvent, P as PaymentIncidentMoney, x as PaymentIncidentNotificationData, y as PaymentIncidentNotificationEventName, z as PaymentIncidentNotificationReason, A as PaymentIncidentNotificationSourceCollection, B as PaymentIncidentNotificationStatus, D as PaymentIncidentProviderObject, a3 as PaymentReconciliationRequiredNotificationData, a4 as PaymentRefundRequiresAttentionNotificationData, E as WebhookChange, F as WebhookCommerceNotificationChange, G as WebhookEvent, W as WebhookHandler, H as WebhookKnownOperation, I as WebhookOperation, J as WebhookOptions, K as WebhookOrderChange, L as WebhookOrderMoved, N as WebhookOrderScope, Q as createCommerceEmailWebhookHandler, R as createCommerceNotificationWebhookHandler, S as createCustomerAuthWebhookHandler, T as createTypedWebhookHandler, U as defineCommerceEmailConfig, V as getCommerceNotificationIdempotencyKey, X as handleWebhook, Y as isCommerceNotificationWebhookEvent, Z as isCustomerPasswordResetWebhookEvent, _ as isOrderChangedWebhookEvent, $ as isValidWebhookEvent, a0 as isWebhookCollection, a1 as isWebhookOperation } from './index-CBaP4q8r.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-BJBK7jBl.js';
1
+ import { dV as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, E as EndSubscribeIntentParams, d as EndSubscribeIntentResponse, C as CancelMembershipParams, e as CancelMembershipResponse, B as BillingCustodyParams, f as BillingCustodyResponse, g as BillingCustodyContextParams, h as BillingCustodyContextResponse, dW as ProductDetail, dX as ProductDetailCatalog, dY as StockSnapshotResponse, d7 as ClientConfig, dZ as RootClientWithEvents } from './types-lbzbJSZh.js';
2
+ export { A as AddItemParams, d8 as ApiQueryOptions, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, l as BenefitVouchersApi, d_ as BillingCustodyContextWireRequest, d$ as BillingCustodyWireRequest, e0 as BulkImportFulfillmentsParams, e1 as BulkImportFulfillmentsResponse, e2 as CalculateShippingParams, e3 as CalculateShippingResult, d9 as CancelBrowserPaymentSessionParams, e4 as CancelOrderManagedAlreadyCanceledResponse, e5 as CancelOrderManagedCommittedResponse, e6 as CancelOrderParams, e7 as CancelOrderResponse, e8 as CancelReasonCode, e9 as CartDiscountCode, da as CartMergeParams, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, ea as CartWarning, eb as CartWarningCode, J as CheckoutAbandonedReason, K as CheckoutAmounts, ec as CheckoutFunding, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, Y as CheckoutShippingAddress, $ as ClearCartParams, dm as Client, db as ClientMetadata, q as ClientState, dm as ClientType, ed as Comment, d4 as CommerceClient, ee as CommerceClientOptions, n as CommunityClient, ef as CommunityClientOptions, eg as CommunityComment, eh as CommunityCommentListSort, ei as CommunityPost, ej as CommunityPostCategory, ek as CommunityPostListSort, el as CommunityPostTag, em as CommunityPublicAuthorSnapshot, en as CommunityPublicMediaAsset, eo as CommunityPublicReference, ep as CompatibilityProductSelectionParamEvent, d5 as ContentClient, dc as ContentClientOptions, a9 as CreateCartParams, aa as CreateCartResult, dd as CreateCheckoutParams, de as CreateCheckoutResult, eq as CreateFulfillmentParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, er as CreateReturnParams, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, m as CreditsApi, dE as CustomerAuth, es as CustomerAuthOptions, dG as CustomerAuthResponse, et as CustomerAuthorizationUrlInput, eu as CustomerAuthorizationUrlResult, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, i as CustomerGroupApi, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, dH as CustomerLoginData, aw as CustomerMembershipView, d6 as CustomerNamespace, ev as CustomerOAuth, ew as CustomerOAuthCallbackResult, ex as CustomerOAuthConfig, ey as CustomerOAuthTokenSet, ez as CustomerOrderListOptions, dF as CustomerProfile, dK as CustomerRefreshResponse, dJ as CustomerRegisterData, dI as CustomerRegisterResponse, ax as CustomerSnapshot, eA as CustomerWithdrawalResult, df as DebugConfig, dg as DeepPartial, eB as DiscountApi, eC as DiscountApiOptions, eD as DiscountErrorReasonCode, az as EventAdmissionAvailabilityParams, aA as EventAdmissionAvailabilityResponse, aB as EventAdmissionAvailabilityType, aC as EventAdmissionPricePresentment, aD as EventGuestCancelParams, aE as EventGuestRegistration, aF as EventGuestRegistrationResponse, aG as EventMyRegistration, aH as EventMyRegistrationsParams, aI as EventMyRegistrationsResponse, aJ as EventRegistrationAnswerInput, aK as EventRegistrationAttendeeInput, aL as EventRegistrationPublic, aM as EventRegistrationRegisterParams, aN as EventRegistrationRegisterResponse, aO as EventsCalendarItem, aP as EventsClient, aQ as EventsClientOptions, aR as EventsDateParam, aS as EventsExternalSource, aT as EventsLocation, aU as EventsOccurrenceLocation, aV as EventsRangeEvent, aW as EventsRangeOccurrence, aX as EventsRangeParams, aY as EventsRangeResponse, aZ as EventsTaxonomyItem, dh as ExtractArrayType, eE as FeaturedImagePointerInput, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eF as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eG as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eH as ListingGroupsParams, eI as MAX_CART_LINE_ADMISSIONS, eJ as ManagedCancelRefundOutcome, eK as ManagedPaymentNextAction, eL as ManagedPublicPaymentSession, eM as MarketDTO, eN as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, eO as NormalizedOptionSwatch, eP as NormalizedProductSelection, bz as OpenCheckoutPaymentState, eQ as OrderApi, eR as OrderApiOptions, eS as OrderByPaymentResult, eT as PRODUCT_PLP_FIND_OPTIONS, eU as PRODUCT_UPSERT_READONLY_FIELD_REASON, eV as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, di as PayloadFindResponse, dj as PayloadMutationResponse, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bJ as PortOnePaymentNextAction, bM as PortOnePublicPaymentSession, eW as PrepareFulfillmentOrderParams, eX as PrepareFulfillmentOrderResponse, eY as ProductApi, eZ as ProductApiOptions, e_ as ProductDetailBrand, dP as ProductDetailCatalogResult, e$ as ProductDetailCatalogVariant, f0 as ProductDetailCategory, f1 as ProductDetailImage, f2 as ProductDetailImageMedia, f3 as ProductDetailMedia, f4 as ProductDetailOption, f5 as ProductDetailOptionValue, dO as ProductDetailParams, f6 as ProductDetailResult, f7 as ProductDetailTag, f8 as ProductDetailUnavailableReason, f9 as ProductDetailVariant, fa as ProductDetailVariantOptionValue, fb as ProductDetailVideo, fc as ProductDisplayMediaSource, fd as ProductFallbackLocaleOption, fe as ProductHrefGroup, ff as ProductHrefOptions, fg as ProductHrefProduct, fh as ProductListingCard, fi as ProductListingCardOptions, fj as ProductListingCardPriceRange, fk as ProductListingCardRepresentativeVariant, fl as ProductListingGroup, fm as ProductListingGroupCatalogSummary, fn as ProductListingGroupCatalogVariant, fo as ProductListingGroupProjection, fp as ProductListingGroupSummary, fq as ProductListingGroupVariant, dS as ProductListingGroupsCatalogItem, fr as ProductListingGroupsCatalogProduct, fs as ProductListingGroupsCatalogResponse, dU as ProductListingGroupsItem, ft as ProductListingGroupsProduct, fu as ProductListingGroupsResponse, dN as ProductListingPageBaseParams, dQ as ProductListingPageCatalogParams, fv as ProductListingPageFilters, dT as ProductListingPageFullParams, dM as ProductListingPageParams, dR as ProductListingPageResult, fw as ProductListingPageSort, fx as ProductListingProductShape, fy as ProductListingSwatch, fz as ProductLocaleOption, fA as ProductLocaleReadParams, fB as ProductLocalizedText, fC as ProductLocalizedValue, fD as ProductMediaResolutionSource, fE as ProductMoneyRange, fF as ProductOptionMatrix, fG as ProductOptionMatrixOption, fH as ProductOptionMatrixValue, fI as ProductOptionMatrixVariant, fJ as ProductOptionShape, fK as ProductOptionValueShape, fL as ProductOptionValueSwatch, fM as ProductOptionValueSwatchInput, fN as ProductPriceRange, fO as ProductSelectionAvailableSwatch, fP as ProductSelectionAvailableValue, fQ as ProductSelectionByOptionValue, fR as ProductSelectionCodecError, fS as ProductSelectionCodecOptions, fT as ProductSelectionInput, fU as ProductSelectionMediaPointer, fV as ProductSelectionMediaSource, fW as ProductSelectionOptionValue, fX as ProductSelectionResolution, fY as ProductSelectionResolutionContext, fZ as ProductSelectionUrlEmit, f_ as ProductSelectionVariant, f$ as ProductUpsertFieldValidationErrorBody, g0 as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, g1 as ProductVariantShape, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, g2 as PublicCheckoutBase, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, dD as PublicReadQueryOptions, ca as ReconciliationRequired, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, g3 as RequestOptions, g4 as ResolveCancelRefundFailedResponse, g5 as ResolveCancelRefundOutcome, g6 as ResolveCancelRefundParams, g7 as ResolveCancelRefundResponse, g8 as ResolveCancelRefundSucceededResponse, g9 as ResolveProductDisplayMediaInput, ga as ResolveProductDisplayMediaResult, gb as ResolveProductSelectionMediaInput, gc as ResolveProductSelectionMediaResult, gd as ResolvedCatalogPrice, dk as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dl as RetryConfig, ge as ReturnCancellationReasonCode, gf as ReturnItem, gg as ReturnReason, gh as ReturnWithRefundItem, gi as ReturnWithRefundParams, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, dm as RootClient, dn as RootCollectionClient, dp as RootReadOnlyQueryBuilder, gj as ShippingApi, gk as ShippingApiOptions, cv as ShippingLine, dq as Sort, cw as SpentCheckoutPaymentState, gl as StockCheckParams, gm as StockCheckResponse, gn as StockCheckResult, go as StockSnapshotItem, gp as StockSnapshotParams, dr as StorefrontContentListOptions, ds as StorefrontContentReference, dt as StorefrontGalleryItem, du as StorefrontGalleryItemsListOptions, dv as StorefrontGalleryItemsSort, dw as StorefrontLink, dx as StorefrontLinksListOptions, dy as StorefrontLinksSort, cN as UpdateCartAttributesParams, cO as UpdateDiscountCodesParams, gq as UpdateFulfillmentParams, cP as UpdateItemParams, gr as UpdateOrderParams, dL as UpdateProfileData, gs as UpdateReturnParams, gt as ValidateDiscountParams, gu as ValidateDiscountResult, cQ as VariantInput, gv as VideoPlaybackResponse, cU as VoidBenefitVoucherRequest, dz as Where, gw as WithIdempotencyKey, gx as buildProductHref, gy as buildProductListingCard, gz as buildProductListingGroupProjection, gA as buildProductListingGroupsByOption, gB as buildProductOptionMatrix, gC as buildProductOptionMatrixFromDetail, gD as createProductSelectionCodec, gE as getAvailableOptionValues, gF as getProductSelectionImages, gG as getSelectedValueByOptionId, gH as getVariantAvailableForSale, gI as getVariantAvailableStock, cW as invalidBenefitVoucherResponse, gJ as isProductUpsertFieldValidationErrorBody, gK as normalizeProductSelection, gL as normalizeProductSelectionFromMatrix, gM as normalizeSelectedValueIds, cX as parseBenefitVoucher, cY as parseBenefitVoucherList, cZ as parseCustomerCreditAccount, c_ as parseCustomerCreditGrant, c$ as parseMyCustomerCreditHistory, d0 as parseMyCustomerCredits, gN as parseProductSelection, d1 as parseRevokeCustomerCredit, gO as projectProductToListingShape, gP as resolveFeaturedImagePointer, gQ as resolveProductDisplayMedia, gR as resolveProductSelection, gS as resolveProductSelectionFromMatrix, gT as resolveProductSelectionMedia, gU as resolveVariantForSelection, gV as selectNext, gW as selectedSwatchMediaItemId, gX as stringifyProductSelection, gY as toShopifyPriceRangeV2 } from './types-lbzbJSZh.js';
3
+ import { P as Product } from './payload-types-PXkmefhZ.js';
4
+ export { A as Article, g as ArticleAuthor, h as ArticleCategory, i as ArticleTag, D as Document, I as Image, j as Post, k as PostCategory, T as Tenant, V as Video } from './payload-types-PXkmefhZ.js';
5
+ export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-CQRsG6sA.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, a2 as CustomerCommerceNotificationEventName, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, M as MembershipNotificationData, v as MembershipNotificationEventName, O as ORDER_CHANGED_EVENT_TYPE, w as OrderChangedWebhookEvent, P as PaymentIncidentMoney, x as PaymentIncidentNotificationData, y as PaymentIncidentNotificationEventName, z as PaymentIncidentNotificationReason, A as PaymentIncidentNotificationSourceCollection, B as PaymentIncidentNotificationStatus, D as PaymentIncidentProviderObject, a3 as PaymentReconciliationRequiredNotificationData, a4 as PaymentRefundRequiresAttentionNotificationData, E as WebhookChange, F as WebhookCommerceNotificationChange, G as WebhookEvent, W as WebhookHandler, H as WebhookKnownOperation, I as WebhookOperation, J as WebhookOptions, K as WebhookOrderChange, L as WebhookOrderMoved, N as WebhookOrderScope, Q as createCommerceEmailWebhookHandler, R as createCommerceNotificationWebhookHandler, S as createCustomerAuthWebhookHandler, T as createTypedWebhookHandler, U as defineCommerceEmailConfig, V as getCommerceNotificationIdempotencyKey, X as handleWebhook, Y as isCommerceNotificationWebhookEvent, Z as isCustomerPasswordResetWebhookEvent, _ as isOrderChangedWebhookEvent, $ as isValidWebhookEvent, a0 as isWebhookCollection, a1 as isWebhookOperation } from './index-DVqNpmsc.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-CCvoknRY.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';
@@ -58,11 +58,14 @@ declare class MembershipApi extends BaseApi {
58
58
  cancel(params: CancelMembershipParams): Promise<CancelMembershipResponse>;
59
59
  /**
60
60
  * Store/read only app-encrypted billing ciphertext for the Membership's
61
- * method. The tenant server receives the non-secret restore generation from
62
- * its platform operator's integration configuration; it is not discovered
63
- * from an unauthenticated endpoint.
61
+ * method. Obtain generation from billingCustodyContext before a new upload
62
+ * or read, and retain that same generation for every mutation based on the
63
+ * read. Never rediscover and retry a mutation after a generation mismatch.
64
64
  */
65
65
  billingCustody(params: BillingCustodyParams): Promise<BillingCustodyResponse>;
66
+ /** Requires the same server key, Membership and delegated HMAC as custody. */
67
+ billingCustodyContext(params: BillingCustodyContextParams): Promise<BillingCustodyContextResponse>;
68
+ private requestBillingCustody;
66
69
  }
67
70
 
68
71
  type ProductDetailStockMergeStatus = 'complete' | 'partial';
@@ -93,4 +96,4 @@ declare function resolveRelation<T>(ref: unknown): T | null;
93
96
 
94
97
  declare function createClient(options: ClientConfig): RootClientWithEvents;
95
98
 
96
- export { BaseApi, BillingCustodyParams, BillingCustodyResponse, CancelMembershipParams, CancelMembershipResponse, ClientConfig, EndSubscribeIntentParams, EndSubscribeIntentResponse, MembershipApi, type MembershipApiOptions, type MergedProductDetailResult, ProductDetail, ProductDetailCatalog, type ProductDetailStockMergeStatus, RootClientWithEvents, ServerApiOptions, StockSnapshotResponse, SubscribeMembershipParams, SubscribeMembershipResponse, assertCommerceIdempotencyKey, createClient, createCommerceIdempotencyKey, formatOrderName, generateOrderNumber, isCommerceIdempotencyKey, mergeProductDetailWithStock, resolveRelation };
99
+ export { BaseApi, BillingCustodyContextParams, BillingCustodyContextResponse, BillingCustodyParams, BillingCustodyResponse, CancelMembershipParams, CancelMembershipResponse, ClientConfig, EndSubscribeIntentParams, EndSubscribeIntentResponse, MembershipApi, type MembershipApiOptions, type MergedProductDetailResult, ProductDetail, ProductDetailCatalog, type ProductDetailStockMergeStatus, RootClientWithEvents, ServerApiOptions, StockSnapshotResponse, SubscribeMembershipParams, SubscribeMembershipResponse, assertCommerceIdempotencyKey, createClient, createCommerceIdempotencyKey, formatOrderName, generateOrderNumber, isCommerceIdempotencyKey, mergeProductDetailWithStock, resolveRelation };
package/dist/index.js CHANGED
@@ -853,7 +853,7 @@ async function httpFetch(url, options) {
853
853
  );
854
854
  const usageError = attachRequestId(
855
855
  createUsageLimitError(
856
- `Monthly API usage limit exceeded (${current.toLocaleString()}/${limit.toLocaleString()})`,
856
+ `Monthly API usage limit exceeded (${current.toLocaleString("en-US")}/${limit.toLocaleString("en-US")})`,
857
857
  { limit, current, remaining },
858
858
  {
859
859
  url,
@@ -5625,8 +5625,13 @@ function getRelationID(value) {
5625
5625
  }
5626
5626
  return void 0;
5627
5627
  }
5628
+ function compareOrdinal(left, right) {
5629
+ if (left < right) return -1;
5630
+ if (left > right) return 1;
5631
+ return 0;
5632
+ }
5628
5633
  function compareOrder(left, right) {
5629
- return (left ?? "").localeCompare(right ?? "");
5634
+ return compareOrdinal(left ?? "", right ?? "");
5630
5635
  }
5631
5636
  function isProductOptionValueDoc(value) {
5632
5637
  return typeof value === "object" && value !== null && "id" in value && ("value" in value || "slug" in value);
@@ -6838,7 +6843,7 @@ function compareVariantOrder(a, b) {
6838
6843
  }
6839
6844
  const aId = String(getRelationID(a.id) ?? "");
6840
6845
  const bId = String(getRelationID(b.id) ?? "");
6841
- return aId.localeCompare(bId);
6846
+ return compareOrdinal(aId, bId);
6842
6847
  }
6843
6848
  function getVariantAvailableForSale(variant) {
6844
6849
  if (variant.isActive === false) return false;
@@ -7514,6 +7519,8 @@ function buildRangeEndpoint(params) {
7514
7519
  function buildAdmissionAvailabilityEndpoint(params) {
7515
7520
  const urlParams = new URLSearchParams();
7516
7521
  urlParams.set("occurrence", params.occurrence);
7522
+ const normalizedMarket2 = params.market?.trim();
7523
+ if (normalizedMarket2) urlParams.set("market", normalizedMarket2);
7517
7524
  return resolveOperationPath(
7518
7525
  EVENTS_ENDPOINT_OPERATIONS.occurrences.admissionAvailability,
7519
7526
  { query: urlParams }