@01.software/sdk 0.70.1 → 0.72.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +143 -0
- package/MIGRATION.md +28 -0
- package/README.md +253 -11
- package/dist/client.cjs +396 -26
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +7 -6
- package/dist/client.d.ts +7 -6
- package/dist/client.js +396 -26
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-BHLStm1K.d.cts → collection-client-B3CnqMDQ.d.cts} +14 -18
- package/dist/{collection-client-B1FSJ24_.d.ts → collection-client-uOgS_1bC.d.ts} +14 -18
- package/dist/{const-ty8u0TDI.d.ts → const-BJBK7jBl.d.ts} +1 -1
- package/dist/{const-BfQfV-rr.d.cts → const-_ZfJjRQG.d.cts} +1 -1
- package/dist/embedded-admin/server.cjs +117 -2
- package/dist/embedded-admin/server.cjs.map +1 -1
- package/dist/embedded-admin/server.d.cts +30 -2
- package/dist/embedded-admin/server.d.ts +30 -2
- package/dist/embedded-admin/server.js +117 -2
- package/dist/embedded-admin/server.js.map +1 -1
- package/dist/embedded-admin.cjs +135 -7
- package/dist/embedded-admin.cjs.map +1 -1
- package/dist/embedded-admin.d.cts +35 -2
- package/dist/embedded-admin.d.ts +35 -2
- package/dist/embedded-admin.js +135 -7
- package/dist/embedded-admin.js.map +1 -1
- package/dist/errors.cjs +2 -0
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.cts +3 -3
- package/dist/errors.d.ts +3 -3
- package/dist/errors.js +2 -0
- package/dist/errors.js.map +1 -1
- package/dist/{index-DnKgjPGM.d.ts → index-CBaP4q8r.d.ts} +3 -3
- package/dist/{index-CX6si6YC.d.cts → index-CI_LFWiG.d.cts} +3 -3
- package/dist/index.cjs +396 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -9
- package/dist/index.d.ts +24 -9
- package/dist/index.js +396 -26
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-DTAaWKrp.d.cts → payload-types-BRg8Yary.d.cts} +262 -177
- package/dist/{payload-types-DTAaWKrp.d.ts → payload-types-BRg8Yary.d.ts} +262 -177
- package/dist/query.cjs +20 -0
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +5 -5
- package/dist/query.d.ts +5 -5
- package/dist/query.js +20 -0
- package/dist/query.js.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/server.cjs +459 -46
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +10 -8
- package/dist/server.d.ts +10 -8
- package/dist/server.js +459 -46
- package/dist/server.js.map +1 -1
- package/dist/storefront-cache.cjs +2 -0
- package/dist/storefront-cache.cjs.map +1 -1
- package/dist/storefront-cache.js +2 -0
- package/dist/storefront-cache.js.map +1 -1
- package/dist/{types-DdlhpNVv.d.ts → types-Cmnxxvuv.d.ts} +238 -21
- package/dist/{types-Bzgf4mTo.d.cts → types-CnkJQUez.d.cts} +238 -21
- package/dist/{types-DX8Z44yQ.d.ts → types-DLjSqL0P.d.ts} +2 -2
- package/dist/{types-CpSiyJud.d.cts → types-FyklqLAk.d.cts} +2 -2
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/webhook.d.cts +5 -5
- package/dist/webhook.d.ts +5 -5
- package/package.json +2 -4
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, C as CancelMembershipParams,
|
|
2
|
-
export { A as AddItemParams,
|
|
3
|
-
import { S as ServerCollectionClient } from './collection-client-
|
|
4
|
-
export { C as CollectionClient } from './collection-client-
|
|
5
|
-
import './payload-types-
|
|
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 CustomerGroupApi, h as ExternalEffectClaimsApi, I as InstallationCredentialsApi, i as ExternalCustomerLinksApi, j as BenefitVouchersApi, k as CreditsApi, V as VideoPlaybackClient, l as CommunityClient, m as BanCustomerParams, n as CommunityBan, U as UnbanCustomerParams, M as MarketDiscovery, o as ClientState, p as ClientServerConfig, q as RootServerClientWithEvents } from './types-CnkJQUez.cjs';
|
|
2
|
+
export { A as AddItemParams, r as BENEFIT_VOUCHER_ERROR_REASONS, s as BENEFIT_VOUCHER_VOID_REASONS, t as BenefitVoucher, u as BenefitVoucherErrorReason, v as CancelServerPaymentSessionParams, w as CaptureExternalCustomerPreviousStateParams, x as CartApi, y as CartApiOptions, z as CartMergeResult, D as CartMineResult, F as CartMutationResult, G as CheckoutAbandonedReason, H as CheckoutAmounts, J as CheckoutApi, K as CheckoutApiOptions, L as CheckoutListItem, N as CheckoutOrderReference, O as CheckoutPaymentSessionRef, P as CheckoutQueryParams, Q as CheckoutQueryResult, W as CheckoutShippingAddress, X as CheckoutStatus, Y as ClaimExternalEffectParams, Z as ClearCartParams, _ as CollectionCustomFieldDefinition, $ as CollectionCustomFields, a0 as CollectionFieldSchema, a1 as CollectionSchemaResponse, a2 as ConfirmCustomPaymentSessionOptions, a3 as ConfirmCustomPaymentSessionParams, a4 as ConfirmCustomPaymentSessionResponse, a5 as ConfirmTossPaymentSessionParams, a6 as ConnectExternalCustomerLinkParams, a7 as CreateCartParams, a8 as CreateCartResult, a9 as CreateCustomPaymentSessionParams, aa as CreateInstallationCredentialParams, ab as CreatePaymentSessionParams, ac as CreatePortOnePaymentSessionParams, ad as CreateServerCheckoutParams, ae as CreateServerCheckoutResult, af as CreateServerPaymentSessionParams, ag as CreateServerPortOnePaymentSessionParams, ah as CustomPaymentSession, ai as CustomPaymentSessionProof, aj as CustomerBenefitVoucher, ak as CustomerCreditAccountResponse, al as CustomerCreditBalances, am as CustomerCreditGrant, an as CustomerGroupApiOptions, ao as CustomerGroupManualSource, ap as CustomerGroupMember, aq as CustomerGroupMemberCommandResponse, ar as CustomerGroupMemberSource, as as CustomerGroupMembershipSource, at as CustomerGroupMembershipState, au as CustomerMembershipView, av as CustomerSnapshot, aw as DisposeInstallationCredentialParams, ax as EventAdmissionAvailabilityParams, ay as EventAdmissionAvailabilityResponse, az as EventAdmissionAvailabilityType, aA as EventAdmissionPricePresentment, aB as EventGuestCancelParams, aC as EventGuestRegistration, aD as EventGuestRegistrationResponse, aE as EventMyRegistration, aF as EventMyRegistrationsParams, aG as EventMyRegistrationsResponse, aH as EventRegistrationAnswerInput, aI as EventRegistrationAttendeeInput, aJ as EventRegistrationPublic, aK as EventRegistrationRegisterParams, aL as EventRegistrationRegisterResponse, aM as EventsCalendarItem, aN as EventsClient, aO as EventsClientOptions, aP as EventsDateParam, aQ as EventsExternalSource, aR as EventsLocation, aS as EventsOccurrenceLocation, aT as EventsRangeEvent, aU as EventsRangeOccurrence, aV as EventsRangeParams, aW as EventsRangeResponse, aX as EventsTaxonomyItem, aY as ExternalCustomerLink, aZ as ExternalCustomerLinkListResponse, a_ as ExternalCustomerPreviousState, a$ as ExternalEffectClaimErrorReason, b0 as ExternalEffectClaimSnapshot, b1 as ExternalEffectClaimState, b2 as ExternalEffectLeaseParams, b3 as ExternalEffectLocator, b4 as FindPortOnePaymentParams, b5 as FindPortOnePaymentResult, b6 as GetBenefitVoucherRequest, b7 as GetCustomerCreditAccountRequest, b8 as GetCustomerCreditGrantRequest, b9 as GetExternalCustomerLinkParams, ba as GetExternalEffectClaimParams, bb as GrantCustomerCreditRequest, bc as GrantCustomerGroupMemberParams, bd as InstallationCredentialIdentity, be as InstallationCredentialSnapshot, bf as IssueBenefitVoucherRequest, bg as IssueBenefitVoucherResponse, bh as ListBenefitVouchersRequest, bi as ListBenefitVouchersResponse, bj as ListCustomerGroupMembersParams, bk as ListCustomerGroupMembersResponse, bl as ListExternalCustomerLinksParams, bm as ListMyBenefitVouchersRequest, bn as ListMyBenefitVouchersResponse, bo as MembershipStatus, bp as ModerationApi, bq as Money, br as MutateBenefitVoucherResponse, bs as MutateExternalCustomerLinkParams, bt as MyCustomerCreditHistoryRequest, bu as MyCustomerCreditHistoryResponse, bv as MyCustomerCreditsRequest, bw as MyCustomerCreditsResponse, bx as OpenCheckoutPaymentState, by as PaymentFailureReason, bz as PaymentNextAction, bA as PaymentProviderStatus, bB as PaymentReconciliationReason, bC as PaymentSessionApi, bD as PaymentSessionApiOptions, bE as PaymentSessionRole, bF as PortOneHostedPaymentMethod, bG as PortOnePaymentCurrentState, bH as PortOnePaymentNextAction, bI as PortOnePaymentReconciliationApi, bJ as PortOnePaymentSelector, bK as PortOnePublicPaymentSession, bL as PortOneReconciliationDisposition, bM as ProductGraphRevisionParams, bN as ProductGraphRevisionResponse, bO as ProductUpsertInput, bP as ProductUpsertParams, bQ as ProductUpsertResponse, bR as ProductUpsertVariantInput, bS as PublicAttribute, bT as PublicCaptureEvidence, bU as PublicCart, bV as PublicCartItem, bW as PublicCartItemAdmission, bX as PublicCartMarket, bY as PublicCartReference, bZ as PublicCheckout, b_ as PublicCheckoutItem, b$ as PublicMediaAsset, c0 as PublicMediaSize, c1 as PublicOrder, c2 as PublicOrderAmounts, c3 as PublicOrderItem, c4 as PublicOrderReference, c5 as PublicPaymentSession, c6 as ReconcilePortOnePaymentParams, c7 as ReconcilePortOnePaymentResult, c8 as ReconciliationRequired, c9 as RecordExternalEffectRecoveryParams, ca as RedeemBenefitVoucherRequest, cb as RemoveItemParams, cc as ReplaceInstallationCredentialParams, cd as ReportExternalEffectParams, ce as RetrieveCartParams, cf as RetrieveCheckoutParams, cg as RetrieveCustomPaymentSessionParams, ch as RetrieveServerCheckoutParams, ci as RetrieveServerPaymentSessionParams, cj as RetrievedCustomPaymentSession, ck as RevokeCustomerCreditRequest, cl as RevokeCustomerCreditResponse, cm as RevokeCustomerGroupMemberParams, cn as RootServerClient, co as ServerAddItemParams, cp as ServerCartMergeParams, cq as ServerCartMineParams, cr as ServerCheckout, cs as ServerUpdateItemParams, ct as ShippingLine, cu as SpentCheckoutPaymentState, cv as TENANT_CONTEXT_PATH, cw as TenantContextInput, cx as TenantContextResponse, cy as TenantCustomFieldType, cz as TenantFeatureProgressEvidenceValue, cA as TenantFeatureProgressFeature, cB as TenantFeatureProgressGroup, cC as TenantFeatureProgressInput, cD as TenantFeatureProgressItem, cE as TenantFeatureProgressItemState, cF as TenantFeatureProgressResponse, cG as TenantFeatureProgressSeverity, cH as TenantFeatureProgressStatus, cI as TenantFieldConfigState, cJ as TenantIntrospectionApi, cK as TenantIntrospectionApiOptions, cL as UpdateCartAttributesParams, cM as UpdateDiscountCodesParams, cN as UpdateItemParams, cO as VariantInput, cP as VariantPricesUpdateInput, cQ as VariantPricesUpdateParams, cR as VariantPricesUpdateResponse, cS as VoidBenefitVoucherRequest, cT as getExternalEffectClaimErrorReason, cU as invalidBenefitVoucherResponse, cV as parseBenefitVoucher, cW as parseBenefitVoucherList, cX as parseCustomerCreditAccount, cY as parseCustomerCreditGrant, cZ as parseMyCustomerCreditHistory, c_ as parseMyCustomerCredits, c$ as parseRevokeCustomerCredit } from './types-CnkJQUez.cjs';
|
|
3
|
+
import { S as ServerCollectionClient } from './collection-client-B3CnqMDQ.cjs';
|
|
4
|
+
export { C as CollectionClient } from './collection-client-B3CnqMDQ.cjs';
|
|
5
|
+
import './payload-types-BRg8Yary.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-
|
|
8
|
-
import './types-
|
|
7
|
+
import './const-_ZfJjRQG.cjs';
|
|
8
|
+
import './types-FyklqLAk.cjs';
|
|
9
9
|
import './metadata.cjs';
|
|
10
10
|
|
|
11
11
|
type PreviewDetailParams = {
|
|
@@ -34,6 +34,7 @@ declare class ServerClient {
|
|
|
34
34
|
tenant: TenantIntrospectionClient;
|
|
35
35
|
memberships: {
|
|
36
36
|
subscribe: (params: SubscribeMembershipParams) => Promise<SubscribeMembershipResponse>;
|
|
37
|
+
endSubscribeIntent: (params: EndSubscribeIntentParams) => Promise<EndSubscribeIntentResponse>;
|
|
37
38
|
cancel: (params: CancelMembershipParams) => Promise<CancelMembershipResponse>;
|
|
38
39
|
billingCustody: (params: BillingCustodyParams) => Promise<BillingCustodyResponse>;
|
|
39
40
|
};
|
|
@@ -42,6 +43,7 @@ declare class ServerClient {
|
|
|
42
43
|
installationCredentials: InstallationCredentialsApi;
|
|
43
44
|
externalCustomerLinks: ExternalCustomerLinksApi;
|
|
44
45
|
benefitVouchers: BenefitVouchersApi;
|
|
46
|
+
credits: CreditsApi;
|
|
45
47
|
private _events?;
|
|
46
48
|
video: VideoPlaybackClient;
|
|
47
49
|
community: CommunityClient & {
|
|
@@ -72,4 +74,4 @@ declare class ServerClient {
|
|
|
72
74
|
*/
|
|
73
75
|
declare function createServerClient(options: ClientServerConfig): RootServerClientWithEvents;
|
|
74
76
|
|
|
75
|
-
export { BenefitVouchersApi, CancelMembershipParams, CancelMembershipResponse, ClientServerConfig, CommunityClient, CustomerGroupApi, ExternalCustomerLinksApi, ExternalEffectClaimsApi, InstallationCredentialsApi, type PreviewDetailOptions, type PreviewDetailParams, RootServerClientWithEvents, ServerClient, ServerCollectionClient, ServerCommerceClient, ServerPreviewClient, SubscribeMembershipParams, SubscribeMembershipResponse, TenantIntrospectionClient, createServerClient };
|
|
77
|
+
export { BenefitVouchersApi, CancelMembershipParams, CancelMembershipResponse, ClientServerConfig, CommunityClient, CreditsApi, CustomerGroupApi, EndSubscribeIntentParams, EndSubscribeIntentResponse, ExternalCustomerLinksApi, ExternalEffectClaimsApi, InstallationCredentialsApi, type PreviewDetailOptions, type PreviewDetailParams, RootServerClientWithEvents, ServerClient, ServerCollectionClient, ServerCommerceClient, ServerPreviewClient, SubscribeMembershipParams, SubscribeMembershipResponse, TenantIntrospectionClient, createServerClient };
|
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, C as CancelMembershipParams,
|
|
2
|
-
export { A as AddItemParams,
|
|
3
|
-
import { S as ServerCollectionClient } from './collection-client-
|
|
4
|
-
export { C as CollectionClient } from './collection-client-
|
|
5
|
-
import './payload-types-
|
|
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 CustomerGroupApi, h as ExternalEffectClaimsApi, I as InstallationCredentialsApi, i as ExternalCustomerLinksApi, j as BenefitVouchersApi, k as CreditsApi, V as VideoPlaybackClient, l as CommunityClient, m as BanCustomerParams, n as CommunityBan, U as UnbanCustomerParams, M as MarketDiscovery, o as ClientState, p as ClientServerConfig, q as RootServerClientWithEvents } from './types-Cmnxxvuv.js';
|
|
2
|
+
export { A as AddItemParams, r as BENEFIT_VOUCHER_ERROR_REASONS, s as BENEFIT_VOUCHER_VOID_REASONS, t as BenefitVoucher, u as BenefitVoucherErrorReason, v as CancelServerPaymentSessionParams, w as CaptureExternalCustomerPreviousStateParams, x as CartApi, y as CartApiOptions, z as CartMergeResult, D as CartMineResult, F as CartMutationResult, G as CheckoutAbandonedReason, H as CheckoutAmounts, J as CheckoutApi, K as CheckoutApiOptions, L as CheckoutListItem, N as CheckoutOrderReference, O as CheckoutPaymentSessionRef, P as CheckoutQueryParams, Q as CheckoutQueryResult, W as CheckoutShippingAddress, X as CheckoutStatus, Y as ClaimExternalEffectParams, Z as ClearCartParams, _ as CollectionCustomFieldDefinition, $ as CollectionCustomFields, a0 as CollectionFieldSchema, a1 as CollectionSchemaResponse, a2 as ConfirmCustomPaymentSessionOptions, a3 as ConfirmCustomPaymentSessionParams, a4 as ConfirmCustomPaymentSessionResponse, a5 as ConfirmTossPaymentSessionParams, a6 as ConnectExternalCustomerLinkParams, a7 as CreateCartParams, a8 as CreateCartResult, a9 as CreateCustomPaymentSessionParams, aa as CreateInstallationCredentialParams, ab as CreatePaymentSessionParams, ac as CreatePortOnePaymentSessionParams, ad as CreateServerCheckoutParams, ae as CreateServerCheckoutResult, af as CreateServerPaymentSessionParams, ag as CreateServerPortOnePaymentSessionParams, ah as CustomPaymentSession, ai as CustomPaymentSessionProof, aj as CustomerBenefitVoucher, ak as CustomerCreditAccountResponse, al as CustomerCreditBalances, am as CustomerCreditGrant, an as CustomerGroupApiOptions, ao as CustomerGroupManualSource, ap as CustomerGroupMember, aq as CustomerGroupMemberCommandResponse, ar as CustomerGroupMemberSource, as as CustomerGroupMembershipSource, at as CustomerGroupMembershipState, au as CustomerMembershipView, av as CustomerSnapshot, aw as DisposeInstallationCredentialParams, ax as EventAdmissionAvailabilityParams, ay as EventAdmissionAvailabilityResponse, az as EventAdmissionAvailabilityType, aA as EventAdmissionPricePresentment, aB as EventGuestCancelParams, aC as EventGuestRegistration, aD as EventGuestRegistrationResponse, aE as EventMyRegistration, aF as EventMyRegistrationsParams, aG as EventMyRegistrationsResponse, aH as EventRegistrationAnswerInput, aI as EventRegistrationAttendeeInput, aJ as EventRegistrationPublic, aK as EventRegistrationRegisterParams, aL as EventRegistrationRegisterResponse, aM as EventsCalendarItem, aN as EventsClient, aO as EventsClientOptions, aP as EventsDateParam, aQ as EventsExternalSource, aR as EventsLocation, aS as EventsOccurrenceLocation, aT as EventsRangeEvent, aU as EventsRangeOccurrence, aV as EventsRangeParams, aW as EventsRangeResponse, aX as EventsTaxonomyItem, aY as ExternalCustomerLink, aZ as ExternalCustomerLinkListResponse, a_ as ExternalCustomerPreviousState, a$ as ExternalEffectClaimErrorReason, b0 as ExternalEffectClaimSnapshot, b1 as ExternalEffectClaimState, b2 as ExternalEffectLeaseParams, b3 as ExternalEffectLocator, b4 as FindPortOnePaymentParams, b5 as FindPortOnePaymentResult, b6 as GetBenefitVoucherRequest, b7 as GetCustomerCreditAccountRequest, b8 as GetCustomerCreditGrantRequest, b9 as GetExternalCustomerLinkParams, ba as GetExternalEffectClaimParams, bb as GrantCustomerCreditRequest, bc as GrantCustomerGroupMemberParams, bd as InstallationCredentialIdentity, be as InstallationCredentialSnapshot, bf as IssueBenefitVoucherRequest, bg as IssueBenefitVoucherResponse, bh as ListBenefitVouchersRequest, bi as ListBenefitVouchersResponse, bj as ListCustomerGroupMembersParams, bk as ListCustomerGroupMembersResponse, bl as ListExternalCustomerLinksParams, bm as ListMyBenefitVouchersRequest, bn as ListMyBenefitVouchersResponse, bo as MembershipStatus, bp as ModerationApi, bq as Money, br as MutateBenefitVoucherResponse, bs as MutateExternalCustomerLinkParams, bt as MyCustomerCreditHistoryRequest, bu as MyCustomerCreditHistoryResponse, bv as MyCustomerCreditsRequest, bw as MyCustomerCreditsResponse, bx as OpenCheckoutPaymentState, by as PaymentFailureReason, bz as PaymentNextAction, bA as PaymentProviderStatus, bB as PaymentReconciliationReason, bC as PaymentSessionApi, bD as PaymentSessionApiOptions, bE as PaymentSessionRole, bF as PortOneHostedPaymentMethod, bG as PortOnePaymentCurrentState, bH as PortOnePaymentNextAction, bI as PortOnePaymentReconciliationApi, bJ as PortOnePaymentSelector, bK as PortOnePublicPaymentSession, bL as PortOneReconciliationDisposition, bM as ProductGraphRevisionParams, bN as ProductGraphRevisionResponse, bO as ProductUpsertInput, bP as ProductUpsertParams, bQ as ProductUpsertResponse, bR as ProductUpsertVariantInput, bS as PublicAttribute, bT as PublicCaptureEvidence, bU as PublicCart, bV as PublicCartItem, bW as PublicCartItemAdmission, bX as PublicCartMarket, bY as PublicCartReference, bZ as PublicCheckout, b_ as PublicCheckoutItem, b$ as PublicMediaAsset, c0 as PublicMediaSize, c1 as PublicOrder, c2 as PublicOrderAmounts, c3 as PublicOrderItem, c4 as PublicOrderReference, c5 as PublicPaymentSession, c6 as ReconcilePortOnePaymentParams, c7 as ReconcilePortOnePaymentResult, c8 as ReconciliationRequired, c9 as RecordExternalEffectRecoveryParams, ca as RedeemBenefitVoucherRequest, cb as RemoveItemParams, cc as ReplaceInstallationCredentialParams, cd as ReportExternalEffectParams, ce as RetrieveCartParams, cf as RetrieveCheckoutParams, cg as RetrieveCustomPaymentSessionParams, ch as RetrieveServerCheckoutParams, ci as RetrieveServerPaymentSessionParams, cj as RetrievedCustomPaymentSession, ck as RevokeCustomerCreditRequest, cl as RevokeCustomerCreditResponse, cm as RevokeCustomerGroupMemberParams, cn as RootServerClient, co as ServerAddItemParams, cp as ServerCartMergeParams, cq as ServerCartMineParams, cr as ServerCheckout, cs as ServerUpdateItemParams, ct as ShippingLine, cu as SpentCheckoutPaymentState, cv as TENANT_CONTEXT_PATH, cw as TenantContextInput, cx as TenantContextResponse, cy as TenantCustomFieldType, cz as TenantFeatureProgressEvidenceValue, cA as TenantFeatureProgressFeature, cB as TenantFeatureProgressGroup, cC as TenantFeatureProgressInput, cD as TenantFeatureProgressItem, cE as TenantFeatureProgressItemState, cF as TenantFeatureProgressResponse, cG as TenantFeatureProgressSeverity, cH as TenantFeatureProgressStatus, cI as TenantFieldConfigState, cJ as TenantIntrospectionApi, cK as TenantIntrospectionApiOptions, cL as UpdateCartAttributesParams, cM as UpdateDiscountCodesParams, cN as UpdateItemParams, cO as VariantInput, cP as VariantPricesUpdateInput, cQ as VariantPricesUpdateParams, cR as VariantPricesUpdateResponse, cS as VoidBenefitVoucherRequest, cT as getExternalEffectClaimErrorReason, cU as invalidBenefitVoucherResponse, cV as parseBenefitVoucher, cW as parseBenefitVoucherList, cX as parseCustomerCreditAccount, cY as parseCustomerCreditGrant, cZ as parseMyCustomerCreditHistory, c_ as parseMyCustomerCredits, c$ as parseRevokeCustomerCredit } from './types-Cmnxxvuv.js';
|
|
3
|
+
import { S as ServerCollectionClient } from './collection-client-uOgS_1bC.js';
|
|
4
|
+
export { C as CollectionClient } from './collection-client-uOgS_1bC.js';
|
|
5
|
+
import './payload-types-BRg8Yary.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-
|
|
8
|
-
import './types-
|
|
7
|
+
import './const-BJBK7jBl.js';
|
|
8
|
+
import './types-DLjSqL0P.js';
|
|
9
9
|
import './metadata.js';
|
|
10
10
|
|
|
11
11
|
type PreviewDetailParams = {
|
|
@@ -34,6 +34,7 @@ declare class ServerClient {
|
|
|
34
34
|
tenant: TenantIntrospectionClient;
|
|
35
35
|
memberships: {
|
|
36
36
|
subscribe: (params: SubscribeMembershipParams) => Promise<SubscribeMembershipResponse>;
|
|
37
|
+
endSubscribeIntent: (params: EndSubscribeIntentParams) => Promise<EndSubscribeIntentResponse>;
|
|
37
38
|
cancel: (params: CancelMembershipParams) => Promise<CancelMembershipResponse>;
|
|
38
39
|
billingCustody: (params: BillingCustodyParams) => Promise<BillingCustodyResponse>;
|
|
39
40
|
};
|
|
@@ -42,6 +43,7 @@ declare class ServerClient {
|
|
|
42
43
|
installationCredentials: InstallationCredentialsApi;
|
|
43
44
|
externalCustomerLinks: ExternalCustomerLinksApi;
|
|
44
45
|
benefitVouchers: BenefitVouchersApi;
|
|
46
|
+
credits: CreditsApi;
|
|
45
47
|
private _events?;
|
|
46
48
|
video: VideoPlaybackClient;
|
|
47
49
|
community: CommunityClient & {
|
|
@@ -72,4 +74,4 @@ declare class ServerClient {
|
|
|
72
74
|
*/
|
|
73
75
|
declare function createServerClient(options: ClientServerConfig): RootServerClientWithEvents;
|
|
74
76
|
|
|
75
|
-
export { BenefitVouchersApi, CancelMembershipParams, CancelMembershipResponse, ClientServerConfig, CommunityClient, CustomerGroupApi, ExternalCustomerLinksApi, ExternalEffectClaimsApi, InstallationCredentialsApi, type PreviewDetailOptions, type PreviewDetailParams, RootServerClientWithEvents, ServerClient, ServerCollectionClient, ServerCommerceClient, ServerPreviewClient, SubscribeMembershipParams, SubscribeMembershipResponse, TenantIntrospectionClient, createServerClient };
|
|
77
|
+
export { BenefitVouchersApi, CancelMembershipParams, CancelMembershipResponse, ClientServerConfig, CommunityClient, CreditsApi, CustomerGroupApi, EndSubscribeIntentParams, EndSubscribeIntentResponse, ExternalCustomerLinksApi, ExternalEffectClaimsApi, InstallationCredentialsApi, type PreviewDetailOptions, type PreviewDetailParams, RootServerClientWithEvents, ServerClient, ServerCollectionClient, ServerCommerceClient, ServerPreviewClient, SubscribeMembershipParams, SubscribeMembershipResponse, TenantIntrospectionClient, createServerClient };
|