@wix/auto_sdk_ecom_subscription-contracts 1.0.119 → 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 (49) hide show
  1. package/build/cjs/index.d.ts +2 -2
  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 +62 -2
  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 +61 -1
  8. package/build/cjs/meta.js +14 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +80 -0
  11. package/build/cjs/schemas.js +126 -0
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +2 -2
  14. package/build/es/index.mjs +22 -0
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +62 -2
  17. package/build/es/index.typings.mjs +12 -0
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +61 -1
  20. package/build/es/meta.mjs +14 -0
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +80 -0
  23. package/build/es/schemas.mjs +126 -0
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +2 -2
  26. package/build/internal/cjs/index.js +22 -0
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +197 -10
  29. package/build/internal/cjs/index.typings.js +12 -0
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +447 -2
  32. package/build/internal/cjs/meta.js +14 -0
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +80 -0
  35. package/build/internal/cjs/schemas.js +126 -0
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +2 -2
  38. package/build/internal/es/index.mjs +22 -0
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +197 -10
  41. package/build/internal/es/index.typings.mjs +12 -0
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +447 -2
  44. package/build/internal/es/meta.mjs +14 -0
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +80 -0
  47. package/build/internal/es/schemas.mjs +126 -0
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. 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
@@ -40,6 +46,11 @@ interface SubscriptionContract {
40
46
  * @targetRemovalDate 2025-10-01
41
47
  */
42
48
  description?: string | null;
49
+ /**
50
+ * Subscription option description. For example, `"1kg of selected coffee, once a month"`.
51
+ * @internal
52
+ */
53
+ subscriptionDescription?: V1SubscriptionDescription;
43
54
  /**
44
55
  * Subscription detailed information.
45
56
  * @immutable
@@ -87,6 +98,12 @@ interface SubscriptionContract {
87
98
  billingInfo?: AddressWithContact;
88
99
  /** Shipping info and selected shipping option details. */
89
100
  shippingInfo?: ShippingInformation;
101
+ /**
102
+ * Tax information.
103
+ * @internal
104
+ * @readonly
105
+ */
106
+ taxInfo?: OrderTaxInfo;
90
107
  /**
91
108
  * Applied discounts.
92
109
  * @maxSize 100
@@ -121,11 +138,26 @@ interface SubscriptionContract {
121
138
  * @targetRemovalDate 2025-10-01
122
139
  */
123
140
  title?: string | null;
141
+ /**
142
+ * Subscription title. For example, `"Monthly coffee Subscription"`.
143
+ * @internal
144
+ */
145
+ subscriptionTitle?: V1SubscriptionTitle;
124
146
  /**
125
147
  * Additional fees applied to subscription contract.
126
148
  * @maxSize 100
127
149
  */
128
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;
129
161
  /**
130
162
  * Activities recorded on this contract (e.g. draft commits, status changes).
131
163
  * @readonly
@@ -165,6 +197,21 @@ interface V1SubscriptionSettings {
165
197
  enableCustomerCancellation?: boolean;
166
198
  /** Period until first cycle starts. If None => no free trial */
167
199
  freeTrialPeriod?: V1FreeTrialPeriod;
200
+ /**
201
+ * The date the subscription will start. The subscription will be charged either now or according to freeTrialDays.
202
+ * @internal
203
+ */
204
+ startDate?: Date | null;
205
+ /**
206
+ * Billing configuration for recurring charges.
207
+ * @internal
208
+ */
209
+ billingSettings?: V1BillingSettings;
210
+ /**
211
+ * Whether the product/service/subscription access period is aligned with the billing period.
212
+ * @internal
213
+ */
214
+ productPeriodAlignment?: SubscriptionSettingsProductPeriodAlignmentWithLiterals;
168
215
  }
