@01.software/sdk 0.65.1 → 0.67.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.
Files changed (55) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/README.md +79 -2
  3. package/dist/client.cjs +79 -27
  4. package/dist/client.cjs.map +1 -1
  5. package/dist/client.d.cts +6 -6
  6. package/dist/client.d.ts +6 -6
  7. package/dist/client.js +79 -27
  8. package/dist/client.js.map +1 -1
  9. package/dist/{collection-client-C2sMvfme.d.ts → collection-client-D4HEOoO_.d.ts} +4 -4
  10. package/dist/{collection-client-B7rsTtVj.d.cts → collection-client-jrNFGbrO.d.cts} +4 -4
  11. package/dist/{const-CRxPTDGt.d.ts → const-BU79hCFB.d.ts} +2 -2
  12. package/dist/{const-D6ZRQLxI.d.cts → const-CCQ3MdLE.d.cts} +2 -2
  13. package/dist/{index-1auUEYrl.d.ts → index-CwKxWHIa.d.ts} +3 -3
  14. package/dist/{index-Bbpf5t-l.d.cts → index-DiyhsVHd.d.cts} +3 -3
  15. package/dist/index.cjs +80 -27
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +7 -7
  18. package/dist/index.d.ts +7 -7
  19. package/dist/index.js +80 -27
  20. package/dist/index.js.map +1 -1
  21. package/dist/{payload-types-BnIET0xU.d.cts → payload-types-jdsUXunB.d.cts} +128 -49
  22. package/dist/{payload-types-BnIET0xU.d.ts → payload-types-jdsUXunB.d.ts} +128 -49
  23. package/dist/query.cjs +14 -1
  24. package/dist/query.cjs.map +1 -1
  25. package/dist/query.d.cts +5 -5
  26. package/dist/query.d.ts +5 -5
  27. package/dist/query.js +14 -1
  28. package/dist/query.js.map +1 -1
  29. package/dist/realtime.d.cts +2 -2
  30. package/dist/realtime.d.ts +2 -2
  31. package/dist/server.cjs +96 -3
  32. package/dist/server.cjs.map +1 -1
  33. package/dist/server.d.cts +9 -9
  34. package/dist/server.d.ts +9 -9
  35. package/dist/server.js +96 -3
  36. package/dist/server.js.map +1 -1
  37. package/dist/{types-Dp1oYpD3.d.cts → types-BPwXAFZ7.d.cts} +2 -2
  38. package/dist/{types-D1y4TgQm.d.ts → types-BusejG-v.d.ts} +2 -2
  39. package/dist/{types-Dzn0LD2N.d.cts → types-CvdBV3ri.d.cts} +71 -6
  40. package/dist/{types-DnRC3nLG.d.ts → types-I2k6Laad.d.ts} +71 -6
  41. package/dist/ui/canvas.cjs +5 -1
  42. package/dist/ui/canvas.cjs.map +1 -1
  43. package/dist/ui/canvas.js +5 -1
  44. package/dist/ui/canvas.js.map +1 -1
  45. package/dist/ui/form.d.cts +1 -1
  46. package/dist/ui/form.d.ts +1 -1
  47. package/dist/ui/video.cjs +9 -2
  48. package/dist/ui/video.cjs.map +1 -1
  49. package/dist/ui/video.d.cts +1 -1
  50. package/dist/ui/video.d.ts +1 -1
  51. package/dist/ui/video.js +9 -2
  52. package/dist/ui/video.js.map +1 -1
  53. package/dist/webhook.d.cts +5 -5
  54. package/dist/webhook.d.ts +5 -5
  55. package/package.json +3 -3
