@wix/auto_sdk_ecom_subscription-contracts 1.0.120 → 1.0.121

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 +1 -1
  2. package/build/cjs/index.js +22 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +14 -1
  5. package/build/cjs/index.typings.js +12 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +14 -1
  8. package/build/cjs/meta.js +14 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +22 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +14 -1
  14. package/build/es/index.typings.mjs +12 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +14 -1
  17. package/build/es/meta.mjs +14 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +22 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +178 -1
  23. package/build/internal/cjs/index.typings.js +12 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +400 -2
  26. package/build/internal/cjs/meta.js +14 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +22 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +178 -1
  32. package/build/internal/es/index.typings.mjs +12 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +400 -2
  35. package/build/internal/es/meta.mjs +14 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -32,6 +32,12 @@ interface SubscriptionContract {
32
32
  * @readonly
33
33
  */
34
34
  _updatedDate?: Date | null;
35
+ /**
36
+ * Corresponding billing subscription id
37
+ * @internal
38
+ * @format GUID
39
+ */
40
+ billingSubscriptionId?: string | null;
35
41
  /**
36
42
  * Subscription option description. For example, `"1kg of selected coffee, once a month"`.
37
43
  * @maxLength 500
@@ -92,6 +98,12 @@ interface SubscriptionContract {
92
98
  billingInfo?: AddressWithContact;
93
99
  /** Shipping info and selected shipping option details. */
94
100
  shippingInfo?: ShippingInformation;
101
+ /**
102
+ * Tax information.
103
+ * @internal
104
+ * @readonly
105
+ */
106
+ taxInfo?: OrderTaxInfo;
95
107
  /**
96
108
  * Applied discounts.
97
109
  * @maxSize 100
@@ -136,6 +148,16 @@ interface SubscriptionContract {
136
148
  * @maxSize 100
137
149
  */
138
150
  additionalFees?: AdditionalFee[];
151
+ /**
152
+ * Order Location
153
+ * @internal
154
+ */
155
+ businessLocation?: Location;
156
+ /**
157
+ * Contract-level settings and allowed actions.
158
+ * @internal
159
+ */
160
+ settings?: SubscriptionContractSettings;
139
161
  /**
140
162
  * Activities recorded on this contract (e.g. draft commits, status changes).
141
163
  * @readonly
@@ -300,6 +322,12 @@ interface OrderLineItem {
300
322
  * @readonly
301
323
  */
302
324
  priceBeforeDiscounts?: Price;
325
+ /**
326
+ * Line item price per unit before line item discounts and before tax.
327
+ * @internal
328
+ * @readonly
329
+ */
330
+ priceBeforeDiscountsAndTax?: Price;
303
331
  /**
304
332
  * Total price after discounts, and before tax.
305
333
  * @readonly
@@ -340,6 +368,17 @@ interface OrderLineItem {
340
368
  * @readonly
341
369
  */
342
370
  depositAmount?: Price;
371
+ /**
372
+ * The item's delivery profile ID.
373
+ * @internal
374
+ * @format GUID
375
+ */
376
+ deliveryProfileId?: string | null;
377
+ /**
378
+ * @internal
379
+ * @format GUID
380
+ */
381
+ shippingGroupId?: string | null;
343
382
  /**
344
383
  * Line item locations.
345
384
  *
@@ -349,6 +388,23 @@ interface OrderLineItem {
349
388
  locations?: LocationAndQuantity[];
350
389
  /** Total price **after** catalog discounts and line item discounts. */
351
390
  lineItemPrice?: Price;
391
+ /**
392
+ * Whether the line item is a custom line item. Custom line items don't trigger the Catalog service plugin.
393
+ * @internal
394
+ * @readonly
395
+ * @immutable
396
+ */
397
+ customLineItem?: boolean | null;
398
+ /**
399
+ * In cases where `catalogReference.catalogItemId` is NOT the actual catalog item ID, this field will return the true item's ID.
400
+ * + For example, for Wix Bookings, `catalogReference.catalogItemId` is the booking ID. Therefore this value is set to the service ID.
401
+ * + In most cases, this field has the same value as `catalogReference.catalogItemId`.
402
+ * @internal
403
+ * @minLength 1
404
+ * @maxLength 36
405
+ * @readonly
406
+ */
407
+ rootCatalogItemId?: string | null;
352
408
  /** Address used for tax calculation. */
353
409
  taxableAddress?: TaxableAddress;
354
410
  /**
@@ -397,6 +453,12 @@ interface OrderLineItem {
397
453
  * @immutable
398
454
  */
399
455
  externalLineItemId?: string | null;
456
+ /**
457
+ * Service properties. When relevant, this contains information such as the date and number of participants.
458
+ * @internal
459
+ * @readonly
460
+ */
461
+ serviceProperties?: ServiceProperties;
400
462
  }