169
216
  declare enum SubscriptionFrequency {
170
217
  UNDEFINED = "UNDEFINED",
@@ -257,6 +304,17 @@ interface OrderLineItem {
257
304
  * @max 100000
258
305
  */
259
306
  restockQuantity?: number | null;
307
+ /**
308
+ * Per-location restock breakdown.
309
+ *
310
+ * Populated when items are restocked to specific locations.
311
+ * The sum of all `quantity` values equals `restockQuantity`.
312
+ * Empty when no location-specific restock was performed.
313
+ * @internal
314
+ * @maxSize 5
315
+ * @readonly
316
+ */
317
+ restockLocations?: RestockLocation[];
260
318
  /** Line item price after line item discounts for display purposes. */
261
319
  price?: Price;
262
320
  /**
@@ -264,6 +322,12 @@ interface OrderLineItem {
264
322
  * @readonly
265
323
  */
266
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;
267
331
  /**
268
332
  * Total price after discounts, and before tax.
269
333
  * @readonly
@@ -304,6 +368,17 @@ interface OrderLineItem {
304
368
  * @readonly
305
369
  */
306
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;
307
382
  /**
308
383
  * Line item locations.
309
384
  *
@@ -313,14 +388,51 @@ interface OrderLineItem {
313
388
  locations?: LocationAndQuantity[];
314
389
  /** Total price **after** catalog discounts and line item discounts. */
315
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;
316
408
  /** Address used for tax calculation. */
317
409
  taxableAddress?: TaxableAddress;
410
+ /**
411
+ * ID of the app managing the inventory.
412
+ * @internal
413
+ * @format GUID
414
+ */
415
+ inventoryAppId?: string | null;
318
416
  /**
319
417
  * Whether the price is not yet defined, and will be updated after the order is created.
320
418
  *
321
419
  * Default: `false`
322
420
  */
323
421
  priceUndetermined?: boolean;
422
+ /**
423
+ * Whether the line item quantity is fixed and cannot be changed.
424
+ *
425
+ * Default: `false`
426
+ */
427
+ fixedQuantity?: boolean;
428
+ /**
429
+ * Decimal-quantity metadata. Set when the line represents a
430
+ * non-integer purchase (e.g. 2.75 m² of fake grass).
431
+ *
432
+ * When set, the line item must have `fixedQuantity` = true and be set with `quantity` = 1.
433
+ * The decimal value lives in `decimalQuantity.value`.
434
+ */
435
+ decimalQuantity?: DecimalQuantity;
324
436
  /**
325
437
  * Custom extended fields for the line item object.
326
438
  *
@@ -333,6 +445,20 @@ interface OrderLineItem {
333
445
  * @maxSize 10
334
446
  */
335
447
  modifierGroups?: ModifierGroup[];
448
+ /**
449
+ * Line item ID in external systems.
450
+ * @internal
451
+ * @minLength 1
452
+ * @maxLength 100
453
+ * @immutable
454
+ */
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;
336
462
  }
337
463
  interface ProductName {
338
464
  /**
@@ -402,8 +528,26 @@ interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDesc
402
528
  plainText?: PlainTextValue;
403
529
  /** Description line color value. */
404
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;
405
543
  /** Description line name. */
406
544
  name?: DescriptionLineName;
545
+ /**
546
+ * Description line type.
547
+ * @internal
548
+ * @deprecated
549
+ */
550
+ lineType?: DescriptionLineTypeWithLiterals;
407
551
  }
408
552
  /** @oneof */
409
553
  interface DescriptionLineValueOneOf {
@@ -414,6 +558,18 @@ interface DescriptionLineValueOneOf {
414
558
  }
415
559
  /** @oneof */
416
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;
417
573
  }
418
574
  interface DescriptionLineName {
419
575
  /**
@@ -486,11 +642,29 @@ interface Image {
486
642
  width?: number;
487
643
  /** Image alt text. */
488
644
  altText?: string | null;
645
+ /**
646
+ * Image URL expiration date (when relevant).
647
+ * @internal
648
+ * @readonly
649
+ */
650
+ urlExpirationDate?: Date | null;
489
651
  /**
490
652
  * Image filename.
491
653
  * @readonly
492
654
  */
493
655
  filename?: string | null;
656
+ /**
657
+ * Image size in bytes.
658
+ * @internal
659
+ * @readonly
660
+ * @format DECIMAL_VALUE
661
+ */
662
+ sizeInBytes?: string | null;
663
+ /**
664
+ * Focal point of the image.
665
+ * @internal
666
+ */
667
+ focalPoint?: FocalPoint;
494
668
  }
495
669
  interface FocalPoint {
496
670
  /** X-coordinate of the focal point. */
@@ -512,6 +686,16 @@ interface PhysicalProperties {
512
686
  sku?: string | null;
513
687
  /** Whether this line item is shippable. */
514
688
  shippable?: boolean;
689
+ /**
690
+ * Product dimensions (length, width, height of the physical product).
691
+ * @internal
692
+ */
693
+ productDimensions?: Dimensions;
694
+ /**
695
+ * Package dimensions (length, width, height of the shipping package).
696
+ * @internal
697
+ */
698
+ packageDimensions?: Dimensions;
515
699
  }
516
700
  interface Dimensions {
517
701
  /**
@@ -608,6 +792,12 @@ type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' |
608
792
  interface ItemTaxFullDetails {
609
793
  /** Taxable amount of this line item. */
610
794
  taxableAmount?: Price;
795
+ /**
796
+ * ID of the item's tax group, if specified.
797
+ * @internal
798
+ * @format GUID
799
+ */
800
+ taxGroupId?: string | null;
611
801
  /**
612
802
  * Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`.
613
803
  * @decimalValue options { gte:0, maxScale:6 }
@@ -615,6 +805,11 @@ interface ItemTaxFullDetails {
615
805
  taxRate?: string;
616
806
  /** The calculated tax, based on the `taxableAmount` and `taxRate`. */
617
807
  totalTax?: Price;
808
+ /**
809
+ * Amount that was exempt from tax calculations.
810
+ * @internal
811
+ */
812
+ exemptAmount?: Price;
618
813
  }
619
814
  interface LineItemTaxInfo {
620
815
  /** Calculated tax, based on `taxable_amount` and `tax_rate`. */
@@ -639,6 +834,11 @@ interface LineItemTaxInfo {
639
834
  * @maxSize 7
640
835
  */
641
836
  taxBreakdown?: LineItemTaxBreakdown[];
837
+ /**
838
+ * Amount of the line item price that was exempt from tax.
839
+ * @internal
840
+ */
841
+ exemptAmount?: Price;
642
842
  }
643
843
  /**
644
844
  * TaxBreakdown represents tax information for a line item.
@@ -675,6 +875,11 @@ interface LineItemTaxBreakdown {
675
875
  nonTaxableAmount?: Price;
676
876
  /** Taxable amount of the line item price. */
677
877
  taxableAmount?: Price;
878
+ /**
879
+ * Amount of the line item price that was exempt from this authority.
880
+ * @internal
881
+ */
882
+ exemptAmount?: Price;
678
883
  }
679
884
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
680
885
  declare enum JurisdictionType {
@@ -723,6 +928,11 @@ interface SubscriptionInfo {
723
928
  * @targetRemovalDate 2025-10-01
724
929
  */
725
930
  subscriptionOptionTitle?: string;
931
+ /**
932
+ * Subscription title. For example, `"Monthly coffee Subscription"`.
933
+ * @internal
934
+ */
935
+ title?: SubscriptionTitle;
726
936
  /**
727
937
  * Subscription option description. For example, `"1kg of selected coffee, once a month"`.
728
938
  * @maxLength 500
@@ -731,6 +941,11 @@ interface SubscriptionInfo {
731
941
  * @targetRemovalDate 2025-10-01
732
942
  */
733
943
  subscriptionOptionDescription?: string | null;
944
+ /**
945
+ * Subscription description. For example, `"1kg of selected coffee, once a month"`.
946
+ * @internal
947
+ */
948
+ description?: SubscriptionDescription;
734
949
  /**
735
950
  * Subscription detailed information.
736
951
  * @immutable
@@ -741,6 +956,11 @@ interface SubscriptionInfo {
741
956
  * @maxLength 1000
742
957
  */
743
958
  chargesDescription?: string | null;
959
+ /**
960
+ * Details of the billing adjustment applied to the current subscription cycle due to a shift in the subscription’s billing date.
961
+ * @internal
962
+ */
963
+ billingAdjustment?: BillingAdjustment;
744
964
  }
745
965
  interface SubscriptionTitle {
746
966
  /**
@@ -790,6 +1010,21 @@ interface SubscriptionSettings {
790
1010
  enableCustomerCancellation?: boolean;
791
1011
  /** Period until first cycle starts. If None => no free trial */
792
1012
  freeTrialPeriod?: FreeTrialPeriod;
1013
+ /**
1014
+ * The date the subscription will start. The subscription will be charged either now or according to freeTrialDays.
1015
+ * @internal
1016
+ */
1017
+ startDate?: Date | null;
1018
+ /**
1019
+ * Billing configuration for recurring charges.
1020
+ * @internal
1021
+ */
1022
+ billingSettings?: BillingSettings;
1023
+ /**
1024
+ * Whether the product/service/subscription access period is aligned with the billing period.
1025
+ * @internal
1026
+ */
1027
+ productPeriodAlignment?: ProductPeriodAlignmentWithLiterals;
793
1028
  }
794
1029
  /** Frequency unit of recurring payment */
795
1030
  declare enum V2SubscriptionFrequency {
@@ -920,9 +1155,42 @@ type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING
920
1155
  * than from `lineItem.quantity`.
921
1156
  */
922
1157
  interface DecimalQuantity extends DecimalQuantityUnitOneOf {
1158
+ /** Unit the value is expressed in, selected from the standard `measurementUnit` enum. */
1159
+ measurementUnit?: MeasurementUnitWithLiterals;
1160
+ /**
1161
+ * Free-form unit name for standard units not in the
1162
+ * `measurementUnit` enum (e.g. "hour", "minute", "session").
1163
+ * @minLength 1
1164
+ * @maxLength 50
1165
+ */
1166
+ otherUnit?: string;
1167
+ /**
1168
+ * The decimal quantity the buyer / merchant entered.
1169
+ *
1170
+ * String-encoded decimal. The exact value is preserved — no
1171
+ * rounding, no conversion to an integer.
1172
+ *
1173
+ * Examples: "2.75", "1.5", "0.75".
1174
+ * @decimalValue options { gt:0, lte:1000000000000000, maxScale:4 }
1175
+ */
1176
+ value?: string;
1177
+ /**
1178
+ * Human-readable, pre-formatted display string for the quantity. For example, "2.75 square meters of fake grass".
1179
+ * Always set alongside `value`; use this directly for display rather than composing your own string from `value` and `unit`.
1180
+ */
1181
+ description?: TranslatableString;
923
1182
  }
924
1183
  /** @oneof */
925
1184
  interface DecimalQuantityUnitOneOf {
1185
+ /** Unit the value is expressed in, selected from the standard `measurementUnit` enum. */
1186
+ measurementUnit?: MeasurementUnitWithLiterals;
1187
+ /**
1188
+ * Free-form unit name for standard units not in the
1189
+ * `measurementUnit` enum (e.g. "hour", "minute", "session").
1190
+ * @minLength 1
1191
+ * @maxLength 50
1192
+ */
1193
+ otherUnit?: string;
926
1194
  }
927
1195
  interface TranslatableString {
928
1196
  /**
@@ -1018,6 +1286,25 @@ interface ItemModifier {
1018
1286
  /** The price of the modifier. */
1019
1287
  price?: Price;
1020
1288
  }
1289
+ interface ServiceProperties {
1290
+ /**
1291
+ * 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.
1292
+ * For example, the start time of a class.
1293
+ */
1294
+ scheduledDate?: Date | null;
1295
+ /**
1296
+ * 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.
1297
+ * @min 1
1298
+ * @max 10000
1299
+ */
1300
+ numberOfParticipants?: number | null;
1301
+ /**
1302
+ * 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.
1303
+ * For example, the date and time a class will end.
1304
+ * @internal
1305
+ */
1306
+ endDate?: Date | null;
1307
+ }
1021
1308
  /** Buyer information. */
1022
1309
  interface BuyerInfo extends BuyerInfoIdOneOf {
1023
1310
  /**
@@ -1091,8 +1378,26 @@ interface PriceSummary {
1091
1378
  tax?: Price;
1092
1379
  /** Total discount amount applied to the order. */
1093
1380
  discount?: Price;
1381
+ /**
1382
+ * Deprecated - use `total` instead.
1383
+ * @internal
1384
+ * @deprecated
1385
+ */
1386
+ totalPrice?: Price;
1094
1387
  /** Order's total price after discounts and tax. */
1095
1388
  total?: Price;
1389
+ /**
1390
+ * Order's total price including gift card.
1391
+ * @internal
1392
+ * @deprecated
1393
+ */
1394
+ totalWithGiftCard?: Price;
1395
+ /**
1396
+ * Order's total price after without gift card.
1397
+ * @internal
1398
+ * @deprecated
1399
+ */
1400
+ totalWithoutGiftCard?: Price;
1096
1401
  /** Total additional fees before tax. */
1097
1402
  totalAdditionalFees?: Price;
1098
1403
  }
@@ -1204,6 +1509,16 @@ interface StreetAddress {
1204
1509
  number?: string;
1205
1510
  /** Street name. */
1206
1511
  name?: string;
1512
+ /**
1513
+ * Apartment number.
1514
+ * @internal
1515
+ */
1516
+ apt?: string;
1517
+ /**
1518
+ * Optional address line 1
1519
+ * @internal
1520
+ */
1521
+ formattedAddressLine?: string | null;
1207
1522
  }
1208
1523
  interface AddressLocation {
1209
1524
  /** Address latitude. */
@@ -1364,6 +1679,8 @@ interface PickupAddress {
1364
1679
  * @readonly
1365
1680
  */
1366
1681
  subdivisionFullname?: string | null;
1682
+ /** @internal */
1683
+ geocode?: AddressLocation;
1367
1684
  }
1368
1685
  declare enum PickupMethod {
1369
1686
  STORE_PICKUP = "STORE_PICKUP",
@@ -1420,6 +1737,13 @@ interface OrderTaxInfo {
1420
1737
  * @maxSize 50
1421
1738
  */
1422
1739
  taxBreakdown?: OrderTaxBreakdown[];
1740
+ /**
1741
+ * Manual tax rate
1742
+ * @internal
1743
+ * @decimalValue options { gte:0 }
1744
+ * @readonly
1745
+ */
1746
+ manualTaxRate?: string | null;
1423
1747
  /**
1424
1748
  * Whether the order is exempt from tax calculations.
1425
1749
  *
@@ -1427,6 +1751,12 @@ interface OrderTaxInfo {
1427
1751
  * @readonly
1428
1752
  */
1429
1753
  taxExempt?: boolean | null;
1754
+ /**
1755
+ * The total amount that was exempt from tax calculations.
1756
+ * @internal
1757
+ * @readonly
1758
+ */
1759
+ totalExempt?: Price;
1430
1760
  }
1431
1761
  /**
1432
1762
  * The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate.
@@ -1458,6 +1788,16 @@ interface OrderTaxBreakdown {
1458
1788
  rate?: string;
1459
1789
  /** The sum of all the tax from line items that calculated by the tax identifiers. */
1460
1790
  aggregatedTaxAmount?: Price;
1791
+ /**
1792
+ * The sum of all the taxable amount from line items for tax identifiers.
1793
+ * @internal
1794
+ */
1795
+ aggregatedTaxableAmount?: Price;
1796
+ /**
1797
+ * The aggregated exempt amount from all line items for tax identifiers.
1798
+ * @internal
1799
+ */
1800
+ aggregatedExemptAmount?: Price;
1461
1801
  }
1462
1802
  interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1463
1803
  /** Coupon applied by the customer. */
@@ -1491,6 +1831,24 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1491
1831
  * @maxSize 300
1492
1832
  */
1493
1833
  lineItemDiscounts?: LineItemDiscount[];
1834
+ /**
1835
+ * Number of subscription billing cycles the discount applies to.
1836
+ * If None and discount is linked to subscription line item, it applies to all cycles.
1837
+ * @internal
1838
+ * @min 1
1839
+ * @max 999
1840
+ */
1841
+ subscriptionCycles?: number | null;
1842
+ /**
1843
+ * A list of item combinations for this applied discount.
1844
+ * Each entry represents a unique combination of line items that triggered
1845
+ * or received this discount, along with how many times that combination was applied together.
1846
+ * Relevant ONLY for BXGY and Quantity-based promotions.
1847
+ * In BXGY the combination will contain the "X" items with discount amount of 0.
1848
+ * @internal
1849
+ * @maxSize 1000
1850
+ */
1851
+ itemCombinations?: ItemCombination[];
1494
1852
  }
1495
1853
  /** @oneof */
1496
1854
  interface AppliedDiscountDiscountSourceOneOf {
@@ -1534,6 +1892,19 @@ interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
1534
1892
  description?: string | null;
1535
1893
  /** Discount amount. */
1536
1894
  amount?: Price;
1895
+ /**
1896
+ * Discount as a percentage of the original price. For example, `10.5` for a 10.5% discount.
1897
+ * @internal
1898
+ * @format DECIMAL_VALUE
1899
+ * @decimalValue options { gte:0, lte:100, maxScale:2 }
1900
+ */
1901
+ percentage?: string | null;
1902
+ /**
1903
+ * Discount name.
1904
+ * @internal
1905
+ * @maxLength 200
1906
+ */
1907
+ name?: string | null;
1537
1908
  }
1538
1909
  /** @oneof */
1539
1910
  interface MerchantDiscountMerchantDiscountReasonOneOf {
@@ -1673,7 +2044,19 @@ declare enum ChannelType {
1673
2044
  /** PayPal Agentic Checkout sales channel. */
1674
2045
  PAYPAL_AGENTIC_CHECKOUT = "PAYPAL_AGENTIC_CHECKOUT",
1675
2046
  /** Stripe Agentic Checkout sales channel. */
1676
- STRIPE_AGENTIC_CHECKOUT = "STRIPE_AGENTIC_CHECKOUT"
2047
+ STRIPE_AGENTIC_CHECKOUT = "STRIPE_AGENTIC_CHECKOUT",
2048
+ /**
2049
+ * Wix Invoices platform app
2050
+ * @documentationMaturity preview
2051
+ * @internal
2052
+ */
2053
+ WIX_INVOICES_PLATFORM = "WIX_INVOICES_PLATFORM",
2054
+ /**
2055
+ * UCP (Universal Checkout Protocol) Agentic Checkout sales channel.
2056
+ * @documentationMaturity preview
2057
+ * @internal
2058
+ */
2059
+ UCP_AGENTIC_CHECKOUT = "UCP_AGENTIC_CHECKOUT"
1677
2060
  }
1678
2061
  /** @enumType */
1679
2062
  type ChannelTypeWithLiterals = ChannelType | 'UNSPECIFIED' | 'WEB' | 'POS' | 'EBAY' | 'AMAZON' | 'OTHER_PLATFORM' | 'WIX_APP_STORE' | 'WIX_INVOICES' | 'BACKOFFICE_MERCHANT' | 'WISH' | 'CLASS_PASS' | 'GLOBAL_E' | 'FACEBOOK' | 'ETSY' | 'TIKTOK' | 'FAIRE_COM' | 'PAYPAL_AGENTIC_CHECKOUT' | 'STRIPE_AGENTIC_CHECKOUT';
@@ -1754,6 +2137,14 @@ interface AdditionalFee {
1754
2137
  * @format GUID
1755
2138
  */
1756
2139
  lineItemIds?: string[];
2140
+ /**
2141
+ * Number of subscription billing cycles the additional fee applies to.
2142
+ * If None and additional fee is linked to subscription line item, it applies to all cycles.
2143
+ * @internal
2144
+ * @min 1
2145
+ * @max 999
2146
+ */
2147
+ subscriptionCycles?: number | null;
1757
2148
  /** Specifies the entity that added the additional fee. */
1758
2149
  source?: AdditionalFeeSourceWithLiterals;
1759
2150
  /** Address type tax was calculated against for this fee. */
@@ -2172,6 +2563,13 @@ interface GetSubscriptionContractResponse {
2172
2563
  interface UpdateSubscriptionContractRequest {
2173
2564
  /** SubscriptionContract to be updated, may be partial. */
2174
2565
  subscriptionContract?: SubscriptionContract;
2566
+ /**
2567
+ * Set of fields to update.
2568
+ *
2569
+ * Fields that aren't included in `fieldMask.paths` are ignored.
2570
+ * @internal
2571
+ */
2572
+ fieldMask?: string[];
2175
2573
  }
2176
2574
  interface UpdateSubscriptionContractResponse {
2177
2575
  /** Updated SubscriptionContract. */
@@ -2311,8 +2709,18 @@ interface DomainEventBodyOneOf {
2311
2709
  }
2312
2710
  interface EntityCreatedEvent {
2313
2711
  entityAsJson?: string;
2712
+ /**
2713
+ * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
2714
+ * @internal
2715
+ */
2716
+ triggeredByUndelete?: boolean | null;
2314
2717
  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
2315
2718
  restoreInfo?: RestoreInfo;
2719
+ /**
2720
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
2721
+ * @internal
2722
+ */
2723
+ additionalMetadataAsJson?: string | null;
2316
2724
  }
2317
2725
  interface RestoreInfo {
2318
2726
  deletedDate?: Date | null;
@@ -2324,10 +2732,42 @@ interface EntityUpdatedEvent {
2324
2732
  * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2325
2733
  */
2326
2734
  currentEntityAsJson?: string;
2735
+ /**
2736
+ * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
2737
+ * wont populate it / have any reference to it in the API.
2738
+ * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
2739
+ * the developer should send only the new (current) entity.
2740
+ * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
2741
+ * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
2742
+ * @internal
2743
+ * @deprecated
2744
+ */
2745
+ previousEntityAsJson?: string | null;
2746
+ /**
2747
+ * Map of fully qualified field paths to their previous values for fields that changed.
2748
+ * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
2749
+ * @internal
2750
+ */
2751
+ modifiedFields?: Record<string, any>;
2752
+ /**
2753
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
2754
+ * @internal
2755
+ */
2756
+ additionalMetadataAsJson?: string | null;
2327
2757
  }
2328
2758
  interface EntityDeletedEvent {
2759
+ /**
2760
+ * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
2761
+ * @internal
2762
+ */
2763
+ movedToTrash?: boolean | null;
2329
2764
  /** Entity that was deleted. */
2330
2765
  deletedEntityAsJson?: string | null;
2766
+ /**
2767
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
2768
+ * @internal
2769
+ */
2770
+ additionalMetadataAsJson?: string | null;
2331
2771
  }
2332
2772
  interface ActionEvent {
2333
2773
  bodyAsJson?: string;
@@ -2414,6 +2854,11 @@ interface BulkUpdateSubscriptionContractsRequest {
2414
2854
  interface MaskedSubscriptionContract {
2415
2855
  /** Subscription contract to be updated. */
2416
2856
  subscriptionContract?: SubscriptionContract;
2857
+ /**
2858
+ * Field mask of fields to update.
2859
+ * @internal
2860
+ */
2861
+ fieldMask?: string[];
2417
2862
  }
2418
2863
  interface BulkUpdateSubscriptionContractsResponse {
2419
2864
  /**
@@ -2563,4 +3008,4 @@ declare function getSubscriptionContract(): __PublicMethodMetaInfo<'GET', {
2563
3008
  }, GetSubscriptionContractRequest$1, GetSubscriptionContractRequest, GetSubscriptionContractResponse$1, GetSubscriptionContractResponse>;
2564
3009
  declare function querySubscriptionContracts(): __PublicMethodMetaInfo<'GET', {}, QuerySubscriptionContractsRequest$1, QuerySubscriptionContractsRequest, QuerySubscriptionContractsResponse$1, QuerySubscriptionContractsResponse>;
2565
3010
 
2566
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionInitiator as ActionInitiatorOriginal, type ActionInitiatorWithLiterals as ActionInitiatorWithLiteralsOriginal, type ActivityAuthor as ActivityAuthorOriginal, type ActivityAuthorValueOneOf as ActivityAuthorValueOneOfOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type AdditionalFeeDeltaDeltaDetailsOneOf as AdditionalFeeDeltaDeltaDetailsOneOfOriginal, type AdditionalFeeDelta as AdditionalFeeDeltaOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, AdjustmentType as AdjustmentTypeOriginal, type AdjustmentTypeWithLiterals as AdjustmentTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDeltaDeltaDetailsOneOf as AppliedDiscountDeltaDeltaDetailsOneOfOriginal, type AppliedDiscountDelta as AppliedDiscountDeltaOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type BillingAdjustment as BillingAdjustmentOriginal, type BillingAdjustmentPriceSummary as BillingAdjustmentPriceSummaryOriginal, type BillingSettings as BillingSettingsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateSubscriptionContractsRequest as BulkCreateSubscriptionContractsRequestOriginal, type BulkCreateSubscriptionContractsResponse as BulkCreateSubscriptionContractsResponseOriginal, type BulkSubscriptionContractResult as BulkSubscriptionContractResultOriginal, type BulkUpdateSubscriptionContractsRequest as BulkUpdateSubscriptionContractsRequestOriginal, type BulkUpdateSubscriptionContractsResponse as BulkUpdateSubscriptionContractsResponseOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CatalogReference as CatalogReferenceOriginal, ChangeType as ChangeTypeOriginal, type ChangeTypeWithLiterals as ChangeTypeWithLiteralsOriginal, type ChangesAppliedActivity as ChangesAppliedActivityOriginal, type ChangesAppliedActivityTargetOneOf as ChangesAppliedActivityTargetOneOfOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type Color as ColorOriginal, type CommitSubscriptionContractChangesRequest as CommitSubscriptionContractChangesRequestOriginal, type CommitSubscriptionContractChangesResponse as CommitSubscriptionContractChangesResponseOriginal, type ContractChange as ContractChangeOriginal, type ContractChangeValueOneOf as ContractChangeValueOneOfOriginal, type ContractTarget as ContractTargetOriginal, type Coupon as CouponOriginal, type CreateSubscriptionContractRequest as CreateSubscriptionContractRequestOriginal, type CreateSubscriptionContractResponse as CreateSubscriptionContractResponseOriginal, type CurrencyConversionDetails as CurrencyConversionDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomField as CustomFieldOriginal, type DecimalQuantity as DecimalQuantityOriginal, type DecimalQuantityUnitOneOf as DecimalQuantityUnitOneOfOriginal, type DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOfOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type DigitalFile as DigitalFileOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, DiscountReason as DiscountReasonOriginal, type DiscountReasonWithLiterals as DiscountReasonWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetSubscriptionContractRequest as GetSubscriptionContractRequestOriginal, type GetSubscriptionContractResponse as GetSubscriptionContractResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemChanges as LineItemChangesOriginal, type LineItemDelta as LineItemDeltaOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemQuantityChange as LineItemQuantityChangeOriginal, LineItemQuantityChangeType as LineItemQuantityChangeTypeOriginal, type LineItemQuantityChangeTypeWithLiterals as LineItemQuantityChangeTypeWithLiteralsOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, type ManagedAdditionalFee as ManagedAdditionalFeeOriginal, type ManagedDiscount as ManagedDiscountOriginal, type ManagedLineItem as ManagedLineItemOriginal, type MaskedSubscriptionContract as MaskedSubscriptionContractOriginal, MeasurementUnit as MeasurementUnitOriginal, type MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal, type MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOfOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type OrderLineItem as OrderLineItemOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type PlatformFee as PlatformFeeOriginal, type PlatformFeeSummary as PlatformFeeSummaryOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequestOriginal, type QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponseOriginal, type RestockLocation as RestockLocationOriginal, type RestoreInfo as RestoreInfoOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, SpecificItemsCouponBehavior as SpecificItemsCouponBehaviorOriginal, type SpecificItemsCouponBehaviorWithLiterals as SpecificItemsCouponBehaviorWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCommitSettings as SubscriptionCommitSettingsOriginal, type SubscriptionContractActivityContentOneOf as SubscriptionContractActivityContentOneOfOriginal, type SubscriptionContractActivity as SubscriptionContractActivityOriginal, type SubscriptionContractActivityTargetOneOf as SubscriptionContractActivityTargetOneOfOriginal, type SubscriptionContractCanceled as SubscriptionContractCanceledOriginal, type SubscriptionContractChangesCommitted as SubscriptionContractChangesCommittedOriginal, type SubscriptionContractDiffs as SubscriptionContractDiffsOriginal, type SubscriptionContractExpired as SubscriptionContractExpiredOriginal, type SubscriptionContract as SubscriptionContractOriginal, type SubscriptionContractSettings as SubscriptionContractSettingsOriginal, type SubscriptionDescription as SubscriptionDescriptionOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionInfo as SubscriptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SubscriptionSettingsProductPeriodAlignment as SubscriptionSettingsProductPeriodAlignmentOriginal, type SubscriptionSettingsProductPeriodAlignmentWithLiterals as SubscriptionSettingsProductPeriodAlignmentWithLiteralsOriginal, type SubscriptionTitle as SubscriptionTitleOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TotalPriceChange as TotalPriceChangeOriginal, type TranslatableString as TranslatableStringOriginal, type TranslatedValue as TranslatedValueOriginal, type UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequestOriginal, type UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponseOriginal, type V1BillingSettings as V1BillingSettingsOriginal, type V1FreeTrialPeriod as V1FreeTrialPeriodOriginal, type V1SubscriptionDescription as V1SubscriptionDescriptionOriginal, type V1SubscriptionSettings as V1SubscriptionSettingsOriginal, type V1SubscriptionTitle as V1SubscriptionTitleOriginal, V2SubscriptionFrequency as V2SubscriptionFrequencyOriginal, type V2SubscriptionFrequencyWithLiterals as V2SubscriptionFrequencyWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, getSubscriptionContract, querySubscriptionContracts };
3011
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionInitiator as ActionInitiatorOriginal, type ActionInitiatorWithLiterals as ActionInitiatorWithLiteralsOriginal, type ActivityAuthor as ActivityAuthorOriginal, type ActivityAuthorValueOneOf as ActivityAuthorValueOneOfOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type AdditionalFeeDeltaDeltaDetailsOneOf as AdditionalFeeDeltaDeltaDetailsOneOfOriginal, type AdditionalFeeDelta as AdditionalFeeDeltaOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, AdjustmentType as AdjustmentTypeOriginal, type AdjustmentTypeWithLiterals as AdjustmentTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDeltaDeltaDetailsOneOf as AppliedDiscountDeltaDeltaDetailsOneOfOriginal, type AppliedDiscountDelta as AppliedDiscountDeltaOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, type AppliedDiscount as AppliedDiscountOriginal, type BillingAdjustment as BillingAdjustmentOriginal, type BillingAdjustmentPriceSummary as BillingAdjustmentPriceSummaryOriginal, type BillingSettings as BillingSettingsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateSubscriptionContractsRequest as BulkCreateSubscriptionContractsRequestOriginal, type BulkCreateSubscriptionContractsResponse as BulkCreateSubscriptionContractsResponseOriginal, type BulkSubscriptionContractResult as BulkSubscriptionContractResultOriginal, type BulkUpdateSubscriptionContractsRequest as BulkUpdateSubscriptionContractsRequestOriginal, type BulkUpdateSubscriptionContractsResponse as BulkUpdateSubscriptionContractsResponseOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CatalogReference as CatalogReferenceOriginal, ChangeType as ChangeTypeOriginal, type ChangeTypeWithLiterals as ChangeTypeWithLiteralsOriginal, type ChangesAppliedActivity as ChangesAppliedActivityOriginal, type ChangesAppliedActivityTargetOneOf as ChangesAppliedActivityTargetOneOfOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type Color as ColorOriginal, type CommitSubscriptionContractChangesRequest as CommitSubscriptionContractChangesRequestOriginal, type CommitSubscriptionContractChangesResponse as CommitSubscriptionContractChangesResponseOriginal, type ContractChange as ContractChangeOriginal, type ContractChangeValueOneOf as ContractChangeValueOneOfOriginal, type ContractTarget as ContractTargetOriginal, type Coupon as CouponOriginal, type CreateSubscriptionContractRequest as CreateSubscriptionContractRequestOriginal, type CreateSubscriptionContractResponse as CreateSubscriptionContractResponseOriginal, type CurrencyConversionDetails as CurrencyConversionDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomField as CustomFieldOriginal, type DecimalQuantity as DecimalQuantityOriginal, type DecimalQuantityUnitOneOf as DecimalQuantityUnitOneOfOriginal, type DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOfOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type DigitalFile as DigitalFileOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, DiscountReason as DiscountReasonOriginal, type DiscountReasonWithLiterals as DiscountReasonWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type FocalPoint as FocalPointOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetSubscriptionContractRequest as GetSubscriptionContractRequestOriginal, type GetSubscriptionContractResponse as GetSubscriptionContractResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemChanges as LineItemChangesOriginal, type LineItemDelta as LineItemDeltaOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemQuantityChange as LineItemQuantityChangeOriginal, LineItemQuantityChangeType as LineItemQuantityChangeTypeOriginal, type LineItemQuantityChangeTypeWithLiterals as LineItemQuantityChangeTypeWithLiteralsOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, type ManagedAdditionalFee as ManagedAdditionalFeeOriginal, type ManagedDiscount as ManagedDiscountOriginal, type ManagedLineItem as ManagedLineItemOriginal, type MaskedSubscriptionContract as MaskedSubscriptionContractOriginal, MeasurementUnit as MeasurementUnitOriginal, type MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal, type MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOfOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type OrderLineItem as OrderLineItemOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type PlatformFee as PlatformFeeOriginal, type PlatformFeeSummary as PlatformFeeSummaryOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type QuerySubscriptionContractsRequest as QuerySubscriptionContractsRequestOriginal, type QuerySubscriptionContractsResponse as QuerySubscriptionContractsResponseOriginal, type RestockLocation as RestockLocationOriginal, type RestoreInfo as RestoreInfoOriginal, type ServiceProperties as ServicePropertiesOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, SpecificItemsCouponBehavior as SpecificItemsCouponBehaviorOriginal, type SpecificItemsCouponBehaviorWithLiterals as SpecificItemsCouponBehaviorWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionCommitSettings as SubscriptionCommitSettingsOriginal, type SubscriptionContractActivityContentOneOf as SubscriptionContractActivityContentOneOfOriginal, type SubscriptionContractActivity as SubscriptionContractActivityOriginal, type SubscriptionContractActivityTargetOneOf as SubscriptionContractActivityTargetOneOfOriginal, type SubscriptionContractCanceled as SubscriptionContractCanceledOriginal, type SubscriptionContractChangesCommitted as SubscriptionContractChangesCommittedOriginal, type SubscriptionContractDiffs as SubscriptionContractDiffsOriginal, type SubscriptionContractExpired as SubscriptionContractExpiredOriginal, type SubscriptionContract as SubscriptionContractOriginal, type SubscriptionContractSettings as SubscriptionContractSettingsOriginal, type SubscriptionDescription as SubscriptionDescriptionOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionInfo as SubscriptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, SubscriptionSettingsProductPeriodAlignment as SubscriptionSettingsProductPeriodAlignmentOriginal, type SubscriptionSettingsProductPeriodAlignmentWithLiterals as SubscriptionSettingsProductPeriodAlignmentWithLiteralsOriginal, type SubscriptionTitle as SubscriptionTitleOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TotalPriceChange as TotalPriceChangeOriginal, type TranslatableString as TranslatableStringOriginal, type TranslatedValue as TranslatedValueOriginal, type UpdateSubscriptionContractRequest as UpdateSubscriptionContractRequestOriginal, type UpdateSubscriptionContractResponse as UpdateSubscriptionContractResponseOriginal, type V1BillingSettings as V1BillingSettingsOriginal, type V1FreeTrialPeriod as V1FreeTrialPeriodOriginal, type V1SubscriptionDescription as V1SubscriptionDescriptionOriginal, type V1SubscriptionSettings as V1SubscriptionSettingsOriginal, type V1SubscriptionTitle as V1SubscriptionTitleOriginal, V2SubscriptionFrequency as V2SubscriptionFrequencyOriginal, type V2SubscriptionFrequencyWithLiterals as V2SubscriptionFrequencyWithLiteralsOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type __PublicMethodMetaInfo, getSubscriptionContract, querySubscriptionContracts };