@wix/auto_sdk_ecom_cart 1.0.111 → 1.0.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +43 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +24 -1
- package/build/cjs/index.typings.js +38 -12
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +24 -1
- package/build/cjs/meta.js +38 -12
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +42 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +24 -1
- package/build/es/index.typings.mjs +37 -12
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +24 -1
- package/build/es/meta.mjs +37 -12
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +43 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +30 -1
- package/build/internal/cjs/index.typings.js +38 -12
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +24 -1
- package/build/internal/cjs/meta.js +38 -12
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +42 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +30 -1
- package/build/internal/es/index.typings.mjs +37 -12
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +24 -1
- package/build/internal/es/meta.mjs +37 -12
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -690,6 +690,12 @@ interface ServiceProperties {
|
|
|
690
690
|
* @max 10000
|
|
691
691
|
*/
|
|
692
692
|
numberOfParticipants?: number | null;
|
|
693
|
+
/**
|
|
694
|
+
* Date and time the service is to be ended, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
695
|
+
* For example, the date and time a class will end.
|
|
696
|
+
* @internal
|
|
697
|
+
*/
|
|
698
|
+
endDate?: Date | null;
|
|
693
699
|
}
|
|
694
700
|
interface PriceDescription {
|
|
695
701
|
/**
|
|
@@ -865,6 +871,29 @@ interface ItemModifier {
|
|
|
865
871
|
/** The price of the modifier. */
|
|
866
872
|
price?: MultiCurrencyPrice;
|
|
867
873
|
}
|
|
874
|
+
interface PlatformFee {
|
|
875
|
+
/** Platform fee name. */
|
|
876
|
+
name?: TranslatableString;
|
|
877
|
+
/** Platform fee charge type. */
|
|
878
|
+
chargeType?: V1ChargeTypeWithLiterals;
|
|
879
|
+
/**
|
|
880
|
+
* Percentage rate charged as platform fee.
|
|
881
|
+
*
|
|
882
|
+
* The fee rate expressed as a decimal fraction between 0 and 1. For example, `0.05` for 5%.
|
|
883
|
+
* @format DECIMAL_VALUE
|
|
884
|
+
* @decimalValue options { gte:0, lte:1, maxScale:4 }
|
|
885
|
+
*/
|
|
886
|
+
percentageRate?: string;
|
|
887
|
+
}
|
|
888
|
+
declare enum V1ChargeType {
|
|
889
|
+
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
890
|
+
/** The platform fee is passed on to the customer. */
|
|
891
|
+
PASS_ON = "PASS_ON",
|
|
892
|
+
/** The platform fee is absorbed by the merchant. */
|
|
893
|
+
ABSORBED = "ABSORBED"
|
|
894
|
+
}
|
|
895
|
+
/** @enumType */
|
|
896
|
+
type V1ChargeTypeWithLiterals = V1ChargeType | 'UNKNOWN_CHARGE_TYPE' | 'PASS_ON' | 'ABSORBED';
|
|
868
897
|
/** Buyer Info */
|
|
869
898
|
interface BuyerInfo extends BuyerInfoIdOneOf {
|
|
870
899
|
/**
|
|
@@ -3616,4 +3645,4 @@ declare function deleteCart(_id: string): Promise<void>;
|
|
|
3616
3645
|
*/
|
|
3617
3646
|
declare function removeBusinessLocation(_id: string): Promise<NonNullablePaths<RemoveBusinessLocationResponse, `cart.lineItems` | `cart.lineItems.${number}.quantity` | `cart.lineItems.${number}.catalogReference.catalogItemId` | `cart.lineItems.${number}.catalogReference.appId` | `cart.lineItems.${number}.productName.original` | `cart.lineItems.${number}.price.amount` | `cart.lineItems.${number}.price.convertedAmount` | `cart.lineItems.${number}.price.formattedAmount` | `cart.lineItems.${number}.price.formattedConvertedAmount` | `cart.lineItems.${number}.availability.status` | `cart.lineItems.${number}.physicalProperties.shippable` | `cart.lineItems.${number}.itemType.preset` | `cart.lineItems.${number}.itemType.custom` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.frequency` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.autoRenewal` | `cart.lineItems.${number}.subscriptionOptionInfo.subscriptionSettings.enableCustomerCancellation` | `cart.lineItems.${number}.subscriptionOptionInfo.title.original` | `cart.lineItems.${number}.subscriptionOptionInfo.description.original` | `cart.lineItems.${number}.paymentOption` | `cart.lineItems.${number}.priceDescription.original` | `cart.lineItems.${number}.selectedMembership._id` | `cart.lineItems.${number}.selectedMembership.appId` | `cart.lineItems.${number}.customLineItem` | `cart.lineItems.${number}.priceUndetermined` | `cart.lineItems.${number}.fixedQuantity` | `cart.lineItems.${number}.catalogOverrideFields.paymentOption.value` | `cart.lineItems.${number}.savePaymentMethod` | `cart.lineItems.${number}.taxableAddress.addressType` | `cart.lineItems.${number}.membersOnly` | `cart.buyerInfo.visitorId` | `cart.buyerInfo.memberId` | `cart.buyerInfo.userId` | `cart.currency` | `cart.conversionCurrency` | `cart.weightUnit` | `cart.appliedDiscounts` | `cart.appliedDiscounts.${number}.coupon._id` | `cart.appliedDiscounts.${number}.coupon.code` | `cart.contactInfo.address.streetAddress.number` | `cart.contactInfo.address.streetAddress.name` | `cart.contactInfo.contactDetails.vatId._id` | `cart.contactInfo.contactDetails.vatId.type` | `cart.selectedShippingOption.code` | `cart.paymentCurrency`, 7>>;
|
|
3618
3647
|
|
|
3619
|
-
export { type ActionEvent, type AddToCartApplicationErrors, type AddToCartOptions, type AddToCartRequest, type AddToCartResponse, type AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, type AutoTaxFallbackCalculationDetails, type BaseEventMetadata, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedItemModifier, type CalculatedLineItem, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartCreatedEnvelope, type CartDeletedEnvelope, type CartDiscount, type CartDiscountDiscountSourceOneOf, type CartUpdatedEnvelope, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type Coupon, type CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, type CreateCheckoutApplicationErrors, type CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CustomLineItem, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest, type EstimateTotalsOptions, type EstimateTotalsRequest, type EstimateTotalsResponse, type EventMetadata, type ExtendedFields, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse, type GetCartRequest, type GetCartResponse, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type Group, type HostSelectedMembership, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemDiscount, type LineItemPricesData, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MerchantDiscountInput, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type Policy, type PriceDescription, type PriceSummary, type ProductName, RateType, type RateTypeWithLiterals, type Region, type RemoveBusinessLocationRequest, type RemoveBusinessLocationResponse, type RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type SelectedShippingOption, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, 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 UpdateCartApplicationErrors, type UpdateCartOptions, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, type V1Coupon, type V1DiscountRule, type V1DiscountRuleName, type V1ItemModifier, type V1MerchantDiscount, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCart, createCart, createCheckout, deleteCart, estimateTotals, getCart, getCartByCheckoutId, onCartCreated, onCartDeleted, onCartUpdated, removeBusinessLocation, removeCoupon, removeLineItems, updateCart, updateLineItemsQuantity };
|
|
3648
|
+
export { type ActionEvent, type AddToCartApplicationErrors, type AddToCartOptions, type AddToCartRequest, type AddToCartResponse, type AddToCurrentCartAndEstimateTotalsRequest, type AddToCurrentCartRequest, type AdditionalFee, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, type AggregatedTaxBreakdown, type ApplicableLineItems, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, type AutoTaxFallbackCalculationDetails, type BaseEventMetadata, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedItemModifier, type CalculatedLineItem, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type Carrier, type CarrierError, type CarrierErrors, type CarrierServiceOption, type Cart, type CartCreatedEnvelope, type CartDeletedEnvelope, type CartDiscount, type CartDiscountDiscountSourceOneOf, type CartUpdatedEnvelope, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type Coupon, type CreateCartApplicationErrors, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, type CreateCheckoutApplicationErrors, type CreateCheckoutFromCurrentCartRequest, type CreateCheckoutOptions, type CreateCheckoutRequest, type CreateCheckoutResponse, type CustomLineItem, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeliveryAllocation, type DeliveryLogistics, type DeliveryTimeSlot, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EstimateCurrentCartTotalsRequest, type EstimateTotalsOptions, type EstimateTotalsRequest, type EstimateTotalsResponse, type EventMetadata, type ExtendedFields, FallbackReason, type FallbackReasonWithLiterals, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartByCheckoutIdRequest, type GetCartByCheckoutIdResponse, type GetCartRequest, type GetCartResponse, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type Group, type HostSelectedMembership, type IdentificationData, type IdentificationDataIdOneOf, type InvalidMembership, type ItemAvailabilityInfo, ItemAvailabilityStatus, type ItemAvailabilityStatusWithLiterals, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItem, type LineItemDiscount, type LineItemPricesData, type LineItemQuantityUpdate, ManualCalculationReason, type ManualCalculationReasonWithLiterals, type Membership, type MembershipName, type MembershipOptions, type MembershipPaymentCredits, type MerchantDiscount, type MerchantDiscountInput, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type OtherCharge, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type Policy, type PriceDescription, type PriceSummary, type ProductName, RateType, type RateTypeWithLiterals, type Region, type RemoveBusinessLocationRequest, type RemoveBusinessLocationResponse, type RemoveCouponFromCurrentCartRequest, type RemoveCouponRequest, type RemoveCouponResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedCarrierServiceOption, type SelectedCarrierServiceOptionOtherCharge, type SelectedCarrierServiceOptionPrices, type SelectedMembership, type SelectedMemberships, type SelectedShippingOption, type ServiceProperties, Severity, type SeverityWithLiterals, type ShippingInformation, type ShippingOption, type ShippingPrice, type ShippingRegion, type StreetAddress, 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 UpdateCartApplicationErrors, type UpdateCartOptions, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartLineItemQuantityRequest, type UpdateLineItemsQuantityRequest, type UpdateLineItemsQuantityResponse, V1ChargeType, type V1ChargeTypeWithLiterals, type V1Coupon, type V1DiscountRule, type V1DiscountRuleName, type V1ItemModifier, type V1MerchantDiscount, type V1ModifierGroup, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, addToCart, createCart, createCheckout, deleteCart, estimateTotals, getCart, getCartByCheckoutId, onCartCreated, onCartDeleted, onCartUpdated, removeBusinessLocation, removeCoupon, removeLineItems, updateCart, updateLineItemsQuantity };
|
|
@@ -42,6 +42,7 @@ __export(index_typings_exports, {
|
|
|
42
42
|
SubscriptionFrequency: () => SubscriptionFrequency,
|
|
43
43
|
SuggestedFix: () => SuggestedFix,
|
|
44
44
|
TaxableAddressType: () => TaxableAddressType,
|
|
45
|
+
V1ChargeType: () => V1ChargeType,
|
|
45
46
|
VatType: () => VatType,
|
|
46
47
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
47
48
|
WeightUnit: () => WeightUnit,
|
|
@@ -196,15 +197,18 @@ function createCart(payload) {
|
|
|
196
197
|
path: "cartInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
197
198
|
},
|
|
198
199
|
{ path: "cartInfo.lineItems.serviceProperties.scheduledDate" },
|
|
200
|
+
{ path: "cartInfo.lineItems.serviceProperties.endDate" },
|
|
199
201
|
{ path: "lineItems.image.urlExpirationDate" },
|
|
200
202
|
{
|
|
201
203
|
path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
202
204
|
},
|
|
203
205
|
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
206
|
+
{ path: "lineItems.serviceProperties.endDate" },
|
|
204
207
|
{
|
|
205
208
|
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
206
209
|
},
|
|
207
|
-
{ path: "customLineItems.serviceProperties.scheduledDate" }
|
|
210
|
+
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
211
|
+
{ path: "customLineItems.serviceProperties.endDate" }
|
|
208
212
|
]
|
|
209
213
|
},
|
|
210
214
|
{
|
|
@@ -250,7 +254,8 @@ function createCart(payload) {
|
|
|
250
254
|
{
|
|
251
255
|
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
252
256
|
},
|
|
253
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" }
|
|
257
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
258
|
+
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
254
259
|
]
|
|
255
260
|
},
|
|
256
261
|
{
|
|
@@ -289,15 +294,18 @@ function updateCart(payload) {
|
|
|
289
294
|
path: "cartInfo.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
290
295
|
},
|
|
291
296
|
{ path: "cartInfo.lineItems.serviceProperties.scheduledDate" },
|
|
297
|
+
{ path: "cartInfo.lineItems.serviceProperties.endDate" },
|
|
292
298
|
{ path: "lineItems.image.urlExpirationDate" },
|
|
293
299
|
{
|
|
294
300
|
path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
295
301
|
},
|
|
296
302
|
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
303
|
+
{ path: "lineItems.serviceProperties.endDate" },
|
|
297
304
|
{
|
|
298
305
|
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
299
306
|
},
|
|
300
|
-
{ path: "customLineItems.serviceProperties.scheduledDate" }
|
|
307
|
+
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
308
|
+
{ path: "customLineItems.serviceProperties.endDate" }
|
|
301
309
|
]
|
|
302
310
|
},
|
|
303
311
|
{
|
|
@@ -343,7 +351,8 @@ function updateCart(payload) {
|
|
|
343
351
|
{
|
|
344
352
|
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
345
353
|
},
|
|
346
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" }
|
|
354
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
355
|
+
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
347
356
|
]
|
|
348
357
|
},
|
|
349
358
|
{
|
|
@@ -391,7 +400,8 @@ function getCart(payload) {
|
|
|
391
400
|
{
|
|
392
401
|
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
393
402
|
},
|
|
394
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" }
|
|
403
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
404
|
+
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
395
405
|
]
|
|
396
406
|
},
|
|
397
407
|
{
|
|
@@ -439,7 +449,8 @@ function getCartByCheckoutId(payload) {
|
|
|
439
449
|
{
|
|
440
450
|
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
441
451
|
},
|
|
442
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" }
|
|
452
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
453
|
+
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
443
454
|
]
|
|
444
455
|
},
|
|
445
456
|
{
|
|
@@ -472,10 +483,12 @@ function addToCart(payload) {
|
|
|
472
483
|
path: "lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
473
484
|
},
|
|
474
485
|
{ path: "lineItems.serviceProperties.scheduledDate" },
|
|
486
|
+
{ path: "lineItems.serviceProperties.endDate" },
|
|
475
487
|
{
|
|
476
488
|
path: "customLineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
477
489
|
},
|
|
478
|
-
{ path: "customLineItems.serviceProperties.scheduledDate" }
|
|
490
|
+
{ path: "customLineItems.serviceProperties.scheduledDate" },
|
|
491
|
+
{ path: "customLineItems.serviceProperties.endDate" }
|
|
479
492
|
]
|
|
480
493
|
},
|
|
481
494
|
{
|
|
@@ -513,7 +526,8 @@ function addToCart(payload) {
|
|
|
513
526
|
{
|
|
514
527
|
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
515
528
|
},
|
|
516
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" }
|
|
529
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
530
|
+
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
517
531
|
]
|
|
518
532
|
},
|
|
519
533
|
{
|
|
@@ -561,7 +575,8 @@ function removeLineItems(payload) {
|
|
|
561
575
|
{
|
|
562
576
|
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
563
577
|
},
|
|
564
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" }
|
|
578
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
579
|
+
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
565
580
|
]
|
|
566
581
|
},
|
|
567
582
|
{
|
|
@@ -641,7 +656,8 @@ function removeCoupon(payload) {
|
|
|
641
656
|
{
|
|
642
657
|
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
643
658
|
},
|
|
644
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" }
|
|
659
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
660
|
+
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
645
661
|
]
|
|
646
662
|
},
|
|
647
663
|
{
|
|
@@ -689,7 +705,8 @@ function updateLineItemsQuantity(payload) {
|
|
|
689
705
|
{
|
|
690
706
|
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
691
707
|
},
|
|
692
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" }
|
|
708
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
709
|
+
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
693
710
|
]
|
|
694
711
|
},
|
|
695
712
|
{
|
|
@@ -749,6 +766,7 @@ function estimateTotals(payload) {
|
|
|
749
766
|
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
750
767
|
},
|
|
751
768
|
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
769
|
+
{ path: "cart.lineItems.serviceProperties.endDate" },
|
|
752
770
|
{
|
|
753
771
|
path: "shippingInfo.selectedCarrierServiceOption.logistics.deliveryTimeSlot.from"
|
|
754
772
|
},
|
|
@@ -846,7 +864,8 @@ function removeBusinessLocation(payload) {
|
|
|
846
864
|
{
|
|
847
865
|
path: "cart.lineItems.subscriptionOptionInfo.subscriptionSettings.startDate"
|
|
848
866
|
},
|
|
849
|
-
{ path: "cart.lineItems.serviceProperties.scheduledDate" }
|
|
867
|
+
{ path: "cart.lineItems.serviceProperties.scheduledDate" },
|
|
868
|
+
{ path: "cart.lineItems.serviceProperties.endDate" }
|
|
850
869
|
]
|
|
851
870
|
},
|
|
852
871
|
{
|
|
@@ -931,6 +950,12 @@ var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
|
931
950
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
932
951
|
return TaxableAddressType2;
|
|
933
952
|
})(TaxableAddressType || {});
|
|
953
|
+
var V1ChargeType = /* @__PURE__ */ ((V1ChargeType2) => {
|
|
954
|
+
V1ChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
955
|
+
V1ChargeType2["PASS_ON"] = "PASS_ON";
|
|
956
|
+
V1ChargeType2["ABSORBED"] = "ABSORBED";
|
|
957
|
+
return V1ChargeType2;
|
|
958
|
+
})(V1ChargeType || {});
|
|
934
959
|
var WeightUnit = /* @__PURE__ */ ((WeightUnit2) => {
|
|
935
960
|
WeightUnit2["UNSPECIFIED_WEIGHT_UNIT"] = "UNSPECIFIED_WEIGHT_UNIT";
|
|
936
961
|
WeightUnit2["KG"] = "KG";
|
|
@@ -1714,6 +1739,7 @@ async function removeBusinessLocation2(_id) {
|
|
|
1714
1739
|
SubscriptionFrequency,
|
|
1715
1740
|
SuggestedFix,
|
|
1716
1741
|
TaxableAddressType,
|
|
1742
|
+
V1ChargeType,
|
|
1717
1743
|
VatType,
|
|
1718
1744
|
WebhookIdentityType,
|
|
1719
1745
|
WeightUnit,
|