@wix/auto_sdk_ecom_checkout 1.0.170 → 1.0.172
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 +14 -14
- package/build/cjs/index.js +67 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +14 -14
- package/build/cjs/index.typings.js +67 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +67 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +14 -14
- package/build/es/index.mjs +67 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +14 -14
- package/build/es/index.typings.mjs +67 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +67 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +15 -15
- package/build/internal/cjs/index.typings.d.ts +15 -15
- package/build/internal/es/index.d.mts +15 -15
- package/build/internal/es/index.typings.d.mts +15 -15
- package/package.json +2 -2
|
@@ -3659,7 +3659,7 @@ declare function onCheckoutUpdated(handler: (event: CheckoutUpdatedEnvelope) =>
|
|
|
3659
3659
|
* @replacedBy wix.ecom.cart.v2.CartService.CreateCart
|
|
3660
3660
|
* @targetRemovalDate 2027-02-01
|
|
3661
3661
|
*/
|
|
3662
|
-
declare function createCheckout(options?: NonNullablePaths<CreateCheckoutOptions, `channelType` | `checkoutInfo.customFields.${number}.value` | `checkoutInfo.membershipOptions.selectedMemberships.memberships.${number}._id` | `checkoutInfo.membershipOptions.selectedMemberships.memberships.${number}.appId` | `checkoutInfo.membershipOptions.selectedMemberships.memberships.${number}.lineItemIds` | `customLineItems.${number}.descriptionLines.${number}.name` | `customLineItems.${number}.itemType` | `customLineItems.${number}.modifierGroups.${number}.modifiers.${number}.label` | `customLineItems.${number}.price` | `customLineItems.${number}.productName` | `customLineItems.${number}.quantity` | `lineItems.${number}.catalogReference` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.quantity`,
|
|
3662
|
+
declare function createCheckout(options?: NonNullablePaths<CreateCheckoutOptions, `channelType` | `checkoutInfo.customFields.${number}.value` | `checkoutInfo.membershipOptions.selectedMemberships.memberships.${number}._id` | `checkoutInfo.membershipOptions.selectedMemberships.memberships.${number}.appId` | `checkoutInfo.membershipOptions.selectedMemberships.memberships.${number}.lineItemIds` | `customLineItems.${number}.descriptionLines.${number}.name` | `customLineItems.${number}.itemType` | `customLineItems.${number}.modifierGroups.${number}.modifiers.${number}.label` | `customLineItems.${number}.price` | `customLineItems.${number}.productName` | `customLineItems.${number}.quantity` | `lineItems.${number}.catalogReference` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.quantity`, 6>): Promise<NonNullablePaths<Checkout, `lineItems` | `lineItems.${number}.quantity` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.productName.original` | `lineItems.${number}.price.amount` | `lineItems.${number}.price.convertedAmount` | `lineItems.${number}.price.formattedAmount` | `lineItems.${number}.price.formattedConvertedAmount` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.availability.status` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.subscriptionOptionInfo.title.original` | `lineItems.${number}.subscriptionOptionInfo.description.original` | `lineItems.${number}.paymentOption` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.customLineItem` | `lineItems.${number}.catalogOverrideFields.paymentOption.value` | `lineItems.${number}.priceUndetermined` | `lineItems.${number}.fixedQuantity` | `lineItems.${number}.savePaymentMethod` | `lineItems.${number}.taxableAddress.addressType` | `lineItems.${number}.membersOnly` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.selectedCarrierServiceOption.code` | `shippingInfo.selectedCarrierServiceOption.title` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.businessLocation` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.pickupMethod` | `shippingInfo.selectedCarrierServiceOption.requestedShippingOption` | `shippingInfo.selectedCarrierServiceOption.otherCharges` | `shippingInfo.selectedCarrierServiceOption.otherCharges.${number}.type` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations.${number}.deliveryCarrier.code` | `shippingInfo.region._id` | `shippingInfo.region.name` | `shippingInfo.carrierServiceOptions` | `shippingInfo.carrierServiceOptions.${number}.carrierId` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `conversionCurrency` | `calculationErrors.generalShippingCalculationError.applicationError.code` | `calculationErrors.generalShippingCalculationError.applicationError.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculationErrors.carrierErrors.errors` | `calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculationErrors.orderValidationErrors` | `giftCard._id` | `giftCard.obfuscatedCode` | `giftCard.appId` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `customFields` | `customFields.${number}.title` | `weightUnit` | `taxSummary.calculationDetails.manualRateReason` | `taxSummary.calculationDetails.autoTaxFallbackDetails.fallbackReason` | `taxSummary.calculationDetails.rateType` | `currency` | `channelType` | `siteLanguage` | `buyerLanguage` | `completed` | `taxIncludedInPrice` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `membershipOptions.eligibleMemberships` | `membershipOptions.eligibleMemberships.${number}._id` | `membershipOptions.eligibleMemberships.${number}.appId` | `membershipOptions.eligibleMemberships.${number}.name.original` | `membershipOptions.eligibleMemberships.${number}.credits.total` | `membershipOptions.eligibleMemberships.${number}.credits.remaining` | `membershipOptions.invalidMemberships` | `membershipOptions.invalidMemberships.${number}.reason` | `membershipOptions.selectedMemberships.memberships` | `membershipOptions.selectedMemberships.memberships.${number}._id` | `membershipOptions.selectedMemberships.memberships.${number}.appId` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.source` | `violations` | `violations.${number}.severity` | `violations.${number}.target.other.name` | `violations.${number}.target.lineItem.name` | `customSettings.lockGiftCard` | `customSettings.lockCouponCode` | `customSettings.disabledPolicyAgreementCheckbox` | `customSettings.disabledManualPayment` | `customContentReference.appId` | `customContentReference.componentId` | `externalReference.appId` | `paymentCurrency`, 5> & {
|
|
3663
3663
|
__applicationErrorsType?: CreateCheckoutApplicationErrors;
|
|
3664
3664
|
}>;
|
|
3665
3665
|
interface CreateCheckoutOptions {
|
|
@@ -3718,7 +3718,7 @@ interface CreateCheckoutOptions {
|
|
|
3718
3718
|
* @replacedBy wix.ecom.cart.v2.CartService.GetCart
|
|
3719
3719
|
* @targetRemovalDate 2027-02-01
|
|
3720
3720
|
*/
|
|
3721
|
-
declare function getCheckout(_id: string): Promise<NonNullablePaths<Checkout, `lineItems` | `lineItems.${number}.quantity` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.productName.original` | `lineItems.${number}.price.amount` | `lineItems.${number}.price.convertedAmount` | `lineItems.${number}.price.formattedAmount` | `lineItems.${number}.price.formattedConvertedAmount` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.availability.status` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.subscriptionOptionInfo.title.original` | `lineItems.${number}.subscriptionOptionInfo.description.original` | `lineItems.${number}.paymentOption` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.customLineItem` | `lineItems.${number}.catalogOverrideFields.paymentOption.value` | `lineItems.${number}.priceUndetermined` | `lineItems.${number}.fixedQuantity` | `lineItems.${number}.savePaymentMethod` | `lineItems.${number}.taxableAddress.addressType` | `lineItems.${number}.membersOnly` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.selectedCarrierServiceOption.code` | `shippingInfo.selectedCarrierServiceOption.title` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.businessLocation` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.pickupMethod` | `shippingInfo.selectedCarrierServiceOption.requestedShippingOption` | `shippingInfo.selectedCarrierServiceOption.otherCharges` | `shippingInfo.selectedCarrierServiceOption.otherCharges.${number}.type` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations.${number}.deliveryCarrier.code` | `shippingInfo.region._id` | `shippingInfo.region.name` | `shippingInfo.carrierServiceOptions` | `shippingInfo.carrierServiceOptions.${number}.carrierId` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `conversionCurrency` | `calculationErrors.generalShippingCalculationError.applicationError.code` | `calculationErrors.generalShippingCalculationError.applicationError.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculationErrors.carrierErrors.errors` | `calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculationErrors.orderValidationErrors` | `giftCard._id` | `giftCard.obfuscatedCode` | `giftCard.appId` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `customFields` | `customFields.${number}.title` | `weightUnit` | `taxSummary.calculationDetails.manualRateReason` | `taxSummary.calculationDetails.autoTaxFallbackDetails.fallbackReason` | `taxSummary.calculationDetails.rateType` | `currency` | `channelType` | `siteLanguage` | `buyerLanguage` | `completed` | `taxIncludedInPrice` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `membershipOptions.eligibleMemberships` | `membershipOptions.eligibleMemberships.${number}._id` | `membershipOptions.eligibleMemberships.${number}.appId` | `membershipOptions.eligibleMemberships.${number}.name.original` | `membershipOptions.eligibleMemberships.${number}.credits.total` | `membershipOptions.eligibleMemberships.${number}.credits.remaining` | `membershipOptions.invalidMemberships` | `membershipOptions.invalidMemberships.${number}.reason` | `membershipOptions.selectedMemberships.memberships` | `membershipOptions.selectedMemberships.memberships.${number}._id` | `membershipOptions.selectedMemberships.memberships.${number}.appId` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.source` | `violations` | `violations.${number}.severity` | `violations.${number}.target.other.name` | `violations.${number}.target.lineItem.name` | `customSettings.lockGiftCard` | `customSettings.lockCouponCode` | `customSettings.disabledPolicyAgreementCheckbox` | `customSettings.disabledManualPayment` | `customContentReference.appId` | `customContentReference.componentId` | `externalReference.appId` | `paymentCurrency`,
|
|
3721
|
+
declare function getCheckout(_id: string): Promise<NonNullablePaths<Checkout, `lineItems` | `lineItems.${number}.quantity` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.productName.original` | `lineItems.${number}.price.amount` | `lineItems.${number}.price.convertedAmount` | `lineItems.${number}.price.formattedAmount` | `lineItems.${number}.price.formattedConvertedAmount` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.availability.status` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.subscriptionOptionInfo.title.original` | `lineItems.${number}.subscriptionOptionInfo.description.original` | `lineItems.${number}.paymentOption` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.customLineItem` | `lineItems.${number}.catalogOverrideFields.paymentOption.value` | `lineItems.${number}.priceUndetermined` | `lineItems.${number}.fixedQuantity` | `lineItems.${number}.savePaymentMethod` | `lineItems.${number}.taxableAddress.addressType` | `lineItems.${number}.membersOnly` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.selectedCarrierServiceOption.code` | `shippingInfo.selectedCarrierServiceOption.title` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.businessLocation` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.pickupMethod` | `shippingInfo.selectedCarrierServiceOption.requestedShippingOption` | `shippingInfo.selectedCarrierServiceOption.otherCharges` | `shippingInfo.selectedCarrierServiceOption.otherCharges.${number}.type` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations.${number}.deliveryCarrier.code` | `shippingInfo.region._id` | `shippingInfo.region.name` | `shippingInfo.carrierServiceOptions` | `shippingInfo.carrierServiceOptions.${number}.carrierId` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `conversionCurrency` | `calculationErrors.generalShippingCalculationError.applicationError.code` | `calculationErrors.generalShippingCalculationError.applicationError.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculationErrors.carrierErrors.errors` | `calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculationErrors.orderValidationErrors` | `giftCard._id` | `giftCard.obfuscatedCode` | `giftCard.appId` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `customFields` | `customFields.${number}.title` | `weightUnit` | `taxSummary.calculationDetails.manualRateReason` | `taxSummary.calculationDetails.autoTaxFallbackDetails.fallbackReason` | `taxSummary.calculationDetails.rateType` | `currency` | `channelType` | `siteLanguage` | `buyerLanguage` | `completed` | `taxIncludedInPrice` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `membershipOptions.eligibleMemberships` | `membershipOptions.eligibleMemberships.${number}._id` | `membershipOptions.eligibleMemberships.${number}.appId` | `membershipOptions.eligibleMemberships.${number}.name.original` | `membershipOptions.eligibleMemberships.${number}.credits.total` | `membershipOptions.eligibleMemberships.${number}.credits.remaining` | `membershipOptions.invalidMemberships` | `membershipOptions.invalidMemberships.${number}.reason` | `membershipOptions.selectedMemberships.memberships` | `membershipOptions.selectedMemberships.memberships.${number}._id` | `membershipOptions.selectedMemberships.memberships.${number}.appId` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.source` | `violations` | `violations.${number}.severity` | `violations.${number}.target.other.name` | `violations.${number}.target.lineItem.name` | `customSettings.lockGiftCard` | `customSettings.lockCouponCode` | `customSettings.disabledPolicyAgreementCheckbox` | `customSettings.disabledManualPayment` | `customContentReference.appId` | `customContentReference.componentId` | `externalReference.appId` | `paymentCurrency`, 5>>;
|
|
3722
3722
|
/**
|
|
3723
3723
|
* Retrieves the checkout associated with a specified cart.
|
|
3724
3724
|
* @param _id - Cart ID.
|
|
@@ -3731,7 +3731,7 @@ declare function getCheckout(_id: string): Promise<NonNullablePaths<Checkout, `l
|
|
|
3731
3731
|
* @replacedBy wix.ecom.cart.v2.CartService.GetCart
|
|
3732
3732
|
* @targetRemovalDate 2027-02-01
|
|
3733
3733
|
*/
|
|
3734
|
-
declare function getCheckoutByCartId(_id: string): Promise<NonNullablePaths<GetCheckoutByCartIdResponse, `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`,
|
|
3734
|
+
declare function getCheckoutByCartId(_id: string): Promise<NonNullablePaths<GetCheckoutByCartIdResponse, `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>>;
|
|
3735
3735
|
/**
|
|
3736
3736
|
* Retrieves the checkout page URL of a specified checkout.
|
|
3737
3737
|
*
|
|
@@ -3747,7 +3747,7 @@ declare function getCheckoutByCartId(_id: string): Promise<NonNullablePaths<GetC
|
|
|
3747
3747
|
* @replacedBy wix.ecom.cart.v2.CartService.GetCheckoutURL
|
|
3748
3748
|
* @targetRemovalDate 2027-02-01
|
|
3749
3749
|
*/
|
|
3750
|
-
declare function getCheckoutUrl(_id: string): Promise<NonNullablePaths<GetCheckoutURLResponse, `checkoutUrl`,
|
|
3750
|
+
declare function getCheckoutUrl(_id: string): Promise<NonNullablePaths<GetCheckoutURLResponse, `checkoutUrl`, 0>>;
|
|
3751
3751
|
/**
|
|
3752
3752
|
* Updates a checkout.
|
|
3753
3753
|
*
|
|
@@ -3785,7 +3785,7 @@ declare function getCheckoutUrl(_id: string): Promise<NonNullablePaths<GetChecko
|
|
|
3785
3785
|
* @replacedBy wix.ecom.cart.v2.CartService.UpdateCart
|
|
3786
3786
|
* @targetRemovalDate 2027-02-01
|
|
3787
3787
|
*/
|
|
3788
|
-
declare function updateCheckout(_id: string, checkout: NonNullablePaths<UpdateCheckout, `customFields.${number}.value` | `membershipOptions.selectedMemberships.memberships.${number}._id` | `membershipOptions.selectedMemberships.memberships.${number}.appId` | `membershipOptions.selectedMemberships.memberships.${number}.lineItemIds`,
|
|
3788
|
+
declare function updateCheckout(_id: string, checkout: NonNullablePaths<UpdateCheckout, `customFields.${number}.value` | `membershipOptions.selectedMemberships.memberships.${number}._id` | `membershipOptions.selectedMemberships.memberships.${number}.appId` | `membershipOptions.selectedMemberships.memberships.${number}.lineItemIds`, 4>, options?: NonNullablePaths<UpdateCheckoutOptions, `customLineItems.${number}.descriptionLines.${number}.name` | `customLineItems.${number}.itemType` | `customLineItems.${number}.modifierGroups.${number}.modifiers.${number}.label` | `customLineItems.${number}.productName` | `customLineItems.${number}.quantity` | `lineItems.${number}.catalogReference` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.quantity`, 6>): Promise<NonNullablePaths<Checkout, `lineItems` | `lineItems.${number}.quantity` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.productName.original` | `lineItems.${number}.price.amount` | `lineItems.${number}.price.convertedAmount` | `lineItems.${number}.price.formattedAmount` | `lineItems.${number}.price.formattedConvertedAmount` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.availability.status` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.subscriptionOptionInfo.title.original` | `lineItems.${number}.subscriptionOptionInfo.description.original` | `lineItems.${number}.paymentOption` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.customLineItem` | `lineItems.${number}.catalogOverrideFields.paymentOption.value` | `lineItems.${number}.priceUndetermined` | `lineItems.${number}.fixedQuantity` | `lineItems.${number}.savePaymentMethod` | `lineItems.${number}.taxableAddress.addressType` | `lineItems.${number}.membersOnly` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.selectedCarrierServiceOption.code` | `shippingInfo.selectedCarrierServiceOption.title` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.businessLocation` | `shippingInfo.selectedCarrierServiceOption.logistics.pickupDetails.pickupMethod` | `shippingInfo.selectedCarrierServiceOption.requestedShippingOption` | `shippingInfo.selectedCarrierServiceOption.otherCharges` | `shippingInfo.selectedCarrierServiceOption.otherCharges.${number}.type` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations` | `shippingInfo.selectedCarrierServiceOption.deliveryAllocations.${number}.deliveryCarrier.code` | `shippingInfo.region._id` | `shippingInfo.region.name` | `shippingInfo.carrierServiceOptions` | `shippingInfo.carrierServiceOptions.${number}.carrierId` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `conversionCurrency` | `calculationErrors.generalShippingCalculationError.applicationError.code` | `calculationErrors.generalShippingCalculationError.applicationError.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculationErrors.carrierErrors.errors` | `calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculationErrors.orderValidationErrors` | `giftCard._id` | `giftCard.obfuscatedCode` | `giftCard.appId` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `customFields` | `customFields.${number}.title` | `weightUnit` | `taxSummary.calculationDetails.manualRateReason` | `taxSummary.calculationDetails.autoTaxFallbackDetails.fallbackReason` | `taxSummary.calculationDetails.rateType` | `currency` | `channelType` | `siteLanguage` | `buyerLanguage` | `completed` | `taxIncludedInPrice` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `membershipOptions.eligibleMemberships` | `membershipOptions.eligibleMemberships.${number}._id` | `membershipOptions.eligibleMemberships.${number}.appId` | `membershipOptions.eligibleMemberships.${number}.name.original` | `membershipOptions.eligibleMemberships.${number}.credits.total` | `membershipOptions.eligibleMemberships.${number}.credits.remaining` | `membershipOptions.invalidMemberships` | `membershipOptions.invalidMemberships.${number}.reason` | `membershipOptions.selectedMemberships.memberships` | `membershipOptions.selectedMemberships.memberships.${number}._id` | `membershipOptions.selectedMemberships.memberships.${number}.appId` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.source` | `violations` | `violations.${number}.severity` | `violations.${number}.target.other.name` | `violations.${number}.target.lineItem.name` | `customSettings.lockGiftCard` | `customSettings.lockCouponCode` | `customSettings.disabledPolicyAgreementCheckbox` | `customSettings.disabledManualPayment` | `customContentReference.appId` | `customContentReference.componentId` | `externalReference.appId` | `paymentCurrency`, 5> & {
|
|
3789
3789
|
__applicationErrorsType?: UpdateCheckoutApplicationErrors;
|
|
3790
3790
|
}>;
|
|
3791
3791
|
interface UpdateCheckout {
|
|
@@ -4046,7 +4046,7 @@ interface UpdateCheckoutOptions {
|
|
|
4046
4046
|
* @replacedBy wix.ecom.cart.v2.CartService.RemoveCoupon
|
|
4047
4047
|
* @targetRemovalDate 2027-02-01
|
|
4048
4048
|
*/
|
|
4049
|
-
declare function removeCoupon(_id: string): Promise<NonNullablePaths<RemoveCouponResponse, `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`,
|
|
4049
|
+
declare function removeCoupon(_id: string): Promise<NonNullablePaths<RemoveCouponResponse, `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>>;
|
|
4050
4050
|
/**
|
|
4051
4051
|
* Removes the gift card from a specified checkout.
|
|
4052
4052
|
*
|
|
@@ -4061,7 +4061,7 @@ declare function removeCoupon(_id: string): Promise<NonNullablePaths<RemoveCoupo
|
|
|
4061
4061
|
* @replacedBy wix.ecom.cart.v2.CartService.RemoveGiftCard
|
|
4062
4062
|
* @targetRemovalDate 2027-02-01
|
|
4063
4063
|
*/
|
|
4064
|
-
declare function removeGiftCard(_id: string): Promise<NonNullablePaths<RemoveGiftCardResponse, `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`,
|
|
4064
|
+
declare function removeGiftCard(_id: string): Promise<NonNullablePaths<RemoveGiftCardResponse, `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>>;
|
|
4065
4065
|
/**
|
|
4066
4066
|
* Removes the `overrideCheckoutUrl` from a specified checkout.
|
|
4067
4067
|
*
|
|
@@ -4077,7 +4077,7 @@ declare function removeGiftCard(_id: string): Promise<NonNullablePaths<RemoveGif
|
|
|
4077
4077
|
* @replacedBy wix.ecom.cart.v2.CartService.UpdateCart
|
|
4078
4078
|
* @targetRemovalDate 2027-02-01
|
|
4079
4079
|
*/
|
|
4080
|
-
declare function removeOverrideCheckoutUrl(_id: string): Promise<NonNullablePaths<RemoveOverrideCheckoutUrlResponse, `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`,
|
|
4080
|
+
declare function removeOverrideCheckoutUrl(_id: string): Promise<NonNullablePaths<RemoveOverrideCheckoutUrlResponse, `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>>;
|
|
4081
4081
|
/**
|
|
4082
4082
|
* Adds catalog line items and/or custom line items to a checkout.
|
|
4083
4083
|
*
|
|
@@ -4098,7 +4098,7 @@ declare function removeOverrideCheckoutUrl(_id: string): Promise<NonNullablePath
|
|
|
4098
4098
|
* @replacedBy wix.ecom.cart.v2.CartService.AddLineItems
|
|
4099
4099
|
* @targetRemovalDate 2027-02-01
|
|
4100
4100
|
*/
|
|
4101
|
-
declare function addToCheckout(_id: string, options?: NonNullablePaths<AddToCheckoutOptions, `customLineItems.${number}.descriptionLines.${number}.name` | `customLineItems.${number}.itemType` | `customLineItems.${number}.modifierGroups.${number}.modifiers.${number}.label` | `customLineItems.${number}.productName` | `customLineItems.${number}.quantity` | `lineItems.${number}.catalogReference` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.quantity`,
|
|
4101
|
+
declare function addToCheckout(_id: string, options?: NonNullablePaths<AddToCheckoutOptions, `customLineItems.${number}.descriptionLines.${number}.name` | `customLineItems.${number}.itemType` | `customLineItems.${number}.modifierGroups.${number}.modifiers.${number}.label` | `customLineItems.${number}.productName` | `customLineItems.${number}.quantity` | `lineItems.${number}.catalogReference` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.quantity`, 6>): Promise<NonNullablePaths<AddToCheckoutResponse, `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> & {
|
|
4102
4102
|
__applicationErrorsType?: AddToCheckoutApplicationErrors;
|
|
4103
4103
|
}>;
|
|
4104
4104
|
interface AddToCheckoutOptions {
|
|
@@ -4134,7 +4134,7 @@ interface AddToCheckoutOptions {
|
|
|
4134
4134
|
* @replacedBy wix.ecom.cart.v2.CartService.RemoveLineItems
|
|
4135
4135
|
* @targetRemovalDate 2027-02-01
|
|
4136
4136
|
*/
|
|
4137
|
-
declare function removeLineItems(_id: string, lineItemIds: string[]): Promise<NonNullablePaths<RemoveLineItemsResponse, `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`,
|
|
4137
|
+
declare function removeLineItems(_id: string, lineItemIds: string[]): Promise<NonNullablePaths<RemoveLineItemsResponse, `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>>;
|
|
4138
4138
|
/**
|
|
4139
4139
|
* Creates an order from a specified checkout.
|
|
4140
4140
|
*
|
|
@@ -4156,7 +4156,7 @@ declare function removeLineItems(_id: string, lineItemIds: string[]): Promise<No
|
|
|
4156
4156
|
* @replacedBy wix.ecom.cart.v2.CartService.PlaceOrder
|
|
4157
4157
|
* @targetRemovalDate 2027-02-01
|
|
4158
4158
|
*/
|
|
4159
|
-
declare function createOrder(_id: string, options?: CreateOrderOptions): Promise<NonNullablePaths<CreateOrderResponse, `orderId` | `subscriptionId`,
|
|
4159
|
+
declare function createOrder(_id: string, options?: CreateOrderOptions): Promise<NonNullablePaths<CreateOrderResponse, `orderId` | `subscriptionId`, 0> & {
|
|
4160
4160
|
__applicationErrorsType?: CreateOrderApplicationErrors;
|
|
4161
4161
|
}>;
|
|
4162
4162
|
interface CreateOrderOptions {
|
|
@@ -4177,7 +4177,7 @@ interface CreateOrderOptions {
|
|
|
4177
4177
|
* @replacedBy wix.ecom.cart.v2.CartService.PlaceOrder
|
|
4178
4178
|
* @targetRemovalDate 2027-02-01
|
|
4179
4179
|
*/
|
|
4180
|
-
declare function createOrderAndCharge(_id: string, options?: CreateOrderAndChargeOptions): Promise<NonNullablePaths<CreateOrderAndChargeResponse, `orderId` | `subscriptionId`,
|
|
4180
|
+
declare function createOrderAndCharge(_id: string, options?: CreateOrderAndChargeOptions): Promise<NonNullablePaths<CreateOrderAndChargeResponse, `orderId` | `subscriptionId`, 0> & {
|
|
4181
4181
|
__applicationErrorsType?: CreateOrderAndChargeApplicationErrors;
|
|
4182
4182
|
}>;
|
|
4183
4183
|
interface CreateOrderAndChargeOptions {
|
|
@@ -4201,7 +4201,7 @@ interface CreateOrderAndChargeOptions {
|
|
|
4201
4201
|
* @replacedBy wix.ecom.cart.v2.CartService.MarkCartAsCompleted
|
|
4202
4202
|
* @targetRemovalDate 2027-02-01
|
|
4203
4203
|
*/
|
|
4204
|
-
declare function markCheckoutAsCompletedAndRedirectToUrl(token: string): Promise<NonNullablePaths<RawHttpResponse, `body` | `headers` | `headers.${number}.key` | `headers.${number}.value`,
|
|
4204
|
+
declare function markCheckoutAsCompletedAndRedirectToUrl(token: string): Promise<NonNullablePaths<RawHttpResponse, `body` | `headers` | `headers.${number}.key` | `headers.${number}.value`, 2> & {
|
|
4205
4205
|
__applicationErrorsType?: MarkCheckoutAsCompletedAndRedirectToUrlApplicationErrors;
|
|
4206
4206
|
}>;
|
|
4207
4207
|
/**
|
|
@@ -4247,6 +4247,6 @@ interface MarkCheckoutAsCompletedOptions {
|
|
|
4247
4247
|
* @replacedBy wix.ecom.cart.v2.CartService.UpdateLineItems
|
|
4248
4248
|
* @targetRemovalDate 2027-02-01
|
|
4249
4249
|
*/
|
|
4250
|
-
declare function updateLineItemsQuantity(_id: string, lineItems: NonNullablePaths<LineItemQuantityUpdate, `_id` | `quantity`,
|
|
4250
|
+
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>>;
|
|
4251
4251
|
|
|
4252
4252
|
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, markCheckoutAsCompleted, markCheckoutAsCompletedAndRedirectToUrl, onCheckoutCompleted, onCheckoutCreated, onCheckoutDeleted, onCheckoutUpdated, removeCoupon, removeGiftCard, removeLineItems, removeOverrideCheckoutUrl, updateCheckout, updateLineItemsQuantity };
|
|
@@ -17,11 +17,77 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
|
|
|
17
17
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
18
18
|
function resolveComWixEcomCheckoutApiV1CheckoutServiceUrl(opts) {
|
|
19
19
|
const domainToMappings = {
|
|
20
|
+
"www.wixapis.com": [
|
|
21
|
+
{
|
|
22
|
+
srcPath: "/ecom/v1/checkouts",
|
|
23
|
+
destPath: "/v1/checkouts"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
_: [
|
|
27
|
+
{
|
|
28
|
+
srcPath: "/ecom/v1/checkouts",
|
|
29
|
+
destPath: "/v1/checkouts"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"manage._base_domain_": [
|
|
33
|
+
{
|
|
34
|
+
srcPath: "/ecom/v1/checkouts",
|
|
35
|
+
destPath: "/v1/checkouts"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"www._base_domain_": [
|
|
39
|
+
{
|
|
40
|
+
srcPath: "/ecom/v1/checkouts",
|
|
41
|
+
destPath: "/v1/checkouts"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"bo._base_domain_": [
|
|
45
|
+
{
|
|
46
|
+
srcPath: "/ecom/v1/checkouts",
|
|
47
|
+
destPath: "/v1/checkouts"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"wixbo.ai": [
|
|
51
|
+
{
|
|
52
|
+
srcPath: "/ecom/v1/checkouts",
|
|
53
|
+
destPath: "/v1/checkouts"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"wix-bo.com": [
|
|
57
|
+
{
|
|
58
|
+
srcPath: "/ecom/v1/checkouts",
|
|
59
|
+
destPath: "/v1/checkouts"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"*.dev.wix-code.com": [
|
|
63
|
+
{
|
|
64
|
+
srcPath: "/ecom/v1/checkouts",
|
|
65
|
+
destPath: "/v1/checkouts"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
20
68
|
"api._api_base_domain_": [
|
|
21
69
|
{
|
|
22
|
-
srcPath: "/checkout",
|
|
70
|
+
srcPath: "/checkout-v1-proxy",
|
|
23
71
|
destPath: ""
|
|
24
72
|
}
|
|
73
|
+
],
|
|
74
|
+
"editor._base_domain_": [
|
|
75
|
+
{
|
|
76
|
+
srcPath: "/ecom/v1/checkouts",
|
|
77
|
+
destPath: "/v1/checkouts"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"blocks._base_domain_": [
|
|
81
|
+
{
|
|
82
|
+
srcPath: "/ecom/v1/checkouts",
|
|
83
|
+
destPath: "/v1/checkouts"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"create.editorx": [
|
|
87
|
+
{
|
|
88
|
+
srcPath: "/ecom/v1/checkouts",
|
|
89
|
+
destPath: "/v1/checkouts"
|
|
90
|
+
}
|
|
25
91
|
]
|
|
26
92
|
};
|
|
27
93
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|