@wix/auto_sdk_ecom_checkout 1.0.175 → 1.0.177
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +31 -8
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +31 -8
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +31 -8
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +31 -8
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +47 -11
- package/build/internal/cjs/meta.d.ts +47 -11
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +47 -11
- package/build/internal/es/meta.d.mts +47 -11
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { CreateCheckoutOptions, Checkout, CreateCheckoutApplicationErrors, GetCheckoutByCartIdResponse, GetWixCheckoutURLResponse, GetCheckoutURLResponse, UpdateCheckout, UpdateCheckoutOptions, UpdateCheckoutApplicationErrors, RemoveCouponResponse, RemoveGiftCardResponse, RemoveOverrideCheckoutUrlResponse, AddToCheckoutOptions, AddToCheckoutResponse, AddToCheckoutApplicationErrors, RemoveLineItemsResponse, CreateOrderOptions, CreateOrderResponse, CreateOrderApplicationErrors, CreateOrderAndChargeOptions, CreateOrderAndChargeResponse, CreateOrderAndChargeApplicationErrors, RawHttpResponse, MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, MarkCheckoutAsCompletedOptions, LineItemQuantityUpdate, UpdateLineItemsQuantityResponse, CheckoutCompletedEnvelope, CheckoutCreatedEnvelope, CheckoutDeletedEnvelope, CheckoutUpdatedEnvelope } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddToCheckoutRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, BillingSettings, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, CheckoutMarkedAsCompleted, Color, ConversionInfo, Coupon, CouponAdded, CouponRemoved, CreateCheckoutRequest, CreateCheckoutResponse, CreateOrderAndChargeRequest, CreateOrderAndChargeResponseIdOneOf, CreateOrderRequest, CreateOrderResponseIdOneOf, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomLineItem, CustomSettings, DeleteCheckoutRequest, DeleteCheckoutResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DoublePaymentErrorData, DoublePaymentErrorDataIdOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutByCartIdRequest, GetCheckoutRequest, GetCheckoutResponse, GetCheckoutURLRequest, GetWixCheckoutURLRequest, GiftCard, GiftCardAdded, GiftCardCalculationError, GiftCardRemoved, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemAvailabilityStatusWithLiterals, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItem, LineItemAdded, LineItemDiscount, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCheckoutAsCompletedAndRedirectToUrlRequest, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedResponse, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentErrorResponseData, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, Policy, PriceDescription, PriceSummary, ProductName, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, RateType, RateTypeWithLiterals, RedeemErrorData, Region, RemoveCouponRequest, RemoveGiftCardRequest, RemoveLineItemsRequest, RemoveOverrideCheckoutUrlRequest, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, SeverityWithLiterals, ShippingCalculationErrorData, ShippingCalculationErrorDataShippingCalculationErrorOneOf, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UpdateCheckoutRequest, UpdateCheckoutResponse, UpdateLineItemsQuantityRequest, UpdatedCheckoutMessage, V1ItemModifier, V1ModifierGroup, ValidationError, VatId, VatType, VatTypeWithLiterals, Violation, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddToCheckoutRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, BillingSettings, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, CheckoutMarkedAsCompleted, Color, ConversionInfo, Coupon, CouponAdded, CouponRemoved, CreateCheckoutRequest, CreateCheckoutResponse, CreateOrderAndChargeRequest, CreateOrderAndChargeResponseIdOneOf, CreateOrderRequest, CreateOrderResponseIdOneOf, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomLineItem, CustomSettings, CyclePriceOverride, DeleteCheckoutRequest, DeleteCheckoutResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DoublePaymentErrorData, DoublePaymentErrorDataIdOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutByCartIdRequest, GetCheckoutRequest, GetCheckoutResponse, GetCheckoutURLRequest, GetWixCheckoutURLRequest, GiftCard, GiftCardAdded, GiftCardCalculationError, GiftCardRemoved, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemAvailabilityStatusWithLiterals, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItem, LineItemAdded, LineItemDiscount, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCheckoutAsCompletedAndRedirectToUrlRequest, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedResponse, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentErrorResponseData, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, Policy, PriceDescription, PriceSummary, ProductName, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, RateType, RateTypeWithLiterals, RedeemErrorData, Region, RemoveCouponRequest, RemoveGiftCardRequest, RemoveLineItemsRequest, RemoveOverrideCheckoutUrlRequest, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, SeverityWithLiterals, ShippingCalculationErrorData, ShippingCalculationErrorDataShippingCalculationErrorOneOf, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UpdateCheckoutRequest, UpdateCheckoutResponse, UpdateLineItemsQuantityRequest, UpdatedCheckoutMessage, V1ItemModifier, V1ModifierGroup, ValidationError, VatId, VatType, VatTypeWithLiterals, Violation, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createCheckout$1(httpClient: HttpClient): CreateCheckoutSignature;
|
|
6
6
|
interface CreateCheckoutSignature {
|
|
@@ -1015,7 +1015,7 @@ interface SubscriptionSettings {
|
|
|
1015
1015
|
* @min 1
|
|
1016
1016
|
*/
|
|
1017
1017
|
billingCycles?: number | null;
|
|
1018
|
-
/** Whether to allow the customer to cancel the subscription
|
|
1018
|
+
/** Whether to allow the customer to cancel the subscription. */
|
|
1019
1019
|
enableCustomerCancellation?: boolean;
|
|
1020
1020
|
/**
|
|
1021
1021
|
* Period until first cycle starts. If applied payNow will be 0
|
|
@@ -1037,6 +1037,15 @@ interface SubscriptionSettings {
|
|
|
1037
1037
|
* @internal
|
|
1038
1038
|
*/
|
|
1039
1039
|
productPeriodAlignment?: ProductPeriodAlignmentWithLiterals;
|
|
1040
|
+
/**
|
|
1041
|
+
* Unit prices for specified billing cycles of the subscription. Cycles that no entry covers
|
|
1042
|
+
* are charged the item's `price`.
|
|
1043
|
+
*
|
|
1044
|
+
* When `billingCycles` is set, every entry must end on or before the last billing cycle.
|
|
1045
|
+
* @internal
|
|
1046
|
+
* @maxSize 1
|
|
1047
|
+
*/
|
|
1048
|
+
cyclePriceOverrides?: CyclePriceOverride[];
|
|
1040
1049
|
}
|
|
1041
1050
|
/** Frequency unit of recurring payment */
|
|
1042
1051
|
declare enum SubscriptionFrequency {
|
|
@@ -1074,6 +1083,27 @@ declare enum ProductPeriodAlignment {
|
|
|
1074
1083
|
}
|
|
1075
1084
|
/** @enumType */
|
|
1076
1085
|
type ProductPeriodAlignmentWithLiterals = ProductPeriodAlignment | 'ALIGNED_WITH_BILLING_PERIOD' | 'NOT_ALIGNED_WITH_BILLING_PERIOD';
|
|
1086
|
+
interface CyclePriceOverride {
|
|
1087
|
+
/**
|
|
1088
|
+
* __Required.__ First billing cycle the price applies to. The first paid cycle of the
|
|
1089
|
+
* subscription is `1`. A free trial period, if any, is cycle `0`.
|
|
1090
|
+
* @min 1
|
|
1091
|
+
* @max 1
|
|
1092
|
+
*/
|
|
1093
|
+
cycleFrom?: number;
|
|
1094
|
+
/**
|
|
1095
|
+
* __Required.__ Number of consecutive billing cycles the price applies to, starting at `cycleFrom`.
|
|
1096
|
+
* @min 1
|
|
1097
|
+
* @max 1
|
|
1098
|
+
*/
|
|
1099
|
+
numberOfCycles?: number | null;
|
|
1100
|
+
/**
|
|
1101
|
+
* __Required.__ Unit price for the cycles this entry covers, in the item's currency.
|
|
1102
|
+
* Can be higher than, lower than, or equal to the item's `price`.
|
|
1103
|
+
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
1104
|
+
*/
|
|
1105
|
+
price?: string;
|
|
1106
|
+
}
|
|
1077
1107
|
interface Title {
|
|
1078
1108
|
/**
|
|
1079
1109
|
* Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
@@ -2470,27 +2500,29 @@ interface Membership {
|
|
|
2470
2500
|
}
|
|
2471
2501
|
interface MembershipName {
|
|
2472
2502
|
/**
|
|
2473
|
-
* Membership name.
|
|
2503
|
+
* Membership name in the site's original language.
|
|
2474
2504
|
* @maxLength 100
|
|
2475
2505
|
*/
|
|
2476
2506
|
original?: string;
|
|
2477
2507
|
/**
|
|
2478
|
-
*
|
|
2508
|
+
* Membership name translated into the buyer's language.
|
|
2509
|
+
*
|
|
2510
|
+
* Default: The value of `original`
|
|
2479
2511
|
* @maxLength 100
|
|
2480
2512
|
*/
|
|
2481
2513
|
translated?: string | null;
|
|
2482
2514
|
}
|
|
2483
2515
|
interface MembershipPaymentCredits {
|
|
2484
2516
|
/**
|
|
2485
|
-
* Membership's initial
|
|
2517
|
+
* Membership's initial balance.
|
|
2486
2518
|
* @min 1
|
|
2487
2519
|
*/
|
|
2488
2520
|
total?: number;
|
|
2489
|
-
/** Membership's remaining
|
|
2521
|
+
/** Membership's remaining balance. */
|
|
2490
2522
|
remaining?: number;
|
|
2491
2523
|
/**
|
|
2492
|
-
* Deprecated.
|
|
2493
|
-
*
|
|
2524
|
+
* Deprecated. Use `ExistingMembership.coveredLineItems`, which carries the redemption cost per line
|
|
2525
|
+
* item. A membership's balance no longer states a per-item cost of its own.
|
|
2494
2526
|
* @internal
|
|
2495
2527
|
* @deprecated
|
|
2496
2528
|
* @replacedBy ExistingMembership.covered_line_items.redemption_cost
|
|
@@ -2498,15 +2530,19 @@ interface MembershipPaymentCredits {
|
|
|
2498
2530
|
*/
|
|
2499
2531
|
redemptionCost?: number;
|
|
2500
2532
|
/**
|
|
2501
|
-
*
|
|
2533
|
+
* How the membership's balance is measured.
|
|
2534
|
+
*
|
|
2535
|
+
* The same vocabulary as `LimitedQuota.limitedQuotaType` on the purchasable-plan side. The two are
|
|
2536
|
+
* separate types only because this one serves the legacy flow and is left untouched until List
|
|
2537
|
+
* Eligible Memberships is removed.
|
|
2502
2538
|
* @internal
|
|
2503
2539
|
*/
|
|
2504
2540
|
balanceType?: BalanceTypeWithLiterals;
|
|
2505
2541
|
}
|
|
2506
2542
|
declare enum BalanceType {
|
|
2507
|
-
/** Balance is measured in discrete uses
|
|
2543
|
+
/** Balance is measured in discrete uses, such as sessions or visits. */
|
|
2508
2544
|
PUNCH_CARD = "PUNCH_CARD",
|
|
2509
|
-
/** Balance is measured in a currency-like value
|
|
2545
|
+
/** Balance is measured in a currency-like value, such as points. */
|
|
2510
2546
|
CREDIT = "CREDIT"
|
|
2511
2547
|
}
|
|
2512
2548
|
/** @enumType */
|
|
@@ -4895,4 +4931,4 @@ interface MarkCheckoutAsCompletedOptions {
|
|
|
4895
4931
|
*/
|
|
4896
4932
|
declare function updateLineItemsQuantity(_id: string, lineItems: NonNullablePaths<LineItemQuantityUpdate, `_id` | `quantity`, 0>[]): Promise<NonNullablePaths<UpdateLineItemsQuantityResponse, `checkout.lineItems` | `checkout.lineItems.${number}.quantity` | `checkout.lineItems.${number}.catalogReference.catalogItemId` | `checkout.lineItems.${number}.catalogReference.appId` | `checkout.lineItems.${number}.productName.original` | `checkout.lineItems.${number}.price.amount` | `checkout.lineItems.${number}.price.convertedAmount` | `checkout.lineItems.${number}.price.formattedAmount` | `checkout.lineItems.${number}.price.formattedConvertedAmount` | `checkout.lineItems.${number}.taxDetails.taxRate` | `checkout.lineItems.${number}.availability.status` | `checkout.lineItems.${number}.physicalProperties.shippable` | `checkout.lineItems.${number}.itemType.preset` | `checkout.lineItems.${number}.itemType.custom` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `checkout.lineItems.${number}.subscriptionOptionInfo.title.original` | `checkout.lineItems.${number}.subscriptionOptionInfo.description.original` | `checkout.lineItems.${number}.paymentOption` | `checkout.lineItems.${number}.priceDescription.original` | `checkout.lineItems.${number}.customLineItem` | `checkout.lineItems.${number}.catalogOverrideFields.paymentOption.value` | `checkout.lineItems.${number}.priceUndetermined` | `checkout.lineItems.${number}.fixedQuantity` | `checkout.lineItems.${number}.savePaymentMethod` | `checkout.lineItems.${number}.taxableAddress.addressType` | `checkout.lineItems.${number}.membersOnly` | `checkout.billingInfo.address.streetAddress.number` | `checkout.billingInfo.address.streetAddress.name` | `checkout.billingInfo.contactDetails.vatId._id` | `checkout.billingInfo.contactDetails.vatId.type` | `checkout.shippingInfo.selectedCarrierServiceOption.code` | `checkout.shippingInfo.selectedCarrierServiceOption.title` | `checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.businessLocation` | `checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.pickupMethod` | `checkout.shippingInfo.selectedCarrierServiceOption.requestedShippingOption` | `checkout.shippingInfo.selectedCarrierServiceOption.otherCharges` | `checkout.shippingInfo.selectedCarrierServiceOption.otherCharges.${number}.type` | `checkout.shippingInfo.selectedCarrierServiceOption.deliveryAllocations` | `checkout.shippingInfo.selectedCarrierServiceOption.deliveryAllocations.${number}.deliveryCarrier.code` | `checkout.shippingInfo.region._id` | `checkout.shippingInfo.region.name` | `checkout.shippingInfo.carrierServiceOptions` | `checkout.shippingInfo.carrierServiceOptions.${number}.carrierId` | `checkout.buyerInfo.visitorId` | `checkout.buyerInfo.memberId` | `checkout.conversionCurrency` | `checkout.calculationErrors.generalShippingCalculationError.applicationError.code` | `checkout.calculationErrors.generalShippingCalculationError.applicationError.description` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `checkout.calculationErrors.carrierErrors.errors` | `checkout.calculationErrors.carrierErrors.errors.${number}.carrierId` | `checkout.calculationErrors.orderValidationErrors` | `checkout.giftCard._id` | `checkout.giftCard.obfuscatedCode` | `checkout.giftCard.appId` | `checkout.appliedDiscounts` | `checkout.appliedDiscounts.${number}.coupon._id` | `checkout.appliedDiscounts.${number}.coupon.code` | `checkout.appliedDiscounts.${number}.coupon.name` | `checkout.appliedDiscounts.${number}.discountRule._id` | `checkout.appliedDiscounts.${number}.discountRule.name.original` | `checkout.appliedDiscounts.${number}.discountType` | `checkout.customFields` | `checkout.customFields.${number}.title` | `checkout.weightUnit` | `checkout.taxSummary.calculationDetails.manualRateReason` | `checkout.taxSummary.calculationDetails.autoTaxFallbackDetails.fallbackReason` | `checkout.taxSummary.calculationDetails.rateType` | `checkout.currency` | `checkout.channelType` | `checkout.siteLanguage` | `checkout.buyerLanguage` | `checkout.completed` | `checkout.taxIncludedInPrice` | `checkout.createdBy.userId` | `checkout.createdBy.memberId` | `checkout.createdBy.visitorId` | `checkout.createdBy.appId` | `checkout.membershipOptions.eligibleMemberships` | `checkout.membershipOptions.eligibleMemberships.${number}._id` | `checkout.membershipOptions.eligibleMemberships.${number}.appId` | `checkout.membershipOptions.eligibleMemberships.${number}.name.original` | `checkout.membershipOptions.eligibleMemberships.${number}.credits.total` | `checkout.membershipOptions.eligibleMemberships.${number}.credits.remaining` | `checkout.membershipOptions.invalidMemberships` | `checkout.membershipOptions.invalidMemberships.${number}.reason` | `checkout.membershipOptions.selectedMemberships.memberships` | `checkout.membershipOptions.selectedMemberships.memberships.${number}._id` | `checkout.membershipOptions.selectedMemberships.memberships.${number}.appId` | `checkout.additionalFees` | `checkout.additionalFees.${number}.name` | `checkout.additionalFees.${number}.source` | `checkout.violations` | `checkout.violations.${number}.severity` | `checkout.violations.${number}.target.other.name` | `checkout.violations.${number}.target.lineItem.name` | `checkout.customSettings.lockGiftCard` | `checkout.customSettings.lockCouponCode` | `checkout.customSettings.disabledPolicyAgreementCheckbox` | `checkout.customSettings.disabledManualPayment` | `checkout.customContentReference.appId` | `checkout.customContentReference.componentId` | `checkout.externalReference.appId` | `checkout.paymentCurrency`, 6>>;
|
|
4897
4933
|
|
|
4898
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCheckoutApplicationErrors, type AddToCheckoutOptions, type AddToCheckoutRequest, type AddToCheckoutResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCompletedEnvelope, type CheckoutCreatedEnvelope, type CheckoutDeletedEnvelope, type CheckoutMarkedAsCompleted, type CheckoutUpdatedEnvelope, type Color, type ConversionInfo, type Coupon, type CouponAdded, type CouponRemoved, type CreateCheckoutApplicationErrors, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CreateOrderAndChargeApplicationErrors, type CreateOrderAndChargeOptions, type CreateOrderAndChargeRequest, type CreateOrderAndChargeResponse, type CreateOrderAndChargeResponseIdOneOf, type CreateOrderApplicationErrors, type CreateOrderOptions, type CreateOrderRequest, type CreateOrderResponse, type CreateOrderResponseIdOneOf, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type DeleteCheckoutRequest, type DeleteCheckoutResponse, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DoublePaymentErrorData, type DoublePaymentErrorDataIdOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCheckoutByCartIdRequest, type GetCheckoutByCartIdResponse, type GetCheckoutRequest, type GetCheckoutResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetWixCheckoutURLRequest, type GetWixCheckoutURLResponse, type GiftCard, type GiftCardAdded, type GiftCardCalculationError, type GiftCardRemoved, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, type MarkCheckoutAsCompletedAndRedirectToUrlRequest, type MarkCheckoutAsCompletedOptions, type MarkCheckoutAsCompletedRequest, type MarkCheckoutAsCompletedResponse, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentErrorResponseData, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedeemErrorData, type Region, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RemoveOverrideCheckoutUrlRequest, type RemoveOverrideCheckoutUrlResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingCalculationErrorData, type ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCheckout, type UpdateCheckoutApplicationErrors, type UpdateCheckoutOptions, type UpdateCheckoutRequest, type UpdateCheckoutResponse, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type UpdatedCheckoutMessage, type V1ItemModifier, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutUrl, getWixCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|
|
4934
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCheckoutApplicationErrors, type AddToCheckoutOptions, type AddToCheckoutRequest, type AddToCheckoutResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCompletedEnvelope, type CheckoutCreatedEnvelope, type CheckoutDeletedEnvelope, type CheckoutMarkedAsCompleted, type CheckoutUpdatedEnvelope, type Color, type ConversionInfo, type Coupon, type CouponAdded, type CouponRemoved, type CreateCheckoutApplicationErrors, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CreateOrderAndChargeApplicationErrors, type CreateOrderAndChargeOptions, type CreateOrderAndChargeRequest, type CreateOrderAndChargeResponse, type CreateOrderAndChargeResponseIdOneOf, type CreateOrderApplicationErrors, type CreateOrderOptions, type CreateOrderRequest, type CreateOrderResponse, type CreateOrderResponseIdOneOf, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type CyclePriceOverride, type DeleteCheckoutRequest, type DeleteCheckoutResponse, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DoublePaymentErrorData, type DoublePaymentErrorDataIdOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCheckoutByCartIdRequest, type GetCheckoutByCartIdResponse, type GetCheckoutRequest, type GetCheckoutResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetWixCheckoutURLRequest, type GetWixCheckoutURLResponse, type GiftCard, type GiftCardAdded, type GiftCardCalculationError, type GiftCardRemoved, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, type MarkCheckoutAsCompletedAndRedirectToUrlRequest, type MarkCheckoutAsCompletedOptions, type MarkCheckoutAsCompletedRequest, type MarkCheckoutAsCompletedResponse, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentErrorResponseData, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedeemErrorData, type Region, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RemoveOverrideCheckoutUrlRequest, type RemoveOverrideCheckoutUrlResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingCalculationErrorData, type ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCheckout, type UpdateCheckoutApplicationErrors, type UpdateCheckoutOptions, type UpdateCheckoutRequest, type UpdateCheckoutResponse, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type UpdatedCheckoutMessage, type V1ItemModifier, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutUrl, getWixCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|
|
@@ -1063,7 +1063,7 @@ interface SubscriptionSettings {
|
|
|
1063
1063
|
* @min 1
|
|
1064
1064
|
*/
|
|
1065
1065
|
billingCycles?: number | null;
|
|
1066
|
-
/** Whether to allow the customer to cancel the subscription
|
|
1066
|
+
/** Whether to allow the customer to cancel the subscription. */
|
|
1067
1067
|
enableCustomerCancellation?: boolean;
|
|
1068
1068
|
/**
|
|
1069
1069
|
* Period until first cycle starts. If applied payNow will be 0
|
|
@@ -1085,6 +1085,15 @@ interface SubscriptionSettings {
|
|
|
1085
1085
|
* @internal
|
|
1086
1086
|
*/
|
|
1087
1087
|
productPeriodAlignment?: ProductPeriodAlignmentWithLiterals;
|
|
1088
|
+
/**
|
|
1089
|
+
* Unit prices for specified billing cycles of the subscription. Cycles that no entry covers
|
|
1090
|
+
* are charged the item's `price`.
|
|
1091
|
+
*
|
|
1092
|
+
* When `billingCycles` is set, every entry must end on or before the last billing cycle.
|
|
1093
|
+
* @internal
|
|
1094
|
+
* @maxSize 1
|
|
1095
|
+
*/
|
|
1096
|
+
cyclePriceOverrides?: CyclePriceOverride[];
|
|
1088
1097
|
}
|
|
1089
1098
|
/** Frequency unit of recurring payment */
|
|
1090
1099
|
declare enum SubscriptionFrequency {
|
|
@@ -1122,6 +1131,27 @@ declare enum ProductPeriodAlignment {
|
|
|
1122
1131
|
}
|
|
1123
1132
|
/** @enumType */
|
|
1124
1133
|
type ProductPeriodAlignmentWithLiterals = ProductPeriodAlignment | 'ALIGNED_WITH_BILLING_PERIOD' | 'NOT_ALIGNED_WITH_BILLING_PERIOD';
|
|
1134
|
+
interface CyclePriceOverride {
|
|
1135
|
+
/**
|
|
1136
|
+
* __Required.__ First billing cycle the price applies to. The first paid cycle of the
|
|
1137
|
+
* subscription is `1`. A free trial period, if any, is cycle `0`.
|
|
1138
|
+
* @min 1
|
|
1139
|
+
* @max 1
|
|
1140
|
+
*/
|
|
1141
|
+
cycleFrom?: number;
|
|
1142
|
+
/**
|
|
1143
|
+
* __Required.__ Number of consecutive billing cycles the price applies to, starting at `cycleFrom`.
|
|
1144
|
+
* @min 1
|
|
1145
|
+
* @max 1
|
|
1146
|
+
*/
|
|
1147
|
+
numberOfCycles?: number | null;
|
|
1148
|
+
/**
|
|
1149
|
+
* __Required.__ Unit price for the cycles this entry covers, in the item's currency.
|
|
1150
|
+
* Can be higher than, lower than, or equal to the item's `price`.
|
|
1151
|
+
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
1152
|
+
*/
|
|
1153
|
+
price?: string;
|
|
1154
|
+
}
|
|
1125
1155
|
interface Title {
|
|
1126
1156
|
/**
|
|
1127
1157
|
* Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
@@ -2530,27 +2560,29 @@ interface Membership {
|
|
|
2530
2560
|
}
|
|
2531
2561
|
interface MembershipName {
|
|
2532
2562
|
/**
|
|
2533
|
-
* Membership name.
|
|
2563
|
+
* Membership name in the site's original language.
|
|
2534
2564
|
* @maxLength 100
|
|
2535
2565
|
*/
|
|
2536
2566
|
original?: string;
|
|
2537
2567
|
/**
|
|
2538
|
-
*
|
|
2568
|
+
* Membership name translated into the buyer's language.
|
|
2569
|
+
*
|
|
2570
|
+
* Default: The value of `original`
|
|
2539
2571
|
* @maxLength 100
|
|
2540
2572
|
*/
|
|
2541
2573
|
translated?: string | null;
|
|
2542
2574
|
}
|
|
2543
2575
|
interface MembershipPaymentCredits {
|
|
2544
2576
|
/**
|
|
2545
|
-
* Membership's initial
|
|
2577
|
+
* Membership's initial balance.
|
|
2546
2578
|
* @min 1
|
|
2547
2579
|
*/
|
|
2548
2580
|
total?: number;
|
|
2549
|
-
/** Membership's remaining
|
|
2581
|
+
/** Membership's remaining balance. */
|
|
2550
2582
|
remaining?: number;
|
|
2551
2583
|
/**
|
|
2552
|
-
* Deprecated.
|
|
2553
|
-
*
|
|
2584
|
+
* Deprecated. Use `ExistingMembership.coveredLineItems`, which carries the redemption cost per line
|
|
2585
|
+
* item. A membership's balance no longer states a per-item cost of its own.
|
|
2554
2586
|
* @internal
|
|
2555
2587
|
* @deprecated
|
|
2556
2588
|
* @replacedBy ExistingMembership.covered_line_items.redemption_cost
|
|
@@ -2558,15 +2590,19 @@ interface MembershipPaymentCredits {
|
|
|
2558
2590
|
*/
|
|
2559
2591
|
redemptionCost?: number;
|
|
2560
2592
|
/**
|
|
2561
|
-
*
|
|
2593
|
+
* How the membership's balance is measured.
|
|
2594
|
+
*
|
|
2595
|
+
* The same vocabulary as `LimitedQuota.limitedQuotaType` on the purchasable-plan side. The two are
|
|
2596
|
+
* separate types only because this one serves the legacy flow and is left untouched until List
|
|
2597
|
+
* Eligible Memberships is removed.
|
|
2562
2598
|
* @internal
|
|
2563
2599
|
*/
|
|
2564
2600
|
balanceType?: BalanceTypeWithLiterals;
|
|
2565
2601
|
}
|
|
2566
2602
|
declare enum BalanceType {
|
|
2567
|
-
/** Balance is measured in discrete uses
|
|
2603
|
+
/** Balance is measured in discrete uses, such as sessions or visits. */
|
|
2568
2604
|
PUNCH_CARD = "PUNCH_CARD",
|
|
2569
|
-
/** Balance is measured in a currency-like value
|
|
2605
|
+
/** Balance is measured in a currency-like value, such as points. */
|
|
2570
2606
|
CREDIT = "CREDIT"
|
|
2571
2607
|
}
|
|
2572
2608
|
/** @enumType */
|
|
@@ -4169,4 +4205,4 @@ declare function updateLineItemsQuantity(): __PublicMethodMetaInfo<'POST', {
|
|
|
4169
4205
|
id: string;
|
|
4170
4206
|
}, UpdateLineItemsQuantityRequest$1, UpdateLineItemsQuantityRequest, UpdateLineItemsQuantityResponse$1, UpdateLineItemsQuantityResponse>;
|
|
4171
4207
|
|
|
4172
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddToCheckoutApplicationErrors as AddToCheckoutApplicationErrorsOriginal, type AddToCheckoutRequest as AddToCheckoutRequestOriginal, type AddToCheckoutResponse as AddToCheckoutResponseOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, BalanceType as BalanceTypeOriginal, type BalanceTypeWithLiterals as BalanceTypeWithLiteralsOriginal, type BillingSettings as BillingSettingsOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type Charge as ChargeOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type CheckoutMarkedAsCompleted as CheckoutMarkedAsCompletedOriginal, type Checkout as CheckoutOriginal, type Color as ColorOriginal, type CommonImage as CommonImageOriginal, type ConversionInfo as ConversionInfoOriginal, type CouponAdded as CouponAddedOriginal, type Coupon as CouponOriginal, type CouponRemoved as CouponRemovedOriginal, type CreateCheckoutApplicationErrors as CreateCheckoutApplicationErrorsOriginal, type CreateCheckoutRequest as CreateCheckoutRequestOriginal, type CreateCheckoutResponse as CreateCheckoutResponseOriginal, type CreateOrderAndChargeApplicationErrors as CreateOrderAndChargeApplicationErrorsOriginal, type CreateOrderAndChargeRequest as CreateOrderAndChargeRequestOriginal, type CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOfOriginal, type CreateOrderAndChargeResponse as CreateOrderAndChargeResponseOriginal, type CreateOrderApplicationErrors as CreateOrderApplicationErrorsOriginal, type CreateOrderRequest as CreateOrderRequestOriginal, type CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOfOriginal, type CreateOrderResponse as CreateOrderResponseOriginal, type CreatedByIdOneOf as CreatedByIdOneOfOriginal, type CreatedBy as CreatedByOriginal, type CustomContentReference as CustomContentReferenceOriginal, type CustomField as CustomFieldOriginal, type CustomLineItem as CustomLineItemOriginal, type CustomSettings as CustomSettingsOriginal, type DeleteCheckoutRequest as DeleteCheckoutRequestOriginal, type DeleteCheckoutResponse as DeleteCheckoutResponseOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOfOriginal, type DoublePaymentErrorData as DoublePaymentErrorDataOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReference as ExternalReferenceOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequestOriginal, type GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponseOriginal, type GetCheckoutRequest as GetCheckoutRequestOriginal, type GetCheckoutResponse as GetCheckoutResponseOriginal, type GetCheckoutURLRequest as GetCheckoutURLRequestOriginal, type GetCheckoutURLResponse as GetCheckoutURLResponseOriginal, type GetWixCheckoutURLRequest as GetWixCheckoutURLRequestOriginal, type GetWixCheckoutURLResponse as GetWixCheckoutURLResponseOriginal, type GiftCardAdded as GiftCardAddedOriginal, type GiftCardCalculationError as GiftCardCalculationErrorOriginal, type GiftCard as GiftCardOriginal, type GiftCardRemoved as GiftCardRemovedOriginal, type Group as GroupOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidMembership as InvalidMembershipOriginal, type ItemAvailabilityInfo as ItemAvailabilityInfoOriginal, ItemAvailabilityStatus as ItemAvailabilityStatusOriginal, type ItemAvailabilityStatusWithLiterals as ItemAvailabilityStatusWithLiteralsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemAdded as LineItemAddedOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItem as LineItemOriginal, type LineItemQuantityUpdate as LineItemQuantityUpdateOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors as MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrorsOriginal, type MarkCheckoutAsCompletedAndRedirectToUrlRequest as MarkCheckoutAsCompletedAndRedirectToUrlRequestOriginal, type MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequestOriginal, type MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponseOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentErrorResponseData as PaymentErrorResponseDataOriginal, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, PlatformFeeChargeType as PlatformFeeChargeTypeOriginal, type PlatformFeeChargeTypeWithLiterals as PlatformFeeChargeTypeWithLiteralsOriginal, type PlatformFee as PlatformFeeOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type RawHttpResponse as RawHttpResponseOriginal, type RedeemErrorData as RedeemErrorDataOriginal, type Region as RegionOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveGiftCardRequest as RemoveGiftCardRequestOriginal, type RemoveGiftCardResponse as RemoveGiftCardResponseOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, type RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequestOriginal, type RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponseOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMemberships as SelectedMembershipsOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingCalculationErrorData as ShippingCalculationErrorDataOriginal, type ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOfOriginal, type ShippingInfo as ShippingInfoOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCharges as SubscriptionChargesOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type TargetLineItem as TargetLineItemOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCheckoutApplicationErrors as UpdateCheckoutApplicationErrorsOriginal, type UpdateCheckoutRequest as UpdateCheckoutRequestOriginal, type UpdateCheckoutResponse as UpdateCheckoutResponseOriginal, type UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequestOriginal, type UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponseOriginal, type UpdatedCheckoutMessage as UpdatedCheckoutMessageOriginal, type V1ItemModifier as V1ItemModifierOriginal, type V1ModifierGroup as V1ModifierGroupOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, type ViolationsList as ViolationsListOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutUrl, getWixCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|
|
4208
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddToCheckoutApplicationErrors as AddToCheckoutApplicationErrorsOriginal, type AddToCheckoutRequest as AddToCheckoutRequestOriginal, type AddToCheckoutResponse as AddToCheckoutResponseOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, type AggregatedTaxBreakdown as AggregatedTaxBreakdownOriginal, type ApplicableLineItems as ApplicableLineItemsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type AutoTaxFallbackCalculationDetails as AutoTaxFallbackCalculationDetailsOriginal, BalanceType as BalanceTypeOriginal, type BalanceTypeWithLiterals as BalanceTypeWithLiteralsOriginal, type BillingSettings as BillingSettingsOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type Carrier as CarrierOriginal, type CarrierServiceOption as CarrierServiceOptionOriginal, type CatalogOverrideFields as CatalogOverrideFieldsOriginal, type CatalogReference as CatalogReferenceOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, type Charge as ChargeOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type CheckoutMarkedAsCompleted as CheckoutMarkedAsCompletedOriginal, type Checkout as CheckoutOriginal, type Color as ColorOriginal, type CommonImage as CommonImageOriginal, type ConversionInfo as ConversionInfoOriginal, type CouponAdded as CouponAddedOriginal, type Coupon as CouponOriginal, type CouponRemoved as CouponRemovedOriginal, type CreateCheckoutApplicationErrors as CreateCheckoutApplicationErrorsOriginal, type CreateCheckoutRequest as CreateCheckoutRequestOriginal, type CreateCheckoutResponse as CreateCheckoutResponseOriginal, type CreateOrderAndChargeApplicationErrors as CreateOrderAndChargeApplicationErrorsOriginal, type CreateOrderAndChargeRequest as CreateOrderAndChargeRequestOriginal, type CreateOrderAndChargeResponseIdOneOf as CreateOrderAndChargeResponseIdOneOfOriginal, type CreateOrderAndChargeResponse as CreateOrderAndChargeResponseOriginal, type CreateOrderApplicationErrors as CreateOrderApplicationErrorsOriginal, type CreateOrderRequest as CreateOrderRequestOriginal, type CreateOrderResponseIdOneOf as CreateOrderResponseIdOneOfOriginal, type CreateOrderResponse as CreateOrderResponseOriginal, type CreatedByIdOneOf as CreatedByIdOneOfOriginal, type CreatedBy as CreatedByOriginal, type CustomContentReference as CustomContentReferenceOriginal, type CustomField as CustomFieldOriginal, type CustomLineItem as CustomLineItemOriginal, type CustomSettings as CustomSettingsOriginal, type CyclePriceOverride as CyclePriceOverrideOriginal, type DeleteCheckoutRequest as DeleteCheckoutRequestOriginal, type DeleteCheckoutResponse as DeleteCheckoutResponseOriginal, type DeliveryAllocation as DeliveryAllocationOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type Description as DescriptionOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DoublePaymentErrorDataIdOneOf as DoublePaymentErrorDataIdOneOfOriginal, type DoublePaymentErrorData as DoublePaymentErrorDataOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReference as ExternalReferenceOriginal, FallbackReason as FallbackReasonOriginal, type FallbackReasonWithLiterals as FallbackReasonWithLiteralsOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetCheckoutByCartIdRequest as GetCheckoutByCartIdRequestOriginal, type GetCheckoutByCartIdResponse as GetCheckoutByCartIdResponseOriginal, type GetCheckoutRequest as GetCheckoutRequestOriginal, type GetCheckoutResponse as GetCheckoutResponseOriginal, type GetCheckoutURLRequest as GetCheckoutURLRequestOriginal, type GetCheckoutURLResponse as GetCheckoutURLResponseOriginal, type GetWixCheckoutURLRequest as GetWixCheckoutURLRequestOriginal, type GetWixCheckoutURLResponse as GetWixCheckoutURLResponseOriginal, type GiftCardAdded as GiftCardAddedOriginal, type GiftCardCalculationError as GiftCardCalculationErrorOriginal, type GiftCard as GiftCardOriginal, type GiftCardRemoved as GiftCardRemovedOriginal, type Group as GroupOriginal, type HeadersEntry as HeadersEntryOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InvalidMembership as InvalidMembershipOriginal, type ItemAvailabilityInfo as ItemAvailabilityInfoOriginal, ItemAvailabilityStatus as ItemAvailabilityStatusOriginal, type ItemAvailabilityStatusWithLiterals as ItemAvailabilityStatusWithLiteralsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemAdded as LineItemAddedOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItem as LineItemOriginal, type LineItemQuantityUpdate as LineItemQuantityUpdateOriginal, ManualCalculationReason as ManualCalculationReasonOriginal, type ManualCalculationReasonWithLiterals as ManualCalculationReasonWithLiteralsOriginal, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors as MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrorsOriginal, type MarkCheckoutAsCompletedAndRedirectToUrlRequest as MarkCheckoutAsCompletedAndRedirectToUrlRequestOriginal, type MarkCheckoutAsCompletedRequest as MarkCheckoutAsCompletedRequestOriginal, type MarkCheckoutAsCompletedResponse as MarkCheckoutAsCompletedResponseOriginal, type MembershipName as MembershipNameOriginal, type MembershipOptions as MembershipOptionsOriginal, type Membership as MembershipOriginal, type MembershipPaymentCredits as MembershipPaymentCreditsOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type MultiCurrencyPrice as MultiCurrencyPriceOriginal, NameInLineItem as NameInLineItemOriginal, type NameInLineItemWithLiterals as NameInLineItemWithLiteralsOriginal, NameInOther as NameInOtherOriginal, type NameInOtherWithLiterals as NameInOtherWithLiteralsOriginal, type OtherCharge as OtherChargeOriginal, type Other as OtherOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentErrorResponseData as PaymentErrorResponseDataOriginal, type PaymentOption as PaymentOptionOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, PlatformFeeChargeType as PlatformFeeChargeTypeOriginal, type PlatformFeeChargeTypeWithLiterals as PlatformFeeChargeTypeWithLiteralsOriginal, type PlatformFee as PlatformFeeOriginal, type Policy as PolicyOriginal, type PriceDescription as PriceDescriptionOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, RateType as RateTypeOriginal, type RateTypeWithLiterals as RateTypeWithLiteralsOriginal, type RawHttpResponse as RawHttpResponseOriginal, type RedeemErrorData as RedeemErrorDataOriginal, type Region as RegionOriginal, type RemoveCouponRequest as RemoveCouponRequestOriginal, type RemoveCouponResponse as RemoveCouponResponseOriginal, type RemoveGiftCardRequest as RemoveGiftCardRequestOriginal, type RemoveGiftCardResponse as RemoveGiftCardResponseOriginal, type RemoveLineItemsRequest as RemoveLineItemsRequestOriginal, type RemoveLineItemsResponse as RemoveLineItemsResponseOriginal, type RemoveOverrideCheckoutUrlRequest as RemoveOverrideCheckoutUrlRequestOriginal, type RemoveOverrideCheckoutUrlResponse as RemoveOverrideCheckoutUrlResponseOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type Scope as ScopeOriginal, type SecuredMedia as SecuredMediaOriginal, type SelectedCarrierServiceOption as SelectedCarrierServiceOptionOriginal, type SelectedCarrierServiceOptionOtherCharge as SelectedCarrierServiceOptionOtherChargeOriginal, type SelectedCarrierServiceOptionPrices as SelectedCarrierServiceOptionPricesOriginal, type SelectedMembership as SelectedMembershipOriginal, type SelectedMemberships as SelectedMembershipsOriginal, type ServiceProperties as ServicePropertiesOriginal, Severity as SeverityOriginal, type SeverityWithLiterals as SeverityWithLiteralsOriginal, type ShippingCalculationErrorData as ShippingCalculationErrorDataOriginal, type ShippingCalculationErrorDataShippingCalculationErrorOneOf as ShippingCalculationErrorDataShippingCalculationErrorOneOfOriginal, type ShippingInfo as ShippingInfoOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCharges as SubscriptionChargesOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionOptionInfo as SubscriptionOptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SuggestedFix as SuggestedFixOriginal, type SuggestedFixWithLiterals as SuggestedFixWithLiteralsOriginal, type SystemError as SystemErrorOriginal, type TargetLineItem as TargetLineItemOriginal, type Target as TargetOriginal, type TargetTargetTypeOneOf as TargetTargetTypeOneOfOriginal, type TaxBreakdown as TaxBreakdownOriginal, type TaxCalculationDetailsCalculationDetailsOneOf as TaxCalculationDetailsCalculationDetailsOneOfOriginal, type TaxCalculationDetails as TaxCalculationDetailsOriginal, type TaxRateBreakdown as TaxRateBreakdownOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type Title as TitleOriginal, type TranslatableString as TranslatableStringOriginal, type UpdateCheckoutApplicationErrors as UpdateCheckoutApplicationErrorsOriginal, type UpdateCheckoutRequest as UpdateCheckoutRequestOriginal, type UpdateCheckoutResponse as UpdateCheckoutResponseOriginal, type UpdateLineItemsQuantityRequest as UpdateLineItemsQuantityRequestOriginal, type UpdateLineItemsQuantityResponse as UpdateLineItemsQuantityResponseOriginal, type UpdatedCheckoutMessage as UpdatedCheckoutMessageOriginal, type V1ItemModifier as V1ItemModifierOriginal, type V1ModifierGroup as V1ModifierGroupOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, type Violation as ViolationOriginal, type ViolationsList as ViolationsListOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutUrl, getWixCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { CreateCheckoutOptions, Checkout, CreateCheckoutApplicationErrors, GetCheckoutByCartIdResponse, GetWixCheckoutURLResponse, GetCheckoutURLResponse, UpdateCheckout, UpdateCheckoutOptions, UpdateCheckoutApplicationErrors, RemoveCouponResponse, RemoveGiftCardResponse, RemoveOverrideCheckoutUrlResponse, AddToCheckoutOptions, AddToCheckoutResponse, AddToCheckoutApplicationErrors, RemoveLineItemsResponse, CreateOrderOptions, CreateOrderResponse, CreateOrderApplicationErrors, CreateOrderAndChargeOptions, CreateOrderAndChargeResponse, CreateOrderAndChargeApplicationErrors, RawHttpResponse, MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, MarkCheckoutAsCompletedOptions, LineItemQuantityUpdate, UpdateLineItemsQuantityResponse, CheckoutCompletedEnvelope, CheckoutCreatedEnvelope, CheckoutDeletedEnvelope, CheckoutUpdatedEnvelope } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddToCheckoutRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, BillingSettings, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, CheckoutMarkedAsCompleted, Color, ConversionInfo, Coupon, CouponAdded, CouponRemoved, CreateCheckoutRequest, CreateCheckoutResponse, CreateOrderAndChargeRequest, CreateOrderAndChargeResponseIdOneOf, CreateOrderRequest, CreateOrderResponseIdOneOf, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomLineItem, CustomSettings, DeleteCheckoutRequest, DeleteCheckoutResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DoublePaymentErrorData, DoublePaymentErrorDataIdOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutByCartIdRequest, GetCheckoutRequest, GetCheckoutResponse, GetCheckoutURLRequest, GetWixCheckoutURLRequest, GiftCard, GiftCardAdded, GiftCardCalculationError, GiftCardRemoved, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemAvailabilityStatusWithLiterals, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItem, LineItemAdded, LineItemDiscount, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCheckoutAsCompletedAndRedirectToUrlRequest, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedResponse, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentErrorResponseData, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, Policy, PriceDescription, PriceSummary, ProductName, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, RateType, RateTypeWithLiterals, RedeemErrorData, Region, RemoveCouponRequest, RemoveGiftCardRequest, RemoveLineItemsRequest, RemoveOverrideCheckoutUrlRequest, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, SeverityWithLiterals, ShippingCalculationErrorData, ShippingCalculationErrorDataShippingCalculationErrorOneOf, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UpdateCheckoutRequest, UpdateCheckoutResponse, UpdateLineItemsQuantityRequest, UpdatedCheckoutMessage, V1ItemModifier, V1ModifierGroup, ValidationError, VatId, VatType, VatTypeWithLiterals, Violation, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddToCheckoutRequest, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, Address, AddressLocation, AddressWithContact, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, BillingSettings, BuyerInfo, BuyerInfoIdOneOf, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, CheckoutMarkedAsCompleted, Color, ConversionInfo, Coupon, CouponAdded, CouponRemoved, CreateCheckoutRequest, CreateCheckoutResponse, CreateOrderAndChargeRequest, CreateOrderAndChargeResponseIdOneOf, CreateOrderRequest, CreateOrderResponseIdOneOf, CreatedBy, CreatedByIdOneOf, CustomContentReference, CustomField, CustomLineItem, CustomSettings, CyclePriceOverride, DeleteCheckoutRequest, DeleteCheckoutResponse, DeliveryAllocation, DeliveryLogistics, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, DiscountRule, DiscountRuleName, DiscountType, DiscountTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DoublePaymentErrorData, DoublePaymentErrorDataIdOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FocalPoint, FreeTrialPeriod, FullAddressContactDetails, GetCheckoutByCartIdRequest, GetCheckoutRequest, GetCheckoutResponse, GetCheckoutURLRequest, GetWixCheckoutURLRequest, GiftCard, GiftCardAdded, GiftCardCalculationError, GiftCardRemoved, Group, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InvalidMembership, ItemAvailabilityInfo, ItemAvailabilityStatus, ItemAvailabilityStatusWithLiterals, ItemCombination, ItemCombinationLineItem, ItemModifier, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, JurisdictionType, JurisdictionTypeWithLiterals, LineItem, LineItemAdded, LineItemDiscount, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCheckoutAsCompletedAndRedirectToUrlRequest, MarkCheckoutAsCompletedRequest, MarkCheckoutAsCompletedResponse, Membership, MembershipName, MembershipOptions, MembershipPaymentCredits, MerchantDiscount, MessageEnvelope, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentErrorResponseData, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PhysicalProperties, PickupDetails, PickupMethod, PickupMethodWithLiterals, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, Policy, PriceDescription, PriceSummary, ProductName, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, RateType, RateTypeWithLiterals, RedeemErrorData, Region, RemoveCouponRequest, RemoveGiftCardRequest, RemoveLineItemsRequest, RemoveOverrideCheckoutUrlRequest, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMemberships, ServiceProperties, Severity, SeverityWithLiterals, ShippingCalculationErrorData, ShippingCalculationErrorDataShippingCalculationErrorOneOf, ShippingInfo, ShippingOption, ShippingPrice, ShippingRegion, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetLineItem, TargetTargetTypeOneOf, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UpdateCheckoutRequest, UpdateCheckoutResponse, UpdateLineItemsQuantityRequest, UpdatedCheckoutMessage, V1ItemModifier, V1ModifierGroup, ValidationError, VatId, VatType, VatTypeWithLiterals, Violation, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createCheckout$1(httpClient: HttpClient): CreateCheckoutSignature;
|
|
6
6
|
interface CreateCheckoutSignature {
|
|
@@ -1015,7 +1015,7 @@ interface SubscriptionSettings {
|
|
|
1015
1015
|
* @min 1
|
|
1016
1016
|
*/
|
|
1017
1017
|
billingCycles?: number | null;
|
|
1018
|
-
/** Whether to allow the customer to cancel the subscription
|
|
1018
|
+
/** Whether to allow the customer to cancel the subscription. */
|
|
1019
1019
|
enableCustomerCancellation?: boolean;
|
|
1020
1020
|
/**
|
|
1021
1021
|
* Period until first cycle starts. If applied payNow will be 0
|
|
@@ -1037,6 +1037,15 @@ interface SubscriptionSettings {
|
|
|
1037
1037
|
* @internal
|
|
1038
1038
|
*/
|
|
1039
1039
|
productPeriodAlignment?: ProductPeriodAlignmentWithLiterals;
|
|
1040
|
+
/**
|
|
1041
|
+
* Unit prices for specified billing cycles of the subscription. Cycles that no entry covers
|
|
1042
|
+
* are charged the item's `price`.
|
|
1043
|
+
*
|
|
1044
|
+
* When `billingCycles` is set, every entry must end on or before the last billing cycle.
|
|
1045
|
+
* @internal
|
|
1046
|
+
* @maxSize 1
|
|
1047
|
+
*/
|
|
1048
|
+
cyclePriceOverrides?: CyclePriceOverride[];
|
|
1040
1049
|
}
|
|
1041
1050
|
/** Frequency unit of recurring payment */
|
|
1042
1051
|
declare enum SubscriptionFrequency {
|
|
@@ -1074,6 +1083,27 @@ declare enum ProductPeriodAlignment {
|
|
|
1074
1083
|
}
|
|
1075
1084
|
/** @enumType */
|
|
1076
1085
|
type ProductPeriodAlignmentWithLiterals = ProductPeriodAlignment | 'ALIGNED_WITH_BILLING_PERIOD' | 'NOT_ALIGNED_WITH_BILLING_PERIOD';
|
|
1086
|
+
interface CyclePriceOverride {
|
|
1087
|
+
/**
|
|
1088
|
+
* __Required.__ First billing cycle the price applies to. The first paid cycle of the
|
|
1089
|
+
* subscription is `1`. A free trial period, if any, is cycle `0`.
|
|
1090
|
+
* @min 1
|
|
1091
|
+
* @max 1
|
|
1092
|
+
*/
|
|
1093
|
+
cycleFrom?: number;
|
|
1094
|
+
/**
|
|
1095
|
+
* __Required.__ Number of consecutive billing cycles the price applies to, starting at `cycleFrom`.
|
|
1096
|
+
* @min 1
|
|
1097
|
+
* @max 1
|
|
1098
|
+
*/
|
|
1099
|
+
numberOfCycles?: number | null;
|
|
1100
|
+
/**
|
|
1101
|
+
* __Required.__ Unit price for the cycles this entry covers, in the item's currency.
|
|
1102
|
+
* Can be higher than, lower than, or equal to the item's `price`.
|
|
1103
|
+
* @decimalValue options { gte:0, lte:1000000000000000, maxScale:4 }
|
|
1104
|
+
*/
|
|
1105
|
+
price?: string;
|
|
1106
|
+
}
|
|
1077
1107
|
interface Title {
|
|
1078
1108
|
/**
|
|
1079
1109
|
* Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
|
|
@@ -2470,27 +2500,29 @@ interface Membership {
|
|
|
2470
2500
|
}
|
|
2471
2501
|
interface MembershipName {
|
|
2472
2502
|
/**
|
|
2473
|
-
* Membership name.
|
|
2503
|
+
* Membership name in the site's original language.
|
|
2474
2504
|
* @maxLength 100
|
|
2475
2505
|
*/
|
|
2476
2506
|
original?: string;
|
|
2477
2507
|
/**
|
|
2478
|
-
*
|
|
2508
|
+
* Membership name translated into the buyer's language.
|
|
2509
|
+
*
|
|
2510
|
+
* Default: The value of `original`
|
|
2479
2511
|
* @maxLength 100
|
|
2480
2512
|
*/
|
|
2481
2513
|
translated?: string | null;
|
|
2482
2514
|
}
|
|
2483
2515
|
interface MembershipPaymentCredits {
|
|
2484
2516
|
/**
|
|
2485
|
-
* Membership's initial
|
|
2517
|
+
* Membership's initial balance.
|
|
2486
2518
|
* @min 1
|
|
2487
2519
|
*/
|
|
2488
2520
|
total?: number;
|
|
2489
|
-
/** Membership's remaining
|
|
2521
|
+
/** Membership's remaining balance. */
|
|
2490
2522
|
remaining?: number;
|
|
2491
2523
|
/**
|
|
2492
|
-
* Deprecated.
|
|
2493
|
-
*
|
|
2524
|
+
* Deprecated. Use `ExistingMembership.coveredLineItems`, which carries the redemption cost per line
|
|
2525
|
+
* item. A membership's balance no longer states a per-item cost of its own.
|
|
2494
2526
|
* @internal
|
|
2495
2527
|
* @deprecated
|
|
2496
2528
|
* @replacedBy ExistingMembership.covered_line_items.redemption_cost
|
|
@@ -2498,15 +2530,19 @@ interface MembershipPaymentCredits {
|
|
|
2498
2530
|
*/
|
|
2499
2531
|
redemptionCost?: number;
|
|
2500
2532
|
/**
|
|
2501
|
-
*
|
|
2533
|
+
* How the membership's balance is measured.
|
|
2534
|
+
*
|
|
2535
|
+
* The same vocabulary as `LimitedQuota.limitedQuotaType` on the purchasable-plan side. The two are
|
|
2536
|
+
* separate types only because this one serves the legacy flow and is left untouched until List
|
|
2537
|
+
* Eligible Memberships is removed.
|
|
2502
2538
|
* @internal
|
|
2503
2539
|
*/
|
|
2504
2540
|
balanceType?: BalanceTypeWithLiterals;
|
|
2505
2541
|
}
|
|
2506
2542
|
declare enum BalanceType {
|
|
2507
|
-
/** Balance is measured in discrete uses
|
|
2543
|
+
/** Balance is measured in discrete uses, such as sessions or visits. */
|
|
2508
2544
|
PUNCH_CARD = "PUNCH_CARD",
|
|
2509
|
-
/** Balance is measured in a currency-like value
|
|
2545
|
+
/** Balance is measured in a currency-like value, such as points. */
|
|
2510
2546
|
CREDIT = "CREDIT"
|
|
2511
2547
|
}
|
|
2512
2548
|
/** @enumType */
|
|
@@ -4895,4 +4931,4 @@ interface MarkCheckoutAsCompletedOptions {
|
|
|
4895
4931
|
*/
|
|
4896
4932
|
declare function updateLineItemsQuantity(_id: string, lineItems: NonNullablePaths<LineItemQuantityUpdate, `_id` | `quantity`, 0>[]): Promise<NonNullablePaths<UpdateLineItemsQuantityResponse, `checkout.lineItems` | `checkout.lineItems.${number}.quantity` | `checkout.lineItems.${number}.catalogReference.catalogItemId` | `checkout.lineItems.${number}.catalogReference.appId` | `checkout.lineItems.${number}.productName.original` | `checkout.lineItems.${number}.price.amount` | `checkout.lineItems.${number}.price.convertedAmount` | `checkout.lineItems.${number}.price.formattedAmount` | `checkout.lineItems.${number}.price.formattedConvertedAmount` | `checkout.lineItems.${number}.taxDetails.taxRate` | `checkout.lineItems.${number}.availability.status` | `checkout.lineItems.${number}.physicalProperties.shippable` | `checkout.lineItems.${number}.itemType.preset` | `checkout.lineItems.${number}.itemType.custom` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `checkout.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `checkout.lineItems.${number}.subscriptionOptionInfo.title.original` | `checkout.lineItems.${number}.subscriptionOptionInfo.description.original` | `checkout.lineItems.${number}.paymentOption` | `checkout.lineItems.${number}.priceDescription.original` | `checkout.lineItems.${number}.customLineItem` | `checkout.lineItems.${number}.catalogOverrideFields.paymentOption.value` | `checkout.lineItems.${number}.priceUndetermined` | `checkout.lineItems.${number}.fixedQuantity` | `checkout.lineItems.${number}.savePaymentMethod` | `checkout.lineItems.${number}.taxableAddress.addressType` | `checkout.lineItems.${number}.membersOnly` | `checkout.billingInfo.address.streetAddress.number` | `checkout.billingInfo.address.streetAddress.name` | `checkout.billingInfo.contactDetails.vatId._id` | `checkout.billingInfo.contactDetails.vatId.type` | `checkout.shippingInfo.selectedCarrierServiceOption.code` | `checkout.shippingInfo.selectedCarrierServiceOption.title` | `checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.businessLocation` | `checkout.shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.pickupMethod` | `checkout.shippingInfo.selectedCarrierServiceOption.requestedShippingOption` | `checkout.shippingInfo.selectedCarrierServiceOption.otherCharges` | `checkout.shippingInfo.selectedCarrierServiceOption.otherCharges.${number}.type` | `checkout.shippingInfo.selectedCarrierServiceOption.deliveryAllocations` | `checkout.shippingInfo.selectedCarrierServiceOption.deliveryAllocations.${number}.deliveryCarrier.code` | `checkout.shippingInfo.region._id` | `checkout.shippingInfo.region.name` | `checkout.shippingInfo.carrierServiceOptions` | `checkout.shippingInfo.carrierServiceOptions.${number}.carrierId` | `checkout.buyerInfo.visitorId` | `checkout.buyerInfo.memberId` | `checkout.conversionCurrency` | `checkout.calculationErrors.generalShippingCalculationError.applicationError.code` | `checkout.calculationErrors.generalShippingCalculationError.applicationError.description` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `checkout.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `checkout.calculationErrors.carrierErrors.errors` | `checkout.calculationErrors.carrierErrors.errors.${number}.carrierId` | `checkout.calculationErrors.orderValidationErrors` | `checkout.giftCard._id` | `checkout.giftCard.obfuscatedCode` | `checkout.giftCard.appId` | `checkout.appliedDiscounts` | `checkout.appliedDiscounts.${number}.coupon._id` | `checkout.appliedDiscounts.${number}.coupon.code` | `checkout.appliedDiscounts.${number}.coupon.name` | `checkout.appliedDiscounts.${number}.discountRule._id` | `checkout.appliedDiscounts.${number}.discountRule.name.original` | `checkout.appliedDiscounts.${number}.discountType` | `checkout.customFields` | `checkout.customFields.${number}.title` | `checkout.weightUnit` | `checkout.taxSummary.calculationDetails.manualRateReason` | `checkout.taxSummary.calculationDetails.autoTaxFallbackDetails.fallbackReason` | `checkout.taxSummary.calculationDetails.rateType` | `checkout.currency` | `checkout.channelType` | `checkout.siteLanguage` | `checkout.buyerLanguage` | `checkout.completed` | `checkout.taxIncludedInPrice` | `checkout.createdBy.userId` | `checkout.createdBy.memberId` | `checkout.createdBy.visitorId` | `checkout.createdBy.appId` | `checkout.membershipOptions.eligibleMemberships` | `checkout.membershipOptions.eligibleMemberships.${number}._id` | `checkout.membershipOptions.eligibleMemberships.${number}.appId` | `checkout.membershipOptions.eligibleMemberships.${number}.name.original` | `checkout.membershipOptions.eligibleMemberships.${number}.credits.total` | `checkout.membershipOptions.eligibleMemberships.${number}.credits.remaining` | `checkout.membershipOptions.invalidMemberships` | `checkout.membershipOptions.invalidMemberships.${number}.reason` | `checkout.membershipOptions.selectedMemberships.memberships` | `checkout.membershipOptions.selectedMemberships.memberships.${number}._id` | `checkout.membershipOptions.selectedMemberships.memberships.${number}.appId` | `checkout.additionalFees` | `checkout.additionalFees.${number}.name` | `checkout.additionalFees.${number}.source` | `checkout.violations` | `checkout.violations.${number}.severity` | `checkout.violations.${number}.target.other.name` | `checkout.violations.${number}.target.lineItem.name` | `checkout.customSettings.lockGiftCard` | `checkout.customSettings.lockCouponCode` | `checkout.customSettings.disabledPolicyAgreementCheckbox` | `checkout.customSettings.disabledManualPayment` | `checkout.customContentReference.appId` | `checkout.customContentReference.componentId` | `checkout.externalReference.appId` | `checkout.paymentCurrency`, 6>>;
|
|
4897
4933
|
|
|
4898
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCheckoutApplicationErrors, type AddToCheckoutOptions, type AddToCheckoutRequest, type AddToCheckoutResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCompletedEnvelope, type CheckoutCreatedEnvelope, type CheckoutDeletedEnvelope, type CheckoutMarkedAsCompleted, type CheckoutUpdatedEnvelope, type Color, type ConversionInfo, type Coupon, type CouponAdded, type CouponRemoved, type CreateCheckoutApplicationErrors, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CreateOrderAndChargeApplicationErrors, type CreateOrderAndChargeOptions, type CreateOrderAndChargeRequest, type CreateOrderAndChargeResponse, type CreateOrderAndChargeResponseIdOneOf, type CreateOrderApplicationErrors, type CreateOrderOptions, type CreateOrderRequest, type CreateOrderResponse, type CreateOrderResponseIdOneOf, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type DeleteCheckoutRequest, type DeleteCheckoutResponse, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DoublePaymentErrorData, type DoublePaymentErrorDataIdOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCheckoutByCartIdRequest, type GetCheckoutByCartIdResponse, type GetCheckoutRequest, type GetCheckoutResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetWixCheckoutURLRequest, type GetWixCheckoutURLResponse, type GiftCard, type GiftCardAdded, type GiftCardCalculationError, type GiftCardRemoved, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, type MarkCheckoutAsCompletedAndRedirectToUrlRequest, type MarkCheckoutAsCompletedOptions, type MarkCheckoutAsCompletedRequest, type MarkCheckoutAsCompletedResponse, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentErrorResponseData, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedeemErrorData, type Region, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RemoveOverrideCheckoutUrlRequest, type RemoveOverrideCheckoutUrlResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingCalculationErrorData, type ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCheckout, type UpdateCheckoutApplicationErrors, type UpdateCheckoutOptions, type UpdateCheckoutRequest, type UpdateCheckoutResponse, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type UpdatedCheckoutMessage, type V1ItemModifier, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutUrl, getWixCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|
|
4934
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type AddToCheckoutApplicationErrors, type AddToCheckoutOptions, type AddToCheckoutRequest, type AddToCheckoutResponse, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, type AutoTaxFallbackCalculationDetails, BalanceType, type BalanceTypeWithLiterals, type BaseEventMetadata, type BillingSettings, type BuyerInfo, type BuyerInfoIdOneOf, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, ChargeType, type ChargeTypeWithLiterals, type Checkout, type CheckoutCompletedEnvelope, type CheckoutCreatedEnvelope, type CheckoutDeletedEnvelope, type CheckoutMarkedAsCompleted, type CheckoutUpdatedEnvelope, type Color, type ConversionInfo, type Coupon, type CouponAdded, type CouponRemoved, type CreateCheckoutApplicationErrors, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CreateOrderAndChargeApplicationErrors, type CreateOrderAndChargeOptions, type CreateOrderAndChargeRequest, type CreateOrderAndChargeResponse, type CreateOrderAndChargeResponseIdOneOf, type CreateOrderApplicationErrors, type CreateOrderOptions, type CreateOrderRequest, type CreateOrderResponse, type CreateOrderResponseIdOneOf, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomLineItem, type CustomSettings, type CyclePriceOverride, type DeleteCheckoutRequest, type DeleteCheckoutResponse, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DoublePaymentErrorData, type DoublePaymentErrorDataIdOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReference, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCheckoutByCartIdRequest, type GetCheckoutByCartIdResponse, type GetCheckoutRequest, type GetCheckoutResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetWixCheckoutURLRequest, type GetWixCheckoutURLResponse, type GiftCard, type GiftCardAdded, type GiftCardCalculationError, type GiftCardRemoved, type Group, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemCombination, type ItemCombinationLineItem, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemAdded, type LineItemDiscount, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors, type MarkCheckoutAsCompletedAndRedirectToUrlRequest, type MarkCheckoutAsCompletedOptions, type MarkCheckoutAsCompletedRequest, type MarkCheckoutAsCompletedResponse, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentErrorResponseData, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, PlatformFeeChargeType, type PlatformFeeChargeTypeWithLiterals, type Policy, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, RateType, type RateTypeWithLiterals, type RawHttpResponse, type RedeemErrorData, type Region, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RemoveOverrideCheckoutUrlRequest, type RemoveOverrideCheckoutUrlResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingCalculationErrorData, type ShippingCalculationErrorDataShippingCalculationErrorOneOf, type ShippingInfo, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetLineItem, type TargetTargetTypeOneOf, type TaxBreakdown, type TaxCalculationDetails, type TaxCalculationDetailsCalculationDetailsOneOf, type TaxRateBreakdown, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCheckout, type UpdateCheckoutApplicationErrors, type UpdateCheckoutOptions, type UpdateCheckoutRequest, type UpdateCheckoutResponse, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type UpdatedCheckoutMessage, type V1ItemModifier, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, type ViolationsList, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCheckout, createCheckout, createOrder, createOrderAndCharge, getCheckout, getCheckoutByCartId, getCheckoutUrl, getWixCheckoutUrl, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|