@wix/auto_sdk_ecom_orders 1.0.53 → 1.0.55

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 (134) hide show
  1. package/build/{cjs/src/ecom-v1-order-orders.universal.d.ts → ecom-v1-order-orders.universal-CyvtIwV9.d.mts} +648 -1079
  2. package/build/{es/src/ecom-v1-order-orders.universal.d.ts → ecom-v1-order-orders.universal-CyvtIwV9.d.ts} +648 -1079
  3. package/build/index.d.mts +216 -0
  4. package/build/index.d.ts +216 -0
  5. package/build/index.js +3502 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +3399 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{cjs/src/ecom-v1-order-orders.universal.d.ts → ecom-v1-order-orders.universal-yuJ_Abfi.d.mts} +648 -1446
  10. package/build/internal/{es/src/ecom-v1-order-orders.universal.d.ts → ecom-v1-order-orders.universal-yuJ_Abfi.d.ts} +648 -1446
  11. package/build/internal/index.d.mts +395 -0
  12. package/build/internal/index.d.ts +395 -0
  13. package/build/internal/index.js +3502 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +3399 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +3302 -0
  18. package/build/internal/meta.d.ts +3302 -0
  19. package/build/internal/meta.js +1941 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +1890 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +3302 -0
  24. package/build/meta.d.ts +3302 -0
  25. package/build/meta.js +1941 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +1890 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +12 -11
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -43
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/ecom-v1-order-orders.context.d.ts +0 -34
  40. package/build/cjs/src/ecom-v1-order-orders.context.js +0 -117
  41. package/build/cjs/src/ecom-v1-order-orders.context.js.map +0 -1
  42. package/build/cjs/src/ecom-v1-order-orders.http.d.ts +0 -200
  43. package/build/cjs/src/ecom-v1-order-orders.http.js +0 -1610
  44. package/build/cjs/src/ecom-v1-order-orders.http.js.map +0 -1
  45. package/build/cjs/src/ecom-v1-order-orders.meta.d.ts +0 -78
  46. package/build/cjs/src/ecom-v1-order-orders.meta.js +0 -503
  47. package/build/cjs/src/ecom-v1-order-orders.meta.js.map +0 -1
  48. package/build/cjs/src/ecom-v1-order-orders.public.d.ts +0 -190
  49. package/build/cjs/src/ecom-v1-order-orders.public.js +0 -382
  50. package/build/cjs/src/ecom-v1-order-orders.public.js.map +0 -1
  51. package/build/cjs/src/ecom-v1-order-orders.types.d.ts +0 -6317
  52. package/build/cjs/src/ecom-v1-order-orders.types.js +0 -652
  53. package/build/cjs/src/ecom-v1-order-orders.types.js.map +0 -1
  54. package/build/cjs/src/ecom-v1-order-orders.universal.js +0 -2337
  55. package/build/cjs/src/ecom-v1-order-orders.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -43
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/ecom-v1-order-orders.context.d.ts +0 -34
  67. package/build/es/src/ecom-v1-order-orders.context.js +0 -62
  68. package/build/es/src/ecom-v1-order-orders.context.js.map +0 -1
  69. package/build/es/src/ecom-v1-order-orders.http.d.ts +0 -200
  70. package/build/es/src/ecom-v1-order-orders.http.js +0 -1582
  71. package/build/es/src/ecom-v1-order-orders.http.js.map +0 -1
  72. package/build/es/src/ecom-v1-order-orders.meta.d.ts +0 -78
  73. package/build/es/src/ecom-v1-order-orders.meta.js +0 -452
  74. package/build/es/src/ecom-v1-order-orders.meta.js.map +0 -1
  75. package/build/es/src/ecom-v1-order-orders.public.d.ts +0 -190
  76. package/build/es/src/ecom-v1-order-orders.public.js +0 -302
  77. package/build/es/src/ecom-v1-order-orders.public.js.map +0 -1
  78. package/build/es/src/ecom-v1-order-orders.types.d.ts +0 -6317
  79. package/build/es/src/ecom-v1-order-orders.types.js +0 -648
  80. package/build/es/src/ecom-v1-order-orders.types.js.map +0 -1
  81. package/build/es/src/ecom-v1-order-orders.universal.js +0 -2285
  82. package/build/es/src/ecom-v1-order-orders.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -43
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/ecom-v1-order-orders.context.d.ts +0 -62
  93. package/build/internal/cjs/src/ecom-v1-order-orders.context.js +0 -117
  94. package/build/internal/cjs/src/ecom-v1-order-orders.context.js.map +0 -1
  95. package/build/internal/cjs/src/ecom-v1-order-orders.http.d.ts +0 -200
  96. package/build/internal/cjs/src/ecom-v1-order-orders.http.js +0 -1610
  97. package/build/internal/cjs/src/ecom-v1-order-orders.http.js.map +0 -1
  98. package/build/internal/cjs/src/ecom-v1-order-orders.meta.d.ts +0 -78
  99. package/build/internal/cjs/src/ecom-v1-order-orders.meta.js +0 -503
  100. package/build/internal/cjs/src/ecom-v1-order-orders.meta.js.map +0 -1
  101. package/build/internal/cjs/src/ecom-v1-order-orders.public.d.ts +0 -341
  102. package/build/internal/cjs/src/ecom-v1-order-orders.public.js +0 -382
  103. package/build/internal/cjs/src/ecom-v1-order-orders.public.js.map +0 -1
  104. package/build/internal/cjs/src/ecom-v1-order-orders.types.d.ts +0 -6317
  105. package/build/internal/cjs/src/ecom-v1-order-orders.types.js +0 -652
  106. package/build/internal/cjs/src/ecom-v1-order-orders.types.js.map +0 -1
  107. package/build/internal/cjs/src/ecom-v1-order-orders.universal.js +0 -2337
  108. package/build/internal/cjs/src/ecom-v1-order-orders.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -43
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/ecom-v1-order-orders.context.d.ts +0 -62
  119. package/build/internal/es/src/ecom-v1-order-orders.context.js +0 -62
  120. package/build/internal/es/src/ecom-v1-order-orders.context.js.map +0 -1
  121. package/build/internal/es/src/ecom-v1-order-orders.http.d.ts +0 -200
  122. package/build/internal/es/src/ecom-v1-order-orders.http.js +0 -1582
  123. package/build/internal/es/src/ecom-v1-order-orders.http.js.map +0 -1
  124. package/build/internal/es/src/ecom-v1-order-orders.meta.d.ts +0 -78
  125. package/build/internal/es/src/ecom-v1-order-orders.meta.js +0 -452
  126. package/build/internal/es/src/ecom-v1-order-orders.meta.js.map +0 -1
  127. package/build/internal/es/src/ecom-v1-order-orders.public.d.ts +0 -341
  128. package/build/internal/es/src/ecom-v1-order-orders.public.js +0 -302
  129. package/build/internal/es/src/ecom-v1-order-orders.public.js.map +0 -1
  130. package/build/internal/es/src/ecom-v1-order-orders.types.d.ts +0 -6317
  131. package/build/internal/es/src/ecom-v1-order-orders.types.js +0 -648
  132. package/build/internal/es/src/ecom-v1-order-orders.types.js.map +0 -1
  133. package/build/internal/es/src/ecom-v1-order-orders.universal.js +0 -2285
  134. package/build/internal/es/src/ecom-v1-order-orders.universal.js.map +0 -1