package/dist/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { d3 as BaseApi, aF as ServerApiOptions, aI as SubscribeMembershipParams, aJ as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, aK as BillingCustodyParams, aL as BillingCustodyResponse, d4 as ProductDetail, d5 as ProductDetailCatalog, d6 as StockSnapshotResponse, h as ClientConfig, d7 as RootClientWithEvents } from './types-Dzn0LD2N.cjs';
2
- export { A as AddItemParams, i as ApiQueryOptions, d8 as BillingCustodyWireRequest, d9 as BulkImportFulfillmentsParams, da as BulkImportFulfillmentsResponse, db as CalculateShippingParams, dc as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, dd as CancelOrderParams, de as CancelOrderResponse, df as CancelReasonCode, dg as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, dh as CartWarning, di as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, al as Client, u as ClientMetadata, g as ClientState, al as ClientType, dj as Comment, C as CommerceClient, dk as CommerceClientOptions, a as CommunityClient, dl as CommunityClientOptions, dm as CommunityComment, dn as CommunityCommentListSort, dp as CommunityPost, dq as CommunityPostCategory, dr as CommunityPostListSort, ds as CommunityPostTag, dt as CommunityPublicAuthorSnapshot, du as CommunityPublicMediaAsset, dv as CommunityPublicReference, dw as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, dx as CreateFulfillmentParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, dy as CreateReturnParams, bi as CreateServerPaymentSessionParams, bj as CreateServerPortOnePaymentSessionParams, cO as CustomerAuth, dz as CustomerAuthOptions, cQ as CustomerAuthResponse, dA as CustomerAuthorizationUrlInput, dB as CustomerAuthorizationUrlResult, aM as CustomerGroupApi, bm as CustomerGroupApiOptions, bn as CustomerGroupManualSource, bo as CustomerGroupMember, bp as CustomerGroupMemberCommandResponse, bq as CustomerGroupMemberSource, br as CustomerGroupMembershipSource, bs as CustomerGroupMembershipState, cR as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, dC as CustomerOAuth, dD as CustomerOAuthCallbackResult, dE as CustomerOAuthConfig, dF as CustomerOAuthTokenSet, dG as CustomerOrderListOptions, cP as CustomerProfile, cU as CustomerRefreshResponse, cT as CustomerRegisterData, cS as CustomerRegisterResponse, F as CustomerSnapshot, dH as CustomerWithdrawalResult, G as DebugConfig, H as DeepPartial, dI as DiscountApi, dJ as DiscountApiOptions, dK as DiscountErrorReasonCode, bu as EventAdmissionAvailabilityParams, bv as EventAdmissionAvailabilityResponse, bw as EventAdmissionAvailabilityType, bx as EventAdmissionPricePresentment, by as EventGuestCancelParams, bz as EventGuestRegistration, bA as EventGuestRegistrationResponse, bB as EventRegistrationAnswerInput, bC as EventRegistrationAttendeeInput, bD as EventRegistrationPublic, bE as EventRegistrationRegisterParams, bF as EventRegistrationRegisterResponse, bG as EventsCalendarItem, E as EventsClient, bH as EventsClientOptions, bI as EventsDateParam, bJ as EventsExternalSource, bK as EventsLocation, bL as EventsOccurrenceLocation, bM as EventsRangeEvent, bN as EventsRangeOccurrence, bO as EventsRangeParams, bP as EventsRangeResponse, bQ as EventsTaxonomyItem, I as ExtractArrayType, dL as FeaturedImagePointerInput, dM as GetOrderByPaymentIdParams, c1 as GrantCustomerGroupMemberParams, dN as LegacyProductSelectionParamEvent, c4 as ListCustomerGroupMembersParams, c5 as ListCustomerGroupMembersResponse, dO as ListingGroupsParams, dP as MAX_CART_LINE_ADMISSIONS, dQ as ManagedPaymentNextAction, dR as ManagedPublicPaymentSession, dS as MarketDTO, dT as MediaValue, J as MembershipStatus, K as Money, dU as NormalizedOptionSwatch, dV as NormalizedProductSelection, O as OpenCheckoutPaymentState, dW as OrderApi, dX as OrderApiOptions, dY as OrderByPaymentResult, dZ as PRODUCT_PLP_FIND_OPTIONS, d_ as PRODUCT_UPSERT_READONLY_FIELD_REASON, d$ as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, L as PayloadMutationResponse, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, V as PortOnePaymentNextAction, W as PortOnePublicPaymentSession, e0 as PrepareFulfillmentOrderParams, e1 as PrepareFulfillmentOrderResponse, e2 as ProductApi, e3 as ProductApiOptions, e4 as ProductDetailBrand, cZ as ProductDetailCatalogResult, e5 as ProductDetailCatalogVariant, e6 as ProductDetailCategory, e7 as ProductDetailImage, e8 as ProductDetailImageMedia, e9 as ProductDetailMedia, ea as ProductDetailOption, eb as ProductDetailOptionValue, cY as ProductDetailParams, ec as ProductDetailResult, ed as ProductDetailTag, ee as ProductDetailUnavailableReason, ef as ProductDetailVariant, eg as ProductDetailVariantOptionValue, eh as ProductDetailVideo, ei as ProductDisplayMediaSource, ej as ProductFallbackLocaleOption, ek as ProductHrefGroup, el as ProductHrefOptions, em as ProductHrefProduct, en as ProductListingCard, eo as ProductListingCardOptions, ep as ProductListingCardPriceRange, eq as ProductListingCardRepresentativeVariant, er as ProductListingGroup, es as ProductListingGroupCatalogSummary, et as ProductListingGroupCatalogVariant, eu as ProductListingGroupProjection, ev as ProductListingGroupSummary, ew as ProductListingGroupVariant, d0 as ProductListingGroupsCatalogItem, ex as ProductListingGroupsCatalogProduct, ey as ProductListingGroupsCatalogResponse, d2 as ProductListingGroupsItem, ez as ProductListingGroupsProduct, eA as ProductListingGroupsResponse, cX as ProductListingPageBaseParams, c_ as ProductListingPageCatalogParams, eB as ProductListingPageFilters, d1 as ProductListingPageFullParams, cW as ProductListingPageParams, c$ as ProductListingPageResult, eC as ProductListingPageSort, eD as ProductListingProductShape, eE as ProductListingSwatch, eF as ProductLocaleOption, eG as ProductLocaleReadParams, eH as ProductLocalizedText, eI as ProductLocalizedValue, eJ as ProductMediaResolutionSource, eK as ProductMoneyRange, eL as ProductOptionMatrix, eM as ProductOptionMatrixOption, eN as ProductOptionMatrixValue, eO as ProductOptionMatrixVariant, eP as ProductOptionShape, eQ as ProductOptionValueShape, eR as ProductOptionValueSwatch, eS as ProductOptionValueSwatchInput, eT as ProductPriceRange, eU as ProductSelectionAvailableSwatch, eV as ProductSelectionAvailableValue, eW as ProductSelectionByOptionValue, eX as ProductSelectionCodecError, eY as ProductSelectionCodecOptions, eZ as ProductSelectionInput, e_ as ProductSelectionMediaPointer, e$ as ProductSelectionMediaSource, f0 as ProductSelectionOptionValue, f1 as ProductSelectionResolution, f2 as ProductSelectionResolutionContext, f3 as ProductSelectionUrlEmit, f4 as ProductSelectionVariant, f5 as ProductUpsertFieldValidationErrorBody, f6 as ProductUpsertFieldValidationErrorReason, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, f7 as ProductVariantShape, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, f8 as PublicCheckoutBase, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, cN as PublicReadQueryOptions, af as ReconciliationRequired, ag as RemoveItemParams, f9 as RequestOptions, fa as ResolveCancelRefundFailedResponse, fb as ResolveCancelRefundOutcome, fc as ResolveCancelRefundParams, fd as ResolveCancelRefundResponse, fe as ResolveCancelRefundSucceededResponse, ff as ResolveProductDisplayMediaInput, fg as ResolveProductDisplayMediaResult, fh as ResolveProductSelectionMediaInput, fi as ResolveProductSelectionMediaResult, fj as ResolvedCatalogPrice, ah as RetrieveBrowserPaymentSessionParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, cl as RetrieveServerCheckoutParams, ak as RetryConfig, fk as ReturnCancellationReasonCode, fl as ReturnItem, fm as ReturnReason, fn as ReturnWithRefundItem, fo as ReturnWithRefundParams, co as RevokeCustomerGroupMemberParams, al as RootClient, am as RootCollectionClient, an as RootReadOnlyQueryBuilder, fp as ShippingApi, fq as ShippingApiOptions, ao as ShippingLine, ap as Sort, aq as SpentCheckoutPaymentState, fr as StockCheckParams, fs as StockCheckResponse, ft as StockCheckResult, fu as StockSnapshotItem, fv as StockSnapshotParams, ar as StorefrontContentListOptions, as as StorefrontContentReference, at as StorefrontGalleryItem, au as StorefrontGalleryItemsListOptions, av as StorefrontGalleryItemsSort, aw as StorefrontLink, ax as StorefrontLinksListOptions, ay as StorefrontLinksSort, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, fw as UpdateFulfillmentParams, aB as UpdateItemParams, fx as UpdateOrderParams, cV as UpdateProfileData, fy as UpdateReturnParams, fz as ValidateDiscountParams, fA as ValidateDiscountResult, aC as VariantInput, fB as VideoPlaybackResponse, aD as Where, fC as WithIdempotencyKey, fD as buildProductHref, fE as buildProductListingCard, fF as buildProductListingGroupProjection, fG as buildProductListingGroupsByOption, fH as buildProductOptionMatrix, fI as buildProductOptionMatrixFromDetail, fJ as createProductSelectionCodec, fK as getAvailableOptionValues, fL as getProductSelectionImages, fM as getSelectedValueByOptionId, fN as getVariantAvailableForSale, fO as getVariantAvailableStock, fP as isProductUpsertFieldValidationErrorBody, fQ as normalizeProductSelection, fR as normalizeProductSelectionFromMatrix, fS as normalizeSelectedValueIds, fT as parseProductSelection, fU as projectProductToListingShape, fV as resolveFeaturedImagePointer, fW as resolveProductDisplayMedia, fX as resolveProductSelection, fY as resolveProductSelectionFromMatrix, fZ as resolveProductSelectionMedia, f_ as resolveVariantForSelection, f$ as selectNext, g0 as selectedSwatchMediaItemId, g1 as stringifyProductSelection, g2 as toShopifyPriceRangeV2 } from './types-Dzn0LD2N.cjs';
3
- import { P as Product } from './payload-types-BnIET0xU.cjs';
4
- export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-BnIET0xU.cjs';
5
- export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-Dp1oYpD3.cjs';
6
- export { C as COMMERCE_NOTIFICATION_EVENTS, a as COMMERCE_NOTIFICATION_EVENT_TYPE, b as COMMERCE_NOTIFICATION_OPERATION, c as CUSTOMER_PASSWORD_RESET_OPERATION, d as CollectionWebhookOperation, e as CommerceEmailChannel, f as CommerceEmailConfig, g as CommerceEmailEventConfig, h as CommerceEmailEventHandlers, i as CommerceEmailHandlerContext, j as CommerceNotification, k as CommerceNotificationData, l as CommerceNotificationEventHandlers, m as CommerceNotificationEventName, n as CommerceNotificationHandlerContext, o as CommerceNotificationSource, p as CommerceNotificationSourceCollection, q as CommerceNotificationWebhookEvent, r as CustomerAuthWebhookEvent, s as CustomerAuthWebhookHandlers, a2 as CustomerCommerceNotificationEventName, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, M as MembershipNotificationData, v as MembershipNotificationEventName, O as ORDER_CHANGED_EVENT_TYPE, w as OrderChangedWebhookEvent, P as PaymentIncidentMoney, x as PaymentIncidentNotificationData, y as PaymentIncidentNotificationEventName, z as PaymentIncidentNotificationReason, A as PaymentIncidentNotificationSourceCollection, B as PaymentIncidentNotificationStatus, D as PaymentIncidentProviderObject, a3 as PaymentReconciliationRequiredNotificationData, a4 as PaymentRefundRequiresAttentionNotificationData, E as WebhookChange, F as WebhookCommerceNotificationChange, G as WebhookEvent, W as WebhookHandler, H as WebhookKnownOperation, I as WebhookOperation, J as WebhookOptions, K as WebhookOrderChange, L as WebhookOrderMoved, N as WebhookOrderScope, Q as createCommerceEmailWebhookHandler, R as createCommerceNotificationWebhookHandler, S as createCustomerAuthWebhookHandler, T as createTypedWebhookHandler, U as defineCommerceEmailConfig, V as getCommerceNotificationIdempotencyKey, X as handleWebhook, Y as isCommerceNotificationWebhookEvent, Z as isCustomerPasswordResetWebhookEvent, _ as isOrderChangedWebhookEvent, $ as isValidWebhookEvent, a0 as isWebhookCollection, a1 as isWebhookOperation } from './index-Bbpf5t-l.cjs';
7
- export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS, P as PublicCollection, b as SERVER_COLLECTIONS, c as SERVER_ONLY_COLLECTIONS } from './const-D6ZRQLxI.cjs';
1
+ import { db as BaseApi, aF as ServerApiOptions, aI as SubscribeMembershipParams, aJ as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, aK as BillingCustodyParams, aL as BillingCustodyResponse, dc as ProductDetail, dd as ProductDetailCatalog, de as StockSnapshotResponse, h as ClientConfig, df as RootClientWithEvents } from './types-CvdBV3ri.cjs';
2
+ export { A as AddItemParams, i as ApiQueryOptions, dg as BillingCustodyWireRequest, dh as BulkImportFulfillmentsParams, di as BulkImportFulfillmentsResponse, dj as CalculateShippingParams, dk as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, dl as CancelOrderParams, dm as CancelOrderResponse, dn as CancelReasonCode, dp as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, dq as CartWarning, dr as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, al as Client, u as ClientMetadata, g as ClientState, al as ClientType, ds as Comment, C as CommerceClient, dt as CommerceClientOptions, a as CommunityClient, du as CommunityClientOptions, dv as CommunityComment, dw as CommunityCommentListSort, dx as CommunityPost, dy as CommunityPostCategory, dz as CommunityPostListSort, dA as CommunityPostTag, dB as CommunityPublicAuthorSnapshot, dC as CommunityPublicMediaAsset, dD as CommunityPublicReference, dE as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, dF as CreateFulfillmentParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, dG as CreateReturnParams, bi as CreateServerPaymentSessionParams, bj as CreateServerPortOnePaymentSessionParams, cW as CustomerAuth, dH as CustomerAuthOptions, cY as CustomerAuthResponse, dI as CustomerAuthorizationUrlInput, dJ as CustomerAuthorizationUrlResult, aM as CustomerGroupApi, bm as CustomerGroupApiOptions, bn as CustomerGroupManualSource, bo as CustomerGroupMember, bp as CustomerGroupMemberCommandResponse, bq as CustomerGroupMemberSource, br as CustomerGroupMembershipSource, bs as CustomerGroupMembershipState, cZ as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, dK as CustomerOAuth, dL as CustomerOAuthCallbackResult, dM as CustomerOAuthConfig, dN as CustomerOAuthTokenSet, dO as CustomerOrderListOptions, cX as CustomerProfile, d0 as CustomerRefreshResponse, c$ as CustomerRegisterData, c_ as CustomerRegisterResponse, F as CustomerSnapshot, dP as CustomerWithdrawalResult, G as DebugConfig, H as DeepPartial, dQ as DiscountApi, dR as DiscountApiOptions, dS as DiscountErrorReasonCode, bu as EventAdmissionAvailabilityParams, bv as EventAdmissionAvailabilityResponse, bw as EventAdmissionAvailabilityType, bx as EventAdmissionPricePresentment, by as EventGuestCancelParams, bz as EventGuestRegistration, bA as EventGuestRegistrationResponse, bB as EventMyRegistration, bC as EventMyRegistrationsParams, bD as EventMyRegistrationsResponse, bE as EventRegistrationAnswerInput, bF as EventRegistrationAttendeeInput, bG as EventRegistrationPublic, bH as EventRegistrationRegisterParams, bI as EventRegistrationRegisterResponse, bJ as EventsCalendarItem, E as EventsClient, bK as EventsClientOptions, bL as EventsDateParam, bM as EventsExternalSource, bN as EventsLocation, bO as EventsOccurrenceLocation, bP as EventsRangeEvent, bQ as EventsRangeOccurrence, bR as EventsRangeParams, bS as EventsRangeResponse, bT as EventsTaxonomyItem, I as ExtractArrayType, dT as FeaturedImagePointerInput, dU as GetOrderByPaymentIdParams, c4 as GrantCustomerGroupMemberParams, dV as LegacyProductSelectionParamEvent, c7 as ListCustomerGroupMembersParams, c8 as ListCustomerGroupMembersResponse, dW as ListingGroupsParams, dX as MAX_CART_LINE_ADMISSIONS, dY as ManagedPaymentNextAction, dZ as ManagedPublicPaymentSession, d_ as MarketDTO, d$ as MediaValue, J as MembershipStatus, K as Money, e0 as NormalizedOptionSwatch, e1 as NormalizedProductSelection, O as OpenCheckoutPaymentState, e2 as OrderApi, e3 as OrderApiOptions, e4 as OrderByPaymentResult, e5 as PRODUCT_PLP_FIND_OPTIONS, e6 as PRODUCT_UPSERT_READONLY_FIELD_REASON, e7 as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, L as PayloadMutationResponse, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, V as PortOnePaymentNextAction, W as PortOnePublicPaymentSession, e8 as PrepareFulfillmentOrderParams, e9 as PrepareFulfillmentOrderResponse, ea as ProductApi, eb as ProductApiOptions, ec as ProductDetailBrand, d5 as ProductDetailCatalogResult, ed as ProductDetailCatalogVariant, ee as ProductDetailCategory, ef as ProductDetailImage, eg as ProductDetailImageMedia, eh as ProductDetailMedia, ei as ProductDetailOption, ej as ProductDetailOptionValue, d4 as ProductDetailParams, ek as ProductDetailResult, el as ProductDetailTag, em as ProductDetailUnavailableReason, en as ProductDetailVariant, eo as ProductDetailVariantOptionValue, ep as ProductDetailVideo, eq as ProductDisplayMediaSource, er as ProductFallbackLocaleOption, es as ProductHrefGroup, et as ProductHrefOptions, eu as ProductHrefProduct, ev as ProductListingCard, ew as ProductListingCardOptions, ex as ProductListingCardPriceRange, ey as ProductListingCardRepresentativeVariant, ez as ProductListingGroup, eA as ProductListingGroupCatalogSummary, eB as ProductListingGroupCatalogVariant, eC as ProductListingGroupProjection, eD as ProductListingGroupSummary, eE as ProductListingGroupVariant, d8 as ProductListingGroupsCatalogItem, eF as ProductListingGroupsCatalogProduct, eG as ProductListingGroupsCatalogResponse, da as ProductListingGroupsItem, eH as ProductListingGroupsProduct, eI as ProductListingGroupsResponse, d3 as ProductListingPageBaseParams, d6 as ProductListingPageCatalogParams, eJ as ProductListingPageFilters, d9 as ProductListingPageFullParams, d2 as ProductListingPageParams, d7 as ProductListingPageResult, eK as ProductListingPageSort, eL as ProductListingProductShape, eM as ProductListingSwatch, eN as ProductLocaleOption, eO as ProductLocaleReadParams, eP as ProductLocalizedText, eQ as ProductLocalizedValue, eR as ProductMediaResolutionSource, eS as ProductMoneyRange, eT as ProductOptionMatrix, eU as ProductOptionMatrixOption, eV as ProductOptionMatrixValue, eW as ProductOptionMatrixVariant, eX as ProductOptionShape, eY as ProductOptionValueShape, eZ as ProductOptionValueSwatch, e_ as ProductOptionValueSwatchInput, e$ as ProductPriceRange, f0 as ProductSelectionAvailableSwatch, f1 as ProductSelectionAvailableValue, f2 as ProductSelectionByOptionValue, f3 as ProductSelectionCodecError, f4 as ProductSelectionCodecOptions, f5 as ProductSelectionInput, f6 as ProductSelectionMediaPointer, f7 as ProductSelectionMediaSource, f8 as ProductSelectionOptionValue, f9 as ProductSelectionResolution, fa as ProductSelectionResolutionContext, fb as ProductSelectionUrlEmit, fc as ProductSelectionVariant, fd as ProductUpsertFieldValidationErrorBody, fe as ProductUpsertFieldValidationErrorReason, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, ff as ProductVariantShape, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, fg as PublicCheckoutBase, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, cV as PublicReadQueryOptions, af as ReconciliationRequired, ag as RemoveItemParams, fh as RequestOptions, fi as ResolveCancelRefundFailedResponse, fj as ResolveCancelRefundOutcome, fk as ResolveCancelRefundParams, fl as ResolveCancelRefundResponse, fm as ResolveCancelRefundSucceededResponse, fn as ResolveProductDisplayMediaInput, fo as ResolveProductDisplayMediaResult, fp as ResolveProductSelectionMediaInput, fq as ResolveProductSelectionMediaResult, fr as ResolvedCatalogPrice, ah as RetrieveBrowserPaymentSessionParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, cq as RetrieveServerCheckoutParams, ak as RetryConfig, fs as ReturnCancellationReasonCode, ft as ReturnItem, fu as ReturnReason, fv as ReturnWithRefundItem, fw as ReturnWithRefundParams, ct as RevokeCustomerGroupMemberParams, al as RootClient, am as RootCollectionClient, an as RootReadOnlyQueryBuilder, fx as ShippingApi, fy as ShippingApiOptions, ao as ShippingLine, ap as Sort, aq as SpentCheckoutPaymentState, fz as StockCheckParams, fA as StockCheckResponse, fB as StockCheckResult, fC as StockSnapshotItem, fD as StockSnapshotParams, ar as StorefrontContentListOptions, as as StorefrontContentReference, at as StorefrontGalleryItem, au as StorefrontGalleryItemsListOptions, av as StorefrontGalleryItemsSort, aw as StorefrontLink, ax as StorefrontLinksListOptions, ay as StorefrontLinksSort, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, fE as UpdateFulfillmentParams, aB as UpdateItemParams, fF as UpdateOrderParams, d1 as UpdateProfileData, fG as UpdateReturnParams, fH as ValidateDiscountParams, fI as ValidateDiscountResult, aC as VariantInput, fJ as VideoPlaybackResponse, aD as Where, fK as WithIdempotencyKey, fL as buildProductHref, fM as buildProductListingCard, fN as buildProductListingGroupProjection, fO as buildProductListingGroupsByOption, fP as buildProductOptionMatrix, fQ as buildProductOptionMatrixFromDetail, fR as createProductSelectionCodec, fS as getAvailableOptionValues, fT as getProductSelectionImages, fU as getSelectedValueByOptionId, fV as getVariantAvailableForSale, fW as getVariantAvailableStock, fX as isProductUpsertFieldValidationErrorBody, fY as normalizeProductSelection, fZ as normalizeProductSelectionFromMatrix, f_ as normalizeSelectedValueIds, f$ as parseProductSelection, g0 as projectProductToListingShape, g1 as resolveFeaturedImagePointer, g2 as resolveProductDisplayMedia, g3 as resolveProductSelection, g4 as resolveProductSelectionFromMatrix, g5 as resolveProductSelectionMedia, g6 as resolveVariantForSelection, g7 as selectNext, g8 as selectedSwatchMediaItemId, g9 as stringifyProductSelection, ga as toShopifyPriceRangeV2 } from './types-CvdBV3ri.cjs';
3
+ import { P as Product } from './payload-types-jdsUXunB.cjs';
4
+ export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-jdsUXunB.cjs';
5
+ export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-BPwXAFZ7.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-DiyhsVHd.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-CCQ3MdLE.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 { d3 as BaseApi, aF as ServerApiOptions, aI as SubscribeMembershipParams, aJ as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, aK as BillingCustodyParams, aL as BillingCustodyResponse, d4 as ProductDetail, d5 as ProductDetailCatalog, d6 as StockSnapshotResponse, h as ClientConfig, d7 as RootClientWithEvents } from './types-DnRC3nLG.js';
2
- export { A as AddItemParams, i as ApiQueryOptions, d8 as BillingCustodyWireRequest, d9 as BulkImportFulfillmentsParams, da as BulkImportFulfillmentsResponse, db as CalculateShippingParams, dc as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, dd as CancelOrderParams, de as CancelOrderResponse, df as CancelReasonCode, dg as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, dh as CartWarning, di as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, al as Client, u as ClientMetadata, g as ClientState, al as ClientType, dj as Comment, C as CommerceClient, dk as CommerceClientOptions, a as CommunityClient, dl as CommunityClientOptions, dm as CommunityComment, dn as CommunityCommentListSort, dp as CommunityPost, dq as CommunityPostCategory, dr as CommunityPostListSort, ds as CommunityPostTag, dt as CommunityPublicAuthorSnapshot, du as CommunityPublicMediaAsset, dv as CommunityPublicReference, dw as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, dx as CreateFulfillmentParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, dy as CreateReturnParams, bi as CreateServerPaymentSessionParams, bj as CreateServerPortOnePaymentSessionParams, cO as CustomerAuth, dz as CustomerAuthOptions, cQ as CustomerAuthResponse, dA as CustomerAuthorizationUrlInput, dB as CustomerAuthorizationUrlResult, aM as CustomerGroupApi, bm as CustomerGroupApiOptions, bn as CustomerGroupManualSource, bo as CustomerGroupMember, bp as CustomerGroupMemberCommandResponse, bq as CustomerGroupMemberSource, br as CustomerGroupMembershipSource, bs as CustomerGroupMembershipState, cR as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, dC as CustomerOAuth, dD as CustomerOAuthCallbackResult, dE as CustomerOAuthConfig, dF as CustomerOAuthTokenSet, dG as CustomerOrderListOptions, cP as CustomerProfile, cU as CustomerRefreshResponse, cT as CustomerRegisterData, cS as CustomerRegisterResponse, F as CustomerSnapshot, dH as CustomerWithdrawalResult, G as DebugConfig, H as DeepPartial, dI as DiscountApi, dJ as DiscountApiOptions, dK as DiscountErrorReasonCode, bu as EventAdmissionAvailabilityParams, bv as EventAdmissionAvailabilityResponse, bw as EventAdmissionAvailabilityType, bx as EventAdmissionPricePresentment, by as EventGuestCancelParams, bz as EventGuestRegistration, bA as EventGuestRegistrationResponse, bB as EventRegistrationAnswerInput, bC as EventRegistrationAttendeeInput, bD as EventRegistrationPublic, bE as EventRegistrationRegisterParams, bF as EventRegistrationRegisterResponse, bG as EventsCalendarItem, E as EventsClient, bH as EventsClientOptions, bI as EventsDateParam, bJ as EventsExternalSource, bK as EventsLocation, bL as EventsOccurrenceLocation, bM as EventsRangeEvent, bN as EventsRangeOccurrence, bO as EventsRangeParams, bP as EventsRangeResponse, bQ as EventsTaxonomyItem, I as ExtractArrayType, dL as FeaturedImagePointerInput, dM as GetOrderByPaymentIdParams, c1 as GrantCustomerGroupMemberParams, dN as LegacyProductSelectionParamEvent, c4 as ListCustomerGroupMembersParams, c5 as ListCustomerGroupMembersResponse, dO as ListingGroupsParams, dP as MAX_CART_LINE_ADMISSIONS, dQ as ManagedPaymentNextAction, dR as ManagedPublicPaymentSession, dS as MarketDTO, dT as MediaValue, J as MembershipStatus, K as Money, dU as NormalizedOptionSwatch, dV as NormalizedProductSelection, O as OpenCheckoutPaymentState, dW as OrderApi, dX as OrderApiOptions, dY as OrderByPaymentResult, dZ as PRODUCT_PLP_FIND_OPTIONS, d_ as PRODUCT_UPSERT_READONLY_FIELD_REASON, d$ as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, L as PayloadMutationResponse, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, V as PortOnePaymentNextAction, W as PortOnePublicPaymentSession, e0 as PrepareFulfillmentOrderParams, e1 as PrepareFulfillmentOrderResponse, e2 as ProductApi, e3 as ProductApiOptions, e4 as ProductDetailBrand, cZ as ProductDetailCatalogResult, e5 as ProductDetailCatalogVariant, e6 as ProductDetailCategory, e7 as ProductDetailImage, e8 as ProductDetailImageMedia, e9 as ProductDetailMedia, ea as ProductDetailOption, eb as ProductDetailOptionValue, cY as ProductDetailParams, ec as ProductDetailResult, ed as ProductDetailTag, ee as ProductDetailUnavailableReason, ef as ProductDetailVariant, eg as ProductDetailVariantOptionValue, eh as ProductDetailVideo, ei as ProductDisplayMediaSource, ej as ProductFallbackLocaleOption, ek as ProductHrefGroup, el as ProductHrefOptions, em as ProductHrefProduct, en as ProductListingCard, eo as ProductListingCardOptions, ep as ProductListingCardPriceRange, eq as ProductListingCardRepresentativeVariant, er as ProductListingGroup, es as ProductListingGroupCatalogSummary, et as ProductListingGroupCatalogVariant, eu as ProductListingGroupProjection, ev as ProductListingGroupSummary, ew as ProductListingGroupVariant, d0 as ProductListingGroupsCatalogItem, ex as ProductListingGroupsCatalogProduct, ey as ProductListingGroupsCatalogResponse, d2 as ProductListingGroupsItem, ez as ProductListingGroupsProduct, eA as ProductListingGroupsResponse, cX as ProductListingPageBaseParams, c_ as ProductListingPageCatalogParams, eB as ProductListingPageFilters, d1 as ProductListingPageFullParams, cW as ProductListingPageParams, c$ as ProductListingPageResult, eC as ProductListingPageSort, eD as ProductListingProductShape, eE as ProductListingSwatch, eF as ProductLocaleOption, eG as ProductLocaleReadParams, eH as ProductLocalizedText, eI as ProductLocalizedValue, eJ as ProductMediaResolutionSource, eK as ProductMoneyRange, eL as ProductOptionMatrix, eM as ProductOptionMatrixOption, eN as ProductOptionMatrixValue, eO as ProductOptionMatrixVariant, eP as ProductOptionShape, eQ as ProductOptionValueShape, eR as ProductOptionValueSwatch, eS as ProductOptionValueSwatchInput, eT as ProductPriceRange, eU as ProductSelectionAvailableSwatch, eV as ProductSelectionAvailableValue, eW as ProductSelectionByOptionValue, eX as ProductSelectionCodecError, eY as ProductSelectionCodecOptions, eZ as ProductSelectionInput, e_ as ProductSelectionMediaPointer, e$ as ProductSelectionMediaSource, f0 as ProductSelectionOptionValue, f1 as ProductSelectionResolution, f2 as ProductSelectionResolutionContext, f3 as ProductSelectionUrlEmit, f4 as ProductSelectionVariant, f5 as ProductUpsertFieldValidationErrorBody, f6 as ProductUpsertFieldValidationErrorReason, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, f7 as ProductVariantShape, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, f8 as PublicCheckoutBase, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, cN as PublicReadQueryOptions, af as ReconciliationRequired, ag as RemoveItemParams, f9 as RequestOptions, fa as ResolveCancelRefundFailedResponse, fb as ResolveCancelRefundOutcome, fc as ResolveCancelRefundParams, fd as ResolveCancelRefundResponse, fe as ResolveCancelRefundSucceededResponse, ff as ResolveProductDisplayMediaInput, fg as ResolveProductDisplayMediaResult, fh as ResolveProductSelectionMediaInput, fi as ResolveProductSelectionMediaResult, fj as ResolvedCatalogPrice, ah as RetrieveBrowserPaymentSessionParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, cl as RetrieveServerCheckoutParams, ak as RetryConfig, fk as ReturnCancellationReasonCode, fl as ReturnItem, fm as ReturnReason, fn as ReturnWithRefundItem, fo as ReturnWithRefundParams, co as RevokeCustomerGroupMemberParams, al as RootClient, am as RootCollectionClient, an as RootReadOnlyQueryBuilder, fp as ShippingApi, fq as ShippingApiOptions, ao as ShippingLine, ap as Sort, aq as SpentCheckoutPaymentState, fr as StockCheckParams, fs as StockCheckResponse, ft as StockCheckResult, fu as StockSnapshotItem, fv as StockSnapshotParams, ar as StorefrontContentListOptions, as as StorefrontContentReference, at as StorefrontGalleryItem, au as StorefrontGalleryItemsListOptions, av as StorefrontGalleryItemsSort, aw as StorefrontLink, ax as StorefrontLinksListOptions, ay as StorefrontLinksSort, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, fw as UpdateFulfillmentParams, aB as UpdateItemParams, fx as UpdateOrderParams, cV as UpdateProfileData, fy as UpdateReturnParams, fz as ValidateDiscountParams, fA as ValidateDiscountResult, aC as VariantInput, fB as VideoPlaybackResponse, aD as Where, fC as WithIdempotencyKey, fD as buildProductHref, fE as buildProductListingCard, fF as buildProductListingGroupProjection, fG as buildProductListingGroupsByOption, fH as buildProductOptionMatrix, fI as buildProductOptionMatrixFromDetail, fJ as createProductSelectionCodec, fK as getAvailableOptionValues, fL as getProductSelectionImages, fM as getSelectedValueByOptionId, fN as getVariantAvailableForSale, fO as getVariantAvailableStock, fP as isProductUpsertFieldValidationErrorBody, fQ as normalizeProductSelection, fR as normalizeProductSelectionFromMatrix, fS as normalizeSelectedValueIds, fT as parseProductSelection, fU as projectProductToListingShape, fV as resolveFeaturedImagePointer, fW as resolveProductDisplayMedia, fX as resolveProductSelection, fY as resolveProductSelectionFromMatrix, fZ as resolveProductSelectionMedia, f_ as resolveVariantForSelection, f$ as selectNext, g0 as selectedSwatchMediaItemId, g1 as stringifyProductSelection, g2 as toShopifyPriceRangeV2 } from './types-DnRC3nLG.js';
3
- import { P as Product } from './payload-types-BnIET0xU.js';
4
- export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-BnIET0xU.js';
5
- export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-D1y4TgQm.js';
6
- export { C as COMMERCE_NOTIFICATION_EVENTS, a as COMMERCE_NOTIFICATION_EVENT_TYPE, b as COMMERCE_NOTIFICATION_OPERATION, c as CUSTOMER_PASSWORD_RESET_OPERATION, d as CollectionWebhookOperation, e as CommerceEmailChannel, f as CommerceEmailConfig, g as CommerceEmailEventConfig, h as CommerceEmailEventHandlers, i as CommerceEmailHandlerContext, j as CommerceNotification, k as CommerceNotificationData, l as CommerceNotificationEventHandlers, m as CommerceNotificationEventName, n as CommerceNotificationHandlerContext, o as CommerceNotificationSource, p as CommerceNotificationSourceCollection, q as CommerceNotificationWebhookEvent, r as CustomerAuthWebhookEvent, s as CustomerAuthWebhookHandlers, a2 as CustomerCommerceNotificationEventName, t as CustomerPasswordResetWebhookData, u as CustomerPasswordResetWebhookEvent, M as MembershipNotificationData, v as MembershipNotificationEventName, O as ORDER_CHANGED_EVENT_TYPE, w as OrderChangedWebhookEvent, P as PaymentIncidentMoney, x as PaymentIncidentNotificationData, y as PaymentIncidentNotificationEventName, z as PaymentIncidentNotificationReason, A as PaymentIncidentNotificationSourceCollection, B as PaymentIncidentNotificationStatus, D as PaymentIncidentProviderObject, a3 as PaymentReconciliationRequiredNotificationData, a4 as PaymentRefundRequiresAttentionNotificationData, E as WebhookChange, F as WebhookCommerceNotificationChange, G as WebhookEvent, W as WebhookHandler, H as WebhookKnownOperation, I as WebhookOperation, J as WebhookOptions, K as WebhookOrderChange, L as WebhookOrderMoved, N as WebhookOrderScope, Q as createCommerceEmailWebhookHandler, R as createCommerceNotificationWebhookHandler, S as createCustomerAuthWebhookHandler, T as createTypedWebhookHandler, U as defineCommerceEmailConfig, V as getCommerceNotificationIdempotencyKey, X as handleWebhook, Y as isCommerceNotificationWebhookEvent, Z as isCustomerPasswordResetWebhookEvent, _ as isOrderChangedWebhookEvent, $ as isValidWebhookEvent, a0 as isWebhookCollection, a1 as isWebhookOperation } from './index-1auUEYrl.js';
7
- export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS, P as PublicCollection, b as SERVER_COLLECTIONS, c as SERVER_ONLY_COLLECTIONS } from './const-CRxPTDGt.js';
1
+ import { db as BaseApi, aF as ServerApiOptions, aI as SubscribeMembershipParams, aJ as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, aK as BillingCustodyParams, aL as BillingCustodyResponse, dc as ProductDetail, dd as ProductDetailCatalog, de as StockSnapshotResponse, h as ClientConfig, df as RootClientWithEvents } from './types-I2k6Laad.js';
2
+ export { A as AddItemParams, i as ApiQueryOptions, dg as BillingCustodyWireRequest, dh as BulkImportFulfillmentsParams, di as BulkImportFulfillmentsResponse, dj as CalculateShippingParams, dk as CalculateShippingResult, j as CancelBrowserPaymentSessionParams, dl as CancelOrderParams, dm as CancelOrderResponse, dn as CancelReasonCode, dp as CartDiscountCode, k as CartMergeParams, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, dq as CartWarning, dr as CartWarningCode, o as CheckoutAbandonedReason, p as CheckoutAmounts, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, s as CheckoutShippingAddress, t as ClearCartParams, al as Client, u as ClientMetadata, g as ClientState, al as ClientType, ds as Comment, C as CommerceClient, dt as CommerceClientOptions, a as CommunityClient, du as CommunityClientOptions, dv as CommunityComment, dw as CommunityCommentListSort, dx as CommunityPost, dy as CommunityPostCategory, dz as CommunityPostListSort, dA as CommunityPostTag, dB as CommunityPublicAuthorSnapshot, dC as CommunityPublicMediaAsset, dD as CommunityPublicReference, dE as CompatibilityProductSelectionParamEvent, b as ContentClient, v as ContentClientOptions, w as CreateCartParams, x as CreateCartResult, y as CreateCheckoutParams, z as CreateCheckoutResult, dF as CreateFulfillmentParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, dG as CreateReturnParams, bi as CreateServerPaymentSessionParams, bj as CreateServerPortOnePaymentSessionParams, cW as CustomerAuth, dH as CustomerAuthOptions, cY as CustomerAuthResponse, dI as CustomerAuthorizationUrlInput, dJ as CustomerAuthorizationUrlResult, aM as CustomerGroupApi, bm as CustomerGroupApiOptions, bn as CustomerGroupManualSource, bo as CustomerGroupMember, bp as CustomerGroupMemberCommandResponse, bq as CustomerGroupMemberSource, br as CustomerGroupMembershipSource, bs as CustomerGroupMembershipState, cZ as CustomerLoginData, d as CustomerMembershipView, c as CustomerNamespace, dK as CustomerOAuth, dL as CustomerOAuthCallbackResult, dM as CustomerOAuthConfig, dN as CustomerOAuthTokenSet, dO as CustomerOrderListOptions, cX as CustomerProfile, d0 as CustomerRefreshResponse, c$ as CustomerRegisterData, c_ as CustomerRegisterResponse, F as CustomerSnapshot, dP as CustomerWithdrawalResult, G as DebugConfig, H as DeepPartial, dQ as DiscountApi, dR as DiscountApiOptions, dS as DiscountErrorReasonCode, bu as EventAdmissionAvailabilityParams, bv as EventAdmissionAvailabilityResponse, bw as EventAdmissionAvailabilityType, bx as EventAdmissionPricePresentment, by as EventGuestCancelParams, bz as EventGuestRegistration, bA as EventGuestRegistrationResponse, bB as EventMyRegistration, bC as EventMyRegistrationsParams, bD as EventMyRegistrationsResponse, bE as EventRegistrationAnswerInput, bF as EventRegistrationAttendeeInput, bG as EventRegistrationPublic, bH as EventRegistrationRegisterParams, bI as EventRegistrationRegisterResponse, bJ as EventsCalendarItem, E as EventsClient, bK as EventsClientOptions, bL as EventsDateParam, bM as EventsExternalSource, bN as EventsLocation, bO as EventsOccurrenceLocation, bP as EventsRangeEvent, bQ as EventsRangeOccurrence, bR as EventsRangeParams, bS as EventsRangeResponse, bT as EventsTaxonomyItem, I as ExtractArrayType, dT as FeaturedImagePointerInput, dU as GetOrderByPaymentIdParams, c4 as GrantCustomerGroupMemberParams, dV as LegacyProductSelectionParamEvent, c7 as ListCustomerGroupMembersParams, c8 as ListCustomerGroupMembersResponse, dW as ListingGroupsParams, dX as MAX_CART_LINE_ADMISSIONS, dY as ManagedPaymentNextAction, dZ as ManagedPublicPaymentSession, d_ as MarketDTO, d$ as MediaValue, J as MembershipStatus, K as Money, e0 as NormalizedOptionSwatch, e1 as NormalizedProductSelection, O as OpenCheckoutPaymentState, e2 as OrderApi, e3 as OrderApiOptions, e4 as OrderByPaymentResult, e5 as PRODUCT_PLP_FIND_OPTIONS, e6 as PRODUCT_UPSERT_READONLY_FIELD_REASON, e7 as PRODUCT_UPSERT_UNKNOWN_FIELD_REASON, P as PayloadFindResponse, L as PayloadMutationResponse, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, V as PortOnePaymentNextAction, W as PortOnePublicPaymentSession, e8 as PrepareFulfillmentOrderParams, e9 as PrepareFulfillmentOrderResponse, ea as ProductApi, eb as ProductApiOptions, ec as ProductDetailBrand, d5 as ProductDetailCatalogResult, ed as ProductDetailCatalogVariant, ee as ProductDetailCategory, ef as ProductDetailImage, eg as ProductDetailImageMedia, eh as ProductDetailMedia, ei as ProductDetailOption, ej as ProductDetailOptionValue, d4 as ProductDetailParams, ek as ProductDetailResult, el as ProductDetailTag, em as ProductDetailUnavailableReason, en as ProductDetailVariant, eo as ProductDetailVariantOptionValue, ep as ProductDetailVideo, eq as ProductDisplayMediaSource, er as ProductFallbackLocaleOption, es as ProductHrefGroup, et as ProductHrefOptions, eu as ProductHrefProduct, ev as ProductListingCard, ew as ProductListingCardOptions, ex as ProductListingCardPriceRange, ey as ProductListingCardRepresentativeVariant, ez as ProductListingGroup, eA as ProductListingGroupCatalogSummary, eB as ProductListingGroupCatalogVariant, eC as ProductListingGroupProjection, eD as ProductListingGroupSummary, eE as ProductListingGroupVariant, d8 as ProductListingGroupsCatalogItem, eF as ProductListingGroupsCatalogProduct, eG as ProductListingGroupsCatalogResponse, da as ProductListingGroupsItem, eH as ProductListingGroupsProduct, eI as ProductListingGroupsResponse, d3 as ProductListingPageBaseParams, d6 as ProductListingPageCatalogParams, eJ as ProductListingPageFilters, d9 as ProductListingPageFullParams, d2 as ProductListingPageParams, d7 as ProductListingPageResult, eK as ProductListingPageSort, eL as ProductListingProductShape, eM as ProductListingSwatch, eN as ProductLocaleOption, eO as ProductLocaleReadParams, eP as ProductLocalizedText, eQ as ProductLocalizedValue, eR as ProductMediaResolutionSource, eS as ProductMoneyRange, eT as ProductOptionMatrix, eU as ProductOptionMatrixOption, eV as ProductOptionMatrixValue, eW as ProductOptionMatrixVariant, eX as ProductOptionShape, eY as ProductOptionValueShape, eZ as ProductOptionValueSwatch, e_ as ProductOptionValueSwatchInput, e$ as ProductPriceRange, f0 as ProductSelectionAvailableSwatch, f1 as ProductSelectionAvailableValue, f2 as ProductSelectionByOptionValue, f3 as ProductSelectionCodecError, f4 as ProductSelectionCodecOptions, f5 as ProductSelectionInput, f6 as ProductSelectionMediaPointer, f7 as ProductSelectionMediaSource, f8 as ProductSelectionOptionValue, f9 as ProductSelectionResolution, fa as ProductSelectionResolutionContext, fb as ProductSelectionUrlEmit, fc as ProductSelectionVariant, fd as ProductUpsertFieldValidationErrorBody, fe as ProductUpsertFieldValidationErrorReason, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, ff as ProductVariantShape, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, fg as PublicCheckoutBase, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, cV as PublicReadQueryOptions, af as ReconciliationRequired, ag as RemoveItemParams, fh as RequestOptions, fi as ResolveCancelRefundFailedResponse, fj as ResolveCancelRefundOutcome, fk as ResolveCancelRefundParams, fl as ResolveCancelRefundResponse, fm as ResolveCancelRefundSucceededResponse, fn as ResolveProductDisplayMediaInput, fo as ResolveProductDisplayMediaResult, fp as ResolveProductSelectionMediaInput, fq as ResolveProductSelectionMediaResult, fr as ResolvedCatalogPrice, ah as RetrieveBrowserPaymentSessionParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, cq as RetrieveServerCheckoutParams, ak as RetryConfig, fs as ReturnCancellationReasonCode, ft as ReturnItem, fu as ReturnReason, fv as ReturnWithRefundItem, fw as ReturnWithRefundParams, ct as RevokeCustomerGroupMemberParams, al as RootClient, am as RootCollectionClient, an as RootReadOnlyQueryBuilder, fx as ShippingApi, fy as ShippingApiOptions, ao as ShippingLine, ap as Sort, aq as SpentCheckoutPaymentState, fz as StockCheckParams, fA as StockCheckResponse, fB as StockCheckResult, fC as StockSnapshotItem, fD as StockSnapshotParams, ar as StorefrontContentListOptions, as as StorefrontContentReference, at as StorefrontGalleryItem, au as StorefrontGalleryItemsListOptions, av as StorefrontGalleryItemsSort, aw as StorefrontLink, ax as StorefrontLinksListOptions, ay as StorefrontLinksSort, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, fE as UpdateFulfillmentParams, aB as UpdateItemParams, fF as UpdateOrderParams, d1 as UpdateProfileData, fG as UpdateReturnParams, fH as ValidateDiscountParams, fI as ValidateDiscountResult, aC as VariantInput, fJ as VideoPlaybackResponse, aD as Where, fK as WithIdempotencyKey, fL as buildProductHref, fM as buildProductListingCard, fN as buildProductListingGroupProjection, fO as buildProductListingGroupsByOption, fP as buildProductOptionMatrix, fQ as buildProductOptionMatrixFromDetail, fR as createProductSelectionCodec, fS as getAvailableOptionValues, fT as getProductSelectionImages, fU as getSelectedValueByOptionId, fV as getVariantAvailableForSale, fW as getVariantAvailableStock, fX as isProductUpsertFieldValidationErrorBody, fY as normalizeProductSelection, fZ as normalizeProductSelectionFromMatrix, f_ as normalizeSelectedValueIds, f$ as parseProductSelection, g0 as projectProductToListingShape, g1 as resolveFeaturedImagePointer, g2 as resolveProductDisplayMedia, g3 as resolveProductSelection, g4 as resolveProductSelectionFromMatrix, g5 as resolveProductSelectionMedia, g6 as resolveVariantForSelection, g7 as selectNext, g8 as selectedSwatchMediaItemId, g9 as stringifyProductSelection, ga as toShopifyPriceRangeV2 } from './types-I2k6Laad.js';
3
+ import { P as Product } from './payload-types-jdsUXunB.js';
4
+ export { A as Article, f as ArticleAuthor, g as ArticleCategory, h as ArticleTag, D as Document, I as Image, i as Post, j as PostCategory, T as Tenant, V as Video } from './payload-types-jdsUXunB.js';
5
+ export { C as CollectionType, P as Market, a as Product, b as ProductCollection, c as ProductVariant } from './types-BusejG-v.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-CwKxWHIa.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-BU79hCFB.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
@@ -1382,7 +1382,9 @@ var COMMERCE_ENDPOINT_OPERATIONS = {
1382
1382
  ),
