@wix/auto_sdk_ecom_orders 1.0.60 → 1.0.61

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.
Files changed (33) hide show
  1. package/build/{internal/cjs/ecom-v1-order-orders.universal-Dg-mwHfT.d.ts → cjs/ecom-v1-order-orders.universal-edSkdncQ.d.ts} +531 -393
  2. package/build/cjs/index.d.ts +23 -9
  3. package/build/cjs/index.js +1 -0
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +31 -0
  6. package/build/cjs/index.typings.js +3078 -0
  7. package/build/cjs/index.typings.js.map +1 -0
  8. package/build/cjs/meta.d.ts +1 -1
  9. package/build/{internal/es/ecom-v1-order-orders.universal-Dg-mwHfT.d.mts → es/ecom-v1-order-orders.universal-edSkdncQ.d.mts} +531 -393
  10. package/build/es/index.d.mts +23 -9
  11. package/build/es/index.mjs +1 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +31 -0
  14. package/build/es/index.typings.mjs +2979 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +1 -1
  17. package/build/{cjs/ecom-v1-order-orders.universal-C65mdJbP.d.ts → internal/cjs/ecom-v1-order-orders.universal-DeNyUgsJ.d.ts} +1211 -2
  18. package/build/internal/cjs/index.d.ts +41 -15
  19. package/build/internal/cjs/index.js +1 -0
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +31 -0
  22. package/build/internal/cjs/index.typings.js +3078 -0
  23. package/build/internal/cjs/index.typings.js.map +1 -0
  24. package/build/internal/cjs/meta.d.ts +1 -1
  25. package/build/{es/ecom-v1-order-orders.universal-C65mdJbP.d.mts → internal/es/ecom-v1-order-orders.universal-DeNyUgsJ.d.mts} +1211 -2
  26. package/build/internal/es/index.d.mts +41 -15
  27. package/build/internal/es/index.mjs +1 -0
  28. package/build/internal/es/index.mjs.map +1 -1
  29. package/build/internal/es/index.typings.d.mts +31 -0
  30. package/build/internal/es/index.typings.mjs +2979 -0
  31. package/build/internal/es/index.typings.mjs.map +1 -0
  32. package/build/internal/es/meta.d.mts +1 -1
  33. 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
  /**
@@ -2353,12 +2194,6 @@ interface BalanceSummary {
2353
2194
  * @readonly
2354
2195
  */
2355
2196
  authorized?: Price;
2356
- /**
2357
- * Sum of all pending refund transactions.
2358
- * @internal
2359
- * @readonly
2360
- */
2361
- pendingRefund?: Price;
2362
2197
  /**
2363
2198
  * Sum of all pending transactions.
2364
2199
  * @readonly
@@ -2425,14 +2260,6 @@ interface AdditionalFee {
2425
2260
  * @format GUID
2426
2261
  */
2427
2262
  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
2263
  }
2437
2264
  interface FulfillmentStatusesAggregate {
2438
2265
  /** Unique string values based on Fulfillment entities statuses */
@@ -2549,17 +2376,6 @@ interface PreparePaymentCollectionRequest {
2549
2376
  * @targetRemovalDate 2024-09-30
2550
2377
  */
2551
2378
  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
2379
  /** Delayed capture payment settings */
2564
2380
  delayedCaptureSettings?: DelayedCaptureSettings;
2565
2381
  }
@@ -3085,16 +2901,6 @@ interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
3085
2901
  regularPaymentDetails?: RegularPaymentDetails;
3086
2902
  /** Gift card payment details. */
3087
2903
  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
2904
  /**
3099
2905
  * Payment ID.
3100
2906
  * @format GUID
@@ -3116,14 +2922,6 @@ interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
3116
2922
  * + `false`: This payment may be refunded. However, this ultimately depends on the payment provider.
3117
2923
  */
3118
2924
  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
2925
  }
3128
2926
  /** @oneof */
3129
2927
  interface PaymentPaymentDetailsOneOf {
@@ -3134,16 +2932,6 @@ interface PaymentPaymentDetailsOneOf {
3134
2932
  }
3135
2933
  /** @oneof */
3136
2934
  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
2935
  }
3148
2936
  interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetailsOneOf {
3149
2937
  /** Whether regular card used */
@@ -3181,12 +2969,6 @@ interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetail
3181
2969
  savedPaymentMethod?: boolean;
3182
2970
  /** Authorization details. */
3183
2971
  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
2972
  }
3191
2973
  /** @oneof */
3192
2974
  interface RegularPaymentDetailsPaymentMethodDetailsOneOf {
@@ -3333,13 +3115,6 @@ interface GiftCardPaymentDetails {
3333
3115
  * @readonly
3334
3116
  */
3335
3117
  voided?: boolean;
3336
- /**
3337
- * Gift card obfuscated code.
3338
- * @internal
3339
- * @maxLength 30
3340
- * @immutable
3341
- */
3342
- obfuscatedCode?: string | null;
3343
3118
  }
3344
3119
  interface MembershipPaymentDetails {
3345
3120
  /**
@@ -4777,6 +4552,40 @@ interface BatchOfTriggerReindexOrderRequest {
4777
4552
  /** @maxSize 25 */
4778
4553
  requests?: TriggerReindexOrderRequest[];
4779
4554
  }
4555
+ interface ChargebackCreated {
4556
+ /**
4557
+ * ID of the payment that received a chargeback.
4558
+ * @format GUID
4559
+ */
4560
+ paymentId?: string;
4561
+ /**
4562
+ * Chargeback ID.
4563
+ * @format GUID
4564
+ */
4565
+ chargebackId?: string;
4566
+ /** Chargeback amount. */
4567
+ amount?: Price;
4568
+ /** Payment details. */
4569
+ paymentDetails?: RegularPayment;
4570
+ }
4571
+ interface ChargebackReversed {
4572
+ /**
4573
+ * ID of the payment involved with the chargeback.
4574
+ * @format GUID
4575
+ */
4576
+ paymentId?: string;
4577
+ /**
4578
+ * Chargeback ID.
4579
+ * @format GUID
4580
+ */
4581
+ chargebackId?: string;
4582
+ /** Chargeback amount. */
4583
+ amount?: Price;
4584
+ /** Chargeback reversal amount. */
4585
+ reversalAmount?: Price;
4586
+ /** Payment details. */
4587
+ paymentDetails?: RegularPayment;
4588
+ }
4780
4589
  interface DiffmatokyPayload {
4781
4590
  left?: string;
4782
4591
  right?: string;
@@ -4988,36 +4797,6 @@ interface DraftOrderDiffs extends DraftOrderDiffsShippingUpdateInfoOneOf, DraftO
4988
4797
  changedShippingInfo?: V1ShippingInformation;
4989
4798
  /** Remove existing shipping info. */
4990
4799
  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
4800
  /**
5022
4801
  * Added/updated/removed order line items.
5023
4802
  * @maxSize 300
@@ -5059,42 +4838,12 @@ interface DraftOrderDiffsShippingUpdateInfoOneOf {
5059
4838
  }
5060
4839
  /** @oneof */
5061
4840
  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
4841
  }
5073
4842
  /** @oneof */
5074
4843
  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
4844
  }
5086
4845
  /** @oneof */
5087
4846
  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
4847
  }
