@01.software/sdk 0.68.0 → 0.69.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 +14 -0
- package/README.md +2 -0
- package/dist/client.cjs +3 -0
- 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 +3 -0
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-IOaWsTMI.d.ts → collection-client-C2VGBnCC.d.ts} +4 -4
- package/dist/{collection-client-MbIJ5KzW.d.cts → collection-client-DvWkDxSM.d.cts} +4 -4
- package/dist/{const-Dw5ElJs_.d.cts → const-AtPEgg__.d.cts} +1 -1
- package/dist/{const-Do27Udj6.d.ts → const-DR96Chal.d.ts} +1 -1
- package/dist/embedded-admin/server.cjs +3 -0
- package/dist/embedded-admin/server.cjs.map +1 -1
- package/dist/embedded-admin/server.js +3 -0
- package/dist/embedded-admin/server.js.map +1 -1
- package/dist/embedded-admin.cjs +3 -0
- package/dist/embedded-admin.cjs.map +1 -1
- package/dist/embedded-admin.js +3 -0
- package/dist/embedded-admin.js.map +1 -1
- package/dist/errors.cjs +3 -0
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.cts +3 -3
- package/dist/errors.d.ts +3 -3
- package/dist/errors.js +3 -0
- package/dist/errors.js.map +1 -1
- package/dist/{index-gnVxTKXu.d.cts → index-Ce11c_Oh.d.cts} +3 -3
- package/dist/{index-DcYsLOja.d.ts → index-D8fmTrZk.d.ts} +3 -3
- package/dist/index.cjs +3 -0
- 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 +3 -0
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-BY1uZFRf.d.cts → payload-types-rhnw3rR8.d.cts} +14 -0
- package/dist/{payload-types-BY1uZFRf.d.ts → payload-types-rhnw3rR8.d.ts} +14 -0
- package/dist/query.cjs +3 -0
- 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 +3 -0
- package/dist/query.js.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/server.cjs +3 -0
- 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 +3 -0
- package/dist/server.js.map +1 -1
- package/dist/storefront-cache.cjs +3 -0
- package/dist/storefront-cache.cjs.map +1 -1
- package/dist/storefront-cache.js +3 -0
- package/dist/storefront-cache.js.map +1 -1
- package/dist/{types-csjaig4G.d.cts → types-B99utaKU.d.cts} +3 -3
- package/dist/{types-DnIuxgu2.d.cts → types-BR0D4AaW.d.cts} +2 -2
- package/dist/{types-AWSVpuPE.d.ts → types-CHK8VIPa.d.ts} +2 -2
- package/dist/{types-CLRw0aDa.d.ts → types-L0xmn_iT.d.ts} +3 -3
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/webhook.d.cts +5 -5
- package/dist/webhook.d.ts +5 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { dw as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, C as CancelMembershipParams, d as CancelMembershipResponse, B as BillingCustodyParams, e as BillingCustodyResponse, dx as ProductDetail, dy as ProductDetailCatalog, dz as StockSnapshotResponse, cM as ClientConfig, dA as RootClientWithEvents } from './types-
|
|
2
|
-
export { A as AddItemParams, cN as ApiQueryOptions, o as BENEFIT_VOUCHER_ERROR_REASONS, p as BENEFIT_VOUCHER_VOID_REASONS, q as BenefitVoucher, r as BenefitVoucherErrorReason, h as BenefitVouchersApi, dB as BillingCustodyWireRequest, dC as BulkImportFulfillmentsParams, dD as BulkImportFulfillmentsResponse, dE as CalculateShippingParams, dF as CalculateShippingResult, cO as CancelBrowserPaymentSessionParams, dG as CancelOrderParams, dH as CancelOrderResponse, dI as CancelReasonCode, dJ as CartDiscountCode, cP as CartMergeParams, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, dK as CartWarning, dL as CartWarningCode, z as CheckoutAbandonedReason, D as CheckoutAmounts, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, O as CheckoutShippingAddress, W as ClearCartParams, c$ as Client, cQ as ClientMetadata, l as ClientState, c$ as ClientType, dM as Comment, cJ as CommerceClient, dN as CommerceClientOptions, i as CommunityClient, dO as CommunityClientOptions, dP as CommunityComment, dQ as CommunityCommentListSort, dR as CommunityPost, dS as CommunityPostCategory, dT as CommunityPostListSort, dU as CommunityPostTag, dV as CommunityPublicAuthorSnapshot, dW as CommunityPublicMediaAsset, dX as CommunityPublicReference, dY as CompatibilityProductSelectionParamEvent, cK as ContentClient, cR as ContentClientOptions, a4 as CreateCartParams, a5 as CreateCartResult, cS as CreateCheckoutParams, cT as CreateCheckoutResult, dZ as CreateFulfillmentParams, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, d_ as CreateReturnParams, ac as CreateServerPaymentSessionParams, ad as CreateServerPortOnePaymentSessionParams, de as CustomerAuth, d$ as CustomerAuthOptions, dg as CustomerAuthResponse, e0 as CustomerAuthorizationUrlInput, e1 as CustomerAuthorizationUrlResult, ag as CustomerBenefitVoucher, f as CustomerGroupApi, ah as CustomerGroupApiOptions, ai as CustomerGroupManualSource, aj as CustomerGroupMember, ak as CustomerGroupMemberCommandResponse, al as CustomerGroupMemberSource, am as CustomerGroupMembershipSource, an as CustomerGroupMembershipState, dh as CustomerLoginData, ao as CustomerMembershipView, cL as CustomerNamespace, e2 as CustomerOAuth, e3 as CustomerOAuthCallbackResult, e4 as CustomerOAuthConfig, e5 as CustomerOAuthTokenSet, e6 as CustomerOrderListOptions, df as CustomerProfile, dk as CustomerRefreshResponse, dj as CustomerRegisterData, di as CustomerRegisterResponse, ap as CustomerSnapshot, e7 as CustomerWithdrawalResult, cU as DebugConfig, cV as DeepPartial, e8 as DiscountApi, e9 as DiscountApiOptions, ea as DiscountErrorReasonCode, ar as EventAdmissionAvailabilityParams, as as EventAdmissionAvailabilityResponse, at as EventAdmissionAvailabilityType, au as EventAdmissionPricePresentment, av as EventGuestCancelParams, aw as EventGuestRegistration, ax as EventGuestRegistrationResponse, ay as EventMyRegistration, az as EventMyRegistrationsParams, aA as EventMyRegistrationsResponse, aB as EventRegistrationAnswerInput, aC as EventRegistrationAttendeeInput, aD as EventRegistrationPublic, aE as EventRegistrationRegisterParams, aF as EventRegistrationRegisterResponse, aG as EventsCalendarItem, aH as EventsClient, aI as EventsClientOptions, aJ as EventsDateParam, aK as EventsExternalSource, aL as EventsLocation, aM as EventsOccurrenceLocation, aN as EventsRangeEvent, aO as EventsRangeOccurrence, aP as EventsRangeParams, aQ as EventsRangeResponse, aR as EventsTaxonomyItem, cW as ExtractArrayType, eb as FeaturedImagePointerInput, b0 as GetBenefitVoucherRequest, ec as GetOrderByPaymentIdParams, b3 as GrantCustomerGroupMemberParams, b6 as IssueBenefitVoucherRequest, b7 as IssueBenefitVoucherResponse, ed as LegacyProductSelectionParamEvent, b8 as ListBenefitVouchersRequest, b9 as ListBenefitVouchersResponse, ba as ListCustomerGroupMembersParams, bb as ListCustomerGroupMembersResponse, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, ee as ListingGroupsParams, ef as MAX_CART_LINE_ADMISSIONS, eg as ManagedPaymentNextAction, eh as ManagedPublicPaymentSession, ei as MarketDTO, ej as MediaValue, bf as MembershipStatus, bh as Money, bi as MutateBenefitVoucherResponse, ek as NormalizedOptionSwatch, el as NormalizedProductSelection, bk as OpenCheckoutPaymentState, em as OrderApi, en as OrderApiOptions, eo as OrderByPaymentResult, ep as PRODUCT_PLP_FIND_OPTIONS, eq as PRODUCT_UPSERT_READONLY_FIELD_REASON, er as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, cX as PayloadFindResponse, cY as PayloadMutationResponse, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bu as PortOnePaymentNextAction, bx as PortOnePublicPaymentSession, es as PrepareFulfillmentOrderParams, et as PrepareFulfillmentOrderResponse, eu as ProductApi, ev as ProductApiOptions, ew as ProductDetailBrand, dq as ProductDetailCatalogResult, ex as ProductDetailCatalogVariant, ey as ProductDetailCategory, ez as ProductDetailImage, eA as ProductDetailImageMedia, eB as ProductDetailMedia, eC as ProductDetailOption, eD as ProductDetailOptionValue, dp as ProductDetailParams, eE as ProductDetailResult, eF as ProductDetailTag, eG as ProductDetailUnavailableReason, eH as ProductDetailVariant, eI as ProductDetailVariantOptionValue, eJ as ProductDetailVideo, eK as ProductDisplayMediaSource, eL as ProductFallbackLocaleOption, eM as ProductHrefGroup, eN as ProductHrefOptions, eO as ProductHrefProduct, eP as ProductListingCard, eQ as ProductListingCardOptions, eR as ProductListingCardPriceRange, eS as ProductListingCardRepresentativeVariant, eT as ProductListingGroup, eU as ProductListingGroupCatalogSummary, eV as ProductListingGroupCatalogVariant, eW as ProductListingGroupProjection, eX as ProductListingGroupSummary, eY as ProductListingGroupVariant, dt as ProductListingGroupsCatalogItem, eZ as ProductListingGroupsCatalogProduct, e_ as ProductListingGroupsCatalogResponse, dv as ProductListingGroupsItem, e$ as ProductListingGroupsProduct, f0 as ProductListingGroupsResponse, dn as ProductListingPageBaseParams, dr as ProductListingPageCatalogParams, f1 as ProductListingPageFilters, du as ProductListingPageFullParams, dm as ProductListingPageParams, ds as ProductListingPageResult, f2 as ProductListingPageSort, f3 as ProductListingProductShape, f4 as ProductListingSwatch, f5 as ProductLocaleOption, f6 as ProductLocaleReadParams, f7 as ProductLocalizedText, f8 as ProductLocalizedValue, f9 as ProductMediaResolutionSource, fa as ProductMoneyRange, fb as ProductOptionMatrix, fc as ProductOptionMatrixOption, fd as ProductOptionMatrixValue, fe as ProductOptionMatrixVariant, ff as ProductOptionShape, fg as ProductOptionValueShape, fh as ProductOptionValueSwatch, fi as ProductOptionValueSwatchInput, fj as ProductPriceRange, fk as ProductSelectionAvailableSwatch, fl as ProductSelectionAvailableValue, fm as ProductSelectionByOptionValue, fn as ProductSelectionCodecError, fo as ProductSelectionCodecOptions, fp as ProductSelectionInput, fq as ProductSelectionMediaPointer, fr as ProductSelectionMediaSource, fs as ProductSelectionOptionValue, ft as ProductSelectionResolution, fu as ProductSelectionResolutionContext, fv as ProductSelectionUrlEmit, fw as ProductSelectionVariant, fx as ProductUpsertFieldValidationErrorBody, fy as ProductUpsertFieldValidationErrorReason, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, fz as ProductVariantShape, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, fA as PublicCheckoutBase, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, dd as PublicReadQueryOptions, bX as ReconciliationRequired, bZ as RedeemBenefitVoucherRequest, b_ as RemoveItemParams, fB as RequestOptions, fC as ResolveCancelRefundFailedResponse, fD as ResolveCancelRefundOutcome, fE as ResolveCancelRefundParams, fF as ResolveCancelRefundResponse, fG as ResolveCancelRefundSucceededResponse, fH as ResolveProductDisplayMediaInput, fI as ResolveProductDisplayMediaResult, fJ as ResolveProductSelectionMediaInput, fK as ResolveProductSelectionMediaResult, fL as ResolvedCatalogPrice, cZ as RetrieveBrowserPaymentSessionParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c4 as RetrieveServerCheckoutParams, c_ as RetryConfig, fM as ReturnCancellationReasonCode, fN as ReturnItem, fO as ReturnReason, fP as ReturnWithRefundItem, fQ as ReturnWithRefundParams, c7 as RevokeCustomerGroupMemberParams, c$ as RootClient, d0 as RootCollectionClient, d1 as RootReadOnlyQueryBuilder, fR as ShippingApi, fS as ShippingApiOptions, ce as ShippingLine, d2 as Sort, cf as SpentCheckoutPaymentState, fT as StockCheckParams, fU as StockCheckResponse, fV as StockCheckResult, fW as StockSnapshotItem, fX as StockSnapshotParams, d3 as StorefrontContentListOptions, d4 as StorefrontContentReference, d5 as StorefrontGalleryItem, d6 as StorefrontGalleryItemsListOptions, d7 as StorefrontGalleryItemsSort, d8 as StorefrontLink, d9 as StorefrontLinksListOptions, da as StorefrontLinksSort, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, fY as UpdateFulfillmentParams, cy as UpdateItemParams, fZ as UpdateOrderParams, dl as UpdateProfileData, f_ as UpdateReturnParams, f$ as ValidateDiscountParams, g0 as ValidateDiscountResult, cz as VariantInput, g1 as VideoPlaybackResponse, cD as VoidBenefitVoucherRequest, db as Where, g2 as WithIdempotencyKey, g3 as buildProductHref, g4 as buildProductListingCard, g5 as buildProductListingGroupProjection, g6 as buildProductListingGroupsByOption, g7 as buildProductOptionMatrix, g8 as buildProductOptionMatrixFromDetail, g9 as createProductSelectionCodec, ga as getAvailableOptionValues, gb as getProductSelectionImages, gc as getSelectedValueByOptionId, gd as getVariantAvailableForSale, ge as getVariantAvailableStock, cF as invalidBenefitVoucherResponse, gf as isProductUpsertFieldValidationErrorBody, gg as normalizeProductSelection, gh as normalizeProductSelectionFromMatrix, gi as normalizeSelectedValueIds, cG as parseBenefitVoucher, cH as parseBenefitVoucherList, gj as parseProductSelection, gk as projectProductToListingShape, gl as resolveFeaturedImagePointer, gm as resolveProductDisplayMedia, gn as resolveProductSelection, go as resolveProductSelectionFromMatrix, gp as resolveProductSelectionMedia, gq as resolveVariantForSelection, gr as selectNext, gs as selectedSwatchMediaItemId, gt as stringifyProductSelection, gu as toShopifyPriceRangeV2 } from './types-csjaig4G.cjs';
|
|
3
|
-
import { P as Product } from './payload-types-
|
|
4
|
-
export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-
|
|
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 { dw as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, C as CancelMembershipParams, d as CancelMembershipResponse, B as BillingCustodyParams, e as BillingCustodyResponse, dx as ProductDetail, dy as ProductDetailCatalog, dz as StockSnapshotResponse, cM as ClientConfig, dA as RootClientWithEvents } from './types-B99utaKU.cjs';
|
|
2
|
+
export { A as AddItemParams, cN as ApiQueryOptions, o as BENEFIT_VOUCHER_ERROR_REASONS, p as BENEFIT_VOUCHER_VOID_REASONS, q as BenefitVoucher, r as BenefitVoucherErrorReason, h as BenefitVouchersApi, dB as BillingCustodyWireRequest, dC as BulkImportFulfillmentsParams, dD as BulkImportFulfillmentsResponse, dE as CalculateShippingParams, dF as CalculateShippingResult, cO as CancelBrowserPaymentSessionParams, dG as CancelOrderParams, dH as CancelOrderResponse, dI as CancelReasonCode, dJ as CartDiscountCode, cP as CartMergeParams, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, dK as CartWarning, dL as CartWarningCode, z as CheckoutAbandonedReason, D as CheckoutAmounts, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, O as CheckoutShippingAddress, W as ClearCartParams, c$ as Client, cQ as ClientMetadata, l as ClientState, c$ as ClientType, dM as Comment, cJ as CommerceClient, dN as CommerceClientOptions, i as CommunityClient, dO as CommunityClientOptions, dP as CommunityComment, dQ as CommunityCommentListSort, dR as CommunityPost, dS as CommunityPostCategory, dT as CommunityPostListSort, dU as CommunityPostTag, dV as CommunityPublicAuthorSnapshot, dW as CommunityPublicMediaAsset, dX as CommunityPublicReference, dY as CompatibilityProductSelectionParamEvent, cK as ContentClient, cR as ContentClientOptions, a4 as CreateCartParams, a5 as CreateCartResult, cS as CreateCheckoutParams, cT as CreateCheckoutResult, dZ as CreateFulfillmentParams, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, d_ as CreateReturnParams, ac as CreateServerPaymentSessionParams, ad as CreateServerPortOnePaymentSessionParams, de as CustomerAuth, d$ as CustomerAuthOptions, dg as CustomerAuthResponse, e0 as CustomerAuthorizationUrlInput, e1 as CustomerAuthorizationUrlResult, ag as CustomerBenefitVoucher, f as CustomerGroupApi, ah as CustomerGroupApiOptions, ai as CustomerGroupManualSource, aj as CustomerGroupMember, ak as CustomerGroupMemberCommandResponse, al as CustomerGroupMemberSource, am as CustomerGroupMembershipSource, an as CustomerGroupMembershipState, dh as CustomerLoginData, ao as CustomerMembershipView, cL as CustomerNamespace, e2 as CustomerOAuth, e3 as CustomerOAuthCallbackResult, e4 as CustomerOAuthConfig, e5 as CustomerOAuthTokenSet, e6 as CustomerOrderListOptions, df as CustomerProfile, dk as CustomerRefreshResponse, dj as CustomerRegisterData, di as CustomerRegisterResponse, ap as CustomerSnapshot, e7 as CustomerWithdrawalResult, cU as DebugConfig, cV as DeepPartial, e8 as DiscountApi, e9 as DiscountApiOptions, ea as DiscountErrorReasonCode, ar as EventAdmissionAvailabilityParams, as as EventAdmissionAvailabilityResponse, at as EventAdmissionAvailabilityType, au as EventAdmissionPricePresentment, av as EventGuestCancelParams, aw as EventGuestRegistration, ax as EventGuestRegistrationResponse, ay as EventMyRegistration, az as EventMyRegistrationsParams, aA as EventMyRegistrationsResponse, aB as EventRegistrationAnswerInput, aC as EventRegistrationAttendeeInput, aD as EventRegistrationPublic, aE as EventRegistrationRegisterParams, aF as EventRegistrationRegisterResponse, aG as EventsCalendarItem, aH as EventsClient, aI as EventsClientOptions, aJ as EventsDateParam, aK as EventsExternalSource, aL as EventsLocation, aM as EventsOccurrenceLocation, aN as EventsRangeEvent, aO as EventsRangeOccurrence, aP as EventsRangeParams, aQ as EventsRangeResponse, aR as EventsTaxonomyItem, cW as ExtractArrayType, eb as FeaturedImagePointerInput, b0 as GetBenefitVoucherRequest, ec as GetOrderByPaymentIdParams, b3 as GrantCustomerGroupMemberParams, b6 as IssueBenefitVoucherRequest, b7 as IssueBenefitVoucherResponse, ed as LegacyProductSelectionParamEvent, b8 as ListBenefitVouchersRequest, b9 as ListBenefitVouchersResponse, ba as ListCustomerGroupMembersParams, bb as ListCustomerGroupMembersResponse, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, ee as ListingGroupsParams, ef as MAX_CART_LINE_ADMISSIONS, eg as ManagedPaymentNextAction, eh as ManagedPublicPaymentSession, ei as MarketDTO, ej as MediaValue, bf as MembershipStatus, bh as Money, bi as MutateBenefitVoucherResponse, ek as NormalizedOptionSwatch, el as NormalizedProductSelection, bk as OpenCheckoutPaymentState, em as OrderApi, en as OrderApiOptions, eo as OrderByPaymentResult, ep as PRODUCT_PLP_FIND_OPTIONS, eq as PRODUCT_UPSERT_READONLY_FIELD_REASON, er as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, cX as PayloadFindResponse, cY as PayloadMutationResponse, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bu as PortOnePaymentNextAction, bx as PortOnePublicPaymentSession, es as PrepareFulfillmentOrderParams, et as PrepareFulfillmentOrderResponse, eu as ProductApi, ev as ProductApiOptions, ew as ProductDetailBrand, dq as ProductDetailCatalogResult, ex as ProductDetailCatalogVariant, ey as ProductDetailCategory, ez as ProductDetailImage, eA as ProductDetailImageMedia, eB as ProductDetailMedia, eC as ProductDetailOption, eD as ProductDetailOptionValue, dp as ProductDetailParams, eE as ProductDetailResult, eF as ProductDetailTag, eG as ProductDetailUnavailableReason, eH as ProductDetailVariant, eI as ProductDetailVariantOptionValue, eJ as ProductDetailVideo, eK as ProductDisplayMediaSource, eL as ProductFallbackLocaleOption, eM as ProductHrefGroup, eN as ProductHrefOptions, eO as ProductHrefProduct, eP as ProductListingCard, eQ as ProductListingCardOptions, eR as ProductListingCardPriceRange, eS as ProductListingCardRepresentativeVariant, eT as ProductListingGroup, eU as ProductListingGroupCatalogSummary, eV as ProductListingGroupCatalogVariant, eW as ProductListingGroupProjection, eX as ProductListingGroupSummary, eY as ProductListingGroupVariant, dt as ProductListingGroupsCatalogItem, eZ as ProductListingGroupsCatalogProduct, e_ as ProductListingGroupsCatalogResponse, dv as ProductListingGroupsItem, e$ as ProductListingGroupsProduct, f0 as ProductListingGroupsResponse, dn as ProductListingPageBaseParams, dr as ProductListingPageCatalogParams, f1 as ProductListingPageFilters, du as ProductListingPageFullParams, dm as ProductListingPageParams, ds as ProductListingPageResult, f2 as ProductListingPageSort, f3 as ProductListingProductShape, f4 as ProductListingSwatch, f5 as ProductLocaleOption, f6 as ProductLocaleReadParams, f7 as ProductLocalizedText, f8 as ProductLocalizedValue, f9 as ProductMediaResolutionSource, fa as ProductMoneyRange, fb as ProductOptionMatrix, fc as ProductOptionMatrixOption, fd as ProductOptionMatrixValue, fe as ProductOptionMatrixVariant, ff as ProductOptionShape, fg as ProductOptionValueShape, fh as ProductOptionValueSwatch, fi as ProductOptionValueSwatchInput, fj as ProductPriceRange, fk as ProductSelectionAvailableSwatch, fl as ProductSelectionAvailableValue, fm as ProductSelectionByOptionValue, fn as ProductSelectionCodecError, fo as ProductSelectionCodecOptions, fp as ProductSelectionInput, fq as ProductSelectionMediaPointer, fr as ProductSelectionMediaSource, fs as ProductSelectionOptionValue, ft as ProductSelectionResolution, fu as ProductSelectionResolutionContext, fv as ProductSelectionUrlEmit, fw as ProductSelectionVariant, fx as ProductUpsertFieldValidationErrorBody, fy as ProductUpsertFieldValidationErrorReason, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, fz as ProductVariantShape, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, fA as PublicCheckoutBase, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, dd as PublicReadQueryOptions, bX as ReconciliationRequired, bZ as RedeemBenefitVoucherRequest, b_ as RemoveItemParams, fB as RequestOptions, fC as ResolveCancelRefundFailedResponse, fD as ResolveCancelRefundOutcome, fE as ResolveCancelRefundParams, fF as ResolveCancelRefundResponse, fG as ResolveCancelRefundSucceededResponse, fH as ResolveProductDisplayMediaInput, fI as ResolveProductDisplayMediaResult, fJ as ResolveProductSelectionMediaInput, fK as ResolveProductSelectionMediaResult, fL as ResolvedCatalogPrice, cZ as RetrieveBrowserPaymentSessionParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c4 as RetrieveServerCheckoutParams, c_ as RetryConfig, fM as ReturnCancellationReasonCode, fN as ReturnItem, fO as ReturnReason, fP as ReturnWithRefundItem, fQ as ReturnWithRefundParams, c7 as RevokeCustomerGroupMemberParams, c$ as RootClient, d0 as RootCollectionClient, d1 as RootReadOnlyQueryBuilder, fR as ShippingApi, fS as ShippingApiOptions, ce as ShippingLine, d2 as Sort, cf as SpentCheckoutPaymentState, fT as StockCheckParams, fU as StockCheckResponse, fV as StockCheckResult, fW as StockSnapshotItem, fX as StockSnapshotParams, d3 as StorefrontContentListOptions, d4 as StorefrontContentReference, d5 as StorefrontGalleryItem, d6 as StorefrontGalleryItemsListOptions, d7 as StorefrontGalleryItemsSort, d8 as StorefrontLink, d9 as StorefrontLinksListOptions, da as StorefrontLinksSort, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, fY as UpdateFulfillmentParams, cy as UpdateItemParams, fZ as UpdateOrderParams, dl as UpdateProfileData, f_ as UpdateReturnParams, f$ as ValidateDiscountParams, g0 as ValidateDiscountResult, cz as VariantInput, g1 as VideoPlaybackResponse, cD as VoidBenefitVoucherRequest, db as Where, g2 as WithIdempotencyKey, g3 as buildProductHref, g4 as buildProductListingCard, g5 as buildProductListingGroupProjection, g6 as buildProductListingGroupsByOption, g7 as buildProductOptionMatrix, g8 as buildProductOptionMatrixFromDetail, g9 as createProductSelectionCodec, ga as getAvailableOptionValues, gb as getProductSelectionImages, gc as getSelectedValueByOptionId, gd as getVariantAvailableForSale, ge as getVariantAvailableStock, cF as invalidBenefitVoucherResponse, gf as isProductUpsertFieldValidationErrorBody, gg as normalizeProductSelection, gh as normalizeProductSelectionFromMatrix, gi as normalizeSelectedValueIds, cG as parseBenefitVoucher, cH as parseBenefitVoucherList, gj as parseProductSelection, gk as projectProductToListingShape, gl as resolveFeaturedImagePointer, gm as resolveProductDisplayMedia, gn as resolveProductSelection, go as resolveProductSelectionFromMatrix, gp as resolveProductSelectionMedia, gq as resolveVariantForSelection, gr as selectNext, gs as selectedSwatchMediaItemId, gt as stringifyProductSelection, gu as toShopifyPriceRangeV2 } from './types-B99utaKU.cjs';
|
|
3
|
+
import { P as Product } from './payload-types-rhnw3rR8.cjs';
|
|
4
|
+
export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-rhnw3rR8.cjs';
|
|
5
|
+
export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-BR0D4AaW.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-Ce11c_Oh.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-AtPEgg__.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 { dw as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, C as CancelMembershipParams, d as CancelMembershipResponse, B as BillingCustodyParams, e as BillingCustodyResponse, dx as ProductDetail, dy as ProductDetailCatalog, dz as StockSnapshotResponse, cM as ClientConfig, dA as RootClientWithEvents } from './types-
|
|
2
|
-
export { A as AddItemParams, cN as ApiQueryOptions, o as BENEFIT_VOUCHER_ERROR_REASONS, p as BENEFIT_VOUCHER_VOID_REASONS, q as BenefitVoucher, r as BenefitVoucherErrorReason, h as BenefitVouchersApi, dB as BillingCustodyWireRequest, dC as BulkImportFulfillmentsParams, dD as BulkImportFulfillmentsResponse, dE as CalculateShippingParams, dF as CalculateShippingResult, cO as CancelBrowserPaymentSessionParams, dG as CancelOrderParams, dH as CancelOrderResponse, dI as CancelReasonCode, dJ as CartDiscountCode, cP as CartMergeParams, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, dK as CartWarning, dL as CartWarningCode, z as CheckoutAbandonedReason, D as CheckoutAmounts, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, O as CheckoutShippingAddress, W as ClearCartParams, c$ as Client, cQ as ClientMetadata, l as ClientState, c$ as ClientType, dM as Comment, cJ as CommerceClient, dN as CommerceClientOptions, i as CommunityClient, dO as CommunityClientOptions, dP as CommunityComment, dQ as CommunityCommentListSort, dR as CommunityPost, dS as CommunityPostCategory, dT as CommunityPostListSort, dU as CommunityPostTag, dV as CommunityPublicAuthorSnapshot, dW as CommunityPublicMediaAsset, dX as CommunityPublicReference, dY as CompatibilityProductSelectionParamEvent, cK as ContentClient, cR as ContentClientOptions, a4 as CreateCartParams, a5 as CreateCartResult, cS as CreateCheckoutParams, cT as CreateCheckoutResult, dZ as CreateFulfillmentParams, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, d_ as CreateReturnParams, ac as CreateServerPaymentSessionParams, ad as CreateServerPortOnePaymentSessionParams, de as CustomerAuth, d$ as CustomerAuthOptions, dg as CustomerAuthResponse, e0 as CustomerAuthorizationUrlInput, e1 as CustomerAuthorizationUrlResult, ag as CustomerBenefitVoucher, f as CustomerGroupApi, ah as CustomerGroupApiOptions, ai as CustomerGroupManualSource, aj as CustomerGroupMember, ak as CustomerGroupMemberCommandResponse, al as CustomerGroupMemberSource, am as CustomerGroupMembershipSource, an as CustomerGroupMembershipState, dh as CustomerLoginData, ao as CustomerMembershipView, cL as CustomerNamespace, e2 as CustomerOAuth, e3 as CustomerOAuthCallbackResult, e4 as CustomerOAuthConfig, e5 as CustomerOAuthTokenSet, e6 as CustomerOrderListOptions, df as CustomerProfile, dk as CustomerRefreshResponse, dj as CustomerRegisterData, di as CustomerRegisterResponse, ap as CustomerSnapshot, e7 as CustomerWithdrawalResult, cU as DebugConfig, cV as DeepPartial, e8 as DiscountApi, e9 as DiscountApiOptions, ea as DiscountErrorReasonCode, ar as EventAdmissionAvailabilityParams, as as EventAdmissionAvailabilityResponse, at as EventAdmissionAvailabilityType, au as EventAdmissionPricePresentment, av as EventGuestCancelParams, aw as EventGuestRegistration, ax as EventGuestRegistrationResponse, ay as EventMyRegistration, az as EventMyRegistrationsParams, aA as EventMyRegistrationsResponse, aB as EventRegistrationAnswerInput, aC as EventRegistrationAttendeeInput, aD as EventRegistrationPublic, aE as EventRegistrationRegisterParams, aF as EventRegistrationRegisterResponse, aG as EventsCalendarItem, aH as EventsClient, aI as EventsClientOptions, aJ as EventsDateParam, aK as EventsExternalSource, aL as EventsLocation, aM as EventsOccurrenceLocation, aN as EventsRangeEvent, aO as EventsRangeOccurrence, aP as EventsRangeParams, aQ as EventsRangeResponse, aR as EventsTaxonomyItem, cW as ExtractArrayType, eb as FeaturedImagePointerInput, b0 as GetBenefitVoucherRequest, ec as GetOrderByPaymentIdParams, b3 as GrantCustomerGroupMemberParams, b6 as IssueBenefitVoucherRequest, b7 as IssueBenefitVoucherResponse, ed as LegacyProductSelectionParamEvent, b8 as ListBenefitVouchersRequest, b9 as ListBenefitVouchersResponse, ba as ListCustomerGroupMembersParams, bb as ListCustomerGroupMembersResponse, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, ee as ListingGroupsParams, ef as MAX_CART_LINE_ADMISSIONS, eg as ManagedPaymentNextAction, eh as ManagedPublicPaymentSession, ei as MarketDTO, ej as MediaValue, bf as MembershipStatus, bh as Money, bi as MutateBenefitVoucherResponse, ek as NormalizedOptionSwatch, el as NormalizedProductSelection, bk as OpenCheckoutPaymentState, em as OrderApi, en as OrderApiOptions, eo as OrderByPaymentResult, ep as PRODUCT_PLP_FIND_OPTIONS, eq as PRODUCT_UPSERT_READONLY_FIELD_REASON, er as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, cX as PayloadFindResponse, cY as PayloadMutationResponse, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bu as PortOnePaymentNextAction, bx as PortOnePublicPaymentSession, es as PrepareFulfillmentOrderParams, et as PrepareFulfillmentOrderResponse, eu as ProductApi, ev as ProductApiOptions, ew as ProductDetailBrand, dq as ProductDetailCatalogResult, ex as ProductDetailCatalogVariant, ey as ProductDetailCategory, ez as ProductDetailImage, eA as ProductDetailImageMedia, eB as ProductDetailMedia, eC as ProductDetailOption, eD as ProductDetailOptionValue, dp as ProductDetailParams, eE as ProductDetailResult, eF as ProductDetailTag, eG as ProductDetailUnavailableReason, eH as ProductDetailVariant, eI as ProductDetailVariantOptionValue, eJ as ProductDetailVideo, eK as ProductDisplayMediaSource, eL as ProductFallbackLocaleOption, eM as ProductHrefGroup, eN as ProductHrefOptions, eO as ProductHrefProduct, eP as ProductListingCard, eQ as ProductListingCardOptions, eR as ProductListingCardPriceRange, eS as ProductListingCardRepresentativeVariant, eT as ProductListingGroup, eU as ProductListingGroupCatalogSummary, eV as ProductListingGroupCatalogVariant, eW as ProductListingGroupProjection, eX as ProductListingGroupSummary, eY as ProductListingGroupVariant, dt as ProductListingGroupsCatalogItem, eZ as ProductListingGroupsCatalogProduct, e_ as ProductListingGroupsCatalogResponse, dv as ProductListingGroupsItem, e$ as ProductListingGroupsProduct, f0 as ProductListingGroupsResponse, dn as ProductListingPageBaseParams, dr as ProductListingPageCatalogParams, f1 as ProductListingPageFilters, du as ProductListingPageFullParams, dm as ProductListingPageParams, ds as ProductListingPageResult, f2 as ProductListingPageSort, f3 as ProductListingProductShape, f4 as ProductListingSwatch, f5 as ProductLocaleOption, f6 as ProductLocaleReadParams, f7 as ProductLocalizedText, f8 as ProductLocalizedValue, f9 as ProductMediaResolutionSource, fa as ProductMoneyRange, fb as ProductOptionMatrix, fc as ProductOptionMatrixOption, fd as ProductOptionMatrixValue, fe as ProductOptionMatrixVariant, ff as ProductOptionShape, fg as ProductOptionValueShape, fh as ProductOptionValueSwatch, fi as ProductOptionValueSwatchInput, fj as ProductPriceRange, fk as ProductSelectionAvailableSwatch, fl as ProductSelectionAvailableValue, fm as ProductSelectionByOptionValue, fn as ProductSelectionCodecError, fo as ProductSelectionCodecOptions, fp as ProductSelectionInput, fq as ProductSelectionMediaPointer, fr as ProductSelectionMediaSource, fs as ProductSelectionOptionValue, ft as ProductSelectionResolution, fu as ProductSelectionResolutionContext, fv as ProductSelectionUrlEmit, fw as ProductSelectionVariant, fx as ProductUpsertFieldValidationErrorBody, fy as ProductUpsertFieldValidationErrorReason, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, fz as ProductVariantShape, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, fA as PublicCheckoutBase, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, dd as PublicReadQueryOptions, bX as ReconciliationRequired, bZ as RedeemBenefitVoucherRequest, b_ as RemoveItemParams, fB as RequestOptions, fC as ResolveCancelRefundFailedResponse, fD as ResolveCancelRefundOutcome, fE as ResolveCancelRefundParams, fF as ResolveCancelRefundResponse, fG as ResolveCancelRefundSucceededResponse, fH as ResolveProductDisplayMediaInput, fI as ResolveProductDisplayMediaResult, fJ as ResolveProductSelectionMediaInput, fK as ResolveProductSelectionMediaResult, fL as ResolvedCatalogPrice, cZ as RetrieveBrowserPaymentSessionParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c4 as RetrieveServerCheckoutParams, c_ as RetryConfig, fM as ReturnCancellationReasonCode, fN as ReturnItem, fO as ReturnReason, fP as ReturnWithRefundItem, fQ as ReturnWithRefundParams, c7 as RevokeCustomerGroupMemberParams, c$ as RootClient, d0 as RootCollectionClient, d1 as RootReadOnlyQueryBuilder, fR as ShippingApi, fS as ShippingApiOptions, ce as ShippingLine, d2 as Sort, cf as SpentCheckoutPaymentState, fT as StockCheckParams, fU as StockCheckResponse, fV as StockCheckResult, fW as StockSnapshotItem, fX as StockSnapshotParams, d3 as StorefrontContentListOptions, d4 as StorefrontContentReference, d5 as StorefrontGalleryItem, d6 as StorefrontGalleryItemsListOptions, d7 as StorefrontGalleryItemsSort, d8 as StorefrontLink, d9 as StorefrontLinksListOptions, da as StorefrontLinksSort, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, fY as UpdateFulfillmentParams, cy as UpdateItemParams, fZ as UpdateOrderParams, dl as UpdateProfileData, f_ as UpdateReturnParams, f$ as ValidateDiscountParams, g0 as ValidateDiscountResult, cz as VariantInput, g1 as VideoPlaybackResponse, cD as VoidBenefitVoucherRequest, db as Where, g2 as WithIdempotencyKey, g3 as buildProductHref, g4 as buildProductListingCard, g5 as buildProductListingGroupProjection, g6 as buildProductListingGroupsByOption, g7 as buildProductOptionMatrix, g8 as buildProductOptionMatrixFromDetail, g9 as createProductSelectionCodec, ga as getAvailableOptionValues, gb as getProductSelectionImages, gc as getSelectedValueByOptionId, gd as getVariantAvailableForSale, ge as getVariantAvailableStock, cF as invalidBenefitVoucherResponse, gf as isProductUpsertFieldValidationErrorBody, gg as normalizeProductSelection, gh as normalizeProductSelectionFromMatrix, gi as normalizeSelectedValueIds, cG as parseBenefitVoucher, cH as parseBenefitVoucherList, gj as parseProductSelection, gk as projectProductToListingShape, gl as resolveFeaturedImagePointer, gm as resolveProductDisplayMedia, gn as resolveProductSelection, go as resolveProductSelectionFromMatrix, gp as resolveProductSelectionMedia, gq as resolveVariantForSelection, gr as selectNext, gs as selectedSwatchMediaItemId, gt as stringifyProductSelection, gu as toShopifyPriceRangeV2 } from './types-CLRw0aDa.js';
|
|
3
|
-
import { P as Product } from './payload-types-
|
|
4
|
-
export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-
|
|
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 { dw as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, C as CancelMembershipParams, d as CancelMembershipResponse, B as BillingCustodyParams, e as BillingCustodyResponse, dx as ProductDetail, dy as ProductDetailCatalog, dz as StockSnapshotResponse, cM as ClientConfig, dA as RootClientWithEvents } from './types-L0xmn_iT.js';
|
|
2
|
+
export { A as AddItemParams, cN as ApiQueryOptions, o as BENEFIT_VOUCHER_ERROR_REASONS, p as BENEFIT_VOUCHER_VOID_REASONS, q as BenefitVoucher, r as BenefitVoucherErrorReason, h as BenefitVouchersApi, dB as BillingCustodyWireRequest, dC as BulkImportFulfillmentsParams, dD as BulkImportFulfillmentsResponse, dE as CalculateShippingParams, dF as CalculateShippingResult, cO as CancelBrowserPaymentSessionParams, dG as CancelOrderParams, dH as CancelOrderResponse, dI as CancelReasonCode, dJ as CartDiscountCode, cP as CartMergeParams, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, dK as CartWarning, dL as CartWarningCode, z as CheckoutAbandonedReason, D as CheckoutAmounts, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, O as CheckoutShippingAddress, W as ClearCartParams, c$ as Client, cQ as ClientMetadata, l as ClientState, c$ as ClientType, dM as Comment, cJ as CommerceClient, dN as CommerceClientOptions, i as CommunityClient, dO as CommunityClientOptions, dP as CommunityComment, dQ as CommunityCommentListSort, dR as CommunityPost, dS as CommunityPostCategory, dT as CommunityPostListSort, dU as CommunityPostTag, dV as CommunityPublicAuthorSnapshot, dW as CommunityPublicMediaAsset, dX as CommunityPublicReference, dY as CompatibilityProductSelectionParamEvent, cK as ContentClient, cR as ContentClientOptions, a4 as CreateCartParams, a5 as CreateCartResult, cS as CreateCheckoutParams, cT as CreateCheckoutResult, dZ as CreateFulfillmentParams, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, d_ as CreateReturnParams, ac as CreateServerPaymentSessionParams, ad as CreateServerPortOnePaymentSessionParams, de as CustomerAuth, d$ as CustomerAuthOptions, dg as CustomerAuthResponse, e0 as CustomerAuthorizationUrlInput, e1 as CustomerAuthorizationUrlResult, ag as CustomerBenefitVoucher, f as CustomerGroupApi, ah as CustomerGroupApiOptions, ai as CustomerGroupManualSource, aj as CustomerGroupMember, ak as CustomerGroupMemberCommandResponse, al as CustomerGroupMemberSource, am as CustomerGroupMembershipSource, an as CustomerGroupMembershipState, dh as CustomerLoginData, ao as CustomerMembershipView, cL as CustomerNamespace, e2 as CustomerOAuth, e3 as CustomerOAuthCallbackResult, e4 as CustomerOAuthConfig, e5 as CustomerOAuthTokenSet, e6 as CustomerOrderListOptions, df as CustomerProfile, dk as CustomerRefreshResponse, dj as CustomerRegisterData, di as CustomerRegisterResponse, ap as CustomerSnapshot, e7 as CustomerWithdrawalResult, cU as DebugConfig, cV as DeepPartial, e8 as DiscountApi, e9 as DiscountApiOptions, ea as DiscountErrorReasonCode, ar as EventAdmissionAvailabilityParams, as as EventAdmissionAvailabilityResponse, at as EventAdmissionAvailabilityType, au as EventAdmissionPricePresentment, av as EventGuestCancelParams, aw as EventGuestRegistration, ax as EventGuestRegistrationResponse, ay as EventMyRegistration, az as EventMyRegistrationsParams, aA as EventMyRegistrationsResponse, aB as EventRegistrationAnswerInput, aC as EventRegistrationAttendeeInput, aD as EventRegistrationPublic, aE as EventRegistrationRegisterParams, aF as EventRegistrationRegisterResponse, aG as EventsCalendarItem, aH as EventsClient, aI as EventsClientOptions, aJ as EventsDateParam, aK as EventsExternalSource, aL as EventsLocation, aM as EventsOccurrenceLocation, aN as EventsRangeEvent, aO as EventsRangeOccurrence, aP as EventsRangeParams, aQ as EventsRangeResponse, aR as EventsTaxonomyItem, cW as ExtractArrayType, eb as FeaturedImagePointerInput, b0 as GetBenefitVoucherRequest, ec as GetOrderByPaymentIdParams, b3 as GrantCustomerGroupMemberParams, b6 as IssueBenefitVoucherRequest, b7 as IssueBenefitVoucherResponse, ed as LegacyProductSelectionParamEvent, b8 as ListBenefitVouchersRequest, b9 as ListBenefitVouchersResponse, ba as ListCustomerGroupMembersParams, bb as ListCustomerGroupMembersResponse, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, ee as ListingGroupsParams, ef as MAX_CART_LINE_ADMISSIONS, eg as ManagedPaymentNextAction, eh as ManagedPublicPaymentSession, ei as MarketDTO, ej as MediaValue, bf as MembershipStatus, bh as Money, bi as MutateBenefitVoucherResponse, ek as NormalizedOptionSwatch, el as NormalizedProductSelection, bk as OpenCheckoutPaymentState, em as OrderApi, en as OrderApiOptions, eo as OrderByPaymentResult, ep as PRODUCT_PLP_FIND_OPTIONS, eq as PRODUCT_UPSERT_READONLY_FIELD_REASON, er as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, cX as PayloadFindResponse, cY as PayloadMutationResponse, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bu as PortOnePaymentNextAction, bx as PortOnePublicPaymentSession, es as PrepareFulfillmentOrderParams, et as PrepareFulfillmentOrderResponse, eu as ProductApi, ev as ProductApiOptions, ew as ProductDetailBrand, dq as ProductDetailCatalogResult, ex as ProductDetailCatalogVariant, ey as ProductDetailCategory, ez as ProductDetailImage, eA as ProductDetailImageMedia, eB as ProductDetailMedia, eC as ProductDetailOption, eD as ProductDetailOptionValue, dp as ProductDetailParams, eE as ProductDetailResult, eF as ProductDetailTag, eG as ProductDetailUnavailableReason, eH as ProductDetailVariant, eI as ProductDetailVariantOptionValue, eJ as ProductDetailVideo, eK as ProductDisplayMediaSource, eL as ProductFallbackLocaleOption, eM as ProductHrefGroup, eN as ProductHrefOptions, eO as ProductHrefProduct, eP as ProductListingCard, eQ as ProductListingCardOptions, eR as ProductListingCardPriceRange, eS as ProductListingCardRepresentativeVariant, eT as ProductListingGroup, eU as ProductListingGroupCatalogSummary, eV as ProductListingGroupCatalogVariant, eW as ProductListingGroupProjection, eX as ProductListingGroupSummary, eY as ProductListingGroupVariant, dt as ProductListingGroupsCatalogItem, eZ as ProductListingGroupsCatalogProduct, e_ as ProductListingGroupsCatalogResponse, dv as ProductListingGroupsItem, e$ as ProductListingGroupsProduct, f0 as ProductListingGroupsResponse, dn as ProductListingPageBaseParams, dr as ProductListingPageCatalogParams, f1 as ProductListingPageFilters, du as ProductListingPageFullParams, dm as ProductListingPageParams, ds as ProductListingPageResult, f2 as ProductListingPageSort, f3 as ProductListingProductShape, f4 as ProductListingSwatch, f5 as ProductLocaleOption, f6 as ProductLocaleReadParams, f7 as ProductLocalizedText, f8 as ProductLocalizedValue, f9 as ProductMediaResolutionSource, fa as ProductMoneyRange, fb as ProductOptionMatrix, fc as ProductOptionMatrixOption, fd as ProductOptionMatrixValue, fe as ProductOptionMatrixVariant, ff as ProductOptionShape, fg as ProductOptionValueShape, fh as ProductOptionValueSwatch, fi as ProductOptionValueSwatchInput, fj as ProductPriceRange, fk as ProductSelectionAvailableSwatch, fl as ProductSelectionAvailableValue, fm as ProductSelectionByOptionValue, fn as ProductSelectionCodecError, fo as ProductSelectionCodecOptions, fp as ProductSelectionInput, fq as ProductSelectionMediaPointer, fr as ProductSelectionMediaSource, fs as ProductSelectionOptionValue, ft as ProductSelectionResolution, fu as ProductSelectionResolutionContext, fv as ProductSelectionUrlEmit, fw as ProductSelectionVariant, fx as ProductUpsertFieldValidationErrorBody, fy as ProductUpsertFieldValidationErrorReason, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, fz as ProductVariantShape, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, fA as PublicCheckoutBase, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, dd as PublicReadQueryOptions, bX as ReconciliationRequired, bZ as RedeemBenefitVoucherRequest, b_ as RemoveItemParams, fB as RequestOptions, fC as ResolveCancelRefundFailedResponse, fD as ResolveCancelRefundOutcome, fE as ResolveCancelRefundParams, fF as ResolveCancelRefundResponse, fG as ResolveCancelRefundSucceededResponse, fH as ResolveProductDisplayMediaInput, fI as ResolveProductDisplayMediaResult, fJ as ResolveProductSelectionMediaInput, fK as ResolveProductSelectionMediaResult, fL as ResolvedCatalogPrice, cZ as RetrieveBrowserPaymentSessionParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c4 as RetrieveServerCheckoutParams, c_ as RetryConfig, fM as ReturnCancellationReasonCode, fN as ReturnItem, fO as ReturnReason, fP as ReturnWithRefundItem, fQ as ReturnWithRefundParams, c7 as RevokeCustomerGroupMemberParams, c$ as RootClient, d0 as RootCollectionClient, d1 as RootReadOnlyQueryBuilder, fR as ShippingApi, fS as ShippingApiOptions, ce as ShippingLine, d2 as Sort, cf as SpentCheckoutPaymentState, fT as StockCheckParams, fU as StockCheckResponse, fV as StockCheckResult, fW as StockSnapshotItem, fX as StockSnapshotParams, d3 as StorefrontContentListOptions, d4 as StorefrontContentReference, d5 as StorefrontGalleryItem, d6 as StorefrontGalleryItemsListOptions, d7 as StorefrontGalleryItemsSort, d8 as StorefrontLink, d9 as StorefrontLinksListOptions, da as StorefrontLinksSort, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, fY as UpdateFulfillmentParams, cy as UpdateItemParams, fZ as UpdateOrderParams, dl as UpdateProfileData, f_ as UpdateReturnParams, f$ as ValidateDiscountParams, g0 as ValidateDiscountResult, cz as VariantInput, g1 as VideoPlaybackResponse, cD as VoidBenefitVoucherRequest, db as Where, g2 as WithIdempotencyKey, g3 as buildProductHref, g4 as buildProductListingCard, g5 as buildProductListingGroupProjection, g6 as buildProductListingGroupsByOption, g7 as buildProductOptionMatrix, g8 as buildProductOptionMatrixFromDetail, g9 as createProductSelectionCodec, ga as getAvailableOptionValues, gb as getProductSelectionImages, gc as getSelectedValueByOptionId, gd as getVariantAvailableForSale, ge as getVariantAvailableStock, cF as invalidBenefitVoucherResponse, gf as isProductUpsertFieldValidationErrorBody, gg as normalizeProductSelection, gh as normalizeProductSelectionFromMatrix, gi as normalizeSelectedValueIds, cG as parseBenefitVoucher, cH as parseBenefitVoucherList, gj as parseProductSelection, gk as projectProductToListingShape, gl as resolveFeaturedImagePointer, gm as resolveProductDisplayMedia, gn as resolveProductSelection, go as resolveProductSelectionFromMatrix, gp as resolveProductSelectionMedia, gq as resolveVariantForSelection, gr as selectNext, gs as selectedSwatchMediaItemId, gt as stringifyProductSelection, gu as toShopifyPriceRangeV2 } from './types-L0xmn_iT.js';
|
|
3
|
+
import { P as Product } from './payload-types-rhnw3rR8.js';
|
|
4
|
+
export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-rhnw3rR8.js';
|
|
5
|
+
export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-CHK8VIPa.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-D8fmTrZk.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-DR96Chal.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
|
@@ -111,6 +111,7 @@ var COMMERCE_ERROR_CODES = [
|
|
|
111
111
|
"admission_metadata_invalid",
|
|
112
112
|
"admission_metadata_required",
|
|
113
113
|
"capacity_exceeded",
|
|
114
|
+
"admission_required",
|
|
114
115
|
"occurrence_lock_unavailable",
|
|
115
116
|
"occurrence_not_open",
|
|
116
117
|
"admission_type_capacity_exceeded",
|
|
@@ -129,6 +130,8 @@ var COMMERCE_ERROR_CODES = [
|
|
|
129
130
|
"variant_inactive",
|
|
130
131
|
"variant_product_mismatch",
|
|
131
132
|
"product_not_public",
|
|
133
|
+
"product_not_eligible",
|
|
134
|
+
"purchase_limit_exceeded",
|
|
132
135
|
"market_not_found",
|
|
133
136
|
"market_shipping_currency_unsupported",
|
|
134
137
|
"missing_market_rate",
|