@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.
- package/build/cjs/index.d.ts +31 -10
- package/build/cjs/index.js +119 -17
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +317 -188
- package/build/cjs/index.typings.js +16 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +251 -165
- package/build/cjs/meta.js +16 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +31 -10
- package/build/es/index.mjs +117 -17
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +317 -188
- package/build/es/index.typings.mjs +15 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +251 -165
- package/build/es/meta.mjs +15 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +31 -10
- package/build/internal/cjs/index.typings.d.ts +321 -190
- package/build/internal/cjs/meta.d.ts +255 -167
- package/build/internal/es/index.d.mts +31 -10
- package/build/internal/es/index.typings.d.mts +321 -190
- package/build/internal/es/meta.d.mts +255 -167
- package/package.json +2 -2
|
@@ -2,33 +2,31 @@ import { GetSubscriptionContractRequest as GetSubscriptionContractRequest$1, Get
|
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* A
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
29
|
+
* Date and time the subscription contract was last updated.
|
|
32
30
|
* @readonly
|
|
33
31
|
*/
|
|
34
32
|
updatedDate?: Date | null;
|
|
@@ -47,14 +45,23 @@ interface SubscriptionContract {
|
|
|
47
45
|
*/
|
|
48
46
|
description?: string | null;
|
|
49
47
|
/**
|
|
50
|
-
* Subscription
|
|
51
|
-
*
|
|
48
|
+
* Subscription description, in the site's default language and translated into the buyer's language. For example, `"1kg of selected coffee, once a month"`.
|
|
49
|
+
*
|
|
50
|
+
* For a subscription contract with more than one line item, holds a general name for the subscription.
|
|
52
51
|
*/
|
|
53
52
|
subscriptionDescription?: V1SubscriptionDescription;
|
|
54
|
-
/** Subscription
|
|
53
|
+
/** Subscription terms, such as the billing frequency, the number of billing cycles, and whether the subscription renews automatically. */
|
|
55
54
|
subscriptionSettings?: V1SubscriptionSettings;
|
|
56
55
|
/**
|
|
57
|
-
*
|
|
56
|
+
* Subscription line items. The order for each billing cycle is created with these line items.
|
|
57
|
+
*
|
|
58
|
+
* In a subscription contract:
|
|
59
|
+
* + `lineItems.subscriptionInfo.id` is the subscription contract's own ID.
|
|
60
|
+
* + `lineItems.subscriptionInfo.cycleNumber` is always `0`. The billing cycle is set on the line items of each cycle's order.
|
|
61
|
+
* + `subscriptionInfo.title` and `subscriptionInfo.description` hold the subscription contract's title and description, not the line item's own subscription option.
|
|
62
|
+
* + `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.
|
|
63
|
+
* + `extendedFields` and `decimalQuantity` aren't returned.
|
|
64
|
+
* + When coupons were included in item prices at checkout, `price` is the price before coupons, and the coupons are in `appliedDiscounts`.
|
|
58
65
|
* @minSize 1
|
|
59
66
|
* @maxSize 100
|
|
60
67
|
*/
|
|
@@ -62,20 +69,25 @@ interface SubscriptionContract {
|
|
|
62
69
|
/** Buyer information. */
|
|
63
70
|
buyerInfo?: BuyerInfo;
|
|
64
71
|
/**
|
|
65
|
-
* Language for communication with the buyer.
|
|
66
|
-
*
|
|
72
|
+
* Language for communication with the buyer. For a site that supports multiple languages, this is the language the buyer selected.
|
|
73
|
+
*
|
|
74
|
+
* Default: Site language
|
|
67
75
|
* @maxLength 10
|
|
68
76
|
*/
|
|
69
77
|
buyerLanguage?: string | null;
|
|
70
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* Weight measurement unit.
|
|
80
|
+
*
|
|
81
|
+
* Default: Site's weight unit
|
|
82
|
+
*/
|
|
71
83
|
weightUnit?: WeightUnitWithLiterals;
|
|
72
84
|
/**
|
|
73
|
-
* Currency used for the pricing
|
|
85
|
+
* 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.
|
|
74
86
|
* @format CURRENCY
|
|
75
87
|
* @immutable
|
|
76
88
|
*/
|
|
77
89
|
currency?: string | null;
|
|
78
|
-
/** Multi-currency
|
|
90
|
+
/** Multi-currency details for a subscription paid in a currency other than the site's currency. */
|
|
79
91
|
currencyConversionDetails?: CurrencyConversionDetails;
|
|
80
92
|
/**
|
|
81
93
|
* Whether tax is included in line item prices.
|
|
@@ -85,15 +97,19 @@ interface SubscriptionContract {
|
|
|
85
97
|
*/
|
|
86
98
|
taxIncludedInPrices?: boolean;
|
|
87
99
|
/**
|
|
88
|
-
*
|
|
100
|
+
* Price summary of a single billing cycle.
|
|
89
101
|
* @readonly
|
|
90
102
|
*/
|
|
91
103
|
priceSummary?: PriceSummary;
|
|
92
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Summary of platform fees calculated at checkout, including totals by charge type and a breakdown of individual fees.
|
|
106
|
+
*
|
|
107
|
+
* Not updated when draft changes are committed. Each billing cycle's order holds the platform fees for that cycle.
|
|
108
|
+
*/
|
|
93
109
|
platformFeeSummary?: PlatformFeeSummary;
|
|
94
110
|
/** Billing address and contact details. */
|
|
95
111
|
billingInfo?: AddressWithContact;
|
|
96
|
-
/** Shipping
|
|
112
|
+
/** Shipping information and selected shipping option details. */
|
|
97
113
|
shippingInfo?: ShippingInformation;
|
|
98
114
|
/**
|
|
99
115
|
* Tax information.
|
|
@@ -102,11 +118,11 @@ interface SubscriptionContract {
|
|
|
102
118
|
*/
|
|
103
119
|
taxInfo?: OrderTaxInfo;
|
|
104
120
|
/**
|
|
105
|
-
*
|
|
121
|
+
* Discounts applied to the subscription contract.
|
|
106
122
|
* @maxSize 100
|
|
107
123
|
*/
|
|
108
124
|
appliedDiscounts?: AppliedDiscount[];
|
|
109
|
-
/** Information about the sales channel
|
|
125
|
+
/** Information about the sales channel the subscription was purchased through. */
|
|
110
126
|
channelInfo?: ChannelInfo;
|
|
111
127
|
/**
|
|
112
128
|
* Custom fields.
|
|
@@ -114,7 +130,7 @@ interface SubscriptionContract {
|
|
|
114
130
|
*/
|
|
115
131
|
customFields?: CustomField[];
|
|
116
132
|
/**
|
|
117
|
-
*
|
|
133
|
+
* Recipient address and contact details.
|
|
118
134
|
*
|
|
119
135
|
* This field may differ from the address in `shippingInfo.logistics` when:
|
|
120
136
|
* + The chosen shipping option is pickup point or store pickup.
|
|
@@ -124,7 +140,7 @@ interface SubscriptionContract {
|
|
|
124
140
|
/**
|
|
125
141
|
* Custom field data for the subscription contract object.
|
|
126
142
|
*
|
|
127
|
-
* [Extended fields](https://dev.wix.com/docs/
|
|
143
|
+
* [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.
|
|
128
144
|
*/
|
|
129
145
|
extendedFields?: ExtendedFields;
|
|
130
146
|
/**
|
|
@@ -136,12 +152,13 @@ interface SubscriptionContract {
|
|
|
136
152
|
*/
|
|
137
153
|
title?: string | null;
|
|
138
154
|
/**
|
|
139
|
-
* Subscription title. For example, `"Monthly coffee
|
|
140
|
-
*
|
|
155
|
+
* Subscription title, in the site's default language and translated into the buyer's language. For example, `"Monthly coffee subscription"`.
|
|
156
|
+
*
|
|
157
|
+
* For a subscription contract with more than one line item, holds a general name for the subscription.
|
|
141
158
|
*/
|
|
142
159
|
subscriptionTitle?: V1SubscriptionTitle;
|
|
143
160
|
/**
|
|
144
|
-
* Additional fees applied to subscription contract.
|
|
161
|
+
* Additional fees applied to the subscription contract.
|
|
145
162
|
* @maxSize 100
|
|
146
163
|
*/
|
|
147
164
|
additionalFees?: AdditionalFee[];
|
|
@@ -156,7 +173,8 @@ interface SubscriptionContract {
|
|
|
156
173
|
*/
|
|
157
174
|
settings?: SubscriptionContractSettings;
|
|
158
175
|
/**
|
|
159
|
-
*
|
|
176
|
+
* Record of changes made to the subscription contract after checkout.
|
|
177
|
+
* @internal
|
|
160
178
|
* @readonly
|
|
161
179
|
* @maxSize 500
|
|
162
180
|
*/
|
|
@@ -164,18 +182,18 @@ interface SubscriptionContract {
|
|
|
164
182
|
}
|
|
165
183
|
interface V1SubscriptionDescription {
|
|
166
184
|
/**
|
|
167
|
-
* Subscription
|
|
185
|
+
* Subscription description in the site's default language.
|
|
168
186
|
* @maxLength 500
|
|
169
187
|
*/
|
|
170
188
|
original?: string;
|
|
171
189
|
/**
|
|
172
|
-
*
|
|
190
|
+
* Subscription description translated into the buyer's language.
|
|
173
191
|
* @maxLength 500
|
|
174
192
|
*/
|
|
175
193
|
translated?: string | null;
|
|
176
194
|
}
|
|
177
195
|
interface V1SubscriptionSettings {
|
|
178
|
-
/** Frequency of
|
|
196
|
+
/** Frequency unit of the billing cycle. */
|
|
179
197
|
frequency?: SubscriptionFrequencyWithLiterals;
|
|
180
198
|
/**
|
|
181
199
|
* Number of frequency units in a billing cycle. For example, frequency `MONTH` with interval `3` means billing every 3 months.
|
|
@@ -183,19 +201,23 @@ interface V1SubscriptionSettings {
|
|
|
183
201
|
* @max 3650
|
|
184
202
|
*/
|
|
185
203
|
interval?: number | null;
|
|
186
|
-
/** Whether subscription
|
|
204
|
+
/** Whether the subscription renews automatically at the end of each billing cycle. */
|
|
187
205
|
autoRenewal?: boolean;
|
|
188
206
|
/**
|
|
189
|
-
* Number of billing cycles before subscription ends.
|
|
207
|
+
* Number of billing cycles before the subscription ends.
|
|
190
208
|
* @min 1
|
|
191
209
|
*/
|
|
192
210
|
billingCycles?: number | null;
|
|
193
|
-
/** Whether
|
|
211
|
+
/** Whether the buyer can cancel the subscription. */
|
|
194
212
|
enableCustomerCancellation?: boolean;
|
|
195
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* Free trial period before the first billing cycle starts.
|
|
215
|
+
*
|
|
216
|
+
* Returned only when the subscription has a free trial.
|
|
217
|
+
*/
|
|
196
218
|
freeTrialPeriod?: V1FreeTrialPeriod;
|
|
197
219
|
/**
|
|
198
|
-
*
|
|
220
|
+
* Date and time the subscription starts. The first charge is made on this date, or when the free trial ends.
|
|
199
221
|
* @internal
|
|
200
222
|
*/
|
|
201
223
|
startDate?: Date | null;
|
|
@@ -227,7 +249,7 @@ declare enum SubscriptionFrequency {
|
|
|
227
249
|
/** @enumType */
|
|
228
250
|
type SubscriptionFrequencyWithLiterals = SubscriptionFrequency | 'UNDEFINED' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
|
|
229
251
|
interface V1FreeTrialPeriod {
|
|
230
|
-
/** Frequency of
|
|
252
|
+
/** Frequency unit of the free trial period. */
|
|
231
253
|
frequency?: SubscriptionFrequencyWithLiterals;
|
|
232
254
|
/**
|
|
233
255
|
* Number of frequency units in the free trial period. For example, frequency `MONTH` with interval `3` means a 3-month free trial.
|
|
@@ -2154,15 +2176,13 @@ interface CustomField {
|
|
|
2154
2176
|
}
|
|
2155
2177
|
interface V1SubscriptionTitle {
|
|
2156
2178
|
/**
|
|
2157
|
-
* Subscription
|
|
2179
|
+
* Subscription title in the site's default language.
|
|
2158
2180
|
* @minLength 1
|
|
2159
2181
|
* @maxLength 150
|
|
2160
2182
|
*/
|
|
2161
2183
|
original?: string;
|
|
2162
2184
|
/**
|
|
2163
|
-
* Subscription
|
|
2164
|
-
*
|
|
2165
|
-
* Default: Same as `original`.
|
|
2185
|
+
* Subscription title translated into the buyer's language.
|
|
2166
2186
|
* @minLength 1
|
|
2167
2187
|
* @maxLength 150
|
|
2168
2188
|
*/
|
|
@@ -2273,7 +2293,7 @@ declare enum SpecificItemsCouponBehavior {
|
|
|
2273
2293
|
/** @enumType */
|
|
2274
2294
|
type SpecificItemsCouponBehaviorWithLiterals = SpecificItemsCouponBehavior | 'UNDEFINED_COUPON_BEHAVIOR' | 'ITEM_SUBTOTAL_INCLUDES_DISCOUNT' | 'LEGACY_ITEM_SUBTOTAL_DOES_NOT_INCLUDE_DISCOUNT';
|
|
2275
2295
|
interface SubscriptionContractActivity extends SubscriptionContractActivityTargetOneOf, SubscriptionContractActivityContentOneOf {
|
|
2276
|
-
/**
|
|
2296
|
+
/** The activity applies to all future billing cycles of the subscription contract. */
|
|
2277
2297
|
contractTarget?: ContractTarget;
|
|
2278
2298
|
/** Changes committed from a DraftSubscriptionContract. */
|
|
2279
2299
|
changesApplied?: ChangesAppliedActivity;
|
|
@@ -2284,12 +2304,12 @@ interface SubscriptionContractActivity extends SubscriptionContractActivityTarge
|
|
|
2284
2304
|
*/
|
|
2285
2305
|
id?: string;
|
|
2286
2306
|
/**
|
|
2287
|
-
*
|
|
2307
|
+
* Date and time the activity occurred.
|
|
2288
2308
|
* @readonly
|
|
2289
2309
|
*/
|
|
2290
2310
|
createdDate?: Date | null;
|
|
2291
2311
|
/**
|
|
2292
|
-
*
|
|
2312
|
+
* Wix user or app that made the change.
|
|
2293
2313
|
* @readonly
|
|
2294
2314
|
*/
|
|
2295
2315
|
author?: ActivityAuthor;
|
|
@@ -2298,7 +2318,7 @@ interface SubscriptionContractActivity extends SubscriptionContractActivityTarge
|
|
|
2298
2318
|
}
|
|
2299
2319
|
/** @oneof */
|
|
2300
2320
|
interface SubscriptionContractActivityTargetOneOf {
|
|
2301
|
-
/**
|
|
2321
|
+
/** The activity applies to all future billing cycles of the subscription contract. */
|
|
2302
2322
|
contractTarget?: ContractTarget;
|
|
2303
2323
|
}
|
|
2304
2324
|
/** @oneof */
|
|
@@ -2306,19 +2326,19 @@ interface SubscriptionContractActivityContentOneOf {
|
|
|
2306
2326
|
/** Changes committed from a DraftSubscriptionContract. */
|
|
2307
2327
|
changesApplied?: ChangesAppliedActivity;
|
|
2308
2328
|
}
|
|
2309
|
-
/**
|
|
2329
|
+
/** Target that applies changes to all future billing cycles of the subscription contract. */
|
|
2310
2330
|
interface ContractTarget {
|
|
2311
|
-
/**
|
|
2331
|
+
/** Number of the first billing cycle the changes apply to. Billing cycles are numbered from `1`. */
|
|
2312
2332
|
nextCycleNumber?: number | null;
|
|
2313
2333
|
}
|
|
2314
2334
|
interface ActivityAuthor extends ActivityAuthorValueOneOf {
|
|
2315
2335
|
/**
|
|
2316
|
-
*
|
|
2336
|
+
* Wix user ID. Returned when a Wix user made the change.
|
|
2317
2337
|
* @format GUID
|
|
2318
2338
|
*/
|
|
2319
2339
|
userId?: string;
|
|
2320
2340
|
/**
|
|
2321
|
-
* App ID.
|
|
2341
|
+
* App ID. Returned when an app made the change.
|
|
2322
2342
|
* @format GUID
|
|
2323
2343
|
*/
|
|
2324
2344
|
appId?: string;
|
|
@@ -2326,74 +2346,76 @@ interface ActivityAuthor extends ActivityAuthorValueOneOf {
|
|
|
2326
2346
|
/** @oneof */
|
|
2327
2347
|
interface ActivityAuthorValueOneOf {
|
|
2328
2348
|
/**
|
|
2329
|
-
*
|
|
2349
|
+
* Wix user ID. Returned when a Wix user made the change.
|
|
2330
2350
|
* @format GUID
|
|
2331
2351
|
*/
|
|
2332
2352
|
userId?: string;
|
|
2333
2353
|
/**
|
|
2334
|
-
* App ID.
|
|
2354
|
+
* App ID. Returned when an app made the change.
|
|
2335
2355
|
* @format GUID
|
|
2336
2356
|
*/
|
|
2337
2357
|
appId?: string;
|
|
2338
2358
|
}
|
|
2339
2359
|
interface ChangesAppliedActivity extends ChangesAppliedActivityTargetOneOf {
|
|
2340
|
-
/**
|
|
2360
|
+
/** The changes apply to all future billing cycles of the subscription contract. */
|
|
2341
2361
|
contractTarget?: ContractTarget;
|
|
2342
2362
|
/**
|
|
2343
|
-
* ID of the
|
|
2363
|
+
* ID of the draft subscription contract whose changes were committed.
|
|
2344
2364
|
* @format GUID
|
|
2345
2365
|
*/
|
|
2346
2366
|
draftSubscriptionContractId?: string;
|
|
2347
2367
|
/**
|
|
2348
|
-
*
|
|
2368
|
+
* Changes that were applied to the subscription contract.
|
|
2349
2369
|
* @maxSize 100
|
|
2350
2370
|
*/
|
|
2351
2371
|
changes?: ContractChange[];
|
|
2352
2372
|
/**
|
|
2353
|
-
* Reason for the
|
|
2373
|
+
* Reason for the change, provided by the business.
|
|
2354
2374
|
* @maxLength 200
|
|
2355
2375
|
*/
|
|
2356
2376
|
reason?: string | null;
|
|
2357
2377
|
}
|
|
2358
2378
|
/** @oneof */
|
|
2359
2379
|
interface ChangesAppliedActivityTargetOneOf {
|
|
2360
|
-
/**
|
|
2380
|
+
/** The changes apply to all future billing cycles of the subscription contract. */
|
|
2361
2381
|
contractTarget?: ContractTarget;
|
|
2362
2382
|
}
|
|
2363
|
-
interface ContractChange extends
|
|
2383
|
+
interface ContractChange extends ContractChangeChangeDetailsOneOf {
|
|
2364
2384
|
/** Line item was modified. */
|
|
2365
2385
|
lineItemChanged?: LineItemChanges;
|
|
2366
2386
|
/** Line item was added to the contract. */
|
|
2367
|
-
lineItemAdded?:
|
|
2387
|
+
lineItemAdded?: LineItemSummary;
|
|
2368
2388
|
/** Line item was removed from the contract. */
|
|
2369
|
-
lineItemRemoved?:
|
|
2389
|
+
lineItemRemoved?: LineItemSummary;
|
|
2370
2390
|
/** Discount was added to the contract. */
|
|
2371
|
-
discountAdded?:
|
|
2391
|
+
discountAdded?: DiscountSummary;
|
|
2372
2392
|
/** Discount was removed from the contract. */
|
|
2373
|
-
discountRemoved?:
|
|
2393
|
+
discountRemoved?: DiscountSummary;
|
|
2374
2394
|
/** Additional fee was added to the contract. */
|
|
2375
|
-
additionalFeeAdded?:
|
|
2395
|
+
additionalFeeAdded?: AdditionalFeeSummary;
|
|
2376
2396
|
/** Additional fee was removed from the contract. */
|
|
2377
|
-
additionalFeeRemoved?:
|
|
2397
|
+
additionalFeeRemoved?: AdditionalFeeSummary;
|
|
2378
2398
|
/** Total price changed. */
|
|
2379
2399
|
totalPriceChanged?: TotalPriceChange;
|
|
2400
|
+
/** Type of change. */
|
|
2401
|
+
changeType?: ContractChangeTypeWithLiterals;
|
|
2380
2402
|
}
|
|
2381
2403
|
/** @oneof */
|
|
2382
|
-
interface
|
|
2404
|
+
interface ContractChangeChangeDetailsOneOf {
|
|
2383
2405
|
/** Line item was modified. */
|
|
2384
2406
|
lineItemChanged?: LineItemChanges;
|
|
2385
2407
|
/** Line item was added to the contract. */
|
|
2386
|
-
lineItemAdded?:
|
|
2408
|
+
lineItemAdded?: LineItemSummary;
|
|
2387
2409
|
/** Line item was removed from the contract. */
|
|
2388
|
-
lineItemRemoved?:
|
|
2410
|
+
lineItemRemoved?: LineItemSummary;
|
|
2389
2411
|
/** Discount was added to the contract. */
|
|
2390
|
-
discountAdded?:
|
|
2412
|
+
discountAdded?: DiscountSummary;
|
|
2391
2413
|
/** Discount was removed from the contract. */
|
|
2392
|
-
discountRemoved?:
|
|
2414
|
+
discountRemoved?: DiscountSummary;
|
|
2393
2415
|
/** Additional fee was added to the contract. */
|
|
2394
|
-
additionalFeeAdded?:
|
|
2416
|
+
additionalFeeAdded?: AdditionalFeeSummary;
|
|
2395
2417
|
/** Additional fee was removed from the contract. */
|
|
2396
|
-
additionalFeeRemoved?:
|
|
2418
|
+
additionalFeeRemoved?: AdditionalFeeSummary;
|
|
2397
2419
|
/** Total price changed. */
|
|
2398
2420
|
totalPriceChanged?: TotalPriceChange;
|
|
2399
2421
|
}
|
|
@@ -2409,11 +2431,15 @@ interface LineItemChanges {
|
|
|
2409
2431
|
quantity?: LineItemQuantityChange;
|
|
2410
2432
|
}
|
|
2411
2433
|
declare enum LineItemQuantityChangeType {
|
|
2434
|
+
/** Unknown quantity change type. */
|
|
2435
|
+
UNKNOWN_LINE_ITEM_QUANTITY_CHANGE_TYPE = "UNKNOWN_LINE_ITEM_QUANTITY_CHANGE_TYPE",
|
|
2436
|
+
/** Quantity increased. */
|
|
2412
2437
|
QUANTITY_INCREASED = "QUANTITY_INCREASED",
|
|
2438
|
+
/** Quantity decreased. */
|
|
2413
2439
|
QUANTITY_DECREASED = "QUANTITY_DECREASED"
|
|
2414
2440
|
}
|
|
2415
2441
|
/** @enumType */
|
|
2416
|
-
type LineItemQuantityChangeTypeWithLiterals = LineItemQuantityChangeType | 'QUANTITY_INCREASED' | 'QUANTITY_DECREASED';
|
|
2442
|
+
type LineItemQuantityChangeTypeWithLiterals = LineItemQuantityChangeType | 'UNKNOWN_LINE_ITEM_QUANTITY_CHANGE_TYPE' | 'QUANTITY_INCREASED' | 'QUANTITY_DECREASED';
|
|
2417
2443
|
interface LineItemQuantityChange {
|
|
2418
2444
|
/**
|
|
2419
2445
|
* Original item quantity before the change.
|
|
@@ -2430,11 +2456,11 @@ interface LineItemQuantityChange {
|
|
|
2430
2456
|
* @min 1
|
|
2431
2457
|
* @max 1000000
|
|
2432
2458
|
*/
|
|
2433
|
-
|
|
2459
|
+
quantityDifference?: number;
|
|
2434
2460
|
/** Direction of the quantity change. */
|
|
2435
2461
|
deltaType?: LineItemQuantityChangeTypeWithLiterals;
|
|
2436
2462
|
}
|
|
2437
|
-
interface
|
|
2463
|
+
interface LineItemSummary {
|
|
2438
2464
|
/**
|
|
2439
2465
|
* Line item ID.
|
|
2440
2466
|
* @format GUID
|
|
@@ -2449,7 +2475,7 @@ interface ManagedLineItem {
|
|
|
2449
2475
|
*/
|
|
2450
2476
|
quantity?: number;
|
|
2451
2477
|
}
|
|
2452
|
-
interface
|
|
2478
|
+
interface DiscountSummary {
|
|
2453
2479
|
/**
|
|
2454
2480
|
* Discount ID.
|
|
2455
2481
|
* @format GUID
|
|
@@ -2472,7 +2498,7 @@ interface TranslatedValue {
|
|
|
2472
2498
|
*/
|
|
2473
2499
|
translated?: string | null;
|
|
2474
2500
|
}
|
|
2475
|
-
interface
|
|
2501
|
+
interface AdditionalFeeSummary {
|
|
2476
2502
|
/**
|
|
2477
2503
|
* Additional fee ID.
|
|
2478
2504
|
* @format GUID
|
|
@@ -2489,8 +2515,32 @@ interface TotalPriceChange {
|
|
|
2489
2515
|
/** Total price after the commit. */
|
|
2490
2516
|
newTotal?: Price;
|
|
2491
2517
|
}
|
|
2518
|
+
declare enum ContractChangeType {
|
|
2519
|
+
/** Unknown change type. */
|
|
2520
|
+
UNKNOWN_CONTRACT_CHANGE_TYPE = "UNKNOWN_CONTRACT_CHANGE_TYPE",
|
|
2521
|
+
/** Line item was modified. */
|
|
2522
|
+
LINE_ITEM_CHANGED = "LINE_ITEM_CHANGED",
|
|
2523
|
+
/** Line item was added to the contract. */
|
|
2524
|
+
LINE_ITEM_ADDED = "LINE_ITEM_ADDED",
|
|
2525
|
+
/** Line item was removed from the contract. */
|
|
2526
|
+
LINE_ITEM_REMOVED = "LINE_ITEM_REMOVED",
|
|
2527
|
+
/** Discount was added to the contract. */
|
|
2528
|
+
DISCOUNT_ADDED = "DISCOUNT_ADDED",
|
|
2529
|
+
/** Discount was removed from the contract. */
|
|
2530
|
+
DISCOUNT_REMOVED = "DISCOUNT_REMOVED",
|
|
2531
|
+
/** Additional fee was added to the contract. */
|
|
2532
|
+
ADDITIONAL_FEE_ADDED = "ADDITIONAL_FEE_ADDED",
|
|
2533
|
+
/** Additional fee was removed from the contract. */
|
|
2534
|
+
ADDITIONAL_FEE_REMOVED = "ADDITIONAL_FEE_REMOVED",
|
|
2535
|
+
/** Total price changed. */
|
|
2536
|
+
TOTAL_PRICE_CHANGED = "TOTAL_PRICE_CHANGED"
|
|
2537
|
+
}
|
|
2538
|
+
/** @enumType */
|
|
2539
|
+
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';
|
|
2492
2540
|
declare enum ActivityType {
|
|
2541
|
+
/** Unknown activity type. */
|
|
2493
2542
|
UNKNOWN_ACTIVITY_TYPE = "UNKNOWN_ACTIVITY_TYPE",
|
|
2543
|
+
/** Changes from a draft subscription contract were committed. */
|
|
2494
2544
|
CHANGES_APPLIED = "CHANGES_APPLIED"
|
|
2495
2545
|
}
|
|
2496
2546
|
/** @enumType */
|
|
@@ -2521,30 +2571,26 @@ interface SubscriptionContractExpired {
|
|
|
2521
2571
|
/** The subscription contract that expired. */
|
|
2522
2572
|
subscriptionContract?: SubscriptionContract;
|
|
2523
2573
|
}
|
|
2524
|
-
/**
|
|
2525
|
-
* ACTION event payload emitted after a successful commit.
|
|
2526
|
-
* Carries the full delta — downstream consumers (email notifications, activity feed)
|
|
2527
|
-
* subscribe to this event and have all details inline without fetching the draft.
|
|
2528
|
-
*/
|
|
2574
|
+
/** Triggered when changes from a draft subscription contract are committed to a subscription contract. */
|
|
2529
2575
|
interface SubscriptionContractChangesCommitted {
|
|
2530
|
-
/**
|
|
2576
|
+
/** Subscription contract after the changes were committed. */
|
|
2531
2577
|
subscriptionContract?: SubscriptionContract;
|
|
2532
2578
|
/**
|
|
2533
|
-
* ID of the
|
|
2579
|
+
* ID of the draft subscription contract whose changes were committed.
|
|
2534
2580
|
* @format GUID
|
|
2535
2581
|
*/
|
|
2536
2582
|
draftSubscriptionContractId?: string;
|
|
2537
|
-
/**
|
|
2583
|
+
/** Changes that were applied to the subscription contract. */
|
|
2538
2584
|
changes?: SubscriptionContractDiffs;
|
|
2539
2585
|
/**
|
|
2540
2586
|
* Date and time the changes were committed.
|
|
2541
2587
|
* @readonly
|
|
2542
2588
|
*/
|
|
2543
2589
|
commitDate?: Date | null;
|
|
2544
|
-
/**
|
|
2590
|
+
/** Notification settings specified when the changes were committed. */
|
|
2545
2591
|
commitSettings?: SubscriptionCommitSettings;
|
|
2546
2592
|
/**
|
|
2547
|
-
* Reason for the
|
|
2593
|
+
* Reason for the change, provided by the business.
|
|
2548
2594
|
* @maxLength 200
|
|
2549
2595
|
*/
|
|
2550
2596
|
reason?: string | null;
|
|
@@ -2553,39 +2599,49 @@ interface SubscriptionContractChangesCommitted {
|
|
|
2553
2599
|
}
|
|
2554
2600
|
interface SubscriptionContractDiffs {
|
|
2555
2601
|
/**
|
|
2556
|
-
*
|
|
2602
|
+
* Line items that were added, changed, or removed.
|
|
2603
|
+
*
|
|
2604
|
+
* A line item is `CHANGED` when a field listed in `ItemChangedDetails` changed. Line items with no change aren't included.
|
|
2557
2605
|
* @maxSize 100
|
|
2558
2606
|
*/
|
|
2559
2607
|
lineItems?: LineItemDelta[];
|
|
2560
2608
|
/**
|
|
2561
|
-
*
|
|
2609
|
+
* Discounts that were added, changed, or removed.
|
|
2610
|
+
*
|
|
2611
|
+
* 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.
|
|
2562
2612
|
* @maxSize 100
|
|
2563
2613
|
*/
|
|
2564
2614
|
appliedDiscounts?: AppliedDiscountDelta[];
|
|
2565
2615
|
/**
|
|
2566
|
-
*
|
|
2616
|
+
* Additional fees that were added, changed, or removed.
|
|
2617
|
+
*
|
|
2618
|
+
* An additional fee is `CHANGED` when its price or the line items it applies to changed. Fees with no change aren't included.
|
|
2567
2619
|
* @maxSize 100
|
|
2568
2620
|
*/
|
|
2569
2621
|
additionalFees?: AdditionalFeeDelta[];
|
|
2570
|
-
/**
|
|
2622
|
+
/** Price summary after the changes. Replaces the subscription contract's previous price summary. */
|
|
2571
2623
|
priceSummary?: PriceSummary;
|
|
2572
|
-
/**
|
|
2624
|
+
/** Tax information after the changes. Replaces the subscription contract's previous tax information. */
|
|
2573
2625
|
taxInfo?: OrderTaxInfo;
|
|
2626
|
+
/** Shipping information after the changes. Replaces the subscription contract's previous shipping information. */
|
|
2627
|
+
shippingInfo?: ShippingInformation;
|
|
2574
2628
|
}
|
|
2575
2629
|
interface LineItemDelta extends LineItemDeltaDeltaDetailsOneOf {
|
|
2630
|
+
/** Values the line item had before the change. */
|
|
2576
2631
|
changed?: ItemChangedDetails;
|
|
2577
2632
|
/**
|
|
2578
2633
|
* Line item ID.
|
|
2579
2634
|
* @format GUID
|
|
2580
2635
|
*/
|
|
2581
2636
|
lineItemId?: string;
|
|
2582
|
-
/**
|
|
2637
|
+
/** Line item content. For a removed line item, the line item that was removed. */
|
|
2583
2638
|
lineItem?: OrderLineItem;
|
|
2584
2639
|
/** Type of change applied to this line item. */
|
|
2585
2640
|
changeType?: ChangeTypeWithLiterals;
|
|
2586
2641
|
}
|
|
2587
2642
|
/** @oneof */
|
|
2588
2643
|
interface LineItemDeltaDeltaDetailsOneOf {
|
|
2644
|
+
/** Values the line item had before the change. */
|
|
2589
2645
|
changed?: ItemChangedDetails;
|
|
2590
2646
|
}
|
|
2591
2647
|
interface CommonImage {
|
|
@@ -2621,173 +2677,180 @@ interface CommonImage {
|
|
|
2621
2677
|
*/
|
|
2622
2678
|
filename?: string | null;
|
|
2623
2679
|
}
|
|
2624
|
-
/**
|
|
2680
|
+
/** The catalog reference options before the change. */
|
|
2625
2681
|
interface CatalogReferenceOptionsBeforeChange {
|
|
2626
|
-
/**
|
|
2682
|
+
/** The catalog reference options. Absent when the line item had no options. */
|
|
2627
2683
|
options?: Record<string, any> | null;
|
|
2628
2684
|
}
|
|
2629
|
-
/**
|
|
2685
|
+
/** The product name before the change. */
|
|
2630
2686
|
interface ProductNameBeforeChange {
|
|
2631
|
-
/**
|
|
2687
|
+
/** The product name. Absent when the line item had no product name. */
|
|
2632
2688
|
productName?: ProductName;
|
|
2633
2689
|
}
|
|
2634
|
-
/**
|
|
2690
|
+
/** The description lines before the change. */
|
|
2635
2691
|
interface DescriptionLinesBeforeChange {
|
|
2636
2692
|
/**
|
|
2637
|
-
*
|
|
2693
|
+
* The description lines. Empty when the line item had no description lines.
|
|
2638
2694
|
* @maxSize 20
|
|
2639
2695
|
*/
|
|
2640
2696
|
descriptionLines?: DescriptionLine[];
|
|
2641
2697
|
}
|
|
2642
|
-
/**
|
|
2698
|
+
/** The image before the change. */
|
|
2643
2699
|
interface ImageBeforeChange {
|
|
2644
|
-
/**
|
|
2700
|
+
/** The image. Absent when the line item had no image. */
|
|
2645
2701
|
image?: CommonImage;
|
|
2646
2702
|
}
|
|
2647
|
-
/**
|
|
2703
|
+
/** The physical properties before the change. */
|
|
2648
2704
|
interface PhysicalPropertiesBeforeChange {
|
|
2649
|
-
/**
|
|
2705
|
+
/** The physical properties. Absent when the line item had no physical properties. */
|
|
2650
2706
|
physicalProperties?: PhysicalProperties;
|
|
2651
2707
|
}
|
|
2652
|
-
/**
|
|
2708
|
+
/** The item type before the change. */
|
|
2653
2709
|
interface ItemTypeBeforeChange {
|
|
2654
|
-
/**
|
|
2710
|
+
/** The item type. Absent when the line item had no item type. */
|
|
2655
2711
|
itemType?: ItemType;
|
|
2656
2712
|
}
|
|
2657
|
-
/**
|
|
2713
|
+
/** The fulfiller ID before the change. */
|
|
2658
2714
|
interface FulfillerIdBeforeChange {
|
|
2659
2715
|
/**
|
|
2660
|
-
*
|
|
2716
|
+
* The fulfiller ID. Absent when the line item had no fulfiller.
|
|
2661
2717
|
* @format GUID
|
|
2662
2718
|
*/
|
|
2663
2719
|
fulfillerId?: string | null;
|
|
2664
2720
|
}
|
|
2665
|
-
/**
|
|
2721
|
+
/** The digital file before the change. */
|
|
2666
2722
|
interface DigitalFileBeforeChange {
|
|
2667
|
-
/**
|
|
2723
|
+
/** The digital file. Absent when the line item had no digital file. */
|
|
2668
2724
|
digitalFile?: DigitalFile;
|
|
2669
2725
|
}
|
|
2670
|
-
/**
|
|
2726
|
+
/** The price description before the change. */
|
|
2671
2727
|
interface PriceDescriptionBeforeChange {
|
|
2672
|
-
/**
|
|
2728
|
+
/** The price description. Absent when the line item had no price description. */
|
|
2673
2729
|
priceDescription?: PriceDescription;
|
|
2674
2730
|
}
|
|
2675
|
-
/**
|
|
2731
|
+
/** The delivery profile ID before the change. */
|
|
2676
2732
|
interface DeliveryProfileIdBeforeChange {
|
|
2677
2733
|
/**
|
|
2678
|
-
*
|
|
2734
|
+
* The delivery profile ID. Absent when the line item had no delivery profile.
|
|
2679
2735
|
* @format GUID
|
|
2680
2736
|
*/
|
|
2681
2737
|
deliveryProfileId?: string | null;
|
|
2682
2738
|
}
|
|
2683
|
-
/**
|
|
2739
|
+
/** The shipping group ID before the change. */
|
|
2684
2740
|
interface ShippingGroupIdBeforeChange {
|
|
2685
2741
|
/**
|
|
2686
|
-
*
|
|
2742
|
+
* The shipping group ID. Absent when the line item had no shipping group.
|
|
2687
2743
|
* @format GUID
|
|
2688
2744
|
*/
|
|
2689
2745
|
shippingGroupId?: string | null;
|
|
2690
2746
|
}
|
|
2691
|
-
/**
|
|
2747
|
+
/** The tax info before the change. */
|
|
2692
2748
|
interface TaxInfoBeforeChange {
|
|
2693
|
-
/**
|
|
2749
|
+
/** The tax info. Absent when the line item had no tax info. */
|
|
2694
2750
|
taxInfo?: LineItemTaxInfo;
|
|
2695
2751
|
}
|
|
2696
|
-
/**
|
|
2752
|
+
/** The inventory app ID before the change. */
|
|
2697
2753
|
interface InventoryAppIdBeforeChange {
|
|
2698
2754
|
/**
|
|
2699
|
-
*
|
|
2755
|
+
* The inventory app ID. Absent when the line item had no inventory app.
|
|
2700
2756
|
* @format GUID
|
|
2701
2757
|
*/
|
|
2702
2758
|
inventoryAppId?: string | null;
|
|
2703
2759
|
}
|
|
2704
|
-
/**
|
|
2760
|
+
/** The root catalog item ID before the change. */
|
|
2705
2761
|
interface RootCatalogItemIdBeforeChange {
|
|
2706
2762
|
/**
|
|
2707
|
-
*
|
|
2763
|
+
* The root catalog item ID. Absent when the line item had no root catalog item.
|
|
2708
2764
|
* @minLength 1
|
|
2709
2765
|
* @maxLength 36
|
|
2710
2766
|
*/
|
|
2711
2767
|
rootCatalogItemId?: string | null;
|
|
2712
2768
|
}
|
|
2713
|
-
/**
|
|
2769
|
+
/** The modifier groups before the change. */
|
|
2714
2770
|
interface ModifierGroupsBeforeChange {
|
|
2715
2771
|
/**
|
|
2716
|
-
*
|
|
2772
|
+
* The modifier groups. Empty when the line item had no modifier groups.
|
|
2717
2773
|
* @maxSize 10
|
|
2718
2774
|
*/
|
|
2719
2775
|
modifierGroups?: ModifierGroup[];
|
|
2720
2776
|
}
|
|
2721
|
-
/**
|
|
2777
|
+
/** The price undetermined flag before the change. */
|
|
2722
2778
|
interface PriceUndeterminedBeforeChange {
|
|
2723
|
-
/**
|
|
2779
|
+
/** Whether the price of the line item was undetermined. */
|
|
2724
2780
|
priceUndetermined?: boolean;
|
|
2725
2781
|
}
|
|
2726
|
-
/**
|
|
2782
|
+
/** Type of change to a line item, discount, or additional fee. */
|
|
2727
2783
|
declare enum ChangeType {
|
|
2728
|
-
/**
|
|
2784
|
+
/** Unknown change type. */
|
|
2785
|
+
UNKNOWN_CHANGE_TYPE = "UNKNOWN_CHANGE_TYPE",
|
|
2786
|
+
/** The line item, discount, or additional fee was added to the subscription contract. */
|
|
2729
2787
|
ADDED = "ADDED",
|
|
2730
|
-
/**
|
|
2788
|
+
/** The line item, discount, or additional fee was changed. */
|
|
2731
2789
|
CHANGED = "CHANGED",
|
|
2732
|
-
/**
|
|
2790
|
+
/** The line item, discount, or additional fee was removed from the subscription contract. */
|
|
2733
2791
|
REMOVED = "REMOVED"
|
|
2734
2792
|
}
|
|
2735
2793
|
/** @enumType */
|
|
2736
|
-
type ChangeTypeWithLiterals = ChangeType | 'ADDED' | 'CHANGED' | 'REMOVED';
|
|
2794
|
+
type ChangeTypeWithLiterals = ChangeType | 'UNKNOWN_CHANGE_TYPE' | 'ADDED' | 'CHANGED' | 'REMOVED';
|
|
2737
2795
|
interface ItemChangedDetails {
|
|
2738
2796
|
/**
|
|
2739
|
-
* The quantity before the change.
|
|
2797
|
+
* The quantity before the change. Set only when the quantity changed.
|
|
2740
2798
|
* @min 1
|
|
2741
2799
|
* @max 1000000
|
|
2742
2800
|
*/
|
|
2743
2801
|
quantityBeforeChange?: number | null;
|
|
2744
|
-
/** The price before the change. */
|
|
2802
|
+
/** The price before the change. Set only when the price changed. */
|
|
2745
2803
|
priceBeforeChange?: Price;
|
|
2746
|
-
/**
|
|
2804
|
+
/** The catalog reference options before the change. Set only when the catalog reference options changed. */
|
|
2747
2805
|
catalogReferenceOptionsBeforeChange?: CatalogReferenceOptionsBeforeChange;
|
|
2748
|
-
/**
|
|
2806
|
+
/** The product name before the change. Set only when the product name changed. */
|
|
2749
2807
|
productNameBeforeChange?: ProductNameBeforeChange;
|
|
2750
|
-
/**
|
|
2808
|
+
/** The description lines before the change. Set only when the description lines changed. */
|
|
2751
2809
|
descriptionLinesBeforeChange?: DescriptionLinesBeforeChange;
|
|
2752
|
-
/**
|
|
2810
|
+
/** The image before the change. Set only when the image changed. */
|
|
2753
2811
|
imageBeforeChange?: ImageBeforeChange;
|
|
2754
|
-
/**
|
|
2812
|
+
/** The physical properties before the change. Set only when the physical properties changed. */
|
|
2755
2813
|
physicalPropertiesBeforeChange?: PhysicalPropertiesBeforeChange;
|
|
2756
|
-
/**
|
|
2814
|
+
/** The item type before the change. Set only when the item type changed. */
|
|
2757
2815
|
itemTypeBeforeChange?: ItemTypeBeforeChange;
|
|
2758
|
-
/**
|
|
2816
|
+
/** The fulfiller ID before the change. Set only when the fulfiller ID changed. */
|
|
2759
2817
|
fulfillerIdBeforeChange?: FulfillerIdBeforeChange;
|
|
2760
|
-
/**
|
|
2818
|
+
/** The digital file before the change. Set only when the digital file changed. */
|
|
2761
2819
|
digitalFileBeforeChange?: DigitalFileBeforeChange;
|
|
2762
|
-
/**
|
|
2820
|
+
/** The price description before the change. Set only when the price description changed. */
|
|
2763
2821
|
priceDescriptionBeforeChange?: PriceDescriptionBeforeChange;
|
|
2764
2822
|
/**
|
|
2765
|
-
*
|
|
2823
|
+
* The delivery profile ID before the change. Set only when the delivery profile ID changed.
|
|
2766
2824
|
* @internal
|
|
2767
2825
|
*/
|
|
2768
2826
|
deliveryProfileIdBeforeChange?: DeliveryProfileIdBeforeChange;
|
|
2769
2827
|
/**
|
|
2770
|
-
*
|
|
2828
|
+
* The shipping group ID before the change. Set only when the shipping group ID changed.
|
|
2771
2829
|
* @internal
|
|
2772
2830
|
*/
|
|
2773
2831
|
shippingGroupIdBeforeChange?: ShippingGroupIdBeforeChange;
|
|
2774
|
-
/**
|
|
2832
|
+
/** The tax info before the change. Set only when the line item's tax group changed because its catalog options changed. */
|
|
2775
2833
|
taxInfoBeforeChange?: TaxInfoBeforeChange;
|
|
2776
|
-
/**
|
|
2834
|
+
/**
|
|
2835
|
+
* The inventory app ID before the change. Set only when the inventory app ID changed.
|
|
2836
|
+
* @internal
|
|
2837
|
+
*/
|
|
2777
2838
|
inventoryAppIdBeforeChange?: InventoryAppIdBeforeChange;
|
|
2778
2839
|
/**
|
|
2779
|
-
*
|
|
2840
|
+
* The root catalog item ID before the change. Set only when the root catalog item ID changed.
|
|
2780
2841
|
* @internal
|
|
2781
2842
|
*/
|
|
2782
2843
|
rootCatalogItemIdBeforeChange?: RootCatalogItemIdBeforeChange;
|
|
2783
|
-
/**
|
|
2844
|
+
/** The modifier groups before the change. Set only when the modifier groups changed. */
|
|
2784
2845
|
modifierGroupsBeforeChange?: ModifierGroupsBeforeChange;
|
|
2785
|
-
/**
|
|
2846
|
+
/** The price undetermined flag before the change. Set only when the price undetermined flag changed. */
|
|
2786
2847
|
priceUndeterminedBeforeChange?: PriceUndeterminedBeforeChange;
|
|
2787
2848
|
}
|
|
2788
2849
|
interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaDetailsOneOf {
|
|
2789
2850
|
/** Discount content after the change. */
|
|
2790
2851
|
changed?: AppliedDiscount;
|
|
2852
|
+
/** Discount that was added. */
|
|
2853
|
+
added?: AppliedDiscount;
|
|
2791
2854
|
/**
|
|
2792
2855
|
* Discount ID.
|
|
2793
2856
|
* @format GUID
|
|
@@ -2800,10 +2863,14 @@ interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaDetailsOneOf {
|
|
|
2800
2863
|
interface AppliedDiscountDeltaDeltaDetailsOneOf {
|
|
2801
2864
|
/** Discount content after the change. */
|
|
2802
2865
|
changed?: AppliedDiscount;
|
|
2866
|
+
/** Discount that was added. */
|
|
2867
|
+
added?: AppliedDiscount;
|
|
2803
2868
|
}
|
|
2804
2869
|
interface AdditionalFeeDelta extends AdditionalFeeDeltaDeltaDetailsOneOf {
|
|
2805
2870
|
/** Additional fee content after the change. */
|
|
2806
2871
|
changed?: AdditionalFee;
|
|
2872
|
+
/** Additional fee that was added. */
|
|
2873
|
+
added?: AdditionalFee;
|
|
2807
2874
|
/**
|
|
2808
2875
|
* Additional fee ID.
|
|
2809
2876
|
* @format GUID
|
|
@@ -2816,11 +2883,21 @@ interface AdditionalFeeDelta extends AdditionalFeeDeltaDeltaDetailsOneOf {
|
|
|
2816
2883
|
interface AdditionalFeeDeltaDeltaDetailsOneOf {
|
|
2817
2884
|
/** Additional fee content after the change. */
|
|
2818
2885
|
changed?: AdditionalFee;
|
|
2886
|
+
/** Additional fee that was added. */
|
|
2887
|
+
added?: AdditionalFee;
|
|
2819
2888
|
}
|
|
2820
2889
|
interface SubscriptionCommitSettings {
|
|
2821
|
-
/**
|
|
2890
|
+
/**
|
|
2891
|
+
* Whether to send the buyer a notification about the committed changes.
|
|
2892
|
+
*
|
|
2893
|
+
* Default: `true`
|
|
2894
|
+
*/
|
|
2822
2895
|
sendNotificationsToBuyer?: boolean | null;
|
|
2823
|
-
/**
|
|
2896
|
+
/**
|
|
2897
|
+
* Whether to send the business a notification about the committed changes.
|
|
2898
|
+
*
|
|
2899
|
+
* Default: `true`
|
|
2900
|
+
*/
|
|
2824
2901
|
sendNotificationsToBusiness?: boolean | null;
|
|
2825
2902
|
}
|
|
2826
2903
|
/** Triggered when a subscription contract's next charge is coming up. */
|
|
@@ -2851,13 +2928,13 @@ interface CreateSubscriptionContractResponse {
|
|
|
2851
2928
|
}
|
|
2852
2929
|
interface GetSubscriptionContractRequest {
|
|
2853
2930
|
/**
|
|
2854
|
-
* ID of the
|
|
2931
|
+
* ID of the subscription contract to retrieve.
|
|
2855
2932
|
* @format GUID
|
|
2856
2933
|
*/
|
|
2857
2934
|
subscriptionContractId: string;
|
|
2858
2935
|
}
|
|
2859
2936
|
interface GetSubscriptionContractResponse {
|
|
2860
|
-
/**
|
|
2937
|
+
/** Retrieved subscription contract. */
|
|
2861
2938
|
subscriptionContract?: SubscriptionContract;
|
|
2862
2939
|
}
|
|
2863
2940
|
interface UpdateSubscriptionContractRequest {
|
|
@@ -2876,26 +2953,24 @@ interface UpdateSubscriptionContractResponse {
|
|
|
2876
2953
|
subscriptionContract?: SubscriptionContract;
|
|
2877
2954
|
}
|
|
2878
2955
|
interface QuerySubscriptionContractsRequest {
|
|
2879
|
-
/**
|
|
2956
|
+
/** Filter, sort, and paging options for the query. */
|
|
2880
2957
|
query?: CursorQuery;
|
|
2881
2958
|
}
|
|
2882
2959
|
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
2883
2960
|
/** 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`. */
|
|
2884
2961
|
cursorPaging?: CursorPaging;
|
|
2885
2962
|
/**
|
|
2886
|
-
* Filter object
|
|
2887
|
-
*
|
|
2888
|
-
*
|
|
2889
|
-
*
|
|
2890
|
-
* }`
|
|
2891
|
-
* Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
|
|
2892
|
-
* Learn more about the [filter format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
2963
|
+
* 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.
|
|
2964
|
+
*
|
|
2965
|
+
* Supported properties:
|
|
2966
|
+
* `id`, `buyerInfo.contactId`
|
|
2893
2967
|
*/
|
|
2894
2968
|
filter?: Record<string, any> | null;
|
|
2895
2969
|
/**
|
|
2896
2970
|
* Sort object in the following format:
|
|
2897
2971
|
* `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
|
|
2898
|
-
*
|
|
2972
|
+
*
|
|
2973
|
+
* Learn more about [sorting](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).
|
|
2899
2974
|
* @maxSize 5
|
|
2900
2975
|
*/
|
|
2901
2976
|
sort?: Sorting[];
|
|
@@ -2907,11 +2982,18 @@ interface CursorQueryPagingMethodOneOf {
|
|
|
2907
2982
|
}
|
|
2908
2983
|
interface Sorting {
|
|
2909
2984
|
/**
|
|
2910
|
-
*
|
|
2985
|
+
* Field to sort by.
|
|
2986
|
+
*
|
|
2987
|
+
* Supported properties:
|
|
2988
|
+
* `id`, `buyerInfo.contactId`
|
|
2911
2989
|
* @maxLength 512
|
|
2912
2990
|
*/
|
|
2913
2991
|
fieldName?: string;
|
|
2914
|
-
/**
|
|
2992
|
+
/**
|
|
2993
|
+
* Sort order. Use `ASC` for ascending order or `DESC` for descending order.
|
|
2994
|
+
*
|
|
2995
|
+
* Default: `ASC`
|
|
2996
|
+
*/
|
|
2915
2997
|
order?: SortOrderWithLiterals;
|
|
2916
2998
|
}
|
|
2917
2999
|
declare enum SortOrder {
|
|
@@ -2936,9 +3018,9 @@ interface CursorPaging {
|
|
|
2936
3018
|
cursor?: string | null;
|
|
2937
3019
|
}
|
|
2938
3020
|
interface QuerySubscriptionContractsResponse {
|
|
2939
|
-
/**
|
|
3021
|
+
/** Retrieved subscription contracts. */
|
|
2940
3022
|
subscriptionContracts?: SubscriptionContract[];
|
|
2941
|
-
/** Paging metadata */
|
|
3023
|
+
/** Paging metadata. */
|
|
2942
3024
|
pagingMetadata?: CursorPagingMetadata;
|
|
2943
3025
|
}
|
|
2944
3026
|
interface CursorPagingMetadata {
|
|
@@ -3288,6 +3370,12 @@ interface AccountInfo {
|
|
|
3288
3370
|
*/
|
|
3289
3371
|
siteId?: string | null;
|
|
3290
3372
|
}
|
|
3373
|
+
/** @docsIgnore */
|
|
3374
|
+
type GetSubscriptionContractApplicationErrors = {
|
|
3375
|
+
code?: 'NOT_FOUND';
|
|
3376
|
+
description?: string;
|
|
3377
|
+
data?: Record<string, any>;
|
|
3378
|
+
};
|
|
3291
3379
|
|
|
3292
3380
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
3293
3381
|
getUrl: (context: any) => string;
|
|
@@ -3304,4 +3392,4 @@ declare function getSubscriptionContract(): __PublicMethodMetaInfo<'GET', {
|
|
|
3304
3392
|
}, GetSubscriptionContractRequest$1, GetSubscriptionContractRequest, GetSubscriptionContractResponse$1, GetSubscriptionContractResponse>;
|
|
3305
3393
|
declare function querySubscriptionContracts(): __PublicMethodMetaInfo<'GET', {}, QuerySubscriptionContractsRequest$1, QuerySubscriptionContractsRequest, QuerySubscriptionContractsResponse$1, QuerySubscriptionContractsResponse>;
|
|
3306
3394
|
|
|
3307
|
-
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 };
|
|
3395
|
+
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 };
|