@01.software/sdk 0.45.0 → 0.46.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/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { b_ as BaseApi, aB as ServerApiOptions, aE as SubscribeMembershipParams, aF as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, b$ as ProductDetail, c0 as ProductDetailCatalog, c1 as StockSnapshotResponse, c2 as ProductSelectionMediaSource, c3 as ProductDisplayMediaSource, c4 as ResolveProductSelectionMediaInput, c5 as ResolveProductSelectionMediaResult, c6 as ProductSelectionMediaPointer, h as ClientConfig, c7 as RootClientWithEvents } from './types-C4WuJfw7.cjs';
2
- export { A as AddItemParams, i as ApiQueryOptions, c8 as BulkImportFulfillmentsParams, c9 as BulkImportFulfillmentsResponse, ca as CalculateShippingParams, cb as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, cc as CancelOrderParams, cd as CancelOrderResponse, ce as CancelReasonCode, cf as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, cg as CartWarning, ch as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, ah as Client, u as ClientMetadata, g as ClientState, ah as ClientType, ci as Comment, C as CommerceClient, cj as CommerceClientOptions, a as CommunityClient, ck as CommunityClientOptions, cl as CommunityComment, cm as CommunityCommentListSort, cn as CommunityPost, co as CommunityPostCategory, cp as CommunityPostListSort, cq as CommunityPostTag, cr as CommunityPublicAuthorSnapshot, cs as CommunityPublicMediaAsset, ct as CommunityPublicReference, cu as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, cv as CreateFulfillmentParams, B as CreatePaymentSessionParams, cw as CreateReturnParams, bJ as CustomerAuth, cx as CustomerAuthOptions, bL as CustomerAuthResponse, cy as CustomerAuthorizationUrlInput, cz as CustomerAuthorizationUrlResult, bM as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, cA as CustomerOAuth, cB as CustomerOAuthCallbackResult, cC as CustomerOAuthConfig, cD as CustomerOAuthTokenSet, cE as CustomerOrderListOptions, bK as CustomerProfile, bP as CustomerRefreshResponse, bO as CustomerRegisterData, bN as CustomerRegisterResponse, D as CustomerSnapshot, F as DebugConfig, G as DeepPartial, cF as DiscountApi, cG as DiscountApiOptions, cH as DiscountErrorReasonCode, aZ as EventAdmissionAvailabilityParams, a_ as EventAdmissionAvailabilityResponse, a$ as EventAdmissionAvailabilityType, b0 as EventAdmissionPricePresentment, b1 as EventGuestCancelParams, b2 as EventGuestRegistration, b3 as EventGuestRegistrationResponse, b4 as EventRegistrationAnswerInput, b5 as EventRegistrationAttendeeInput, b6 as EventRegistrationPublic, b7 as EventRegistrationRegisterParams, b8 as EventRegistrationRegisterResponse, b9 as EventsCalendarItem, E as EventsClient, ba as EventsClientOptions, bb as EventsDateParam, bc as EventsExternalSource, bd as EventsLocation, be as EventsOccurrenceLocation, bf as EventsRangeEvent, bg as EventsRangeOccurrence, bh as EventsRangeParams, bi as EventsRangeResponse, bj as EventsTaxonomyItem, H as ExtractArrayType, cI as FeaturedImagePointerInput, cJ as GetOrderByPaymentIdParams, cK as LegacyProductSelectionParamEvent, cL as ListingGroupsParams, cM as MAX_CART_LINE_ADMISSIONS, cN as MarketDTO, cO as MediaValue, I as MembershipStatus, J as Money, cP as NormalizedOptionSwatch, cQ as NormalizedProductSelection, O as OpenCheckoutPaymentState, cR as OrderApi, cS as OrderApiOptions, cT as OrderByPaymentResult, cU as PRODUCT_PLP_FIND_OPTIONS, cV as PRODUCT_UPSERT_READONLY_FIELD_REASON, cW as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, K as PayloadMutationResponse, L as PaymentFailureReason, N as PaymentNextAction, Q as PaymentProviderStatus, R as PaymentReconciliationReason, S as PaymentSessionRole, cX as PrepareFulfillmentOrderParams, cY as PrepareFulfillmentOrderResponse, cZ as ProductApi, c_ as ProductApiOptions, c$ as ProductDetailBrand, bU as ProductDetailCatalogResult, d0 as ProductDetailCatalogVariant, d1 as ProductDetailCategory, d2 as ProductDetailImage, d3 as ProductDetailImageMedia, d4 as ProductDetailMedia, d5 as ProductDetailOption, d6 as ProductDetailOptionValue, bT as ProductDetailParams, d7 as ProductDetailResult, d8 as ProductDetailTag, d9 as ProductDetailUnavailableReason, da as ProductDetailVariant, db as ProductDetailVariantOptionValue, dc as ProductDetailVideo, dd as ProductFallbackLocaleOption, de as ProductHrefGroup, df as ProductHrefOptions, dg as ProductHrefProduct, dh as ProductListingCard, di as ProductListingCardOptions, dj as ProductListingCardPriceRange, dk as ProductListingCardRepresentativeVariant, dl as ProductListingGroup, dm as ProductListingGroupCatalogSummary, dn as ProductListingGroupCatalogVariant, dp as ProductListingGroupProjection, dq as ProductListingGroupSummary, dr as ProductListingGroupVariant, bX as ProductListingGroupsCatalogItem, ds as ProductListingGroupsCatalogProduct, dt as ProductListingGroupsCatalogResponse, bZ as ProductListingGroupsItem, du as ProductListingGroupsProduct, dv as ProductListingGroupsResponse, bS as ProductListingPageBaseParams, bV as ProductListingPageCatalogParams, dw as ProductListingPageFilters, bY as ProductListingPageFullParams, bR as ProductListingPageParams, bW as ProductListingPageResult, dx as ProductListingPageSort, dy as ProductListingProductShape, dz as ProductListingSwatch, dA as ProductLocaleOption, dB as ProductLocaleReadParams, dC as ProductLocalizedText, dD as ProductLocalizedValue, dE as ProductMediaResolutionSource, dF as ProductMoneyRange, dG as ProductOptionMatrix, dH as ProductOptionMatrixOption, dI as ProductOptionMatrixValue, dJ as ProductOptionMatrixVariant, dK as ProductOptionShape, dL as ProductOptionValueShape, dM as ProductOptionValueSwatch, dN as ProductOptionValueSwatchInput, dO as ProductPriceRange, dP as ProductSelectionAvailableSwatch, dQ as ProductSelectionAvailableValue, dR as ProductSelectionByOptionValue, dS as ProductSelectionCodecError, dT as ProductSelectionCodecOptions, dU as ProductSelectionInput, dV as ProductSelectionOptionValue, dW as ProductSelectionResolution, dX as ProductSelectionResolutionContext, dY as ProductSelectionUrlEmit, dZ as ProductSelectionVariant, d_ as ProductUpsertFieldValidationErrorBody, d$ as ProductUpsertFieldValidationErrorReason, T as ProductUpsertInput, U as ProductUpsertParams, V as ProductUpsertResponse, W as ProductUpsertVariantInput, e0 as ProductVariantShape, X as PublicAttribute, Y as PublicCaptureEvidence, Z as PublicCart, _ as PublicCartItem, $ as PublicCartItemAdmission, a0 as PublicCartMarket, a1 as PublicCartReference, a2 as PublicCheckout, e1 as PublicCheckoutBase, a3 as PublicCheckoutItem, a4 as PublicMediaAsset, a5 as PublicMediaSize, a6 as PublicOrder, a7 as PublicOrderAmounts, a8 as PublicOrderItem, a9 as PublicOrderReference, aa as PublicPaymentSession, bI as PublicReadQueryOptions, ab as ReconciliationRequired, ac as RemoveItemParams, e2 as RequestOptions, e3 as ResolveCancelRefundFailedResponse, e4 as ResolveCancelRefundOutcome, e5 as ResolveCancelRefundParams, e6 as ResolveCancelRefundResponse, e7 as ResolveCancelRefundSucceededResponse, e8 as ResolveProductDisplayMediaInput, e9 as ResolveProductDisplayMediaResult, ea as ResolvedCatalogPrice, ad as RetrieveBrowserPaymentSessionParams, ae as RetrieveCartParams, af as RetrieveCheckoutParams, bn as RetrieveServerCheckoutParams, ag as RetryConfig, eb as ReturnCancellationReasonCode, ec as ReturnItem, ed as ReturnReason, ee as ReturnWithRefundItem, ef as ReturnWithRefundParams, ah as RootClient, ai as RootCollectionClient, aj as RootReadOnlyQueryBuilder, eg as ShippingApi, eh as ShippingApiOptions, ak as ShippingLine, al as Sort, am as SpentCheckoutPaymentState, ei as StockCheckParams, ej as StockCheckResponse, ek as StockCheckResult, el as StockSnapshotItem, em as StockSnapshotParams, an as StorefrontContentListOptions, ao as StorefrontContentReference, ap as StorefrontGalleryItem, aq as StorefrontGalleryItemsListOptions, ar as StorefrontGalleryItemsSort, as as StorefrontLink, at as StorefrontLinksListOptions, au as StorefrontLinksSort, av as UpdateCartAttributesParams, aw as UpdateDiscountCodesParams, en as UpdateFulfillmentParams, ax as UpdateItemParams, eo as UpdateOrderParams, bQ as UpdateProfileData, ep as UpdateReturnParams, eq as ValidateDiscountParams, er as ValidateDiscountResult, ay as VariantInput, az as Where, es as WithIdempotencyKey, et as buildProductHref, eu as buildProductListingCard, ev as buildProductListingGroupProjection, ew as buildProductListingGroupsByOption, ex as buildProductOptionMatrix, ey as buildProductOptionMatrixFromDetail, ez as createProductSelectionCodec, eA as getAvailableOptionValues, eB as getProductSelectionImages, eC as getSelectedValueByOptionId, eD as getVariantAvailableForSale, eE as getVariantAvailableStock, eF as isProductUpsertFieldValidationErrorBody, eG as normalizeProductSelection, eH as normalizeProductSelectionFromMatrix, eI as normalizeSelectedValueIds, eJ as parseProductSelection, eK as projectProductToListingShape, eL as resolveFeaturedImagePointer, eM as resolveProductDisplayMedia, eN as resolveProductSelection, eO as resolveProductSelectionFromMatrix, eP as resolveProductSelectionMedia, eQ as resolveVariantForSelection, eR as selectNext, eS as selectedSwatchMediaItemId, eT as stringifyProductSelection, eU as toShopifyPriceRangeV2 } from './types-C4WuJfw7.cjs';
1
+ import { c4 as BaseApi, aB as ServerApiOptions, aE as SubscribeMembershipParams, aF as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, c5 as ProductDetail, c6 as ProductDetailCatalog, c7 as StockSnapshotResponse, c8 as ProductSelectionMediaSource, c9 as ProductDisplayMediaSource, ca as ResolveProductSelectionMediaInput, cb as ResolveProductSelectionMediaResult, cc as ProductSelectionMediaPointer, h as ClientConfig, cd as RootClientWithEvents } from './types-xlqBeW2N.cjs';
2
+ export { A as AddItemParams, i as ApiQueryOptions, ce as BulkImportFulfillmentsParams, cf as BulkImportFulfillmentsResponse, cg as CalculateShippingParams, ch as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, ci as CancelOrderParams, cj as CancelOrderResponse, ck as CancelReasonCode, cl as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, cm as CartWarning, cn as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, ah as Client, u as ClientMetadata, g as ClientState, ah as ClientType, co as Comment, C as CommerceClient, cp as CommerceClientOptions, a as CommunityClient, cq as CommunityClientOptions, cr as CommunityComment, cs as CommunityCommentListSort, ct as CommunityPost, cu as CommunityPostCategory, cv as CommunityPostListSort, cw as CommunityPostTag, cx as CommunityPublicAuthorSnapshot, cy as CommunityPublicMediaAsset, cz as CommunityPublicReference, cA as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, cB as CreateFulfillmentParams, B as CreatePaymentSessionParams, cC as CreateReturnParams, bP as CustomerAuth, cD as CustomerAuthOptions, bR as CustomerAuthResponse, cE as CustomerAuthorizationUrlInput, cF as CustomerAuthorizationUrlResult, bS as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, cG as CustomerOAuth, cH as CustomerOAuthCallbackResult, cI as CustomerOAuthConfig, cJ as CustomerOAuthTokenSet, cK as CustomerOrderListOptions, bQ as CustomerProfile, bV as CustomerRefreshResponse, bU as CustomerRegisterData, bT as CustomerRegisterResponse, D as CustomerSnapshot, F as DebugConfig, G as DeepPartial, cL as DiscountApi, cM as DiscountApiOptions, cN as DiscountErrorReasonCode, b3 as EventAdmissionAvailabilityParams, b4 as EventAdmissionAvailabilityResponse, b5 as EventAdmissionAvailabilityType, b6 as EventAdmissionPricePresentment, b7 as EventGuestCancelParams, b8 as EventGuestRegistration, b9 as EventGuestRegistrationResponse, ba as EventRegistrationAnswerInput, bb as EventRegistrationAttendeeInput, bc as EventRegistrationPublic, bd as EventRegistrationRegisterParams, be as EventRegistrationRegisterResponse, bf as EventsCalendarItem, E as EventsClient, bg as EventsClientOptions, bh as EventsDateParam, bi as EventsExternalSource, bj as EventsLocation, bk as EventsOccurrenceLocation, bl as EventsRangeEvent, bm as EventsRangeOccurrence, bn as EventsRangeParams, bo as EventsRangeResponse, bp as EventsTaxonomyItem, H as ExtractArrayType, cO as FeaturedImagePointerInput, cP as GetOrderByPaymentIdParams, cQ as LegacyProductSelectionParamEvent, cR as ListingGroupsParams, cS as MAX_CART_LINE_ADMISSIONS, cT as MarketDTO, cU as MediaValue, I as MembershipStatus, J as Money, cV as NormalizedOptionSwatch, cW as NormalizedProductSelection, O as OpenCheckoutPaymentState, cX as OrderApi, cY as OrderApiOptions, cZ as OrderByPaymentResult, c_ as PRODUCT_PLP_FIND_OPTIONS, c$ as PRODUCT_UPSERT_READONLY_FIELD_REASON, d0 as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, K as PayloadMutationResponse, L as PaymentFailureReason, N as PaymentNextAction, Q as PaymentProviderStatus, R as PaymentReconciliationReason, S as PaymentSessionRole, d1 as PrepareFulfillmentOrderParams, d2 as PrepareFulfillmentOrderResponse, d3 as ProductApi, d4 as ProductApiOptions, d5 as ProductDetailBrand, b_ as ProductDetailCatalogResult, d6 as ProductDetailCatalogVariant, d7 as ProductDetailCategory, d8 as ProductDetailImage, d9 as ProductDetailImageMedia, da as ProductDetailMedia, db as ProductDetailOption, dc as ProductDetailOptionValue, bZ as ProductDetailParams, dd as ProductDetailResult, de as ProductDetailTag, df as ProductDetailUnavailableReason, dg as ProductDetailVariant, dh as ProductDetailVariantOptionValue, di as ProductDetailVideo, dj as ProductFallbackLocaleOption, dk as ProductHrefGroup, dl as ProductHrefOptions, dm as ProductHrefProduct, dn as ProductListingCard, dp as ProductListingCardOptions, dq as ProductListingCardPriceRange, dr as ProductListingCardRepresentativeVariant, ds as ProductListingGroup, dt as ProductListingGroupCatalogSummary, du as ProductListingGroupCatalogVariant, dv as ProductListingGroupProjection, dw as ProductListingGroupSummary, dx as ProductListingGroupVariant, c1 as ProductListingGroupsCatalogItem, dy as ProductListingGroupsCatalogProduct, dz as ProductListingGroupsCatalogResponse, c3 as ProductListingGroupsItem, dA as ProductListingGroupsProduct, dB as ProductListingGroupsResponse, bY as ProductListingPageBaseParams, b$ as ProductListingPageCatalogParams, dC as ProductListingPageFilters, c2 as ProductListingPageFullParams, bX as ProductListingPageParams, c0 as ProductListingPageResult, dD as ProductListingPageSort, dE as ProductListingProductShape, dF as ProductListingSwatch, dG as ProductLocaleOption, dH as ProductLocaleReadParams, dI as ProductLocalizedText, dJ as ProductLocalizedValue, dK as ProductMediaResolutionSource, dL as ProductMoneyRange, dM as ProductOptionMatrix, dN as ProductOptionMatrixOption, dO as ProductOptionMatrixValue, dP as ProductOptionMatrixVariant, dQ as ProductOptionShape, dR as ProductOptionValueShape, dS as ProductOptionValueSwatch, dT as ProductOptionValueSwatchInput, dU as ProductPriceRange, dV as ProductSelectionAvailableSwatch, dW as ProductSelectionAvailableValue, dX as ProductSelectionByOptionValue, dY as ProductSelectionCodecError, dZ as ProductSelectionCodecOptions, d_ as ProductSelectionInput, d$ as ProductSelectionOptionValue, e0 as ProductSelectionResolution, e1 as ProductSelectionResolutionContext, e2 as ProductSelectionUrlEmit, e3 as ProductSelectionVariant, e4 as ProductUpsertFieldValidationErrorBody, e5 as ProductUpsertFieldValidationErrorReason, T as ProductUpsertInput, U as ProductUpsertParams, V as ProductUpsertResponse, W as ProductUpsertVariantInput, e6 as ProductVariantShape, X as PublicAttribute, Y as PublicCaptureEvidence, Z as PublicCart, _ as PublicCartItem, $ as PublicCartItemAdmission, a0 as PublicCartMarket, a1 as PublicCartReference, a2 as PublicCheckout, e7 as PublicCheckoutBase, a3 as PublicCheckoutItem, a4 as PublicMediaAsset, a5 as PublicMediaSize, a6 as PublicOrder, a7 as PublicOrderAmounts, a8 as PublicOrderItem, a9 as PublicOrderReference, aa as PublicPaymentSession, bO as PublicReadQueryOptions, ab as ReconciliationRequired, ac as RemoveItemParams, e8 as RequestOptions, e9 as ResolveCancelRefundFailedResponse, ea as ResolveCancelRefundOutcome, eb as ResolveCancelRefundParams, ec as ResolveCancelRefundResponse, ed as ResolveCancelRefundSucceededResponse, ee as ResolveProductDisplayMediaInput, ef as ResolveProductDisplayMediaResult, eg as ResolvedCatalogPrice, ad as RetrieveBrowserPaymentSessionParams, ae as RetrieveCartParams, af as RetrieveCheckoutParams, bt as RetrieveServerCheckoutParams, ag as RetryConfig, eh as ReturnCancellationReasonCode, ei as ReturnItem, ej as ReturnReason, ek as ReturnWithRefundItem, el as ReturnWithRefundParams, ah as RootClient, ai as RootCollectionClient, aj as RootReadOnlyQueryBuilder, em as ShippingApi, en as ShippingApiOptions, ak as ShippingLine, al as Sort, am as SpentCheckoutPaymentState, eo as StockCheckParams, ep as StockCheckResponse, eq as StockCheckResult, er as StockSnapshotItem, es as StockSnapshotParams, an as StorefrontContentListOptions, ao as StorefrontContentReference, ap as StorefrontGalleryItem, aq as StorefrontGalleryItemsListOptions, ar as StorefrontGalleryItemsSort, as as StorefrontLink, at as StorefrontLinksListOptions, au as StorefrontLinksSort, av as UpdateCartAttributesParams, aw as UpdateDiscountCodesParams, et as UpdateFulfillmentParams, ax as UpdateItemParams, eu as UpdateOrderParams, bW as UpdateProfileData, ev as UpdateReturnParams, ew as ValidateDiscountParams, ex as ValidateDiscountResult, ay as VariantInput, az as Where, ey as WithIdempotencyKey, ez as buildProductHref, eA as buildProductListingCard, eB as buildProductListingGroupProjection, eC as buildProductListingGroupsByOption, eD as buildProductOptionMatrix, eE as buildProductOptionMatrixFromDetail, eF as createProductSelectionCodec, eG as getAvailableOptionValues, eH as getProductSelectionImages, eI as getSelectedValueByOptionId, eJ as getVariantAvailableForSale, eK as getVariantAvailableStock, eL as isProductUpsertFieldValidationErrorBody, eM as normalizeProductSelection, eN as normalizeProductSelectionFromMatrix, eO as normalizeSelectedValueIds, eP as parseProductSelection, eQ as projectProductToListingShape, eR as resolveFeaturedImagePointer, eS as resolveProductDisplayMedia, eT as resolveProductSelection, eU as resolveProductSelectionFromMatrix, eV as resolveProductSelectionMedia, eW as resolveVariantForSelection, eX as selectNext, eY as selectedSwatchMediaItemId, eZ as stringifyProductSelection, e_ as toShopifyPriceRangeV2 } from './types-xlqBeW2N.cjs';
3
3
  import { P as Product } from './payload-types-CJZuXcgF.cjs';
