@01.software/sdk 0.73.1 → 0.75.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 +75 -0
  2. package/README.md +109 -4
  3. package/dist/client.cjs +59 -14
  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 +59 -14
  8. package/dist/client.js.map +1 -1
  9. package/dist/{collection-client-BH4dIZ6c.d.cts → collection-client-BNC6tUdK.d.cts} +3 -4
  10. package/dist/{collection-client-lLAl3xCZ.d.ts → collection-client-CNkBMUHj.d.ts} +3 -4
  11. package/dist/collection-documents-Bl0AF0m0.d.cts +5486 -0
  12. package/dist/collection-documents-Bl0AF0m0.d.ts +5486 -0
  13. package/dist/{const-CCvoknRY.d.ts → const-CcOT0taO.d.cts} +1 -3
  14. package/dist/{const-BS2EaIp4.d.cts → const-CcOT0taO.d.ts} +1 -3
  15. package/dist/{index-DVqNpmsc.d.ts → index-CQsJvMCN.d.ts} +2 -3
  16. package/dist/{index-CHdrzJ8-.d.cts → index-CfxkqaY9.d.cts} +2 -3
  17. package/dist/index.cjs +60 -14
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +7 -7
  20. package/dist/index.d.ts +7 -7
  21. package/dist/index.js +60 -14
  22. package/dist/index.js.map +1 -1
  23. package/dist/query.cjs +16 -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 +16 -1
  28. package/dist/query.js.map +1 -1
  29. package/dist/realtime.d.cts +1 -2
  30. package/dist/realtime.d.ts +1 -2
  31. package/dist/server.cjs +50 -11
  32. package/dist/server.cjs.map +1 -1
  33. package/dist/server.d.cts +7 -7
  34. package/dist/server.d.ts +7 -7
  35. package/dist/server.js +50 -11
  36. package/dist/server.js.map +1 -1
  37. package/dist/{types-lbzbJSZh.d.ts → types-Btxz6NVi.d.ts} +161 -31
  38. package/dist/types-CQw4HXky.d.ts +151 -0
  39. package/dist/{types-Chwgg4CQ.d.cts → types-DMwRdJ-4.d.cts} +161 -31
  40. package/dist/types-Jr4xTiGs.d.cts +151 -0
  41. package/dist/ui/form.cjs.map +1 -1
  42. package/dist/ui/form.d.cts +1 -1
  43. package/dist/ui/form.d.ts +1 -1
  44. package/dist/ui/form.js.map +1 -1
  45. package/dist/ui/video.cjs.map +1 -1
  46. package/dist/ui/video.d.cts +1 -1
  47. package/dist/ui/video.d.ts +1 -1
  48. package/dist/ui/video.js.map +1 -1
  49. package/dist/webhook.d.cts +7 -5
  50. package/dist/webhook.d.ts +7 -5
  51. package/package.json +1 -1
  52. package/dist/payload-types-PXkmefhZ.d.cts +0 -14027
  53. package/dist/payload-types-PXkmefhZ.d.ts +0 -14027
  54. package/dist/types-CQRsG6sA.d.ts +0 -53
  55. package/dist/types-CyMz0Kzc.d.cts +0 -53
