@01.software/sdk 0.72.1 → 0.74.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 (47) hide show
  1. package/CHANGELOG.md +73 -0
  2. package/README.md +70 -3
  3. package/dist/client.cjs +21 -11
  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 +21 -11
  8. package/dist/client.js.map +1 -1
  9. package/dist/{collection-client-B3CnqMDQ.d.cts → collection-client-Bb1Wa6T6.d.cts} +4 -4
  10. package/dist/{collection-client-uOgS_1bC.d.ts → collection-client-DBrLM9RR.d.ts} +4 -4
  11. package/dist/{const-BJBK7jBl.d.ts → const-CkY2zB6J.d.ts} +1 -1
  12. package/dist/{const-_ZfJjRQG.d.cts → const-DWTSgCkn.d.cts} +1 -1
  13. package/dist/{index-CBaP4q8r.d.ts → index-Daoh-98A.d.ts} +3 -3
  14. package/dist/{index-CI_LFWiG.d.cts → index-Di5AybQN.d.cts} +3 -3
  15. package/dist/index.cjs +22 -12
  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 +22 -12
  20. package/dist/index.js.map +1 -1
  21. package/dist/{payload-types-BRg8Yary.d.cts → payload-types-zukuL1s_.d.cts} +408 -1761
  22. package/dist/{payload-types-BRg8Yary.d.ts → payload-types-zukuL1s_.d.ts} +408 -1761
  23. package/dist/query.cjs +4 -0
  24. package/dist/query.cjs.map +1 -1
  25. package/dist/query.d.cts +5 -5
  26. package/dist/query.d.ts +5 -5
  27. package/dist/query.js +4 -0
  28. package/dist/query.js.map +1 -1
  29. package/dist/realtime.d.cts +2 -2
  30. package/dist/realtime.d.ts +2 -2
  31. package/dist/server.cjs +51 -19
  32. package/dist/server.cjs.map +1 -1
  33. package/dist/server.d.cts +8 -7
  34. package/dist/server.d.ts +8 -7
  35. package/dist/server.js +51 -19
  36. package/dist/server.js.map +1 -1
  37. package/dist/{types-FyklqLAk.d.cts → types-BI7aowdu.d.cts} +4 -4
  38. package/dist/{types-Cmnxxvuv.d.ts → types-BsJokT6P.d.ts} +76 -16
  39. package/dist/{types-DLjSqL0P.d.ts → types-SsS04wGw.d.ts} +4 -4
  40. package/dist/{types-CnkJQUez.d.cts → types-evAvqRBj.d.cts} +76 -16
  41. package/dist/ui/form.d.cts +1 -1
  42. package/dist/ui/form.d.ts +1 -1
  43. package/dist/ui/video.d.cts +1 -1
  44. package/dist/ui/video.d.ts +1 -1
  45. package/dist/webhook.d.cts +5 -5
  46. package/dist/webhook.d.ts +5 -5
  47. 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 { e0 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, e1 as ProductDetail, e2 as ProductDetailCatalog, e3 as StockSnapshotResponse, de as ClientConfig, e4 as RootClientWithEvents } from './types-evAvqRBj.cjs';
