@wix/auto_sdk_ecom_cart-v-2 1.0.2 → 1.0.4

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +121 -64
  2. package/build/cjs/index.js +3 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -1
  5. package/build/cjs/index.typings.js +3 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +120 -63
  8. package/build/cjs/meta.js +3 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +121 -64
  11. package/build/es/index.mjs +3 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -1
  14. package/build/es/index.typings.mjs +3 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +120 -63
  17. package/build/es/meta.mjs +3 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +14 -14
  20. package/build/internal/cjs/index.js +3 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +134 -77
  23. package/build/internal/cjs/index.typings.js +3 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +120 -63
  26. package/build/internal/cjs/meta.js +3 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +14 -14
  29. package/build/internal/es/index.mjs +3 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +134 -77
  32. package/build/internal/es/index.typings.mjs +3 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +120 -63
  35. package/build/internal/es/meta.mjs +3 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -722,7 +722,7 @@ interface ItemPaymentConfig {
722
722
  * Must be used with `lineItem.paymentOption` set to `MEMBERSHIP` or `MEMBERSHIP_OFFLINE`.
723
723
  * This field can be empty when `lineItem.paymentOption` is set to `MEMBERSHIP_OFFLINE`.
724
724
  */
725
- selectedMembership?: V2SelectedMembership;
725
+ selectedMembership?: SelectedMembership;
726
726
  /**
727
727
  * Type of selected payment option for current item.
728
728
  *
@@ -730,7 +730,7 @@ interface ItemPaymentConfig {
730
730
  */
731
731
  paymentOption?: PaymentOptionTypeWithLiterals;
732
732
  }