package/dist/server.d.cts CHANGED
@@ -1,11 +1,11 @@
1
- import { R as RawBaseApi, S as ServerApiOptions, a as ServerCommerceClient, T as TenantIntrospectionClient, 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, i as CustomerGroupApi, j as ExternalEffectClaimsApi, I as InstallationCredentialsApi, k as ExternalCustomerLinksApi, l as BenefitVouchersApi, m as CreditsApi, V as VideoPlaybackClient, n as CommunityClient, o as BanCustomerParams, p as CommunityBan, U as UnbanCustomerParams, M as MarketDiscovery, q as ClientState, r as ClientServerConfig, s as RootServerClientWithEvents } from './types-Chwgg4CQ.cjs';
2
- export { A as AddItemParams, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, x as CancelServerPaymentSessionParams, y as CaptureExternalCustomerPreviousStateParams, z as CartApi, D as CartApiOptions, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, J as CheckoutAbandonedReason, K as CheckoutAmounts, L as CheckoutApi, N as CheckoutApiOptions, O as CheckoutListItem, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, W as CheckoutQueryParams, X as CheckoutQueryResult, Y as CheckoutShippingAddress, Z as CheckoutStatus, _ as ClaimExternalEffectParams, $ as ClearCartParams, a0 as CollectionCustomFieldDefinition, a1 as CollectionCustomFields, a2 as CollectionFieldSchema, a3 as CollectionSchemaResponse, a4 as ConfirmCustomPaymentSessionOptions, a5 as ConfirmCustomPaymentSessionParams, a6 as ConfirmCustomPaymentSessionResponse, a7 as ConfirmTossPaymentSessionParams, a8 as ConnectExternalCustomerLinkParams, a9 as CreateCartParams, aa as CreateCartResult, ab as CreateCustomPaymentSessionParams, ac as CreateInstallationCredentialParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, af as CreateServerCheckoutParams, ag as CreateServerCheckoutResult, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, aj as CustomPaymentSession, ak as CustomPaymentSessionProof, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, aw as CustomerMembershipView, ax as CustomerSnapshot, ay as DisposeInstallationCredentialParams, 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, a_ as ExternalCustomerLink, a$ as ExternalCustomerLinkListResponse, b0 as ExternalCustomerPreviousState, b1 as ExternalEffectClaimErrorReason, b2 as ExternalEffectClaimSnapshot, b3 as ExternalEffectClaimState, b4 as ExternalEffectLeaseParams, b5 as ExternalEffectLocator, b6 as FindPortOnePaymentParams, b7 as FindPortOnePaymentResult, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, bb as GetExternalCustomerLinkParams, bc as GetExternalEffectClaimParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bf as InstallationCredentialIdentity, bg as InstallationCredentialSnapshot, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bn as ListExternalCustomerLinksParams, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, bq as MembershipStatus, br as ModerationApi, bs as Money, bt as MutateBenefitVoucherResponse, bu as MutateExternalCustomerLinkParams, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, bz as OpenCheckoutPaymentState, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bE as PaymentSessionApi, bF as PaymentSessionApiOptions, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bI as PortOnePaymentCurrentState, bJ as PortOnePaymentNextAction, bK as PortOnePaymentReconciliationApi, bL as PortOnePaymentSelector, bM as PortOnePublicPaymentSession, bN as PortOneReconciliationDisposition, bO as ProductGraphRevisionParams, bP as ProductGraphRevisionResponse, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, c8 as ReconcilePortOnePaymentParams, c9 as ReconcilePortOnePaymentResult, ca as ReconciliationRequired, cb as RecordExternalEffectRecoveryParams, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, ce as ReplaceInstallationCredentialParams, cf as ReportExternalEffectParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, ci as RetrieveCustomPaymentSessionParams, cj as RetrieveServerCheckoutParams, ck as RetrieveServerPaymentSessionParams, cl as RetrievedCustomPaymentSession, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, cp as RootServerClient, cq as ServerAddItemParams, cr as ServerCartMergeParams, cs as ServerCartMineParams, ct as ServerCheckout, cu as ServerUpdateItemParams, cv as ShippingLine, cw as SpentCheckoutPaymentState, cx as TENANT_CONTEXT_PATH, cy as TenantContextInput, cz as TenantContextResponse, cA as TenantCustomFieldType, cB as TenantFeatureProgressEvidenceValue, cC as TenantFeatureProgressFeature, cD as TenantFeatureProgressGroup, cE as TenantFeatureProgressInput, cF as TenantFeatureProgressItem, cG as TenantFeatureProgressItemState, cH as TenantFeatureProgressResponse, cI as TenantFeatureProgressSeverity, cJ as TenantFeatureProgressStatus, cK as TenantFieldConfigState, cL as TenantIntrospectionApi, cM as TenantIntrospectionApiOptions, cN as UpdateCartAttributesParams, cO as UpdateDiscountCodesParams, cP as UpdateItemParams, cQ as VariantInput, cR as VariantPricesUpdateInput, cS as VariantPricesUpdateParams, cT as VariantPricesUpdateResponse, cU as VoidBenefitVoucherRequest, cV as getExternalEffectClaimErrorReason, cW as invalidBenefitVoucherResponse, cX as parseBenefitVoucher, cY as parseBenefitVoucherList, cZ as parseCustomerCreditAccount, c_ as parseCustomerCreditGrant, c$ as parseMyCustomerCreditHistory, d0 as parseMyCustomerCredits, d1 as parseRevokeCustomerCredit } from './types-Chwgg4CQ.cjs';
3
- import { S as ServerCollectionClient } from './collection-client-BH4dIZ6c.cjs';
4
- export { C as CollectionClient } from './collection-client-BH4dIZ6c.cjs';
5
- import './payload-types-PXkmefhZ.cjs';
1
+ import { R as RawBaseApi, S as ServerApiOptions, a as ServerCommerceClient, T as TenantIntrospectionClient, 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, i as CustomerGroupApi, j as ExternalEffectClaimsApi, I as InstallationCredentialsApi, k as ExternalCustomerLinksApi, l as BenefitVouchersApi, m as CreditsApi, V as VideoPlaybackClient, n as CommunityClient, o as BanCustomerParams, p as CommunityBan, U as UnbanCustomerParams, M as MarketDiscovery, q as ClientState, r as ClientServerConfig, s as RootServerClientWithEvents } from './types-DMwRdJ-4.cjs';
2
+ export { A as AddItemParams, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, x as CancelServerPaymentSessionParams, y as CaptureExternalCustomerPreviousStateParams, z as CartApi, D as CartApiOptions, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, J as CheckoutAbandonedReason, K as CheckoutAmounts, L as CheckoutApi, N as CheckoutApiOptions, O as CheckoutListItem, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, W as CheckoutQueryParams, X as CheckoutQueryResult, Y as CheckoutShippingAddress, Z as CheckoutStatus, _ as ClaimExternalEffectParams, $ as ClearCartParams, a0 as CollectionCustomFieldDefinition, a1 as CollectionCustomFields, a2 as CollectionFieldSchema, a3 as CollectionSchemaResponse, a4 as ConfirmCustomPaymentSessionOptions, a5 as ConfirmCustomPaymentSessionParams, a6 as ConfirmCustomPaymentSessionResponse, a7 as ConfirmTossPaymentSessionParams, a8 as ConnectExternalCustomerLinkParams, a9 as CreateCartParams, aa as CreateCartResult, ab as CreateCustomPaymentSessionParams, ac as CreateInstallationCredentialParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, af as CreateServerCheckoutParams, ag as CreateServerCheckoutResult, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, aj as CustomPaymentSession, ak as CustomPaymentSessionProof, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, aw as CustomerMembershipView, ax as CustomerSnapshot, ay as DisposeInstallationCredentialParams, 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, a_ as ExternalCustomerLink, a$ as ExternalCustomerLinkListResponse, b0 as ExternalCustomerPreviousState, b1 as ExternalEffectClaimErrorReason, b2 as ExternalEffectClaimSnapshot, b3 as ExternalEffectClaimState, b4 as ExternalEffectLeaseParams, b5 as ExternalEffectLocator, b6 as FindPortOnePaymentParams, b7 as FindPortOnePaymentResult, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, bb as GetExternalCustomerLinkParams, bc as GetExternalEffectClaimParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bf as InstallationCredentialIdentity, bg as InstallationCredentialSnapshot, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bn as ListExternalCustomerLinksParams, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, bq as MembershipStatus, br as ModerationApi, bs as Money, bt as MutateBenefitVoucherResponse, bu as MutateExternalCustomerLinkParams, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, bz as OpenCheckoutPaymentState, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bE as PaymentSessionApi, bF as PaymentSessionApiOptions, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bI as PortOnePaymentCurrentState, bJ as PortOnePaymentNextAction, bK as PortOnePaymentReconciliationApi, bL as PortOnePaymentSelector, bM as PortOnePublicPaymentSession, bN as PortOneReconciliationDisposition, bO as ProductGraphRevisionParams, bP as ProductGraphRevisionResponse, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, c8 as ReconcilePortOnePaymentParams, c9 as ReconcilePortOnePaymentResult, ca as ReconciliationRequired, cb as RecordExternalEffectRecoveryParams, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, ce as ReplaceInstallationCredentialParams, cf as ReportExternalEffectParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, ci as RetrieveCustomPaymentSessionParams, cj as RetrieveServerCheckoutParams, ck as RetrieveServerPaymentSessionParams, cl as RetrievedCustomPaymentSession, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, cp as RootServerClient, cq as ServerAddItemParams, cr as ServerCartMergeParams, cs as ServerCartMineParams, ct as ServerCheckout, cu as ServerUpdateItemParams, cv as ShippingLine, cw as SpentCheckoutPaymentState, cx as TENANT_CONTEXT_PATH, cy as TenantCommunityFeatureProgressResponse, cz as TenantContextInput, cA as TenantContextResponse, cB as TenantCustomFieldType, cC as TenantCustomersFeatureProgressResponse, cD as TenantEcommerceFeatureProgressResponse, cE as TenantEventsFeatureProgressResponse, cF as TenantFeatureProgressEvidenceValue, cG as TenantFeatureProgressFeature, cH as TenantFeatureProgressGroup, cI as TenantFeatureProgressInput, cJ as TenantFeatureProgressItem, cK as TenantFeatureProgressItemState, cL as TenantFeatureProgressResponse, cM as TenantFeatureProgressResponseFor, cN as TenantFeatureProgressResponseUnion, cO as TenantFeatureProgressSeverity, cP as TenantFeatureProgressStatus, cQ as TenantFieldConfigState, cR as TenantIntrospectionApi, cS as TenantIntrospectionApiOptions, cT as TenantMembershipFeatureProgressResponse, cU as UpdateCartAttributesParams, cV as UpdateDiscountCodesParams, cW as UpdateItemParams, cX as VariantInput, cY as VariantPricesUpdateInput, cZ as VariantPricesUpdateParams, c_ as VariantPricesUpdateResponse, c$ as VoidBenefitVoucherRequest, d0 as getExternalEffectClaimErrorReason, d1 as invalidBenefitVoucherResponse, d2 as parseBenefitVoucher, d3 as parseBenefitVoucherList, d4 as parseCustomerCreditAccount, d5 as parseCustomerCreditGrant, d6 as parseMyCustomerCreditHistory, d7 as parseMyCustomerCredits, d8 as parseRevokeCustomerCredit } from './types-DMwRdJ-4.cjs';
3
+ import { S as ServerCollectionClient } from './collection-client-BNC6tUdK.cjs';
4
+ export { C as CollectionClient } from './collection-client-BNC6tUdK.cjs';
6
5
  export { isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.cjs';
7
- import './const-BS2EaIp4.cjs';
8
- import './types-CyMz0Kzc.cjs';
6
+ import './const-CcOT0taO.cjs';
7
+ import './types-Jr4xTiGs.cjs';
8
+ import './collection-documents-Bl0AF0m0.cjs';
9
9
  import './metadata.cjs';
10
10
 
11
11
  type PreviewDetailParams = {
package/dist/server.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { R as RawBaseApi, S as ServerApiOptions, a as ServerCommerceClient, T as TenantIntrospectionClient, 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, i as CustomerGroupApi, j as ExternalEffectClaimsApi, I as InstallationCredentialsApi, k as ExternalCustomerLinksApi, l as BenefitVouchersApi, m as CreditsApi, V as VideoPlaybackClient, n as CommunityClient, o as BanCustomerParams, p as CommunityBan, U as UnbanCustomerParams, M as MarketDiscovery, q as ClientState, r as ClientServerConfig, s as RootServerClientWithEvents } from './types-lbzbJSZh.js';
2
- export { A as AddItemParams, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, x as CancelServerPaymentSessionParams, y as CaptureExternalCustomerPreviousStateParams, z as CartApi, D as CartApiOptions, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, J as CheckoutAbandonedReason, K as CheckoutAmounts, L as CheckoutApi, N as CheckoutApiOptions, O as CheckoutListItem, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, W as CheckoutQueryParams, X as CheckoutQueryResult, Y as CheckoutShippingAddress, Z as CheckoutStatus, _ as ClaimExternalEffectParams, $ as ClearCartParams, a0 as CollectionCustomFieldDefinition, a1 as CollectionCustomFields, a2 as CollectionFieldSchema, a3 as CollectionSchemaResponse, a4 as ConfirmCustomPaymentSessionOptions, a5 as ConfirmCustomPaymentSessionParams, a6 as ConfirmCustomPaymentSessionResponse, a7 as ConfirmTossPaymentSessionParams, a8 as ConnectExternalCustomerLinkParams, a9 as CreateCartParams, aa as CreateCartResult, ab as CreateCustomPaymentSessionParams, ac as CreateInstallationCredentialParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, af as CreateServerCheckoutParams, ag as CreateServerCheckoutResult, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, aj as CustomPaymentSession, ak as CustomPaymentSessionProof, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, aw as CustomerMembershipView, ax as CustomerSnapshot, ay as DisposeInstallationCredentialParams, 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, a_ as ExternalCustomerLink, a$ as ExternalCustomerLinkListResponse, b0 as ExternalCustomerPreviousState, b1 as ExternalEffectClaimErrorReason, b2 as ExternalEffectClaimSnapshot, b3 as ExternalEffectClaimState, b4 as ExternalEffectLeaseParams, b5 as ExternalEffectLocator, b6 as FindPortOnePaymentParams, b7 as FindPortOnePaymentResult, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, bb as GetExternalCustomerLinkParams, bc as GetExternalEffectClaimParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bf as InstallationCredentialIdentity, bg as InstallationCredentialSnapshot, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bn as ListExternalCustomerLinksParams, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, bq as MembershipStatus, br as ModerationApi, bs as Money, bt as MutateBenefitVoucherResponse, bu as MutateExternalCustomerLinkParams, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, bz as OpenCheckoutPaymentState, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bE as PaymentSessionApi, bF as PaymentSessionApiOptions, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bI as PortOnePaymentCurrentState, bJ as PortOnePaymentNextAction, bK as PortOnePaymentReconciliationApi, bL as PortOnePaymentSelector, bM as PortOnePublicPaymentSession, bN as PortOneReconciliationDisposition, bO as ProductGraphRevisionParams, bP as ProductGraphRevisionResponse, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, c8 as ReconcilePortOnePaymentParams, c9 as ReconcilePortOnePaymentResult, ca as ReconciliationRequired, cb as RecordExternalEffectRecoveryParams, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, ce as ReplaceInstallationCredentialParams, cf as ReportExternalEffectParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, ci as RetrieveCustomPaymentSessionParams, cj as RetrieveServerCheckoutParams, ck as RetrieveServerPaymentSessionParams, cl as RetrievedCustomPaymentSession, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, cp as RootServerClient, cq as ServerAddItemParams, cr as ServerCartMergeParams, cs as ServerCartMineParams, ct as ServerCheckout, cu as ServerUpdateItemParams, cv as ShippingLine, cw as SpentCheckoutPaymentState, cx as TENANT_CONTEXT_PATH, cy as TenantContextInput, cz as TenantContextResponse, cA as TenantCustomFieldType, cB as TenantFeatureProgressEvidenceValue, cC as TenantFeatureProgressFeature, cD as TenantFeatureProgressGroup, cE as TenantFeatureProgressInput, cF as TenantFeatureProgressItem, cG as TenantFeatureProgressItemState, cH as TenantFeatureProgressResponse, cI as TenantFeatureProgressSeverity, cJ as TenantFeatureProgressStatus, cK as TenantFieldConfigState, cL as TenantIntrospectionApi, cM as TenantIntrospectionApiOptions, cN as UpdateCartAttributesParams, cO as UpdateDiscountCodesParams, cP as UpdateItemParams, cQ as VariantInput, cR as VariantPricesUpdateInput, cS as VariantPricesUpdateParams, cT as VariantPricesUpdateResponse, cU as VoidBenefitVoucherRequest, cV as getExternalEffectClaimErrorReason, cW as invalidBenefitVoucherResponse, cX as parseBenefitVoucher, cY as parseBenefitVoucherList, cZ as parseCustomerCreditAccount, c_ as parseCustomerCreditGrant, c$ as parseMyCustomerCreditHistory, d0 as parseMyCustomerCredits, d1 as parseRevokeCustomerCredit } from './types-lbzbJSZh.js';
3
- import { S as ServerCollectionClient } from './collection-client-lLAl3xCZ.js';
4
- export { C as CollectionClient } from './collection-client-lLAl3xCZ.js';
5
- import './payload-types-PXkmefhZ.js';
1
+ import { R as RawBaseApi, S as ServerApiOptions, a as ServerCommerceClient, T as TenantIntrospectionClient, 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, i as CustomerGroupApi, j as ExternalEffectClaimsApi, I as InstallationCredentialsApi, k as ExternalCustomerLinksApi, l as BenefitVouchersApi, m as CreditsApi, V as VideoPlaybackClient, n as CommunityClient, o as BanCustomerParams, p as CommunityBan, U as UnbanCustomerParams, M as MarketDiscovery, q as ClientState, r as ClientServerConfig, s as RootServerClientWithEvents } from './types-Btxz6NVi.js';
2
+ export { A as AddItemParams, t as BENEFIT_VOUCHER_ERROR_REASONS, u as BENEFIT_VOUCHER_VOID_REASONS, v as BenefitVoucher, w as BenefitVoucherErrorReason, x as CancelServerPaymentSessionParams, y as CaptureExternalCustomerPreviousStateParams, z as CartApi, D as CartApiOptions, F as CartMergeResult, G as CartMineResult, H as CartMutationResult, J as CheckoutAbandonedReason, K as CheckoutAmounts, L as CheckoutApi, N as CheckoutApiOptions, O as CheckoutListItem, P as CheckoutOrderReference, Q as CheckoutPaymentSessionRef, W as CheckoutQueryParams, X as CheckoutQueryResult, Y as CheckoutShippingAddress, Z as CheckoutStatus, _ as ClaimExternalEffectParams, $ as ClearCartParams, a0 as CollectionCustomFieldDefinition, a1 as CollectionCustomFields, a2 as CollectionFieldSchema, a3 as CollectionSchemaResponse, a4 as ConfirmCustomPaymentSessionOptions, a5 as ConfirmCustomPaymentSessionParams, a6 as ConfirmCustomPaymentSessionResponse, a7 as ConfirmTossPaymentSessionParams, a8 as ConnectExternalCustomerLinkParams, a9 as CreateCartParams, aa as CreateCartResult, ab as CreateCustomPaymentSessionParams, ac as CreateInstallationCredentialParams, ad as CreatePaymentSessionParams, ae as CreatePortOnePaymentSessionParams, af as CreateServerCheckoutParams, ag as CreateServerCheckoutResult, ah as CreateServerPaymentSessionParams, ai as CreateServerPortOnePaymentSessionParams, aj as CustomPaymentSession, ak as CustomPaymentSessionProof, al as CustomerBenefitVoucher, am as CustomerCreditAccountResponse, an as CustomerCreditBalances, ao as CustomerCreditGrant, ap as CustomerGroupApiOptions, aq as CustomerGroupManualSource, ar as CustomerGroupMember, as as CustomerGroupMemberCommandResponse, at as CustomerGroupMemberSource, au as CustomerGroupMembershipSource, av as CustomerGroupMembershipState, aw as CustomerMembershipView, ax as CustomerSnapshot, ay as DisposeInstallationCredentialParams, 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, a_ as ExternalCustomerLink, a$ as ExternalCustomerLinkListResponse, b0 as ExternalCustomerPreviousState, b1 as ExternalEffectClaimErrorReason, b2 as ExternalEffectClaimSnapshot, b3 as ExternalEffectClaimState, b4 as ExternalEffectLeaseParams, b5 as ExternalEffectLocator, b6 as FindPortOnePaymentParams, b7 as FindPortOnePaymentResult, b8 as GetBenefitVoucherRequest, b9 as GetCustomerCreditAccountRequest, ba as GetCustomerCreditGrantRequest, bb as GetExternalCustomerLinkParams, bc as GetExternalEffectClaimParams, bd as GrantCustomerCreditRequest, be as GrantCustomerGroupMemberParams, bf as InstallationCredentialIdentity, bg as InstallationCredentialSnapshot, bh as IssueBenefitVoucherRequest, bi as IssueBenefitVoucherResponse, bj as ListBenefitVouchersRequest, bk as ListBenefitVouchersResponse, bl as ListCustomerGroupMembersParams, bm as ListCustomerGroupMembersResponse, bn as ListExternalCustomerLinksParams, bo as ListMyBenefitVouchersRequest, bp as ListMyBenefitVouchersResponse, bq as MembershipStatus, br as ModerationApi, bs as Money, bt as MutateBenefitVoucherResponse, bu as MutateExternalCustomerLinkParams, bv as MyCustomerCreditHistoryRequest, bw as MyCustomerCreditHistoryResponse, bx as MyCustomerCreditsRequest, by as MyCustomerCreditsResponse, bz as OpenCheckoutPaymentState, bA as PaymentFailureReason, bB as PaymentNextAction, bC as PaymentProviderStatus, bD as PaymentReconciliationReason, bE as PaymentSessionApi, bF as PaymentSessionApiOptions, bG as PaymentSessionRole, bH as PortOneHostedPaymentMethod, bI as PortOnePaymentCurrentState, bJ as PortOnePaymentNextAction, bK as PortOnePaymentReconciliationApi, bL as PortOnePaymentSelector, bM as PortOnePublicPaymentSession, bN as PortOneReconciliationDisposition, bO as ProductGraphRevisionParams, bP as ProductGraphRevisionResponse, bQ as ProductUpsertInput, bR as ProductUpsertParams, bS as ProductUpsertResponse, bT as ProductUpsertVariantInput, bU as PublicAttribute, bV as PublicCaptureEvidence, bW as PublicCart, bX as PublicCartItem, bY as PublicCartItemAdmission, bZ as PublicCartMarket, b_ as PublicCartReference, b$ as PublicCheckout, c0 as PublicCheckoutItem, c1 as PublicMediaAsset, c2 as PublicMediaSize, c3 as PublicOrder, c4 as PublicOrderAmounts, c5 as PublicOrderItem, c6 as PublicOrderReference, c7 as PublicPaymentSession, c8 as ReconcilePortOnePaymentParams, c9 as ReconcilePortOnePaymentResult, ca as ReconciliationRequired, cb as RecordExternalEffectRecoveryParams, cc as RedeemBenefitVoucherRequest, cd as RemoveItemParams, ce as ReplaceInstallationCredentialParams, cf as ReportExternalEffectParams, cg as RetrieveCartParams, ch as RetrieveCheckoutParams, ci as RetrieveCustomPaymentSessionParams, cj as RetrieveServerCheckoutParams, ck as RetrieveServerPaymentSessionParams, cl as RetrievedCustomPaymentSession, cm as RevokeCustomerCreditRequest, cn as RevokeCustomerCreditResponse, co as RevokeCustomerGroupMemberParams, cp as RootServerClient, cq as ServerAddItemParams, cr as ServerCartMergeParams, cs as ServerCartMineParams, ct as ServerCheckout, cu as ServerUpdateItemParams, cv as ShippingLine, cw as SpentCheckoutPaymentState, cx as TENANT_CONTEXT_PATH, cy as TenantCommunityFeatureProgressResponse, cz as TenantContextInput, cA as TenantContextResponse, cB as TenantCustomFieldType, cC as TenantCustomersFeatureProgressResponse, cD as TenantEcommerceFeatureProgressResponse, cE as TenantEventsFeatureProgressResponse, cF as TenantFeatureProgressEvidenceValue, cG as TenantFeatureProgressFeature, cH as TenantFeatureProgressGroup, cI as TenantFeatureProgressInput, cJ as TenantFeatureProgressItem, cK as TenantFeatureProgressItemState, cL as TenantFeatureProgressResponse, cM as TenantFeatureProgressResponseFor, cN as TenantFeatureProgressResponseUnion, cO as TenantFeatureProgressSeverity, cP as TenantFeatureProgressStatus, cQ as TenantFieldConfigState, cR as TenantIntrospectionApi, cS as TenantIntrospectionApiOptions, cT as TenantMembershipFeatureProgressResponse, cU as UpdateCartAttributesParams, cV as UpdateDiscountCodesParams, cW as UpdateItemParams, cX as VariantInput, cY as VariantPricesUpdateInput, cZ as VariantPricesUpdateParams, c_ as VariantPricesUpdateResponse, c$ as VoidBenefitVoucherRequest, d0 as getExternalEffectClaimErrorReason, d1 as invalidBenefitVoucherResponse, d2 as parseBenefitVoucher, d3 as parseBenefitVoucherList, d4 as parseCustomerCreditAccount, d5 as parseCustomerCreditGrant, d6 as parseMyCustomerCreditHistory, d7 as parseMyCustomerCredits, d8 as parseRevokeCustomerCredit } from './types-Btxz6NVi.js';
3
+ import { S as ServerCollectionClient } from './collection-client-CNkBMUHj.js';
4
+ export { C as CollectionClient } from './collection-client-CNkBMUHj.js';
6
5
  export { isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.js';
7
- import './const-CCvoknRY.js';
8
- import './types-CQRsG6sA.js';
6
+ import './const-CcOT0taO.js';
7
+ import './types-CQw4HXky.js';
8
+ import './collection-documents-Bl0AF0m0.js';
9
9
  import './metadata.js';
10
10
 
11
11
  type PreviewDetailParams = {
package/dist/server.js CHANGED
@@ -1336,16 +1336,28 @@ var CUSTOMER_AUTH_ENDPOINT_OPERATIONS = {
1336
1336
  resetPassword: operation("customers", "post", "/reset-password"),
1337
1337
  changePassword: operation("customers", "post", "/change-password"),
1338
1338
  revokeRefresh: operation("customers", "post", "/revoke-refresh"),
1339
- withdraw: operation("customers", "post", "/withdraw")
1339
+ withdraw: operation("customers", "post", "/withdraw"),
1340
+ requestWithdrawalCode: operation("customers", "post", "/withdraw/email-code")
1340
1341
  };
1341
1342
  var EMBEDDED_ADMIN_ENDPOINT_OPERATIONS = {
1342
1343
  show: operation("tenants", "get", "/embedded-admin-app"),
1343
1344
  configure: operation("tenants", "patch", "/embedded-admin-app"),
1344
1345
  disable: operation("tenants", "delete", "/embedded-admin-app")
1345
1346
  };
1347
+ var FIELD_CONFIG_ENDPOINT_OPERATIONS = {
1348
+ list: operation("field-configs", "get", "/list"),
1349
+ save: operation("field-configs", "post", "/save")
1350
+ };
1346
1351
  var EVENTS_ENDPOINT_OPERATIONS = {
1347
1352
  registrations: {
1348
1353
  register: operation("event-registrations", "post", "/register"),
1354
+ requestEmailVerification: operation(
1355
+ "event-registrations",
1356
+ "post",
1357
+ "/request-email-verification"
1358
+ ),
1359
+ emailCancelPage: operation("event-registrations", "get", "/email-cancel"),
1360
+ emailCancel: operation("event-registrations", "post", "/email-cancel"),
1349
1361
  guestLookup: operation("event-registrations", "post", "/guest/lookup"),
1350
1362
  guestLookupByUrl: operation("event-registrations", "get", "/guest/:token"),
1351
1363
  guestCancel: operation("event-registrations", "post", "/guest/cancel"),
@@ -1384,6 +1396,9 @@ var VIDEO_ENDPOINT_OPERATIONS = {
1384
1396
  function resolveOperationTemplate(descriptor) {
1385
1397
  return descriptor.collection ? `/api/${descriptor.collection}${descriptor.path}` : `/api${descriptor.path}`;
1386
1398
  }
1399
+ var PAYMENT_DIAGNOSTIC_ENDPOINT_OPERATIONS = {
1400
+ diagnose: operation("tenants", "get", "/payment-diagnostics")
1401
+ };
1387
1402
  function resolveOperationPath(descriptor, options) {
1388
1403
  const path = resolveOperationTemplate(descriptor).replace(
1389
1404
  /:([A-Za-z][A-Za-z0-9_]*)/g,
@@ -5520,10 +5535,13 @@ function buildProductHref(product, group, options = {}) {
5520
5535
  return params.size > 0 ? `${path}?${params.toString()}` : path;
5521
5536
  }
5522
5537
  function compareVariantOrder(a, b) {
5523
- const aOrder = Number(a._order ?? Number.MAX_SAFE_INTEGER);
5524
- const bOrder = Number(b._order ?? Number.MAX_SAFE_INTEGER);
5525
- if (Number.isFinite(aOrder) && Number.isFinite(bOrder) && aOrder !== bOrder) {
5526
- return aOrder - bOrder;
5538
+ const aOrder = a._order || null;
5539
+ const bOrder = b._order || null;
5540
+ if (aOrder !== bOrder) {
5541
+ if (aOrder === null) return 1;
5542
+ if (bOrder === null) return -1;
5543
+ const byOrder = compareOrdinal(aOrder, bOrder);
5544
+ if (byOrder !== 0) return byOrder;
5527
5545
  }
5528
5546
  const aId = String(getRelationID(a.id) ?? "");
5529
5547
  const bId = String(getRelationID(b.id) ?? "");
@@ -5774,11 +5792,7 @@ function buildProductListingPageWhere(params) {
5774
5792
  const search = params.search?.trim();
5775
5793
  if (search) {
5776
5794
  clauses.push({
5777
- or: [
5778
- { title: { like: search } },
5779
- { slug: { like: search } },
5780
- { handle: { like: search } }
5781
- ]
5795
+ or: [{ title: { like: search } }, { slug: { like: search } }]
5782
5796
  });
5783
5797
  }
5784
5798
  const filters = params.filters;
@@ -6119,6 +6133,12 @@ var OrderApi = class extends BaseApi {
6119
6133
  idempotencyRequestOptions(params.idempotencyKey)
6120
6134
  );
6121
6135
  }
6136
+ /**
6137
+ * Creates a shipment from an in-progress fulfillment order.
6138
+ * Call `prepareFulfillmentOrder` for the same orderNumber first; payment alone
6139
+ * does not prepare the fulfillment order. This method does not prepare it
6140
+ * automatically and returns HTTP 400 `not_fulfillable` when none is in progress.
6141
+ */
6122
6142
  createFulfillment(params) {
6123
6143
  const { body, idempotencyKey } = splitIdempotencyKey(params);
6124
6144
  return this.requestEndpoint(
@@ -6127,6 +6147,12 @@ var OrderApi = class extends BaseApi {
6127
6147
  idempotencyRequestOptions(idempotencyKey)
6128
6148
  );
6129
6149
  }
6150
+ /**
6151
+ * Moves a paid order's open fulfillment orders to in_progress.
6152
+ * Call this before `createFulfillment` for the same orderNumber: shipment
6153
+ * creation requires an in-progress fulfillment order. Preparation does not
6154
+ * require carrier or tracking information.
6155
+ */
6130
6156
  prepareFulfillmentOrder(params) {
6131
6157
  return this.requestEndpoint(
6132
6158
  COMMERCE_ENDPOINTS.fulfillmentOrders.prepare,
@@ -6650,6 +6676,15 @@ var EventsClient = class {
6650
6676
  { useCustomerAuth: true }
6651
6677
  );
6652
6678
  }
6679
+ requestRegistrationEmailVerification(params) {
6680
+ const operation2 = EVENTS_ENDPOINT_OPERATIONS.registrations.requestEmailVerification;
6681
+ return this.execute(
6682
+ resolveOperationPath(operation2),
6683
+ resolveOperationMethod(operation2),
6684
+ buildRegistrationRequestBody(params),
6685
+ { useCustomerAuth: true, noStore: true }
6686
+ );
6687
+ }
6653
6688
  getGuestRegistration(token) {
6654
6689
  return this.execute(
6655
6690
  resolveOperationPath(
@@ -6702,7 +6737,10 @@ function buildRegistrationRequestBody(params) {
6702
6737
  occurrence: params.occurrence,
6703
6738
  ...params.quantity !== void 0 && { quantity: params.quantity },
6704
6739
  ...params.attendee !== void 0 && { attendee: params.attendee },
6705
- ...params.answers !== void 0 && { answers: params.answers }
6740
+ ...params.answers !== void 0 && { answers: params.answers },
6741
+ ...params.emailVerification !== void 0 && {
6742
+ emailVerification: params.emailVerification
6743
+ }
6706
6744
  };
6707
6745
  }
6708
6746
  function buildGuestCancelRequestBody(token, params) {
@@ -7393,6 +7431,7 @@ var ServerClient = class _ServerClient {
7393
7431
  getRange: events.getRange.bind(events),
7394
7432
  getAdmissionAvailability: events.getAdmissionAvailability.bind(events),
7395
7433
  register: events.register.bind(events),
7434
+ requestRegistrationEmailVerification: events.requestRegistrationEmailVerification.bind(events),
7396
7435
  getGuestRegistration: events.getGuestRegistration.bind(events),
7397
7436
  cancelGuestRegistration: events.cancelGuestRegistration.bind(events)
7398
7437
  };