@01.software/sdk 0.70.1 → 0.72.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 (70) hide show
  1. package/CHANGELOG.md +143 -0
  2. package/MIGRATION.md +28 -0
  3. package/README.md +253 -11
  4. package/dist/client.cjs +396 -26
  5. package/dist/client.cjs.map +1 -1
  6. package/dist/client.d.cts +7 -6
  7. package/dist/client.d.ts +7 -6
  8. package/dist/client.js +396 -26
  9. package/dist/client.js.map +1 -1
  10. package/dist/{collection-client-BHLStm1K.d.cts → collection-client-B3CnqMDQ.d.cts} +14 -18
  11. package/dist/{collection-client-B1FSJ24_.d.ts → collection-client-uOgS_1bC.d.ts} +14 -18
  12. package/dist/{const-ty8u0TDI.d.ts → const-BJBK7jBl.d.ts} +1 -1
  13. package/dist/{const-BfQfV-rr.d.cts → const-_ZfJjRQG.d.cts} +1 -1
  14. package/dist/embedded-admin/server.cjs +117 -2
  15. package/dist/embedded-admin/server.cjs.map +1 -1
  16. package/dist/embedded-admin/server.d.cts +30 -2
  17. package/dist/embedded-admin/server.d.ts +30 -2
  18. package/dist/embedded-admin/server.js +117 -2
  19. package/dist/embedded-admin/server.js.map +1 -1
  20. package/dist/embedded-admin.cjs +135 -7
  21. package/dist/embedded-admin.cjs.map +1 -1
  22. package/dist/embedded-admin.d.cts +35 -2
  23. package/dist/embedded-admin.d.ts +35 -2
  24. package/dist/embedded-admin.js +135 -7
  25. package/dist/embedded-admin.js.map +1 -1
  26. package/dist/errors.cjs +2 -0
  27. package/dist/errors.cjs.map +1 -1
  28. package/dist/errors.d.cts +3 -3
  29. package/dist/errors.d.ts +3 -3
  30. package/dist/errors.js +2 -0
  31. package/dist/errors.js.map +1 -1
  32. package/dist/{index-DnKgjPGM.d.ts → index-CBaP4q8r.d.ts} +3 -3
  33. package/dist/{index-CX6si6YC.d.cts → index-CI_LFWiG.d.cts} +3 -3
  34. package/dist/index.cjs +396 -26
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/index.d.cts +24 -9
  37. package/dist/index.d.ts +24 -9
  38. package/dist/index.js +396 -26
  39. package/dist/index.js.map +1 -1
  40. package/dist/{payload-types-DTAaWKrp.d.cts → payload-types-BRg8Yary.d.cts} +262 -177
  41. package/dist/{payload-types-DTAaWKrp.d.ts → payload-types-BRg8Yary.d.ts} +262 -177
  42. package/dist/query.cjs +20 -0
  43. package/dist/query.cjs.map +1 -1
  44. package/dist/query.d.cts +5 -5
  45. package/dist/query.d.ts +5 -5
  46. package/dist/query.js +20 -0
  47. package/dist/query.js.map +1 -1
  48. package/dist/realtime.d.cts +2 -2
  49. package/dist/realtime.d.ts +2 -2
  50. package/dist/server.cjs +459 -46
  51. package/dist/server.cjs.map +1 -1
  52. package/dist/server.d.cts +10 -8
  53. package/dist/server.d.ts +10 -8
  54. package/dist/server.js +459 -46
  55. package/dist/server.js.map +1 -1
  56. package/dist/storefront-cache.cjs +2 -0
  57. package/dist/storefront-cache.cjs.map +1 -1
  58. package/dist/storefront-cache.js +2 -0
  59. package/dist/storefront-cache.js.map +1 -1
  60. package/dist/{types-DdlhpNVv.d.ts → types-Cmnxxvuv.d.ts} +238 -21
  61. package/dist/{types-Bzgf4mTo.d.cts → types-CnkJQUez.d.cts} +238 -21
  62. package/dist/{types-DX8Z44yQ.d.ts → types-DLjSqL0P.d.ts} +2 -2
  63. package/dist/{types-CpSiyJud.d.cts → types-FyklqLAk.d.cts} +2 -2
  64. package/dist/ui/form.d.cts +1 -1
  65. package/dist/ui/form.d.ts +1 -1
  66. package/dist/ui/video.d.cts +1 -1
  67. package/dist/ui/video.d.ts +1 -1
  68. package/dist/webhook.d.cts +5 -5
  69. package/dist/webhook.d.ts +5 -5
  70. package/package.json +2 -4
