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