@wix/auto_sdk_ecom_orders 1.0.195 → 1.0.197

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 (41) hide show
  1. package/build/cjs/{ecom-v1-order-orders.universal-DT7Mw7qQ.d.ts → ecom-v1-order-orders.universal-CcrfIADf.d.ts} +433 -382
  2. package/build/cjs/index.d.ts +20 -13
  3. package/build/cjs/index.js +188 -64
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +11 -11
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +285 -286
  9. package/build/cjs/meta.js +11 -11
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{ecom-v1-order-orders.universal-DT7Mw7qQ.d.mts → ecom-v1-order-orders.universal-CcrfIADf.d.mts} +433 -382
  12. package/build/es/index.d.mts +20 -13
  13. package/build/es/index.mjs +186 -64
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -2
  16. package/build/es/index.typings.mjs +11 -11
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +285 -286
  19. package/build/es/meta.mjs +11 -11
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{ecom-v1-order-orders.universal-MgeRN3AX.d.ts → ecom-v1-order-orders.universal-BJM940Ej.d.ts} +1496 -1445
  22. package/build/internal/cjs/index.d.ts +20 -13
  23. package/build/internal/cjs/index.js +188 -64
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +2 -2
  26. package/build/internal/cjs/index.typings.js +11 -11
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +285 -286
  29. package/build/internal/cjs/meta.js +11 -11
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{ecom-v1-order-orders.universal-MgeRN3AX.d.mts → ecom-v1-order-orders.universal-BJM940Ej.d.mts} +1496 -1445
  32. package/build/internal/es/index.d.mts +20 -13
  33. package/build/internal/es/index.mjs +186 -64
  34. package/build/internal/es/index.mjs.map +1 -1
  35. package/build/internal/es/index.typings.d.mts +2 -2
  36. package/build/internal/es/index.typings.mjs +11 -11
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +285 -286
  39. package/build/internal/es/meta.mjs +11 -11
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1385,32 +1385,28 @@ interface OrderTaxBreakdown {
1385
1385
  aggregatedTaxAmount?: Price;
1386
1386
  }
1387
1387
  interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1388
- /** Applied coupon info. */
1388
+ /** Coupon applied by the customer. */
1389
1389
  coupon?: Coupon;
1390
- /** Merchant discount. */
1390
+ /** Discount applied manually by the merchant. */
1391
1391
  merchantDiscount?: MerchantDiscount;
1392
- /** Automatic Discount */
1392
+ /** Automatic discount applied by the system based on configured discount rules. */
1393
1393
  discountRule?: DiscountRule;
1394
- /**
1395
- * Discount type.
1396
- * * `"GLOBAL"` - discount applies to entire order.
1397
- * * `"SPECIFIC-ITEMS"` - discount applies to specific items.
1398
- * * `"SHIPPING"` - discount applies to shipping. For example, free shipping.
1399
- */
1400
1394
  discountType?: DiscountTypeWithLiterals;
1401
1395
  /**
1402
- * IDs of line items discount applies to.
1403
- * Deprecated. Use `line_item_discounts` instead.
1396
+ * __Deprecated.__ Use `lineItemDiscounts` instead.
1397
+ *
1398
+ * IDs of line items the discount applies to.
1404
1399
  * @format GUID
1405
1400
  * @maxSize 1
1406
- * @deprecated IDs of line items discount applies to.
1407
- * Deprecated. Use `line_item_discounts` instead.
1401
+ * @deprecated __Deprecated.__ Use `lineItemDiscounts` instead.
1402
+ *
1403
+ * IDs of line items the discount applies to.
1408
1404
  * @replacedBy line_item_discounts
1409
1405
  * @targetRemovalDate 2024-10-30
1410
1406
  */
1411
1407
  lineItemIds?: string[];
1412
1408
  /**
1413
- * Discount id.
1409
+ * Discount ID.
1414
1410
  * @format GUID
1415
1411
  * @immutable
1416
1412
  */
@@ -1418,16 +1414,20 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1418
1414
  }
1419
1415
  /** @oneof */
1420
1416
  interface AppliedDiscountDiscountSourceOneOf {
1421
- /** Applied coupon info. */
1417
+ /** Coupon applied by the customer. */
1422
1418
  coupon?: Coupon;
1423
- /** Merchant discount. */
1419
+ /** Discount applied manually by the merchant. */
1424
1420
  merchantDiscount?: MerchantDiscount;
1425
- /** Automatic Discount */
1421
+ /** Automatic discount applied by the system based on configured discount rules. */
1426
1422
  discountRule?: DiscountRule;
1427
1423
  }
1424
+ /** Type of discount. */
1428
1425
  declare enum DiscountType {
1426
+ /** Discount applies to the entire order. */
1429
1427
  GLOBAL = "GLOBAL",
1428
+ /** Discount applies to specific items. */
1430
1429
  SPECIFIC_ITEMS = "SPECIFIC_ITEMS",
1430
+ /** Discount applies to shipping. For example, free shipping. */
1431
1431
  SHIPPING = "SHIPPING"
1432
1432
  }
1433
1433
  /** @enumType */
@@ -1443,14 +1443,12 @@ interface Coupon {
1443
1443
  /** Coupon value. */
1444
1444
  amount?: Price;
1445
1445
  }
1446
+ /** Discount applied manually by the merchant through the dashboard. */
1446
1447
  interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
1447
- /**
1448
- * Pre-defined discount reason (optional).
1449
- * * `"ITEMS_EXCHANGE"` - exchange balance acquired as a result of items exchange.
1450
- */
1448
+ /** Predefined discount reason. */
1451
1449
  discountReason?: DiscountReasonWithLiterals;
1452
1450
  /**
1453
- * Discount description as free text (optional).
1451
+ * Custom discount description as free text.
1454
1452
  * @maxLength 200
1455
1453
  */
1456
1454
  description?: string | null;
@@ -1459,20 +1457,21 @@ interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
1459
1457
  }
1460
1458
  /** @oneof */
1461
1459
  interface MerchantDiscountMerchantDiscountReasonOneOf {
1462
- /**
1463
- * Pre-defined discount reason (optional).
1464
- * * `"ITEMS_EXCHANGE"` - exchange balance acquired as a result of items exchange.
1465
- */
1460
+ /** Predefined discount reason. */
1466
1461
  discountReason?: DiscountReasonWithLiterals;
1467
1462
  /**
1468
- * Discount description as free text (optional).
1463
+ * Custom discount description as free text.
1469
1464
  * @maxLength 200
1470
1465
  */
1471
1466
  description?: string | null;
1472
1467
  }
1468
+ /** Predefined reason for the discount. */
1473
1469
  declare enum DiscountReason {
1470
+ /** Unknown discount reason. */
1474
1471
  UNSPECIFIED = "UNSPECIFIED",
1472
+ /** Balance adjustment resulting from an item exchange. */
1475
1473
  EXCHANGED_ITEMS = "EXCHANGED_ITEMS",
1474
+ /** Proportional discount for a shortened subscription billing cycle. Applied when a subscription's billing date is moved earlier, reducing the cycle length. */
1476
1475
  BILLING_ADJUSTMENT = "BILLING_ADJUSTMENT"
1477
1476
  }
1478
1477
  /** @enumType */
@@ -1504,11 +1503,11 @@ interface DiscountRuleName {
1504
1503
  }
1505
1504
  interface LineItemDiscount {
1506
1505
  /**
1507
- * ID of line item the discount applies to.
1506
+ * Line item ID.
1508
1507
  * @format GUID
1509
1508
  */
1510
1509
  _id?: string;
1511
- /** Total discount for this line item. */
1510
+ /** Total discount amount for this line item. */
1512
1511
  totalDiscount?: Price;
1513
1512
  }
