@wix/auto_sdk_ecom_orders 1.0.80 → 1.0.82
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/{ecom-v1-order-orders.universal-BZ_nUWQc.d.ts → ecom-v1-order-orders.universal-CIp4c27n.d.ts} +13 -12
- package/build/cjs/index.d.ts +13 -13
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -3
- package/build/es/{ecom-v1-order-orders.universal-BZ_nUWQc.d.mts → ecom-v1-order-orders.universal-CIp4c27n.d.mts} +13 -12
- package/build/es/index.d.mts +13 -13
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +4 -3
- package/build/internal/cjs/{ecom-v1-order-orders.universal-DWllz0Jg.d.ts → ecom-v1-order-orders.universal-DcxqR3rD.d.ts} +26 -25
- package/build/internal/cjs/index.d.ts +26 -26
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +4 -3
- package/build/internal/es/{ecom-v1-order-orders.universal-DWllz0Jg.d.mts → ecom-v1-order-orders.universal-DcxqR3rD.d.mts} +26 -25
- package/build/internal/es/index.d.mts +26 -26
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +4 -3
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { P as Price, a as PreparePaymentCollectionOptions, b as PreparePaymentCollectionResponse, c as PreparePaymentCollectionApplicationErrors, G as GetPaymentCollectabilityStatusResponse, R as RecordManuallyCollectedPaymentApplicationErrors, M as MarkOrderAsPaidResponse, d as PaymentCollectionMarkOrderAsPaidApplicationErrors, B as BulkMarkOrdersAsPaidResponse, e as GetRefundabilityStatusResponse, f as PaymentCollectionCreatePaymentGatewayOrderOptions, C as CreatePaymentGatewayOrderResponse, g as PaymentCollectionCreatePaymentGatewayOrderApplicationErrors, h as ChargeMembershipsOptions, i as PaymentRefund, T as TriggerRefundOptions, j as TriggerRefundResponse, k as TriggerRefundApplicationErrors, V as VoidAuthorizedPaymentsResponse, l as VoidAuthorizedPaymentsApplicationErrors, m as PaymentCapture, n as CaptureAuthorizedPaymentsResponse, o as CaptureAuthorizedPaymentsApplicationErrors, O as Order, p as GetOrderApplicationErrors, q as OrderSearch, S as SearchOrdersResponse, r as CreateOrderOptions, s as CreateOrderApplicationErrors, U as UpdateOrder, t as UpdateOrderApplicationErrors, u as MaskedOrder, v as BulkUpdateOrdersOptions, w as BulkUpdateOrdersResponse, x as CommitDeltasOptions, y as CommitDeltasResponse, z as CommitDeltasApplicationErrors, A as UpdateOrderLineItemIdentifiers, D as UpdateOrderLineItem, E as UpdateOrderLineItemResponse, F as PublicActivity, H as AddActivityResponse, I as UpdateActivityIdentifiers, J as UpdateActivityResponse, K as DeleteActivityIdentifiers, L as DeleteActivityResponse, N as CancelOrderOptions, Q as CancelOrderResponse, W as CancelOrderApplicationErrors, X as OrderStatusWithLiterals, Y as UpdateOrderStatusResponse, Z as UpdateOrderStatusApplicationErrors, _ as AggregateOrdersOptions, $ as AggregateOrdersResponse, a0 as BulkUpdateOrderTagsOptions, a1 as BulkUpdateOrderTagsResponse, a2 as OrderApprovedEnvelope, a3 as OrderUpdatedEnvelope, a4 as OrderCanceledEnvelope, a5 as OrderCreatedEnvelope, a6 as OrderPaymentStatusUpdatedEnvelope } from './ecom-v1-order-orders.universal-
|
|
3
|
-
export { dG as ActionEvent, aD as ActionType, ik as ActionTypeWithLiterals, bQ as Activity, bR as ActivityContentOneOf, an as ActivityType, i3 as ActivityTypeWithLiterals, gs as AddActivitiesRequest, gt as AddActivitiesResponse, gq as AddActivityRequest, g3 as AddInternalActivityRequest, gp as AddInternalActivityResponse, cK as AdditionalFee, fx as AdditionalFeeDelta, fy as AdditionalFeeDeltaDeltaOneOf, di as AdditionalFeeRefund, bs as Address, hk as AddressDescription, bu as AddressLocation, br as AddressWithContact, ac as AdjustmentType, hV as AdjustmentTypeWithLiterals, h1 as AggregateOrdersRequest, eu as AggregatedRefundSummary, dW as ApplicationError, bI as AppliedDiscount, fv as AppliedDiscountDelta, fw as AppliedDiscountDeltaDeltaOneOf, bJ as AppliedDiscountDiscountSourceOneOf, fG as ArchiveOrderRequest, fH as ArchiveOrderResponse, ao as AttributionSource, i4 as AttributionSourceWithLiterals, ej as AuthorizationActionFailureDetails, ei as AuthorizationCapture, aA as AuthorizationCaptureStatus, ih as AuthorizationCaptureStatusWithLiterals, eh as AuthorizationDetails, ek as AuthorizationVoid, aB as AuthorizationVoidStatus, ii as AuthorizationVoidStatusWithLiterals, cc as AuthorizedPaymentCaptured, cb as AuthorizedPaymentCreated, cd as AuthorizedPaymentVoided, cJ as Balance, cI as BalanceSummary, hN as BaseEventMetadata, eS as BatchOfTriggerReindexOrderRequest, hu as BigDecimalWrapper, bd as BillingAdjustment, be as BillingAdjustmentPriceSummary, dX as BulkActionMetadata, fK as BulkArchiveOrdersByFilterRequest, fL as BulkArchiveOrdersByFilterResponse, fI as BulkArchiveOrdersRequest, fJ as BulkArchiveOrdersResponse, gJ as BulkMarkAsFulfilledByFilterRequest, gK as BulkMarkAsFulfilledByFilterResponse, gH as BulkMarkAsFulfilledRequest, gI as BulkMarkAsFulfilledResponse, gP as BulkMarkAsUnfulfilledByFilterRequest, gQ as BulkMarkAsUnfulfilledByFilterResponse, gN as BulkMarkAsUnfulfilledRequest, gO as BulkMarkAsUnfulfilledResponse, dT as BulkMarkOrdersAsPaidRequest, dU as BulkOrderResult, c_ as BulkSendBuyerPickupConfirmationEmailsRequest, c$ as BulkSendBuyerPickupConfirmationEmailsResponse, d2 as BulkSendBuyerShippingConfirmationEmailsRequest, d3 as BulkSendBuyerShippingConfirmationEmailsResponse, gR as BulkSetBusinessLocationRequest, gS as BulkSetBusinessLocationResponse, gT as BulkSetBusinessLocationResult, fQ as BulkUnArchiveOrdersByFilterRequest, fR as BulkUnArchiveOrdersByFilterResponse, fO as BulkUnArchiveOrdersRequest, fP as BulkUnArchiveOrdersResponse, h5 as BulkUpdateOrderTagsRequest, h6 as BulkUpdateOrderTagsResult, fk as BulkUpdateOrdersRequest, bn as BuyerInfo, bo as BuyerInfoIdOneOf, fT as BuyerInfoUpdate, ey as CalculateRefundItemRequest, eA as CalculateRefundItemResponse, ex as CalculateRefundRequest, ez as CalculateRefundResponse, hE as CalculatedTax, hD as CalculatedTaxes, hc as Cancel, gB as CancelOrderRequest, eC as CaptureAuthorizedPaymentsRequest, aV as CatalogReference, cG as ChannelInfo, ap as ChannelType, i5 as ChannelTypeWithLiterals, e1 as ChargeMembershipsRequest, e5 as ChargeMembershipsResponse, eD as ChargeSavedPaymentMethodRequest, eE as ChargeSavedPaymentMethodResponse, em as Chargeback, cC as ChargebackCreated, cD as ChargebackReversed, aE as ChargebackStatus, il as ChargebackStatusWithLiterals, e0 as ChargedBy, a$ as Color, fl as CommitDeltasRequest, fC as CommittedDiffs, fD as CommittedDiffsShippingUpdateInfoOneOf, hn as CommonAddress, ho as CommonAddressStreetOneOf, iB as CommonSearchWithEntityContext, hm as Company, hb as Complete, eW as ContinueSideEffectsFlowInLegacyData, bK as Coupon, fe as CreateOrderRequest, fh as CreateOrderResponse, d$ as CreatePaymentGatewayOrderRequest, cE as CreatedBy, cF as CreatedByStringOneOf, cr as CreditCardDetails, eg as CreditCardPaymentMethodDetails, bp as CurrencyConversionDetails, f4 as CursorPaging, fd as CursorPagingMetadata, fb as CursorSearch, fc as CursorSearchPagingMethodOneOf, f7 as Cursors, bS as CustomActivity, cH as CustomField, aP as CustomFieldGroup, ix as CustomFieldGroupWithLiterals, hJ as CustomFieldValue, hh as Customer, h3 as DecrementData, h2 as DecrementItemsQuantityRequest, h4 as DecrementItemsQuantityResponse, dN as DelayedCaptureSettings, gv as DeleteActivityRequest, eK as DeleteByFilterOperation, eJ as DeleteByIdsOperation, by as DeliveryLogistics, bz as DeliveryLogisticsAddressOneOf, bC as DeliveryTimeSlot, aK as DeltaPaymentOptionType, is as DeltaPaymentOptionTypeWithLiterals, hL as Deposit, aR as DepositType, iz as DepositTypeWithLiterals, aW as DescriptionLine, aY as DescriptionLineDescriptionLineValueOneOf, aZ as DescriptionLineName, a7 as DescriptionLineType, hQ as DescriptionLineTypeWithLiterals, aX as DescriptionLineValueOneOf, eU as DiffmatokyPayload, b7 as DigitalFile, hB as Discount, hC as DiscountOneDiscountTypeOneOf, al as DiscountReason, i1 as DiscountReasonWithLiterals, bN as DiscountRule, bO as DiscountRuleName, ak as DiscountType, i0 as DiscountTypeWithLiterals, dA as DomainEvent, dB as DomainEventBodyOneOf, gb as DownloadLinkSent, bY as DraftOrderChangesApplied, fz as DraftOrderCommitSettings, fm as DraftOrderDiffs, fp as DraftOrderDiffsBillingUpdateInfoOneOf, fo as DraftOrderDiffsBuyerUpdateInfoOneOf, fq as DraftOrderDiffsRecipientUpdateInfoOneOf, fn as DraftOrderDiffsShippingUpdateInfoOneOf, dO as Duration, at as DurationUnit, i9 as DurationUnitWithLiterals, hi as Email, gk as EmailEdited, dH as Empty, dC as EntityCreatedEvent, dF as EntityDeletedEvent, dE as EntityUpdatedEvent, eV as ErrorInformation, hO as EventMetadata, bj as ExtendedFields, cz as ExternalReceipt, eq as ExternalReceiptInfo, b0 as FocalPoint, bc as FreeTrialPeriod, gi as FulfillerEmailSent, af as FulfillmentStatus, gG as FulfillmentStatusUpdated, hY as FulfillmentStatusWithLiterals, cL as FulfillmentStatusesAggregate, bv as FullAddressContactDetails, eZ as GetOrderRequest, e_ as GetOrderResponse, dP as GetPaymentCollectabilityStatusRequest, dY as GetRefundabilityStatusRequest, g$ as GetShipmentsRequest, h0 as GetShipmentsResponse, en as GiftCardPaymentDetails, ci as GiftCardPaymentRefund, hf as IdAndVersion, dJ as IdentificationData, dK as IdentificationDataIdOneOf, eY as IndexingMessage, g4 as InternalActivity, g5 as InternalActivityContentOneOf, eH as InternalDocument, eL as InternalDocumentUpdateByFilterOperation, eI as InternalDocumentUpdateOperation, e$ as InternalQueryOrdersRequest, f5 as InternalQueryOrdersResponse, eM as InternalUpdateExistingOperation, aL as InventoryAction, it as InventoryActionWithLiterals, fA as InventoryUpdateDetails, gg as InvoiceAdded, hr as InvoiceDates, hI as InvoiceDynamicPriceTotals, hg as InvoiceFields, gh as InvoiceSent, he as InvoiceSentEvent, aS as InvoiceStatus, iA as InvoiceStatusWithLiterals, hG as InvoicesPayment, fu as ItemChangedDetails, dV as ItemMetadata, bm as ItemModifier, b4 as ItemTaxFullDetails, b2 as ItemType, a8 as ItemTypeItemType, b3 as ItemTypeItemTypeDataOneOf, hR as ItemTypeItemTypeWithLiterals, hA as ItemizedFee, aa as JurisdictionType, hT as JurisdictionTypeWithLiterals, ht as LineItem, c5 as LineItemAmount, b$ as LineItemChanges, fE as LineItemDelta, fF as LineItemDeltaDeltaOneOf, bP as LineItemDiscount, bX as LineItemExchangeData, hx as LineItemMetaData, c1 as LineItemPriceChange, c0 as LineItemQuantityChange, am as LineItemQuantityChangeType, i2 as LineItemQuantityChangeTypeWithLiterals, dh as LineItemRefund, ew as LineItemRefundSummary, hv as LineItemTax, b6 as LineItemTaxBreakdown, b5 as LineItemTaxInfo, gx as LineItemUpdate, hs as LineItems, hy as Locale, cO as Location, bg as LocationAndQuantity, c6 as ManagedAdditionalFee, c3 as ManagedDiscount, c2 as ManagedLineItem, ax as ManuallyRefundableReason, id as ManuallyRefundableReasonWithLiterals, gE as MarkAsFulfilledRequest, gF as MarkAsFulfilledResponse, gL as MarkAsUnfulfilledRequest, gM as MarkAsUnfulfilledResponse, dS as MarkOrderAsPaidRequest, gz as MarkOrderAsSeenByHumanRequest, gA as MarkOrderAsSeenByHumanResponse, g1 as MaskedOrderLineItem, e2 as MembershipChargeItem, e3 as MembershipName, eo as MembershipPaymentDetails, cj as MembershipPaymentRefund, aF as MembershipPaymentStatus, im as MembershipPaymentStatusWithLiterals, bT as MerchantComment, bL as MerchantDiscount, bM as MerchantDiscountMerchantDiscountReasonOneOf, dI as MessageEnvelope, hH as MetaData, bk as ModifierGroup, bW as NewExchangeOrderCreated, aw as NonRefundableReason, ic as NonRefundableReasonWithLiterals, aJ as OrderApprovalStrategy, ir as OrderApprovalStrategyWithLiterals, cP as OrderApproved, ga as OrderCanceled, gC as OrderCanceledEventOrderCanceled, bZ as OrderChange, b_ as OrderChangeValueOneOf, fg as OrderCreateNotifications, bV as OrderCreatedFromExchange, ff as OrderCreationSettings, fB as OrderDeltasCommitted, g8 as OrderFulfilled, cS as OrderItemsRestocked, aT as OrderLineItem, ft as OrderLineItemChangedDetails, g9 as OrderNotFulfilled, g7 as OrderPaid, gm as OrderPartiallyPaid, gn as OrderPending, g6 as OrderPlaced, bU as OrderRefunded, go as OrderRejected, cR as OrderRejectedEventOrderRejected, hP as OrderSearchSpec, aj as OrderStatus, bH as OrderTaxBreakdown, bG as OrderTaxInfo, ea as OrderTransactions, cQ as OrdersExperiments, eb as Payment, cs as PaymentCanceled, ct as PaymentCanceledPaymentDetailsOneOf, au as PaymentCollectabilityStatus, ia as PaymentCollectabilityStatusWithLiterals, cu as PaymentDeclined, cv as PaymentDeclinedPaymentDetailsOneOf, a9 as PaymentOptionType, hS as PaymentOptionTypeWithLiterals, ec as PaymentPaymentDetailsOneOf, cn as PaymentPending, co as PaymentPendingPaymentDetailsOneOf, ed as PaymentReceiptInfoOneOf, cl as PaymentRefundFailed, ck as PaymentRefunded, ae as PaymentStatus, gW as PaymentStatusUpdated, hX as PaymentStatusWithLiterals, hF as Payments, hl as Phone, b1 as PhysicalProperties, bB as PickupAddress, bA as PickupDetails, ai as PickupMethod, h$ as PickupMethodWithLiterals, gl as PickupReadyEmailSent, aM as Placement, iu as PlacementWithLiterals, a_ as PlainTextValue, f3 as PlatformPaging, f6 as PlatformPagingMetadata, f0 as PlatformQuery, f1 as PlatformQueryPagingMethodOneOf, dL as PreparePaymentCollectionRequest, ds as PreviewBuyerConfirmationEmailRequest, dt as PreviewBuyerConfirmationEmailResponse, dq as PreviewBuyerPaymentsReceivedEmailRequest, dr as PreviewBuyerPaymentsReceivedEmailResponse, du as PreviewBuyerPickupConfirmationEmailRequest, dv as PreviewBuyerPickupConfirmationEmailResponse, dl as PreviewCancelEmailRequest, dm as PreviewCancelEmailResponse, dn as PreviewCancelRefundEmailRequest, dp as PreviewCancelRefundEmailResponse, dc as PreviewEmailByTypeRequest, dd as PreviewEmailByTypeResponse, aq as PreviewEmailType, i6 as PreviewEmailTypeWithLiterals, de as PreviewRefundEmailRequest, dk as PreviewRefundEmailResponse, dy as PreviewResendDownloadLinksEmailRequest, dz as PreviewResendDownloadLinksEmailResponse, dw as PreviewShippingConfirmationEmailRequest, dx as PreviewShippingConfirmationEmailResponse, bf as PriceDescription, bq as PriceSummary, aU as ProductName, gr as PublicActivityContentOneOf, f8 as QueryOrderRequest, f9 as QueryOrderResponse, hj as QuotesAddress, aC as Reason, ij as ReasonWithLiterals, cw as ReceiptCreated, cx as ReceiptCreatedReceiptInfoOneOf, cA as ReceiptSent, cB as ReceiptSentReceiptInfoOneOf, dQ as RecordManuallyCollectedPaymentRequest, dR as RecordManuallyCollectedPaymentResponse, dM as RedirectUrls, er as Refund, df as RefundDetails, ce as RefundInitiated, dg as RefundItem, ev as RefundItemsBreakdown, e7 as RefundSideEffects, aG as RefundStatus, et as RefundStatusInfo, io as RefundStatusWithLiterals, es as RefundTransaction, dZ as Refundability, d_ as RefundabilityAdditionalRefundabilityInfoOneOf, av as RefundableStatus, ib as RefundableStatusWithLiterals, cm as RefundedAsStoreCredit, cf as RefundedPayment, cg as RefundedPaymentKindOneOf, cp as RegularPayment, ee as RegularPaymentDetails, ef as RegularPaymentDetailsPaymentMethodDetailsOneOf, cq as RegularPaymentPaymentMethodDetailsOneOf, ch as RegularPaymentRefund, hd as Reschedule, e8 as RestockInfo, e9 as RestockItem, ay as RestockType, ie as RestockTypeWithLiterals, dD as RestoreInfo, ca as SavedPaymentMethod, as as ScheduledAction, i8 as ScheduledActionWithLiterals, fa as SearchOrdersRequest, cU as SendBuyerConfirmationEmailRequest, cV as SendBuyerConfirmationEmailResponse, cW as SendBuyerPaymentsReceivedEmailRequest, cX as SendBuyerPaymentsReceivedEmailResponse, cY as SendBuyerPickupConfirmationEmailRequest, cZ as SendBuyerPickupConfirmationEmailResponse, d0 as SendBuyerShippingConfirmationEmailRequest, d1 as SendBuyerShippingConfirmationEmailResponse, d6 as SendCancelRefundEmailRequest, d7 as SendCancelRefundEmailResponse, d4 as SendMerchantOrderReceivedNotificationRequest, d5 as SendMerchantOrderReceivedNotificationResponse, da as SendMerchantOrderReceivedPushRequest, db as SendMerchantOrderReceivedPushResponse, d8 as SendRefundEmailRequest, d9 as SendRefundEmailResponse, e4 as ServiceProperties, gj as ShippingAddressEdited, gf as ShippingConfirmationEmailSent, c9 as ShippingInformation, c8 as ShippingInformationChange, bD as ShippingPrice, dj as ShippingRefund, bE as ShippingRegion, eX as SnapshotMessage, aI as SortOrder, iq as SortOrderWithLiterals, f2 as Sorting, hw as Source, aO as SourceType, iw as SourceTypeWithLiterals, hq as StandardDetails, bt as StreetAddress, hp as Subdivision, aN as SubdivisionType, iv as SubdivisionTypeWithLiterals, ba as SubscriptionDescription, ab as SubscriptionFrequency, hU as SubscriptionFrequencyWithLiterals, b8 as SubscriptionInfo, bb as SubscriptionSettings, b9 as SubscriptionTitle, cN as TagList, cM as Tags, h7 as Task, h9 as TaskAction, ha as TaskActionActionOneOf, h8 as TaskKey, bF as TaxSummary, bh as TaxableAddress, bi as TaxableAddressTaxableAddressDataOneOf, ad as TaxableAddressType, hW as TaxableAddressTypeWithLiterals, hz as TotalPrice, c7 as TotalPriceChange, ge as TrackingLinkAdded, gc as TrackingNumberAdded, gd as TrackingNumberEdited, az as TransactionStatus, ig as TransactionStatusWithLiterals, bl as TranslatableString, c4 as TranslatedValue, e6 as TriggerRefundRequest, eT as TriggerReindexOrderRequest, eQ as TriggerReindexRequest, eR as TriggerReindexResponse, hM as TriggerSideEffectsFromLegacyData, fM as UnArchiveOrderRequest, fN as UnArchiveOrderResponse, gu as UpdateActivityRequest, fZ as UpdateBillingContactDetailsRequest, f_ as UpdateBillingContactDetailsResponse, fV as UpdateBuyerEmailRequest, fW as UpdateBuyerEmailResponse, fS as UpdateBuyerInfoRequest, fU as UpdateBuyerInfoResponse, eF as UpdateInternalDocumentsEvent, eG as UpdateInternalDocumentsEventOperationOneOf, gw as UpdateLineItemsDescriptionLinesRequest, gy as UpdateLineItemsDescriptionLinesResponse, f$ as UpdateOrderLineItemRequest, g0 as UpdateOrderLineItemsRequest, g2 as UpdateOrderLineItemsResponse, fi as UpdateOrderRequest, fj as UpdateOrderResponse, fX as UpdateOrderShippingAddressRequest, fY as UpdateOrderShippingAddressResponse, gD as UpdateOrderStatusRequest, gX as V1BulkMarkOrdersAsPaidRequest, gY as V1BulkMarkOrdersAsPaidResponse, gZ as V1CreatePaymentGatewayOrderRequest, g_ as V1CreatePaymentGatewayOrderResponse, fr as V1LineItemDelta, fs as V1LineItemDeltaDeltaOneOf, gU as V1MarkOrderAsPaidRequest, gV as V1MarkOrderAsPaidResponse, cT as V1RestockItem, el as V1ScheduledAction, bx as V1ShippingInformation, hK as Value, aQ as ValueType, iy as ValueTypeWithLiterals, bw as VatId, ah as VatType, h_ as VatTypeWithLiterals, eO as VersionedDeleteByIdsOperation, eP as VersionedDocumentId, eN as VersionedDocumentUpdateOperation, aH as VersioningMode, ip as VersioningModeWithLiterals, eB as VoidAuthorizedPaymentsRequest, ar as WebhookIdentityType, i7 as WebhookIdentityTypeWithLiterals, ag as WeightUnit, hZ as WeightUnitWithLiterals, cy as WixReceipt, ep as WixReceiptInfo } from './ecom-v1-order-orders.universal-DWllz0Jg.js';
|
|
2
|
+
import { P as Price, a as PreparePaymentCollectionOptions, b as PreparePaymentCollectionResponse, c as PreparePaymentCollectionApplicationErrors, G as GetPaymentCollectabilityStatusResponse, R as RecordManuallyCollectedPaymentApplicationErrors, M as MarkOrderAsPaidResponse, d as PaymentCollectionMarkOrderAsPaidApplicationErrors, B as BulkMarkOrdersAsPaidResponse, e as GetRefundabilityStatusResponse, f as PaymentCollectionCreatePaymentGatewayOrderOptions, C as CreatePaymentGatewayOrderResponse, g as PaymentCollectionCreatePaymentGatewayOrderApplicationErrors, h as ChargeMembershipsOptions, i as PaymentRefund, T as TriggerRefundOptions, j as TriggerRefundResponse, k as TriggerRefundApplicationErrors, V as VoidAuthorizedPaymentsResponse, l as VoidAuthorizedPaymentsApplicationErrors, m as PaymentCapture, n as CaptureAuthorizedPaymentsResponse, o as CaptureAuthorizedPaymentsApplicationErrors, O as Order, p as GetOrderApplicationErrors, q as OrderSearch, S as SearchOrdersResponse, r as CreateOrderOptions, s as CreateOrderApplicationErrors, U as UpdateOrder, t as UpdateOrderApplicationErrors, u as MaskedOrder, v as BulkUpdateOrdersOptions, w as BulkUpdateOrdersResponse, x as CommitDeltasOptions, y as CommitDeltasResponse, z as CommitDeltasApplicationErrors, A as UpdateOrderLineItemIdentifiers, D as UpdateOrderLineItem, E as UpdateOrderLineItemResponse, F as PublicActivity, H as AddActivityResponse, I as UpdateActivityIdentifiers, J as UpdateActivityResponse, K as DeleteActivityIdentifiers, L as DeleteActivityResponse, N as CancelOrderOptions, Q as CancelOrderResponse, W as CancelOrderApplicationErrors, X as OrderStatusWithLiterals, Y as UpdateOrderStatusResponse, Z as UpdateOrderStatusApplicationErrors, _ as AggregateOrdersOptions, $ as AggregateOrdersResponse, a0 as BulkUpdateOrderTagsOptions, a1 as BulkUpdateOrderTagsResponse, a2 as OrderApprovedEnvelope, a3 as OrderUpdatedEnvelope, a4 as OrderCanceledEnvelope, a5 as OrderCreatedEnvelope, a6 as OrderPaymentStatusUpdatedEnvelope } from './ecom-v1-order-orders.universal-DcxqR3rD.js';
|
|
3
|
+
export { dG as ActionEvent, aD as ActionType, ik as ActionTypeWithLiterals, bQ as Activity, bR as ActivityContentOneOf, an as ActivityType, i3 as ActivityTypeWithLiterals, gs as AddActivitiesRequest, gt as AddActivitiesResponse, gq as AddActivityRequest, g3 as AddInternalActivityRequest, gp as AddInternalActivityResponse, cK as AdditionalFee, fx as AdditionalFeeDelta, fy as AdditionalFeeDeltaDeltaOneOf, di as AdditionalFeeRefund, bs as Address, hk as AddressDescription, bu as AddressLocation, br as AddressWithContact, ac as AdjustmentType, hV as AdjustmentTypeWithLiterals, h1 as AggregateOrdersRequest, eu as AggregatedRefundSummary, dW as ApplicationError, bI as AppliedDiscount, fv as AppliedDiscountDelta, fw as AppliedDiscountDeltaDeltaOneOf, bJ as AppliedDiscountDiscountSourceOneOf, fG as ArchiveOrderRequest, fH as ArchiveOrderResponse, ao as AttributionSource, i4 as AttributionSourceWithLiterals, ej as AuthorizationActionFailureDetails, ei as AuthorizationCapture, aA as AuthorizationCaptureStatus, ih as AuthorizationCaptureStatusWithLiterals, eh as AuthorizationDetails, ek as AuthorizationVoid, aB as AuthorizationVoidStatus, ii as AuthorizationVoidStatusWithLiterals, cc as AuthorizedPaymentCaptured, cb as AuthorizedPaymentCreated, cd as AuthorizedPaymentVoided, cJ as Balance, cI as BalanceSummary, hN as BaseEventMetadata, eS as BatchOfTriggerReindexOrderRequest, hu as BigDecimalWrapper, bd as BillingAdjustment, be as BillingAdjustmentPriceSummary, dX as BulkActionMetadata, fK as BulkArchiveOrdersByFilterRequest, fL as BulkArchiveOrdersByFilterResponse, fI as BulkArchiveOrdersRequest, fJ as BulkArchiveOrdersResponse, gJ as BulkMarkAsFulfilledByFilterRequest, gK as BulkMarkAsFulfilledByFilterResponse, gH as BulkMarkAsFulfilledRequest, gI as BulkMarkAsFulfilledResponse, gP as BulkMarkAsUnfulfilledByFilterRequest, gQ as BulkMarkAsUnfulfilledByFilterResponse, gN as BulkMarkAsUnfulfilledRequest, gO as BulkMarkAsUnfulfilledResponse, dT as BulkMarkOrdersAsPaidRequest, dU as BulkOrderResult, c_ as BulkSendBuyerPickupConfirmationEmailsRequest, c$ as BulkSendBuyerPickupConfirmationEmailsResponse, d2 as BulkSendBuyerShippingConfirmationEmailsRequest, d3 as BulkSendBuyerShippingConfirmationEmailsResponse, gR as BulkSetBusinessLocationRequest, gS as BulkSetBusinessLocationResponse, gT as BulkSetBusinessLocationResult, fQ as BulkUnArchiveOrdersByFilterRequest, fR as BulkUnArchiveOrdersByFilterResponse, fO as BulkUnArchiveOrdersRequest, fP as BulkUnArchiveOrdersResponse, h5 as BulkUpdateOrderTagsRequest, h6 as BulkUpdateOrderTagsResult, fk as BulkUpdateOrdersRequest, bn as BuyerInfo, bo as BuyerInfoIdOneOf, fT as BuyerInfoUpdate, ey as CalculateRefundItemRequest, eA as CalculateRefundItemResponse, ex as CalculateRefundRequest, ez as CalculateRefundResponse, hE as CalculatedTax, hD as CalculatedTaxes, hc as Cancel, gB as CancelOrderRequest, eC as CaptureAuthorizedPaymentsRequest, aV as CatalogReference, cG as ChannelInfo, ap as ChannelType, i5 as ChannelTypeWithLiterals, e1 as ChargeMembershipsRequest, e5 as ChargeMembershipsResponse, eD as ChargeSavedPaymentMethodRequest, eE as ChargeSavedPaymentMethodResponse, em as Chargeback, cC as ChargebackCreated, cD as ChargebackReversed, aE as ChargebackStatus, il as ChargebackStatusWithLiterals, e0 as ChargedBy, a$ as Color, fl as CommitDeltasRequest, fC as CommittedDiffs, fD as CommittedDiffsShippingUpdateInfoOneOf, hn as CommonAddress, ho as CommonAddressStreetOneOf, iB as CommonSearchWithEntityContext, hm as Company, hb as Complete, eW as ContinueSideEffectsFlowInLegacyData, bK as Coupon, fe as CreateOrderRequest, fh as CreateOrderResponse, d$ as CreatePaymentGatewayOrderRequest, cE as CreatedBy, cF as CreatedByStringOneOf, cr as CreditCardDetails, eg as CreditCardPaymentMethodDetails, bp as CurrencyConversionDetails, f4 as CursorPaging, fd as CursorPagingMetadata, fb as CursorSearch, fc as CursorSearchPagingMethodOneOf, f7 as Cursors, bS as CustomActivity, cH as CustomField, aP as CustomFieldGroup, ix as CustomFieldGroupWithLiterals, hJ as CustomFieldValue, hh as Customer, h3 as DecrementData, h2 as DecrementItemsQuantityRequest, h4 as DecrementItemsQuantityResponse, dN as DelayedCaptureSettings, gv as DeleteActivityRequest, eK as DeleteByFilterOperation, eJ as DeleteByIdsOperation, by as DeliveryLogistics, bz as DeliveryLogisticsAddressOneOf, bC as DeliveryTimeSlot, aK as DeltaPaymentOptionType, is as DeltaPaymentOptionTypeWithLiterals, hL as Deposit, aR as DepositType, iz as DepositTypeWithLiterals, aW as DescriptionLine, aY as DescriptionLineDescriptionLineValueOneOf, aZ as DescriptionLineName, a7 as DescriptionLineType, hQ as DescriptionLineTypeWithLiterals, aX as DescriptionLineValueOneOf, eU as DiffmatokyPayload, b7 as DigitalFile, hB as Discount, hC as DiscountOneDiscountTypeOneOf, al as DiscountReason, i1 as DiscountReasonWithLiterals, bN as DiscountRule, bO as DiscountRuleName, ak as DiscountType, i0 as DiscountTypeWithLiterals, dA as DomainEvent, dB as DomainEventBodyOneOf, gb as DownloadLinkSent, bY as DraftOrderChangesApplied, fz as DraftOrderCommitSettings, fm as DraftOrderDiffs, fp as DraftOrderDiffsBillingUpdateInfoOneOf, fo as DraftOrderDiffsBuyerUpdateInfoOneOf, fq as DraftOrderDiffsRecipientUpdateInfoOneOf, fn as DraftOrderDiffsShippingUpdateInfoOneOf, dO as Duration, at as DurationUnit, i9 as DurationUnitWithLiterals, hi as Email, gk as EmailEdited, dH as Empty, dC as EntityCreatedEvent, dF as EntityDeletedEvent, dE as EntityUpdatedEvent, eV as ErrorInformation, hO as EventMetadata, bj as ExtendedFields, cz as ExternalReceipt, eq as ExternalReceiptInfo, b0 as FocalPoint, bc as FreeTrialPeriod, gi as FulfillerEmailSent, af as FulfillmentStatus, gG as FulfillmentStatusUpdated, hY as FulfillmentStatusWithLiterals, cL as FulfillmentStatusesAggregate, bv as FullAddressContactDetails, eZ as GetOrderRequest, e_ as GetOrderResponse, dP as GetPaymentCollectabilityStatusRequest, dY as GetRefundabilityStatusRequest, g$ as GetShipmentsRequest, h0 as GetShipmentsResponse, en as GiftCardPaymentDetails, ci as GiftCardPaymentRefund, hf as IdAndVersion, dJ as IdentificationData, dK as IdentificationDataIdOneOf, eY as IndexingMessage, g4 as InternalActivity, g5 as InternalActivityContentOneOf, eH as InternalDocument, eL as InternalDocumentUpdateByFilterOperation, eI as InternalDocumentUpdateOperation, e$ as InternalQueryOrdersRequest, f5 as InternalQueryOrdersResponse, eM as InternalUpdateExistingOperation, aL as InventoryAction, it as InventoryActionWithLiterals, fA as InventoryUpdateDetails, gg as InvoiceAdded, hr as InvoiceDates, hI as InvoiceDynamicPriceTotals, hg as InvoiceFields, gh as InvoiceSent, he as InvoiceSentEvent, aS as InvoiceStatus, iA as InvoiceStatusWithLiterals, hG as InvoicesPayment, fu as ItemChangedDetails, dV as ItemMetadata, bm as ItemModifier, b4 as ItemTaxFullDetails, b2 as ItemType, a8 as ItemTypeItemType, b3 as ItemTypeItemTypeDataOneOf, hR as ItemTypeItemTypeWithLiterals, hA as ItemizedFee, aa as JurisdictionType, hT as JurisdictionTypeWithLiterals, ht as LineItem, c5 as LineItemAmount, b$ as LineItemChanges, fE as LineItemDelta, fF as LineItemDeltaDeltaOneOf, bP as LineItemDiscount, bX as LineItemExchangeData, hx as LineItemMetaData, c1 as LineItemPriceChange, c0 as LineItemQuantityChange, am as LineItemQuantityChangeType, i2 as LineItemQuantityChangeTypeWithLiterals, dh as LineItemRefund, ew as LineItemRefundSummary, hv as LineItemTax, b6 as LineItemTaxBreakdown, b5 as LineItemTaxInfo, gx as LineItemUpdate, hs as LineItems, hy as Locale, cO as Location, bg as LocationAndQuantity, c6 as ManagedAdditionalFee, c3 as ManagedDiscount, c2 as ManagedLineItem, ax as ManuallyRefundableReason, id as ManuallyRefundableReasonWithLiterals, gE as MarkAsFulfilledRequest, gF as MarkAsFulfilledResponse, gL as MarkAsUnfulfilledRequest, gM as MarkAsUnfulfilledResponse, dS as MarkOrderAsPaidRequest, gz as MarkOrderAsSeenByHumanRequest, gA as MarkOrderAsSeenByHumanResponse, g1 as MaskedOrderLineItem, e2 as MembershipChargeItem, e3 as MembershipName, eo as MembershipPaymentDetails, cj as MembershipPaymentRefund, aF as MembershipPaymentStatus, im as MembershipPaymentStatusWithLiterals, bT as MerchantComment, bL as MerchantDiscount, bM as MerchantDiscountMerchantDiscountReasonOneOf, dI as MessageEnvelope, hH as MetaData, bk as ModifierGroup, bW as NewExchangeOrderCreated, aw as NonRefundableReason, ic as NonRefundableReasonWithLiterals, aJ as OrderApprovalStrategy, ir as OrderApprovalStrategyWithLiterals, cP as OrderApproved, ga as OrderCanceled, gC as OrderCanceledEventOrderCanceled, bZ as OrderChange, b_ as OrderChangeValueOneOf, fg as OrderCreateNotifications, bV as OrderCreatedFromExchange, ff as OrderCreationSettings, fB as OrderDeltasCommitted, g8 as OrderFulfilled, cS as OrderItemsRestocked, aT as OrderLineItem, ft as OrderLineItemChangedDetails, g9 as OrderNotFulfilled, g7 as OrderPaid, gm as OrderPartiallyPaid, gn as OrderPending, g6 as OrderPlaced, bU as OrderRefunded, go as OrderRejected, cR as OrderRejectedEventOrderRejected, hP as OrderSearchSpec, aj as OrderStatus, bH as OrderTaxBreakdown, bG as OrderTaxInfo, ea as OrderTransactions, cQ as OrdersExperiments, eb as Payment, cs as PaymentCanceled, ct as PaymentCanceledPaymentDetailsOneOf, au as PaymentCollectabilityStatus, ia as PaymentCollectabilityStatusWithLiterals, cu as PaymentDeclined, cv as PaymentDeclinedPaymentDetailsOneOf, a9 as PaymentOptionType, hS as PaymentOptionTypeWithLiterals, ec as PaymentPaymentDetailsOneOf, cn as PaymentPending, co as PaymentPendingPaymentDetailsOneOf, ed as PaymentReceiptInfoOneOf, cl as PaymentRefundFailed, ck as PaymentRefunded, ae as PaymentStatus, gW as PaymentStatusUpdated, hX as PaymentStatusWithLiterals, hF as Payments, hl as Phone, b1 as PhysicalProperties, bB as PickupAddress, bA as PickupDetails, ai as PickupMethod, h$ as PickupMethodWithLiterals, gl as PickupReadyEmailSent, aM as Placement, iu as PlacementWithLiterals, a_ as PlainTextValue, f3 as PlatformPaging, f6 as PlatformPagingMetadata, f0 as PlatformQuery, f1 as PlatformQueryPagingMethodOneOf, dL as PreparePaymentCollectionRequest, ds as PreviewBuyerConfirmationEmailRequest, dt as PreviewBuyerConfirmationEmailResponse, dq as PreviewBuyerPaymentsReceivedEmailRequest, dr as PreviewBuyerPaymentsReceivedEmailResponse, du as PreviewBuyerPickupConfirmationEmailRequest, dv as PreviewBuyerPickupConfirmationEmailResponse, dl as PreviewCancelEmailRequest, dm as PreviewCancelEmailResponse, dn as PreviewCancelRefundEmailRequest, dp as PreviewCancelRefundEmailResponse, dc as PreviewEmailByTypeRequest, dd as PreviewEmailByTypeResponse, aq as PreviewEmailType, i6 as PreviewEmailTypeWithLiterals, de as PreviewRefundEmailRequest, dk as PreviewRefundEmailResponse, dy as PreviewResendDownloadLinksEmailRequest, dz as PreviewResendDownloadLinksEmailResponse, dw as PreviewShippingConfirmationEmailRequest, dx as PreviewShippingConfirmationEmailResponse, bf as PriceDescription, bq as PriceSummary, aU as ProductName, gr as PublicActivityContentOneOf, f8 as QueryOrderRequest, f9 as QueryOrderResponse, hj as QuotesAddress, aC as Reason, ij as ReasonWithLiterals, cw as ReceiptCreated, cx as ReceiptCreatedReceiptInfoOneOf, cA as ReceiptSent, cB as ReceiptSentReceiptInfoOneOf, dQ as RecordManuallyCollectedPaymentRequest, dR as RecordManuallyCollectedPaymentResponse, dM as RedirectUrls, er as Refund, df as RefundDetails, ce as RefundInitiated, dg as RefundItem, ev as RefundItemsBreakdown, e7 as RefundSideEffects, aG as RefundStatus, et as RefundStatusInfo, io as RefundStatusWithLiterals, es as RefundTransaction, dZ as Refundability, d_ as RefundabilityAdditionalRefundabilityInfoOneOf, av as RefundableStatus, ib as RefundableStatusWithLiterals, cm as RefundedAsStoreCredit, cf as RefundedPayment, cg as RefundedPaymentKindOneOf, cp as RegularPayment, ee as RegularPaymentDetails, ef as RegularPaymentDetailsPaymentMethodDetailsOneOf, cq as RegularPaymentPaymentMethodDetailsOneOf, ch as RegularPaymentRefund, hd as Reschedule, e8 as RestockInfo, e9 as RestockItem, ay as RestockType, ie as RestockTypeWithLiterals, dD as RestoreInfo, ca as SavedPaymentMethod, as as ScheduledAction, i8 as ScheduledActionWithLiterals, fa as SearchOrdersRequest, cU as SendBuyerConfirmationEmailRequest, cV as SendBuyerConfirmationEmailResponse, cW as SendBuyerPaymentsReceivedEmailRequest, cX as SendBuyerPaymentsReceivedEmailResponse, cY as SendBuyerPickupConfirmationEmailRequest, cZ as SendBuyerPickupConfirmationEmailResponse, d0 as SendBuyerShippingConfirmationEmailRequest, d1 as SendBuyerShippingConfirmationEmailResponse, d6 as SendCancelRefundEmailRequest, d7 as SendCancelRefundEmailResponse, d4 as SendMerchantOrderReceivedNotificationRequest, d5 as SendMerchantOrderReceivedNotificationResponse, da as SendMerchantOrderReceivedPushRequest, db as SendMerchantOrderReceivedPushResponse, d8 as SendRefundEmailRequest, d9 as SendRefundEmailResponse, e4 as ServiceProperties, gj as ShippingAddressEdited, gf as ShippingConfirmationEmailSent, c9 as ShippingInformation, c8 as ShippingInformationChange, bD as ShippingPrice, dj as ShippingRefund, bE as ShippingRegion, eX as SnapshotMessage, aI as SortOrder, iq as SortOrderWithLiterals, f2 as Sorting, hw as Source, aO as SourceType, iw as SourceTypeWithLiterals, hq as StandardDetails, bt as StreetAddress, hp as Subdivision, aN as SubdivisionType, iv as SubdivisionTypeWithLiterals, ba as SubscriptionDescription, ab as SubscriptionFrequency, hU as SubscriptionFrequencyWithLiterals, b8 as SubscriptionInfo, bb as SubscriptionSettings, b9 as SubscriptionTitle, cN as TagList, cM as Tags, h7 as Task, h9 as TaskAction, ha as TaskActionActionOneOf, h8 as TaskKey, bF as TaxSummary, bh as TaxableAddress, bi as TaxableAddressTaxableAddressDataOneOf, ad as TaxableAddressType, hW as TaxableAddressTypeWithLiterals, hz as TotalPrice, c7 as TotalPriceChange, ge as TrackingLinkAdded, gc as TrackingNumberAdded, gd as TrackingNumberEdited, az as TransactionStatus, ig as TransactionStatusWithLiterals, bl as TranslatableString, c4 as TranslatedValue, e6 as TriggerRefundRequest, eT as TriggerReindexOrderRequest, eQ as TriggerReindexRequest, eR as TriggerReindexResponse, hM as TriggerSideEffectsFromLegacyData, fM as UnArchiveOrderRequest, fN as UnArchiveOrderResponse, gu as UpdateActivityRequest, fZ as UpdateBillingContactDetailsRequest, f_ as UpdateBillingContactDetailsResponse, fV as UpdateBuyerEmailRequest, fW as UpdateBuyerEmailResponse, fS as UpdateBuyerInfoRequest, fU as UpdateBuyerInfoResponse, eF as UpdateInternalDocumentsEvent, eG as UpdateInternalDocumentsEventOperationOneOf, gw as UpdateLineItemsDescriptionLinesRequest, gy as UpdateLineItemsDescriptionLinesResponse, f$ as UpdateOrderLineItemRequest, g0 as UpdateOrderLineItemsRequest, g2 as UpdateOrderLineItemsResponse, fi as UpdateOrderRequest, fj as UpdateOrderResponse, fX as UpdateOrderShippingAddressRequest, fY as UpdateOrderShippingAddressResponse, gD as UpdateOrderStatusRequest, gX as V1BulkMarkOrdersAsPaidRequest, gY as V1BulkMarkOrdersAsPaidResponse, gZ as V1CreatePaymentGatewayOrderRequest, g_ as V1CreatePaymentGatewayOrderResponse, fr as V1LineItemDelta, fs as V1LineItemDeltaDeltaOneOf, gU as V1MarkOrderAsPaidRequest, gV as V1MarkOrderAsPaidResponse, cT as V1RestockItem, el as V1ScheduledAction, bx as V1ShippingInformation, hK as Value, aQ as ValueType, iy as ValueTypeWithLiterals, bw as VatId, ah as VatType, h_ as VatTypeWithLiterals, eO as VersionedDeleteByIdsOperation, eP as VersionedDocumentId, eN as VersionedDocumentUpdateOperation, aH as VersioningMode, ip as VersioningModeWithLiterals, eB as VoidAuthorizedPaymentsRequest, ar as WebhookIdentityType, i7 as WebhookIdentityTypeWithLiterals, ag as WeightUnit, hZ as WeightUnitWithLiterals, cy as WixReceipt, ep as WixReceiptInfo } from './ecom-v1-order-orders.universal-DcxqR3rD.js';
|
|
4
4
|
|
|
5
5
|
declare function preparePaymentCollection$1(httpClient: HttpClient): PreparePaymentCollectionSignature;
|
|
6
6
|
interface PreparePaymentCollectionSignature {
|
|
@@ -13,7 +13,7 @@ interface PreparePaymentCollectionSignature {
|
|
|
13
13
|
* @param - Ecom order ID.
|
|
14
14
|
* @param - Amount to collect
|
|
15
15
|
*/
|
|
16
|
-
(ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise<NonNullablePaths<PreparePaymentCollectionResponse, `paymentGatewayOrderId
|
|
16
|
+
(ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise<NonNullablePaths<PreparePaymentCollectionResponse, `paymentGatewayOrderId`, 2> & {
|
|
17
17
|
__applicationErrorsType?: PreparePaymentCollectionApplicationErrors;
|
|
18
18
|
}>;
|
|
19
19
|
}
|
|
@@ -25,7 +25,7 @@ interface GetPaymentCollectabilityStatusSignature {
|
|
|
25
25
|
* reason why payment collection is not possible.
|
|
26
26
|
* @param - Ecom order ID.
|
|
27
27
|
*/
|
|
28
|
-
(ecomOrderId: string): Promise<NonNullablePaths<GetPaymentCollectabilityStatusResponse, `status` | `amount.amount` | `amount.formattedAmount
|
|
28
|
+
(ecomOrderId: string): Promise<NonNullablePaths<GetPaymentCollectabilityStatusResponse, `status` | `amount.amount` | `amount.formattedAmount`, 3>>;
|
|
29
29
|
}
|
|
30
30
|
/** @internal */
|
|
31
31
|
declare function recordManuallyCollectedPayment$1(httpClient: HttpClient): RecordManuallyCollectedPaymentSignature;
|
|
@@ -53,7 +53,7 @@ interface PaymentCollectionMarkOrderAsPaidSignature {
|
|
|
53
53
|
* will be created and approved.
|
|
54
54
|
* @param - Ecom order ID.
|
|
55
55
|
*/
|
|
56
|
-
(ecomOrderId: string): Promise<NonNullablePaths<MarkOrderAsPaidResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name
|
|
56
|
+
(ecomOrderId: string): Promise<NonNullablePaths<MarkOrderAsPaidResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name`, 7> & {
|
|
57
57
|
__applicationErrorsType?: PaymentCollectionMarkOrderAsPaidApplicationErrors;
|
|
58
58
|
}>;
|
|
59
59
|
}
|
|
@@ -64,7 +64,7 @@ interface PaymentCollectionBulkMarkOrdersAsPaidSignature {
|
|
|
64
64
|
* Marks multiple orders as paid. `order.paymentStatus` field *eventually* changes to `PAID`.
|
|
65
65
|
* @param - IDs of orders to mark as paid.
|
|
66
66
|
*/
|
|
67
|
-
(ecomOrderIds: string[]): Promise<NonNullablePaths<BulkMarkOrdersAsPaidResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.number` | `results.${number}.item.buyerInfo.visitorId` | `results.${number}.item.buyerInfo.memberId` | `results.${number}.item.paymentStatus` | `results.${number}.item.fulfillmentStatus` | `results.${number}.item.weightUnit` | `results.${number}.item.taxIncludedInPrices` | `results.${number}.item.shippingInfo.title` | `results.${number}.item.status` | `results.${number}.item.attributionSource` | `results.${number}.item.createdBy.userId` | `results.${number}.item.createdBy.memberId` | `results.${number}.item.createdBy.visitorId` | `results.${number}.item.createdBy.appId` | `results.${number}.item.channelInfo.type` | `results.${number}.item.businessLocation._id` | `results.${number}.item.businessLocation.name` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures
|
|
67
|
+
(ecomOrderIds: string[]): Promise<NonNullablePaths<BulkMarkOrdersAsPaidResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.number` | `results.${number}.item.buyerInfo.visitorId` | `results.${number}.item.buyerInfo.memberId` | `results.${number}.item.paymentStatus` | `results.${number}.item.fulfillmentStatus` | `results.${number}.item.weightUnit` | `results.${number}.item.taxIncludedInPrices` | `results.${number}.item.shippingInfo.title` | `results.${number}.item.status` | `results.${number}.item.attributionSource` | `results.${number}.item.createdBy.userId` | `results.${number}.item.createdBy.memberId` | `results.${number}.item.createdBy.visitorId` | `results.${number}.item.createdBy.appId` | `results.${number}.item.channelInfo.type` | `results.${number}.item.businessLocation._id` | `results.${number}.item.businessLocation.name` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
68
68
|
}
|
|
69
69
|
/** @internal */
|
|
70
70
|
declare function getRefundabilityStatus$1(httpClient: HttpClient): GetRefundabilityStatusSignature;
|
|
@@ -73,7 +73,7 @@ interface GetRefundabilityStatusSignature {
|
|
|
73
73
|
* Checks whether this order can be refunded.
|
|
74
74
|
* @param - Order ID.
|
|
75
75
|
*/
|
|
76
|
-
(ecomOrderId: string): Promise<NonNullablePaths<GetRefundabilityStatusResponse, `refundabilities` | `refundabilities.${number}.nonRefundableReason` | `refundabilities.${number}.manuallyRefundableReason` | `refundabilities.${number}.paymentId` | `refundabilities.${number}.refundabilityStatus` | `refundablePerItem
|
|
76
|
+
(ecomOrderId: string): Promise<NonNullablePaths<GetRefundabilityStatusResponse, `refundabilities` | `refundabilities.${number}.nonRefundableReason` | `refundabilities.${number}.manuallyRefundableReason` | `refundabilities.${number}.paymentId` | `refundabilities.${number}.refundabilityStatus` | `refundablePerItem`, 4>>;
|
|
77
77
|
}
|
|
78
78
|
/** @internal */
|
|
79
79
|
declare function paymentCollectionCreatePaymentGatewayOrder$1(httpClient: HttpClient): PaymentCollectionCreatePaymentGatewayOrderSignature;
|
|
@@ -86,7 +86,7 @@ interface PaymentCollectionCreatePaymentGatewayOrderSignature {
|
|
|
86
86
|
* 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).
|
|
87
87
|
* @param - Ecom order ID.
|
|
88
88
|
*/
|
|
89
|
-
(ecomOrderId: string, options?: PaymentCollectionCreatePaymentGatewayOrderOptions): Promise<NonNullablePaths<CreatePaymentGatewayOrderResponse, `paymentGatewayOrderId
|
|
89
|
+
(ecomOrderId: string, options?: PaymentCollectionCreatePaymentGatewayOrderOptions): Promise<NonNullablePaths<CreatePaymentGatewayOrderResponse, `paymentGatewayOrderId`, 2> & {
|
|
90
90
|
__applicationErrorsType?: PaymentCollectionCreatePaymentGatewayOrderApplicationErrors;
|
|
91
91
|
}>;
|
|
92
92
|
}
|
|
@@ -98,7 +98,7 @@ interface ChargeMembershipsSignature {
|
|
|
98
98
|
* @param - The member id. Do not attempt to get it from the request context, since in some cases the caller is not a member
|
|
99
99
|
* but a user which is using the membership on behalf of the a member
|
|
100
100
|
*/
|
|
101
|
-
(ecomOrderId: string, memberId: string, options?: NonNullablePaths<ChargeMembershipsOptions, `membershipCharges.${number}.appId` | `membershipCharges.${number}.catalogReference` | `membershipCharges.${number}.catalogReference.appId` | `membershipCharges.${number}.catalogReference.catalogItemId` | `membershipCharges.${number}.membershipId` | `membershipCharges.${number}.membershipName` | `membershipCharges.${number}.membershipName.original` | `membershipCharges.${number}.rootCatalogItemId
|
|
101
|
+
(ecomOrderId: string, memberId: string, options?: NonNullablePaths<ChargeMembershipsOptions, `membershipCharges.${number}.appId` | `membershipCharges.${number}.catalogReference` | `membershipCharges.${number}.catalogReference.appId` | `membershipCharges.${number}.catalogReference.catalogItemId` | `membershipCharges.${number}.membershipId` | `membershipCharges.${number}.membershipName` | `membershipCharges.${number}.membershipName.original` | `membershipCharges.${number}.rootCatalogItemId`, 5>): Promise<void>;
|
|
102
102
|
}
|
|
103
103
|
/** @internal */
|
|
104
104
|
declare function triggerRefund$1(httpClient: HttpClient): TriggerRefundSignature;
|
|
@@ -111,7 +111,7 @@ interface TriggerRefundSignature {
|
|
|
111
111
|
* @param - The order this refund related to
|
|
112
112
|
* @param - Refund operations information
|
|
113
113
|
*/
|
|
114
|
-
(ecomOrderId: string, payments: NonNullablePaths<PaymentRefund, `paymentId
|
|
114
|
+
(ecomOrderId: string, payments: NonNullablePaths<PaymentRefund, `paymentId`, 2>[], options?: TriggerRefundOptions): Promise<NonNullablePaths<TriggerRefundResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.amount.amount` | `orderTransactions.payments.${number}.amount.formattedAmount` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending` | `failedPaymentIds` | `failedPaymentIds.${number}.originalIndex` | `failedPaymentIds.${number}.success` | `failedPaymentIds.${number}.error.code` | `failedPaymentIds.${number}.error.description`, 7> & {
|
|
115
115
|
__applicationErrorsType?: TriggerRefundApplicationErrors;
|
|
116
116
|
}>;
|
|
117
117
|
}
|
|
@@ -123,7 +123,7 @@ interface VoidAuthorizedPaymentsSignature {
|
|
|
123
123
|
* @param - Wix eCommerce order ID
|
|
124
124
|
* @param - Payment IDs
|
|
125
125
|
*/
|
|
126
|
-
(ecomOrderId: string, paymentIds: string[]): Promise<NonNullablePaths<VoidAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.amount.amount` | `orderTransactions.payments.${number}.amount.formattedAmount` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending
|
|
126
|
+
(ecomOrderId: string, paymentIds: string[]): Promise<NonNullablePaths<VoidAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.amount.amount` | `orderTransactions.payments.${number}.amount.formattedAmount` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`, 7> & {
|
|
127
127
|
__applicationErrorsType?: VoidAuthorizedPaymentsApplicationErrors;
|
|
128
128
|
}>;
|
|
129
129
|
}
|
|
@@ -135,7 +135,7 @@ interface CaptureAuthorizedPaymentsSignature {
|
|
|
135
135
|
* @param - Wix eCommerce order ID
|
|
136
136
|
* @param - Capture payments information
|
|
137
137
|
*/
|
|
138
|
-
(ecomOrderId: string, payments: NonNullablePaths<PaymentCapture, `paymentId
|
|
138
|
+
(ecomOrderId: string, payments: NonNullablePaths<PaymentCapture, `paymentId`, 2>[]): Promise<NonNullablePaths<CaptureAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.amount.amount` | `orderTransactions.payments.${number}.amount.formattedAmount` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`, 7> & {
|
|
139
139
|
__applicationErrorsType?: CaptureAuthorizedPaymentsApplicationErrors;
|
|
140
140
|
}>;
|
|
141
141
|
}
|
|
@@ -151,7 +151,7 @@ interface GetOrderSignature {
|
|
|
151
151
|
* @param - ID of the order to retrieve.
|
|
152
152
|
* @returns Fulfilled - The requested order.
|
|
153
153
|
*/
|
|
154
|
-
(_id: string): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name
|
|
154
|
+
(_id: string): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name`, 6> & {
|
|
155
155
|
__applicationErrorsType?: GetOrderApplicationErrors;
|
|
156
156
|
}>;
|
|
157
157
|
}
|
|
@@ -174,7 +174,7 @@ interface SearchOrdersSignature {
|
|
|
174
174
|
* [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
175
175
|
* @param - Search options.
|
|
176
176
|
*/
|
|
177
|
-
(search: OrderSearch): Promise<NonNullablePaths<SearchOrdersResponse, `orders` | `orders.${number}.number` | `orders.${number}.buyerInfo.visitorId` | `orders.${number}.buyerInfo.memberId` | `orders.${number}.paymentStatus` | `orders.${number}.fulfillmentStatus` | `orders.${number}.weightUnit` | `orders.${number}.taxIncludedInPrices` | `orders.${number}.shippingInfo.title` | `orders.${number}.status` | `orders.${number}.attributionSource` | `orders.${number}.createdBy.userId` | `orders.${number}.createdBy.memberId` | `orders.${number}.createdBy.visitorId` | `orders.${number}.createdBy.appId` | `orders.${number}.channelInfo.type` | `orders.${number}.balanceSummary.balance.amount` | `orders.${number}.balanceSummary.balance.formattedAmount` | `orders.${number}.businessLocation._id` | `orders.${number}.businessLocation.name
|
|
177
|
+
(search: OrderSearch): Promise<NonNullablePaths<SearchOrdersResponse, `orders` | `orders.${number}.number` | `orders.${number}.buyerInfo.visitorId` | `orders.${number}.buyerInfo.memberId` | `orders.${number}.paymentStatus` | `orders.${number}.fulfillmentStatus` | `orders.${number}.weightUnit` | `orders.${number}.taxIncludedInPrices` | `orders.${number}.shippingInfo.title` | `orders.${number}.status` | `orders.${number}.attributionSource` | `orders.${number}.createdBy.userId` | `orders.${number}.createdBy.memberId` | `orders.${number}.createdBy.visitorId` | `orders.${number}.createdBy.appId` | `orders.${number}.channelInfo.type` | `orders.${number}.balanceSummary.balance.amount` | `orders.${number}.balanceSummary.balance.formattedAmount` | `orders.${number}.businessLocation._id` | `orders.${number}.businessLocation.name`, 6>>;
|
|
178
178
|
}
|
|
179
179
|
declare function createOrder$1(httpClient: HttpClient): CreateOrderSignature;
|
|
180
180
|
interface CreateOrderSignature {
|
|
@@ -190,7 +190,7 @@ interface CreateOrderSignature {
|
|
|
190
190
|
* @param - Order info.
|
|
191
191
|
* @returns Newly created order.
|
|
192
192
|
*/
|
|
193
|
-
(order: NonNullablePaths<Order, `billingInfo.contactDetails` | `channelInfo` | `currencyConversionDetails.conversionRate` | `currencyConversionDetails.originalCurrency` | `lineItems` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.itemType` | `lineItems.${number}.price` | `lineItems.${number}.productName` | `lineItems.${number}.productName.original` | `lineItems.${number}.quantity` | `priceSummary
|
|
193
|
+
(order: NonNullablePaths<Order, `billingInfo.contactDetails` | `channelInfo` | `currencyConversionDetails.conversionRate` | `currencyConversionDetails.originalCurrency` | `lineItems` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.itemType` | `lineItems.${number}.price` | `lineItems.${number}.productName` | `lineItems.${number}.productName.original` | `lineItems.${number}.quantity` | `priceSummary`, 5>, options?: CreateOrderOptions): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name`, 6> & {
|
|
194
194
|
__applicationErrorsType?: CreateOrderApplicationErrors;
|
|
195
195
|
}>;
|
|
196
196
|
}
|
|
@@ -225,7 +225,7 @@ interface UpdateOrderSignature {
|
|
|
225
225
|
* @param - Order ID.
|
|
226
226
|
* @returns Newly created order.
|
|
227
227
|
*/
|
|
228
|
-
(_id: string, order: UpdateOrder): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name
|
|
228
|
+
(_id: string, order: UpdateOrder): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name`, 6> & {
|
|
229
229
|
__applicationErrorsType?: UpdateOrderApplicationErrors;
|
|
230
230
|
}>;
|
|
231
231
|
}
|
|
@@ -259,13 +259,13 @@ interface BulkUpdateOrdersSignature {
|
|
|
259
259
|
* To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
|
|
260
260
|
* @param - Orders to update.
|
|
261
261
|
*/
|
|
262
|
-
(orders: NonNullablePaths<MaskedOrder, `order` | `order._id
|
|
262
|
+
(orders: NonNullablePaths<MaskedOrder, `order` | `order._id`, 3>[], options?: BulkUpdateOrdersOptions): Promise<NonNullablePaths<BulkUpdateOrdersResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.number` | `results.${number}.item.buyerInfo.visitorId` | `results.${number}.item.buyerInfo.memberId` | `results.${number}.item.paymentStatus` | `results.${number}.item.fulfillmentStatus` | `results.${number}.item.weightUnit` | `results.${number}.item.taxIncludedInPrices` | `results.${number}.item.shippingInfo.title` | `results.${number}.item.status` | `results.${number}.item.attributionSource` | `results.${number}.item.createdBy.userId` | `results.${number}.item.createdBy.memberId` | `results.${number}.item.createdBy.visitorId` | `results.${number}.item.createdBy.appId` | `results.${number}.item.channelInfo.type` | `results.${number}.item.businessLocation._id` | `results.${number}.item.businessLocation.name` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
263
263
|
}
|
|
264
264
|
/** @internal */
|
|
265
265
|
declare function commitDeltas$1(httpClient: HttpClient): CommitDeltasSignature;
|
|
266
266
|
interface CommitDeltasSignature {
|
|
267
267
|
/** @param - Order id to be updated */
|
|
268
|
-
(_id: string, options?: NonNullablePaths<CommitDeltasOptions, `changes` | `changes.priceSummary.subtotal` | `changes.priceSummary.total
|
|
268
|
+
(_id: string, options?: NonNullablePaths<CommitDeltasOptions, `changes` | `changes.priceSummary.subtotal` | `changes.priceSummary.total`, 4>): Promise<NonNullablePaths<CommitDeltasResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name`, 7> & {
|
|
269
269
|
__applicationErrorsType?: CommitDeltasApplicationErrors;
|
|
270
270
|
}>;
|
|
271
271
|
}
|
|
@@ -273,7 +273,7 @@ interface CommitDeltasSignature {
|
|
|
273
273
|
declare function updateOrderLineItem$1(httpClient: HttpClient): UpdateOrderLineItemSignature;
|
|
274
274
|
interface UpdateOrderLineItemSignature {
|
|
275
275
|
/** @deprecated */
|
|
276
|
-
(identifiers: NonNullablePaths<UpdateOrderLineItemIdentifiers, `_id` | `lineItemId
|
|
276
|
+
(identifiers: NonNullablePaths<UpdateOrderLineItemIdentifiers, `_id` | `lineItemId`, 2>, lineItem: UpdateOrderLineItem): Promise<NonNullablePaths<UpdateOrderLineItemResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name`, 7>>;
|
|
277
277
|
}
|
|
278
278
|
/** @internal */
|
|
279
279
|
declare function addActivity$1(httpClient: HttpClient): AddActivitySignature;
|
|
@@ -285,7 +285,7 @@ interface AddActivitySignature {
|
|
|
285
285
|
* @param - Activity info.
|
|
286
286
|
* @deprecated
|
|
287
287
|
*/
|
|
288
|
-
(_id: string, activity: PublicActivity): Promise<NonNullablePaths<AddActivityResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `activityId
|
|
288
|
+
(_id: string, activity: PublicActivity): Promise<NonNullablePaths<AddActivityResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `activityId`, 7>>;
|
|
289
289
|
}
|
|
290
290
|
/** @internal */
|
|
291
291
|
declare function updateActivity$1(httpClient: HttpClient): UpdateActivitySignature;
|
|
@@ -294,7 +294,7 @@ interface UpdateActivitySignature {
|
|
|
294
294
|
* Updates an order's activity.
|
|
295
295
|
* @param - Activity info.
|
|
296
296
|
*/
|
|
297
|
-
(identifiers: NonNullablePaths<UpdateActivityIdentifiers, `_id` | `activityId
|
|
297
|
+
(identifiers: NonNullablePaths<UpdateActivityIdentifiers, `_id` | `activityId`, 2>, activity: PublicActivity): Promise<NonNullablePaths<UpdateActivityResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name`, 7>>;
|
|
298
298
|
}
|
|
299
299
|
/** @internal */
|
|
300
300
|
declare function deleteActivity$1(httpClient: HttpClient): DeleteActivitySignature;
|
|
@@ -304,7 +304,7 @@ interface DeleteActivitySignature {
|
|
|
304
304
|
*
|
|
305
305
|
* Only custom activities and merchant comments can be deleted.
|
|
306
306
|
*/
|
|
307
|
-
(identifiers: NonNullablePaths<DeleteActivityIdentifiers, `_id` | `activityId
|
|
307
|
+
(identifiers: NonNullablePaths<DeleteActivityIdentifiers, `_id` | `activityId`, 2>): Promise<NonNullablePaths<DeleteActivityResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name`, 7>>;
|
|
308
308
|
}
|
|
309
309
|
declare function cancelOrder$1(httpClient: HttpClient): CancelOrderSignature;
|
|
310
310
|
interface CancelOrderSignature {
|
|
@@ -315,7 +315,7 @@ interface CancelOrderSignature {
|
|
|
315
315
|
* The `cancelOrder()` function returns a Promise that resolves when the specified order is canceled and the `order.status` field changes to `CANCELED`.
|
|
316
316
|
* @param - Order ID.
|
|
317
317
|
*/
|
|
318
|
-
(_id: string, options?: CancelOrderOptions): Promise<NonNullablePaths<CancelOrderResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name
|
|
318
|
+
(_id: string, options?: CancelOrderOptions): Promise<NonNullablePaths<CancelOrderResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name`, 7> & {
|
|
319
319
|
__applicationErrorsType?: CancelOrderApplicationErrors;
|
|
320
320
|
}>;
|
|
321
321
|
}
|
|
@@ -339,7 +339,7 @@ interface UpdateOrderStatusSignature {
|
|
|
339
339
|
* @param - Order ID.
|
|
340
340
|
* @param - New order status.
|
|
341
341
|
*/
|
|
342
|
-
(orderId: string, status: OrderStatusWithLiterals): Promise<NonNullablePaths<UpdateOrderStatusResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name
|
|
342
|
+
(orderId: string, status: OrderStatusWithLiterals): Promise<NonNullablePaths<UpdateOrderStatusResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name`, 7> & {
|
|
343
343
|
__applicationErrorsType?: UpdateOrderStatusApplicationErrors;
|
|
344
344
|
}>;
|
|
345
345
|
}
|
|
@@ -347,7 +347,7 @@ interface UpdateOrderStatusSignature {
|
|
|
347
347
|
declare function aggregateOrders$1(httpClient: HttpClient): AggregateOrdersSignature;
|
|
348
348
|
interface AggregateOrdersSignature {
|
|
349
349
|
/** */
|
|
350
|
-
(options?: NonNullablePaths<AggregateOrdersOptions, `aggregation
|
|
350
|
+
(options?: NonNullablePaths<AggregateOrdersOptions, `aggregation`, 2>): Promise<AggregateOrdersResponse>;
|
|
351
351
|
}
|
|
352
352
|
declare function bulkUpdateOrderTags$1(httpClient: HttpClient): BulkUpdateOrderTagsSignature;
|
|
353
353
|
interface BulkUpdateOrderTagsSignature {
|
|
@@ -357,7 +357,7 @@ interface BulkUpdateOrderTagsSignature {
|
|
|
357
357
|
* > **Note:** If the same tag is passed to both the `assignTags` and `unassignTags` fields, it will be assigned.
|
|
358
358
|
* @param - IDs of orders to update tags for.
|
|
359
359
|
*/
|
|
360
|
-
(orderIds: string[], options?: BulkUpdateOrderTagsOptions): Promise<NonNullablePaths<BulkUpdateOrderTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures
|
|
360
|
+
(orderIds: string[], options?: BulkUpdateOrderTagsOptions): Promise<NonNullablePaths<BulkUpdateOrderTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
361
361
|
}
|
|
362
362
|
declare const onOrderApproved$1: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
|
|
363
363
|
declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
|
|
@@ -1756,6 +1756,7 @@ var PaymentCollectabilityStatus = /* @__PURE__ */ ((PaymentCollectabilityStatus2
|
|
|
1756
1756
|
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_IS_PENDING"] = "NONCOLLECTABLE_ORDER_IS_PENDING";
|
|
1757
1757
|
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_IS_REJECTED"] = "NONCOLLECTABLE_ORDER_IS_REJECTED";
|
|
1758
1758
|
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS"] = "NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS";
|
|
1759
|
+
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_HAS_CHARGEBACKS"] = "NONCOLLECTABLE_ORDER_HAS_CHARGEBACKS";
|
|
1759
1760
|
return PaymentCollectabilityStatus2;
|
|
1760
1761
|
})(PaymentCollectabilityStatus || {});
|
|
1761
1762
|
var RefundableStatus = /* @__PURE__ */ ((RefundableStatus2) => {
|