401
463
  interface ProductName {
402
464
  /**
@@ -466,8 +528,26 @@ interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDesc
466
528
  plainText?: PlainTextValue;
467
529
  /** Description line color value. */
468
530
  colorInfo?: Color;
531
+ /**
532
+ * Description line plain text value.
533
+ * @internal
534
+ * @deprecated
535
+ */
536
+ plainTextValue?: PlainTextValue;
537
+ /**
538
+ * Description line color.
539
+ * @internal
540
+ * @deprecated
541
+ */
542
+ color?: string;
469
543
  /** Description line name. */
470
544
  name?: DescriptionLineName;
545
+ /**
546
+ * Description line type.
547
+ * @internal
548
+ * @deprecated
549
+ */
550
+ lineType?: DescriptionLineTypeWithLiterals;
471
551
  }
472
552
  /** @oneof */
473
553
  interface DescriptionLineValueOneOf {
@@ -478,6 +558,18 @@ interface DescriptionLineValueOneOf {
478
558
  }
479
559
  /** @oneof */
480
560
  interface DescriptionLineDescriptionLineValueOneOf {
561
+ /**
562
+ * Description line plain text value.
563
+ * @internal
564
+ * @deprecated
565
+ */
566
+ plainTextValue?: PlainTextValue;
567
+ /**
568
+ * Description line color.
569
+ * @internal
570
+ * @deprecated
571
+ */
572
+ color?: string;
481
573
  }
482
574
  interface DescriptionLineName {
483
575
  /**
@@ -659,6 +751,12 @@ type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' |
659
751
  interface ItemTaxFullDetails {
660
752
  /** Taxable amount of this line item. */
661
753
  taxableAmount?: Price;
754
+ /**
755
+ * ID of the item's tax group, if specified.
756
+ * @internal
757
+ * @format GUID
758
+ */
759
+ taxGroupId?: string | null;
662
760
  /**
663
761
  * Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`.
664
762
  * @decimalValue options { gte:0, maxScale:6 }
@@ -1147,6 +1245,25 @@ interface ItemModifier {
1147
1245
  /** The price of the modifier. */
1148
1246
  price?: Price;
1149
1247
  }
1248
+ interface ServiceProperties {
1249
+ /**
1250
+ * Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
1251
+ * For example, the start time of a class.
1252
+ */
1253
+ scheduledDate?: Date | null;
1254
+ /**
1255
+ * The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room.
1256
+ * @min 1
1257
+ * @max 10000
1258
+ */
1259
+ numberOfParticipants?: number | null;
1260
+ /**
1261
+ * 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.
1262
+ * For example, the date and time a class will end.
1263
+ * @internal
1264
+ */
1265
+ endDate?: Date | null;
1266
+ }
1150
1267
  /** Buyer information. */
1151
1268
  interface BuyerInfo extends BuyerInfoIdOneOf {
1152
1269
  /**
@@ -1220,8 +1337,26 @@ interface PriceSummary {
1220
1337
  tax?: Price;
1221
1338
  /** Total discount amount applied to the order. */
1222
1339
  discount?: Price;
1340
+ /**
1341
+ * Deprecated - use `total` instead.
1342
+ * @internal
1343
+ * @deprecated
1344
+ */
1345
+ totalPrice?: Price;
1223
1346
  /** Order's total price after discounts and tax. */
1224
1347
  total?: Price;
1348
+ /**
1349
+ * Order's total price including gift card.
1350
+ * @internal
1351
+ * @deprecated
1352
+ */
1353
+ totalWithGiftCard?: Price;
1354
+ /**
1355
+ * Order's total price after without gift card.
1356
+ * @internal
1357
+ * @deprecated
1358
+ */
1359
+ totalWithoutGiftCard?: Price;
1225
1360
  /** Total additional fees before tax. */
1226
1361
  totalAdditionalFees?: Price;
1227
1362
  }
@@ -1333,6 +1468,16 @@ interface StreetAddress {
1333
1468
  number?: string;
1334
1469
  /** Street name. */
1335
1470
  name?: string;
1471
+ /**
1472
+ * Apartment number.
1473
+ * @internal
1474
+ */
1475
+ apt?: string;
1476
+ /**
1477
+ * Optional address line 1
1478
+ * @internal
1479
+ */
1480
+ formattedAddressLine?: string | null;
1336
1481
  }
1337
1482
  interface AddressLocation {
1338
1483
  /** Address latitude. */
@@ -1493,6 +1638,8 @@ interface PickupAddress {
1493
1638
  * @readonly
1494
1639
  */
1495
1640
  subdivisionFullname?: string | null;
1641
+ /** @internal */
1642
+ location?: AddressLocation;
1496
1643
  }
1497
1644
  declare enum PickupMethod {
1498
1645
  STORE_PICKUP = "STORE_PICKUP",
@@ -1549,6 +1696,13 @@ interface OrderTaxInfo {
1549
1696
  * @maxSize 50
1550
1697
  */
1551
1698
  taxBreakdown?: OrderTaxBreakdown[];
1699
+ /**
1700
+ * Manual tax rate
1701
+ * @internal
1702
+ * @decimalValue options { gte:0 }
1703
+ * @readonly
1704
+ */
1705
+ manualTaxRate?: string | null;
1552
1706
  /**
1553
1707
  * Whether the order is exempt from tax calculations.
1554
1708
  *
@@ -1593,6 +1747,11 @@ interface OrderTaxBreakdown {
1593
1747
  rate?: string;
1594
1748
  /** The sum of all the tax from line items that calculated by the tax identifiers. */
1595
1749
  aggregatedTaxAmount?: Price;
1750
+ /**
1751
+ * The sum of all the taxable amount from line items for tax identifiers.
1752
+ * @internal
1753
+ */
1754
+ aggregatedTaxableAmount?: Price;
1596
1755
  /**
1597
1756
  * The aggregated exempt amount from all line items for tax identifiers.
1598
1757
  * @internal
@@ -1699,6 +1858,12 @@ interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
1699
1858
  * @decimalValue options { gte:0, lte:100, maxScale:2 }
1700
1859
  */
1701
1860
  percentage?: string | null;
1861
+ /**
1862
+ * Discount name.
1863
+ * @internal
1864
+ * @maxLength 200
1865
+ */
1866
+ name?: string | null;
1702
1867
  }
1703
1868
  /** @oneof */
1704
1869
  interface MerchantDiscountMerchantDiscountReasonOneOf {
@@ -2357,6 +2522,13 @@ interface GetSubscriptionContractResponse {
2357
2522
  interface UpdateSubscriptionContractRequest {
2358
2523
  /** SubscriptionContract to be updated, may be partial. */
2359
2524
  subscriptionContract?: SubscriptionContract;
2525
+ /**
2526
+ * Set of fields to update.
2527
+ *
2528
+ * Fields that aren't included in `fieldMask.paths` are ignored.
2529
+ * @internal
2530
+ */
2531
+ fieldMask?: string[];
2360
2532
  }
2361
2533
  interface UpdateSubscriptionContractResponse {
2362
2534
  /** Updated SubscriptionContract. */
@@ -2597,6 +2769,11 @@ interface BulkUpdateSubscriptionContractsRequest {
2597
2769
  interface MaskedSubscriptionContract {
2598
2770
  /** Subscription contract to be updated. */
2599
2771
  subscriptionContract?: SubscriptionContract;
2772
+ /**
2773
+ * Field mask of fields to update.
2774
+ * @internal
2775
+ */
2776
+ fieldMask?: string[];
2600
2777
  }
2601
2778
  interface BulkUpdateSubscriptionContractsResponse {
2602
2779
  /**
@@ -3020,4 +3197,4 @@ declare const utils: {
3020
3197
  };
3021
3198
  };
3022
3199
 
3023
- export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionInitiator, type ActionInitiatorWithLiterals, type ActivityAuthor, type ActivityAuthorValueOneOf, ActivityType, type ActivityTypeWithLiterals, type AdditionalFee, type AdditionalFeeDelta, type AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDelta, type AppliedDiscountDeltaDeltaDetailsOneOf, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingSettings, type BulkActionMetadata, type BulkCreateSubscriptionContractsRequest, type BulkCreateSubscriptionContractsResponse, type BulkSubscriptionContractResult, type BulkUpdateSubscriptionContractsRequest, type BulkUpdateSubscriptionContractsResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, ChangeType, type ChangeTypeWithLiterals, type ChangesAppliedActivity, type ChangesAppliedActivityTargetOneOf, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type CommitSubscriptionContractChangesRequest, type CommitSubscriptionContractChangesResponse, type CommonQueryWithEntityContext, type ContractChange, type ContractChangeValueOneOf, type ContractTarget, type Coupon, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type DecimalQuantity, type DecimalQuantityUnitOneOf, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemCombination, type ItemCombinationLineItem, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemChanges, type LineItemDelta, type LineItemDiscount, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MaskedSubscriptionContract, MeasurementUnit, type MeasurementUnitWithLiterals, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type OrderLineItem, type OrderTaxBreakdown, type OrderTaxInfo, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QuerySubscriptionContractsRequest, type QuerySubscriptionContractsResponse, type RestockLocation, type RestoreInfo, type ShippingInformation, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, type SubscriptionCommitSettings, type SubscriptionContract, type SubscriptionContractActivity, type SubscriptionContractActivityContentOneOf, type SubscriptionContractActivityTargetOneOf, type SubscriptionContractCanceled, type SubscriptionContractChangesCommitted, type SubscriptionContractCreatedEnvelope, type SubscriptionContractDeletedEnvelope, type SubscriptionContractDiffs, type SubscriptionContractExpired, type SubscriptionContractQuery, type SubscriptionContractQuerySpec, type SubscriptionContractSettings, type SubscriptionContractUpdatedEnvelope, type SubscriptionContractsQueryBuilder, type SubscriptionContractsQueryResult, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, type SubscriptionSettingsProductPeriodAlignmentWithLiterals, type SubscriptionTitle, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateSubscriptionContractRequest, type UpdateSubscriptionContractResponse, type V1BillingSettings, type V1FreeTrialPeriod, type V1SubscriptionDescription, type V1SubscriptionSettings, type V1SubscriptionTitle, V2SubscriptionFrequency, type V2SubscriptionFrequencyWithLiterals, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getSubscriptionContract, onSubscriptionContractCreated, onSubscriptionContractDeleted, onSubscriptionContractUpdated, querySubscriptionContracts, typedQuerySubscriptionContracts, utils };
3200
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, ActionInitiator, type ActionInitiatorWithLiterals, type ActivityAuthor, type ActivityAuthorValueOneOf, ActivityType, type ActivityTypeWithLiterals, type AdditionalFee, type AdditionalFeeDelta, type AdditionalFeeDeltaDeltaDetailsOneOf, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDelta, type AppliedDiscountDeltaDeltaDetailsOneOf, type AppliedDiscountDiscountSourceOneOf, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingSettings, type BulkActionMetadata, type BulkCreateSubscriptionContractsRequest, type BulkCreateSubscriptionContractsResponse, type BulkSubscriptionContractResult, type BulkUpdateSubscriptionContractsRequest, type BulkUpdateSubscriptionContractsResponse, type BuyerInfo, type BuyerInfoIdOneOf, type CatalogReference, ChangeType, type ChangeTypeWithLiterals, type ChangesAppliedActivity, type ChangesAppliedActivityTargetOneOf, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type Color, type CommitSubscriptionContractChangesRequest, type CommitSubscriptionContractChangesResponse, type CommonQueryWithEntityContext, type ContractChange, type ContractChangeValueOneOf, type ContractTarget, type Coupon, type CreateSubscriptionContractRequest, type CreateSubscriptionContractResponse, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomField, type DecimalQuantity, type DecimalQuantityUnitOneOf, type DeliveryLogistics, type DeliveryLogisticsAddressOneOf, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type FocalPoint, type FreeTrialPeriod, type FullAddressContactDetails, type GetSubscriptionContractRequest, type GetSubscriptionContractResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemCombination, type ItemCombinationLineItem, type ItemMetadata, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemChanges, type LineItemDelta, type LineItemDiscount, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MaskedSubscriptionContract, MeasurementUnit, type MeasurementUnitWithLiterals, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type OrderLineItem, type OrderTaxBreakdown, type OrderTaxInfo, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QuerySubscriptionContractsRequest, type QuerySubscriptionContractsResponse, type RestockLocation, type RestoreInfo, type ServiceProperties, type ShippingInformation, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, type SubscriptionCommitSettings, type SubscriptionContract, type SubscriptionContractActivity, type SubscriptionContractActivityContentOneOf, type SubscriptionContractActivityTargetOneOf, type SubscriptionContractCanceled, type SubscriptionContractChangesCommitted, type SubscriptionContractCreatedEnvelope, type SubscriptionContractDeletedEnvelope, type SubscriptionContractDiffs, type SubscriptionContractExpired, type SubscriptionContractQuery, type SubscriptionContractQuerySpec, type SubscriptionContractSettings, type SubscriptionContractUpdatedEnvelope, type SubscriptionContractsQueryBuilder, type SubscriptionContractsQueryResult, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, SubscriptionSettingsProductPeriodAlignment, type SubscriptionSettingsProductPeriodAlignmentWithLiterals, type SubscriptionTitle, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateSubscriptionContractRequest, type UpdateSubscriptionContractResponse, type V1BillingSettings, type V1FreeTrialPeriod, type V1SubscriptionDescription, type V1SubscriptionSettings, type V1SubscriptionTitle, V2SubscriptionFrequency, type V2SubscriptionFrequencyWithLiterals, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, getSubscriptionContract, onSubscriptionContractCreated, onSubscriptionContractDeleted, onSubscriptionContractUpdated, querySubscriptionContracts, typedQuerySubscriptionContracts, utils };
@@ -80,6 +80,12 @@ function getSubscriptionContract(payload) {
80
80
  {
81
81
  path: "subscriptionContract.lineItems.subscriptionInfo.subscriptionSettings.startDate"
82
82
  },
83
+ {
84
+ path: "subscriptionContract.lineItems.serviceProperties.scheduledDate"
85
+ },
86
+ {
87
+ path: "subscriptionContract.lineItems.serviceProperties.endDate"
88
+ },
83
89
  {
84
90
  path: "subscriptionContract.shippingInfo.logistics.deliverByDate"
85
91
  },
@@ -164,6 +170,12 @@ function querySubscriptionContracts(payload) {
164
170
  {
165
171
  path: "subscriptionContracts.lineItems.subscriptionInfo.subscriptionSettings.startDate"
166
172
  },
173
+ {
174
+ path: "subscriptionContracts.lineItems.serviceProperties.scheduledDate"
175
+ },
176
+ {
177
+ path: "subscriptionContracts.lineItems.serviceProperties.endDate"
178
+ },
167
179
  {
168
180
  path: "subscriptionContracts.shippingInfo.logistics.deliverByDate"
169
181
  },