@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.
- package/build/cjs/index.d.ts +3 -3
- package/build/cjs/index.js +68 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +68 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +8 -3
- package/build/cjs/meta.js +68 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -3
- package/build/es/index.mjs +68 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +68 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +8 -3
- package/build/es/meta.mjs +68 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +68 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +14 -3
- package/build/internal/cjs/index.typings.js +68 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +8 -3
- package/build/internal/cjs/meta.js +68 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +68 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +14 -3
- package/build/internal/es/index.typings.mjs +68 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +8 -3
- package/build/internal/es/meta.mjs +68 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
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
|
|
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
|
-
|
|
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>>;
|
|
@@ -112,10 +112,18 @@ function createCurrentCart(payload) {
|
|
|
112
112
|
paths: [
|
|
113
113
|
{ path: "cart.createdDate" },
|
|
114
114
|
{ path: "cart.updatedDate" },
|
|
115
|
+
{
|
|
116
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
117
|
+
},
|
|
118
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
115
119
|
{
|
|
116
120
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
117
121
|
},
|
|
118
122
|
{ path: "cart.lineItems.attributes.serviceProperties.scheduledDate" },
|
|
123
|
+
{
|
|
124
|
+
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
125
|
+
},
|
|
126
|
+
{ path: "customItems.attributes.image.urlExpirationDate" },
|
|
119
127
|
{
|
|
120
128
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
121
129
|
},
|
|
@@ -160,6 +168,10 @@ function createCurrentCart(payload) {
|
|
|
160
168
|
paths: [
|
|
161
169
|
{ path: "cart.createdDate" },
|
|
162
170
|
{ path: "cart.updatedDate" },
|
|
171
|
+
{
|
|
172
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
173
|
+
},
|
|
174
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
163
175
|
{
|
|
164
176
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
165
177
|
},
|
|
@@ -209,6 +221,10 @@ function getCurrentCart(payload) {
|
|
|
209
221
|
paths: [
|
|
210
222
|
{ path: "cart.createdDate" },
|
|
211
223
|
{ path: "cart.updatedDate" },
|
|
224
|
+
{
|
|
225
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
226
|
+
},
|
|
227
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
212
228
|
{
|
|
213
229
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
214
230
|
},
|
|
@@ -248,6 +264,10 @@ function updateCurrentCart(payload) {
|
|
|
248
264
|
paths: [
|
|
249
265
|
{ path: "cart.createdDate" },
|
|
250
266
|
{ path: "cart.updatedDate" },
|
|
267
|
+
{
|
|
268
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
269
|
+
},
|
|
270
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
251
271
|
{
|
|
252
272
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
253
273
|
},
|
|
@@ -288,6 +308,10 @@ function updateCurrentCart(payload) {
|
|
|
288
308
|
paths: [
|
|
289
309
|
{ path: "cart.createdDate" },
|
|
290
310
|
{ path: "cart.updatedDate" },
|
|
311
|
+
{
|
|
312
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
313
|
+
},
|
|
314
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
291
315
|
{
|
|
292
316
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
293
317
|
},
|
|
@@ -358,6 +382,10 @@ function refreshCurrentCart(payload) {
|
|
|
358
382
|
paths: [
|
|
359
383
|
{ path: "cart.createdDate" },
|
|
360
384
|
{ path: "cart.updatedDate" },
|
|
385
|
+
{
|
|
386
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
387
|
+
},
|
|
388
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
361
389
|
{
|
|
362
390
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
363
391
|
},
|
|
@@ -407,6 +435,10 @@ function calculateCurrentCart(payload) {
|
|
|
407
435
|
paths: [
|
|
408
436
|
{ path: "cart.createdDate" },
|
|
409
437
|
{ path: "cart.updatedDate" },
|
|
438
|
+
{
|
|
439
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
440
|
+
},
|
|
441
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
410
442
|
{
|
|
411
443
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
412
444
|
},
|
|
@@ -452,6 +484,10 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
452
484
|
{
|
|
453
485
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
454
486
|
paths: [
|
|
487
|
+
{
|
|
488
|
+
path: "catalogItems.catalogOverrideFields.image.urlExpirationDate"
|
|
489
|
+
},
|
|
490
|
+
{ path: "customItems.attributes.image.urlExpirationDate" },
|
|
455
491
|
{
|
|
456
492
|
path: "customItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
457
493
|
},
|
|
@@ -479,6 +515,10 @@ function addLineItemsToCurrentCart(payload) {
|
|
|
479
515
|
paths: [
|
|
480
516
|
{ path: "cart.createdDate" },
|
|
481
517
|
{ path: "cart.updatedDate" },
|
|
518
|
+
{
|
|
519
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
520
|
+
},
|
|
521
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
482
522
|
{
|
|
483
523
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
484
524
|
},
|
|
@@ -528,6 +568,10 @@ function removeLineItemsFromCurrentCart(payload) {
|
|
|
528
568
|
paths: [
|
|
529
569
|
{ path: "cart.createdDate" },
|
|
530
570
|
{ path: "cart.updatedDate" },
|
|
571
|
+
{
|
|
572
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
573
|
+
},
|
|
574
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
531
575
|
{
|
|
532
576
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
533
577
|
},
|
|
@@ -577,6 +621,10 @@ function updateLineItemsInCurrentCart(payload) {
|
|
|
577
621
|
paths: [
|
|
578
622
|
{ path: "cart.createdDate" },
|
|
579
623
|
{ path: "cart.updatedDate" },
|
|
624
|
+
{
|
|
625
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
626
|
+
},
|
|
627
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
580
628
|
{
|
|
581
629
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
582
630
|
},
|
|
@@ -626,6 +674,10 @@ function addCouponToCurrentCart(payload) {
|
|
|
626
674
|
paths: [
|
|
627
675
|
{ path: "cart.createdDate" },
|
|
628
676
|
{ path: "cart.updatedDate" },
|
|
677
|
+
{
|
|
678
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
679
|
+
},
|
|
680
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
629
681
|
{
|
|
630
682
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
631
683
|
},
|
|
@@ -675,6 +727,10 @@ function removeCouponFromCurrentCart(payload) {
|
|
|
675
727
|
paths: [
|
|
676
728
|
{ path: "cart.createdDate" },
|
|
677
729
|
{ path: "cart.updatedDate" },
|
|
730
|
+
{
|
|
731
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
732
|
+
},
|
|
733
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
678
734
|
{
|
|
679
735
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
680
736
|
},
|
|
@@ -724,6 +780,10 @@ function setDeliveryMethodForCurrentCart(payload) {
|
|
|
724
780
|
paths: [
|
|
725
781
|
{ path: "cart.createdDate" },
|
|
726
782
|
{ path: "cart.updatedDate" },
|
|
783
|
+
{
|
|
784
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
785
|
+
},
|
|
786
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
727
787
|
{
|
|
728
788
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
729
789
|
},
|
|
@@ -773,6 +833,10 @@ function addGiftCardToCurrentCart(payload) {
|
|
|
773
833
|
paths: [
|
|
774
834
|
{ path: "cart.createdDate" },
|
|
775
835
|
{ path: "cart.updatedDate" },
|
|
836
|
+
{
|
|
837
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
838
|
+
},
|
|
839
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
776
840
|
{
|
|
777
841
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
778
842
|
},
|
|
@@ -822,6 +886,10 @@ function removeGiftCardFromCurrentCart(payload) {
|
|
|
822
886
|
paths: [
|
|
823
887
|
{ path: "cart.createdDate" },
|
|
824
888
|
{ path: "cart.updatedDate" },
|
|
889
|
+
{
|
|
890
|
+
path: "cart.lineItems.source.catalogOverrideFields.image.urlExpirationDate"
|
|
891
|
+
},
|
|
892
|
+
{ path: "cart.lineItems.attributes.image.urlExpirationDate" },
|
|
825
893
|
{
|
|
826
894
|
path: "cart.lineItems.attributes.subscriptionInfo.subscriptionSettings.startDate"
|
|
827
895
|
},
|