@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,99 @@ 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
|
+
/** @oneof */
|
|
231
|
+
interface DescriptionLineValueOneOf {
|
|
232
|
+
/** Description line plain text value. */
|
|
233
|
+
plainText?: PlainTextValue;
|
|
234
|
+
/** Description line color value. */
|
|
235
|
+
colorInfo?: Color;
|
|
236
|
+
}
|
|
237
|
+
/** @oneof */
|
|
238
|
+
interface DescriptionLineDescriptionLineValueOneOf {
|
|
239
|
+
}
|
|
240
|
+
interface DescriptionLineName {
|
|
241
|
+
/**
|
|
242
|
+
* 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).
|
|
243
|
+
* @maxLength 100
|
|
244
|
+
*/
|
|
245
|
+
original?: string;
|
|
246
|
+
/**
|
|
247
|
+
* Description line name translated into the buyer's language.
|
|
248
|
+
*
|
|
249
|
+
* Default: Same as `original`.
|
|
250
|
+
* @maxLength 200
|
|
251
|
+
*/
|
|
252
|
+
translated?: string | null;
|
|
253
|
+
}
|
|
254
|
+
interface PlainTextValue {
|
|
255
|
+
/**
|
|
256
|
+
* 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).
|
|
257
|
+
* @maxLength 600
|
|
258
|
+
*/
|
|
259
|
+
original?: string;
|
|
260
|
+
/**
|
|
261
|
+
* Description line plain text value translated into the buyer's language.
|
|
262
|
+
*
|
|
263
|
+
* Default: Same as `original`.
|
|
264
|
+
* @maxLength 600
|
|
265
|
+
*/
|
|
266
|
+
translated?: string | null;
|
|
267
|
+
}
|
|
268
|
+
interface Color {
|
|
269
|
+
/**
|
|
270
|
+
* 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).
|
|
271
|
+
* @maxLength 500
|
|
272
|
+
*/
|
|
273
|
+
original?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Description line color name translated into the buyer's language.
|
|
276
|
+
*
|
|
277
|
+
* Default: Same as `original`.
|
|
278
|
+
* @maxLength 500
|
|
279
|
+
*/
|
|
280
|
+
translated?: string | null;
|
|
281
|
+
/** HEX or RGB color code for display. */
|
|
282
|
+
code?: string | null;
|
|
283
|
+
}
|
|
284
|
+
declare enum DescriptionLineType {
|
|
285
|
+
/** Unrecognized type. */
|
|
286
|
+
UNRECOGNISED = "UNRECOGNISED",
|
|
287
|
+
/** Plain text type. */
|
|
288
|
+
PLAIN_TEXT = "PLAIN_TEXT",
|
|
289
|
+
/** Color type. */
|
|
290
|
+
COLOR = "COLOR"
|
|
291
|
+
}
|
|
292
|
+
/** @enumType */
|
|
293
|
+
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
201
294
|
interface OrderLineItem {
|
|
202
295
|
/**
|
|
203
296
|
* Line item ID.
|
|
@@ -323,27 +416,6 @@ interface OrderLineItem {
|
|
|
323
416
|
*/
|
|
324
417
|
modifierGroups?: ModifierGroup[];
|
|
325
418
|
}
|
|
326
|
-
interface ProductName {
|
|
327
|
-
/**
|
|
328
|
-
* __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).
|
|
329
|
-
*
|
|
330
|
-
* Min: 1 character.
|
|
331
|
-
* Max: 200 characters.
|
|
332
|
-
* @minLength 1
|
|
333
|
-
* @maxLength 200
|
|
334
|
-
*/
|
|
335
|
-
original?: string;
|
|
336
|
-
/**
|
|
337
|
-
* Item name translated into the buyer's language.
|
|
338
|
-
*
|
|
339
|
-
* Min: 1 character.
|
|
340
|
-
* Max: 400 characters.
|
|
341
|
-
* Default: Same as `original`.
|
|
342
|
-
* @minLength 1
|
|
343
|
-
* @maxLength 400
|
|
344
|
-
*/
|
|
345
|
-
translated?: string | null;
|
|
346
|
-
}
|
|
347
419
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
348
420
|
interface CatalogReference {
|
|
349
421
|
/**
|
|
@@ -371,78 +443,6 @@ interface CatalogReference {
|
|
|
371
443
|
*/
|
|
372
444
|
options?: Record<string, any> | null;
|
|
373
445
|
}
|
|
374
|
-
interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDescriptionLineValueOneOf {
|
|
375
|
-
/** Description line plain text value. */
|
|
376
|
-
plainText?: PlainTextValue;
|
|
377
|
-
/** Description line color value. */
|
|
378
|
-
colorInfo?: Color;
|
|
379
|
-
/** Description line name. */
|
|
380
|
-
name?: DescriptionLineName;
|
|
381
|
-
}
|
|
382
|
-
/** @oneof */
|
|
383
|
-
interface DescriptionLineValueOneOf {
|
|
384
|
-
/** Description line plain text value. */
|
|
385
|
-
plainText?: PlainTextValue;
|
|
386
|
-
/** Description line color value. */
|
|
387
|
-
colorInfo?: Color;
|
|
388
|
-
}
|
|
389
|
-
/** @oneof */
|
|
390
|
-
interface DescriptionLineDescriptionLineValueOneOf {
|
|
391
|
-
}
|
|
392
|
-
interface DescriptionLineName {
|
|
393
|
-
/**
|
|
394
|
-
* 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).
|
|
395
|
-
* @maxLength 100
|
|
396
|
-
*/
|
|
397
|
-
original?: string;
|
|
398
|
-
/**
|
|
399
|
-
* Description line name translated into the buyer's language.
|
|
400
|
-
*
|
|
401
|
-
* Default: Same as `original`.
|
|
402
|
-
* @maxLength 200
|
|
403
|
-
*/
|
|
404
|
-
translated?: string | null;
|
|
405
|
-
}
|
|
406
|
-
interface PlainTextValue {
|
|
407
|
-
/**
|
|
408
|
-
* 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).
|
|
409
|
-
* @maxLength 600
|
|
410
|
-
*/
|
|
411
|
-
original?: string;
|
|
412
|
-
/**
|
|
413
|
-
* Description line plain text value translated into the buyer's language.
|
|
414
|
-
*
|
|
415
|
-
* Default: Same as `original`.
|
|
416
|
-
* @maxLength 600
|
|
417
|
-
*/
|
|
418
|
-
translated?: string | null;
|
|
419
|
-
}
|
|
420
|
-
interface Color {
|
|
421
|
-
/**
|
|
422
|
-
* 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).
|
|
423
|
-
* @maxLength 500
|
|
424
|
-
*/
|
|
425
|
-
original?: string;
|
|
426
|
-
/**
|
|
427
|
-
* Description line color name translated into the buyer's language.
|
|
428
|
-
*
|
|
429
|
-
* Default: Same as `original`.
|
|
430
|
-
* @maxLength 500
|
|
431
|
-
*/
|
|
432
|
-
translated?: string | null;
|
|
433
|
-
/** HEX or RGB color code for display. */
|
|
434
|
-
code?: string | null;
|
|
435
|
-
}
|
|
436
|
-
declare enum DescriptionLineType {
|
|
437
|
-
/** Unrecognized type. */
|
|
438
|
-
UNRECOGNISED = "UNRECOGNISED",
|
|
439
|
-
/** Plain text type. */
|
|
440
|
-
PLAIN_TEXT = "PLAIN_TEXT",
|
|
441
|
-
/** Color type. */
|
|
442
|
-
COLOR = "COLOR"
|
|
443
|
-
}
|
|
444
|
-
/** @enumType */
|
|
445
|
-
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
446
446
|
interface FocalPoint {
|
|
447
447
|
/** X-coordinate of the focal point. */
|
|
448
448
|
x?: number;
|
|
@@ -1961,6 +1961,8 @@ interface CatalogReferenceLineItem {
|
|
|
1961
1961
|
*/
|
|
1962
1962
|
locations?: LocationAndQuantity[];
|
|
1963
1963
|
}
|
|
1964
|
+
interface DescriptionLinesOverride {
|
|
1965
|
+
}
|
|
1964
1966
|
interface CustomLineItem {
|
|
1965
1967
|
/**
|
|
1966
1968
|
* Line item ID.
|
|
@@ -2756,6 +2758,53 @@ interface Activity extends ActivityContentOneOf {
|
|
|
2756
2758
|
merchantComment?: MerchantComment;
|
|
2757
2759
|
/** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
|
|
2758
2760
|
orderRefunded?: OrderRefunded;
|
|
2761
|
+
/** Details of changes made by the Draft Orders API. */
|
|
2762
|
+
draftOrderChangesApplied?: DraftOrderChangesApplied;
|
|
2763
|
+
/** Details of the payment method saved for order */
|
|
2764
|
+
savedPaymentMethod?: SavedPaymentMethod;
|
|
2765
|
+
/** Details of an authorized payment created. */
|
|
2766
|
+
authorizedPaymentCreated?: AuthorizedPaymentCreated;
|
|
2767
|
+
/** Details of an authorized payment captured. */
|
|
2768
|
+
authorizedPaymentCaptured?: AuthorizedPaymentCaptured;
|
|
2769
|
+
/** Details of an authorized payment voided. */
|
|
2770
|
+
authorizedPaymentVoided?: AuthorizedPaymentVoided;
|
|
2771
|
+
/**
|
|
2772
|
+
* Details of an initiated refund process.
|
|
2773
|
+
*
|
|
2774
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2775
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2776
|
+
*/
|
|
2777
|
+
refundInitiated?: RefundInitiated;
|
|
2778
|
+
/**
|
|
2779
|
+
* Details of a refunded payment.
|
|
2780
|
+
*
|
|
2781
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2782
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2783
|
+
*/
|
|
2784
|
+
paymentRefunded?: PaymentRefunded;
|
|
2785
|
+
/**
|
|
2786
|
+
* Details of a failed payment refund.
|
|
2787
|
+
*
|
|
2788
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2789
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2790
|
+
*/
|
|
2791
|
+
paymentRefundFailed?: PaymentRefundFailed;
|
|
2792
|
+
/** Details of refund to store credit. */
|
|
2793
|
+
refundedAsStoreCredit?: RefundedAsStoreCredit;
|
|
2794
|
+
/** Details of a pending payment. */
|
|
2795
|
+
paymentPending?: PaymentPending;
|
|
2796
|
+
/** Details of a canceled payment. */
|
|
2797
|
+
paymentCanceled?: PaymentCanceled;
|
|
2798
|
+
/** Details of a declined payment. */
|
|
2799
|
+
paymentDeclined?: PaymentDeclined;
|
|
2800
|
+
/** Receipt was added for associated payment. */
|
|
2801
|
+
receiptCreated?: ReceiptCreated;
|
|
2802
|
+
/** Receipt sent to customer. */
|
|
2803
|
+
receiptSent?: ReceiptSent;
|
|
2804
|
+
/** Order received a chargeback for one of its' payments. */
|
|
2805
|
+
chargebackCreated?: ChargebackCreated;
|
|
2806
|
+
/** Chargeback reversed for one of the order's payments. */
|
|
2807
|
+
chargebackReversed?: ChargebackReversed;
|
|
2759
2808
|
/**
|
|
2760
2809
|
* Activity ID.
|
|
2761
2810
|
* @format GUID
|
|
@@ -2784,6 +2833,53 @@ interface ActivityContentOneOf {
|
|
|
2784
2833
|
merchantComment?: MerchantComment;
|
|
2785
2834
|
/** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
|
|
2786
2835
|
orderRefunded?: OrderRefunded;
|
|
2836
|
+
/** Details of changes made by the Draft Orders API. */
|
|
2837
|
+
draftOrderChangesApplied?: DraftOrderChangesApplied;
|
|
2838
|
+
/** Details of the payment method saved for order */
|
|
2839
|
+
savedPaymentMethod?: SavedPaymentMethod;
|
|
2840
|
+
/** Details of an authorized payment created. */
|
|
2841
|
+
authorizedPaymentCreated?: AuthorizedPaymentCreated;
|
|
2842
|
+
/** Details of an authorized payment captured. */
|
|
2843
|
+
authorizedPaymentCaptured?: AuthorizedPaymentCaptured;
|
|
2844
|
+
/** Details of an authorized payment voided. */
|
|
2845
|
+
authorizedPaymentVoided?: AuthorizedPaymentVoided;
|
|
2846
|
+
/**
|
|
2847
|
+
* Details of an initiated refund process.
|
|
2848
|
+
*
|
|
2849
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2850
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2851
|
+
*/
|
|
2852
|
+
refundInitiated?: RefundInitiated;
|
|
2853
|
+
/**
|
|
2854
|
+
* Details of a refunded payment.
|
|
2855
|
+
*
|
|
2856
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2857
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2858
|
+
*/
|
|
2859
|
+
paymentRefunded?: PaymentRefunded;
|
|
2860
|
+
/**
|
|
2861
|
+
* Details of a failed payment refund.
|
|
2862
|
+
*
|
|
2863
|
+
* > **Note:** A single `refundInitiated` activity can result in multiple `paymentRefunded` or `paymentRefundFailed` activities.
|
|
2864
|
+
* > In these cases, the `refundId` will be identical across the activities.
|
|
2865
|
+
*/
|
|
2866
|
+
paymentRefundFailed?: PaymentRefundFailed;
|
|
2867
|
+
/** Details of refund to store credit. */
|
|
2868
|
+
refundedAsStoreCredit?: RefundedAsStoreCredit;
|
|
2869
|
+
/** Details of a pending payment. */
|
|
2870
|
+
paymentPending?: PaymentPending;
|
|
2871
|
+
/** Details of a canceled payment. */
|
|
2872
|
+
paymentCanceled?: PaymentCanceled;
|
|
2873
|
+
/** Details of a declined payment. */
|
|
2874
|
+
paymentDeclined?: PaymentDeclined;
|
|
2875
|
+
/** Receipt was added for associated payment. */
|
|
2876
|
+
receiptCreated?: ReceiptCreated;
|
|
2877
|
+
/** Receipt sent to customer. */
|
|
2878
|
+
receiptSent?: ReceiptSent;
|
|
2879
|
+
/** Order received a chargeback for one of its' payments. */
|
|
2880
|
+
chargebackCreated?: ChargebackCreated;
|
|
2881
|
+
/** Chargeback reversed for one of the order's payments. */
|
|
2882
|
+
chargebackReversed?: ChargebackReversed;
|
|
2787
2883
|
}
|
|
2788
2884
|
interface CustomActivity {
|
|
2789
2885
|
/**
|
|
@@ -2892,7 +2988,7 @@ interface LineItemChanges {
|
|
|
2892
2988
|
* @format GUID
|
|
2893
2989
|
*/
|
|
2894
2990
|
_id?: string;
|
|
2895
|
-
/** Item name. */
|
|
2991
|
+
/** Item name after change. */
|
|
2896
2992
|
name?: ProductName;
|
|
2897
2993
|
/** Item quantity change. */
|
|
2898
2994
|
quantity?: LineItemQuantityChange;
|
|
@@ -2933,6 +3029,12 @@ interface LineItemPriceChange {
|
|
|
2933
3029
|
/** Item price after update. */
|
|
2934
3030
|
newPrice?: Price;
|
|
2935
3031
|
}
|
|
3032
|
+
interface LineItemProductNameChange {
|
|
3033
|
+
/** Item product name before update. */
|
|
3034
|
+
originalProductName?: ProductName;
|
|
3035
|
+
/** Item product name after update. */
|
|
3036
|
+
newProductName?: ProductName;
|
|
3037
|
+
}
|
|
2936
3038
|
interface ManagedLineItem {
|
|
2937
3039
|
/**
|
|
2938
3040
|
* Line item ID.
|
|
@@ -3355,44 +3457,139 @@ interface ChargebackReversed {
|
|
|
3355
3457
|
paymentDetails?: RegularPayment;
|
|
3356
3458
|
}
|
|
3357
3459
|
declare enum ActivityType {
|
|
3460
|
+
/** Order was refunded, either partially or fully. */
|
|
3358
3461
|
ORDER_REFUNDED = "ORDER_REFUNDED",
|
|
3462
|
+
/** New order was created and placed. */
|
|
3359
3463
|
ORDER_PLACED = "ORDER_PLACED",
|
|
3464
|
+
/** Order payment was completed and confirmed. */
|
|
3360
3465
|
ORDER_PAID = "ORDER_PAID",
|
|
3466
|
+
/** Order items were marked as fulfilled (shipped or ready for pickup). */
|
|
3361
3467
|
ORDER_FULFILLED = "ORDER_FULFILLED",
|
|
3468
|
+
/** Order fulfillment status was changed to not fulfilled. */
|
|
3362
3469
|
ORDER_NOT_FULFILLED = "ORDER_NOT_FULFILLED",
|
|
3470
|
+
/** Order was canceled by merchant or customer. */
|
|
3363
3471
|
ORDER_CANCELED = "ORDER_CANCELED",
|
|
3472
|
+
/** Download link was sent for digital items in the order. */
|
|
3364
3473
|
DOWNLOAD_LINK_SENT = "DOWNLOAD_LINK_SENT",
|
|
3474
|
+
/** Shipping tracking number was added to the order. */
|
|
3365
3475
|
TRACKING_NUMBER_ADDED = "TRACKING_NUMBER_ADDED",
|
|
3476
|
+
/** Existing shipping tracking number was modified. */
|
|
3366
3477
|
TRACKING_NUMBER_EDITED = "TRACKING_NUMBER_EDITED",
|
|
3478
|
+
/** Tracking link for shipment was added to the order. */
|
|
3367
3479
|
TRACKING_LINK_ADDED = "TRACKING_LINK_ADDED",
|
|
3480
|
+
/** Email confirming shipment was sent to the customer. */
|
|
3368
3481
|
SHIPPING_CONFIRMATION_EMAIL_SENT = "SHIPPING_CONFIRMATION_EMAIL_SENT",
|
|
3482
|
+
/** Invoice document was added to the order. */
|
|
3369
3483
|
INVOICE_ADDED = "INVOICE_ADDED",
|
|
3484
|
+
/** Invoice was removed from the order. */
|
|
3370
3485
|
INVOICE_REMOVED = "INVOICE_REMOVED",
|
|
3486
|
+
/** Invoice was sent to the customer via email. */
|
|
3371
3487
|
INVOICE_SENT = "INVOICE_SENT",
|
|
3488
|
+
/** Notification email was sent to the order fulfiller. */
|
|
3372
3489
|
FULFILLER_EMAIL_SENT = "FULFILLER_EMAIL_SENT",
|
|
3490
|
+
/** Order's shipping address was modified. */
|
|
3373
3491
|
SHIPPING_ADDRESS_EDITED = "SHIPPING_ADDRESS_EDITED",
|
|
3492
|
+
/** Order's contact email address was changed. */
|
|
3374
3493
|
EMAIL_EDITED = "EMAIL_EDITED",
|
|
3494
|
+
/** Email notification for pickup readiness was sent. */
|
|
3375
3495
|
PICKUP_READY_EMAIL_SENT = "PICKUP_READY_EMAIL_SENT",
|
|
3496
|
+
/** Custom activity created by a third-party application. */
|
|
3376
3497
|
CUSTOM_ACTIVITY = "CUSTOM_ACTIVITY",
|
|
3498
|
+
/** Comment added to the order by a merchant. */
|
|
3377
3499
|
MERCHANT_COMMENT = "MERCHANT_COMMENT",
|
|
3500
|
+
/** Order was created as a result of an exchange. */
|
|
3378
3501
|
ORDER_CREATED_FROM_EXCHANGE = "ORDER_CREATED_FROM_EXCHANGE",
|
|
3502
|
+
/** New exchange order was created from this order. */
|
|
3379
3503
|
NEW_EXCHANGE_ORDER_CREATED = "NEW_EXCHANGE_ORDER_CREATED",
|
|
3504
|
+
/** Partial payment was received for the order. */
|
|
3380
3505
|
ORDER_PARTIALLY_PAID = "ORDER_PARTIALLY_PAID",
|
|
3506
|
+
/** Changes were applied to a draft order. */
|
|
3381
3507
|
DRAFT_ORDER_CHANGES_APPLIED = "DRAFT_ORDER_CHANGES_APPLIED",
|
|
3508
|
+
/** Payment method was saved for future use. */
|
|
3382
3509
|
SAVED_PAYMENT_METHOD = "SAVED_PAYMENT_METHOD",
|
|
3383
|
-
/**
|
|
3510
|
+
/**
|
|
3511
|
+
* Payment was authorized but not yet captured.
|
|
3512
|
+
* @documentationMaturity preview
|
|
3513
|
+
*/
|
|
3514
|
+
AUTHORIZED_PAYMENT_CREATED = "AUTHORIZED_PAYMENT_CREATED",
|
|
3515
|
+
/**
|
|
3516
|
+
* Previously authorized payment was captured.
|
|
3517
|
+
* @documentationMaturity preview
|
|
3518
|
+
*/
|
|
3519
|
+
AUTHORIZED_PAYMENT_CAPTURED = "AUTHORIZED_PAYMENT_CAPTURED",
|
|
3520
|
+
/**
|
|
3521
|
+
* Previously authorized payment was voided.
|
|
3522
|
+
* @documentationMaturity preview
|
|
3523
|
+
*/
|
|
3524
|
+
AUTHORIZED_PAYMENT_VOIDED = "AUTHORIZED_PAYMENT_VOIDED",
|
|
3525
|
+
/**
|
|
3526
|
+
* Refund process was initiated.
|
|
3527
|
+
* @documentationMaturity preview
|
|
3528
|
+
*/
|
|
3529
|
+
REFUND_INITIATED = "REFUND_INITIATED",
|
|
3530
|
+
/**
|
|
3531
|
+
* Payment was successfully refunded.
|
|
3532
|
+
* @documentationMaturity preview
|
|
3533
|
+
*/
|
|
3534
|
+
PAYMENT_REFUNDED = "PAYMENT_REFUNDED",
|
|
3535
|
+
/**
|
|
3536
|
+
* Attempt to refund payment failed.
|
|
3537
|
+
* @documentationMaturity preview
|
|
3538
|
+
*/
|
|
3539
|
+
PAYMENT_REFUND_FAILED = "PAYMENT_REFUND_FAILED",
|
|
3540
|
+
/**
|
|
3541
|
+
* Refund was issued as store credit.
|
|
3542
|
+
* @documentationMaturity preview
|
|
3543
|
+
*/
|
|
3544
|
+
REFUNDED_AS_STORE_CREDIT = "REFUNDED_AS_STORE_CREDIT",
|
|
3545
|
+
/**
|
|
3546
|
+
* Payment is awaiting processing or confirmation.
|
|
3547
|
+
* @documentationMaturity preview
|
|
3548
|
+
*/
|
|
3384
3549
|
PAYMENT_PENDING = "PAYMENT_PENDING",
|
|
3385
|
-
/**
|
|
3550
|
+
/**
|
|
3551
|
+
* Payment was canceled before completion.
|
|
3552
|
+
* @documentationMaturity preview
|
|
3553
|
+
*/
|
|
3386
3554
|
PAYMENT_CANCELED = "PAYMENT_CANCELED",
|
|
3387
|
-
/**
|
|
3555
|
+
/**
|
|
3556
|
+
* Payment was declined by payment provider.
|
|
3557
|
+
* @documentationMaturity preview
|
|
3558
|
+
*/
|
|
3388
3559
|
PAYMENT_DECLINED = "PAYMENT_DECLINED",
|
|
3389
|
-
/**
|
|
3560
|
+
/**
|
|
3561
|
+
* Order is awaiting approval or processing.
|
|
3562
|
+
* @documentationMaturity preview
|
|
3563
|
+
*/
|
|
3390
3564
|
ORDER_PENDING = "ORDER_PENDING",
|
|
3391
|
-
/**
|
|
3392
|
-
|
|
3565
|
+
/**
|
|
3566
|
+
* Order was rejected by merchant.
|
|
3567
|
+
* @documentationMaturity preview
|
|
3568
|
+
*/
|
|
3569
|
+
ORDER_REJECTED = "ORDER_REJECTED",
|
|
3570
|
+
/**
|
|
3571
|
+
* Receipt was generated for a payment.
|
|
3572
|
+
* @documentationMaturity preview
|
|
3573
|
+
*/
|
|
3574
|
+
RECEIPT_CREATED = "RECEIPT_CREATED",
|
|
3575
|
+
/**
|
|
3576
|
+
* Receipt was sent to the customer.
|
|
3577
|
+
* @documentationMaturity preview
|
|
3578
|
+
*/
|
|
3579
|
+
RECEIPT_SENT = "RECEIPT_SENT",
|
|
3580
|
+
/**
|
|
3581
|
+
* Chargeback was created for one of the order's payments.
|
|
3582
|
+
* @documentationMaturity preview
|
|
3583
|
+
*/
|
|
3584
|
+
CHARGEBACK_CREATED = "CHARGEBACK_CREATED",
|
|
3585
|
+
/**
|
|
3586
|
+
* Chargeback was resolved in merchant's favor.
|
|
3587
|
+
* @documentationMaturity preview
|
|
3588
|
+
*/
|
|
3589
|
+
CHARGEBACK_REVERSED = "CHARGEBACK_REVERSED"
|
|
3393
3590
|
}
|
|
3394
3591
|
/** @enumType */
|
|
3395
|
-
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';
|
|
3592
|
+
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';
|
|
3396
3593
|
declare enum AttributionSource {
|
|
3397
3594
|
UNSPECIFIED = "UNSPECIFIED",
|
|
3398
3595
|
FACEBOOK_ADS = "FACEBOOK_ADS"
|
|
@@ -3537,11 +3734,26 @@ interface V1BalanceSummary {
|
|
|
3537
3734
|
* @readonly
|
|
3538
3735
|
*/
|
|
3539
3736
|
authorized?: Price;
|
|
3737
|
+
/**
|
|
3738
|
+
* Sum of all pending refund transactions.
|
|
3739
|
+
* @readonly
|
|
3740
|
+
*/
|
|
3741
|
+
pendingRefund?: Price;
|
|
3540
3742
|
/**
|
|
3541
3743
|
* Sum of all pending transactions.
|
|
3542
3744
|
* @readonly
|
|
3543
3745
|
*/
|
|
3544
3746
|
pending?: Price;
|
|
3747
|
+
/**
|
|
3748
|
+
* Sum of all transaction chargebacks.
|
|
3749
|
+
* @readonly
|
|
3750
|
+
*/
|
|
3751
|
+
chargeback?: Price;
|
|
3752
|
+
/**
|
|
3753
|
+
* Sum of all chargeback reversals.
|
|
3754
|
+
* @readonly
|
|
3755
|
+
*/
|
|
3756
|
+
chargebackReversal?: Price;
|
|
3545
3757
|
}
|
|
3546
3758
|
interface FulfillmentStatusesAggregate {
|
|
3547
3759
|
/** Unique string values based on Fulfillment entities statuses */
|
|
@@ -4611,7 +4823,7 @@ declare function getOrderDraftabilityStatus(orderId: string): Promise<NonNullabl
|
|
|
4611
4823
|
* @applicableIdentity APP
|
|
4612
4824
|
* @fqn com.wix.ecom.orders.draft.v1.DraftOrders.CommitDraftOrder
|
|
4613
4825
|
*/
|
|
4614
|
-
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> & {
|
|
4826
|
+
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> & {
|
|
4615
4827
|
__applicationErrorsType?: CommitDraftOrderApplicationErrors;
|
|
4616
4828
|
}>;
|
|
4617
4829
|
interface CommitDraftOrderOptions {
|
|
@@ -4639,7 +4851,7 @@ interface CommitDraftOrderOptions {
|
|
|
4639
4851
|
* @applicableIdentity APP
|
|
4640
4852
|
* @fqn com.wix.ecom.orders.draft.v1.DraftOrders.CreateOrderFromDraft
|
|
4641
4853
|
*/
|
|
4642
|
-
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> & {
|
|
4854
|
+
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> & {
|
|
4643
4855
|
__applicationErrorsType?: CreateOrderFromDraftApplicationErrors;
|
|
4644
4856
|
}>;
|
|
4645
4857
|
interface CreateOrderFromDraftOptions {
|
|
@@ -4826,4 +5038,4 @@ interface SetBusinessLocationOptions {
|
|
|
4826
5038
|
businessLocation?: Location;
|
|
4827
5039
|
}
|
|
4828
5040
|
|
|
4829
|
-
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 };
|
|
5041
|
+
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 };
|