@01.software/sdk 0.56.1 → 0.65.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +192 -0
- package/README.md +174 -91
- package/dist/client.cjs +136 -7
- 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 +136 -7
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-DxuBDso_.d.cts → collection-client-B7rsTtVj.d.cts} +6 -6
- package/dist/{collection-client-Bmr53saa.d.ts → collection-client-C2sMvfme.d.ts} +6 -6
- package/dist/{const-Cv1DCsp6.d.cts → const-CRxPTDGt.d.ts} +2 -2
- package/dist/{const-BKUqg96Q.d.ts → const-D6ZRQLxI.d.cts} +2 -2
- package/dist/{index-DFHLLqYu.d.ts → index-1auUEYrl.d.ts} +3 -3
- package/dist/{index-CGsT4AQ8.d.cts → index-Bbpf5t-l.d.cts} +3 -3
- package/dist/index.cjs +139 -205
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -9
- package/dist/index.d.ts +15 -9
- package/dist/index.js +139 -205
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-Bk-duc5k.d.cts → payload-types-BnIET0xU.d.cts} +262 -328
- package/dist/{payload-types-Bk-duc5k.d.ts → payload-types-BnIET0xU.d.ts} +262 -328
- package/dist/query.cjs +48 -2
- 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 +48 -2
- 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 +459 -7
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +13 -8
- package/dist/server.d.ts +13 -8
- package/dist/server.js +459 -7
- package/dist/server.js.map +1 -1
- package/dist/{types-D4mjGFj4.d.ts → types-D1y4TgQm.d.ts} +2 -2
- package/dist/{types-CEK8uTvU.d.ts → types-DnRC3nLG.d.ts} +256 -9
- package/dist/{types-CNdpj2fI.d.cts → types-Dp1oYpD3.d.cts} +2 -2
- package/dist/{types-Dhk5NX7Z.d.cts → types-Dzn0LD2N.d.cts} +256 -9
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.cjs +4 -2
- package/dist/ui/video.cjs.map +1 -1
- package/dist/ui/video.d.cts +4 -2
- package/dist/ui/video.d.ts +4 -2
- package/dist/ui/video.js +4 -2
- package/dist/ui/video.js.map +1 -1
- package/dist/webhook.d.cts +5 -5
- package/dist/webhook.d.ts +5 -5
- package/package.json +8 -28
- package/dist/analytics/react.cjs +0 -344
- package/dist/analytics/react.cjs.map +0 -1
- package/dist/analytics/react.d.cts +0 -24
- package/dist/analytics/react.d.ts +0 -24
- package/dist/analytics/react.js +0 -319
- package/dist/analytics/react.js.map +0 -1
- package/dist/analytics.cjs +0 -238
- package/dist/analytics.cjs.map +0 -1
- package/dist/analytics.d.cts +0 -39
- package/dist/analytics.d.ts +0 -39
- package/dist/analytics.js +0 -215
- package/dist/analytics.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AddItemParams, i as ApiQueryOptions, cD as BulkImportFulfillmentsParams, cE as BulkImportFulfillmentsResponse, cF as CalculateShippingParams, cG as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, cH as CancelOrderParams, cI as CancelOrderResponse, cJ as CancelReasonCode, cK as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, cL as CartWarning, cM as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, al as Client, u as ClientMetadata, g as ClientState, al as ClientType, cN as Comment, C as CommerceClient, cO as CommerceClientOptions, a as CommunityClient, cP as CommunityClientOptions, cQ as CommunityComment, cR as CommunityCommentListSort, cS as CommunityPost, cT as CommunityPostCategory, cU as CommunityPostListSort, cV as CommunityPostTag, cW as CommunityPublicAuthorSnapshot, cX as CommunityPublicMediaAsset, cY as CommunityPublicReference, cZ as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, c_ as CreateFulfillmentParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, c$ as CreateReturnParams, ch as CustomerAuth, d0 as CustomerAuthOptions, cj as CustomerAuthResponse, d1 as CustomerAuthorizationUrlInput, d2 as CustomerAuthorizationUrlResult, aK as CustomerGroupApi, ba as CustomerGroupApiOptions, bb as CustomerGroupManualSource, bc as CustomerGroupMember, bd as CustomerGroupMemberCommandResponse, be as CustomerGroupMemberSource, bf as CustomerGroupMembershipSource, bg as CustomerGroupMembershipState, ck as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, d3 as CustomerOAuth, d4 as CustomerOAuthCallbackResult, d5 as CustomerOAuthConfig, d6 as CustomerOAuthTokenSet, d7 as CustomerOrderListOptions, ci as CustomerProfile, cn as CustomerRefreshResponse, cm as CustomerRegisterData, cl as CustomerRegisterResponse, F as CustomerSnapshot, G as DebugConfig, H as DeepPartial, d8 as DiscountApi, d9 as DiscountApiOptions, da as DiscountErrorReasonCode, bh as EventAdmissionAvailabilityParams, bi as EventAdmissionAvailabilityResponse, bj as EventAdmissionAvailabilityType, bk as EventAdmissionPricePresentment, bl as EventGuestCancelParams, bm as EventGuestRegistration, bn as EventGuestRegistrationResponse, bo as EventRegistrationAnswerInput, bp as EventRegistrationAttendeeInput, bq as EventRegistrationPublic, br as EventRegistrationRegisterParams, bs as EventRegistrationRegisterResponse, bt as EventsCalendarItem, E as EventsClient, bu as EventsClientOptions, bv as EventsDateParam, bw as EventsExternalSource, bx as EventsLocation, by as EventsOccurrenceLocation, bz as EventsRangeEvent, bA as EventsRangeOccurrence, bB as EventsRangeParams, bC as EventsRangeResponse, bD as EventsTaxonomyItem, I as ExtractArrayType, db as FeaturedImagePointerInput, dc as GetOrderByPaymentIdParams, bG as GrantCustomerGroupMemberParams, dd as LegacyProductSelectionParamEvent, bH as ListCustomerGroupMembersParams, bI as ListCustomerGroupMembersResponse, de as ListingGroupsParams, df as MAX_CART_LINE_ADMISSIONS, dg as ManagedPaymentNextAction, dh as ManagedPublicPaymentSession, di as MarketDTO, dj as MediaValue, J as MembershipStatus, K as Money, dk as NormalizedOptionSwatch, dl as NormalizedProductSelection, O as OpenCheckoutPaymentState, dm as OrderApi, dn as OrderApiOptions, dp as OrderByPaymentResult, dq as PRODUCT_PLP_FIND_OPTIONS, dr as PRODUCT_UPSERT_READONLY_FIELD_REASON, ds as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, L as PayloadMutationResponse, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, V as PortOnePaymentNextAction, W as PortOnePublicPaymentSession, dt as PrepareFulfillmentOrderParams, du as PrepareFulfillmentOrderResponse, dv as ProductApi, dw as ProductApiOptions, dx as ProductDetailBrand, cs as ProductDetailCatalogResult, dy as ProductDetailCatalogVariant, dz as ProductDetailCategory, dA as ProductDetailImage, dB as ProductDetailImageMedia, dC as ProductDetailMedia, dD as ProductDetailOption, dE as ProductDetailOptionValue, cr as ProductDetailParams, dF as ProductDetailResult, dG as ProductDetailTag, dH as ProductDetailUnavailableReason, dI as ProductDetailVariant, dJ as ProductDetailVariantOptionValue, dK as ProductDetailVideo, dL as ProductDisplayMediaSource, dM as ProductFallbackLocaleOption, dN as ProductHrefGroup, dO as ProductHrefOptions, dP as ProductHrefProduct, dQ as ProductListingCard, dR as ProductListingCardOptions, dS as ProductListingCardPriceRange, dT as ProductListingCardRepresentativeVariant, dU as ProductListingGroup, dV as ProductListingGroupCatalogSummary, dW as ProductListingGroupCatalogVariant, dX as ProductListingGroupProjection, dY as ProductListingGroupSummary, dZ as ProductListingGroupVariant, cv as ProductListingGroupsCatalogItem, d_ as ProductListingGroupsCatalogProduct, d$ as ProductListingGroupsCatalogResponse, cx as ProductListingGroupsItem, e0 as ProductListingGroupsProduct, e1 as ProductListingGroupsResponse, cq as ProductListingPageBaseParams, ct as ProductListingPageCatalogParams, e2 as ProductListingPageFilters, cw as ProductListingPageFullParams, cp as ProductListingPageParams, cu as ProductListingPageResult, e3 as ProductListingPageSort, e4 as ProductListingProductShape, e5 as ProductListingSwatch, e6 as ProductLocaleOption, e7 as ProductLocaleReadParams, e8 as ProductLocalizedText, e9 as ProductLocalizedValue, ea as ProductMediaResolutionSource, eb as ProductMoneyRange, ec as ProductOptionMatrix, ed as ProductOptionMatrixOption, ee as ProductOptionMatrixValue, ef as ProductOptionMatrixVariant, eg as ProductOptionShape, eh as ProductOptionValueShape, ei as ProductOptionValueSwatch, ej as ProductOptionValueSwatchInput, ek as ProductPriceRange, el as ProductSelectionAvailableSwatch, em as ProductSelectionAvailableValue, en as ProductSelectionByOptionValue, eo as ProductSelectionCodecError, ep as ProductSelectionCodecOptions, eq as ProductSelectionInput, er as ProductSelectionMediaPointer, es as ProductSelectionMediaSource, et as ProductSelectionOptionValue, eu as ProductSelectionResolution, ev as ProductSelectionResolutionContext, ew as ProductSelectionUrlEmit, ex as ProductSelectionVariant, ey as ProductUpsertFieldValidationErrorBody, ez as ProductUpsertFieldValidationErrorReason, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, eA as ProductVariantShape, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, eB as PublicCheckoutBase, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, cg as PublicReadQueryOptions, af as ReconciliationRequired, ag as RemoveItemParams, eC as RequestOptions, eD as ResolveCancelRefundFailedResponse, eE as ResolveCancelRefundOutcome, eF as ResolveCancelRefundParams, eG as ResolveCancelRefundResponse, eH as ResolveCancelRefundSucceededResponse, eI as ResolveProductDisplayMediaInput, eJ as ResolveProductDisplayMediaResult, eK as ResolveProductSelectionMediaInput, eL as ResolveProductSelectionMediaResult, eM as ResolvedCatalogPrice, ah as RetrieveBrowserPaymentSessionParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, bT as RetrieveServerCheckoutParams, ak as RetryConfig, eN as ReturnCancellationReasonCode, eO as ReturnItem, eP as ReturnReason, eQ as ReturnWithRefundItem, eR as ReturnWithRefundParams, bW as RevokeCustomerGroupMemberParams, al as RootClient, am as RootCollectionClient, an as RootReadOnlyQueryBuilder, eS as ShippingApi, eT as ShippingApiOptions, ao as ShippingLine, ap as Sort, aq as SpentCheckoutPaymentState, eU as StockCheckParams, eV as StockCheckResponse, eW as StockCheckResult, eX as StockSnapshotItem, eY as StockSnapshotParams, ar as StorefrontContentListOptions, as as StorefrontContentReference, at as StorefrontGalleryItem, au as StorefrontGalleryItemsListOptions, av as StorefrontGalleryItemsSort, aw as StorefrontLink, ax as StorefrontLinksListOptions, ay as StorefrontLinksSort, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, eZ as UpdateFulfillmentParams, aB as UpdateItemParams, e_ as UpdateOrderParams, co as UpdateProfileData, e$ as UpdateReturnParams, f0 as ValidateDiscountParams, f1 as ValidateDiscountResult, aC as VariantInput, aD as Where, f2 as WithIdempotencyKey, f3 as buildProductHref, f4 as buildProductListingCard, f5 as buildProductListingGroupProjection, f6 as buildProductListingGroupsByOption, f7 as buildProductOptionMatrix, f8 as buildProductOptionMatrixFromDetail, f9 as createProductSelectionCodec, fa as getAvailableOptionValues, fb as getProductSelectionImages, fc as getSelectedValueByOptionId, fd as getVariantAvailableForSale, fe as getVariantAvailableStock, ff as isProductUpsertFieldValidationErrorBody, fg as normalizeProductSelection, fh as normalizeProductSelectionFromMatrix, fi as normalizeSelectedValueIds, fj as parseProductSelection, fk as projectProductToListingShape, fl as resolveFeaturedImagePointer, fm as resolveProductDisplayMedia, fn as resolveProductSelection, fo as resolveProductSelectionFromMatrix, fp as resolveProductSelectionMedia, fq as resolveVariantForSelection, fr as selectNext, fs as selectedSwatchMediaItemId, ft as stringifyProductSelection, fu as toShopifyPriceRangeV2 } from './types-Dhk5NX7Z.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 { d3 as BaseApi, aF as ServerApiOptions, aI as SubscribeMembershipParams, aJ as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, aK as BillingCustodyParams, aL as BillingCustodyResponse, d4 as ProductDetail, d5 as ProductDetailCatalog, d6 as StockSnapshotResponse, h as ClientConfig, d7 as RootClientWithEvents } from './types-Dzn0LD2N.cjs';
|
|
2
|
+
export { A as AddItemParams, i as ApiQueryOptions, d8 as BillingCustodyWireRequest, d9 as BulkImportFulfillmentsParams, da as BulkImportFulfillmentsResponse, db as CalculateShippingParams, dc as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, dd as CancelOrderParams, de as CancelOrderResponse, df as CancelReasonCode, dg as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, dh as CartWarning, di as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, al as Client, u as ClientMetadata, g as ClientState, al as ClientType, dj as Comment, C as CommerceClient, dk as CommerceClientOptions, a as CommunityClient, dl as CommunityClientOptions, dm as CommunityComment, dn as CommunityCommentListSort, dp as CommunityPost, dq as CommunityPostCategory, dr as CommunityPostListSort, ds as CommunityPostTag, dt as CommunityPublicAuthorSnapshot, du as CommunityPublicMediaAsset, dv as CommunityPublicReference, dw as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, dx as CreateFulfillmentParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, dy as CreateReturnParams, bi as CreateServerPaymentSessionParams, bj as CreateServerPortOnePaymentSessionParams, cO as CustomerAuth, dz as CustomerAuthOptions, cQ as CustomerAuthResponse, dA as CustomerAuthorizationUrlInput, dB as CustomerAuthorizationUrlResult, aM as CustomerGroupApi, bm as CustomerGroupApiOptions, bn as CustomerGroupManualSource, bo as CustomerGroupMember, bp as CustomerGroupMemberCommandResponse, bq as CustomerGroupMemberSource, br as CustomerGroupMembershipSource, bs as CustomerGroupMembershipState, cR as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, dC as CustomerOAuth, dD as CustomerOAuthCallbackResult, dE as CustomerOAuthConfig, dF as CustomerOAuthTokenSet, dG as CustomerOrderListOptions, cP as CustomerProfile, cU as CustomerRefreshResponse, cT as CustomerRegisterData, cS as CustomerRegisterResponse, F as CustomerSnapshot, dH as CustomerWithdrawalResult, G as DebugConfig, H as DeepPartial, dI as DiscountApi, dJ as DiscountApiOptions, dK as DiscountErrorReasonCode, bu as EventAdmissionAvailabilityParams, bv as EventAdmissionAvailabilityResponse, bw as EventAdmissionAvailabilityType, bx as EventAdmissionPricePresentment, by as EventGuestCancelParams, bz as EventGuestRegistration, bA as EventGuestRegistrationResponse, bB as EventRegistrationAnswerInput, bC as EventRegistrationAttendeeInput, bD as EventRegistrationPublic, bE as EventRegistrationRegisterParams, bF as EventRegistrationRegisterResponse, bG as EventsCalendarItem, E as EventsClient, bH as EventsClientOptions, bI as EventsDateParam, bJ as EventsExternalSource, bK as EventsLocation, bL as EventsOccurrenceLocation, bM as EventsRangeEvent, bN as EventsRangeOccurrence, bO as EventsRangeParams, bP as EventsRangeResponse, bQ as EventsTaxonomyItem, I as ExtractArrayType, dL as FeaturedImagePointerInput, dM as GetOrderByPaymentIdParams, c1 as GrantCustomerGroupMemberParams, dN as LegacyProductSelectionParamEvent, c4 as ListCustomerGroupMembersParams, c5 as ListCustomerGroupMembersResponse, dO as ListingGroupsParams, dP as MAX_CART_LINE_ADMISSIONS, dQ as ManagedPaymentNextAction, dR as ManagedPublicPaymentSession, dS as MarketDTO, dT as MediaValue, J as MembershipStatus, K as Money, dU as NormalizedOptionSwatch, dV as NormalizedProductSelection, O as OpenCheckoutPaymentState, dW as OrderApi, dX as OrderApiOptions, dY as OrderByPaymentResult, dZ as PRODUCT_PLP_FIND_OPTIONS, d_ as PRODUCT_UPSERT_READONLY_FIELD_REASON, d$ as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, L as PayloadMutationResponse, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, V as PortOnePaymentNextAction, W as PortOnePublicPaymentSession, e0 as PrepareFulfillmentOrderParams, e1 as PrepareFulfillmentOrderResponse, e2 as ProductApi, e3 as ProductApiOptions, e4 as ProductDetailBrand, cZ as ProductDetailCatalogResult, e5 as ProductDetailCatalogVariant, e6 as ProductDetailCategory, e7 as ProductDetailImage, e8 as ProductDetailImageMedia, e9 as ProductDetailMedia, ea as ProductDetailOption, eb as ProductDetailOptionValue, cY as ProductDetailParams, ec as ProductDetailResult, ed as ProductDetailTag, ee as ProductDetailUnavailableReason, ef as ProductDetailVariant, eg as ProductDetailVariantOptionValue, eh as ProductDetailVideo, ei as ProductDisplayMediaSource, ej as ProductFallbackLocaleOption, ek as ProductHrefGroup, el as ProductHrefOptions, em as ProductHrefProduct, en as ProductListingCard, eo as ProductListingCardOptions, ep as ProductListingCardPriceRange, eq as ProductListingCardRepresentativeVariant, er as ProductListingGroup, es as ProductListingGroupCatalogSummary, et as ProductListingGroupCatalogVariant, eu as ProductListingGroupProjection, ev as ProductListingGroupSummary, ew as ProductListingGroupVariant, d0 as ProductListingGroupsCatalogItem, ex as ProductListingGroupsCatalogProduct, ey as ProductListingGroupsCatalogResponse, d2 as ProductListingGroupsItem, ez as ProductListingGroupsProduct, eA as ProductListingGroupsResponse, cX as ProductListingPageBaseParams, c_ as ProductListingPageCatalogParams, eB as ProductListingPageFilters, d1 as ProductListingPageFullParams, cW as ProductListingPageParams, c$ as ProductListingPageResult, eC as ProductListingPageSort, eD as ProductListingProductShape, eE as ProductListingSwatch, eF as ProductLocaleOption, eG as ProductLocaleReadParams, eH as ProductLocalizedText, eI as ProductLocalizedValue, eJ as ProductMediaResolutionSource, eK as ProductMoneyRange, eL as ProductOptionMatrix, eM as ProductOptionMatrixOption, eN as ProductOptionMatrixValue, eO as ProductOptionMatrixVariant, eP as ProductOptionShape, eQ as ProductOptionValueShape, eR as ProductOptionValueSwatch, eS as ProductOptionValueSwatchInput, eT as ProductPriceRange, eU as ProductSelectionAvailableSwatch, eV as ProductSelectionAvailableValue, eW as ProductSelectionByOptionValue, eX as ProductSelectionCodecError, eY as ProductSelectionCodecOptions, eZ as ProductSelectionInput, e_ as ProductSelectionMediaPointer, e$ as ProductSelectionMediaSource, f0 as ProductSelectionOptionValue, f1 as ProductSelectionResolution, f2 as ProductSelectionResolutionContext, f3 as ProductSelectionUrlEmit, f4 as ProductSelectionVariant, f5 as ProductUpsertFieldValidationErrorBody, f6 as ProductUpsertFieldValidationErrorReason, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, f7 as ProductVariantShape, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, f8 as PublicCheckoutBase, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, cN as PublicReadQueryOptions, af as ReconciliationRequired, ag as RemoveItemParams, f9 as RequestOptions, fa as ResolveCancelRefundFailedResponse, fb as ResolveCancelRefundOutcome, fc as ResolveCancelRefundParams, fd as ResolveCancelRefundResponse, fe as ResolveCancelRefundSucceededResponse, ff as ResolveProductDisplayMediaInput, fg as ResolveProductDisplayMediaResult, fh as ResolveProductSelectionMediaInput, fi as ResolveProductSelectionMediaResult, fj as ResolvedCatalogPrice, ah as RetrieveBrowserPaymentSessionParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, cl as RetrieveServerCheckoutParams, ak as RetryConfig, fk as ReturnCancellationReasonCode, fl as ReturnItem, fm as ReturnReason, fn as ReturnWithRefundItem, fo as ReturnWithRefundParams, co as RevokeCustomerGroupMemberParams, al as RootClient, am as RootCollectionClient, an as RootReadOnlyQueryBuilder, fp as ShippingApi, fq as ShippingApiOptions, ao as ShippingLine, ap as Sort, aq as SpentCheckoutPaymentState, fr as StockCheckParams, fs as StockCheckResponse, ft as StockCheckResult, fu as StockSnapshotItem, fv as StockSnapshotParams, ar as StorefrontContentListOptions, as as StorefrontContentReference, at as StorefrontGalleryItem, au as StorefrontGalleryItemsListOptions, av as StorefrontGalleryItemsSort, aw as StorefrontLink, ax as StorefrontLinksListOptions, ay as StorefrontLinksSort, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, fw as UpdateFulfillmentParams, aB as UpdateItemParams, fx as UpdateOrderParams, cV as UpdateProfileData, fy as UpdateReturnParams, fz as ValidateDiscountParams, fA as ValidateDiscountResult, aC as VariantInput, fB as VideoPlaybackResponse, aD as Where, fC as WithIdempotencyKey, fD as buildProductHref, fE as buildProductListingCard, fF as buildProductListingGroupProjection, fG as buildProductListingGroupsByOption, fH as buildProductOptionMatrix, fI as buildProductOptionMatrixFromDetail, fJ as createProductSelectionCodec, fK as getAvailableOptionValues, fL as getProductSelectionImages, fM as getSelectedValueByOptionId, fN as getVariantAvailableForSale, fO as getVariantAvailableStock, fP as isProductUpsertFieldValidationErrorBody, fQ as normalizeProductSelection, fR as normalizeProductSelectionFromMatrix, fS as normalizeSelectedValueIds, fT as parseProductSelection, fU as projectProductToListingShape, fV as resolveFeaturedImagePointer, fW as resolveProductDisplayMedia, fX as resolveProductSelection, fY as resolveProductSelectionFromMatrix, fZ as resolveProductSelectionMedia, f_ as resolveVariantForSelection, f$ as selectNext, g0 as selectedSwatchMediaItemId, g1 as stringifyProductSelection, g2 as toShopifyPriceRangeV2 } from './types-Dzn0LD2N.cjs';
|
|
3
|
+
import { P as Product } from './payload-types-BnIET0xU.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-BnIET0xU.cjs';
|
|
5
|
+
export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-Dp1oYpD3.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-Bbpf5t-l.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-D6ZRQLxI.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';
|
|
11
|
-
export { Analytics, AnalyticsConfig, createAnalytics } from './analytics.cjs';
|
|
12
11
|
export { ApiError, AuthError, COMMERCE_ERROR_CODES, CommerceErrorCode, CommerceSDKError, ConfigError, ConflictError, GoneError, NetworkError, NotFoundError, PermissionError, RateLimitError, SDKError, ServiceUnavailableError, TimeoutError, UsageLimitError, ValidationError, createAuthError, createConflictError, createNotFoundError, createPermissionError, createRateLimitError, getSDKErrorReason, isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.cjs';
|
|
13
12
|
|
|
14
13
|
declare function isCommerceIdempotencyKey(value: unknown): value is string;
|
|
@@ -42,6 +41,13 @@ declare class MembershipApi extends BaseApi {
|
|
|
42
41
|
* immediately and revoke membership groups now.
|
|
43
42
|
*/
|
|
44
43
|
cancel(params: CancelMembershipParams): Promise<CancelMembershipResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Store/read only app-encrypted billing ciphertext for the Membership's
|
|
46
|
+
* method. The tenant server receives the non-secret restore generation from
|
|
47
|
+
* its platform operator's integration configuration; it is not discovered
|
|
48
|
+
* from an unauthenticated endpoint.
|
|
49
|
+
*/
|
|
50
|
+
billingCustody(params: BillingCustodyParams): Promise<BillingCustodyResponse>;
|
|
45
51
|
}
|
|
46
52
|
|
|
47
53
|
type ProductDetailStockMergeStatus = 'complete' | 'partial';
|
|
@@ -72,4 +78,4 @@ declare function resolveRelation<T>(ref: unknown): T | null;
|
|
|
72
78
|
|
|
73
79
|
declare function createClient(options: ClientConfig): RootClientWithEvents;
|
|
74
80
|
|
|
75
|
-
export { BaseApi, CancelMembershipParams, CancelMembershipResponse, ClientConfig, MembershipApi, type MembershipApiOptions, type MergedProductDetailResult, ProductDetail, ProductDetailCatalog, type ProductDetailStockMergeStatus, RootClientWithEvents, ServerApiOptions, StockSnapshotResponse, SubscribeMembershipParams, SubscribeMembershipResponse, assertCommerceIdempotencyKey, createClient, createCommerceIdempotencyKey, formatOrderName, generateOrderNumber, isCommerceIdempotencyKey, mergeProductDetailWithStock, resolveRelation };
|
|
81
|
+
export { BaseApi, BillingCustodyParams, BillingCustodyResponse, CancelMembershipParams, CancelMembershipResponse, ClientConfig, MembershipApi, type MembershipApiOptions, type MergedProductDetailResult, ProductDetail, ProductDetailCatalog, type ProductDetailStockMergeStatus, RootClientWithEvents, ServerApiOptions, StockSnapshotResponse, SubscribeMembershipParams, SubscribeMembershipResponse, assertCommerceIdempotencyKey, createClient, createCommerceIdempotencyKey, formatOrderName, generateOrderNumber, isCommerceIdempotencyKey, mergeProductDetailWithStock, resolveRelation };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AddItemParams, i as ApiQueryOptions, cD as BulkImportFulfillmentsParams, cE as BulkImportFulfillmentsResponse, cF as CalculateShippingParams, cG as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, cH as CancelOrderParams, cI as CancelOrderResponse, cJ as CancelReasonCode, cK as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, cL as CartWarning, cM as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, al as Client, u as ClientMetadata, g as ClientState, al as ClientType, cN as Comment, C as CommerceClient, cO as CommerceClientOptions, a as CommunityClient, cP as CommunityClientOptions, cQ as CommunityComment, cR as CommunityCommentListSort, cS as CommunityPost, cT as CommunityPostCategory, cU as CommunityPostListSort, cV as CommunityPostTag, cW as CommunityPublicAuthorSnapshot, cX as CommunityPublicMediaAsset, cY as CommunityPublicReference, cZ as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, c_ as CreateFulfillmentParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, c$ as CreateReturnParams, ch as CustomerAuth, d0 as CustomerAuthOptions, cj as CustomerAuthResponse, d1 as CustomerAuthorizationUrlInput, d2 as CustomerAuthorizationUrlResult, aK as CustomerGroupApi, ba as CustomerGroupApiOptions, bb as CustomerGroupManualSource, bc as CustomerGroupMember, bd as CustomerGroupMemberCommandResponse, be as CustomerGroupMemberSource, bf as CustomerGroupMembershipSource, bg as CustomerGroupMembershipState, ck as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, d3 as CustomerOAuth, d4 as CustomerOAuthCallbackResult, d5 as CustomerOAuthConfig, d6 as CustomerOAuthTokenSet, d7 as CustomerOrderListOptions, ci as CustomerProfile, cn as CustomerRefreshResponse, cm as CustomerRegisterData, cl as CustomerRegisterResponse, F as CustomerSnapshot, G as DebugConfig, H as DeepPartial, d8 as DiscountApi, d9 as DiscountApiOptions, da as DiscountErrorReasonCode, bh as EventAdmissionAvailabilityParams, bi as EventAdmissionAvailabilityResponse, bj as EventAdmissionAvailabilityType, bk as EventAdmissionPricePresentment, bl as EventGuestCancelParams, bm as EventGuestRegistration, bn as EventGuestRegistrationResponse, bo as EventRegistrationAnswerInput, bp as EventRegistrationAttendeeInput, bq as EventRegistrationPublic, br as EventRegistrationRegisterParams, bs as EventRegistrationRegisterResponse, bt as EventsCalendarItem, E as EventsClient, bu as EventsClientOptions, bv as EventsDateParam, bw as EventsExternalSource, bx as EventsLocation, by as EventsOccurrenceLocation, bz as EventsRangeEvent, bA as EventsRangeOccurrence, bB as EventsRangeParams, bC as EventsRangeResponse, bD as EventsTaxonomyItem, I as ExtractArrayType, db as FeaturedImagePointerInput, dc as GetOrderByPaymentIdParams, bG as GrantCustomerGroupMemberParams, dd as LegacyProductSelectionParamEvent, bH as ListCustomerGroupMembersParams, bI as ListCustomerGroupMembersResponse, de as ListingGroupsParams, df as MAX_CART_LINE_ADMISSIONS, dg as ManagedPaymentNextAction, dh as ManagedPublicPaymentSession, di as MarketDTO, dj as MediaValue, J as MembershipStatus, K as Money, dk as NormalizedOptionSwatch, dl as NormalizedProductSelection, O as OpenCheckoutPaymentState, dm as OrderApi, dn as OrderApiOptions, dp as OrderByPaymentResult, dq as PRODUCT_PLP_FIND_OPTIONS, dr as PRODUCT_UPSERT_READONLY_FIELD_REASON, ds as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, L as PayloadMutationResponse, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, V as PortOnePaymentNextAction, W as PortOnePublicPaymentSession, dt as PrepareFulfillmentOrderParams, du as PrepareFulfillmentOrderResponse, dv as ProductApi, dw as ProductApiOptions, dx as ProductDetailBrand, cs as ProductDetailCatalogResult, dy as ProductDetailCatalogVariant, dz as ProductDetailCategory, dA as ProductDetailImage, dB as ProductDetailImageMedia, dC as ProductDetailMedia, dD as ProductDetailOption, dE as ProductDetailOptionValue, cr as ProductDetailParams, dF as ProductDetailResult, dG as ProductDetailTag, dH as ProductDetailUnavailableReason, dI as ProductDetailVariant, dJ as ProductDetailVariantOptionValue, dK as ProductDetailVideo, dL as ProductDisplayMediaSource, dM as ProductFallbackLocaleOption, dN as ProductHrefGroup, dO as ProductHrefOptions, dP as ProductHrefProduct, dQ as ProductListingCard, dR as ProductListingCardOptions, dS as ProductListingCardPriceRange, dT as ProductListingCardRepresentativeVariant, dU as ProductListingGroup, dV as ProductListingGroupCatalogSummary, dW as ProductListingGroupCatalogVariant, dX as ProductListingGroupProjection, dY as ProductListingGroupSummary, dZ as ProductListingGroupVariant, cv as ProductListingGroupsCatalogItem, d_ as ProductListingGroupsCatalogProduct, d$ as ProductListingGroupsCatalogResponse, cx as ProductListingGroupsItem, e0 as ProductListingGroupsProduct, e1 as ProductListingGroupsResponse, cq as ProductListingPageBaseParams, ct as ProductListingPageCatalogParams, e2 as ProductListingPageFilters, cw as ProductListingPageFullParams, cp as ProductListingPageParams, cu as ProductListingPageResult, e3 as ProductListingPageSort, e4 as ProductListingProductShape, e5 as ProductListingSwatch, e6 as ProductLocaleOption, e7 as ProductLocaleReadParams, e8 as ProductLocalizedText, e9 as ProductLocalizedValue, ea as ProductMediaResolutionSource, eb as ProductMoneyRange, ec as ProductOptionMatrix, ed as ProductOptionMatrixOption, ee as ProductOptionMatrixValue, ef as ProductOptionMatrixVariant, eg as ProductOptionShape, eh as ProductOptionValueShape, ei as ProductOptionValueSwatch, ej as ProductOptionValueSwatchInput, ek as ProductPriceRange, el as ProductSelectionAvailableSwatch, em as ProductSelectionAvailableValue, en as ProductSelectionByOptionValue, eo as ProductSelectionCodecError, ep as ProductSelectionCodecOptions, eq as ProductSelectionInput, er as ProductSelectionMediaPointer, es as ProductSelectionMediaSource, et as ProductSelectionOptionValue, eu as ProductSelectionResolution, ev as ProductSelectionResolutionContext, ew as ProductSelectionUrlEmit, ex as ProductSelectionVariant, ey as ProductUpsertFieldValidationErrorBody, ez as ProductUpsertFieldValidationErrorReason, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, eA as ProductVariantShape, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, eB as PublicCheckoutBase, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, cg as PublicReadQueryOptions, af as ReconciliationRequired, ag as RemoveItemParams, eC as RequestOptions, eD as ResolveCancelRefundFailedResponse, eE as ResolveCancelRefundOutcome, eF as ResolveCancelRefundParams, eG as ResolveCancelRefundResponse, eH as ResolveCancelRefundSucceededResponse, eI as ResolveProductDisplayMediaInput, eJ as ResolveProductDisplayMediaResult, eK as ResolveProductSelectionMediaInput, eL as ResolveProductSelectionMediaResult, eM as ResolvedCatalogPrice, ah as RetrieveBrowserPaymentSessionParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, bT as RetrieveServerCheckoutParams, ak as RetryConfig, eN as ReturnCancellationReasonCode, eO as ReturnItem, eP as ReturnReason, eQ as ReturnWithRefundItem, eR as ReturnWithRefundParams, bW as RevokeCustomerGroupMemberParams, al as RootClient, am as RootCollectionClient, an as RootReadOnlyQueryBuilder, eS as ShippingApi, eT as ShippingApiOptions, ao as ShippingLine, ap as Sort, aq as SpentCheckoutPaymentState, eU as StockCheckParams, eV as StockCheckResponse, eW as StockCheckResult, eX as StockSnapshotItem, eY as StockSnapshotParams, ar as StorefrontContentListOptions, as as StorefrontContentReference, at as StorefrontGalleryItem, au as StorefrontGalleryItemsListOptions, av as StorefrontGalleryItemsSort, aw as StorefrontLink, ax as StorefrontLinksListOptions, ay as StorefrontLinksSort, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, eZ as UpdateFulfillmentParams, aB as UpdateItemParams, e_ as UpdateOrderParams, co as UpdateProfileData, e$ as UpdateReturnParams, f0 as ValidateDiscountParams, f1 as ValidateDiscountResult, aC as VariantInput, aD as Where, f2 as WithIdempotencyKey, f3 as buildProductHref, f4 as buildProductListingCard, f5 as buildProductListingGroupProjection, f6 as buildProductListingGroupsByOption, f7 as buildProductOptionMatrix, f8 as buildProductOptionMatrixFromDetail, f9 as createProductSelectionCodec, fa as getAvailableOptionValues, fb as getProductSelectionImages, fc as getSelectedValueByOptionId, fd as getVariantAvailableForSale, fe as getVariantAvailableStock, ff as isProductUpsertFieldValidationErrorBody, fg as normalizeProductSelection, fh as normalizeProductSelectionFromMatrix, fi as normalizeSelectedValueIds, fj as parseProductSelection, fk as projectProductToListingShape, fl as resolveFeaturedImagePointer, fm as resolveProductDisplayMedia, fn as resolveProductSelection, fo as resolveProductSelectionFromMatrix, fp as resolveProductSelectionMedia, fq as resolveVariantForSelection, fr as selectNext, fs as selectedSwatchMediaItemId, ft as stringifyProductSelection, fu as toShopifyPriceRangeV2 } from './types-CEK8uTvU.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 { d3 as BaseApi, aF as ServerApiOptions, aI as SubscribeMembershipParams, aJ as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, aK as BillingCustodyParams, aL as BillingCustodyResponse, d4 as ProductDetail, d5 as ProductDetailCatalog, d6 as StockSnapshotResponse, h as ClientConfig, d7 as RootClientWithEvents } from './types-DnRC3nLG.js';
|
|
2
|
+
export { A as AddItemParams, i as ApiQueryOptions, d8 as BillingCustodyWireRequest, d9 as BulkImportFulfillmentsParams, da as BulkImportFulfillmentsResponse, db as CalculateShippingParams, dc as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, dd as CancelOrderParams, de as CancelOrderResponse, df as CancelReasonCode, dg as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, dh as CartWarning, di as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, al as Client, u as ClientMetadata, g as ClientState, al as ClientType, dj as Comment, C as CommerceClient, dk as CommerceClientOptions, a as CommunityClient, dl as CommunityClientOptions, dm as CommunityComment, dn as CommunityCommentListSort, dp as CommunityPost, dq as CommunityPostCategory, dr as CommunityPostListSort, ds as CommunityPostTag, dt as CommunityPublicAuthorSnapshot, du as CommunityPublicMediaAsset, dv as CommunityPublicReference, dw as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, dx as CreateFulfillmentParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, dy as CreateReturnParams, bi as CreateServerPaymentSessionParams, bj as CreateServerPortOnePaymentSessionParams, cO as CustomerAuth, dz as CustomerAuthOptions, cQ as CustomerAuthResponse, dA as CustomerAuthorizationUrlInput, dB as CustomerAuthorizationUrlResult, aM as CustomerGroupApi, bm as CustomerGroupApiOptions, bn as CustomerGroupManualSource, bo as CustomerGroupMember, bp as CustomerGroupMemberCommandResponse, bq as CustomerGroupMemberSource, br as CustomerGroupMembershipSource, bs as CustomerGroupMembershipState, cR as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, dC as CustomerOAuth, dD as CustomerOAuthCallbackResult, dE as CustomerOAuthConfig, dF as CustomerOAuthTokenSet, dG as CustomerOrderListOptions, cP as CustomerProfile, cU as CustomerRefreshResponse, cT as CustomerRegisterData, cS as CustomerRegisterResponse, F as CustomerSnapshot, dH as CustomerWithdrawalResult, G as DebugConfig, H as DeepPartial, dI as DiscountApi, dJ as DiscountApiOptions, dK as DiscountErrorReasonCode, bu as EventAdmissionAvailabilityParams, bv as EventAdmissionAvailabilityResponse, bw as EventAdmissionAvailabilityType, bx as EventAdmissionPricePresentment, by as EventGuestCancelParams, bz as EventGuestRegistration, bA as EventGuestRegistrationResponse, bB as EventRegistrationAnswerInput, bC as EventRegistrationAttendeeInput, bD as EventRegistrationPublic, bE as EventRegistrationRegisterParams, bF as EventRegistrationRegisterResponse, bG as EventsCalendarItem, E as EventsClient, bH as EventsClientOptions, bI as EventsDateParam, bJ as EventsExternalSource, bK as EventsLocation, bL as EventsOccurrenceLocation, bM as EventsRangeEvent, bN as EventsRangeOccurrence, bO as EventsRangeParams, bP as EventsRangeResponse, bQ as EventsTaxonomyItem, I as ExtractArrayType, dL as FeaturedImagePointerInput, dM as GetOrderByPaymentIdParams, c1 as GrantCustomerGroupMemberParams, dN as LegacyProductSelectionParamEvent, c4 as ListCustomerGroupMembersParams, c5 as ListCustomerGroupMembersResponse, dO as ListingGroupsParams, dP as MAX_CART_LINE_ADMISSIONS, dQ as ManagedPaymentNextAction, dR as ManagedPublicPaymentSession, dS as MarketDTO, dT as MediaValue, J as MembershipStatus, K as Money, dU as NormalizedOptionSwatch, dV as NormalizedProductSelection, O as OpenCheckoutPaymentState, dW as OrderApi, dX as OrderApiOptions, dY as OrderByPaymentResult, dZ as PRODUCT_PLP_FIND_OPTIONS, d_ as PRODUCT_UPSERT_READONLY_FIELD_REASON, d$ as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, L as PayloadMutationResponse, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, V as PortOnePaymentNextAction, W as PortOnePublicPaymentSession, e0 as PrepareFulfillmentOrderParams, e1 as PrepareFulfillmentOrderResponse, e2 as ProductApi, e3 as ProductApiOptions, e4 as ProductDetailBrand, cZ as ProductDetailCatalogResult, e5 as ProductDetailCatalogVariant, e6 as ProductDetailCategory, e7 as ProductDetailImage, e8 as ProductDetailImageMedia, e9 as ProductDetailMedia, ea as ProductDetailOption, eb as ProductDetailOptionValue, cY as ProductDetailParams, ec as ProductDetailResult, ed as ProductDetailTag, ee as ProductDetailUnavailableReason, ef as ProductDetailVariant, eg as ProductDetailVariantOptionValue, eh as ProductDetailVideo, ei as ProductDisplayMediaSource, ej as ProductFallbackLocaleOption, ek as ProductHrefGroup, el as ProductHrefOptions, em as ProductHrefProduct, en as ProductListingCard, eo as ProductListingCardOptions, ep as ProductListingCardPriceRange, eq as ProductListingCardRepresentativeVariant, er as ProductListingGroup, es as ProductListingGroupCatalogSummary, et as ProductListingGroupCatalogVariant, eu as ProductListingGroupProjection, ev as ProductListingGroupSummary, ew as ProductListingGroupVariant, d0 as ProductListingGroupsCatalogItem, ex as ProductListingGroupsCatalogProduct, ey as ProductListingGroupsCatalogResponse, d2 as ProductListingGroupsItem, ez as ProductListingGroupsProduct, eA as ProductListingGroupsResponse, cX as ProductListingPageBaseParams, c_ as ProductListingPageCatalogParams, eB as ProductListingPageFilters, d1 as ProductListingPageFullParams, cW as ProductListingPageParams, c$ as ProductListingPageResult, eC as ProductListingPageSort, eD as ProductListingProductShape, eE as ProductListingSwatch, eF as ProductLocaleOption, eG as ProductLocaleReadParams, eH as ProductLocalizedText, eI as ProductLocalizedValue, eJ as ProductMediaResolutionSource, eK as ProductMoneyRange, eL as ProductOptionMatrix, eM as ProductOptionMatrixOption, eN as ProductOptionMatrixValue, eO as ProductOptionMatrixVariant, eP as ProductOptionShape, eQ as ProductOptionValueShape, eR as ProductOptionValueSwatch, eS as ProductOptionValueSwatchInput, eT as ProductPriceRange, eU as ProductSelectionAvailableSwatch, eV as ProductSelectionAvailableValue, eW as ProductSelectionByOptionValue, eX as ProductSelectionCodecError, eY as ProductSelectionCodecOptions, eZ as ProductSelectionInput, e_ as ProductSelectionMediaPointer, e$ as ProductSelectionMediaSource, f0 as ProductSelectionOptionValue, f1 as ProductSelectionResolution, f2 as ProductSelectionResolutionContext, f3 as ProductSelectionUrlEmit, f4 as ProductSelectionVariant, f5 as ProductUpsertFieldValidationErrorBody, f6 as ProductUpsertFieldValidationErrorReason, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, f7 as ProductVariantShape, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, f8 as PublicCheckoutBase, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, cN as PublicReadQueryOptions, af as ReconciliationRequired, ag as RemoveItemParams, f9 as RequestOptions, fa as ResolveCancelRefundFailedResponse, fb as ResolveCancelRefundOutcome, fc as ResolveCancelRefundParams, fd as ResolveCancelRefundResponse, fe as ResolveCancelRefundSucceededResponse, ff as ResolveProductDisplayMediaInput, fg as ResolveProductDisplayMediaResult, fh as ResolveProductSelectionMediaInput, fi as ResolveProductSelectionMediaResult, fj as ResolvedCatalogPrice, ah as RetrieveBrowserPaymentSessionParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, cl as RetrieveServerCheckoutParams, ak as RetryConfig, fk as ReturnCancellationReasonCode, fl as ReturnItem, fm as ReturnReason, fn as ReturnWithRefundItem, fo as ReturnWithRefundParams, co as RevokeCustomerGroupMemberParams, al as RootClient, am as RootCollectionClient, an as RootReadOnlyQueryBuilder, fp as ShippingApi, fq as ShippingApiOptions, ao as ShippingLine, ap as Sort, aq as SpentCheckoutPaymentState, fr as StockCheckParams, fs as StockCheckResponse, ft as StockCheckResult, fu as StockSnapshotItem, fv as StockSnapshotParams, ar as StorefrontContentListOptions, as as StorefrontContentReference, at as StorefrontGalleryItem, au as StorefrontGalleryItemsListOptions, av as StorefrontGalleryItemsSort, aw as StorefrontLink, ax as StorefrontLinksListOptions, ay as StorefrontLinksSort, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, fw as UpdateFulfillmentParams, aB as UpdateItemParams, fx as UpdateOrderParams, cV as UpdateProfileData, fy as UpdateReturnParams, fz as ValidateDiscountParams, fA as ValidateDiscountResult, aC as VariantInput, fB as VideoPlaybackResponse, aD as Where, fC as WithIdempotencyKey, fD as buildProductHref, fE as buildProductListingCard, fF as buildProductListingGroupProjection, fG as buildProductListingGroupsByOption, fH as buildProductOptionMatrix, fI as buildProductOptionMatrixFromDetail, fJ as createProductSelectionCodec, fK as getAvailableOptionValues, fL as getProductSelectionImages, fM as getSelectedValueByOptionId, fN as getVariantAvailableForSale, fO as getVariantAvailableStock, fP as isProductUpsertFieldValidationErrorBody, fQ as normalizeProductSelection, fR as normalizeProductSelectionFromMatrix, fS as normalizeSelectedValueIds, fT as parseProductSelection, fU as projectProductToListingShape, fV as resolveFeaturedImagePointer, fW as resolveProductDisplayMedia, fX as resolveProductSelection, fY as resolveProductSelectionFromMatrix, fZ as resolveProductSelectionMedia, f_ as resolveVariantForSelection, f$ as selectNext, g0 as selectedSwatchMediaItemId, g1 as stringifyProductSelection, g2 as toShopifyPriceRangeV2 } from './types-DnRC3nLG.js';
|
|
3
|
+
import { P as Product } from './payload-types-BnIET0xU.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-BnIET0xU.js';
|
|
5
|
+
export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-D1y4TgQm.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-1auUEYrl.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-CRxPTDGt.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';
|
|
11
|
-
export { Analytics, AnalyticsConfig, createAnalytics } from './analytics.js';
|
|
12
11
|
export { ApiError, AuthError, COMMERCE_ERROR_CODES, CommerceErrorCode, CommerceSDKError, ConfigError, ConflictError, GoneError, NetworkError, NotFoundError, PermissionError, RateLimitError, SDKError, ServiceUnavailableError, TimeoutError, UsageLimitError, ValidationError, createAuthError, createConflictError, createNotFoundError, createPermissionError, createRateLimitError, getSDKErrorReason, isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.js';
|
|
13
12
|
|
|
14
13
|
declare function isCommerceIdempotencyKey(value: unknown): value is string;
|
|
@@ -42,6 +41,13 @@ declare class MembershipApi extends BaseApi {
|
|
|
42
41
|
* immediately and revoke membership groups now.
|
|
43
42
|
*/
|
|
44
43
|
cancel(params: CancelMembershipParams): Promise<CancelMembershipResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Store/read only app-encrypted billing ciphertext for the Membership's
|
|
46
|
+
* method. The tenant server receives the non-secret restore generation from
|
|
47
|
+
* its platform operator's integration configuration; it is not discovered
|
|
48
|
+
* from an unauthenticated endpoint.
|
|
49
|
+
*/
|
|
50
|
+
billingCustody(params: BillingCustodyParams): Promise<BillingCustodyResponse>;
|
|
45
51
|
}
|
|
46
52
|
|
|
47
53
|
type ProductDetailStockMergeStatus = 'complete' | 'partial';
|
|
@@ -72,4 +78,4 @@ declare function resolveRelation<T>(ref: unknown): T | null;
|
|
|
72
78
|
|
|
73
79
|
declare function createClient(options: ClientConfig): RootClientWithEvents;
|
|
74
80
|
|
|
75
|
-
export { BaseApi, CancelMembershipParams, CancelMembershipResponse, ClientConfig, MembershipApi, type MembershipApiOptions, type MergedProductDetailResult, ProductDetail, ProductDetailCatalog, type ProductDetailStockMergeStatus, RootClientWithEvents, ServerApiOptions, StockSnapshotResponse, SubscribeMembershipParams, SubscribeMembershipResponse, assertCommerceIdempotencyKey, createClient, createCommerceIdempotencyKey, formatOrderName, generateOrderNumber, isCommerceIdempotencyKey, mergeProductDetailWithStock, resolveRelation };
|
|
81
|
+
export { BaseApi, BillingCustodyParams, BillingCustodyResponse, CancelMembershipParams, CancelMembershipResponse, ClientConfig, MembershipApi, type MembershipApiOptions, type MergedProductDetailResult, ProductDetail, ProductDetailCatalog, type ProductDetailStockMergeStatus, RootClientWithEvents, ServerApiOptions, StockSnapshotResponse, SubscribeMembershipParams, SubscribeMembershipResponse, assertCommerceIdempotencyKey, createClient, createCommerceIdempotencyKey, formatOrderName, generateOrderNumber, isCommerceIdempotencyKey, mergeProductDetailWithStock, resolveRelation };
|
package/dist/index.js
CHANGED
|
@@ -1005,6 +1005,49 @@ function stockSnapshotSearchParams(params) {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
|
|
1007
1007
|
// src/core/collection/http-client.ts
|
|
1008
|
+
function validateWhere(where) {
|
|
1009
|
+
if (where === void 0) return false;
|
|
1010
|
+
let hasNull = false;
|
|
1011
|
+
function visit(value, depth, key) {
|
|
1012
|
+
if (depth > 10) {
|
|
1013
|
+
throw createValidationError(
|
|
1014
|
+
"Collection where must not exceed nesting depth 10."
|
|
1015
|
+
);
|
|
1016
|
+
}
|
|
1017
|
+
if (value === null && (key === "equals" || key === "not_equals")) {
|
|
1018
|
+
hasNull = true;
|
|
1019
|
+
return;
|
|
1020
|
+
}
|
|
1021
|
+
if (value == null) {
|
|
1022
|
+
throw createValidationError(
|
|
1023
|
+
"Collection where must not contain null or undefined values."
|
|
1024
|
+
);
|
|
1025
|
+
}
|
|
1026
|
+
if (Array.isArray(value)) {
|
|
1027
|
+
if (value.length === 0) {
|
|
1028
|
+
throw createValidationError(
|
|
1029
|
+
"Collection where must not contain empty arrays, including and/or."
|
|
1030
|
+
);
|
|
1031
|
+
}
|
|
1032
|
+
if (value.length > 1e3) {
|
|
1033
|
+
throw createValidationError(
|
|
1034
|
+
"Collection where arrays must not contain more than 1000 elements."
|
|
1035
|
+
);
|
|
1036
|
+
}
|
|
1037
|
+
for (const item of value) visit(item, depth + 1);
|
|
1038
|
+
} else if (typeof value === "object" && !(value instanceof Date)) {
|
|
1039
|
+
const values = Object.entries(value);
|
|
1040
|
+
if (values.length === 0) {
|
|
1041
|
+
throw createValidationError(
|
|
1042
|
+
"Collection where must not contain empty condition objects."
|
|
1043
|
+
);
|
|
1044
|
+
}
|
|
1045
|
+
for (const [key2, item] of values) visit(item, depth + 1, key2);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
visit(where, 0);
|
|
1049
|
+
return hasNull;
|
|
1050
|
+
}
|
|
1008
1051
|
var HttpClient = class {
|
|
1009
1052
|
constructor(publishableKey, secretKey, getCustomerToken, onUnauthorized, onRequestId, apiUrl) {
|
|
1010
1053
|
this.publishableKey = requirePublishableKeyForSecret(
|
|
@@ -1051,7 +1094,8 @@ var HttpClient = class {
|
|
|
1051
1094
|
...rest,
|
|
1052
1095
|
"fallback-locale": fallbackLocale === false ? "none" : fallbackLocale
|
|
1053
1096
|
};
|
|
1054
|
-
const
|
|
1097
|
+
const encodedOptions = validateWhere(queryOptions.where) ? { ...queryOptions, where: JSON.stringify(queryOptions.where) } : queryOptions;
|
|
1098
|
+
const queryString = stringify(encodedOptions, { addQueryPrefix: true });
|
|
1055
1099
|
return queryString ? `${endpoint}${queryString}` : endpoint;
|
|
1056
1100
|
}
|
|
1057
1101
|
assertJsonResponse(response) {
|
|
@@ -1464,17 +1508,52 @@ var portOneStandardActionCapabilityOperations = /* @__PURE__ */ new Set([
|
|
|
1464
1508
|
]);
|
|
1465
1509
|
var MEMBERSHIP_ENDPOINT_OPERATIONS = {
|
|
1466
1510
|
subscribe: operation(null, "post", "/memberships/subscribe"),
|
|
1511
|
+
billingCustody: operation(null, "post", "/memberships/billing-custody"),
|
|
1467
1512
|
cancel: operation(null, "post", "/memberships/:id/cancel"),
|
|
1468
1513
|
me: operation(null, "get", "/memberships/me"),
|
|
1469
1514
|
chargeResult: operation(null, "post", "/memberships/:id/charge-result"),
|
|
1470
1515
|
refundResult: operation(null, "post", "/memberships/:id/refund-result"),
|
|
1471
1516
|
revoke: operation(null, "post", "/memberships/:id/revoke")
|
|
1472
1517
|
};
|
|
1518
|
+
var EXTERNAL_EFFECT_CLAIM_ENDPOINT_OPERATIONS = {
|
|
1519
|
+
claim: operation(null, "post", "/external-effect-claims/claim"),
|
|
1520
|
+
get: operation(null, "post", "/external-effect-claims/get"),
|
|
1521
|
+
arm: operation(null, "post", "/external-effect-claims/arm"),
|
|
1522
|
+
release: operation(null, "post", "/external-effect-claims/release"),
|
|
1523
|
+
report: operation(null, "post", "/external-effect-claims/report"),
|
|
1524
|
+
recovery: operation(null, "post", "/external-effect-claims/recovery")
|
|
1525
|
+
};
|
|
1526
|
+
var INSTALLATION_CREDENTIAL_ENDPOINT_OPERATIONS = {
|
|
1527
|
+
create: operation(null, "post", "/installation-credentials/create"),
|
|
1528
|
+
get: operation(null, "post", "/installation-credentials/get"),
|
|
1529
|
+
replace: operation(null, "post", "/installation-credentials/replace"),
|
|
1530
|
+
dispose: operation(null, "post", "/installation-credentials/dispose")
|
|
1531
|
+
};
|
|
1532
|
+
var EXTERNAL_CUSTOMER_LINK_ENDPOINT_OPERATIONS = {
|
|
1533
|
+
connect: operation("customers", "post", "/external-links/connect"),
|
|
1534
|
+
get: operation("customers", "post", "/external-links/get"),
|
|
1535
|
+
list: operation("customers", "post", "/external-links/list"),
|
|
1536
|
+
unlink: operation("customers", "post", "/external-links/unlink"),
|
|
1537
|
+
capturePreviousState: operation(
|
|
1538
|
+
"customers",
|
|
1539
|
+
"post",
|
|
1540
|
+
"/external-links/capture-previous-state"
|
|
1541
|
+
),
|
|
1542
|
+
clearPreviousState: operation(
|
|
1543
|
+
"customers",
|
|
1544
|
+
"post",
|
|
1545
|
+
"/external-links/clear-previous-state"
|
|
1546
|
+
)
|
|
1547
|
+
};
|
|
1473
1548
|
var CUSTOMER_GROUP_ENDPOINT_OPERATIONS = {
|
|
1474
1549
|
members: operation("customer-groups", "get", "/:id/members"),
|
|
1475
1550
|
grant: operation("customer-groups", "post", "/:id/members/grant"),
|
|
1476
1551
|
revoke: operation("customer-groups", "post", "/:id/members/revoke")
|
|
1477
1552
|
};
|
|
1553
|
+
var CUSTOMER_AUTH_ENDPOINT_OPERATIONS = {
|
|
1554
|
+
revokeRefresh: operation("customers", "post", "/revoke-refresh"),
|
|
1555
|
+
withdraw: operation("customers", "post", "/withdraw")
|
|
1556
|
+
};
|
|
1478
1557
|
var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
|
|
1479
1558
|
show: operation("tenants", "get", "/embedded-admin-app"),
|
|
1480
1559
|
configure: operation("tenants", "patch", "/embedded-admin-app"),
|
|
@@ -1498,6 +1577,14 @@ var COMMUNITY_ENDPOINT_OPERATIONS = {
|
|
|
1498
1577
|
detail: operation("posts", "get", "/detail")
|
|
1499
1578
|
}
|
|
1500
1579
|
};
|
|
1580
|
+
var GALLERY_ENDPOINT_OPERATIONS = {
|
|
1581
|
+
items: {
|
|
1582
|
+
storefront: operation("gallery-items", "get", "/storefront")
|
|
1583
|
+
}
|
|
1584
|
+
};
|
|
1585
|
+
var VIDEO_ENDPOINT_OPERATIONS = {
|
|
1586
|
+
playback: operation("videos", "post", "/:id/playback")
|
|
1587
|
+
};
|
|
1501
1588
|
function resolveOperationTemplate(descriptor) {
|
|
1502
1589
|
return descriptor.collection ? `/api/${descriptor.collection}${descriptor.path}` : `/api${descriptor.path}`;
|
|
1503
1590
|
}
|
|
@@ -2087,6 +2174,15 @@ var PublicContentApi = class extends RawCustomerScopedApi {
|
|
|
2087
2174
|
get(endpoint) {
|
|
2088
2175
|
return this.request(endpoint, { method: "GET" });
|
|
2089
2176
|
}
|
|
2177
|
+
galleryItems(options) {
|
|
2178
|
+
const operation2 = GALLERY_ENDPOINT_OPERATIONS.items.storefront;
|
|
2179
|
+
return this.request(
|
|
2180
|
+
resolveOperationPath(operation2, {
|
|
2181
|
+
query: galleryItemsListQuery(options)
|
|
2182
|
+
}),
|
|
2183
|
+
{ method: resolveOperationMethod(operation2) }
|
|
2184
|
+
);
|
|
2185
|
+
}
|
|
2090
2186
|
};
|
|
2091
2187
|
function appendCommonParams(search, options, defaultSort) {
|
|
2092
2188
|
search.set("sort", options?.sort ?? defaultSort);
|
|
@@ -2106,12 +2202,12 @@ function linksListPath(options) {
|
|
|
2106
2202
|
search.set("featured", String(options.featured));
|
|
2107
2203
|
return `/api/links/storefront?${search}`;
|
|
2108
2204
|
}
|
|
2109
|
-
function
|
|
2205
|
+
function galleryItemsListQuery(options) {
|
|
2110
2206
|
const search = new URLSearchParams();
|
|
2111
2207
|
appendCommonParams(search, options, "manual");
|
|
2112
2208
|
if (options?.galleryId) search.set("galleryId", options.galleryId);
|
|
2113
2209
|
if (options?.gallerySlug) search.set("gallerySlug", options.gallerySlug);
|
|
2114
|
-
return
|
|
2210
|
+
return search;
|
|
2115
2211
|
}
|
|
2116
2212
|
var ContentClient = class {
|
|
2117
2213
|
constructor(options) {
|
|
@@ -2125,9 +2221,7 @@ var ContentClient = class {
|
|
|
2125
2221
|
list: (params) => api.get(linksListPath(params))
|
|
2126
2222
|
};
|
|
2127
2223
|
this.galleryItems = {
|
|
2128
|
-
list: (params) => api.
|
|
2129
|
-
galleryItemsListPath(params)
|
|
2130
|
-
)
|
|
2224
|
+
list: (params) => api.galleryItems(params)
|
|
2131
2225
|
};
|
|
2132
2226
|
}
|
|
2133
2227
|
};
|
|
@@ -4177,11 +4271,46 @@ var CustomerAuth = class {
|
|
|
4177
4271
|
};
|
|
4178
4272
|
}
|
|
4179
4273
|
/**
|
|
4180
|
-
* Clear
|
|
4274
|
+
* Clear local credentials synchronously. This compatibility API cannot
|
|
4275
|
+
* revoke the server-side refresh family; use logoutAsync() for that.
|
|
4276
|
+
* @deprecated Use logoutAsync() to end the direct server session.
|
|
4181
4277
|
*/
|
|
4182
4278
|
logout() {
|
|
4183
4279
|
this.setSession(null, null);
|
|
4184
4280
|
}
|
|
4281
|
+
/**
|
|
4282
|
+
* End the current direct refresh family and clear local credentials even if
|
|
4283
|
+
* revocation fails. A legacy access-only session has no refresh family here.
|
|
4284
|
+
*/
|
|
4285
|
+
async logoutAsync() {
|
|
4286
|
+
this.syncFromPersistedStorage();
|
|
4287
|
+
const refreshToken = this.refreshTokenValue;
|
|
4288
|
+
this.logout();
|
|
4289
|
+
if (!refreshToken) return;
|
|
4290
|
+
const operation2 = CUSTOMER_AUTH_ENDPOINT_OPERATIONS.revokeRefresh;
|
|
4291
|
+
await this.requestJson(resolveOperationPath(operation2), {
|
|
4292
|
+
method: resolveOperationMethod(operation2),
|
|
4293
|
+
body: JSON.stringify({ refreshToken })
|
|
4294
|
+
});
|
|
4295
|
+
}
|
|
4296
|
+
/** Archive the current password account and clear this client's credentials on success. */
|
|
4297
|
+
async withdraw(currentPassword) {
|
|
4298
|
+
const token = this.getToken();
|
|
4299
|
+
if (!token) throw new ApiError("Not authenticated", 401);
|
|
4300
|
+
const operation2 = CUSTOMER_AUTH_ENDPOINT_OPERATIONS.withdraw;
|
|
4301
|
+
const result = await this.requestJson(
|
|
4302
|
+
resolveOperationPath(operation2),
|
|
4303
|
+
{
|
|
4304
|
+
method: resolveOperationMethod(operation2),
|
|
4305
|
+
headers: { Authorization: `Bearer ${token}` },
|
|
4306
|
+
body: JSON.stringify({ currentPassword })
|
|
4307
|
+
}
|
|
4308
|
+
);
|
|
4309
|
+
if (!result || typeof result.withdrawnAt !== "string" || !Number.isFinite(Date.parse(result.withdrawnAt)))
|
|
4310
|
+
throw new ApiError("Invalid customer withdrawal response", 502);
|
|
4311
|
+
this.logout();
|
|
4312
|
+
return { withdrawnAt: result.withdrawnAt };
|
|
4313
|
+
}
|
|
4185
4314
|
/**
|
|
4186
4315
|
* Get the current authenticated customer's profile
|
|
4187
4316
|
*/
|
|
@@ -7380,9 +7509,7 @@ var INTERNAL_COLLECTIONS = [
|
|
|
7380
7509
|
"audiences",
|
|
7381
7510
|
"email-logs",
|
|
7382
7511
|
"api-usage",
|
|
7383
|
-
"tenant-
|
|
7384
|
-
"tenant-web-analytics-config",
|
|
7385
|
-
"analytics-event-schemas",
|
|
7512
|
+
"tenant-mcp-usage-daily",
|
|
7386
7513
|
"subscriptions",
|
|
7387
7514
|
"billing-history",
|
|
7388
7515
|
"usage-rate-cards",
|
|
@@ -7401,6 +7528,7 @@ var INTERNAL_COLLECTIONS = [
|
|
|
7401
7528
|
"fulfillment-events",
|
|
7402
7529
|
"tenant-commerce-config",
|
|
7403
7530
|
"customer-oauth-clients",
|
|
7531
|
+
"customer-consent-receipts",
|
|
7404
7532
|
"customer-group-grants",
|
|
7405
7533
|
"api-keys",
|
|
7406
7534
|
"personal-access-tokens",
|
|
@@ -7419,6 +7547,7 @@ var INTERNAL_COLLECTIONS = [
|
|
|
7419
7547
|
"event-admission-types",
|
|
7420
7548
|
"customer-payment-methods",
|
|
7421
7549
|
"tenant-payment-credentials",
|
|
7550
|
+
"membership-unapplied-paid-evidence",
|
|
7422
7551
|
"commerce-payment-accounts",
|
|
7423
7552
|
"payment-provider-customer-aliases"
|
|
7424
7553
|
];
|
|
@@ -7801,200 +7930,6 @@ function getVideoMp4Url(playbackId, resolution = "high") {
|
|
|
7801
7930
|
return `${MUX_STREAM_BASE}/${playbackId}/${resolution}.mp4`;
|
|
7802
7931
|
}
|
|
7803
7932
|
|
|
7804
|
-
// src/analytics.ts
|
|
7805
|
-
function createAnalytics(config) {
|
|
7806
|
-
if (typeof window === "undefined") {
|
|
7807
|
-
return { pageview() {
|
|
7808
|
-
}, track() {
|
|
7809
|
-
}, destroy() {
|
|
7810
|
-
} };
|
|
7811
|
-
}
|
|
7812
|
-
const endpoint = config.endpoint ?? `${resolveApiUrl()}/api/analytics/collect`;
|
|
7813
|
-
const respectDnt = config.respectDnt !== false;
|
|
7814
|
-
function isDntActive() {
|
|
7815
|
-
if (!respectDnt) return false;
|
|
7816
|
-
const nav = navigator;
|
|
7817
|
-
return nav.doNotTrack === "1" || nav.globalPrivacyControl === true;
|
|
7818
|
-
}
|
|
7819
|
-
const isLocalHost = (() => {
|
|
7820
|
-
try {
|
|
7821
|
-
const h = location.hostname;
|
|
7822
|
-
return h === "localhost" || h === "127.0.0.1" || h.endsWith(".local");
|
|
7823
|
-
} catch {
|
|
7824
|
-
return false;
|
|
7825
|
-
}
|
|
7826
|
-
})();
|
|
7827
|
-
const mode = config.mode ?? "auto";
|
|
7828
|
-
const sendSuppressed = mode === "development" || mode === "auto" && isLocalHost;
|
|
7829
|
-
let suppressNoticeShown = false;
|
|
7830
|
-
function devSuppressNotice() {
|
|
7831
|
-
if (suppressNoticeShown) return;
|
|
7832
|
-
suppressNoticeShown = true;
|
|
7833
|
-
try {
|
|
7834
|
-
console.info(
|
|
7835
|
-
`[01 analytics] events disabled on local host (mode: '${mode}'). Pass mode: 'production' to send while developing.`
|
|
7836
|
-
);
|
|
7837
|
-
} catch {
|
|
7838
|
-
}
|
|
7839
|
-
}
|
|
7840
|
-
let lastPath = null;
|
|
7841
|
-
let lastAt = 0;
|
|
7842
|
-
const autoTrack = config.autoTrack !== false;
|
|
7843
|
-
const originalPushState = history.pushState;
|
|
7844
|
-
const originalReplaceState = history.replaceState;
|
|
7845
|
-
let destroyed = false;
|
|
7846
|
-
function newEventId() {
|
|
7847
|
-
return typeof crypto !== "undefined" && typeof crypto.randomUUID === "function" ? crypto.randomUUID() : String(Date.now()) + String(Math.random());
|
|
7848
|
-
}
|
|
7849
|
-
function sendBeaconOrFetch(body) {
|
|
7850
|
-
try {
|
|
7851
|
-
if (typeof navigator.sendBeacon === "function") {
|
|
7852
|
-
const blob = new Blob([body], { type: "text/plain" });
|
|
7853
|
-
const sent = navigator.sendBeacon(endpoint, blob);
|
|
7854
|
-
if (sent) return;
|
|
7855
|
-
}
|
|
7856
|
-
fetch(endpoint, {
|
|
7857
|
-
method: "POST",
|
|
7858
|
-
keepalive: true,
|
|
7859
|
-
headers: { "Content-Type": "application/json" },
|
|
7860
|
-
body
|
|
7861
|
-
}).catch(() => {
|
|
7862
|
-
});
|
|
7863
|
-
} catch {
|
|
7864
|
-
}
|
|
7865
|
-
}
|
|
7866
|
-
function sendPageview(pathname) {
|
|
7867
|
-
if (isDntActive()) return;
|
|
7868
|
-
const doc = document;
|
|
7869
|
-
if (doc.prerendering === true || document.visibilityState === "prerender") return;
|
|
7870
|
-
if (sendSuppressed) {
|
|
7871
|
-
devSuppressNotice();
|
|
7872
|
-
return;
|
|
7873
|
-
}
|
|
7874
|
-
const now = Date.now();
|
|
7875
|
-
if (pathname === lastPath && now - lastAt < 500) return;
|
|
7876
|
-
lastPath = pathname;
|
|
7877
|
-
lastAt = now;
|
|
7878
|
-
const body = JSON.stringify({
|
|
7879
|
-
publishableKey: config.publishableKey,
|
|
7880
|
-
pathname,
|
|
7881
|
-
referrer: document.referrer || "",
|
|
7882
|
-
eventId: newEventId(),
|
|
7883
|
-
eventTs: Date.now()
|
|
7884
|
-
});
|
|
7885
|
-
sendBeaconOrFetch(body);
|
|
7886
|
-
}
|
|
7887
|
-
function trackCurrentPath() {
|
|
7888
|
-
if (destroyed) return;
|
|
7889
|
-
sendPageview(location.pathname);
|
|
7890
|
-
}
|
|
7891
|
-
function patchedPushState(data, unused, url) {
|
|
7892
|
-
originalPushState.apply(this, [data, unused, url]);
|
|
7893
|
-
if (!destroyed) setTimeout(trackCurrentPath, 0);
|
|
7894
|
-
}
|
|
7895
|
-
function patchedReplaceState(data, unused, url) {
|
|
7896
|
-
originalReplaceState.apply(this, [data, unused, url]);
|
|
7897
|
-
if (!destroyed) setTimeout(trackCurrentPath, 0);
|
|
7898
|
-
}
|
|
7899
|
-
if (autoTrack) {
|
|
7900
|
-
history.pushState = patchedPushState;
|
|
7901
|
-
history.replaceState = patchedReplaceState;
|
|
7902
|
-
window.addEventListener("popstate", trackCurrentPath);
|
|
7903
|
-
if (document.readyState === "complete") {
|
|
7904
|
-
trackCurrentPath();
|
|
7905
|
-
} else {
|
|
7906
|
-
window.addEventListener("load", trackCurrentPath, { once: true });
|
|
7907
|
-
}
|
|
7908
|
-
}
|
|
7909
|
-
const isProduction = !isLocalHost;
|
|
7910
|
-
const warnedReasons = /* @__PURE__ */ new Set();
|
|
7911
|
-
function devWarn(name, reason) {
|
|
7912
|
-
if (isProduction) return;
|
|
7913
|
-
if (warnedReasons.has(reason)) return;
|
|
7914
|
-
warnedReasons.add(reason);
|
|
7915
|
-
console.warn(`[01 analytics] dropped event ${name}: ${reason}`);
|
|
7916
|
-
}
|
|
7917
|
-
const EVENT_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_:-]{0,49}$/;
|
|
7918
|
-
const RESERVED_PREFIXES = ["__", "_pv_"];
|
|
7919
|
-
function validateEventName(name) {
|
|
7920
|
-
if (!name || typeof name !== "string") return "name-empty";
|
|
7921
|
-
for (const prefix of RESERVED_PREFIXES) {
|
|
7922
|
-
if (name.startsWith(prefix)) return "name-reserved";
|
|
7923
|
-
}
|
|
7924
|
-
if (!EVENT_NAME_RE.test(name)) return "name-regex";
|
|
7925
|
-
return null;
|
|
7926
|
-
}
|
|
7927
|
-
const PROP_KEY_RE = /^[a-zA-Z_][a-zA-Z0-9_]{0,31}$/;
|
|
7928
|
-
function validateEventProps(props) {
|
|
7929
|
-
if (props === void 0 || props === null) return null;
|
|
7930
|
-
if (typeof props !== "object" || Array.isArray(props)) return "props-value-type";
|
|
7931
|
-
const keys = Object.keys(props);
|
|
7932
|
-
if (keys.length > 10) return "props-too-many-keys";
|
|
7933
|
-
for (const k of keys) {
|
|
7934
|
-
const v = props[k];
|
|
7935
|
-
if (!PROP_KEY_RE.test(k)) return "props-key-regex";
|
|
7936
|
-
if (typeof v === "string") {
|
|
7937
|
-
if (v.length > 80) return "props-value-too-long";
|
|
7938
|
-
} else if (typeof v === "number") {
|
|
7939
|
-
if (!isFinite(v)) return "props-value-not-finite";
|
|
7940
|
-
} else if (typeof v === "boolean") {
|
|
7941
|
-
} else {
|
|
7942
|
-
return "props-value-type";
|
|
7943
|
-
}
|
|
7944
|
-
}
|
|
7945
|
-
return null;
|
|
7946
|
-
}
|
|
7947
|
-
return {
|
|
7948
|
-
pageview(path) {
|
|
7949
|
-
if (destroyed) return;
|
|
7950
|
-
sendPageview(path ?? location.pathname);
|
|
7951
|
-
},
|
|
7952
|
-
track(name, props) {
|
|
7953
|
-
if (destroyed) return;
|
|
7954
|
-
if (isDntActive()) return;
|
|
7955
|
-
const doc = document;
|
|
7956
|
-
if (doc.prerendering === true || document.visibilityState === "prerender") return;
|
|
7957
|
-
const nameErr = validateEventName(name);
|
|
7958
|
-
if (nameErr) {
|
|
7959
|
-
devWarn(name, nameErr);
|
|
7960
|
-
return;
|
|
7961
|
-
}
|
|
7962
|
-
if (props !== void 0) {
|
|
7963
|
-
const propsErr = validateEventProps(props);
|
|
7964
|
-
if (propsErr) {
|
|
7965
|
-
devWarn(name, propsErr);
|
|
7966
|
-
return;
|
|
7967
|
-
}
|
|
7968
|
-
}
|
|
7969
|
-
if (sendSuppressed) {
|
|
7970
|
-
devSuppressNotice();
|
|
7971
|
-
return;
|
|
7972
|
-
}
|
|
7973
|
-
const body = JSON.stringify({
|
|
7974
|
-
publishableKey: config.publishableKey,
|
|
7975
|
-
pathname: location.pathname,
|
|
7976
|
-
referrer: document.referrer || "",
|
|
7977
|
-
eventId: newEventId(),
|
|
7978
|
-
eventName: name,
|
|
7979
|
-
eventProps: props,
|
|
7980
|
-
eventTs: Date.now()
|
|
7981
|
-
});
|
|
7982
|
-
sendBeaconOrFetch(body);
|
|
7983
|
-
},
|
|
7984
|
-
destroy() {
|
|
7985
|
-
if (destroyed) return;
|
|
7986
|
-
destroyed = true;
|
|
7987
|
-
if (autoTrack) {
|
|
7988
|
-
history.pushState = originalPushState;
|
|
7989
|
-
history.replaceState = originalReplaceState;
|
|
7990
|
-
window.removeEventListener("popstate", trackCurrentPath);
|
|
7991
|
-
}
|
|
7992
|
-
lastPath = null;
|
|
7993
|
-
lastAt = 0;
|
|
7994
|
-
}
|
|
7995
|
-
};
|
|
7996
|
-
}
|
|
7997
|
-
|
|
7998
7933
|
// src/index.ts
|
|
7999
7934
|
function createClient2(options) {
|
|
8000
7935
|
return createClient(options);
|
|
@@ -8045,7 +7980,6 @@ export {
|
|
|
8045
7980
|
buildProductListingGroupsByOption,
|
|
8046
7981
|
buildProductOptionMatrix,
|
|
8047
7982
|
buildProductOptionMatrixFromDetail,
|
|
8048
|
-
createAnalytics,
|
|
8049
7983
|
createAuthError,
|
|
8050
7984
|
createClient2 as createClient,
|
|
8051
7985
|
createCommerceEmailWebhookHandler,
|