@@ -0,0 +1,216 @@
1
+ import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
+ import { P as Price, a as PreparePaymentCollectionOptions, b as PreparePaymentCollectionResponse, G as GetPaymentCollectabilityStatusResponse, V as VoidAuthorizedPaymentsResponse, c as PaymentCapture, C as CaptureAuthorizedPaymentsResponse, O as Order, d as OrderSearch, S as SearchOrdersResponse, e as CreateOrderOptions, U as UpdateOrder, M as MaskedOrder, B as BulkUpdateOrdersOptions, f as BulkUpdateOrdersResponse, g as CancelOrderOptions, h as CancelOrderResponse, i as BulkUpdateOrderTagsOptions, j as BulkUpdateOrderTagsResponse, k as OrderApprovedEnvelope, l as OrderUpdatedEnvelope, m as OrderCanceledEnvelope, n as OrderCreatedEnvelope } from './ecom-v1-order-orders.universal-CyvtIwV9.mjs';
3
+ export { dv as ActionEvent, $ as ActionType, bh as Activity, bi as ActivityContentOneOf, w as ActivityType, gr as AddActivitiesRequest, gs as AddActivitiesResponse, gn as AddActivityRequest, gq as AddActivityResponse, g0 as AddInternalActivityRequest, gm as AddInternalActivityResponse, c9 as AdditionalFee, fs as AdditionalFeeDelta, ft as AdditionalFeeDeltaDeltaOneOf, cQ as AdditionalFeeRefund, aV as Address, hm as AddressDescription, aX as AddressLocation, aU as AddressWithContact, A as AdjustmentType, h_ as AggregateOrdersOptions, h2 as AggregateOrdersRequest, h3 as AggregateOrdersResponse, dd as AggregatedRefundSummary, a4 as AnimationDetection, eg as App, cx as ApplicationError, b9 as AppliedDiscount, fq as AppliedDiscountDelta, fr as AppliedDiscountDeltaDeltaOneOf, ba as AppliedDiscountDiscountSourceOneOf, fC as ArchiveOrderRequest, fD as ArchiveOrderResponse, x as AttributionSource, d3 as AuthorizationActionFailureDetails, d2 as AuthorizationCapture, Y as AuthorizationCaptureStatus, d1 as AuthorizationDetails, d4 as AuthorizationVoid, Z as AuthorizationVoidStatus, bF as AuthorizedPaymentCaptured, bE as AuthorizedPaymentCreated, bG as AuthorizedPaymentVoided, c8 as Balance, c7 as BalanceSummary, hP as BaseEventMetadata, eX as BatchOfTriggerReindexOrderRequest, hw as BigDecimalWrapper, aG as BillingAdjustment, aH as BillingAdjustmentPriceSummary, cy as BulkActionMetadata, fG as BulkArchiveOrdersByFilterRequest, fH as BulkArchiveOrdersByFilterResponse, fE as BulkArchiveOrdersRequest, fF as BulkArchiveOrdersResponse, gL as BulkMarkAsFulfilledByFilterRequest, gM as BulkMarkAsFulfilledByFilterResponse, gJ as BulkMarkAsFulfilledRequest, gK as BulkMarkAsFulfilledResponse, gR as BulkMarkAsUnfulfilledByFilterRequest, gS as BulkMarkAsUnfulfilledByFilterResponse, gP as BulkMarkAsUnfulfilledRequest, gQ as BulkMarkAsUnfulfilledResponse, ct as BulkMarkOrdersAsPaidRequest, cu as BulkMarkOrdersAsPaidResponse, cv as BulkOrderResult, dH as BulkSendBuyerPickupConfirmationEmailsRequest, dI as BulkSendBuyerPickupConfirmationEmailsResponse, dL as BulkSendBuyerShippingConfirmationEmailsRequest, dM as BulkSendBuyerShippingConfirmationEmailsResponse, gT as BulkSetBusinessLocationRequest, gU as BulkSetBusinessLocationResponse, gV as BulkSetBusinessLocationResult, fM as BulkUnArchiveOrdersByFilterRequest, fN as BulkUnArchiveOrdersByFilterResponse, fK as BulkUnArchiveOrdersRequest, fL as BulkUnArchiveOrdersResponse, h7 as BulkUpdateOrderTagsRequest, h8 as BulkUpdateOrderTagsResult, ff as BulkUpdateOrdersRequest, aQ as BuyerInfo, aR as BuyerInfoIdOneOf, fP as BuyerInfoUpdate, dh as CalculateRefundItemRequest, dj as CalculateRefundItemResponse, dg as CalculateRefundRequest, di as CalculateRefundResponse, hG as CalculatedTax, hF as CalculatedTaxes, he as Cancel, gC as CancelOrderRequest, dl as CaptureAuthorizedPaymentsRequest, am as CatalogReference, c5 as ChannelInfo, y as ChannelType, hS as ChargeMembershipsOptions, cG as ChargeMembershipsRequest, cK as ChargeMembershipsResponse, dm as ChargeSavedPaymentMethodRequest, dn as ChargeSavedPaymentMethodResponse, cE as ChargedBy, as as Color, hV as CommitDeltasOptions, fg as CommitDeltasRequest, fw as CommitDeltasResponse, fy as CommittedDiffs, fz as CommittedDiffsShippingUpdateInfoOneOf, hp as CommonAddress, hq as CommonAddressStreetOneOf, ho as Company, hd as Complete, e_ as ContinueSideEffectsFlowInLegacyData, bb as Coupon, f9 as CreateOrderRequest, fc as CreateOrderResponse, cD as CreatePaymentGatewayOrderRequest, cF as CreatePaymentGatewayOrderResponse, c3 as CreatedBy, c4 as CreatedByStringOneOf, bU as CreditCardDetails, d0 as CreditCardPaymentMethodDetails, aS as CurrencyConversionDetails, es as CursorPaging, f8 as CursorPagingMetadata, f6 as CursorSearch, f7 as CursorSearchPagingMethodOneOf, ev as Cursors, bj as CustomActivity, c6 as CustomField, ag as CustomFieldGroup, hL as CustomFieldValue, hj as Customer, h5 as DecrementData, h4 as DecrementItemsQuantityRequest, h6 as DecrementItemsQuantityResponse, cl as DelayedCaptureSettings, hZ as DeleteActivityIdentifiers, gv as DeleteActivityRequest, gw as DeleteActivityResponse, eP as DeleteByFilterOperation, eO as DeleteByIdsOperation, a$ as DeliveryLogistics, b0 as DeliveryLogisticsAddressOneOf, b3 as DeliveryTimeSlot, ab as DeltaPaymentOptionType, hN as Deposit, ai as DepositType, an as DescriptionLine, ap as DescriptionLineDescriptionLineValueOneOf, aq as DescriptionLineName, D as DescriptionLineType, ao as DescriptionLineValueOneOf, eY as DiffmatokyPayload, aA as DigitalFile, hD as Discount, hE as DiscountOneDiscountTypeOneOf, v as DiscountReason, be as DiscountRule, bf as DiscountRuleName, u as DiscountType, dp as DomainEvent, dq as DomainEventBodyOneOf, g8 as DownloadLinkSent, bp as DraftOrderChangesApplied, fu as DraftOrderCommitSettings, fh as DraftOrderDiffs, fk as DraftOrderDiffsBillingUpdateInfoOneOf, fj as DraftOrderDiffsBuyerUpdateInfoOneOf, fl as DraftOrderDiffsRecipientUpdateInfoOneOf, fi as DraftOrderDiffsShippingUpdateInfoOneOf, cm as Duration, E as DurationUnit, hk as Email, gh as EmailEdited, dw as Empty, dr as EntityCreatedEvent, du as EntityDeletedEvent, dt as EntityUpdatedEvent, eZ as ErrorInformation, hQ as EventMetadata, aM as ExtendedFields, c0 as ExternalReceipt, d9 as ExternalReceiptInfo, ek as ExternalUriMapping, at as FocalPoint, aF as FreeTrialPeriod, gf as FulfillerEmailSent, F as FulfillmentStatus, gI as FulfillmentStatusUpdated, ca as FulfillmentStatusesAggregate, aY as FullAddressContactDetails, ed as GetMetasiteDataRequest, ee as GetMetasiteDataResponse, eE as GetOrderAgcRequest, eF as GetOrderAgcResponse, ew as GetOrderForMetasiteRequest, ex as GetOrderForMetasiteResponse, eC as GetOrderOutOfBoxRequest, eD as GetOrderOutOfBoxResponse, f0 as GetOrderRequest, f1 as GetOrderResponse, eG as GetOrderWithFilterByLocationRequest, eH as GetOrderWithFilterByLocationResponse, cn as GetPaymentCollectabilityStatusRequest, cz as GetRefundabilityStatusRequest, cA as GetRefundabilityStatusResponse, h0 as GetShipmentsRequest, h1 as GetShipmentsResponse, d6 as GiftCardPaymentDetails, bL as GiftCardPaymentRefund, ej as HtmlApplication, hh as IdAndVersion, dy as IdentificationData, dz as IdentificationDataIdOneOf, dA as ImageContent, e$ as IndexingMessage, g1 as InternalActivity, g2 as InternalActivityContentOneOf, eM as InternalDocument, eQ as InternalDocumentUpdateByFilterOperation, eN as InternalDocumentUpdateOperation, en as InternalQueryOrdersRequest, f2 as InternalQueryOrdersResponse, eR as InternalUpdateExistingOperation, ac as InventoryAction, fv as InventoryUpdateDetails, gd as InvoiceAdded, ht as InvoiceDates, hK as InvoiceDynamicPriceTotals, hi as InvoiceFields, ge as InvoiceSent, hg as InvoiceSentEvent, aj as InvoiceStatus, hI as InvoicesPayment, fp as ItemChangedDetails, cw as ItemMetadata, aP as ItemModifier, ax as ItemTaxFullDetails, av as ItemType, I as ItemTypeItemType, aw as ItemTypeItemTypeDataOneOf, hC as ItemizedFee, J as JurisdictionType, hv as LineItem, by as LineItemAmount, bs as LineItemChanges, fA as LineItemDelta, fB as LineItemDeltaDeltaOneOf, bg as LineItemDiscount, bo as LineItemExchangeData, hz as LineItemMetaData, bu as LineItemPriceChange, bt as LineItemQuantityChange, L as LineItemQuantityChangeType, cP as LineItemRefund, df as LineItemRefundSummary, hx as LineItemTax, az as LineItemTaxBreakdown, ay as LineItemTaxInfo, gy as LineItemUpdate, hu as LineItems, ey as ListOrderTransactionsForMetasiteRequest, ez as ListOrderTransactionsForMetasiteResponse, hA as Locale, cd as Location, aJ as LocationAndQuantity, bz as ManagedAdditionalFee, bw as ManagedDiscount, bv as ManagedLineItem, K as ManuallyRefundableReason, gG as MarkAsFulfilledRequest, gH as MarkAsFulfilledResponse, gN as MarkAsUnfulfilledRequest, gO as MarkAsUnfulfilledResponse, cq as MarkOrderAsPaidRequest, cr as MarkOrderAsPaidResponse, gA as MarkOrderAsSeenByHumanRequest, gB as MarkOrderAsSeenByHumanResponse, f_ as MaskedOrderLineItem, cH as MembershipChargeItem, cI as MembershipName, d7 as MembershipPaymentDetails, bM as MembershipPaymentRefund, a0 as MembershipPaymentStatus, bk as MerchantComment, bc as MerchantDiscount, bd as MerchantDiscountMerchantDiscountReasonOneOf, dx as MessageEnvelope, hJ as MetaData, ef as MetaSite, ei as MetaTag, aN as ModifierGroup, a7 as Namespace, bn as NewExchangeOrderCreated, N as NonRefundableReason, aa as OrderApprovalStrategy, ce as OrderApproved, g7 as OrderCanceled, gD as OrderCanceledEventOrderCanceled, bq as OrderChange, br as OrderChangeValueOneOf, fb as OrderCreateNotifications, bm as OrderCreatedFromExchange, fa as OrderCreationSettings, fx as OrderDeltasCommitted, g5 as OrderFulfilled, ch as OrderItemsRestocked, ak as OrderLineItem, fo as OrderLineItemChangedDetails, g6 as OrderNotFulfilled, g4 as OrderPaid, gj as OrderPartiallyPaid, gk as OrderPending, g3 as OrderPlaced, bl as OrderRefunded, gl as OrderRejected, cg as OrderRejectedEventOrderRejected, hU as OrderSearchSpec, t as OrderStatus, b8 as OrderTaxBreakdown, b7 as OrderTaxInfo, cW as OrderTransactions, cf as OrdersExperiments, cX as Payment, bV as PaymentCanceled, bW as PaymentCanceledPaymentDetailsOneOf, H as PaymentCollectabilityStatus, hR as PaymentCollectionCreatePaymentGatewayOrderOptions, bX as PaymentDeclined, bY as PaymentDeclinedPaymentDetailsOneOf, o as PaymentOptionType, cY as PaymentPaymentDetailsOneOf, bQ as PaymentPending, bR as PaymentPendingPaymentDetailsOneOf, cZ as PaymentReceiptInfoOneOf, cM as PaymentRefund, bO as PaymentRefundFailed, bN as PaymentRefunded, q as PaymentStatus, cs as PaymentStatusUpdated, hH as Payments, hn as Phone, au as PhysicalProperties, b2 as PickupAddress, b1 as PickupDetails, s as PickupMethod, gi as PickupReadyEmailSent, ad as Placement, ar as PlainTextValue, er as PlatformPaging, eu as PlatformPagingMetadata, eo as PlatformQuery, ep as PlatformQueryPagingMethodOneOf, cj as PreparePaymentCollectionRequest, e3 as PreviewBuyerConfirmationEmailRequest, e4 as PreviewBuyerConfirmationEmailResponse, e1 as PreviewBuyerPaymentsReceivedEmailRequest, e2 as PreviewBuyerPaymentsReceivedEmailResponse, e5 as PreviewBuyerPickupConfirmationEmailRequest, e6 as PreviewBuyerPickupConfirmationEmailResponse, dZ as PreviewCancelEmailRequest, d_ as PreviewCancelEmailResponse, d$ as PreviewCancelRefundEmailRequest, e0 as PreviewCancelRefundEmailResponse, dV as PreviewEmailByTypeRequest, dW as PreviewEmailByTypeResponse, a5 as PreviewEmailType, dX as PreviewRefundEmailRequest, dY as PreviewRefundEmailResponse, e9 as PreviewResendDownloadLinksEmailRequest, ea as PreviewResendDownloadLinksEmailResponse, e7 as PreviewShippingConfirmationEmailRequest, e8 as PreviewShippingConfirmationEmailResponse, aI as PriceDescription, aT as PriceSummary, al as ProductName, go as PublicActivity, gp as PublicActivityContentOneOf, f3 as QueryOrderRequest, f4 as QueryOrderResponse, em as QueryOrdersForMetasiteRequest, et as QueryOrdersForMetasiteResponse, hl as QuotesAddress, _ as Reason, bZ as ReceiptCreated, b_ as ReceiptCreatedReceiptInfoOneOf, c1 as ReceiptSent, c2 as ReceiptSentReceiptInfoOneOf, co as RecordManuallyCollectedPaymentRequest, cp as RecordManuallyCollectedPaymentResponse, ck as RedirectUrls, da as Refund, cN as RefundDetails, bH as RefundInitiated, cO as RefundItem, de as RefundItemsBreakdown, cS as RefundSideEffects, a1 as RefundStatus, dc as RefundStatusInfo, db as RefundTransaction, cB as Refundability, cC as RefundabilityAdditionalRefundabilityInfoOneOf, R as RefundableStatus, bP as RefundedAsStoreCredit, bI as RefundedPayment, bJ as RefundedPaymentKindOneOf, bS as RegularPayment, c_ as RegularPaymentDetails, c$ as RegularPaymentDetailsPaymentMethodDetailsOneOf, bT as RegularPaymentPaymentMethodDetailsOneOf, bK as RegularPaymentRefund, hf as Reschedule, cT as RestockInfo, cU as RestockItem, Q as RestockType, ds as RestoreInfo, bD as SavedPaymentMethod, z as ScheduledAction, f5 as SearchOrdersRequest, dB as SendBuyerConfirmationEmailRequest, dC as SendBuyerConfirmationEmailResponse, dD as SendBuyerPaymentsReceivedEmailRequest, dE as SendBuyerPaymentsReceivedEmailResponse, dF as SendBuyerPickupConfirmationEmailRequest, dG as SendBuyerPickupConfirmationEmailResponse, dJ as SendBuyerShippingConfirmationEmailRequest, dK as SendBuyerShippingConfirmationEmailResponse, dP as SendCancelRefundEmailRequest, dQ as SendCancelRefundEmailResponse, dN as SendMerchantOrderReceivedNotificationRequest, dO as SendMerchantOrderReceivedNotificationResponse, dT as SendMerchantOrderReceivedPushRequest, dU as SendMerchantOrderReceivedPushResponse, dR as SendRefundEmailRequest, dS as SendRefundEmailResponse, eh as SeoData, cJ as ServiceProperties, gg as ShippingAddressEdited, gc as ShippingConfirmationEmailSent, bC as ShippingInformation, bB as ShippingInformationChange, b4 as ShippingPrice, cR as ShippingRefund, b5 as ShippingRegion, ec as SnapshotMessage, a8 as SortOrder, eq as Sorting, hy as Source, af as SourceType, hs as StandardDetails, a6 as State, aW as StreetAddress, hr as Subdivision, ae as SubdivisionType, aD as SubscriptionDescription, p as SubscriptionFrequency, aB as SubscriptionInfo, aE as SubscriptionSettings, aC as SubscriptionTitle, cc as TagList, cb as Tags, h9 as Task, hb as TaskAction, hc as TaskActionActionOneOf, ha as TaskKey, b6 as TaxSummary, aK as TaxableAddress, aL as TaxableAddressTaxableAddressDataOneOf, T as TaxableAddressType, a3 as TextDetection, hB as TotalPrice, bA as TotalPriceChange, gb as TrackingLinkAdded, g9 as TrackingNumberAdded, ga as TrackingNumberEdited, X as TransactionStatus, aO as TranslatableString, bx as TranslatedValue, hT as TriggerRefundOptions, cL as TriggerRefundRequest, cV as TriggerRefundResponse, eb as TriggerReindexOrderRequest, eV as TriggerReindexRequest, eW as TriggerReindexResponse, hO as TriggerSideEffectsFromLegacyData, fI as UnArchiveOrderRequest, fJ as UnArchiveOrderResponse, hY as UpdateActivityIdentifiers, gt as UpdateActivityRequest, gu as UpdateActivityResponse, fV as UpdateBillingContactDetailsRequest, fW as UpdateBillingContactDetailsResponse, fR as UpdateBuyerEmailRequest, fS as UpdateBuyerEmailResponse, fO as UpdateBuyerInfoRequest, fQ as UpdateBuyerInfoResponse, eK as UpdateInternalDocumentsEvent, eL as UpdateInternalDocumentsEventOperationOneOf, gx as UpdateLineItemsDescriptionLinesRequest, gz as UpdateLineItemsDescriptionLinesResponse, hX as UpdateOrderLineItem, hW as UpdateOrderLineItemIdentifiers, fX as UpdateOrderLineItemRequest, fY as UpdateOrderLineItemResponse, fZ as UpdateOrderLineItemsRequest, f$ as UpdateOrderLineItemsResponse, fd as UpdateOrderRequest, fe as UpdateOrderResponse, fT as UpdateOrderShippingAddressRequest, fU as UpdateOrderShippingAddressResponse, gE as UpdateOrderStatusRequest, gF as UpdateOrderStatusResponse, eA as UpsertRefundRequest, eB as UpsertRefundResponse, el as UserDataResponse, gY as V1BulkMarkOrdersAsPaidRequest, gZ as V1BulkMarkOrdersAsPaidResponse, g_ as V1CreatePaymentGatewayOrderRequest, g$ as V1CreatePaymentGatewayOrderResponse, fm as V1LineItemDelta, fn as V1LineItemDeltaDeltaOneOf, gW as V1MarkOrderAsPaidRequest, gX as V1MarkOrderAsPaidResponse, ci as V1RestockItem, d5 as V1ScheduledAction, a_ as V1ShippingInformation, eI as V1UpdateOrderRequest, eJ as V1UpdateOrderResponse, hM as Value, ah as ValueType, aZ as VatId, r as VatType, eT as VersionedDeleteByIdsOperation, eU as VersionedDocumentId, eS as VersionedDocumentUpdateOperation, a9 as VersioningMode, dk as VoidAuthorizedPaymentsRequest, a2 as WebhookIdentityType, W as WeightUnit, b$ as WixReceipt, d8 as WixReceiptInfo } from './ecom-v1-order-orders.universal-CyvtIwV9.mjs';
4
+
5
+ declare function preparePaymentCollection$1(httpClient: HttpClient): PreparePaymentCollectionSignature;
6
+ interface PreparePaymentCollectionSignature {
7
+ /**
8
+ * Prepares payment collection for given ecom order. This is the first of 2-step process of payment collection.
9
+ * Here we ensure that payment collection is possible for given order and store and prepare payment gateway order for future charge.
10
+ * 2nd step is an actual charge of prepared payment gateway order. This could be done either
11
+ * via Wix-Cashier's API (https://bo.wix.com/wix-docs/rest/wix-cashier/pay/charge/charge-for-order)
12
+ * or using Cashier Payments Widget (https://github.com/wix-private/cashier-client/tree/master/packages/cashier-payments-widget)
13
+ * @param - Ecom order ID.
14
+ * @param - Amount to collect
15
+ */
16
+ (ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions | undefined): Promise<PreparePaymentCollectionResponse>;
17
+ }
18
+ declare function getPaymentCollectabilityStatus$1(httpClient: HttpClient): GetPaymentCollectabilityStatusSignature;
19
+ interface GetPaymentCollectabilityStatusSignature {
20
+ /**
21
+ * Provides payment collectability status for given order. If payment collection is possible
22
+ * response will contain collectable amount for given ecom order. If not - response will contain
23
+ * reason why payment collection is not possible.
24
+ * @param - Ecom order ID.
25
+ */
26
+ (ecomOrderId: string): Promise<GetPaymentCollectabilityStatusResponse>;
27
+ }
28
+ declare function voidAuthorizedPayments$1(httpClient: HttpClient): VoidAuthorizedPaymentsSignature;
29
+ interface VoidAuthorizedPaymentsSignature {
30
+ /**
31
+ * Void authorized payments
32
+ * Transaction statuses for related payments will be updated in async way
33
+ * @param - Wix eCommerce order ID
34
+ * @param - Payment IDs
35
+ */
36
+ (ecomOrderId: string, paymentIds: string[]): Promise<VoidAuthorizedPaymentsResponse>;
37
+ }
38
+ declare function captureAuthorizedPayments$1(httpClient: HttpClient): CaptureAuthorizedPaymentsSignature;
39
+ interface CaptureAuthorizedPaymentsSignature {
40
+ /**
41
+ * Capture authorized payments
42
+ * Transaction statuses for related payments will be updated in async way
43
+ * @param - Wix eCommerce order ID
44
+ * @param - Capture payments information
45
+ */
46
+ (ecomOrderId: string, payments: PaymentCapture[]): Promise<CaptureAuthorizedPaymentsResponse>;
47
+ }
48
+ declare function getOrder$1(httpClient: HttpClient): GetOrderSignature;
49
+ interface GetOrderSignature {
50
+ /**
51
+ * Retrieves an order.
52
+ *
53
+ *
54
+ * The `getOrder()` function returns a Promise that resolves when the specified order is retrieved.
55
+ *
56
+ * To retrieve an order's payment and refund details, including amounts, payment methods, and payment statuses, pass the order ID to [`listTransactionsForSingleOrder( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/listtransactionsforsingleorder).
57
+ * @param - ID of the order to retrieve.
58
+ * @returns Fulfilled - The requested order.
59
+ */
60
+ (_id: string): Promise<Order>;
61
+ }
62
+ declare function searchOrders$1(httpClient: HttpClient): SearchOrdersSignature;
63
+ interface SearchOrdersSignature {
64
+ /**
65
+ * Retrieves a list of orders, given the provided paging, filtering, and sorting.
66
+ *
67
+ *
68
+ * Search Orders runs with these defaults, which you can override:
69
+ *
70
+ * - `createdDate` is sorted in `DESC` order
71
+ * - `cursorPaging.limit` is `100`
72
+ * - `filter: {"status": {"$ne": "INITIALIZED"}}` - other order statuses can be queried, but orders with `status: "INITIALIZED"` are never returned
73
+ *
74
+ * For field support for filters and sorting, see [Orders: Supported Filters and Sorting](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/supported-filters-and-sorting).
75
+ *
76
+ * To learn about working with _Search_ endpoints, see
77
+ * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language), and
78
+ * [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
79
+ * @param - Search options.
80
+ */
81
+ (search: OrderSearch): Promise<SearchOrdersResponse>;
82
+ }
83
+ declare function createOrder$1(httpClient: HttpClient): CreateOrderSignature;
84
+ interface CreateOrderSignature {
85
+ /**
86
+ * Creates an order.
87
+ *
88
+ *
89
+ * The `createOrder()` function returns a Promise that resolves when the order is created.
90
+ *
91
+ * > **Notes:**
92
+ * > + If an item is digital - `lineItems[i].itemType.preset: DIGITAL` - then `lineItems[i].digitalFile` must be provided.
93
+ * > + If `lineItems[i].id` is passed, it must be either a valid GUID, or empty.
94
+ * @param - Order info.
95
+ * @returns Newly created order.
96
+ */
97
+ (order: Order, options?: CreateOrderOptions | undefined): Promise<Order>;
98
+ }
99
+ declare function updateOrder$1(httpClient: HttpClient): UpdateOrderSignature;
100
+ interface UpdateOrderSignature {
101
+ /**
102
+ * Updates an order.
103
+ *
104
+ *
105
+ * The `updateOrder()` function returns a Promise that resolves when the specified order's information is updated.
106
+ *
107
+ * Currently, the following fields can be updated:
108
+ * + `order.buyerInfo.email`
109
+ * + `order.buyerLanguage`
110
+ * + `order.weightUnit`
111
+ * + `order.billingInfo.address`
112
+ * + `order.billingInfo.contactDetails`
113
+ * + `order.archived`
114
+ * + `order.attributionSource`
115
+ * + `order.seenByAHuman`
116
+ * + `order.recipientInfo.address`
117
+ * + `order.recipientInfo.contactDetails`
118
+ * + `order.shippingInfo.logistics.shippingDestination.address`
119
+ * + `order.shippingInfo.logistics.shippingDestination.contactDetails`
120
+ *
121
+ * To update a field's value, include the new value in the `order` object in the method parameters.
122
+ * To remove a field's value, pass `null`.
123
+ *
124
+ * > **Note:** Removing `buyerInfo` or `contactDetails` fields results in an error.
125
+ *
126
+ * To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
127
+ * @param - Order ID.
128
+ * @returns Newly created order.
129
+ */
130
+ (_id: string, order: UpdateOrder): Promise<Order>;
131
+ }
132
+ declare function bulkUpdateOrders$1(httpClient: HttpClient): BulkUpdateOrdersSignature;
133
+ interface BulkUpdateOrdersSignature {
134
+ /**
135
+ * Updates up to 100 orders.
136
+ *
137
+ *
138
+ * The `bulkUpdateOrders()` function returns a Promise that resolves when the specified orders' information is updated.
139
+ *
140
+ * Currently, the following fields can be updated:
141
+ * + `order.buyerInfo.email`
142
+ * + `order.buyerLanguage`
143
+ * + `order.weightUnit`
144
+ * + `order.billingInfo.address`
145
+ * + `order.billingInfo.contactDetails`
146
+ * + `order.archived`
147
+ * + `order.attributionSource`
148
+ * + `order.seenByAHuman`
149
+ * + `order.recipientInfo.address`
150
+ * + `order.recipientInfo.contactDetails`
151
+ * + `order.shippingInfo.logistics.shippingDestination.address`
152
+ * + `order.shippingInfo.logistics.shippingDestination.contactDetails`
153
+ *
154
+ * To update a field's value, include the new value in the `orders.order` object in the method parameters.
155
+ * To remove a field's value, pass `null`.
156
+ *
157
+ * > **Note:** Removing `buyerInfo` or `contactDetails` fields results in an error.
158
+ *
159
+ * To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
160
+ * @param - Orders to update.
161
+ */
162
+ (orders: MaskedOrder[], options?: BulkUpdateOrdersOptions | undefined): Promise<BulkUpdateOrdersResponse>;
163
+ }
164
+ declare function cancelOrder$1(httpClient: HttpClient): CancelOrderSignature;
165
+ interface CancelOrderSignature {
166
+ /**
167
+ * Cancels an order.
168
+ *
169
+ *
170
+ * The `cancelOrder()` function returns a Promise that resolves when the specified order is canceled and the `order.status` field changes to `CANCELED`.
171
+ * @param - Order ID.
172
+ */
173
+ (_id: string, options?: CancelOrderOptions | undefined): Promise<CancelOrderResponse>;
174
+ }
175
+ declare function bulkUpdateOrderTags$1(httpClient: HttpClient): BulkUpdateOrderTagsSignature;
176
+ interface BulkUpdateOrderTagsSignature {
177
+ /**
178
+ * Synchronously update tags on multiple orders, by list of order IDs.
179
+ *
180
+ * > **Note:** If the same tag is passed to both the `assignTags` and `unassignTags` fields, it will be assigned.
181
+ * @param - IDs of orders to update tags for.
182
+ */
183
+ (orderIds: string[], options?: BulkUpdateOrderTagsOptions | undefined): Promise<BulkUpdateOrderTagsResponse>;
184
+ }
185
+ declare const onOrderApproved$1: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
186
+ declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
187
+ declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
188
+ declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
189
+
190
+ declare const preparePaymentCollection: MaybeContext<BuildRESTFunction<typeof preparePaymentCollection$1> & typeof preparePaymentCollection$1>;
191
+ declare const getPaymentCollectabilityStatus: MaybeContext<BuildRESTFunction<typeof getPaymentCollectabilityStatus$1> & typeof getPaymentCollectabilityStatus$1>;
192
+ declare const voidAuthorizedPayments: MaybeContext<BuildRESTFunction<typeof voidAuthorizedPayments$1> & typeof voidAuthorizedPayments$1>;
193
+ declare const captureAuthorizedPayments: MaybeContext<BuildRESTFunction<typeof captureAuthorizedPayments$1> & typeof captureAuthorizedPayments$1>;
194
+ declare const getOrder: MaybeContext<BuildRESTFunction<typeof getOrder$1> & typeof getOrder$1>;
195
+ declare const searchOrders: MaybeContext<BuildRESTFunction<typeof searchOrders$1> & typeof searchOrders$1>;
196
+ declare const createOrder: MaybeContext<BuildRESTFunction<typeof createOrder$1> & typeof createOrder$1>;
197
+ declare const updateOrder: MaybeContext<BuildRESTFunction<typeof updateOrder$1> & typeof updateOrder$1>;
198
+ declare const bulkUpdateOrders: MaybeContext<BuildRESTFunction<typeof bulkUpdateOrders$1> & typeof bulkUpdateOrders$1>;
199
+ declare const cancelOrder: MaybeContext<BuildRESTFunction<typeof cancelOrder$1> & typeof cancelOrder$1>;
200
+ declare const bulkUpdateOrderTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateOrderTags$1> & typeof bulkUpdateOrderTags$1>;
201
+ /** */
202
+ declare const onOrderApproved: BuildEventDefinition<typeof onOrderApproved$1>;
203
+ /** */
204
+ declare const onOrderUpdated: BuildEventDefinition<typeof onOrderUpdated$1>;
205
+ /**
206
+ * Triggered when an order is canceled.
207
+ * 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).
208
+ */
209
+ declare const onOrderCanceled: BuildEventDefinition<typeof onOrderCanceled$1>;
210
+ /**
211
+ * Triggered when an order is created.
212
+ * Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
213
+ */
214
+ declare const onOrderCreated: BuildEventDefinition<typeof onOrderCreated$1>;
215
+
216
+ export { BulkUpdateOrderTagsOptions, BulkUpdateOrderTagsResponse, BulkUpdateOrdersOptions, BulkUpdateOrdersResponse, CancelOrderOptions, CancelOrderResponse, CaptureAuthorizedPaymentsResponse, CreateOrderOptions, GetPaymentCollectabilityStatusResponse, MaskedOrder, Order, OrderApprovedEnvelope, OrderCanceledEnvelope, OrderCreatedEnvelope, OrderUpdatedEnvelope, PaymentCapture, PreparePaymentCollectionOptions, PreparePaymentCollectionResponse, Price, SearchOrdersResponse, UpdateOrder, VoidAuthorizedPaymentsResponse, bulkUpdateOrderTags, bulkUpdateOrders, cancelOrder, captureAuthorizedPayments, createOrder, getOrder, getPaymentCollectabilityStatus, onOrderApproved, onOrderCanceled, onOrderCreated, onOrderUpdated, preparePaymentCollection, searchOrders, updateOrder, voidAuthorizedPayments };
@@ -0,0 +1,216 @@
1
+ import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
+ import { P as Price, a as PreparePaymentCollectionOptions, b as PreparePaymentCollectionResponse, G as GetPaymentCollectabilityStatusResponse, V as VoidAuthorizedPaymentsResponse, c as PaymentCapture, C as CaptureAuthorizedPaymentsResponse, O as Order, d as OrderSearch, S as SearchOrdersResponse, e as CreateOrderOptions, U as UpdateOrder, M as MaskedOrder, B as BulkUpdateOrdersOptions, f as BulkUpdateOrdersResponse, g as CancelOrderOptions, h as CancelOrderResponse, i as BulkUpdateOrderTagsOptions, j as BulkUpdateOrderTagsResponse, k as OrderApprovedEnvelope, l as OrderUpdatedEnvelope, m as OrderCanceledEnvelope, n as OrderCreatedEnvelope } from './ecom-v1-order-orders.universal-CyvtIwV9.js';
3
+ export { dv as ActionEvent, $ as ActionType, bh as Activity, bi as ActivityContentOneOf, w as ActivityType, gr as AddActivitiesRequest, gs as AddActivitiesResponse, gn as AddActivityRequest, gq as AddActivityResponse, g0 as AddInternalActivityRequest, gm as AddInternalActivityResponse, c9 as AdditionalFee, fs as AdditionalFeeDelta, ft as AdditionalFeeDeltaDeltaOneOf, cQ as AdditionalFeeRefund, aV as Address, hm as AddressDescription, aX as AddressLocation, aU as AddressWithContact, A as AdjustmentType, h_ as AggregateOrdersOptions, h2 as AggregateOrdersRequest, h3 as AggregateOrdersResponse, dd as AggregatedRefundSummary, a4 as AnimationDetection, eg as App, cx as ApplicationError, b9 as AppliedDiscount, fq as AppliedDiscountDelta, fr as AppliedDiscountDeltaDeltaOneOf, ba as AppliedDiscountDiscountSourceOneOf, fC as ArchiveOrderRequest, fD as ArchiveOrderResponse, x as AttributionSource, d3 as AuthorizationActionFailureDetails, d2 as AuthorizationCapture, Y as AuthorizationCaptureStatus, d1 as AuthorizationDetails, d4 as AuthorizationVoid, Z as AuthorizationVoidStatus, bF as AuthorizedPaymentCaptured, bE as AuthorizedPaymentCreated, bG as AuthorizedPaymentVoided, c8 as Balance, c7 as BalanceSummary, hP as BaseEventMetadata, eX as BatchOfTriggerReindexOrderRequest, hw as BigDecimalWrapper, aG as BillingAdjustment, aH as BillingAdjustmentPriceSummary, cy as BulkActionMetadata, fG as BulkArchiveOrdersByFilterRequest, fH as BulkArchiveOrdersByFilterResponse, fE as BulkArchiveOrdersRequest, fF as BulkArchiveOrdersResponse, gL as BulkMarkAsFulfilledByFilterRequest, gM as BulkMarkAsFulfilledByFilterResponse, gJ as BulkMarkAsFulfilledRequest, gK as BulkMarkAsFulfilledResponse, gR as BulkMarkAsUnfulfilledByFilterRequest, gS as BulkMarkAsUnfulfilledByFilterResponse, gP as BulkMarkAsUnfulfilledRequest, gQ as BulkMarkAsUnfulfilledResponse, ct as BulkMarkOrdersAsPaidRequest, cu as BulkMarkOrdersAsPaidResponse, cv as BulkOrderResult, dH as BulkSendBuyerPickupConfirmationEmailsRequest, dI as BulkSendBuyerPickupConfirmationEmailsResponse, dL as BulkSendBuyerShippingConfirmationEmailsRequest, dM as BulkSendBuyerShippingConfirmationEmailsResponse, gT as BulkSetBusinessLocationRequest, gU as BulkSetBusinessLocationResponse, gV as BulkSetBusinessLocationResult, fM as BulkUnArchiveOrdersByFilterRequest, fN as BulkUnArchiveOrdersByFilterResponse, fK as BulkUnArchiveOrdersRequest, fL as BulkUnArchiveOrdersResponse, h7 as BulkUpdateOrderTagsRequest, h8 as BulkUpdateOrderTagsResult, ff as BulkUpdateOrdersRequest, aQ as BuyerInfo, aR as BuyerInfoIdOneOf, fP as BuyerInfoUpdate, dh as CalculateRefundItemRequest, dj as CalculateRefundItemResponse, dg as CalculateRefundRequest, di as CalculateRefundResponse, hG as CalculatedTax, hF as CalculatedTaxes, he as Cancel, gC as CancelOrderRequest, dl as CaptureAuthorizedPaymentsRequest, am as CatalogReference, c5 as ChannelInfo, y as ChannelType, hS as ChargeMembershipsOptions, cG as ChargeMembershipsRequest, cK as ChargeMembershipsResponse, dm as ChargeSavedPaymentMethodRequest, dn as ChargeSavedPaymentMethodResponse, cE as ChargedBy, as as Color, hV as CommitDeltasOptions, fg as CommitDeltasRequest, fw as CommitDeltasResponse, fy as CommittedDiffs, fz as CommittedDiffsShippingUpdateInfoOneOf, hp as CommonAddress, hq as CommonAddressStreetOneOf, ho as Company, hd as Complete, e_ as ContinueSideEffectsFlowInLegacyData, bb as Coupon, f9 as CreateOrderRequest, fc as CreateOrderResponse, cD as CreatePaymentGatewayOrderRequest, cF as CreatePaymentGatewayOrderResponse, c3 as CreatedBy, c4 as CreatedByStringOneOf, bU as CreditCardDetails, d0 as CreditCardPaymentMethodDetails, aS as CurrencyConversionDetails, es as CursorPaging, f8 as CursorPagingMetadata, f6 as CursorSearch, f7 as CursorSearchPagingMethodOneOf, ev as Cursors, bj as CustomActivity, c6 as CustomField, ag as CustomFieldGroup, hL as CustomFieldValue, hj as Customer, h5 as DecrementData, h4 as DecrementItemsQuantityRequest, h6 as DecrementItemsQuantityResponse, cl as DelayedCaptureSettings, hZ as DeleteActivityIdentifiers, gv as DeleteActivityRequest, gw as DeleteActivityResponse, eP as DeleteByFilterOperation, eO as DeleteByIdsOperation, a$ as DeliveryLogistics, b0 as DeliveryLogisticsAddressOneOf, b3 as DeliveryTimeSlot, ab as DeltaPaymentOptionType, hN as Deposit, ai as DepositType, an as DescriptionLine, ap as DescriptionLineDescriptionLineValueOneOf, aq as DescriptionLineName, D as DescriptionLineType, ao as DescriptionLineValueOneOf, eY as DiffmatokyPayload, aA as DigitalFile, hD as Discount, hE as DiscountOneDiscountTypeOneOf, v as DiscountReason, be as DiscountRule, bf as DiscountRuleName, u as DiscountType, dp as DomainEvent, dq as DomainEventBodyOneOf, g8 as DownloadLinkSent, bp as DraftOrderChangesApplied, fu as DraftOrderCommitSettings, fh as DraftOrderDiffs, fk as DraftOrderDiffsBillingUpdateInfoOneOf, fj as DraftOrderDiffsBuyerUpdateInfoOneOf, fl as DraftOrderDiffsRecipientUpdateInfoOneOf, fi as DraftOrderDiffsShippingUpdateInfoOneOf, cm as Duration, E as DurationUnit, hk as Email, gh as EmailEdited, dw as Empty, dr as EntityCreatedEvent, du as EntityDeletedEvent, dt as EntityUpdatedEvent, eZ as ErrorInformation, hQ as EventMetadata, aM as ExtendedFields, c0 as ExternalReceipt, d9 as ExternalReceiptInfo, ek as ExternalUriMapping, at as FocalPoint, aF as FreeTrialPeriod, gf as FulfillerEmailSent, F as FulfillmentStatus, gI as FulfillmentStatusUpdated, ca as FulfillmentStatusesAggregate, aY as FullAddressContactDetails, ed as GetMetasiteDataRequest, ee as GetMetasiteDataResponse, eE as GetOrderAgcRequest, eF as GetOrderAgcResponse, ew as GetOrderForMetasiteRequest, ex as GetOrderForMetasiteResponse, eC as GetOrderOutOfBoxRequest, eD as GetOrderOutOfBoxResponse, f0 as GetOrderRequest, f1 as GetOrderResponse, eG as GetOrderWithFilterByLocationRequest, eH as GetOrderWithFilterByLocationResponse, cn as GetPaymentCollectabilityStatusRequest, cz as GetRefundabilityStatusRequest, cA as GetRefundabilityStatusResponse, h0 as GetShipmentsRequest, h1 as GetShipmentsResponse, d6 as GiftCardPaymentDetails, bL as GiftCardPaymentRefund, ej as HtmlApplication, hh as IdAndVersion, dy as IdentificationData, dz as IdentificationDataIdOneOf, dA as ImageContent, e$ as IndexingMessage, g1 as InternalActivity, g2 as InternalActivityContentOneOf, eM as InternalDocument, eQ as InternalDocumentUpdateByFilterOperation, eN as InternalDocumentUpdateOperation, en as InternalQueryOrdersRequest, f2 as InternalQueryOrdersResponse, eR as InternalUpdateExistingOperation, ac as InventoryAction, fv as InventoryUpdateDetails, gd as InvoiceAdded, ht as InvoiceDates, hK as InvoiceDynamicPriceTotals, hi as InvoiceFields, ge as InvoiceSent, hg as InvoiceSentEvent, aj as InvoiceStatus, hI as InvoicesPayment, fp as ItemChangedDetails, cw as ItemMetadata, aP as ItemModifier, ax as ItemTaxFullDetails, av as ItemType, I as ItemTypeItemType, aw as ItemTypeItemTypeDataOneOf, hC as ItemizedFee, J as JurisdictionType, hv as LineItem, by as LineItemAmount, bs as LineItemChanges, fA as LineItemDelta, fB as LineItemDeltaDeltaOneOf, bg as LineItemDiscount, bo as LineItemExchangeData, hz as LineItemMetaData, bu as LineItemPriceChange, bt as LineItemQuantityChange, L as LineItemQuantityChangeType, cP as LineItemRefund, df as LineItemRefundSummary, hx as LineItemTax, az as LineItemTaxBreakdown, ay as LineItemTaxInfo, gy as LineItemUpdate, hu as LineItems, ey as ListOrderTransactionsForMetasiteRequest, ez as ListOrderTransactionsForMetasiteResponse, hA as Locale, cd as Location, aJ as LocationAndQuantity, bz as ManagedAdditionalFee, bw as ManagedDiscount, bv as ManagedLineItem, K as ManuallyRefundableReason, gG as MarkAsFulfilledRequest, gH as MarkAsFulfilledResponse, gN as MarkAsUnfulfilledRequest, gO as MarkAsUnfulfilledResponse, cq as MarkOrderAsPaidRequest, cr as MarkOrderAsPaidResponse, gA as MarkOrderAsSeenByHumanRequest, gB as MarkOrderAsSeenByHumanResponse, f_ as MaskedOrderLineItem, cH as MembershipChargeItem, cI as MembershipName, d7 as MembershipPaymentDetails, bM as MembershipPaymentRefund, a0 as MembershipPaymentStatus, bk as MerchantComment, bc as MerchantDiscount, bd as MerchantDiscountMerchantDiscountReasonOneOf, dx as MessageEnvelope, hJ as MetaData, ef as MetaSite, ei as MetaTag, aN as ModifierGroup, a7 as Namespace, bn as NewExchangeOrderCreated, N as NonRefundableReason, aa as OrderApprovalStrategy, ce as OrderApproved, g7 as OrderCanceled, gD as OrderCanceledEventOrderCanceled, bq as OrderChange, br as OrderChangeValueOneOf, fb as OrderCreateNotifications, bm as OrderCreatedFromExchange, fa as OrderCreationSettings, fx as OrderDeltasCommitted, g5 as OrderFulfilled, ch as OrderItemsRestocked, ak as OrderLineItem, fo as OrderLineItemChangedDetails, g6 as OrderNotFulfilled, g4 as OrderPaid, gj as OrderPartiallyPaid, gk as OrderPending, g3 as OrderPlaced, bl as OrderRefunded, gl as OrderRejected, cg as OrderRejectedEventOrderRejected, hU as OrderSearchSpec, t as OrderStatus, b8 as OrderTaxBreakdown, b7 as OrderTaxInfo, cW as OrderTransactions, cf as OrdersExperiments, cX as Payment, bV as PaymentCanceled, bW as PaymentCanceledPaymentDetailsOneOf, H as PaymentCollectabilityStatus, hR as PaymentCollectionCreatePaymentGatewayOrderOptions, bX as PaymentDeclined, bY as PaymentDeclinedPaymentDetailsOneOf, o as PaymentOptionType, cY as PaymentPaymentDetailsOneOf, bQ as PaymentPending, bR as PaymentPendingPaymentDetailsOneOf, cZ as PaymentReceiptInfoOneOf, cM as PaymentRefund, bO as PaymentRefundFailed, bN as PaymentRefunded, q as PaymentStatus, cs as PaymentStatusUpdated, hH as Payments, hn as Phone, au as PhysicalProperties, b2 as PickupAddress, b1 as PickupDetails, s as PickupMethod, gi as PickupReadyEmailSent, ad as Placement, ar as PlainTextValue, er as PlatformPaging, eu as PlatformPagingMetadata, eo as PlatformQuery, ep as PlatformQueryPagingMethodOneOf, cj as PreparePaymentCollectionRequest, e3 as PreviewBuyerConfirmationEmailRequest, e4 as PreviewBuyerConfirmationEmailResponse, e1 as PreviewBuyerPaymentsReceivedEmailRequest, e2 as PreviewBuyerPaymentsReceivedEmailResponse, e5 as PreviewBuyerPickupConfirmationEmailRequest, e6 as PreviewBuyerPickupConfirmationEmailResponse, dZ as PreviewCancelEmailRequest, d_ as PreviewCancelEmailResponse, d$ as PreviewCancelRefundEmailRequest, e0 as PreviewCancelRefundEmailResponse, dV as PreviewEmailByTypeRequest, dW as PreviewEmailByTypeResponse, a5 as PreviewEmailType, dX as PreviewRefundEmailRequest, dY as PreviewRefundEmailResponse, e9 as PreviewResendDownloadLinksEmailRequest, ea as PreviewResendDownloadLinksEmailResponse, e7 as PreviewShippingConfirmationEmailRequest, e8 as PreviewShippingConfirmationEmailResponse, aI as PriceDescription, aT as PriceSummary, al as ProductName, go as PublicActivity, gp as PublicActivityContentOneOf, f3 as QueryOrderRequest, f4 as QueryOrderResponse, em as QueryOrdersForMetasiteRequest, et as QueryOrdersForMetasiteResponse, hl as QuotesAddress, _ as Reason, bZ as ReceiptCreated, b_ as ReceiptCreatedReceiptInfoOneOf, c1 as ReceiptSent, c2 as ReceiptSentReceiptInfoOneOf, co as RecordManuallyCollectedPaymentRequest, cp as RecordManuallyCollectedPaymentResponse, ck as RedirectUrls, da as Refund, cN as RefundDetails, bH as RefundInitiated, cO as RefundItem, de as RefundItemsBreakdown, cS as RefundSideEffects, a1 as RefundStatus, dc as RefundStatusInfo, db as RefundTransaction, cB as Refundability, cC as RefundabilityAdditionalRefundabilityInfoOneOf, R as RefundableStatus, bP as RefundedAsStoreCredit, bI as RefundedPayment, bJ as RefundedPaymentKindOneOf, bS as RegularPayment, c_ as RegularPaymentDetails, c$ as RegularPaymentDetailsPaymentMethodDetailsOneOf, bT as RegularPaymentPaymentMethodDetailsOneOf, bK as RegularPaymentRefund, hf as Reschedule, cT as RestockInfo, cU as RestockItem, Q as RestockType, ds as RestoreInfo, bD as SavedPaymentMethod, z as ScheduledAction, f5 as SearchOrdersRequest, dB as SendBuyerConfirmationEmailRequest, dC as SendBuyerConfirmationEmailResponse, dD as SendBuyerPaymentsReceivedEmailRequest, dE as SendBuyerPaymentsReceivedEmailResponse, dF as SendBuyerPickupConfirmationEmailRequest, dG as SendBuyerPickupConfirmationEmailResponse, dJ as SendBuyerShippingConfirmationEmailRequest, dK as SendBuyerShippingConfirmationEmailResponse, dP as SendCancelRefundEmailRequest, dQ as SendCancelRefundEmailResponse, dN as SendMerchantOrderReceivedNotificationRequest, dO as SendMerchantOrderReceivedNotificationResponse, dT as SendMerchantOrderReceivedPushRequest, dU as SendMerchantOrderReceivedPushResponse, dR as SendRefundEmailRequest, dS as SendRefundEmailResponse, eh as SeoData, cJ as ServiceProperties, gg as ShippingAddressEdited, gc as ShippingConfirmationEmailSent, bC as ShippingInformation, bB as ShippingInformationChange, b4 as ShippingPrice, cR as ShippingRefund, b5 as ShippingRegion, ec as SnapshotMessage, a8 as SortOrder, eq as Sorting, hy as Source, af as SourceType, hs as StandardDetails, a6 as State, aW as StreetAddress, hr as Subdivision, ae as SubdivisionType, aD as SubscriptionDescription, p as SubscriptionFrequency, aB as SubscriptionInfo, aE as SubscriptionSettings, aC as SubscriptionTitle, cc as TagList, cb as Tags, h9 as Task, hb as TaskAction, hc as TaskActionActionOneOf, ha as TaskKey, b6 as TaxSummary, aK as TaxableAddress, aL as TaxableAddressTaxableAddressDataOneOf, T as TaxableAddressType, a3 as TextDetection, hB as TotalPrice, bA as TotalPriceChange, gb as TrackingLinkAdded, g9 as TrackingNumberAdded, ga as TrackingNumberEdited, X as TransactionStatus, aO as TranslatableString, bx as TranslatedValue, hT as TriggerRefundOptions, cL as TriggerRefundRequest, cV as TriggerRefundResponse, eb as TriggerReindexOrderRequest, eV as TriggerReindexRequest, eW as TriggerReindexResponse, hO as TriggerSideEffectsFromLegacyData, fI as UnArchiveOrderRequest, fJ as UnArchiveOrderResponse, hY as UpdateActivityIdentifiers, gt as UpdateActivityRequest, gu as UpdateActivityResponse, fV as UpdateBillingContactDetailsRequest, fW as UpdateBillingContactDetailsResponse, fR as UpdateBuyerEmailRequest, fS as UpdateBuyerEmailResponse, fO as UpdateBuyerInfoRequest, fQ as UpdateBuyerInfoResponse, eK as UpdateInternalDocumentsEvent, eL as UpdateInternalDocumentsEventOperationOneOf, gx as UpdateLineItemsDescriptionLinesRequest, gz as UpdateLineItemsDescriptionLinesResponse, hX as UpdateOrderLineItem, hW as UpdateOrderLineItemIdentifiers, fX as UpdateOrderLineItemRequest, fY as UpdateOrderLineItemResponse, fZ as UpdateOrderLineItemsRequest, f$ as UpdateOrderLineItemsResponse, fd as UpdateOrderRequest, fe as UpdateOrderResponse, fT as UpdateOrderShippingAddressRequest, fU as UpdateOrderShippingAddressResponse, gE as UpdateOrderStatusRequest, gF as UpdateOrderStatusResponse, eA as UpsertRefundRequest, eB as UpsertRefundResponse, el as UserDataResponse, gY as V1BulkMarkOrdersAsPaidRequest, gZ as V1BulkMarkOrdersAsPaidResponse, g_ as V1CreatePaymentGatewayOrderRequest, g$ as V1CreatePaymentGatewayOrderResponse, fm as V1LineItemDelta, fn as V1LineItemDeltaDeltaOneOf, gW as V1MarkOrderAsPaidRequest, gX as V1MarkOrderAsPaidResponse, ci as V1RestockItem, d5 as V1ScheduledAction, a_ as V1ShippingInformation, eI as V1UpdateOrderRequest, eJ as V1UpdateOrderResponse, hM as Value, ah as ValueType, aZ as VatId, r as VatType, eT as VersionedDeleteByIdsOperation, eU as VersionedDocumentId, eS as VersionedDocumentUpdateOperation, a9 as VersioningMode, dk as VoidAuthorizedPaymentsRequest, a2 as WebhookIdentityType, W as WeightUnit, b$ as WixReceipt, d8 as WixReceiptInfo } from './ecom-v1-order-orders.universal-CyvtIwV9.js';
4
+
5
+ declare function preparePaymentCollection$1(httpClient: HttpClient): PreparePaymentCollectionSignature;
6
+ interface PreparePaymentCollectionSignature {
7
+ /**
8
+ * Prepares payment collection for given ecom order. This is the first of 2-step process of payment collection.
9
+ * Here we ensure that payment collection is possible for given order and store and prepare payment gateway order for future charge.
10
+ * 2nd step is an actual charge of prepared payment gateway order. This could be done either
11
+ * via Wix-Cashier's API (https://bo.wix.com/wix-docs/rest/wix-cashier/pay/charge/charge-for-order)
12
+ * or using Cashier Payments Widget (https://github.com/wix-private/cashier-client/tree/master/packages/cashier-payments-widget)
13
+ * @param - Ecom order ID.
14
+ * @param - Amount to collect
15
+ */
16
+ (ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions | undefined): Promise<PreparePaymentCollectionResponse>;
17
+ }
18
+ declare function getPaymentCollectabilityStatus$1(httpClient: HttpClient): GetPaymentCollectabilityStatusSignature;
19
+ interface GetPaymentCollectabilityStatusSignature {
20
+ /**
21
+ * Provides payment collectability status for given order. If payment collection is possible
22
+ * response will contain collectable amount for given ecom order. If not - response will contain
23
+ * reason why payment collection is not possible.
24
+ * @param - Ecom order ID.
25
+ */
26
+ (ecomOrderId: string): Promise<GetPaymentCollectabilityStatusResponse>;
27
+ }
28
+ declare function voidAuthorizedPayments$1(httpClient: HttpClient): VoidAuthorizedPaymentsSignature;
29
+ interface VoidAuthorizedPaymentsSignature {
30
+ /**
31
+ * Void authorized payments
32
+ * Transaction statuses for related payments will be updated in async way
33
+ * @param - Wix eCommerce order ID
34
+ * @param - Payment IDs
35
+ */
36
+ (ecomOrderId: string, paymentIds: string[]): Promise<VoidAuthorizedPaymentsResponse>;
37
+ }
38
+ declare function captureAuthorizedPayments$1(httpClient: HttpClient): CaptureAuthorizedPaymentsSignature;
39
+ interface CaptureAuthorizedPaymentsSignature {
40
+ /**
41
+ * Capture authorized payments
42
+ * Transaction statuses for related payments will be updated in async way
43
+ * @param - Wix eCommerce order ID
44
+ * @param - Capture payments information
45
+ */
46
+ (ecomOrderId: string, payments: PaymentCapture[]): Promise<CaptureAuthorizedPaymentsResponse>;
47
+ }
48
+ declare function getOrder$1(httpClient: HttpClient): GetOrderSignature;
49
+ interface GetOrderSignature {
50
+ /**
51
+ * Retrieves an order.
52
+ *
53
+ *
54
+ * The `getOrder()` function returns a Promise that resolves when the specified order is retrieved.
55
+ *
56
+ * To retrieve an order's payment and refund details, including amounts, payment methods, and payment statuses, pass the order ID to [`listTransactionsForSingleOrder( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/listtransactionsforsingleorder).
57
+ * @param - ID of the order to retrieve.
58
+ * @returns Fulfilled - The requested order.
59
+ */
60
+ (_id: string): Promise<Order>;
61
+ }
62
+ declare function searchOrders$1(httpClient: HttpClient): SearchOrdersSignature;
63
+ interface SearchOrdersSignature {
64
+ /**
65
+ * Retrieves a list of orders, given the provided paging, filtering, and sorting.
66
+ *
67
+ *
68
+ * Search Orders runs with these defaults, which you can override:
69
+ *
70
+ * - `createdDate` is sorted in `DESC` order
71
+ * - `cursorPaging.limit` is `100`
72
+ * - `filter: {"status": {"$ne": "INITIALIZED"}}` - other order statuses can be queried, but orders with `status: "INITIALIZED"` are never returned
73
+ *
74
+ * For field support for filters and sorting, see [Orders: Supported Filters and Sorting](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/supported-filters-and-sorting).
75
+ *
76
+ * To learn about working with _Search_ endpoints, see
77
+ * [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language), and
78
+ * [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
79
+ * @param - Search options.
80
+ */
81
+ (search: OrderSearch): Promise<SearchOrdersResponse>;
82
+ }
83
+ declare function createOrder$1(httpClient: HttpClient): CreateOrderSignature;
84
+ interface CreateOrderSignature {
85
+ /**
86
+ * Creates an order.
87
+ *
88
+ *
89
+ * The `createOrder()` function returns a Promise that resolves when the order is created.
90
+ *
91
+ * > **Notes:**
92
+ * > + If an item is digital - `lineItems[i].itemType.preset: DIGITAL` - then `lineItems[i].digitalFile` must be provided.
93
+ * > + If `lineItems[i].id` is passed, it must be either a valid GUID, or empty.
94
+ * @param - Order info.
95
+ * @returns Newly created order.
96
+ */
97
+ (order: Order, options?: CreateOrderOptions | undefined): Promise<Order>;
98
+ }
99
+ declare function updateOrder$1(httpClient: HttpClient): UpdateOrderSignature;
100
+ interface UpdateOrderSignature {
101
+ /**
102
+ * Updates an order.
103
+ *
104
+ *
105
+ * The `updateOrder()` function returns a Promise that resolves when the specified order's information is updated.
106
+ *
107
+ * Currently, the following fields can be updated:
108
+ * + `order.buyerInfo.email`
109
+ * + `order.buyerLanguage`
110
+ * + `order.weightUnit`
111
+ * + `order.billingInfo.address`
112
+ * + `order.billingInfo.contactDetails`
113
+ * + `order.archived`
114
+ * + `order.attributionSource`
115
+ * + `order.seenByAHuman`
116
+ * + `order.recipientInfo.address`
117
+ * + `order.recipientInfo.contactDetails`
118
+ * + `order.shippingInfo.logistics.shippingDestination.address`
119
+ * + `order.shippingInfo.logistics.shippingDestination.contactDetails`
120
+ *
121
+ * To update a field's value, include the new value in the `order` object in the method parameters.
122
+ * To remove a field's value, pass `null`.
123
+ *
124
+ * > **Note:** Removing `buyerInfo` or `contactDetails` fields results in an error.
125
+ *
126
+ * To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
127
+ * @param - Order ID.
128
+ * @returns Newly created order.
129
+ */
130
+ (_id: string, order: UpdateOrder): Promise<Order>;
131
+ }
132
+ declare function bulkUpdateOrders$1(httpClient: HttpClient): BulkUpdateOrdersSignature;
133
+ interface BulkUpdateOrdersSignature {
134
+ /**
135
+ * Updates up to 100 orders.
136
+ *
137
+ *
138
+ * The `bulkUpdateOrders()` function returns a Promise that resolves when the specified orders' information is updated.
139
+ *
140
+ * Currently, the following fields can be updated:
141
+ * + `order.buyerInfo.email`
142
+ * + `order.buyerLanguage`
143
+ * + `order.weightUnit`
144
+ * + `order.billingInfo.address`
145
+ * + `order.billingInfo.contactDetails`
146
+ * + `order.archived`
147
+ * + `order.attributionSource`
148
+ * + `order.seenByAHuman`
149
+ * + `order.recipientInfo.address`
150
+ * + `order.recipientInfo.contactDetails`
151
+ * + `order.shippingInfo.logistics.shippingDestination.address`
152
+ * + `order.shippingInfo.logistics.shippingDestination.contactDetails`
153
+ *
154
+ * To update a field's value, include the new value in the `orders.order` object in the method parameters.
155
+ * To remove a field's value, pass `null`.
156
+ *
157
+ * > **Note:** Removing `buyerInfo` or `contactDetails` fields results in an error.
158
+ *
159
+ * To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
160
+ * @param - Orders to update.
161
+ */
162
+ (orders: MaskedOrder[], options?: BulkUpdateOrdersOptions | undefined): Promise<BulkUpdateOrdersResponse>;
163
+ }
164
+ declare function cancelOrder$1(httpClient: HttpClient): CancelOrderSignature;
165
+ interface CancelOrderSignature {
166
+ /**
167
+ * Cancels an order.
168
+ *
169
+ *
170
+ * The `cancelOrder()` function returns a Promise that resolves when the specified order is canceled and the `order.status` field changes to `CANCELED`.
171
+ * @param - Order ID.
172
+ */
173
+ (_id: string, options?: CancelOrderOptions | undefined): Promise<CancelOrderResponse>;
174
+ }
175
+ declare function bulkUpdateOrderTags$1(httpClient: HttpClient): BulkUpdateOrderTagsSignature;
176
+ interface BulkUpdateOrderTagsSignature {
177
+ /**
178
+ * Synchronously update tags on multiple orders, by list of order IDs.
179
+ *
180
+ * > **Note:** If the same tag is passed to both the `assignTags` and `unassignTags` fields, it will be assigned.
181
+ * @param - IDs of orders to update tags for.
182
+ */
183
+ (orderIds: string[], options?: BulkUpdateOrderTagsOptions | undefined): Promise<BulkUpdateOrderTagsResponse>;
184
+ }
185
+ declare const onOrderApproved$1: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
186
+ declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
187
+ declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
188
+ declare const onOrderCreated$1: EventDefinition<OrderCreatedEnvelope, "wix.ecom.v1.order_created">;
189
+
190
+ declare const preparePaymentCollection: MaybeContext<BuildRESTFunction<typeof preparePaymentCollection$1> & typeof preparePaymentCollection$1>;
191
+ declare const getPaymentCollectabilityStatus: MaybeContext<BuildRESTFunction<typeof getPaymentCollectabilityStatus$1> & typeof getPaymentCollectabilityStatus$1>;
192
+ declare const voidAuthorizedPayments: MaybeContext<BuildRESTFunction<typeof voidAuthorizedPayments$1> & typeof voidAuthorizedPayments$1>;
193
+ declare const captureAuthorizedPayments: MaybeContext<BuildRESTFunction<typeof captureAuthorizedPayments$1> & typeof captureAuthorizedPayments$1>;
194
+ declare const getOrder: MaybeContext<BuildRESTFunction<typeof getOrder$1> & typeof getOrder$1>;
195
+ declare const searchOrders: MaybeContext<BuildRESTFunction<typeof searchOrders$1> & typeof searchOrders$1>;
196
+ declare const createOrder: MaybeContext<BuildRESTFunction<typeof createOrder$1> & typeof createOrder$1>;
197
+ declare const updateOrder: MaybeContext<BuildRESTFunction<typeof updateOrder$1> & typeof updateOrder$1>;
198
+ declare const bulkUpdateOrders: MaybeContext<BuildRESTFunction<typeof bulkUpdateOrders$1> & typeof bulkUpdateOrders$1>;
199
+ declare const cancelOrder: MaybeContext<BuildRESTFunction<typeof cancelOrder$1> & typeof cancelOrder$1>;
200
+ declare const bulkUpdateOrderTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateOrderTags$1> & typeof bulkUpdateOrderTags$1>;
201
+ /** */
202
+ declare const onOrderApproved: BuildEventDefinition<typeof onOrderApproved$1>;
203
+ /** */
204
+ declare const onOrderUpdated: BuildEventDefinition<typeof onOrderUpdated$1>;
205
+ /**
206
+ * Triggered when an order is canceled.
207
+ * 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).
208
+ */
209
+ declare const onOrderCanceled: BuildEventDefinition<typeof onOrderCanceled$1>;
210
+ /**
211
+ * Triggered when an order is created.
212
+ * Learn more about [webhook payload structure](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/orders/order-object-conversion#webhook-conversion-table).
213
+ */
214
+ declare const onOrderCreated: BuildEventDefinition<typeof onOrderCreated$1>;
215
+
216
+ export { BulkUpdateOrderTagsOptions, BulkUpdateOrderTagsResponse, BulkUpdateOrdersOptions, BulkUpdateOrdersResponse, CancelOrderOptions, CancelOrderResponse, CaptureAuthorizedPaymentsResponse, CreateOrderOptions, GetPaymentCollectabilityStatusResponse, MaskedOrder, Order, OrderApprovedEnvelope, OrderCanceledEnvelope, OrderCreatedEnvelope, OrderUpdatedEnvelope, PaymentCapture, PreparePaymentCollectionOptions, PreparePaymentCollectionResponse, Price, SearchOrdersResponse, UpdateOrder, VoidAuthorizedPaymentsResponse, bulkUpdateOrderTags, bulkUpdateOrders, cancelOrder, captureAuthorizedPayments, createOrder, getOrder, getPaymentCollectabilityStatus, onOrderApproved, onOrderCanceled, onOrderCreated, onOrderUpdated, preparePaymentCollection, searchOrders, updateOrder, voidAuthorizedPayments };