@01.software/sdk 0.67.0 → 0.68.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 (61) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +122 -6
  3. package/dist/client.cjs +419 -319
  4. package/dist/client.cjs.map +1 -1
  5. package/dist/client.d.cts +11 -6
  6. package/dist/client.d.ts +11 -6
  7. package/dist/client.js +419 -319
  8. package/dist/client.js.map +1 -1
  9. package/dist/{collection-client-D4HEOoO_.d.ts → collection-client-IOaWsTMI.d.ts} +4 -4
  10. package/dist/{collection-client-jrNFGbrO.d.cts → collection-client-MbIJ5KzW.d.cts} +4 -4
  11. package/dist/{const-BU79hCFB.d.ts → const-Do27Udj6.d.ts} +2 -2
  12. package/dist/{const-CCQ3MdLE.d.cts → const-Dw5ElJs_.d.cts} +2 -2
  13. package/dist/embedded-admin/server.cjs +16 -1
  14. package/dist/embedded-admin/server.cjs.map +1 -1
  15. package/dist/embedded-admin/server.d.cts +4 -2
  16. package/dist/embedded-admin/server.d.ts +4 -2
  17. package/dist/embedded-admin/server.js +16 -1
  18. package/dist/embedded-admin/server.js.map +1 -1
  19. package/dist/embedded-admin.cjs +19 -0
  20. package/dist/embedded-admin.cjs.map +1 -1
  21. package/dist/embedded-admin.d.cts +7 -1
  22. package/dist/embedded-admin.d.ts +7 -1
  23. package/dist/embedded-admin.js +19 -0
  24. package/dist/embedded-admin.js.map +1 -1
  25. package/dist/errors.d.cts +2 -2
  26. package/dist/errors.d.ts +2 -2
  27. package/dist/{index-CwKxWHIa.d.ts → index-DcYsLOja.d.ts} +3 -3
  28. package/dist/{index-DiyhsVHd.d.cts → index-gnVxTKXu.d.cts} +3 -3
  29. package/dist/index.cjs +424 -323
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.cts +7 -7
  32. package/dist/index.d.ts +7 -7
  33. package/dist/index.js +424 -323
  34. package/dist/index.js.map +1 -1
  35. package/dist/{payload-types-jdsUXunB.d.cts → payload-types-BY1uZFRf.d.cts} +34 -1
  36. package/dist/{payload-types-jdsUXunB.d.ts → payload-types-BY1uZFRf.d.ts} +34 -1
  37. package/dist/query.cjs +8 -0
  38. package/dist/query.cjs.map +1 -1
  39. package/dist/query.d.cts +5 -5
  40. package/dist/query.d.ts +5 -5
  41. package/dist/query.js +8 -0
  42. package/dist/query.js.map +1 -1
  43. package/dist/realtime.d.cts +2 -2
  44. package/dist/realtime.d.ts +2 -2
  45. package/dist/server.cjs +1183 -1071
  46. package/dist/server.cjs.map +1 -1
  47. package/dist/server.d.cts +9 -8
  48. package/dist/server.d.ts +9 -8
  49. package/dist/server.js +1183 -1071
  50. package/dist/server.js.map +1 -1
  51. package/dist/{types-BusejG-v.d.ts → types-AWSVpuPE.d.ts} +2 -2
  52. package/dist/{types-I2k6Laad.d.ts → types-CLRw0aDa.d.ts} +147 -40
  53. package/dist/{types-BPwXAFZ7.d.cts → types-DnIuxgu2.d.cts} +2 -2
  54. package/dist/{types-CvdBV3ri.d.cts → types-csjaig4G.d.cts} +147 -40
  55. package/dist/ui/form.d.cts +1 -1
  56. package/dist/ui/form.d.ts +1 -1
  57. package/dist/ui/video.d.cts +1 -1
  58. package/dist/ui/video.d.ts +1 -1
  59. package/dist/webhook.d.cts +5 -5
  60. package/dist/webhook.d.ts +5 -5
  61. package/package.json +2 -2
