@01.software/sdk 0.73.1 → 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 +75 -0
- package/README.md +109 -4
- package/dist/client.cjs +59 -14
- 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 +59 -14
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-BH4dIZ6c.d.cts → collection-client-BNC6tUdK.d.cts} +3 -4
- package/dist/{collection-client-lLAl3xCZ.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-CCvoknRY.d.ts → const-CcOT0taO.d.cts} +1 -3
- package/dist/{const-BS2EaIp4.d.cts → const-CcOT0taO.d.ts} +1 -3
- package/dist/{index-DVqNpmsc.d.ts → index-CQsJvMCN.d.ts} +2 -3
- package/dist/{index-CHdrzJ8-.d.cts → index-CfxkqaY9.d.cts} +2 -3
- package/dist/index.cjs +60 -14
- 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 +60 -14
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +16 -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 +16 -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 +50 -11
- 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 +50 -11
- package/dist/server.js.map +1 -1
- package/dist/{types-lbzbJSZh.d.ts → types-Btxz6NVi.d.ts} +161 -31
- package/dist/types-CQw4HXky.d.ts +151 -0
- package/dist/{types-Chwgg4CQ.d.cts → types-DMwRdJ-4.d.cts} +161 -31
- 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-PXkmefhZ.d.cts +0 -14027
- package/dist/payload-types-PXkmefhZ.d.ts +0 -14027
- package/dist/types-CQRsG6sA.d.ts +0 -53
- package/dist/types-CyMz0Kzc.d.cts +0 -53
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AddItemParams, d8 as ApiQueryOptions, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, l as BenefitVouchersApi, d_ as BillingCustodyContextWireRequest, d$ as BillingCustodyWireRequest, e0 as BulkImportFulfillmentsParams, e1 as BulkImportFulfillmentsResponse, e2 as CalculateShippingParams, e3 as CalculateShippingResult, d9 as CancelBrowserPaymentSessionParams, e4 as CancelOrderManagedAlreadyCanceledResponse, e5 as CancelOrderManagedCommittedResponse, e6 as CancelOrderParams, e7 as CancelOrderResponse, e8 as CancelReasonCode, e9 as CartDiscountCode, da as CartMergeParams, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, ea as CartWarning, eb as CartWarningCode, J as CheckoutAbandonedReason, K as CheckoutAmounts, ec as CheckoutFunding, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, Y as CheckoutShippingAddress, $ as ClearCartParams, dm as Client, db as ClientMetadata, q as ClientState, dm as ClientType, ed as Comment, d4 as CommerceClient, ee as CommerceClientOptions, n as CommunityClient, ef as CommunityClientOptions, eg as CommunityComment, eh as CommunityCommentListSort, ei as CommunityPost, ej as CommunityPostCategory, ek as CommunityPostListSort, el as CommunityPostTag, em as CommunityPublicAuthorSnapshot, en as CommunityPublicMediaAsset, eo as CommunityPublicReference, ep as CompatibilityProductSelectionParamEvent, d5 as ContentClient, dc as ContentClientOptions, a9 as CreateCartParams, aa as CreateCartResult, dd as CreateCheckoutParams, de as CreateCheckoutResult, eq as CreateFulfillmentParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, er as CreateReturnParams, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, m as CreditsApi, dE as CustomerAuth, es as CustomerAuthOptions, dG as CustomerAuthResponse, et as CustomerAuthorizationUrlInput, eu as CustomerAuthorizationUrlResult, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, i as CustomerGroupApi, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, dH as CustomerLoginData, aw as CustomerMembershipView, d6 as CustomerNamespace, ev as CustomerOAuth, ew as CustomerOAuthCallbackResult, ex as CustomerOAuthConfig, ey as CustomerOAuthTokenSet, ez as CustomerOrderListOptions, dF as CustomerProfile, dK as CustomerRefreshResponse, dJ as CustomerRegisterData, dI as CustomerRegisterResponse, ax as CustomerSnapshot, eA as CustomerWithdrawalResult, df as DebugConfig, dg as DeepPartial, eB as DiscountApi, eC as DiscountApiOptions, eD as DiscountErrorReasonCode, az as EventAdmissionAvailabilityParams, aA as EventAdmissionAvailabilityResponse, aB as EventAdmissionAvailabilityType, aC as EventAdmissionPricePresentment, aD as EventGuestCancelParams, aE as EventGuestRegistration, aF as EventGuestRegistrationResponse, aG as EventMyRegistration, aH as EventMyRegistrationsParams, aI as EventMyRegistrationsResponse, aJ as EventRegistrationAnswerInput, aK as EventRegistrationAttendeeInput, aL as EventRegistrationPublic, aM as EventRegistrationRegisterParams, aN as EventRegistrationRegisterResponse, aO as EventsCalendarItem, aP as EventsClient, aQ as EventsClientOptions, aR as EventsDateParam, aS as EventsExternalSource, aT as EventsLocation, aU as EventsOccurrenceLocation, aV as EventsRangeEvent, aW as EventsRangeOccurrence, aX as EventsRangeParams, aY as EventsRangeResponse, aZ as EventsTaxonomyItem, dh as ExtractArrayType, eE as FeaturedImagePointerInput, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eF as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eG as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eH as ListingGroupsParams, eI as MAX_CART_LINE_ADMISSIONS, eJ as ManagedCancelRefundOutcome, eK as ManagedPaymentNextAction, eL as ManagedPublicPaymentSession, eM as MarketDTO, eN as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, eO as NormalizedOptionSwatch, eP as NormalizedProductSelection, bz as OpenCheckoutPaymentState, eQ as OrderApi, eR as OrderApiOptions, eS as OrderByPaymentResult, eT as PRODUCT_PLP_FIND_OPTIONS, eU as PRODUCT_UPSERT_READONLY_FIELD_REASON, eV as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, di as PayloadFindResponse, dj as PayloadMutationResponse, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bJ as PortOnePaymentNextAction, bM as PortOnePublicPaymentSession, eW as PrepareFulfillmentOrderParams, eX as PrepareFulfillmentOrderResponse, eY as ProductApi, eZ as ProductApiOptions, e_ as ProductDetailBrand, dP as ProductDetailCatalogResult, e$ as ProductDetailCatalogVariant, f0 as ProductDetailCategory, f1 as ProductDetailImage, f2 as ProductDetailImageMedia, f3 as ProductDetailMedia, f4 as ProductDetailOption, f5 as ProductDetailOptionValue, dO as ProductDetailParams, f6 as ProductDetailResult, f7 as ProductDetailTag, f8 as ProductDetailUnavailableReason, f9 as ProductDetailVariant, fa as ProductDetailVariantOptionValue, fb as ProductDetailVideo, fc as ProductDisplayMediaSource, fd as ProductFallbackLocaleOption, fe as ProductHrefGroup, ff as ProductHrefOptions, fg as ProductHrefProduct, fh as ProductListingCard, fi as ProductListingCardOptions, fj as ProductListingCardPriceRange, fk as ProductListingCardRepresentativeVariant, fl as ProductListingGroup, fm as ProductListingGroupCatalogSummary, fn as ProductListingGroupCatalogVariant, fo as ProductListingGroupProjection, fp as ProductListingGroupSummary, fq as ProductListingGroupVariant, dS as ProductListingGroupsCatalogItem, fr as ProductListingGroupsCatalogProduct, fs as ProductListingGroupsCatalogResponse, dU as ProductListingGroupsItem, ft as ProductListingGroupsProduct, fu as ProductListingGroupsResponse, dN as ProductListingPageBaseParams, dQ as ProductListingPageCatalogParams, fv as ProductListingPageFilters, dT as ProductListingPageFullParams, dM as ProductListingPageParams, dR as ProductListingPageResult, fw as ProductListingPageSort, fx as ProductListingProductShape, fy as ProductListingSwatch, fz as ProductLocaleOption, fA as ProductLocaleReadParams, fB as ProductLocalizedText, fC as ProductLocalizedValue, fD as ProductMediaResolutionSource, fE as ProductMoneyRange, fF as ProductOptionMatrix, fG as ProductOptionMatrixOption, fH as ProductOptionMatrixValue, fI as ProductOptionMatrixVariant, fJ as ProductOptionShape, fK as ProductOptionValueShape, fL as ProductOptionValueSwatch, fM as ProductOptionValueSwatchInput, fN as ProductPriceRange, fO as ProductSelectionAvailableSwatch, fP as ProductSelectionAvailableValue, fQ as ProductSelectionByOptionValue, fR as ProductSelectionCodecError, fS as ProductSelectionCodecOptions, fT as ProductSelectionInput, fU as ProductSelectionMediaPointer, fV as ProductSelectionMediaSource, fW as ProductSelectionOptionValue, fX as ProductSelectionResolution, fY as ProductSelectionResolutionContext, fZ as ProductSelectionUrlEmit, f_ as ProductSelectionVariant, f$ as ProductUpsertFieldValidationErrorBody, g0 as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, g1 as ProductVariantShape, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, g2 as PublicCheckoutBase, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, dD as PublicReadQueryOptions, ca as ReconciliationRequired, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, g3 as RequestOptions, g4 as ResolveCancelRefundFailedResponse, g5 as ResolveCancelRefundOutcome, g6 as ResolveCancelRefundParams, g7 as ResolveCancelRefundResponse, g8 as ResolveCancelRefundSucceededResponse, g9 as ResolveProductDisplayMediaInput, ga as ResolveProductDisplayMediaResult, gb as ResolveProductSelectionMediaInput, gc as ResolveProductSelectionMediaResult, gd as ResolvedCatalogPrice, dk as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dl as RetryConfig, ge as ReturnCancellationReasonCode, gf as ReturnItem, gg as ReturnReason, gh as ReturnWithRefundItem, gi as ReturnWithRefundParams, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, dm as RootClient, dn as RootCollectionClient, dp as RootReadOnlyQueryBuilder, gj as ShippingApi, gk as ShippingApiOptions, cv as ShippingLine, dq as Sort, cw as SpentCheckoutPaymentState, gl as StockCheckParams, gm as StockCheckResponse, gn as StockCheckResult, go as StockSnapshotItem, gp as StockSnapshotParams, dr as StorefrontContentListOptions, ds as StorefrontContentReference, dt as StorefrontGalleryItem, du as StorefrontGalleryItemsListOptions, dv as StorefrontGalleryItemsSort, dw as StorefrontLink, dx as StorefrontLinksListOptions, dy as StorefrontLinksSort, cN as UpdateCartAttributesParams, cO as UpdateDiscountCodesParams, gq as UpdateFulfillmentParams, cP as UpdateItemParams, gr as UpdateOrderParams, dL as UpdateProfileData, gs as UpdateReturnParams, gt as ValidateDiscountParams, gu as ValidateDiscountResult, cQ as VariantInput, gv as VideoPlaybackResponse, cU as VoidBenefitVoucherRequest, dz as Where, gw as WithIdempotencyKey, gx as buildProductHref, gy as buildProductListingCard, gz as buildProductListingGroupProjection, gA as buildProductListingGroupsByOption, gB as buildProductOptionMatrix, gC as buildProductOptionMatrixFromDetail, gD as createProductSelectionCodec, gE as getAvailableOptionValues, gF as getProductSelectionImages, gG as getSelectedValueByOptionId, gH as getVariantAvailableForSale, gI as getVariantAvailableStock, cW as invalidBenefitVoucherResponse, gJ as isProductUpsertFieldValidationErrorBody, gK as normalizeProductSelection, gL as normalizeProductSelectionFromMatrix, gM as normalizeSelectedValueIds, cX as parseBenefitVoucher, cY as parseBenefitVoucherList, cZ as parseCustomerCreditAccount, c_ as parseCustomerCreditGrant, c$ as parseMyCustomerCreditHistory, d0 as parseMyCustomerCredits, gN as parseProductSelection, d1 as parseRevokeCustomerCredit, gO as projectProductToListingShape, gP as resolveFeaturedImagePointer, gQ as resolveProductDisplayMedia, gR as resolveProductSelection, gS as resolveProductSelectionFromMatrix, gT as resolveProductSelectionMedia, gU as resolveVariantForSelection, gV as selectNext, gW as selectedSwatchMediaItemId, gX as stringifyProductSelection, gY as toShopifyPriceRangeV2 } from './types-Chwgg4CQ.cjs';
|
|
3
|
-
import { P as Product } from './
|
|
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 {
|
|
2
|
-
export { A as AddItemParams, d8 as ApiQueryOptions, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, l as BenefitVouchersApi, d_ as BillingCustodyContextWireRequest, d$ as BillingCustodyWireRequest, e0 as BulkImportFulfillmentsParams, e1 as BulkImportFulfillmentsResponse, e2 as CalculateShippingParams, e3 as CalculateShippingResult, d9 as CancelBrowserPaymentSessionParams, e4 as CancelOrderManagedAlreadyCanceledResponse, e5 as CancelOrderManagedCommittedResponse, e6 as CancelOrderParams, e7 as CancelOrderResponse, e8 as CancelReasonCode, e9 as CartDiscountCode, da as CartMergeParams, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, ea as CartWarning, eb as CartWarningCode, J as CheckoutAbandonedReason, K as CheckoutAmounts, ec as CheckoutFunding, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, Y as CheckoutShippingAddress, $ as ClearCartParams, dm as Client, db as ClientMetadata, q as ClientState, dm as ClientType, ed as Comment, d4 as CommerceClient, ee as CommerceClientOptions, n as CommunityClient, ef as CommunityClientOptions, eg as CommunityComment, eh as CommunityCommentListSort, ei as CommunityPost, ej as CommunityPostCategory, ek as CommunityPostListSort, el as CommunityPostTag, em as CommunityPublicAuthorSnapshot, en as CommunityPublicMediaAsset, eo as CommunityPublicReference, ep as CompatibilityProductSelectionParamEvent, d5 as ContentClient, dc as ContentClientOptions, a9 as CreateCartParams, aa as CreateCartResult, dd as CreateCheckoutParams, de as CreateCheckoutResult, eq as CreateFulfillmentParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, er as CreateReturnParams, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, m as CreditsApi, dE as CustomerAuth, es as CustomerAuthOptions, dG as CustomerAuthResponse, et as CustomerAuthorizationUrlInput, eu as CustomerAuthorizationUrlResult, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, i as CustomerGroupApi, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, dH as CustomerLoginData, aw as CustomerMembershipView, d6 as CustomerNamespace, ev as CustomerOAuth, ew as CustomerOAuthCallbackResult, ex as CustomerOAuthConfig, ey as CustomerOAuthTokenSet, ez as CustomerOrderListOptions, dF as CustomerProfile, dK as CustomerRefreshResponse, dJ as CustomerRegisterData, dI as CustomerRegisterResponse, ax as CustomerSnapshot, eA as CustomerWithdrawalResult, df as DebugConfig, dg as DeepPartial, eB as DiscountApi, eC as DiscountApiOptions, eD as DiscountErrorReasonCode, az as EventAdmissionAvailabilityParams, aA as EventAdmissionAvailabilityResponse, aB as EventAdmissionAvailabilityType, aC as EventAdmissionPricePresentment, aD as EventGuestCancelParams, aE as EventGuestRegistration, aF as EventGuestRegistrationResponse, aG as EventMyRegistration, aH as EventMyRegistrationsParams, aI as EventMyRegistrationsResponse, aJ as EventRegistrationAnswerInput, aK as EventRegistrationAttendeeInput, aL as EventRegistrationPublic, aM as EventRegistrationRegisterParams, aN as EventRegistrationRegisterResponse, aO as EventsCalendarItem, aP as EventsClient, aQ as EventsClientOptions, aR as EventsDateParam, aS as EventsExternalSource, aT as EventsLocation, aU as EventsOccurrenceLocation, aV as EventsRangeEvent, aW as EventsRangeOccurrence, aX as EventsRangeParams, aY as EventsRangeResponse, aZ as EventsTaxonomyItem, dh as ExtractArrayType, eE as FeaturedImagePointerInput, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eF as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eG as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eH as ListingGroupsParams, eI as MAX_CART_LINE_ADMISSIONS, eJ as ManagedCancelRefundOutcome, eK as ManagedPaymentNextAction, eL as ManagedPublicPaymentSession, eM as MarketDTO, eN as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, eO as NormalizedOptionSwatch, eP as NormalizedProductSelection, bz as OpenCheckoutPaymentState, eQ as OrderApi, eR as OrderApiOptions, eS as OrderByPaymentResult, eT as PRODUCT_PLP_FIND_OPTIONS, eU as PRODUCT_UPSERT_READONLY_FIELD_REASON, eV as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, di as PayloadFindResponse, dj as PayloadMutationResponse, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bJ as PortOnePaymentNextAction, bM as PortOnePublicPaymentSession, eW as PrepareFulfillmentOrderParams, eX as PrepareFulfillmentOrderResponse, eY as ProductApi, eZ as ProductApiOptions, e_ as ProductDetailBrand, dP as ProductDetailCatalogResult, e$ as ProductDetailCatalogVariant, f0 as ProductDetailCategory, f1 as ProductDetailImage, f2 as ProductDetailImageMedia, f3 as ProductDetailMedia, f4 as ProductDetailOption, f5 as ProductDetailOptionValue, dO as ProductDetailParams, f6 as ProductDetailResult, f7 as ProductDetailTag, f8 as ProductDetailUnavailableReason, f9 as ProductDetailVariant, fa as ProductDetailVariantOptionValue, fb as ProductDetailVideo, fc as ProductDisplayMediaSource, fd as ProductFallbackLocaleOption, fe as ProductHrefGroup, ff as ProductHrefOptions, fg as ProductHrefProduct, fh as ProductListingCard, fi as ProductListingCardOptions, fj as ProductListingCardPriceRange, fk as ProductListingCardRepresentativeVariant, fl as ProductListingGroup, fm as ProductListingGroupCatalogSummary, fn as ProductListingGroupCatalogVariant, fo as ProductListingGroupProjection, fp as ProductListingGroupSummary, fq as ProductListingGroupVariant, dS as ProductListingGroupsCatalogItem, fr as ProductListingGroupsCatalogProduct, fs as ProductListingGroupsCatalogResponse, dU as ProductListingGroupsItem, ft as ProductListingGroupsProduct, fu as ProductListingGroupsResponse, dN as ProductListingPageBaseParams, dQ as ProductListingPageCatalogParams, fv as ProductListingPageFilters, dT as ProductListingPageFullParams, dM as ProductListingPageParams, dR as ProductListingPageResult, fw as ProductListingPageSort, fx as ProductListingProductShape, fy as ProductListingSwatch, fz as ProductLocaleOption, fA as ProductLocaleReadParams, fB as ProductLocalizedText, fC as ProductLocalizedValue, fD as ProductMediaResolutionSource, fE as ProductMoneyRange, fF as ProductOptionMatrix, fG as ProductOptionMatrixOption, fH as ProductOptionMatrixValue, fI as ProductOptionMatrixVariant, fJ as ProductOptionShape, fK as ProductOptionValueShape, fL as ProductOptionValueSwatch, fM as ProductOptionValueSwatchInput, fN as ProductPriceRange, fO as ProductSelectionAvailableSwatch, fP as ProductSelectionAvailableValue, fQ as ProductSelectionByOptionValue, fR as ProductSelectionCodecError, fS as ProductSelectionCodecOptions, fT as ProductSelectionInput, fU as ProductSelectionMediaPointer, fV as ProductSelectionMediaSource, fW as ProductSelectionOptionValue, fX as ProductSelectionResolution, fY as ProductSelectionResolutionContext, fZ as ProductSelectionUrlEmit, f_ as ProductSelectionVariant, f$ as ProductUpsertFieldValidationErrorBody, g0 as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, g1 as ProductVariantShape, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, g2 as PublicCheckoutBase, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, dD as PublicReadQueryOptions, ca as ReconciliationRequired, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, g3 as RequestOptions, g4 as ResolveCancelRefundFailedResponse, g5 as ResolveCancelRefundOutcome, g6 as ResolveCancelRefundParams, g7 as ResolveCancelRefundResponse, g8 as ResolveCancelRefundSucceededResponse, g9 as ResolveProductDisplayMediaInput, ga as ResolveProductDisplayMediaResult, gb as ResolveProductSelectionMediaInput, gc as ResolveProductSelectionMediaResult, gd as ResolvedCatalogPrice, dk as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dl as RetryConfig, ge as ReturnCancellationReasonCode, gf as ReturnItem, gg as ReturnReason, gh as ReturnWithRefundItem, gi as ReturnWithRefundParams, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, dm as RootClient, dn as RootCollectionClient, dp as RootReadOnlyQueryBuilder, gj as ShippingApi, gk as ShippingApiOptions, cv as ShippingLine, dq as Sort, cw as SpentCheckoutPaymentState, gl as StockCheckParams, gm as StockCheckResponse, gn as StockCheckResult, go as StockSnapshotItem, gp as StockSnapshotParams, dr as StorefrontContentListOptions, ds as StorefrontContentReference, dt as StorefrontGalleryItem, du as StorefrontGalleryItemsListOptions, dv as StorefrontGalleryItemsSort, dw as StorefrontLink, dx as StorefrontLinksListOptions, dy as StorefrontLinksSort, cN as UpdateCartAttributesParams, cO as UpdateDiscountCodesParams, gq as UpdateFulfillmentParams, cP as UpdateItemParams, gr as UpdateOrderParams, dL as UpdateProfileData, gs as UpdateReturnParams, gt as ValidateDiscountParams, gu as ValidateDiscountResult, cQ as VariantInput, gv as VideoPlaybackResponse, cU as VoidBenefitVoucherRequest, dz as Where, gw as WithIdempotencyKey, gx as buildProductHref, gy as buildProductListingCard, gz as buildProductListingGroupProjection, gA as buildProductListingGroupsByOption, gB as buildProductOptionMatrix, gC as buildProductOptionMatrixFromDetail, gD as createProductSelectionCodec, gE as getAvailableOptionValues, gF as getProductSelectionImages, gG as getSelectedValueByOptionId, gH as getVariantAvailableForSale, gI as getVariantAvailableStock, cW as invalidBenefitVoucherResponse, gJ as isProductUpsertFieldValidationErrorBody, gK as normalizeProductSelection, gL as normalizeProductSelectionFromMatrix, gM as normalizeSelectedValueIds, cX as parseBenefitVoucher, cY as parseBenefitVoucherList, cZ as parseCustomerCreditAccount, c_ as parseCustomerCreditGrant, c$ as parseMyCustomerCreditHistory, d0 as parseMyCustomerCredits, gN as parseProductSelection, d1 as parseRevokeCustomerCredit, gO as projectProductToListingShape, gP as resolveFeaturedImagePointer, gQ as resolveProductDisplayMedia, gR as resolveProductSelection, gS as resolveProductSelectionFromMatrix, gT as resolveProductSelectionMedia, gU as resolveVariantForSelection, gV as selectNext, gW as selectedSwatchMediaItemId, gX as stringifyProductSelection, gY as toShopifyPriceRangeV2 } from './types-lbzbJSZh.js';
|
|
3
|
-
import { P as Product } from './
|
|
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,16 +1336,28 @@ 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"),
|
|
1343
1344
|
configure: operation("tenants", "patch", "/embedded-admin-app"),
|
|
1344
1345
|
disable: operation("tenants", "delete", "/embedded-admin-app")
|
|
1345
1346
|
};
|
|
1347
|
+
var FIELD_CONFIG_ENDPOINT_OPERATIONS = {
|
|
1348
|
+
list: operation("field-configs", "get", "/list"),
|
|
1349
|
+
save: operation("field-configs", "post", "/save")
|
|
1350
|
+
};
|
|
1346
1351
|
var EVENTS_ENDPOINT_OPERATIONS = {
|
|
1347
1352
|
registrations: {
|
|
1348
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"),
|
|
1349
1361
|
guestLookup: operation("event-registrations", "post", "/guest/lookup"),
|
|
1350
1362
|
guestLookupByUrl: operation("event-registrations", "get", "/guest/:token"),
|
|
1351
1363
|
guestCancel: operation("event-registrations", "post", "/guest/cancel"),
|
|
@@ -1384,6 +1396,9 @@ var VIDEO_ENDPOINT_OPERATIONS = {
|
|
|
1384
1396
|
function resolveOperationTemplate(descriptor) {
|
|
1385
1397
|
return descriptor.collection ? `/api/${descriptor.collection}${descriptor.path}` : `/api${descriptor.path}`;
|
|
1386
1398
|
}
|
|
1399
|
+
var PAYMENT_DIAGNOSTIC_ENDPOINT_OPERATIONS = {
|
|
1400
|
+
diagnose: operation("tenants", "get", "/payment-diagnostics")
|
|
1401
|
+
};
|
|
1387
1402
|
function resolveOperationPath(descriptor, options) {
|
|
1388
1403
|
const path = resolveOperationTemplate(descriptor).replace(
|
|
1389
1404
|
/:([A-Za-z][A-Za-z0-9_]*)/g,
|
|
@@ -4765,8 +4780,25 @@ var CustomerAuth = class {
|
|
|
4765
4780
|
body: JSON.stringify({ refreshToken })
|
|
4766
4781
|
});
|
|
4767
4782
|
}
|
|
4768
|
-
/**
|
|
4769
|
-
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) {
|
|
4770
4802
|
const token = this.getToken();
|
|
4771
4803
|
if (!token) throw new ApiError("Not authenticated", 401);
|
|
4772
4804
|
const operation2 = CUSTOMER_AUTH_ENDPOINT_OPERATIONS.withdraw;
|
|
@@ -4775,7 +4807,9 @@ var CustomerAuth = class {
|
|
|
4775
4807
|
{
|
|
4776
4808
|
method: resolveOperationMethod(operation2),
|
|
4777
4809
|
headers: { Authorization: `Bearer ${token}` },
|
|
4778
|
-
body: JSON.stringify(
|
|
4810
|
+
body: JSON.stringify(
|
|
4811
|
+
typeof proof === "string" ? { currentPassword: proof } : proof
|
|
4812
|
+
)
|
|
4779
4813
|
}
|
|
4780
4814
|
);
|
|
4781
4815
|
if (!result || typeof result.withdrawnAt !== "string" || !Number.isFinite(Date.parse(result.withdrawnAt)))
|
|
@@ -6836,10 +6870,13 @@ function buildProductHref(product, group, options = {}) {
|
|
|
6836
6870
|
return params.size > 0 ? `${path}?${params.toString()}` : path;
|
|
6837
6871
|
}
|
|
6838
6872
|
function compareVariantOrder(a, b) {
|
|
6839
|
-
const aOrder =
|
|
6840
|
-
const bOrder =
|
|
6841
|
-
if (
|
|
6842
|
-
|
|
6873
|
+
const aOrder = a._order || null;
|
|
6874
|
+
const bOrder = b._order || null;
|
|
6875
|
+
if (aOrder !== bOrder) {
|
|
6876
|
+
if (aOrder === null) return 1;
|
|
6877
|
+
if (bOrder === null) return -1;
|
|
6878
|
+
const byOrder = compareOrdinal(aOrder, bOrder);
|
|
6879
|
+
if (byOrder !== 0) return byOrder;
|
|
6843
6880
|
}
|
|
6844
6881
|
const aId = String(getRelationID(a.id) ?? "");
|
|
6845
6882
|
const bId = String(getRelationID(b.id) ?? "");
|
|
@@ -7153,11 +7190,7 @@ function buildProductListingPageWhere(params) {
|
|
|
7153
7190
|
const search = params.search?.trim();
|
|
7154
7191
|
if (search) {
|
|
7155
7192
|
clauses.push({
|
|
7156
|
-
or: [
|
|
7157
|
-
{ title: { like: search } },
|
|
7158
|
-
{ slug: { like: search } },
|
|
7159
|
-
{ handle: { like: search } }
|
|
7160
|
-
]
|
|
7193
|
+
or: [{ title: { like: search } }, { slug: { like: search } }]
|
|
7161
7194
|
});
|
|
7162
7195
|
}
|
|
7163
7196
|
const filters = params.filters;
|
|
@@ -7435,6 +7468,15 @@ var EventsClient = class {
|
|
|
7435
7468
|
{ useCustomerAuth: true }
|
|
7436
7469
|
);
|
|
7437
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
|
+
}
|
|
7438
7480
|
getGuestRegistration(token) {
|
|
7439
7481
|
return this.execute(
|
|
7440
7482
|
resolveOperationPath(
|
|
@@ -7487,7 +7529,10 @@ function buildRegistrationRequestBody(params) {
|
|
|
7487
7529
|
occurrence: params.occurrence,
|
|
7488
7530
|
...params.quantity !== void 0 && { quantity: params.quantity },
|
|
7489
7531
|
...params.attendee !== void 0 && { attendee: params.attendee },
|
|
7490
|
-
...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
|
+
}
|
|
7491
7536
|
};
|
|
7492
7537
|
}
|
|
7493
7538
|
function buildGuestCancelRequestBody(token, params) {
|
|
@@ -8090,6 +8135,7 @@ var INTERNAL_COLLECTIONS = [
|
|
|
8090
8135
|
"fulfillment-events",
|
|
8091
8136
|
"tenant-commerce-config",
|
|
8092
8137
|
"customer-oauth-clients",
|
|
8138
|
+
"customer-social-provider-configs",
|
|
8093
8139
|
"customer-consent-receipts",
|
|
8094
8140
|
"customer-group-grants",
|
|
8095
8141
|
"api-keys",
|