package/dist/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { dw as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, C as CancelMembershipParams, d as CancelMembershipResponse, B as BillingCustodyParams, e as BillingCustodyResponse, dx as ProductDetail, dy as ProductDetailCatalog, dz as StockSnapshotResponse, cM as ClientConfig, dA as RootClientWithEvents } from './types-Bzgf4mTo.cjs';
2
- export { A as AddItemParams, cN as ApiQueryOptions, o as BENEFIT_VOUCHER_ERROR_REASONS, p as BENEFIT_VOUCHER_VOID_REASONS, q as BenefitVoucher, r as BenefitVoucherErrorReason, h as BenefitVouchersApi, dB as BillingCustodyWireRequest, dC as BulkImportFulfillmentsParams, dD as BulkImportFulfillmentsResponse, dE as CalculateShippingParams, dF as CalculateShippingResult, cO as CancelBrowserPaymentSessionParams, dG as CancelOrderParams, dH as CancelOrderResponse, dI as CancelReasonCode, dJ as CartDiscountCode, cP as CartMergeParams, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, dK as CartWarning, dL as CartWarningCode, z as CheckoutAbandonedReason, D as CheckoutAmounts, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, O as CheckoutShippingAddress, W as ClearCartParams, c$ as Client, cQ as ClientMetadata, l as ClientState, c$ as ClientType, dM as Comment, cJ as CommerceClient, dN as CommerceClientOptions, i as CommunityClient, dO as CommunityClientOptions, dP as CommunityComment, dQ as CommunityCommentListSort, dR as CommunityPost, dS as CommunityPostCategory, dT as CommunityPostListSort, dU as CommunityPostTag, dV as CommunityPublicAuthorSnapshot, dW as CommunityPublicMediaAsset, dX as CommunityPublicReference, dY as CompatibilityProductSelectionParamEvent, cK as ContentClient, cR as ContentClientOptions, a4 as CreateCartParams, a5 as CreateCartResult, cS as CreateCheckoutParams, cT as CreateCheckoutResult, dZ as CreateFulfillmentParams, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, d_ as CreateReturnParams, ac as CreateServerPaymentSessionParams, ad as CreateServerPortOnePaymentSessionParams, de as CustomerAuth, d$ as CustomerAuthOptions, dg as CustomerAuthResponse, e0 as CustomerAuthorizationUrlInput, e1 as CustomerAuthorizationUrlResult, ag as CustomerBenefitVoucher, f as CustomerGroupApi, ah as CustomerGroupApiOptions, ai as CustomerGroupManualSource, aj as CustomerGroupMember, ak as CustomerGroupMemberCommandResponse, al as CustomerGroupMemberSource, am as CustomerGroupMembershipSource, an as CustomerGroupMembershipState, dh as CustomerLoginData, ao as CustomerMembershipView, cL as CustomerNamespace, e2 as CustomerOAuth, e3 as CustomerOAuthCallbackResult, e4 as CustomerOAuthConfig, e5 as CustomerOAuthTokenSet, e6 as CustomerOrderListOptions, df as CustomerProfile, dk as CustomerRefreshResponse, dj as CustomerRegisterData, di as CustomerRegisterResponse, ap as CustomerSnapshot, e7 as CustomerWithdrawalResult, cU as DebugConfig, cV as DeepPartial, e8 as DiscountApi, e9 as DiscountApiOptions, ea as DiscountErrorReasonCode, ar as EventAdmissionAvailabilityParams, as as EventAdmissionAvailabilityResponse, at as EventAdmissionAvailabilityType, au as EventAdmissionPricePresentment, av as EventGuestCancelParams, aw as EventGuestRegistration, ax as EventGuestRegistrationResponse, ay as EventMyRegistration, az as EventMyRegistrationsParams, aA as EventMyRegistrationsResponse, aB as EventRegistrationAnswerInput, aC as EventRegistrationAttendeeInput, aD as EventRegistrationPublic, aE as EventRegistrationRegisterParams, aF as EventRegistrationRegisterResponse, aG as EventsCalendarItem, aH as EventsClient, aI as EventsClientOptions, aJ as EventsDateParam, aK as EventsExternalSource, aL as EventsLocation, aM as EventsOccurrenceLocation, aN as EventsRangeEvent, aO as EventsRangeOccurrence, aP as EventsRangeParams, aQ as EventsRangeResponse, aR as EventsTaxonomyItem, cW as ExtractArrayType, eb as FeaturedImagePointerInput, b0 as GetBenefitVoucherRequest, ec as GetOrderByPaymentIdParams, b3 as GrantCustomerGroupMemberParams, b6 as IssueBenefitVoucherRequest, b7 as IssueBenefitVoucherResponse, ed as LegacyProductSelectionParamEvent, b8 as ListBenefitVouchersRequest, b9 as ListBenefitVouchersResponse, ba as ListCustomerGroupMembersParams, bb as ListCustomerGroupMembersResponse, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, ee as ListingGroupsParams, ef as MAX_CART_LINE_ADMISSIONS, eg as ManagedPaymentNextAction, eh as ManagedPublicPaymentSession, ei as MarketDTO, ej as MediaValue, bf as MembershipStatus, bh as Money, bi as MutateBenefitVoucherResponse, ek as NormalizedOptionSwatch, el as NormalizedProductSelection, bk as OpenCheckoutPaymentState, em as OrderApi, en as OrderApiOptions, eo as OrderByPaymentResult, ep as PRODUCT_PLP_FIND_OPTIONS, eq as PRODUCT_UPSERT_READONLY_FIELD_REASON, er as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, cX as PayloadFindResponse, cY as PayloadMutationResponse, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bu as PortOnePaymentNextAction, bx as PortOnePublicPaymentSession, es as PrepareFulfillmentOrderParams, et as PrepareFulfillmentOrderResponse, eu as ProductApi, ev as ProductApiOptions, ew as ProductDetailBrand, dq as ProductDetailCatalogResult, ex as ProductDetailCatalogVariant, ey as ProductDetailCategory, ez as ProductDetailImage, eA as ProductDetailImageMedia, eB as ProductDetailMedia, eC as ProductDetailOption, eD as ProductDetailOptionValue, dp as ProductDetailParams, eE as ProductDetailResult, eF as ProductDetailTag, eG as ProductDetailUnavailableReason, eH as ProductDetailVariant, eI as ProductDetailVariantOptionValue, eJ as ProductDetailVideo, eK as ProductDisplayMediaSource, eL as ProductFallbackLocaleOption, eM as ProductHrefGroup, eN as ProductHrefOptions, eO as ProductHrefProduct, eP as ProductListingCard, eQ as ProductListingCardOptions, eR as ProductListingCardPriceRange, eS as ProductListingCardRepresentativeVariant, eT as ProductListingGroup, eU as ProductListingGroupCatalogSummary, eV as ProductListingGroupCatalogVariant, eW as ProductListingGroupProjection, eX as ProductListingGroupSummary, eY as ProductListingGroupVariant, dt as ProductListingGroupsCatalogItem, eZ as ProductListingGroupsCatalogProduct, e_ as ProductListingGroupsCatalogResponse, dv as ProductListingGroupsItem, e$ as ProductListingGroupsProduct, f0 as ProductListingGroupsResponse, dn as ProductListingPageBaseParams, dr as ProductListingPageCatalogParams, f1 as ProductListingPageFilters, du as ProductListingPageFullParams, dm as ProductListingPageParams, ds as ProductListingPageResult, f2 as ProductListingPageSort, f3 as ProductListingProductShape, f4 as ProductListingSwatch, f5 as ProductLocaleOption, f6 as ProductLocaleReadParams, f7 as ProductLocalizedText, f8 as ProductLocalizedValue, f9 as ProductMediaResolutionSource, fa as ProductMoneyRange, fb as ProductOptionMatrix, fc as ProductOptionMatrixOption, fd as ProductOptionMatrixValue, fe as ProductOptionMatrixVariant, ff as ProductOptionShape, fg as ProductOptionValueShape, fh as ProductOptionValueSwatch, fi as ProductOptionValueSwatchInput, fj as ProductPriceRange, fk as ProductSelectionAvailableSwatch, fl as ProductSelectionAvailableValue, fm as ProductSelectionByOptionValue, fn as ProductSelectionCodecError, fo as ProductSelectionCodecOptions, fp as ProductSelectionInput, fq as ProductSelectionMediaPointer, fr as ProductSelectionMediaSource, fs as ProductSelectionOptionValue, ft as ProductSelectionResolution, fu as ProductSelectionResolutionContext, fv as ProductSelectionUrlEmit, fw as ProductSelectionVariant, fx as ProductUpsertFieldValidationErrorBody, fy as ProductUpsertFieldValidationErrorReason, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, fz as ProductVariantShape, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, fA as PublicCheckoutBase, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, dd as PublicReadQueryOptions, bX as ReconciliationRequired, bZ as RedeemBenefitVoucherRequest, b_ as RemoveItemParams, fB as RequestOptions, fC as ResolveCancelRefundFailedResponse, fD as ResolveCancelRefundOutcome, fE as ResolveCancelRefundParams, fF as ResolveCancelRefundResponse, fG as ResolveCancelRefundSucceededResponse, fH as ResolveProductDisplayMediaInput, fI as ResolveProductDisplayMediaResult, fJ as ResolveProductSelectionMediaInput, fK as ResolveProductSelectionMediaResult, fL as ResolvedCatalogPrice, cZ as RetrieveBrowserPaymentSessionParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c4 as RetrieveServerCheckoutParams, c_ as RetryConfig, fM as ReturnCancellationReasonCode, fN as ReturnItem, fO as ReturnReason, fP as ReturnWithRefundItem, fQ as ReturnWithRefundParams, c7 as RevokeCustomerGroupMemberParams, c$ as RootClient, d0 as RootCollectionClient, d1 as RootReadOnlyQueryBuilder, fR as ShippingApi, fS as ShippingApiOptions, ce as ShippingLine, d2 as Sort, cf as SpentCheckoutPaymentState, fT as StockCheckParams, fU as StockCheckResponse, fV as StockCheckResult, fW as StockSnapshotItem, fX as StockSnapshotParams, d3 as StorefrontContentListOptions, d4 as StorefrontContentReference, d5 as StorefrontGalleryItem, d6 as StorefrontGalleryItemsListOptions, d7 as StorefrontGalleryItemsSort, d8 as StorefrontLink, d9 as StorefrontLinksListOptions, da as StorefrontLinksSort, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, fY as UpdateFulfillmentParams, cy as UpdateItemParams, fZ as UpdateOrderParams, dl as UpdateProfileData, f_ as UpdateReturnParams, f$ as ValidateDiscountParams, g0 as ValidateDiscountResult, cz as VariantInput, g1 as VideoPlaybackResponse, cD as VoidBenefitVoucherRequest, db as Where, g2 as WithIdempotencyKey, g3 as buildProductHref, g4 as buildProductListingCard, g5 as buildProductListingGroupProjection, g6 as buildProductListingGroupsByOption, g7 as buildProductOptionMatrix, g8 as buildProductOptionMatrixFromDetail, g9 as createProductSelectionCodec, ga as getAvailableOptionValues, gb as getProductSelectionImages, gc as getSelectedValueByOptionId, gd as getVariantAvailableForSale, ge as getVariantAvailableStock, cF as invalidBenefitVoucherResponse, gf as isProductUpsertFieldValidationErrorBody, gg as normalizeProductSelection, gh as normalizeProductSelectionFromMatrix, gi as normalizeSelectedValueIds, cG as parseBenefitVoucher, cH as parseBenefitVoucherList, gj as parseProductSelection, gk as projectProductToListingShape, gl as resolveFeaturedImagePointer, gm as resolveProductDisplayMedia, gn as resolveProductSelection, go as resolveProductSelectionFromMatrix, gp as resolveProductSelectionMedia, gq as resolveVariantForSelection, gr as selectNext, gs as selectedSwatchMediaItemId, gt as stringifyProductSelection, gu as toShopifyPriceRangeV2 } from './types-Bzgf4mTo.cjs';
3
- import { P as Product } from './payload-types-DTAaWKrp.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-DTAaWKrp.cjs';
5
- export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-CpSiyJud.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-CX6si6YC.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-BfQfV-rr.cjs';
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';
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';
@@ -31,9 +31,24 @@ declare class MembershipApi extends BaseApi {
31
31
  * to activate the membership.
32
32
  *
33
33
  * `subscribeIntentKey` is used as the HTTP idempotency key so the call is
34
- * safely retryable.
34
+ * safely retryable. Trials are once per tenant/customer/plan; a prior recipient
35
+ * gets the paid prepare response (409 conflict without writes if the delegated
36
+ * connection is unavailable). Catalog trialDays is not customer eligibility.
37
+ * Display firstCharge amount/currency/periodStart and obtain explicit customer
38
+ * consent before PSP execution; refusal must never dispatch payment.
39
+ * Completed trial replays keep their result. Existing payload/live duplicate
40
+ * checks run first (another live Membership is 409 duplicate_subscription).
41
+ * If an unfinished trial replay passes those checks after another intent
42
+ * received the trial, it returns 409 idempotency_conflict without writes;
43
+ * its original snapshot is never rewritten into a paid intent.
35
44
  */
36
45
  subscribe(params: SubscribeMembershipParams): Promise<SubscribeMembershipResponse>;
46
+ /**
47
+ * End an unprepared or terminal intent without changing membership evidence.
48
+ * Use an opaque random, non-personal key of 1–512 visible ASCII characters;
49
+ * other keys are rejected because headers and JSON can encode them differently.
50
+ */
51
+ endSubscribeIntent(params: EndSubscribeIntentParams): Promise<EndSubscribeIntentResponse>;
37
52
  /**
38
53
  * Cancel a membership by id.
39
54
  * By default this sets `cancelAtPeriodEnd`, keeps benefits until
@@ -78,4 +93,4 @@ declare function resolveRelation<T>(ref: unknown): T | null;
78
93
 
79
94
  declare function createClient(options: ClientConfig): RootClientWithEvents;
80
95
 
81
- export { BaseApi, BillingCustodyParams, BillingCustodyResponse, CancelMembershipParams, CancelMembershipResponse, ClientConfig, MembershipApi, type MembershipApiOptions, type MergedProductDetailResult, ProductDetail, ProductDetailCatalog, type ProductDetailStockMergeStatus, RootClientWithEvents, ServerApiOptions, StockSnapshotResponse, SubscribeMembershipParams, SubscribeMembershipResponse, assertCommerceIdempotencyKey, createClient, createCommerceIdempotencyKey, formatOrderName, generateOrderNumber, isCommerceIdempotencyKey, mergeProductDetailWithStock, resolveRelation };
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 };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { dw as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, C as CancelMembershipParams, d as CancelMembershipResponse, B as BillingCustodyParams, e as BillingCustodyResponse, dx as ProductDetail, dy as ProductDetailCatalog, dz as StockSnapshotResponse, cM as ClientConfig, dA as RootClientWithEvents } from './types-DdlhpNVv.js';
2
- export { A as AddItemParams, cN as ApiQueryOptions, o as BENEFIT_VOUCHER_ERROR_REASONS, p as BENEFIT_VOUCHER_VOID_REASONS, q as BenefitVoucher, r as BenefitVoucherErrorReason, h as BenefitVouchersApi, dB as BillingCustodyWireRequest, dC as BulkImportFulfillmentsParams, dD as BulkImportFulfillmentsResponse, dE as CalculateShippingParams, dF as CalculateShippingResult, cO as CancelBrowserPaymentSessionParams, dG as CancelOrderParams, dH as CancelOrderResponse, dI as CancelReasonCode, dJ as CartDiscountCode, cP as CartMergeParams, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, dK as CartWarning, dL as CartWarningCode, z as CheckoutAbandonedReason, D as CheckoutAmounts, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, O as CheckoutShippingAddress, W as ClearCartParams, c$ as Client, cQ as ClientMetadata, l as ClientState, c$ as ClientType, dM as Comment, cJ as CommerceClient, dN as CommerceClientOptions, i as CommunityClient, dO as CommunityClientOptions, dP as CommunityComment, dQ as CommunityCommentListSort, dR as CommunityPost, dS as CommunityPostCategory, dT as CommunityPostListSort, dU as CommunityPostTag, dV as CommunityPublicAuthorSnapshot, dW as CommunityPublicMediaAsset, dX as CommunityPublicReference, dY as CompatibilityProductSelectionParamEvent, cK as ContentClient, cR as ContentClientOptions, a4 as CreateCartParams, a5 as CreateCartResult, cS as CreateCheckoutParams, cT as CreateCheckoutResult, dZ as CreateFulfillmentParams, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, d_ as CreateReturnParams, ac as CreateServerPaymentSessionParams, ad as CreateServerPortOnePaymentSessionParams, de as CustomerAuth, d$ as CustomerAuthOptions, dg as CustomerAuthResponse, e0 as CustomerAuthorizationUrlInput, e1 as CustomerAuthorizationUrlResult, ag as CustomerBenefitVoucher, f as CustomerGroupApi, ah as CustomerGroupApiOptions, ai as CustomerGroupManualSource, aj as CustomerGroupMember, ak as CustomerGroupMemberCommandResponse, al as CustomerGroupMemberSource, am as CustomerGroupMembershipSource, an as CustomerGroupMembershipState, dh as CustomerLoginData, ao as CustomerMembershipView, cL as CustomerNamespace, e2 as CustomerOAuth, e3 as CustomerOAuthCallbackResult, e4 as CustomerOAuthConfig, e5 as CustomerOAuthTokenSet, e6 as CustomerOrderListOptions, df as CustomerProfile, dk as CustomerRefreshResponse, dj as CustomerRegisterData, di as CustomerRegisterResponse, ap as CustomerSnapshot, e7 as CustomerWithdrawalResult, cU as DebugConfig, cV as DeepPartial, e8 as DiscountApi, e9 as DiscountApiOptions, ea as DiscountErrorReasonCode, ar as EventAdmissionAvailabilityParams, as as EventAdmissionAvailabilityResponse, at as EventAdmissionAvailabilityType, au as EventAdmissionPricePresentment, av as EventGuestCancelParams, aw as EventGuestRegistration, ax as EventGuestRegistrationResponse, ay as EventMyRegistration, az as EventMyRegistrationsParams, aA as EventMyRegistrationsResponse, aB as EventRegistrationAnswerInput, aC as EventRegistrationAttendeeInput, aD as EventRegistrationPublic, aE as EventRegistrationRegisterParams, aF as EventRegistrationRegisterResponse, aG as EventsCalendarItem, aH as EventsClient, aI as EventsClientOptions, aJ as EventsDateParam, aK as EventsExternalSource, aL as EventsLocation, aM as EventsOccurrenceLocation, aN as EventsRangeEvent, aO as EventsRangeOccurrence, aP as EventsRangeParams, aQ as EventsRangeResponse, aR as EventsTaxonomyItem, cW as ExtractArrayType, eb as FeaturedImagePointerInput, b0 as GetBenefitVoucherRequest, ec as GetOrderByPaymentIdParams, b3 as GrantCustomerGroupMemberParams, b6 as IssueBenefitVoucherRequest, b7 as IssueBenefitVoucherResponse, ed as LegacyProductSelectionParamEvent, b8 as ListBenefitVouchersRequest, b9 as ListBenefitVouchersResponse, ba as ListCustomerGroupMembersParams, bb as ListCustomerGroupMembersResponse, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, ee as ListingGroupsParams, ef as MAX_CART_LINE_ADMISSIONS, eg as ManagedPaymentNextAction, eh as ManagedPublicPaymentSession, ei as MarketDTO, ej as MediaValue, bf as MembershipStatus, bh as Money, bi as MutateBenefitVoucherResponse, ek as NormalizedOptionSwatch, el as NormalizedProductSelection, bk as OpenCheckoutPaymentState, em as OrderApi, en as OrderApiOptions, eo as OrderByPaymentResult, ep as PRODUCT_PLP_FIND_OPTIONS, eq as PRODUCT_UPSERT_READONLY_FIELD_REASON, er as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, cX as PayloadFindResponse, cY as PayloadMutationResponse, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bu as PortOnePaymentNextAction, bx as PortOnePublicPaymentSession, es as PrepareFulfillmentOrderParams, et as PrepareFulfillmentOrderResponse, eu as ProductApi, ev as ProductApiOptions, ew as ProductDetailBrand, dq as ProductDetailCatalogResult, ex as ProductDetailCatalogVariant, ey as ProductDetailCategory, ez as ProductDetailImage, eA as ProductDetailImageMedia, eB as ProductDetailMedia, eC as ProductDetailOption, eD as ProductDetailOptionValue, dp as ProductDetailParams, eE as ProductDetailResult, eF as ProductDetailTag, eG as ProductDetailUnavailableReason, eH as ProductDetailVariant, eI as ProductDetailVariantOptionValue, eJ as ProductDetailVideo, eK as ProductDisplayMediaSource, eL as ProductFallbackLocaleOption, eM as ProductHrefGroup, eN as ProductHrefOptions, eO as ProductHrefProduct, eP as ProductListingCard, eQ as ProductListingCardOptions, eR as ProductListingCardPriceRange, eS as ProductListingCardRepresentativeVariant, eT as ProductListingGroup, eU as ProductListingGroupCatalogSummary, eV as ProductListingGroupCatalogVariant, eW as ProductListingGroupProjection, eX as ProductListingGroupSummary, eY as ProductListingGroupVariant, dt as ProductListingGroupsCatalogItem, eZ as ProductListingGroupsCatalogProduct, e_ as ProductListingGroupsCatalogResponse, dv as ProductListingGroupsItem, e$ as ProductListingGroupsProduct, f0 as ProductListingGroupsResponse, dn as ProductListingPageBaseParams, dr as ProductListingPageCatalogParams, f1 as ProductListingPageFilters, du as ProductListingPageFullParams, dm as ProductListingPageParams, ds as ProductListingPageResult, f2 as ProductListingPageSort, f3 as ProductListingProductShape, f4 as ProductListingSwatch, f5 as ProductLocaleOption, f6 as ProductLocaleReadParams, f7 as ProductLocalizedText, f8 as ProductLocalizedValue, f9 as ProductMediaResolutionSource, fa as ProductMoneyRange, fb as ProductOptionMatrix, fc as ProductOptionMatrixOption, fd as ProductOptionMatrixValue, fe as ProductOptionMatrixVariant, ff as ProductOptionShape, fg as ProductOptionValueShape, fh as ProductOptionValueSwatch, fi as ProductOptionValueSwatchInput, fj as ProductPriceRange, fk as ProductSelectionAvailableSwatch, fl as ProductSelectionAvailableValue, fm as ProductSelectionByOptionValue, fn as ProductSelectionCodecError, fo as ProductSelectionCodecOptions, fp as ProductSelectionInput, fq as ProductSelectionMediaPointer, fr as ProductSelectionMediaSource, fs as ProductSelectionOptionValue, ft as ProductSelectionResolution, fu as ProductSelectionResolutionContext, fv as ProductSelectionUrlEmit, fw as ProductSelectionVariant, fx as ProductUpsertFieldValidationErrorBody, fy as ProductUpsertFieldValidationErrorReason, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, fz as ProductVariantShape, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, fA as PublicCheckoutBase, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, dd as PublicReadQueryOptions, bX as ReconciliationRequired, bZ as RedeemBenefitVoucherRequest, b_ as RemoveItemParams, fB as RequestOptions, fC as ResolveCancelRefundFailedResponse, fD as ResolveCancelRefundOutcome, fE as ResolveCancelRefundParams, fF as ResolveCancelRefundResponse, fG as ResolveCancelRefundSucceededResponse, fH as ResolveProductDisplayMediaInput, fI as ResolveProductDisplayMediaResult, fJ as ResolveProductSelectionMediaInput, fK as ResolveProductSelectionMediaResult, fL as ResolvedCatalogPrice, cZ as RetrieveBrowserPaymentSessionParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c4 as RetrieveServerCheckoutParams, c_ as RetryConfig, fM as ReturnCancellationReasonCode, fN as ReturnItem, fO as ReturnReason, fP as ReturnWithRefundItem, fQ as ReturnWithRefundParams, c7 as RevokeCustomerGroupMemberParams, c$ as RootClient, d0 as RootCollectionClient, d1 as RootReadOnlyQueryBuilder, fR as ShippingApi, fS as ShippingApiOptions, ce as ShippingLine, d2 as Sort, cf as SpentCheckoutPaymentState, fT as StockCheckParams, fU as StockCheckResponse, fV as StockCheckResult, fW as StockSnapshotItem, fX as StockSnapshotParams, d3 as StorefrontContentListOptions, d4 as StorefrontContentReference, d5 as StorefrontGalleryItem, d6 as StorefrontGalleryItemsListOptions, d7 as StorefrontGalleryItemsSort, d8 as StorefrontLink, d9 as StorefrontLinksListOptions, da as StorefrontLinksSort, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, fY as UpdateFulfillmentParams, cy as UpdateItemParams, fZ as UpdateOrderParams, dl as UpdateProfileData, f_ as UpdateReturnParams, f$ as ValidateDiscountParams, g0 as ValidateDiscountResult, cz as VariantInput, g1 as VideoPlaybackResponse, cD as VoidBenefitVoucherRequest, db as Where, g2 as WithIdempotencyKey, g3 as buildProductHref, g4 as buildProductListingCard, g5 as buildProductListingGroupProjection, g6 as buildProductListingGroupsByOption, g7 as buildProductOptionMatrix, g8 as buildProductOptionMatrixFromDetail, g9 as createProductSelectionCodec, ga as getAvailableOptionValues, gb as getProductSelectionImages, gc as getSelectedValueByOptionId, gd as getVariantAvailableForSale, ge as getVariantAvailableStock, cF as invalidBenefitVoucherResponse, gf as isProductUpsertFieldValidationErrorBody, gg as normalizeProductSelection, gh as normalizeProductSelectionFromMatrix, gi as normalizeSelectedValueIds, cG as parseBenefitVoucher, cH as parseBenefitVoucherList, gj as parseProductSelection, gk as projectProductToListingShape, gl as resolveFeaturedImagePointer, gm as resolveProductDisplayMedia, gn as resolveProductSelection, go as resolveProductSelectionFromMatrix, gp as resolveProductSelectionMedia, gq as resolveVariantForSelection, gr as selectNext, gs as selectedSwatchMediaItemId, gt as stringifyProductSelection, gu as toShopifyPriceRangeV2 } from './types-DdlhpNVv.js';
3
- import { P as Product } from './payload-types-DTAaWKrp.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-DTAaWKrp.js';
5
- export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-DX8Z44yQ.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-DnKgjPGM.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-ty8u0TDI.js';
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';
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';
@@ -31,9 +31,24 @@ declare class MembershipApi extends BaseApi {
31
31
  * to activate the membership.
32
32
  *
33
33
  * `subscribeIntentKey` is used as the HTTP idempotency key so the call is
34
- * safely retryable.
34
+ * safely retryable. Trials are once per tenant/customer/plan; a prior recipient
35
+ * gets the paid prepare response (409 conflict without writes if the delegated
36
+ * connection is unavailable). Catalog trialDays is not customer eligibility.
37
+ * Display firstCharge amount/currency/periodStart and obtain explicit customer
38
+ * consent before PSP execution; refusal must never dispatch payment.
39
+ * Completed trial replays keep their result. Existing payload/live duplicate
40
+ * checks run first (another live Membership is 409 duplicate_subscription).
41
+ * If an unfinished trial replay passes those checks after another intent
42
+ * received the trial, it returns 409 idempotency_conflict without writes;
43
+ * its original snapshot is never rewritten into a paid intent.
35
44
  */
36
45
  subscribe(params: SubscribeMembershipParams): Promise<SubscribeMembershipResponse>;
46
+ /**
47
+ * End an unprepared or terminal intent without changing membership evidence.
48
+ * Use an opaque random, non-personal key of 1–512 visible ASCII characters;
49
+ * other keys are rejected because headers and JSON can encode them differently.
50
+ */
51
+ endSubscribeIntent(params: EndSubscribeIntentParams): Promise<EndSubscribeIntentResponse>;
37
52
  /**
38
53
  * Cancel a membership by id.
39
54
  * By default this sets `cancelAtPeriodEnd`, keeps benefits until
@@ -78,4 +93,4 @@ declare function resolveRelation<T>(ref: unknown): T | null;
78
93
 
79
94
  declare function createClient(options: ClientConfig): RootClientWithEvents;
80
95
 
81
- export { BaseApi, BillingCustodyParams, BillingCustodyResponse, CancelMembershipParams, CancelMembershipResponse, ClientConfig, MembershipApi, type MembershipApiOptions, type MergedProductDetailResult, ProductDetail, ProductDetailCatalog, type ProductDetailStockMergeStatus, RootClientWithEvents, ServerApiOptions, StockSnapshotResponse, SubscribeMembershipParams, SubscribeMembershipResponse, assertCommerceIdempotencyKey, createClient, createCommerceIdempotencyKey, formatOrderName, generateOrderNumber, isCommerceIdempotencyKey, mergeProductDetailWithStock, resolveRelation };
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 };