@wix/auto_sdk_ecom_draft-orders 1.0.56 → 1.0.58
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 +3 -3
- package/build/cjs/index.js +11 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +316 -104
- package/build/cjs/index.typings.js +11 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +796 -90
- package/build/es/index.d.mts +3 -3
- package/build/es/index.mjs +11 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +316 -104
- package/build/es/index.typings.mjs +11 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +796 -90
- package/build/internal/cjs/index.d.ts +3 -3
- package/build/internal/cjs/index.js +11 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +303 -194
- package/build/internal/cjs/index.typings.js +11 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +796 -90
- package/build/internal/es/index.d.mts +3 -3
- package/build/internal/es/index.mjs +11 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +303 -194
- package/build/internal/es/index.typings.mjs +11 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +796 -90
- package/package.json +2 -2
|
@@ -198,6 +198,104 @@ interface PriceDescription {
|
|
|
198
198
|
*/
|
|
199
199
|
translated?: string | null;
|
|
200
200
|
}
|
|
201
|
+
interface ProductName {
|
|
202
|
+
/**
|
|
203
|
+
* __Required.__ Item 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).
|
|
204
|
+
*
|
|
205
|
+
* Min: 1 character.
|
|
206
|
+
* Max: 200 characters.
|
|
207
|
+
* @minLength 1
|
|
208
|
+
* @maxLength 200
|
|
209
|
+
*/
|
|
210
|
+
original?: string;
|
|
211
|
+
/**
|
|
212
|
+
* Item name translated into the buyer's language.
|
|
213
|
+
*
|
|
214
|
+
* Min: 1 character.
|
|
215
|
+
* Max: 400 characters.
|
|
216
|
+
* Default: Same as `original`.
|
|
217
|
+
* @minLength 1
|
|
218
|
+
* @maxLength 400
|
|
219
|
+
*/
|
|
220
|
+
translated?: string | null;
|
|
221
|
+
}
|
|
222
|
+
interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
|
|
223
|
+
/** Description line plain text value. */
|
|
224
|
+
plainText?: PlainTextValue;
|
|
225
|
+
/** Description line color value. */
|
|
226
|
+
colorInfo?: Color;
|
|
227
|
+
/** Description line name. */
|
|
228
|
+
name?: DescriptionLineName;
|
|
229
|
+
/**
|
|
230
|
+
* Whether the description line originates from a modifier.
|
|
231
|
+
* @internal
|
|
232
|
+
*/
|
|
233
|
+
modifierDescriptionLine?: boolean;
|
|
234
|
+
}
|
|
235
|
+
/** @oneof */
|
|
236
|
+
interface DescriptionLineValueOneOf {
|
|
237
|
+
/** Description line plain text value. */
|
|
238
|
+
plainText?: PlainTextValue;
|
|
239
|
+
/** Description line color value. */
|
|
240
|
+
colorInfo?: Color;
|
|
241
|
+
}
|
|
242
|
+
/** @oneof */
|
|
243
|
+
interface DescriptionLineDescriptionLineValueOneOf {
|
|
244
|
+
}
|
|
245
|
+
interface DescriptionLineName {
|
|
246
|
+
/**
|
|
247
|
+
* Description line 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).
|
|
248
|
+
* @maxLength 100
|
|
249
|
+
*/
|
|
250
|
+
original?: string;
|
|
251
|
+
/**
|
|
252
|
+
* Description line name translated into the buyer's language.
|
|
253
|
+
*
|
|
254
|
+
* Default: Same as `original`.
|
|
255
|
+
* @maxLength 200
|
|
256
|
+
*/
|
|
257
|
+
translated?: string | null;
|
|
258
|
+
}
|
|
259
|
+
interface PlainTextValue {
|
|
260
|
+
/**
|
|
261
|
+
* Description line plain text value 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).
|
|
262
|
+
* @maxLength 600
|
|
263
|
+
*/
|
|
264
|
+
original?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Description line plain text value translated into the buyer's language.
|
|
267
|
+
*
|
|
268
|
+
* Default: Same as `original`.
|
|
269
|
+
* @maxLength 600
|
|
270
|
+
*/
|
|
271
|
+
translated?: string | null;
|
|
272
|
+
}
|
|
273
|
+
interface Color {
|
|
274
|
+
/**
|
|
275
|
+
* Description line color 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).
|
|
276
|
+
* @maxLength 500
|
|
277
|
+
*/
|
|
278
|
+
original?: string;
|
|
279
|
+
/**
|
|
280
|
+
* Description line color name translated into the buyer's language.
|
|
281
|
+
*
|
|
282
|
+
* Default: Same as `original`.
|
|
283
|
+
* @maxLength 500
|
|
284
|
+
*/
|
|
285
|
+
translated?: string | null;
|
|
286
|
+
/** HEX or RGB color code for display. */
|
|
287
|
+
code?: string | null;
|
|
288
|
+
}
|
|
289
|
+
declare enum DescriptionLineType {
|
|
290
|
+
/** Unrecognized type. */
|
|
291
|
+
UNRECOGNISED = "UNRECOGNISED",
|
|
292
|
+
/** Plain text type. */
|
|
293
|
+
PLAIN_TEXT = "PLAIN_TEXT",
|
|
294
|
+
/** Color type. */
|
|
295
|
+
COLOR = "COLOR"
|
|
296
|
+
}
|
|
297
|
+
/** @enumType */
|
|
298
|
+
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
201
299
|
interface OrderLineItem {
|
|
202
300
|
/**
|
|
203
301
|
* Line item ID.
|
|
@@ -329,27 +427,6 @@ interface OrderLineItem {
|
|
|
329
427
|
*/
|
|
330
428
|
modifierGroups?: ModifierGroup[];
|
|
331
429
|
}
|
|
332
|
-
interface ProductName {
|
|
333
|
-
/**
|
|
334
|
-
* __Required.__ Item 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).
|
|
335
|
-
*
|
|
336
|
-
* Min: 1 character.
|
|
337
|
-
* Max: 200 characters.
|
|
338
|
-
* @minLength 1
|
|
339
|
-
* @maxLength 200
|
|
340
|
-
*/
|
|
341
|
-
original?: string;
|
|
342
|
-
/**
|
|
343
|
-
* Item name translated into the buyer's language.
|
|
344
|
-
*
|
|
345
|
-
* Min: 1 character.
|
|
346
|
-
* Max: 400 characters.
|
|
347
|
-
* Default: Same as `original`.
|
|
348
|
-
* @minLength 1
|
|
349
|
-
* @maxLength 400
|
|
350
|
-
*/
|
|
351
|
-
translated?: string | null;
|
|
352
|
-
}
|
|
353
430
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
354
431
|
interface CatalogReference {
|
|
355
432
|
/**
|
|
@@ -377,83 +454,6 @@ interface CatalogReference {
|
|
|
377
454
|
*/
|
|
378
455
|
options?: Record<string, any> | null;
|
|
379
456
|
}
|
|
380
|
-
interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
|
|
381
|
-
/** Description line plain text value. */
|
|
382
|
-
plainText?: PlainTextValue;
|
|
383
|
-
/** Description line color value. */
|
|
384
|
-
colorInfo?: Color;
|
|
385
|
-
/** Description line name. */
|
|
386
|
-
name?: DescriptionLineName;
|
|
387
|
-
/**
|
|
388
|
-
* Whether the description line originates from a modifier.
|
|
389
|
-
* @internal
|
|
390
|
-
*/
|
|
391
|
-
modifierDescriptionLine?: boolean;
|
|
392
|
-
}
|
|
393
|
-
/** @oneof */
|
|
394
|
-
interface DescriptionLineValueOneOf {
|
|
395
|
-
/** Description line plain text value. */
|
|
396
|
-
plainText?: PlainTextValue;
|
|
397
|
-
/** Description line color value. */
|
|
398
|
-
colorInfo?: Color;
|
|
399
|
-
}
|
|
400
|
-
/** @oneof */
|
|
401
|
-
interface DescriptionLineDescriptionLineValueOneOf {
|
|
402
|
-
}
|
|
403
|
-
interface DescriptionLineName {
|
|
404
|
-
/**
|
|
405
|
-
* Description line 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).
|
|
406
|
-
* @maxLength 100
|
|
407
|
-
*/
|
|
408
|
-
original?: string;
|
|
409
|
-
/**
|
|
410
|
-
* Description line name translated into the buyer's language.
|
|
411
|
-
*
|
|
412
|
-
* Default: Same as `original`.
|
|
413
|
-
* @maxLength 200
|
|
414
|
-
*/
|
|
415
|
-
translated?: string | null;
|
|
416
|
-
}
|
|
417
|
-
interface PlainTextValue {
|
|
418
|
-
/**
|
|
419
|
-
* Description line plain text value 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).
|
|
420
|
-
* @maxLength 600
|
|
421
|
-
*/
|
|
422
|
-
original?: string;
|
|
423
|
-
/**
|
|
424
|
-
* Description line plain text value translated into the buyer's language.
|
|
425
|
-
*
|
|
426
|
-
* Default: Same as `original`.
|
|
427
|
-
* @maxLength 600
|
|
428
|
-
*/
|
|
429
|
-
translated?: string | null;
|
|
430
|
-
}
|
|
431
|
-
interface Color {
|
|
432
|
-
/**
|
|
433
|
-
* Description line color 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).
|
|
434
|
-
* @maxLength 500
|
|
435
|
-
*/
|
|
436
|
-
original?: string;
|
|
437
|
-
/**
|
|
438
|
-
* Description line color name translated into the buyer's language.
|
|
439
|
-
*
|
|
440
|
-
* Default: Same as `original`.
|
|
441
|
-
* @maxLength 500
|
|
442
|
-
*/
|
|
443
|
-
translated?: string | null;
|
|
444
|
-
/** HEX or RGB color code for display. */
|
|
445
|
-
code?: string | null;
|
|
446
|
-
}
|
|
447
|
-
declare enum DescriptionLineType {
|
|
448
|
-
/** Unrecognized type. */
|
|
449
|
-
UNRECOGNISED = "UNRECOGNISED",
|
|
450
|
-
/** Plain text type. */
|
|
451
|
-
PLAIN_TEXT = "PLAIN_TEXT",
|
|
452
|
-
/** Color type. */
|
|
453
|
-
COLOR = "COLOR"
|
|
454
|
-
}
|
|
455
|
-
/** @enumType */
|
|
456
|
-
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
457
457
|
interface FocalPoint {
|
|
458
458
|
/** X-coordinate of the focal point. */
|
|
459
459
|
x?: number;
|
|
@@ -888,6 +888,17 @@ interface ItemChangedDetails {
|
|
|
888
888
|
priceBeforeChange?: Price;
|
|
889
889
|
/** Line item price description before change. */
|
|
890
890
|
priceDescriptionBeforeChange?: PriceDescription;
|
|
891
|
+
/**
|
|
892
|
+
* Line Item product name before change.
|
|
893
|
+
* @internal
|
|
894
|
+
*/
|
|
895
|
+
productNameBeforeChange?: ProductName;
|
|
896
|
+
/**
|
|
897
|
+
* Line item description lines before change
|
|
898
|
+
* @internal
|
|
899
|
+
* @maxSize 20
|
|
900
|
+
*/
|
|
901
|
+
descriptionLinesBeforeChange?: DescriptionLine[];
|
|
891
902
|
}
|
|
892
903
|
interface ShippingDetails extends ShippingDetailsChangeTypeOneOf {
|
|
893
904
|
/** Whether shipping info was added as part of the draft. */
|
|
@@ -2014,6 +2025,25 @@ interface CatalogReferenceLineItem {
|
|
|
2014
2025
|
* @maxSize 5
|
|
2015
2026
|
*/
|
|
2016
2027
|
locations?: LocationAndQuantity[];
|
|
2028
|
+
/**
|
|
2029
|
+
* Line Item product name to override.
|
|
2030
|
+
* @internal
|
|
2031
|
+
*/
|
|
2032
|
+
productName?: ProductName;
|
|
2033
|
+
/**
|
|
2034
|
+
* Line item description lines to override
|
|
2035
|
+
* @internal
|
|
2036
|
+
*/
|
|
2037
|
+
descriptionLinesInfo?: DescriptionLinesOverride;
|
|
2038
|
+
}
|
|
2039
|
+
interface DescriptionLinesOverride {
|
|
2040
|
+
/**
|
|
2041
|
+
* Line item description lines to override
|
|
2042
|
+
* If empty then value on line item will be reset
|
|
2043
|
+
* @internal
|
|
2044
|
+
* @maxSize 20
|
|
2045
|
+
*/
|
|
2046
|
+
descriptionLines?: DescriptionLine[];
|
|
2017
2047
|
}
|
|
2018
2048
|
interface CustomLineItem {
|
|
2019
2049
|
/**
|
|
@@ -2144,6 +2174,16 @@ interface LineItemChangeDetails {
|
|
|
2144
2174
|
* For example, when price is `0` but additional details about the actual price are needed - `"Starts at $67"`.
|
|
2145
2175
|
*/
|
|
2146
2176
|
newPriceDescription?: PriceDescription;
|
|
2177
|
+
/**
|
|
2178
|
+
* Line Item product name to override.
|
|
2179
|
+
* @internal
|
|
2180
|
+
*/
|
|
2181
|
+
newProductName?: ProductName;
|
|
2182
|
+
/**
|
|
2183
|
+
* Line item description lines to override
|
|
2184
|
+
* @internal
|
|
2185
|
+
*/
|
|
2186
|
+
newDescriptionLines?: DescriptionLinesOverride;
|
|
2147
2187
|
}
|
|
2148
2188
|
interface UpdateLineItemsResponse {
|
|
2149
2189
|
/** Draft order calculated with the latest changes. */
|
|
@@ -2810,69 +2850,52 @@ interface Activity extends ActivityContentOneOf {
|
|
|
2810
2850
|
merchantComment?: MerchantComment;
|
|
2811
2851
|
/** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
|
|
2812
2852
|
orderRefunded?: OrderRefunded;
|
|
2853
|
+
/** Details of changes made by the Draft Orders API. */
|
|
2854
|
+
draftOrderChangesApplied?: DraftOrderChangesApplied;
|
|
2855
|
+
/** Details of the payment method saved for order */
|
|
2856
|
+
savedPaymentMethod?: SavedPaymentMethod;
|
|
2857
|
+
/** Details of an authorized payment created. */
|
|
2858
|
+
authorizedPaymentCreated?: AuthorizedPaymentCreated;
|
|
2859
|
+
/** Details of an authorized payment captured. */
|
|
2860
|
+
authorizedPaymentCaptured?: AuthorizedPaymentCaptured;
|
|
2861
|
+
/** Details of an authorized payment voided. */
|
|
2862
|
+
authorizedPaymentVoided?: AuthorizedPaymentVoided;
|
|
2813
2863
|
/**
|
|
2814
2864
|
* Details of an initiated refund process.
|
|
2815
2865
|
*
|
|
2816
|
-
* > **Note:** A single `
|
|
2817
|
-
* > In these cases, the `
|
|
2818
|
-
* @internal
|
|
2866
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2867
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2819
2868
|
*/
|
|
2820
2869
|
refundInitiated?: RefundInitiated;
|
|
2821
2870
|
/**
|
|
2822
2871
|
* Details of a refunded payment.
|
|
2823
2872
|
*
|
|
2824
|
-
* > **Note:** A single `
|
|
2825
|
-
* > In these cases, the `
|
|
2826
|
-
* @internal
|
|
2873
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2874
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2827
2875
|
*/
|
|
2828
2876
|
paymentRefunded?: PaymentRefunded;
|
|
2829
2877
|
/**
|
|
2830
2878
|
* Details of a failed payment refund.
|
|
2831
2879
|
*
|
|
2832
|
-
* > **Note:** A single `
|
|
2833
|
-
* > In these cases, the `
|
|
2834
|
-
* @internal
|
|
2880
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2881
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2835
2882
|
*/
|
|
2836
2883
|
paymentRefundFailed?: PaymentRefundFailed;
|
|
2837
|
-
/**
|
|
2838
|
-
* Details of refund to store credit.
|
|
2839
|
-
* @internal
|
|
2840
|
-
*/
|
|
2884
|
+
/** Details of refund to store credit. */
|
|
2841
2885
|
refundedAsStoreCredit?: RefundedAsStoreCredit;
|
|
2842
|
-
/**
|
|
2843
|
-
* Details of a pending payment
|
|
2844
|
-
* @internal
|
|
2845
|
-
*/
|
|
2886
|
+
/** Details of a pending payment. */
|
|
2846
2887
|
paymentPending?: PaymentPending;
|
|
2847
|
-
/**
|
|
2848
|
-
* Details of a canceled payment
|
|
2849
|
-
* @internal
|
|
2850
|
-
*/
|
|
2888
|
+
/** Details of a canceled payment. */
|
|
2851
2889
|
paymentCanceled?: PaymentCanceled;
|
|
2852
|
-
/**
|
|
2853
|
-
* Details of a declined payment
|
|
2854
|
-
* @internal
|
|
2855
|
-
*/
|
|
2890
|
+
/** Details of a declined payment. */
|
|
2856
2891
|
paymentDeclined?: PaymentDeclined;
|
|
2857
|
-
/**
|
|
2858
|
-
* Receipt was added for associated payment
|
|
2859
|
-
* @internal
|
|
2860
|
-
*/
|
|
2892
|
+
/** Receipt was added for associated payment. */
|
|
2861
2893
|
receiptCreated?: ReceiptCreated;
|
|
2862
|
-
/**
|
|
2863
|
-
* Receipt sent to customer
|
|
2864
|
-
* @internal
|
|
2865
|
-
*/
|
|
2894
|
+
/** Receipt sent to customer. */
|
|
2866
2895
|
receiptSent?: ReceiptSent;
|
|
2867
|
-
/**
|
|
2868
|
-
* Order received a chargeback for one of its' payments.
|
|
2869
|
-
* @internal
|
|
2870
|
-
*/
|
|
2896
|
+
/** Order received a chargeback for one of its' payments. */
|
|
2871
2897
|
chargebackCreated?: ChargebackCreated;
|
|
2872
|
-
/**
|
|
2873
|
-
* Chargeback reversed for one of the order's payments.
|
|
2874
|
-
* @internal
|
|
2875
|
-
*/
|
|
2898
|
+
/** Chargeback reversed for one of the order's payments. */
|
|
2876
2899
|
chargebackReversed?: ChargebackReversed;
|
|
2877
2900
|
/**
|
|
2878
2901
|
* Activity ID.
|
|
@@ -2902,69 +2925,52 @@ interface ActivityContentOneOf {
|
|
|
2902
2925
|
merchantComment?: MerchantComment;
|
|
2903
2926
|
/** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
|
|
2904
2927
|
orderRefunded?: OrderRefunded;
|
|
2928
|
+
/** Details of changes made by the Draft Orders API. */
|
|
2929
|
+
draftOrderChangesApplied?: DraftOrderChangesApplied;
|
|
2930
|
+
/** Details of the payment method saved for order */
|
|
2931
|
+
savedPaymentMethod?: SavedPaymentMethod;
|
|
2932
|
+
/** Details of an authorized payment created. */
|
|
2933
|
+
authorizedPaymentCreated?: AuthorizedPaymentCreated;
|
|
2934
|
+
/** Details of an authorized payment captured. */
|
|
2935
|
+
authorizedPaymentCaptured?: AuthorizedPaymentCaptured;
|
|
2936
|
+
/** Details of an authorized payment voided. */
|
|
2937
|
+
authorizedPaymentVoided?: AuthorizedPaymentVoided;
|
|
2905
2938
|
/**
|
|
2906
2939
|
* Details of an initiated refund process.
|
|
2907
2940
|
*
|
|
2908
|
-
* > **Note:** A single `
|
|
2909
|
-
* > In these cases, the `
|
|
2910
|
-
* @internal
|
|
2941
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2942
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2911
2943
|
*/
|
|
2912
2944
|
refundInitiated?: RefundInitiated;
|
|
2913
2945
|
/**
|
|
2914
2946
|
* Details of a refunded payment.
|
|
2915
2947
|
*
|
|
2916
|
-
* > **Note:** A single `
|
|
2917
|
-
* > In these cases, the `
|
|
2918
|
-
* @internal
|
|
2948
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2949
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2919
2950
|
*/
|
|
2920
2951
|
paymentRefunded?: PaymentRefunded;
|
|
2921
2952
|
/**
|
|
2922
2953
|
* Details of a failed payment refund.
|
|
2923
2954
|
*
|
|
2924
|
-
* > **Note:** A single `
|
|
2925
|
-
* > In these cases, the `
|
|
2926
|
-
* @internal
|
|
2955
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2956
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2927
2957
|
*/
|
|
2928
2958
|
paymentRefundFailed?: PaymentRefundFailed;
|
|
2929
|
-
/**
|
|
2930
|
-
* Details of refund to store credit.
|
|
2931
|
-
* @internal
|
|
2932
|
-
*/
|
|
2959
|
+
/** Details of refund to store credit. */
|
|
2933
2960
|
refundedAsStoreCredit?: RefundedAsStoreCredit;
|
|
2934
|
-
/**
|
|
2935
|
-
* Details of a pending payment
|
|
2936
|
-
* @internal
|
|
2937
|
-
*/
|
|
2961
|
+
/** Details of a pending payment. */
|
|
2938
2962
|
paymentPending?: PaymentPending;
|
|
2939
|
-
/**
|
|
2940
|
-
* Details of a canceled payment
|
|
2941
|
-
* @internal
|
|
2942
|
-
*/
|
|
2963
|
+
/** Details of a canceled payment. */
|
|
2943
2964
|
paymentCanceled?: PaymentCanceled;
|
|
2944
|
-
/**
|
|
2945
|
-
* Details of a declined payment
|
|
2946
|
-
* @internal
|
|
2947
|
-
*/
|
|
2965
|
+
/** Details of a declined payment. */
|
|
2948
2966
|
paymentDeclined?: PaymentDeclined;
|
|
2949
|
-
/**
|
|
2950
|
-
* Receipt was added for associated payment
|
|
2951
|
-
* @internal
|
|
2952
|
-
*/
|
|
2967
|
+
/** Receipt was added for associated payment. */
|
|
2953
2968
|
receiptCreated?: ReceiptCreated;
|
|
2954
|
-
/**
|
|
2955
|
-
* Receipt sent to customer
|
|
2956
|
-
* @internal
|
|
2957
|
-
*/
|
|
2969
|
+
/** Receipt sent to customer. */
|
|
2958
2970
|
receiptSent?: ReceiptSent;
|
|
2959
|
-
/**
|
|
2960
|
-
* Order received a chargeback for one of its' payments.
|
|
2961
|
-
* @internal
|
|
2962
|
-
*/
|
|
2971
|
+
/** Order received a chargeback for one of its' payments. */
|
|
2963
2972
|
chargebackCreated?: ChargebackCreated;
|
|
2964
|
-
/**
|
|
2965
|
-
* Chargeback reversed for one of the order's payments.
|
|
2966
|
-
* @internal
|
|
2967
|
-
*/
|
|
2973
|
+
/** Chargeback reversed for one of the order's payments. */
|
|
2968
2974
|
chargebackReversed?: ChargebackReversed;
|
|
2969
2975
|
}
|
|
2970
2976
|
interface CustomActivity {
|
|
@@ -3074,12 +3080,17 @@ interface LineItemChanges {
|
|
|
3074
3080
|
* @format GUID
|
|
3075
3081
|
*/
|
|
3076
3082
|
_id?: string;
|
|
3077
|
-
/** Item name. */
|
|
3083
|
+
/** Item name after change. */
|
|
3078
3084
|
name?: ProductName;
|
|
3079
3085
|
/** Item quantity change. */
|
|
3080
3086
|
quantity?: LineItemQuantityChange;
|
|
3081
3087
|
/** Item price change. */
|
|
3082
3088
|
price?: LineItemPriceChange;
|
|
3089
|
+
/**
|
|
3090
|
+
* Item product name change.
|
|
3091
|
+
* @internal
|
|
3092
|
+
*/
|
|
3093
|
+
productName?: LineItemProductNameChange;
|
|
3083
3094
|
}
|
|
3084
3095
|
interface LineItemQuantityChange {
|
|
3085
3096
|
/**
|
|
@@ -3115,6 +3126,12 @@ interface LineItemPriceChange {
|
|
|
3115
3126
|
/** Item price after update. */
|
|
3116
3127
|
newPrice?: Price;
|
|
3117
3128
|
}
|
|
3129
|
+
interface LineItemProductNameChange {
|
|
3130
|
+
/** Item product name before update. */
|
|
3131
|
+
originalProductName?: ProductName;
|
|
3132
|
+
/** Item product name after update. */
|
|
3133
|
+
newProductName?: ProductName;
|
|
3134
|
+
}
|
|
3118
3135
|
interface ManagedLineItem {
|
|
3119
3136
|
/**
|
|
3120
3137
|
* Line item ID.
|
|
@@ -3537,44 +3554,139 @@ interface ChargebackReversed {
|
|
|
3537
3554
|
paymentDetails?: RegularPayment;
|
|
3538
3555
|
}
|
|
3539
3556
|
declare enum ActivityType {
|
|
3557
|
+
/** Order was refunded, either partially or fully. */
|
|
3540
3558
|
ORDER_REFUNDED = "ORDER_REFUNDED",
|
|
3559
|
+
/** New order was created and placed. */
|
|
3541
3560
|
ORDER_PLACED = "ORDER_PLACED",
|
|
3561
|
+
/** Order payment was completed and confirmed. */
|
|
3542
3562
|
ORDER_PAID = "ORDER_PAID",
|
|
3563
|
+
/** Order items were marked as fulfilled (shipped or ready for pickup). */
|
|
3543
3564
|
ORDER_FULFILLED = "ORDER_FULFILLED",
|
|
3565
|
+
/** Order fulfillment status was changed to not fulfilled. */
|
|
3544
3566
|
ORDER_NOT_FULFILLED = "ORDER_NOT_FULFILLED",
|
|
3567
|
+
/** Order was canceled by merchant or customer. */
|
|
3545
3568
|
ORDER_CANCELED = "ORDER_CANCELED",
|
|
3569
|
+
/** Download link was sent for digital items in the order. */
|
|
3546
3570
|
DOWNLOAD_LINK_SENT = "DOWNLOAD_LINK_SENT",
|
|
3571
|
+
/** Shipping tracking number was added to the order. */
|
|
3547
3572
|
TRACKING_NUMBER_ADDED = "TRACKING_NUMBER_ADDED",
|
|
3573
|
+
/** Existing shipping tracking number was modified. */
|
|
3548
3574
|
TRACKING_NUMBER_EDITED = "TRACKING_NUMBER_EDITED",
|
|
3575
|
+
/** Tracking link for shipment was added to the order. */
|
|
3549
3576
|
TRACKING_LINK_ADDED = "TRACKING_LINK_ADDED",
|
|
3577
|
+
/** Email confirming shipment was sent to the customer. */
|
|
3550
3578
|
SHIPPING_CONFIRMATION_EMAIL_SENT = "SHIPPING_CONFIRMATION_EMAIL_SENT",
|
|
3579
|
+
/** Invoice document was added to the order. */
|
|
3551
3580
|
INVOICE_ADDED = "INVOICE_ADDED",
|
|
3581
|
+
/** Invoice was removed from the order. */
|
|
3552
3582
|
INVOICE_REMOVED = "INVOICE_REMOVED",
|
|
3583
|
+
/** Invoice was sent to the customer via email. */
|
|
3553
3584
|
INVOICE_SENT = "INVOICE_SENT",
|
|
3585
|
+
/** Notification email was sent to the order fulfiller. */
|
|
3554
3586
|
FULFILLER_EMAIL_SENT = "FULFILLER_EMAIL_SENT",
|
|
3587
|
+
/** Order's shipping address was modified. */
|
|
3555
3588
|
SHIPPING_ADDRESS_EDITED = "SHIPPING_ADDRESS_EDITED",
|
|
3589
|
+
/** Order's contact email address was changed. */
|
|
3556
3590
|
EMAIL_EDITED = "EMAIL_EDITED",
|
|
3591
|
+
/** Email notification for pickup readiness was sent. */
|
|
3557
3592
|
PICKUP_READY_EMAIL_SENT = "PICKUP_READY_EMAIL_SENT",
|
|
3593
|
+
/** Custom activity created by a third-party application. */
|
|
3558
3594
|
CUSTOM_ACTIVITY = "CUSTOM_ACTIVITY",
|
|
3595
|
+
/** Comment added to the order by a merchant. */
|
|
3559
3596
|
MERCHANT_COMMENT = "MERCHANT_COMMENT",
|
|
3597
|
+
/** Order was created as a result of an exchange. */
|
|
3560
3598
|
ORDER_CREATED_FROM_EXCHANGE = "ORDER_CREATED_FROM_EXCHANGE",
|
|
3599
|
+
/** New exchange order was created from this order. */
|
|
3561
3600
|
NEW_EXCHANGE_ORDER_CREATED = "NEW_EXCHANGE_ORDER_CREATED",
|
|
3601
|
+
/** Partial payment was received for the order. */
|
|
3562
3602
|
ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
|
|
3603
|
+
/** Changes were applied to a draft order. */
|
|
3563
3604
|
DRAFT_ORDER_CHANGES_APPLIED = "DRAFT_ORDER_CHANGES_APPLIED",
|
|
3605
|
+
/** Payment method was saved for future use. */
|
|
3564
3606
|
SAVED_PAYMENT_METHOD = "SAVED_PAYMENT_METHOD",
|
|
3565
|
-
/**
|
|
3607
|
+
/**
|
|
3608
|
+
* Payment was authorized but not yet captured.
|
|
3609
|
+
* @documentationMaturity preview
|
|
3610
|
+
*/
|
|
3611
|
+
AUTHORIZED_PAYMENT_CREATED = "AUTHORIZED_PAYMENT_CREATED",
|
|
3612
|
+
/**
|
|
3613
|
+
* Previously authorized payment was captured.
|
|
3614
|
+
* @documentationMaturity preview
|
|
3615
|
+
*/
|
|
3616
|
+
AUTHORIZED_PAYMENT_CAPTURED = "AUTHORIZED_PAYMENT_CAPTURED",
|
|
3617
|
+
/**
|
|
3618
|
+
* Previously authorized payment was voided.
|
|
3619
|
+
* @documentationMaturity preview
|
|
3620
|
+
*/
|
|
3621
|
+
AUTHORIZED_PAYMENT_VOIDED = "AUTHORIZED_PAYMENT_VOIDED",
|
|
3622
|
+
/**
|
|
3623
|
+
* Refund process was initiated.
|
|
3624
|
+
* @documentationMaturity preview
|
|
3625
|
+
*/
|
|
3626
|
+
REFUND_INITIATED = "REFUND_INITIATED",
|
|
3627
|
+
/**
|
|
3628
|
+
* Payment was successfully refunded.
|
|
3629
|
+
* @documentationMaturity preview
|
|
3630
|
+
*/
|
|
3631
|
+
PAYMENT_REFUNDED = "PAYMENT_REFUNDED",
|
|
3632
|
+
/**
|
|
3633
|
+
* Attempt to refund payment failed.
|
|
3634
|
+
* @documentationMaturity preview
|
|
3635
|
+
*/
|
|
3636
|
+
PAYMENT_REFUND_FAILED = "PAYMENT_REFUND_FAILED",
|
|
3637
|
+
/**
|
|
3638
|
+
* Refund was issued as store credit.
|
|
3639
|
+
* @documentationMaturity preview
|
|
3640
|
+
*/
|
|
3641
|
+
REFUNDED_AS_STORE_CREDIT = "REFUNDED_AS_STORE_CREDIT",
|
|
3642
|
+
/**
|
|
3643
|
+
* Payment is awaiting processing or confirmation.
|
|
3644
|
+
* @documentationMaturity preview
|
|
3645
|
+
*/
|
|
3566
3646
|
PAYMENT_PENDING = "PAYMENT_PENDING",
|
|
3567
|
-
/**
|
|
3647
|
+
/**
|
|
3648
|
+
* Payment was canceled before completion.
|
|
3649
|
+
* @documentationMaturity preview
|
|
3650
|
+
*/
|
|
3568
3651
|
PAYMENT_CANCELED = "PAYMENT_CANCELED",
|
|
3569
|
-
/**
|
|
3652
|
+
/**
|
|
3653
|
+
* Payment was declined by payment provider.
|
|
3654
|
+
* @documentationMaturity preview
|
|
3655
|
+
*/
|
|
3570
3656
|
PAYMENT_DECLINED = "PAYMENT_DECLINED",
|
|
3571
|
-
/**
|
|
3657
|
+
/**
|
|
3658
|
+
* Order is awaiting approval or processing.
|
|
3659
|
+
* @documentationMaturity preview
|
|
3660
|
+
*/
|
|
3572
3661
|
ORDER_PENDING = "ORDER_PENDING",
|
|
3573
|
-
/**
|
|
3574
|
-
|
|
3662
|
+
/**
|
|
3663
|
+
* Order was rejected by merchant.
|
|
3664
|
+
* @documentationMaturity preview
|
|
3665
|
+
*/
|
|
3666
|
+
ORDER_REJECTED = "ORDER_REJECTED",
|
|
3667
|
+
/**
|
|
3668
|
+
* Receipt was generated for a payment.
|
|
3669
|
+
* @documentationMaturity preview
|
|
3670
|
+
*/
|
|
3671
|
+
RECEIPT_CREATED = "RECEIPT_CREATED",
|
|
3672
|
+
/**
|
|
3673
|
+
* Receipt was sent to the customer.
|
|
3674
|
+
* @documentationMaturity preview
|
|
3675
|
+
*/
|
|
3676
|
+
RECEIPT_SENT = "RECEIPT_SENT",
|
|
3677
|
+
/**
|
|
3678
|
+
* Chargeback was created for one of the order's payments.
|
|
3679
|
+
* @documentationMaturity preview
|
|
3680
|
+
*/
|
|
3681
|
+
CHARGEBACK_CREATED = "CHARGEBACK_CREATED",
|
|
3682
|
+
/**
|
|
3683
|
+
* Chargeback was resolved in merchant's favor.
|
|
3684
|
+
* @documentationMaturity preview
|
|
3685
|
+
*/
|
|
3686
|
+
CHARGEBACK_REVERSED = "CHARGEBACK_REVERSED"
|
|
3575
3687
|
}
|
|
3576
3688
|
/** @enumType */
|
|
3577
|
-
type ActivityTypeWithLiterals = ActivityType | 'ORDER_REFUNDED' | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'ORDER_CANCELED' | 'DOWNLOAD_LINK_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_ADDED' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_ADDED' | 'INVOICE_REMOVED' | 'INVOICE_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'PICKUP_READY_EMAIL_SENT' | 'CUSTOM_ACTIVITY' | 'MERCHANT_COMMENT' | 'ORDER_CREATED_FROM_EXCHANGE' | 'NEW_EXCHANGE_ORDER_CREATED' | 'ORDER_PARTIALLY_PAID' | 'DRAFT_ORDER_CHANGES_APPLIED' | 'SAVED_PAYMENT_METHOD' | 'PAYMENT_PENDING' | 'PAYMENT_CANCELED' | 'PAYMENT_DECLINED' | 'ORDER_PENDING' | 'ORDER_REJECTED';
|
|
3689
|
+
type ActivityTypeWithLiterals = ActivityType | 'ORDER_REFUNDED' | 'ORDER_PLACED' | 'ORDER_PAID' | 'ORDER_FULFILLED' | 'ORDER_NOT_FULFILLED' | 'ORDER_CANCELED' | 'DOWNLOAD_LINK_SENT' | 'TRACKING_NUMBER_ADDED' | 'TRACKING_NUMBER_EDITED' | 'TRACKING_LINK_ADDED' | 'SHIPPING_CONFIRMATION_EMAIL_SENT' | 'INVOICE_ADDED' | 'INVOICE_REMOVED' | 'INVOICE_SENT' | 'FULFILLER_EMAIL_SENT' | 'SHIPPING_ADDRESS_EDITED' | 'EMAIL_EDITED' | 'PICKUP_READY_EMAIL_SENT' | 'CUSTOM_ACTIVITY' | 'MERCHANT_COMMENT' | 'ORDER_CREATED_FROM_EXCHANGE' | 'NEW_EXCHANGE_ORDER_CREATED' | 'ORDER_PARTIALLY_PAID' | 'DRAFT_ORDER_CHANGES_APPLIED' | 'SAVED_PAYMENT_METHOD' | 'AUTHORIZED_PAYMENT_CREATED' | 'AUTHORIZED_PAYMENT_CAPTURED' | 'AUTHORIZED_PAYMENT_VOIDED' | 'REFUND_INITIATED' | 'PAYMENT_REFUNDED' | 'PAYMENT_REFUND_FAILED' | 'REFUNDED_AS_STORE_CREDIT' | 'PAYMENT_PENDING' | 'PAYMENT_CANCELED' | 'PAYMENT_DECLINED' | 'ORDER_PENDING' | 'ORDER_REJECTED' | 'RECEIPT_CREATED' | 'RECEIPT_SENT' | 'CHARGEBACK_CREATED' | 'CHARGEBACK_REVERSED';
|
|
3578
3690
|
declare enum AttributionSource {
|
|
3579
3691
|
UNSPECIFIED = "UNSPECIFIED",
|
|
3580
3692
|
FACEBOOK_ADS = "FACEBOOK_ADS"
|
|
@@ -3721,7 +3833,6 @@ interface V1BalanceSummary {
|
|
|
3721
3833
|
authorized?: Price;
|
|
3722
3834
|
/**
|
|
3723
3835
|
* Sum of all pending refund transactions.
|
|
3724
|
-
* @internal
|
|
3725
3836
|
* @readonly
|
|
3726
3837
|
*/
|
|
3727
3838
|
pendingRefund?: Price;
|
|
@@ -3732,13 +3843,11 @@ interface V1BalanceSummary {
|
|
|
3732
3843
|
pending?: Price;
|
|
3733
3844
|
/**
|
|
3734
3845
|
* Sum of all transaction chargebacks.
|
|
3735
|
-
* @internal
|
|
3736
3846
|
* @readonly
|
|
3737
3847
|
*/
|
|
3738
3848
|
chargeback?: Price;
|
|
3739
3849
|
/**
|
|
3740
3850
|
* Sum of all chargeback reversals.
|
|
3741
|
-
* @internal
|
|
3742
3851
|
* @readonly
|
|
3743
3852
|
*/
|
|
3744
3853
|
chargebackReversal?: Price;
|
|
@@ -4811,7 +4920,7 @@ declare function getOrderDraftabilityStatus(orderId: string): Promise<NonNullabl
|
|
|
4811
4920
|
* @applicableIdentity APP
|
|
4812
4921
|
* @fqn com.wix.ecom.orders.draft.v1.DraftOrders.CommitDraftOrder
|
|
4813
4922
|
*/
|
|
4814
|
-
declare function commitDraftOrder(draftOrderId: string, options?: CommitDraftOrderOptions): Promise<NonNullablePaths<CommitDraftOrderResponse, `committedDraftOrder.lineItems` | `committedDraftOrder.lineItems.${number}.added` | `committedDraftOrder.lineItems.${number}.changedDetails.priceBeforeChange.amount` | `committedDraftOrder.lineItems.${number}.changedDetails.priceBeforeChange.formattedAmount` | `committedDraftOrder.lineItems.${number}.changedDetails.priceDescriptionBeforeChange.original` | `committedDraftOrder.lineItems.${number}.removed` | `committedDraftOrder.lineItems.${number}.lineItem._id` | `committedDraftOrder.lineItems.${number}.lineItem.productName.original` | `committedDraftOrder.lineItems.${number}.lineItem.catalogReference.catalogItemId` | `committedDraftOrder.lineItems.${number}.lineItem.catalogReference.appId` | `committedDraftOrder.lineItems.${number}.lineItem.quantity` | `committedDraftOrder.lineItems.${number}.lineItem.physicalProperties.shippable` | `committedDraftOrder.lineItems.${number}.lineItem.itemType.preset` | `committedDraftOrder.lineItems.${number}.lineItem.itemType.custom` | `committedDraftOrder.lineItems.${number}.lineItem.paymentOption` | `committedDraftOrder.lineItems.${number}.lineItem.taxDetails.taxRate` | `committedDraftOrder.lineItems.${number}.lineItem.taxInfo.taxIncludedInPrice` | `committedDraftOrder.lineItems.${number}.lineItem.digitalFile.fileId` | `committedDraftOrder.lineItems.${number}.lineItem.subscriptionInfo.cycleNumber` | `committedDraftOrder.lineItems.${number}.lineItem.subscriptionInfo.subscriptionOptionTitle` | `committedDraftOrder.lineItems.${number}.lineItem.taxableAddress.addressType` | `committedDraftOrder.shippingInfo.added` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.title` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.number` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.name` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId._id` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId.type` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.pickupMethod` | `committedDraftOrder.shippingInfo.removed` | `committedDraftOrder.buyerInfo.visitorId` | `committedDraftOrder.buyerInfo.memberId` | `committedDraftOrder.additionalFees` | `committedDraftOrder.additionalFees.${number}.additionalFee.name` | `committedDraftOrder.additionalFees.${number}.additionalFee._id` | `committedDraftOrder.additionalFees.${number}.taxDetails.taxable` | `committedDraftOrder.additionalFees.${number}.source` | `committedDraftOrder.additionalFees.${number}.applied` | `committedDraftOrder.discounts` | `committedDraftOrder.discounts.${number}.discount.coupon._id` | `committedDraftOrder.discounts.${number}.discount.coupon.code` | `committedDraftOrder.discounts.${number}.discount.coupon.name` | `committedDraftOrder.discounts.${number}.discount.merchantDiscount.discountReason` | `committedDraftOrder.discounts.${number}.discount.discountRule._id` | `committedDraftOrder.discounts.${number}.discount.discountType` | `committedDraftOrder.discounts.${number}.source` | `committedDraftOrder.discounts.${number}.applied` | `committedDraftOrder.createdBy.userId` | `committedDraftOrder.createdBy.appId` | `committedDraftOrder.status` | `committedDraftOrder.weightUnit` | `committedDraftOrder.balanceSummary.balance.amount` | `committedDraftOrder.balanceSummary.balance.formattedAmount` | `committedDraftOrder.commitSettings.updateInventory` | `committedDraftOrder.commitSettings.updateInventory.${number}.lineItemId` | `committedDraftOrder.recipientInfo.added` | `committedDraftOrder.recipientInfo.removed` | `committedDraftOrder.taxInfo.taxBreakdown` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.taxName` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.taxType` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.rate` | `committedDraftOrder.buyerDetails.added` | `committedDraftOrder.buyerDetails.removed` | `committedDraftOrder.billingDetails.added` | `committedDraftOrder.billingDetails.removed` | `committedDraftOrder.businessLocationDetails.added` | `committedDraftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange._id` | `committedDraftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange.name` | `committedDraftOrder.businessLocationDetails.removed` | `orderAfterCommit.number` | `orderAfterCommit.lineItems` | `orderAfterCommit.lineItems.${number}._id` | `orderAfterCommit.lineItems.${number}.productName.original` | `orderAfterCommit.lineItems.${number}.catalogReference.catalogItemId` | `orderAfterCommit.lineItems.${number}.catalogReference.appId` | `orderAfterCommit.lineItems.${number}.quantity` | `orderAfterCommit.lineItems.${number}.totalDiscount.amount` | `orderAfterCommit.lineItems.${number}.totalDiscount.formattedAmount` | `orderAfterCommit.lineItems.${number}.physicalProperties.shippable` | `orderAfterCommit.lineItems.${number}.itemType.preset` | `orderAfterCommit.lineItems.${number}.itemType.custom` | `orderAfterCommit.lineItems.${number}.paymentOption` | `orderAfterCommit.lineItems.${number}.taxDetails.taxRate` | `orderAfterCommit.lineItems.${number}.taxInfo.taxIncludedInPrice` | `orderAfterCommit.lineItems.${number}.digitalFile.fileId` | `orderAfterCommit.lineItems.${number}.subscriptionInfo.cycleNumber` | `orderAfterCommit.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `orderAfterCommit.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `orderAfterCommit.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `orderAfterCommit.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `orderAfterCommit.lineItems.${number}.priceDescription.original` | `orderAfterCommit.lineItems.${number}.taxableAddress.addressType` | `orderAfterCommit.buyerInfo.visitorId` | `orderAfterCommit.buyerInfo.memberId` | `orderAfterCommit.paymentStatus` | `orderAfterCommit.fulfillmentStatus` | `orderAfterCommit.weightUnit` | `orderAfterCommit.taxIncludedInPrices` | `orderAfterCommit.billingInfo.address.streetAddress.number` | `orderAfterCommit.billingInfo.address.streetAddress.name` | `orderAfterCommit.billingInfo.contactDetails.vatId._id` | `orderAfterCommit.billingInfo.contactDetails.vatId.type` | `orderAfterCommit.shippingInfo.title` | `orderAfterCommit.shippingInfo.logistics.pickupDetails.pickupMethod` | `orderAfterCommit.status` | `orderAfterCommit.taxInfo.taxBreakdown` | `orderAfterCommit.taxInfo.taxBreakdown.${number}.taxName` | `orderAfterCommit.taxInfo.taxBreakdown.${number}.taxType` | `orderAfterCommit.taxInfo.taxBreakdown.${number}.jurisdiction` | `orderAfterCommit.taxInfo.taxBreakdown.${number}.jurisdictionType` | `orderAfterCommit.taxInfo.taxBreakdown.${number}.rate` | `orderAfterCommit.appliedDiscounts` | `orderAfterCommit.appliedDiscounts.${number}.coupon._id` | `orderAfterCommit.appliedDiscounts.${number}.coupon.code` | `orderAfterCommit.appliedDiscounts.${number}.coupon.name` | `orderAfterCommit.appliedDiscounts.${number}.merchantDiscount.discountReason` | `orderAfterCommit.appliedDiscounts.${number}.discountRule._id` | `orderAfterCommit.appliedDiscounts.${number}.discountRule.name.original` | `orderAfterCommit.appliedDiscounts.${number}.discountType` | `orderAfterCommit.activities` | `orderAfterCommit.activities.${number}.customActivity.appId` | `orderAfterCommit.activities.${number}.customActivity.type` | `orderAfterCommit.activities.${number}.merchantComment.message` | `orderAfterCommit.activities.${number}.orderRefunded.manual` | `orderAfterCommit.activities.${number}.orderRefunded.reason` | `orderAfterCommit.activities.${number}.type` | `orderAfterCommit.attributionSource` | `orderAfterCommit.createdBy.userId` | `orderAfterCommit.createdBy.memberId` | `orderAfterCommit.createdBy.visitorId` | `orderAfterCommit.createdBy.appId` | `orderAfterCommit.channelInfo.type` | `orderAfterCommit.customFields` | `orderAfterCommit.customFields.${number}.title` | `orderAfterCommit.balanceSummary.balance.amount` | `orderAfterCommit.balanceSummary.balance.formattedAmount` | `orderAfterCommit.additionalFees` | `orderAfterCommit.additionalFees.${number}.name` | `orderAfterCommit.additionalFees.${number}._id` | `orderAfterCommit.tags.privateTags.tagIds` | `orderAfterCommit.businessLocation._id` | `orderAfterCommit.businessLocation.name`, 10> & {
|
|
4923
|
+
declare function commitDraftOrder(draftOrderId: string, options?: CommitDraftOrderOptions): Promise<NonNullablePaths<CommitDraftOrderResponse, `committedDraftOrder.lineItems` | `committedDraftOrder.lineItems.${number}.added` | `committedDraftOrder.lineItems.${number}.changedDetails.priceBeforeChange.amount` | `committedDraftOrder.lineItems.${number}.changedDetails.priceBeforeChange.formattedAmount` | `committedDraftOrder.lineItems.${number}.changedDetails.priceDescriptionBeforeChange.original` | `committedDraftOrder.lineItems.${number}.removed` | `committedDraftOrder.lineItems.${number}.lineItem._id` | `committedDraftOrder.lineItems.${number}.lineItem.productName.original` | `committedDraftOrder.lineItems.${number}.lineItem.catalogReference.catalogItemId` | `committedDraftOrder.lineItems.${number}.lineItem.catalogReference.appId` | `committedDraftOrder.lineItems.${number}.lineItem.quantity` | `committedDraftOrder.lineItems.${number}.lineItem.physicalProperties.shippable` | `committedDraftOrder.lineItems.${number}.lineItem.itemType.preset` | `committedDraftOrder.lineItems.${number}.lineItem.itemType.custom` | `committedDraftOrder.lineItems.${number}.lineItem.paymentOption` | `committedDraftOrder.lineItems.${number}.lineItem.taxDetails.taxRate` | `committedDraftOrder.lineItems.${number}.lineItem.taxInfo.taxIncludedInPrice` | `committedDraftOrder.lineItems.${number}.lineItem.digitalFile.fileId` | `committedDraftOrder.lineItems.${number}.lineItem.subscriptionInfo.cycleNumber` | `committedDraftOrder.lineItems.${number}.lineItem.subscriptionInfo.subscriptionOptionTitle` | `committedDraftOrder.lineItems.${number}.lineItem.taxableAddress.addressType` | `committedDraftOrder.shippingInfo.added` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.title` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.number` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.name` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId._id` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId.type` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.pickupMethod` | `committedDraftOrder.shippingInfo.removed` | `committedDraftOrder.buyerInfo.visitorId` | `committedDraftOrder.buyerInfo.memberId` | `committedDraftOrder.additionalFees` | `committedDraftOrder.additionalFees.${number}.additionalFee.name` | `committedDraftOrder.additionalFees.${number}.additionalFee._id` | `committedDraftOrder.additionalFees.${number}.taxDetails.taxable` | `committedDraftOrder.additionalFees.${number}.source` | `committedDraftOrder.additionalFees.${number}.applied` | `committedDraftOrder.discounts` | `committedDraftOrder.discounts.${number}.discount.coupon._id` | `committedDraftOrder.discounts.${number}.discount.coupon.code` | `committedDraftOrder.discounts.${number}.discount.coupon.name` | `committedDraftOrder.discounts.${number}.discount.merchantDiscount.discountReason` | `committedDraftOrder.discounts.${number}.discount.discountRule._id` | `committedDraftOrder.discounts.${number}.discount.discountType` | `committedDraftOrder.discounts.${number}.source` | `committedDraftOrder.discounts.${number}.applied` | `committedDraftOrder.createdBy.userId` | `committedDraftOrder.createdBy.appId` | `committedDraftOrder.status` | `committedDraftOrder.weightUnit` | `committedDraftOrder.balanceSummary.balance.amount` | `committedDraftOrder.balanceSummary.balance.formattedAmount` | `committedDraftOrder.commitSettings.updateInventory` | `committedDraftOrder.commitSettings.updateInventory.${number}.lineItemId` | `committedDraftOrder.recipientInfo.added` | `committedDraftOrder.recipientInfo.removed` | `committedDraftOrder.taxInfo.taxBreakdown` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.taxName` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.taxType` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.rate` | `committedDraftOrder.buyerDetails.added` | `committedDraftOrder.buyerDetails.removed` | `committedDraftOrder.billingDetails.added` | `committedDraftOrder.billingDetails.removed` | `committedDraftOrder.businessLocationDetails.added` | `committedDraftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange._id` | `committedDraftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange.name` | `committedDraftOrder.businessLocationDetails.removed` | `orderAfterCommit.number` | `orderAfterCommit.lineItems` | `orderAfterCommit.lineItems.${number}._id` | `orderAfterCommit.lineItems.${number}.productName.original` | `orderAfterCommit.lineItems.${number}.catalogReference.catalogItemId` | `orderAfterCommit.lineItems.${number}.catalogReference.appId` | `orderAfterCommit.lineItems.${number}.quantity` | `orderAfterCommit.lineItems.${number}.totalDiscount.amount` | `orderAfterCommit.lineItems.${number}.totalDiscount.formattedAmount` | `orderAfterCommit.lineItems.${number}.physicalProperties.shippable` | `orderAfterCommit.lineItems.${number}.itemType.preset` | `orderAfterCommit.lineItems.${number}.itemType.custom` | `orderAfterCommit.lineItems.${number}.paymentOption` | `orderAfterCommit.lineItems.${number}.taxDetails.taxRate` | `orderAfterCommit.lineItems.${number}.taxInfo.taxIncludedInPrice` | `orderAfterCommit.lineItems.${number}.digitalFile.fileId` | `orderAfterCommit.lineItems.${number}.subscriptionInfo.cycleNumber` | `orderAfterCommit.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `orderAfterCommit.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `orderAfterCommit.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `orderAfterCommit.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `orderAfterCommit.lineItems.${number}.priceDescription.original` | `orderAfterCommit.lineItems.${number}.taxableAddress.addressType` | `orderAfterCommit.buyerInfo.visitorId` | `orderAfterCommit.buyerInfo.memberId` | `orderAfterCommit.paymentStatus` | `orderAfterCommit.fulfillmentStatus` | `orderAfterCommit.weightUnit` | `orderAfterCommit.taxIncludedInPrices` | `orderAfterCommit.billingInfo.address.streetAddress.number` | `orderAfterCommit.billingInfo.address.streetAddress.name` | `orderAfterCommit.billingInfo.contactDetails.vatId._id` | `orderAfterCommit.billingInfo.contactDetails.vatId.type` | `orderAfterCommit.shippingInfo.title` | `orderAfterCommit.shippingInfo.logistics.pickupDetails.pickupMethod` | `orderAfterCommit.status` | `orderAfterCommit.taxInfo.taxBreakdown` | `orderAfterCommit.taxInfo.taxBreakdown.${number}.taxName` | `orderAfterCommit.taxInfo.taxBreakdown.${number}.taxType` | `orderAfterCommit.taxInfo.taxBreakdown.${number}.jurisdiction` | `orderAfterCommit.taxInfo.taxBreakdown.${number}.jurisdictionType` | `orderAfterCommit.taxInfo.taxBreakdown.${number}.rate` | `orderAfterCommit.appliedDiscounts` | `orderAfterCommit.appliedDiscounts.${number}.coupon._id` | `orderAfterCommit.appliedDiscounts.${number}.coupon.code` | `orderAfterCommit.appliedDiscounts.${number}.coupon.name` | `orderAfterCommit.appliedDiscounts.${number}.merchantDiscount.discountReason` | `orderAfterCommit.appliedDiscounts.${number}.discountRule._id` | `orderAfterCommit.appliedDiscounts.${number}.discountRule.name.original` | `orderAfterCommit.appliedDiscounts.${number}.discountType` | `orderAfterCommit.activities` | `orderAfterCommit.activities.${number}.customActivity.appId` | `orderAfterCommit.activities.${number}.customActivity.type` | `orderAfterCommit.activities.${number}.merchantComment.message` | `orderAfterCommit.activities.${number}.orderRefunded.manual` | `orderAfterCommit.activities.${number}.orderRefunded.reason` | `orderAfterCommit.activities.${number}.draftOrderChangesApplied.draftOrderId` | `orderAfterCommit.activities.${number}.savedPaymentMethod.name` | `orderAfterCommit.activities.${number}.authorizedPaymentCreated.paymentId` | `orderAfterCommit.activities.${number}.authorizedPaymentCaptured.paymentId` | `orderAfterCommit.activities.${number}.authorizedPaymentVoided.paymentId` | `orderAfterCommit.activities.${number}.refundInitiated.refundId` | `orderAfterCommit.activities.${number}.paymentRefunded.refundId` | `orderAfterCommit.activities.${number}.paymentRefundFailed.refundId` | `orderAfterCommit.activities.${number}.paymentPending.paymentId` | `orderAfterCommit.activities.${number}.paymentCanceled.paymentId` | `orderAfterCommit.activities.${number}.paymentDeclined.paymentId` | `orderAfterCommit.activities.${number}.receiptCreated.wixReceipt.receiptId` | `orderAfterCommit.activities.${number}.receiptCreated.paymentId` | `orderAfterCommit.activities.${number}.receiptSent.paymentId` | `orderAfterCommit.activities.${number}.chargebackCreated.paymentId` | `orderAfterCommit.activities.${number}.chargebackCreated.chargebackId` | `orderAfterCommit.activities.${number}.chargebackReversed.paymentId` | `orderAfterCommit.activities.${number}.chargebackReversed.chargebackId` | `orderAfterCommit.activities.${number}.type` | `orderAfterCommit.attributionSource` | `orderAfterCommit.createdBy.userId` | `orderAfterCommit.createdBy.memberId` | `orderAfterCommit.createdBy.visitorId` | `orderAfterCommit.createdBy.appId` | `orderAfterCommit.channelInfo.type` | `orderAfterCommit.customFields` | `orderAfterCommit.customFields.${number}.title` | `orderAfterCommit.balanceSummary.balance.amount` | `orderAfterCommit.balanceSummary.balance.formattedAmount` | `orderAfterCommit.additionalFees` | `orderAfterCommit.additionalFees.${number}.name` | `orderAfterCommit.additionalFees.${number}._id` | `orderAfterCommit.tags.privateTags.tagIds` | `orderAfterCommit.businessLocation._id` | `orderAfterCommit.businessLocation.name`, 10> & {
|
|
4815
4924
|
__applicationErrorsType?: CommitDraftOrderApplicationErrors;
|
|
4816
4925
|
}>;
|
|
4817
4926
|
interface CommitDraftOrderOptions {
|
|
@@ -4839,7 +4948,7 @@ interface CommitDraftOrderOptions {
|
|
|
4839
4948
|
* @applicableIdentity APP
|
|
4840
4949
|
* @fqn com.wix.ecom.orders.draft.v1.DraftOrders.CreateOrderFromDraft
|
|
4841
4950
|
*/
|
|
4842
|
-
declare function createOrderFromDraft(draftOrderId: string, options?: CreateOrderFromDraftOptions): Promise<NonNullablePaths<CreateOrderFromDraftResponse, `committedDraftOrder.lineItems` | `committedDraftOrder.lineItems.${number}.added` | `committedDraftOrder.lineItems.${number}.changedDetails.priceBeforeChange.amount` | `committedDraftOrder.lineItems.${number}.changedDetails.priceBeforeChange.formattedAmount` | `committedDraftOrder.lineItems.${number}.changedDetails.priceDescriptionBeforeChange.original` | `committedDraftOrder.lineItems.${number}.removed` | `committedDraftOrder.lineItems.${number}.lineItem._id` | `committedDraftOrder.lineItems.${number}.lineItem.productName.original` | `committedDraftOrder.lineItems.${number}.lineItem.catalogReference.catalogItemId` | `committedDraftOrder.lineItems.${number}.lineItem.catalogReference.appId` | `committedDraftOrder.lineItems.${number}.lineItem.quantity` | `committedDraftOrder.lineItems.${number}.lineItem.physicalProperties.shippable` | `committedDraftOrder.lineItems.${number}.lineItem.itemType.preset` | `committedDraftOrder.lineItems.${number}.lineItem.itemType.custom` | `committedDraftOrder.lineItems.${number}.lineItem.paymentOption` | `committedDraftOrder.lineItems.${number}.lineItem.taxDetails.taxRate` | `committedDraftOrder.lineItems.${number}.lineItem.taxInfo.taxIncludedInPrice` | `committedDraftOrder.lineItems.${number}.lineItem.digitalFile.fileId` | `committedDraftOrder.lineItems.${number}.lineItem.subscriptionInfo.cycleNumber` | `committedDraftOrder.lineItems.${number}.lineItem.subscriptionInfo.subscriptionOptionTitle` | `committedDraftOrder.lineItems.${number}.lineItem.taxableAddress.addressType` | `committedDraftOrder.shippingInfo.added` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.title` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.number` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.name` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId._id` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId.type` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.pickupMethod` | `committedDraftOrder.shippingInfo.removed` | `committedDraftOrder.buyerInfo.visitorId` | `committedDraftOrder.buyerInfo.memberId` | `committedDraftOrder.additionalFees` | `committedDraftOrder.additionalFees.${number}.additionalFee.name` | `committedDraftOrder.additionalFees.${number}.additionalFee._id` | `committedDraftOrder.additionalFees.${number}.taxDetails.taxable` | `committedDraftOrder.additionalFees.${number}.source` | `committedDraftOrder.additionalFees.${number}.applied` | `committedDraftOrder.discounts` | `committedDraftOrder.discounts.${number}.discount.coupon._id` | `committedDraftOrder.discounts.${number}.discount.coupon.code` | `committedDraftOrder.discounts.${number}.discount.coupon.name` | `committedDraftOrder.discounts.${number}.discount.merchantDiscount.discountReason` | `committedDraftOrder.discounts.${number}.discount.discountRule._id` | `committedDraftOrder.discounts.${number}.discount.discountType` | `committedDraftOrder.discounts.${number}.source` | `committedDraftOrder.discounts.${number}.applied` | `committedDraftOrder.createdBy.userId` | `committedDraftOrder.createdBy.appId` | `committedDraftOrder.status` | `committedDraftOrder.weightUnit` | `committedDraftOrder.balanceSummary.balance.amount` | `committedDraftOrder.balanceSummary.balance.formattedAmount` | `committedDraftOrder.commitSettings.updateInventory` | `committedDraftOrder.commitSettings.updateInventory.${number}.lineItemId` | `committedDraftOrder.recipientInfo.added` | `committedDraftOrder.recipientInfo.removed` | `committedDraftOrder.taxInfo.taxBreakdown` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.taxName` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.taxType` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.rate` | `committedDraftOrder.buyerDetails.added` | `committedDraftOrder.buyerDetails.removed` | `committedDraftOrder.billingDetails.added` | `committedDraftOrder.billingDetails.removed` | `committedDraftOrder.businessLocationDetails.added` | `committedDraftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange._id` | `committedDraftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange.name` | `committedDraftOrder.businessLocationDetails.removed` | `createdOrder.number` | `createdOrder.lineItems` | `createdOrder.lineItems.${number}._id` | `createdOrder.lineItems.${number}.productName.original` | `createdOrder.lineItems.${number}.catalogReference.catalogItemId` | `createdOrder.lineItems.${number}.catalogReference.appId` | `createdOrder.lineItems.${number}.quantity` | `createdOrder.lineItems.${number}.totalDiscount.amount` | `createdOrder.lineItems.${number}.totalDiscount.formattedAmount` | `createdOrder.lineItems.${number}.physicalProperties.shippable` | `createdOrder.lineItems.${number}.itemType.preset` | `createdOrder.lineItems.${number}.itemType.custom` | `createdOrder.lineItems.${number}.paymentOption` | `createdOrder.lineItems.${number}.taxDetails.taxRate` | `createdOrder.lineItems.${number}.taxInfo.taxIncludedInPrice` | `createdOrder.lineItems.${number}.digitalFile.fileId` | `createdOrder.lineItems.${number}.subscriptionInfo.cycleNumber` | `createdOrder.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `createdOrder.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `createdOrder.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `createdOrder.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `createdOrder.lineItems.${number}.priceDescription.original` | `createdOrder.lineItems.${number}.taxableAddress.addressType` | `createdOrder.buyerInfo.visitorId` | `createdOrder.buyerInfo.memberId` | `createdOrder.paymentStatus` | `createdOrder.fulfillmentStatus` | `createdOrder.weightUnit` | `createdOrder.taxIncludedInPrices` | `createdOrder.billingInfo.address.streetAddress.number` | `createdOrder.billingInfo.address.streetAddress.name` | `createdOrder.billingInfo.contactDetails.vatId._id` | `createdOrder.billingInfo.contactDetails.vatId.type` | `createdOrder.shippingInfo.title` | `createdOrder.shippingInfo.logistics.pickupDetails.pickupMethod` | `createdOrder.status` | `createdOrder.taxInfo.taxBreakdown` | `createdOrder.taxInfo.taxBreakdown.${number}.taxName` | `createdOrder.taxInfo.taxBreakdown.${number}.taxType` | `createdOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `createdOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `createdOrder.taxInfo.taxBreakdown.${number}.rate` | `createdOrder.appliedDiscounts` | `createdOrder.appliedDiscounts.${number}.coupon._id` | `createdOrder.appliedDiscounts.${number}.coupon.code` | `createdOrder.appliedDiscounts.${number}.coupon.name` | `createdOrder.appliedDiscounts.${number}.merchantDiscount.discountReason` | `createdOrder.appliedDiscounts.${number}.discountRule._id` | `createdOrder.appliedDiscounts.${number}.discountRule.name.original` | `createdOrder.appliedDiscounts.${number}.discountType` | `createdOrder.activities` | `createdOrder.activities.${number}.customActivity.appId` | `createdOrder.activities.${number}.customActivity.type` | `createdOrder.activities.${number}.merchantComment.message` | `createdOrder.activities.${number}.orderRefunded.manual` | `createdOrder.activities.${number}.orderRefunded.reason` | `createdOrder.activities.${number}.type` | `createdOrder.attributionSource` | `createdOrder.createdBy.userId` | `createdOrder.createdBy.memberId` | `createdOrder.createdBy.visitorId` | `createdOrder.createdBy.appId` | `createdOrder.channelInfo.type` | `createdOrder.customFields` | `createdOrder.customFields.${number}.title` | `createdOrder.balanceSummary.balance.amount` | `createdOrder.balanceSummary.balance.formattedAmount` | `createdOrder.additionalFees` | `createdOrder.additionalFees.${number}.name` | `createdOrder.additionalFees.${number}._id` | `createdOrder.tags.privateTags.tagIds` | `createdOrder.businessLocation._id` | `createdOrder.businessLocation.name`, 10> & {
|
|
4951
|
+
declare function createOrderFromDraft(draftOrderId: string, options?: CreateOrderFromDraftOptions): Promise<NonNullablePaths<CreateOrderFromDraftResponse, `committedDraftOrder.lineItems` | `committedDraftOrder.lineItems.${number}.added` | `committedDraftOrder.lineItems.${number}.changedDetails.priceBeforeChange.amount` | `committedDraftOrder.lineItems.${number}.changedDetails.priceBeforeChange.formattedAmount` | `committedDraftOrder.lineItems.${number}.changedDetails.priceDescriptionBeforeChange.original` | `committedDraftOrder.lineItems.${number}.removed` | `committedDraftOrder.lineItems.${number}.lineItem._id` | `committedDraftOrder.lineItems.${number}.lineItem.productName.original` | `committedDraftOrder.lineItems.${number}.lineItem.catalogReference.catalogItemId` | `committedDraftOrder.lineItems.${number}.lineItem.catalogReference.appId` | `committedDraftOrder.lineItems.${number}.lineItem.quantity` | `committedDraftOrder.lineItems.${number}.lineItem.physicalProperties.shippable` | `committedDraftOrder.lineItems.${number}.lineItem.itemType.preset` | `committedDraftOrder.lineItems.${number}.lineItem.itemType.custom` | `committedDraftOrder.lineItems.${number}.lineItem.paymentOption` | `committedDraftOrder.lineItems.${number}.lineItem.taxDetails.taxRate` | `committedDraftOrder.lineItems.${number}.lineItem.taxInfo.taxIncludedInPrice` | `committedDraftOrder.lineItems.${number}.lineItem.digitalFile.fileId` | `committedDraftOrder.lineItems.${number}.lineItem.subscriptionInfo.cycleNumber` | `committedDraftOrder.lineItems.${number}.lineItem.subscriptionInfo.subscriptionOptionTitle` | `committedDraftOrder.lineItems.${number}.lineItem.taxableAddress.addressType` | `committedDraftOrder.shippingInfo.added` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.title` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.number` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.name` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId._id` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId.type` | `committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.pickupMethod` | `committedDraftOrder.shippingInfo.removed` | `committedDraftOrder.buyerInfo.visitorId` | `committedDraftOrder.buyerInfo.memberId` | `committedDraftOrder.additionalFees` | `committedDraftOrder.additionalFees.${number}.additionalFee.name` | `committedDraftOrder.additionalFees.${number}.additionalFee._id` | `committedDraftOrder.additionalFees.${number}.taxDetails.taxable` | `committedDraftOrder.additionalFees.${number}.source` | `committedDraftOrder.additionalFees.${number}.applied` | `committedDraftOrder.discounts` | `committedDraftOrder.discounts.${number}.discount.coupon._id` | `committedDraftOrder.discounts.${number}.discount.coupon.code` | `committedDraftOrder.discounts.${number}.discount.coupon.name` | `committedDraftOrder.discounts.${number}.discount.merchantDiscount.discountReason` | `committedDraftOrder.discounts.${number}.discount.discountRule._id` | `committedDraftOrder.discounts.${number}.discount.discountType` | `committedDraftOrder.discounts.${number}.source` | `committedDraftOrder.discounts.${number}.applied` | `committedDraftOrder.createdBy.userId` | `committedDraftOrder.createdBy.appId` | `committedDraftOrder.status` | `committedDraftOrder.weightUnit` | `committedDraftOrder.balanceSummary.balance.amount` | `committedDraftOrder.balanceSummary.balance.formattedAmount` | `committedDraftOrder.commitSettings.updateInventory` | `committedDraftOrder.commitSettings.updateInventory.${number}.lineItemId` | `committedDraftOrder.recipientInfo.added` | `committedDraftOrder.recipientInfo.removed` | `committedDraftOrder.taxInfo.taxBreakdown` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.taxName` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.taxType` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `committedDraftOrder.taxInfo.taxBreakdown.${number}.rate` | `committedDraftOrder.buyerDetails.added` | `committedDraftOrder.buyerDetails.removed` | `committedDraftOrder.billingDetails.added` | `committedDraftOrder.billingDetails.removed` | `committedDraftOrder.businessLocationDetails.added` | `committedDraftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange._id` | `committedDraftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange.name` | `committedDraftOrder.businessLocationDetails.removed` | `createdOrder.number` | `createdOrder.lineItems` | `createdOrder.lineItems.${number}._id` | `createdOrder.lineItems.${number}.productName.original` | `createdOrder.lineItems.${number}.catalogReference.catalogItemId` | `createdOrder.lineItems.${number}.catalogReference.appId` | `createdOrder.lineItems.${number}.quantity` | `createdOrder.lineItems.${number}.totalDiscount.amount` | `createdOrder.lineItems.${number}.totalDiscount.formattedAmount` | `createdOrder.lineItems.${number}.physicalProperties.shippable` | `createdOrder.lineItems.${number}.itemType.preset` | `createdOrder.lineItems.${number}.itemType.custom` | `createdOrder.lineItems.${number}.paymentOption` | `createdOrder.lineItems.${number}.taxDetails.taxRate` | `createdOrder.lineItems.${number}.taxInfo.taxIncludedInPrice` | `createdOrder.lineItems.${number}.digitalFile.fileId` | `createdOrder.lineItems.${number}.subscriptionInfo.cycleNumber` | `createdOrder.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `createdOrder.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `createdOrder.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `createdOrder.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `createdOrder.lineItems.${number}.priceDescription.original` | `createdOrder.lineItems.${number}.taxableAddress.addressType` | `createdOrder.buyerInfo.visitorId` | `createdOrder.buyerInfo.memberId` | `createdOrder.paymentStatus` | `createdOrder.fulfillmentStatus` | `createdOrder.weightUnit` | `createdOrder.taxIncludedInPrices` | `createdOrder.billingInfo.address.streetAddress.number` | `createdOrder.billingInfo.address.streetAddress.name` | `createdOrder.billingInfo.contactDetails.vatId._id` | `createdOrder.billingInfo.contactDetails.vatId.type` | `createdOrder.shippingInfo.title` | `createdOrder.shippingInfo.logistics.pickupDetails.pickupMethod` | `createdOrder.status` | `createdOrder.taxInfo.taxBreakdown` | `createdOrder.taxInfo.taxBreakdown.${number}.taxName` | `createdOrder.taxInfo.taxBreakdown.${number}.taxType` | `createdOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `createdOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `createdOrder.taxInfo.taxBreakdown.${number}.rate` | `createdOrder.appliedDiscounts` | `createdOrder.appliedDiscounts.${number}.coupon._id` | `createdOrder.appliedDiscounts.${number}.coupon.code` | `createdOrder.appliedDiscounts.${number}.coupon.name` | `createdOrder.appliedDiscounts.${number}.merchantDiscount.discountReason` | `createdOrder.appliedDiscounts.${number}.discountRule._id` | `createdOrder.appliedDiscounts.${number}.discountRule.name.original` | `createdOrder.appliedDiscounts.${number}.discountType` | `createdOrder.activities` | `createdOrder.activities.${number}.customActivity.appId` | `createdOrder.activities.${number}.customActivity.type` | `createdOrder.activities.${number}.merchantComment.message` | `createdOrder.activities.${number}.orderRefunded.manual` | `createdOrder.activities.${number}.orderRefunded.reason` | `createdOrder.activities.${number}.draftOrderChangesApplied.draftOrderId` | `createdOrder.activities.${number}.savedPaymentMethod.name` | `createdOrder.activities.${number}.authorizedPaymentCreated.paymentId` | `createdOrder.activities.${number}.authorizedPaymentCaptured.paymentId` | `createdOrder.activities.${number}.authorizedPaymentVoided.paymentId` | `createdOrder.activities.${number}.refundInitiated.refundId` | `createdOrder.activities.${number}.paymentRefunded.refundId` | `createdOrder.activities.${number}.paymentRefundFailed.refundId` | `createdOrder.activities.${number}.paymentPending.paymentId` | `createdOrder.activities.${number}.paymentCanceled.paymentId` | `createdOrder.activities.${number}.paymentDeclined.paymentId` | `createdOrder.activities.${number}.receiptCreated.wixReceipt.receiptId` | `createdOrder.activities.${number}.receiptCreated.paymentId` | `createdOrder.activities.${number}.receiptSent.paymentId` | `createdOrder.activities.${number}.chargebackCreated.paymentId` | `createdOrder.activities.${number}.chargebackCreated.chargebackId` | `createdOrder.activities.${number}.chargebackReversed.paymentId` | `createdOrder.activities.${number}.chargebackReversed.chargebackId` | `createdOrder.activities.${number}.type` | `createdOrder.attributionSource` | `createdOrder.createdBy.userId` | `createdOrder.createdBy.memberId` | `createdOrder.createdBy.visitorId` | `createdOrder.createdBy.appId` | `createdOrder.channelInfo.type` | `createdOrder.customFields` | `createdOrder.customFields.${number}.title` | `createdOrder.balanceSummary.balance.amount` | `createdOrder.balanceSummary.balance.formattedAmount` | `createdOrder.additionalFees` | `createdOrder.additionalFees.${number}.name` | `createdOrder.additionalFees.${number}._id` | `createdOrder.tags.privateTags.tagIds` | `createdOrder.businessLocation._id` | `createdOrder.businessLocation.name`, 10> & {
|
|
4843
4952
|
__applicationErrorsType?: CreateOrderFromDraftApplicationErrors;
|
|
4844
4953
|
}>;
|
|
4845
4954
|
interface CreateOrderFromDraftOptions {
|
|
@@ -5026,4 +5135,4 @@ interface SetBusinessLocationOptions {
|
|
|
5026
5135
|
businessLocation?: Location;
|
|
5027
5136
|
}
|
|
5028
5137
|
|
|
5029
|
-
export { type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderRequest, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomField, type CustomLineItem, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type Details, type DetailsKindOneOf, type DigitalFile, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, ItemTypeItemType, type ItemTypeItemTypeDataOneOf, type ItemTypeItemTypeWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDiscount, type LineItemExchangeData, type LineItemPriceChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type Price, type PriceDescription, type PriceSummary, type ProductName, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, type StreetAddress, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, updateExtendedFields, updateLineItems };
|
|
5138
|
+
export { type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderRequest, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomField, type CustomLineItem, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, ItemTypeItemType, type ItemTypeItemTypeDataOneOf, type ItemTypeItemTypeWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDiscount, type LineItemExchangeData, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type Price, type PriceDescription, type PriceSummary, type ProductName, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, type StreetAddress, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, updateExtendedFields, updateLineItems };
|