4
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-CJZuXcgF.cjs';
5
5
  export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-D5p7-m1l.cjs';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { b_ as BaseApi, aB as ServerApiOptions, aE as SubscribeMembershipParams, aF as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, b$ as ProductDetail, c0 as ProductDetailCatalog, c1 as StockSnapshotResponse, c2 as ProductSelectionMediaSource, c3 as ProductDisplayMediaSource, c4 as ResolveProductSelectionMediaInput, c5 as ResolveProductSelectionMediaResult, c6 as ProductSelectionMediaPointer, h as ClientConfig, c7 as RootClientWithEvents } from './types-BlOvjoTX.js';
2
- export { A as AddItemParams, i as ApiQueryOptions, c8 as BulkImportFulfillmentsParams, c9 as BulkImportFulfillmentsResponse, ca as CalculateShippingParams, cb as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, cc as CancelOrderParams, cd as CancelOrderResponse, ce as CancelReasonCode, cf as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, cg as CartWarning, ch as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, ah as Client, u as ClientMetadata, g as ClientState, ah as ClientType, ci as Comment, C as CommerceClient, cj as CommerceClientOptions, a as CommunityClient, ck as CommunityClientOptions, cl as CommunityComment, cm as CommunityCommentListSort, cn as CommunityPost, co as CommunityPostCategory, cp as CommunityPostListSort, cq as CommunityPostTag, cr as CommunityPublicAuthorSnapshot, cs as CommunityPublicMediaAsset, ct as CommunityPublicReference, cu as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, cv as CreateFulfillmentParams, B as CreatePaymentSessionParams, cw as CreateReturnParams, bJ as CustomerAuth, cx as CustomerAuthOptions, bL as CustomerAuthResponse, cy as CustomerAuthorizationUrlInput, cz as CustomerAuthorizationUrlResult, bM as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, cA as CustomerOAuth, cB as CustomerOAuthCallbackResult, cC as CustomerOAuthConfig, cD as CustomerOAuthTokenSet, cE as CustomerOrderListOptions, bK as CustomerProfile, bP as CustomerRefreshResponse, bO as CustomerRegisterData, bN as CustomerRegisterResponse, D as CustomerSnapshot, F as DebugConfig, G as DeepPartial, cF as DiscountApi, cG as DiscountApiOptions, cH as DiscountErrorReasonCode, aZ as EventAdmissionAvailabilityParams, a_ as EventAdmissionAvailabilityResponse, a$ as EventAdmissionAvailabilityType, b0 as EventAdmissionPricePresentment, b1 as EventGuestCancelParams, b2 as EventGuestRegistration, b3 as EventGuestRegistrationResponse, b4 as EventRegistrationAnswerInput, b5 as EventRegistrationAttendeeInput, b6 as EventRegistrationPublic, b7 as EventRegistrationRegisterParams, b8 as EventRegistrationRegisterResponse, b9 as EventsCalendarItem, E as EventsClient, ba as EventsClientOptions, bb as EventsDateParam, bc as EventsExternalSource, bd as EventsLocation, be as EventsOccurrenceLocation, bf as EventsRangeEvent, bg as EventsRangeOccurrence, bh as EventsRangeParams, bi as EventsRangeResponse, bj as EventsTaxonomyItem, H as ExtractArrayType, cI as FeaturedImagePointerInput, cJ as GetOrderByPaymentIdParams, cK as LegacyProductSelectionParamEvent, cL as ListingGroupsParams, cM as MAX_CART_LINE_ADMISSIONS, cN as MarketDTO, cO as MediaValue, I as MembershipStatus, J as Money, cP as NormalizedOptionSwatch, cQ as NormalizedProductSelection, O as OpenCheckoutPaymentState, cR as OrderApi, cS as OrderApiOptions, cT as OrderByPaymentResult, cU as PRODUCT_PLP_FIND_OPTIONS, cV as PRODUCT_UPSERT_READONLY_FIELD_REASON, cW as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, K as PayloadMutationResponse, L as PaymentFailureReason, N as PaymentNextAction, Q as PaymentProviderStatus, R as PaymentReconciliationReason, S as PaymentSessionRole, cX as PrepareFulfillmentOrderParams, cY as PrepareFulfillmentOrderResponse, cZ as ProductApi, c_ as ProductApiOptions, c$ as ProductDetailBrand, bU as ProductDetailCatalogResult, d0 as ProductDetailCatalogVariant, d1 as ProductDetailCategory, d2 as ProductDetailImage, d3 as ProductDetailImageMedia, d4 as ProductDetailMedia, d5 as ProductDetailOption, d6 as ProductDetailOptionValue, bT as ProductDetailParams, d7 as ProductDetailResult, d8 as ProductDetailTag, d9 as ProductDetailUnavailableReason, da as ProductDetailVariant, db as ProductDetailVariantOptionValue, dc as ProductDetailVideo, dd as ProductFallbackLocaleOption, de as ProductHrefGroup, df as ProductHrefOptions, dg as ProductHrefProduct, dh as ProductListingCard, di as ProductListingCardOptions, dj as ProductListingCardPriceRange, dk as ProductListingCardRepresentativeVariant, dl as ProductListingGroup, dm as ProductListingGroupCatalogSummary, dn as ProductListingGroupCatalogVariant, dp as ProductListingGroupProjection, dq as ProductListingGroupSummary, dr as ProductListingGroupVariant, bX as ProductListingGroupsCatalogItem, ds as ProductListingGroupsCatalogProduct, dt as ProductListingGroupsCatalogResponse, bZ as ProductListingGroupsItem, du as ProductListingGroupsProduct, dv as ProductListingGroupsResponse, bS as ProductListingPageBaseParams, bV as ProductListingPageCatalogParams, dw as ProductListingPageFilters, bY as ProductListingPageFullParams, bR as ProductListingPageParams, bW as ProductListingPageResult, dx as ProductListingPageSort, dy as ProductListingProductShape, dz as ProductListingSwatch, dA as ProductLocaleOption, dB as ProductLocaleReadParams, dC as ProductLocalizedText, dD as ProductLocalizedValue, dE as ProductMediaResolutionSource, dF as ProductMoneyRange, dG as ProductOptionMatrix, dH as ProductOptionMatrixOption, dI as ProductOptionMatrixValue, dJ as ProductOptionMatrixVariant, dK as ProductOptionShape, dL as ProductOptionValueShape, dM as ProductOptionValueSwatch, dN as ProductOptionValueSwatchInput, dO as ProductPriceRange, dP as ProductSelectionAvailableSwatch, dQ as ProductSelectionAvailableValue, dR as ProductSelectionByOptionValue, dS as ProductSelectionCodecError, dT as ProductSelectionCodecOptions, dU as ProductSelectionInput, dV as ProductSelectionOptionValue, dW as ProductSelectionResolution, dX as ProductSelectionResolutionContext, dY as ProductSelectionUrlEmit, dZ as ProductSelectionVariant, d_ as ProductUpsertFieldValidationErrorBody, d$ as ProductUpsertFieldValidationErrorReason, T as ProductUpsertInput, U as ProductUpsertParams, V as ProductUpsertResponse, W as ProductUpsertVariantInput, e0 as ProductVariantShape, X as PublicAttribute, Y as PublicCaptureEvidence, Z as PublicCart, _ as PublicCartItem, $ as PublicCartItemAdmission, a0 as PublicCartMarket, a1 as PublicCartReference, a2 as PublicCheckout, e1 as PublicCheckoutBase, a3 as PublicCheckoutItem, a4 as PublicMediaAsset, a5 as PublicMediaSize, a6 as PublicOrder, a7 as PublicOrderAmounts, a8 as PublicOrderItem, a9 as PublicOrderReference, aa as PublicPaymentSession, bI as PublicReadQueryOptions, ab as ReconciliationRequired, ac as RemoveItemParams, e2 as RequestOptions, e3 as ResolveCancelRefundFailedResponse, e4 as ResolveCancelRefundOutcome, e5 as ResolveCancelRefundParams, e6 as ResolveCancelRefundResponse, e7 as ResolveCancelRefundSucceededResponse, e8 as ResolveProductDisplayMediaInput, e9 as ResolveProductDisplayMediaResult, ea as ResolvedCatalogPrice, ad as RetrieveBrowserPaymentSessionParams, ae as RetrieveCartParams, af as RetrieveCheckoutParams, bn as RetrieveServerCheckoutParams, ag as RetryConfig, eb as ReturnCancellationReasonCode, ec as ReturnItem, ed as ReturnReason, ee as ReturnWithRefundItem, ef as ReturnWithRefundParams, ah as RootClient, ai as RootCollectionClient, aj as RootReadOnlyQueryBuilder, eg as ShippingApi, eh as ShippingApiOptions, ak as ShippingLine, al as Sort, am as SpentCheckoutPaymentState, ei as StockCheckParams, ej as StockCheckResponse, ek as StockCheckResult, el as StockSnapshotItem, em as StockSnapshotParams, an as StorefrontContentListOptions, ao as StorefrontContentReference, ap as StorefrontGalleryItem, aq as StorefrontGalleryItemsListOptions, ar as StorefrontGalleryItemsSort, as as StorefrontLink, at as StorefrontLinksListOptions, au as StorefrontLinksSort, av as UpdateCartAttributesParams, aw as UpdateDiscountCodesParams, en as UpdateFulfillmentParams, ax as UpdateItemParams, eo as UpdateOrderParams, bQ as UpdateProfileData, ep as UpdateReturnParams, eq as ValidateDiscountParams, er as ValidateDiscountResult, ay as VariantInput, az as Where, es as WithIdempotencyKey, et as buildProductHref, eu as buildProductListingCard, ev as buildProductListingGroupProjection, ew as buildProductListingGroupsByOption, ex as buildProductOptionMatrix, ey as buildProductOptionMatrixFromDetail, ez as createProductSelectionCodec, eA as getAvailableOptionValues, eB as getProductSelectionImages, eC as getSelectedValueByOptionId, eD as getVariantAvailableForSale, eE as getVariantAvailableStock, eF as isProductUpsertFieldValidationErrorBody, eG as normalizeProductSelection, eH as normalizeProductSelectionFromMatrix, eI as normalizeSelectedValueIds, eJ as parseProductSelection, eK as projectProductToListingShape, eL as resolveFeaturedImagePointer, eM as resolveProductDisplayMedia, eN as resolveProductSelection, eO as resolveProductSelectionFromMatrix, eP as resolveProductSelectionMedia, eQ as resolveVariantForSelection, eR as selectNext, eS as selectedSwatchMediaItemId, eT as stringifyProductSelection, eU as toShopifyPriceRangeV2 } from './types-BlOvjoTX.js';
1
+ import { c4 as BaseApi, aB as ServerApiOptions, aE as SubscribeMembershipParams, aF as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, c5 as ProductDetail, c6 as ProductDetailCatalog, c7 as StockSnapshotResponse, c8 as ProductSelectionMediaSource, c9 as ProductDisplayMediaSource, ca as ResolveProductSelectionMediaInput, cb as ResolveProductSelectionMediaResult, cc as ProductSelectionMediaPointer, h as ClientConfig, cd as RootClientWithEvents } from './types-C60vHIkY.js';
2
+ export { A as AddItemParams, i as ApiQueryOptions, ce as BulkImportFulfillmentsParams, cf as BulkImportFulfillmentsResponse, cg as CalculateShippingParams, ch as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, ci as CancelOrderParams, cj as CancelOrderResponse, ck as CancelReasonCode, cl as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, cm as CartWarning, cn as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, ah as Client, u as ClientMetadata, g as ClientState, ah as ClientType, co as Comment, C as CommerceClient, cp as CommerceClientOptions, a as CommunityClient, cq as CommunityClientOptions, cr as CommunityComment, cs as CommunityCommentListSort, ct as CommunityPost, cu as CommunityPostCategory, cv as CommunityPostListSort, cw as CommunityPostTag, cx as CommunityPublicAuthorSnapshot, cy as CommunityPublicMediaAsset, cz as CommunityPublicReference, cA as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, cB as CreateFulfillmentParams, B as CreatePaymentSessionParams, cC as CreateReturnParams, bP as CustomerAuth, cD as CustomerAuthOptions, bR as CustomerAuthResponse, cE as CustomerAuthorizationUrlInput, cF as CustomerAuthorizationUrlResult, bS as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, cG as CustomerOAuth, cH as CustomerOAuthCallbackResult, cI as CustomerOAuthConfig, cJ as CustomerOAuthTokenSet, cK as CustomerOrderListOptions, bQ as CustomerProfile, bV as CustomerRefreshResponse, bU as CustomerRegisterData, bT as CustomerRegisterResponse, D as CustomerSnapshot, F as DebugConfig, G as DeepPartial, cL as DiscountApi, cM as DiscountApiOptions, cN as DiscountErrorReasonCode, b3 as EventAdmissionAvailabilityParams, b4 as EventAdmissionAvailabilityResponse, b5 as EventAdmissionAvailabilityType, b6 as EventAdmissionPricePresentment, b7 as EventGuestCancelParams, b8 as EventGuestRegistration, b9 as EventGuestRegistrationResponse, ba as EventRegistrationAnswerInput, bb as EventRegistrationAttendeeInput, bc as EventRegistrationPublic, bd as EventRegistrationRegisterParams, be as EventRegistrationRegisterResponse, bf as EventsCalendarItem, E as EventsClient, bg as EventsClientOptions, bh as EventsDateParam, bi as EventsExternalSource, bj as EventsLocation, bk as EventsOccurrenceLocation, bl as EventsRangeEvent, bm as EventsRangeOccurrence, bn as EventsRangeParams, bo as EventsRangeResponse, bp as EventsTaxonomyItem, H as ExtractArrayType, cO as FeaturedImagePointerInput, cP as GetOrderByPaymentIdParams, cQ as LegacyProductSelectionParamEvent, cR as ListingGroupsParams, cS as MAX_CART_LINE_ADMISSIONS, cT as MarketDTO, cU as MediaValue, I as MembershipStatus, J as Money, cV as NormalizedOptionSwatch, cW as NormalizedProductSelection, O as OpenCheckoutPaymentState, cX as OrderApi, cY as OrderApiOptions, cZ as OrderByPaymentResult, c_ as PRODUCT_PLP_FIND_OPTIONS, c$ as PRODUCT_UPSERT_READONLY_FIELD_REASON, d0 as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, K as PayloadMutationResponse, L as PaymentFailureReason, N as PaymentNextAction, Q as PaymentProviderStatus, R as PaymentReconciliationReason, S as PaymentSessionRole, d1 as PrepareFulfillmentOrderParams, d2 as PrepareFulfillmentOrderResponse, d3 as ProductApi, d4 as ProductApiOptions, d5 as ProductDetailBrand, b_ as ProductDetailCatalogResult, d6 as ProductDetailCatalogVariant, d7 as ProductDetailCategory, d8 as ProductDetailImage, d9 as ProductDetailImageMedia, da as ProductDetailMedia, db as ProductDetailOption, dc as ProductDetailOptionValue, bZ as ProductDetailParams, dd as ProductDetailResult, de as ProductDetailTag, df as ProductDetailUnavailableReason, dg as ProductDetailVariant, dh as ProductDetailVariantOptionValue, di as ProductDetailVideo, dj as ProductFallbackLocaleOption, dk as ProductHrefGroup, dl as ProductHrefOptions, dm as ProductHrefProduct, dn as ProductListingCard, dp as ProductListingCardOptions, dq as ProductListingCardPriceRange, dr as ProductListingCardRepresentativeVariant, ds as ProductListingGroup, dt as ProductListingGroupCatalogSummary, du as ProductListingGroupCatalogVariant, dv as ProductListingGroupProjection, dw as ProductListingGroupSummary, dx as ProductListingGroupVariant, c1 as ProductListingGroupsCatalogItem, dy as ProductListingGroupsCatalogProduct, dz as ProductListingGroupsCatalogResponse, c3 as ProductListingGroupsItem, dA as ProductListingGroupsProduct, dB as ProductListingGroupsResponse, bY as ProductListingPageBaseParams, b$ as ProductListingPageCatalogParams, dC as ProductListingPageFilters, c2 as ProductListingPageFullParams, bX as ProductListingPageParams, c0 as ProductListingPageResult, dD as ProductListingPageSort, dE as ProductListingProductShape, dF as ProductListingSwatch, dG as ProductLocaleOption, dH as ProductLocaleReadParams, dI as ProductLocalizedText, dJ as ProductLocalizedValue, dK as ProductMediaResolutionSource, dL as ProductMoneyRange, dM as ProductOptionMatrix, dN as ProductOptionMatrixOption, dO as ProductOptionMatrixValue, dP as ProductOptionMatrixVariant, dQ as ProductOptionShape, dR as ProductOptionValueShape, dS as ProductOptionValueSwatch, dT as ProductOptionValueSwatchInput, dU as ProductPriceRange, dV as ProductSelectionAvailableSwatch, dW as ProductSelectionAvailableValue, dX as ProductSelectionByOptionValue, dY as ProductSelectionCodecError, dZ as ProductSelectionCodecOptions, d_ as ProductSelectionInput, d$ as ProductSelectionOptionValue, e0 as ProductSelectionResolution, e1 as ProductSelectionResolutionContext, e2 as ProductSelectionUrlEmit, e3 as ProductSelectionVariant, e4 as ProductUpsertFieldValidationErrorBody, e5 as ProductUpsertFieldValidationErrorReason, T as ProductUpsertInput, U as ProductUpsertParams, V as ProductUpsertResponse, W as ProductUpsertVariantInput, e6 as ProductVariantShape, X as PublicAttribute, Y as PublicCaptureEvidence, Z as PublicCart, _ as PublicCartItem, $ as PublicCartItemAdmission, a0 as PublicCartMarket, a1 as PublicCartReference, a2 as PublicCheckout, e7 as PublicCheckoutBase, a3 as PublicCheckoutItem, a4 as PublicMediaAsset, a5 as PublicMediaSize, a6 as PublicOrder, a7 as PublicOrderAmounts, a8 as PublicOrderItem, a9 as PublicOrderReference, aa as PublicPaymentSession, bO as PublicReadQueryOptions, ab as ReconciliationRequired, ac as RemoveItemParams, e8 as RequestOptions, e9 as ResolveCancelRefundFailedResponse, ea as ResolveCancelRefundOutcome, eb as ResolveCancelRefundParams, ec as ResolveCancelRefundResponse, ed as ResolveCancelRefundSucceededResponse, ee as ResolveProductDisplayMediaInput, ef as ResolveProductDisplayMediaResult, eg as ResolvedCatalogPrice, ad as RetrieveBrowserPaymentSessionParams, ae as RetrieveCartParams, af as RetrieveCheckoutParams, bt as RetrieveServerCheckoutParams, ag as RetryConfig, eh as ReturnCancellationReasonCode, ei as ReturnItem, ej as ReturnReason, ek as ReturnWithRefundItem, el as ReturnWithRefundParams, ah as RootClient, ai as RootCollectionClient, aj as RootReadOnlyQueryBuilder, em as ShippingApi, en as ShippingApiOptions, ak as ShippingLine, al as Sort, am as SpentCheckoutPaymentState, eo as StockCheckParams, ep as StockCheckResponse, eq as StockCheckResult, er as StockSnapshotItem, es as StockSnapshotParams, an as StorefrontContentListOptions, ao as StorefrontContentReference, ap as StorefrontGalleryItem, aq as StorefrontGalleryItemsListOptions, ar as StorefrontGalleryItemsSort, as as StorefrontLink, at as StorefrontLinksListOptions, au as StorefrontLinksSort, av as UpdateCartAttributesParams, aw as UpdateDiscountCodesParams, et as UpdateFulfillmentParams, ax as UpdateItemParams, eu as UpdateOrderParams, bW as UpdateProfileData, ev as UpdateReturnParams, ew as ValidateDiscountParams, ex as ValidateDiscountResult, ay as VariantInput, az as Where, ey as WithIdempotencyKey, ez as buildProductHref, eA as buildProductListingCard, eB as buildProductListingGroupProjection, eC as buildProductListingGroupsByOption, eD as buildProductOptionMatrix, eE as buildProductOptionMatrixFromDetail, eF as createProductSelectionCodec, eG as getAvailableOptionValues, eH as getProductSelectionImages, eI as getSelectedValueByOptionId, eJ as getVariantAvailableForSale, eK as getVariantAvailableStock, eL as isProductUpsertFieldValidationErrorBody, eM as normalizeProductSelection, eN as normalizeProductSelectionFromMatrix, eO as normalizeSelectedValueIds, eP as parseProductSelection, eQ as projectProductToListingShape, eR as resolveFeaturedImagePointer, eS as resolveProductDisplayMedia, eT as resolveProductSelection, eU as resolveProductSelectionFromMatrix, eV as resolveProductSelectionMedia, eW as resolveVariantForSelection, eX as selectNext, eY as selectedSwatchMediaItemId, eZ as stringifyProductSelection, e_ as toShopifyPriceRangeV2 } from './types-C60vHIkY.js';
3
3
  import { P as Product } from './payload-types-CJZuXcgF.js';