package/dist/server.d.cts CHANGED
@@ -1,12 +1,12 @@
1
- import { S as ServerCollectionClient } from './collection-client-jrNFGbrO.cjs';
2
- export { C as CollectionClient } from './collection-client-jrNFGbrO.cjs';
3
- import { aE as RawBaseApi, aF as ServerApiOptions, aG as ServerCommerceClient, aH as TenantIntrospectionClient, aI as SubscribeMembershipParams, aJ as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, aK as BillingCustodyParams, aL as BillingCustodyResponse, aM as CustomerGroupApi, aN as ExternalEffectClaimsApi, aO as InstallationCredentialsApi, aP as ExternalCustomerLinksApi, aQ as VideoPlaybackClient, a as CommunityClient, aR as BanCustomerParams, aS as CommunityBan, aT as UnbanCustomerParams, M as MarketDiscovery, g as ClientState, aU as ClientServerConfig, aV as RootServerClientWithEvents } from './types-CvdBV3ri.cjs';
4
- export { A as AddItemParams, aW as CancelServerPaymentSessionParams, aX as CaptureExternalCustomerPreviousStateParams, aY as CartApi, aZ as CartApiOptions, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, o as CheckoutAbandonedReason, p as CheckoutAmounts, a_ as CheckoutApi, a$ as CheckoutApiOptions, b0 as CheckoutListItem, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, b1 as CheckoutQueryParams, b2 as CheckoutQueryResult, s as CheckoutShippingAddress, b3 as CheckoutStatus, b4 as ClaimExternalEffectParams, t as ClearCartParams, b5 as CollectionCustomFieldDefinition, b6 as CollectionCustomFields, b7 as CollectionFieldSchema, b8 as CollectionSchemaResponse, b9 as ConfirmCustomPaymentSessionOptions, ba as ConfirmCustomPaymentSessionParams, bb as ConfirmCustomPaymentSessionResponse, bc as ConfirmTossPaymentSessionParams, bd as ConnectExternalCustomerLinkParams, w as CreateCartParams, x as CreateCartResult, be as CreateCustomPaymentSessionParams, bf as CreateInstallationCredentialParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, bg as CreateServerCheckoutParams, bh as CreateServerCheckoutResult, bi as CreateServerPaymentSessionParams, bj as CreateServerPortOnePaymentSessionParams, bk as CustomPaymentSession, bl as CustomPaymentSessionProof, bm as CustomerGroupApiOptions, bn as CustomerGroupManualSource, bo as CustomerGroupMember, bp as CustomerGroupMemberCommandResponse, bq as CustomerGroupMemberSource, br as CustomerGroupMembershipSource, bs as CustomerGroupMembershipState, d as CustomerMembershipView, F as CustomerSnapshot, bt as DisposeInstallationCredentialParams, 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, bU as ExternalCustomerLink, bV as ExternalCustomerLinkListResponse, bW as ExternalCustomerPreviousState, bX as ExternalEffectClaimErrorReason, bY as ExternalEffectClaimSnapshot, bZ as ExternalEffectClaimState, b_ as ExternalEffectLeaseParams, b$ as ExternalEffectLocator, c0 as FindPortOnePaymentParams, c1 as FindPortOnePaymentResult, c2 as GetExternalCustomerLinkParams, c3 as GetExternalEffectClaimParams, c4 as GrantCustomerGroupMemberParams, c5 as InstallationCredentialIdentity, c6 as InstallationCredentialSnapshot, c7 as ListCustomerGroupMembersParams, c8 as ListCustomerGroupMembersResponse, c9 as ListExternalCustomerLinksParams, J as MembershipStatus, ca as ModerationApi, K as Money, cb as MutateExternalCustomerLinkParams, O as OpenCheckoutPaymentState, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, cc as PaymentSessionApi, cd as PaymentSessionApiOptions, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, ce as PortOnePaymentCurrentState, V as PortOnePaymentNextAction, cf as PortOnePaymentReconciliationApi, cg as PortOnePaymentSelector, W as PortOnePublicPaymentSession, ch as PortOneReconciliationDisposition, ci as ProductGraphRevisionParams, cj as ProductGraphRevisionResponse, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, ck as ReconcilePortOnePaymentParams, cl as ReconcilePortOnePaymentResult, af as ReconciliationRequired, cm as RecordExternalEffectRecoveryParams, ag as RemoveItemParams, cn as ReplaceInstallationCredentialParams, co as ReportExternalEffectParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, cp as RetrieveCustomPaymentSessionParams, cq as RetrieveServerCheckoutParams, cr as RetrieveServerPaymentSessionParams, cs as RetrievedCustomPaymentSession, ct as RevokeCustomerGroupMemberParams, cu as RootServerClient, cv as ServerAddItemParams, cw as ServerCartMergeParams, cx as ServerCartMineParams, cy as ServerCheckout, cz as ServerUpdateItemParams, ao as ShippingLine, aq as SpentCheckoutPaymentState, cA as TENANT_CONTEXT_PATH, cB as TenantContextInput, cC as TenantContextResponse, cD as TenantCustomFieldType, cE as TenantFeatureProgressEvidenceValue, cF as TenantFeatureProgressFeature, cG as TenantFeatureProgressGroup, cH as TenantFeatureProgressInput, cI as TenantFeatureProgressItem, cJ as TenantFeatureProgressItemState, cK as TenantFeatureProgressResponse, cL as TenantFeatureProgressSeverity, cM as TenantFeatureProgressStatus, cN as TenantFieldConfigState, cO as TenantIntrospectionApi, cP as TenantIntrospectionApiOptions, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, aB as UpdateItemParams, aC as VariantInput, cQ as VariantPricesUpdateInput, cR as VariantPricesUpdateParams, cS as VariantPricesUpdateResponse, cT as getExternalEffectClaimErrorReason } from './types-CvdBV3ri.cjs';
5
- import './payload-types-jdsUXunB.cjs';
1
+ import { R as RawBaseApi, S as ServerApiOptions, a as ServerCommerceClient, T as TenantIntrospectionClient, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, C as CancelMembershipParams, d as CancelMembershipResponse, B as BillingCustodyParams, e as BillingCustodyResponse, f as CustomerGroupApi, E as ExternalEffectClaimsApi, I as InstallationCredentialsApi, g as ExternalCustomerLinksApi, h as BenefitVouchersApi, V as VideoPlaybackClient, i as CommunityClient, j as BanCustomerParams, k as CommunityBan, U as UnbanCustomerParams, M as MarketDiscovery, l as ClientState, m as ClientServerConfig, n as RootServerClientWithEvents } from './types-csjaig4G.cjs';
2
+ export { A as AddItemParams, o as BENEFIT_VOUCHER_ERROR_REASONS, p as BENEFIT_VOUCHER_VOID_REASONS, q as BenefitVoucher, r as BenefitVoucherErrorReason, s as CancelServerPaymentSessionParams, t as CaptureExternalCustomerPreviousStateParams, u as CartApi, v as CartApiOptions, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, z as CheckoutAbandonedReason, D as CheckoutAmounts, F as CheckoutApi, G as CheckoutApiOptions, H as CheckoutListItem, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, L as CheckoutQueryParams, N as CheckoutQueryResult, O as CheckoutShippingAddress, P as CheckoutStatus, Q as ClaimExternalEffectParams, W as ClearCartParams, X as CollectionCustomFieldDefinition, Y as CollectionCustomFields, Z as CollectionFieldSchema, _ as CollectionSchemaResponse, $ as ConfirmCustomPaymentSessionOptions, a0 as ConfirmCustomPaymentSessionParams, a1 as ConfirmCustomPaymentSessionResponse, a2 as ConfirmTossPaymentSessionParams, a3 as ConnectExternalCustomerLinkParams, a4 as CreateCartParams, a5 as CreateCartResult, a6 as CreateCustomPaymentSessionParams, a7 as CreateInstallationCredentialParams, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, aa as CreateServerCheckoutParams, ab as CreateServerCheckoutResult, ac as CreateServerPaymentSessionParams, ad as CreateServerPortOnePaymentSessionParams, ae as CustomPaymentSession, af as CustomPaymentSessionProof, ag as CustomerBenefitVoucher, ah as CustomerGroupApiOptions, ai as CustomerGroupManualSource, aj as CustomerGroupMember, ak as CustomerGroupMemberCommandResponse, al as CustomerGroupMemberSource, am as CustomerGroupMembershipSource, an as CustomerGroupMembershipState, ao as CustomerMembershipView, ap as CustomerSnapshot, aq as DisposeInstallationCredentialParams, ar as EventAdmissionAvailabilityParams, as as EventAdmissionAvailabilityResponse, at as EventAdmissionAvailabilityType, au as EventAdmissionPricePresentment, av as EventGuestCancelParams, aw as EventGuestRegistration, ax as EventGuestRegistrationResponse, ay as EventMyRegistration, az as EventMyRegistrationsParams, aA as EventMyRegistrationsResponse, aB as EventRegistrationAnswerInput, aC as EventRegistrationAttendeeInput, aD as EventRegistrationPublic, aE as EventRegistrationRegisterParams, aF as EventRegistrationRegisterResponse, aG as EventsCalendarItem, aH as EventsClient, aI as EventsClientOptions, aJ as EventsDateParam, aK as EventsExternalSource, aL as EventsLocation, aM as EventsOccurrenceLocation, aN as EventsRangeEvent, aO as EventsRangeOccurrence, aP as EventsRangeParams, aQ as EventsRangeResponse, aR as EventsTaxonomyItem, aS as ExternalCustomerLink, aT as ExternalCustomerLinkListResponse, aU as ExternalCustomerPreviousState, aV as ExternalEffectClaimErrorReason, aW as ExternalEffectClaimSnapshot, aX as ExternalEffectClaimState, aY as ExternalEffectLeaseParams, aZ as ExternalEffectLocator, a_ as FindPortOnePaymentParams, a$ as FindPortOnePaymentResult, b0 as GetBenefitVoucherRequest, b1 as GetExternalCustomerLinkParams, b2 as GetExternalEffectClaimParams, b3 as GrantCustomerGroupMemberParams, b4 as InstallationCredentialIdentity, b5 as InstallationCredentialSnapshot, b6 as IssueBenefitVoucherRequest, b7 as IssueBenefitVoucherResponse, b8 as ListBenefitVouchersRequest, b9 as ListBenefitVouchersResponse, ba as ListCustomerGroupMembersParams, bb as ListCustomerGroupMembersResponse, bc as ListExternalCustomerLinksParams, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, bf as MembershipStatus, bg as ModerationApi, bh as Money, bi as MutateBenefitVoucherResponse, bj as MutateExternalCustomerLinkParams, bk as OpenCheckoutPaymentState, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, bp as PaymentSessionApi, bq as PaymentSessionApiOptions, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bt as PortOnePaymentCurrentState, bu as PortOnePaymentNextAction, bv as PortOnePaymentReconciliationApi, bw as PortOnePaymentSelector, bx as PortOnePublicPaymentSession, by as PortOneReconciliationDisposition, bz as ProductGraphRevisionParams, bA as ProductGraphRevisionResponse, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, bV as ReconcilePortOnePaymentParams, bW as ReconcilePortOnePaymentResult, bX as ReconciliationRequired, bY as RecordExternalEffectRecoveryParams, bZ as RedeemBenefitVoucherRequest, b_ as RemoveItemParams, b$ as ReplaceInstallationCredentialParams, c0 as ReportExternalEffectParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c3 as RetrieveCustomPaymentSessionParams, c4 as RetrieveServerCheckoutParams, c5 as RetrieveServerPaymentSessionParams, c6 as RetrievedCustomPaymentSession, c7 as RevokeCustomerGroupMemberParams, c8 as RootServerClient, c9 as ServerAddItemParams, ca as ServerCartMergeParams, cb as ServerCartMineParams, cc as ServerCheckout, cd as ServerUpdateItemParams, ce as ShippingLine, cf as SpentCheckoutPaymentState, cg as TENANT_CONTEXT_PATH, ch as TenantContextInput, ci as TenantContextResponse, cj as TenantCustomFieldType, ck as TenantFeatureProgressEvidenceValue, cl as TenantFeatureProgressFeature, cm as TenantFeatureProgressGroup, cn as TenantFeatureProgressInput, co as TenantFeatureProgressItem, cp as TenantFeatureProgressItemState, cq as TenantFeatureProgressResponse, cr as TenantFeatureProgressSeverity, cs as TenantFeatureProgressStatus, ct as TenantFieldConfigState, cu as TenantIntrospectionApi, cv as TenantIntrospectionApiOptions, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, cy as UpdateItemParams, cz as VariantInput, cA as VariantPricesUpdateInput, cB as VariantPricesUpdateParams, cC as VariantPricesUpdateResponse, cD as VoidBenefitVoucherRequest, cE as getExternalEffectClaimErrorReason, cF as invalidBenefitVoucherResponse, cG as parseBenefitVoucher, cH as parseBenefitVoucherList } from './types-csjaig4G.cjs';
3
+ import { S as ServerCollectionClient } from './collection-client-MbIJ5KzW.cjs';
4
+ export { C as CollectionClient } from './collection-client-MbIJ5KzW.cjs';
5
+ import './payload-types-BY1uZFRf.cjs';
6
6
  export { isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.cjs';
7
+ import './const-Dw5ElJs_.cjs';
8
+ import './types-DnIuxgu2.cjs';
7
9
  import './metadata.cjs';
8
- import './const-CCQ3MdLE.cjs';
9
- import './types-BPwXAFZ7.cjs';
10
10
 
11
11
  type PreviewDetailParams = {
12
12
  collection: string;
@@ -41,6 +41,7 @@ declare class ServerClient {
41
41
  externalEffectClaims: ExternalEffectClaimsApi;
42
42
  installationCredentials: InstallationCredentialsApi;
43
43
  externalCustomerLinks: ExternalCustomerLinksApi;
44
+ benefitVouchers: BenefitVouchersApi;
44
45
  private _events?;
45
46
  video: VideoPlaybackClient;
46
47
  community: CommunityClient & {
@@ -71,4 +72,4 @@ declare class ServerClient {
71
72
  */
72
73
  declare function createServerClient(options: ClientServerConfig): RootServerClientWithEvents;
73
74
 
74
- export { CancelMembershipParams, CancelMembershipResponse, ClientServerConfig, CommunityClient, CustomerGroupApi, ExternalCustomerLinksApi, ExternalEffectClaimsApi, InstallationCredentialsApi, type PreviewDetailOptions, type PreviewDetailParams, RootServerClientWithEvents, ServerClient, ServerCollectionClient, ServerCommerceClient, ServerPreviewClient, SubscribeMembershipParams, SubscribeMembershipResponse, TenantIntrospectionClient, createServerClient };
75
+ export { BenefitVouchersApi, CancelMembershipParams, CancelMembershipResponse, ClientServerConfig, CommunityClient, CustomerGroupApi, ExternalCustomerLinksApi, ExternalEffectClaimsApi, InstallationCredentialsApi, type PreviewDetailOptions, type PreviewDetailParams, RootServerClientWithEvents, ServerClient, ServerCollectionClient, ServerCommerceClient, ServerPreviewClient, SubscribeMembershipParams, SubscribeMembershipResponse, TenantIntrospectionClient, createServerClient };
package/dist/server.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { S as ServerCollectionClient } from './collection-client-D4HEOoO_.js';
2
- export { C as CollectionClient } from './collection-client-D4HEOoO_.js';
3
- import { aE as RawBaseApi, aF as ServerApiOptions, aG as ServerCommerceClient, aH as TenantIntrospectionClient, aI as SubscribeMembershipParams, aJ as SubscribeMembershipResponse, e as CancelMembershipParams, f as CancelMembershipResponse, aK as BillingCustodyParams, aL as BillingCustodyResponse, aM as CustomerGroupApi, aN as ExternalEffectClaimsApi, aO as InstallationCredentialsApi, aP as ExternalCustomerLinksApi, aQ as VideoPlaybackClient, a as CommunityClient, aR as BanCustomerParams, aS as CommunityBan, aT as UnbanCustomerParams, M as MarketDiscovery, g as ClientState, aU as ClientServerConfig, aV as RootServerClientWithEvents } from './types-I2k6Laad.js';
4
- export { A as AddItemParams, aW as CancelServerPaymentSessionParams, aX as CaptureExternalCustomerPreviousStateParams, aY as CartApi, aZ as CartApiOptions, l as CartMergeResult, m as CartMineResult, n as CartMutationResult, o as CheckoutAbandonedReason, p as CheckoutAmounts, a_ as CheckoutApi, a$ as CheckoutApiOptions, b0 as CheckoutListItem, q as CheckoutOrderReference, r as CheckoutPaymentSessionRef, b1 as CheckoutQueryParams, b2 as CheckoutQueryResult, s as CheckoutShippingAddress, b3 as CheckoutStatus, b4 as ClaimExternalEffectParams, t as ClearCartParams, b5 as CollectionCustomFieldDefinition, b6 as CollectionCustomFields, b7 as CollectionFieldSchema, b8 as CollectionSchemaResponse, b9 as ConfirmCustomPaymentSessionOptions, ba as ConfirmCustomPaymentSessionParams, bb as ConfirmCustomPaymentSessionResponse, bc as ConfirmTossPaymentSessionParams, bd as ConnectExternalCustomerLinkParams, w as CreateCartParams, x as CreateCartResult, be as CreateCustomPaymentSessionParams, bf as CreateInstallationCredentialParams, B as CreatePaymentSessionParams, D as CreatePortOnePaymentSessionParams, bg as CreateServerCheckoutParams, bh as CreateServerCheckoutResult, bi as CreateServerPaymentSessionParams, bj as CreateServerPortOnePaymentSessionParams, bk as CustomPaymentSession, bl as CustomPaymentSessionProof, bm as CustomerGroupApiOptions, bn as CustomerGroupManualSource, bo as CustomerGroupMember, bp as CustomerGroupMemberCommandResponse, bq as CustomerGroupMemberSource, br as CustomerGroupMembershipSource, bs as CustomerGroupMembershipState, d as CustomerMembershipView, F as CustomerSnapshot, bt as DisposeInstallationCredentialParams, 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, bU as ExternalCustomerLink, bV as ExternalCustomerLinkListResponse, bW as ExternalCustomerPreviousState, bX as ExternalEffectClaimErrorReason, bY as ExternalEffectClaimSnapshot, bZ as ExternalEffectClaimState, b_ as ExternalEffectLeaseParams, b$ as ExternalEffectLocator, c0 as FindPortOnePaymentParams, c1 as FindPortOnePaymentResult, c2 as GetExternalCustomerLinkParams, c3 as GetExternalEffectClaimParams, c4 as GrantCustomerGroupMemberParams, c5 as InstallationCredentialIdentity, c6 as InstallationCredentialSnapshot, c7 as ListCustomerGroupMembersParams, c8 as ListCustomerGroupMembersResponse, c9 as ListExternalCustomerLinksParams, J as MembershipStatus, ca as ModerationApi, K as Money, cb as MutateExternalCustomerLinkParams, O as OpenCheckoutPaymentState, N as PaymentFailureReason, Q as PaymentNextAction, R as PaymentProviderStatus, S as PaymentReconciliationReason, cc as PaymentSessionApi, cd as PaymentSessionApiOptions, T as PaymentSessionRole, U as PortOneHostedPaymentMethod, ce as PortOnePaymentCurrentState, V as PortOnePaymentNextAction, cf as PortOnePaymentReconciliationApi, cg as PortOnePaymentSelector, W as PortOnePublicPaymentSession, ch as PortOneReconciliationDisposition, ci as ProductGraphRevisionParams, cj as ProductGraphRevisionResponse, X as ProductUpsertInput, Y as ProductUpsertParams, Z as ProductUpsertResponse, _ as ProductUpsertVariantInput, $ as PublicAttribute, a0 as PublicCaptureEvidence, a1 as PublicCart, a2 as PublicCartItem, a3 as PublicCartItemAdmission, a4 as PublicCartMarket, a5 as PublicCartReference, a6 as PublicCheckout, a7 as PublicCheckoutItem, a8 as PublicMediaAsset, a9 as PublicMediaSize, aa as PublicOrder, ab as PublicOrderAmounts, ac as PublicOrderItem, ad as PublicOrderReference, ae as PublicPaymentSession, ck as ReconcilePortOnePaymentParams, cl as ReconcilePortOnePaymentResult, af as ReconciliationRequired, cm as RecordExternalEffectRecoveryParams, ag as RemoveItemParams, cn as ReplaceInstallationCredentialParams, co as ReportExternalEffectParams, ai as RetrieveCartParams, aj as RetrieveCheckoutParams, cp as RetrieveCustomPaymentSessionParams, cq as RetrieveServerCheckoutParams, cr as RetrieveServerPaymentSessionParams, cs as RetrievedCustomPaymentSession, ct as RevokeCustomerGroupMemberParams, cu as RootServerClient, cv as ServerAddItemParams, cw as ServerCartMergeParams, cx as ServerCartMineParams, cy as ServerCheckout, cz as ServerUpdateItemParams, ao as ShippingLine, aq as SpentCheckoutPaymentState, cA as TENANT_CONTEXT_PATH, cB as TenantContextInput, cC as TenantContextResponse, cD as TenantCustomFieldType, cE as TenantFeatureProgressEvidenceValue, cF as TenantFeatureProgressFeature, cG as TenantFeatureProgressGroup, cH as TenantFeatureProgressInput, cI as TenantFeatureProgressItem, cJ as TenantFeatureProgressItemState, cK as TenantFeatureProgressResponse, cL as TenantFeatureProgressSeverity, cM as TenantFeatureProgressStatus, cN as TenantFieldConfigState, cO as TenantIntrospectionApi, cP as TenantIntrospectionApiOptions, az as UpdateCartAttributesParams, aA as UpdateDiscountCodesParams, aB as UpdateItemParams, aC as VariantInput, cQ as VariantPricesUpdateInput, cR as VariantPricesUpdateParams, cS as VariantPricesUpdateResponse, cT as getExternalEffectClaimErrorReason } from './types-I2k6Laad.js';
5
- import './payload-types-jdsUXunB.js';
1
+ import { R as RawBaseApi, S as ServerApiOptions, a as ServerCommerceClient, T as TenantIntrospectionClient, b as SubscribeMembershipParams, c as SubscribeMembershipResponse, C as CancelMembershipParams, d as CancelMembershipResponse, B as BillingCustodyParams, e as BillingCustodyResponse, f as CustomerGroupApi, E as ExternalEffectClaimsApi, I as InstallationCredentialsApi, g as ExternalCustomerLinksApi, h as BenefitVouchersApi, V as VideoPlaybackClient, i as CommunityClient, j as BanCustomerParams, k as CommunityBan, U as UnbanCustomerParams, M as MarketDiscovery, l as ClientState, m as ClientServerConfig, n as RootServerClientWithEvents } from './types-CLRw0aDa.js';
2
+ export { A as AddItemParams, o as BENEFIT_VOUCHER_ERROR_REASONS, p as BENEFIT_VOUCHER_VOID_REASONS, q as BenefitVoucher, r as BenefitVoucherErrorReason, s as CancelServerPaymentSessionParams, t as CaptureExternalCustomerPreviousStateParams, u as CartApi, v as CartApiOptions, w as CartMergeResult, x as CartMineResult, y as CartMutationResult, z as CheckoutAbandonedReason, D as CheckoutAmounts, F as CheckoutApi, G as CheckoutApiOptions, H as CheckoutListItem, J as CheckoutOrderReference, K as CheckoutPaymentSessionRef, L as CheckoutQueryParams, N as CheckoutQueryResult, O as CheckoutShippingAddress, P as CheckoutStatus, Q as ClaimExternalEffectParams, W as ClearCartParams, X as CollectionCustomFieldDefinition, Y as CollectionCustomFields, Z as CollectionFieldSchema, _ as CollectionSchemaResponse, $ as ConfirmCustomPaymentSessionOptions, a0 as ConfirmCustomPaymentSessionParams, a1 as ConfirmCustomPaymentSessionResponse, a2 as ConfirmTossPaymentSessionParams, a3 as ConnectExternalCustomerLinkParams, a4 as CreateCartParams, a5 as CreateCartResult, a6 as CreateCustomPaymentSessionParams, a7 as CreateInstallationCredentialParams, a8 as CreatePaymentSessionParams, a9 as CreatePortOnePaymentSessionParams, aa as CreateServerCheckoutParams, ab as CreateServerCheckoutResult, ac as CreateServerPaymentSessionParams, ad as CreateServerPortOnePaymentSessionParams, ae as CustomPaymentSession, af as CustomPaymentSessionProof, ag as CustomerBenefitVoucher, ah as CustomerGroupApiOptions, ai as CustomerGroupManualSource, aj as CustomerGroupMember, ak as CustomerGroupMemberCommandResponse, al as CustomerGroupMemberSource, am as CustomerGroupMembershipSource, an as CustomerGroupMembershipState, ao as CustomerMembershipView, ap as CustomerSnapshot, aq as DisposeInstallationCredentialParams, ar as EventAdmissionAvailabilityParams, as as EventAdmissionAvailabilityResponse, at as EventAdmissionAvailabilityType, au as EventAdmissionPricePresentment, av as EventGuestCancelParams, aw as EventGuestRegistration, ax as EventGuestRegistrationResponse, ay as EventMyRegistration, az as EventMyRegistrationsParams, aA as EventMyRegistrationsResponse, aB as EventRegistrationAnswerInput, aC as EventRegistrationAttendeeInput, aD as EventRegistrationPublic, aE as EventRegistrationRegisterParams, aF as EventRegistrationRegisterResponse, aG as EventsCalendarItem, aH as EventsClient, aI as EventsClientOptions, aJ as EventsDateParam, aK as EventsExternalSource, aL as EventsLocation, aM as EventsOccurrenceLocation, aN as EventsRangeEvent, aO as EventsRangeOccurrence, aP as EventsRangeParams, aQ as EventsRangeResponse, aR as EventsTaxonomyItem, aS as ExternalCustomerLink, aT as ExternalCustomerLinkListResponse, aU as ExternalCustomerPreviousState, aV as ExternalEffectClaimErrorReason, aW as ExternalEffectClaimSnapshot, aX as ExternalEffectClaimState, aY as ExternalEffectLeaseParams, aZ as ExternalEffectLocator, a_ as FindPortOnePaymentParams, a$ as FindPortOnePaymentResult, b0 as GetBenefitVoucherRequest, b1 as GetExternalCustomerLinkParams, b2 as GetExternalEffectClaimParams, b3 as GrantCustomerGroupMemberParams, b4 as InstallationCredentialIdentity, b5 as InstallationCredentialSnapshot, b6 as IssueBenefitVoucherRequest, b7 as IssueBenefitVoucherResponse, b8 as ListBenefitVouchersRequest, b9 as ListBenefitVouchersResponse, ba as ListCustomerGroupMembersParams, bb as ListCustomerGroupMembersResponse, bc as ListExternalCustomerLinksParams, bd as ListMyBenefitVouchersRequest, be as ListMyBenefitVouchersResponse, bf as MembershipStatus, bg as ModerationApi, bh as Money, bi as MutateBenefitVoucherResponse, bj as MutateExternalCustomerLinkParams, bk as OpenCheckoutPaymentState, bl as PaymentFailureReason, bm as PaymentNextAction, bn as PaymentProviderStatus, bo as PaymentReconciliationReason, bp as PaymentSessionApi, bq as PaymentSessionApiOptions, br as PaymentSessionRole, bs as PortOneHostedPaymentMethod, bt as PortOnePaymentCurrentState, bu as PortOnePaymentNextAction, bv as PortOnePaymentReconciliationApi, bw as PortOnePaymentSelector, bx as PortOnePublicPaymentSession, by as PortOneReconciliationDisposition, bz as ProductGraphRevisionParams, bA as ProductGraphRevisionResponse, bB as ProductUpsertInput, bC as ProductUpsertParams, bD as ProductUpsertResponse, bE as ProductUpsertVariantInput, bF as PublicAttribute, bG as PublicCaptureEvidence, bH as PublicCart, bI as PublicCartItem, bJ as PublicCartItemAdmission, bK as PublicCartMarket, bL as PublicCartReference, bM as PublicCheckout, bN as PublicCheckoutItem, bO as PublicMediaAsset, bP as PublicMediaSize, bQ as PublicOrder, bR as PublicOrderAmounts, bS as PublicOrderItem, bT as PublicOrderReference, bU as PublicPaymentSession, bV as ReconcilePortOnePaymentParams, bW as ReconcilePortOnePaymentResult, bX as ReconciliationRequired, bY as RecordExternalEffectRecoveryParams, bZ as RedeemBenefitVoucherRequest, b_ as RemoveItemParams, b$ as ReplaceInstallationCredentialParams, c0 as ReportExternalEffectParams, c1 as RetrieveCartParams, c2 as RetrieveCheckoutParams, c3 as RetrieveCustomPaymentSessionParams, c4 as RetrieveServerCheckoutParams, c5 as RetrieveServerPaymentSessionParams, c6 as RetrievedCustomPaymentSession, c7 as RevokeCustomerGroupMemberParams, c8 as RootServerClient, c9 as ServerAddItemParams, ca as ServerCartMergeParams, cb as ServerCartMineParams, cc as ServerCheckout, cd as ServerUpdateItemParams, ce as ShippingLine, cf as SpentCheckoutPaymentState, cg as TENANT_CONTEXT_PATH, ch as TenantContextInput, ci as TenantContextResponse, cj as TenantCustomFieldType, ck as TenantFeatureProgressEvidenceValue, cl as TenantFeatureProgressFeature, cm as TenantFeatureProgressGroup, cn as TenantFeatureProgressInput, co as TenantFeatureProgressItem, cp as TenantFeatureProgressItemState, cq as TenantFeatureProgressResponse, cr as TenantFeatureProgressSeverity, cs as TenantFeatureProgressStatus, ct as TenantFieldConfigState, cu as TenantIntrospectionApi, cv as TenantIntrospectionApiOptions, cw as UpdateCartAttributesParams, cx as UpdateDiscountCodesParams, cy as UpdateItemParams, cz as VariantInput, cA as VariantPricesUpdateInput, cB as VariantPricesUpdateParams, cC as VariantPricesUpdateResponse, cD as VoidBenefitVoucherRequest, cE as getExternalEffectClaimErrorReason, cF as invalidBenefitVoucherResponse, cG as parseBenefitVoucher, cH as parseBenefitVoucherList } from './types-CLRw0aDa.js';
3
+ import { S as ServerCollectionClient } from './collection-client-IOaWsTMI.js';
4
+ export { C as CollectionClient } from './collection-client-IOaWsTMI.js';
5
+ import './payload-types-BY1uZFRf.js';
6
6
  export { isApiError, isAuthError, isCommerceSDKError, isConfigError, isConflictError, isGoneError, isNetworkError, isNotFoundError, isPermissionError, isRateLimitError, isSDKError, isServiceUnavailableError, isTimeoutError, isUsageLimitError, isValidationError } from './errors.js';
7
+ import './const-Do27Udj6.js';
8
+ import './types-AWSVpuPE.js';
7
9
  import './metadata.js';
8
- import './const-BU79hCFB.js';
9
- import './types-BusejG-v.js';
10
10
 
11
11
  type PreviewDetailParams = {
12
12
  collection: string;
@@ -41,6 +41,7 @@ declare class ServerClient {
41
41
  externalEffectClaims: ExternalEffectClaimsApi;
42
42
  installationCredentials: InstallationCredentialsApi;
43
43
  externalCustomerLinks: ExternalCustomerLinksApi;
44
+ benefitVouchers: BenefitVouchersApi;
44
45
  private _events?;
45
46
  video: VideoPlaybackClient;
46
47
  community: CommunityClient & {
@@ -71,4 +72,4 @@ declare class ServerClient {
71
72
  */
72
73
  declare function createServerClient(options: ClientServerConfig): RootServerClientWithEvents;
73
74
 
74
- export { CancelMembershipParams, CancelMembershipResponse, ClientServerConfig, CommunityClient, CustomerGroupApi, ExternalCustomerLinksApi, ExternalEffectClaimsApi, InstallationCredentialsApi, type PreviewDetailOptions, type PreviewDetailParams, RootServerClientWithEvents, ServerClient, ServerCollectionClient, ServerCommerceClient, ServerPreviewClient, SubscribeMembershipParams, SubscribeMembershipResponse, TenantIntrospectionClient, createServerClient };
75
+ export { BenefitVouchersApi, CancelMembershipParams, CancelMembershipResponse, ClientServerConfig, CommunityClient, CustomerGroupApi, ExternalCustomerLinksApi, ExternalEffectClaimsApi, InstallationCredentialsApi, type PreviewDetailOptions, type PreviewDetailParams, RootServerClientWithEvents, ServerClient, ServerCollectionClient, ServerCommerceClient, ServerPreviewClient, SubscribeMembershipParams, SubscribeMembershipResponse, TenantIntrospectionClient, createServerClient };