1514
1513
  interface ItemCombination {
@@ -3072,6 +3071,263 @@ interface ImportedOrderDeleted {
3072
3071
  /** The order which was deleted */
3073
3072
  order?: Order;
3074
3073
  }
3074
+ /** Triggered when the payment status of an order is updated */
3075
+ interface PaymentStatusUpdated {
3076
+ /** The order that was updated */
3077
+ order?: Order;
3078
+ /** The previous status (before the update) */
3079
+ previousPaymentStatus?: PaymentStatusWithLiterals;
3080
+ }
3081
+ /** Triggered when the fulfillment status of an order is updated */
3082
+ interface FulfillmentStatusUpdated {
3083
+ /** The order that was updated */
3084
+ order?: Order;
3085
+ /** The previous status (before the update) */
3086
+ previousFulfillmentStatus?: FulfillmentStatusWithLiterals;
3087
+ /** the new status (after the update) */
3088
+ newFulfillmentStatus?: FulfillmentStatusWithLiterals;
3089
+ /** the action that caused this update */
3090
+ action?: string;
3091
+ }
3092
+ interface OrderCanceledEventOrderCanceled {
3093
+ /** The order that was cancelled */
3094
+ order?: Order;
3095
+ /** Should restock all items on that order */
3096
+ restockAllItems?: boolean;
3097
+ /** Should send a confirmation mail to the customer */
3098
+ sendOrderCanceledEmail?: boolean;
3099
+ /** Personal note added to the email */
3100
+ customMessage?: string | null;
3101
+ }
3102
+ /** Triggered when order is edited by draftOrders */
3103
+ interface OrderDeltasCommitted {
3104
+ /** The order after committed changes. */
3105
+ order?: Order;
3106
+ /** Draft order Id representing this change. */
3107
+ draftOrderId?: string;
3108
+ /** Applied changes. */
3109
+ changes?: CommittedDiffs;
3110
+ /** Side-effects requested to happen as a result of this edit. */
3111
+ commitSettings?: DraftOrderCommitSettings;
3112
+ /**
3113
+ * Date and time when order deltas were committed.
3114
+ * @readonly
3115
+ */
3116
+ commitDate?: Date | null;
3117
+ }
3118
+ interface CommittedDiffs extends CommittedDiffsShippingUpdateInfoOneOf {
3119
+ /** Shipping info and selected shipping option details. */
3120
+ changedShippingInfo?: V1ShippingInformation;
3121
+ /** Remove existing shipping info. */
3122
+ shippingInfoRemoved?: boolean;
3123
+ /**
3124
+ * Added/updated/removed order line items.
3125
+ * @maxSize 300
3126
+ */
3127
+ lineItems?: LineItemDelta[];
3128
+ /**
3129
+ * Added/updated/removed discounts.
3130
+ * @maxSize 320
3131
+ */
3132
+ appliedDiscounts?: AppliedDiscountDelta[];
3133
+ /**
3134
+ * Added/updated/removed additional fee.
3135
+ * @maxSize 100
3136
+ */
3137
+ additionalFees?: AdditionalFeeDelta[];
3138
+ }
3139
+ /** @oneof */
3140
+ interface CommittedDiffsShippingUpdateInfoOneOf {
3141
+ /** Shipping info and selected shipping option details. */
3142
+ changedShippingInfo?: V1ShippingInformation;
3143
+ /** Remove existing shipping info. */
3144
+ shippingInfoRemoved?: boolean;
3145
+ }
3146
+ interface ItemChangedDetails {
3147
+ /**
3148
+ * The quantity before the change.
3149
+ * @min 1
3150
+ * @max 1000000
3151
+ */
3152
+ quantityBeforeChange?: number | null;
3153
+ /** The price before the change. */
3154
+ priceBeforeChange?: Price;
3155
+ /** The price description before the change */
3156
+ priceDescriptionBeforeChange?: PriceDescription;
3157
+ }
3158
+ interface OrderLineItemChangedDetails {
3159
+ /**
3160
+ * Item name.
3161
+ * + Stores - `product.name`
3162
+ * + Bookings - `service.info.name`
3163
+ * + Events - `ticket.name`
3164
+ */
3165
+ productName?: ProductName;
3166
+ /**
3167
+ * References to the line item's origin catalog.
3168
+ * This field may be empty in the case of a custom line item.
3169
+ */
3170
+ catalogReference?: CatalogReference;
3171
+ /**
3172
+ * Line item quantity.
3173
+ * @min 1
3174
+ * @max 100000
3175
+ */
3176
+ quantity?: number;
3177
+ /** Total discount for this line item's entire quantity. */
3178
+ totalDiscount?: Price;
3179
+ /**
3180
+ * Line item description lines. Used for display purposes for the cart, checkout and order.
3181
+ * @maxSize 20
3182
+ */
3183
+ descriptionLines?: DescriptionLine[];
3184
+ /** Line item image. */
3185
+ image?: string;
3186
+ /** Physical properties of the item. When relevant, contains information such as SKU and item weight. */
3187
+ physicalProperties?: PhysicalProperties;
3188
+ /** Item type. Either a preset type or custom. */
3189
+ itemType?: ItemType;
3190
+ /**
3191
+ * Fulfiller ID. Field is empty when the line item is self-fulfilled.
3192
+ *
3193
+ * To get fulfillment information, pass the order ID to [List Fulfillments For Single Order](https://www.wix.com/velo/reference/wix-ecom-backend/orderfulfillments/listfulfillmentsforsingleorder).
3194
+ * @format GUID
3195
+ */
3196
+ fulfillerId?: string | null;
3197
+ /** Line item price after line item discounts for display purposes. */
3198
+ price?: Price;
3199
+ /** Line item price before line item discounts for display purposes. Defaults to `price` when not provided. */
3200
+ priceBeforeDiscounts?: Price;
3201
+ /** Total price after all discounts and tax. */
3202
+ totalPriceAfterTax?: Price;
3203
+ /**
3204
+ * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
3205
+ * + `FULL_PAYMENT_OFFLINE` - The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
3206
+ * + `MEMBERSHIP` - Payment for this item is done by charging a membership. When this option is used, `lineItem.price.amount` is 0.
3207
+ */
3208
+ paymentOption?: DeltaPaymentOptionTypeWithLiterals;
3209
+ /**
3210
+ * Deprecated. Use `taxInfo` instead.
3211
+ * This field will be removed on September 30, 2024.
3212
+ * Tax details for this line item.
3213
+ * @deprecated Deprecated. Use `taxInfo` instead.
3214
+ * This field will be removed on September 30, 2024.
3215
+ * Tax details for this line item.
3216
+ * @replacedBy tax_info
3217
+ * @targetRemovalDate 2024-09-30
3218
+ */
3219
+ taxDetails?: ItemTaxFullDetails;
3220
+ /** Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67". */
3221
+ priceDescription?: PriceDescription;
3222
+ /** Total price **after** catalog-defined discount and line item discounts. */
3223
+ lineItemPrice?: Price;
3224
+ /** Total price after all discounts excluding tax. */
3225
+ totalPriceBeforeTax?: Price;
3226
+ /**
3227
+ * Line item locations.
3228
+ *
3229
+ * The location's total quantity must not exceed the line item quantity.
3230
+ * @maxSize 5
3231
+ */
3232
+ locations?: LocationAndQuantity[];
3233
+ /** Subscription info. */
3234
+ subscriptionInfo?: SubscriptionInfo;
3235
+ /**
3236
+ * Modifier groups that were added to the item.
3237
+ * @readonly
3238
+ * @maxSize 10
3239
+ */
3240
+ modifierGroups?: ModifierGroup[];
3241
+ }
3242
+ /** Type of selected payment option for catalog item */
3243
+ declare enum DeltaPaymentOptionType {
3244
+ /** Irrelevant */
3245
+ UNKNOWN_PAYMENT_OPTION = "UNKNOWN_PAYMENT_OPTION",
3246
+ /** The entire payment for the given item will happen after checkout. */
3247
+ FULL_PAYMENT_OFFLINE = "FULL_PAYMENT_OFFLINE",
3248
+ /**
3249
+ * Payment for this item can only be done using a membership and must be manually redeemed in the dashboard by the site owner.
3250
+ * Note: when this option is used, the price will be 0.
3251
+ */
3252
+ MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
3253
+ }
3254
+ /** @enumType */
3255
+ type DeltaPaymentOptionTypeWithLiterals = DeltaPaymentOptionType | 'UNKNOWN_PAYMENT_OPTION' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP_OFFLINE';
3256
+ interface LineItemDelta extends LineItemDeltaDeltaOneOf {
3257
+ lineItemAdded?: boolean;
3258
+ changedDetails?: ItemChangedDetails;
3259
+ lineItemRemoved?: OrderLineItemChangedDetails;
3260
+ /**
3261
+ * Line item ID.
3262
+ * @format GUID
3263
+ */
3264
+ lineItemId?: string;
3265
+ }
3266
+ /** @oneof */
3267
+ interface LineItemDeltaDeltaOneOf {
3268
+ lineItemAdded?: boolean;
3269
+ changedDetails?: ItemChangedDetails;
3270
+ lineItemRemoved?: OrderLineItemChangedDetails;
3271
+ }
3272
+ interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaOneOf {
3273
+ editedDiscount?: AppliedDiscount;
3274
+ discountRemoved?: boolean;
3275
+ /**
3276
+ * Discount id.
3277
+ * @format GUID
3278
+ */
3279
+ discountId?: string;
3280
+ }
3281
+ /** @oneof */
3282
+ interface AppliedDiscountDeltaDeltaOneOf {
3283
+ editedDiscount?: AppliedDiscount;
3284
+ discountRemoved?: boolean;
3285
+ }
3286
+ interface AdditionalFeeDelta extends AdditionalFeeDeltaDeltaOneOf {
3287
+ editedAdditionalFee?: AdditionalFee;
3288
+ additionalFeeRemoved?: boolean;
3289
+ /**
3290
+ * Additional fee id.
3291
+ * @format GUID
3292
+ */
3293
+ additionalFeeId?: string;
3294
+ }
3295
+ /** @oneof */
3296
+ interface AdditionalFeeDeltaDeltaOneOf {
3297
+ editedAdditionalFee?: AdditionalFee;
3298
+ additionalFeeRemoved?: boolean;
3299
+ }
3300
+ interface DraftOrderCommitSettings {
3301
+ /** If false, do not send notifications to buyer. Default is true. */
3302
+ sendNotificationsToBuyer?: boolean | null;
3303
+ /** If false, do not send notifications to business. Default is true. */
3304
+ sendNotificationsToBusiness?: boolean | null;
3305
+ /** If false, do not add activities to the order. Default is true. */
3306
+ addActivitiesToOrder?: boolean | null;
3307
+ /** If false, do not send mails to custom fulfillers in case of a change of shippable items fulfilled by custom fulfillers. Default is true. */
3308
+ sendNotificationsToCustomFulfillers?: boolean | null;
3309
+ /**
3310
+ * Inventory changes to be applied. Either to restock, or decrease.
3311
+ * @maxSize 300
3312
+ */
3313
+ inventoryUpdates?: InventoryUpdateDetails[];
3314
+ }
3315
+ interface InventoryUpdateDetails {
3316
+ /** Action to be applied - decrease or restock */
3317
+ actionType?: InventoryActionWithLiterals;
3318
+ /** Order line item id */
3319
+ lineItemId?: string;
3320
+ /** The amount to be increased or restocked */
3321
+ quantityChange?: number;
3322
+ }
3323
+ declare enum InventoryAction {
3324
+ /** Restock inventory */
3325
+ RESTOCK = "RESTOCK",
3326
+ /** Decrease inventory. Without failing on negative inventory. */
3327
+ DECREASE = "DECREASE"
3328
+ }
3329
+ /** @enumType */
3330
+ type InventoryActionWithLiterals = InventoryAction | 'RESTOCK' | 'DECREASE';
3075
3331
  interface ImportOrderRequest {
3076
3332
  /**
3077
3333
  * Order to be imported
@@ -5609,317 +5865,52 @@ interface UpdateOrderResponse {
5609
5865
  }
5610
5866
  interface BulkUpdateOrdersRequest {
5611
5867
  /**
5612
- * Orders to update.
5613
- * @minSize 1
5614
- * @maxSize 100
5615
- */
5616
- orders: MaskedOrder[];
5617
- /**
5618
- * Whether to return the full order entities.
5619
- *
5620
- * Default: `false`
5621
- */
5622
- returnEntity?: boolean;
5623
- }
5624
- interface MaskedOrder {
5625
- /** Order to be updated. */
5626
- order?: Order;
5627
- }
5628
- interface BulkUpdateOrdersResponse {
5629
- /**
5630
- * Bulk action results.
5631
- * @minSize 1
5632
- * @maxSize 100
5633
- */
5634
- results?: BulkOrderResult[];
5635
- /** Bulk action metadata. */
5636
- bulkActionMetadata?: BulkActionMetadata;
5637
- }
5638
- interface CommitDeltasRequest {
5639
- /** Order id to be updated */
5640
- _id?: string;
5641
- /**
5642
- * Draft order Id representing this change.
5643
- * Use this ID to get this specific draft content. call .../v1/draft-orders/{draft_order_id}/get
5644
- * @format GUID
5645
- */
5646
- draftOrderId?: string;
5647
- /** Draft order changes to be applied */
5648
- changes?: DraftOrderDiffs;
5649
- /** Side-effects to happen after order is updated */
5650
- commitSettings?: DraftOrderCommitSettings;
5651
- /**
5652
- * Reason for edit, given by user (optional).
5653
- * @maxLength 200
5654
- */
5655
- reason?: string | null;
5656
- }
5657
- interface DraftOrderDiffs extends DraftOrderDiffsShippingUpdateInfoOneOf, DraftOrderDiffsBuyerUpdateInfoOneOf, DraftOrderDiffsBillingUpdateInfoOneOf, DraftOrderDiffsRecipientUpdateInfoOneOf {
5658
- /** Shipping info and selected shipping option details. */
5659
- changedShippingInfo?: V1ShippingInformation;
5660
- /** Remove existing shipping info. */
5661
- shippingInfoRemoved?: boolean;
5662
- /**
5663
- * Added/updated/removed order line items.
5664
- * @maxSize 300
5665
- */
5666
- lineItems?: V1LineItemDelta[];
5667
- /**
5668
- * Added/updated/removed discounts.
5669
- * @maxSize 320
5670
- */
5671
- appliedDiscounts?: AppliedDiscountDelta[];
5672
- /**
5673
- * Added/updated/removed additional fee.
5674
- * @maxSize 100
5675
- */
5676
- additionalFees?: AdditionalFeeDelta[];
5677
- /**
5678
- * Deprecated. Use `taxInfo` instead.
5679
- * This field will be removed on September 30, 2024.
5680
- * Updated Tax summary. overwrites existing tax summary.
5681
- * @deprecated Deprecated. Use `taxInfo` instead.
5682
- * This field will be removed on September 30, 2024.
5683
- * Updated Tax summary. overwrites existing tax summary.
5684
- * @replacedBy tax_info
5685
- * @targetRemovalDate 2024-09-30
5686
- */
5687
- taxSummary?: TaxSummary;
5688
- /**
5689
- * Updated order price summary. overwrites existing price summary.
5690
- * balance will be updated automatically.
5691
- */
5692
- priceSummary?: PriceSummary;
5693
- }
5694
- /** @oneof */
5695
- interface DraftOrderDiffsShippingUpdateInfoOneOf {
5696
- /** Shipping info and selected shipping option details. */
5697
- changedShippingInfo?: V1ShippingInformation;
5698
- /** Remove existing shipping info. */
5699
- shippingInfoRemoved?: boolean;
5700
- }
5701
- /** @oneof */
5702
- interface DraftOrderDiffsBuyerUpdateInfoOneOf {
5703
- }
5704
- /** @oneof */
5705
- interface DraftOrderDiffsBillingUpdateInfoOneOf {
5706
- }
5707
- /** @oneof */
5708
- interface DraftOrderDiffsRecipientUpdateInfoOneOf {
5709
- }
5710
- interface V1LineItemDelta extends V1LineItemDeltaDeltaOneOf {
5711
- /** The line item was added. */
5712
- lineItemAdded?: boolean;
5713
- /** The line item was modified. */
5714
- changedDetails?: ItemChangedDetails;
5715
- /** The line item was added. */
5716
- lineItemRemoved?: boolean;
5717
- /**
5718
- * Line item ID.
5719
- * @format GUID
5720
- */
5721
- lineItemId?: string;
5722
- lineItem?: OrderLineItemChangedDetails;
5723
- }
5724
- /** @oneof */
5725
- interface V1LineItemDeltaDeltaOneOf {
5726
- /** The line item was added. */
5727
- lineItemAdded?: boolean;
5728
- /** The line item was modified. */
5729
- changedDetails?: ItemChangedDetails;
5730
- /** The line item was added. */
5731
- lineItemRemoved?: boolean;
5732
- }
5733
- interface OrderLineItemChangedDetails {
5734
- /**
5735
- * Item name.
5736
- * + Stores - `product.name`
5737
- * + Bookings - `service.info.name`
5738
- * + Events - `ticket.name`
5739
- */
5740
- productName?: ProductName;
5741
- /**
5742
- * References to the line item's origin catalog.
5743
- * This field may be empty in the case of a custom line item.
5744
- */
5745
- catalogReference?: CatalogReference;
5746
- /**
5747
- * Line item quantity.
5748
- * @min 1
5749
- * @max 100000
5750
- */
5751
- quantity?: number;
5752
- /** Total discount for this line item's entire quantity. */
5753
- totalDiscount?: Price;
5754
- /**
5755
- * Line item description lines. Used for display purposes for the cart, checkout and order.
5756
- * @maxSize 20
5757
- */
5758
- descriptionLines?: DescriptionLine[];
5759
- /** Line item image. */
5760
- image?: string;
5761
- /** Physical properties of the item. When relevant, contains information such as SKU and item weight. */
5762
- physicalProperties?: PhysicalProperties;
5763
- /** Item type. Either a preset type or custom. */
5764
- itemType?: ItemType;
5765
- /**
5766
- * Fulfiller ID. Field is empty when the line item is self-fulfilled.
5767
- *
5768
- * To get fulfillment information, pass the order ID to [List Fulfillments For Single Order](https://www.wix.com/velo/reference/wix-ecom-backend/orderfulfillments/listfulfillmentsforsingleorder).
5769
- * @format GUID
5770
- */
5771
- fulfillerId?: string | null;
5772
- /** Line item price after line item discounts for display purposes. */
5773
- price?: Price;
5774
- /** Line item price before line item discounts for display purposes. Defaults to `price` when not provided. */
5775
- priceBeforeDiscounts?: Price;
5776
- /** Total price after all discounts and tax. */
5777
- totalPriceAfterTax?: Price;
5778
- /**
5779
- * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
5780
- * + `FULL_PAYMENT_OFFLINE` - The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
5781
- * + `MEMBERSHIP` - Payment for this item is done by charging a membership. When this option is used, `lineItem.price.amount` is 0.
5782
- */
5783
- paymentOption?: DeltaPaymentOptionTypeWithLiterals;
5784
- /**
5785
- * Deprecated. Use `taxInfo` instead.
5786
- * This field will be removed on September 30, 2024.
5787
- * Tax details for this line item.
5788
- * @deprecated Deprecated. Use `taxInfo` instead.
5789
- * This field will be removed on September 30, 2024.
5790
- * Tax details for this line item.
5791
- * @replacedBy tax_info
5792
- * @targetRemovalDate 2024-09-30
5793
- */
5794
- taxDetails?: ItemTaxFullDetails;
5795
- /** Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67". */
5796
- priceDescription?: PriceDescription;
5797
- /** Total price **after** catalog-defined discount and line item discounts. */
5798
- lineItemPrice?: Price;
5799
- /** Total price after all discounts excluding tax. */
5800
- totalPriceBeforeTax?: Price;
5801
- /**
5802
- * Line item locations.
5803
- *
5804
- * The location's total quantity must not exceed the line item quantity.
5805
- * @maxSize 5
5806
- */
5807
- locations?: LocationAndQuantity[];
5808
- /** Subscription info. */
5809
- subscriptionInfo?: SubscriptionInfo;
5810
- /**
5811
- * Modifier groups that were added to the item.
5812
- * @readonly
5813
- * @maxSize 10
5814
- */
5815
- modifierGroups?: ModifierGroup[];
5816
- }
5817
- /** Type of selected payment option for catalog item */
5818
- declare enum DeltaPaymentOptionType {
5819
- /** Irrelevant */
5820
- UNKNOWN_PAYMENT_OPTION = "UNKNOWN_PAYMENT_OPTION",
5821
- /** The entire payment for the given item will happen after checkout. */
5822
- FULL_PAYMENT_OFFLINE = "FULL_PAYMENT_OFFLINE",
5823
- /**
5824
- * Payment for this item can only be done using a membership and must be manually redeemed in the dashboard by the site owner.
5825
- * Note: when this option is used, the price will be 0.
5826
- */
5827
- MEMBERSHIP_OFFLINE = "MEMBERSHIP_OFFLINE"
5828
- }
5829
- /** @enumType */
5830
- type DeltaPaymentOptionTypeWithLiterals = DeltaPaymentOptionType | 'UNKNOWN_PAYMENT_OPTION' | 'FULL_PAYMENT_OFFLINE' | 'MEMBERSHIP_OFFLINE';
5831
- interface ItemChangedDetails {
5832
- /**
5833
- * The quantity before the change.
5834
- * @min 1
5835
- * @max 1000000
5868
+ * Orders to update.
5869
+ * @minSize 1
5870
+ * @maxSize 100
5836
5871
  */
5837
- quantityBeforeChange?: number | null;
5838
- /** The price before the change. */
5839
- priceBeforeChange?: Price;
5840
- /** The price description before the change */
5841
- priceDescriptionBeforeChange?: PriceDescription;
5842
- }
5843
- interface AppliedDiscountDelta extends AppliedDiscountDeltaDeltaOneOf {
5844
- editedDiscount?: AppliedDiscount;
5845
- discountRemoved?: boolean;
5872
+ orders: MaskedOrder[];
5846
5873
  /**
5847
- * Discount id.
5848
- * @format GUID
5874
+ * Whether to return the full order entities.
5875
+ *
5876
+ * Default: `false`
5849
5877
  */
5850
- discountId?: string;
5878
+ returnEntity?: boolean;
5851
5879
  }
5852
- /** @oneof */
5853
- interface AppliedDiscountDeltaDeltaOneOf {
5854
- editedDiscount?: AppliedDiscount;
5855
- discountRemoved?: boolean;
5880
+ interface MaskedOrder {
5881
+ /** Order to be updated. */
5882
+ order?: Order;
5856
5883
  }
5857
- interface AdditionalFeeDelta extends AdditionalFeeDeltaDeltaOneOf {
5858
- editedAdditionalFee?: AdditionalFee;
5859
- additionalFeeRemoved?: boolean;
5884
+ interface BulkUpdateOrdersResponse {
5860
5885
  /**
5861
- * Additional fee id.
5862
- * @format GUID
5886
+ * Bulk action results.
5887
+ * @minSize 1
5888
+ * @maxSize 100
5863
5889
  */
5864
- additionalFeeId?: string;
5865
- }
5866
- /** @oneof */
5867
- interface AdditionalFeeDeltaDeltaOneOf {
5868
- editedAdditionalFee?: AdditionalFee;
5869
- additionalFeeRemoved?: boolean;
5890
+ results?: BulkOrderResult[];
5891
+ /** Bulk action metadata. */
5892
+ bulkActionMetadata?: BulkActionMetadata;
5870
5893
  }
5871
- interface DraftOrderCommitSettings {
5872
- /** If false, do not send notifications to buyer. Default is true. */
5873
- sendNotificationsToBuyer?: boolean | null;
5874
- /** If false, do not send notifications to business. Default is true. */
5875
- sendNotificationsToBusiness?: boolean | null;
5876
- /** If false, do not add activities to the order. Default is true. */
5877
- addActivitiesToOrder?: boolean | null;
5878
- /** If false, do not send mails to custom fulfillers in case of a change of shippable items fulfilled by custom fulfillers. Default is true. */
5879
- sendNotificationsToCustomFulfillers?: boolean | null;
5894
+ interface CommitDeltasRequest {
5895
+ /** Order id to be updated */
5896
+ _id?: string;
5880
5897
  /**
5881
- * Inventory changes to be applied. Either to restock, or decrease.
5882
- * @maxSize 300
5898
+ * Draft order Id representing this change.
5899
+ * Use this ID to get this specific draft content. call .../v1/draft-orders/{draft_order_id}/get
5900
+ * @format GUID
5883
5901
  */
5884
- inventoryUpdates?: InventoryUpdateDetails[];
5885
- }
5886
- interface InventoryUpdateDetails {
5887
- /** Action to be applied - decrease or restock */
5888
- actionType?: InventoryActionWithLiterals;
5889
- /** Order line item id */
5890
- lineItemId?: string;
5891
- /** The amount to be increased or restocked */
5892
- quantityChange?: number;
5893
- }
5894
- declare enum InventoryAction {
5895
- /** Restock inventory */
5896
- RESTOCK = "RESTOCK",
5897
- /** Decrease inventory. Without failing on negative inventory. */
5898
- DECREASE = "DECREASE"
5899
- }
5900
- /** @enumType */
5901
- type InventoryActionWithLiterals = InventoryAction | 'RESTOCK' | 'DECREASE';
5902
- interface CommitDeltasResponse {
5903
- /** Order after deltas are applied */
5904
- order?: Order;
5905
- }
5906
- /** Triggered when order is edited by draftOrders */
5907
- interface OrderDeltasCommitted {
5908
- /** The order after committed changes. */
5909
- order?: Order;
5910
- /** Draft order Id representing this change. */
5911
5902
  draftOrderId?: string;
5912
- /** Applied changes. */
5913
- changes?: CommittedDiffs;
5914
- /** Side-effects requested to happen as a result of this edit. */
5903
+ /** Draft order changes to be applied */
5904
+ changes?: DraftOrderDiffs;
5905
+ /** Side-effects to happen after order is updated */
5915
5906
  commitSettings?: DraftOrderCommitSettings;
5916
5907
  /**
5917
- * Date and time when order deltas were committed.
5918
- * @readonly
5908
+ * Reason for edit, given by user (optional).
5909
+ * @maxLength 200
5919
5910
  */
5920
- commitDate?: Date | null;
5911
+ reason?: string | null;
5921
5912
  }
5922
- interface CommittedDiffs extends CommittedDiffsShippingUpdateInfoOneOf {
5913
+ interface DraftOrderDiffs extends DraftOrderDiffsShippingUpdateInfoOneOf, DraftOrderDiffsBuyerUpdateInfoOneOf, DraftOrderDiffsBillingUpdateInfoOneOf, DraftOrderDiffsRecipientUpdateInfoOneOf {
5923
5914
  /** Shipping info and selected shipping option details. */
5924
5915
  changedShippingInfo?: V1ShippingInformation;
5925
5916
  /** Remove existing shipping info. */
@@ -5928,7 +5919,7 @@ interface CommittedDiffs extends CommittedDiffsShippingUpdateInfoOneOf {
5928
5919
  * Added/updated/removed order line items.
5929
5920
  * @maxSize 300
5930
5921
  */
5931
- lineItems?: LineItemDelta[];
5922
+ lineItems?: V1LineItemDelta[];
5932
5923
  /**
5933
5924
  * Added/updated/removed discounts.
5934
5925
  * @maxSize 320
@@ -5939,29 +5930,65 @@ interface CommittedDiffs extends CommittedDiffsShippingUpdateInfoOneOf {
5939
5930
  * @maxSize 100
5940
5931
  */
5941
5932
  additionalFees?: AdditionalFeeDelta[];
5933
+ /**
5934
+ * Deprecated. Use `taxInfo` instead.
5935
+ * This field will be removed on September 30, 2024.
5936
+ * Updated Tax summary. overwrites existing tax summary.
5937
+ * @deprecated Deprecated. Use `taxInfo` instead.
5938
+ * This field will be removed on September 30, 2024.
5939
+ * Updated Tax summary. overwrites existing tax summary.
5940
+ * @replacedBy tax_info
5941
+ * @targetRemovalDate 2024-09-30
5942
+ */
5943
+ taxSummary?: TaxSummary;
5944
+ /**
5945
+ * Updated order price summary. overwrites existing price summary.
5946
+ * balance will be updated automatically.
5947
+ */
5948
+ priceSummary?: PriceSummary;
5942
5949
  }
5943
5950
  /** @oneof */
5944
- interface CommittedDiffsShippingUpdateInfoOneOf {
5951
+ interface DraftOrderDiffsShippingUpdateInfoOneOf {
5945
5952
  /** Shipping info and selected shipping option details. */
5946
5953
  changedShippingInfo?: V1ShippingInformation;
5947
5954
  /** Remove existing shipping info. */
5948
5955
  shippingInfoRemoved?: boolean;
5949
5956
  }
5950
- interface LineItemDelta extends LineItemDeltaDeltaOneOf {
5957
+ /** @oneof */
5958
+ interface DraftOrderDiffsBuyerUpdateInfoOneOf {
5959
+ }
5960
+ /** @oneof */
5961
+ interface DraftOrderDiffsBillingUpdateInfoOneOf {
5962
+ }
5963
+ /** @oneof */
5964
+ interface DraftOrderDiffsRecipientUpdateInfoOneOf {
5965
+ }
5966
+ interface V1LineItemDelta extends V1LineItemDeltaDeltaOneOf {
5967
+ /** The line item was added. */
5951
5968
  lineItemAdded?: boolean;
5969
+ /** The line item was modified. */
5952
5970
  changedDetails?: ItemChangedDetails;
5953
- lineItemRemoved?: OrderLineItemChangedDetails;
5971
+ /** The line item was added. */
5972
+ lineItemRemoved?: boolean;
5954
5973
  /**
5955
5974
  * Line item ID.
5956
5975
  * @format GUID
5957
5976
  */
5958
5977
  lineItemId?: string;
5978
+ lineItem?: OrderLineItemChangedDetails;
5959
5979
  }
5960
5980
  /** @oneof */
5961
- interface LineItemDeltaDeltaOneOf {
5981
+ interface V1LineItemDeltaDeltaOneOf {
5982
+ /** The line item was added. */
5962
5983
  lineItemAdded?: boolean;
5984
+ /** The line item was modified. */
5963
5985
  changedDetails?: ItemChangedDetails;
5964
- lineItemRemoved?: OrderLineItemChangedDetails;
5986
+ /** The line item was added. */
5987
+ lineItemRemoved?: boolean;
5988
+ }
5989
+ interface CommitDeltasResponse {
5990
+ /** Order after deltas are applied */
5991
+ order?: Order;
5965
5992
  }
5966
5993
  interface ArchiveOrderRequest {
5967
5994
  /**
@@ -6583,16 +6610,6 @@ interface CancelOrderResponse {
6583
6610
  /** Canceled order. */
6584
6611
  order?: Order;
6585
6612
  }
6586
- interface OrderCanceledEventOrderCanceled {
6587
- /** The order that was cancelled */
6588
- order?: Order;
6589
- /** Should restock all items on that order */
6590
- restockAllItems?: boolean;
6591
- /** Should send a confirmation mail to the customer */
6592
- sendOrderCanceledEmail?: boolean;
6593
- /** Personal note added to the email */
6594
- customMessage?: string | null;
6595
- }
6596
6613
  interface UpdateOrderStatusRequest {
6597
6614
  /**
6598
6615
  * Order ID.
@@ -6618,17 +6635,6 @@ interface MarkAsFulfilledResponse {
6618
6635
  /** Updated order. */
6619
6636
  order?: Order;
6620
6637
  }
6621
- /** Triggered when the fulfillment status of an order is updated */
6622
- interface FulfillmentStatusUpdated {
6623
- /** The order that was updated */
6624
- order?: Order;
6625
- /** The previous status (before the update) */
6626
- previousFulfillmentStatus?: FulfillmentStatusWithLiterals;
6627
- /** the new status (after the update) */
6628
- newFulfillmentStatus?: FulfillmentStatusWithLiterals;
6629
- /** the action that caused this update */
6630
- action?: string;
6631
- }
6632
6638
  interface BulkMarkAsFulfilledRequest {
6633
6639
  /**
6634
6640
  * IDs of orders to be marked as fulfilled.
@@ -6729,13 +6735,6 @@ interface V1MarkOrderAsPaidResponse {
6729
6735
  /** Updated order. */
6730
6736
  order?: Order;
6731
6737
  }
6732
- /** Triggered when the payment status of an order is updated */
6733
- interface PaymentStatusUpdated {
6734
- /** The order that was updated */
6735
- order?: Order;
6736
- /** The previous status (before the update) */
6737
- previousPaymentStatus?: PaymentStatusWithLiterals;
6738
- }
6739
6738
  interface V1BulkMarkOrdersAsPaidRequest {
6740
6739
  /**
6741
6740
  * IDs of orders to mark as paid.
@@ -7556,8 +7555,7 @@ interface OrderApprovedEnvelope {
7556
7555
  metadata: EventMetadata;
7557
7556
  }
7558
7557
  /**
7559
- * Triggered when an order is created and its status is updated to `"APPROVED"`.
7560
- * 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).
7558
+ * Triggered when an order is approved.
7561
7559
  * @permissionScope Manage Stores - all permissions
7562
7560
  * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
7563
7561
  * @permissionScope Manage Stores
@@ -7580,14 +7578,12 @@ interface OrderApprovedEnvelope {
7580
7578
  * @slug approved
7581
7579
  */
7582
7580
  declare function onOrderApproved(handler: (event: OrderApprovedEnvelope) => void | Promise<void>): void;
7583
- interface OrderUpdatedEnvelope {
7584
- entity: Order;
7581
+ interface OrderCanceledEnvelope {
7582
+ data: OrderCanceledEventOrderCanceled;
7585
7583
  metadata: EventMetadata;
7586
- /** @hidden */
7587
- modifiedFields: Record<string, any>;
7588
7584
  }
7589
7585
  /**
7590
- * Triggered when an order is updated.
7586
+ * Triggered when an order is canceled.
7591
7587
  * @permissionScope Manage Stores - all permissions
7592
7588
  * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
7593
7589
  * @permissionScope Manage Stores
@@ -7606,17 +7602,16 @@ interface OrderUpdatedEnvelope {
7606
7602
  * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
7607
7603
  * @permissionId ECOM.READ_ORDERS
7608
7604
  * @webhook
7609
- * @eventType wix.ecom.v1.order_updated
7610
- * @slug updated
7605
+ * @eventType wix.ecom.v1.order_canceled
7606
+ * @slug canceled
7611
7607
  */
7612
- declare function onOrderUpdated(handler: (event: OrderUpdatedEnvelope) => void | Promise<void>): void;
7613
- interface OrderCanceledEnvelope {
7614
- data: OrderCanceledEventOrderCanceled;
7608
+ declare function onOrderCanceled(handler: (event: OrderCanceledEnvelope) => void | Promise<void>): void;
7609
+ interface OrderCommittedEnvelope {
7610
+ data: OrderDeltasCommitted;
7615
7611
  metadata: EventMetadata;
7616
7612
  }
7617
7613
  /**
7618
- * Triggered when an order is canceled.
7619
- * 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).
7614
+ * Triggered when draft order changes are committed.
7620
7615
  * @permissionScope Manage Stores - all permissions
7621
7616
  * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
7622
7617
  * @permissionScope Manage Stores
@@ -7635,18 +7630,17 @@ interface OrderCanceledEnvelope {
7635
7630
  * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
7636
7631
  * @permissionId ECOM.READ_ORDERS
7637
7632
  * @webhook
7638
- * @eventType wix.ecom.v1.order_canceled
7639
- * @serviceIdentifier com.wix.ecom.orders.v1.Orders
7640
- * @slug canceled
7633
+ * @eventType wix.ecom.v1.order_committed
7634
+ * @slug committed
7635
+ * @documentationMaturity preview
7641
7636
  */
7642
- declare function onOrderCanceled(handler: (event: OrderCanceledEnvelope) => void | Promise<void>): void;
7637
+ declare function onOrderCommitted(handler: (event: OrderCommittedEnvelope) => void | Promise<void>): void;
7643
7638
  interface OrderCreatedEnvelope {
7644
7639
  entity: Order;
7645
7640
  metadata: EventMetadata;
7646
7641
  }
7647
7642
  /**
7648
7643
  * Triggered when an order is created.
7649
- * Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
7650
7644
  * @permissionScope Manage Stores - all permissions
7651
7645
  * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
7652
7646
  * @permissionScope Manage Stores
@@ -7666,16 +7660,44 @@ interface OrderCreatedEnvelope {
7666
7660
  * @permissionId ECOM.READ_ORDERS
7667
7661
  * @webhook
7668
7662
  * @eventType wix.ecom.v1.order_created
7669
- * @serviceIdentifier com.wix.ecom.orders.v1.Orders
7670
7663
  * @slug created
7671
7664
  */
7672
7665
  declare function onOrderCreated(handler: (event: OrderCreatedEnvelope) => void | Promise<void>): void;
7666
+ interface OrderFulfilledEnvelope {
7667
+ data: FulfillmentStatusUpdated;
7668
+ metadata: EventMetadata;
7669
+ }
7670
+ /**
7671
+ * Triggered when order fulfillment status is updated.
7672
+ * @permissionScope Manage Stores - all permissions
7673
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
7674
+ * @permissionScope Manage Stores
7675
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
7676
+ * @permissionScope Read eCommerce - all read permissions
7677
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
7678
+ * @permissionScope Read Orders
7679
+ * @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
7680
+ * @permissionScope Read Stores - all read permissions
7681
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
7682
+ * @permissionScope Manage Restaurants - all permissions
7683
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
7684
+ * @permissionScope Manage eCommerce - all permissions
7685
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
7686
+ * @permissionScope Manage Orders
7687
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
7688
+ * @permissionId ECOM.READ_ORDERS
7689
+ * @webhook
7690
+ * @eventType wix.ecom.v1.order_fulfilled
7691
+ * @slug fulfilled
7692
+ * @documentationMaturity preview
7693
+ */
7694
+ declare function onOrderFulfilled(handler: (event: OrderFulfilledEnvelope) => void | Promise<void>): void;
7673
7695
  interface OrderPaymentStatusUpdatedEnvelope {
7674
7696
  data: PaymentStatusUpdated;
7675
7697
  metadata: EventMetadata;
7676
7698
  }
7677
7699
  /**
7678
- * Triggered when an order's payment status is updated.
7700
+ * Triggered when the payment status of an order is updated.
7679
7701
  * @permissionScope Manage Stores - all permissions
7680
7702
  * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
7681
7703
  * @permissionScope Manage Stores
@@ -7695,10 +7717,39 @@ interface OrderPaymentStatusUpdatedEnvelope {
7695
7717
  * @permissionId ECOM.READ_ORDERS
7696
7718
  * @webhook
7697
7719
  * @eventType wix.ecom.v1.order_payment_status_updated
7698
- * @serviceIdentifier com.wix.ecom.orders.v1.Orders
7699
7720
  * @slug payment_status_updated
7700
7721
  */
7701
7722
  declare function onOrderPaymentStatusUpdated(handler: (event: OrderPaymentStatusUpdatedEnvelope) => void | Promise<void>): void;
7723
+ interface OrderUpdatedEnvelope {
7724
+ entity: Order;
7725
+ metadata: EventMetadata;
7726
+ /** @hidden */
7727
+ modifiedFields: Record<string, any>;
7728
+ }
7729
+ /**
7730
+ * Triggered when an order is updated.
7731
+ * @permissionScope Manage Stores - all permissions
7732
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
7733
+ * @permissionScope Manage Stores
7734
+ * @permissionScopeId SCOPE.STORES.MANAGE-STORES
7735
+ * @permissionScope Read eCommerce - all read permissions
7736
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
7737
+ * @permissionScope Read Orders
7738
+ * @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
7739
+ * @permissionScope Read Stores - all read permissions
7740
+ * @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
7741
+ * @permissionScope Manage Restaurants - all permissions
7742
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
7743
+ * @permissionScope Manage eCommerce - all permissions
7744
+ * @permissionScopeId SCOPE.DC-ECOM-MEGA.MANAGE-ECOM
7745
+ * @permissionScope Manage Orders
7746
+ * @permissionScopeId SCOPE.DC-STORES.MANAGE-ORDERS
7747
+ * @permissionId ECOM.READ_ORDERS
7748
+ * @webhook
7749
+ * @eventType wix.ecom.v1.order_updated
7750
+ * @slug updated
7751
+ */
7752
+ declare function onOrderUpdated(handler: (event: OrderUpdatedEnvelope) => void | Promise<void>): void;
7702
7753
  interface SetOrderNumberCounterOptions {
7703
7754
  /** Whether to allow setting a lower counter than current value */
7704
7755
  allowLowerCounter?: boolean;
@@ -8508,4 +8559,4 @@ interface BulkUpdateOrderTagsOptions {
8508
8559
  unassignTags?: Tags;
8509
8560
  }
8510
8561
 
8511
- export { ChannelType as $, type AddActivitiesOptions as A, type BulkUpdateOrdersOptions as B, type CaptureAuthorizedPaymentsResponse as C, DescriptionLineType as D, AdjustmentType as E, PaymentStatus as F, type GetPaymentCollectabilityStatusResponse as G, FulfillmentStatus as H, ItemTypePreset as I, JurisdictionType as J, VatType as K, PickupMethod as L, type MaskedOrder as M, OrderStatus as N, type Order as O, type Price as P, DiscountType as Q, DiscountReason as R, type SearchOrdersResponse as S, TaxableAddressType as T, type UpdateOrder as U, type VoidAuthorizedPaymentsResponse as V, WeightUnit as W, LineItemQuantityChangeType as X, ActivityType as Y, OrderActivityTypeEnumActivityType as Z, AttributionSource as _, type PreparePaymentCollectionOptions as a, type LocationAndQuantity as a$, AdditionalFeeSource as a0, OrderActionType as a1, ChargeType as a2, WebhookIdentityType as a3, VersioningMode as a4, PreviewEmailType as a5, State as a6, SiteCreatedContext as a7, Namespace as a8, DeleteStatus as a9, InvoiceStatus as aA, type OrderLineItem as aB, type ProductName as aC, type CatalogReference as aD, type DescriptionLine as aE, type DescriptionLineValueOneOf as aF, type DescriptionLineDescriptionLineValueOneOf as aG, type DescriptionLineName as aH, type PlainTextValue as aI, type Color as aJ, type FocalPoint as aK, type PhysicalProperties as aL, type Dimensions as aM, type ItemType as aN, type ItemTypeItemTypeDataOneOf as aO, type ItemTaxFullDetails as aP, type LineItemTaxInfo as aQ, type LineItemTaxBreakdown as aR, type DigitalFile as aS, type SubscriptionInfo as aT, type SubscriptionTitle as aU, type SubscriptionDescription as aV, type SubscriptionSettings as aW, type FreeTrialPeriod as aX, type BillingAdjustment as aY, type BillingAdjustmentPriceSummary as aZ, type PriceDescription as a_, ScheduledAction as aa, DurationUnit as ab, PaymentCollectabilityStatus as ac, PredefinedPaymentMethod as ad, RefundableStatus as ae, NonRefundableReason as af, ManuallyRefundableReason as ag, RestockType as ah, TransactionStatus as ai, AuthorizationCaptureStatus as aj, AuthorizationVoidStatus as ak, Reason as al, ActionType as am, ChargebackStatus as an, MembershipPaymentStatus as ao, RefundStatus as ap, SortOrder as aq, OrderApprovalStrategy as ar, DeltaPaymentOptionType as as, InventoryAction as at, Placement as au, SubdivisionType as av, SourceType as aw, CustomFieldGroup as ax, ValueType as ay, DepositType as az, type PreparePaymentCollectionResponse as b, type AuthorizedPaymentCreated as b$, type TaxableAddress as b0, type TaxableAddressTaxableAddressDataOneOf as b1, type ExtendedFields as b2, type ModifierGroup as b3, type TranslatableString as b4, type ItemModifier as b5, type BuyerInfo as b6, type BuyerInfoIdOneOf as b7, type CurrencyConversionDetails as b8, type PriceSummary as b9, type ItemCombinationLineItem as bA, type Activity as bB, type ActivityContentOneOf as bC, type CustomActivity as bD, type MerchantComment as bE, type OrderRefunded as bF, type OrderCreatedFromExchange as bG, type NewExchangeOrderCreated as bH, type LineItemExchangeData as bI, type DraftOrderChangesApplied as bJ, type OrderChange as bK, type OrderChangeValueOneOf as bL, type LineItemChanges as bM, type LineItemQuantityChange as bN, type LineItemPriceChange as bO, type LineItemProductNameChange as bP, type LineItemDescriptionLineChange as bQ, type LineItemModifiersChange as bR, type ManagedLineItem as bS, type ManagedDiscount as bT, type TranslatedValue as bU, type LineItemAmount as bV, type ManagedAdditionalFee as bW, type TotalPriceChange as bX, type ShippingInformationChange as bY, type ShippingInformation as bZ, type SavedPaymentMethod as b_, type AddressWithContact as ba, type Address as bb, type StreetAddress as bc, type AddressLocation as bd, type FullAddressContactDetails as be, type VatId as bf, type V1ShippingInformation as bg, type DeliveryLogistics as bh, type DeliveryLogisticsAddressOneOf as bi, type PickupDetails as bj, type PickupAddress as bk, type DeliveryTimeSlot as bl, type ShippingPrice as bm, type ShippingRegion as bn, type TaxSummary as bo, type OrderTaxInfo as bp, type OrderTaxBreakdown as bq, type AppliedDiscount as br, type AppliedDiscountDiscountSourceOneOf as bs, type Coupon as bt, type MerchantDiscount as bu, type MerchantDiscountMerchantDiscountReasonOneOf as bv, type DiscountRule as bw, type DiscountRuleName as bx, type LineItemDiscount as by, type ItemCombination as bz, type PreparePaymentCollectionApplicationErrors as c, type EntityCreatedEvent as c$, type AuthorizedPaymentCaptured as c0, type AuthorizedPaymentVoided as c1, type RefundInitiated as c2, type RefundedPayment as c3, type RefundedPaymentKindOneOf as c4, type RegularPaymentRefund as c5, type GiftCardPaymentRefund as c6, type MembershipPaymentRefund as c7, type PaymentRefunded as c8, type PaymentRefundFailed as c9, type Tags as cA, type TagList as cB, type Location as cC, type OrderSettings as cD, type OrderSettingsAllowedActionsOneOf as cE, type OrderSettingsEditableByOneOf as cF, type CustomAllowedActions as cG, type OwnerApps as cH, type FormInfo as cI, type FormIdentifier as cJ, type PlatformFeeSummary as cK, type PlatformFee as cL, type OrderApproved as cM, type OrdersExperiments as cN, type OrderRejectedEventOrderRejected as cO, type OrderItemsRestocked as cP, type V1RestockItem as cQ, type OrderImported as cR, type ImportedOrderDeleted as cS, type ImportOrderRequest as cT, type ImportOrderResponse as cU, type SetOrderNumberCounterRequest as cV, type SetOrderNumberCounterResponse as cW, type BulkDeleteImportedOrdersRequest as cX, type BulkDeleteImportedOrdersResponse as cY, type DomainEvent as cZ, type DomainEventBodyOneOf as c_, type RefundedAsStoreCredit as ca, type PaymentPending as cb, type PaymentPendingPaymentDetailsOneOf as cc, type RegularPayment as cd, type RegularPaymentPaymentMethodDetailsOneOf as ce, type CreditCardDetails as cf, type PaymentCanceled as cg, type PaymentCanceledPaymentDetailsOneOf as ch, type PaymentDeclined as ci, type PaymentDeclinedPaymentDetailsOneOf as cj, type ReceiptCreated as ck, type ReceiptCreatedReceiptInfoOneOf as cl, type WixReceipt as cm, type ExternalReceipt as cn, type ReceiptSent as co, type ReceiptSentReceiptInfoOneOf as cp, type ChargebackCreated as cq, type ChargebackReversed as cr, type CreatedBy as cs, type CreatedByStringOneOf as ct, type ChannelInfo as cu, type CustomField as cv, type BalanceSummary as cw, type Balance as cx, type AdditionalFee as cy, type FulfillmentStatusesAggregate as cz, type VoidAuthorizedPaymentsApplicationErrors as d, type PreviewBuyerPickupConfirmationEmailResponse as d$, type RestoreInfo as d0, type EntityUpdatedEvent as d1, type EntityDeletedEvent as d2, type ActionEvent as d3, type MessageEnvelope as d4, type IdentificationData as d5, type IdentificationDataIdOneOf as d6, type AccountInfo as d7, type UpdateInternalDocumentsEvent as d8, type UpdateInternalDocumentsEventOperationOneOf as d9, type BulkSendBuyerShippingConfirmationEmailsResponse as dA, type SendMerchantOrderReceivedNotificationRequest as dB, type SendMerchantOrderReceivedNotificationResponse as dC, type SendCancelRefundEmailRequest as dD, type SendCancelRefundEmailResponse as dE, type SendRefundEmailRequest as dF, type SendRefundEmailResponse as dG, type SendMerchantOrderReceivedPushRequest as dH, type SendMerchantOrderReceivedPushResponse as dI, type PreviewEmailByTypeRequest as dJ, type PreviewEmailByTypeResponse as dK, type PreviewRefundEmailRequest as dL, type RefundDetails as dM, type RefundItem as dN, type LineItemRefund as dO, type AdditionalFeeRefund as dP, type ShippingRefund as dQ, type PreviewRefundEmailResponse as dR, type PreviewCancelEmailRequest as dS, type PreviewCancelEmailResponse as dT, type PreviewCancelRefundEmailRequest as dU, type PreviewCancelRefundEmailResponse as dV, type PreviewBuyerPaymentsReceivedEmailRequest as dW, type PreviewBuyerPaymentsReceivedEmailResponse as dX, type PreviewBuyerConfirmationEmailRequest as dY, type PreviewBuyerConfirmationEmailResponse as dZ, type PreviewBuyerPickupConfirmationEmailRequest as d_, type InternalDocument as da, type InternalDocumentUpdateOperation as db, type DeleteByIdsOperation as dc, type DeleteByFilterOperation as dd, type InternalDocumentUpdateByFilterOperation as de, type InternalUpdateExistingOperation as df, type VersionedDocumentUpdateOperation as dg, type VersionedDeleteByIdsOperation as dh, type VersionedDocumentId as di, type TriggerReindexRequest as dj, type TriggerReindexResponse as dk, type Empty as dl, type BatchOfTriggerReindexOrderRequest as dm, type TriggerReindexOrderRequest as dn, type SendBuyerConfirmationEmailRequest as dp, type SendBuyerConfirmationEmailResponse as dq, type SendBuyerPaymentsReceivedEmailRequest as dr, type SendBuyerPaymentsReceivedEmailResponse as ds, type SendBuyerPickupConfirmationEmailRequest as dt, type SendBuyerPickupConfirmationEmailResponse as du, type BulkSendBuyerPickupConfirmationEmailsRequest as dv, type BulkSendBuyerPickupConfirmationEmailsResponse as dw, type SendBuyerShippingConfirmationEmailRequest as dx, type SendBuyerShippingConfirmationEmailResponse as dy, type BulkSendBuyerShippingConfirmationEmailsRequest as dz, type PaymentCapture as e, type ChargedBy as e$, type PreviewShippingConfirmationEmailRequest as e0, type PreviewShippingConfirmationEmailResponse as e1, type PreviewResendDownloadLinksEmailRequest as e2, type PreviewResendDownloadLinksEmailResponse as e3, type MetaSiteSpecialEvent as e4, type MetaSiteSpecialEventPayloadOneOf as e5, type Asset as e6, type SiteCreated as e7, type SiteTransferred as e8, type SiteDeleted as e9, type HasCustomEmailConfigurationsResponse as eA, type AddToAutomationMigrationPopulationRequest as eB, type AddToAutomationMigrationPopulationResponse as eC, type IsInAutomationMigrationPopulationRequest as eD, type IsInAutomationMigrationPopulationResponse as eE, type PreparePaymentCollectionRequest as eF, type RedirectUrls as eG, type DelayedCaptureSettings as eH, type Duration as eI, type GetPaymentCollectabilityStatusRequest as eJ, type RecordManuallyCollectedPaymentRequest as eK, type UserDefinedPaymentMethodName as eL, type UserDefinedPaymentMethodNameKindOneOf as eM, type RecordManuallyCollectedPaymentResponse as eN, type MarkOrderAsPaidRequest as eO, type MarkOrderAsPaidResponse as eP, type BulkMarkOrdersAsPaidRequest as eQ, type BulkMarkOrdersAsPaidResponse as eR, type BulkOrderResult as eS, type ItemMetadata as eT, type ApplicationError as eU, type BulkActionMetadata as eV, type GetRefundabilityStatusRequest as eW, type GetRefundabilityStatusResponse as eX, type Refundability as eY, type RefundabilityAdditionalRefundabilityInfoOneOf as eZ, type CreatePaymentGatewayOrderRequest as e_, type DeleteContext as ea, type SiteUndeleted as eb, type SitePublished as ec, type SiteUnpublished as ed, type SiteMarkedAsTemplate as ee, type SiteMarkedAsWixSite as ef, type ServiceProvisioned as eg, type ServiceRemoved as eh, type SiteRenamed as ei, type SiteHardDeleted as ej, type NamespaceChanged as ek, type StudioAssigned as el, type StudioUnassigned as em, type SiteUrlChanged as en, type SitePurgedExternally as eo, type OdeditorAssigned as ep, type OdeditorUnassigned as eq, type PicassoAssigned as er, type PicassoUnassigned as es, type WixelAssigned as et, type WixelUnassigned as eu, type StudioTwoAssigned as ev, type StudioTwoUnassigned as ew, type UserDomainMediaEnabled as ex, type UserDomainMediaDisabled as ey, type HasCustomEmailConfigurationsRequest as ez, type CaptureAuthorizedPaymentsApplicationErrors as f, type CreateOrderRequest as f$, type CreatePaymentGatewayOrderResponse as f0, type ChargeMembershipsRequest as f1, type MembershipChargeItem as f2, type MembershipName as f3, type ServiceProperties as f4, type ChargeMembershipsResponse as f5, type TriggerRefundRequest as f6, type PaymentRefund as f7, type RefundSideEffects as f8, type RestockInfo as f9, type CalculateRefundRequest as fA, type CalculateRefundItemRequest as fB, type CalculateRefundResponse as fC, type CalculateRefundItemResponse as fD, type VoidAuthorizedPaymentsRequest as fE, type CaptureAuthorizedPaymentsRequest as fF, type ChargeSavedPaymentMethodRequest as fG, type ChargeSavedPaymentMethodResponse as fH, type DiffmatokyPayload as fI, type ErrorInformation as fJ, type GetOrderRequest as fK, type GetOrderResponse as fL, type InternalQueryOrdersRequest as fM, type PlatformQuery as fN, type PlatformQueryPagingMethodOneOf as fO, type Sorting as fP, type PlatformPaging as fQ, type CursorPaging as fR, type InternalQueryOrdersResponse as fS, type PlatformPagingMetadata as fT, type Cursors as fU, type QueryOrderRequest as fV, type QueryOrderResponse as fW, type SearchOrdersRequest as fX, type CursorSearch as fY, type CursorSearchPagingMethodOneOf as fZ, type CursorPagingMetadata as f_, type RestockItem as fa, type TriggerRefundResponse as fb, type OrderTransactions as fc, type Payment as fd, type PaymentPaymentDetailsOneOf as fe, type PaymentReceiptInfoOneOf as ff, type RegularPaymentDetails as fg, type RegularPaymentDetailsPaymentMethodDetailsOneOf as fh, type CreditCardPaymentMethodDetails as fi, type AuthorizationDetails as fj, type AuthorizationCapture as fk, type AuthorizationActionFailureDetails as fl, type AuthorizationVoid as fm, type V1ScheduledAction as fn, type Chargeback as fo, type PaymentMethodName as fp, type GiftCardPaymentDetails as fq, type MembershipPaymentDetails as fr, type WixReceiptInfo as fs, type ExternalReceiptInfo as ft, type Refund as fu, type RefundTransaction as fv, type RefundStatusInfo as fw, type AggregatedRefundSummary as fx, type RefundItemsBreakdown as fy, type LineItemRefundSummary as fz, type GetOrderApplicationErrors as g, type DownloadLinkSent as g$, type OrderCreationSettings as g0, type OrderCreationSettingsEditableByOneOf as g1, type OrderCreateNotifications as g2, type CreateOrderResponse as g3, type UpdateOrderRequest as g4, type UpdateOrderResponse as g5, type BulkUpdateOrdersRequest as g6, type CommitDeltasRequest as g7, type DraftOrderDiffs as g8, type DraftOrderDiffsShippingUpdateInfoOneOf as g9, type UnArchiveOrderResponse as gA, type BulkUnArchiveOrdersRequest as gB, type BulkUnArchiveOrdersResponse as gC, type BulkUnArchiveOrdersByFilterRequest as gD, type BulkUnArchiveOrdersByFilterResponse as gE, type UpdateBuyerInfoRequest as gF, type BuyerInfoUpdate as gG, type UpdateBuyerInfoResponse as gH, type UpdateBuyerEmailRequest as gI, type UpdateBuyerEmailResponse as gJ, type UpdateOrderShippingAddressRequest as gK, type UpdateOrderShippingAddressResponse as gL, type UpdateBillingContactDetailsRequest as gM, type UpdateBillingContactDetailsResponse as gN, type UpdateOrderLineItemRequest as gO, type UpdateOrderLineItemResponse as gP, type UpdateOrderLineItemsRequest as gQ, type MaskedOrderLineItem as gR, type UpdateOrderLineItemsResponse as gS, type AddInternalActivityRequest as gT, type InternalActivity as gU, type InternalActivityContentOneOf as gV, type OrderPlaced as gW, type OrderPaid as gX, type OrderFulfilled as gY, type OrderNotFulfilled as gZ, type OrderCanceled as g_, type DraftOrderDiffsBuyerUpdateInfoOneOf as ga, type DraftOrderDiffsBillingUpdateInfoOneOf as gb, type DraftOrderDiffsRecipientUpdateInfoOneOf as gc, type V1LineItemDelta as gd, type V1LineItemDeltaDeltaOneOf as ge, type OrderLineItemChangedDetails as gf, type ItemChangedDetails as gg, type AppliedDiscountDelta as gh, type AppliedDiscountDeltaDeltaOneOf as gi, type AdditionalFeeDelta as gj, type AdditionalFeeDeltaDeltaOneOf as gk, type DraftOrderCommitSettings as gl, type InventoryUpdateDetails as gm, type CommitDeltasResponse as gn, type OrderDeltasCommitted as go, type CommittedDiffs as gp, type CommittedDiffsShippingUpdateInfoOneOf as gq, type LineItemDelta as gr, type LineItemDeltaDeltaOneOf as gs, type ArchiveOrderRequest as gt, type ArchiveOrderResponse as gu, type BulkArchiveOrdersRequest as gv, type BulkArchiveOrdersResponse as gw, type BulkArchiveOrdersByFilterRequest as gx, type BulkArchiveOrdersByFilterResponse as gy, type UnArchiveOrderRequest as gz, type OrderSearch as h, type BulkUpdateOrderTagsResult as h$, type TrackingNumberAdded as h0, type TrackingNumberEdited as h1, type TrackingLinkAdded as h2, type ShippingConfirmationEmailSent as h3, type InvoiceAdded as h4, type InvoiceSent as h5, type FulfillerEmailSent as h6, type ShippingAddressEdited as h7, type EmailEdited as h8, type PickupReadyEmailSent as h9, type BulkMarkAsFulfilledResponse as hA, type BulkMarkAsFulfilledByFilterRequest as hB, type BulkMarkAsFulfilledByFilterResponse as hC, type MarkAsUnfulfilledRequest as hD, type MarkAsUnfulfilledResponse as hE, type BulkMarkAsUnfulfilledRequest as hF, type BulkMarkAsUnfulfilledResponse as hG, type BulkMarkAsUnfulfilledByFilterRequest as hH, type BulkMarkAsUnfulfilledByFilterResponse as hI, type BulkSetBusinessLocationRequest as hJ, type BulkSetBusinessLocationResponse as hK, type BulkSetBusinessLocationResult as hL, type V1MarkOrderAsPaidRequest as hM, type V1MarkOrderAsPaidResponse as hN, type PaymentStatusUpdated as hO, type V1BulkMarkOrdersAsPaidRequest as hP, type V1BulkMarkOrdersAsPaidResponse as hQ, type V1CreatePaymentGatewayOrderRequest as hR, type V1CreatePaymentGatewayOrderResponse as hS, type GetShipmentsRequest as hT, type GetShipmentsResponse as hU, type AggregateOrdersRequest as hV, type AggregateOrdersResponse as hW, type DecrementItemsQuantityRequest as hX, type DecrementData as hY, type DecrementItemsQuantityResponse as hZ, type BulkUpdateOrderTagsRequest as h_, type OrderPartiallyPaid as ha, type OrderPending as hb, type OrderRejected as hc, type AddInternalActivityResponse as hd, type AddActivityRequest as he, type PublicActivity as hf, type PublicActivityContentOneOf as hg, type AddActivityResponse as hh, type AddActivitiesRequest as hi, type UpdateActivityRequest as hj, type UpdateActivityResponse as hk, type DeleteActivityRequest as hl, type DeleteActivityResponse as hm, type UpdateLineItemsDescriptionLinesRequest as hn, type LineItemUpdate as ho, type UpdateLineItemsDescriptionLinesResponse as hp, type MarkOrderAsSeenByHumanRequest as hq, type MarkOrderAsSeenByHumanResponse as hr, type CancelOrderRequest as hs, type OrderCanceledEventOrderCanceled as ht, type UpdateOrderStatusRequest as hu, type UpdateOrderStatusResponse as hv, type MarkAsFulfilledRequest as hw, type MarkAsFulfilledResponse as hx, type FulfillmentStatusUpdated as hy, type BulkMarkAsFulfilledRequest as hz, type CreateOrderOptions as i, type ItemTypePresetWithLiterals as i$, type SendOrderUpdatedDomainEventRequest as i0, type SendOrderUpdatedDomainEventResponse as i1, type Task as i2, type TaskKey as i3, type TaskAction as i4, type TaskActionActionOneOf as i5, type Complete as i6, type Cancel as i7, type Reschedule as i8, type InvoiceSentEvent as i9, type CalculatedTaxes as iA, type CalculatedTax as iB, type Payments as iC, type InvoicesPayment as iD, type MetaData as iE, type InvoiceDynamicPriceTotals as iF, type CustomFieldValue as iG, type Value as iH, type Deposit as iI, type BaseEventMetadata as iJ, type EventMetadata as iK, type AccountInfoMetadata as iL, type SetOrderNumberCounterOptions as iM, type BulkDeleteImportedOrdersOptions as iN, type RecordManuallyCollectedPaymentOptions as iO, type PaymentCollectionMarkOrderAsPaidOptions as iP, type PaymentCollectionCreatePaymentGatewayOrderOptions as iQ, type ChargeMembershipsOptions as iR, type TriggerRefundOptions as iS, type OrderSearchSpec as iT, type UpdateOrderLineItemIdentifiers as iU, type UpdateOrderLineItem as iV, type UpdateActivityIdentifiers as iW, type DeleteActivityIdentifiers as iX, type AggregateOrdersOptions as iY, type DescriptionLineTypeWithLiterals as iZ, type DimensionsUnitWithLiterals as i_, type IdAndVersion as ia, type InvoiceFields as ib, type Customer as ic, type Email as id, type QuotesAddress as ie, type AddressDescription as ig, type Phone as ih, type Company as ii, type CommonAddress as ij, type CommonAddressStreetOneOf as ik, type Subdivision as il, type StandardDetails as im, type InvoiceDates as io, type LineItems as ip, type LineItem as iq, type BigDecimalWrapper as ir, type LineItemTax as is, type Source as it, type LineItemMetaData as iu, type Locale as iv, type TotalPrice as iw, type ItemizedFee as ix, type Discount as iy, type DiscountOneDiscountTypeOneOf as iz, type CreateOrderApplicationErrors as j, onOrderCanceled as j$, type PaymentOptionTypeWithLiterals as j0, type JurisdictionTypeWithLiterals as j1, type SubscriptionFrequencyWithLiterals as j2, type AdjustmentTypeWithLiterals as j3, type TaxableAddressTypeWithLiterals as j4, type PaymentStatusWithLiterals as j5, type FulfillmentStatusWithLiterals as j6, type WeightUnitWithLiterals as j7, type VatTypeWithLiterals as j8, type PickupMethodWithLiterals as j9, type TransactionStatusWithLiterals as jA, type AuthorizationCaptureStatusWithLiterals as jB, type AuthorizationVoidStatusWithLiterals as jC, type ReasonWithLiterals as jD, type ActionTypeWithLiterals as jE, type ChargebackStatusWithLiterals as jF, type MembershipPaymentStatusWithLiterals as jG, type RefundStatusWithLiterals as jH, type SortOrderWithLiterals as jI, type OrderApprovalStrategyWithLiterals as jJ, type DeltaPaymentOptionTypeWithLiterals as jK, type InventoryActionWithLiterals as jL, type PlacementWithLiterals as jM, type SubdivisionTypeWithLiterals as jN, type SourceTypeWithLiterals as jO, type CustomFieldGroupWithLiterals as jP, type ValueTypeWithLiterals as jQ, type DepositTypeWithLiterals as jR, type InvoiceStatusWithLiterals as jS, type RecordManuallyCollectedPaymentApplicationErrors as jT, type PaymentCollectionMarkOrderAsPaidApplicationErrors as jU, type PaymentCollectionCreatePaymentGatewayOrderApplicationErrors as jV, type TriggerRefundApplicationErrors as jW, type UpdateOrderStatusApplicationErrors as jX, type CommonSearchWithEntityContext as jY, onOrderApproved as jZ, onOrderUpdated as j_, type OrderStatusWithLiterals as ja, type DiscountTypeWithLiterals as jb, type DiscountReasonWithLiterals as jc, type LineItemQuantityChangeTypeWithLiterals as jd, type ActivityTypeWithLiterals as je, type OrderActivityTypeEnumActivityTypeWithLiterals as jf, type AttributionSourceWithLiterals as jg, type ChannelTypeWithLiterals as jh, type AdditionalFeeSourceWithLiterals as ji, type OrderActionTypeWithLiterals as jj, type ChargeTypeWithLiterals as jk, type WebhookIdentityTypeWithLiterals as jl, type VersioningModeWithLiterals as jm, type PreviewEmailTypeWithLiterals as jn, type StateWithLiterals as jo, type SiteCreatedContextWithLiterals as jp, type NamespaceWithLiterals as jq, type DeleteStatusWithLiterals as jr, type ScheduledActionWithLiterals as js, type DurationUnitWithLiterals as jt, type PaymentCollectabilityStatusWithLiterals as ju, type PredefinedPaymentMethodWithLiterals as jv, type RefundableStatusWithLiterals as jw, type NonRefundableReasonWithLiterals as jx, type ManuallyRefundableReasonWithLiterals as jy, type RestockTypeWithLiterals as jz, type UpdateOrderApplicationErrors as k, onOrderCreated as k0, onOrderPaymentStatusUpdated as k1, preparePaymentCollection as k2, getPaymentCollectabilityStatus as k3, voidAuthorizedPayments as k4, captureAuthorizedPayments as k5, getOrder as k6, createOrder as k7, updateOrder as k8, bulkUpdateOrders as k9, addActivities as ka, cancelOrder as kb, bulkUpdateOrderTags as kc, type BulkUpdateOrdersResponse as l, type AddActivitiesResponse as m, type CancelOrderOptions as n, type CancelOrderResponse as o, type CancelOrderApplicationErrors as p, type BulkUpdateOrderTagsOptions as q, type BulkUpdateOrderTagsResponse as r, type OrderApprovedEnvelope as s, type OrderUpdatedEnvelope as t, type OrderCanceledEnvelope as u, type OrderCreatedEnvelope as v, type OrderPaymentStatusUpdatedEnvelope as w, DimensionsUnit as x, PaymentOptionType as y, SubscriptionFrequency as z };
8562
+ export { OrderActivityTypeEnumActivityType as $, type AddActivitiesOptions as A, type BulkUpdateOrdersOptions as B, type CaptureAuthorizedPaymentsResponse as C, DescriptionLineType as D, PaymentOptionType as E, SubscriptionFrequency as F, type GetPaymentCollectabilityStatusResponse as G, AdjustmentType as H, ItemTypePreset as I, JurisdictionType as J, PaymentStatus as K, FulfillmentStatus as L, type MaskedOrder as M, VatType as N, type Order as O, type Price as P, PickupMethod as Q, OrderStatus as R, type SearchOrdersResponse as S, TaxableAddressType as T, type UpdateOrder as U, type VoidAuthorizedPaymentsResponse as V, WeightUnit as W, DiscountType as X, DiscountReason as Y, LineItemQuantityChangeType as Z, ActivityType as _, type PreparePaymentCollectionOptions as a, type BillingAdjustmentPriceSummary as a$, AttributionSource as a0, ChannelType as a1, AdditionalFeeSource as a2, OrderActionType as a3, ChargeType as a4, DeltaPaymentOptionType as a5, InventoryAction as a6, WebhookIdentityType as a7, VersioningMode as a8, PreviewEmailType as a9, ValueType as aA, DepositType as aB, InvoiceStatus as aC, type OrderLineItem as aD, type ProductName as aE, type CatalogReference as aF, type DescriptionLine as aG, type DescriptionLineValueOneOf as aH, type DescriptionLineDescriptionLineValueOneOf as aI, type DescriptionLineName as aJ, type PlainTextValue as aK, type Color as aL, type FocalPoint as aM, type PhysicalProperties as aN, type Dimensions as aO, type ItemType as aP, type ItemTypeItemTypeDataOneOf as aQ, type ItemTaxFullDetails as aR, type LineItemTaxInfo as aS, type LineItemTaxBreakdown as aT, type DigitalFile as aU, type SubscriptionInfo as aV, type SubscriptionTitle as aW, type SubscriptionDescription as aX, type SubscriptionSettings as aY, type FreeTrialPeriod as aZ, type BillingAdjustment as a_, State as aa, SiteCreatedContext as ab, Namespace as ac, DeleteStatus as ad, ScheduledAction as ae, DurationUnit as af, PaymentCollectabilityStatus as ag, PredefinedPaymentMethod as ah, RefundableStatus as ai, NonRefundableReason as aj, ManuallyRefundableReason as ak, RestockType as al, TransactionStatus as am, AuthorizationCaptureStatus as an, AuthorizationVoidStatus as ao, Reason as ap, ActionType as aq, ChargebackStatus as ar, MembershipPaymentStatus as as, RefundStatus as at, SortOrder as au, OrderApprovalStrategy as av, Placement as aw, SubdivisionType as ax, SourceType as ay, CustomFieldGroup as az, type PreparePaymentCollectionResponse as b, type ShippingInformation as b$, type PriceDescription as b0, type LocationAndQuantity as b1, type TaxableAddress as b2, type TaxableAddressTaxableAddressDataOneOf as b3, type ExtendedFields as b4, type ModifierGroup as b5, type TranslatableString as b6, type ItemModifier as b7, type BuyerInfo as b8, type BuyerInfoIdOneOf as b9, type LineItemDiscount as bA, type ItemCombination as bB, type ItemCombinationLineItem as bC, type Activity as bD, type ActivityContentOneOf as bE, type CustomActivity as bF, type MerchantComment as bG, type OrderRefunded as bH, type OrderCreatedFromExchange as bI, type NewExchangeOrderCreated as bJ, type LineItemExchangeData as bK, type DraftOrderChangesApplied as bL, type OrderChange as bM, type OrderChangeValueOneOf as bN, type LineItemChanges as bO, type LineItemQuantityChange as bP, type LineItemPriceChange as bQ, type LineItemProductNameChange as bR, type LineItemDescriptionLineChange as bS, type LineItemModifiersChange as bT, type ManagedLineItem as bU, type ManagedDiscount as bV, type TranslatedValue as bW, type LineItemAmount as bX, type ManagedAdditionalFee as bY, type TotalPriceChange as bZ, type ShippingInformationChange as b_, type CurrencyConversionDetails as ba, type PriceSummary as bb, type AddressWithContact as bc, type Address as bd, type StreetAddress as be, type AddressLocation as bf, type FullAddressContactDetails as bg, type VatId as bh, type V1ShippingInformation as bi, type DeliveryLogistics as bj, type DeliveryLogisticsAddressOneOf as bk, type PickupDetails as bl, type PickupAddress as bm, type DeliveryTimeSlot as bn, type ShippingPrice as bo, type ShippingRegion as bp, type TaxSummary as bq, type OrderTaxInfo as br, type OrderTaxBreakdown as bs, type AppliedDiscount as bt, type AppliedDiscountDiscountSourceOneOf as bu, type Coupon as bv, type MerchantDiscount as bw, type MerchantDiscountMerchantDiscountReasonOneOf as bx, type DiscountRule as by, type DiscountRuleName as bz, type PreparePaymentCollectionApplicationErrors as c, type ItemChangedDetails as c$, type SavedPaymentMethod as c0, type AuthorizedPaymentCreated as c1, type AuthorizedPaymentCaptured as c2, type AuthorizedPaymentVoided as c3, type RefundInitiated as c4, type RefundedPayment as c5, type RefundedPaymentKindOneOf as c6, type RegularPaymentRefund as c7, type GiftCardPaymentRefund as c8, type MembershipPaymentRefund as c9, type AdditionalFee as cA, type FulfillmentStatusesAggregate as cB, type Tags as cC, type TagList as cD, type Location as cE, type OrderSettings as cF, type OrderSettingsAllowedActionsOneOf as cG, type OrderSettingsEditableByOneOf as cH, type CustomAllowedActions as cI, type OwnerApps as cJ, type FormInfo as cK, type FormIdentifier as cL, type PlatformFeeSummary as cM, type PlatformFee as cN, type OrderApproved as cO, type OrdersExperiments as cP, type OrderRejectedEventOrderRejected as cQ, type OrderItemsRestocked as cR, type V1RestockItem as cS, type OrderImported as cT, type ImportedOrderDeleted as cU, type PaymentStatusUpdated as cV, type FulfillmentStatusUpdated as cW, type OrderCanceledEventOrderCanceled as cX, type OrderDeltasCommitted as cY, type CommittedDiffs as cZ, type CommittedDiffsShippingUpdateInfoOneOf as c_, type PaymentRefunded as ca, type PaymentRefundFailed as cb, type RefundedAsStoreCredit as cc, type PaymentPending as cd, type PaymentPendingPaymentDetailsOneOf as ce, type RegularPayment as cf, type RegularPaymentPaymentMethodDetailsOneOf as cg, type CreditCardDetails as ch, type PaymentCanceled as ci, type PaymentCanceledPaymentDetailsOneOf as cj, type PaymentDeclined as ck, type PaymentDeclinedPaymentDetailsOneOf as cl, type ReceiptCreated as cm, type ReceiptCreatedReceiptInfoOneOf as cn, type WixReceipt as co, type ExternalReceipt as cp, type ReceiptSent as cq, type ReceiptSentReceiptInfoOneOf as cr, type ChargebackCreated as cs, type ChargebackReversed as ct, type CreatedBy as cu, type CreatedByStringOneOf as cv, type ChannelInfo as cw, type CustomField as cx, type BalanceSummary as cy, type Balance as cz, type VoidAuthorizedPaymentsApplicationErrors as d, type PreviewEmailByTypeRequest as d$, type OrderLineItemChangedDetails as d0, type LineItemDelta as d1, type LineItemDeltaDeltaOneOf as d2, type AppliedDiscountDelta as d3, type AppliedDiscountDeltaDeltaOneOf as d4, type AdditionalFeeDelta as d5, type AdditionalFeeDeltaDeltaOneOf as d6, type DraftOrderCommitSettings as d7, type InventoryUpdateDetails as d8, type ImportOrderRequest as d9, type VersionedDeleteByIdsOperation as dA, type VersionedDocumentId as dB, type TriggerReindexRequest as dC, type TriggerReindexResponse as dD, type Empty as dE, type BatchOfTriggerReindexOrderRequest as dF, type TriggerReindexOrderRequest 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 ImportOrderResponse as da, type SetOrderNumberCounterRequest as db, type SetOrderNumberCounterResponse as dc, type BulkDeleteImportedOrdersRequest as dd, type BulkDeleteImportedOrdersResponse as de, type DomainEvent as df, type DomainEventBodyOneOf as dg, type EntityCreatedEvent as dh, type RestoreInfo as di, type EntityUpdatedEvent as dj, type EntityDeletedEvent as dk, type ActionEvent as dl, type MessageEnvelope as dm, type IdentificationData as dn, type IdentificationDataIdOneOf as dp, type AccountInfo as dq, type UpdateInternalDocumentsEvent as dr, type UpdateInternalDocumentsEventOperationOneOf as ds, type InternalDocument as dt, type InternalDocumentUpdateOperation as du, type DeleteByIdsOperation as dv, type DeleteByFilterOperation as dw, type InternalDocumentUpdateByFilterOperation as dx, type InternalUpdateExistingOperation as dy, type VersionedDocumentUpdateOperation as dz, type PaymentCapture as e, type GetPaymentCollectabilityStatusRequest as e$, type PreviewEmailByTypeResponse as e0, type PreviewRefundEmailRequest as e1, type RefundDetails as e2, type RefundItem as e3, type LineItemRefund as e4, type AdditionalFeeRefund as e5, type ShippingRefund as e6, type PreviewRefundEmailResponse as e7, type PreviewCancelEmailRequest as e8, type PreviewCancelEmailResponse as e9, type SiteRenamed as eA, type SiteHardDeleted as eB, type NamespaceChanged as eC, type StudioAssigned as eD, type StudioUnassigned as eE, type SiteUrlChanged as eF, type SitePurgedExternally as eG, type OdeditorAssigned as eH, type OdeditorUnassigned as eI, type PicassoAssigned as eJ, type PicassoUnassigned as eK, type WixelAssigned as eL, type WixelUnassigned as eM, type StudioTwoAssigned as eN, type StudioTwoUnassigned as eO, type UserDomainMediaEnabled as eP, type UserDomainMediaDisabled as eQ, type HasCustomEmailConfigurationsRequest as eR, type HasCustomEmailConfigurationsResponse as eS, type AddToAutomationMigrationPopulationRequest as eT, type AddToAutomationMigrationPopulationResponse as eU, type IsInAutomationMigrationPopulationRequest as eV, type IsInAutomationMigrationPopulationResponse as eW, type PreparePaymentCollectionRequest as eX, type RedirectUrls as eY, type DelayedCaptureSettings as eZ, type Duration as e_, type PreviewCancelRefundEmailRequest as ea, type PreviewCancelRefundEmailResponse as eb, type PreviewBuyerPaymentsReceivedEmailRequest as ec, type PreviewBuyerPaymentsReceivedEmailResponse as ed, type PreviewBuyerConfirmationEmailRequest as ee, type PreviewBuyerConfirmationEmailResponse as ef, type PreviewBuyerPickupConfirmationEmailRequest as eg, type PreviewBuyerPickupConfirmationEmailResponse as eh, type PreviewShippingConfirmationEmailRequest as ei, type PreviewShippingConfirmationEmailResponse as ej, type PreviewResendDownloadLinksEmailRequest as ek, type PreviewResendDownloadLinksEmailResponse as el, type MetaSiteSpecialEvent as em, type MetaSiteSpecialEventPayloadOneOf as en, type Asset as eo, type SiteCreated as ep, type SiteTransferred as eq, type SiteDeleted as er, type DeleteContext as es, type SiteUndeleted as et, type SitePublished as eu, type SiteUnpublished as ev, type SiteMarkedAsTemplate as ew, type SiteMarkedAsWixSite as ex, type ServiceProvisioned as ey, type ServiceRemoved as ez, type CaptureAuthorizedPaymentsApplicationErrors as f, type ErrorInformation as f$, type RecordManuallyCollectedPaymentRequest as f0, type UserDefinedPaymentMethodName as f1, type UserDefinedPaymentMethodNameKindOneOf as f2, type RecordManuallyCollectedPaymentResponse as f3, type MarkOrderAsPaidRequest as f4, type MarkOrderAsPaidResponse as f5, type BulkMarkOrdersAsPaidRequest as f6, type BulkMarkOrdersAsPaidResponse as f7, type BulkOrderResult as f8, type ItemMetadata as f9, type CreditCardPaymentMethodDetails as fA, type AuthorizationDetails as fB, type AuthorizationCapture as fC, type AuthorizationActionFailureDetails as fD, type AuthorizationVoid as fE, type V1ScheduledAction as fF, type Chargeback as fG, type PaymentMethodName as fH, type GiftCardPaymentDetails as fI, type MembershipPaymentDetails as fJ, type WixReceiptInfo as fK, type ExternalReceiptInfo as fL, type Refund as fM, type RefundTransaction as fN, type RefundStatusInfo as fO, type AggregatedRefundSummary as fP, type RefundItemsBreakdown as fQ, type LineItemRefundSummary as fR, type CalculateRefundRequest as fS, type CalculateRefundItemRequest as fT, type CalculateRefundResponse as fU, type CalculateRefundItemResponse as fV, type VoidAuthorizedPaymentsRequest as fW, type CaptureAuthorizedPaymentsRequest as fX, type ChargeSavedPaymentMethodRequest as fY, type ChargeSavedPaymentMethodResponse as fZ, type DiffmatokyPayload as f_, type ApplicationError as fa, type BulkActionMetadata as fb, type GetRefundabilityStatusRequest as fc, type GetRefundabilityStatusResponse as fd, type Refundability as fe, type RefundabilityAdditionalRefundabilityInfoOneOf as ff, type CreatePaymentGatewayOrderRequest as fg, type ChargedBy as fh, type CreatePaymentGatewayOrderResponse as fi, type ChargeMembershipsRequest as fj, type MembershipChargeItem as fk, type MembershipName as fl, type ServiceProperties as fm, type ChargeMembershipsResponse as fn, type TriggerRefundRequest as fo, type PaymentRefund as fp, type RefundSideEffects as fq, type RestockInfo as fr, type RestockItem as fs, type TriggerRefundResponse as ft, type OrderTransactions as fu, type Payment as fv, type PaymentPaymentDetailsOneOf as fw, type PaymentReceiptInfoOneOf as fx, type RegularPaymentDetails as fy, type RegularPaymentDetailsPaymentMethodDetailsOneOf as fz, type GetOrderApplicationErrors as g, type OrderPlaced as g$, type GetOrderRequest as g0, type GetOrderResponse as g1, type InternalQueryOrdersRequest as g2, type PlatformQuery as g3, type PlatformQueryPagingMethodOneOf as g4, type Sorting as g5, type PlatformPaging as g6, type CursorPaging as g7, type InternalQueryOrdersResponse as g8, type PlatformPagingMetadata as g9, type BulkArchiveOrdersRequest as gA, type BulkArchiveOrdersResponse as gB, type BulkArchiveOrdersByFilterRequest as gC, type BulkArchiveOrdersByFilterResponse as gD, type UnArchiveOrderRequest as gE, type UnArchiveOrderResponse as gF, type BulkUnArchiveOrdersRequest as gG, type BulkUnArchiveOrdersResponse as gH, type BulkUnArchiveOrdersByFilterRequest as gI, type BulkUnArchiveOrdersByFilterResponse as gJ, type UpdateBuyerInfoRequest as gK, type BuyerInfoUpdate as gL, type UpdateBuyerInfoResponse as gM, type UpdateBuyerEmailRequest as gN, type UpdateBuyerEmailResponse as gO, type UpdateOrderShippingAddressRequest as gP, type UpdateOrderShippingAddressResponse as gQ, type UpdateBillingContactDetailsRequest as gR, type UpdateBillingContactDetailsResponse as gS, type UpdateOrderLineItemRequest as gT, type UpdateOrderLineItemResponse as gU, type UpdateOrderLineItemsRequest as gV, type MaskedOrderLineItem as gW, type UpdateOrderLineItemsResponse as gX, type AddInternalActivityRequest as gY, type InternalActivity as gZ, type InternalActivityContentOneOf as g_, type Cursors as ga, type QueryOrderRequest as gb, type QueryOrderResponse as gc, type SearchOrdersRequest as gd, type CursorSearch as ge, type CursorSearchPagingMethodOneOf as gf, type CursorPagingMetadata as gg, type CreateOrderRequest as gh, type OrderCreationSettings as gi, type OrderCreationSettingsEditableByOneOf as gj, type OrderCreateNotifications as gk, type CreateOrderResponse as gl, type UpdateOrderRequest as gm, type UpdateOrderResponse as gn, type BulkUpdateOrdersRequest as go, type CommitDeltasRequest as gp, type DraftOrderDiffs as gq, type DraftOrderDiffsShippingUpdateInfoOneOf as gr, type DraftOrderDiffsBuyerUpdateInfoOneOf as gs, type DraftOrderDiffsBillingUpdateInfoOneOf as gt, type DraftOrderDiffsRecipientUpdateInfoOneOf as gu, type V1LineItemDelta as gv, type V1LineItemDeltaDeltaOneOf as gw, type CommitDeltasResponse as gx, type ArchiveOrderRequest as gy, type ArchiveOrderResponse as gz, type OrderSearch as h, type DecrementItemsQuantityResponse as h$, type OrderPaid as h0, type OrderFulfilled as h1, type OrderNotFulfilled as h2, type OrderCanceled as h3, type DownloadLinkSent as h4, type TrackingNumberAdded as h5, type TrackingNumberEdited as h6, type TrackingLinkAdded as h7, type ShippingConfirmationEmailSent as h8, type InvoiceAdded as h9, type MarkAsFulfilledRequest as hA, type MarkAsFulfilledResponse as hB, type BulkMarkAsFulfilledRequest as hC, type BulkMarkAsFulfilledResponse as hD, type BulkMarkAsFulfilledByFilterRequest as hE, type BulkMarkAsFulfilledByFilterResponse as hF, type MarkAsUnfulfilledRequest as hG, type MarkAsUnfulfilledResponse as hH, type BulkMarkAsUnfulfilledRequest as hI, type BulkMarkAsUnfulfilledResponse as hJ, type BulkMarkAsUnfulfilledByFilterRequest as hK, type BulkMarkAsUnfulfilledByFilterResponse as hL, type BulkSetBusinessLocationRequest as hM, type BulkSetBusinessLocationResponse as hN, type BulkSetBusinessLocationResult as hO, type V1MarkOrderAsPaidRequest as hP, type V1MarkOrderAsPaidResponse as hQ, type V1BulkMarkOrdersAsPaidRequest as hR, type V1BulkMarkOrdersAsPaidResponse as hS, type V1CreatePaymentGatewayOrderRequest as hT, type V1CreatePaymentGatewayOrderResponse as hU, type GetShipmentsRequest as hV, type GetShipmentsResponse as hW, type AggregateOrdersRequest as hX, type AggregateOrdersResponse as hY, type DecrementItemsQuantityRequest as hZ, type DecrementData as h_, type InvoiceSent as ha, type FulfillerEmailSent as hb, type ShippingAddressEdited as hc, type EmailEdited as hd, type PickupReadyEmailSent as he, type OrderPartiallyPaid as hf, type OrderPending as hg, type OrderRejected as hh, type AddInternalActivityResponse as hi, type AddActivityRequest as hj, type PublicActivity as hk, type PublicActivityContentOneOf as hl, type AddActivityResponse as hm, type AddActivitiesRequest as hn, type UpdateActivityRequest as ho, type UpdateActivityResponse as hp, type DeleteActivityRequest as hq, type DeleteActivityResponse as hr, type UpdateLineItemsDescriptionLinesRequest as hs, type LineItemUpdate as ht, type UpdateLineItemsDescriptionLinesResponse as hu, type MarkOrderAsSeenByHumanRequest as hv, type MarkOrderAsSeenByHumanResponse as hw, type CancelOrderRequest as hx, type UpdateOrderStatusRequest as hy, type UpdateOrderStatusResponse as hz, type CreateOrderOptions as i, type DescriptionLineTypeWithLiterals as i$, type BulkUpdateOrderTagsRequest as i0, type BulkUpdateOrderTagsResult as i1, type SendOrderUpdatedDomainEventRequest as i2, type SendOrderUpdatedDomainEventResponse as i3, type Task as i4, type TaskKey as i5, type TaskAction as i6, type TaskActionActionOneOf as i7, type Complete as i8, type Cancel as i9, type Discount as iA, type DiscountOneDiscountTypeOneOf as iB, type CalculatedTaxes as iC, type CalculatedTax as iD, type Payments as iE, type InvoicesPayment as iF, type MetaData as iG, type InvoiceDynamicPriceTotals as iH, type CustomFieldValue as iI, type Value as iJ, type Deposit as iK, type BaseEventMetadata as iL, type EventMetadata as iM, type AccountInfoMetadata as iN, type SetOrderNumberCounterOptions as iO, type BulkDeleteImportedOrdersOptions as iP, type RecordManuallyCollectedPaymentOptions as iQ, type PaymentCollectionMarkOrderAsPaidOptions as iR, type PaymentCollectionCreatePaymentGatewayOrderOptions as iS, type ChargeMembershipsOptions as iT, type TriggerRefundOptions as iU, type OrderSearchSpec as iV, type UpdateOrderLineItemIdentifiers as iW, type UpdateOrderLineItem as iX, type UpdateActivityIdentifiers as iY, type DeleteActivityIdentifiers as iZ, type AggregateOrdersOptions as i_, type Reschedule as ia, type InvoiceSentEvent as ib, type IdAndVersion as ic, type InvoiceFields as id, type Customer as ie, type Email as ig, type QuotesAddress as ih, type AddressDescription as ii, type Phone as ij, type Company as ik, type CommonAddress as il, type CommonAddressStreetOneOf as im, type Subdivision as io, type StandardDetails as ip, type InvoiceDates as iq, type LineItems as ir, type LineItem as is, type BigDecimalWrapper as it, type LineItemTax as iu, type Source as iv, type LineItemMetaData as iw, type Locale as ix, type TotalPrice as iy, type ItemizedFee as iz, type CreateOrderApplicationErrors as j, onOrderApproved as j$, type DimensionsUnitWithLiterals as j0, type ItemTypePresetWithLiterals as j1, type PaymentOptionTypeWithLiterals as j2, type JurisdictionTypeWithLiterals as j3, type SubscriptionFrequencyWithLiterals as j4, type AdjustmentTypeWithLiterals as j5, type TaxableAddressTypeWithLiterals as j6, type PaymentStatusWithLiterals as j7, type FulfillmentStatusWithLiterals as j8, type WeightUnitWithLiterals as j9, type RefundableStatusWithLiterals as jA, type NonRefundableReasonWithLiterals as jB, type ManuallyRefundableReasonWithLiterals as jC, type RestockTypeWithLiterals as jD, type TransactionStatusWithLiterals as jE, type AuthorizationCaptureStatusWithLiterals as jF, type AuthorizationVoidStatusWithLiterals as jG, type ReasonWithLiterals as jH, type ActionTypeWithLiterals as jI, type ChargebackStatusWithLiterals as jJ, type MembershipPaymentStatusWithLiterals as jK, type RefundStatusWithLiterals as jL, type SortOrderWithLiterals as jM, type OrderApprovalStrategyWithLiterals as jN, type PlacementWithLiterals as jO, type SubdivisionTypeWithLiterals as jP, type SourceTypeWithLiterals as jQ, type CustomFieldGroupWithLiterals as jR, type ValueTypeWithLiterals as jS, type DepositTypeWithLiterals as jT, type InvoiceStatusWithLiterals as jU, type RecordManuallyCollectedPaymentApplicationErrors as jV, type PaymentCollectionMarkOrderAsPaidApplicationErrors as jW, type PaymentCollectionCreatePaymentGatewayOrderApplicationErrors as jX, type TriggerRefundApplicationErrors as jY, type UpdateOrderStatusApplicationErrors as jZ, type CommonSearchWithEntityContext as j_, type VatTypeWithLiterals as ja, type PickupMethodWithLiterals as jb, type OrderStatusWithLiterals as jc, type DiscountTypeWithLiterals as jd, type DiscountReasonWithLiterals as je, type LineItemQuantityChangeTypeWithLiterals as jf, type ActivityTypeWithLiterals as jg, type OrderActivityTypeEnumActivityTypeWithLiterals as jh, type AttributionSourceWithLiterals as ji, type ChannelTypeWithLiterals as jj, type AdditionalFeeSourceWithLiterals as jk, type OrderActionTypeWithLiterals as jl, type ChargeTypeWithLiterals as jm, type DeltaPaymentOptionTypeWithLiterals as jn, type InventoryActionWithLiterals as jo, type WebhookIdentityTypeWithLiterals as jp, type VersioningModeWithLiterals as jq, type PreviewEmailTypeWithLiterals as jr, type StateWithLiterals as js, type SiteCreatedContextWithLiterals as jt, type NamespaceWithLiterals as ju, type DeleteStatusWithLiterals as jv, type ScheduledActionWithLiterals as jw, type DurationUnitWithLiterals as jx, type PaymentCollectabilityStatusWithLiterals as jy, type PredefinedPaymentMethodWithLiterals as jz, type UpdateOrderApplicationErrors as k, onOrderCanceled as k0, onOrderCommitted as k1, onOrderCreated as k2, onOrderFulfilled as k3, onOrderPaymentStatusUpdated as k4, onOrderUpdated as k5, preparePaymentCollection as k6, getPaymentCollectabilityStatus as k7, voidAuthorizedPayments as k8, captureAuthorizedPayments as k9, getOrder as ka, createOrder as kb, updateOrder as kc, bulkUpdateOrders as kd, addActivities as ke, cancelOrder as kf, bulkUpdateOrderTags as kg, type BulkUpdateOrdersResponse as l, type AddActivitiesResponse as m, type CancelOrderOptions as n, type CancelOrderResponse as o, type CancelOrderApplicationErrors as p, type BulkUpdateOrderTagsOptions as q, type BulkUpdateOrderTagsResponse as r, type OrderApprovedEnvelope as s, type OrderCanceledEnvelope as t, type OrderCommittedEnvelope as u, type OrderCreatedEnvelope as v, type OrderFulfilledEnvelope as w, type OrderPaymentStatusUpdatedEnvelope as x, type OrderUpdatedEnvelope as y, DimensionsUnit as z };