1383
1383
  stockCheck: operation("products", "post", "/stock-check"),
1384
1384
  stockSnapshot: operation("products", "get", "/stock"),
1385
- upsert: operation("products", "post", "/upsert")
1385
+ upsert: operation("products", "post", "/upsert"),
1386
+ graphRevision: operation("products", "get", "/:id/graph-revision"),
1387
+ variantsPatch: operation("products", "patch", "/:id/variants")
1386
1388
  },
1387
1389
  orders: {
1388
1390
  create: operation("orders", "post", "/create"),
@@ -1551,6 +1553,14 @@ var CUSTOMER_GROUP_ENDPOINT_OPERATIONS = {
1551
1553
  revoke: operation("customer-groups", "post", "/:id/members/revoke")
1552
1554
  };
1553
1555
  var CUSTOMER_AUTH_ENDPOINT_OPERATIONS = {
1556
+ register: operation("customers", "post", "/register"),
1557
+ login: operation("customers", "post", "/login"),
1558
+ refresh: operation("customers", "post", "/refresh"),
1559
+ me: operation("customers", "get", "/me"),
1560
+ updateProfile: operation("customers", "patch", "/me"),
1561
+ forgotPassword: operation("customers", "post", "/forgot-password"),
1562
+ resetPassword: operation("customers", "post", "/reset-password"),
1563
+ changePassword: operation("customers", "post", "/change-password"),
1554
1564
  revokeRefresh: operation("customers", "post", "/revoke-refresh"),
1555
1565
  withdraw: operation("customers", "post", "/withdraw")
1556
1566
  };
@@ -1560,6 +1570,9 @@ var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
1560
1570
  disable: operation("tenants", "delete", "/embedded-admin-app")
1561
1571
  };
