@wix/auto_sdk_ecom_current-cart-v-2 1.0.28 → 1.0.30

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.
@@ -1526,7 +1526,7 @@ interface CartSummary {
1526
1526
  /**
1527
1527
  * A token representing the Cart's calculated prices.
1528
1528
  *
1529
- * The client can pass this token when completing the checkout to ensure that the
1529
+ * The client can pass this token on place order to ensure that the
1530
1530
  * prices the customer saw match the final prices at checkout.
1531
1531
  *
1532
1532
  * The server will validate the token if provided by recalculating the cart and comparing the
@@ -2707,11 +2707,11 @@ interface PlaceOrderRequest {
2707
2707
  */
2708
2708
  cartId?: string;
2709
2709
  /**
2710
- * The pricing token received from `CalculateCart`'s response.
2710
+ * The price verification token received from `CalculateCart`'s response.
2711
2711
  * Used to verify that the prices shown to the customer have not changed before completing checkout.
2712
2712
  * @maxLength 3000
2713
2713
  */
2714
- pricingToken?: string | null;
2714
+ priceVerificationToken?: string | null;
2715
2715
  /**
2716
2716
  * Payment token.
2717
2717
  * @maxLength 100
@@ -3001,6 +3001,7 @@ interface CreateCurrentCartOptions {
3001
3001
  * @internal
3002
3002
  * @documentationMaturity preview
3003
3003
  * @permissionId ecom:v2:cart:get_cart
3004
+ * @applicableIdentity APP
3004
3005
  * @fqn wix.ecom.cart.v2.CurrentCartService.GetCurrentCart
3005
3006
  */
3006
3007
  declare function getCurrentCart(): Promise<NonNullablePaths<GetCurrentCartResponse, `cart._id` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
@@ -3024,6 +3025,7 @@ declare function updateCurrentCart(cart: Cart): Promise<NonNullablePaths<UpdateC
3024
3025
  * @internal
3025
3026
  * @documentationMaturity preview
3026
3027
  * @permissionId ecom:v2:cart:delete_cart
3028
+ * @applicableIdentity APP
3027
3029
  * @fqn wix.ecom.cart.v2.CurrentCartService.DeleteCurrentCart
3028
3030
  */
3029
3031
  declare function deleteCurrentCart(): Promise<void>;
@@ -3032,6 +3034,7 @@ declare function deleteCurrentCart(): Promise<void>;
3032
3034
  * @internal
3033
3035
  * @documentationMaturity preview
3034
3036
  * @permissionId ecom:v2:cart:refresh_cart
3037
+ * @applicableIdentity APP
3035
3038
  * @fqn wix.ecom.cart.v2.CurrentCartService.RefreshCurrentCart
3036
3039
  */
3037
3040
  declare function refreshCurrentCart(): Promise<NonNullablePaths<RefreshCurrentCartResponse, `cart._id` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
@@ -3041,6 +3044,7 @@ declare function refreshCurrentCart(): Promise<NonNullablePaths<RefreshCurrentCa
3041
3044
  * @internal
3042
3045
  * @documentationMaturity preview
3043
3046
  * @permissionId ecom:v2:cart:calculate_cart
3047
+ * @applicableIdentity APP
3044
3048
  * @fqn wix.ecom.cart.v2.CurrentCartService.CalculateCurrentCart
3045
3049
  */
3046
3050
  declare function calculateCurrentCart(options?: CalculateCurrentCartOptions): Promise<NonNullablePaths<CalculateCurrentCartResponse, `cart._id` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart` | `summary.cartId` | `summary.calculationId` | `summary.lineItems` | `summary.lineItems.${number}.lineItemId` | `summary.lineItems.${number}.quantity` | `summary.lineItems.${number}.unitPrice.amount` | `summary.lineItems.${number}.unitPrice.convertedAmount` | `summary.discounts` | `summary.discounts.${number}.name.original` | `summary.discounts.${number}.source.sourceType` | `summary.discounts.${number}.scope` | `summary.deliverySummary.method.code` | `summary.deliverySummary.method.pickup` | `summary.additionalFees` | `summary.taxSummary.taxes` | `summary.taxSummary.pricesIncludeTax` | `summary.taxSummary.lineItemTaxes` | `summary.taxSummary.lineItemTaxes.${number}.lineItemId` | `summary.taxSummary.additionalFeeTaxes` | `summary.taxSummary.additionalFeeTaxes.${number}.additionalFeeCode` | `summary.paymentSummary.giftCards` | `summary.paymentSummary.giftCards.${number}.giftCardId` | `summary.paymentSummary.memberships` | `summary.paymentSummary.memberships.${number}._id` | `summary.paymentSummary.memberships.${number}.appId` | `summary.paymentSummary.subscriptionCharges` | `summary.paymentSummary.requiresPaymentAfterGiftCard` | `summary.calculationErrors.generalShippingCalculationError.applicationError.code` | `summary.calculationErrors.generalShippingCalculationError.applicationError.description` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `summary.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `summary.calculationErrors.carrierErrors.errors` | `summary.calculationErrors.carrierErrors.errors.${number}.carrierId` | `summary.calculationErrors.orderValidationErrors` | `summary.spiViolations` | `summary.spiViolations.${number}.severity` | `summary.spiViolations.${number}.target.other.name` | `summary.spiViolations.${number}.target.lineItem.name`, 8>>;
@@ -3100,6 +3104,7 @@ interface AddLineItemsToCurrentCartOptions {
3100
3104
  * @documentationMaturity preview
3101
3105
  * @requiredField lineItemIds
3102
3106
  * @permissionId ecom:v2:cart:update_cart
3107
+ * @applicableIdentity APP
3103
3108
  * @fqn wix.ecom.cart.v2.CurrentCartService.RemoveLineItemsFromCurrentCart
3104
3109
  */
3105
3110
  declare function removeLineItemsFromCurrentCart(lineItemIds: string[]): Promise<NonNullablePaths<RemoveLineItemsFromCurrentCartResponse, `cart._id` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
@@ -3111,6 +3116,7 @@ declare function removeLineItemsFromCurrentCart(lineItemIds: string[]): Promise<
3111
3116
  * @requiredField options.lineItems.lineItemId
3112
3117
  * @requiredField options.lineItems.quantity.newQuantity
3113
3118
  * @permissionId ecom:v2:cart:update_cart
3119
+ * @applicableIdentity APP
3114
3120
  * @fqn wix.ecom.cart.v2.CurrentCartService.UpdateLineItemsInCurrentCart
3115
3121
  */
3116
3122
  declare function updateLineItemsInCurrentCart(options?: NonNullablePaths<UpdateLineItemsInCurrentCartOptions, `lineItems.${number}.lineItemId` | `lineItems.${number}.quantity.newQuantity`, 5>): Promise<NonNullablePaths<UpdateLineItemsInCurrentCartResponse, `cart._id` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
@@ -3131,6 +3137,7 @@ interface UpdateLineItemsInCurrentCartOptions {
3131
3137
  * @documentationMaturity preview
3132
3138
  * @requiredField couponCode
3133
3139
  * @permissionId ecom:v2:cart:update_cart
3140
+ * @applicableIdentity APP
3134
3141
  * @fqn wix.ecom.cart.v2.CurrentCartService.AddCouponToCurrentCart
3135
3142
  */
3136
3143
  declare function addCouponToCurrentCart(couponCode: string): Promise<NonNullablePaths<AddCouponToCurrentCartResponse, `cart._id` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
@@ -3141,6 +3148,7 @@ declare function addCouponToCurrentCart(couponCode: string): Promise<NonNullable
3141
3148
  * @documentationMaturity preview
3142
3149
  * @requiredField couponId
3143
3150
  * @permissionId ecom:v2:cart:update_cart
3151
+ * @applicableIdentity APP
3144
3152
  * @fqn wix.ecom.cart.v2.CurrentCartService.RemoveCouponFromCurrentCart
3145
3153
  */
3146
3154
  declare function removeCouponFromCurrentCart(couponId: string): Promise<NonNullablePaths<RemoveCouponFromCurrentCartResponse, `cart._id` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
@@ -3152,6 +3160,7 @@ declare function removeCouponFromCurrentCart(couponId: string): Promise<NonNulla
3152
3160
  * @requiredField deliveryMethod
3153
3161
  * @requiredField deliveryMethod.code
3154
3162
  * @permissionId ecom:v2:cart:update_cart
3163
+ * @applicableIdentity APP
3155
3164
  * @fqn wix.ecom.cart.v2.CurrentCartService.SetDeliveryMethodForCurrentCart
3156
3165
  */
3157
3166
  declare function setDeliveryMethodForCurrentCart(deliveryMethod: NonNullablePaths<DeliveryMethodInput, `code`, 2>): Promise<NonNullablePaths<SetDeliveryMethodForCurrentCartResponse, `cart._id` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
@@ -3165,6 +3174,7 @@ declare function setDeliveryMethodForCurrentCart(deliveryMethod: NonNullablePath
3165
3174
  * @documentationMaturity preview
3166
3175
  * @requiredField giftCardCode
3167
3176
  * @permissionId ecom:v2:cart:update_cart
3177
+ * @applicableIdentity APP
3168
3178
  * @fqn wix.ecom.cart.v2.CurrentCartService.AddGiftCardToCurrentCart
3169
3179
  */
3170
3180
  declare function addGiftCardToCurrentCart(giftCardCode: string): Promise<NonNullablePaths<AddGiftCardToCurrentCartResponse, `cart._id` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
@@ -3175,6 +3185,7 @@ declare function addGiftCardToCurrentCart(giftCardCode: string): Promise<NonNull
3175
3185
  * @documentationMaturity preview
3176
3186
  * @requiredField giftCardId
3177
3187
  * @permissionId ecom:v2:cart:update_cart
3188
+ * @applicableIdentity APP
3178
3189
  * @fqn wix.ecom.cart.v2.CurrentCartService.RemoveGiftCardFromCurrentCart
3179
3190
  */
3180
3191
  declare function removeGiftCardFromCurrentCart(giftCardId: string): Promise<NonNullablePaths<RemoveGiftCardFromCurrentCartResponse, `cart._id` | `cart.lineItems` | `cart.lineItems.${number}._id` | `cart.lineItems.${number}.name.original` | `cart.lineItems.${number}.quantityInfo.confirmedQuantity` | `cart.lineItems.${number}.quantityInfo.requestedQuantity` | `cart.lineItems.${number}.quantityInfo.fixedQuantity` | `cart.lineItems.${number}.pricing.unitPrice.amount` | `cart.lineItems.${number}.pricing.unitPrice.convertedAmount` | `cart.lineItems.${number}.pricing.priceDescription.original` | `cart.lineItems.${number}.pricing.priceUndetermined` | `cart.lineItems.${number}.source.catalogReference.catalogItemId` | `cart.lineItems.${number}.source.catalogReference.appId` | `cart.lineItems.${number}.attributes.itemType.preset` | `cart.lineItems.${number}.attributes.itemType.custom` | `cart.lineItems.${number}.attributes.physicalProperties.shippable` | `cart.lineItems.${number}.attributes.membersOnly` | `cart.lineItems.${number}.taxConfig.taxableAddress.addressType` | `cart.lineItems.${number}.paymentConfig.savePaymentMethod` | `cart.lineItems.${number}.paymentConfig.selectedMembership._id` | `cart.lineItems.${number}.paymentConfig.selectedMembership.appId` | `cart.lineItems.${number}.paymentConfig.paymentOption` | `cart.lineItems.${number}.status` | `cart.lineItems.${number}.customLineItem` | `cart.coupons` | `cart.coupons.${number}._id` | `cart.coupons.${number}.code` | `cart.source.channelType` | `cart.source.externalReferences` | `cart.source.externalReferences.${number}.appId` | `cart.source.createdBy.visitorId` | `cart.source.createdBy.memberId` | `cart.source.createdBy.userId` | `cart.source.createdBy.appId` | `cart.source.customContentReference.appId` | `cart.source.customContentReference.componentId` | `cart.businessInfo.languageCode` | `cart.businessInfo.currencyCode` | `cart.customerInfo.visitorId` | `cart.customerInfo.memberId` | `cart.customerInfo.userId` | `cart.customerInfo.vatId._id` | `cart.customerInfo.vatId.type` | `cart.customerInfo.languageCode` | `cart.customerInfo.currencyCode` | `cart.deliveryInfo.address.streetAddress.number` | `cart.deliveryInfo.address.streetAddress.name` | `cart.deliveryInfo.method.code` | `cart.deliveryInfo.method.pickup` | `cart.deliveryInfo.weightUnit` | `cart.taxInfo.pricesIncludeTax` | `cart.paymentInfo.giftCards` | `cart.paymentInfo.giftCards.${number}._id` | `cart.paymentInfo.giftCards.${number}.obfuscatedCode` | `cart.paymentInfo.giftCards.${number}.appId` | `cart.paymentInfo.currencyCode` | `cart.orderPlaced` | `cart.currentCart`, 7>>;
@@ -167,10 +167,18 @@ function createCurrentCart(payload) {
167
167
  paths: [
168
168
  { path: "cart.createdDate" },
169
169
  { path: "cart.updatedDate" },
170
+ {
171
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
172
+ },
173
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
170
174
  {
171
175
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
172
176
  },
173
177
  { path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
178
+ {
179
+ path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
180
+ },
181
+ { path: "customItems.attributes.image.urlExpirationDate" },
174
182
  {
175
183
  path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
176
184
  },
@@ -215,6 +223,10 @@ function createCurrentCart(payload) {
215
223
  paths: [
216
224
  { path: "cart.createdDate" },
217
225
  { path: "cart.updatedDate" },
226
+ {
227
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
228
+ },
229
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
218
230
  {
219
231
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
220
232
  },
@@ -264,6 +276,10 @@ function getCurrentCart(payload) {
264
276
  paths: [
265
277
  { path: "cart.createdDate" },
266
278
  { path: "cart.updatedDate" },
279
+ {
280
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
281
+ },
282
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
267
283
  {
268
284
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
269
285
  },
@@ -303,6 +319,10 @@ function updateCurrentCart(payload) {
303
319
  paths: [
304
320
  { path: "cart.createdDate" },
305
321
  { path: "cart.updatedDate" },
322
+ {
323
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
324
+ },
325
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
306
326
  {
307
327
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
308
328
  },
@@ -343,6 +363,10 @@ function updateCurrentCart(payload) {
343
363
  paths: [
344
364
  { path: "cart.createdDate" },
345
365
  { path: "cart.updatedDate" },
366
+ {
367
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
368
+ },
369
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
346
370
  {
347
371
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
348
372
  },
@@ -413,6 +437,10 @@ function refreshCurrentCart(payload) {
413
437
  paths: [
414
438
  { path: "cart.createdDate" },
415
439
  { path: "cart.updatedDate" },
440
+ {
441
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
442
+ },
443
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
416
444
  {
417
445
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
418
446
  },
@@ -462,6 +490,10 @@ function calculateCurrentCart(payload) {
462
490
  paths: [
463
491
  { path: "cart.createdDate" },
464
492
  { path: "cart.updatedDate" },
493
+ {
494
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
495
+ },
496
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
465
497
  {
466
498
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
467
499
  },
@@ -507,6 +539,10 @@ function addLineItemsToCurrentCart(payload) {
507
539
  {
508
540
  transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
509
541
  paths: [
542
+ {
543
+ path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
544
+ },
545
+ { path: "customItems.attributes.image.urlExpirationDate" },
510
546
  {
511
547
  path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
512
548
  },
@@ -534,6 +570,10 @@ function addLineItemsToCurrentCart(payload) {
534
570
  paths: [
535
571
  { path: "cart.createdDate" },
536
572
  { path: "cart.updatedDate" },
573
+ {
574
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
575
+ },
576
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
537
577
  {
538
578
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
539
579
  },
@@ -583,6 +623,10 @@ function removeLineItemsFromCurrentCart(payload) {
583
623
  paths: [
584
624
  { path: "cart.createdDate" },
585
625
  { path: "cart.updatedDate" },
626
+ {
627
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
628
+ },
629
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
586
630
  {
587
631
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
588
632
  },
@@ -632,6 +676,10 @@ function updateLineItemsInCurrentCart(payload) {
632
676
  paths: [
633
677
  { path: "cart.createdDate" },
634
678
  { path: "cart.updatedDate" },
679
+ {
680
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
681
+ },
682
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
635
683
  {
636
684
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
637
685
  },
@@ -681,6 +729,10 @@ function addCouponToCurrentCart(payload) {
681
729
  paths: [
682
730
  { path: "cart.createdDate" },
683
731
  { path: "cart.updatedDate" },
732
+ {
733
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
734
+ },
735
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
684
736
  {
685
737
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
686
738
  },
@@ -730,6 +782,10 @@ function removeCouponFromCurrentCart(payload) {
730
782
  paths: [
731
783
  { path: "cart.createdDate" },
732
784
  { path: "cart.updatedDate" },
785
+ {
786
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
787
+ },
788
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
733
789
  {
734
790
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
735
791
  },
@@ -779,6 +835,10 @@ function setDeliveryMethodForCurrentCart(payload) {
779
835
  paths: [
780
836
  { path: "cart.createdDate" },
781
837
  { path: "cart.updatedDate" },
838
+ {
839
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
840
+ },
841
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
782
842
  {
783
843
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
784
844
  },
@@ -828,6 +888,10 @@ function addGiftCardToCurrentCart(payload) {
828
888
  paths: [
829
889
  { path: "cart.createdDate" },
830
890
  { path: "cart.updatedDate" },
891
+ {
892
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
893
+ },
894
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
831
895
  {
832
896
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
833
897
  },
@@ -877,6 +941,10 @@ function removeGiftCardFromCurrentCart(payload) {
877
941
  paths: [
878
942
  { path: "cart.createdDate" },
879
943
  { path: "cart.updatedDate" },
944
+ {
945
+ path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
946
+ },
947
+ { path: "cart.lineItems.attributes.image.urlExpirationDate" },
880
948
  {
881
949
  path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
882
950
  },