@wix/auto_sdk_ecom_subscription-contracts 1.0.143 → 1.0.145

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.
@@ -2,33 +2,31 @@ import { GetSubscriptionContractRequest as GetSubscriptionContractRequest$1, Get
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /**
5
- * A SubscriptionContract is a ...
6
- * You can ...
7
- * Read more about SubscriptionContracts
8
- * in this [article](<LINK_TO_KB_ARTICLE>).
5
+ * A subscription contract holds the terms of a buyer's subscription: the items, prices, billing frequency, and buyer, billing, and shipping details agreed on at checkout, or as later changed through draft subscription contracts.
6
+ *
7
+ * A subscription contract is created when a buyer checks out with a subscription item. Each billing cycle, an order is created from the contract's current content. The order's `lineItems.subscriptionInfo.id` holds the contract ID, and `lineItems.subscriptionInfo.cycleNumber` holds the billing cycle the order is for.
8
+ *
9
+ * To change a subscription contract, create a draft subscription contract, edit it, and commit it.
9
10
  */
10
11
  interface SubscriptionContract {
11
12
  /**
12
- * SubscriptionContract ID.
13
+ * Subscription contract ID.
13
14
  * @format GUID
14
15
  * @readonly
15
16
  */
16
17
  id?: string | null;
17
18
  /**
18
- * Revision number, which increments by 1 each time the SubscriptionContract is updated.
19
- * To prevent conflicting changes, the current revision must be passed when updating the SubscriptionContract.
20
- *
21
- * Ignored when creating a SubscriptionOrderContract.
19
+ * Revision number, which increments by 1 each time the subscription contract is updated.
22
20
  * @readonly
23
21
  */
24
22
  revision?: string | null;
25
23
  /**
26
- * Date and time the subscription contract was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
24
+ * Date and time the subscription contract was created.
27
25
  * @readonly
28
26
  */
29
27
  createdDate?: Date | null;
30
28
  /**
31
- * Date and time the subscription contract was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
29
+ * Date and time the subscription contract was last updated.
32
30
  * @readonly
33
31
  */
34
32
  updatedDate?: Date | null;
@@ -40,10 +38,24 @@ interface SubscriptionContract {
40
38
  * @targetRemovalDate 2025-10-01
41
39
  */
42
40
  description?: string | null;
43
- /** Subscription detailed information. */
41
+ /**
42
+ * Subscription description, in the site's default language and translated into the buyer's language. For example, `"1kg of selected coffee, once a month"`.
43
+ *
44
+ * For a subscription contract with more than one line item, holds a general name for the subscription.
45
+ */
46
+ subscriptionDescription?: V1SubscriptionDescription;
47
+ /** Subscription terms, such as the billing frequency, the number of billing cycles, and whether the subscription renews automatically. */
44
48
  subscriptionSettings?: V1SubscriptionSettings;
45
49
  /**
46
- * Order line items.
50
+ * Subscription line items. The order for each billing cycle is created with these line items.
51
+ *
52
+ * In a subscription contract:
53
+ * + `lineItems.subscriptionInfo.id` is the subscription contract's own ID.
54
+ * + `lineItems.subscriptionInfo.cycleNumber` is always `0`. The billing cycle is set on the line items of each cycle's order.
55
+ * + `subscriptionInfo.title` and `subscriptionInfo.description` hold the subscription contract's title and description, not the line item's own subscription option.
56
+ * + `refundQuantity`, `restockQuantity`, and `depositAmount` aren't updated after the line item is added. Refunds, restocks, and fulfillment are recorded on each billing cycle's order.
57
+ * + `extendedFields` and `decimalQuantity` aren't returned.
58
+ * + When coupons were included in item prices at checkout, `price` is the price before coupons, and the coupons are in `appliedDiscounts`.
47
59
  * @minSize 1
48
60
  * @maxSize 100
49
61
  */
@@ -51,20 +63,25 @@ interface SubscriptionContract {
51
63
  /** Buyer information. */
52
64
  buyerInfo?: BuyerInfo;
53
65
  /**
54
- * Language for communication with the buyer. Defaults to the site language.
55
- * For a site that supports multiple languages, this is the language the buyer selected.
66
+ * Language for communication with the buyer. For a site that supports multiple languages, this is the language the buyer selected.
67
+ *
68
+ * Default: Site language
56
69
  * @maxLength 10
57
70
  */
58
71
  buyerLanguage?: string | null;
59
- /** Weight measurement unit - defaults to site's weight unit. */
72
+ /**
73
+ * Weight measurement unit.
74
+ *
75
+ * Default: Site's weight unit
76
+ */
60
77
  weightUnit?: WeightUnitWithLiterals;
61
78
  /**
62
- * Currency used for the pricing of this order in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
79
+ * Currency used for the subscription contract's pricing, as a three-letter currency code in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) alphabetic format.
63
80
  * @format CURRENCY
64
81
  * @immutable
65
82
  */
66
83
  currency?: string | null;
67
- /** Multi-currency information of the subscription. conversionRate may reflect updated exchange rate on created order per recurring cycle. */
84
+ /** Multi-currency details for a subscription paid in a currency other than the site's currency. */
68
85
  currencyConversionDetails?: CurrencyConversionDetails;
69
86
  /**
70
87
  * Whether tax is included in line item prices.
@@ -74,22 +91,26 @@ interface SubscriptionContract {
74
91
  */
75
92
  taxIncludedInPrices?: boolean;
76
93
  /**
77
- * Order price summary.
94
+ * Price summary of a single billing cycle.
78
95
  * @readonly
79
96
  */
80
97
  priceSummary?: PriceSummary;
81
- /** Summary of platform fees for this subscription contract, including totals by charge type and a breakdown of individual fees. */
98
+ /**
99
+ * Summary of platform fees calculated at checkout, including totals by charge type and a breakdown of individual fees.
100
+ *
101
+ * Not updated when draft changes are committed. Each billing cycle's order holds the platform fees for that cycle.
102
+ */
82
103
  platformFeeSummary?: PlatformFeeSummary;
83
104
  /** Billing address and contact details. */
84
105
  billingInfo?: AddressWithContact;
85
- /** Shipping info and selected shipping option details. */
106
+ /** Shipping information and selected shipping option details. */
86
107
  shippingInfo?: ShippingInformation;
87
108
  /**
88
- * Applied discounts.
109
+ * Discounts applied to the subscription contract.
89
110
  * @maxSize 100
90
111
  */
91
112
  appliedDiscounts?: AppliedDiscount[];
92
- /** Information about the sales channel that submitted this order. */
113
+ /** Information about the sales channel the subscription was purchased through. */
93
114
  channelInfo?: ChannelInfo;
94
115
  /**
95
116
  * Custom fields.
@@ -97,7 +118,7 @@ interface SubscriptionContract {
97
118
  */
98
119
  customFields?: CustomField[];
99
120
  /**
100
- * Order recipient address and contact details.
121
+ * Recipient address and contact details.
101
122
  *
102
123
  * This field may differ from the address in `shippingInfo.logistics` when:
103
124
  * + The chosen shipping option is pickup point or store pickup.
@@ -107,7 +128,7 @@ interface SubscriptionContract {
107
128
  /**
108
129
  * Custom field data for the subscription contract object.
109
130
  *
110
- * [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the [app dashboard](https://dev.wix.com/dc3/my-apps/) before they can be accessed with API calls.
131
+ * [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.
111
132
  */
112
133
  extendedFields?: ExtendedFields;
113
134
  /**
@@ -119,31 +140,31 @@ interface SubscriptionContract {
119
140
  */
120
141
  title?: string | null;
121
142
  /**
122
- * Additional fees applied to subscription contract.
123
- * @maxSize 100
143
+ * Subscription title, in the site's default language and translated into the buyer's language. For example, `"Monthly coffee subscription"`.
144
+ *
145
+ * For a subscription contract with more than one line item, holds a general name for the subscription.
124
146
  */
125
- additionalFees?: AdditionalFee[];
147
+ subscriptionTitle?: V1SubscriptionTitle;
126
148
  /**
127
- * Activities recorded on this contract (e.g. draft commits, status changes).
128
- * @readonly
129
- * @maxSize 500
149
+ * Additional fees applied to the subscription contract.
150
+ * @maxSize 100
130
151
  */
131
- activities?: SubscriptionContractActivity[];
152
+ additionalFees?: AdditionalFee[];
132
153
  }
133
154
  interface V1SubscriptionDescription {
134
155
  /**
135
- * Subscription option description.
156
+ * Subscription description in the site's default language.
136
157
  * @maxLength 500
137
158
  */
138
159
  original?: string;
139
160
  /**
140
- * Translated subscription option description.
161
+ * Subscription description translated into the buyer's language.
141
162
  * @maxLength 500
142
163
  */
143
164
  translated?: string | null;
144
165
  }
145
166
  interface V1SubscriptionSettings {
146
- /** Frequency of recurring payment. */
167
+ /** Frequency unit of the billing cycle. */
147
168
  frequency?: SubscriptionFrequencyWithLiterals;
148
169
  /**
149
170
  * Number of frequency units in a billing cycle. For example, frequency `MONTH` with interval `3` means billing every 3 months.
@@ -151,16 +172,20 @@ interface V1SubscriptionSettings {
151
172
  * @max 3650
152
173
  */
153
174
  interval?: number | null;
154
- /** Whether subscription is renewed automatically at the end of each period. */
175
+ /** Whether the subscription renews automatically at the end of each billing cycle. */
155
176
  autoRenewal?: boolean;
156
177
  /**
157
- * Number of billing cycles before subscription ends. Ignored if `autoRenewal: true`.
178
+ * Number of billing cycles before the subscription ends.
158
179
  * @min 1
159
180
  */
160
181
  billingCycles?: number | null;
161
- /** Whether to allow the customer to cancel the subscription. */
182
+ /** Whether the buyer can cancel the subscription. */
162
183
  enableCustomerCancellation?: boolean;
163
- /** Period until first cycle starts. If None => no free trial */
184
+ /**
185
+ * Free trial period before the first billing cycle starts.
186
+ *
187
+ * Returned only when the subscription has a free trial.
188
+ */
164
189
  freeTrialPeriod?: V1FreeTrialPeriod;
165
190
  }
166
191
  declare enum SubscriptionFrequency {
@@ -173,7 +198,7 @@ declare enum SubscriptionFrequency {
173
198
  /** @enumType */
174
199
  type SubscriptionFrequencyWithLiterals = SubscriptionFrequency | 'UNDEFINED' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
175
200
  interface V1FreeTrialPeriod {
176
- /** Frequency of period. Values: DAY, WEEK, MONTH, YEAR */
201
+ /** Frequency unit of the free trial period. */
177
202
  frequency?: SubscriptionFrequencyWithLiterals;
178
203
  /**
179
204
  * Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial.
@@ -1802,15 +1827,13 @@ interface CustomField {
1802
1827
  }
1803
1828
  interface V1SubscriptionTitle {
1804
1829
  /**
1805
- * Subscription option name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
1830
+ * Subscription title in the site's default language.
1806
1831
  * @minLength 1
1807
1832
  * @maxLength 150
1808
1833
  */
1809
1834
  original?: string;
1810
1835
  /**
1811
- * Subscription option name translated into the buyer's language.
1812
- *
1813
- * Default: Same as `original`.
1836
+ * Subscription title translated into the buyer's language.
1814
1837
  * @minLength 1
1815
1838
  * @maxLength 150
1816
1839
  */
@@ -1913,7 +1936,7 @@ declare enum SpecificItemsCouponBehavior {
1913
1936
  /** @enumType */
1914
1937
  type SpecificItemsCouponBehaviorWithLiterals = SpecificItemsCouponBehavior | 'UNDEFINED_COUPON_BEHAVIOR' | 'ITEM_SUBTOTAL_INCLUDES_DISCOUNT' | 'LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT';
1915
1938
  interface SubscriptionContractActivity extends SubscriptionContractActivityTargetOneOf, SubscriptionContractActivityContentOneOf {
1916
- /** Scopes the draft to the contract level, applying to all future cycles. */
1939
+ /** The activity applies to all future billing cycles of the subscription contract. */
1917
1940
  contractTarget?: ContractTarget;
1918
1941
  /** Changes committed from a DraftSubscriptionContract. */
1919
1942
  changesApplied?: ChangesAppliedActivity;
@@ -1924,12 +1947,12 @@ interface SubscriptionContractActivity extends SubscriptionContractActivityTarge
1924
1947
  */
1925
1948
  id?: string;
1926
1949
  /**
1927
- * When the activity occurred.
1950
+ * Date and time the activity occurred.
1928
1951
  * @readonly
1929
1952
  */
1930
1953
  createdDate?: Date | null;
1931
1954
  /**
1932
- * Identity of the draft order's initiator.
1955
+ * Wix user or app that made the change.
1933
1956
  * @readonly
1934
1957
  */
1935
1958
  author?: ActivityAuthor;
@@ -1938,7 +1961,7 @@ interface SubscriptionContractActivity extends SubscriptionContractActivityTarge
1938
1961
  }
1939
1962
  /** @oneof */
1940
1963
  interface SubscriptionContractActivityTargetOneOf {
1941
- /** Scopes the draft to the contract level, applying to all future cycles. */
1964
+ /** The activity applies to all future billing cycles of the subscription contract. */
1942
1965
  contractTarget?: ContractTarget;
1943
1966
  }
1944
1967
  /** @oneof */
@@ -1946,19 +1969,19 @@ interface SubscriptionContractActivityContentOneOf {
1946
1969
  /** Changes committed from a DraftSubscriptionContract. */
1947
1970
  changesApplied?: ChangesAppliedActivity;
1948
1971
  }
1949
- /** Scopes the draft to the contract level, applying to all future cycles. */
1972
+ /** Target that applies changes to all future billing cycles of the subscription contract. */
1950
1973
  interface ContractTarget {
1951
- /** Cycle number of the next billing cycle (1-based). Set by the caller; returned by the server on read. */
1974
+ /** Number of the first billing cycle the changes apply to. Billing cycles are numbered from `1`. */
1952
1975
  nextCycleNumber?: number | null;
1953
1976
  }
1954
1977
  interface ActivityAuthor extends ActivityAuthorValueOneOf {
1955
1978
  /**
1956
- * User ID. When the draft order was created by a Wix user.
1979
+ * Wix user ID. Returned when a Wix user made the change.
1957
1980
  * @format GUID
1958
1981
  */
1959
1982
  userId?: string;
1960
1983
  /**
1961
- * App ID. When the draft order was created by an app.
1984
+ * App ID. Returned when an app made the change.
1962
1985
  * @format GUID
1963
1986
  */
1964
1987
  appId?: string;
@@ -1966,74 +1989,76 @@ interface ActivityAuthor extends ActivityAuthorValueOneOf {
1966
1989
  /** @oneof */
1967
1990
  interface ActivityAuthorValueOneOf {
1968
1991
  /**
1969
- * User ID. When the draft order was created by a Wix user.
1992
+ * Wix user ID. Returned when a Wix user made the change.
1970
1993
  * @format GUID
1971
1994
  */
1972
1995
  userId?: string;
1973
1996
  /**
1974
- * App ID. When the draft order was created by an app.
1997
+ * App ID. Returned when an app made the change.
1975
1998
  * @format GUID
1976
1999
  */
1977
2000
  appId?: string;
1978
2001
  }
1979
2002
  interface ChangesAppliedActivity extends ChangesAppliedActivityTargetOneOf {
1980
- /** Scopes the draft to the contract level, applying to all future cycles. */
2003
+ /** The changes apply to all future billing cycles of the subscription contract. */
1981
2004
  contractTarget?: ContractTarget;
1982
2005
  /**
1983
- * ID of the DraftSubscriptionContract that was committed.
2006
+ * ID of the draft subscription contract whose changes were committed.
1984
2007
  * @format GUID
1985
2008
  */
1986
2009
  draftSubscriptionContractId?: string;
1987
2010
  /**
1988
- * Individual typed changes applied.
2011
+ * Changes that were applied to the subscription contract.
1989
2012
  * @maxSize 100
1990
2013
  */
1991
2014
  changes?: ContractChange[];
1992
2015
  /**
1993
- * Reason for the edit, provided by the merchant (optional).
2016
+ * Reason for the change, provided by the business.
1994
2017
  * @maxLength 200
1995
2018
  */
1996
2019
  reason?: string | null;
1997
2020
  }
1998
2021
  /** @oneof */
1999
2022
  interface ChangesAppliedActivityTargetOneOf {
2000
- /** Scopes the draft to the contract level, applying to all future cycles. */
2023
+ /** The changes apply to all future billing cycles of the subscription contract. */
2001
2024
  contractTarget?: ContractTarget;
2002
2025
  }
2003
- interface ContractChange extends ContractChangeValueOneOf {
2026
+ interface ContractChange extends ContractChangeChangeDetailsOneOf {
2004
2027
  /** Line item was modified. */
2005
2028
  lineItemChanged?: LineItemChanges;
2006
2029
  /** Line item was added to the contract. */
2007
- lineItemAdded?: ManagedLineItem;
2030
+ lineItemAdded?: LineItemSummary;
2008
2031
  /** Line item was removed from the contract. */
2009
- lineItemRemoved?: ManagedLineItem;
2032
+ lineItemRemoved?: LineItemSummary;
2010
2033
  /** Discount was added to the contract. */
2011
- discountAdded?: ManagedDiscount;
2034
+ discountAdded?: DiscountSummary;
2012
2035
  /** Discount was removed from the contract. */
2013
- discountRemoved?: ManagedDiscount;
2036
+ discountRemoved?: DiscountSummary;
2014
2037
  /** Additional fee was added to the contract. */
2015
- additionalFeeAdded?: ManagedAdditionalFee;
2038
+ additionalFeeAdded?: AdditionalFeeSummary;
2016
2039
  /** Additional fee was removed from the contract. */
2017
- additionalFeeRemoved?: ManagedAdditionalFee;
2040
+ additionalFeeRemoved?: AdditionalFeeSummary;
2018
2041
  /** Total price changed. */
2019
2042
  totalPriceChanged?: TotalPriceChange;
2043
+ /** Type of change. */
2044
+ changeType?: ContractChangeTypeWithLiterals;
2020
2045
  }
2021
2046
  /** @oneof */
2022
- interface ContractChangeValueOneOf {
2047
+ interface ContractChangeChangeDetailsOneOf {
2023
2048
  /** Line item was modified. */
2024
2049
  lineItemChanged?: LineItemChanges;
2025
2050
  /** Line item was added to the contract. */
2026
- lineItemAdded?: ManagedLineItem;
2051
+ lineItemAdded?: LineItemSummary;
2027
2052
  /** Line item was removed from the contract. */
2028
- lineItemRemoved?: ManagedLineItem;
2053
+ lineItemRemoved?: LineItemSummary;
2029
2054
  /** Discount was added to the contract. */
2030
- discountAdded?: ManagedDiscount;
2055
+ discountAdded?: DiscountSummary;
2031
2056
  /** Discount was removed from the contract. */
2032
- discountRemoved?: ManagedDiscount;
2057
+ discountRemoved?: DiscountSummary;
2033
2058
  /** Additional fee was added to the contract. */
2034
- additionalFeeAdded?: ManagedAdditionalFee;
2059
+ additionalFeeAdded?: AdditionalFeeSummary;
2035
2060
  /** Additional fee was removed from the contract. */
2036
- additionalFeeRemoved?: ManagedAdditionalFee;
2061
+ additionalFeeRemoved?: AdditionalFeeSummary;
2037
2062
  /** Total price changed. */
2038
2063
  totalPriceChanged?: TotalPriceChange;
2039
2064
  }
@@ -2049,11 +2074,15 @@ interface LineItemChanges {
2049
2074
  quantity?: LineItemQuantityChange;
2050
2075
  }
2051
2076
  declare enum LineItemQuantityChangeType {
2077
+ /** Unknown quantity change type. */
2078
+ UNKNOWN_LINE_ITEM_QUANTITY_CHANGE_TYPE = "UNKNOWN_LINE_ITEM_QUANTITY_CHANGE_TYPE",
2079
+ /** Quantity increased. */
2052
2080
  QUANTITY_INCREASED = "QUANTITY_INCREASED",
2081
+ /** Quantity decreased. */
2053
2082
  QUANTITY_DECREASED = "QUANTITY_DECREASED"
2054
2083
  }
2055
2084
  /** @enumType */
2056
- type LineItemQuantityChangeTypeWithLiterals = LineItemQuantityChangeType | 'QUANTITY_INCREASED' | 'QUANTITY_DECREASED';
2085
+ type LineItemQuantityChangeTypeWithLiterals = LineItemQuantityChangeType | 'UNKNOWN_LINE_ITEM_QUANTITY_CHANGE_TYPE' | 'QUANTITY_INCREASED' | 'QUANTITY_DECREASED';
2057
2086
  interface LineItemQuantityChange {
2058
2087
  /**
2059
2088
  * Original item quantity before the change.
@@ -2070,11 +2099,11 @@ interface LineItemQuantityChange {
2070
2099
  * @min 1
2071
2100
  * @max 1000000
2072
2101
  */
2073
- diff?: number;
2102
+ quantityDifference?: number;
2074
2103
  /** Direction of the quantity change. */
2075
2104
  deltaType?: LineItemQuantityChangeTypeWithLiterals;
2076
2105
  }
2077
- interface ManagedLineItem {
2106
+ interface LineItemSummary {
2078
2107
  /**
2079
2108
  * Line item ID.
2080
2109
  * @format GUID
@@ -2089,7 +2118,7 @@ interface ManagedLineItem {
2089
2118
  */
2090
2119
  quantity?: number;
2091
2120
  }
2092
- interface ManagedDiscount {
2121
+ interface DiscountSummary {
2093
2122
  /**
2094
2123
  * Discount ID.
2095
2124
  * @format GUID
@@ -2112,7 +2141,7 @@ interface TranslatedValue {
2112
2141
  */
2113
2142
  translated?: string | null;
2114
2143
  }
2115
- interface ManagedAdditionalFee {
2144
+ interface AdditionalFeeSummary {
2116
2145
  /**
2117
2146
  * Additional fee ID.
2118
2147
  * @format GUID
@@ -2129,8 +2158,32 @@ interface TotalPriceChange {
2129
2158
  /** Total price after the commit. */
2130
2159
  newTotal?: Price;
2131
2160
  }
2161
+ declare enum ContractChangeType {
2162
+ /** Unknown change type. */
2163
+ UNKNOWN_CONTRACT_CHANGE_TYPE = "UNKNOWN_CONTRACT_CHANGE_TYPE",
2164
+ /** Line item was modified. */
2165
+ LINE_ITEM_CHANGED = "LINE_ITEM_CHANGED",
2166
+ /** Line item was added to the contract. */
2167
+ LINE_ITEM_ADDED = "LINE_ITEM_ADDED",
2168
+ /** Line item was removed from the contract. */
2169
+ LINE_ITEM_REMOVED = "LINE_ITEM_REMOVED",
2170
+ /** Discount was added to the contract. */
2171
+ DISCOUNT_ADDED = "DISCOUNT_ADDED",
2172
+ /** Discount was removed from the contract. */
2173
+ DISCOUNT_REMOVED = "DISCOUNT_REMOVED",
2174
+ /** Additional fee was added to the contract. */
2175
+ ADDITIONAL_FEE_ADDED = "ADDITIONAL_FEE_ADDED",
2176
+ /** Additional fee was removed from the contract. */
2177
+ ADDITIONAL_FEE_REMOVED = "ADDITIONAL_FEE_REMOVED",
2178
+ /** Total price changed. */
2179
+ TOTAL_PRICE_CHANGED = "TOTAL_PRICE_CHANGED"
2180
+ }
2181
+ /** @enumType */
2182
+ type ContractChangeTypeWithLiterals = ContractChangeType | 'UNKNOWN_CONTRACT_CHANGE_TYPE' | 'LINE_ITEM_CHANGED' | 'LINE_ITEM_ADDED' | 'LINE_ITEM_REMOVED' | 'DISCOUNT_ADDED' | 'DISCOUNT_REMOVED' | 'ADDITIONAL_FEE_ADDED' | 'ADDITIONAL_FEE_REMOVED' | 'TOTAL_PRICE_CHANGED';
2132
2183
  declare enum ActivityType {
2184
+ /** Unknown activity type. */
2133
2185
  UNKNOWN_ACTIVITY_TYPE = "UNKNOWN_ACTIVITY_TYPE",
2186
+ /** Changes from a draft subscription contract were committed. */
2134
2187
  CHANGES_APPLIED = "CHANGES_APPLIED"
2135
2188
  }
2136
2189
  /** @enumType */
@@ -2161,30 +2214,26 @@ interface SubscriptionContractExpired {
2161
2214
  /** The subscription contract that expired. */
2162
2215
  subscriptionContract?: SubscriptionContract;
2163
2216
  }
2164
- /**
2165
- * ACTION event payload emitted after a successful commit.
2166
- * Carries the full delta — downstream consumers (email notifications, activity feed)
2167
- * subscribe to this event and have all details inline without fetching the draft.
2168
- */
2217
+ /** Triggered when changes from a draft subscription contract are committed to a subscription contract. */
2169
2218
  interface SubscriptionContractChangesCommitted {
2170
- /** Updated SubscriptionContract after commit. */
2219
+ /** Subscription contract after the changes were committed. */
2171
2220
  subscriptionContract?: SubscriptionContract;
2172
2221
  /**
2173
- * ID of the DraftSubscriptionContract that triggered this commit.
2222
+ * ID of the draft subscription contract whose changes were committed.
2174
2223
  * @format GUID
2175
2224
  */
2176
2225
  draftSubscriptionContractId?: string;
2177
- /** The actual delta applied. */
2226
+ /** Changes that were applied to the subscription contract. */
2178
2227
  changes?: SubscriptionContractDiffs;
2179
2228
  /**
2180
2229
  * Date and time the changes were committed.
2181
2230
  * @readonly
2182
2231
  */
2183
2232
  commitDate?: Date | null;
2184
- /** Side-effects requested by the caller when the changes were committed. */
2233
+ /** Notification settings specified when the changes were committed. */
2185
2234
  commitSettings?: SubscriptionCommitSettings;
2186
2235
  /**
2187
- * Reason for the edit, provided by the merchant.
2236
+ * Reason for the change, provided by the business.
2188
2237
  * @maxLength 200
2189
2238
  */
2190
2239
  reason?: string | null;
@@ -2193,39 +2242,49 @@ interface SubscriptionContractChangesCommitted {
2193
2242
  }
2194
2243
  interface SubscriptionContractDiffs {
2195
2244
  /**
2196
- * Per-item deltas: added, changed, or removed line items.
2245
+ * Line items that were added, changed, or removed.
2246
+ *
2247
+ * A line item is `CHANGED` when a field listed in `ItemChangedDetails` changed. Line items with no change aren't included.
2197
2248
  * @maxSize 100
2198
2249
  */
2199
2250
  lineItems?: LineItemDelta[];
2200
2251
  /**
2201
- * Per-discount deltas.
2252
+ * Discounts that were added, changed, or removed.
2253
+ *
2254
+ * A discount is `CHANGED` when its amount, the amount for any line item, or the line items it applies to changed. Discounts with no change aren't included.
2202
2255
  * @maxSize 100
2203
2256
  */
2204
2257
  appliedDiscounts?: AppliedDiscountDelta[];
2205
2258
  /**
2206
- * Per-fee deltas.
2259
+ * Additional fees that were added, changed, or removed.
2260
+ *
2261
+ * An additional fee is `CHANGED` when its price or the line items it applies to changed. Fees with no change aren't included.
2207
2262
  * @maxSize 100
2208
2263
  */
2209
2264
  additionalFees?: AdditionalFeeDelta[];
2210
- /** Updated price summary (overwrites existing). */
2265
+ /** Price summary after the changes. Replaces the subscription contract's previous price summary. */
2211
2266
  priceSummary?: PriceSummary;
2212
- /** Updated tax info (overwrites existing). */
2267
+ /** Tax information after the changes. Replaces the subscription contract's previous tax information. */
2213
2268
  taxInfo?: OrderTaxInfo;
2269
+ /** Shipping information after the changes. Replaces the subscription contract's previous shipping information. */
2270
+ shippingInfo?: ShippingInformation;
2214
2271
  }
2215
2272
  interface LineItemDelta extends LineItemDeltaDeltaDetailsOneOf {
2273
+ /** Values the line item had before the change. */
2216
2274
  changed?: ItemChangedDetails;
2217
2275
  /**
2218
2276
  * Line item ID.
2219
2277
  * @format GUID
2220
2278
  */
2221
2279
  lineItemId?: string;
2222
- /** Full line item content (absent for removed items). */
2280
+ /** Line item content. For a removed line item, the line item that was removed. */
2223
2281
  lineItem?: OrderLineItem;
2224
2282
  /** Type of change applied to this line item. */
2225
2283
  changeType?: ChangeTypeWithLiterals;
2226
2284
  }
2227
2285
  /** @oneof */
2228
2286
  interface LineItemDeltaDeltaDetailsOneOf {
2287
+ /** Values the line item had before the change. */
2229
2288
  changed?: ItemChangedDetails;
2230
2289
  }
2231
2290
  interface CommonImage {
@@ -2261,158 +2320,160 @@ interface CommonImage {
2261
2320
  */
2262
2321
  filename?: string | null;
2263
2322
  }
2264
- /** the catalog reference options before the change. */
2323
+ /** The catalog reference options before the change. */
2265
2324
  interface CatalogReferenceOptionsBeforeChange {
2266
- /** the catalog reference options. Absent when the line item had no options. */
2325
+ /** The catalog reference options. Absent when the line item had no options. */
2267
2326
  options?: Record<string, any> | null;
2268
2327
  }
2269
- /** the product name before the change. */
2328
+ /** The product name before the change. */
2270
2329
  interface ProductNameBeforeChange {
2271
- /** the product name. Absent when the line item had no product name. */
2330
+ /** The product name. Absent when the line item had no product name. */
2272
2331
  productName?: ProductName;
2273
2332
  }
2274
- /** the description lines before the change. */
2333
+ /** The description lines before the change. */
2275
2334
  interface DescriptionLinesBeforeChange {
2276
2335
  /**
2277
- * the description lines. Empty when the line item had no description lines.
2336
+ * The description lines. Empty when the line item had no description lines.
2278
2337
  * @maxSize 20
2279
2338
  */
2280
2339
  descriptionLines?: DescriptionLine[];
2281
2340
  }
2282
- /** the image before the change. */
2341
+ /** The image before the change. */
2283
2342
  interface ImageBeforeChange {
2284
- /** the image. Absent when the line item had no image. */
2343
+ /** The image. Absent when the line item had no image. */
2285
2344
  image?: CommonImage;
2286
2345
  }
2287
- /** the physical properties before the change. */
2346
+ /** The physical properties before the change. */
2288
2347
  interface PhysicalPropertiesBeforeChange {
2289
- /** the physical properties. Absent when the line item had no physical properties. */
2348
+ /** The physical properties. Absent when the line item had no physical properties. */
2290
2349
  physicalProperties?: PhysicalProperties;
2291
2350
  }
2292
- /** the item type before the change. */
2351
+ /** The item type before the change. */
2293
2352
  interface ItemTypeBeforeChange {
2294
- /** the item type. Absent when the line item had no item type. */
2353
+ /** The item type. Absent when the line item had no item type. */
2295
2354
  itemType?: ItemType;
2296
2355
  }
2297
- /** the fulfiller ID before the change. */
2356
+ /** The fulfiller ID before the change. */
2298
2357
  interface FulfillerIdBeforeChange {
2299
2358
  /**
2300
- * the fulfiller ID. Absent when the line item had no fulfiller.
2359
+ * The fulfiller ID. Absent when the line item had no fulfiller.
2301
2360
  * @format GUID
2302
2361
  */
2303
2362
  fulfillerId?: string | null;
2304
2363
  }
2305
- /** the digital file before the change. */
2364
+ /** The digital file before the change. */
2306
2365
  interface DigitalFileBeforeChange {
2307
- /** the digital file. Absent when the line item had no digital file. */
2366
+ /** The digital file. Absent when the line item had no digital file. */
2308
2367
  digitalFile?: DigitalFile;
2309
2368
  }
2310
- /** the price description before the change. */
2369
+ /** The price description before the change. */
2311
2370
  interface PriceDescriptionBeforeChange {
2312
- /** the price description. Absent when the line item had no price description. */
2371
+ /** The price description. Absent when the line item had no price description. */
2313
2372
  priceDescription?: PriceDescription;
2314
2373
  }
2315
- /** the delivery profile ID before the change. */
2374
+ /** The delivery profile ID before the change. */
2316
2375
  interface DeliveryProfileIdBeforeChange {
2317
2376
  /**
2318
- * the delivery profile ID. Absent when the line item had no delivery profile.
2377
+ * The delivery profile ID. Absent when the line item had no delivery profile.
2319
2378
  * @format GUID
2320
2379
  */
2321
2380
  deliveryProfileId?: string | null;
2322
2381
  }
2323
- /** the shipping group ID before the change. */
2382
+ /** The shipping group ID before the change. */
2324
2383
  interface ShippingGroupIdBeforeChange {
2325
2384
  /**
2326
- * the shipping group ID. Absent when the line item had no shipping group.
2385
+ * The shipping group ID. Absent when the line item had no shipping group.
2327
2386
  * @format GUID
2328
2387
  */
2329
2388
  shippingGroupId?: string | null;
2330
2389
  }
2331
- /** the tax info before the change. */
2390
+ /** The tax info before the change. */
2332
2391
  interface TaxInfoBeforeChange {
2333
- /** the tax info. Absent when the line item had no tax info. */
2392
+ /** The tax info. Absent when the line item had no tax info. */
2334
2393
  taxInfo?: LineItemTaxInfo;
2335
2394
  }
2336
- /** the inventory app ID before the change. */
2395
+ /** The inventory app ID before the change. */
2337
2396
  interface InventoryAppIdBeforeChange {
2338
2397
  /**
2339
- * the inventory app ID. Absent when the line item had no inventory app.
2398
+ * The inventory app ID. Absent when the line item had no inventory app.
2340
2399
  * @format GUID
2341
2400
  */
2342
2401
  inventoryAppId?: string | null;
2343
2402
  }
2344
- /** the root catalog item ID before the change. */
2403
+ /** The root catalog item ID before the change. */
2345
2404
  interface RootCatalogItemIdBeforeChange {
2346
2405
  /**
2347
- * the root catalog item ID. Absent when the line item had no root catalog item.
2406
+ * The root catalog item ID. Absent when the line item had no root catalog item.
2348
2407
  * @minLength 1
2349
2408
  * @maxLength 36
2350
2409
  */
2351
2410
  rootCatalogItemId?: string | null;
2352
2411
  }
2353
- /** the modifier groups before the change. */
2412
+ /** The modifier groups before the change. */
2354
2413
  interface ModifierGroupsBeforeChange {
2355
2414
  /**
2356
- * the modifier groups. Empty when the line item had no modifier groups.
2415
+ * The modifier groups. Empty when the line item had no modifier groups.
2357
2416
  * @maxSize 10
2358
2417
  */
2359
2418
  modifierGroups?: ModifierGroup[];
2360
2419
  }
2361
- /** the price undetermined flag before the change. */
2420
+ /** The price undetermined flag before the change. */
2362
2421
  interface PriceUndeterminedBeforeChange {
2363
- /** whether the price of the line item was undetermined. */
2422
+ /** Whether the price of the line item was undetermined. */
2364
2423
  priceUndetermined?: boolean;
2365
2424
  }
2366
- /** Describes the type of change applied to an element. */
2425
+ /** Type of change to a line item, discount, or additional fee. */
2367
2426
  declare enum ChangeType {
2368
- /** Element was added (absent in the original contract). */
2427
+ /** Unknown change type. */
2428
+ UNKNOWN_CHANGE_TYPE = "UNKNOWN_CHANGE_TYPE",
2429
+ /** The line item, discount, or additional fee was added to the subscription contract. */
2369
2430
  ADDED = "ADDED",
2370
- /** Element was modified from the original contract. */
2431
+ /** The line item, discount, or additional fee was changed. */
2371
2432
  CHANGED = "CHANGED",
2372
- /** Element was removed from the contract. */
2433
+ /** The line item, discount, or additional fee was removed from the subscription contract. */
2373
2434
  REMOVED = "REMOVED"
2374
2435
  }
2375
2436
  /** @enumType */
2376
- type ChangeTypeWithLiterals = ChangeType | 'ADDED' | 'CHANGED' | 'REMOVED';
2437
+ type ChangeTypeWithLiterals = ChangeType | 'UNKNOWN_CHANGE_TYPE' | 'ADDED' | 'CHANGED' | 'REMOVED';
2377
2438
  interface ItemChangedDetails {
2378
2439
  /**
2379
- * The quantity before the change.
2440
+ * The quantity before the change. Set only when the quantity changed.
2380
2441
  * @min 1
2381
2442
  * @max 1000000
2382
2443
  */
2383
2444
  quantityBeforeChange?: number | null;
2384
- /** The price before the change. */
2445
+ /** The price before the change. Set only when the price changed. */
2385
2446
  priceBeforeChange?: Price;
2386
- /** the catalog reference options before the change. Set only when the catalog reference options changed. */
2447
+ /** The catalog reference options before the change. Set only when the catalog reference options changed. */
2387
2448
  catalogReferenceOptionsBeforeChange?: CatalogReferenceOptionsBeforeChange;
2388
- /** the product name before the change. Set only when the product name changed. */
2449
+ /** The product name before the change. Set only when the product name changed. */
2389
2450
  productNameBeforeChange?: ProductNameBeforeChange;
2390
- /** the description lines before the change. Set only when the description lines changed. */
2451
+ /** The description lines before the change. Set only when the description lines changed. */
2391
2452
  descriptionLinesBeforeChange?: DescriptionLinesBeforeChange;
2392
- /** the image before the change. Set only when the image changed. */
2453
+ /** The image before the change. Set only when the image changed. */
2393
2454
  imageBeforeChange?: ImageBeforeChange;
2394
- /** the physical properties before the change. Set only when the physical properties changed. */
2455
+ /** The physical properties before the change. Set only when the physical properties changed. */
2395
2456
  physicalPropertiesBeforeChange?: PhysicalPropertiesBeforeChange;
2396
- /** the item type before the change. Set only when the item type changed. */
2457
+ /** The item type before the change. Set only when the item type changed. */
2397
2458
  itemTypeBeforeChange?: ItemTypeBeforeChange;
2398
- /** the fulfiller ID before the change. Set only when the fulfiller ID changed. */
2459
+ /** The fulfiller ID before the change. Set only when the fulfiller ID changed. */
2399
2460
  fulfillerIdBeforeChange?: FulfillerIdBeforeChange;
2400
- /** the digital file before the change. Set only when the digital file changed. */
2461
+ /** The digital file before the change. Set only when the digital file changed. */
2401
2462
  digitalFileBeforeChange?: DigitalFileBeforeChange;
2402
- /** the price description before the change. Set only when the price description changed. */
2463
+ /** The price description before the change. Set only when the price description changed. */
2403
2464
  priceDescriptionBeforeChange?: PriceDescriptionBeforeChange;
2404
- /** the tax info before the change. Set only when the tax group changed. */
2465
+ /** The tax info before the change. Set only when the line item's tax group changed because its catalog options changed. */
2405
2466
  taxInfoBeforeChange?: TaxInfoBeforeChange;
2406
- /** the inventory app ID before the change. Set only when the inventory app ID changed. */
2407
- inventoryAppIdBeforeChange?: InventoryAppIdBeforeChange;
2408
- /** the modifier groups before the change. Set only when the modifier groups changed. */
2467
+ /** The modifier groups before the change. Set only when the modifier groups changed. */
2409
2468
  modifierGroupsBeforeChange?: ModifierGroupsBeforeChange;
2410
- /** the price undetermined flag before the change. Set only when the price undetermined flag changed. */
2469
+ /** The price undetermined flag before the change. Set only when the price undetermined flag changed. */
2411
2470
  priceUndeterminedBeforeChange?: PriceUndeterminedBeforeChange;
2412
2471
  }
2413
2472
  interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaDetailsOneOf {
2414
2473
  /** Discount content after the change. */
2415
2474
  changed?: AppliedDiscount;
2475
+ /** Discount that was added. */
2476
+ added?: AppliedDiscount;
2416
2477
  /**
2417
2478
  * Discount ID.
2418
2479
  * @format GUID
@@ -2425,10 +2486,14 @@ interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaDetailsOneOf {
2425
2486
  interface AppliedDiscountDeltaDeltaDetailsOneOf {
2426
2487
  /** Discount content after the change. */
2427
2488
  changed?: AppliedDiscount;
2489
+ /** Discount that was added. */
2490
+ added?: AppliedDiscount;
2428
2491
  }
2429
2492
  interface AdditionalFeeDelta extends AdditionalFeeDeltaDeltaDetailsOneOf {
2430
2493
  /** Additional fee content after the change. */
2431
2494
  changed?: AdditionalFee;
2495
+ /** Additional fee that was added. */
2496
+ added?: AdditionalFee;
2432
2497
  /**
2433
2498
  * Additional fee ID.
2434
2499
  * @format GUID
@@ -2441,11 +2506,21 @@ interface AdditionalFeeDelta extends AdditionalFeeDeltaDeltaDetailsOneOf {
2441
2506
  interface AdditionalFeeDeltaDeltaDetailsOneOf {
2442
2507
  /** Additional fee content after the change. */
2443
2508
  changed?: AdditionalFee;
2509
+ /** Additional fee that was added. */
2510
+ added?: AdditionalFee;
2444
2511
  }
2445
2512
  interface SubscriptionCommitSettings {
2446
- /** If false, do not send notifications to buyer. Default is true. */
2513
+ /**
2514
+ * Whether to send the buyer a notification about the committed changes.
2515
+ *
2516
+ * Default: `true`
2517
+ */
2447
2518
  sendNotificationsToBuyer?: boolean | null;
2448
- /** If false, do not send notifications to business. Default is true. */
2519
+ /**
2520
+ * Whether to send the business a notification about the committed changes.
2521
+ *
2522
+ * Default: `true`
2523
+ */
2449
2524
  sendNotificationsToBusiness?: boolean | null;
2450
2525
  }
2451
2526
  /** Triggered when a subscription contract's next charge is coming up. */
@@ -2476,13 +2551,13 @@ interface CreateSubscriptionContractResponse {
2476
2551
  }
2477
2552
  interface GetSubscriptionContractRequest {
2478
2553
  /**
2479
- * ID of the SubscriptionContract to retrieve.
2554
+ * ID of the subscription contract to retrieve.
2480
2555
  * @format GUID
2481
2556
  */
2482
2557
  subscriptionContractId: string;
2483
2558
  }
2484
2559
  interface GetSubscriptionContractResponse {
2485
- /** The requested SubscriptionContract. */
2560
+ /** Retrieved subscription contract. */
2486
2561
  subscriptionContract?: SubscriptionContract;
2487
2562
  }
2488
2563
  interface UpdateSubscriptionContractRequest {
@@ -2494,26 +2569,24 @@ interface UpdateSubscriptionContractResponse {
2494
2569
  subscriptionContract?: SubscriptionContract;
2495
2570
  }
2496
2571
  interface QuerySubscriptionContractsRequest {
2497
- /** WQL expression. */
2572
+ /** Filter, sort, and paging options for the query. */
2498
2573
  query?: CursorQuery;
2499
2574
  }
2500
2575
  interface CursorQuery extends CursorQueryPagingMethodOneOf {
2501
2576
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
2502
2577
  cursorPaging?: CursorPaging;
2503
2578
  /**
2504
- * Filter object in the following format:
2505
- * `"filter" : {
2506
- * "fieldName1": "value1",
2507
- * "fieldName2":{"$operator":"value2"}
2508
- * }`
2509
- * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
2510
- * Learn more about the [filter format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
2579
+ * Filter object. See [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) for more information.
2580
+ *
2581
+ * Supported properties:
2582
+ * `id`, `buyerInfo.contactId`
2511
2583
  */
2512
2584
  filter?: Record<string, any> | null;
2513
2585
  /**
2514
2586
  * Sort object in the following format:
2515
2587
  * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
2516
- * Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
2588
+ *
2589
+ * Learn more about [sorting](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).
2517
2590
  * @maxSize 5
2518
2591
  */
2519
2592
  sort?: Sorting[];
@@ -2525,11 +2598,18 @@ interface CursorQueryPagingMethodOneOf {
2525
2598
  }
2526
2599
  interface Sorting {
2527
2600
  /**
2528
- * Name of the field to sort by.
2601
+ * Field to sort by.
2602
+ *
2603
+ * Supported properties:
2604
+ * `id`, `buyerInfo.contactId`
2529
2605
  * @maxLength 512
2530
2606
  */
2531
2607
  fieldName?: string;
2532
- /** Sort order. */
2608
+ /**
2609
+ * Sort order. Use `ASC` for ascending order or `DESC` for descending order.
2610
+ *
2611
+ * Default: `ASC`
2612
+ */
2533
2613
  order?: SortOrderWithLiterals;
2534
2614
  }
2535
2615
  declare enum SortOrder {
@@ -2554,9 +2634,9 @@ interface CursorPaging {
2554
2634
  cursor?: string | null;
2555
2635
  }
2556
2636
  interface QuerySubscriptionContractsResponse {
2557
- /** List of SubscriptionContracts. */
2637
+ /** Retrieved subscription contracts. */
2558
2638
  subscriptionContracts?: SubscriptionContract[];
2559
- /** Paging metadata */
2639
+ /** Paging metadata. */
2560
2640
  pagingMetadata?: CursorPagingMetadata;
2561
2641
  }
2562
2642
  interface CursorPagingMetadata {
@@ -2859,6 +2939,12 @@ interface AccountInfo {
2859
2939
  */
2860
2940
  siteId?: string | null;
2861
2941
  }
2942
+ /** @docsIgnore */
2943
+ type GetSubscriptionContractApplicationErrors = {
2944
+ code?: 'NOT_FOUND';
2945
+ description?: string;
2946
+ data?: Record<string, any>;
2947
+ };
2862
2948
 
2863
2949
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
2864
2950
  getUrl: (context: any) => string;
@@ -2875,4 +2961,4 @@ declare function getSubscriptionContract(): __PublicMethodMetaInfo<'GET', {
2875
2961
  }, GetSubscriptionContractRequest$1, GetSubscriptionContractRequest, GetSubscriptionContractResponse$1, GetSubscriptionContractResponse>;
2876
2962
  declare function querySubscriptionContracts(): __PublicMethodMetaInfo<'GET', {}, QuerySubscriptionContractsRequest$1, QuerySubscriptionContractsRequest, QuerySubscriptionContractsResponse$1, QuerySubscriptionContractsResponse>;
2877
2963
 
2878
- 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 CatalogReferenceOptionsBeforeChange as CatalogReferenceOptionsBeforeChangeOriginal, 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 CommonImage as CommonImageOriginal, 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 CyclePriceOverride as CyclePriceOverrideOriginal, type DecimalQuantity as DecimalQuantityOriginal, type DecimalQuantityUnitOneOf as DecimalQuantityUnitOneOfOriginal, type DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOfOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryProfileIdBeforeChange as DeliveryProfileIdBeforeChangeOriginal, 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 DescriptionLinesBeforeChange as DescriptionLinesBeforeChangeOriginal, type DigitalFileBeforeChange as DigitalFileBeforeChangeOriginal, 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 FulfillerIdBeforeChange as FulfillerIdBeforeChangeOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetSubscriptionContractRequest as GetSubscriptionContractRequestOriginal, type GetSubscriptionContractResponse as GetSubscriptionContractResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageBeforeChange as ImageBeforeChangeOriginal, type Image as ImageOriginal, type InventoryAppIdBeforeChange as InventoryAppIdBeforeChangeOriginal, type ItemChangedDetails as ItemChangedDetailsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeBeforeChange as ItemTypeBeforeChangeOriginal, 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 LineItemCyclePriceOverrides as LineItemCyclePriceOverridesOriginal, type LineItemDeltaDeltaDetailsOneOf as LineItemDeltaDeltaDetailsOneOfOriginal, 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 ModifierGroupsBeforeChange as ModifierGroupsBeforeChangeOriginal, type OrderLineItem as OrderLineItemOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalPropertiesBeforeChange as PhysicalPropertiesBeforeChangeOriginal, 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 PriceDescriptionBeforeChange as PriceDescriptionBeforeChangeOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type PriceUndeterminedBeforeChange as PriceUndeterminedBeforeChangeOriginal, type ProductNameBeforeChange as ProductNameBeforeChangeOriginal, 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 RootCatalogItemIdBeforeChange as RootCatalogItemIdBeforeChangeOriginal, type ServiceProperties as ServicePropertiesOriginal, type ShippingGroupIdBeforeChange as ShippingGroupIdBeforeChangeOriginal, 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 SubscriptionContractChargeUpcoming as SubscriptionContractChargeUpcomingOriginal, 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 TaxInfoBeforeChange as TaxInfoBeforeChangeOriginal, 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 V1CyclePriceOverride as V1CyclePriceOverrideOriginal, 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 };
2964
+ 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 AdditionalFeeSummary as AdditionalFeeSummaryOriginal, 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 CatalogReferenceOptionsBeforeChange as CatalogReferenceOptionsBeforeChangeOriginal, 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 CommonImage as CommonImageOriginal, type ContractChangeChangeDetailsOneOf as ContractChangeChangeDetailsOneOfOriginal, type ContractChange as ContractChangeOriginal, ContractChangeType as ContractChangeTypeOriginal, type ContractChangeTypeWithLiterals as ContractChangeTypeWithLiteralsOriginal, 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 CyclePriceOverride as CyclePriceOverrideOriginal, type DecimalQuantity as DecimalQuantityOriginal, type DecimalQuantityUnitOneOf as DecimalQuantityUnitOneOfOriginal, type DeliveryLogisticsAddressOneOf as DeliveryLogisticsAddressOneOfOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryProfileIdBeforeChange as DeliveryProfileIdBeforeChangeOriginal, 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 DescriptionLinesBeforeChange as DescriptionLinesBeforeChangeOriginal, type DigitalFileBeforeChange as DigitalFileBeforeChangeOriginal, 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, type DiscountSummary as DiscountSummaryOriginal, 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 FulfillerIdBeforeChange as FulfillerIdBeforeChangeOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetSubscriptionContractApplicationErrors as GetSubscriptionContractApplicationErrorsOriginal, type GetSubscriptionContractRequest as GetSubscriptionContractRequestOriginal, type GetSubscriptionContractResponse as GetSubscriptionContractResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageBeforeChange as ImageBeforeChangeOriginal, type Image as ImageOriginal, type InventoryAppIdBeforeChange as InventoryAppIdBeforeChangeOriginal, type ItemChangedDetails as ItemChangedDetailsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemMetadata as ItemMetadataOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeBeforeChange as ItemTypeBeforeChangeOriginal, 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 LineItemCyclePriceOverrides as LineItemCyclePriceOverridesOriginal, type LineItemDeltaDeltaDetailsOneOf as LineItemDeltaDeltaDetailsOneOfOriginal, type LineItemDelta as LineItemDeltaOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemQuantityChange as LineItemQuantityChangeOriginal, LineItemQuantityChangeType as LineItemQuantityChangeTypeOriginal, type LineItemQuantityChangeTypeWithLiterals as LineItemQuantityChangeTypeWithLiteralsOriginal, type LineItemSummary as LineItemSummaryOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, 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 ModifierGroupsBeforeChange as ModifierGroupsBeforeChangeOriginal, type OrderLineItem as OrderLineItemOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PhysicalPropertiesBeforeChange as PhysicalPropertiesBeforeChangeOriginal, 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 PriceDescriptionBeforeChange as PriceDescriptionBeforeChangeOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type PriceUndeterminedBeforeChange as PriceUndeterminedBeforeChangeOriginal, type ProductNameBeforeChange as ProductNameBeforeChangeOriginal, 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 RootCatalogItemIdBeforeChange as RootCatalogItemIdBeforeChangeOriginal, type ServiceProperties as ServicePropertiesOriginal, type ShippingGroupIdBeforeChange as ShippingGroupIdBeforeChangeOriginal, 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 SubscriptionContractChargeUpcoming as SubscriptionContractChargeUpcomingOriginal, 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 TaxInfoBeforeChange as TaxInfoBeforeChangeOriginal, 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 V1CyclePriceOverride as V1CyclePriceOverrideOriginal, 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 };