5099
4848
  interface V1LineItemDelta extends V1LineItemDeltaDeltaOneOf {
5100
4849
  /** The line item was added. */
@@ -5194,21 +4943,8 @@ interface OrderLineItemChangedDetails {
5194
4943
  * @maxSize 5
5195
4944
  */
5196
4945
  locations?: LocationAndQuantity[];
5197
- /**
5198
- * ID of the app managing the inventory.
5199
- * @internal
5200
- * @format GUID
5201
- */
5202
- inventoryAppId?: string | null;
5203
4946
  /** Subscription info. */
5204
4947
  subscriptionInfo?: SubscriptionInfo;
5205
- /**
5206
- * Modifier groups that were added to the item.
5207
- * @internal
5208
- * @readonly
5209
- * @maxSize 10
5210
- */
5211
- modifierGroups?: ModifierGroup[];
5212
4948
  }
5213
4949
  /** Type of selected payment option for catalog item */
5214
4950
  declare enum DeltaPaymentOptionType {
@@ -5595,35 +5331,6 @@ interface InternalActivity extends InternalActivityContentOneOf {
5595
5331
  draftOrderChangesApplied?: DraftOrderChangesApplied;
5596
5332
  /** Payment method is saved for order */
5597
5333
  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
5334
  /** Details of a pending payment */
5628
5335
  paymentPending?: PaymentPending;
5629
5336
  /** Details of a canceled payment */
@@ -5634,16 +5341,6 @@ interface InternalActivity extends InternalActivityContentOneOf {
5634
5341
  orderPending?: OrderPending;
5635
5342
  /** Order rejected */
5636
5343
  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
5344
  /**
5648
5345
  * Internal activity ID.
5649
5346
  * @format GUID
@@ -5708,35 +5405,6 @@ interface InternalActivityContentOneOf {
5708
5405
  draftOrderChangesApplied?: DraftOrderChangesApplied;
5709
5406
  /** Payment method is saved for order */
5710
5407
  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
5408
  /** Details of a pending payment */
5741
5409
  paymentPending?: PaymentPending;
5742
5410
  /** Details of a canceled payment */
@@ -5747,16 +5415,6 @@ interface InternalActivityContentOneOf {
5747
5415
  orderPending?: OrderPending;
5748
5416
  /** Order rejected */
5749
5417
  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
5418
  }
5761
5419
  /** Order placed */
5762
5420
  interface OrderPlaced {
@@ -6449,6 +6107,8 @@ declare enum SubdivisionType {
6449
6107
  /** ADMINISTRATIVE_AREA_LEVEL_0. Indicates the national political entity, and is typically the highest order type returned by the Geocoder. */
6450
6108
  COUNTRY = "COUNTRY"
6451
6109
  }
6110
+ /** @enumType */
6111
+ 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
6112
  /** Subdivision Concordance values */
6453
6113
  interface StandardDetails {
6454
6114
  /**
@@ -6699,6 +6359,175 @@ interface TriggerSideEffectsFromLegacyData {
6699
6359
  orderId?: string;
6700
6360
  ordersExperiments?: OrdersExperiments;
6701
6361
  }
6362
+ type PreparePaymentCollectionApplicationErrors = {
6363
+ code?: 'PAYMENT_METHODS_NOT_FOUND';
6364
+ description?: string;
6365
+ data?: Record<string, any>;
6366
+ } | {
6367
+ code?: 'ORDER_CANCELED';
6368
+ description?: string;
6369
+ data?: Record<string, any>;
6370
+ } | {
6371
+ code?: 'INVALID_AMOUNT';
6372
+ description?: string;
6373
+ data?: Record<string, any>;
6374
+ } | {
6375
+ code?: 'ORDER_ALREADY_PAID';
6376
+ description?: string;
6377
+ data?: Record<string, any>;
6378
+ } | {
6379
+ code?: 'NO_ASSOCIATED_ECOM_ORDER';
6380
+ description?: string;
6381
+ data?: Record<string, any>;
6382
+ };
6383
+ type RecordManuallyCollectedPaymentApplicationErrors = {
6384
+ code?: 'ORDER_ALREADY_PAID';
6385
+ description?: string;
6386
+ data?: Record<string, any>;
6387
+ } | {
6388
+ code?: 'INVALID_AMOUNT';
6389
+ description?: string;
6390
+ data?: Record<string, any>;
6391
+ } | {
6392
+ code?: 'ORDER_CANCELED';
6393
+ description?: string;
6394
+ data?: Record<string, any>;
6395
+ };
6396
+ type PaymentCollectionMarkOrderAsPaidApplicationErrors = {
6397
+ code?: 'ORDER_ALREADY_PAID';
6398
+ description?: string;
6399
+ data?: Record<string, any>;
6400
+ } | {
6401
+ code?: 'PAYMENT_GATEWAY_ID_NOT_FOUND';
6402
+ description?: string;
6403
+ data?: Record<string, any>;
6404
+ };
6405
+ type PaymentCollectionCreatePaymentGatewayOrderApplicationErrors = {
6406
+ code?: 'ORDER_ALREADY_PAID';
6407
+ description?: string;
6408
+ data?: Record<string, any>;
6409
+ } | {
6410
+ code?: 'ORDER_CANCELED';
6411
+ description?: string;
6412
+ data?: Record<string, any>;
6413
+ };
6414
+ type TriggerRefundApplicationErrors = {
6415
+ code?: 'PAYMENTS_NOT_FOUND';
6416
+ description?: string;
6417
+ data?: Record<string, any>;
6418
+ } | {
6419
+ code?: 'REFUND_NOT_AVAILABLE';
6420
+ description?: string;
6421
+ data?: Record<string, any>;
6422
+ } | {
6423
+ code?: 'INVALID_AMOUNT';
6424
+ description?: string;
6425
+ data?: Record<string, any>;
6426
+ };
6427
+ type VoidAuthorizedPaymentsApplicationErrors = {
6428
+ code?: 'PAYMENT_ALREADY_VOIDED';
6429
+ description?: string;
6430
+ data?: Record<string, any>;
6431
+ } | {
6432
+ code?: 'PAYMENT_ALREADY_CAPTURED';
6433
+ description?: string;
6434
+ data?: Record<string, any>;
6435
+ } | {
6436
+ code?: 'PAYMENT_NOT_AUTHORIZED';
6437
+ description?: string;
6438
+ data?: Record<string, any>;
6439
+ } | {
6440
+ code?: 'PAYMENT_NOT_FOUND';
6441
+ description?: string;
6442
+ data?: Record<string, any>;
6443
+ } | {
6444
+ code?: 'PAYMENT_GATEWAY_ID_NOT_FOUND';
6445
+ description?: string;
6446
+ data?: Record<string, any>;
6447
+ };
6448
+ type CaptureAuthorizedPaymentsApplicationErrors = {
6449
+ code?: 'INVALID_AMOUNT';
6450
+ description?: string;
6451
+ data?: Record<string, any>;
6452
+ } | {
6453
+ code?: 'NOT_REGULAR_ONLINE_PAYMENT';
6454
+ description?: string;
6455
+ data?: Record<string, any>;
6456
+ } | {
6457
+ code?: 'PAYMENT_ALREADY_VOIDED';
6458
+ description?: string;
6459
+ data?: Record<string, any>;
6460
+ } | {
6461
+ code?: 'PAYMENT_ALREADY_CAPTURED';
6462
+ description?: string;
6463
+ data?: Record<string, any>;
6464
+ } | {
6465
+ code?: 'PAYMENT_NOT_AUTHORIZED';
6466
+ description?: string;
6467
+ data?: Record<string, any>;
6468
+ } | {
6469
+ code?: 'PAYMENT_NOT_FOUND';
6470
+ description?: string;
6471
+ data?: Record<string, any>;
6472
+ } | {
6473
+ code?: 'PAYMENT_GATEWAY_ID_NOT_FOUND';
6474
+ description?: string;
6475
+ data?: Record<string, any>;
6476
+ } | {
6477
+ code?: 'PAYMENT_HAS_PENDING_CAPTURE';
6478
+ description?: string;
6479
+ data?: Record<string, any>;
6480
+ };
6481
+ type GetOrderApplicationErrors = {
6482
+ code?: 'ORDER_NOT_FOUND';
6483
+ description?: string;
6484
+ data?: Record<string, any>;
6485
+ };
6486
+ type CreateOrderApplicationErrors = {
6487
+ code?: 'PURCHASED_DATE_CANNOT_BE_IN_FUTURE';
6488
+ description?: string;
6489
+ data?: Record<string, any>;
6490
+ };
6491
+ type UpdateOrderApplicationErrors = {
6492
+ code?: 'ORDER_IS_PENDING';
6493
+ description?: string;
6494
+ data?: Record<string, any>;
6495
+ } | {
6496
+ code?: 'ORDER_IS_REJECTED';
6497
+ description?: string;
6498
+ data?: Record<string, any>;
6499
+ };
6500
+ type CommitDeltasApplicationErrors = {
6501
+ code?: 'EMPTY_DELTAS_TO_COMMIT';
6502
+ description?: string;
6503
+ data?: Record<string, any>;
6504
+ };
6505
+ type CancelOrderApplicationErrors = {
6506
+ code?: 'ORDER_HAS_AUTHORIZED_TRANSACTION';
6507
+ description?: string;
6508
+ data?: Record<string, any>;
6509
+ } | {
6510
+ code?: 'ORDER_IS_PENDING';
6511
+ description?: string;
6512
+ data?: Record<string, any>;
6513
+ } | {
6514
+ code?: 'ORDER_IS_REJECTED';
6515
+ description?: string;
6516
+ data?: Record<string, any>;
6517
+ };
6518
+ type UpdateOrderStatusApplicationErrors = {
6519
+ code?: 'STATUS_NOT_SUPPORTED';
6520
+ description?: string;
6521
+ data?: Record<string, any>;
6522
+ } | {
6523
+ code?: 'UNSUPPORTED_TRANSITION';
6524
+ description?: string;
6525
+ data?: Record<string, any>;
6526
+ } | {
6527
+ code?: 'STATUS_ALREADY_SET';
6528
+ description?: string;
6529
+ data?: Record<string, any>;
6530
+ };
6702
6531
  interface BaseEventMetadata {
6703
6532
  /**
6704
6533
  * App instance ID.
@@ -6747,18 +6576,134 @@ interface OrderApprovedEnvelope {
6747
6576
  data: OrderApproved;
6748
6577
  metadata: EventMetadata;
6749
6578
  }
6579
+ /** @permissionScope Manage Stores - all permissions
6580
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
6581
+ * @permissionScope Manage Stores
6582
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
6583
+ * @permissionScope Read eCommerce - all read permissions
6584
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
6585
+ * @permissionScope Read Orders
6586
+ * @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
6587
+ * @permissionScope Read Stores - all read permissions
6588
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
6589
+ * @permissionScope Manage Restaurants - all permissions
6590
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
6591
+ * @permissionScope Manage eCommerce - all permissions
6592
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
6593
+ * @permissionScope Manage Orders
6594
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
6595
+ * @permissionId ECOM.READ_ORDERS
6596
+ * @webhook
6597
+ * @eventType wix.ecom.v1.order_approved
6598
+ * @slug approved
6599
+ */
6600
+ declare function onOrderApproved(handler: (event: OrderApprovedEnvelope) => void | Promise<void>): void;
6750
6601
  interface OrderUpdatedEnvelope {
6751
6602
  entity: Order;
6752
6603
  metadata: EventMetadata;
6753
6604
  }
6605
+ /** @permissionScope Manage Stores - all permissions
6606
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
6607
+ * @permissionScope Manage Stores
6608
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
6609
+ * @permissionScope Read eCommerce - all read permissions
6610
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
6611
+ * @permissionScope Read Orders
6612
+ * @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
6613
+ * @permissionScope Read Stores - all read permissions
6614
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
6615
+ * @permissionScope Manage Restaurants - all permissions
6616
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
6617
+ * @permissionScope Manage eCommerce - all permissions
6618
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
6619
+ * @permissionScope Manage Orders
6620
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
6621
+ * @permissionId ECOM.READ_ORDERS
6622
+ * @webhook
6623
+ * @eventType wix.ecom.v1.order_updated
6624
+ * @slug updated
6625
+ */
6626
+ declare function onOrderUpdated(handler: (event: OrderUpdatedEnvelope) => void | Promise<void>): void;
6754
6627
  interface OrderCanceledEnvelope {
6755
6628
  data: OrderCanceledEventOrderCanceled;
6756
6629
  metadata: EventMetadata;
6757
6630
  }
6631
+ /**
6632
+ * Triggered when an order is canceled.
6633
+ * 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).
6634
+ * @permissionScope Manage Stores - all permissions
6635
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
6636
+ * @permissionScope Manage Stores
6637
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
6638
+ * @permissionScope Read eCommerce - all read permissions
6639
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
6640
+ * @permissionScope Read Orders
6641
+ * @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
6642
+ * @permissionScope Read Stores - all read permissions
6643
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
6644
+ * @permissionScope Manage Restaurants - all permissions
6645
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
6646
+ * @permissionScope Manage eCommerce - all permissions
6647
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
6648
+ * @permissionScope Manage Orders
6649
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
6650
+ * @permissionId ECOM.READ_ORDERS
6651
+ * @webhook
6652
+ * @eventType wix.ecom.v1.order_canceled
6653
+ * @serviceIdentifier com.wix.ecom.orders.v1.Orders
6654
+ * @slug canceled
6655
+ */
6656
+ declare function onOrderCanceled(handler: (event: OrderCanceledEnvelope) => void | Promise<void>): void;
6758
6657
  interface OrderCreatedEnvelope {
6759
6658
  entity: Order;
6760
6659
  metadata: EventMetadata;
6761
6660
  }
6661
+ /**
6662
+ * Triggered when an order is created.
6663
+ * Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
6664
+ * @permissionScope Manage Stores - all permissions
6665
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
6666
+ * @permissionScope Manage Stores
6667
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
6668
+ * @permissionScope Read eCommerce - all read permissions
6669
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
6670
+ * @permissionScope Read Orders
6671
+ * @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
6672
+ * @permissionScope Read Stores - all read permissions
6673
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
6674
+ * @permissionScope Manage Restaurants - all permissions
6675
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
6676
+ * @permissionScope Manage eCommerce - all permissions
6677
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
6678
+ * @permissionScope Manage Orders
6679
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
6680
+ * @permissionId ECOM.READ_ORDERS
6681
+ * @webhook
6682
+ * @eventType wix.ecom.v1.order_created
6683
+ * @serviceIdentifier com.wix.ecom.orders.v1.Orders
6684
+ * @slug created
6685
+ */
6686
+ declare function onOrderCreated(handler: (event: OrderCreatedEnvelope) => void | Promise<void>): void;
6687
+ 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`;
6688
+ /**
6689
+ * Prepares payment collection for given ecom order. This is the first of 2-step process of payment collection.
6690
+ * Here we ensure that payment collection is possible for given order and store and prepare payment gateway order for future charge.
6691
+ * 2nd step is an actual charge of prepared payment gateway order. This could be done either
6692
+ * via Wix-Cashier's API (https://bo.wix.com/wix-docs/rest/wix-cashier/pay/charge/charge-for-order)
6693
+ * or using Cashier Payments Widget (https://github.com/wix-private/cashier-client/tree/master/packages/cashier-payments-widget)
6694
+ * @param ecomOrderId - Ecom order ID.
6695
+ * @param amount - Amount to collect
6696
+ * @public
6697
+ * @documentationMaturity preview
6698
+ * @requiredField amount
6699
+ * @requiredField ecomOrderId
6700
+ * @permissionId ECOM.COLLECT_PAYMENTS
6701
+ * @applicableIdentity APP
6702
+ * @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.PreparePaymentCollection
6703
+ */
6704
+ declare function preparePaymentCollection(ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise<NonNullablePaths<PreparePaymentCollectionResponse, `paymentGatewayOrderId`> & {
6705
+ __applicationErrorsType?: PreparePaymentCollectionApplicationErrors;
6706
+ }>;
6762
6707
  interface PreparePaymentCollectionOptions {
6763
6708
  /**
6764
6709
  * Optional parameter. When present, payment collection will be performed using given payment gateway order.
@@ -6778,6 +6723,19 @@ interface PreparePaymentCollectionOptions {
6778
6723
  /** Delayed capture payment settings */
6779
6724
  delayedCaptureSettings?: DelayedCaptureSettings;
6780
6725
  }
6726
+ /**
6727
+ * Provides payment collectability status for given order. If payment collection is possible
6728
+ * response will contain collectable amount for given ecom order. If not - response will contain
6729
+ * reason why payment collection is not possible.
6730
+ * @param ecomOrderId - Ecom order ID.
6731
+ * @public
6732
+ * @documentationMaturity preview
6733
+ * @requiredField ecomOrderId
6734
+ * @permissionId ECOM.COLLECT_PAYMENTS
6735
+ * @applicableIdentity APP
6736
+ * @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.GetPaymentCollectabilityStatus
6737
+ */
6738
+ declare function getPaymentCollectabilityStatus(ecomOrderId: string): Promise<NonNullablePaths<GetPaymentCollectabilityStatusResponse, `status` | `amount.amount` | `amount.formattedAmount`>>;
6781
6739
  interface PaymentCollectionCreatePaymentGatewayOrderOptions {
6782
6740
  /** Information about the user who initiated the payment. */
6783
6741
  chargedBy?: ChargedBy;
@@ -6796,6 +6754,58 @@ interface TriggerRefundOptions {
6796
6754
  /** Side effect details related to refund */
6797
6755
  sideEffects?: RefundSideEffects;
6798
6756
  }
6757
+ /**
6758
+ * Void authorized payments
6759
+ * Transaction statuses for related payments will be updated in async way
6760
+ * @param ecomOrderId - Wix eCommerce order ID
6761
+ * @param paymentIds - Payment IDs
6762
+ * @public
6763
+ * @documentationMaturity preview
6764
+ * @requiredField ecomOrderId
6765
+ * @requiredField paymentIds
6766
+ * @permissionId ECOM.ORDER_VOID_AUTHORIZED_PAYMENT
6767
+ * @applicableIdentity APP
6768
+ * @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.VoidAuthorizedPayments
6769
+ */
6770
+ 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`> & {
6771
+ __applicationErrorsType?: VoidAuthorizedPaymentsApplicationErrors;
6772
+ }>;
6773
+ /**
6774
+ * Capture authorized payments
6775
+ * Transaction statuses for related payments will be updated in async way
6776
+ * @param ecomOrderId - Wix eCommerce order ID
6777
+ * @param payments - Capture payments information
6778
+ * @public
6779
+ * @documentationMaturity preview
6780
+ * @requiredField ecomOrderId
6781
+ * @requiredField payments
6782
+ * @requiredField payments.paymentId
6783
+ * @permissionId ECOM.ORDER_CAPTURE_AUTHORIZED_PAYMENT
6784
+ * @applicableIdentity APP
6785
+ * @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.CaptureAuthorizedPayments
6786
+ */
6787
+ 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`> & {
6788
+ __applicationErrorsType?: CaptureAuthorizedPaymentsApplicationErrors;
6789
+ }>;
6790
+ /**
6791
+ * Retrieves an order.
6792
+ *
6793
+ *
6794
+ * The `getOrder()` function returns a Promise that resolves when the specified order is retrieved.
6795
+ *
6796
+ * 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).
6797
+ * @param _id - ID of the order to retrieve.
6798
+ * @public
6799
+ * @requiredField _id
6800
+ * @permissionId ECOM.READ_ORDERS
6801
+ * @permissionId ECOM.ORDER_READ_ALL_EXTENDED_FIELDS
6802
+ * @applicableIdentity APP
6803
+ * @returns Fulfilled - The requested order.
6804
+ * @fqn com.wix.ecom.orders.v1.Orders.GetOrder
6805
+ */
6806
+ declare function getOrder(_id: string): Promise<NonNullablePaths<Order, OrderNonNullablePaths> & {
6807
+ __applicationErrorsType?: GetOrderApplicationErrors;
6808
+ }>;
6799
6809
  interface OrderSearchSpec extends SearchSpec {
6800
6810
  paging: 'cursor';
6801
6811
  wql: [
@@ -6923,10 +6933,83 @@ type OrderSearch = {
6923
6933
  order?: NonNullable<CommonSearchWithEntityContext['sort']>[number]['order'];
6924
6934
  }[];
6925
6935
  };
6936
+ /**
6937
+ * Creates an order.
6938
+ *
6939
+ *
6940
+ * The `createOrder()` function returns a Promise that resolves when the order is created.
6941
+ *
6942
+ * > **Notes:**
6943
+ * > + If an item is digital - `lineItems[i].itemType.preset: DIGITAL` - then `lineItems[i].digitalFile` must be provided.
6944
+ * > + If `lineItems[i].id` is passed, it must be either a valid GUID, or empty.
6945
+ * @param order - Order info.
6946
+ * @public
6947
+ * @requiredField order
6948
+ * @requiredField order.billingInfo.contactDetails
6949
+ * @requiredField order.channelInfo
6950
+ * @requiredField order.currencyConversionDetails.conversionRate
6951
+ * @requiredField order.currencyConversionDetails.originalCurrency
6952
+ * @requiredField order.lineItems
6953
+ * @requiredField order.lineItems.catalogReference.appId
6954
+ * @requiredField order.lineItems.catalogReference.catalogItemId
6955
+ * @requiredField order.lineItems.itemType
6956
+ * @requiredField order.lineItems.price
6957
+ * @requiredField order.lineItems.productName
6958
+ * @requiredField order.lineItems.productName.original
6959
+ * @requiredField order.lineItems.quantity
6960
+ * @requiredField order.priceSummary
6961
+ * @permissionId ECOM.CREATE_ORDERS
6962
+ * @permissionId ECOM.ORDER_WRITE_ALL_EXTENDED_FIELDS
6963
+ * @applicableIdentity APP
6964
+ * @returns Newly created order.
6965
+ * @fqn com.wix.ecom.orders.v1.Orders.CreateOrder
6966
+ */
6967
+ 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> & {
6968
+ __applicationErrorsType?: CreateOrderApplicationErrors;
6969
+ }>;
6926
6970
  interface CreateOrderOptions {
6927
6971
  /** Determine order lifecycle */
6928
6972
  settings?: OrderCreationSettings;
6929
6973
  }
6974
+ /**
6975
+ * Updates an order.
6976
+ *
6977
+ *
6978
+ * The `updateOrder()` function returns a Promise that resolves when the specified order's information is updated.
6979
+ *
6980
+ * Currently, the following fields can be updated:
6981
+ * + `order.buyerInfo.email`
6982
+ * + `order.buyerLanguage`
6983
+ * + `order.weightUnit`
6984
+ * + `order.billingInfo.address`
6985
+ * + `order.billingInfo.contactDetails`
6986
+ * + `order.archived`
6987
+ * + `order.attributionSource`
6988
+ * + `order.seenByAHuman`
6989
+ * + `order.recipientInfo.address`
6990
+ * + `order.recipientInfo.contactDetails`
6991
+ * + `order.shippingInfo.logistics.shippingDestination.address`
6992
+ * + `order.shippingInfo.logistics.shippingDestination.contactDetails`
6993
+ *
6994
+ * To update a field's value, include the new value in the `order` object in the method parameters.
6995
+ * To remove a field's value, pass `null`.
6996
+ *
6997
+ * > **Note:** Removing `buyerInfo` or `contactDetails` fields results in an error.
6998
+ *
6999
+ * To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
7000
+ * @param _id - Order ID.
7001
+ * @public
7002
+ * @requiredField _id
7003
+ * @requiredField order
7004
+ * @permissionId ECOM.MODIFY_ORDERS
7005
+ * @permissionId ECOM.ORDER_WRITE_ALL_EXTENDED_FIELDS
7006
+ * @applicableIdentity APP
7007
+ * @returns Newly created order.
7008
+ * @fqn com.wix.ecom.orders.v1.Orders.UpdateOrder
7009
+ */
7010
+ declare function updateOrder(_id: string, order: UpdateOrder): Promise<NonNullablePaths<Order, OrderNonNullablePaths> & {
7011
+ __applicationErrorsType?: UpdateOrderApplicationErrors;
7012
+ }>;
6930
7013
  interface UpdateOrder {
6931
7014
  /**
6932
7015
  * Order ID.
@@ -7100,6 +7183,44 @@ interface UpdateOrder {
7100
7183
  */
7101
7184
  payAfterFreeTrial?: PriceSummary;
7102
7185
  }
7186
+ /**
7187
+ * Updates up to 100 orders.
7188
+ *
7189
+ *
7190
+ * The `bulkUpdateOrders()` function returns a Promise that resolves when the specified orders' information is updated.
7191
+ *
7192
+ * Currently, the following fields can be updated:
7193
+ * + `order.buyerInfo.email`
7194
+ * + `order.buyerLanguage`
7195
+ * + `order.weightUnit`
7196
+ * + `order.billingInfo.address`
7197
+ * + `order.billingInfo.contactDetails`
7198
+ * + `order.archived`
7199
+ * + `order.attributionSource`
7200
+ * + `order.seenByAHuman`
7201
+ * + `order.recipientInfo.address`
7202
+ * + `order.recipientInfo.contactDetails`
7203
+ * + `order.shippingInfo.logistics.shippingDestination.address`
7204
+ * + `order.shippingInfo.logistics.shippingDestination.contactDetails`
7205
+ *
7206
+ * To update a field's value, include the new value in the `orders.order` object in the method parameters.
7207
+ * To remove a field's value, pass `null`.
7208
+ *
7209
+ * > **Note:** Removing `buyerInfo` or `contactDetails` fields results in an error.
7210
+ *
7211
+ * To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
7212
+ * @param orders - Orders to update.
7213
+ * @public
7214
+ * @requiredField orders
7215
+ * @requiredField orders.order
7216
+ * @requiredField orders.order._id
7217
+ * @permissionId ECOM.MODIFY_ORDERS
7218
+ * @applicableIdentity APP
7219
+ * @fqn com.wix.ecom.orders.v1.Orders.BulkUpdateOrders
7220
+ */
7221
+ 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` | {
7222
+ [P in OrderNonNullablePaths]: `results.${number}.item.${P}`;
7223
+ }[OrderNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
7103
7224
  interface BulkUpdateOrdersOptions {
7104
7225
  /**
7105
7226
  * Whether to return the full order entities.
@@ -7248,25 +7369,12 @@ interface UpdateOrderLineItem {
7248
7369
  locations?: LocationAndQuantity[];
7249
7370
  /** Address used for tax calculation. */
7250
7371
  taxableAddress?: TaxableAddress;
7251
- /**
7252
- * ID of the app managing the inventory.
7253
- * @internal
7254
- * @format GUID
7255
- */
7256
- inventoryAppId?: string | null;
7257
7372
  /**
7258
7373
  * Custom extended fields for the line item object.
7259
7374
  *
7260
7375
  * [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
7376
  */
7262
7377
  extendedFields?: ExtendedFields;
7263
- /**
7264
- * Modifier groups that were added to the item.
7265
- * @internal
7266
- * @readonly
7267
- * @maxSize 10
7268
- */
7269
- modifierGroups?: ModifierGroup[];
7270
7378
  }
7271
7379
  interface UpdateActivityIdentifiers {
7272
7380
  /**
@@ -7294,6 +7402,23 @@ interface DeleteActivityIdentifiers {
7294
7402
  */
7295
7403
  activityId: string;
7296
7404
  }
7405
+ /**
7406
+ * Cancels an order.
7407
+ *
7408
+ *
7409
+ * The `cancelOrder()` function returns a Promise that resolves when the specified order is canceled and the `order.status` field changes to `CANCELED`.
7410
+ * @param _id - Order ID.
7411
+ * @public
7412
+ * @requiredField _id
7413
+ * @permissionId ECOM.MODIFY_ORDERS
7414
+ * @applicableIdentity APP
7415
+ * @fqn com.wix.ecom.orders.v1.Orders.CancelOrder
7416
+ */
7417
+ declare function cancelOrder(_id: string, options?: CancelOrderOptions): Promise<NonNullablePaths<CancelOrderResponse, {
7418
+ [P in OrderNonNullablePaths]: `order.${P}`;
7419
+ }[OrderNonNullablePaths]> & {
7420
+ __applicationErrorsType?: CancelOrderApplicationErrors;
7421
+ }>;
7297
7422
  interface CancelOrderOptions {
7298
7423
  /** Whether to send an order canceled email to the buyer. */
7299
7424
  sendOrderCanceledEmail?: boolean;
@@ -7322,6 +7447,19 @@ interface AggregateOrdersOptions {
7322
7447
  */
7323
7448
  hierarchySeparatorOverride?: string | null;
7324
7449
  }
7450
+ /**
7451
+ * Synchronously update tags on multiple orders, by list of order IDs.
7452
+ *
7453
+ * > **Note:** If the same tag is passed to both the `assignTags` and `unassignTags` fields, it will be assigned.
7454
+ * @param orderIds - IDs of orders to update tags for.
7455
+ * @public
7456
+ * @requiredField orderIds
7457
+ * @permissionId ECOM.MODIFY_ORDERS
7458
+ * @permissionId ECOM.ORDER_MODIFY_PRIVATE_TAGS
7459
+ * @applicableIdentity APP
7460
+ * @fqn com.wix.ecom.orders.v1.Orders.BulkUpdateOrderTags
7461
+ */
7462
+ 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
7463
  interface BulkUpdateOrderTagsOptions {
7326
7464
  /** Tags to be added to orders */
7327
7465
  assignTags?: Tags;
@@ -7329,4 +7467,4 @@ interface BulkUpdateOrderTagsOptions {
7329
7467
  unassignTags?: Tags;
7330
7468
  }
7331
7469
 
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 };
7470
+ 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 AddressWithContact as a$, ManuallyRefundableReason as a0, RestockType as a1, TransactionStatus as a2, AuthorizationCaptureStatus as a3, AuthorizationVoidStatus as a4, Reason as a5, ActionType as a6, MembershipPaymentStatus as a7, RefundStatus as a8, WebhookIdentityType as a9, type FocalPoint as aA, type PhysicalProperties as aB, type ItemType as aC, type ItemTypeItemTypeDataOneOf as aD, type ItemTaxFullDetails as aE, type LineItemTaxInfo as aF, type LineItemTaxBreakdown as aG, type DigitalFile as aH, type SubscriptionInfo as aI, type SubscriptionTitle as aJ, type SubscriptionDescription as aK, type SubscriptionSettings as aL, type FreeTrialPeriod as aM, type BillingAdjustment as aN, type BillingAdjustmentPriceSummary as aO, type PriceDescription as aP, type LocationAndQuantity as aQ, type TaxableAddress as aR, type TaxableAddressTaxableAddressDataOneOf as aS, type ExtendedFields as aT, type ModifierGroup as aU, type TranslatableString as aV, type ItemModifier as aW, type BuyerInfo as aX, type BuyerInfoIdOneOf as aY, type CurrencyConversionDetails as aZ, type PriceSummary as a_, TextDetection as aa, AnimationDetection as ab, PreviewEmailType as ac, State as ad, Namespace as ae, SortOrder as af, VersioningMode as ag, OrderApprovalStrategy as ah, DeltaPaymentOptionType as ai, InventoryAction as aj, Placement as ak, SubdivisionType as al, SourceType as am, CustomFieldGroup as an, ValueType as ao, DepositType as ap, InvoiceStatus as aq, type OrderLineItem as ar, type ProductName as as, type CatalogReference as at, type DescriptionLine as au, type DescriptionLineValueOneOf as av, type DescriptionLineDescriptionLineValueOneOf as aw, type DescriptionLineName as ax, type PlainTextValue as ay, type Color as az, type PreparePaymentCollectionResponse as b, type CreditCardDetails as b$, type Address as b0, type StreetAddress as b1, type AddressLocation as b2, type FullAddressContactDetails as b3, type VatId as b4, type V1ShippingInformation as b5, type DeliveryLogistics as b6, type DeliveryLogisticsAddressOneOf as b7, type PickupDetails as b8, type PickupAddress as b9, type LineItemQuantityChange as bA, type LineItemPriceChange as bB, type ManagedLineItem as bC, type ManagedDiscount as bD, type TranslatedValue as bE, type LineItemAmount as bF, type ManagedAdditionalFee as bG, type TotalPriceChange as bH, type ShippingInformationChange as bI, type ShippingInformation as bJ, type SavedPaymentMethod as bK, type AuthorizedPaymentCreated as bL, type AuthorizedPaymentCaptured as bM, type AuthorizedPaymentVoided as bN, type RefundInitiated as bO, type RefundedPayment as bP, type RefundedPaymentKindOneOf as bQ, type RegularPaymentRefund as bR, type GiftCardPaymentRefund as bS, type MembershipPaymentRefund as bT, type PaymentRefunded as bU, type PaymentRefundFailed as bV, type RefundedAsStoreCredit as bW, type PaymentPending as bX, type PaymentPendingPaymentDetailsOneOf as bY, type RegularPayment as bZ, type RegularPaymentPaymentMethodDetailsOneOf as b_, type DeliveryTimeSlot as ba, type ShippingPrice as bb, type ShippingRegion as bc, type TaxSummary as bd, type OrderTaxInfo as be, type OrderTaxBreakdown as bf, type AppliedDiscount as bg, type AppliedDiscountDiscountSourceOneOf as bh, type Coupon as bi, type MerchantDiscount as bj, type MerchantDiscountMerchantDiscountReasonOneOf as bk, type DiscountRule as bl, type DiscountRuleName as bm, type LineItemDiscount as bn, type Activity as bo, type ActivityContentOneOf as bp, type CustomActivity as bq, type MerchantComment as br, type OrderRefunded as bs, type OrderCreatedFromExchange as bt, type NewExchangeOrderCreated as bu, type LineItemExchangeData as bv, type DraftOrderChangesApplied as bw, type OrderChange as bx, type OrderChangeValueOneOf as by, type LineItemChanges as bz, type PreparePaymentCollectionApplicationErrors as c, type TriggerRefundResponse as c$, type PaymentCanceled as c0, type PaymentCanceledPaymentDetailsOneOf as c1, type PaymentDeclined as c2, type PaymentDeclinedPaymentDetailsOneOf as c3, type ReceiptCreated as c4, type ReceiptCreatedReceiptInfoOneOf as c5, type WixReceipt as c6, type ExternalReceipt as c7, type ReceiptSent as c8, type ReceiptSentReceiptInfoOneOf as c9, type BulkMarkOrdersAsPaidResponse as cA, type BulkOrderResult as cB, type ItemMetadata as cC, type ApplicationError as cD, type BulkActionMetadata as cE, type GetRefundabilityStatusRequest as cF, type GetRefundabilityStatusResponse as cG, type Refundability as cH, type RefundabilityAdditionalRefundabilityInfoOneOf as cI, type CreatePaymentGatewayOrderRequest as cJ, type ChargedBy as cK, type CreatePaymentGatewayOrderResponse as cL, type ChargeMembershipsRequest as cM, type MembershipChargeItem as cN, type MembershipName as cO, type ServiceProperties as cP, type ChargeMembershipsResponse as cQ, type TriggerRefundRequest as cR, type PaymentRefund as cS, type RefundDetails as cT, type RefundItem as cU, type LineItemRefund as cV, type AdditionalFeeRefund as cW, type ShippingRefund as cX, type RefundSideEffects as cY, type RestockInfo as cZ, type RestockItem as c_, type CreatedBy as ca, type CreatedByStringOneOf as cb, type ChannelInfo as cc, type CustomField as cd, type BalanceSummary as ce, type Balance as cf, type AdditionalFee as cg, type FulfillmentStatusesAggregate as ch, type Tags as ci, type TagList as cj, type Location as ck, type OrderApproved as cl, type OrdersExperiments as cm, type OrderRejectedEventOrderRejected as cn, type OrderItemsRestocked as co, type V1RestockItem as cp, type PreparePaymentCollectionRequest as cq, type RedirectUrls as cr, type DelayedCaptureSettings as cs, type Duration as ct, type GetPaymentCollectabilityStatusRequest as cu, type RecordManuallyCollectedPaymentRequest as cv, type RecordManuallyCollectedPaymentResponse as cw, type MarkOrderAsPaidRequest as cx, type MarkOrderAsPaidResponse as cy, type BulkMarkOrdersAsPaidRequest as cz, type VoidAuthorizedPaymentsApplicationErrors as d, type PreviewEmailByTypeRequest as d$, type OrderTransactions as d0, type Payment as d1, type PaymentPaymentDetailsOneOf as d2, type PaymentReceiptInfoOneOf as d3, type RegularPaymentDetails as d4, type RegularPaymentDetailsPaymentMethodDetailsOneOf as d5, type CreditCardPaymentMethodDetails as d6, type AuthorizationDetails as d7, type AuthorizationCapture as d8, type AuthorizationActionFailureDetails as d9, type EntityDeletedEvent as dA, type ActionEvent as dB, type Empty as dC, type MessageEnvelope as dD, type IdentificationData as dE, type IdentificationDataIdOneOf as dF, type ImageContent as dG, type SendBuyerConfirmationEmailRequest as dH, type SendBuyerConfirmationEmailResponse as dI, type SendBuyerPaymentsReceivedEmailRequest as dJ, type SendBuyerPaymentsReceivedEmailResponse as dK, type SendBuyerPickupConfirmationEmailRequest as dL, type SendBuyerPickupConfirmationEmailResponse as dM, type BulkSendBuyerPickupConfirmationEmailsRequest as dN, type BulkSendBuyerPickupConfirmationEmailsResponse as dO, type SendBuyerShippingConfirmationEmailRequest as dP, type SendBuyerShippingConfirmationEmailResponse as dQ, type BulkSendBuyerShippingConfirmationEmailsRequest as dR, type BulkSendBuyerShippingConfirmationEmailsResponse as dS, type SendMerchantOrderReceivedNotificationRequest as dT, type SendMerchantOrderReceivedNotificationResponse as dU, type SendCancelRefundEmailRequest as dV, type SendCancelRefundEmailResponse as dW, type SendRefundEmailRequest as dX, type SendRefundEmailResponse as dY, type SendMerchantOrderReceivedPushRequest as dZ, type SendMerchantOrderReceivedPushResponse as d_, type AuthorizationVoid as da, type V1ScheduledAction as db, type GiftCardPaymentDetails as dc, type MembershipPaymentDetails as dd, type WixReceiptInfo as de, type ExternalReceiptInfo as df, type Refund as dg, type RefundTransaction as dh, type RefundStatusInfo as di, type AggregatedRefundSummary as dj, type RefundItemsBreakdown as dk, type LineItemRefundSummary as dl, type CalculateRefundRequest as dm, type CalculateRefundItemRequest as dn, type CalculateRefundResponse as dp, type CalculateRefundItemResponse as dq, type VoidAuthorizedPaymentsRequest as dr, type CaptureAuthorizedPaymentsRequest as ds, type ChargeSavedPaymentMethodRequest as dt, type ChargeSavedPaymentMethodResponse as du, type DomainEvent as dv, type DomainEventBodyOneOf as dw, type EntityCreatedEvent as dx, type RestoreInfo as dy, type EntityUpdatedEvent as dz, type PaymentCapture as e, type VersionedDocumentId as e$, type PreviewEmailByTypeResponse as e0, type PreviewRefundEmailRequest as e1, type PreviewRefundEmailResponse as e2, type PreviewCancelEmailRequest as e3, type PreviewCancelEmailResponse as e4, type PreviewCancelRefundEmailRequest as e5, type PreviewCancelRefundEmailResponse as e6, type PreviewBuyerPaymentsReceivedEmailRequest as e7, type PreviewBuyerPaymentsReceivedEmailResponse as e8, type PreviewBuyerConfirmationEmailRequest as e9, type QueryOrdersForMetasiteResponse as eA, type PlatformPagingMetadata as eB, type Cursors as eC, type GetOrderForMetasiteRequest as eD, type GetOrderForMetasiteResponse as eE, type ListOrderTransactionsForMetasiteRequest as eF, type ListOrderTransactionsForMetasiteResponse as eG, type UpsertRefundRequest as eH, type UpsertRefundResponse as eI, type GetOrderOutOfBoxRequest as eJ, type GetOrderOutOfBoxResponse as eK, type GetOrderAgcRequest as eL, type GetOrderAgcResponse as eM, type GetOrderWithFilterByLocationRequest as eN, type GetOrderWithFilterByLocationResponse as eO, type V1UpdateOrderRequest as eP, type V1UpdateOrderResponse as eQ, type UpdateInternalDocumentsEvent as eR, type UpdateInternalDocumentsEventOperationOneOf as eS, type InternalDocument as eT, type InternalDocumentUpdateOperation as eU, type DeleteByIdsOperation as eV, type DeleteByFilterOperation as eW, type InternalDocumentUpdateByFilterOperation as eX, type InternalUpdateExistingOperation as eY, type VersionedDocumentUpdateOperation as eZ, type VersionedDeleteByIdsOperation as e_, type PreviewBuyerConfirmationEmailResponse as ea, type PreviewBuyerPickupConfirmationEmailRequest as eb, type PreviewBuyerPickupConfirmationEmailResponse as ec, type PreviewShippingConfirmationEmailRequest as ed, type PreviewShippingConfirmationEmailResponse as ee, type PreviewResendDownloadLinksEmailRequest as ef, type PreviewResendDownloadLinksEmailResponse as eg, type TriggerReindexOrderRequest as eh, type SnapshotMessage as ei, type PaymentStatusUpdated as ej, type GetMetasiteDataRequest as ek, type GetMetasiteDataResponse as el, type MetaSite as em, type App as en, type SeoData as eo, type MetaTag as ep, type HtmlApplication as eq, type ExternalUriMapping as er, type UserDataResponse as es, type QueryOrdersForMetasiteRequest as et, type InternalQueryOrdersRequest as eu, type PlatformQuery as ev, type PlatformQueryPagingMethodOneOf as ew, type Sorting as ex, type PlatformPaging as ey, type CursorPaging as ez, type CaptureAuthorizedPaymentsApplicationErrors as f, type UpdateBuyerEmailResponse as f$, type TriggerReindexRequest as f0, type TriggerReindexResponse as f1, type BatchOfTriggerReindexOrderRequest as f2, type ChargebackCreated as f3, type ChargebackReversed as f4, type DiffmatokyPayload as f5, type ErrorInformation as f6, type ContinueSideEffectsFlowInLegacyData as f7, type IndexingMessage as f8, type GetOrderRequest as f9, type AppliedDiscountDeltaDeltaOneOf as fA, type AdditionalFeeDelta as fB, type AdditionalFeeDeltaDeltaOneOf as fC, type DraftOrderCommitSettings as fD, type InventoryUpdateDetails as fE, type CommitDeltasResponse as fF, type OrderDeltasCommitted as fG, type CommittedDiffs as fH, type CommittedDiffsShippingUpdateInfoOneOf as fI, type LineItemDelta as fJ, type LineItemDeltaDeltaOneOf as fK, type ArchiveOrderRequest as fL, type ArchiveOrderResponse as fM, type BulkArchiveOrdersRequest as fN, type BulkArchiveOrdersResponse as fO, type BulkArchiveOrdersByFilterRequest as fP, type BulkArchiveOrdersByFilterResponse as fQ, type UnArchiveOrderRequest as fR, type UnArchiveOrderResponse as fS, type BulkUnArchiveOrdersRequest as fT, type BulkUnArchiveOrdersResponse as fU, type BulkUnArchiveOrdersByFilterRequest as fV, type BulkUnArchiveOrdersByFilterResponse as fW, type UpdateBuyerInfoRequest as fX, type BuyerInfoUpdate as fY, type UpdateBuyerInfoResponse as fZ, type UpdateBuyerEmailRequest as f_, type GetOrderResponse as fa, type InternalQueryOrdersResponse as fb, type QueryOrderRequest as fc, type QueryOrderResponse as fd, type SearchOrdersRequest as fe, type CursorSearch as ff, type CursorSearchPagingMethodOneOf as fg, type CursorPagingMetadata as fh, type CreateOrderRequest as fi, type OrderCreationSettings as fj, type OrderCreateNotifications as fk, type CreateOrderResponse as fl, type UpdateOrderRequest as fm, type UpdateOrderResponse as fn, type BulkUpdateOrdersRequest as fo, type CommitDeltasRequest as fp, type DraftOrderDiffs as fq, type DraftOrderDiffsShippingUpdateInfoOneOf as fr, type DraftOrderDiffsBuyerUpdateInfoOneOf as fs, type DraftOrderDiffsBillingUpdateInfoOneOf as ft, type DraftOrderDiffsRecipientUpdateInfoOneOf as fu, type V1LineItemDelta as fv, type V1LineItemDeltaDeltaOneOf as fw, type OrderLineItemChangedDetails as fx, type ItemChangedDetails as fy, type AppliedDiscountDelta as fz, type GetOrderApplicationErrors as g, type BulkMarkAsUnfulfilledByFilterResponse as g$, type UpdateOrderShippingAddressRequest as g0, type UpdateOrderShippingAddressResponse as g1, type UpdateBillingContactDetailsRequest as g2, type UpdateBillingContactDetailsResponse as g3, type UpdateOrderLineItemRequest as g4, type UpdateOrderLineItemResponse as g5, type UpdateOrderLineItemsRequest as g6, type MaskedOrderLineItem as g7, type UpdateOrderLineItemsResponse as g8, type AddInternalActivityRequest as g9, type AddActivitiesRequest as gA, type AddActivitiesResponse as gB, type UpdateActivityRequest as gC, type UpdateActivityResponse as gD, type DeleteActivityRequest as gE, type DeleteActivityResponse as gF, type UpdateLineItemsDescriptionLinesRequest as gG, type LineItemUpdate as gH, type UpdateLineItemsDescriptionLinesResponse as gI, type MarkOrderAsSeenByHumanRequest as gJ, type MarkOrderAsSeenByHumanResponse as gK, type CancelOrderRequest as gL, type OrderCanceledEventOrderCanceled as gM, type UpdateOrderStatusRequest as gN, type UpdateOrderStatusResponse as gO, type MarkAsFulfilledRequest as gP, type MarkAsFulfilledResponse as gQ, type FulfillmentStatusUpdated as gR, type BulkMarkAsFulfilledRequest as gS, type BulkMarkAsFulfilledResponse as gT, type BulkMarkAsFulfilledByFilterRequest as gU, type BulkMarkAsFulfilledByFilterResponse as gV, type MarkAsUnfulfilledRequest as gW, type MarkAsUnfulfilledResponse as gX, type BulkMarkAsUnfulfilledRequest as gY, type BulkMarkAsUnfulfilledResponse as gZ, type BulkMarkAsUnfulfilledByFilterRequest as g_, type InternalActivity as ga, type InternalActivityContentOneOf as gb, type OrderPlaced as gc, type OrderPaid as gd, type OrderFulfilled as ge, type OrderNotFulfilled as gf, type OrderCanceled as gg, type DownloadLinkSent as gh, type TrackingNumberAdded as gi, type TrackingNumberEdited as gj, type TrackingLinkAdded as gk, type ShippingConfirmationEmailSent as gl, type InvoiceAdded as gm, type InvoiceSent as gn, type FulfillerEmailSent as go, type ShippingAddressEdited as gp, type EmailEdited as gq, type PickupReadyEmailSent as gr, type OrderPartiallyPaid as gs, type OrderPending as gt, type OrderRejected as gu, type AddInternalActivityResponse as gv, type AddActivityRequest as gw, type PublicActivity as gx, type PublicActivityContentOneOf as gy, type AddActivityResponse as gz, type OrderSearch as h, type ChargeMembershipsOptions as h$, type BulkSetBusinessLocationRequest as h0, type BulkSetBusinessLocationResponse as h1, type BulkSetBusinessLocationResult as h2, type V1MarkOrderAsPaidRequest as h3, type V1MarkOrderAsPaidResponse as h4, type V1BulkMarkOrdersAsPaidRequest as h5, type V1BulkMarkOrdersAsPaidResponse as h6, type V1CreatePaymentGatewayOrderRequest as h7, type V1CreatePaymentGatewayOrderResponse as h8, type GetShipmentsRequest as h9, type Subdivision as hA, type StandardDetails as hB, type InvoiceDates as hC, type LineItems as hD, type LineItem as hE, type BigDecimalWrapper as hF, type LineItemTax as hG, type Source as hH, type LineItemMetaData as hI, type Locale as hJ, type TotalPrice as hK, type ItemizedFee as hL, type Discount as hM, type DiscountOneDiscountTypeOneOf as hN, type CalculatedTaxes as hO, type CalculatedTax as hP, type Payments as hQ, type InvoicesPayment as hR, type MetaData as hS, type InvoiceDynamicPriceTotals as hT, type CustomFieldValue as hU, type Value as hV, type Deposit as hW, type TriggerSideEffectsFromLegacyData as hX, type BaseEventMetadata as hY, type EventMetadata as hZ, type PaymentCollectionCreatePaymentGatewayOrderOptions as h_, type GetShipmentsResponse as ha, type AggregateOrdersRequest as hb, type AggregateOrdersResponse as hc, type DecrementItemsQuantityRequest as hd, type DecrementData as he, type DecrementItemsQuantityResponse as hf, type BulkUpdateOrderTagsRequest as hg, type BulkUpdateOrderTagsResult as hh, type Task as hi, type TaskKey as hj, type TaskAction as hk, type TaskActionActionOneOf as hl, type Complete as hm, type Cancel as hn, type Reschedule as ho, type InvoiceSentEvent as hp, type IdAndVersion as hq, type InvoiceFields as hr, type Customer as hs, type Email as ht, type QuotesAddress as hu, type AddressDescription as hv, type Phone as hw, type Company as hx, type CommonAddress as hy, type CommonAddressStreetOneOf as hz, type CreateOrderOptions as i, type PaymentCollectionCreatePaymentGatewayOrderApplicationErrors as i$, type TriggerRefundOptions as i0, type OrderSearchSpec as i1, type CommitDeltasOptions as i2, type UpdateOrderLineItemIdentifiers as i3, type UpdateOrderLineItem as i4, type UpdateActivityIdentifiers as i5, type DeleteActivityIdentifiers as i6, type AggregateOrdersOptions as i7, type DescriptionLineTypeWithLiterals as i8, type ItemTypeItemTypeWithLiterals as i9, type TransactionStatusWithLiterals as iA, type AuthorizationCaptureStatusWithLiterals as iB, type AuthorizationVoidStatusWithLiterals as iC, type ReasonWithLiterals as iD, type ActionTypeWithLiterals as iE, type MembershipPaymentStatusWithLiterals as iF, type RefundStatusWithLiterals as iG, type WebhookIdentityTypeWithLiterals as iH, type TextDetectionWithLiterals as iI, type AnimationDetectionWithLiterals as iJ, type PreviewEmailTypeWithLiterals as iK, type StateWithLiterals as iL, type NamespaceWithLiterals as iM, type SortOrderWithLiterals as iN, type VersioningModeWithLiterals as iO, type OrderApprovalStrategyWithLiterals as iP, type DeltaPaymentOptionTypeWithLiterals as iQ, type InventoryActionWithLiterals as iR, type PlacementWithLiterals as iS, type SubdivisionTypeWithLiterals as iT, type SourceTypeWithLiterals as iU, type CustomFieldGroupWithLiterals as iV, type ValueTypeWithLiterals as iW, type DepositTypeWithLiterals as iX, type InvoiceStatusWithLiterals as iY, type RecordManuallyCollectedPaymentApplicationErrors as iZ, type PaymentCollectionMarkOrderAsPaidApplicationErrors as i_, type PaymentOptionTypeWithLiterals as ia, type JurisdictionTypeWithLiterals as ib, type SubscriptionFrequencyWithLiterals as ic, type AdjustmentTypeWithLiterals as id, type TaxableAddressTypeWithLiterals as ie, type PaymentStatusWithLiterals as ig, type FulfillmentStatusWithLiterals as ih, type WeightUnitWithLiterals as ii, type VatTypeWithLiterals as ij, type PickupMethodWithLiterals as ik, type OrderStatusWithLiterals as il, type DiscountTypeWithLiterals as im, type DiscountReasonWithLiterals as io, type LineItemQuantityChangeTypeWithLiterals as ip, type ActivityTypeWithLiterals as iq, type AttributionSourceWithLiterals as ir, type ChannelTypeWithLiterals as is, type ScheduledActionWithLiterals as it, type DurationUnitWithLiterals as iu, type PaymentCollectabilityStatusWithLiterals as iv, type RefundableStatusWithLiterals as iw, type NonRefundableReasonWithLiterals as ix, type ManuallyRefundableReasonWithLiterals as iy, type RestockTypeWithLiterals as iz, type CreateOrderApplicationErrors as j, type TriggerRefundApplicationErrors as j0, type CommitDeltasApplicationErrors as j1, type UpdateOrderStatusApplicationErrors as j2, onOrderApproved as j3, onOrderUpdated as j4, onOrderCanceled as j5, onOrderCreated as j6, preparePaymentCollection as j7, getPaymentCollectabilityStatus as j8, voidAuthorizedPayments as j9, captureAuthorizedPayments as ja, getOrder as jb, type CommonSearchWithEntityContext as jc, createOrder as jd, updateOrder as je, bulkUpdateOrders as jf, cancelOrder as jg, bulkUpdateOrderTags as jh, 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 };