@wix/auto_sdk_ecom_orders 1.0.60 → 1.0.62
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/{internal/cjs/ecom-v1-order-orders.universal-Dg-mwHfT.d.ts → cjs/ecom-v1-order-orders.universal-CaDvypy_.d.ts} +584 -393
- package/build/cjs/index.d.ts +23 -9
- package/build/cjs/index.js +9 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +31 -0
- package/build/cjs/index.typings.js +3086 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -1
- package/build/{internal/es/ecom-v1-order-orders.universal-Dg-mwHfT.d.mts → es/ecom-v1-order-orders.universal-CaDvypy_.d.mts} +584 -393
- package/build/es/index.d.mts +23 -9
- package/build/es/index.mjs +8 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +31 -0
- package/build/es/index.typings.mjs +2986 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +1 -1
- package/build/{cjs/ecom-v1-order-orders.universal-C65mdJbP.d.ts → internal/cjs/ecom-v1-order-orders.universal-EM8BrJdd.d.ts} +1264 -2
- package/build/internal/cjs/index.d.ts +41 -15
- package/build/internal/cjs/index.js +9 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +31 -0
- package/build/internal/cjs/index.typings.js +3086 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/{es/ecom-v1-order-orders.universal-C65mdJbP.d.mts → internal/es/ecom-v1-order-orders.universal-EM8BrJdd.d.mts} +1264 -2
- package/build/internal/es/index.d.mts +41 -15
- package/build/internal/es/index.mjs +8 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +31 -0
- package/build/internal/es/index.typings.mjs +2986 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SearchSpec, Search } from '@wix/sdk-types';
|
|
1
|
+
import { SearchSpec, Search, NonNullablePaths } from '@wix/sdk-types';
|
|
2
2
|
|
|
3
3
|
interface Order {
|
|
4
4
|
/**
|
|
@@ -283,25 +283,12 @@ interface OrderLineItem {
|
|
|
283
283
|
locations?: LocationAndQuantity[];
|
|
284
284
|
/** Address used for tax calculation. */
|
|
285
285
|
taxableAddress?: TaxableAddress;
|
|
286
|
-
/**
|
|
287
|
-
* ID of the app managing the inventory.
|
|
288
|
-
* @internal
|
|
289
|
-
* @format GUID
|
|
290
|
-
*/
|
|
291
|
-
inventoryAppId?: string | null;
|
|
292
286
|
/**
|
|
293
287
|
* Custom extended fields for the line item object.
|
|
294
288
|
*
|
|
295
289
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
296
290
|
*/
|
|
297
291
|
extendedFields?: ExtendedFields;
|
|
298
|
-
/**
|
|
299
|
-
* Modifier groups that were added to the item.
|
|
300
|
-
* @internal
|
|
301
|
-
* @readonly
|
|
302
|
-
* @maxSize 10
|
|
303
|
-
*/
|
|
304
|
-
modifierGroups?: ModifierGroup[];
|
|
305
292
|
}
|
|
306
293
|
interface ProductName {
|
|
307
294
|
/**
|
|
@@ -372,11 +359,6 @@ interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDesc
|
|
|
372
359
|
colorInfo?: Color;
|
|
373
360
|
/** Description line name. */
|
|
374
361
|
name?: DescriptionLineName;
|
|
375
|
-
/**
|
|
376
|
-
* Whether the description line originates from a modifier.
|
|
377
|
-
* @internal
|
|
378
|
-
*/
|
|
379
|
-
modifierDescriptionLine?: boolean;
|
|
380
362
|
}
|
|
381
363
|
/** @oneof */
|
|
382
364
|
interface DescriptionLineValueOneOf {
|
|
@@ -440,6 +422,8 @@ declare enum DescriptionLineType {
|
|
|
440
422
|
/** Color type. */
|
|
441
423
|
COLOR = "COLOR"
|
|
442
424
|
}
|
|
425
|
+
/** @enumType */
|
|
426
|
+
type DescriptionLineTypeWithLiterals = DescriptionLineType | 'UNRECOGNISED' | 'PLAIN_TEXT' | 'COLOR';
|
|
443
427
|
interface FocalPoint {
|
|
444
428
|
/** X-coordinate of the focal point. */
|
|
445
429
|
x?: number;
|
|
@@ -619,11 +603,6 @@ interface SubscriptionInfo {
|
|
|
619
603
|
* @targetRemovalDate 2025-10-01
|
|
620
604
|
*/
|
|
621
605
|
subscriptionOptionTitle?: string;
|
|
622
|
-
/**
|
|
623
|
-
* Subscription title. For example, `"Monthly coffee Subscription"`.
|
|
624
|
-
* @internal
|
|
625
|
-
*/
|
|
626
|
-
title?: SubscriptionTitle;
|
|
627
606
|
/**
|
|
628
607
|
* Subscription option description. For example, `"1kg of selected coffee, once a month"`.
|
|
629
608
|
* @maxLength 60
|
|
@@ -632,11 +611,6 @@ interface SubscriptionInfo {
|
|
|
632
611
|
* @targetRemovalDate 2025-10-01
|
|
633
612
|
*/
|
|
634
613
|
subscriptionOptionDescription?: string | null;
|
|
635
|
-
/**
|
|
636
|
-
* Subscription description. For example, `"1kg of selected coffee, once a month"`.
|
|
637
|
-
* @internal
|
|
638
|
-
*/
|
|
639
|
-
description?: SubscriptionDescription;
|
|
640
614
|
/**
|
|
641
615
|
* Subscription detailed information.
|
|
642
616
|
* @immutable
|
|
@@ -647,11 +621,6 @@ interface SubscriptionInfo {
|
|
|
647
621
|
* @maxLength 1000
|
|
648
622
|
*/
|
|
649
623
|
chargesDescription?: string | null;
|
|
650
|
-
/**
|
|
651
|
-
* Details of the billing adjustment applied to the current subscription cycle due to a shift in the subscription’s billing date.
|
|
652
|
-
* @internal
|
|
653
|
-
*/
|
|
654
|
-
billingAdjustment?: BillingAdjustment;
|
|
655
624
|
}
|
|
656
625
|
interface SubscriptionTitle {
|
|
657
626
|
/**
|
|
@@ -701,11 +670,6 @@ interface SubscriptionSettings {
|
|
|
701
670
|
enableCustomerCancellation?: boolean;
|
|
702
671
|
/** Period until first cycle starts. If None => no free trial */
|
|
703
672
|
freeTrialPeriod?: FreeTrialPeriod;
|
|
704
|
-
/**
|
|
705
|
-
* The date the subscription will start. The subscription will be charged either now or according to freeTrialDays.
|
|
706
|
-
* @internal
|
|
707
|
-
*/
|
|
708
|
-
startDate?: Date | null;
|
|
709
673
|
}
|
|
710
674
|
/** Frequency unit of recurring payment */
|
|
711
675
|
declare enum SubscriptionFrequency {
|
|
@@ -1382,14 +1346,6 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
|
|
|
1382
1346
|
* @immutable
|
|
1383
1347
|
*/
|
|
1384
1348
|
_id?: string | null;
|
|
1385
|
-
/**
|
|
1386
|
-
* Number of subscription billing cycles the discount applies to.
|
|
1387
|
-
* If None and discount is linked to subscription line item, it applies to all cycles.
|
|
1388
|
-
* @internal
|
|
1389
|
-
* @min 1
|
|
1390
|
-
* @max 999
|
|
1391
|
-
*/
|
|
1392
|
-
subscriptionCycles?: number | null;
|
|
1393
1349
|
}
|
|
1394
1350
|
/** @oneof */
|
|
1395
1351
|
interface AppliedDiscountDiscountSourceOneOf {
|
|
@@ -1431,13 +1387,6 @@ interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
|
|
|
1431
1387
|
description?: string | null;
|
|
1432
1388
|
/** Discount amount. */
|
|
1433
1389
|
amount?: Price;
|
|
1434
|
-
/**
|
|
1435
|
-
* Discount percentage.
|
|
1436
|
-
* @internal
|
|
1437
|
-
* @format DECIMAL_VALUE
|
|
1438
|
-
* @decimalValue options { gte:0, lte:100, maxScale:2 }
|
|
1439
|
-
*/
|
|
1440
|
-
percentage?: string | null;
|
|
1441
1390
|
}
|
|
1442
1391
|
/** @oneof */
|
|
1443
1392
|
interface MerchantDiscountMerchantDiscountReasonOneOf {
|
|
@@ -1500,60 +1449,6 @@ interface Activity extends ActivityContentOneOf {
|
|
|
1500
1449
|
merchantComment?: MerchantComment;
|
|
1501
1450
|
/** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
|
|
1502
1451
|
orderRefunded?: OrderRefunded;
|
|
1503
|
-
/**
|
|
1504
|
-
* Details of an initiated refund process.
|
|
1505
|
-
*
|
|
1506
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
1507
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
1508
|
-
* @internal
|
|
1509
|
-
*/
|
|
1510
|
-
refundInitiated?: RefundInitiated;
|
|
1511
|
-
/**
|
|
1512
|
-
* Details of a refunded payment.
|
|
1513
|
-
*
|
|
1514
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
1515
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
1516
|
-
* @internal
|
|
1517
|
-
*/
|
|
1518
|
-
paymentRefunded?: PaymentRefunded;
|
|
1519
|
-
/**
|
|
1520
|
-
* Details of a failed payment refund.
|
|
1521
|
-
*
|
|
1522
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
1523
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
1524
|
-
* @internal
|
|
1525
|
-
*/
|
|
1526
|
-
paymentRefundFailed?: PaymentRefundFailed;
|
|
1527
|
-
/**
|
|
1528
|
-
* Details of refund to store credit.
|
|
1529
|
-
* @internal
|
|
1530
|
-
*/
|
|
1531
|
-
refundedAsStoreCredit?: RefundedAsStoreCredit;
|
|
1532
|
-
/**
|
|
1533
|
-
* Details of a pending payment
|
|
1534
|
-
* @internal
|
|
1535
|
-
*/
|
|
1536
|
-
paymentPending?: PaymentPending;
|
|
1537
|
-
/**
|
|
1538
|
-
* Details of a canceled payment
|
|
1539
|
-
* @internal
|
|
1540
|
-
*/
|
|
1541
|
-
paymentCanceled?: PaymentCanceled;
|
|
1542
|
-
/**
|
|
1543
|
-
* Details of a declined payment
|
|
1544
|
-
* @internal
|
|
1545
|
-
*/
|
|
1546
|
-
paymentDeclined?: PaymentDeclined;
|
|
1547
|
-
/**
|
|
1548
|
-
* Receipt was added for associated payment
|
|
1549
|
-
* @internal
|
|
1550
|
-
*/
|
|
1551
|
-
receiptCreated?: ReceiptCreated;
|
|
1552
|
-
/**
|
|
1553
|
-
* Receipt sent to customer
|
|
1554
|
-
* @internal
|
|
1555
|
-
*/
|
|
1556
|
-
receiptSent?: ReceiptSent;
|
|
1557
1452
|
/**
|
|
1558
1453
|
* Activity ID.
|
|
1559
1454
|
* @format GUID
|
|
@@ -1582,60 +1477,6 @@ interface ActivityContentOneOf {
|
|
|
1582
1477
|
merchantComment?: MerchantComment;
|
|
1583
1478
|
/** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
|
|
1584
1479
|
orderRefunded?: OrderRefunded;
|
|
1585
|
-
/**
|
|
1586
|
-
* Details of an initiated refund process.
|
|
1587
|
-
*
|
|
1588
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
1589
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
1590
|
-
* @internal
|
|
1591
|
-
*/
|
|
1592
|
-
refundInitiated?: RefundInitiated;
|
|
1593
|
-
/**
|
|
1594
|
-
* Details of a refunded payment.
|
|
1595
|
-
*
|
|
1596
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
1597
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
1598
|
-
* @internal
|
|
1599
|
-
*/
|
|
1600
|
-
paymentRefunded?: PaymentRefunded;
|
|
1601
|
-
/**
|
|
1602
|
-
* Details of a failed payment refund.
|
|
1603
|
-
*
|
|
1604
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
1605
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
1606
|
-
* @internal
|
|
1607
|
-
*/
|
|
1608
|
-
paymentRefundFailed?: PaymentRefundFailed;
|
|
1609
|
-
/**
|
|
1610
|
-
* Details of refund to store credit.
|
|
1611
|
-
* @internal
|
|
1612
|
-
*/
|
|
1613
|
-
refundedAsStoreCredit?: RefundedAsStoreCredit;
|
|
1614
|
-
/**
|
|
1615
|
-
* Details of a pending payment
|
|
1616
|
-
* @internal
|
|
1617
|
-
*/
|
|
1618
|
-
paymentPending?: PaymentPending;
|
|
1619
|
-
/**
|
|
1620
|
-
* Details of a canceled payment
|
|
1621
|
-
* @internal
|
|
1622
|
-
*/
|
|
1623
|
-
paymentCanceled?: PaymentCanceled;
|
|
1624
|
-
/**
|
|
1625
|
-
* Details of a declined payment
|
|
1626
|
-
* @internal
|
|
1627
|
-
*/
|
|
1628
|
-
paymentDeclined?: PaymentDeclined;
|
|
1629
|
-
/**
|
|
1630
|
-
* Receipt was added for associated payment
|
|
1631
|
-
* @internal
|
|
1632
|
-
*/
|
|
1633
|
-
receiptCreated?: ReceiptCreated;
|
|
1634
|
-
/**
|
|
1635
|
-
* Receipt sent to customer
|
|
1636
|
-
* @internal
|
|
1637
|
-
*/
|
|
1638
|
-
receiptSent?: ReceiptSent;
|
|
1639
1480
|
}
|
|
1640
1481
|
interface CustomActivity {
|
|
1641
1482
|
/**
|
|
@@ -2172,6 +2013,40 @@ interface ReceiptSentReceiptInfoOneOf {
|
|
|
2172
2013
|
/** Receipt created by an external system. */
|
|
2173
2014
|
externalReceipt?: ExternalReceipt;
|
|
2174
2015
|
}
|
|
2016
|
+
interface ChargebackCreated {
|
|
2017
|
+
/**
|
|
2018
|
+
* ID of the payment that received a chargeback.
|
|
2019
|
+
* @format GUID
|
|
2020
|
+
*/
|
|
2021
|
+
paymentId?: string;
|
|
2022
|
+
/**
|
|
2023
|
+
* Chargeback ID.
|
|
2024
|
+
* @format GUID
|
|
2025
|
+
*/
|
|
2026
|
+
chargebackId?: string;
|
|
2027
|
+
/** Chargeback amount. */
|
|
2028
|
+
amount?: Price;
|
|
2029
|
+
/** Payment details. */
|
|
2030
|
+
paymentDetails?: RegularPayment;
|
|
2031
|
+
}
|
|
2032
|
+
interface ChargebackReversed {
|
|
2033
|
+
/**
|
|
2034
|
+
* ID of the payment involved with the chargeback.
|
|
2035
|
+
* @format GUID
|
|
2036
|
+
*/
|
|
2037
|
+
paymentId?: string;
|
|
2038
|
+
/**
|
|
2039
|
+
* Chargeback ID.
|
|
2040
|
+
* @format GUID
|
|
2041
|
+
*/
|
|
2042
|
+
chargebackId?: string;
|
|
2043
|
+
/** Chargeback amount. */
|
|
2044
|
+
amount?: Price;
|
|
2045
|
+
/** Chargeback reversal amount. */
|
|
2046
|
+
reversalAmount?: Price;
|
|
2047
|
+
/** Payment details. */
|
|
2048
|
+
paymentDetails?: RegularPayment;
|
|
2049
|
+
}
|
|
2175
2050
|
declare enum ActivityType {
|
|
2176
2051
|
ORDER_REFUNDED = "ORDER_REFUNDED",
|
|
2177
2052
|
ORDER_PLACED = "ORDER_PLACED",
|
|
@@ -2353,12 +2228,6 @@ interface BalanceSummary {
|
|
|
2353
2228
|
* @readonly
|
|
2354
2229
|
*/
|
|
2355
2230
|
authorized?: Price;
|
|
2356
|
-
/**
|
|
2357
|
-
* Sum of all pending refund transactions.
|
|
2358
|
-
* @internal
|
|
2359
|
-
* @readonly
|
|
2360
|
-
*/
|
|
2361
|
-
pendingRefund?: Price;
|
|
2362
2231
|
/**
|
|
2363
2232
|
* Sum of all pending transactions.
|
|
2364
2233
|
* @readonly
|
|
@@ -2425,14 +2294,6 @@ interface AdditionalFee {
|
|
|
2425
2294
|
* @format GUID
|
|
2426
2295
|
*/
|
|
2427
2296
|
lineItemIds?: string[];
|
|
2428
|
-
/**
|
|
2429
|
-
* Number of subscription billing cycles the additional fee applies to.
|
|
2430
|
-
* If None and additional fee is linked to subscription line item, it applies to all cycles.
|
|
2431
|
-
* @internal
|
|
2432
|
-
* @min 1
|
|
2433
|
-
* @max 999
|
|
2434
|
-
*/
|
|
2435
|
-
subscriptionCycles?: number | null;
|
|
2436
2297
|
}
|
|
2437
2298
|
interface FulfillmentStatusesAggregate {
|
|
2438
2299
|
/** Unique string values based on Fulfillment entities statuses */
|
|
@@ -2549,17 +2410,6 @@ interface PreparePaymentCollectionRequest {
|
|
|
2549
2410
|
* @targetRemovalDate 2024-09-30
|
|
2550
2411
|
*/
|
|
2551
2412
|
delayedCapture?: boolean;
|
|
2552
|
-
/**
|
|
2553
|
-
* Specifies whether payment collection is initiated by Merchant or User of User
|
|
2554
|
-
* Default: `true`
|
|
2555
|
-
* @internal
|
|
2556
|
-
*/
|
|
2557
|
-
merchantInitiated?: boolean | null;
|
|
2558
|
-
/**
|
|
2559
|
-
* Redirect urls which are used to return buyer to third party system.
|
|
2560
|
-
* @internal
|
|
2561
|
-
*/
|
|
2562
|
-
redirectUrls?: RedirectUrls;
|
|
2563
2413
|
/** Delayed capture payment settings */
|
|
2564
2414
|
delayedCaptureSettings?: DelayedCaptureSettings;
|
|
2565
2415
|
}
|
|
@@ -3085,16 +2935,6 @@ interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
|
|
|
3085
2935
|
regularPaymentDetails?: RegularPaymentDetails;
|
|
3086
2936
|
/** Gift card payment details. */
|
|
3087
2937
|
giftcardPaymentDetails?: GiftCardPaymentDetails;
|
|
3088
|
-
/**
|
|
3089
|
-
* Receipt created by Wix
|
|
3090
|
-
* @internal
|
|
3091
|
-
*/
|
|
3092
|
-
wixReceipt?: WixReceiptInfo;
|
|
3093
|
-
/**
|
|
3094
|
-
* Receipt created by an external system.
|
|
3095
|
-
* @internal
|
|
3096
|
-
*/
|
|
3097
|
-
externalReceipt?: ExternalReceiptInfo;
|
|
3098
2938
|
/**
|
|
3099
2939
|
* Payment ID.
|
|
3100
2940
|
* @format GUID
|
|
@@ -3116,14 +2956,6 @@ interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
|
|
|
3116
2956
|
* + `false`: This payment may be refunded. However, this ultimately depends on the payment provider.
|
|
3117
2957
|
*/
|
|
3118
2958
|
refundDisabled?: boolean;
|
|
3119
|
-
/**
|
|
3120
|
-
* Whether receipt generation for this payment are allowed.
|
|
3121
|
-
* + `true`: This payment supports receipt generation.
|
|
3122
|
-
* + `false`: This payment not supports receipt generation, or receipt already generated
|
|
3123
|
-
* @internal
|
|
3124
|
-
* @readonly
|
|
3125
|
-
*/
|
|
3126
|
-
supportReceiptGeneration?: boolean;
|
|
3127
2959
|
}
|
|
3128
2960
|
/** @oneof */
|
|
3129
2961
|
interface PaymentPaymentDetailsOneOf {
|
|
@@ -3134,16 +2966,6 @@ interface PaymentPaymentDetailsOneOf {
|
|
|
3134
2966
|
}
|
|
3135
2967
|
/** @oneof */
|
|
3136
2968
|
interface PaymentReceiptInfoOneOf {
|
|
3137
|
-
/**
|
|
3138
|
-
* Receipt created by Wix
|
|
3139
|
-
* @internal
|
|
3140
|
-
*/
|
|
3141
|
-
wixReceipt?: WixReceiptInfo;
|
|
3142
|
-
/**
|
|
3143
|
-
* Receipt created by an external system.
|
|
3144
|
-
* @internal
|
|
3145
|
-
*/
|
|
3146
|
-
externalReceipt?: ExternalReceiptInfo;
|
|
3147
2969
|
}
|
|
3148
2970
|
interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
3149
2971
|
/** Whether regular card used */
|
|
@@ -3181,12 +3003,6 @@ interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetail
|
|
|
3181
3003
|
savedPaymentMethod?: boolean;
|
|
3182
3004
|
/** Authorization details. */
|
|
3183
3005
|
authorizationDetails?: AuthorizationDetails;
|
|
3184
|
-
/**
|
|
3185
|
-
* Payment service provider display name. Non-exhaustive list of supported values: Wix Payments, PayPal, Square, Stripe, etc.
|
|
3186
|
-
* @internal
|
|
3187
|
-
* @maxLength 300
|
|
3188
|
-
*/
|
|
3189
|
-
paymentProvider?: string | null;
|
|
3190
3006
|
}
|
|
3191
3007
|
/** @oneof */
|
|
3192
3008
|
interface RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
@@ -3316,6 +3132,59 @@ declare enum ActionType {
|
|
|
3316
3132
|
}
|
|
3317
3133
|
/** @enumType */
|
|
3318
3134
|
type ActionTypeWithLiterals = ActionType | 'UNKNOWN_ACTION_TYPE' | 'VOID' | 'CAPTURE';
|
|
3135
|
+
interface Chargeback {
|
|
3136
|
+
/**
|
|
3137
|
+
* Chargeback ID.
|
|
3138
|
+
* @format GUID
|
|
3139
|
+
* @readonly
|
|
3140
|
+
* @immutable
|
|
3141
|
+
*/
|
|
3142
|
+
_id?: string;
|
|
3143
|
+
/**
|
|
3144
|
+
* Date and time the chargeback was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided.
|
|
3145
|
+
* @readonly
|
|
3146
|
+
* @immutable
|
|
3147
|
+
*/
|
|
3148
|
+
_createdDate?: Date | null;
|
|
3149
|
+
/**
|
|
3150
|
+
* Date and time the chargeback was updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided.
|
|
3151
|
+
* @readonly
|
|
3152
|
+
*/
|
|
3153
|
+
_updatedDate?: Date | null;
|
|
3154
|
+
/**
|
|
3155
|
+
* Amount.
|
|
3156
|
+
* @readonly
|
|
3157
|
+
* @immutable
|
|
3158
|
+
*/
|
|
3159
|
+
amount?: Price;
|
|
3160
|
+
/**
|
|
3161
|
+
* Reversal amount. Present only when status is REVERSED.
|
|
3162
|
+
* @readonly
|
|
3163
|
+
*/
|
|
3164
|
+
reversalAmount?: Price;
|
|
3165
|
+
/**
|
|
3166
|
+
* Status.
|
|
3167
|
+
*
|
|
3168
|
+
* Default: `"APPROVED"`.
|
|
3169
|
+
*/
|
|
3170
|
+
status?: ChargebackStatusWithLiterals;
|
|
3171
|
+
/**
|
|
3172
|
+
* External chargeback ID.
|
|
3173
|
+
* @format GUID
|
|
3174
|
+
* @readonly
|
|
3175
|
+
* @immutable
|
|
3176
|
+
*/
|
|
3177
|
+
externalId?: string | null;
|
|
3178
|
+
}
|
|
3179
|
+
declare enum ChargebackStatus {
|
|
3180
|
+
UNSPECIFIED = "UNSPECIFIED",
|
|
3181
|
+
/** Chargeback was approved. */
|
|
3182
|
+
APPROVED = "APPROVED",
|
|
3183
|
+
/** Chargeback was reversed. */
|
|
3184
|
+
REVERSED = "REVERSED"
|
|
3185
|
+
}
|
|
3186
|
+
/** @enumType */
|
|
3187
|
+
type ChargebackStatusWithLiterals = ChargebackStatus | 'UNSPECIFIED' | 'APPROVED' | 'REVERSED';
|
|
3319
3188
|
interface GiftCardPaymentDetails {
|
|
3320
3189
|
/**
|
|
3321
3190
|
* Gift card payment ID.
|
|
@@ -3333,13 +3202,6 @@ interface GiftCardPaymentDetails {
|
|
|
3333
3202
|
* @readonly
|
|
3334
3203
|
*/
|
|
3335
3204
|
voided?: boolean;
|
|
3336
|
-
/**
|
|
3337
|
-
* Gift card obfuscated code.
|
|
3338
|
-
* @internal
|
|
3339
|
-
* @maxLength 30
|
|
3340
|
-
* @immutable
|
|
3341
|
-
*/
|
|
3342
|
-
obfuscatedCode?: string | null;
|
|
3343
3205
|
}
|
|
3344
3206
|
interface MembershipPaymentDetails {
|
|
3345
3207
|
/**
|
|
@@ -4988,36 +4850,6 @@ interface DraftOrderDiffs extends DraftOrderDiffsShippingUpdateInfoOneOf, DraftO
|
|
|
4988
4850
|
changedShippingInfo?: V1ShippingInformation;
|
|
4989
4851
|
/** Remove existing shipping info. */
|
|
4990
4852
|
shippingInfoRemoved?: boolean;
|
|
4991
|
-
/**
|
|
4992
|
-
* Buyer info and selected buyer option details.
|
|
4993
|
-
* @internal
|
|
4994
|
-
*/
|
|
4995
|
-
changedBuyerInfo?: BuyerInfo;
|
|
4996
|
-
/**
|
|
4997
|
-
* Remove existing buyer info.
|
|
4998
|
-
* @internal
|
|
4999
|
-
*/
|
|
5000
|
-
buyerInfoRemoved?: boolean;
|
|
5001
|
-
/**
|
|
5002
|
-
* Updated billing info.
|
|
5003
|
-
* @internal
|
|
5004
|
-
*/
|
|
5005
|
-
changedBillingInfo?: AddressWithContact;
|
|
5006
|
-
/**
|
|
5007
|
-
* Remove existing billing info.
|
|
5008
|
-
* @internal
|
|
5009
|
-
*/
|
|
5010
|
-
billingInfoRemoved?: boolean;
|
|
5011
|
-
/**
|
|
5012
|
-
* Updated recipient info.
|
|
5013
|
-
* @internal
|
|
5014
|
-
*/
|
|
5015
|
-
changedRecipientInfo?: AddressWithContact;
|
|
5016
|
-
/**
|
|
5017
|
-
* Remove existing recipient info.
|
|
5018
|
-
* @internal
|
|
5019
|
-
*/
|
|
5020
|
-
recipientInfoRemoved?: boolean;
|
|
5021
4853
|
/**
|
|
5022
4854
|
* Added/updated/removed order line items.
|
|
5023
4855
|
* @maxSize 300
|
|
@@ -5059,42 +4891,12 @@ interface DraftOrderDiffsShippingUpdateInfoOneOf {
|
|
|
5059
4891
|
}
|
|
5060
4892
|
/** @oneof */
|
|
5061
4893
|
interface DraftOrderDiffsBuyerUpdateInfoOneOf {
|
|
5062
|
-
/**
|
|
5063
|
-
* Buyer info and selected buyer option details.
|
|
5064
|
-
* @internal
|
|
5065
|
-
*/
|
|
5066
|
-
changedBuyerInfo?: BuyerInfo;
|
|
5067
|
-
/**
|
|
5068
|
-
* Remove existing buyer info.
|
|
5069
|
-
* @internal
|
|
5070
|
-
*/
|
|
5071
|
-
buyerInfoRemoved?: boolean;
|
|
5072
4894
|
}
|
|
5073
4895
|
/** @oneof */
|
|
5074
4896
|
interface DraftOrderDiffsBillingUpdateInfoOneOf {
|
|
5075
|
-
/**
|
|
5076
|
-
* Updated billing info.
|
|
5077
|
-
* @internal
|
|
5078
|
-
*/
|
|
5079
|
-
changedBillingInfo?: AddressWithContact;
|
|
5080
|
-
/**
|
|
5081
|
-
* Remove existing billing info.
|
|
5082
|
-
* @internal
|
|
5083
|
-
*/
|
|
5084
|
-
billingInfoRemoved?: boolean;
|
|
5085
4897
|
}
|
|
5086
4898
|
/** @oneof */
|
|
5087
4899
|
interface DraftOrderDiffsRecipientUpdateInfoOneOf {
|
|
5088
|
-
/**
|
|
5089
|
-
* Updated recipient info.
|
|
5090
|
-
* @internal
|
|
5091
|
-
*/
|
|
5092
|
-
changedRecipientInfo?: AddressWithContact;
|
|
5093
|
-
/**
|
|
5094
|
-
* Remove existing recipient info.
|
|
5095
|
-
* @internal
|
|
5096
|
-
*/
|
|
5097
|
-
recipientInfoRemoved?: boolean;
|
|
5098
4900
|
}
|
|
5099
4901
|
interface V1LineItemDelta extends V1LineItemDeltaDeltaOneOf {
|
|
5100
4902
|
/** The line item was added. */
|
|
@@ -5194,21 +4996,8 @@ interface OrderLineItemChangedDetails {
|
|
|
5194
4996
|
* @maxSize 5
|
|
5195
4997
|
*/
|
|
5196
4998
|
locations?: LocationAndQuantity[];
|
|
5197
|
-
/**
|
|
5198
|
-
* ID of the app managing the inventory.
|
|
5199
|
-
* @internal
|
|
5200
|
-
* @format GUID
|
|
5201
|
-
*/
|
|
5202
|
-
inventoryAppId?: string | null;
|
|
5203
4999
|
/** Subscription info. */
|
|
5204
5000
|
subscriptionInfo?: SubscriptionInfo;
|
|
5205
|
-
/**
|
|
5206
|
-
* Modifier groups that were added to the item.
|
|
5207
|
-
* @internal
|
|
5208
|
-
* @readonly
|
|
5209
|
-
* @maxSize 10
|
|
5210
|
-
*/
|
|
5211
|
-
modifierGroups?: ModifierGroup[];
|
|
5212
5001
|
}
|
|
5213
5002
|
/** Type of selected payment option for catalog item */
|
|
5214
5003
|
declare enum DeltaPaymentOptionType {
|
|
@@ -5595,35 +5384,6 @@ interface InternalActivity extends InternalActivityContentOneOf {
|
|
|
5595
5384
|
draftOrderChangesApplied?: DraftOrderChangesApplied;
|
|
5596
5385
|
/** Payment method is saved for order */
|
|
5597
5386
|
savedPaymentMethod?: SavedPaymentMethod;
|
|
5598
|
-
/**
|
|
5599
|
-
* Details of an initiated refund process.
|
|
5600
|
-
*
|
|
5601
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
5602
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
5603
|
-
* @internal
|
|
5604
|
-
*/
|
|
5605
|
-
refundInitiated?: RefundInitiated;
|
|
5606
|
-
/**
|
|
5607
|
-
* Details of a refunded payment.
|
|
5608
|
-
*
|
|
5609
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
5610
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
5611
|
-
* @internal
|
|
5612
|
-
*/
|
|
5613
|
-
paymentRefunded?: PaymentRefunded;
|
|
5614
|
-
/**
|
|
5615
|
-
* Details of a failed payment refund.
|
|
5616
|
-
*
|
|
5617
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
5618
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
5619
|
-
* @internal
|
|
5620
|
-
*/
|
|
5621
|
-
paymentRefundFailed?: PaymentRefundFailed;
|
|
5622
|
-
/**
|
|
5623
|
-
* Details of refund to store credit.
|
|
5624
|
-
* @internal
|
|
5625
|
-
*/
|
|
5626
|
-
refundedAsStoreCredit?: RefundedAsStoreCredit;
|
|
5627
5387
|
/** Details of a pending payment */
|
|
5628
5388
|
paymentPending?: PaymentPending;
|
|
5629
5389
|
/** Details of a canceled payment */
|
|
@@ -5634,16 +5394,6 @@ interface InternalActivity extends InternalActivityContentOneOf {
|
|
|
5634
5394
|
orderPending?: OrderPending;
|
|
5635
5395
|
/** Order rejected */
|
|
5636
5396
|
orderRejected?: OrderRejected;
|
|
5637
|
-
/**
|
|
5638
|
-
* Receipt was added for associated payment
|
|
5639
|
-
* @internal
|
|
5640
|
-
*/
|
|
5641
|
-
receiptCreated?: ReceiptCreated;
|
|
5642
|
-
/**
|
|
5643
|
-
* Receipt sent to customer
|
|
5644
|
-
* @internal
|
|
5645
|
-
*/
|
|
5646
|
-
receiptSent?: ReceiptSent;
|
|
5647
5397
|
/**
|
|
5648
5398
|
* Internal activity ID.
|
|
5649
5399
|
* @format GUID
|
|
@@ -5708,35 +5458,6 @@ interface InternalActivityContentOneOf {
|
|
|
5708
5458
|
draftOrderChangesApplied?: DraftOrderChangesApplied;
|
|
5709
5459
|
/** Payment method is saved for order */
|
|
5710
5460
|
savedPaymentMethod?: SavedPaymentMethod;
|
|
5711
|
-
/**
|
|
5712
|
-
* Details of an initiated refund process.
|
|
5713
|
-
*
|
|
5714
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
5715
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
5716
|
-
* @internal
|
|
5717
|
-
*/
|
|
5718
|
-
refundInitiated?: RefundInitiated;
|
|
5719
|
-
/**
|
|
5720
|
-
* Details of a refunded payment.
|
|
5721
|
-
*
|
|
5722
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
5723
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
5724
|
-
* @internal
|
|
5725
|
-
*/
|
|
5726
|
-
paymentRefunded?: PaymentRefunded;
|
|
5727
|
-
/**
|
|
5728
|
-
* Details of a failed payment refund.
|
|
5729
|
-
*
|
|
5730
|
-
* > **Note:** A single `refund_initiated` activity can result in multiple `payment_refunded` or `payment_refund_failed` activities.
|
|
5731
|
-
* > In these cases, the `refund_id` will be identical across the activities.
|
|
5732
|
-
* @internal
|
|
5733
|
-
*/
|
|
5734
|
-
paymentRefundFailed?: PaymentRefundFailed;
|
|
5735
|
-
/**
|
|
5736
|
-
* Details of refund to store credit.
|
|
5737
|
-
* @internal
|
|
5738
|
-
*/
|
|
5739
|
-
refundedAsStoreCredit?: RefundedAsStoreCredit;
|
|
5740
5461
|
/** Details of a pending payment */
|
|
5741
5462
|
paymentPending?: PaymentPending;
|
|
5742
5463
|
/** Details of a canceled payment */
|
|
@@ -5747,16 +5468,6 @@ interface InternalActivityContentOneOf {
|
|
|
5747
5468
|
orderPending?: OrderPending;
|
|
5748
5469
|
/** Order rejected */
|
|
5749
5470
|
orderRejected?: OrderRejected;
|
|
5750
|
-
/**
|
|
5751
|
-
* Receipt was added for associated payment
|
|
5752
|
-
* @internal
|
|
5753
|
-
*/
|
|
5754
|
-
receiptCreated?: ReceiptCreated;
|
|
5755
|
-
/**
|
|
5756
|
-
* Receipt sent to customer
|
|
5757
|
-
* @internal
|
|
5758
|
-
*/
|
|
5759
|
-
receiptSent?: ReceiptSent;
|
|
5760
5471
|
}
|
|
5761
5472
|
/** Order placed */
|
|
5762
5473
|
interface OrderPlaced {
|
|
@@ -6449,6 +6160,8 @@ declare enum SubdivisionType {
|
|
|
6449
6160
|
/** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
|
|
6450
6161
|
COUNTRY = "COUNTRY"
|
|
6451
6162
|
}
|
|
6163
|
+
/** @enumType */
|
|
6164
|
+
type SubdivisionTypeWithLiterals = SubdivisionType | 'UNKNOWN_SUBDIVISION_TYPE' | 'ADMINISTRATIVE_AREA_LEVEL_1' | 'ADMINISTRATIVE_AREA_LEVEL_2' | 'ADMINISTRATIVE_AREA_LEVEL_3' | 'ADMINISTRATIVE_AREA_LEVEL_4' | 'ADMINISTRATIVE_AREA_LEVEL_5' | 'COUNTRY';
|
|
6452
6165
|
/** Subdivision Concordance values */
|
|
6453
6166
|
interface StandardDetails {
|
|
6454
6167
|
/**
|
|
@@ -6699,6 +6412,175 @@ interface TriggerSideEffectsFromLegacyData {
|
|
|
6699
6412
|
orderId?: string;
|
|
6700
6413
|
ordersExperiments?: OrdersExperiments;
|
|
6701
6414
|
}
|
|
6415
|
+
type PreparePaymentCollectionApplicationErrors = {
|
|
6416
|
+
code?: 'PAYMENT_METHODS_NOT_FOUND';
|
|
6417
|
+
description?: string;
|
|
6418
|
+
data?: Record<string, any>;
|
|
6419
|
+
} | {
|
|
6420
|
+
code?: 'ORDER_CANCELED';
|
|
6421
|
+
description?: string;
|
|
6422
|
+
data?: Record<string, any>;
|
|
6423
|
+
} | {
|
|
6424
|
+
code?: 'INVALID_AMOUNT';
|
|
6425
|
+
description?: string;
|
|
6426
|
+
data?: Record<string, any>;
|
|
6427
|
+
} | {
|
|
6428
|
+
code?: 'ORDER_ALREADY_PAID';
|
|
6429
|
+
description?: string;
|
|
6430
|
+
data?: Record<string, any>;
|
|
6431
|
+
} | {
|
|
6432
|
+
code?: 'NO_ASSOCIATED_ECOM_ORDER';
|
|
6433
|
+
description?: string;
|
|
6434
|
+
data?: Record<string, any>;
|
|
6435
|
+
};
|
|
6436
|
+
type RecordManuallyCollectedPaymentApplicationErrors = {
|
|
6437
|
+
code?: 'ORDER_ALREADY_PAID';
|
|
6438
|
+
description?: string;
|
|
6439
|
+
data?: Record<string, any>;
|
|
6440
|
+
} | {
|
|
6441
|
+
code?: 'INVALID_AMOUNT';
|
|
6442
|
+
description?: string;
|
|
6443
|
+
data?: Record<string, any>;
|
|
6444
|
+
} | {
|
|
6445
|
+
code?: 'ORDER_CANCELED';
|
|
6446
|
+
description?: string;
|
|
6447
|
+
data?: Record<string, any>;
|
|
6448
|
+
};
|
|
6449
|
+
type PaymentCollectionMarkOrderAsPaidApplicationErrors = {
|
|
6450
|
+
code?: 'ORDER_ALREADY_PAID';
|
|
6451
|
+
description?: string;
|
|
6452
|
+
data?: Record<string, any>;
|
|
6453
|
+
} | {
|
|
6454
|
+
code?: 'PAYMENT_GATEWAY_ID_NOT_FOUND';
|
|
6455
|
+
description?: string;
|
|
6456
|
+
data?: Record<string, any>;
|
|
6457
|
+
};
|
|
6458
|
+
type PaymentCollectionCreatePaymentGatewayOrderApplicationErrors = {
|
|
6459
|
+
code?: 'ORDER_ALREADY_PAID';
|
|
6460
|
+
description?: string;
|
|
6461
|
+
data?: Record<string, any>;
|
|
6462
|
+
} | {
|
|
6463
|
+
code?: 'ORDER_CANCELED';
|
|
6464
|
+
description?: string;
|
|
6465
|
+
data?: Record<string, any>;
|
|
6466
|
+
};
|
|
6467
|
+
type TriggerRefundApplicationErrors = {
|
|
6468
|
+
code?: 'PAYMENTS_NOT_FOUND';
|
|
6469
|
+
description?: string;
|
|
6470
|
+
data?: Record<string, any>;
|
|
6471
|
+
} | {
|
|
6472
|
+
code?: 'REFUND_NOT_AVAILABLE';
|
|
6473
|
+
description?: string;
|
|
6474
|
+
data?: Record<string, any>;
|
|
6475
|
+
} | {
|
|
6476
|
+
code?: 'INVALID_AMOUNT';
|
|
6477
|
+
description?: string;
|
|
6478
|
+
data?: Record<string, any>;
|
|
6479
|
+
};
|
|
6480
|
+
type VoidAuthorizedPaymentsApplicationErrors = {
|
|
6481
|
+
code?: 'PAYMENT_ALREADY_VOIDED';
|
|
6482
|
+
description?: string;
|
|
6483
|
+
data?: Record<string, any>;
|
|
6484
|
+
} | {
|
|
6485
|
+
code?: 'PAYMENT_ALREADY_CAPTURED';
|
|
6486
|
+
description?: string;
|
|
6487
|
+
data?: Record<string, any>;
|
|
6488
|
+
} | {
|
|
6489
|
+
code?: 'PAYMENT_NOT_AUTHORIZED';
|
|
6490
|
+
description?: string;
|
|
6491
|
+
data?: Record<string, any>;
|
|
6492
|
+
} | {
|
|
6493
|
+
code?: 'PAYMENT_NOT_FOUND';
|
|
6494
|
+
description?: string;
|
|
6495
|
+
data?: Record<string, any>;
|
|
6496
|
+
} | {
|
|
6497
|
+
code?: 'PAYMENT_GATEWAY_ID_NOT_FOUND';
|
|
6498
|
+
description?: string;
|
|
6499
|
+
data?: Record<string, any>;
|
|
6500
|
+
};
|
|
6501
|
+
type CaptureAuthorizedPaymentsApplicationErrors = {
|
|
6502
|
+
code?: 'INVALID_AMOUNT';
|
|
6503
|
+
description?: string;
|
|
6504
|
+
data?: Record<string, any>;
|
|
6505
|
+
} | {
|
|
6506
|
+
code?: 'NOT_REGULAR_ONLINE_PAYMENT';
|
|
6507
|
+
description?: string;
|
|
6508
|
+
data?: Record<string, any>;
|
|
6509
|
+
} | {
|
|
6510
|
+
code?: 'PAYMENT_ALREADY_VOIDED';
|
|
6511
|
+
description?: string;
|
|
6512
|
+
data?: Record<string, any>;
|
|
6513
|
+
} | {
|
|
6514
|
+
code?: 'PAYMENT_ALREADY_CAPTURED';
|
|
6515
|
+
description?: string;
|
|
6516
|
+
data?: Record<string, any>;
|
|
6517
|
+
} | {
|
|
6518
|
+
code?: 'PAYMENT_NOT_AUTHORIZED';
|
|
6519
|
+
description?: string;
|
|
6520
|
+
data?: Record<string, any>;
|
|
6521
|
+
} | {
|
|
6522
|
+
code?: 'PAYMENT_NOT_FOUND';
|
|
6523
|
+
description?: string;
|
|
6524
|
+
data?: Record<string, any>;
|
|
6525
|
+
} | {
|
|
6526
|
+
code?: 'PAYMENT_GATEWAY_ID_NOT_FOUND';
|
|
6527
|
+
description?: string;
|
|
6528
|
+
data?: Record<string, any>;
|
|
6529
|
+
} | {
|
|
6530
|
+
code?: 'PAYMENT_HAS_PENDING_CAPTURE';
|
|
6531
|
+
description?: string;
|
|
6532
|
+
data?: Record<string, any>;
|
|
6533
|
+
};
|
|
6534
|
+
type GetOrderApplicationErrors = {
|
|
6535
|
+
code?: 'ORDER_NOT_FOUND';
|
|
6536
|
+
description?: string;
|
|
6537
|
+
data?: Record<string, any>;
|
|
6538
|
+
};
|
|
6539
|
+
type CreateOrderApplicationErrors = {
|
|
6540
|
+
code?: 'PURCHASED_DATE_CANNOT_BE_IN_FUTURE';
|
|
6541
|
+
description?: string;
|
|
6542
|
+
data?: Record<string, any>;
|
|
6543
|
+
};
|
|
6544
|
+
type UpdateOrderApplicationErrors = {
|
|
6545
|
+
code?: 'ORDER_IS_PENDING';
|
|
6546
|
+
description?: string;
|
|
6547
|
+
data?: Record<string, any>;
|
|
6548
|
+
} | {
|
|
6549
|
+
code?: 'ORDER_IS_REJECTED';
|
|
6550
|
+
description?: string;
|
|
6551
|
+
data?: Record<string, any>;
|
|
6552
|
+
};
|
|
6553
|
+
type CommitDeltasApplicationErrors = {
|
|
6554
|
+
code?: 'EMPTY_DELTAS_TO_COMMIT';
|
|
6555
|
+
description?: string;
|
|
6556
|
+
data?: Record<string, any>;
|
|
6557
|
+
};
|
|
6558
|
+
type CancelOrderApplicationErrors = {
|
|
6559
|
+
code?: 'ORDER_HAS_AUTHORIZED_TRANSACTION';
|
|
6560
|
+
description?: string;
|
|
6561
|
+
data?: Record<string, any>;
|
|
6562
|
+
} | {
|
|
6563
|
+
code?: 'ORDER_IS_PENDING';
|
|
6564
|
+
description?: string;
|
|
6565
|
+
data?: Record<string, any>;
|
|
6566
|
+
} | {
|
|
6567
|
+
code?: 'ORDER_IS_REJECTED';
|
|
6568
|
+
description?: string;
|
|
6569
|
+
data?: Record<string, any>;
|
|
6570
|
+
};
|
|
6571
|
+
type UpdateOrderStatusApplicationErrors = {
|
|
6572
|
+
code?: 'STATUS_NOT_SUPPORTED';
|
|
6573
|
+
description?: string;
|
|
6574
|
+
data?: Record<string, any>;
|
|
6575
|
+
} | {
|
|
6576
|
+
code?: 'UNSUPPORTED_TRANSITION';
|
|
6577
|
+
description?: string;
|
|
6578
|
+
data?: Record<string, any>;
|
|
6579
|
+
} | {
|
|
6580
|
+
code?: 'STATUS_ALREADY_SET';
|
|
6581
|
+
description?: string;
|
|
6582
|
+
data?: Record<string, any>;
|
|
6583
|
+
};
|
|
6702
6584
|
interface BaseEventMetadata {
|
|
6703
6585
|
/**
|
|
6704
6586
|
* App instance ID.
|
|
@@ -6747,18 +6629,134 @@ interface OrderApprovedEnvelope {
|
|
|
6747
6629
|
data: OrderApproved;
|
|
6748
6630
|
metadata: EventMetadata;
|
|
6749
6631
|
}
|
|
6632
|
+
/** @permissionScope Manage Stores - all permissions
|
|
6633
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
6634
|
+
* @permissionScope Manage Stores
|
|
6635
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
6636
|
+
* @permissionScope Read eCommerce - all read permissions
|
|
6637
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
6638
|
+
* @permissionScope Read Orders
|
|
6639
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
6640
|
+
* @permissionScope Read Stores - all read permissions
|
|
6641
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
6642
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
6643
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
6644
|
+
* @permissionScope Manage eCommerce - all permissions
|
|
6645
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
6646
|
+
* @permissionScope Manage Orders
|
|
6647
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
6648
|
+
* @permissionId ECOM.READ_ORDERS
|
|
6649
|
+
* @webhook
|
|
6650
|
+
* @eventType wix.ecom.v1.order_approved
|
|
6651
|
+
* @slug approved
|
|
6652
|
+
*/
|
|
6653
|
+
declare function onOrderApproved(handler: (event: OrderApprovedEnvelope) => void | Promise<void>): void;
|
|
6750
6654
|
interface OrderUpdatedEnvelope {
|
|
6751
6655
|
entity: Order;
|
|
6752
6656
|
metadata: EventMetadata;
|
|
6753
6657
|
}
|
|
6658
|
+
/** @permissionScope Manage Stores - all permissions
|
|
6659
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
6660
|
+
* @permissionScope Manage Stores
|
|
6661
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
6662
|
+
* @permissionScope Read eCommerce - all read permissions
|
|
6663
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
6664
|
+
* @permissionScope Read Orders
|
|
6665
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
6666
|
+
* @permissionScope Read Stores - all read permissions
|
|
6667
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
6668
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
6669
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
6670
|
+
* @permissionScope Manage eCommerce - all permissions
|
|
6671
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
6672
|
+
* @permissionScope Manage Orders
|
|
6673
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
6674
|
+
* @permissionId ECOM.READ_ORDERS
|
|
6675
|
+
* @webhook
|
|
6676
|
+
* @eventType wix.ecom.v1.order_updated
|
|
6677
|
+
* @slug updated
|
|
6678
|
+
*/
|
|
6679
|
+
declare function onOrderUpdated(handler: (event: OrderUpdatedEnvelope) => void | Promise<void>): void;
|
|
6754
6680
|
interface OrderCanceledEnvelope {
|
|
6755
6681
|
data: OrderCanceledEventOrderCanceled;
|
|
6756
6682
|
metadata: EventMetadata;
|
|
6757
6683
|
}
|
|
6684
|
+
/**
|
|
6685
|
+
* Triggered when an order is canceled.
|
|
6686
|
+
* Learn more about [eCommerce webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
6687
|
+
* @permissionScope Manage Stores - all permissions
|
|
6688
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
6689
|
+
* @permissionScope Manage Stores
|
|
6690
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
6691
|
+
* @permissionScope Read eCommerce - all read permissions
|
|
6692
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
6693
|
+
* @permissionScope Read Orders
|
|
6694
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
6695
|
+
* @permissionScope Read Stores - all read permissions
|
|
6696
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
6697
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
6698
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
6699
|
+
* @permissionScope Manage eCommerce - all permissions
|
|
6700
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
6701
|
+
* @permissionScope Manage Orders
|
|
6702
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
6703
|
+
* @permissionId ECOM.READ_ORDERS
|
|
6704
|
+
* @webhook
|
|
6705
|
+
* @eventType wix.ecom.v1.order_canceled
|
|
6706
|
+
* @serviceIdentifier com.wix.ecom.orders.v1.Orders
|
|
6707
|
+
* @slug canceled
|
|
6708
|
+
*/
|
|
6709
|
+
declare function onOrderCanceled(handler: (event: OrderCanceledEnvelope) => void | Promise<void>): void;
|
|
6758
6710
|
interface OrderCreatedEnvelope {
|
|
6759
6711
|
entity: Order;
|
|
6760
6712
|
metadata: EventMetadata;
|
|
6761
6713
|
}
|
|
6714
|
+
/**
|
|
6715
|
+
* Triggered when an order is created.
|
|
6716
|
+
* Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
|
|
6717
|
+
* @permissionScope Manage Stores - all permissions
|
|
6718
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
6719
|
+
* @permissionScope Manage Stores
|
|
6720
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
6721
|
+
* @permissionScope Read eCommerce - all read permissions
|
|
6722
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
6723
|
+
* @permissionScope Read Orders
|
|
6724
|
+
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
6725
|
+
* @permissionScope Read Stores - all read permissions
|
|
6726
|
+
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
6727
|
+
* @permissionScope Manage Restaurants - all permissions
|
|
6728
|
+
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
6729
|
+
* @permissionScope Manage eCommerce - all permissions
|
|
6730
|
+
* @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
|
|
6731
|
+
* @permissionScope Manage Orders
|
|
6732
|
+
* @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
|
|
6733
|
+
* @permissionId ECOM.READ_ORDERS
|
|
6734
|
+
* @webhook
|
|
6735
|
+
* @eventType wix.ecom.v1.order_created
|
|
6736
|
+
* @serviceIdentifier com.wix.ecom.orders.v1.Orders
|
|
6737
|
+
* @slug created
|
|
6738
|
+
*/
|
|
6739
|
+
declare function onOrderCreated(handler: (event: OrderCreatedEnvelope) => void | Promise<void>): void;
|
|
6740
|
+
type OrderNonNullablePaths = `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.freeTrialPeriod.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.freeTrialPeriod.interval` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `priceSummary.subtotal.amount` | `priceSummary.subtotal.formattedAmount` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.shippingDestination.address.streetAddress.number` | `shippingInfo.logistics.shippingDestination.address.streetAddress.name` | `shippingInfo.logistics.shippingDestination.contactDetails.vatId._id` | `shippingInfo.logistics.shippingDestination.contactDetails.vatId.type` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `shippingInfo.cost.price.amount` | `shippingInfo.cost.price.formattedAmount` | `shippingInfo.cost.taxDetails.taxRate` | `status` | `taxSummary.totalTax.amount` | `taxSummary.totalTax.formattedAmount` | `taxInfo.totalTax.amount` | `taxInfo.totalTax.formattedAmount` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.coupon.amount.amount` | `appliedDiscounts.${number}.coupon.amount.formattedAmount` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.amount.amount` | `activities.${number}.orderRefunded.amount.formattedAmount` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `balanceSummary.paid.amount` | `balanceSummary.paid.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}.price.amount` | `additionalFees.${number}.price.formattedAmount` | `additionalFees.${number}.taxDetails.taxRate` | `additionalFees.${number}._id` | `recipientInfo.address.streetAddress.number` | `recipientInfo.address.streetAddress.name` | `recipientInfo.contactDetails.vatId._id` | `recipientInfo.contactDetails.vatId.type` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name` | `payAfterFreeTrial.subtotal.amount` | `payAfterFreeTrial.subtotal.formattedAmount`;
|
|
6741
|
+
/**
|
|
6742
|
+
* Prepares payment collection for given ecom order. This is the first of 2-step process of payment collection.
|
|
6743
|
+
* Here we ensure that payment collection is possible for given order and store and prepare payment gateway order for future charge.
|
|
6744
|
+
* 2nd step is an actual charge of prepared payment gateway order. This could be done either
|
|
6745
|
+
* via Wix-Cashier's API (https://bo.wix.com/wix-docs/rest/wix-cashier/pay/charge/charge-for-order)
|
|
6746
|
+
* or using Cashier Payments Widget (https://github.com/wix-private/cashier-client/tree/master/packages/cashier-payments-widget)
|
|
6747
|
+
* @param ecomOrderId - Ecom order ID.
|
|
6748
|
+
* @param amount - Amount to collect
|
|
6749
|
+
* @public
|
|
6750
|
+
* @documentationMaturity preview
|
|
6751
|
+
* @requiredField amount
|
|
6752
|
+
* @requiredField ecomOrderId
|
|
6753
|
+
* @permissionId ECOM.COLLECT_PAYMENTS
|
|
6754
|
+
* @applicableIdentity APP
|
|
6755
|
+
* @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.PreparePaymentCollection
|
|
6756
|
+
*/
|
|
6757
|
+
declare function preparePaymentCollection(ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise<NonNullablePaths<PreparePaymentCollectionResponse, `paymentGatewayOrderId`> & {
|
|
6758
|
+
__applicationErrorsType?: PreparePaymentCollectionApplicationErrors;
|
|
6759
|
+
}>;
|
|
6762
6760
|
interface PreparePaymentCollectionOptions {
|
|
6763
6761
|
/**
|
|
6764
6762
|
* Optional parameter. When present, payment collection will be performed using given payment gateway order.
|
|
@@ -6778,6 +6776,19 @@ interface PreparePaymentCollectionOptions {
|
|
|
6778
6776
|
/** Delayed capture payment settings */
|
|
6779
6777
|
delayedCaptureSettings?: DelayedCaptureSettings;
|
|
6780
6778
|
}
|
|
6779
|
+
/**
|
|
6780
|
+
* Provides payment collectability status for given order. If payment collection is possible
|
|
6781
|
+
* response will contain collectable amount for given ecom order. If not - response will contain
|
|
6782
|
+
* reason why payment collection is not possible.
|
|
6783
|
+
* @param ecomOrderId - Ecom order ID.
|
|
6784
|
+
* @public
|
|
6785
|
+
* @documentationMaturity preview
|
|
6786
|
+
* @requiredField ecomOrderId
|
|
6787
|
+
* @permissionId ECOM.COLLECT_PAYMENTS
|
|
6788
|
+
* @applicableIdentity APP
|
|
6789
|
+
* @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.GetPaymentCollectabilityStatus
|
|
6790
|
+
*/
|
|
6791
|
+
declare function getPaymentCollectabilityStatus(ecomOrderId: string): Promise<NonNullablePaths<GetPaymentCollectabilityStatusResponse, `status` | `amount.amount` | `amount.formattedAmount`>>;
|
|
6781
6792
|
interface PaymentCollectionCreatePaymentGatewayOrderOptions {
|
|
6782
6793
|
/** Information about the user who initiated the payment. */
|
|
6783
6794
|
chargedBy?: ChargedBy;
|
|
@@ -6796,6 +6807,58 @@ interface TriggerRefundOptions {
|
|
|
6796
6807
|
/** Side effect details related to refund */
|
|
6797
6808
|
sideEffects?: RefundSideEffects;
|
|
6798
6809
|
}
|
|
6810
|
+
/**
|
|
6811
|
+
* Void authorized payments
|
|
6812
|
+
* Transaction statuses for related payments will be updated in async way
|
|
6813
|
+
* @param ecomOrderId - Wix eCommerce order ID
|
|
6814
|
+
* @param paymentIds - Payment IDs
|
|
6815
|
+
* @public
|
|
6816
|
+
* @documentationMaturity preview
|
|
6817
|
+
* @requiredField ecomOrderId
|
|
6818
|
+
* @requiredField paymentIds
|
|
6819
|
+
* @permissionId ECOM.ORDER_VOID_AUTHORIZED_PAYMENT
|
|
6820
|
+
* @applicableIdentity APP
|
|
6821
|
+
* @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.VoidAuthorizedPayments
|
|
6822
|
+
*/
|
|
6823
|
+
declare function voidAuthorizedPayments(ecomOrderId: string, paymentIds: string[]): Promise<NonNullablePaths<VoidAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.void.status` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.void.reason` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.scheduledAction.actionType` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`> & {
|
|
6824
|
+
__applicationErrorsType?: VoidAuthorizedPaymentsApplicationErrors;
|
|
6825
|
+
}>;
|
|
6826
|
+
/**
|
|
6827
|
+
* Capture authorized payments
|
|
6828
|
+
* Transaction statuses for related payments will be updated in async way
|
|
6829
|
+
* @param ecomOrderId - Wix eCommerce order ID
|
|
6830
|
+
* @param payments - Capture payments information
|
|
6831
|
+
* @public
|
|
6832
|
+
* @documentationMaturity preview
|
|
6833
|
+
* @requiredField ecomOrderId
|
|
6834
|
+
* @requiredField payments
|
|
6835
|
+
* @requiredField payments.paymentId
|
|
6836
|
+
* @permissionId ECOM.ORDER_CAPTURE_AUTHORIZED_PAYMENT
|
|
6837
|
+
* @applicableIdentity APP
|
|
6838
|
+
* @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.CaptureAuthorizedPayments
|
|
6839
|
+
*/
|
|
6840
|
+
declare function captureAuthorizedPayments(ecomOrderId: string, payments: NonNullablePaths<PaymentCapture, `paymentId`>[]): Promise<NonNullablePaths<CaptureAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.void.status` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.void.reason` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.scheduledAction.actionType` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`> & {
|
|
6841
|
+
__applicationErrorsType?: CaptureAuthorizedPaymentsApplicationErrors;
|
|
6842
|
+
}>;
|
|
6843
|
+
/**
|
|
6844
|
+
* Retrieves an order.
|
|
6845
|
+
*
|
|
6846
|
+
*
|
|
6847
|
+
* The `getOrder()` function returns a Promise that resolves when the specified order is retrieved.
|
|
6848
|
+
*
|
|
6849
|
+
* To retrieve an order's payment and refund details, including amounts, payment methods, and payment statuses, pass the order ID to [`listTransactionsForSingleOrder( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/listtransactionsforsingleorder).
|
|
6850
|
+
* @param _id - ID of the order to retrieve.
|
|
6851
|
+
* @public
|
|
6852
|
+
* @requiredField _id
|
|
6853
|
+
* @permissionId ECOM.READ_ORDERS
|
|
6854
|
+
* @permissionId ECOM.ORDER_READ_ALL_EXTENDED_FIELDS
|
|
6855
|
+
* @applicableIdentity APP
|
|
6856
|
+
* @returns Fulfilled - The requested order.
|
|
6857
|
+
* @fqn com.wix.ecom.orders.v1.Orders.GetOrder
|
|
6858
|
+
*/
|
|
6859
|
+
declare function getOrder(_id: string): Promise<NonNullablePaths<Order, OrderNonNullablePaths> & {
|
|
6860
|
+
__applicationErrorsType?: GetOrderApplicationErrors;
|
|
6861
|
+
}>;
|
|
6799
6862
|
interface OrderSearchSpec extends SearchSpec {
|
|
6800
6863
|
paging: 'cursor';
|
|
6801
6864
|
wql: [
|
|
@@ -6923,10 +6986,83 @@ type OrderSearch = {
|
|
|
6923
6986
|
order?: NonNullable<CommonSearchWithEntityContext['sort']>[number]['order'];
|
|
6924
6987
|
}[];
|
|
6925
6988
|
};
|
|
6989
|
+
/**
|
|
6990
|
+
* Creates an order.
|
|
6991
|
+
*
|
|
6992
|
+
*
|
|
6993
|
+
* The `createOrder()` function returns a Promise that resolves when the order is created.
|
|
6994
|
+
*
|
|
6995
|
+
* > **Notes:**
|
|
6996
|
+
* > + If an item is digital - `lineItems[i].itemType.preset: DIGITAL` - then `lineItems[i].digitalFile` must be provided.
|
|
6997
|
+
* > + If `lineItems[i].id` is passed, it must be either a valid GUID, or empty.
|
|
6998
|
+
* @param order - Order info.
|
|
6999
|
+
* @public
|
|
7000
|
+
* @requiredField order
|
|
7001
|
+
* @requiredField order.billingInfo.contactDetails
|
|
7002
|
+
* @requiredField order.channelInfo
|
|
7003
|
+
* @requiredField order.currencyConversionDetails.conversionRate
|
|
7004
|
+
* @requiredField order.currencyConversionDetails.originalCurrency
|
|
7005
|
+
* @requiredField order.lineItems
|
|
7006
|
+
* @requiredField order.lineItems.catalogReference.appId
|
|
7007
|
+
* @requiredField order.lineItems.catalogReference.catalogItemId
|
|
7008
|
+
* @requiredField order.lineItems.itemType
|
|
7009
|
+
* @requiredField order.lineItems.price
|
|
7010
|
+
* @requiredField order.lineItems.productName
|
|
7011
|
+
* @requiredField order.lineItems.productName.original
|
|
7012
|
+
* @requiredField order.lineItems.quantity
|
|
7013
|
+
* @requiredField order.priceSummary
|
|
7014
|
+
* @permissionId ECOM.CREATE_ORDERS
|
|
7015
|
+
* @permissionId ECOM.ORDER_WRITE_ALL_EXTENDED_FIELDS
|
|
7016
|
+
* @applicableIdentity APP
|
|
7017
|
+
* @returns Newly created order.
|
|
7018
|
+
* @fqn com.wix.ecom.orders.v1.Orders.CreateOrder
|
|
7019
|
+
*/
|
|
7020
|
+
declare function createOrder(order: NonNullablePaths<Order, `billingInfo.contactDetails` | `channelInfo` | `currencyConversionDetails.conversionRate` | `currencyConversionDetails.originalCurrency` | `lineItems` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.itemType` | `lineItems.${number}.price` | `lineItems.${number}.productName` | `lineItems.${number}.productName.original` | `lineItems.${number}.quantity` | `priceSummary`>, options?: CreateOrderOptions): Promise<NonNullablePaths<Order, OrderNonNullablePaths> & {
|
|
7021
|
+
__applicationErrorsType?: CreateOrderApplicationErrors;
|
|
7022
|
+
}>;
|
|
6926
7023
|
interface CreateOrderOptions {
|
|
6927
7024
|
/** Determine order lifecycle */
|
|
6928
7025
|
settings?: OrderCreationSettings;
|
|
6929
7026
|
}
|
|
7027
|
+
/**
|
|
7028
|
+
* Updates an order.
|
|
7029
|
+
*
|
|
7030
|
+
*
|
|
7031
|
+
* The `updateOrder()` function returns a Promise that resolves when the specified order's information is updated.
|
|
7032
|
+
*
|
|
7033
|
+
* Currently, the following fields can be updated:
|
|
7034
|
+
* + `order.buyerInfo.email`
|
|
7035
|
+
* + `order.buyerLanguage`
|
|
7036
|
+
* + `order.weightUnit`
|
|
7037
|
+
* + `order.billingInfo.address`
|
|
7038
|
+
* + `order.billingInfo.contactDetails`
|
|
7039
|
+
* + `order.archived`
|
|
7040
|
+
* + `order.attributionSource`
|
|
7041
|
+
* + `order.seenByAHuman`
|
|
7042
|
+
* + `order.recipientInfo.address`
|
|
7043
|
+
* + `order.recipientInfo.contactDetails`
|
|
7044
|
+
* + `order.shippingInfo.logistics.shippingDestination.address`
|
|
7045
|
+
* + `order.shippingInfo.logistics.shippingDestination.contactDetails`
|
|
7046
|
+
*
|
|
7047
|
+
* To update a field's value, include the new value in the `order` object in the method parameters.
|
|
7048
|
+
* To remove a field's value, pass `null`.
|
|
7049
|
+
*
|
|
7050
|
+
* > **Note:** Removing `buyerInfo` or `contactDetails` fields results in an error.
|
|
7051
|
+
*
|
|
7052
|
+
* To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
|
|
7053
|
+
* @param _id - Order ID.
|
|
7054
|
+
* @public
|
|
7055
|
+
* @requiredField _id
|
|
7056
|
+
* @requiredField order
|
|
7057
|
+
* @permissionId ECOM.MODIFY_ORDERS
|
|
7058
|
+
* @permissionId ECOM.ORDER_WRITE_ALL_EXTENDED_FIELDS
|
|
7059
|
+
* @applicableIdentity APP
|
|
7060
|
+
* @returns Newly created order.
|
|
7061
|
+
* @fqn com.wix.ecom.orders.v1.Orders.UpdateOrder
|
|
7062
|
+
*/
|
|
7063
|
+
declare function updateOrder(_id: string, order: UpdateOrder): Promise<NonNullablePaths<Order, OrderNonNullablePaths> & {
|
|
7064
|
+
__applicationErrorsType?: UpdateOrderApplicationErrors;
|
|
7065
|
+
}>;
|
|
6930
7066
|
interface UpdateOrder {
|
|
6931
7067
|
/**
|
|
6932
7068
|
* Order ID.
|
|
@@ -7100,6 +7236,44 @@ interface UpdateOrder {
|
|
|
7100
7236
|
*/
|
|
7101
7237
|
payAfterFreeTrial?: PriceSummary;
|
|
7102
7238
|
}
|
|
7239
|
+
/**
|
|
7240
|
+
* Updates up to 100 orders.
|
|
7241
|
+
*
|
|
7242
|
+
*
|
|
7243
|
+
* The `bulkUpdateOrders()` function returns a Promise that resolves when the specified orders' information is updated.
|
|
7244
|
+
*
|
|
7245
|
+
* Currently, the following fields can be updated:
|
|
7246
|
+
* + `order.buyerInfo.email`
|
|
7247
|
+
* + `order.buyerLanguage`
|
|
7248
|
+
* + `order.weightUnit`
|
|
7249
|
+
* + `order.billingInfo.address`
|
|
7250
|
+
* + `order.billingInfo.contactDetails`
|
|
7251
|
+
* + `order.archived`
|
|
7252
|
+
* + `order.attributionSource`
|
|
7253
|
+
* + `order.seenByAHuman`
|
|
7254
|
+
* + `order.recipientInfo.address`
|
|
7255
|
+
* + `order.recipientInfo.contactDetails`
|
|
7256
|
+
* + `order.shippingInfo.logistics.shippingDestination.address`
|
|
7257
|
+
* + `order.shippingInfo.logistics.shippingDestination.contactDetails`
|
|
7258
|
+
*
|
|
7259
|
+
* To update a field's value, include the new value in the `orders.order` object in the method parameters.
|
|
7260
|
+
* To remove a field's value, pass `null`.
|
|
7261
|
+
*
|
|
7262
|
+
* > **Note:** Removing `buyerInfo` or `contactDetails` fields results in an error.
|
|
7263
|
+
*
|
|
7264
|
+
* To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
|
|
7265
|
+
* @param orders - Orders to update.
|
|
7266
|
+
* @public
|
|
7267
|
+
* @requiredField orders
|
|
7268
|
+
* @requiredField orders.order
|
|
7269
|
+
* @requiredField orders.order._id
|
|
7270
|
+
* @permissionId ECOM.MODIFY_ORDERS
|
|
7271
|
+
* @applicableIdentity APP
|
|
7272
|
+
* @fqn com.wix.ecom.orders.v1.Orders.BulkUpdateOrders
|
|
7273
|
+
*/
|
|
7274
|
+
declare function bulkUpdateOrders(orders: NonNullablePaths<MaskedOrder, `order` | `order._id`>[], options?: BulkUpdateOrdersOptions): Promise<NonNullablePaths<BulkUpdateOrdersResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
7275
|
+
[P in OrderNonNullablePaths]: `results.${number}.item.${P}`;
|
|
7276
|
+
}[OrderNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
7103
7277
|
interface BulkUpdateOrdersOptions {
|
|
7104
7278
|
/**
|
|
7105
7279
|
* Whether to return the full order entities.
|
|
@@ -7248,25 +7422,12 @@ interface UpdateOrderLineItem {
|
|
|
7248
7422
|
locations?: LocationAndQuantity[];
|
|
7249
7423
|
/** Address used for tax calculation. */
|
|
7250
7424
|
taxableAddress?: TaxableAddress;
|
|
7251
|
-
/**
|
|
7252
|
-
* ID of the app managing the inventory.
|
|
7253
|
-
* @internal
|
|
7254
|
-
* @format GUID
|
|
7255
|
-
*/
|
|
7256
|
-
inventoryAppId?: string | null;
|
|
7257
7425
|
/**
|
|
7258
7426
|
* Custom extended fields for the line item object.
|
|
7259
7427
|
*
|
|
7260
7428
|
* [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the app dashboard before they can be accessed with API calls.
|
|
7261
7429
|
*/
|
|
7262
7430
|
extendedFields?: ExtendedFields;
|
|
7263
|
-
/**
|
|
7264
|
-
* Modifier groups that were added to the item.
|
|
7265
|
-
* @internal
|
|
7266
|
-
* @readonly
|
|
7267
|
-
* @maxSize 10
|
|
7268
|
-
*/
|
|
7269
|
-
modifierGroups?: ModifierGroup[];
|
|
7270
7431
|
}
|
|
7271
7432
|
interface UpdateActivityIdentifiers {
|
|
7272
7433
|
/**
|
|
@@ -7294,6 +7455,23 @@ interface DeleteActivityIdentifiers {
|
|
|
7294
7455
|
*/
|
|
7295
7456
|
activityId: string;
|
|
7296
7457
|
}
|
|
7458
|
+
/**
|
|
7459
|
+
* Cancels an order.
|
|
7460
|
+
*
|
|
7461
|
+
*
|
|
7462
|
+
* The `cancelOrder()` function returns a Promise that resolves when the specified order is canceled and the `order.status` field changes to `CANCELED`.
|
|
7463
|
+
* @param _id - Order ID.
|
|
7464
|
+
* @public
|
|
7465
|
+
* @requiredField _id
|
|
7466
|
+
* @permissionId ECOM.MODIFY_ORDERS
|
|
7467
|
+
* @applicableIdentity APP
|
|
7468
|
+
* @fqn com.wix.ecom.orders.v1.Orders.CancelOrder
|
|
7469
|
+
*/
|
|
7470
|
+
declare function cancelOrder(_id: string, options?: CancelOrderOptions): Promise<NonNullablePaths<CancelOrderResponse, {
|
|
7471
|
+
[P in OrderNonNullablePaths]: `order.${P}`;
|
|
7472
|
+
}[OrderNonNullablePaths]> & {
|
|
7473
|
+
__applicationErrorsType?: CancelOrderApplicationErrors;
|
|
7474
|
+
}>;
|
|
7297
7475
|
interface CancelOrderOptions {
|
|
7298
7476
|
/** Whether to send an order canceled email to the buyer. */
|
|
7299
7477
|
sendOrderCanceledEmail?: boolean;
|
|
@@ -7322,6 +7500,19 @@ interface AggregateOrdersOptions {
|
|
|
7322
7500
|
*/
|
|
7323
7501
|
hierarchySeparatorOverride?: string | null;
|
|
7324
7502
|
}
|
|
7503
|
+
/**
|
|
7504
|
+
* Synchronously update tags on multiple orders, by list of order IDs.
|
|
7505
|
+
*
|
|
7506
|
+
* > **Note:** If the same tag is passed to both the `assignTags` and `unassignTags` fields, it will be assigned.
|
|
7507
|
+
* @param orderIds - IDs of orders to update tags for.
|
|
7508
|
+
* @public
|
|
7509
|
+
* @requiredField orderIds
|
|
7510
|
+
* @permissionId ECOM.MODIFY_ORDERS
|
|
7511
|
+
* @permissionId ECOM.ORDER_MODIFY_PRIVATE_TAGS
|
|
7512
|
+
* @applicableIdentity APP
|
|
7513
|
+
* @fqn com.wix.ecom.orders.v1.Orders.BulkUpdateOrderTags
|
|
7514
|
+
*/
|
|
7515
|
+
declare function bulkUpdateOrderTags(orderIds: string[], options?: BulkUpdateOrderTagsOptions): Promise<NonNullablePaths<BulkUpdateOrderTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
7325
7516
|
interface BulkUpdateOrderTagsOptions {
|
|
7326
7517
|
/** Tags to be added to orders */
|
|
7327
7518
|
assignTags?: Tags;
|
|
@@ -7329,4 +7520,4 @@ interface BulkUpdateOrderTagsOptions {
|
|
|
7329
7520
|
unassignTags?: Tags;
|
|
7330
7521
|
}
|
|
7331
7522
|
|
|
7332
|
-
export { TaxableAddressType as $, type AddActivityResponse as A, type BulkMarkOrdersAsPaidResponse as B, type CreatePaymentGatewayOrderResponse as C, type DeleteActivityIdentifiers as D, type UpdateOrderStatusResponse as E, type AggregateOrdersOptions as F, type GetPaymentCollectabilityStatusResponse as G, type AggregateOrdersResponse as H, type BulkUpdateOrderTagsOptions as I, type BulkUpdateOrderTagsResponse as J, type OrderApprovedEnvelope as K, type OrderUpdatedEnvelope as L, type MarkOrderAsPaidResponse as M, type OrderCanceledEnvelope as N, type Order as O, type Price as P, type OrderCreatedEnvelope as Q, DescriptionLineType as R, type SearchOrdersResponse as S, type TriggerRefundOptions as T, type UpdateOrder as U, type VoidAuthorizedPaymentsResponse as V, ItemTypeItemType as W, PaymentOptionType as X, JurisdictionType as Y, SubscriptionFrequency as Z, AdjustmentType as _, type PreparePaymentCollectionOptions as a, type SubscriptionDescription as a$, PaymentStatus as a0, FulfillmentStatus as a1, WeightUnit as a2, VatType as a3, PickupMethod as a4, OrderStatus as a5, DiscountType as a6, DiscountReason as a7, LineItemQuantityChangeType as a8, ActivityType as a9, InventoryAction as aA, Placement as aB, SubdivisionType as aC, SourceType as aD, CustomFieldGroup as aE, ValueType as aF, DepositType as aG, InvoiceStatus as aH, type OrderLineItem as aI, type ProductName as aJ, type CatalogReference as aK, type DescriptionLine as aL, type DescriptionLineValueOneOf as aM, type DescriptionLineDescriptionLineValueOneOf as aN, type DescriptionLineName as aO, type PlainTextValue as aP, type Color as aQ, type FocalPoint as aR, type PhysicalProperties as aS, type ItemType as aT, type ItemTypeItemTypeDataOneOf as aU, type ItemTaxFullDetails as aV, type LineItemTaxInfo as aW, type LineItemTaxBreakdown as aX, type DigitalFile as aY, type SubscriptionInfo as aZ, type SubscriptionTitle as a_, AttributionSource as aa, ChannelType as ab, ScheduledAction as ac, DurationUnit as ad, PaymentCollectabilityStatus as ae, RefundableStatus as af, NonRefundableReason as ag, ManuallyRefundableReason as ah, RestockType as ai, TransactionStatus as aj, AuthorizationCaptureStatus as ak, AuthorizationVoidStatus as al, Reason as am, ActionType as an, MembershipPaymentStatus as ao, RefundStatus as ap, WebhookIdentityType as aq, TextDetection as ar, AnimationDetection as as, PreviewEmailType as at, State as au, Namespace as av, SortOrder as aw, VersioningMode as ax, OrderApprovalStrategy as ay, DeltaPaymentOptionType as az, type PreparePaymentCollectionResponse as b, type SavedPaymentMethod as b$, type SubscriptionSettings as b0, type FreeTrialPeriod as b1, type BillingAdjustment as b2, type BillingAdjustmentPriceSummary as b3, type PriceDescription as b4, type LocationAndQuantity as b5, type TaxableAddress as b6, type TaxableAddressTaxableAddressDataOneOf as b7, type ExtendedFields as b8, type ModifierGroup as b9, type MerchantDiscount as bA, type MerchantDiscountMerchantDiscountReasonOneOf as bB, type DiscountRule as bC, type DiscountRuleName as bD, type LineItemDiscount as bE, type Activity as bF, type ActivityContentOneOf as bG, type CustomActivity as bH, type MerchantComment as bI, type OrderRefunded as bJ, type OrderCreatedFromExchange as bK, type NewExchangeOrderCreated as bL, type LineItemExchangeData as bM, type DraftOrderChangesApplied as bN, type OrderChange as bO, type OrderChangeValueOneOf as bP, type LineItemChanges as bQ, type LineItemQuantityChange as bR, type LineItemPriceChange as bS, type ManagedLineItem as bT, type ManagedDiscount as bU, type TranslatedValue as bV, type LineItemAmount as bW, type ManagedAdditionalFee as bX, type TotalPriceChange as bY, type ShippingInformationChange as bZ, type ShippingInformation as b_, type TranslatableString as ba, type ItemModifier as bb, type BuyerInfo as bc, type BuyerInfoIdOneOf as bd, type CurrencyConversionDetails as be, type PriceSummary as bf, type AddressWithContact as bg, type Address as bh, type StreetAddress as bi, type AddressLocation as bj, type FullAddressContactDetails as bk, type VatId as bl, type V1ShippingInformation as bm, type DeliveryLogistics as bn, type DeliveryLogisticsAddressOneOf as bo, type PickupDetails as bp, type PickupAddress as bq, type DeliveryTimeSlot as br, type ShippingPrice as bs, type ShippingRegion as bt, type TaxSummary as bu, type OrderTaxInfo as bv, type OrderTaxBreakdown as bw, type AppliedDiscount as bx, type AppliedDiscountDiscountSourceOneOf as by, type Coupon as bz, type GetRefundabilityStatusResponse as c, type MembershipName as c$, type AuthorizedPaymentCreated as c0, type AuthorizedPaymentCaptured as c1, type AuthorizedPaymentVoided as c2, type RefundInitiated as c3, type RefundedPayment as c4, type RefundedPaymentKindOneOf as c5, type RegularPaymentRefund as c6, type GiftCardPaymentRefund as c7, type MembershipPaymentRefund as c8, type PaymentRefunded as c9, type TagList as cA, type Location as cB, type OrderApproved as cC, type OrdersExperiments as cD, type OrderRejectedEventOrderRejected as cE, type OrderItemsRestocked as cF, type V1RestockItem as cG, type PreparePaymentCollectionRequest as cH, type RedirectUrls as cI, type DelayedCaptureSettings as cJ, type Duration as cK, type GetPaymentCollectabilityStatusRequest as cL, type RecordManuallyCollectedPaymentRequest as cM, type RecordManuallyCollectedPaymentResponse as cN, type MarkOrderAsPaidRequest as cO, type BulkMarkOrdersAsPaidRequest as cP, type BulkOrderResult as cQ, type ItemMetadata as cR, type ApplicationError as cS, type BulkActionMetadata as cT, type GetRefundabilityStatusRequest as cU, type Refundability as cV, type RefundabilityAdditionalRefundabilityInfoOneOf as cW, type CreatePaymentGatewayOrderRequest as cX, type ChargedBy as cY, type ChargeMembershipsRequest as cZ, type MembershipChargeItem as c_, type PaymentRefundFailed as ca, type RefundedAsStoreCredit as cb, type PaymentPending as cc, type PaymentPendingPaymentDetailsOneOf as cd, type RegularPayment as ce, type RegularPaymentPaymentMethodDetailsOneOf as cf, type CreditCardDetails as cg, type PaymentCanceled as ch, type PaymentCanceledPaymentDetailsOneOf as ci, type PaymentDeclined as cj, type PaymentDeclinedPaymentDetailsOneOf as ck, type ReceiptCreated as cl, type ReceiptCreatedReceiptInfoOneOf as cm, type WixReceipt as cn, type ExternalReceipt as co, type ReceiptSent as cp, type ReceiptSentReceiptInfoOneOf as cq, type CreatedBy as cr, type CreatedByStringOneOf as cs, type ChannelInfo as ct, type CustomField as cu, type BalanceSummary as cv, type Balance as cw, type AdditionalFee as cx, type FulfillmentStatusesAggregate as cy, type Tags as cz, type PaymentCollectionCreatePaymentGatewayOrderOptions as d, type SendBuyerShippingConfirmationEmailResponse as d$, type ServiceProperties as d0, type ChargeMembershipsResponse as d1, type TriggerRefundRequest as d2, type RefundDetails as d3, type RefundItem as d4, type LineItemRefund as d5, type AdditionalFeeRefund as d6, type ShippingRefund as d7, type RefundSideEffects as d8, type RestockInfo as d9, type CalculateRefundResponse as dA, type CalculateRefundItemResponse as dB, type VoidAuthorizedPaymentsRequest as dC, type CaptureAuthorizedPaymentsRequest as dD, type ChargeSavedPaymentMethodRequest as dE, type ChargeSavedPaymentMethodResponse as dF, type DomainEvent as dG, type DomainEventBodyOneOf as dH, type EntityCreatedEvent as dI, type RestoreInfo as dJ, type EntityUpdatedEvent as dK, type EntityDeletedEvent as dL, type ActionEvent as dM, type Empty as dN, type MessageEnvelope as dO, type IdentificationData as dP, type IdentificationDataIdOneOf as dQ, type ImageContent as dR, type SendBuyerConfirmationEmailRequest as dS, type SendBuyerConfirmationEmailResponse as dT, type SendBuyerPaymentsReceivedEmailRequest as dU, type SendBuyerPaymentsReceivedEmailResponse as dV, type SendBuyerPickupConfirmationEmailRequest as dW, type SendBuyerPickupConfirmationEmailResponse as dX, type BulkSendBuyerPickupConfirmationEmailsRequest as dY, type BulkSendBuyerPickupConfirmationEmailsResponse as dZ, type SendBuyerShippingConfirmationEmailRequest as d_, type RestockItem as da, type OrderTransactions as db, type Payment as dc, type PaymentPaymentDetailsOneOf as dd, type PaymentReceiptInfoOneOf as de, type RegularPaymentDetails as df, type RegularPaymentDetailsPaymentMethodDetailsOneOf as dg, type CreditCardPaymentMethodDetails as dh, type AuthorizationDetails as di, type AuthorizationCapture as dj, type AuthorizationActionFailureDetails as dk, type AuthorizationVoid as dl, type V1ScheduledAction as dm, type GiftCardPaymentDetails as dn, type MembershipPaymentDetails as dp, type WixReceiptInfo as dq, type ExternalReceiptInfo as dr, type Refund as ds, type RefundTransaction as dt, type RefundStatusInfo as du, type AggregatedRefundSummary as dv, type RefundItemsBreakdown as dw, type LineItemRefundSummary as dx, type CalculateRefundRequest as dy, type CalculateRefundItemRequest as dz, type ChargeMembershipsOptions as e, type V1UpdateOrderResponse as e$, type BulkSendBuyerShippingConfirmationEmailsRequest as e0, type BulkSendBuyerShippingConfirmationEmailsResponse as e1, type SendMerchantOrderReceivedNotificationRequest as e2, type SendMerchantOrderReceivedNotificationResponse as e3, type SendCancelRefundEmailRequest as e4, type SendCancelRefundEmailResponse as e5, type SendRefundEmailRequest as e6, type SendRefundEmailResponse as e7, type SendMerchantOrderReceivedPushRequest as e8, type SendMerchantOrderReceivedPushResponse as e9, type MetaTag as eA, type HtmlApplication as eB, type ExternalUriMapping as eC, type UserDataResponse as eD, type QueryOrdersForMetasiteRequest as eE, type InternalQueryOrdersRequest as eF, type PlatformQuery as eG, type PlatformQueryPagingMethodOneOf as eH, type Sorting as eI, type PlatformPaging as eJ, type CursorPaging as eK, type QueryOrdersForMetasiteResponse as eL, type PlatformPagingMetadata as eM, type Cursors as eN, type GetOrderForMetasiteRequest as eO, type GetOrderForMetasiteResponse as eP, type ListOrderTransactionsForMetasiteRequest as eQ, type ListOrderTransactionsForMetasiteResponse as eR, type UpsertRefundRequest as eS, type UpsertRefundResponse as eT, type GetOrderOutOfBoxRequest as eU, type GetOrderOutOfBoxResponse as eV, type GetOrderAgcRequest as eW, type GetOrderAgcResponse as eX, type GetOrderWithFilterByLocationRequest as eY, type GetOrderWithFilterByLocationResponse as eZ, type V1UpdateOrderRequest as e_, type PreviewEmailByTypeRequest as ea, type PreviewEmailByTypeResponse as eb, type PreviewRefundEmailRequest as ec, type PreviewRefundEmailResponse as ed, type PreviewCancelEmailRequest as ee, type PreviewCancelEmailResponse as ef, type PreviewCancelRefundEmailRequest as eg, type PreviewCancelRefundEmailResponse as eh, type PreviewBuyerPaymentsReceivedEmailRequest as ei, type PreviewBuyerPaymentsReceivedEmailResponse as ej, type PreviewBuyerConfirmationEmailRequest as ek, type PreviewBuyerConfirmationEmailResponse as el, type PreviewBuyerPickupConfirmationEmailRequest as em, type PreviewBuyerPickupConfirmationEmailResponse as en, type PreviewShippingConfirmationEmailRequest as eo, type PreviewShippingConfirmationEmailResponse as ep, type PreviewResendDownloadLinksEmailRequest as eq, type PreviewResendDownloadLinksEmailResponse as er, type TriggerReindexOrderRequest as es, type SnapshotMessage as et, type PaymentStatusUpdated as eu, type GetMetasiteDataRequest as ev, type GetMetasiteDataResponse as ew, type MetaSite as ex, type App as ey, type SeoData as ez, type PaymentRefund as f, type BulkUnArchiveOrdersRequest as f$, type UpdateInternalDocumentsEvent as f0, type UpdateInternalDocumentsEventOperationOneOf as f1, type InternalDocument as f2, type InternalDocumentUpdateOperation as f3, type DeleteByIdsOperation as f4, type DeleteByFilterOperation as f5, type InternalDocumentUpdateByFilterOperation as f6, type InternalUpdateExistingOperation as f7, type VersionedDocumentUpdateOperation as f8, type VersionedDeleteByIdsOperation as f9, type DraftOrderDiffsShippingUpdateInfoOneOf as fA, type DraftOrderDiffsBuyerUpdateInfoOneOf as fB, type DraftOrderDiffsBillingUpdateInfoOneOf as fC, type DraftOrderDiffsRecipientUpdateInfoOneOf as fD, type V1LineItemDelta as fE, type V1LineItemDeltaDeltaOneOf as fF, type OrderLineItemChangedDetails as fG, type ItemChangedDetails as fH, type AppliedDiscountDelta as fI, type AppliedDiscountDeltaDeltaOneOf as fJ, type AdditionalFeeDelta as fK, type AdditionalFeeDeltaDeltaOneOf as fL, type DraftOrderCommitSettings as fM, type InventoryUpdateDetails as fN, type OrderDeltasCommitted as fO, type CommittedDiffs as fP, type CommittedDiffsShippingUpdateInfoOneOf as fQ, type LineItemDelta as fR, type LineItemDeltaDeltaOneOf as fS, type ArchiveOrderRequest as fT, type ArchiveOrderResponse as fU, type BulkArchiveOrdersRequest as fV, type BulkArchiveOrdersResponse as fW, type BulkArchiveOrdersByFilterRequest as fX, type BulkArchiveOrdersByFilterResponse as fY, type UnArchiveOrderRequest as fZ, type UnArchiveOrderResponse as f_, type VersionedDocumentId as fa, type TriggerReindexRequest as fb, type TriggerReindexResponse as fc, type BatchOfTriggerReindexOrderRequest as fd, type DiffmatokyPayload as fe, type ErrorInformation as ff, type ContinueSideEffectsFlowInLegacyData as fg, type IndexingMessage as fh, type GetOrderRequest as fi, type GetOrderResponse as fj, type InternalQueryOrdersResponse as fk, type QueryOrderRequest as fl, type QueryOrderResponse as fm, type SearchOrdersRequest as fn, type CursorSearch as fo, type CursorSearchPagingMethodOneOf as fp, type CursorPagingMetadata as fq, type CreateOrderRequest as fr, type OrderCreationSettings as fs, type OrderCreateNotifications as ft, type CreateOrderResponse as fu, type UpdateOrderRequest as fv, type UpdateOrderResponse as fw, type BulkUpdateOrdersRequest as fx, type CommitDeltasRequest as fy, type DraftOrderDiffs as fz, type TriggerRefundResponse as g, type BulkMarkAsUnfulfilledResponse as g$, type BulkUnArchiveOrdersResponse as g0, type BulkUnArchiveOrdersByFilterRequest as g1, type BulkUnArchiveOrdersByFilterResponse as g2, type UpdateBuyerInfoRequest as g3, type BuyerInfoUpdate as g4, type UpdateBuyerInfoResponse as g5, type UpdateBuyerEmailRequest as g6, type UpdateBuyerEmailResponse as g7, type UpdateOrderShippingAddressRequest as g8, type UpdateOrderShippingAddressResponse as g9, type OrderPending as gA, type OrderRejected as gB, type AddInternalActivityResponse as gC, type AddActivityRequest as gD, type PublicActivityContentOneOf as gE, type AddActivitiesRequest as gF, type AddActivitiesResponse as gG, type UpdateActivityRequest as gH, type DeleteActivityRequest as gI, type UpdateLineItemsDescriptionLinesRequest as gJ, type LineItemUpdate as gK, type UpdateLineItemsDescriptionLinesResponse as gL, type MarkOrderAsSeenByHumanRequest as gM, type MarkOrderAsSeenByHumanResponse as gN, type CancelOrderRequest as gO, type OrderCanceledEventOrderCanceled as gP, type UpdateOrderStatusRequest as gQ, type MarkAsFulfilledRequest as gR, type MarkAsFulfilledResponse as gS, type FulfillmentStatusUpdated as gT, type BulkMarkAsFulfilledRequest as gU, type BulkMarkAsFulfilledResponse as gV, type BulkMarkAsFulfilledByFilterRequest as gW, type BulkMarkAsFulfilledByFilterResponse as gX, type MarkAsUnfulfilledRequest as gY, type MarkAsUnfulfilledResponse as gZ, type BulkMarkAsUnfulfilledRequest as g_, type UpdateBillingContactDetailsRequest as ga, type UpdateBillingContactDetailsResponse as gb, type UpdateOrderLineItemRequest as gc, type UpdateOrderLineItemsRequest as gd, type MaskedOrderLineItem as ge, type UpdateOrderLineItemsResponse as gf, type AddInternalActivityRequest as gg, type InternalActivity as gh, type InternalActivityContentOneOf as gi, type OrderPlaced as gj, type OrderPaid as gk, type OrderFulfilled as gl, type OrderNotFulfilled as gm, type OrderCanceled as gn, type DownloadLinkSent as go, type TrackingNumberAdded as gp, type TrackingNumberEdited as gq, type TrackingLinkAdded as gr, type ShippingConfirmationEmailSent as gs, type InvoiceAdded as gt, type InvoiceSent as gu, type FulfillerEmailSent as gv, type ShippingAddressEdited as gw, type EmailEdited as gx, type PickupReadyEmailSent as gy, type OrderPartiallyPaid as gz, type PaymentCapture as h, type OrderSearchSpec as h$, type BulkMarkAsUnfulfilledByFilterRequest as h0, type BulkMarkAsUnfulfilledByFilterResponse as h1, type BulkSetBusinessLocationRequest as h2, type BulkSetBusinessLocationResponse as h3, type BulkSetBusinessLocationResult as h4, type V1MarkOrderAsPaidRequest as h5, type V1MarkOrderAsPaidResponse as h6, type V1BulkMarkOrdersAsPaidRequest as h7, type V1BulkMarkOrdersAsPaidResponse as h8, type V1CreatePaymentGatewayOrderRequest as h9, type CommonAddressStreetOneOf as hA, type Subdivision as hB, type StandardDetails as hC, type InvoiceDates as hD, type LineItems as hE, type LineItem as hF, type BigDecimalWrapper as hG, type LineItemTax as hH, type Source as hI, type LineItemMetaData as hJ, type Locale as hK, type TotalPrice as hL, type ItemizedFee as hM, type Discount as hN, type DiscountOneDiscountTypeOneOf as hO, type CalculatedTaxes as hP, type CalculatedTax as hQ, type Payments as hR, type InvoicesPayment as hS, type MetaData as hT, type InvoiceDynamicPriceTotals as hU, type CustomFieldValue as hV, type Value as hW, type Deposit as hX, type TriggerSideEffectsFromLegacyData as hY, type BaseEventMetadata as hZ, type EventMetadata as h_, type V1CreatePaymentGatewayOrderResponse as ha, type GetShipmentsRequest as hb, type GetShipmentsResponse as hc, type AggregateOrdersRequest as hd, type DecrementItemsQuantityRequest as he, type DecrementData as hf, type DecrementItemsQuantityResponse as hg, type BulkUpdateOrderTagsRequest as hh, type BulkUpdateOrderTagsResult as hi, type Task as hj, type TaskKey as hk, type TaskAction as hl, type TaskActionActionOneOf as hm, type Complete as hn, type Cancel as ho, type Reschedule as hp, type InvoiceSentEvent as hq, type IdAndVersion as hr, type InvoiceFields as hs, type Customer as ht, type Email as hu, type QuotesAddress as hv, type AddressDescription as hw, type Phone as hx, type Company as hy, type CommonAddress as hz, type CaptureAuthorizedPaymentsResponse as i, type OrderSearch as j, type CreateOrderOptions as k, type MaskedOrder as l, type BulkUpdateOrdersOptions as m, type BulkUpdateOrdersResponse as n, type CommitDeltasOptions as o, type CommitDeltasResponse as p, type UpdateOrderLineItemIdentifiers as q, type UpdateOrderLineItem as r, type UpdateOrderLineItemResponse as s, type PublicActivity as t, type UpdateActivityIdentifiers as u, type UpdateActivityResponse as v, type DeleteActivityResponse as w, type CancelOrderOptions as x, type CancelOrderResponse as y, type OrderStatusWithLiterals as z };
|
|
7523
|
+
export { NonRefundableReason as $, AdjustmentType as A, type BulkUpdateOrdersOptions as B, type CaptureAuthorizedPaymentsResponse as C, DescriptionLineType as D, OrderStatus as E, FulfillmentStatus as F, type GetPaymentCollectabilityStatusResponse as G, DiscountType as H, ItemTypeItemType as I, JurisdictionType as J, DiscountReason as K, LineItemQuantityChangeType as L, type MaskedOrder as M, ActivityType as N, type Order as O, type Price as P, AttributionSource as Q, ChannelType as R, type SearchOrdersResponse as S, TaxableAddressType as T, type UpdateOrder as U, type VoidAuthorizedPaymentsResponse as V, WeightUnit as W, ScheduledAction as X, DurationUnit as Y, PaymentCollectabilityStatus as Z, RefundableStatus as _, type PreparePaymentCollectionOptions as a, type PriceSummary as a$, ManuallyRefundableReason as a0, RestockType as a1, TransactionStatus as a2, AuthorizationCaptureStatus as a3, AuthorizationVoidStatus as a4, Reason as a5, ActionType as a6, ChargebackStatus as a7, MembershipPaymentStatus as a8, RefundStatus as a9, type Color as aA, type FocalPoint as aB, type PhysicalProperties as aC, type ItemType as aD, type ItemTypeItemTypeDataOneOf as aE, type ItemTaxFullDetails as aF, type LineItemTaxInfo as aG, type LineItemTaxBreakdown as aH, type DigitalFile as aI, type SubscriptionInfo as aJ, type SubscriptionTitle as aK, type SubscriptionDescription as aL, type SubscriptionSettings as aM, type FreeTrialPeriod as aN, type BillingAdjustment as aO, type BillingAdjustmentPriceSummary as aP, type PriceDescription as aQ, type LocationAndQuantity as aR, type TaxableAddress as aS, type TaxableAddressTaxableAddressDataOneOf as aT, type ExtendedFields as aU, type ModifierGroup as aV, type TranslatableString as aW, type ItemModifier as aX, type BuyerInfo as aY, type BuyerInfoIdOneOf as aZ, type CurrencyConversionDetails as a_, WebhookIdentityType as aa, TextDetection as ab, AnimationDetection as ac, PreviewEmailType as ad, State as ae, Namespace as af, SortOrder as ag, VersioningMode as ah, OrderApprovalStrategy as ai, DeltaPaymentOptionType as aj, InventoryAction as ak, Placement as al, SubdivisionType as am, SourceType as an, CustomFieldGroup as ao, ValueType as ap, DepositType as aq, InvoiceStatus as ar, type OrderLineItem as as, type ProductName as at, type CatalogReference as au, type DescriptionLine as av, type DescriptionLineValueOneOf as aw, type DescriptionLineDescriptionLineValueOneOf as ax, type DescriptionLineName as ay, type PlainTextValue as az, type PreparePaymentCollectionResponse as b, type RegularPaymentPaymentMethodDetailsOneOf as b$, type AddressWithContact as b0, type Address as b1, type StreetAddress as b2, type AddressLocation as b3, type FullAddressContactDetails as b4, type VatId as b5, type V1ShippingInformation as b6, type DeliveryLogistics as b7, type DeliveryLogisticsAddressOneOf as b8, type PickupDetails as b9, type LineItemChanges as bA, type LineItemQuantityChange as bB, type LineItemPriceChange as bC, type ManagedLineItem as bD, type ManagedDiscount as bE, type TranslatedValue as bF, type LineItemAmount as bG, type ManagedAdditionalFee as bH, type TotalPriceChange as bI, type ShippingInformationChange as bJ, type ShippingInformation as bK, type SavedPaymentMethod as bL, type AuthorizedPaymentCreated as bM, type AuthorizedPaymentCaptured as bN, type AuthorizedPaymentVoided as bO, type RefundInitiated as bP, type RefundedPayment as bQ, type RefundedPaymentKindOneOf as bR, type RegularPaymentRefund as bS, type GiftCardPaymentRefund as bT, type MembershipPaymentRefund as bU, type PaymentRefunded as bV, type PaymentRefundFailed as bW, type RefundedAsStoreCredit as bX, type PaymentPending as bY, type PaymentPendingPaymentDetailsOneOf as bZ, type RegularPayment as b_, type PickupAddress as ba, type DeliveryTimeSlot as bb, type ShippingPrice as bc, type ShippingRegion as bd, type TaxSummary as be, type OrderTaxInfo as bf, type OrderTaxBreakdown as bg, type AppliedDiscount as bh, type AppliedDiscountDiscountSourceOneOf as bi, type Coupon as bj, type MerchantDiscount as bk, type MerchantDiscountMerchantDiscountReasonOneOf as bl, type DiscountRule as bm, type DiscountRuleName as bn, type LineItemDiscount as bo, type Activity as bp, type ActivityContentOneOf as bq, type CustomActivity as br, type MerchantComment as bs, type OrderRefunded as bt, type OrderCreatedFromExchange as bu, type NewExchangeOrderCreated as bv, type LineItemExchangeData as bw, type DraftOrderChangesApplied as bx, type OrderChange as by, type OrderChangeValueOneOf as bz, type PreparePaymentCollectionApplicationErrors as c, type RefundSideEffects as c$, type CreditCardDetails as c0, type PaymentCanceled as c1, type PaymentCanceledPaymentDetailsOneOf as c2, type PaymentDeclined as c3, type PaymentDeclinedPaymentDetailsOneOf as c4, type ReceiptCreated as c5, type ReceiptCreatedReceiptInfoOneOf as c6, type WixReceipt as c7, type ExternalReceipt as c8, type ReceiptSent as c9, type MarkOrderAsPaidRequest as cA, type MarkOrderAsPaidResponse as cB, type BulkMarkOrdersAsPaidRequest as cC, type BulkMarkOrdersAsPaidResponse as cD, type BulkOrderResult as cE, type ItemMetadata as cF, type ApplicationError as cG, type BulkActionMetadata as cH, type GetRefundabilityStatusRequest as cI, type GetRefundabilityStatusResponse as cJ, type Refundability as cK, type RefundabilityAdditionalRefundabilityInfoOneOf as cL, type CreatePaymentGatewayOrderRequest as cM, type ChargedBy as cN, type CreatePaymentGatewayOrderResponse as cO, type ChargeMembershipsRequest as cP, type MembershipChargeItem as cQ, type MembershipName as cR, type ServiceProperties as cS, type ChargeMembershipsResponse as cT, type TriggerRefundRequest as cU, type PaymentRefund as cV, type RefundDetails as cW, type RefundItem as cX, type LineItemRefund as cY, type AdditionalFeeRefund as cZ, type ShippingRefund as c_, type ReceiptSentReceiptInfoOneOf as ca, type ChargebackCreated as cb, type ChargebackReversed as cc, type CreatedBy as cd, type CreatedByStringOneOf as ce, type ChannelInfo as cf, type CustomField as cg, type BalanceSummary as ch, type Balance as ci, type AdditionalFee as cj, type FulfillmentStatusesAggregate as ck, type Tags as cl, type TagList as cm, type Location as cn, type OrderApproved as co, type OrdersExperiments as cp, type OrderRejectedEventOrderRejected as cq, type OrderItemsRestocked as cr, type V1RestockItem as cs, type PreparePaymentCollectionRequest as ct, type RedirectUrls as cu, type DelayedCaptureSettings as cv, type Duration as cw, type GetPaymentCollectabilityStatusRequest as cx, type RecordManuallyCollectedPaymentRequest as cy, type RecordManuallyCollectedPaymentResponse as cz, type VoidAuthorizedPaymentsApplicationErrors as d, type SendRefundEmailRequest as d$, type RestockInfo as d0, type RestockItem as d1, type TriggerRefundResponse as d2, type OrderTransactions as d3, type Payment as d4, type PaymentPaymentDetailsOneOf as d5, type PaymentReceiptInfoOneOf as d6, type RegularPaymentDetails as d7, type RegularPaymentDetailsPaymentMethodDetailsOneOf as d8, type CreditCardPaymentMethodDetails as d9, type DomainEventBodyOneOf as dA, type EntityCreatedEvent as dB, type RestoreInfo as dC, type EntityUpdatedEvent as dD, type EntityDeletedEvent as dE, type ActionEvent as dF, type Empty as dG, type MessageEnvelope as dH, type IdentificationData as dI, type IdentificationDataIdOneOf as dJ, type ImageContent as dK, type SendBuyerConfirmationEmailRequest as dL, type SendBuyerConfirmationEmailResponse as dM, type SendBuyerPaymentsReceivedEmailRequest as dN, type SendBuyerPaymentsReceivedEmailResponse as dO, type SendBuyerPickupConfirmationEmailRequest as dP, type SendBuyerPickupConfirmationEmailResponse as dQ, type BulkSendBuyerPickupConfirmationEmailsRequest as dR, type BulkSendBuyerPickupConfirmationEmailsResponse as dS, type SendBuyerShippingConfirmationEmailRequest as dT, type SendBuyerShippingConfirmationEmailResponse as dU, type BulkSendBuyerShippingConfirmationEmailsRequest as dV, type BulkSendBuyerShippingConfirmationEmailsResponse as dW, type SendMerchantOrderReceivedNotificationRequest as dX, type SendMerchantOrderReceivedNotificationResponse as dY, type SendCancelRefundEmailRequest as dZ, type SendCancelRefundEmailResponse as d_, type AuthorizationDetails as da, type AuthorizationCapture as db, type AuthorizationActionFailureDetails as dc, type AuthorizationVoid as dd, type V1ScheduledAction as de, type Chargeback as df, type GiftCardPaymentDetails as dg, type MembershipPaymentDetails as dh, type WixReceiptInfo as di, type ExternalReceiptInfo as dj, type Refund as dk, type RefundTransaction as dl, type RefundStatusInfo as dm, type AggregatedRefundSummary as dn, type RefundItemsBreakdown as dp, type LineItemRefundSummary as dq, type CalculateRefundRequest as dr, type CalculateRefundItemRequest as ds, type CalculateRefundResponse as dt, type CalculateRefundItemResponse as du, type VoidAuthorizedPaymentsRequest as dv, type CaptureAuthorizedPaymentsRequest as dw, type ChargeSavedPaymentMethodRequest as dx, type ChargeSavedPaymentMethodResponse as dy, type DomainEvent as dz, type PaymentCapture as e, type InternalDocumentUpdateByFilterOperation as e$, type SendRefundEmailResponse as e0, type SendMerchantOrderReceivedPushRequest as e1, type SendMerchantOrderReceivedPushResponse as e2, type PreviewEmailByTypeRequest as e3, type PreviewEmailByTypeResponse as e4, type PreviewRefundEmailRequest as e5, type PreviewRefundEmailResponse as e6, type PreviewCancelEmailRequest as e7, type PreviewCancelEmailResponse as e8, type PreviewCancelRefundEmailRequest as e9, type PlatformQueryPagingMethodOneOf as eA, type Sorting as eB, type PlatformPaging as eC, type CursorPaging as eD, type QueryOrdersForMetasiteResponse as eE, type PlatformPagingMetadata as eF, type Cursors as eG, type GetOrderForMetasiteRequest as eH, type GetOrderForMetasiteResponse as eI, type ListOrderTransactionsForMetasiteRequest as eJ, type ListOrderTransactionsForMetasiteResponse as eK, type UpsertRefundRequest as eL, type UpsertRefundResponse as eM, type GetOrderOutOfBoxRequest as eN, type GetOrderOutOfBoxResponse as eO, type GetOrderAgcRequest as eP, type GetOrderAgcResponse as eQ, type GetOrderWithFilterByLocationRequest as eR, type GetOrderWithFilterByLocationResponse as eS, type V1UpdateOrderRequest as eT, type V1UpdateOrderResponse as eU, type UpdateInternalDocumentsEvent as eV, type UpdateInternalDocumentsEventOperationOneOf as eW, type InternalDocument as eX, type InternalDocumentUpdateOperation as eY, type DeleteByIdsOperation as eZ, type DeleteByFilterOperation as e_, type PreviewCancelRefundEmailResponse as ea, type PreviewBuyerPaymentsReceivedEmailRequest as eb, type PreviewBuyerPaymentsReceivedEmailResponse as ec, type PreviewBuyerConfirmationEmailRequest as ed, type PreviewBuyerConfirmationEmailResponse as ee, type PreviewBuyerPickupConfirmationEmailRequest as ef, type PreviewBuyerPickupConfirmationEmailResponse as eg, type PreviewShippingConfirmationEmailRequest as eh, type PreviewShippingConfirmationEmailResponse as ei, type PreviewResendDownloadLinksEmailRequest as ej, type PreviewResendDownloadLinksEmailResponse as ek, type TriggerReindexOrderRequest as el, type SnapshotMessage as em, type PaymentStatusUpdated as en, type GetMetasiteDataRequest as eo, type GetMetasiteDataResponse as ep, type MetaSite as eq, type App as er, type SeoData as es, type MetaTag as et, type HtmlApplication as eu, type ExternalUriMapping as ev, type UserDataResponse as ew, type QueryOrdersForMetasiteRequest as ex, type InternalQueryOrdersRequest as ey, type PlatformQuery as ez, type CaptureAuthorizedPaymentsApplicationErrors as f, type UpdateBuyerInfoResponse as f$, type InternalUpdateExistingOperation as f0, type VersionedDocumentUpdateOperation as f1, type VersionedDeleteByIdsOperation as f2, type VersionedDocumentId as f3, type TriggerReindexRequest as f4, type TriggerReindexResponse as f5, type BatchOfTriggerReindexOrderRequest as f6, type DiffmatokyPayload as f7, type ErrorInformation as f8, type ContinueSideEffectsFlowInLegacyData as f9, type ItemChangedDetails as fA, type AppliedDiscountDelta as fB, type AppliedDiscountDeltaDeltaOneOf as fC, type AdditionalFeeDelta as fD, type AdditionalFeeDeltaDeltaOneOf as fE, type DraftOrderCommitSettings as fF, type InventoryUpdateDetails as fG, type CommitDeltasResponse as fH, type OrderDeltasCommitted as fI, type CommittedDiffs as fJ, type CommittedDiffsShippingUpdateInfoOneOf as fK, type LineItemDelta as fL, type LineItemDeltaDeltaOneOf as fM, type ArchiveOrderRequest as fN, type ArchiveOrderResponse as fO, type BulkArchiveOrdersRequest as fP, type BulkArchiveOrdersResponse as fQ, type BulkArchiveOrdersByFilterRequest as fR, type BulkArchiveOrdersByFilterResponse as fS, type UnArchiveOrderRequest as fT, type UnArchiveOrderResponse as fU, type BulkUnArchiveOrdersRequest as fV, type BulkUnArchiveOrdersResponse as fW, type BulkUnArchiveOrdersByFilterRequest as fX, type BulkUnArchiveOrdersByFilterResponse as fY, type UpdateBuyerInfoRequest as fZ, type BuyerInfoUpdate as f_, type IndexingMessage as fa, type GetOrderRequest as fb, type GetOrderResponse as fc, type InternalQueryOrdersResponse as fd, type QueryOrderRequest as fe, type QueryOrderResponse as ff, type SearchOrdersRequest as fg, type CursorSearch as fh, type CursorSearchPagingMethodOneOf as fi, type CursorPagingMetadata as fj, type CreateOrderRequest as fk, type OrderCreationSettings as fl, type OrderCreateNotifications as fm, type CreateOrderResponse as fn, type UpdateOrderRequest as fo, type UpdateOrderResponse as fp, type BulkUpdateOrdersRequest as fq, type CommitDeltasRequest as fr, type DraftOrderDiffs as fs, type DraftOrderDiffsShippingUpdateInfoOneOf as ft, type DraftOrderDiffsBuyerUpdateInfoOneOf as fu, type DraftOrderDiffsBillingUpdateInfoOneOf as fv, type DraftOrderDiffsRecipientUpdateInfoOneOf as fw, type V1LineItemDelta as fx, type V1LineItemDeltaDeltaOneOf as fy, type OrderLineItemChangedDetails as fz, type GetOrderApplicationErrors as g, type BulkMarkAsUnfulfilledResponse as g$, type UpdateBuyerEmailRequest as g0, type UpdateBuyerEmailResponse as g1, type UpdateOrderShippingAddressRequest as g2, type UpdateOrderShippingAddressResponse as g3, type UpdateBillingContactDetailsRequest as g4, type UpdateBillingContactDetailsResponse as g5, type UpdateOrderLineItemRequest as g6, type UpdateOrderLineItemResponse as g7, type UpdateOrderLineItemsRequest as g8, type MaskedOrderLineItem as g9, type PublicActivityContentOneOf as gA, type AddActivityResponse as gB, type AddActivitiesRequest as gC, type AddActivitiesResponse as gD, type UpdateActivityRequest as gE, type UpdateActivityResponse as gF, type DeleteActivityRequest as gG, type DeleteActivityResponse as gH, type UpdateLineItemsDescriptionLinesRequest as gI, type LineItemUpdate as gJ, type UpdateLineItemsDescriptionLinesResponse as gK, type MarkOrderAsSeenByHumanRequest as gL, type MarkOrderAsSeenByHumanResponse as gM, type CancelOrderRequest as gN, type OrderCanceledEventOrderCanceled as gO, type UpdateOrderStatusRequest as gP, type UpdateOrderStatusResponse as gQ, type MarkAsFulfilledRequest as gR, type MarkAsFulfilledResponse as gS, type FulfillmentStatusUpdated as gT, type BulkMarkAsFulfilledRequest as gU, type BulkMarkAsFulfilledResponse as gV, type BulkMarkAsFulfilledByFilterRequest as gW, type BulkMarkAsFulfilledByFilterResponse as gX, type MarkAsUnfulfilledRequest as gY, type MarkAsUnfulfilledResponse as gZ, type BulkMarkAsUnfulfilledRequest as g_, type UpdateOrderLineItemsResponse as ga, type AddInternalActivityRequest as gb, type InternalActivity as gc, type InternalActivityContentOneOf as gd, type OrderPlaced as ge, type OrderPaid as gf, type OrderFulfilled as gg, type OrderNotFulfilled as gh, type OrderCanceled as gi, type DownloadLinkSent as gj, type TrackingNumberAdded as gk, type TrackingNumberEdited as gl, type TrackingLinkAdded as gm, type ShippingConfirmationEmailSent as gn, type InvoiceAdded as go, type InvoiceSent as gp, type FulfillerEmailSent as gq, type ShippingAddressEdited as gr, type EmailEdited as gs, type PickupReadyEmailSent as gt, type OrderPartiallyPaid as gu, type OrderPending as gv, type OrderRejected as gw, type AddInternalActivityResponse as gx, type AddActivityRequest as gy, type PublicActivity as gz, type OrderSearch as h, type EventMetadata as h$, type BulkMarkAsUnfulfilledByFilterRequest as h0, type BulkMarkAsUnfulfilledByFilterResponse as h1, type BulkSetBusinessLocationRequest as h2, type BulkSetBusinessLocationResponse as h3, type BulkSetBusinessLocationResult as h4, type V1MarkOrderAsPaidRequest as h5, type V1MarkOrderAsPaidResponse as h6, type V1BulkMarkOrdersAsPaidRequest as h7, type V1BulkMarkOrdersAsPaidResponse as h8, type V1CreatePaymentGatewayOrderRequest as h9, type CommonAddress as hA, type CommonAddressStreetOneOf as hB, type Subdivision as hC, type StandardDetails as hD, type InvoiceDates as hE, type LineItems as hF, type LineItem as hG, type BigDecimalWrapper as hH, type LineItemTax as hI, type Source as hJ, type LineItemMetaData as hK, type Locale as hL, type TotalPrice as hM, type ItemizedFee as hN, type Discount as hO, type DiscountOneDiscountTypeOneOf as hP, type CalculatedTaxes as hQ, type CalculatedTax as hR, type Payments as hS, type InvoicesPayment as hT, type MetaData as hU, type InvoiceDynamicPriceTotals as hV, type CustomFieldValue as hW, type Value as hX, type Deposit as hY, type TriggerSideEffectsFromLegacyData as hZ, type BaseEventMetadata as h_, type V1CreatePaymentGatewayOrderResponse as ha, type GetShipmentsRequest as hb, type GetShipmentsResponse as hc, type AggregateOrdersRequest as hd, type AggregateOrdersResponse as he, type DecrementItemsQuantityRequest as hf, type DecrementData as hg, type DecrementItemsQuantityResponse as hh, type BulkUpdateOrderTagsRequest as hi, type BulkUpdateOrderTagsResult as hj, type Task as hk, type TaskKey as hl, type TaskAction as hm, type TaskActionActionOneOf as hn, type Complete as ho, type Cancel as hp, type Reschedule as hq, type InvoiceSentEvent as hr, type IdAndVersion as hs, type InvoiceFields as ht, type Customer as hu, type Email as hv, type QuotesAddress as hw, type AddressDescription as hx, type Phone as hy, type Company as hz, type CreateOrderOptions as i, type InvoiceStatusWithLiterals as i$, type PaymentCollectionCreatePaymentGatewayOrderOptions as i0, type ChargeMembershipsOptions as i1, type TriggerRefundOptions as i2, type OrderSearchSpec as i3, type CommitDeltasOptions as i4, type UpdateOrderLineItemIdentifiers as i5, type UpdateOrderLineItem as i6, type UpdateActivityIdentifiers as i7, type DeleteActivityIdentifiers as i8, type AggregateOrdersOptions as i9, type ManuallyRefundableReasonWithLiterals as iA, type RestockTypeWithLiterals as iB, type TransactionStatusWithLiterals as iC, type AuthorizationCaptureStatusWithLiterals as iD, type AuthorizationVoidStatusWithLiterals as iE, type ReasonWithLiterals as iF, type ActionTypeWithLiterals as iG, type ChargebackStatusWithLiterals as iH, type MembershipPaymentStatusWithLiterals as iI, type RefundStatusWithLiterals as iJ, type WebhookIdentityTypeWithLiterals as iK, type TextDetectionWithLiterals as iL, type AnimationDetectionWithLiterals as iM, type PreviewEmailTypeWithLiterals as iN, type StateWithLiterals as iO, type NamespaceWithLiterals as iP, type SortOrderWithLiterals as iQ, type VersioningModeWithLiterals as iR, type OrderApprovalStrategyWithLiterals as iS, type DeltaPaymentOptionTypeWithLiterals as iT, type InventoryActionWithLiterals as iU, type PlacementWithLiterals as iV, type SubdivisionTypeWithLiterals as iW, type SourceTypeWithLiterals as iX, type CustomFieldGroupWithLiterals as iY, type ValueTypeWithLiterals as iZ, type DepositTypeWithLiterals as i_, type DescriptionLineTypeWithLiterals as ia, type ItemTypeItemTypeWithLiterals as ib, type PaymentOptionTypeWithLiterals as ic, type JurisdictionTypeWithLiterals as id, type SubscriptionFrequencyWithLiterals as ie, type AdjustmentTypeWithLiterals as ig, type TaxableAddressTypeWithLiterals as ih, type PaymentStatusWithLiterals as ii, type FulfillmentStatusWithLiterals as ij, type WeightUnitWithLiterals as ik, type VatTypeWithLiterals as il, type PickupMethodWithLiterals as im, type OrderStatusWithLiterals as io, type DiscountTypeWithLiterals as ip, type DiscountReasonWithLiterals as iq, type LineItemQuantityChangeTypeWithLiterals as ir, type ActivityTypeWithLiterals as is, type AttributionSourceWithLiterals as it, type ChannelTypeWithLiterals as iu, type ScheduledActionWithLiterals as iv, type DurationUnitWithLiterals as iw, type PaymentCollectabilityStatusWithLiterals as ix, type RefundableStatusWithLiterals as iy, type NonRefundableReasonWithLiterals as iz, type CreateOrderApplicationErrors as j, type RecordManuallyCollectedPaymentApplicationErrors as j0, type PaymentCollectionMarkOrderAsPaidApplicationErrors as j1, type PaymentCollectionCreatePaymentGatewayOrderApplicationErrors as j2, type TriggerRefundApplicationErrors as j3, type CommitDeltasApplicationErrors as j4, type UpdateOrderStatusApplicationErrors as j5, onOrderApproved as j6, onOrderUpdated as j7, onOrderCanceled as j8, onOrderCreated as j9, preparePaymentCollection as ja, getPaymentCollectabilityStatus as jb, voidAuthorizedPayments as jc, captureAuthorizedPayments as jd, getOrder as je, type CommonSearchWithEntityContext as jf, createOrder as jg, updateOrder as jh, bulkUpdateOrders as ji, cancelOrder as jj, bulkUpdateOrderTags as jk, type UpdateOrderApplicationErrors as k, type BulkUpdateOrdersResponse as l, type CancelOrderOptions as m, type CancelOrderResponse as n, type CancelOrderApplicationErrors as o, type BulkUpdateOrderTagsOptions as p, type BulkUpdateOrderTagsResponse as q, type OrderApprovedEnvelope as r, type OrderUpdatedEnvelope as s, type OrderCanceledEnvelope as t, type OrderCreatedEnvelope as u, PaymentOptionType as v, SubscriptionFrequency as w, PaymentStatus as x, VatType as y, PickupMethod as z };
|