733
- interface V2SelectedMembership {
733
+ interface SelectedMembership {
734
734
  /**
735
735
  * Membership ID.
736
736
  * @minLength 1
@@ -1131,6 +1131,33 @@ interface CustomerInfo extends CustomerInfoIdOneOf {
1131
1131
  * @readonly
1132
1132
  */
1133
1133
  userId?: string;
1134
+ /**
1135
+ * Customer's first name.
1136
+ * @maxLength 100
1137
+ */
1138
+ firstName?: string | null;
1139
+ /**
1140
+ * Customer's last name.
1141
+ * @maxLength 100
1142
+ */
1143
+ lastName?: string | null;
1144
+ /**
1145
+ * Customer's phone number.
1146
+ * @format PHONE
1147
+ */
1148
+ phone?: string | null;
1149
+ /**
1150
+ * Company name.
1151
+ * @maxLength 1000
1152
+ */
1153
+ company?: string | null;
1154
+ /** Business VAT registration number. */
1155
+ vatId?: VatId;
1156
+ /**
1157
+ * Customer's email address.
1158
+ * @format EMAIL
1159
+ */
1160
+ email?: string | null;
1134
1161
  /**
1135
1162
  * The Contact ID of the customer.
1136
1163
  * Created automatically if one does not yet exist.
@@ -1140,19 +1167,14 @@ interface CustomerInfo extends CustomerInfoIdOneOf {
1140
1167
  */
1141
1168
  contactId?: string | null;
1142
1169
  /**
1143
- * The customer's email address.
1144
- * @format EMAIL
1145
- */
1146
- email?: string | null;
1147
- /**
1148
- * The customer's language, represented as a two-letter ISO 639-1 code.
1170
+ * Customer's language, represented as a two-letter ISO 639-1 code.
1149
1171
  * Resolved automatically from the request metadata ('x-wix-linguist' header).
1150
1172
  * @format LANGUAGE
1151
1173
  * @readonly
1152
1174
  */
1153
1175
  languageCode?: string;
1154
1176
  /**
1155
- * The customer’s currency, represented as a three-letter ISO 4217 code.
1177
+ * Customer’s currency, represented as a three-letter ISO 4217 code.
1156
1178
  * Resolved automatically from the request metadata ('x-wix-currency' header).
1157
1179
  * @format CURRENCY
1158
1180
  * @readonly
@@ -1181,11 +1203,31 @@ interface CustomerInfoIdOneOf {
1181
1203
  */
1182
1204
  userId?: string;
1183
1205
  }
1206
+ interface VatId {
1207
+ /** Customer's tax ID. */
1208
+ _id?: string;
1209
+ /**
1210
+ * Tax type.
1211
+ *
1212
+ * Supported values:
1213
+ * + `CPF`: for individual tax payers
1214
+ * + `CNPJ`: for corporations
1215
+ */
1216
+ type?: VatTypeWithLiterals;
1217
+ }
1218
+ /** tax info types */
1219
+ declare enum VatType {
1220
+ UNSPECIFIED = "UNSPECIFIED",
1221
+ /** CPF - for individual tax payers. */
1222
+ CPF = "CPF",
1223
+ /** CNPJ - for corporations */
1224
+ CNPJ = "CNPJ"
1225
+ }
1226
+ /** @enumType */
1227
+ type VatTypeWithLiterals = VatType | 'UNSPECIFIED' | 'CPF' | 'CNPJ';
1184
1228
  interface DeliveryInfo {
1185
1229
  /** The delivery address. */
1186
1230
  address?: Address;
1187
- /** The delivery recipient. */
1188
- recipient?: FullAddressContactDetails;
1189
1231
  /** The selected delivery method by the customer. */
1190
1232
  method?: DeliveryMethod;
1191
1233
  /**
@@ -1251,53 +1293,6 @@ interface AddressLocation {
1251
1293
  /** Address longitude. */
1252
1294
  longitude?: number | null;
1253
1295
  }
1254
- /** Full contact details for an address */
1255
- interface FullAddressContactDetails {
1256
- /**
1257
- * First name.
1258
- * @maxLength 100
1259
- */
1260
- firstName?: string | null;
1261
- /**
1262
- * Last name.
1263
- * @maxLength 100
1264
- */
1265
- lastName?: string | null;
1266
- /**
1267
- * Phone number.
1268
- * @format PHONE
1269
- */
1270
- phone?: string | null;
1271
- /**
1272
- * Company name.
1273
- * @maxLength 1000
1274
- */
1275
- company?: string | null;
1276
- /** Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed. */
1277
- vatId?: VatId;
1278
- }
1279
- interface VatId {
1280
- /** Customer's tax ID. */
1281
- _id?: string;
1282
- /**
1283
- * Tax type.
1284
- *
1285
- * Supported values:
1286
- * + `CPF`: for individual tax payers
1287
- * + `CNPJ`: for corporations
1288
- */
1289
- type?: VatTypeWithLiterals;
1290
- }
1291
- /** tax info types */
1292
- declare enum VatType {
1293
- UNSPECIFIED = "UNSPECIFIED",
1294
- /** CPF - for individual tax payers. */
1295
- CPF = "CPF",
1296
- /** CNPJ - for corporations */
1297
- CNPJ = "CNPJ"
1298
- }
1299
- /** @enumType */
1300
- type VatTypeWithLiterals = VatType | 'UNSPECIFIED' | 'CPF' | 'CNPJ';
1301
1296
  interface DeliveryMethod {
1302
1297
  /**
1303
1298
  * The carrier app id
@@ -1334,7 +1329,7 @@ declare enum WeightUnit {
1334
1329
  type WeightUnitWithLiterals = WeightUnit | 'UNSPECIFIED_WEIGHT_UNIT' | 'KG' | 'LB';
1335
1330
  interface TaxInfo {
1336
1331
  /**
1337
- * Indicates whether tax is already included in prices (line items, discounts, delivery, additional fess).
1332
+ * Indicates whether tax is already included in prices (line items, delivery, additional fess).
1338
1333
  * @readonly
1339
1334
  */
1340
1335
  pricesIncludeTax?: boolean;
@@ -1385,6 +1380,31 @@ interface GiftCard {
1385
1380
  */
1386
1381
  externalId?: string | null;
1387
1382
  }
1383
+ /** Full contact details for an address */
1384
+ interface FullAddressContactDetails {
1385
+ /**
1386
+ * First name.
1387
+ * @maxLength 100
1388
+ */
1389
+ firstName?: string | null;
1390
+ /**
1391
+ * Last name.
1392
+ * @maxLength 100
1393
+ */
1394
+ lastName?: string | null;
1395
+ /**
1396
+ * Phone number.
1397
+ * @format PHONE
1398
+ */
1399
+ phone?: string | null;
1400
+ /**
1401
+ * Company name.
1402
+ * @maxLength 1000
1403
+ */
1404
+ company?: string | null;
1405
+ /** Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed. */
1406
+ vatId?: VatId;
1407
+ }
1388
1408
  interface CartSettings {
1389
1409
  /**
1390
1410
  * Whether to restrict the option to add or remove a gift card on the checkout page.
@@ -1640,7 +1660,12 @@ interface PaymentSummary {
1640
1660
  * A list of valid memberships that will be charged as part of the order.
1641
1661
  * @maxSize 300
1642
1662
  */
1643
- memberships?: SelectedMembership[];
1663
+ memberships?: Membership[];
1664
+ /**
1665
+ * Charges information for each subscription in the checkout.
1666
+ * @maxSize 100
1667
+ */
1668
+ subscriptionCharges?: SubscriptionCharges[];
1644
1669
  /** Indicates whether a remaining payment is required to create the order, after applying gift cards. */
1645
1670
  requiresPaymentAfterGiftCard?: boolean;
1646
1671
  /** The total amount due after applying all gift cards. */
@@ -1661,7 +1686,7 @@ interface GiftCardSummary {
1661
1686
  /** The amount to be reduced from the gift card's balance. */
1662
1687
  redeemAmount?: MultiCurrencyPrice;
1663
1688
  }
1664
- interface SelectedMembership {
1689
+ interface Membership {
1665
1690
  /**
1666
1691
  * Membership ID.
1667
1692
  * @minLength 1
@@ -1681,6 +1706,38 @@ interface SelectedMembership {
1681
1706
  * @maxLength 100
1682
1707
  */
1683
1708
  lineItemIds?: string[];
1709
+ /** The name of this membership. */
1710
+ name?: TranslatableString;
1711
+ }
1712
+ interface SubscriptionCharges {
1713
+ /**
1714
+ * ids of the items the subscription is defined on
1715
+ * @format GUID
1716
+ * @minSize 1
1717
+ * @maxSize 300
1718
+ */
1719
+ lineItemIds?: string[];
1720
+ /**
1721
+ * Generated description explaining future charges amount and schedule.
1722
+ * Translated to subscription order buyer language, or to site language if was not provided.
1723
+ * @maxLength 1000
1724
+ */
1725
+ description?: string | null;
1726
+ /**
1727
+ * Charges for subscription.
1728
+ * @maxSize 50
1729
+ */
1730
+ charges?: Charge[];
1731
+ }
1732
+ interface Charge {
1733
+ /** The cycle number from which the charge starts. */
1734
+ cycleFrom?: number;
1735
+ /** The number of cycles for which the charge is applicable. */
1736
+ cycleCount?: number | null;
1737
+ /** Charge summary. */
1738
+ priceSummary?: PriceSummary;
1739
+ /** The billing date from which the charge starts. */
1740
+ cycleBillingDate?: Date | null;
1684
1741
  }
1685
1742
  interface CalculationError {
1686
1743
  /** The calculation component that caused the error. */
@@ -1920,7 +1977,7 @@ interface CatalogItemInput {
1920
1977
  */
1921
1978
  quantity?: number;
1922
1979
  /** Selected membership to be used as payment for this item. */
1923
- selectedMembership?: V2SelectedMembership;
1980
+ selectedMembership?: SelectedMembership;
1924
1981
  /**
1925
1982
  * Overriding values for catalog item properties.
1926
1983
  * To override catalog fields, your app must have the permission scope named "Manage eCommerce - Admin Permissions".
@@ -2218,7 +2275,7 @@ interface SelectedMembershipUpdate {
2218
2275
  *
2219
2276
  * To just remove current selected membership, and not replace with a new one, pass an empty value here.
2220
2277
  */
2221
- newMembership?: V2SelectedMembership;
2278
+ newMembership?: SelectedMembership;
2222
2279
  }
2223
2280
  interface UpdateLineItemsInCurrentCartResponse {
2224
2281
  /** Updated Cart. */
@@ -2950,4 +3007,4 @@ interface MarkCartAsCompletedOptions {
2950
3007
  orderId?: string | null;
2951
3008
  }
2952
3009
 
2953
- export { type ActionEvent, type AddDiscountRequest, type AddDiscountResponse, type AddDiscountToCurrentCartRequest, type AddDiscountToCurrentCartResponse, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsOptions, type AddLineItemsRequest, type AddLineItemsResponse, type AddLineItemsToCurrentCartRequest, type AddLineItemsToCurrentCartResponse, type AdditionalFee, type AdditionalFeeTax, type Address, type AddressLocation, type ApplicationError, type BusinessInfo, type CalculateCartOptions, type CalculateCartRequest, type CalculateCartResponse, type CalculateCurrentCartRequest, type CalculateCurrentCartResponse, CalculationComponent, type CalculationComponentWithLiterals, type CalculationConfig, type CalculationError, type Cart, type CartSettings, type CartSource, type CartSummary, type CatalogItemInput, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Color, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, type CreateCurrentCartRequest, type CreateCurrentCartResponse, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomItemAttributes, type CustomItemDeliveryConfig, type CustomItemInput, type CustomItemPaymentConfig, type CustomItemPricingInfo, type CustomItemQuantityInfo, type CustomItemSource, type CustomItemTaxConfig, type CustomerInfo, type CustomerInfoIdOneOf, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeleteCurrentCartResponse, type DeliveryInfo, type DeliveryMethod, type DeliverySummary, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Discount, type DiscountBenefit, type DiscountBenefitValueOneOf, DiscountScope, type DiscountScopeWithLiterals, type DiscountSource, DiscountSourceType, type DiscountSourceTypeWithLiterals, DiscountStatus, type DiscountStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ErrorCode, type ErrorCodeWithLiterals, type ExtendedFields, type ExternalReference, type FieldViolation, FileType, type FileTypeWithLiterals, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartRequest, type GetCartResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCheckoutUrlOptions, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardSummary, type Group, type HandleAsyncCheckoutCompletionRequest, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type ItemAttributes, type ItemDeliveryConfig, type ItemModifier, type ItemPaymentConfig, type ItemPriceBreakdown, type ItemPricingInfo, type ItemQuantityInfo, type ItemSource, ItemStatus, type ItemStatusWithLiterals, type ItemTaxConfig, type ItemType, ItemTypeItemType, type ItemTypeItemTypeDataOneOf, type ItemTypeItemTypeWithLiterals, type LineItem, type LineItemSummary, type LineItemTax, type LineItemUpdate, type MarkCartAsCompletedOptions, type MarkCartAsCompletedRequest, type MarkCartAsCompletedResponse, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type PaymentInfo, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentSummary, type PhysicalProperties, type PlaceOrderOptions, type PlaceOrderRequest, type PlaceOrderResponse, type PlainTextValue, type Policy, type PriceDescription, type PriceSummary, type QuantityUpdate, type RawHttpResponse, type RedirectUrls, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type RemoveDiscountFromCurrentCartRequest, type RemoveDiscountFromCurrentCartResponse, type RemoveDiscountRequest, type RemoveDiscountResponse, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsFromCurrentCartResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedMembership, type SelectedMembershipUpdate, type ServiceProperties, Severity, type SeverityWithLiterals, type StreetAddress, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetTargetTypeOneOf, type Tax, type TaxDetails, type TaxInfo, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCart, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsOptions, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type V2AdditionalFee, type V2LineItem, type V2SelectedMembership, type ValidationError, ValidationsConfig, type ValidationsConfigWithLiterals, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals };
3010
+ export { type ActionEvent, type AddDiscountRequest, type AddDiscountResponse, type AddDiscountToCurrentCartRequest, type AddDiscountToCurrentCartResponse, type AddGiftCardRequest, type AddGiftCardResponse, type AddGiftCardToCurrentCartRequest, type AddGiftCardToCurrentCartResponse, type AddLineItemsOptions, type AddLineItemsRequest, type AddLineItemsResponse, type AddLineItemsToCurrentCartRequest, type AddLineItemsToCurrentCartResponse, type AdditionalFee, type AdditionalFeeTax, type Address, type AddressLocation, type ApplicationError, type BusinessInfo, type CalculateCartOptions, type CalculateCartRequest, type CalculateCartResponse, type CalculateCurrentCartRequest, type CalculateCurrentCartResponse, CalculationComponent, type CalculationComponentWithLiterals, type CalculationConfig, type CalculationError, type Cart, type CartSettings, type CartSource, type CartSummary, type CatalogItemInput, type CatalogOverrideFields, type CatalogReference, ChannelType, type ChannelTypeWithLiterals, type Charge, type Color, type CreateCartOptions, type CreateCartRequest, type CreateCartResponse, type CreateCurrentCartRequest, type CreateCurrentCartResponse, type CreatedBy, type CreatedByIdOneOf, type CustomContentReference, type CustomField, type CustomItemAttributes, type CustomItemDeliveryConfig, type CustomItemInput, type CustomItemPaymentConfig, type CustomItemPricingInfo, type CustomItemQuantityInfo, type CustomItemSource, type CustomItemTaxConfig, type CustomerInfo, type CustomerInfoIdOneOf, type DeleteCartRequest, type DeleteCartResponse, type DeleteCurrentCartRequest, type DeleteCurrentCartResponse, type DeliveryInfo, type DeliveryMethod, type DeliverySummary, type Description, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type Discount, type DiscountBenefit, type DiscountBenefitValueOneOf, DiscountScope, type DiscountScopeWithLiterals, type DiscountSource, DiscountSourceType, type DiscountSourceTypeWithLiterals, DiscountStatus, type DiscountStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ErrorCode, type ErrorCodeWithLiterals, type ExtendedFields, type ExternalReference, type FieldViolation, FileType, type FileTypeWithLiterals, type FreeTrialPeriod, type FullAddressContactDetails, type GetCartRequest, type GetCartResponse, type GetCheckoutURLRequest, type GetCheckoutURLResponse, type GetCheckoutUrlOptions, type GetCurrentCartRequest, type GetCurrentCartResponse, type GiftCard, type GiftCardSummary, type Group, type HandleAsyncCheckoutCompletionRequest, type HeadersEntry, type IdentificationData, type IdentificationDataIdOneOf, type ItemAttributes, type ItemDeliveryConfig, type ItemModifier, type ItemPaymentConfig, type ItemPriceBreakdown, type ItemPricingInfo, type ItemQuantityInfo, type ItemSource, ItemStatus, type ItemStatusWithLiterals, type ItemTaxConfig, type ItemType, ItemTypeItemType, type ItemTypeItemTypeDataOneOf, type ItemTypeItemTypeWithLiterals, type LineItem, type LineItemSummary, type LineItemTax, type LineItemUpdate, type MarkCartAsCompletedOptions, type MarkCartAsCompletedRequest, type MarkCartAsCompletedResponse, type Membership, type MessageEnvelope, type ModifierGroup, type MultiCurrencyPrice, NameInLineItem, type NameInLineItemWithLiterals, NameInOther, type NameInOtherWithLiterals, type Other, type PaymentInfo, type PaymentOption, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentSummary, type PhysicalProperties, type PlaceOrderOptions, type PlaceOrderRequest, type PlaceOrderResponse, type PlainTextValue, type Policy, type PriceDescription, type PriceSummary, type QuantityUpdate, type RawHttpResponse, type RedirectUrls, type RefreshCartRequest, type RefreshCartResponse, type RefreshCurrentCartRequest, type RefreshCurrentCartResponse, type RemoveDiscountFromCurrentCartRequest, type RemoveDiscountFromCurrentCartResponse, type RemoveDiscountRequest, type RemoveDiscountResponse, type RemoveGiftCardFromCurrentCartRequest, type RemoveGiftCardFromCurrentCartResponse, type RemoveGiftCardRequest, type RemoveGiftCardResponse, type RemoveLineItemsFromCurrentCartRequest, type RemoveLineItemsFromCurrentCartResponse, type RemoveLineItemsRequest, type RemoveLineItemsResponse, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type Scope, type SecuredMedia, type SelectedMembership, type SelectedMembershipUpdate, type ServiceProperties, Severity, type SeverityWithLiterals, type StreetAddress, type SubscriptionCharges, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionOptionInfo, type SubscriptionSettings, SuggestedFix, type SuggestedFixWithLiterals, type SystemError, type Target, type TargetTargetTypeOneOf, type Tax, type TaxDetails, type TaxInfo, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type Title, type TranslatableString, type UpdateCart, type UpdateCartRequest, type UpdateCartResponse, type UpdateCurrentCartRequest, type UpdateCurrentCartResponse, type UpdateLineItemsInCurrentCartRequest, type UpdateLineItemsInCurrentCartResponse, type UpdateLineItemsOptions, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type V2AdditionalFee, type V2LineItem, type ValidationError, ValidationsConfig, type ValidationsConfigWithLiterals, type VatId, VatType, type VatTypeWithLiterals, type Violation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals };
@@ -488,6 +488,9 @@ function calculateCart(payload) {
488
488
  },
489
489
  {
490
490
  path: "cart.lineItems.attributes.serviceProperties.scheduledDate"
491
+ },
492
+ {
493
+ path: "summary.paymentSummary.subscriptionCharges.charges.cycleBillingDate"
491
494
  }
492
495
  ]
493
496
  },