2
+ export { A as AddItemParams, df as ApiQueryOptions, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, l as BenefitVouchersApi, e5 as BillingCustodyContextWireRequest, e6 as BillingCustodyWireRequest, e7 as BulkImportFulfillmentsParams, e8 as BulkImportFulfillmentsResponse, e9 as CalculateShippingParams, ea as CalculateShippingResult, dg as CancelBrowserPaymentSessionParams, eb as CancelOrderCreditOnlyCommittedResponse, ec as CancelOrderManagedAlreadyCanceledResponse, ed as CancelOrderManagedCommittedResponse, ee as CancelOrderParams, ef as CancelOrderResponse, eg as CancelReasonCode, eh as CartDiscountCode, dh as CartMergeParams, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, ei as CartWarning, ej as CartWarningCode, J as CheckoutAbandonedReason, K as CheckoutAmounts, ek as CheckoutFunding, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, Y as CheckoutShippingAddress, $ as ClearCartParams, du as Client, di as ClientMetadata, q as ClientState, du as ClientType, el as Comment, db as CommerceClient, em as CommerceClientOptions, n as CommunityClient, en as CommunityClientOptions, eo as CommunityComment, ep as CommunityCommentListSort, eq as CommunityPost, er as CommunityPostCategory, es as CommunityPostListSort, et as CommunityPostTag, eu as CommunityPublicAuthorSnapshot, ev as CommunityPublicMediaAsset, ew as CommunityPublicReference, ex as CompatibilityProductSelectionParamEvent, dc as ContentClient, dj as ContentClientOptions, a9 as CreateCartParams, aa as CreateCartResult, dk as CreateCheckoutParams, dl as CreateCheckoutResult, ey as CreateFulfillmentParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, ez as CreateReturnParams, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, m as CreditsApi, dL as CustomerAuth, eA as CustomerAuthOptions, dN as CustomerAuthResponse, eB as CustomerAuthorizationUrlInput, eC 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, dO as CustomerLoginData, aw as CustomerMembershipView, dd as CustomerNamespace, eD as CustomerOAuth, eE as CustomerOAuthCallbackResult, eF as CustomerOAuthConfig, eG as CustomerOAuthTokenSet, eH as CustomerOrderListOptions, dM as CustomerProfile, dR as CustomerRefreshResponse, dQ as CustomerRegisterData, dP as CustomerRegisterResponse, ax as CustomerSnapshot, eI as CustomerWithdrawalResult, dm as DebugConfig, dn as DeepPartial, eJ as DiscountApi, eK as DiscountApiOptions, eL 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, dp as ExtractArrayType, eM as FeaturedImagePointerInput, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eN as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eO as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eP as ListingGroupsParams, eQ as MAX_CART_LINE_ADMISSIONS, eR as ManagedCancelRefundOutcome, eS as ManagedPaymentNextAction, eT as ManagedPublicPaymentSession, eU as MarketDTO, eV as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, eW as NormalizedOptionSwatch, eX as NormalizedProductSelection, bz as OpenCheckoutPaymentState, eY as OrderApi, eZ as OrderApiOptions, e_ as OrderByPaymentResult, e$ as PRODUCT_PLP_FIND_OPTIONS, f0 as PRODUCT_UPSERT_READONLY_FIELD_REASON, f1 as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, dq as PayloadFindResponse, dr 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, f2 as PrepareFulfillmentOrderParams, f3 as PrepareFulfillmentOrderResponse, f4 as ProductApi, f5 as ProductApiOptions, f6 as ProductDetailBrand, dW as ProductDetailCatalogResult, f7 as ProductDetailCatalogVariant, f8 as ProductDetailCategory, f9 as ProductDetailImage, fa as ProductDetailImageMedia, fb as ProductDetailMedia, fc as ProductDetailOption, fd as ProductDetailOptionValue, dV as ProductDetailParams, fe as ProductDetailResult, ff as ProductDetailTag, fg as ProductDetailUnavailableReason, fh as ProductDetailVariant, fi as ProductDetailVariantOptionValue, fj as ProductDetailVideo, fk as ProductDisplayMediaSource, fl as ProductFallbackLocaleOption, fm as ProductHrefGroup, fn as ProductHrefOptions, fo as ProductHrefProduct, fp as ProductListingCard, fq as ProductListingCardOptions, fr as ProductListingCardPriceRange, fs as ProductListingCardRepresentativeVariant, ft as ProductListingGroup, fu as ProductListingGroupCatalogSummary, fv as ProductListingGroupCatalogVariant, fw as ProductListingGroupProjection, fx as ProductListingGroupSummary, fy as ProductListingGroupVariant, dZ as ProductListingGroupsCatalogItem, fz as ProductListingGroupsCatalogProduct, fA as ProductListingGroupsCatalogResponse, d$ as ProductListingGroupsItem, fB as ProductListingGroupsProduct, fC as ProductListingGroupsResponse, dU as ProductListingPageBaseParams, dX as ProductListingPageCatalogParams, fD as ProductListingPageFilters, d_ as ProductListingPageFullParams, dT as ProductListingPageParams, dY as ProductListingPageResult, fE as ProductListingPageSort, fF as ProductListingProductShape, fG as ProductListingSwatch, fH as ProductLocaleOption, fI as ProductLocaleReadParams, fJ as ProductLocalizedText, fK as ProductLocalizedValue, fL as ProductMediaResolutionSource, fM as ProductMoneyRange, fN as ProductOptionMatrix, fO as ProductOptionMatrixOption, fP as ProductOptionMatrixValue, fQ as ProductOptionMatrixVariant, fR as ProductOptionShape, fS as ProductOptionValueShape, fT as ProductOptionValueSwatch, fU as ProductOptionValueSwatchInput, fV as ProductPriceRange, fW as ProductSelectionAvailableSwatch, fX as ProductSelectionAvailableValue, fY as ProductSelectionByOptionValue, fZ as ProductSelectionCodecError, f_ as ProductSelectionCodecOptions, f$ as ProductSelectionInput, g0 as ProductSelectionMediaPointer, g1 as ProductSelectionMediaSource, g2 as ProductSelectionOptionValue, g3 as ProductSelectionResolution, g4 as ProductSelectionResolutionContext, g5 as ProductSelectionUrlEmit, g6 as ProductSelectionVariant, g7 as ProductUpsertFieldValidationErrorBody, g8 as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, g9 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, ga 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, dK as PublicReadQueryOptions, ca as ReconciliationRequired, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, gb as RequestOptions, gc as ResolveCancelRefundFailedResponse, gd as ResolveCancelRefundOutcome, ge as ResolveCancelRefundParams, gf as ResolveCancelRefundResponse, gg as ResolveCancelRefundSucceededResponse, gh as ResolveProductDisplayMediaInput, gi as ResolveProductDisplayMediaResult, gj as ResolveProductSelectionMediaInput, gk as ResolveProductSelectionMediaResult, gl as ResolvedCatalogPrice, ds as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dt as RetryConfig, gm as ReturnCancellationReasonCode, gn as ReturnItem, go as ReturnReason, gp as ReturnWithRefundItem, gq as ReturnWithRefundParams, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, du as RootClient, dv as RootCollectionClient, dw as RootReadOnlyQueryBuilder, gr as ShippingApi, gs as ShippingApiOptions, cv as ShippingLine, dx as Sort, cw as SpentCheckoutPaymentState, gt as StockCheckParams, gu as StockCheckResponse, gv as StockCheckResult, gw as StockSnapshotItem, gx as StockSnapshotParams, dy as StorefrontContentListOptions, dz as StorefrontContentReference, dA as StorefrontGalleryItem, dB as StorefrontGalleryItemsListOptions, dC as StorefrontGalleryItemsSort, dD as StorefrontLink, dE as StorefrontLinksListOptions, dF as StorefrontLinksSort, cU as UpdateCartAttributesParams, cV as UpdateDiscountCodesParams, gy as UpdateFulfillmentParams, cW as UpdateItemParams, gz as UpdateOrderParams, dS as UpdateProfileData, gA as UpdateReturnParams, gB as ValidateDiscountParams, gC as ValidateDiscountResult, cX as VariantInput, gD as VideoPlaybackResponse, c$ as VoidBenefitVoucherRequest, dG as Where, gE as WithIdempotencyKey, gF as buildProductHref, gG as buildProductListingCard, gH as buildProductListingGroupProjection, gI as buildProductListingGroupsByOption, gJ as buildProductOptionMatrix, gK as buildProductOptionMatrixFromDetail, gL as createProductSelectionCodec, gM as getAvailableOptionValues, gN as getProductSelectionImages, gO as getSelectedValueByOptionId, gP as getVariantAvailableForSale, gQ as getVariantAvailableStock, d1 as invalidBenefitVoucherResponse, gR as isProductUpsertFieldValidationErrorBody, gS as normalizeProductSelection, gT as normalizeProductSelectionFromMatrix, gU as normalizeSelectedValueIds, d2 as parseBenefitVoucher, d3 as parseBenefitVoucherList, d4 as parseCustomerCreditAccount, d5 as parseCustomerCreditGrant, d6 as parseMyCustomerCreditHistory, d7 as parseMyCustomerCredits, gV as parseProductSelection, d8 as parseRevokeCustomerCredit, gW as projectProductToListingShape, gX as resolveFeaturedImagePointer, gY as resolveProductDisplayMedia, gZ as resolveProductSelection, g_ as resolveProductSelectionFromMatrix, g$ as resolveProductSelectionMedia, h0 as resolveVariantForSelection, h1 as selectNext, h2 as selectedSwatchMediaItemId, h3 as stringifyProductSelection, h4 as toShopifyPriceRangeV2 } from './types-evAvqRBj.cjs';
3
+ import { P as Product } from './payload-types-zukuL1s_.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-zukuL1s_.cjs';
5
+ export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-BI7aowdu.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-Di5AybQN.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-DWTSgCkn.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 { e0 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, e1 as ProductDetail, e2 as ProductDetailCatalog, e3 as StockSnapshotResponse, de as ClientConfig, e4 as RootClientWithEvents } from './types-BsJokT6P.js';
2
+ export { A as AddItemParams, df as ApiQueryOptions, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, l as BenefitVouchersApi, e5 as BillingCustodyContextWireRequest, e6 as BillingCustodyWireRequest, e7 as BulkImportFulfillmentsParams, e8 as BulkImportFulfillmentsResponse, e9 as CalculateShippingParams, ea as CalculateShippingResult, dg as CancelBrowserPaymentSessionParams, eb as CancelOrderCreditOnlyCommittedResponse, ec as CancelOrderManagedAlreadyCanceledResponse, ed as CancelOrderManagedCommittedResponse, ee as CancelOrderParams, ef as CancelOrderResponse, eg as CancelReasonCode, eh as CartDiscountCode, dh as CartMergeParams, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, ei as CartWarning, ej as CartWarningCode, J as CheckoutAbandonedReason, K as CheckoutAmounts, ek as CheckoutFunding, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, Y as CheckoutShippingAddress, $ as ClearCartParams, du as Client, di as ClientMetadata, q as ClientState, du as ClientType, el as Comment, db as CommerceClient, em as CommerceClientOptions, n as CommunityClient, en as CommunityClientOptions, eo as CommunityComment, ep as CommunityCommentListSort, eq as CommunityPost, er as CommunityPostCategory, es as CommunityPostListSort, et as CommunityPostTag, eu as CommunityPublicAuthorSnapshot, ev as CommunityPublicMediaAsset, ew as CommunityPublicReference, ex as CompatibilityProductSelectionParamEvent, dc as ContentClient, dj as ContentClientOptions, a9 as CreateCartParams, aa as CreateCartResult, dk as CreateCheckoutParams, dl as CreateCheckoutResult, ey as CreateFulfillmentParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, ez as CreateReturnParams, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, m as CreditsApi, dL as CustomerAuth, eA as CustomerAuthOptions, dN as CustomerAuthResponse, eB as CustomerAuthorizationUrlInput, eC 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, dO as CustomerLoginData, aw as CustomerMembershipView, dd as CustomerNamespace, eD as CustomerOAuth, eE as CustomerOAuthCallbackResult, eF as CustomerOAuthConfig, eG as CustomerOAuthTokenSet, eH as CustomerOrderListOptions, dM as CustomerProfile, dR as CustomerRefreshResponse, dQ as CustomerRegisterData, dP as CustomerRegisterResponse, ax as CustomerSnapshot, eI as CustomerWithdrawalResult, dm as DebugConfig, dn as DeepPartial, eJ as DiscountApi, eK as DiscountApiOptions, eL 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, dp as ExtractArrayType, eM as FeaturedImagePointerInput, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eN as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eO as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eP as ListingGroupsParams, eQ as MAX_CART_LINE_ADMISSIONS, eR as ManagedCancelRefundOutcome, eS as ManagedPaymentNextAction, eT as ManagedPublicPaymentSession, eU as MarketDTO, eV as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, eW as NormalizedOptionSwatch, eX as NormalizedProductSelection, bz as OpenCheckoutPaymentState, eY as OrderApi, eZ as OrderApiOptions, e_ as OrderByPaymentResult, e$ as PRODUCT_PLP_FIND_OPTIONS, f0 as PRODUCT_UPSERT_READONLY_FIELD_REASON, f1 as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, dq as PayloadFindResponse, dr 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, f2 as PrepareFulfillmentOrderParams, f3 as PrepareFulfillmentOrderResponse, f4 as ProductApi, f5 as ProductApiOptions, f6 as ProductDetailBrand, dW as ProductDetailCatalogResult, f7 as ProductDetailCatalogVariant, f8 as ProductDetailCategory, f9 as ProductDetailImage, fa as ProductDetailImageMedia, fb as ProductDetailMedia, fc as ProductDetailOption, fd as ProductDetailOptionValue, dV as ProductDetailParams, fe as ProductDetailResult, ff as ProductDetailTag, fg as ProductDetailUnavailableReason, fh as ProductDetailVariant, fi as ProductDetailVariantOptionValue, fj as ProductDetailVideo, fk as ProductDisplayMediaSource, fl as ProductFallbackLocaleOption, fm as ProductHrefGroup, fn as ProductHrefOptions, fo as ProductHrefProduct, fp as ProductListingCard, fq as ProductListingCardOptions, fr as ProductListingCardPriceRange, fs as ProductListingCardRepresentativeVariant, ft as ProductListingGroup, fu as ProductListingGroupCatalogSummary, fv as ProductListingGroupCatalogVariant, fw as ProductListingGroupProjection, fx as ProductListingGroupSummary, fy as ProductListingGroupVariant, dZ as ProductListingGroupsCatalogItem, fz as ProductListingGroupsCatalogProduct, fA as ProductListingGroupsCatalogResponse, d$ as ProductListingGroupsItem, fB as ProductListingGroupsProduct, fC as ProductListingGroupsResponse, dU as ProductListingPageBaseParams, dX as ProductListingPageCatalogParams, fD as ProductListingPageFilters, d_ as ProductListingPageFullParams, dT as ProductListingPageParams, dY as ProductListingPageResult, fE as ProductListingPageSort, fF as ProductListingProductShape, fG as ProductListingSwatch, fH as ProductLocaleOption, fI as ProductLocaleReadParams, fJ as ProductLocalizedText, fK as ProductLocalizedValue, fL as ProductMediaResolutionSource, fM as ProductMoneyRange, fN as ProductOptionMatrix, fO as ProductOptionMatrixOption, fP as ProductOptionMatrixValue, fQ as ProductOptionMatrixVariant, fR as ProductOptionShape, fS as ProductOptionValueShape, fT as ProductOptionValueSwatch, fU as ProductOptionValueSwatchInput, fV as ProductPriceRange, fW as ProductSelectionAvailableSwatch, fX as ProductSelectionAvailableValue, fY as ProductSelectionByOptionValue, fZ as ProductSelectionCodecError, f_ as ProductSelectionCodecOptions, f$ as ProductSelectionInput, g0 as ProductSelectionMediaPointer, g1 as ProductSelectionMediaSource, g2 as ProductSelectionOptionValue, g3 as ProductSelectionResolution, g4 as ProductSelectionResolutionContext, g5 as ProductSelectionUrlEmit, g6 as ProductSelectionVariant, g7 as ProductUpsertFieldValidationErrorBody, g8 as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, g9 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, ga 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, dK as PublicReadQueryOptions, ca as ReconciliationRequired, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, gb as RequestOptions, gc as ResolveCancelRefundFailedResponse, gd as ResolveCancelRefundOutcome, ge as ResolveCancelRefundParams, gf as ResolveCancelRefundResponse, gg as ResolveCancelRefundSucceededResponse, gh as ResolveProductDisplayMediaInput, gi as ResolveProductDisplayMediaResult, gj as ResolveProductSelectionMediaInput, gk as ResolveProductSelectionMediaResult, gl as ResolvedCatalogPrice, ds as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dt as RetryConfig, gm as ReturnCancellationReasonCode, gn as ReturnItem, go as ReturnReason, gp as ReturnWithRefundItem, gq as ReturnWithRefundParams, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, du as RootClient, dv as RootCollectionClient, dw as RootReadOnlyQueryBuilder, gr as ShippingApi, gs as ShippingApiOptions, cv as ShippingLine, dx as Sort, cw as SpentCheckoutPaymentState, gt as StockCheckParams, gu as StockCheckResponse, gv as StockCheckResult, gw as StockSnapshotItem, gx as StockSnapshotParams, dy as StorefrontContentListOptions, dz as StorefrontContentReference, dA as StorefrontGalleryItem, dB as StorefrontGalleryItemsListOptions, dC as StorefrontGalleryItemsSort, dD as StorefrontLink, dE as StorefrontLinksListOptions, dF as StorefrontLinksSort, cU as UpdateCartAttributesParams, cV as UpdateDiscountCodesParams, gy as UpdateFulfillmentParams, cW as UpdateItemParams, gz as UpdateOrderParams, dS as UpdateProfileData, gA as UpdateReturnParams, gB as ValidateDiscountParams, gC as ValidateDiscountResult, cX as VariantInput, gD as VideoPlaybackResponse, c$ as VoidBenefitVoucherRequest, dG as Where, gE as WithIdempotencyKey, gF as buildProductHref, gG as buildProductListingCard, gH as buildProductListingGroupProjection, gI as buildProductListingGroupsByOption, gJ as buildProductOptionMatrix, gK as buildProductOptionMatrixFromDetail, gL as createProductSelectionCodec, gM as getAvailableOptionValues, gN as getProductSelectionImages, gO as getSelectedValueByOptionId, gP as getVariantAvailableForSale, gQ as getVariantAvailableStock, d1 as invalidBenefitVoucherResponse, gR as isProductUpsertFieldValidationErrorBody, gS as normalizeProductSelection, gT as normalizeProductSelectionFromMatrix, gU as normalizeSelectedValueIds, d2 as parseBenefitVoucher, d3 as parseBenefitVoucherList, d4 as parseCustomerCreditAccount, d5 as parseCustomerCreditGrant, d6 as parseMyCustomerCreditHistory, d7 as parseMyCustomerCredits, gV as parseProductSelection, d8 as parseRevokeCustomerCredit, gW as projectProductToListingShape, gX as resolveFeaturedImagePointer, gY as resolveProductDisplayMedia, gZ as resolveProductSelection, g_ as resolveProductSelectionFromMatrix, g$ as resolveProductSelectionMedia, h0 as resolveVariantForSelection, h1 as selectNext, h2 as selectedSwatchMediaItemId, h3 as stringifyProductSelection, h4 as toShopifyPriceRangeV2 } from './types-BsJokT6P.js';
3
+ import { P as Product } from './payload-types-zukuL1s_.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-zukuL1s_.js';
5
+ export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-SsS04wGw.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-Daoh-98A.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-CkY2zB6J.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,
@@ -1343,6 +1343,10 @@ var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
1343
1343
  configure: operation("tenants", "patch", "/embedded-admin-app"),
