@01.software/sdk 0.74.0 → 0.75.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.
- package/CHANGELOG.md +36 -0
- package/README.md +79 -1
- package/dist/client.cjs +47 -5
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/client.js +47 -5
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-Bb1Wa6T6.d.cts → collection-client-BNC6tUdK.d.cts} +3 -4
- package/dist/{collection-client-DBrLM9RR.d.ts → collection-client-CNkBMUHj.d.ts} +3 -4
- package/dist/collection-documents-Bl0AF0m0.d.cts +5486 -0
- package/dist/collection-documents-Bl0AF0m0.d.ts +5486 -0
- package/dist/{const-CkY2zB6J.d.ts → const-CcOT0taO.d.cts} +1 -3
- package/dist/{const-DWTSgCkn.d.cts → const-CcOT0taO.d.ts} +1 -3
- package/dist/{index-Daoh-98A.d.ts → index-CQsJvMCN.d.ts} +2 -3
- package/dist/{index-Di5AybQN.d.cts → index-CfxkqaY9.d.cts} +2 -3
- package/dist/index.cjs +48 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +48 -5
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +12 -1
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +5 -5
- package/dist/query.d.ts +5 -5
- package/dist/query.js +12 -1
- package/dist/query.js.map +1 -1
- package/dist/realtime.d.cts +1 -2
- package/dist/realtime.d.ts +1 -2
- package/dist/server.cjs +38 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.js +38 -2
- package/dist/server.js.map +1 -1
- package/dist/{types-BsJokT6P.d.ts → types-Btxz6NVi.d.ts} +106 -19
- package/dist/types-CQw4HXky.d.ts +151 -0
- package/dist/{types-evAvqRBj.d.cts → types-DMwRdJ-4.d.cts} +106 -19
- package/dist/types-Jr4xTiGs.d.cts +151 -0
- package/dist/ui/form.cjs.map +1 -1
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/form.js.map +1 -1
- package/dist/ui/video.cjs.map +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/ui/video.js.map +1 -1
- package/dist/webhook.d.cts +7 -5
- package/dist/webhook.d.ts +7 -5
- package/package.json +1 -1
- package/dist/payload-types-zukuL1s_.d.cts +0 -12617
- package/dist/payload-types-zukuL1s_.d.ts +0 -12617
- package/dist/types-BI7aowdu.d.cts +0 -53
- package/dist/types-SsS04wGw.d.ts +0 -53
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
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 './
|
|
4
|
-
export { A as Article,
|
|
5
|
-
export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-
|
|
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-
|
|
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-
|
|
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-DMwRdJ-4.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 CustomerWithdrawalCodeReauthenticationReason, eJ as CustomerWithdrawalCodeResult, eK as CustomerWithdrawalRequest, eL as CustomerWithdrawalResult, dm as DebugConfig, dn as DeepPartial, eM as DiscountApi, eN as DiscountApiOptions, eO 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, eP as EventRegistrationEmailVerificationRequest, eQ as EventRegistrationEmailVerificationResponse, 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, eR as FeaturedImagePointerInput, eS as FulfillmentMutationResponse, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eT as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eU as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eV as ListingGroupsParams, eW as MAX_CART_LINE_ADMISSIONS, eX as ManagedCancelRefundOutcome, eY as ManagedPaymentNextAction, eZ as ManagedPublicPaymentSession, e_ as MarketDTO, e$ as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, f0 as NormalizedOptionSwatch, f1 as NormalizedProductSelection, bz as OpenCheckoutPaymentState, f2 as OrderApi, f3 as OrderApiOptions, f4 as OrderByPaymentResult, f5 as PRODUCT_PLP_FIND_OPTIONS, f6 as PRODUCT_UPSERT_READONLY_FIELD_REASON, f7 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, f8 as PrepareFulfillmentOrderParams, f9 as PrepareFulfillmentOrderResponse, fa as ProductApi, fb as ProductApiOptions, fc as ProductDetailBrand, dW as ProductDetailCatalogResult, fd as ProductDetailCatalogVariant, fe as ProductDetailCategory, ff as ProductDetailImage, fg as ProductDetailImageMedia, fh as ProductDetailMedia, fi as ProductDetailOption, fj as ProductDetailOptionValue, dV as ProductDetailParams, fk as ProductDetailResult, fl as ProductDetailTag, fm as ProductDetailUnavailableReason, fn as ProductDetailVariant, fo as ProductDetailVariantOptionValue, fp as ProductDetailVideo, fq as ProductDisplayMediaSource, fr as ProductFallbackLocaleOption, fs as ProductHrefGroup, ft as ProductHrefOptions, fu as ProductHrefProduct, fv as ProductListingCard, fw as ProductListingCardOptions, fx as ProductListingCardPriceRange, fy as ProductListingCardRepresentativeVariant, fz as ProductListingGroup, fA as ProductListingGroupCatalogSummary, fB as ProductListingGroupCatalogVariant, fC as ProductListingGroupProjection, fD as ProductListingGroupSummary, fE as ProductListingGroupVariant, dZ as ProductListingGroupsCatalogItem, fF as ProductListingGroupsCatalogProduct, fG as ProductListingGroupsCatalogResponse, d$ as ProductListingGroupsItem, fH as ProductListingGroupsProduct, fI as ProductListingGroupsResponse, dU as ProductListingPageBaseParams, dX as ProductListingPageCatalogParams, fJ as ProductListingPageFilters, d_ as ProductListingPageFullParams, dT as ProductListingPageParams, dY as ProductListingPageResult, fK as ProductListingPageSort, fL as ProductListingProductShape, fM as ProductListingSwatch, fN as ProductLocaleOption, fO as ProductLocaleReadParams, fP as ProductLocalizedText, fQ as ProductLocalizedValue, fR as ProductMediaResolutionSource, fS as ProductMoneyRange, fT as ProductOptionMatrix, fU as ProductOptionMatrixOption, fV as ProductOptionMatrixValue, fW as ProductOptionMatrixVariant, fX as ProductOptionShape, fY as ProductOptionValueShape, fZ as ProductOptionValueSwatch, f_ as ProductOptionValueSwatchInput, f$ as ProductPriceRange, g0 as ProductSelectionAvailableSwatch, g1 as ProductSelectionAvailableValue, g2 as ProductSelectionByOptionValue, g3 as ProductSelectionCodecError, g4 as ProductSelectionCodecOptions, g5 as ProductSelectionInput, g6 as ProductSelectionMediaPointer, g7 as ProductSelectionMediaSource, g8 as ProductSelectionOptionValue, g9 as ProductSelectionResolution, ga as ProductSelectionResolutionContext, gb as ProductSelectionUrlEmit, gc as ProductSelectionVariant, gd as ProductUpsertFieldValidationErrorBody, ge as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, gf 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, gg 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, gh as RequestOptions, gi as ResolveCancelRefundFailedResponse, gj as ResolveCancelRefundOutcome, gk as ResolveCancelRefundParams, gl as ResolveCancelRefundResponse, gm as ResolveCancelRefundSucceededResponse, gn as ResolveProductDisplayMediaInput, go as ResolveProductDisplayMediaResult, gp as ResolveProductSelectionMediaInput, gq as ResolveProductSelectionMediaResult, gr as ResolvedCatalogPrice, ds as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dt as RetryConfig, gs as ReturnCancellationReasonCode, gt as ReturnItem, gu as ReturnReason, gv as ReturnWithRefundItem, gw as ReturnWithRefundParams, gx as ReturnWithRefundResponse, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, du as RootClient, dv as RootCollectionClient, dw as RootReadOnlyQueryBuilder, gy as ShippingApi, gz as ShippingApiOptions, cv as ShippingLine, dx as Sort, cw as SpentCheckoutPaymentState, gA as StockCheckParams, gB as StockCheckResponse, gC as StockCheckResult, gD as StockSnapshotItem, gE 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, gF as UpdateFulfillmentParams, cW as UpdateItemParams, gG as UpdateOrderParams, dS as UpdateProfileData, gH as UpdateReturnParams, gI as ValidateDiscountParams, gJ as ValidateDiscountResult, cX as VariantInput, gK as VideoPlaybackResponse, c$ as VoidBenefitVoucherRequest, dG as Where, gL as WithIdempotencyKey, gM as buildProductHref, gN as buildProductListingCard, gO as buildProductListingGroupProjection, gP as buildProductListingGroupsByOption, gQ as buildProductOptionMatrix, gR as buildProductOptionMatrixFromDetail, gS as createProductSelectionCodec, gT as getAvailableOptionValues, gU as getProductSelectionImages, gV as getSelectedValueByOptionId, gW as getVariantAvailableForSale, gX as getVariantAvailableStock, d1 as invalidBenefitVoucherResponse, gY as isProductUpsertFieldValidationErrorBody, gZ as normalizeProductSelection, g_ as normalizeProductSelectionFromMatrix, g$ as normalizeSelectedValueIds, d2 as parseBenefitVoucher, d3 as parseBenefitVoucherList, d4 as parseCustomerCreditAccount, d5 as parseCustomerCreditGrant, d6 as parseMyCustomerCreditHistory, d7 as parseMyCustomerCredits, h0 as parseProductSelection, d8 as parseRevokeCustomerCredit, h1 as projectProductToListingShape, h2 as resolveFeaturedImagePointer, h3 as resolveProductDisplayMedia, h4 as resolveProductSelection, h5 as resolveProductSelectionFromMatrix, h6 as resolveProductSelectionMedia, h7 as resolveVariantForSelection, h8 as selectNext, h9 as selectedSwatchMediaItemId, ha as stringifyProductSelection, hb as toShopifyPriceRangeV2 } from './types-DMwRdJ-4.cjs';
|
|
3
|
+
import { P as Product } from './collection-documents-Bl0AF0m0.cjs';
|
|
4
|
+
export { A as Article, k as ArticleAuthor, l as ArticleCategory, m as ArticleTag, D as Document, a5 as Image, au as Post, N as PostCategory, a2 as Tenant, V as Video } from './collection-documents-Bl0AF0m0.cjs';
|
|
5
|
+
export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-Jr4xTiGs.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-CfxkqaY9.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-CcOT0taO.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';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
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 './
|
|
4
|
-
export { A as Article,
|
|
5
|
-
export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-
|
|
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-
|
|
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-
|
|
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-Btxz6NVi.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 CustomerWithdrawalCodeReauthenticationReason, eJ as CustomerWithdrawalCodeResult, eK as CustomerWithdrawalRequest, eL as CustomerWithdrawalResult, dm as DebugConfig, dn as DeepPartial, eM as DiscountApi, eN as DiscountApiOptions, eO 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, eP as EventRegistrationEmailVerificationRequest, eQ as EventRegistrationEmailVerificationResponse, 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, eR as FeaturedImagePointerInput, eS as FulfillmentMutationResponse, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eT as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eU as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eV as ListingGroupsParams, eW as MAX_CART_LINE_ADMISSIONS, eX as ManagedCancelRefundOutcome, eY as ManagedPaymentNextAction, eZ as ManagedPublicPaymentSession, e_ as MarketDTO, e$ as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, f0 as NormalizedOptionSwatch, f1 as NormalizedProductSelection, bz as OpenCheckoutPaymentState, f2 as OrderApi, f3 as OrderApiOptions, f4 as OrderByPaymentResult, f5 as PRODUCT_PLP_FIND_OPTIONS, f6 as PRODUCT_UPSERT_READONLY_FIELD_REASON, f7 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, f8 as PrepareFulfillmentOrderParams, f9 as PrepareFulfillmentOrderResponse, fa as ProductApi, fb as ProductApiOptions, fc as ProductDetailBrand, dW as ProductDetailCatalogResult, fd as ProductDetailCatalogVariant, fe as ProductDetailCategory, ff as ProductDetailImage, fg as ProductDetailImageMedia, fh as ProductDetailMedia, fi as ProductDetailOption, fj as ProductDetailOptionValue, dV as ProductDetailParams, fk as ProductDetailResult, fl as ProductDetailTag, fm as ProductDetailUnavailableReason, fn as ProductDetailVariant, fo as ProductDetailVariantOptionValue, fp as ProductDetailVideo, fq as ProductDisplayMediaSource, fr as ProductFallbackLocaleOption, fs as ProductHrefGroup, ft as ProductHrefOptions, fu as ProductHrefProduct, fv as ProductListingCard, fw as ProductListingCardOptions, fx as ProductListingCardPriceRange, fy as ProductListingCardRepresentativeVariant, fz as ProductListingGroup, fA as ProductListingGroupCatalogSummary, fB as ProductListingGroupCatalogVariant, fC as ProductListingGroupProjection, fD as ProductListingGroupSummary, fE as ProductListingGroupVariant, dZ as ProductListingGroupsCatalogItem, fF as ProductListingGroupsCatalogProduct, fG as ProductListingGroupsCatalogResponse, d$ as ProductListingGroupsItem, fH as ProductListingGroupsProduct, fI as ProductListingGroupsResponse, dU as ProductListingPageBaseParams, dX as ProductListingPageCatalogParams, fJ as ProductListingPageFilters, d_ as ProductListingPageFullParams, dT as ProductListingPageParams, dY as ProductListingPageResult, fK as ProductListingPageSort, fL as ProductListingProductShape, fM as ProductListingSwatch, fN as ProductLocaleOption, fO as ProductLocaleReadParams, fP as ProductLocalizedText, fQ as ProductLocalizedValue, fR as ProductMediaResolutionSource, fS as ProductMoneyRange, fT as ProductOptionMatrix, fU as ProductOptionMatrixOption, fV as ProductOptionMatrixValue, fW as ProductOptionMatrixVariant, fX as ProductOptionShape, fY as ProductOptionValueShape, fZ as ProductOptionValueSwatch, f_ as ProductOptionValueSwatchInput, f$ as ProductPriceRange, g0 as ProductSelectionAvailableSwatch, g1 as ProductSelectionAvailableValue, g2 as ProductSelectionByOptionValue, g3 as ProductSelectionCodecError, g4 as ProductSelectionCodecOptions, g5 as ProductSelectionInput, g6 as ProductSelectionMediaPointer, g7 as ProductSelectionMediaSource, g8 as ProductSelectionOptionValue, g9 as ProductSelectionResolution, ga as ProductSelectionResolutionContext, gb as ProductSelectionUrlEmit, gc as ProductSelectionVariant, gd as ProductUpsertFieldValidationErrorBody, ge as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, gf 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, gg 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, gh as RequestOptions, gi as ResolveCancelRefundFailedResponse, gj as ResolveCancelRefundOutcome, gk as ResolveCancelRefundParams, gl as ResolveCancelRefundResponse, gm as ResolveCancelRefundSucceededResponse, gn as ResolveProductDisplayMediaInput, go as ResolveProductDisplayMediaResult, gp as ResolveProductSelectionMediaInput, gq as ResolveProductSelectionMediaResult, gr as ResolvedCatalogPrice, ds as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dt as RetryConfig, gs as ReturnCancellationReasonCode, gt as ReturnItem, gu as ReturnReason, gv as ReturnWithRefundItem, gw as ReturnWithRefundParams, gx as ReturnWithRefundResponse, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, du as RootClient, dv as RootCollectionClient, dw as RootReadOnlyQueryBuilder, gy as ShippingApi, gz as ShippingApiOptions, cv as ShippingLine, dx as Sort, cw as SpentCheckoutPaymentState, gA as StockCheckParams, gB as StockCheckResponse, gC as StockCheckResult, gD as StockSnapshotItem, gE 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, gF as UpdateFulfillmentParams, cW as UpdateItemParams, gG as UpdateOrderParams, dS as UpdateProfileData, gH as UpdateReturnParams, gI as ValidateDiscountParams, gJ as ValidateDiscountResult, cX as VariantInput, gK as VideoPlaybackResponse, c$ as VoidBenefitVoucherRequest, dG as Where, gL as WithIdempotencyKey, gM as buildProductHref, gN as buildProductListingCard, gO as buildProductListingGroupProjection, gP as buildProductListingGroupsByOption, gQ as buildProductOptionMatrix, gR as buildProductOptionMatrixFromDetail, gS as createProductSelectionCodec, gT as getAvailableOptionValues, gU as getProductSelectionImages, gV as getSelectedValueByOptionId, gW as getVariantAvailableForSale, gX as getVariantAvailableStock, d1 as invalidBenefitVoucherResponse, gY as isProductUpsertFieldValidationErrorBody, gZ as normalizeProductSelection, g_ as normalizeProductSelectionFromMatrix, g$ as normalizeSelectedValueIds, d2 as parseBenefitVoucher, d3 as parseBenefitVoucherList, d4 as parseCustomerCreditAccount, d5 as parseCustomerCreditGrant, d6 as parseMyCustomerCreditHistory, d7 as parseMyCustomerCredits, h0 as parseProductSelection, d8 as parseRevokeCustomerCredit, h1 as projectProductToListingShape, h2 as resolveFeaturedImagePointer, h3 as resolveProductDisplayMedia, h4 as resolveProductSelection, h5 as resolveProductSelectionFromMatrix, h6 as resolveProductSelectionMedia, h7 as resolveVariantForSelection, h8 as selectNext, h9 as selectedSwatchMediaItemId, ha as stringifyProductSelection, hb as toShopifyPriceRangeV2 } from './types-Btxz6NVi.js';
|
|
3
|
+
import { P as Product } from './collection-documents-Bl0AF0m0.js';
|
|
4
|
+
export { A as Article, k as ArticleAuthor, l as ArticleCategory, m as ArticleTag, D as Document, a5 as Image, au as Post, N as PostCategory, a2 as Tenant, V as Video } from './collection-documents-Bl0AF0m0.js';
|
|
5
|
+
export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-CQw4HXky.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-CQsJvMCN.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-CcOT0taO.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';
|
package/dist/index.js
CHANGED
|
@@ -1336,7 +1336,8 @@ var CUSTOMER_AUTH_ENDPOINT_OPERATIONS = {
|
|
|
1336
1336
|
resetPassword: operation("customers", "post", "/reset-password"),
|
|
1337
1337
|
changePassword: operation("customers", "post", "/change-password"),
|
|
1338
1338
|
revokeRefresh: operation("customers", "post", "/revoke-refresh"),
|
|
1339
|
-
withdraw: operation("customers", "post", "/withdraw")
|
|
1339
|
+
withdraw: operation("customers", "post", "/withdraw"),
|
|
1340
|
+
requestWithdrawalCode: operation("customers", "post", "/withdraw/email-code")
|
|
1340
1341
|
};
|
|
1341
1342
|
var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
|
|
1342
1343
|
show: operation("tenants", "get", "/embedded-admin-app"),
|
|
@@ -1350,6 +1351,13 @@ var FIELD_CONFIG_ENDPOINT_OPERATIONS = {
|
|
|
1350
1351
|
var EVENTS_ENDPOINT_OPERATIONS = {
|
|
1351
1352
|
registrations: {
|
|
1352
1353
|
register: operation("event-registrations", "post", "/register"),
|
|
1354
|
+
requestEmailVerification: operation(
|
|
1355
|
+
"event-registrations",
|
|
1356
|
+
"post",
|
|
1357
|
+
"/request-email-verification"
|
|
1358
|
+
),
|
|
1359
|
+
emailCancelPage: operation("event-registrations", "get", "/email-cancel"),
|
|
1360
|
+
emailCancel: operation("event-registrations", "post", "/email-cancel"),
|
|
1353
1361
|
guestLookup: operation("event-registrations", "post", "/guest/lookup"),
|
|
1354
1362
|
guestLookupByUrl: operation("event-registrations", "get", "/guest/:token"),
|
|
1355
1363
|
guestCancel: operation("event-registrations", "post", "/guest/cancel"),
|
|
@@ -1388,6 +1396,9 @@ var VIDEO_ENDPOINT_OPERATIONS = {
|
|
|
1388
1396
|
function resolveOperationTemplate(descriptor) {
|
|
1389
1397
|
return descriptor.collection ? `/api/${descriptor.collection}${descriptor.path}` : `/api${descriptor.path}`;
|
|
1390
1398
|
}
|
|
1399
|
+
var PAYMENT_DIAGNOSTIC_ENDPOINT_OPERATIONS = {
|
|
1400
|
+
diagnose: operation("tenants", "get", "/payment-diagnostics")
|
|
1401
|
+
};
|
|
1391
1402
|
function resolveOperationPath(descriptor, options) {
|
|
1392
1403
|
const path = resolveOperationTemplate(descriptor).replace(
|
|
1393
1404
|
/:([A-Za-z][A-Za-z0-9_]*)/g,
|
|
@@ -4769,8 +4780,25 @@ var CustomerAuth = class {
|
|
|
4769
4780
|
body: JSON.stringify({ refreshToken })
|
|
4770
4781
|
});
|
|
4771
4782
|
}
|
|
4772
|
-
/**
|
|
4773
|
-
async
|
|
4783
|
+
/** Send a withdrawal-only code to the current passwordless customer's stored email. */
|
|
4784
|
+
async requestWithdrawalCode() {
|
|
4785
|
+
const token = this.getToken();
|
|
4786
|
+
if (!token) throw new ApiError("Not authenticated", 401);
|
|
4787
|
+
const operation2 = CUSTOMER_AUTH_ENDPOINT_OPERATIONS.requestWithdrawalCode;
|
|
4788
|
+
const result = await this.requestJson(
|
|
4789
|
+
resolveOperationPath(operation2),
|
|
4790
|
+
{
|
|
4791
|
+
method: resolveOperationMethod(operation2),
|
|
4792
|
+
headers: { Authorization: `Bearer ${token}` },
|
|
4793
|
+
body: JSON.stringify({})
|
|
4794
|
+
}
|
|
4795
|
+
);
|
|
4796
|
+
if (!result || typeof result.message !== "string")
|
|
4797
|
+
throw new ApiError("Invalid withdrawal code response", 502);
|
|
4798
|
+
return result;
|
|
4799
|
+
}
|
|
4800
|
+
/** Archive the current account and clear this client's credentials on success. */
|
|
4801
|
+
async withdraw(proof) {
|
|
4774
4802
|
const token = this.getToken();
|
|
4775
4803
|
if (!token) throw new ApiError("Not authenticated", 401);
|
|
4776
4804
|
const operation2 = CUSTOMER_AUTH_ENDPOINT_OPERATIONS.withdraw;
|
|
@@ -4779,7 +4807,9 @@ var CustomerAuth = class {
|
|
|
4779
4807
|
{
|
|
4780
4808
|
method: resolveOperationMethod(operation2),
|
|
4781
4809
|
headers: { Authorization: `Bearer ${token}` },
|
|
4782
|
-
body: JSON.stringify(
|
|
4810
|
+
body: JSON.stringify(
|
|
4811
|
+
typeof proof === "string" ? { currentPassword: proof } : proof
|
|
4812
|
+
)
|
|
4783
4813
|
}
|
|
4784
4814
|
);
|
|
4785
4815
|
if (!result || typeof result.withdrawnAt !== "string" || !Number.isFinite(Date.parse(result.withdrawnAt)))
|
|
@@ -7438,6 +7468,15 @@ var EventsClient = class {
|
|
|
7438
7468
|
{ useCustomerAuth: true }
|
|
7439
7469
|
);
|
|
7440
7470
|
}
|
|
7471
|
+
requestRegistrationEmailVerification(params) {
|
|
7472
|
+
const operation2 = EVENTS_ENDPOINT_OPERATIONS.registrations.requestEmailVerification;
|
|
7473
|
+
return this.execute(
|
|
7474
|
+
resolveOperationPath(operation2),
|
|
7475
|
+
resolveOperationMethod(operation2),
|
|
7476
|
+
buildRegistrationRequestBody(params),
|
|
7477
|
+
{ useCustomerAuth: true, noStore: true }
|
|
7478
|
+
);
|
|
7479
|
+
}
|
|
7441
7480
|
getGuestRegistration(token) {
|
|
7442
7481
|
return this.execute(
|
|
7443
7482
|
resolveOperationPath(
|
|
@@ -7490,7 +7529,10 @@ function buildRegistrationRequestBody(params) {
|
|
|
7490
7529
|
occurrence: params.occurrence,
|
|
7491
7530
|
...params.quantity !== void 0 && { quantity: params.quantity },
|
|
7492
7531
|
...params.attendee !== void 0 && { attendee: params.attendee },
|
|
7493
|
-
...params.answers !== void 0 && { answers: params.answers }
|
|
7532
|
+
...params.answers !== void 0 && { answers: params.answers },
|
|
7533
|
+
...params.emailVerification !== void 0 && {
|
|
7534
|
+
emailVerification: params.emailVerification
|
|
7535
|
+
}
|
|
7494
7536
|
};
|
|
7495
7537
|
}
|
|
7496
7538
|
function buildGuestCancelRequestBody(token, params) {
|
|
@@ -8093,6 +8135,7 @@ var INTERNAL_COLLECTIONS = [
|
|
|
8093
8135
|
"fulfillment-events",
|
|
8094
8136
|
"tenant-commerce-config",
|
|
8095
8137
|
"customer-oauth-clients",
|
|
8138
|
+
"customer-social-provider-configs",
|
|
8096
8139
|
"customer-consent-receipts",
|
|
8097
8140
|
"customer-group-grants",
|
|
8098
8141
|
"api-keys",
|