@01.software/sdk 0.73.1 → 0.74.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 +39 -0
- package/README.md +30 -3
- package/dist/client.cjs +12 -9
- 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 +12 -9
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-BH4dIZ6c.d.cts → collection-client-Bb1Wa6T6.d.cts} +4 -4
- package/dist/{collection-client-lLAl3xCZ.d.ts → collection-client-DBrLM9RR.d.ts} +4 -4
- package/dist/{const-CCvoknRY.d.ts → const-CkY2zB6J.d.ts} +1 -1
- package/dist/{const-BS2EaIp4.d.cts → const-DWTSgCkn.d.cts} +1 -1
- package/dist/{index-DVqNpmsc.d.ts → index-Daoh-98A.d.ts} +3 -3
- package/dist/{index-CHdrzJ8-.d.cts → index-Di5AybQN.d.cts} +3 -3
- package/dist/index.cjs +12 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +12 -9
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-PXkmefhZ.d.cts → payload-types-zukuL1s_.d.cts} +345 -1755
- package/dist/{payload-types-PXkmefhZ.d.ts → payload-types-zukuL1s_.d.ts} +345 -1755
- package/dist/query.cjs +4 -0
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +5 -5
- package/dist/query.d.ts +5 -5
- package/dist/query.js +4 -0
- package/dist/query.js.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/server.cjs +12 -9
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.js +12 -9
- package/dist/server.js.map +1 -1
- package/dist/{types-CyMz0Kzc.d.cts → types-BI7aowdu.d.cts} +4 -4
- package/dist/{types-lbzbJSZh.d.ts → types-BsJokT6P.d.ts} +59 -16
- package/dist/{types-CQRsG6sA.d.ts → types-SsS04wGw.d.ts} +4 -4
- package/dist/{types-Chwgg4CQ.d.cts → types-evAvqRBj.d.cts} +59 -16
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/webhook.d.cts +5 -5
- package/dist/webhook.d.ts +5 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AddItemParams, d8 as ApiQueryOptions, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, l as BenefitVouchersApi, d_ as BillingCustodyContextWireRequest, d$ as BillingCustodyWireRequest, e0 as BulkImportFulfillmentsParams, e1 as BulkImportFulfillmentsResponse, e2 as CalculateShippingParams, e3 as CalculateShippingResult, d9 as CancelBrowserPaymentSessionParams, e4 as CancelOrderManagedAlreadyCanceledResponse, e5 as CancelOrderManagedCommittedResponse, e6 as CancelOrderParams, e7 as CancelOrderResponse, e8 as CancelReasonCode, e9 as CartDiscountCode, da as CartMergeParams, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, ea as CartWarning, eb as CartWarningCode, J as CheckoutAbandonedReason, K as CheckoutAmounts, ec as CheckoutFunding, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, Y as CheckoutShippingAddress, $ as ClearCartParams, dm as Client, db as ClientMetadata, q as ClientState, dm as ClientType, ed as Comment, d4 as CommerceClient, ee as CommerceClientOptions, n as CommunityClient, ef as CommunityClientOptions, eg as CommunityComment, eh as CommunityCommentListSort, ei as CommunityPost, ej as CommunityPostCategory, ek as CommunityPostListSort, el as CommunityPostTag, em as CommunityPublicAuthorSnapshot, en as CommunityPublicMediaAsset, eo as CommunityPublicReference, ep as CompatibilityProductSelectionParamEvent, d5 as ContentClient, dc as ContentClientOptions, a9 as CreateCartParams, aa as CreateCartResult, dd as CreateCheckoutParams, de as CreateCheckoutResult, eq as CreateFulfillmentParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, er as CreateReturnParams, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, m as CreditsApi, dE as CustomerAuth, es as CustomerAuthOptions, dG as CustomerAuthResponse, et as CustomerAuthorizationUrlInput, eu as CustomerAuthorizationUrlResult, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, i as CustomerGroupApi, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, dH as CustomerLoginData, aw as CustomerMembershipView, d6 as CustomerNamespace, ev as CustomerOAuth, ew as CustomerOAuthCallbackResult, ex as CustomerOAuthConfig, ey as CustomerOAuthTokenSet, ez as CustomerOrderListOptions, dF as CustomerProfile, dK as CustomerRefreshResponse, dJ as CustomerRegisterData, dI as CustomerRegisterResponse, ax as CustomerSnapshot, eA as CustomerWithdrawalResult, df as DebugConfig, dg as DeepPartial, eB as DiscountApi, eC as DiscountApiOptions, eD as DiscountErrorReasonCode, az as EventAdmissionAvailabilityParams, aA as EventAdmissionAvailabilityResponse, aB as EventAdmissionAvailabilityType, aC as EventAdmissionPricePresentment, aD as EventGuestCancelParams, aE as EventGuestRegistration, aF as EventGuestRegistrationResponse, aG as EventMyRegistration, aH as EventMyRegistrationsParams, aI as EventMyRegistrationsResponse, aJ as EventRegistrationAnswerInput, aK as EventRegistrationAttendeeInput, aL as EventRegistrationPublic, aM as EventRegistrationRegisterParams, aN as EventRegistrationRegisterResponse, aO as EventsCalendarItem, aP as EventsClient, aQ as EventsClientOptions, aR as EventsDateParam, aS as EventsExternalSource, aT as EventsLocation, aU as EventsOccurrenceLocation, aV as EventsRangeEvent, aW as EventsRangeOccurrence, aX as EventsRangeParams, aY as EventsRangeResponse, aZ as EventsTaxonomyItem, dh as ExtractArrayType, eE as FeaturedImagePointerInput, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eF as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eG as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eH as ListingGroupsParams, eI as MAX_CART_LINE_ADMISSIONS, eJ as ManagedCancelRefundOutcome, eK as ManagedPaymentNextAction, eL as ManagedPublicPaymentSession, eM as MarketDTO, eN as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, eO as NormalizedOptionSwatch, eP as NormalizedProductSelection, bz as OpenCheckoutPaymentState, eQ as OrderApi, eR as OrderApiOptions, eS as OrderByPaymentResult, eT as PRODUCT_PLP_FIND_OPTIONS, eU as PRODUCT_UPSERT_READONLY_FIELD_REASON, eV as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, di as PayloadFindResponse, dj as PayloadMutationResponse, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bJ as PortOnePaymentNextAction, bM as PortOnePublicPaymentSession, eW as PrepareFulfillmentOrderParams, eX as PrepareFulfillmentOrderResponse, eY as ProductApi, eZ as ProductApiOptions, e_ as ProductDetailBrand, dP as ProductDetailCatalogResult, e$ as ProductDetailCatalogVariant, f0 as ProductDetailCategory, f1 as ProductDetailImage, f2 as ProductDetailImageMedia, f3 as ProductDetailMedia, f4 as ProductDetailOption, f5 as ProductDetailOptionValue, dO as ProductDetailParams, f6 as ProductDetailResult, f7 as ProductDetailTag, f8 as ProductDetailUnavailableReason, f9 as ProductDetailVariant, fa as ProductDetailVariantOptionValue, fb as ProductDetailVideo, fc as ProductDisplayMediaSource, fd as ProductFallbackLocaleOption, fe as ProductHrefGroup, ff as ProductHrefOptions, fg as ProductHrefProduct, fh as ProductListingCard, fi as ProductListingCardOptions, fj as ProductListingCardPriceRange, fk as ProductListingCardRepresentativeVariant, fl as ProductListingGroup, fm as ProductListingGroupCatalogSummary, fn as ProductListingGroupCatalogVariant, fo as ProductListingGroupProjection, fp as ProductListingGroupSummary, fq as ProductListingGroupVariant, dS as ProductListingGroupsCatalogItem, fr as ProductListingGroupsCatalogProduct, fs as ProductListingGroupsCatalogResponse, dU as ProductListingGroupsItem, ft as ProductListingGroupsProduct, fu as ProductListingGroupsResponse, dN as ProductListingPageBaseParams, dQ as ProductListingPageCatalogParams, fv as ProductListingPageFilters, dT as ProductListingPageFullParams, dM as ProductListingPageParams, dR as ProductListingPageResult, fw as ProductListingPageSort, fx as ProductListingProductShape, fy as ProductListingSwatch, fz as ProductLocaleOption, fA as ProductLocaleReadParams, fB as ProductLocalizedText, fC as ProductLocalizedValue, fD as ProductMediaResolutionSource, fE as ProductMoneyRange, fF as ProductOptionMatrix, fG as ProductOptionMatrixOption, fH as ProductOptionMatrixValue, fI as ProductOptionMatrixVariant, fJ as ProductOptionShape, fK as ProductOptionValueShape, fL as ProductOptionValueSwatch, fM as ProductOptionValueSwatchInput, fN as ProductPriceRange, fO as ProductSelectionAvailableSwatch, fP as ProductSelectionAvailableValue, fQ as ProductSelectionByOptionValue, fR as ProductSelectionCodecError, fS as ProductSelectionCodecOptions, fT as ProductSelectionInput, fU as ProductSelectionMediaPointer, fV as ProductSelectionMediaSource, fW as ProductSelectionOptionValue, fX as ProductSelectionResolution, fY as ProductSelectionResolutionContext, fZ as ProductSelectionUrlEmit, f_ as ProductSelectionVariant, f$ as ProductUpsertFieldValidationErrorBody, g0 as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, g1 as ProductVariantShape, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, g2 as PublicCheckoutBase, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, dD as PublicReadQueryOptions, ca as ReconciliationRequired, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, g3 as RequestOptions, g4 as ResolveCancelRefundFailedResponse, g5 as ResolveCancelRefundOutcome, g6 as ResolveCancelRefundParams, g7 as ResolveCancelRefundResponse, g8 as ResolveCancelRefundSucceededResponse, g9 as ResolveProductDisplayMediaInput, ga as ResolveProductDisplayMediaResult, gb as ResolveProductSelectionMediaInput, gc as ResolveProductSelectionMediaResult, gd as ResolvedCatalogPrice, dk as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dl as RetryConfig, ge as ReturnCancellationReasonCode, gf as ReturnItem, gg as ReturnReason, gh as ReturnWithRefundItem, gi as ReturnWithRefundParams, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, dm as RootClient, dn as RootCollectionClient, dp as RootReadOnlyQueryBuilder, gj as ShippingApi, gk as ShippingApiOptions, cv as ShippingLine, dq as Sort, cw as SpentCheckoutPaymentState, gl as StockCheckParams, gm as StockCheckResponse, gn as StockCheckResult, go as StockSnapshotItem, gp as StockSnapshotParams, dr as StorefrontContentListOptions, ds as StorefrontContentReference, dt as StorefrontGalleryItem, du as StorefrontGalleryItemsListOptions, dv as StorefrontGalleryItemsSort, dw as StorefrontLink, dx as StorefrontLinksListOptions, dy as StorefrontLinksSort, cN as UpdateCartAttributesParams, cO as UpdateDiscountCodesParams, gq as UpdateFulfillmentParams, cP as UpdateItemParams, gr as UpdateOrderParams, dL as UpdateProfileData, gs as UpdateReturnParams, gt as ValidateDiscountParams, gu as ValidateDiscountResult, cQ as VariantInput, gv as VideoPlaybackResponse, cU as VoidBenefitVoucherRequest, dz as Where, gw as WithIdempotencyKey, gx as buildProductHref, gy as buildProductListingCard, gz as buildProductListingGroupProjection, gA as buildProductListingGroupsByOption, gB as buildProductOptionMatrix, gC as buildProductOptionMatrixFromDetail, gD as createProductSelectionCodec, gE as getAvailableOptionValues, gF as getProductSelectionImages, gG as getSelectedValueByOptionId, gH as getVariantAvailableForSale, gI as getVariantAvailableStock, cW as invalidBenefitVoucherResponse, gJ as isProductUpsertFieldValidationErrorBody, gK as normalizeProductSelection, gL as normalizeProductSelectionFromMatrix, gM as normalizeSelectedValueIds, cX as parseBenefitVoucher, cY as parseBenefitVoucherList, cZ as parseCustomerCreditAccount, c_ as parseCustomerCreditGrant, c$ as parseMyCustomerCreditHistory, d0 as parseMyCustomerCredits, gN as parseProductSelection, d1 as parseRevokeCustomerCredit, gO as projectProductToListingShape, gP as resolveFeaturedImagePointer, gQ as resolveProductDisplayMedia, gR as resolveProductSelection, gS as resolveProductSelectionFromMatrix, gT as resolveProductSelectionMedia, gU as resolveVariantForSelection, gV as selectNext, gW as selectedSwatchMediaItemId, gX as stringifyProductSelection, gY as toShopifyPriceRangeV2 } from './types-Chwgg4CQ.cjs';
|
|
3
|
-
import { P as Product } from './payload-types-
|
|
4
|
-
export { A as Article, g as ArticleAuthor, h as ArticleCategory, i as ArticleTag, D as Document, I as Image, j as Post, k 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 { e0 as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, E as EndSubscribeIntentParams, d as EndSubscribeIntentResponse, C as CancelMembershipParams, e as CancelMembershipResponse, B as BillingCustodyParams, f as BillingCustodyResponse, g as BillingCustodyContextParams, h as BillingCustodyContextResponse, e1 as ProductDetail, e2 as ProductDetailCatalog, e3 as StockSnapshotResponse, de as ClientConfig, e4 as RootClientWithEvents } from './types-evAvqRBj.cjs';
|
|
2
|
+
export { A as AddItemParams, df as ApiQueryOptions, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, l as BenefitVouchersApi, e5 as BillingCustodyContextWireRequest, e6 as BillingCustodyWireRequest, e7 as BulkImportFulfillmentsParams, e8 as BulkImportFulfillmentsResponse, e9 as CalculateShippingParams, ea as CalculateShippingResult, dg as CancelBrowserPaymentSessionParams, eb as CancelOrderCreditOnlyCommittedResponse, ec as CancelOrderManagedAlreadyCanceledResponse, ed as CancelOrderManagedCommittedResponse, ee as CancelOrderParams, ef as CancelOrderResponse, eg as CancelReasonCode, eh as CartDiscountCode, dh as CartMergeParams, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, ei as CartWarning, ej as CartWarningCode, J as CheckoutAbandonedReason, K as CheckoutAmounts, ek as CheckoutFunding, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, Y as CheckoutShippingAddress, $ as ClearCartParams, du as Client, di as ClientMetadata, q as ClientState, du as ClientType, el as Comment, db as CommerceClient, em as CommerceClientOptions, n as CommunityClient, en as CommunityClientOptions, eo as CommunityComment, ep as CommunityCommentListSort, eq as CommunityPost, er as CommunityPostCategory, es as CommunityPostListSort, et as CommunityPostTag, eu as CommunityPublicAuthorSnapshot, ev as CommunityPublicMediaAsset, ew as CommunityPublicReference, ex as CompatibilityProductSelectionParamEvent, dc as ContentClient, dj as ContentClientOptions, a9 as CreateCartParams, aa as CreateCartResult, dk as CreateCheckoutParams, dl as CreateCheckoutResult, ey as CreateFulfillmentParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, ez as CreateReturnParams, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, m as CreditsApi, dL as CustomerAuth, eA as CustomerAuthOptions, dN as CustomerAuthResponse, eB as CustomerAuthorizationUrlInput, eC as CustomerAuthorizationUrlResult, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, i as CustomerGroupApi, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, dO as CustomerLoginData, aw as CustomerMembershipView, dd as CustomerNamespace, eD as CustomerOAuth, eE as CustomerOAuthCallbackResult, eF as CustomerOAuthConfig, eG as CustomerOAuthTokenSet, eH as CustomerOrderListOptions, dM as CustomerProfile, dR as CustomerRefreshResponse, dQ as CustomerRegisterData, dP as CustomerRegisterResponse, ax as CustomerSnapshot, eI as CustomerWithdrawalResult, dm as DebugConfig, dn as DeepPartial, eJ as DiscountApi, eK as DiscountApiOptions, eL as DiscountErrorReasonCode, az as EventAdmissionAvailabilityParams, aA as EventAdmissionAvailabilityResponse, aB as EventAdmissionAvailabilityType, aC as EventAdmissionPricePresentment, aD as EventGuestCancelParams, aE as EventGuestRegistration, aF as EventGuestRegistrationResponse, aG as EventMyRegistration, aH as EventMyRegistrationsParams, aI as EventMyRegistrationsResponse, aJ as EventRegistrationAnswerInput, aK as EventRegistrationAttendeeInput, aL as EventRegistrationPublic, aM as EventRegistrationRegisterParams, aN as EventRegistrationRegisterResponse, aO as EventsCalendarItem, aP as EventsClient, aQ as EventsClientOptions, aR as EventsDateParam, aS as EventsExternalSource, aT as EventsLocation, aU as EventsOccurrenceLocation, aV as EventsRangeEvent, aW as EventsRangeOccurrence, aX as EventsRangeParams, aY as EventsRangeResponse, aZ as EventsTaxonomyItem, dp as ExtractArrayType, eM as FeaturedImagePointerInput, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eN as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eO as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eP as ListingGroupsParams, eQ as MAX_CART_LINE_ADMISSIONS, eR as ManagedCancelRefundOutcome, eS as ManagedPaymentNextAction, eT as ManagedPublicPaymentSession, eU as MarketDTO, eV as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, eW as NormalizedOptionSwatch, eX as NormalizedProductSelection, bz as OpenCheckoutPaymentState, eY as OrderApi, eZ as OrderApiOptions, e_ as OrderByPaymentResult, e$ as PRODUCT_PLP_FIND_OPTIONS, f0 as PRODUCT_UPSERT_READONLY_FIELD_REASON, f1 as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, dq as PayloadFindResponse, dr as PayloadMutationResponse, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bJ as PortOnePaymentNextAction, bM as PortOnePublicPaymentSession, f2 as PrepareFulfillmentOrderParams, f3 as PrepareFulfillmentOrderResponse, f4 as ProductApi, f5 as ProductApiOptions, f6 as ProductDetailBrand, dW as ProductDetailCatalogResult, f7 as ProductDetailCatalogVariant, f8 as ProductDetailCategory, f9 as ProductDetailImage, fa as ProductDetailImageMedia, fb as ProductDetailMedia, fc as ProductDetailOption, fd as ProductDetailOptionValue, dV as ProductDetailParams, fe as ProductDetailResult, ff as ProductDetailTag, fg as ProductDetailUnavailableReason, fh as ProductDetailVariant, fi as ProductDetailVariantOptionValue, fj as ProductDetailVideo, fk as ProductDisplayMediaSource, fl as ProductFallbackLocaleOption, fm as ProductHrefGroup, fn as ProductHrefOptions, fo as ProductHrefProduct, fp as ProductListingCard, fq as ProductListingCardOptions, fr as ProductListingCardPriceRange, fs as ProductListingCardRepresentativeVariant, ft as ProductListingGroup, fu as ProductListingGroupCatalogSummary, fv as ProductListingGroupCatalogVariant, fw as ProductListingGroupProjection, fx as ProductListingGroupSummary, fy as ProductListingGroupVariant, dZ as ProductListingGroupsCatalogItem, fz as ProductListingGroupsCatalogProduct, fA as ProductListingGroupsCatalogResponse, d$ as ProductListingGroupsItem, fB as ProductListingGroupsProduct, fC as ProductListingGroupsResponse, dU as ProductListingPageBaseParams, dX as ProductListingPageCatalogParams, fD as ProductListingPageFilters, d_ as ProductListingPageFullParams, dT as ProductListingPageParams, dY as ProductListingPageResult, fE as ProductListingPageSort, fF as ProductListingProductShape, fG as ProductListingSwatch, fH as ProductLocaleOption, fI as ProductLocaleReadParams, fJ as ProductLocalizedText, fK as ProductLocalizedValue, fL as ProductMediaResolutionSource, fM as ProductMoneyRange, fN as ProductOptionMatrix, fO as ProductOptionMatrixOption, fP as ProductOptionMatrixValue, fQ as ProductOptionMatrixVariant, fR as ProductOptionShape, fS as ProductOptionValueShape, fT as ProductOptionValueSwatch, fU as ProductOptionValueSwatchInput, fV as ProductPriceRange, fW as ProductSelectionAvailableSwatch, fX as ProductSelectionAvailableValue, fY as ProductSelectionByOptionValue, fZ as ProductSelectionCodecError, f_ as ProductSelectionCodecOptions, f$ as ProductSelectionInput, g0 as ProductSelectionMediaPointer, g1 as ProductSelectionMediaSource, g2 as ProductSelectionOptionValue, g3 as ProductSelectionResolution, g4 as ProductSelectionResolutionContext, g5 as ProductSelectionUrlEmit, g6 as ProductSelectionVariant, g7 as ProductUpsertFieldValidationErrorBody, g8 as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, g9 as ProductVariantShape, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, ga as PublicCheckoutBase, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, dK as PublicReadQueryOptions, ca as ReconciliationRequired, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, gb as RequestOptions, gc as ResolveCancelRefundFailedResponse, gd as ResolveCancelRefundOutcome, ge as ResolveCancelRefundParams, gf as ResolveCancelRefundResponse, gg as ResolveCancelRefundSucceededResponse, gh as ResolveProductDisplayMediaInput, gi as ResolveProductDisplayMediaResult, gj as ResolveProductSelectionMediaInput, gk as ResolveProductSelectionMediaResult, gl as ResolvedCatalogPrice, ds as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dt as RetryConfig, gm as ReturnCancellationReasonCode, gn as ReturnItem, go as ReturnReason, gp as ReturnWithRefundItem, gq as ReturnWithRefundParams, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, du as RootClient, dv as RootCollectionClient, dw as RootReadOnlyQueryBuilder, gr as ShippingApi, gs as ShippingApiOptions, cv as ShippingLine, dx as Sort, cw as SpentCheckoutPaymentState, gt as StockCheckParams, gu as StockCheckResponse, gv as StockCheckResult, gw as StockSnapshotItem, gx as StockSnapshotParams, dy as StorefrontContentListOptions, dz as StorefrontContentReference, dA as StorefrontGalleryItem, dB as StorefrontGalleryItemsListOptions, dC as StorefrontGalleryItemsSort, dD as StorefrontLink, dE as StorefrontLinksListOptions, dF as StorefrontLinksSort, cU as UpdateCartAttributesParams, cV as UpdateDiscountCodesParams, gy as UpdateFulfillmentParams, cW as UpdateItemParams, gz as UpdateOrderParams, dS as UpdateProfileData, gA as UpdateReturnParams, gB as ValidateDiscountParams, gC as ValidateDiscountResult, cX as VariantInput, gD as VideoPlaybackResponse, c$ as VoidBenefitVoucherRequest, dG as Where, gE as WithIdempotencyKey, gF as buildProductHref, gG as buildProductListingCard, gH as buildProductListingGroupProjection, gI as buildProductListingGroupsByOption, gJ as buildProductOptionMatrix, gK as buildProductOptionMatrixFromDetail, gL as createProductSelectionCodec, gM as getAvailableOptionValues, gN as getProductSelectionImages, gO as getSelectedValueByOptionId, gP as getVariantAvailableForSale, gQ as getVariantAvailableStock, d1 as invalidBenefitVoucherResponse, gR as isProductUpsertFieldValidationErrorBody, gS as normalizeProductSelection, gT as normalizeProductSelectionFromMatrix, gU as normalizeSelectedValueIds, d2 as parseBenefitVoucher, d3 as parseBenefitVoucherList, d4 as parseCustomerCreditAccount, d5 as parseCustomerCreditGrant, d6 as parseMyCustomerCreditHistory, d7 as parseMyCustomerCredits, gV as parseProductSelection, d8 as parseRevokeCustomerCredit, gW as projectProductToListingShape, gX as resolveFeaturedImagePointer, gY as resolveProductDisplayMedia, gZ as resolveProductSelection, g_ as resolveProductSelectionFromMatrix, g$ as resolveProductSelectionMedia, h0 as resolveVariantForSelection, h1 as selectNext, h2 as selectedSwatchMediaItemId, h3 as stringifyProductSelection, h4 as toShopifyPriceRangeV2 } from './types-evAvqRBj.cjs';
|
|
3
|
+
import { P as Product } from './payload-types-zukuL1s_.cjs';
|
|
4
|
+
export { A as Article, g as ArticleAuthor, h as ArticleCategory, i as ArticleTag, D as Document, I as Image, j as Post, k as PostCategory, T as Tenant, V as Video } from './payload-types-zukuL1s_.cjs';
|
|
5
|
+
export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-BI7aowdu.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-Di5AybQN.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-DWTSgCkn.cjs';
|
|
8
8
|
export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
|
|
9
9
|
export { a as IMAGE_SIZES, I as ImageData, b as ImageDataSizeEntry, c as ImageDataSizes, d as ImagePalette, e as ImagePlaceholderOptions, g as getImageLqip, f as getImagePalette, h as getImagePlaceholderStyle, i as getImageSrcSet, j as getImageUrl } from './image-BDjHp03R.cjs';
|
|
10
10
|
export { V as VideoGifOptions, a as VideoThumbnailOptions, g as getVideoGif, b as getVideoMp4Url, c as getVideoStoryboard, d as getVideoStreamUrl, e as getVideoThumbnail } from './video-WR_TFO9a.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AddItemParams, d8 as ApiQueryOptions, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, l as BenefitVouchersApi, d_ as BillingCustodyContextWireRequest, d$ as BillingCustodyWireRequest, e0 as BulkImportFulfillmentsParams, e1 as BulkImportFulfillmentsResponse, e2 as CalculateShippingParams, e3 as CalculateShippingResult, d9 as CancelBrowserPaymentSessionParams, e4 as CancelOrderManagedAlreadyCanceledResponse, e5 as CancelOrderManagedCommittedResponse, e6 as CancelOrderParams, e7 as CancelOrderResponse, e8 as CancelReasonCode, e9 as CartDiscountCode, da as CartMergeParams, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, ea as CartWarning, eb as CartWarningCode, J as CheckoutAbandonedReason, K as CheckoutAmounts, ec as CheckoutFunding, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, Y as CheckoutShippingAddress, $ as ClearCartParams, dm as Client, db as ClientMetadata, q as ClientState, dm as ClientType, ed as Comment, d4 as CommerceClient, ee as CommerceClientOptions, n as CommunityClient, ef as CommunityClientOptions, eg as CommunityComment, eh as CommunityCommentListSort, ei as CommunityPost, ej as CommunityPostCategory, ek as CommunityPostListSort, el as CommunityPostTag, em as CommunityPublicAuthorSnapshot, en as CommunityPublicMediaAsset, eo as CommunityPublicReference, ep as CompatibilityProductSelectionParamEvent, d5 as ContentClient, dc as ContentClientOptions, a9 as CreateCartParams, aa as CreateCartResult, dd as CreateCheckoutParams, de as CreateCheckoutResult, eq as CreateFulfillmentParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, er as CreateReturnParams, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, m as CreditsApi, dE as CustomerAuth, es as CustomerAuthOptions, dG as CustomerAuthResponse, et as CustomerAuthorizationUrlInput, eu as CustomerAuthorizationUrlResult, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, i as CustomerGroupApi, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, dH as CustomerLoginData, aw as CustomerMembershipView, d6 as CustomerNamespace, ev as CustomerOAuth, ew as CustomerOAuthCallbackResult, ex as CustomerOAuthConfig, ey as CustomerOAuthTokenSet, ez as CustomerOrderListOptions, dF as CustomerProfile, dK as CustomerRefreshResponse, dJ as CustomerRegisterData, dI as CustomerRegisterResponse, ax as CustomerSnapshot, eA as CustomerWithdrawalResult, df as DebugConfig, dg as DeepPartial, eB as DiscountApi, eC as DiscountApiOptions, eD as DiscountErrorReasonCode, az as EventAdmissionAvailabilityParams, aA as EventAdmissionAvailabilityResponse, aB as EventAdmissionAvailabilityType, aC as EventAdmissionPricePresentment, aD as EventGuestCancelParams, aE as EventGuestRegistration, aF as EventGuestRegistrationResponse, aG as EventMyRegistration, aH as EventMyRegistrationsParams, aI as EventMyRegistrationsResponse, aJ as EventRegistrationAnswerInput, aK as EventRegistrationAttendeeInput, aL as EventRegistrationPublic, aM as EventRegistrationRegisterParams, aN as EventRegistrationRegisterResponse, aO as EventsCalendarItem, aP as EventsClient, aQ as EventsClientOptions, aR as EventsDateParam, aS as EventsExternalSource, aT as EventsLocation, aU as EventsOccurrenceLocation, aV as EventsRangeEvent, aW as EventsRangeOccurrence, aX as EventsRangeParams, aY as EventsRangeResponse, aZ as EventsTaxonomyItem, dh as ExtractArrayType, eE as FeaturedImagePointerInput, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eF as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eG as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eH as ListingGroupsParams, eI as MAX_CART_LINE_ADMISSIONS, eJ as ManagedCancelRefundOutcome, eK as ManagedPaymentNextAction, eL as ManagedPublicPaymentSession, eM as MarketDTO, eN as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, eO as NormalizedOptionSwatch, eP as NormalizedProductSelection, bz as OpenCheckoutPaymentState, eQ as OrderApi, eR as OrderApiOptions, eS as OrderByPaymentResult, eT as PRODUCT_PLP_FIND_OPTIONS, eU as PRODUCT_UPSERT_READONLY_FIELD_REASON, eV as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, di as PayloadFindResponse, dj as PayloadMutationResponse, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bJ as PortOnePaymentNextAction, bM as PortOnePublicPaymentSession, eW as PrepareFulfillmentOrderParams, eX as PrepareFulfillmentOrderResponse, eY as ProductApi, eZ as ProductApiOptions, e_ as ProductDetailBrand, dP as ProductDetailCatalogResult, e$ as ProductDetailCatalogVariant, f0 as ProductDetailCategory, f1 as ProductDetailImage, f2 as ProductDetailImageMedia, f3 as ProductDetailMedia, f4 as ProductDetailOption, f5 as ProductDetailOptionValue, dO as ProductDetailParams, f6 as ProductDetailResult, f7 as ProductDetailTag, f8 as ProductDetailUnavailableReason, f9 as ProductDetailVariant, fa as ProductDetailVariantOptionValue, fb as ProductDetailVideo, fc as ProductDisplayMediaSource, fd as ProductFallbackLocaleOption, fe as ProductHrefGroup, ff as ProductHrefOptions, fg as ProductHrefProduct, fh as ProductListingCard, fi as ProductListingCardOptions, fj as ProductListingCardPriceRange, fk as ProductListingCardRepresentativeVariant, fl as ProductListingGroup, fm as ProductListingGroupCatalogSummary, fn as ProductListingGroupCatalogVariant, fo as ProductListingGroupProjection, fp as ProductListingGroupSummary, fq as ProductListingGroupVariant, dS as ProductListingGroupsCatalogItem, fr as ProductListingGroupsCatalogProduct, fs as ProductListingGroupsCatalogResponse, dU as ProductListingGroupsItem, ft as ProductListingGroupsProduct, fu as ProductListingGroupsResponse, dN as ProductListingPageBaseParams, dQ as ProductListingPageCatalogParams, fv as ProductListingPageFilters, dT as ProductListingPageFullParams, dM as ProductListingPageParams, dR as ProductListingPageResult, fw as ProductListingPageSort, fx as ProductListingProductShape, fy as ProductListingSwatch, fz as ProductLocaleOption, fA as ProductLocaleReadParams, fB as ProductLocalizedText, fC as ProductLocalizedValue, fD as ProductMediaResolutionSource, fE as ProductMoneyRange, fF as ProductOptionMatrix, fG as ProductOptionMatrixOption, fH as ProductOptionMatrixValue, fI as ProductOptionMatrixVariant, fJ as ProductOptionShape, fK as ProductOptionValueShape, fL as ProductOptionValueSwatch, fM as ProductOptionValueSwatchInput, fN as ProductPriceRange, fO as ProductSelectionAvailableSwatch, fP as ProductSelectionAvailableValue, fQ as ProductSelectionByOptionValue, fR as ProductSelectionCodecError, fS as ProductSelectionCodecOptions, fT as ProductSelectionInput, fU as ProductSelectionMediaPointer, fV as ProductSelectionMediaSource, fW as ProductSelectionOptionValue, fX as ProductSelectionResolution, fY as ProductSelectionResolutionContext, fZ as ProductSelectionUrlEmit, f_ as ProductSelectionVariant, f$ as ProductUpsertFieldValidationErrorBody, g0 as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, g1 as ProductVariantShape, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, g2 as PublicCheckoutBase, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, dD as PublicReadQueryOptions, ca as ReconciliationRequired, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, g3 as RequestOptions, g4 as ResolveCancelRefundFailedResponse, g5 as ResolveCancelRefundOutcome, g6 as ResolveCancelRefundParams, g7 as ResolveCancelRefundResponse, g8 as ResolveCancelRefundSucceededResponse, g9 as ResolveProductDisplayMediaInput, ga as ResolveProductDisplayMediaResult, gb as ResolveProductSelectionMediaInput, gc as ResolveProductSelectionMediaResult, gd as ResolvedCatalogPrice, dk as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dl as RetryConfig, ge as ReturnCancellationReasonCode, gf as ReturnItem, gg as ReturnReason, gh as ReturnWithRefundItem, gi as ReturnWithRefundParams, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, dm as RootClient, dn as RootCollectionClient, dp as RootReadOnlyQueryBuilder, gj as ShippingApi, gk as ShippingApiOptions, cv as ShippingLine, dq as Sort, cw as SpentCheckoutPaymentState, gl as StockCheckParams, gm as StockCheckResponse, gn as StockCheckResult, go as StockSnapshotItem, gp as StockSnapshotParams, dr as StorefrontContentListOptions, ds as StorefrontContentReference, dt as StorefrontGalleryItem, du as StorefrontGalleryItemsListOptions, dv as StorefrontGalleryItemsSort, dw as StorefrontLink, dx as StorefrontLinksListOptions, dy as StorefrontLinksSort, cN as UpdateCartAttributesParams, cO as UpdateDiscountCodesParams, gq as UpdateFulfillmentParams, cP as UpdateItemParams, gr as UpdateOrderParams, dL as UpdateProfileData, gs as UpdateReturnParams, gt as ValidateDiscountParams, gu as ValidateDiscountResult, cQ as VariantInput, gv as VideoPlaybackResponse, cU as VoidBenefitVoucherRequest, dz as Where, gw as WithIdempotencyKey, gx as buildProductHref, gy as buildProductListingCard, gz as buildProductListingGroupProjection, gA as buildProductListingGroupsByOption, gB as buildProductOptionMatrix, gC as buildProductOptionMatrixFromDetail, gD as createProductSelectionCodec, gE as getAvailableOptionValues, gF as getProductSelectionImages, gG as getSelectedValueByOptionId, gH as getVariantAvailableForSale, gI as getVariantAvailableStock, cW as invalidBenefitVoucherResponse, gJ as isProductUpsertFieldValidationErrorBody, gK as normalizeProductSelection, gL as normalizeProductSelectionFromMatrix, gM as normalizeSelectedValueIds, cX as parseBenefitVoucher, cY as parseBenefitVoucherList, cZ as parseCustomerCreditAccount, c_ as parseCustomerCreditGrant, c$ as parseMyCustomerCreditHistory, d0 as parseMyCustomerCredits, gN as parseProductSelection, d1 as parseRevokeCustomerCredit, gO as projectProductToListingShape, gP as resolveFeaturedImagePointer, gQ as resolveProductDisplayMedia, gR as resolveProductSelection, gS as resolveProductSelectionFromMatrix, gT as resolveProductSelectionMedia, gU as resolveVariantForSelection, gV as selectNext, gW as selectedSwatchMediaItemId, gX as stringifyProductSelection, gY as toShopifyPriceRangeV2 } from './types-lbzbJSZh.js';
|
|
3
|
-
import { P as Product } from './payload-types-
|
|
4
|
-
export { A as Article, g as ArticleAuthor, h as ArticleCategory, i as ArticleTag, D as Document, I as Image, j as Post, k 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 { e0 as BaseApi, S as ServerApiOptions, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, E as EndSubscribeIntentParams, d as EndSubscribeIntentResponse, C as CancelMembershipParams, e as CancelMembershipResponse, B as BillingCustodyParams, f as BillingCustodyResponse, g as BillingCustodyContextParams, h as BillingCustodyContextResponse, e1 as ProductDetail, e2 as ProductDetailCatalog, e3 as StockSnapshotResponse, de as ClientConfig, e4 as RootClientWithEvents } from './types-BsJokT6P.js';
|
|
2
|
+
export { A as AddItemParams, df as ApiQueryOptions, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, l as BenefitVouchersApi, e5 as BillingCustodyContextWireRequest, e6 as BillingCustodyWireRequest, e7 as BulkImportFulfillmentsParams, e8 as BulkImportFulfillmentsResponse, e9 as CalculateShippingParams, ea as CalculateShippingResult, dg as CancelBrowserPaymentSessionParams, eb as CancelOrderCreditOnlyCommittedResponse, ec as CancelOrderManagedAlreadyCanceledResponse, ed as CancelOrderManagedCommittedResponse, ee as CancelOrderParams, ef as CancelOrderResponse, eg as CancelReasonCode, eh as CartDiscountCode, dh as CartMergeParams, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, ei as CartWarning, ej as CartWarningCode, J as CheckoutAbandonedReason, K as CheckoutAmounts, ek as CheckoutFunding, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, Y as CheckoutShippingAddress, $ as ClearCartParams, du as Client, di as ClientMetadata, q as ClientState, du as ClientType, el as Comment, db as CommerceClient, em as CommerceClientOptions, n as CommunityClient, en as CommunityClientOptions, eo as CommunityComment, ep as CommunityCommentListSort, eq as CommunityPost, er as CommunityPostCategory, es as CommunityPostListSort, et as CommunityPostTag, eu as CommunityPublicAuthorSnapshot, ev as CommunityPublicMediaAsset, ew as CommunityPublicReference, ex as CompatibilityProductSelectionParamEvent, dc as ContentClient, dj as ContentClientOptions, a9 as CreateCartParams, aa as CreateCartResult, dk as CreateCheckoutParams, dl as CreateCheckoutResult, ey as CreateFulfillmentParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, ez as CreateReturnParams, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, m as CreditsApi, dL as CustomerAuth, eA as CustomerAuthOptions, dN as CustomerAuthResponse, eB as CustomerAuthorizationUrlInput, eC as CustomerAuthorizationUrlResult, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, i as CustomerGroupApi, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, dO as CustomerLoginData, aw as CustomerMembershipView, dd as CustomerNamespace, eD as CustomerOAuth, eE as CustomerOAuthCallbackResult, eF as CustomerOAuthConfig, eG as CustomerOAuthTokenSet, eH as CustomerOrderListOptions, dM as CustomerProfile, dR as CustomerRefreshResponse, dQ as CustomerRegisterData, dP as CustomerRegisterResponse, ax as CustomerSnapshot, eI as CustomerWithdrawalResult, dm as DebugConfig, dn as DeepPartial, eJ as DiscountApi, eK as DiscountApiOptions, eL as DiscountErrorReasonCode, az as EventAdmissionAvailabilityParams, aA as EventAdmissionAvailabilityResponse, aB as EventAdmissionAvailabilityType, aC as EventAdmissionPricePresentment, aD as EventGuestCancelParams, aE as EventGuestRegistration, aF as EventGuestRegistrationResponse, aG as EventMyRegistration, aH as EventMyRegistrationsParams, aI as EventMyRegistrationsResponse, aJ as EventRegistrationAnswerInput, aK as EventRegistrationAttendeeInput, aL as EventRegistrationPublic, aM as EventRegistrationRegisterParams, aN as EventRegistrationRegisterResponse, aO as EventsCalendarItem, aP as EventsClient, aQ as EventsClientOptions, aR as EventsDateParam, aS as EventsExternalSource, aT as EventsLocation, aU as EventsOccurrenceLocation, aV as EventsRangeEvent, aW as EventsRangeOccurrence, aX as EventsRangeParams, aY as EventsRangeResponse, aZ as EventsTaxonomyItem, dp as ExtractArrayType, eM as FeaturedImagePointerInput, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, eN as GetOrderByPaymentIdParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, eO as LegacyProductSelectionParamEvent, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, eP as ListingGroupsParams, eQ as MAX_CART_LINE_ADMISSIONS, eR as ManagedCancelRefundOutcome, eS as ManagedPaymentNextAction, eT as ManagedPublicPaymentSession, eU as MarketDTO, eV as MediaValue, bq as MembershipStatus, bs as Money, bt as MutateBenefitVoucherResponse, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, eW as NormalizedOptionSwatch, eX as NormalizedProductSelection, bz as OpenCheckoutPaymentState, eY as OrderApi, eZ as OrderApiOptions, e_ as OrderByPaymentResult, e$ as PRODUCT_PLP_FIND_OPTIONS, f0 as PRODUCT_UPSERT_READONLY_FIELD_REASON, f1 as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, dq as PayloadFindResponse, dr as PayloadMutationResponse, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bJ as PortOnePaymentNextAction, bM as PortOnePublicPaymentSession, f2 as PrepareFulfillmentOrderParams, f3 as PrepareFulfillmentOrderResponse, f4 as ProductApi, f5 as ProductApiOptions, f6 as ProductDetailBrand, dW as ProductDetailCatalogResult, f7 as ProductDetailCatalogVariant, f8 as ProductDetailCategory, f9 as ProductDetailImage, fa as ProductDetailImageMedia, fb as ProductDetailMedia, fc as ProductDetailOption, fd as ProductDetailOptionValue, dV as ProductDetailParams, fe as ProductDetailResult, ff as ProductDetailTag, fg as ProductDetailUnavailableReason, fh as ProductDetailVariant, fi as ProductDetailVariantOptionValue, fj as ProductDetailVideo, fk as ProductDisplayMediaSource, fl as ProductFallbackLocaleOption, fm as ProductHrefGroup, fn as ProductHrefOptions, fo as ProductHrefProduct, fp as ProductListingCard, fq as ProductListingCardOptions, fr as ProductListingCardPriceRange, fs as ProductListingCardRepresentativeVariant, ft as ProductListingGroup, fu as ProductListingGroupCatalogSummary, fv as ProductListingGroupCatalogVariant, fw as ProductListingGroupProjection, fx as ProductListingGroupSummary, fy as ProductListingGroupVariant, dZ as ProductListingGroupsCatalogItem, fz as ProductListingGroupsCatalogProduct, fA as ProductListingGroupsCatalogResponse, d$ as ProductListingGroupsItem, fB as ProductListingGroupsProduct, fC as ProductListingGroupsResponse, dU as ProductListingPageBaseParams, dX as ProductListingPageCatalogParams, fD as ProductListingPageFilters, d_ as ProductListingPageFullParams, dT as ProductListingPageParams, dY as ProductListingPageResult, fE as ProductListingPageSort, fF as ProductListingProductShape, fG as ProductListingSwatch, fH as ProductLocaleOption, fI as ProductLocaleReadParams, fJ as ProductLocalizedText, fK as ProductLocalizedValue, fL as ProductMediaResolutionSource, fM as ProductMoneyRange, fN as ProductOptionMatrix, fO as ProductOptionMatrixOption, fP as ProductOptionMatrixValue, fQ as ProductOptionMatrixVariant, fR as ProductOptionShape, fS as ProductOptionValueShape, fT as ProductOptionValueSwatch, fU as ProductOptionValueSwatchInput, fV as ProductPriceRange, fW as ProductSelectionAvailableSwatch, fX as ProductSelectionAvailableValue, fY as ProductSelectionByOptionValue, fZ as ProductSelectionCodecError, f_ as ProductSelectionCodecOptions, f$ as ProductSelectionInput, g0 as ProductSelectionMediaPointer, g1 as ProductSelectionMediaSource, g2 as ProductSelectionOptionValue, g3 as ProductSelectionResolution, g4 as ProductSelectionResolutionContext, g5 as ProductSelectionUrlEmit, g6 as ProductSelectionVariant, g7 as ProductUpsertFieldValidationErrorBody, g8 as ProductUpsertFieldValidationErrorReason, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, g9 as ProductVariantShape, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, ga as PublicCheckoutBase, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, dK as PublicReadQueryOptions, ca as ReconciliationRequired, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, gb as RequestOptions, gc as ResolveCancelRefundFailedResponse, gd as ResolveCancelRefundOutcome, ge as ResolveCancelRefundParams, gf as ResolveCancelRefundResponse, gg as ResolveCancelRefundSucceededResponse, gh as ResolveProductDisplayMediaInput, gi as ResolveProductDisplayMediaResult, gj as ResolveProductSelectionMediaInput, gk as ResolveProductSelectionMediaResult, gl as ResolvedCatalogPrice, ds as RetrieveBrowserPaymentSessionParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, cj as RetrieveServerCheckoutParams, dt as RetryConfig, gm as ReturnCancellationReasonCode, gn as ReturnItem, go as ReturnReason, gp as ReturnWithRefundItem, gq as ReturnWithRefundParams, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, du as RootClient, dv as RootCollectionClient, dw as RootReadOnlyQueryBuilder, gr as ShippingApi, gs as ShippingApiOptions, cv as ShippingLine, dx as Sort, cw as SpentCheckoutPaymentState, gt as StockCheckParams, gu as StockCheckResponse, gv as StockCheckResult, gw as StockSnapshotItem, gx as StockSnapshotParams, dy as StorefrontContentListOptions, dz as StorefrontContentReference, dA as StorefrontGalleryItem, dB as StorefrontGalleryItemsListOptions, dC as StorefrontGalleryItemsSort, dD as StorefrontLink, dE as StorefrontLinksListOptions, dF as StorefrontLinksSort, cU as UpdateCartAttributesParams, cV as UpdateDiscountCodesParams, gy as UpdateFulfillmentParams, cW as UpdateItemParams, gz as UpdateOrderParams, dS as UpdateProfileData, gA as UpdateReturnParams, gB as ValidateDiscountParams, gC as ValidateDiscountResult, cX as VariantInput, gD as VideoPlaybackResponse, c$ as VoidBenefitVoucherRequest, dG as Where, gE as WithIdempotencyKey, gF as buildProductHref, gG as buildProductListingCard, gH as buildProductListingGroupProjection, gI as buildProductListingGroupsByOption, gJ as buildProductOptionMatrix, gK as buildProductOptionMatrixFromDetail, gL as createProductSelectionCodec, gM as getAvailableOptionValues, gN as getProductSelectionImages, gO as getSelectedValueByOptionId, gP as getVariantAvailableForSale, gQ as getVariantAvailableStock, d1 as invalidBenefitVoucherResponse, gR as isProductUpsertFieldValidationErrorBody, gS as normalizeProductSelection, gT as normalizeProductSelectionFromMatrix, gU as normalizeSelectedValueIds, d2 as parseBenefitVoucher, d3 as parseBenefitVoucherList, d4 as parseCustomerCreditAccount, d5 as parseCustomerCreditGrant, d6 as parseMyCustomerCreditHistory, d7 as parseMyCustomerCredits, gV as parseProductSelection, d8 as parseRevokeCustomerCredit, gW as projectProductToListingShape, gX as resolveFeaturedImagePointer, gY as resolveProductDisplayMedia, gZ as resolveProductSelection, g_ as resolveProductSelectionFromMatrix, g$ as resolveProductSelectionMedia, h0 as resolveVariantForSelection, h1 as selectNext, h2 as selectedSwatchMediaItemId, h3 as stringifyProductSelection, h4 as toShopifyPriceRangeV2 } from './types-BsJokT6P.js';
|
|
3
|
+
import { P as Product } from './payload-types-zukuL1s_.js';
|
|
4
|
+
export { A as Article, g as ArticleAuthor, h as ArticleCategory, i as ArticleTag, D as Document, I as Image, j as Post, k as PostCategory, T as Tenant, V as Video } from './payload-types-zukuL1s_.js';
|
|
5
|
+
export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-SsS04wGw.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-Daoh-98A.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-CkY2zB6J.js';
|
|
8
8
|
export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.js';
|
|
9
9
|
export { a as IMAGE_SIZES, I as ImageData, b as ImageDataSizeEntry, c as ImageDataSizes, d as ImagePalette, e as ImagePlaceholderOptions, g as getImageLqip, f as getImagePalette, h as getImagePlaceholderStyle, i as getImageSrcSet, j as getImageUrl } from './image-BDjHp03R.js';
|
|
10
10
|
export { V as VideoGifOptions, a as VideoThumbnailOptions, g as getVideoGif, b as getVideoMp4Url, c as getVideoStoryboard, d as getVideoStreamUrl, e as getVideoThumbnail } from './video-WR_TFO9a.js';
|
package/dist/index.js
CHANGED
|
@@ -1343,6 +1343,10 @@ var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
|
|
|
1343
1343
|
configure: operation("tenants", "patch", "/embedded-admin-app"),
|
|
1344
1344
|
disable: operation("tenants", "delete", "/embedded-admin-app")
|
|
1345
1345
|
};
|
|
1346
|
+
var FIELD_CONFIG_ENDPOINT_OPERATIONS = {
|
|
1347
|
+
list: operation("field-configs", "get", "/list"),
|
|
1348
|
+
save: operation("field-configs", "post", "/save")
|
|
1349
|
+
};
|
|
1346
1350
|
var EVENTS_ENDPOINT_OPERATIONS = {
|
|
1347
1351
|
registrations: {
|
|
1348
1352
|
register: operation("event-registrations", "post", "/register"),
|
|
@@ -6836,10 +6840,13 @@ function buildProductHref(product, group, options = {}) {
|
|
|
6836
6840
|
return params.size > 0 ? `${path}?${params.toString()}` : path;
|
|
6837
6841
|
}
|
|
6838
6842
|
function compareVariantOrder(a, b) {
|
|
6839
|
-
const aOrder =
|
|
6840
|
-
const bOrder =
|
|
6841
|
-
if (
|
|
6842
|
-
|
|
6843
|
+
const aOrder = a._order || null;
|
|
6844
|
+
const bOrder = b._order || null;
|
|
6845
|
+
if (aOrder !== bOrder) {
|
|
6846
|
+
if (aOrder === null) return 1;
|
|
6847
|
+
if (bOrder === null) return -1;
|
|
6848
|
+
const byOrder = compareOrdinal(aOrder, bOrder);
|
|
6849
|
+
if (byOrder !== 0) return byOrder;
|
|
6843
6850
|
}
|
|
6844
6851
|
const aId = String(getRelationID(a.id) ?? "");
|
|
6845
6852
|
const bId = String(getRelationID(b.id) ?? "");
|
|
@@ -7153,11 +7160,7 @@ function buildProductListingPageWhere(params) {
|
|
|
7153
7160
|
const search = params.search?.trim();
|
|
7154
7161
|
if (search) {
|
|
7155
7162
|
clauses.push({
|
|
7156
|
-
or: [
|
|
7157
|
-
{ title: { like: search } },
|
|
7158
|
-
{ slug: { like: search } },
|
|
7159
|
-
{ handle: { like: search } }
|
|
7160
|
-
]
|
|
7163
|
+
or: [{ title: { like: search } }, { slug: { like: search } }]
|
|
7161
7164
|
});
|
|
7162
7165
|
}
|
|
7163
7166
|
const filters = params.filters;
|