@wix/auto_sdk_ecom_draft-orders 1.0.98 → 1.0.100

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.
@@ -1439,6 +1439,16 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1439
1439
  * @max 999
1440
1440
  */
1441
1441
  subscriptionCycles?: number | null;
1442
+ /**
1443
+ * A list of item combinations for this applied discount.
1444
+ * Each entry represents a unique combination of line items that triggered
1445
+ * or received this discount, along with how many times that combination was applied together.
1446
+ * Relevant ONLY for BXGY and Quantity-based promotions.
1447
+ * In BXGY the combination will contain the "X" items with discount amount of 0.
1448
+ * @internal
1449
+ * @maxSize 1000
1450
+ */
1451
+ itemCombinations?: ItemCombination[];
1442
1452
  }
1443
1453
  /** @oneof */
1444
1454
  interface AppliedDiscountDiscountSourceOneOf {
@@ -1542,6 +1552,35 @@ interface LineItemDiscount {
1542
1552
  /** Total discount for this line item. */
1543
1553
  totalDiscount?: Price;
1544
1554
  }
1555
+ interface ItemCombination {
1556
+ /**
1557
+ * The number of times this exact combination of items (with the specified quantities) was applied together in the order.
1558
+ * @min 1
1559
+ * @max 100000
1560
+ */
1561
+ count?: number;
1562
+ /**
1563
+ * Line items that participated together in this combination.
1564
+ * @minSize 1
1565
+ * @maxSize 100
1566
+ */
1567
+ lineItems?: ItemCombinationLineItem[];
1568
+ }
1569
+ interface ItemCombinationLineItem {
1570
+ /**
1571
+ * The unique ID of the line item to which this discount applies.
1572
+ * @format GUID
1573
+ */
1574
+ lineItemId?: string;
1575
+ /** Total discount amount for all units (quantity) of this line item in this combination. */
1576
+ discountAmount?: Price;
1577
+ /**
1578
+ * Number of units from this line item that participated in a single combination.
1579
+ * @min 1
1580
+ * @max 100000
1581
+ */
1582
+ quantity?: number;
1583
+ }
1545
1584
  interface CreatedBy extends CreatedByStringOneOf {
1546
1585
  /**
1547
1586
  * User ID. When the draft order was created by a Wix user.
@@ -2373,20 +2412,11 @@ interface LineItemChangeDetails {
2373
2412
  * For example, when price is `0` but additional details about the actual price are needed - `"Starts at $67"`.
2374
2413
  */
2375
2414
  newPriceDescription?: PriceDescription;
2376
- /**
2377
- * New product name.
2378
- * @internal
2379
- */
2415
+ /** New product name. */
2380
2416
  newProductName?: ProductName;
2381
- /**
2382
- * New description lines.
2383
- * @internal
2384
- */
2417
+ /** New description lines. */
2385
2418
  newDescriptionLines?: DescriptionLinesOverride;
2386
- /**
2387
- * New modifier groups.
2388
- * @internal
2389
- */
2419
+ /** New modifier groups. */
2390
2420
  newModifierGroups?: ModifiersGroupsOverride;
2391
2421
  }
2392
2422
  interface ModifiersGroupsOverride {
@@ -5174,7 +5204,6 @@ interface DraftOrderCreatedEnvelope {
5174
5204
  * @webhook
5175
5205
  * @eventType wix.ecom.v1.draft_order_created
5176
5206
  * @slug created
5177
- * @documentationMaturity preview
5178
5207
  */
5179
5208
  declare function onDraftOrderCreated(handler: (event: DraftOrderCreatedEnvelope) => void | Promise<void>): void;
5180
5209
  interface DraftOrderDeletedEnvelope {
@@ -5195,7 +5224,6 @@ interface DraftOrderDeletedEnvelope {
5195
5224
  * @webhook
5196
5225
  * @eventType wix.ecom.v1.draft_order_deleted
5197
5226
  * @slug deleted
5198
- * @documentationMaturity preview
5199
5227
  */
5200
5228
  declare function onDraftOrderDeleted(handler: (event: DraftOrderDeletedEnvelope) => void | Promise<void>): void;
5201
5229
  interface DraftOrderUpdatedEnvelope {
@@ -5218,7 +5246,6 @@ interface DraftOrderUpdatedEnvelope {
5218
5246
  * @webhook
5219
5247
  * @eventType wix.ecom.v1.draft_order_updated
5220
5248
  * @slug updated
5221
- * @documentationMaturity preview
5222
5249
  */
5223
5250
  declare function onDraftOrderUpdated(handler: (event: DraftOrderUpdatedEnvelope) => void | Promise<void>): void;
5224
5251
  /**
@@ -5228,7 +5255,6 @@ declare function onDraftOrderUpdated(handler: (event: DraftOrderUpdatedEnvelope)
5228
5255
  * To complete a draft and update the original order, call Commit Draft Order.
5229
5256
  * @param orderId - ID of the order to create a draft for.
5230
5257
  * @public
5231
- * @documentationMaturity preview
5232
5258
  * @requiredField orderId
5233
5259
  * @permissionId ECOM.DRAFT_ORDERS_CREATE
5234
5260
  * @permissionId ECOM.DRAFT_ORDER_READ_ALL_EXTENDED_FIELDS
@@ -5244,7 +5270,6 @@ declare function createDraftOrder(orderId: string): Promise<NonNullablePaths<Cre
5244
5270
  *
5245
5271
  * After all relevant details are applied, call Create Order From Draft to convert the draft order to a regular order.
5246
5272
  * @public
5247
- * @documentationMaturity preview
5248
5273
  * @permissionId ECOM.DRAFT_ORDERS_CREATE
5249
5274
  * @permissionId ECOM.DRAFT_ORDER_READ_ALL_EXTENDED_FIELDS
5250
5275
  * @permissionId DRAFT_ORDER_WRITE_ALL_EXTENDED_FIELDS
@@ -5258,7 +5283,6 @@ declare function createEmptyDraftOrder(): Promise<NonNullablePaths<CreateEmptyDr
5258
5283
  * Adds catalog or custom line items to a draft order.
5259
5284
  * @param draftOrderId - Draft order ID.
5260
5285
  * @public
5261
- * @documentationMaturity preview
5262
5286
  * @requiredField draftOrderId
5263
5287
  * @requiredField options.catalogLineItems.catalogReference
5264
5288
  * @permissionId ECOM.DRAFT_ORDERS_ADD_LINE_ITEMS
@@ -5293,15 +5317,16 @@ interface AddLineItemsToDraftOrderOptions {
5293
5317
  * @param draftOrderId - Draft order ID.
5294
5318
  * @param lineItemChanges - Details of changes to apply per line item.
5295
5319
  * @public
5296
- * @documentationMaturity preview
5297
5320
  * @requiredField draftOrderId
5298
5321
  * @requiredField lineItemChanges
5299
5322
  * @requiredField lineItemChanges.lineItemId
5323
+ * @requiredField lineItemChanges.newModifierGroups.modifierGroups._id
5324
+ * @requiredField lineItemChanges.newModifierGroups.modifierGroups.modifiers._id
5300
5325
  * @permissionId ECOM.DRAFT_ORDERS_MODIFY_ITEMS
5301
5326
  * @applicableIdentity APP
5302
5327
  * @fqn com.wix.ecom.orders.draft.v1.DraftOrders.UpdateLineItems
5303
5328
  */
5304
- declare function updateLineItems(draftOrderId: string, lineItemChanges: NonNullablePaths<LineItemChangeDetails, `lineItemId`, 2>[]): Promise<NonNullablePaths<UpdateLineItemsResponse, `calculatedDraftOrder.draftOrder.lineItems` | `calculatedDraftOrder.draftOrder.lineItems.${number}.added` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.amount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.formattedAmount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceDescriptionBeforeChange.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.removed` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem._id` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.productName.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.catalogItemId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.appId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.quantity` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.physicalProperties.shippable` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.preset` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.custom` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.paymentOption` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxDetails.taxRate` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxInfo.taxIncludedInPrice` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.digitalFile.fileId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.cycleNumber` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.subscriptionOptionTitle` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxableAddress.addressType` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.priceUndetermined` | `calculatedDraftOrder.draftOrder.shippingInfo.added` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.title` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.number` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.name` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId._id` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId.type` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.draftOrder.shippingInfo.removed` | `calculatedDraftOrder.draftOrder.buyerInfo.visitorId` | `calculatedDraftOrder.draftOrder.buyerInfo.memberId` | `calculatedDraftOrder.draftOrder.additionalFees` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee.name` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee._id` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.taxDetails.taxable` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.source` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.applied` | `calculatedDraftOrder.draftOrder.discounts` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.code` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.name` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.merchantDiscount.discountReason` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountRule._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountType` | `calculatedDraftOrder.draftOrder.discounts.${number}.source` | `calculatedDraftOrder.draftOrder.discounts.${number}.applied` | `calculatedDraftOrder.draftOrder.createdBy.userId` | `calculatedDraftOrder.draftOrder.createdBy.appId` | `calculatedDraftOrder.draftOrder.status` | `calculatedDraftOrder.draftOrder.weightUnit` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.amount` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.formattedAmount` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory.${number}.lineItemId` | `calculatedDraftOrder.draftOrder.recipientInfo.added` | `calculatedDraftOrder.draftOrder.recipientInfo.removed` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxName` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.rate` | `calculatedDraftOrder.draftOrder.buyerDetails.added` | `calculatedDraftOrder.draftOrder.buyerDetails.removed` | `calculatedDraftOrder.draftOrder.billingDetails.added` | `calculatedDraftOrder.draftOrder.billingDetails.removed` | `calculatedDraftOrder.draftOrder.businessLocationDetails.added` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange._id` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange.name` | `calculatedDraftOrder.draftOrder.businessLocationDetails.removed` | `calculatedDraftOrder.shippingOptions` | `calculatedDraftOrder.shippingOptions.${number}.code` | `calculatedDraftOrder.shippingOptions.${number}.title` | `calculatedDraftOrder.shippingOptions.${number}.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.shippingOptions.${number}.cost.currency` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.code` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculatedDraftOrder.calculationErrors.orderValidationErrors`, 11> & {
5329
+ declare function updateLineItems(draftOrderId: string, lineItemChanges: NonNullablePaths<LineItemChangeDetails, `lineItemId` | `newModifierGroups.modifierGroups.${number}._id` | `newModifierGroups.modifierGroups.${number}.modifiers.${number}._id`, 7>[]): Promise<NonNullablePaths<UpdateLineItemsResponse, `calculatedDraftOrder.draftOrder.lineItems` | `calculatedDraftOrder.draftOrder.lineItems.${number}.added` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.amount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceBeforeChange.formattedAmount` | `calculatedDraftOrder.draftOrder.lineItems.${number}.changedDetails.priceDescriptionBeforeChange.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.removed` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem._id` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.productName.original` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.catalogItemId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.catalogReference.appId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.quantity` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.physicalProperties.shippable` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.preset` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.itemType.custom` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.paymentOption` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxDetails.taxRate` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxInfo.taxIncludedInPrice` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.digitalFile.fileId` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.cycleNumber` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.subscriptionInfo.subscriptionOptionTitle` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.taxableAddress.addressType` | `calculatedDraftOrder.draftOrder.lineItems.${number}.lineItem.priceUndetermined` | `calculatedDraftOrder.draftOrder.shippingInfo.added` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.title` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.number` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.address.streetAddress.name` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId._id` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.shippingDestination.contactDetails.vatId.type` | `calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.draftOrder.shippingInfo.removed` | `calculatedDraftOrder.draftOrder.buyerInfo.visitorId` | `calculatedDraftOrder.draftOrder.buyerInfo.memberId` | `calculatedDraftOrder.draftOrder.additionalFees` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee.name` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.additionalFee._id` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.taxDetails.taxable` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.source` | `calculatedDraftOrder.draftOrder.additionalFees.${number}.applied` | `calculatedDraftOrder.draftOrder.discounts` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.code` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.coupon.name` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.merchantDiscount.discountReason` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountRule._id` | `calculatedDraftOrder.draftOrder.discounts.${number}.discount.discountType` | `calculatedDraftOrder.draftOrder.discounts.${number}.source` | `calculatedDraftOrder.draftOrder.discounts.${number}.applied` | `calculatedDraftOrder.draftOrder.createdBy.userId` | `calculatedDraftOrder.draftOrder.createdBy.appId` | `calculatedDraftOrder.draftOrder.status` | `calculatedDraftOrder.draftOrder.weightUnit` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.amount` | `calculatedDraftOrder.draftOrder.balanceSummary.balance.formattedAmount` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory` | `calculatedDraftOrder.draftOrder.commitSettings.updateInventory.${number}.lineItemId` | `calculatedDraftOrder.draftOrder.recipientInfo.added` | `calculatedDraftOrder.draftOrder.recipientInfo.removed` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxName` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.taxType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdiction` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.jurisdictionType` | `calculatedDraftOrder.draftOrder.taxInfo.taxBreakdown.${number}.rate` | `calculatedDraftOrder.draftOrder.buyerDetails.added` | `calculatedDraftOrder.draftOrder.buyerDetails.removed` | `calculatedDraftOrder.draftOrder.billingDetails.added` | `calculatedDraftOrder.draftOrder.billingDetails.removed` | `calculatedDraftOrder.draftOrder.businessLocationDetails.added` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange._id` | `calculatedDraftOrder.draftOrder.businessLocationDetails.changedDetails.businessLocationBeforeChange.name` | `calculatedDraftOrder.draftOrder.businessLocationDetails.removed` | `calculatedDraftOrder.shippingOptions` | `calculatedDraftOrder.shippingOptions.${number}.code` | `calculatedDraftOrder.shippingOptions.${number}.title` | `calculatedDraftOrder.shippingOptions.${number}.logistics.pickupDetails.pickupMethod` | `calculatedDraftOrder.shippingOptions.${number}.cost.currency` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.code` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.applicationError.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.field` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.description` | `calculatedDraftOrder.calculationErrors.generalShippingCalculationError.validationError.fieldViolations.${number}.violatedRule` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors` | `calculatedDraftOrder.calculationErrors.carrierErrors.errors.${number}.carrierId` | `calculatedDraftOrder.calculationErrors.orderValidationErrors`, 11> & {
5305
5330
  __applicationErrorsType?: UpdateLineItemsApplicationErrors;
5306
5331
  }>;
5307
5332
  /**
@@ -5341,7 +5366,6 @@ interface SetDepositOptions {
5341
5366
  *
5342
5367
  * Any existing discounts that are not passed will not change.
5343
5368
  * @public
5344
- * @documentationMaturity preview
5345
5369
  * @requiredField discounts
5346
5370
  * @requiredField discounts._id
5347
5371
  * @requiredField discounts.applied
@@ -5360,7 +5384,6 @@ declare function setDiscounts(draftOrderId: string, discounts: NonNullablePaths<
5360
5384
  * To apply them, use Set Discounts.
5361
5385
  * @param draftOrderId - Draft order ID.
5362
5386
  * @public
5363
- * @documentationMaturity preview
5364
5387
  * @requiredField draftOrderId
5365
5388
  * @requiredField options.discounts.amount.amount
5366
5389
  * @requiredField options.discounts.discountType
@@ -5387,7 +5410,6 @@ interface CreateCustomDiscountsOptions {
5387
5410
  * @param draftOrderId - Draft order ID.
5388
5411
  * @param discountIds - IDs of the discounts to remove from the draft order.
5389
5412
  * @public
5390
- * @documentationMaturity preview
5391
5413
  * @requiredField discountIds
5392
5414
  * @requiredField draftOrderId
5393
5415
  * @permissionId ECOM.DRAFT_ORDERS_DELETE_DISCOUNTS
@@ -5407,7 +5429,6 @@ declare function deleteCustomDiscounts(draftOrderId: string, discountIds: string
5407
5429
  *
5408
5430
  * Any existing additional fees that are not passed will not change.
5409
5431
  * @public
5410
- * @documentationMaturity preview
5411
5432
  * @requiredField additionalFees
5412
5433
  * @requiredField additionalFees._id
5413
5434
  * @requiredField additionalFees.applied
@@ -5426,7 +5447,6 @@ declare function setAdditionalFees(draftOrderId: string, additionalFees: NonNull
5426
5447
  * To apply them, use Set Additional Fees.
5427
5448
  * @param draftOrderId - Draft order ID.
5428
5449
  * @public
5429
- * @documentationMaturity preview
5430
5450
  * @requiredField draftOrderId
5431
5451
  * @requiredField options.customAdditionalFees.name
5432
5452
  * @requiredField options.customAdditionalFees.price
@@ -5453,7 +5473,6 @@ interface CreateCustomAdditionalFeesOptions {
5453
5473
  * @param draftOrderId - Draft order ID.
5454
5474
  * @param customAdditionalFees - IDs of the additional fees to remove from the draft order.
5455
5475
  * @public
5456
- * @documentationMaturity preview
5457
5476
  * @requiredField customAdditionalFees
5458
5477
  * @requiredField draftOrderId
5459
5478
  * @permissionId ECOM.DRAFT_ORDERS_DELETE_ADDITIONAL_FEES
@@ -5467,7 +5486,6 @@ declare function deleteCustomAdditionalFees(draftOrderId: string, customAddition
5467
5486
  * Sets shipping information on a draft order.
5468
5487
  * @param draftOrderId - Draft order ID.
5469
5488
  * @public
5470
- * @documentationMaturity preview
5471
5489
  * @requiredField draftOrderId
5472
5490
  * @permissionId ECOM.DRAFT_ORDERS_SET_SHIPPING_INFO
5473
5491
  * @applicableIdentity APP
@@ -5488,7 +5506,6 @@ interface SetShippingInfoOptions {
5488
5506
  * Sets buyer info on a draft order.
5489
5507
  * @param draftOrderId - Draft order ID.
5490
5508
  * @public
5491
- * @documentationMaturity preview
5492
5509
  * @requiredField draftOrderId
5493
5510
  * @permissionId ECOM.DRAFT_ORDER_SET_BUYER_INFO
5494
5511
  * @applicableIdentity APP
@@ -5509,7 +5526,6 @@ interface SetBuyerInfoOptions {
5509
5526
  * Sets recipient info on a draft order.
5510
5527
  * @param draftOrderId - Draft order ID.
5511
5528
  * @public
5512
- * @documentationMaturity preview
5513
5529
  * @requiredField draftOrderId
5514
5530
  * @permissionId ECOM.DRAFT_ORDER_SET_RECIPIENT_INFO
5515
5531
  * @applicableIdentity APP
@@ -5530,7 +5546,6 @@ interface SetRecipientInfoOptions {
5530
5546
  * Sets billing info on a draft order.
5531
5547
  * @param draftOrderId - Draft order ID.
5532
5548
  * @public
5533
- * @documentationMaturity preview
5534
5549
  * @requiredField draftOrderId
5535
5550
  * @permissionId ECOM.DRAFT_ORDER_SET_BILLING_INFO
5536
5551
  * @applicableIdentity APP
@@ -5558,7 +5573,6 @@ interface SetBillingInfoOptions {
5558
5573
  * > **Note:** When retrieving a committed draft order, it **is not recalculated**.
5559
5574
  * @param draftOrderId - Draft order ID.
5560
5575
  * @public
5561
- * @documentationMaturity preview
5562
5576
  * @requiredField draftOrderId
5563
5577
  * @permissionId ECOM.DRAFT_ORDERS_READ
5564
5578
  * @permissionId ECOM.DRAFT_ORDER_READ_ALL_EXTENDED_FIELDS
@@ -5576,7 +5590,6 @@ declare function getDraftOrder(draftOrderId: string): Promise<NonNullablePaths<G
5576
5590
  * If `orderDraftable` returns as `false`, refer to the `nonDraftableReasons` array in the response to understand why the order is not draftable.
5577
5591
  * @param orderId - Order ID.
5578
5592
  * @public
5579
- * @documentationMaturity preview
5580
5593
  * @requiredField orderId
5581
5594
  * @permissionId ECOM.DRAFT_ORDERS_READ
5582
5595
  * @applicableIdentity APP
@@ -5593,7 +5606,6 @@ declare function getOrderDraftabilityStatus(orderId: string): Promise<NonNullabl
5593
5606
  * > + A committed draft order does not allow for further modifications. However, it is kept for reference and can be retrieved.
5594
5607
  * @param draftOrderId - Draft order ID.
5595
5608
  * @public
5596
- * @documentationMaturity preview
5597
5609
  * @requiredField draftOrderId
5598
5610
  * @permissionId ECOM.DRAFT_ORDERS_COMMIT
5599
5611
  * @permissionId ECOM.DRAFT_ORDER_READ_ALL_EXTENDED_FIELDS
@@ -5621,7 +5633,6 @@ interface CommitDraftOrderOptions {
5621
5633
  * > + A committed draft order does not allow for further modifications. However, it is kept for reference and can be retrieved.
5622
5634
  * @param draftOrderId - Draft order ID.
5623
5635
  * @public
5624
- * @documentationMaturity preview
5625
5636
  * @requiredField draftOrderId
5626
5637
  * @permissionId ECOM.DRAFT_ORDER_CREATE_ORDER_FROM_DRAFT
5627
5638
  * @permissionId ECOM.DRAFT_ORDER_READ_ALL_EXTENDED_FIELDS
@@ -5648,7 +5659,6 @@ interface CreateOrderFromDraftOptions {
5648
5659
  * Draft orders with status 'COMMITTED' cannot be deleted.
5649
5660
  * @param draftOrderId - Draft order ID.
5650
5661
  * @public
5651
- * @documentationMaturity preview
5652
5662
  * @requiredField draftOrderId
5653
5663
  * @permissionId ECOM.DRAFT_ORDERS_DELETE
5654
5664
  * @permissionId ECOM.DRAFT_ORDERS_ADMIN_DELETE
@@ -5664,7 +5674,6 @@ declare function deleteDraftOrder(draftOrderId: string): Promise<void & {
5664
5674
  * For field support, see [supported filters and sorting](https://dev.wix.com/docs/rest/business-solutions/e-commerce/orders/draft-orders/supported-filters-and-sorting).
5665
5675
  * To learn how to query draft orders, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).
5666
5676
  * @public
5667
- * @documentationMaturity preview
5668
5677
  * @permissionId ECOM.DRAFT_ORDERS_READ
5669
5678
  * @applicableIdentity APP
5670
5679
  * @fqn com.wix.ecom.orders.draft.v1.DraftOrders.QueryDraftOrders
@@ -5686,65 +5695,46 @@ interface DraftOrdersQueryResult extends QueryCursorResult {
5686
5695
  interface DraftOrdersQueryBuilder {
5687
5696
  /** @param propertyName - Property whose value is compared with `value`.
5688
5697
  * @param value - Value to compare against.
5689
- * @documentationMaturity preview
5690
5698
  */
5691
5699
  eq: (propertyName: 'orderId' | '_createdDate' | '_updatedDate' | 'status', value: any) => DraftOrdersQueryBuilder;
5692
5700
  /** @param propertyName - Property whose value is compared with `value`.
5693
5701
  * @param value - Value to compare against.
5694
- * @documentationMaturity preview
5695
5702
  */
5696
5703
  ne: (propertyName: 'orderId' | '_createdDate' | '_updatedDate' | 'status', value: any) => DraftOrdersQueryBuilder;
5697
5704
  /** @param propertyName - Property whose value is compared with `value`.
5698
5705
  * @param value - Value to compare against.
5699
- * @documentationMaturity preview
5700
5706
  */
5701
5707
  ge: (propertyName: 'orderId' | '_createdDate' | '_updatedDate', value: any) => DraftOrdersQueryBuilder;
5702
5708
  /** @param propertyName - Property whose value is compared with `value`.
5703
5709
  * @param value - Value to compare against.
5704
- * @documentationMaturity preview
5705
5710
  */
5706
5711
  gt: (propertyName: 'orderId' | '_createdDate' | '_updatedDate', value: any) => DraftOrdersQueryBuilder;
5707
5712
  /** @param propertyName - Property whose value is compared with `value`.
5708
5713
  * @param value - Value to compare against.
5709
- * @documentationMaturity preview
5710
5714
  */
5711
5715
  le: (propertyName: 'orderId' | '_createdDate' | '_updatedDate', value: any) => DraftOrdersQueryBuilder;
5712
5716
  /** @param propertyName - Property whose value is compared with `value`.
5713
5717
  * @param value - Value to compare against.
5714
- * @documentationMaturity preview
5715
5718
  */
5716
5719
  lt: (propertyName: 'orderId' | '_createdDate' | '_updatedDate', value: any) => DraftOrdersQueryBuilder;
5717
5720
  /** @param propertyName - Property whose value is compared with `string`.
5718
5721
  * @param string - String to compare against. Case-insensitive.
5719
- * @documentationMaturity preview
5720
5722
  */
5721
5723
  startsWith: (propertyName: 'orderId', value: string) => DraftOrdersQueryBuilder;
5722
5724
  /** @param propertyName - Property whose value is compared with `values`.
5723
5725
  * @param values - List of values to compare against.
5724
- * @documentationMaturity preview
5725
5726
  */
5726
5727
  hasSome: (propertyName: 'orderId' | '_createdDate' | '_updatedDate' | 'status', value: any[]) => DraftOrdersQueryBuilder;
5727
- /** @documentationMaturity preview */
5728
5728
  in: (propertyName: 'orderId' | '_createdDate' | '_updatedDate' | 'status', value: any) => DraftOrdersQueryBuilder;
5729
- /** @documentationMaturity preview */
5730
5729
  exists: (propertyName: 'orderId' | '_createdDate' | '_updatedDate' | 'status', value: boolean) => DraftOrdersQueryBuilder;
5731
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
5732
- * @documentationMaturity preview
5733
- */
5730
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
5734
5731
  ascending: (...propertyNames: Array<'_createdDate' | '_updatedDate' | 'status'>) => DraftOrdersQueryBuilder;
5735
- /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
5736
- * @documentationMaturity preview
5737
- */
5732
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
5738
5733
  descending: (...propertyNames: Array<'_createdDate' | '_updatedDate' | 'status'>) => DraftOrdersQueryBuilder;
5739
- /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
5740
- * @documentationMaturity preview
5741
- */
5734
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object. */
5742
5735
  limit: (limit: number) => DraftOrdersQueryBuilder;
5743
- /** @param cursor - A pointer to specific record
5744
- * @documentationMaturity preview
5745
- */
5736
+ /** @param cursor - A pointer to specific record */
5746
5737
  skipTo: (cursor: string) => DraftOrdersQueryBuilder;
5747
- /** @documentationMaturity preview */
5748
5738
  find: () => Promise<DraftOrdersQueryResult>;
5749
5739
  }
5750
5740
  /**
@@ -5819,7 +5809,6 @@ type DraftOrderQuery = {
5819
5809
  * @param _id - ID of the entity to update.
5820
5810
  * @param namespace - Identifier for the app whose extended fields are being updated.
5821
5811
  * @public
5822
- * @documentationMaturity preview
5823
5812
  * @requiredField _id
5824
5813
  * @requiredField namespace
5825
5814
  * @requiredField options
@@ -5842,7 +5831,6 @@ interface UpdateExtendedFieldsOptions {
5842
5831
  * A tax exempted draft order ignores taxes during calculation. Tax information will return empty.
5843
5832
  * @param draftOrderId - Draft order ID.
5844
5833
  * @public
5845
- * @documentationMaturity preview
5846
5834
  * @requiredField draftOrderId
5847
5835
  * @requiredField options
5848
5836
  * @requiredField options.taxExempt
@@ -5867,7 +5855,6 @@ interface SetTaxExemptionOptions {
5867
5855
  * When committed, the order will become associated to a specific business location. This affects who can see and manage this order, and how it is calculated in reports.
5868
5856
  * @param draftOrderId - Draft order ID.
5869
5857
  * @public
5870
- * @documentationMaturity preview
5871
5858
  * @requiredField draftOrderId
5872
5859
  * @requiredField options.businessLocation._id
5873
5860
  * @permissionId ECOM.DRAFT_ORDER_SET_BUSINESS_LOCATION
@@ -5882,4 +5869,4 @@ interface SetBusinessLocationOptions {
5882
5869
  businessLocation?: Location;
5883
5870
  }
5884
5871
 
5885
- export { type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderRequest, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, type StreetAddress, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems };
5872
+ export { type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderRequest, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, type StreetAddress, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems };