import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { O as Order, I as ImportOrderResponse, S as SetOrderNumberCounterOptions, a as SetOrderNumberCounterResponse, B as BulkDeleteImportedOrdersResponse, P as Price, b as PreparePaymentCollectionOptions, c as PreparePaymentCollectionResponse, d as PreparePaymentCollectionApplicationErrors, G as GetPaymentCollectabilityStatusResponse, R as RecordManuallyCollectedPaymentOptions, e as RecordManuallyCollectedPaymentApplicationErrors, f as PaymentCollectionMarkOrderAsPaidOptions, M as MarkOrderAsPaidResponse, g as PaymentCollectionMarkOrderAsPaidApplicationErrors, h as BulkMarkOrdersAsPaidResponse, i as GetRefundabilityStatusResponse, j as PaymentCollectionCreatePaymentGatewayOrderOptions, C as CreatePaymentGatewayOrderResponse, k as PaymentCollectionCreatePaymentGatewayOrderApplicationErrors, l as ChargeMembershipsOptions, m as PaymentRefund, T as TriggerRefundOptions, n as TriggerRefundResponse, o as TriggerRefundApplicationErrors, V as VoidAuthorizedPaymentsResponse, p as VoidAuthorizedPaymentsApplicationErrors, q as PaymentCapture, r as CaptureAuthorizedPaymentsResponse, s as CaptureAuthorizedPaymentsApplicationErrors, t as GetOrderApplicationErrors, u as OrderSearch, v as SearchOrdersResponse, w as CreateOrderOptions, x as CreateOrderApplicationErrors, U as UpdateOrder, y as UpdateOrderApplicationErrors, z as MaskedOrder, A as BulkUpdateOrdersOptions, D as BulkUpdateOrdersResponse, E as UpdateOrderLineItemIdentifiers, F as UpdateOrderLineItem, H as UpdateOrderLineItemResponse, J as PublicActivity, K as AddActivityResponse, L as AddActivitiesOptions, N as AddActivitiesResponse, Q as UpdateActivityIdentifiers, W as UpdateActivityResponse, X as DeleteActivityIdentifiers, Y as DeleteActivityResponse, Z as CancelOrderOptions, _ as CancelOrderResponse, $ as CancelOrderApplicationErrors, a0 as OrderStatusWithLiterals, a1 as UpdateOrderStatusResponse, a2 as UpdateOrderStatusApplicationErrors, a3 as AggregateOrdersOptions, a4 as AggregateOrdersResponse, a5 as BulkUpdateOrderTagsOptions, a6 as BulkUpdateOrderTagsResponse, a7 as OrderApprovedEnvelope, a8 as OrderCanceledEnvelope, a9 as OrderCommittedEnvelope, aa as OrderCreatedEnvelope, ab as OrderFulfilledEnvelope, ac as OrderPaymentStatusUpdatedEnvelope, ad as OrderUpdatedEnvelope } from './ecom-v1-order-orders.universal-zwy-robE.js'; export { d_ as AccountInfo, je as AccountInfoMetadata, dW as ActionEvent, aZ as ActionType, j$ as ActionTypeWithLiterals, cd as Activity, ce as ActivityContentOneOf, av as ActivityType, jx as ActivityTypeWithLiterals, hS as AddActivitiesRequest, hQ as AddActivityRequest, ht as AddInternalActivityRequest, hP as AddInternalActivityResponse, fu as AddToAutomationMigrationPopulationRequest, fv as AddToAutomationMigrationPopulationResponse, db as AdditionalFee, dJ as AdditionalFeeDelta, dK as AdditionalFeeDeltaDeltaOneOf, eG as AdditionalFeeRefund, az as AdditionalFeeSource, jB as AdditionalFeeSourceWithLiterals, bP as Address, iM as AddressDescription, bR as AddressLocation, bO as AddressWithContact, ak as AdjustmentType, jn as AdjustmentTypeWithLiterals, ip as AggregateOrdersRequest, gl as AggregatedRefundSummary, fL as ApplicationError, c3 as AppliedDiscount, dH as AppliedDiscountDelta, dI as AppliedDiscountDeltaDeltaOneOf, c4 as AppliedDiscountDiscountSourceOneOf, h4 as ArchiveOrderRequest, h5 as ArchiveOrderResponse, eZ as Asset, ax as AttributionSource, jz as AttributionSourceWithLiterals, g8 as AuthorizationActionFailureDetails, g7 as AuthorizationCapture, aW as AuthorizationCaptureStatus, jY as AuthorizationCaptureStatusWithLiterals, g6 as AuthorizationDetails, g9 as AuthorizationVoid, aX as AuthorizationVoidStatus, jZ as AuthorizationVoidStatusWithLiterals, cE as AuthorizedPaymentCaptured, cD as AuthorizedPaymentCreated, cF as AuthorizedPaymentVoided, d9 as Balance, d8 as BalanceSummary, jc as BaseEventMetadata, iW as BigDecimalWrapper, bA as BillingAdjustment, bB as BillingAdjustmentPriceSummary, bz as BillingSettings, fM as BulkActionMetadata, h8 as BulkArchiveOrdersByFilterRequest, h9 as BulkArchiveOrdersByFilterResponse, h6 as BulkArchiveOrdersRequest, h7 as BulkArchiveOrdersResponse, dP as BulkDeleteImportedOrdersRequest, i4 as BulkMarkAsFulfilledByFilterRequest, i5 as BulkMarkAsFulfilledByFilterResponse, i2 as BulkMarkAsFulfilledRequest, i3 as BulkMarkAsFulfilledResponse, ia as BulkMarkAsUnfulfilledByFilterRequest, ib as BulkMarkAsUnfulfilledByFilterResponse, i8 as BulkMarkAsUnfulfilledRequest, i9 as BulkMarkAsUnfulfilledResponse, fI as BulkMarkOrdersAsPaidRequest, fJ as BulkOrderResult, ek as BulkSendBuyerPickupConfirmationEmailsRequest, el as BulkSendBuyerPickupConfirmationEmailsResponse, eo as BulkSendBuyerShippingConfirmationEmailsRequest, ep as BulkSendBuyerShippingConfirmationEmailsResponse, ic as BulkSetBusinessLocationRequest, id as BulkSetBusinessLocationResponse, ie as BulkSetBusinessLocationResult, he as BulkUnArchiveOrdersByFilterRequest, hf as BulkUnArchiveOrdersByFilterResponse, hc as BulkUnArchiveOrdersRequest, hd as BulkUnArchiveOrdersResponse, it as BulkUpdateOrderTagsRequest, iw as BulkUpdateOrderTagsResult, gW as BulkUpdateOrdersRequest, bK as BuyerInfo, bL as BuyerInfoIdOneOf, hh as BuyerInfoUpdate, gp as CalculateRefundItemRequest, gr as CalculateRefundItemResponse, go as CalculateRefundRequest, gq as CalculateRefundResponse, j4 as CalculatedTax, j3 as CalculatedTaxes, iE as Cancel, h_ as CancelOrderRequest, gt as CaptureAuthorizedPaymentsRequest, da as CashRounding, gh as CashRoundingDetails, bd as CatalogReference, d6 as ChannelInfo, ay as ChannelType, jA as ChannelTypeWithLiterals, fS as ChargeMembershipsRequest, fW as ChargeMembershipsResponse, gu as ChargeSavedPaymentMethodRequest, gv as ChargeSavedPaymentMethodResponse, aC as ChargeType, jE as ChargeTypeWithLiterals, gb as Chargeback, d2 as ChargebackCreated, d3 as ChargebackReversed, a_ as ChargebackStatus, k0 as ChargebackStatusWithLiterals, fR as ChargedBy, bj as Color, gX as CommitDeltasRequest, h3 as CommitDeltasResponse, dB as CommittedDiffs, dC as CommittedDiffsShippingUpdateInfoOneOf, iP as CommonAddress, iQ as CommonAddressStreetOneOf, kd as CommonSearchWithEntityContext, iO as Company, iD as Complete, c5 as Coupon, gP as CreateOrderRequest, gT as CreateOrderResponse, fQ as CreatePaymentGatewayOrderRequest, d4 as CreatedBy, d5 as CreatedByStringOneOf, cT as CreditCardDetails, g5 as CreditCardPaymentMethodDetails, bM as CurrencyConversionDetails, gF as CursorPaging, gO as CursorPagingMetadata, gM as CursorSearch, gN as CursorSearchPagingMethodOneOf, gI as Cursors, cf as CustomActivity, dj as CustomAllowedActions, d7 as CustomField, b7 as CustomFieldGroup, k9 as CustomFieldGroupWithLiterals, j9 as CustomFieldValue, iJ as Customer, ir as DecrementData, iq as DecrementItemsQuantityRequest, is as DecrementItemsQuantityResponse, fA as DelayedCaptureSettings, hU as DeleteActivityRequest, e4 as DeleteByFilterOperation, e3 as DeleteByIdsOperation, f1 as DeleteContext, aL as DeleteStatus, jN as DeleteStatusWithLiterals, bV as DeliveryLogistics, bW as DeliveryLogisticsAddressOneOf, bZ as DeliveryTimeSlot, aD as DeltaPaymentOptionType, jF as DeltaPaymentOptionTypeWithLiterals, jb as Deposit, b9 as DepositType, kb as DepositTypeWithLiterals, be as DescriptionLine, bg as DescriptionLineDescriptionLineValueOneOf, bh as DescriptionLineName, ae as DescriptionLineType, jh as DescriptionLineTypeWithLiterals, bf as DescriptionLineValueOneOf, gw as DiffmatokyPayload, bt as DigitalFile, bm as Dimensions, af as DimensionsUnit, ji as DimensionsUnitWithLiterals, j1 as Discount, j2 as DiscountOneDiscountTypeOneOf, at as DiscountReason, jv as DiscountReasonWithLiterals, c8 as DiscountRule, c9 as DiscountRuleName, as as DiscountType, ju as DiscountTypeWithLiterals, dQ as DomainEvent, dR as DomainEventBodyOneOf, hB as DownloadLinkSent, cl as DraftOrderChangesApplied, dL as DraftOrderCommitSettings, gY as DraftOrderDiffs, g$ as DraftOrderDiffsBillingUpdateInfoOneOf, g_ as DraftOrderDiffsBuyerUpdateInfoOneOf, h0 as DraftOrderDiffsRecipientUpdateInfoOneOf, gZ as DraftOrderDiffsShippingUpdateInfoOneOf, fB as Duration, aO as DurationUnit, jQ as DurationUnitWithLiterals, fq as EditorlessAssigned, fr as EditorlessUnassigned, iK as Email, hK as EmailEdited, ec as Empty, dS as EntityCreatedEvent, dV as EntityDeletedEvent, dU as EntityUpdatedEvent, gx as ErrorInformation, jd as EventMetadata, bG as ExtendedFields, c$ as ExternalReceipt, gg as ExternalReceiptInfo, bk as FocalPoint, dm as FormIdentifier, dl as FormInfo, by as FreeTrialPeriod, hI as FulfillerEmailSent, an as FulfillmentStatus, dy as FulfillmentStatusUpdated, jq as FulfillmentStatusWithLiterals, dc as FulfillmentStatusesAggregate, bS as FullAddressContactDetails, gy as GetOrderRequest, gz as GetOrderResponse, fC as GetPaymentCollectabilityStatusRequest, fN as GetRefundabilityStatusRequest, im as GetShipmentsRequest, io as GetShipmentsResponse, gd as GiftCardPaymentDetails, cK as GiftCardPaymentRefund, fs as HasCustomEmailConfigurationsRequest, ft as HasCustomEmailConfigurationsResponse, iH as IdAndVersion, dY as IdentificationData, dZ as IdentificationDataIdOneOf, dN as ImportOrderRequest, dw as ImportedOrderDeleted, hu as InternalActivity, hv as InternalActivityContentOneOf, e1 as InternalDocument, e5 as InternalDocumentUpdateByFilterOperation, e2 as InternalDocumentUpdateOperation, gA as InternalQueryOrdersRequest, gG as InternalQueryOrdersResponse, e6 as InternalUpdateExistingOperation, aE as InventoryAction, jG as InventoryActionWithLiterals, dM as InventoryUpdateDetails, hG as InvoiceAdded, iT as InvoiceDates, j8 as InvoiceDynamicPriceTotals, iI as InvoiceFields, hH as InvoiceSent, iG as InvoiceSentEvent, ba as InvoiceStatus, kc as InvoiceStatusWithLiterals, j6 as InvoicesPayment, fw as IsInAutomationMigrationPopulationRequest, fx as IsInAutomationMigrationPopulationResponse, dD as ItemChangedDetails, cb as ItemCombination, cc as ItemCombinationLineItem, fK as ItemMetadata, bJ as ItemModifier, bq as ItemTaxFullDetails, bn as ItemType, bo as ItemTypeItemTypeDataOneOf, ag as ItemTypePreset, jj as ItemTypePresetWithLiterals, j0 as ItemizedFee, ai as JurisdictionType, jl as JurisdictionTypeWithLiterals, iV as LineItem, cx as LineItemAmount, co as LineItemChanges, dF as LineItemDelta, dG as LineItemDeltaDeltaOneOf, cs as LineItemDescriptionLineChange, ca as LineItemDiscount, ck as LineItemExchangeData, iZ as LineItemMetaData, ct as LineItemModifiersChange, cq as LineItemPriceChange, cr as LineItemProductNameChange, cp as LineItemQuantityChange, au as LineItemQuantityChangeType, jw as LineItemQuantityChangeTypeWithLiterals, eF as LineItemRefund, gn as LineItemRefundSummary, iX as LineItemTax, bs as LineItemTaxBreakdown, br as LineItemTaxInfo, hW as LineItemUpdate, iU as LineItems, i_ as Locale, df as Location, bD as LocationAndQuantity, cy as ManagedAdditionalFee, cv as ManagedDiscount, cu as ManagedLineItem, aT as ManuallyRefundableReason, jV as ManuallyRefundableReasonWithLiterals, i0 as MarkAsFulfilledRequest, i1 as MarkAsFulfilledResponse, i6 as MarkAsUnfulfilledRequest, i7 as MarkAsUnfulfilledResponse, fH as MarkOrderAsPaidRequest, hY as MarkOrderAsSeenByHumanRequest, hZ as MarkOrderAsSeenByHumanResponse, hr as MaskedOrderLineItem, fT as MembershipChargeItem, fU as MembershipName, ge as MembershipPaymentDetails, cL as MembershipPaymentRefund, a$ as MembershipPaymentStatus, k1 as MembershipPaymentStatusWithLiterals, cg as MerchantComment, c6 as MerchantDiscount, c7 as MerchantDiscountMerchantDiscountReasonOneOf, dX as MessageEnvelope, j7 as MetaData, eX as MetaSiteSpecialEvent, eY as MetaSiteSpecialEventPayloadOneOf, bH as ModifierGroup, aK as Namespace, fb as NamespaceChanged, jM as NamespaceWithLiterals, cj as NewExchangeOrderCreated, aS as NonRefundableReason, jU as NonRefundableReasonWithLiterals, fg as OdeditorAssigned, fh as OdeditorUnassigned, aA as OrderActionType, jC as OrderActionTypeWithLiterals, aw as OrderActivityTypeEnumActivityType, jy as OrderActivityTypeEnumActivityTypeWithLiterals, b3 as OrderApprovalStrategy, k5 as OrderApprovalStrategyWithLiterals, dq as OrderApproved, hA as OrderCanceled, dz as OrderCanceledEventOrderCanceled, cm as OrderChange, cn as OrderChangeValueOneOf, gS as OrderCreateNotifications, ci as OrderCreatedFromExchange, gQ as OrderCreationSettings, gR as OrderCreationSettingsEditableByOneOf, dA as OrderDeltasCommitted, hy as OrderFulfilled, dv as OrderImported, dt as OrderItemsRestocked, bb as OrderLineItem, dE as OrderLineItemChangedDetails, hz as OrderNotFulfilled, hx as OrderPaid, hM as OrderPartiallyPaid, hN as OrderPending, hw as OrderPlaced, ch as OrderRefunded, hO as OrderRejected, ds as OrderRejectedEventOrderRejected, jf as OrderSearchSpec, dg as OrderSettings, dh as OrderSettingsAllowedActionsOneOf, di as OrderSettingsEditableByOneOf, ar as OrderStatus, c2 as OrderTaxBreakdown, c1 as OrderTaxInfo, f$ as OrderTransactions, dr as OrdersExperiments, aM as Origin, jO as OriginWithLiterals, dk as OwnerApps, g0 as Payment, cU as PaymentCanceled, cV as PaymentCanceledPaymentDetailsOneOf, aP as PaymentCollectabilityStatus, jR as PaymentCollectabilityStatusWithLiterals, cW as PaymentDeclined, cX as PaymentDeclinedPaymentDetailsOneOf, gc as PaymentMethodName, ah as PaymentOptionType, jk as PaymentOptionTypeWithLiterals, g1 as PaymentPaymentDetailsOneOf, cP as PaymentPending, cQ as PaymentPendingPaymentDetailsOneOf, g2 as PaymentReceiptInfoOneOf, cN as PaymentRefundFailed, cM as PaymentRefunded, b0 as PaymentStatus, am as PaymentStatusEnumPaymentStatus, jp as PaymentStatusEnumPaymentStatusWithLiterals, dx as PaymentStatusUpdated, k2 as PaymentStatusWithLiterals, j5 as Payments, iN as Phone, bl as PhysicalProperties, fi as PicassoAssigned, fj as PicassoUnassigned, bY as PickupAddress, bX as PickupDetails, aq as PickupMethod, jt as PickupMethodWithLiterals, hL as PickupReadyEmailSent, b4 as Placement, k6 as PlacementWithLiterals, bi as PlainTextValue, dp as PlatformFee, dn as PlatformFeeSummary, gE as PlatformPaging, gH as PlatformPagingMetadata, gB as PlatformQuery, gC as PlatformQueryPagingMethodOneOf, aQ as PredefinedPaymentMethod, jS as PredefinedPaymentMethodWithLiterals, fy as PreparePaymentCollectionRequest, eP as PreviewBuyerConfirmationEmailRequest, eQ as PreviewBuyerConfirmationEmailResponse, eN as PreviewBuyerPaymentsReceivedEmailRequest, eO as PreviewBuyerPaymentsReceivedEmailResponse, eR as PreviewBuyerPickupConfirmationEmailRequest, eS as PreviewBuyerPickupConfirmationEmailResponse, eJ as PreviewCancelEmailRequest, eK as PreviewCancelEmailResponse, eL as PreviewCancelRefundEmailRequest, eM as PreviewCancelRefundEmailResponse, eA as PreviewEmailByTypeRequest, eB as PreviewEmailByTypeResponse, aH as PreviewEmailType, jJ as PreviewEmailTypeWithLiterals, eC as PreviewRefundEmailRequest, eI as PreviewRefundEmailResponse, eV as PreviewResendDownloadLinksEmailRequest, eW as PreviewResendDownloadLinksEmailResponse, eT as PreviewShippingConfirmationEmailRequest, eU as PreviewShippingConfirmationEmailResponse, bC as PriceDescription, bN as PriceSummary, bc as ProductName, hR as PublicActivityContentOneOf, gJ as QueryOrderRequest, gK as QueryOrderResponse, iL as QuotesAddress, aY as Reason, j_ as ReasonWithLiterals, cY as ReceiptCreated, cZ as ReceiptCreatedReceiptInfoOneOf, d0 as ReceiptSent, d1 as ReceiptSentReceiptInfoOneOf, fD as RecordManuallyCollectedPaymentRequest, fG as RecordManuallyCollectedPaymentResponse, fz as RedirectUrls, gi as Refund, eD as RefundDetails, cG as RefundInitiated, eE as RefundItem, gm as RefundItemsBreakdown, fY as RefundSideEffects, b1 as RefundStatus, gk as RefundStatusInfo, k3 as RefundStatusWithLiterals, gj as RefundTransaction, fO as Refundability, fP as RefundabilityAdditionalRefundabilityInfoOneOf, aR as RefundableStatus, jT as RefundableStatusWithLiterals, cO as RefundedAsStoreCredit, cH as RefundedPayment, cI as RefundedPaymentKindOneOf, cR as RegularPayment, g3 as RegularPaymentDetails, g4 as RegularPaymentDetailsPaymentMethodDetailsOneOf, cS as RegularPaymentPaymentMethodDetailsOneOf, cJ as RegularPaymentRefund, iF as Reschedule, fZ as RestockInfo, f_ as RestockItem, bp as RestockLocation, aU as RestockType, jW as RestockTypeWithLiterals, dT as RestoreInfo, cC as SavedPaymentMethod, aN as ScheduledAction, jP as ScheduledActionWithLiterals, gL as SearchOrdersRequest, ee as SendBuyerConfirmationEmailRequest, ef as SendBuyerConfirmationEmailResponse, eg as SendBuyerPaymentsReceivedEmailRequest, eh as SendBuyerPaymentsReceivedEmailResponse, ei as SendBuyerPickupConfirmationEmailRequest, ej as SendBuyerPickupConfirmationEmailResponse, em as SendBuyerShippingConfirmationEmailRequest, en as SendBuyerShippingConfirmationEmailResponse, es as SendCancelRefundEmailRequest, et as SendCancelRefundEmailResponse, ew as SendFulfillmentEmailRequest, ex as SendFulfillmentEmailResponse, eq as SendMerchantOrderReceivedNotificationRequest, er as SendMerchantOrderReceivedNotificationResponse, ey as SendMerchantOrderReceivedPushRequest, ez as SendMerchantOrderReceivedPushResponse, ix as SendOrderUpdatedDomainEventRequest, iy as SendOrderUpdatedDomainEventResponse, eu as SendRefundEmailRequest, ev as SendRefundEmailResponse, fV as ServiceProperties, f7 as ServiceProvisioned, f8 as ServiceRemoved, dO as SetOrderNumberCounterRequest, hJ as ShippingAddressEdited, hF as ShippingConfirmationEmailSent, cB as ShippingInformation, cA as ShippingInformationChange, b_ as ShippingPrice, eH as ShippingRefund, b$ as ShippingRegion, e_ as SiteCreated, aJ as SiteCreatedContext, jL as SiteCreatedContextWithLiterals, f0 as SiteDeleted, fa as SiteHardDeleted, f5 as SiteMarkedAsTemplate, f6 as SiteMarkedAsWixSite, f3 as SitePublished, ff as SitePurgedExternally, f9 as SiteRenamed, e$ as SiteTransferred, f2 as SiteUndeleted, f4 as SiteUnpublished, fe as SiteUrlChanged, b2 as SortOrder, k4 as SortOrderWithLiterals, gD as Sorting, iY as Source, b6 as SourceType, k8 as SourceTypeWithLiterals, aB as SpecificItemsCouponBehavior, jD as SpecificItemsCouponBehaviorWithLiterals, iS as StandardDetails, aI as State, jK as StateWithLiterals, bQ as StreetAddress, fc as StudioAssigned, fm as StudioTwoAssigned, fn as StudioTwoUnassigned, fd as StudioUnassigned, iR as Subdivision, b5 as SubdivisionType, k7 as SubdivisionTypeWithLiterals, bw as SubscriptionDescription, aj as SubscriptionFrequency, jm as SubscriptionFrequencyWithLiterals, bu as SubscriptionInfo, bx as SubscriptionSettings, bv as SubscriptionTitle, de as TagList, dd as Tags, iv as TagsTagList, iu as TagsTags, iz as Task, iB as TaskAction, iC as TaskActionActionOneOf, iA as TaskKey, c0 as TaxSummary, bE as TaxableAddress, bF as TaxableAddressTaxableAddressDataOneOf, al as TaxableAddressType, jo as TaxableAddressTypeWithLiterals, i$ as TotalPrice, cz as TotalPriceChange, hE as TrackingLinkAdded, hC as TrackingNumberAdded, hD as TrackingNumberEdited, aV as TransactionStatus, jX as TransactionStatusWithLiterals, bI as TranslatableString, cw as TranslatedValue, fX as TriggerRefundRequest, ed as TriggerReindexOrderRequest, ea as TriggerReindexRequest, eb as TriggerReindexResponse, ha as UnArchiveOrderRequest, hb as UnArchiveOrderResponse, hT as UpdateActivityRequest, hn as UpdateBillingContactDetailsRequest, ho as UpdateBillingContactDetailsResponse, hj as UpdateBuyerEmailRequest, hk as UpdateBuyerEmailResponse, hg as UpdateBuyerInfoRequest, hi as UpdateBuyerInfoResponse, d$ as UpdateInternalDocumentsEvent, e0 as UpdateInternalDocumentsEventOperationOneOf, hV as UpdateLineItemsDescriptionLinesRequest, hX as UpdateLineItemsDescriptionLinesResponse, hp as UpdateOrderLineItemRequest, hq as UpdateOrderLineItemsRequest, hs as UpdateOrderLineItemsResponse, gU as UpdateOrderRequest, gV as UpdateOrderResponse, hl as UpdateOrderShippingAddressRequest, hm as UpdateOrderShippingAddressResponse, h$ as UpdateOrderStatusRequest, fE as UserDefinedPaymentMethodName, fF as UserDefinedPaymentMethodNameKindOneOf, fp as UserDomainMediaDisabled, fo as UserDomainMediaEnabled, ii as V1BulkMarkOrdersAsPaidRequest, ij as V1BulkMarkOrdersAsPaidResponse, ik as V1CreatePaymentGatewayOrderRequest, il as V1CreatePaymentGatewayOrderResponse, h1 as V1LineItemDelta, h2 as V1LineItemDeltaDeltaOneOf, ig as V1MarkOrderAsPaidRequest, ih as V1MarkOrderAsPaidResponse, du as V1RestockItem, ga as V1ScheduledAction, bU as V1ShippingInformation, ja as Value, b8 as ValueType, ka as ValueTypeWithLiterals, bT as VatId, ap as VatType, js as VatTypeWithLiterals, e8 as VersionedDeleteByIdsOperation, e9 as VersionedDocumentId, e7 as VersionedDocumentUpdateOperation, aG as VersioningMode, jI as VersioningModeWithLiterals, gs as VoidAuthorizedPaymentsRequest, aF as WebhookIdentityType, jH as WebhookIdentityTypeWithLiterals, ao as WeightUnit, jr as WeightUnitWithLiterals, c_ as WixReceipt, gf as WixReceiptInfo, fk as WixelAssigned, fl as WixelUnassigned, jg as utils } from './ecom-v1-order-orders.universal-zwy-robE.js'; /** @internal */ declare function importOrder$1(httpClient: HttpClient): ImportOrderSignature; interface ImportOrderSignature { /** * Imports a single order with historical data while preserving original details and controlling side effects. * Can be used for initial import or update (delete-insert). * Only imported via ImportOrder API orders can be updated, Order.id used as key for update. * Order will be fully overridden. * @param - Order to be imported * If order.order_settings.order_type and order.order_settings.custom_order_type not set than VIEW_ONLY will be used */ (order: NonNullablePaths): Promise>; } /** @internal */ declare function setOrderNumberCounter$1(httpClient: HttpClient): SetOrderNumberCounterSignature; interface SetOrderNumberCounterSignature { /** * Sets the current order increment ID for a site. This defines the starting number * for subsequent new orders created after migration. * @param - Order number counter to set. * Counter will be used as start of number sequence and used as order number with increment */ (counter: string, options?: SetOrderNumberCounterOptions): Promise>; } /** @internal */ declare function bulkDeleteImportedOrders$1(httpClient: HttpClient): BulkDeleteImportedOrdersSignature; interface BulkDeleteImportedOrdersSignature { /** * Bulk deletes previously imported orders. Only works on orders * that were created through the import process. * @param - List of order ids to be deleted. * Only orders imported via ImportOrders API can be deleted. */ (orderIds: string[]): Promise>; } declare function preparePaymentCollection$1(httpClient: HttpClient): PreparePaymentCollectionSignature; interface PreparePaymentCollectionSignature { /** * Prepares payment collection for given ecom order. This is the first of 2-step process of payment collection. * Here we ensure that payment collection is possible for given order and store and prepare payment gateway order for future charge. * 2nd step is an actual charge of prepared payment gateway order. This could be done either * via Wix-Cashier's API (https://bo.wix.com/wix-docs/rest/wix-cashier/pay/charge/charge-for-order) * or using Cashier Payments Widget (https://github.com/wix-private/cashier-client/tree/master/packages/cashier-payments-widget) * @param - Ecom order ID. * @param - Amount to collect */ (ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise & { __applicationErrorsType?: PreparePaymentCollectionApplicationErrors; }>; } declare function getPaymentCollectabilityStatus$1(httpClient: HttpClient): GetPaymentCollectabilityStatusSignature; interface GetPaymentCollectabilityStatusSignature { /** * Provides payment collectability status for given order. If payment collection is possible * response will contain collectable amount for given ecom order. If not - response will contain * reason why payment collection is not possible. * @param - Ecom order ID. */ (ecomOrderId: string): Promise>; } /** @internal */ declare function recordManuallyCollectedPayment$1(httpClient: HttpClient): RecordManuallyCollectedPaymentSignature; interface RecordManuallyCollectedPaymentSignature { /** * Records and approves new manual payment with provided custom amount on given order. * Existing pending payments are ignored. * Custom amount is expected to be less or equal remaining amount to be paid on order (affected by approved payments, refunds and gift card payments) * @param - Order ID. * @param - Amount to be recorded as approved manual payment for given order */ (orderId: string, amount: Price, options?: RecordManuallyCollectedPaymentOptions): Promise; } /** @internal */ declare function paymentCollectionMarkOrderAsPaid$1(httpClient: HttpClient): PaymentCollectionMarkOrderAsPaidSignature; interface PaymentCollectionMarkOrderAsPaidSignature { /** * Marks the order as paid. `order.paymentStatus` field *eventually* changes to `PAID`. * In case the order already has an offline payment transaction associated with it * (usually when manual payment method is chosen at checkout) - This transaction will become approved. * In case the order has no payment transactions associated with it * (usually when the item is set to be paid offline after checkout or when an order is created from the backoffice) - A payment transaction * will be created and approved. * @param - Ecom order ID. */ (ecomOrderId: string, options?: PaymentCollectionMarkOrderAsPaidOptions): Promise & { __applicationErrorsType?: PaymentCollectionMarkOrderAsPaidApplicationErrors; }>; } /** @internal */ declare function paymentCollectionBulkMarkOrdersAsPaid$1(httpClient: HttpClient): PaymentCollectionBulkMarkOrdersAsPaidSignature; interface PaymentCollectionBulkMarkOrdersAsPaidSignature { /** * Marks multiple orders as paid. `order.paymentStatus` field *eventually* changes to `PAID`. * @param - IDs of orders to mark as paid. */ (ecomOrderIds: string[]): Promise>; } /** @internal */ declare function getRefundabilityStatus$1(httpClient: HttpClient): GetRefundabilityStatusSignature; interface GetRefundabilityStatusSignature { /** * Checks whether this order can be refunded. * @param - Order ID. */ (ecomOrderId: string): Promise>; } /** @internal */ declare function paymentCollectionCreatePaymentGatewayOrder$1(httpClient: HttpClient): PaymentCollectionCreatePaymentGatewayOrderSignature; interface PaymentCollectionCreatePaymentGatewayOrderSignature { /** * Call this endpoint to create an order in the payment gateway system. The amount of the order would be either: * 1. An explicit amount provided in the request, or; * 2. If an explicit amount is not provided - the remaining amount to complete the payment of that eCom order. * As a result, an ID of the created payment gateway order would be returned. * You can then use Wix Payments APIs to approve that order or collect payment, which will eventually change the eCom order state (e.g mark it as paid). * @param - Ecom order ID. */ (ecomOrderId: string, options?: PaymentCollectionCreatePaymentGatewayOrderOptions): Promise & { __applicationErrorsType?: PaymentCollectionCreatePaymentGatewayOrderApplicationErrors; }>; } /** @internal */ declare function chargeMemberships$1(httpClient: HttpClient): ChargeMembershipsSignature; interface ChargeMembershipsSignature { /** * @param - Order ID. * @param - The member id. Do not attempt to get it from the request context, since in some cases the caller is not a member * but a user which is using the membership on behalf of the a member */ (ecomOrderId: string, memberId: string, options?: NonNullablePaths): Promise; } /** @internal */ declare function triggerRefund$1(httpClient: HttpClient): TriggerRefundSignature; interface TriggerRefundSignature { /** * Calls corresponding payment providers and creates refund transactions for requested payments. * Updates order transactions based on refund results. * For requested payments with `TriggerRefundRequest.payments.external_refund = true` will not call payment providers and * will only update order transactions. * @param - The order this refund related to * @param - Refund operations information */ (ecomOrderId: string, payments: NonNullablePaths[], options?: TriggerRefundOptions): Promise & { __applicationErrorsType?: TriggerRefundApplicationErrors; }>; } declare function voidAuthorizedPayments$1(httpClient: HttpClient): VoidAuthorizedPaymentsSignature; interface VoidAuthorizedPaymentsSignature { /** * Void authorized payments * Transaction statuses for related payments will be updated in async way * @param - Wix eCommerce order ID * @param - Payment IDs */ (ecomOrderId: string, paymentIds: string[]): Promise & { __applicationErrorsType?: VoidAuthorizedPaymentsApplicationErrors; }>; } declare function captureAuthorizedPayments$1(httpClient: HttpClient): CaptureAuthorizedPaymentsSignature; interface CaptureAuthorizedPaymentsSignature { /** * Capture authorized payments * Transaction statuses for related payments will be updated in async way * @param - Wix eCommerce order ID * @param - Capture payments information */ (ecomOrderId: string, payments: NonNullablePaths[]): Promise & { __applicationErrorsType?: CaptureAuthorizedPaymentsApplicationErrors; }>; } declare function getOrder$1(httpClient: HttpClient): GetOrderSignature; interface GetOrderSignature { /** * Retrieves an order. * * * The `getOrder()` function returns a Promise that resolves when the specified order is retrieved. * * 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). * @param - ID of the order to retrieve. * @returns Fulfilled - The requested order. */ (_id: string): Promise & { __applicationErrorsType?: GetOrderApplicationErrors; }>; } declare function searchOrders$1(httpClient: HttpClient): SearchOrdersSignature; interface SearchOrdersSignature { /** * Retrieves a list of orders, given the provided paging, filtering, and sorting. * * * Search Orders runs with these defaults, which you can override: * * - `createdDate` is sorted in `DESC` order. * - `cursorPaging.limit` is `100`. * * > **Note:** Search Orders does not return orders with `status: "INITIALIZED"`, regardless of the filter applied. To retrieve an order with `status: "INITIALIZED"`, use [Get Order](https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/orders/get-order). * * To learn how to query or search orders, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language). * @param - Search options. */ (search: OrderSearch): Promise>; } declare function createOrder$1(httpClient: HttpClient): CreateOrderSignature; interface CreateOrderSignature { /** * Creates an order. * * * The `createOrder()` function returns a Promise that resolves when the order is created. * * > **Notes:** * > + If an item is digital - `lineItems[i].itemType.preset: DIGITAL` - then `lineItems[i].digitalFile` must be provided. * > + If `lineItems[i].id` is passed, it must be either a valid GUID, or empty. * @param - Order info. * @returns Newly created order. */ (order: NonNullablePaths, options?: CreateOrderOptions): Promise & { __applicationErrorsType?: CreateOrderApplicationErrors; }>; } declare function updateOrder$1(httpClient: HttpClient): UpdateOrderSignature; interface UpdateOrderSignature { /** * Updates an order. * * * The `updateOrder()` function returns a Promise that resolves when the specified order's information is updated. * * Currently, the following fields can be updated: * + `order.buyerInfo.email` * + `order.buyerLanguage` * + `order.weightUnit` * + `order.billingInfo.address` * + `order.billingInfo.contactDetails` * + `order.archived` * + `order.attributionSource` * + `order.seenByAHuman` * + `order.recipientInfo.address` * + `order.recipientInfo.contactDetails` * + `order.shippingInfo.logistics.shippingDestination.address` * + `order.shippingInfo.logistics.shippingDestination.contactDetails` * * To update a field's value, include the new value in the `order` object in the method parameters. * To remove a field's value, pass `null`. * * > **Note:** Removing `buyerInfo` or `contactDetails` fields results in an error. * * To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus). * @param - Order ID. * @returns Newly created order. */ (_id: string, order: UpdateOrder): Promise & { __applicationErrorsType?: UpdateOrderApplicationErrors; }>; } declare function bulkUpdateOrders$1(httpClient: HttpClient): BulkUpdateOrdersSignature; interface BulkUpdateOrdersSignature { /** * Updates up to 100 orders. * * * The `bulkUpdateOrders()` function returns a Promise that resolves when the specified orders' information is updated. * * Currently, the following fields can be updated: * + `order.buyerInfo.email` * + `order.buyerLanguage` * + `order.weightUnit` * + `order.billingInfo.address` * + `order.billingInfo.contactDetails` * + `order.archived` * + `order.attributionSource` * + `order.seenByAHuman` * + `order.recipientInfo.address` * + `order.recipientInfo.contactDetails` * + `order.shippingInfo.logistics.shippingDestination.address` * + `order.shippingInfo.logistics.shippingDestination.contactDetails` * * To update a field's value, include the new value in the `orders.order` object in the method parameters. * To remove a field's value, pass `null`. * * > **Note:** Removing `buyerInfo` or `contactDetails` fields results in an error. * * To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus). * @param - Orders to update. */ (orders: NonNullablePaths[], options?: BulkUpdateOrdersOptions): Promise>; } /** @internal */ declare function updateOrderLineItem$1(httpClient: HttpClient): UpdateOrderLineItemSignature; interface UpdateOrderLineItemSignature { /** @deprecated */ (identifiers: NonNullablePaths, lineItem: UpdateOrderLineItem): Promise>; } /** @internal */ declare function addActivity$1(httpClient: HttpClient): AddActivitySignature; interface AddActivitySignature { /** * Adds a merchant comment to an order. * > **Note:** Activities with type CustomActivity not supported * @param - Order ID. * @param - Activity info. * @deprecated */ (_id: string, activity: PublicActivity): Promise>; } declare function addActivities$1(httpClient: HttpClient): AddActivitiesSignature; interface AddActivitiesSignature { /** * Adds up to 300 activities to an order in a single request. * * * An order activity is a record of an action taken on an order. Use this endpoint to add merchant comments or record order-related events. * @param - ID of the order to add activities to. */ (orderId: string, options?: NonNullablePaths): Promise>; } /** @internal */ declare function updateActivity$1(httpClient: HttpClient): UpdateActivitySignature; interface UpdateActivitySignature { /** * Updates an order's activity. * @param - Activity info. */ (identifiers: NonNullablePaths, activity: PublicActivity): Promise>; } /** @internal */ declare function deleteActivity$1(httpClient: HttpClient): DeleteActivitySignature; interface DeleteActivitySignature { /** * Delete's an order's activity. * * Only custom activities and merchant comments can be deleted. */ (identifiers: NonNullablePaths): Promise>; } declare function cancelOrder$1(httpClient: HttpClient): CancelOrderSignature; interface CancelOrderSignature { /** * Cancels an order. * * * The `cancelOrder()` function returns a Promise that resolves when the specified order is canceled and the `order.status` field changes to `CANCELED`. * @param - Order ID. */ (_id: string, options?: CancelOrderOptions): Promise & { __applicationErrorsType?: CancelOrderApplicationErrors; }>; } /** @internal */ declare function updateOrderStatus$1(httpClient: HttpClient): UpdateOrderStatusSignature; interface UpdateOrderStatusSignature { /** * Updates order status. * * >CANCELED and REJECTED are final statuses. Update from either of those will fail. * >Updates into INITIALIZED are not supported. * * Approving order: * APPROVED status can be set while order has one of [INITIALIZED, PENDING] statuses. * * Approving an order which was created with CreateOrderRequest.settings.order_approval_strategy = PAYMENT_METHOD_SAVED * will cause an error. * * Setting PENDING status: * Only orders in INITIALIZED status can be updated into PENDING. * @param - Order ID. * @param - New order status. */ (orderId: string, status: OrderStatusWithLiterals): Promise & { __applicationErrorsType?: UpdateOrderStatusApplicationErrors; }>; } /** @internal */ declare function aggregateOrders$1(httpClient: HttpClient): AggregateOrdersSignature; interface AggregateOrdersSignature { /** */ (options?: NonNullablePaths): Promise; } declare function bulkUpdateOrderTags$1(httpClient: HttpClient): BulkUpdateOrderTagsSignature; interface BulkUpdateOrderTagsSignature { /** * Synchronously update tags on multiple orders, by list of order IDs. * * > **Note:** If the same tag is passed to both the `assignTags` and `unassignTags` fields, it will be assigned. * @param - IDs of orders to update tags for. */ (orderIds: string[], options?: BulkUpdateOrderTagsOptions): Promise>; } declare const onOrderApproved$1: EventDefinition; declare const onOrderCanceled$1: EventDefinition; declare const onOrderCommitted$1: EventDefinition; declare const onOrderCreated$1: EventDefinition; declare const onOrderFulfilled$1: EventDefinition; declare const onOrderPaymentStatusUpdated$1: EventDefinition; declare const onOrderUpdated$1: EventDefinition; /** @internal */ declare const importOrder: MaybeContext & typeof importOrder$1>; /** @internal */ declare const setOrderNumberCounter: MaybeContext & typeof setOrderNumberCounter$1>; /** @internal */ declare const bulkDeleteImportedOrders: MaybeContext & typeof bulkDeleteImportedOrders$1>; declare const preparePaymentCollection: MaybeContext & typeof preparePaymentCollection$1>; declare const getPaymentCollectabilityStatus: MaybeContext & typeof getPaymentCollectabilityStatus$1>; /** @internal */ declare const recordManuallyCollectedPayment: MaybeContext & typeof recordManuallyCollectedPayment$1>; /** @internal */ declare const paymentCollectionMarkOrderAsPaid: MaybeContext & typeof paymentCollectionMarkOrderAsPaid$1>; /** @internal */ declare const paymentCollectionBulkMarkOrdersAsPaid: MaybeContext & typeof paymentCollectionBulkMarkOrdersAsPaid$1>; /** @internal */ declare const getRefundabilityStatus: MaybeContext & typeof getRefundabilityStatus$1>; /** @internal */ declare const paymentCollectionCreatePaymentGatewayOrder: MaybeContext & typeof paymentCollectionCreatePaymentGatewayOrder$1>; /** @internal */ declare const chargeMemberships: MaybeContext & typeof chargeMemberships$1>; /** @internal */ declare const triggerRefund: MaybeContext & typeof triggerRefund$1>; declare const voidAuthorizedPayments: MaybeContext & typeof voidAuthorizedPayments$1>; declare const captureAuthorizedPayments: MaybeContext & typeof captureAuthorizedPayments$1>; declare const getOrder: MaybeContext & typeof getOrder$1>; declare const searchOrders: MaybeContext & typeof searchOrders$1>; declare const createOrder: MaybeContext & typeof createOrder$1>; declare const updateOrder: MaybeContext & typeof updateOrder$1>; declare const bulkUpdateOrders: MaybeContext & typeof bulkUpdateOrders$1>; /** @internal */ declare const updateOrderLineItem: MaybeContext & typeof updateOrderLineItem$1>; /** @internal */ declare const addActivity: MaybeContext & typeof addActivity$1>; declare const addActivities: MaybeContext & typeof addActivities$1>; /** @internal */ declare const updateActivity: MaybeContext & typeof updateActivity$1>; /** @internal */ declare const deleteActivity: MaybeContext & typeof deleteActivity$1>; declare const cancelOrder: MaybeContext & typeof cancelOrder$1>; /** @internal */ declare const updateOrderStatus: MaybeContext & typeof updateOrderStatus$1>; /** @internal */ declare const aggregateOrders: MaybeContext & typeof aggregateOrders$1>; declare const bulkUpdateOrderTags: MaybeContext & typeof bulkUpdateOrderTags$1>; /** * Triggered when an order is approved. */ declare const onOrderApproved: BuildEventDefinition & typeof onOrderApproved$1; /** * Triggered when an order is canceled. */ declare const onOrderCanceled: BuildEventDefinition & typeof onOrderCanceled$1; /** * Triggered when draft order changes are committed. */ declare const onOrderCommitted: BuildEventDefinition & typeof onOrderCommitted$1; /** * Triggered when an order is created. */ declare const onOrderCreated: BuildEventDefinition & typeof onOrderCreated$1; /** * Triggered when order fulfillment status is updated. */ declare const onOrderFulfilled: BuildEventDefinition & typeof onOrderFulfilled$1; /** * Triggered when the payment status of an order is updated. */ declare const onOrderPaymentStatusUpdated: BuildEventDefinition & typeof onOrderPaymentStatusUpdated$1; /** * Triggered when an order is updated. */ declare const onOrderUpdated: BuildEventDefinition & typeof onOrderUpdated$1; export { AddActivitiesOptions, AddActivitiesResponse, AddActivityResponse, AggregateOrdersOptions, AggregateOrdersResponse, BulkDeleteImportedOrdersResponse, BulkMarkOrdersAsPaidResponse, BulkUpdateOrderTagsOptions, BulkUpdateOrderTagsResponse, BulkUpdateOrdersOptions, BulkUpdateOrdersResponse, CancelOrderApplicationErrors, CancelOrderOptions, CancelOrderResponse, CaptureAuthorizedPaymentsApplicationErrors, CaptureAuthorizedPaymentsResponse, ChargeMembershipsOptions, CreateOrderApplicationErrors, CreateOrderOptions, CreatePaymentGatewayOrderResponse, DeleteActivityIdentifiers, DeleteActivityResponse, GetOrderApplicationErrors, GetPaymentCollectabilityStatusResponse, GetRefundabilityStatusResponse, ImportOrderResponse, MarkOrderAsPaidResponse, MaskedOrder, Order, OrderApprovedEnvelope, OrderCanceledEnvelope, OrderCommittedEnvelope, OrderCreatedEnvelope, OrderFulfilledEnvelope, OrderPaymentStatusUpdatedEnvelope, OrderSearch, OrderStatusWithLiterals, OrderUpdatedEnvelope, PaymentCapture, PaymentCollectionCreatePaymentGatewayOrderApplicationErrors, PaymentCollectionCreatePaymentGatewayOrderOptions, PaymentCollectionMarkOrderAsPaidApplicationErrors, PaymentCollectionMarkOrderAsPaidOptions, PaymentRefund, PreparePaymentCollectionApplicationErrors, PreparePaymentCollectionOptions, PreparePaymentCollectionResponse, Price, PublicActivity, RecordManuallyCollectedPaymentApplicationErrors, RecordManuallyCollectedPaymentOptions, SearchOrdersResponse, SetOrderNumberCounterOptions, SetOrderNumberCounterResponse, TriggerRefundApplicationErrors, TriggerRefundOptions, TriggerRefundResponse, UpdateActivityIdentifiers, UpdateActivityResponse, UpdateOrder, UpdateOrderApplicationErrors, UpdateOrderLineItem, UpdateOrderLineItemIdentifiers, UpdateOrderLineItemResponse, UpdateOrderStatusApplicationErrors, UpdateOrderStatusResponse, VoidAuthorizedPaymentsApplicationErrors, VoidAuthorizedPaymentsResponse, addActivities, addActivity, aggregateOrders, bulkDeleteImportedOrders, bulkUpdateOrderTags, bulkUpdateOrders, cancelOrder, captureAuthorizedPayments, chargeMemberships, createOrder, deleteActivity, getOrder, getPaymentCollectabilityStatus, getRefundabilityStatus, importOrder, onOrderApproved, onOrderCanceled, onOrderCommitted, onOrderCreated, onOrderFulfilled, onOrderPaymentStatusUpdated, onOrderUpdated, paymentCollectionBulkMarkOrdersAsPaid, paymentCollectionCreatePaymentGatewayOrder, paymentCollectionMarkOrderAsPaid, preparePaymentCollection, recordManuallyCollectedPayment, searchOrders, setOrderNumberCounter, triggerRefund, updateActivity, updateOrder, updateOrderLineItem, updateOrderStatus, voidAuthorizedPayments };