1344
1344
  disable: operation("tenants", "delete", "/embedded-admin-app")
1345
1345
  };
1346
+ var FIELD_CONFIG_ENDPOINT_OPERATIONS = {
1347
+ list: operation("field-configs", "get", "/list"),
1348
+ save: operation("field-configs", "post", "/save")
1349
+ };
1346
1350
  var EVENTS_ENDPOINT_OPERATIONS = {
1347
1351
  registrations: {
1348
1352
  register: operation("event-registrations", "post", "/register"),
@@ -5625,8 +5629,13 @@ function getRelationID(value) {
5625
5629
  }
5626
5630
  return void 0;
5627
5631
  }
5632
+ function compareOrdinal(left, right) {
5633
+ if (left < right) return -1;
5634
+ if (left > right) return 1;
5635
+ return 0;
5636
+ }
5628
5637
  function compareOrder(left, right) {
5629
- return (left ?? "").localeCompare(right ?? "");
5638
+ return compareOrdinal(left ?? "", right ?? "");
5630
5639
  }
5631
5640
  function isProductOptionValueDoc(value) {
5632
5641
  return typeof value === "object" && value !== null && "id" in value && ("value" in value || "slug" in value);
@@ -6831,14 +6840,17 @@ function buildProductHref(product, group, options = {}) {
6831
6840
  return params.size > 0 ? `${path}?${params.toString()}` : path;
6832
6841
  }
6833
6842
  function compareVariantOrder(a, b) {
6834
- const aOrder = Number(a._order ?? Number.MAX_SAFE_INTEGER);
6835
- const bOrder = Number(b._order ?? Number.MAX_SAFE_INTEGER);
6836
- if (Number.isFinite(aOrder) && Number.isFinite(bOrder) && aOrder !== bOrder) {
6837
- return aOrder - bOrder;
6843
+ const aOrder = a._order || null;
6844
+ const bOrder = b._order || null;
6845
+ if (aOrder !== bOrder) {
6846
+ if (aOrder === null) return 1;
6847
+ if (bOrder === null) return -1;
6848
+ const byOrder = compareOrdinal(aOrder, bOrder);
6849
+ if (byOrder !== 0) return byOrder;
6838
6850
  }
6839
6851
  const aId = String(getRelationID(a.id) ?? "");
6840
6852
  const bId = String(getRelationID(b.id) ?? "");
6841
- return aId.localeCompare(bId);
6853
+ return compareOrdinal(aId, bId);
6842
6854
  }
6843
6855
  function getVariantAvailableForSale(variant) {
6844
6856
  if (variant.isActive === false) return false;
@@ -7148,11 +7160,7 @@ function buildProductListingPageWhere(params) {
7148
7160
  const search = params.search?.trim();
7149
7161
  if (search) {
7150
7162
  clauses.push({
7151
- or: [
7152
- { title: { like: search } },
7153
- { slug: { like: search } },
7154
- { handle: { like: search } }
7155
- ]
7163
+ or: [{ title: { like: search } }, { slug: { like: search } }]
7156
7164
  });
7157
7165
  }
7158
7166
  const filters = params.filters;
@@ -7514,6 +7522,8 @@ function buildRangeEndpoint(params) {
7514
7522
  function buildAdmissionAvailabilityEndpoint(params) {
7515
7523
  const urlParams = new URLSearchParams();
7516
7524
  urlParams.set("occurrence", params.occurrence);
7525
+ const normalizedMarket2 = params.market?.trim();
7526
+ if (normalizedMarket2) urlParams.set("market", normalizedMarket2);
7517
7527
  return resolveOperationPath(
7518
7528
  EVENTS_ENDPOINT_OPERATIONS.occurrences.admissionAvailability,
7519
7529
  { query: urlParams }