1562
1572
  var EVENTS_ENDPOINT_OPERATIONS = {
1573
+ registrations: {
1574
+ listMine: operation("event-registrations", "get", "/my")
1575
+ },
1563
1576
  events: {
1564
1577
  convertSchedule: operation("events", "post", "/:id/schedule")
1565
1578
  },
@@ -3985,19 +3998,24 @@ var CustomerAuth = class {
3985
3998
  * Register a new customer account
3986
3999
  */
3987
4000
  async register(data) {
3988
- return this.requestJson("/api/customers/register", {
3989
- method: "POST",
3990
- body: JSON.stringify(data)
3991
- });
4001
+ return this.requestJson(
4002
+ resolveOperationPath(CUSTOMER_AUTH_ENDPOINT_OPERATIONS.register),
4003
+ {
4004
+ method: resolveOperationMethod(
4005
+ CUSTOMER_AUTH_ENDPOINT_OPERATIONS.register
4006
+ ),
4007
+ body: JSON.stringify(data)
4008
+ }
4009
+ );
3992
4010
  }
3993
4011
  /**
3994
4012
  * Login with email and password. Stores the token internally.
3995
4013
  */
3996
4014
  async login(data) {
3997
4015
  const result = await this.requestJson(
3998
- "/api/customers/login",
4016
+ resolveOperationPath(CUSTOMER_AUTH_ENDPOINT_OPERATIONS.login),
3999
4017
  {
4000
- method: "POST",
4018
+ method: resolveOperationMethod(CUSTOMER_AUTH_ENDPOINT_OPERATIONS.login),
4001
4019
  body: JSON.stringify(data)
4002
4020
  }
4003
4021
  );
@@ -4243,14 +4261,18 @@ var CustomerAuth = class {
4243
4261
  }
4244
4262
  async _doRefreshToken(intended) {
4245
4263
  const init = intended.refreshToken ? {
4246
- method: "POST",
4264
+ method: resolveOperationMethod(
4265
+ CUSTOMER_AUTH_ENDPOINT_OPERATIONS.refresh
4266
+ ),
4247
4267
  body: JSON.stringify({ refreshToken: intended.refreshToken })
4248
4268
  } : {
4249
- method: "POST",
4269
+ method: resolveOperationMethod(
4270
+ CUSTOMER_AUTH_ENDPOINT_OPERATIONS.refresh
4271
+ ),
4250
4272
  headers: { Authorization: `Bearer ${intended.token}` }
4251
4273
  };
4252
4274
  const result = await this.requestJson(
4253
- "/api/customers/refresh",
4275
+ resolveOperationPath(CUSTOMER_AUTH_ENDPOINT_OPERATIONS.refresh),
4254
4276
  init
4255
4277
  );
4256
4278
  const state = this.classifyCanonicalState(intended);
@@ -4319,9 +4341,9 @@ var CustomerAuth = class {
4319
4341
  if (!token) return null;
4320
4342
  try {
4321
4343
  const data = await this.requestJson(
4322
- "/api/customers/me",
4344
+ resolveOperationPath(CUSTOMER_AUTH_ENDPOINT_OPERATIONS.me),
4323
4345
  {
4324
- method: "GET",
4346
+ method: resolveOperationMethod(CUSTOMER_AUTH_ENDPOINT_OPERATIONS.me),
4325
4347
  headers: { Authorization: `Bearer ${token}` }
4326
4348
  }
4327
4349
  );
@@ -4338,19 +4360,29 @@ var CustomerAuth = class {
4338
4360
  * Request a password reset email
4339
4361
  */
4340
4362
  async forgotPassword(email) {
4341
- await this.requestJson("/api/customers/forgot-password", {
4342
- method: "POST",
4343
- body: JSON.stringify({ email })
4344
- });
4363
+ await this.requestJson(
4364
+ resolveOperationPath(CUSTOMER_AUTH_ENDPOINT_OPERATIONS.forgotPassword),
4365
+ {
4366
+ method: resolveOperationMethod(
4367
+ CUSTOMER_AUTH_ENDPOINT_OPERATIONS.forgotPassword
4368
+ ),
4369
+ body: JSON.stringify({ email })
4370
+ }
4371
+ );
4345
4372
  }
4346
4373
  /**
4347
4374
  * Reset password using a token from the reset email
4348
4375
  */
4349
4376
  async resetPassword(token, password) {
4350
- await this.requestJson("/api/customers/reset-password", {
4351
- method: "POST",
4352
- body: JSON.stringify({ token, password })
4353
- });
4377
+ await this.requestJson(
4378
+ resolveOperationPath(CUSTOMER_AUTH_ENDPOINT_OPERATIONS.resetPassword),
4379
+ {
4380
+ method: resolveOperationMethod(
4381
+ CUSTOMER_AUTH_ENDPOINT_OPERATIONS.resetPassword
4382
+ ),
4383
+ body: JSON.stringify({ token, password })
4384
+ }
4385
+ );
4354
4386
  }
4355
4387
  /**
4356
4388
  * Update the authenticated customer's profile (name, phone, marketingConsent)
@@ -4359,9 +4391,11 @@ var CustomerAuth = class {
4359
4391
  const token = this.getToken();
4360
4392
  if (!token) throw new ApiError("Not authenticated", 401);
4361
4393
  const result = await this.requestJson(
4362
- "/api/customers/me",
4394
+ resolveOperationPath(CUSTOMER_AUTH_ENDPOINT_OPERATIONS.updateProfile),
4363
4395
  {
4364
- method: "PATCH",
4396
+ method: resolveOperationMethod(
4397
+ CUSTOMER_AUTH_ENDPOINT_OPERATIONS.updateProfile
4398
+ ),
4365
4399
  headers: { Authorization: `Bearer ${token}` },
4366
4400
  body: JSON.stringify(data)
4367
4401
  }
@@ -4374,11 +4408,16 @@ var CustomerAuth = class {
4374
4408
  async changePassword(currentPassword, newPassword) {
4375
4409
  const token = this.getToken();
4376
4410
  if (!token) throw new ApiError("Not authenticated", 401);
4377
- await this.requestJson("/api/customers/change-password", {
4378
- method: "POST",
4379
- headers: { Authorization: `Bearer ${token}` },
4380
- body: JSON.stringify({ currentPassword, newPassword })
4381
- });
4411
+ await this.requestJson(
4412
+ resolveOperationPath(CUSTOMER_AUTH_ENDPOINT_OPERATIONS.changePassword),
4413
+ {
4414
+ method: resolveOperationMethod(
4415
+ CUSTOMER_AUTH_ENDPOINT_OPERATIONS.changePassword
4416
+ ),
4417
+ headers: { Authorization: `Bearer ${token}` },
4418
+ body: JSON.stringify({ currentPassword, newPassword })
4419
+ }
4420
+ );
4382
4421
  }
4383
4422
  /**
4384
4423
  * Get the authenticated customer's orders with pagination and optional status filter
@@ -6896,6 +6935,18 @@ var EventsClient = class {
6896
6935
  { useCustomerAuth: false }
6897
6936
  );
6898
6937
  }
6938
+ listMyRegistrations(params = {}) {
6939
+ const query = new URLSearchParams();
6940
+ if (params.page !== void 0) query.set("page", String(params.page));
6941
+ if (params.limit !== void 0) query.set("limit", String(params.limit));
6942
+ const operation2 = EVENTS_ENDPOINT_OPERATIONS.registrations.listMine;
6943
+ return this.execute(
6944
+ resolveOperationPath(operation2, { query }),
6945
+ resolveOperationMethod(operation2),
6946
+ void 0,
6947
+ { useCustomerAuth: true, noStore: true }
6948
+ );
6949
+ }
6899
6950
  register(params) {
6900
6951
  return this.execute(
6901
6952
  "/api/event-registrations/register",
@@ -6926,6 +6977,7 @@ var EventsClient = class {
6926
6977
  try {
6927
6978
  const response = await httpFetch(endpoint, {
6928
6979
  method,
6980
+ ...options.noStore && { cache: "no-store" },
6929
6981
  apiUrl: this.apiUrl,
6930
6982
  publishableKey: this.publishableKey,
6931
6983
  ...useCustomerAuth && token ? { customerToken: token } : {},
@@ -7512,6 +7564,7 @@ var INTERNAL_COLLECTIONS = [
7512
7564
  "tenant-mcp-usage-daily",
7513
7565
  "subscriptions",
7514
7566
  "billing-history",
7567
+ "billing-consent-receipts",
7515
7568
  "usage-rate-cards",
7516
7569
  "usage-invoices",
7517
7570
  "inventory-reservations",