@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/CHANGELOG.md +8 -0
- package/MIGRATION.md +19 -0
- package/README.md +49 -4
- package/dist/client.cjs +13 -0
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +3 -3
- package/dist/client.d.ts +3 -3
- package/dist/client.js +13 -0
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-Ckfusuee.d.ts → collection-client-D6kKrYdq.d.ts} +1 -1
- package/dist/{collection-client-BSo7VXQE.d.cts → collection-client-DolMjCoC.d.cts} +1 -1
- package/dist/index.cjs +13 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +8 -0
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +2 -2
- package/dist/query.d.ts +2 -2
- package/dist/query.js +8 -0
- package/dist/query.js.map +1 -1
- package/dist/server.cjs +99 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +99 -1
- package/dist/server.js.map +1 -1
- package/dist/{types-BlOvjoTX.d.ts → types-C60vHIkY.d.ts} +40 -1
- package/dist/{types-C4WuJfw7.d.cts → types-xlqBeW2N.d.cts} +40 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AddItemParams, i as ApiQueryOptions,
|
|
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 {
|
|
2
|
-
export { A as AddItemParams, i as ApiQueryOptions,
|
|
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"),
|