4
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-CJZuXcgF.js';
5
5
  export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-BC6rVmJa.js';
package/dist/index.js CHANGED
@@ -420,6 +420,11 @@ function redactSensitiveHeaders(headers) {
420
420
  redacted["x-preview-token"]
421
421
  );
422
422
  }
423
+ if (redacted["x-custom-payment-signature"]) {
424
+ redacted["x-custom-payment-signature"] = redactSensitiveHeader(
425
+ redacted["x-custom-payment-signature"]
426
+ );
427
+ }
423
428
  return redacted;
424
429
  }
425
430
  function getErrorSuggestion(status) {
@@ -1420,6 +1425,14 @@ var COMMERCE_ENDPOINTS = {
1420
1425
  create: endpoint("POST", "/api/payment-sessions/create"),
1421
1426
  retrieve: endpoint("POST", "/api/payment-sessions/retrieve"),
1422
1427
  cancel: endpoint("POST", "/api/payment-sessions/cancel"),
1428
+ custom: {
1429
+ create: sharedEndpoint(
1430
+ COMMERCE_ENDPOINT_OPERATIONS.paymentSessions.custom.create
1431
+ ),
1432
+ confirm: sharedEndpoint(
1433
+ COMMERCE_ENDPOINT_OPERATIONS.paymentSessions.custom.confirm
1434
+ )
1435
+ },
1423
1436
  server: {
1424
1437
  create: endpoint("POST", "/api/payment-sessions/server/create"),
1425
1438
  retrieve: endpoint("POST", "/api/payment-sessions/server/retrieve"),