@wix/auto_sdk_ecom_orders 1.0.294 → 1.0.296
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-CeSyrIwk.d.ts → ecom-v1-order-orders.universal-DNvjb4f-.d.ts} +1699 -1699
- package/build/cjs/index.d.ts +17 -17
- package/build/cjs/index.js +80 -80
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +80 -80
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1685 -1685
- package/build/cjs/meta.js +80 -80
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{ecom-v1-order-orders.universal-CeSyrIwk.d.mts → ecom-v1-order-orders.universal-DNvjb4f-.d.mts} +1699 -1699
- package/build/es/index.d.mts +17 -17
- package/build/es/index.mjs +80 -80
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +80 -80
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1685 -1685
- package/build/es/meta.mjs +80 -80
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{ecom-v1-order-orders.universal-DEhqrc38.d.ts → ecom-v1-order-orders.universal-D6jbuB39.d.ts} +1867 -1867
- package/build/internal/cjs/index.d.ts +29 -29
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +1841 -1841
- package/build/internal/es/{ecom-v1-order-orders.universal-DEhqrc38.d.mts → ecom-v1-order-orders.universal-D6jbuB39.d.mts} +1867 -1867
- package/build/internal/es/index.d.mts +29 -29
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +1841 -1841
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { O as Order, I as ImportOrderResponse, a as ImportOrderApplicationErrors, S as SetOrderNumberCounterOptions, b as SetOrderNumberCounterResponse, c as SetOrderNumberCounterApplicationErrors, B as BulkDeleteImportedOrdersResponse, P as Price, d as PreparePaymentCollectionOptions, e as PreparePaymentCollectionResponse, f as PreparePaymentCollectionApplicationErrors, G as GetPaymentCollectabilityStatusResponse, R as RecordManuallyCollectedPaymentOptions, g as RecordManuallyCollectedPaymentApplicationErrors, h as PaymentCollectionMarkOrderAsPaidOptions, M as MarkOrderAsPaidResponse, i as PaymentCollectionMarkOrderAsPaidApplicationErrors, j as BulkMarkOrdersAsPaidResponse, k as GetRefundabilityStatusResponse, l as PaymentCollectionCreatePaymentGatewayOrderOptions, C as CreatePaymentGatewayOrderResponse, m as PaymentCollectionCreatePaymentGatewayOrderApplicationErrors, n as ChargeMembershipsOptions, o as PaymentRefund, T as TriggerRefundOptions, p as TriggerRefundResponse, q as TriggerRefundApplicationErrors, V as VoidAuthorizedPaymentsResponse, r as VoidAuthorizedPaymentsApplicationErrors, s as PaymentCapture, t as CaptureAuthorizedPaymentsResponse, u as CaptureAuthorizedPaymentsApplicationErrors, v as GetOrderApplicationErrors, w as OrderSearch, x as SearchOrdersResponse, y as CreateOrderOptions, z as CreateOrderApplicationErrors, U as UpdateOrder, A as UpdateOrderApplicationErrors, D as MaskedOrder, E as BulkUpdateOrdersOptions, F as BulkUpdateOrdersResponse, H as UpdateOrderLineItemIdentifiers, J as UpdateOrderLineItem, K as UpdateOrderLineItemResponse, L as PublicActivity, N as AddActivityResponse, Q as AddActivitiesOptions, W as AddActivitiesResponse, X as UpdateActivityIdentifiers, Y as UpdateActivityResponse, Z as DeleteActivityIdentifiers, _ as DeleteActivityResponse, $ as CancelOrderOptions, a0 as CancelOrderResponse, a1 as CancelOrderApplicationErrors, a2 as OrderStatusWithLiterals, a3 as UpdateOrderStatusResponse, a4 as UpdateOrderStatusApplicationErrors, a5 as AggregateOrdersOptions, a6 as AggregateOrdersResponse, a7 as BulkUpdateOrderTagsOptions, a8 as BulkUpdateOrderTagsResponse, a9 as OrderApprovedEnvelope, aa as OrderCanceledEnvelope, ab as OrderCommittedEnvelope, ac as OrderCreatedEnvelope, ad as OrderFulfilledEnvelope, ae as OrderImportedEnvelope, af as OrderImportedOrderDeletedEnvelope, ag as OrderPaymentStatusUpdatedEnvelope, ah as OrderUpdatedEnvelope } from './ecom-v1-order-orders.universal-
|
|
3
|
-
export { en as AccountInfo, jB as AccountInfoMetadata, eh as ActionEvent, b3 as ActionType, ko as ActionTypeWithLiterals, cp as Activity, cq as ActivityContentOneOf, aB as ActivityType, jW as ActivityTypeWithLiterals, ic as AddActivitiesRequest, ia as AddActivityRequest, hP as AddInternalActivityRequest, i9 as AddInternalActivityResponse, fH as AddToAutomationMigrationPopulationRequest, fI as AddToAutomationMigrationPopulationResponse, dn as AdditionalFee, e5 as AdditionalFeeDelta, e6 as AdditionalFeeDeltaDeltaOneOf, eT as AdditionalFeeRefund, aF as AdditionalFeeSource, j_ as AdditionalFeeSourceWithLiterals, b$ as Address, j6 as AddressDescription, c1 as AddressLocation, b_ as AddressWithContact, ap as AdjustmentType, jL as AdjustmentTypeWithLiterals, iL as AggregateOrdersRequest, gE as AggregatedRefundSummary, fY as ApplicationError, cf as AppliedDiscount, e3 as AppliedDiscountDelta, e4 as AppliedDiscountDeltaDeltaOneOf, cg as AppliedDiscountDiscountSourceOneOf, hq as ArchiveOrderRequest, hr as ArchiveOrderResponse, fa as Asset, aD as AttributionSource, jY as AttributionSourceWithLiterals, gl as AuthorizationActionFailureDetails, gk as AuthorizationCapture, b0 as AuthorizationCaptureStatus, kl as AuthorizationCaptureStatusWithLiterals, gj as AuthorizationDetails, gm as AuthorizationVoid, b1 as AuthorizationVoidStatus, km as AuthorizationVoidStatusWithLiterals, cQ as AuthorizedPaymentCaptured, cP as AuthorizedPaymentCreated, cR as AuthorizedPaymentVoided, dl as Balance, dk as BalanceSummary, jz as BaseEventMetadata, jh as BigDecimalWrapper, bJ as BillingAdjustment, bK as BillingAdjustmentPriceSummary, bI as BillingSettings, fZ as BulkActionMetadata, hu as BulkArchiveOrdersByFilterRequest, hv as BulkArchiveOrdersByFilterResponse, hs as BulkArchiveOrdersRequest, ht as BulkArchiveOrdersResponse, eq as BulkDeleteImportedOrdersRequest, is as BulkMarkAsFulfilledByFilterRequest, it as BulkMarkAsFulfilledByFilterResponse, iq as BulkMarkAsFulfilledRequest, ir as BulkMarkAsFulfilledResponse, iy as BulkMarkAsUnfulfilledByFilterRequest, iz as BulkMarkAsUnfulfilledByFilterResponse, iw as BulkMarkAsUnfulfilledRequest, ix as BulkMarkAsUnfulfilledResponse, fV as BulkMarkOrdersAsPaidRequest, fW as BulkOrderResult, ex as BulkSendBuyerPickupConfirmationEmailsRequest, ey as BulkSendBuyerPickupConfirmationEmailsResponse, eB as BulkSendBuyerShippingConfirmationEmailsRequest, eC as BulkSendBuyerShippingConfirmationEmailsResponse, iA as BulkSetBusinessLocationRequest, iB as BulkSetBusinessLocationResponse, iC as BulkSetBusinessLocationResult, hA as BulkUnArchiveOrdersByFilterRequest, hB as BulkUnArchiveOrdersByFilterResponse, hy as BulkUnArchiveOrdersRequest, hz as BulkUnArchiveOrdersResponse, iP as BulkUpdateOrderTagsRequest, iS as BulkUpdateOrderTagsResult, hg as BulkUpdateOrdersRequest, bW as BuyerInfo, bX as BuyerInfoIdOneOf, hD as BuyerInfoUpdate, gI as CalculateRefundItemRequest, gK as CalculateRefundItemResponse, gH as CalculateRefundRequest, gJ as CalculateRefundResponse, jr as CalculatedTax, jq as CalculatedTaxes, i_ as Cancel, il as CancelOrderRequest, b7 as CanceledReason, ks as CanceledReasonWithLiterals, gw as CanceledStatusDetails, gM as CaptureAuthorizedPaymentsRequest, dm as CashRounding, gv as CashRoundingDetails, bm as CatalogReference, di as ChannelInfo, aE as ChannelType, jZ as ChannelTypeWithLiterals, g3 as ChargeMembershipsRequest, g6 as ChargeMembershipsResponse, gN as ChargeSavedPaymentMethodRequest, gO as ChargeSavedPaymentMethodResponse, aI as ChargeType, k1 as ChargeTypeWithLiterals, go as Chargeback, de as ChargebackCreated, df as ChargebackReversed, b4 as ChargebackStatus, kp as ChargebackStatusWithLiterals, g2 as ChargedBy, bs as Color, hh as CommitDeltasRequest, hp as CommitDeltasResponse, dY as CommittedDiffs, dZ as CommittedDiffsShippingUpdateInfoOneOf, j9 as CommonAddress, ja as CommonAddressStreetOneOf, kF as CommonSearchWithEntityContext, j8 as Company, iZ as Complete, ch as Coupon, h9 as CreateOrderRequest, hd as CreateOrderResponse, g1 as CreatePaymentGatewayOrderRequest, dg as CreatedBy, dh as CreatedByStringOneOf, d3 as CreditCardDetails, gi as CreditCardPaymentMethodDetails, bY as CurrencyConversionDetails, g$ as CursorPaging, h8 as CursorPagingMetadata, h6 as CursorSearch, h7 as CursorSearchPagingMethodOneOf, h2 as Cursors, cr as CustomActivity, dw as CustomAllowedActions, dj as CustomField, bg as CustomFieldGroup, kB as CustomFieldGroupWithLiterals, jw as CustomFieldValue, j3 as Customer, bP as DecimalQuantity, bQ as DecimalQuantityUnitOneOf, e0 as DecimalQuantityUpdate, b8 as DeclinedReason, kt as DeclinedReasonWithLiterals, gx as DeclinedStatusDetails, iN as DecrementData, iM as DecrementItemsQuantityRequest, iO as DecrementItemsQuantityResponse, fN as DelayedCaptureSettings, ie as DeleteActivityRequest, dH as DeleteByFilterOperation, dG as DeleteByIdsOperation, fe as DeleteContext, aR as DeleteStatus, ka as DeleteStatusWithLiterals, c5 as DeliveryLogistics, c6 as DeliveryLogisticsAddressOneOf, c9 as DeliveryTimeSlot, aK as DeltaPaymentOptionType, k3 as DeltaPaymentOptionTypeWithLiterals, jy as Deposit, bi as DepositType, kD as DepositTypeWithLiterals, bn as DescriptionLine, bp as DescriptionLineDescriptionLineValueOneOf, bq as DescriptionLineName, ai as DescriptionLineType, jE as DescriptionLineTypeWithLiterals, bo as DescriptionLineValueOneOf, gS as DiffmatokyPayload, bC as DigitalFile, bv as Dimensions, aj as DimensionsUnit, jF as DimensionsUnitWithLiterals, jo as Discount, jp as DiscountOneDiscountTypeOneOf, az as DiscountReason, jU as DiscountReasonWithLiterals, ck as DiscountRule, cl as DiscountRuleName, ay as DiscountType, jT as DiscountTypeWithLiterals, eb as DomainEvent, ec as DomainEventBodyOneOf, hX as DownloadLinkSent, cx as DraftOrderChangesApplied, e7 as DraftOrderCommitSettings, hi as DraftOrderDiffs, hl as DraftOrderDiffsBillingUpdateInfoOneOf, hk as DraftOrderDiffsBuyerUpdateInfoOneOf, hm as DraftOrderDiffsRecipientUpdateInfoOneOf, hj as DraftOrderDiffsShippingUpdateInfoOneOf, fO as Duration, aU as DurationUnit, kd as DurationUnitWithLiterals, fD as EditorlessAssigned, fE as EditorlessUnassigned, j4 as Email, i4 as EmailEdited, ei as Empty, ed as EntityCreatedEvent, eg as EntityDeletedEvent, ef as EntityUpdatedEvent, gT as ErrorInformation, jA as EventMetadata, bS as ExtendedFields, db as ExternalReceipt, gu as ExternalReceiptInfo, bt as FocalPoint, dz as FormIdentifier, dy as FormInfo, bH as FreeTrialPeriod, i2 as FulfillerEmailSent, at as FulfillmentStatus, dV as FulfillmentStatusUpdated, jP as FulfillmentStatusWithLiterals, dp as FulfillmentStatusesAggregate, c2 as FullAddressContactDetails, gs as FutureMembershipDetails, gU as GetOrderRequest, gV as GetOrderResponse, fP as GetPaymentCollectabilityStatusRequest, f_ as GetRefundabilityStatusRequest, iJ as GetShipmentsRequest, iK as GetShipmentsResponse, gq as GiftCardPaymentDetails, cW as GiftCardPaymentRefund, fF as HasCustomEmailConfigurationsRequest, fG as HasCustomEmailConfigurationsResponse, j1 as IdAndVersion, el as IdentificationData, em as IdentificationDataIdOneOf, eo as ImportOrderRequest, dT as ImportedOrderDeleted, hQ as InternalActivity, hR as InternalActivityContentOneOf, dE as InternalDocument, dI as InternalDocumentUpdateByFilterOperation, dF as InternalDocumentUpdateOperation, gW as InternalQueryOrdersRequest, h0 as InternalQueryOrdersResponse, dJ as InternalUpdateExistingOperation, aL as InventoryAction, k4 as InventoryActionWithLiterals, e8 as InventoryUpdateDetails, i0 as InvoiceAdded, je as InvoiceDates, jv as InvoiceDynamicPriceTotals, j2 as InvoiceFields, i1 as InvoiceSent, j0 as InvoiceSentEvent, bj as InvoiceStatus, kE as InvoiceStatusWithLiterals, jt as InvoicesPayment, fJ as IsInAutomationMigrationPopulationRequest, fK as IsInAutomationMigrationPopulationResponse, d_ as ItemChangedDetails, cn as ItemCombination, co as ItemCombinationLineItem, fX as ItemMetadata, bU as ItemModifier, bz as ItemTaxFullDetails, bw as ItemType, bx as ItemTypeItemTypeDataOneOf, ak as ItemTypePreset, jG as ItemTypePresetWithLiterals, jn as ItemizedFee, am as JurisdictionType, jI as JurisdictionTypeWithLiterals, jg as LineItem, cJ as LineItemAmount, cA as LineItemChanges, e1 as LineItemDelta, e2 as LineItemDeltaDeltaOneOf, cE as LineItemDescriptionLineChange, cm as LineItemDiscount, cw as LineItemExchangeData, jk as LineItemMetaData, cF as LineItemModifiersChange, cC as LineItemPriceChange, cD as LineItemProductNameChange, cB as LineItemQuantityChange, aA as LineItemQuantityChangeType, jV as LineItemQuantityChangeTypeWithLiterals, eS as LineItemRefund, gG as LineItemRefundSummary, ji as LineItemTax, bB as LineItemTaxBreakdown, bA as LineItemTaxInfo, ih as LineItemUpdate, jf as LineItems, jl as Locale, ds as Location, bM as LocationAndQuantity, cK as ManagedAdditionalFee, cH as ManagedDiscount, cG as ManagedLineItem, aZ as ManuallyRefundableReason, ki as ManuallyRefundableReasonWithLiterals, io as MarkAsFulfilledRequest, ip as MarkAsFulfilledResponse, iu as MarkAsUnfulfilledRequest, iv as MarkAsUnfulfilledResponse, fU as MarkOrderAsPaidRequest, ij as MarkOrderAsSeenByHumanRequest, ik as MarkOrderAsSeenByHumanResponse, hN as MaskedOrderLineItem, ar as MeasurementUnit, jN as MeasurementUnitWithLiterals, g4 as MembershipChargeItem, g5 as MembershipName, gr as MembershipPaymentDetails, cX as MembershipPaymentRefund, b5 as MembershipPaymentStatus, kq as MembershipPaymentStatusWithLiterals, cs as MerchantComment, ci as MerchantDiscount, cj as MerchantDiscountMerchantDiscountReasonOneOf, ek as MessageEnvelope, ju as MetaData, f8 as MetaSiteSpecialEvent, f9 as MetaSiteSpecialEventPayloadOneOf, bT as ModifierGroup, aQ as Namespace, fo as NamespaceChanged, k9 as NamespaceWithLiterals, cv as NewExchangeOrderCreated, aY as NonRefundableReason, kh as NonRefundableReasonWithLiterals, ft as OdeditorAssigned, fu as OdeditorUnassigned, aG as OrderActionType, j$ as OrderActionTypeWithLiterals, aC as OrderActivityTypeEnumActivityType, jX as OrderActivityTypeEnumActivityTypeWithLiterals, bc as OrderApprovalStrategy, kx as OrderApprovalStrategyWithLiterals, dN as OrderApproved, hW as OrderCanceled, dW as OrderCanceledEventOrderCanceled, cy as OrderChange, cz as OrderChangeValueOneOf, hc as OrderCreateNotifications, cu as OrderCreatedFromExchange, ha as OrderCreationSettings, hb as OrderCreationSettingsEditableByOneOf, dX as OrderDeltasCommitted, hU as OrderFulfilled, dS as OrderImported, dQ as OrderItemsRestocked, bk as OrderLineItem, d$ as OrderLineItemChangedDetails, hV as OrderNotFulfilled, hT as OrderPaid, i6 as OrderPartiallyPaid, i7 as OrderPending, hS as OrderPlaced, ct as OrderRefunded, i8 as OrderRejected, dP as OrderRejectedEventOrderRejected, jC as OrderSearchSpec, dt as OrderSettings, du as OrderSettingsAllowedActionsOneOf, dv as OrderSettingsEditableByOneOf, ax as OrderStatus, ce as OrderTaxBreakdown, cd as OrderTaxInfo, gb as OrderTransactions, dO as OrdersExperiments, aS as Origin, kb as OriginWithLiterals, dx as OwnerApps, gc as Payment, d4 as PaymentCanceled, d5 as PaymentCanceledPaymentDetailsOneOf, aV as PaymentCollectabilityStatus, ke as PaymentCollectabilityStatusWithLiterals, d6 as PaymentDeclined, d7 as PaymentDeclinedPaymentDetailsOneOf, gp as PaymentMethodName, al as PaymentOptionType, jH as PaymentOptionTypeWithLiterals, gd as PaymentPaymentDetailsOneOf, c$ as PaymentPending, d0 as PaymentPendingPaymentDetailsOneOf, ge as PaymentReceiptInfoOneOf, cZ as PaymentRefundFailed, cY as PaymentRefunded, b6 as PaymentStatus, gz as PaymentStatusDetails, gf as PaymentStatusDetailsOneOf, gA as PaymentStatusDetailsStatusDetailsOneOf, as as PaymentStatusEnumPaymentStatus, jO as PaymentStatusEnumPaymentStatusWithLiterals, dU as PaymentStatusUpdated, kr as PaymentStatusWithLiterals, js as Payments, j7 as Phone, bu as PhysicalProperties, fv as PicassoAssigned, fw as PicassoUnassigned, c8 as PickupAddress, c7 as PickupDetails, aw as PickupMethod, jS as PickupMethodWithLiterals, i5 as PickupReadyEmailSent, bd as Placement, ky as PlacementWithLiterals, br as PlainTextValue, dB as PlatformFee, dA as PlatformFeeSummary, g_ as PlatformPaging, h1 as PlatformPagingMetadata, gX as PlatformQuery, gY as PlatformQueryPagingMethodOneOf, aW as PredefinedPaymentMethod, kf as PredefinedPaymentMethodWithLiterals, fL as PreparePaymentCollectionRequest, f0 as PreviewBuyerConfirmationEmailRequest, f1 as PreviewBuyerConfirmationEmailResponse, e_ as PreviewBuyerPaymentsReceivedEmailRequest, e$ as PreviewBuyerPaymentsReceivedEmailResponse, f2 as PreviewBuyerPickupConfirmationEmailRequest, f3 as PreviewBuyerPickupConfirmationEmailResponse, eW as PreviewCancelEmailRequest, eX as PreviewCancelEmailResponse, eY as PreviewCancelRefundEmailRequest, eZ as PreviewCancelRefundEmailResponse, eN as PreviewEmailByTypeRequest, eO as PreviewEmailByTypeResponse, aN as PreviewEmailType, k6 as PreviewEmailTypeWithLiterals, eP as PreviewRefundEmailRequest, eV as PreviewRefundEmailResponse, f6 as PreviewResendDownloadLinksEmailRequest, f7 as PreviewResendDownloadLinksEmailResponse, f4 as PreviewShippingConfirmationEmailRequest, f5 as PreviewShippingConfirmationEmailResponse, bL as PriceDescription, bZ as PriceSummary, bl as ProductName, ao as ProductPeriodAlignment, jK as ProductPeriodAlignmentWithLiterals, ib as PublicActivityContentOneOf, h3 as QueryOrderRequest, h4 as QueryOrderResponse, j5 as QuotesAddress, b2 as Reason, kn as ReasonWithLiterals, d8 as ReceiptCreated, d9 as ReceiptCreatedReceiptInfoOneOf, dc as ReceiptSent, dd as ReceiptSentReceiptInfoOneOf, fQ as RecordManuallyCollectedPaymentRequest, fT as RecordManuallyCollectedPaymentResponse, fM as RedirectUrls, gB as Refund, eQ as RefundDetails, cS as RefundInitiated, eR as RefundItem, gF as RefundItemsBreakdown, g8 as RefundSideEffects, ba as RefundStatus, gD as RefundStatusInfo, kv as RefundStatusWithLiterals, gC as RefundTransaction, f$ as Refundability, g0 as RefundabilityAdditionalRefundabilityInfoOneOf, aX as RefundableStatus, kg as RefundableStatusWithLiterals, c_ as RefundedAsStoreCredit, cT as RefundedPayment, cU as RefundedPaymentKindOneOf, d1 as RegularPayment, gg as RegularPaymentDetails, gh as RegularPaymentDetailsPaymentMethodDetailsOneOf, d2 as RegularPaymentPaymentMethodDetailsOneOf, cV as RegularPaymentRefund, i$ as Reschedule, g9 as RestockInfo, ga as RestockItem, by as RestockLocation, a_ as RestockType, kj as RestockTypeWithLiterals, ee as RestoreInfo, cO as SavedPaymentMethod, aT as ScheduledAction, kc as ScheduledActionWithLiterals, h5 as SearchOrdersRequest, er as SendBuyerConfirmationEmailRequest, es as SendBuyerConfirmationEmailResponse, et as SendBuyerPaymentsReceivedEmailRequest, eu as SendBuyerPaymentsReceivedEmailResponse, ev as SendBuyerPickupConfirmationEmailRequest, ew as SendBuyerPickupConfirmationEmailResponse, ez as SendBuyerShippingConfirmationEmailRequest, eA as SendBuyerShippingConfirmationEmailResponse, eF as SendCancelRefundEmailRequest, eG as SendCancelRefundEmailResponse, eJ as SendFulfillmentEmailRequest, eK as SendFulfillmentEmailResponse, eD as SendMerchantOrderReceivedNotificationRequest, eE as SendMerchantOrderReceivedNotificationResponse, eL as SendMerchantOrderReceivedPushRequest, eM as SendMerchantOrderReceivedPushResponse, iT as SendOrderUpdatedDomainEventRequest, iU as SendOrderUpdatedDomainEventResponse, eH as SendRefundEmailRequest, eI as SendRefundEmailResponse, bV as ServiceProperties, fk as ServiceProvisioned, fl as ServiceRemoved, ep as SetOrderNumberCounterRequest, i3 as ShippingAddressEdited, h$ as ShippingConfirmationEmailSent, jd as ShippingContactDetails, cN as ShippingInformation, cM as ShippingInformationChange, ca as ShippingPrice, eU as ShippingRefund, cb as ShippingRegion, fb as SiteCreated, aP as SiteCreatedContext, k8 as SiteCreatedContextWithLiterals, fd as SiteDeleted, fn as SiteHardDeleted, fi as SiteMarkedAsTemplate, fj as SiteMarkedAsWixSite, fg as SitePublished, fs as SitePurgedExternally, fm as SiteRenamed, fc as SiteTransferred, ff as SiteUndeleted, fh as SiteUnpublished, fr as SiteUrlChanged, bb as SortOrder, kw as SortOrderWithLiterals, gZ as Sorting, jj as Source, bf as SourceType, kA as SourceTypeWithLiterals, aH as SpecificItemsCouponBehavior, k0 as SpecificItemsCouponBehaviorWithLiterals, jc as StandardDetails, aO as State, k7 as StateWithLiterals, c0 as StreetAddress, fp as StudioAssigned, fz as StudioTwoAssigned, fA as StudioTwoUnassigned, fq as StudioUnassigned, jb as Subdivision, be as SubdivisionType, kz as SubdivisionTypeWithLiterals, bF as SubscriptionDescription, an as SubscriptionFrequency, jJ as SubscriptionFrequencyWithLiterals, bD as SubscriptionInfo, bG as SubscriptionSettings, bE as SubscriptionTitle, dr as TagList, dq as Tags, iR as TagsTagList, iQ as TagsTags, iV as Task, iX as TaskAction, iY as TaskActionActionOneOf, iW as TaskKey, cc as TaxSummary, bN as TaxableAddress, bO as TaxableAddressTaxableAddressDataOneOf, aq as TaxableAddressType, jM as TaxableAddressTypeWithLiterals, jm as TotalPrice, cL as TotalPriceChange, h_ as TrackingLinkAdded, hY as TrackingNumberAdded, hZ as TrackingNumberEdited, a$ as TransactionStatus, kk as TransactionStatusWithLiterals, bR as TranslatableString, cI as TranslatedValue, g7 as TriggerRefundRequest, ej as TriggerReindexOrderRequest, e9 as TriggerReindexRequest, ea as TriggerReindexResponse, hw as UnArchiveOrderRequest, hx as UnArchiveOrderResponse, id as UpdateActivityRequest, hJ as UpdateBillingContactDetailsRequest, hK as UpdateBillingContactDetailsResponse, hF as UpdateBuyerEmailRequest, hG as UpdateBuyerEmailResponse, hC as UpdateBuyerInfoRequest, hE as UpdateBuyerInfoResponse, dC as UpdateInternalDocumentsEvent, dD as UpdateInternalDocumentsEventOperationOneOf, ig as UpdateLineItemsDescriptionLinesRequest, ii as UpdateLineItemsDescriptionLinesResponse, hL as UpdateOrderLineItemRequest, hM as UpdateOrderLineItemsRequest, hO as UpdateOrderLineItemsResponse, he as UpdateOrderRequest, hf as UpdateOrderResponse, hH as UpdateOrderShippingAddressRequest, hI as UpdateOrderShippingAddressResponse, im as UpdateOrderStatusRequest, fR as UserDefinedPaymentMethodName, fS as UserDefinedPaymentMethodNameKindOneOf, fC as UserDomainMediaDisabled, fB as UserDomainMediaEnabled, iF as V1BulkMarkOrdersAsPaidRequest, iG as V1BulkMarkOrdersAsPaidResponse, iH as V1CreatePaymentGatewayOrderRequest, iI as V1CreatePaymentGatewayOrderResponse, hn as V1LineItemDelta, ho as V1LineItemDeltaDeltaOneOf, iD as V1MarkOrderAsPaidRequest, iE as V1MarkOrderAsPaidResponse, dR as V1RestockItem, gn as V1ScheduledAction, c4 as V1ShippingInformation, gR as V1TriggerReindexOrderRequest, gP as V1TriggerReindexRequest, gQ as V1TriggerReindexResponse, jx as Value, bh as ValueType, kC as ValueTypeWithLiterals, c3 as VatId, av as VatType, jR as VatTypeWithLiterals, dL as VersionedDeleteByIdsOperation, dM as VersionedDocumentId, dK as VersionedDocumentUpdateOperation, aJ as VersioningMode, k2 as VersioningModeWithLiterals, gL as VoidAuthorizedPaymentsRequest, b9 as VoidedReason, ku as VoidedReasonWithLiterals, gy as VoidedStatusDetails, aM as WebhookIdentityType, k5 as WebhookIdentityTypeWithLiterals, au as WeightUnit, jQ as WeightUnitWithLiterals, da as WixReceipt, gt as WixReceiptInfo, fx as WixelAssigned, fy as WixelUnassigned, jD as utils } from './ecom-v1-order-orders.universal-DEhqrc38.mjs';
|
|
2
|
+
import { O as Order, I as ImportOrderResponse, a as ImportOrderApplicationErrors, S as SetOrderNumberCounterOptions, b as SetOrderNumberCounterResponse, c as SetOrderNumberCounterApplicationErrors, B as BulkDeleteImportedOrdersResponse, P as Price, d as PreparePaymentCollectionOptions, e as PreparePaymentCollectionResponse, f as PreparePaymentCollectionApplicationErrors, G as GetPaymentCollectabilityStatusResponse, R as RecordManuallyCollectedPaymentOptions, g as RecordManuallyCollectedPaymentApplicationErrors, h as PaymentCollectionMarkOrderAsPaidOptions, M as MarkOrderAsPaidResponse, i as PaymentCollectionMarkOrderAsPaidApplicationErrors, j as BulkMarkOrdersAsPaidResponse, k as GetRefundabilityStatusResponse, l as PaymentCollectionCreatePaymentGatewayOrderOptions, C as CreatePaymentGatewayOrderResponse, m as PaymentCollectionCreatePaymentGatewayOrderApplicationErrors, n as ChargeMembershipsOptions, o as PaymentRefund, T as TriggerRefundOptions, p as TriggerRefundResponse, q as TriggerRefundApplicationErrors, V as VoidAuthorizedPaymentsResponse, r as VoidAuthorizedPaymentsApplicationErrors, s as PaymentCapture, t as CaptureAuthorizedPaymentsResponse, u as CaptureAuthorizedPaymentsApplicationErrors, v as GetOrderApplicationErrors, w as OrderSearch, x as SearchOrdersResponse, y as CreateOrderOptions, z as CreateOrderApplicationErrors, U as UpdateOrder, A as UpdateOrderApplicationErrors, D as MaskedOrder, E as BulkUpdateOrdersOptions, F as BulkUpdateOrdersResponse, H as UpdateOrderLineItemIdentifiers, J as UpdateOrderLineItem, K as UpdateOrderLineItemResponse, L as PublicActivity, N as AddActivityResponse, Q as AddActivitiesOptions, W as AddActivitiesResponse, X as UpdateActivityIdentifiers, Y as UpdateActivityResponse, Z as DeleteActivityIdentifiers, _ as DeleteActivityResponse, $ as CancelOrderOptions, a0 as CancelOrderResponse, a1 as CancelOrderApplicationErrors, a2 as OrderStatusWithLiterals, a3 as UpdateOrderStatusResponse, a4 as UpdateOrderStatusApplicationErrors, a5 as AggregateOrdersOptions, a6 as AggregateOrdersResponse, a7 as BulkUpdateOrderTagsOptions, a8 as BulkUpdateOrderTagsResponse, a9 as OrderApprovedEnvelope, aa as OrderCanceledEnvelope, ab as OrderCommittedEnvelope, ac as OrderCreatedEnvelope, ad as OrderFulfilledEnvelope, ae as OrderImportedEnvelope, af as OrderImportedOrderDeletedEnvelope, ag as OrderPaymentStatusUpdatedEnvelope, ah as OrderUpdatedEnvelope } from './ecom-v1-order-orders.universal-D6jbuB39.mjs';
|
|
3
|
+
export { en as AccountInfo, jB as AccountInfoMetadata, eh as ActionEvent, aZ as ActionType, ki as ActionTypeWithLiterals, cp as Activity, cq as ActivityContentOneOf, aB as ActivityType, jW as ActivityTypeWithLiterals, ic as AddActivitiesRequest, ia as AddActivityRequest, hP as AddInternalActivityRequest, i9 as AddInternalActivityResponse, gO as AddToAutomationMigrationPopulationRequest, gP as AddToAutomationMigrationPopulationResponse, dn as AdditionalFee, e5 as AdditionalFeeDelta, e6 as AdditionalFeeDeltaDeltaOneOf, eW as AdditionalFeeRefund, aF as AdditionalFeeSource, j_ as AdditionalFeeSourceWithLiterals, b$ as Address, j6 as AddressDescription, c1 as AddressLocation, b_ as AddressWithContact, ap as AdjustmentType, jL as AdjustmentTypeWithLiterals, iL as AggregateOrdersRequest, fs as AggregatedRefundSummary, eH as ApplicationError, cf as AppliedDiscount, e3 as AppliedDiscountDelta, e4 as AppliedDiscountDeltaDeltaOneOf, cg as AppliedDiscountDiscountSourceOneOf, hq as ArchiveOrderRequest, hr as ArchiveOrderResponse, gh as Asset, aD as AttributionSource, jY as AttributionSourceWithLiterals, f9 as AuthorizationActionFailureDetails, f8 as AuthorizationCapture, aW as AuthorizationCaptureStatus, kf as AuthorizationCaptureStatusWithLiterals, f7 as AuthorizationDetails, fa as AuthorizationVoid, aX as AuthorizationVoidStatus, kg as AuthorizationVoidStatusWithLiterals, cQ as AuthorizedPaymentCaptured, cP as AuthorizedPaymentCreated, cR as AuthorizedPaymentVoided, dl as Balance, dk as BalanceSummary, jz as BaseEventMetadata, jh as BigDecimalWrapper, bJ as BillingAdjustment, bK as BillingAdjustmentPriceSummary, bI as BillingSettings, eI as BulkActionMetadata, hu as BulkArchiveOrdersByFilterRequest, hv as BulkArchiveOrdersByFilterResponse, hs as BulkArchiveOrdersRequest, ht as BulkArchiveOrdersResponse, eq as BulkDeleteImportedOrdersRequest, is as BulkMarkAsFulfilledByFilterRequest, it as BulkMarkAsFulfilledByFilterResponse, iq as BulkMarkAsFulfilledRequest, ir as BulkMarkAsFulfilledResponse, iy as BulkMarkAsUnfulfilledByFilterRequest, iz as BulkMarkAsUnfulfilledByFilterResponse, iw as BulkMarkAsUnfulfilledRequest, ix as BulkMarkAsUnfulfilledResponse, eE as BulkMarkOrdersAsPaidRequest, eF as BulkOrderResult, fJ as BulkSendBuyerPickupConfirmationEmailsRequest, fK as BulkSendBuyerPickupConfirmationEmailsResponse, fN as BulkSendBuyerShippingConfirmationEmailsRequest, fO as BulkSendBuyerShippingConfirmationEmailsResponse, iA as BulkSetBusinessLocationRequest, iB as BulkSetBusinessLocationResponse, iC as BulkSetBusinessLocationResult, hA as BulkUnArchiveOrdersByFilterRequest, hB as BulkUnArchiveOrdersByFilterResponse, hy as BulkUnArchiveOrdersRequest, hz as BulkUnArchiveOrdersResponse, iP as BulkUpdateOrderTagsRequest, iS as BulkUpdateOrderTagsResult, hg as BulkUpdateOrdersRequest, bW as BuyerInfo, bX as BuyerInfoIdOneOf, hD as BuyerInfoUpdate, fw as CalculateRefundItemRequest, fy as CalculateRefundItemResponse, fv as CalculateRefundRequest, fx as CalculateRefundResponse, jr as CalculatedTax, jq as CalculatedTaxes, i_ as Cancel, il as CancelOrderRequest, b1 as CanceledReason, km as CanceledReasonWithLiterals, fk as CanceledStatusDetails, fA as CaptureAuthorizedPaymentsRequest, dm as CashRounding, fj as CashRoundingDetails, bm as CatalogReference, di as ChannelInfo, aE as ChannelType, jZ as ChannelTypeWithLiterals, eO as ChargeMembershipsRequest, eR as ChargeMembershipsResponse, fB as ChargeSavedPaymentMethodRequest, fC as ChargeSavedPaymentMethodResponse, aI as ChargeType, k1 as ChargeTypeWithLiterals, fc as Chargeback, de as ChargebackCreated, df as ChargebackReversed, a_ as ChargebackStatus, kj as ChargebackStatusWithLiterals, eN as ChargedBy, bs as Color, hh as CommitDeltasRequest, hp as CommitDeltasResponse, dY as CommittedDiffs, dZ as CommittedDiffsShippingUpdateInfoOneOf, j9 as CommonAddress, ja as CommonAddressStreetOneOf, kF as CommonSearchWithEntityContext, j8 as Company, iZ as Complete, ch as Coupon, h9 as CreateOrderRequest, hd as CreateOrderResponse, eM as CreatePaymentGatewayOrderRequest, dg as CreatedBy, dh as CreatedByStringOneOf, d3 as CreditCardDetails, f6 as CreditCardPaymentMethodDetails, bY as CurrencyConversionDetails, g$ as CursorPaging, h8 as CursorPagingMetadata, h6 as CursorSearch, h7 as CursorSearchPagingMethodOneOf, h2 as Cursors, cr as CustomActivity, dw as CustomAllowedActions, dj as CustomField, bg as CustomFieldGroup, kB as CustomFieldGroupWithLiterals, jw as CustomFieldValue, j3 as Customer, bP as DecimalQuantity, bQ as DecimalQuantityUnitOneOf, e0 as DecimalQuantityUpdate, b2 as DeclinedReason, kn as DeclinedReasonWithLiterals, fl as DeclinedStatusDetails, iN as DecrementData, iM as DecrementItemsQuantityRequest, iO as DecrementItemsQuantityResponse, ew as DelayedCaptureSettings, ie as DeleteActivityRequest, dH as DeleteByFilterOperation, dG as DeleteByIdsOperation, gl as DeleteContext, b9 as DeleteStatus, ku as DeleteStatusWithLiterals, c5 as DeliveryLogistics, c6 as DeliveryLogisticsAddressOneOf, c9 as DeliveryTimeSlot, aK as DeltaPaymentOptionType, k3 as DeltaPaymentOptionTypeWithLiterals, jy as Deposit, bi as DepositType, kD as DepositTypeWithLiterals, bn as DescriptionLine, bp as DescriptionLineDescriptionLineValueOneOf, bq as DescriptionLineName, ai as DescriptionLineType, jE as DescriptionLineTypeWithLiterals, bo as DescriptionLineValueOneOf, gS as DiffmatokyPayload, bC as DigitalFile, bv as Dimensions, aj as DimensionsUnit, jF as DimensionsUnitWithLiterals, jo as Discount, jp as DiscountOneDiscountTypeOneOf, az as DiscountReason, jU as DiscountReasonWithLiterals, ck as DiscountRule, cl as DiscountRuleName, ay as DiscountType, jT as DiscountTypeWithLiterals, eb as DomainEvent, ec as DomainEventBodyOneOf, hX as DownloadLinkSent, cx as DraftOrderChangesApplied, e7 as DraftOrderCommitSettings, hi as DraftOrderDiffs, hl as DraftOrderDiffsBillingUpdateInfoOneOf, hk as DraftOrderDiffsBuyerUpdateInfoOneOf, hm as DraftOrderDiffsRecipientUpdateInfoOneOf, hj as DraftOrderDiffsShippingUpdateInfoOneOf, ex as Duration, aO as DurationUnit, k7 as DurationUnitWithLiterals, gK as EditorlessAssigned, gL as EditorlessUnassigned, j4 as Email, i4 as EmailEdited, ei as Empty, ed as EntityCreatedEvent, eg as EntityDeletedEvent, ef as EntityUpdatedEvent, gT as ErrorInformation, jA as EventMetadata, bS as ExtendedFields, db as ExternalReceipt, fi as ExternalReceiptInfo, bt as FocalPoint, dz as FormIdentifier, dy as FormInfo, bH as FreeTrialPeriod, i2 as FulfillerEmailSent, at as FulfillmentStatus, dV as FulfillmentStatusUpdated, jP as FulfillmentStatusWithLiterals, dp as FulfillmentStatusesAggregate, c2 as FullAddressContactDetails, fg as FutureMembershipDetails, gU as GetOrderRequest, gV as GetOrderResponse, ey as GetPaymentCollectabilityStatusRequest, eJ as GetRefundabilityStatusRequest, iJ as GetShipmentsRequest, iK as GetShipmentsResponse, fe as GiftCardPaymentDetails, cW as GiftCardPaymentRefund, gM as HasCustomEmailConfigurationsRequest, gN as HasCustomEmailConfigurationsResponse, j1 as IdAndVersion, el as IdentificationData, em as IdentificationDataIdOneOf, eo as ImportOrderRequest, dT as ImportedOrderDeleted, hQ as InternalActivity, hR as InternalActivityContentOneOf, dE as InternalDocument, dI as InternalDocumentUpdateByFilterOperation, dF as InternalDocumentUpdateOperation, gW as InternalQueryOrdersRequest, h0 as InternalQueryOrdersResponse, dJ as InternalUpdateExistingOperation, aL as InventoryAction, k4 as InventoryActionWithLiterals, e8 as InventoryUpdateDetails, i0 as InvoiceAdded, je as InvoiceDates, jv as InvoiceDynamicPriceTotals, j2 as InvoiceFields, i1 as InvoiceSent, j0 as InvoiceSentEvent, bj as InvoiceStatus, kE as InvoiceStatusWithLiterals, jt as InvoicesPayment, gQ as IsInAutomationMigrationPopulationRequest, gR as IsInAutomationMigrationPopulationResponse, d_ as ItemChangedDetails, cn as ItemCombination, co as ItemCombinationLineItem, eG as ItemMetadata, bU as ItemModifier, bz as ItemTaxFullDetails, bw as ItemType, bx as ItemTypeItemTypeDataOneOf, ak as ItemTypePreset, jG as ItemTypePresetWithLiterals, jn as ItemizedFee, am as JurisdictionType, jI as JurisdictionTypeWithLiterals, jg as LineItem, cJ as LineItemAmount, cA as LineItemChanges, e1 as LineItemDelta, e2 as LineItemDeltaDeltaOneOf, cE as LineItemDescriptionLineChange, cm as LineItemDiscount, cw as LineItemExchangeData, jk as LineItemMetaData, cF as LineItemModifiersChange, cC as LineItemPriceChange, cD as LineItemProductNameChange, cB as LineItemQuantityChange, aA as LineItemQuantityChangeType, jV as LineItemQuantityChangeTypeWithLiterals, eV as LineItemRefund, fu as LineItemRefundSummary, ji as LineItemTax, bB as LineItemTaxBreakdown, bA as LineItemTaxInfo, ih as LineItemUpdate, jf as LineItems, jl as Locale, ds as Location, bM as LocationAndQuantity, cK as ManagedAdditionalFee, cH as ManagedDiscount, cG as ManagedLineItem, aT as ManuallyRefundableReason, kc as ManuallyRefundableReasonWithLiterals, io as MarkAsFulfilledRequest, ip as MarkAsFulfilledResponse, iu as MarkAsUnfulfilledRequest, iv as MarkAsUnfulfilledResponse, eD as MarkOrderAsPaidRequest, ij as MarkOrderAsSeenByHumanRequest, ik as MarkOrderAsSeenByHumanResponse, hN as MaskedOrderLineItem, ar as MeasurementUnit, jN as MeasurementUnitWithLiterals, eP as MembershipChargeItem, eQ as MembershipName, ff as MembershipPaymentDetails, cX as MembershipPaymentRefund, a$ as MembershipPaymentStatus, kk as MembershipPaymentStatusWithLiterals, cs as MerchantComment, ci as MerchantDiscount, cj as MerchantDiscountMerchantDiscountReasonOneOf, ek as MessageEnvelope, ju as MetaData, gf as MetaSiteSpecialEvent, gg as MetaSiteSpecialEventPayloadOneOf, bT as ModifierGroup, b8 as Namespace, gv as NamespaceChanged, kt as NamespaceWithLiterals, cv as NewExchangeOrderCreated, aS as NonRefundableReason, kb as NonRefundableReasonWithLiterals, gA as OdeditorAssigned, gB as OdeditorUnassigned, aG as OrderActionType, j$ as OrderActionTypeWithLiterals, aC as OrderActivityTypeEnumActivityType, jX as OrderActivityTypeEnumActivityTypeWithLiterals, bc as OrderApprovalStrategy, kx as OrderApprovalStrategyWithLiterals, dN as OrderApproved, hW as OrderCanceled, dW as OrderCanceledEventOrderCanceled, cy as OrderChange, cz as OrderChangeValueOneOf, hc as OrderCreateNotifications, cu as OrderCreatedFromExchange, ha as OrderCreationSettings, hb as OrderCreationSettingsEditableByOneOf, dX as OrderDeltasCommitted, hU as OrderFulfilled, dS as OrderImported, dQ as OrderItemsRestocked, bk as OrderLineItem, d$ as OrderLineItemChangedDetails, hV as OrderNotFulfilled, hT as OrderPaid, i6 as OrderPartiallyPaid, i7 as OrderPending, hS as OrderPlaced, ct as OrderRefunded, i8 as OrderRejected, dP as OrderRejectedEventOrderRejected, jC as OrderSearchSpec, dt as OrderSettings, du as OrderSettingsAllowedActionsOneOf, dv as OrderSettingsEditableByOneOf, ax as OrderStatus, ce as OrderTaxBreakdown, cd as OrderTaxInfo, e$ as OrderTransactions, dO as OrdersExperiments, ba as Origin, kv as OriginWithLiterals, dx as OwnerApps, f0 as Payment, d4 as PaymentCanceled, d5 as PaymentCanceledPaymentDetailsOneOf, aP as PaymentCollectabilityStatus, k8 as PaymentCollectabilityStatusWithLiterals, d6 as PaymentDeclined, d7 as PaymentDeclinedPaymentDetailsOneOf, fd as PaymentMethodName, al as PaymentOptionType, jH as PaymentOptionTypeWithLiterals, f1 as PaymentPaymentDetailsOneOf, c$ as PaymentPending, d0 as PaymentPendingPaymentDetailsOneOf, f2 as PaymentReceiptInfoOneOf, cZ as PaymentRefundFailed, cY as PaymentRefunded, b0 as PaymentStatus, fn as PaymentStatusDetails, f3 as PaymentStatusDetailsOneOf, fo as PaymentStatusDetailsStatusDetailsOneOf, as as PaymentStatusEnumPaymentStatus, jO as PaymentStatusEnumPaymentStatusWithLiterals, dU as PaymentStatusUpdated, kl as PaymentStatusWithLiterals, js as Payments, j7 as Phone, bu as PhysicalProperties, gC as PicassoAssigned, gD as PicassoUnassigned, c8 as PickupAddress, c7 as PickupDetails, aw as PickupMethod, jS as PickupMethodWithLiterals, i5 as PickupReadyEmailSent, bd as Placement, ky as PlacementWithLiterals, br as PlainTextValue, dB as PlatformFee, dA as PlatformFeeSummary, g_ as PlatformPaging, h1 as PlatformPagingMetadata, gX as PlatformQuery, gY as PlatformQueryPagingMethodOneOf, aQ as PredefinedPaymentMethod, k9 as PredefinedPaymentMethodWithLiterals, eu as PreparePaymentCollectionRequest, g7 as PreviewBuyerConfirmationEmailRequest, g8 as PreviewBuyerConfirmationEmailResponse, g5 as PreviewBuyerPaymentsReceivedEmailRequest, g6 as PreviewBuyerPaymentsReceivedEmailResponse, g9 as PreviewBuyerPickupConfirmationEmailRequest, ga as PreviewBuyerPickupConfirmationEmailResponse, g1 as PreviewCancelEmailRequest, g2 as PreviewCancelEmailResponse, g3 as PreviewCancelRefundEmailRequest, g4 as PreviewCancelRefundEmailResponse, fZ as PreviewEmailByTypeRequest, f_ as PreviewEmailByTypeResponse, b5 as PreviewEmailType, kq as PreviewEmailTypeWithLiterals, f$ as PreviewRefundEmailRequest, g0 as PreviewRefundEmailResponse, gd as PreviewResendDownloadLinksEmailRequest, ge as PreviewResendDownloadLinksEmailResponse, gb as PreviewShippingConfirmationEmailRequest, gc as PreviewShippingConfirmationEmailResponse, bL as PriceDescription, bZ as PriceSummary, bl as ProductName, ao as ProductPeriodAlignment, jK as ProductPeriodAlignmentWithLiterals, ib as PublicActivityContentOneOf, h3 as QueryOrderRequest, h4 as QueryOrderResponse, j5 as QuotesAddress, aY as Reason, kh as ReasonWithLiterals, d8 as ReceiptCreated, d9 as ReceiptCreatedReceiptInfoOneOf, dc as ReceiptSent, dd as ReceiptSentReceiptInfoOneOf, ez as RecordManuallyCollectedPaymentRequest, eC as RecordManuallyCollectedPaymentResponse, ev as RedirectUrls, fp as Refund, eT as RefundDetails, cS as RefundInitiated, eU as RefundItem, ft as RefundItemsBreakdown, eY as RefundSideEffects, b4 as RefundStatus, fr as RefundStatusInfo, kp as RefundStatusWithLiterals, fq as RefundTransaction, eK as Refundability, eL as RefundabilityAdditionalRefundabilityInfoOneOf, aR as RefundableStatus, ka as RefundableStatusWithLiterals, c_ as RefundedAsStoreCredit, cT as RefundedPayment, cU as RefundedPaymentKindOneOf, d1 as RegularPayment, f4 as RegularPaymentDetails, f5 as RegularPaymentDetailsPaymentMethodDetailsOneOf, d2 as RegularPaymentPaymentMethodDetailsOneOf, cV as RegularPaymentRefund, i$ as Reschedule, eZ as RestockInfo, e_ as RestockItem, by as RestockLocation, aU as RestockType, kd as RestockTypeWithLiterals, ee as RestoreInfo, cO as SavedPaymentMethod, aN as ScheduledAction, k6 as ScheduledActionWithLiterals, h5 as SearchOrdersRequest, fD as SendBuyerConfirmationEmailRequest, fE as SendBuyerConfirmationEmailResponse, fF as SendBuyerPaymentsReceivedEmailRequest, fG as SendBuyerPaymentsReceivedEmailResponse, fH as SendBuyerPickupConfirmationEmailRequest, fI as SendBuyerPickupConfirmationEmailResponse, fL as SendBuyerShippingConfirmationEmailRequest, fM as SendBuyerShippingConfirmationEmailResponse, fR as SendCancelRefundEmailRequest, fS as SendCancelRefundEmailResponse, fV as SendFulfillmentEmailRequest, fW as SendFulfillmentEmailResponse, fP as SendMerchantOrderReceivedNotificationRequest, fQ as SendMerchantOrderReceivedNotificationResponse, fX as SendMerchantOrderReceivedPushRequest, fY as SendMerchantOrderReceivedPushResponse, iT as SendOrderUpdatedDomainEventRequest, iU as SendOrderUpdatedDomainEventResponse, fT as SendRefundEmailRequest, fU as SendRefundEmailResponse, bV as ServiceProperties, gr as ServiceProvisioned, gs as ServiceRemoved, ep as SetOrderNumberCounterRequest, i3 as ShippingAddressEdited, h$ as ShippingConfirmationEmailSent, jd as ShippingContactDetails, cN as ShippingInformation, cM as ShippingInformationChange, ca as ShippingPrice, eX as ShippingRefund, cb as ShippingRegion, gi as SiteCreated, b7 as SiteCreatedContext, ks as SiteCreatedContextWithLiterals, gk as SiteDeleted, gu as SiteHardDeleted, gp as SiteMarkedAsTemplate, gq as SiteMarkedAsWixSite, gn as SitePublished, gz as SitePurgedExternally, gt as SiteRenamed, gj as SiteTransferred, gm as SiteUndeleted, go as SiteUnpublished, gy as SiteUrlChanged, bb as SortOrder, kw as SortOrderWithLiterals, gZ as Sorting, jj as Source, bf as SourceType, kA as SourceTypeWithLiterals, aH as SpecificItemsCouponBehavior, k0 as SpecificItemsCouponBehaviorWithLiterals, jc as StandardDetails, b6 as State, kr as StateWithLiterals, c0 as StreetAddress, gw as StudioAssigned, gG as StudioTwoAssigned, gH as StudioTwoUnassigned, gx as StudioUnassigned, jb as Subdivision, be as SubdivisionType, kz as SubdivisionTypeWithLiterals, bF as SubscriptionDescription, an as SubscriptionFrequency, jJ as SubscriptionFrequencyWithLiterals, bD as SubscriptionInfo, bG as SubscriptionSettings, bE as SubscriptionTitle, dr as TagList, dq as Tags, iR as TagsTagList, iQ as TagsTags, iV as Task, iX as TaskAction, iY as TaskActionActionOneOf, iW as TaskKey, cc as TaxSummary, bN as TaxableAddress, bO as TaxableAddressTaxableAddressDataOneOf, aq as TaxableAddressType, jM as TaxableAddressTypeWithLiterals, jm as TotalPrice, cL as TotalPriceChange, h_ as TrackingLinkAdded, hY as TrackingNumberAdded, hZ as TrackingNumberEdited, aV as TransactionStatus, ke as TransactionStatusWithLiterals, bR as TranslatableString, cI as TranslatedValue, eS as TriggerRefundRequest, ej as TriggerReindexOrderRequest, e9 as TriggerReindexRequest, ea as TriggerReindexResponse, hw as UnArchiveOrderRequest, hx as UnArchiveOrderResponse, id as UpdateActivityRequest, hJ as UpdateBillingContactDetailsRequest, hK as UpdateBillingContactDetailsResponse, hF as UpdateBuyerEmailRequest, hG as UpdateBuyerEmailResponse, hC as UpdateBuyerInfoRequest, hE as UpdateBuyerInfoResponse, dC as UpdateInternalDocumentsEvent, dD as UpdateInternalDocumentsEventOperationOneOf, ig as UpdateLineItemsDescriptionLinesRequest, ii as UpdateLineItemsDescriptionLinesResponse, hL as UpdateOrderLineItemRequest, hM as UpdateOrderLineItemsRequest, hO as UpdateOrderLineItemsResponse, he as UpdateOrderRequest, hf as UpdateOrderResponse, hH as UpdateOrderShippingAddressRequest, hI as UpdateOrderShippingAddressResponse, im as UpdateOrderStatusRequest, eA as UserDefinedPaymentMethodName, eB as UserDefinedPaymentMethodNameKindOneOf, gJ as UserDomainMediaDisabled, gI as UserDomainMediaEnabled, iF as V1BulkMarkOrdersAsPaidRequest, iG as V1BulkMarkOrdersAsPaidResponse, iH as V1CreatePaymentGatewayOrderRequest, iI as V1CreatePaymentGatewayOrderResponse, hn as V1LineItemDelta, ho as V1LineItemDeltaDeltaOneOf, iD as V1MarkOrderAsPaidRequest, iE as V1MarkOrderAsPaidResponse, dR as V1RestockItem, fb as V1ScheduledAction, c4 as V1ShippingInformation, et as V1TriggerReindexOrderRequest, er as V1TriggerReindexRequest, es as V1TriggerReindexResponse, jx as Value, bh as ValueType, kC as ValueTypeWithLiterals, c3 as VatId, av as VatType, jR as VatTypeWithLiterals, dL as VersionedDeleteByIdsOperation, dM as VersionedDocumentId, dK as VersionedDocumentUpdateOperation, aJ as VersioningMode, k2 as VersioningModeWithLiterals, fz as VoidAuthorizedPaymentsRequest, b3 as VoidedReason, ko as VoidedReasonWithLiterals, fm as VoidedStatusDetails, aM as WebhookIdentityType, k5 as WebhookIdentityTypeWithLiterals, au as WeightUnit, jQ as WeightUnitWithLiterals, da as WixReceipt, fh as WixReceiptInfo, gE as WixelAssigned, gF as WixelUnassigned, jD as utils } from './ecom-v1-order-orders.universal-D6jbuB39.mjs';
|
|
4
4
|
|
|
5
5
|
declare function importOrder$1(httpClient: HttpClient): ImportOrderSignature;
|
|
6
6
|
interface ImportOrderSignature {
|
|
@@ -18,7 +18,7 @@ interface ImportOrderSignature {
|
|
|
18
18
|
*
|
|
19
19
|
* To overwrite a previously imported order, set `id` to that order's ID.
|
|
20
20
|
*/
|
|
21
|
-
(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` | `paymentStatus` | `priceSummary` | `status`,
|
|
21
|
+
(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` | `paymentStatus` | `priceSummary` | `status`, 3>): Promise<NonNullablePaths<ImportOrderResponse, `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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported`, 5> & {
|
|
22
22
|
__applicationErrorsType?: ImportOrderApplicationErrors;
|
|
23
23
|
}>;
|
|
24
24
|
}
|
|
@@ -34,7 +34,7 @@ interface SetOrderNumberCounterSignature {
|
|
|
34
34
|
* By default, the new counter must be higher than the current one. To set a lower value, for example after deleting imported orders and re-importing from scratch, set `allowLowerCounter` to `true`. Setting a lower counter can result in duplicate order numbers.
|
|
35
35
|
* @param - Starting number for orders created after this call. The next order gets this number, and each subsequent order increments by 1.
|
|
36
36
|
*/
|
|
37
|
-
(counter: string, options?: SetOrderNumberCounterOptions): Promise<NonNullablePaths<SetOrderNumberCounterResponse, `oldCounter` | `newCounter`,
|
|
37
|
+
(counter: string, options?: SetOrderNumberCounterOptions): Promise<NonNullablePaths<SetOrderNumberCounterResponse, `oldCounter` | `newCounter`, 0> & {
|
|
38
38
|
__applicationErrorsType?: SetOrderNumberCounterApplicationErrors;
|
|
39
39
|
}>;
|
|
40
40
|
}
|
|
@@ -50,7 +50,7 @@ interface BulkDeleteImportedOrdersSignature {
|
|
|
50
50
|
* An `ImportedOrderDeleted` webhook is emitted for each order that's successfully deleted.
|
|
51
51
|
* @param - IDs of the orders to delete. Only orders created with Import Order can be deleted. An ID that doesn't belong to an imported order is reported as a failed item in the async job.
|
|
52
52
|
*/
|
|
53
|
-
(orderIds: string[]): Promise<NonNullablePaths<BulkDeleteImportedOrdersResponse, `jobId`,
|
|
53
|
+
(orderIds: string[]): Promise<NonNullablePaths<BulkDeleteImportedOrdersResponse, `jobId`, 0>>;
|
|
54
54
|
}
|
|
55
55
|
declare function preparePaymentCollection$1(httpClient: HttpClient): PreparePaymentCollectionSignature;
|
|
56
56
|
interface PreparePaymentCollectionSignature {
|
|
@@ -63,7 +63,7 @@ interface PreparePaymentCollectionSignature {
|
|
|
63
63
|
* @param - Ecom order ID.
|
|
64
64
|
* @param - Amount to collect
|
|
65
65
|
*/
|
|
66
|
-
(ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise<NonNullablePaths<PreparePaymentCollectionResponse, `paymentGatewayOrderId`,
|
|
66
|
+
(ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise<NonNullablePaths<PreparePaymentCollectionResponse, `paymentGatewayOrderId`, 0> & {
|
|
67
67
|
__applicationErrorsType?: PreparePaymentCollectionApplicationErrors;
|
|
68
68
|
}>;
|
|
69
69
|
}
|
|
@@ -75,7 +75,7 @@ interface GetPaymentCollectabilityStatusSignature {
|
|
|
75
75
|
* reason why payment collection is not possible.
|
|
76
76
|
* @param - Ecom order ID.
|
|
77
77
|
*/
|
|
78
|
-
(ecomOrderId: string): Promise<NonNullablePaths<GetPaymentCollectabilityStatusResponse, `status` | `amount.amount` | `amount.formattedAmount`,
|
|
78
|
+
(ecomOrderId: string): Promise<NonNullablePaths<GetPaymentCollectabilityStatusResponse, `status` | `amount.amount` | `amount.formattedAmount`, 1>>;
|
|
79
79
|
}
|
|
80
80
|
/** @internal */
|
|
81
81
|
declare function recordManuallyCollectedPayment$1(httpClient: HttpClient): RecordManuallyCollectedPaymentSignature;
|
|
@@ -103,7 +103,7 @@ interface PaymentCollectionMarkOrderAsPaidSignature {
|
|
|
103
103
|
* will be created and approved.
|
|
104
104
|
* @param - Ecom order ID.
|
|
105
105
|
*/
|
|
106
|
-
(ecomOrderId: string, options?: PaymentCollectionMarkOrderAsPaidOptions): 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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported`,
|
|
106
|
+
(ecomOrderId: string, options?: PaymentCollectionMarkOrderAsPaidOptions): 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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported`, 5> & {
|
|
107
107
|
__applicationErrorsType?: PaymentCollectionMarkOrderAsPaidApplicationErrors;
|
|
108
108
|
}>;
|
|
109
109
|
}
|
|
@@ -114,7 +114,7 @@ interface PaymentCollectionBulkMarkOrdersAsPaidSignature {
|
|
|
114
114
|
* Marks multiple orders as paid. `order.paymentStatus` field *eventually* changes to `PAID`.
|
|
115
115
|
* @param - IDs of orders to mark as paid.
|
|
116
116
|
*/
|
|
117
|
-
(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` | `results.${number}.item.imported` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`,
|
|
117
|
+
(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` | `results.${number}.item.imported` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
|
|
118
118
|
}
|
|
119
119
|
/** @internal */
|
|
120
120
|
declare function getRefundabilityStatus$1(httpClient: HttpClient): GetRefundabilityStatusSignature;
|
|
@@ -123,7 +123,7 @@ interface GetRefundabilityStatusSignature {
|
|
|
123
123
|
* Checks whether this order can be refunded.
|
|
124
124
|
* @param - Order ID.
|
|
125
125
|
*/
|
|
126
|
-
(ecomOrderId: string): Promise<NonNullablePaths<GetRefundabilityStatusResponse, `refundabilities` | `refundabilities.${number}.nonRefundableReason` | `refundabilities.${number}.manuallyRefundableReason` | `refundabilities.${number}.paymentId` | `refundabilities.${number}.refundabilityStatus` | `refundablePerItem`,
|
|
126
|
+
(ecomOrderId: string): Promise<NonNullablePaths<GetRefundabilityStatusResponse, `refundabilities` | `refundabilities.${number}.nonRefundableReason` | `refundabilities.${number}.manuallyRefundableReason` | `refundabilities.${number}.paymentId` | `refundabilities.${number}.refundabilityStatus` | `refundablePerItem`, 2>>;
|
|
127
127
|
}
|
|
128
128
|
/** @internal */
|
|
129
129
|
declare function paymentCollectionCreatePaymentGatewayOrder$1(httpClient: HttpClient): PaymentCollectionCreatePaymentGatewayOrderSignature;
|
|
@@ -136,7 +136,7 @@ interface PaymentCollectionCreatePaymentGatewayOrderSignature {
|
|
|
136
136
|
* 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).
|
|
137
137
|
* @param - Ecom order ID.
|
|
138
138
|
*/
|
|
139
|
-
(ecomOrderId: string, options?: PaymentCollectionCreatePaymentGatewayOrderOptions): Promise<NonNullablePaths<CreatePaymentGatewayOrderResponse, `paymentGatewayOrderId`,
|
|
139
|
+
(ecomOrderId: string, options?: PaymentCollectionCreatePaymentGatewayOrderOptions): Promise<NonNullablePaths<CreatePaymentGatewayOrderResponse, `paymentGatewayOrderId`, 0> & {
|
|
140
140
|
__applicationErrorsType?: PaymentCollectionCreatePaymentGatewayOrderApplicationErrors;
|
|
141
141
|
}>;
|
|
142
142
|
}
|
|
@@ -148,7 +148,7 @@ interface ChargeMembershipsSignature {
|
|
|
148
148
|
* @param - The member id. Do not attempt to get it from the request context, since in some cases the caller is not a member
|
|
149
149
|
* but a user which is using the membership on behalf of the a member
|
|
150
150
|
*/
|
|
151
|
-
(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`,
|
|
151
|
+
(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`, 3>): Promise<void>;
|
|
152
152
|
}
|
|
153
153
|
/** @internal */
|
|
154
154
|
declare function triggerRefund$1(httpClient: HttpClient): TriggerRefundSignature;
|
|
@@ -161,7 +161,7 @@ interface TriggerRefundSignature {
|
|
|
161
161
|
* @param - The order this refund related to
|
|
162
162
|
* @param - Refund operations information
|
|
163
163
|
*/
|
|
164
|
-
(ecomOrderId: string, payments: NonNullablePaths<PaymentRefund, `paymentId`,
|
|
164
|
+
(ecomOrderId: string, payments: NonNullablePaths<PaymentRefund, `paymentId`, 0>[], 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}.regularPaymentDetails.platformFee.amount` | `orderTransactions.payments.${number}.regularPaymentDetails.platformFee.formattedAmount` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.membershipPaymentDetails.membershipId` | `orderTransactions.payments.${number}.membershipPaymentDetails.lineItemId` | `orderTransactions.payments.${number}.membershipPaymentDetails.status` | `orderTransactions.payments.${number}.membershipPaymentDetails.name.original` | `orderTransactions.payments.${number}.membershipPaymentDetails.voided` | `orderTransactions.payments.${number}.membershipPaymentDetails.providerAppId` | `orderTransactions.payments.${number}.membershipPaymentDetails.futureMembership.lineItemId` | `orderTransactions.payments.${number}.membershipPaymentDetails.futureMembership.benefitId` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.payments.${number}.supportReceiptGeneration` | `orderTransactions.payments.${number}.cashRounding.roundingAdjustment.amount` | `orderTransactions.payments.${number}.cashRounding.roundingAdjustment.formattedAmount` | `orderTransactions.payments.${number}.status` | `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`, 5> & {
|
|
165
165
|
__applicationErrorsType?: TriggerRefundApplicationErrors;
|
|
166
166
|
}>;
|
|
167
167
|
}
|
|
@@ -173,7 +173,7 @@ interface VoidAuthorizedPaymentsSignature {
|
|
|
173
173
|
* @param - Wix eCommerce order ID
|
|
174
174
|
* @param - Payment IDs
|
|
175
175
|
*/
|
|
176
|
-
(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}.regularPaymentDetails.platformFee.amount` | `orderTransactions.payments.${number}.regularPaymentDetails.platformFee.formattedAmount` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.membershipPaymentDetails.membershipId` | `orderTransactions.payments.${number}.membershipPaymentDetails.lineItemId` | `orderTransactions.payments.${number}.membershipPaymentDetails.status` | `orderTransactions.payments.${number}.membershipPaymentDetails.name.original` | `orderTransactions.payments.${number}.membershipPaymentDetails.voided` | `orderTransactions.payments.${number}.membershipPaymentDetails.providerAppId` | `orderTransactions.payments.${number}.membershipPaymentDetails.futureMembership.lineItemId` | `orderTransactions.payments.${number}.membershipPaymentDetails.futureMembership.benefitId` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.payments.${number}.supportReceiptGeneration` | `orderTransactions.payments.${number}.cashRounding.roundingAdjustment.amount` | `orderTransactions.payments.${number}.cashRounding.roundingAdjustment.formattedAmount` | `orderTransactions.payments.${number}.status` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`,
|
|
176
|
+
(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}.regularPaymentDetails.platformFee.amount` | `orderTransactions.payments.${number}.regularPaymentDetails.platformFee.formattedAmount` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.membershipPaymentDetails.membershipId` | `orderTransactions.payments.${number}.membershipPaymentDetails.lineItemId` | `orderTransactions.payments.${number}.membershipPaymentDetails.status` | `orderTransactions.payments.${number}.membershipPaymentDetails.name.original` | `orderTransactions.payments.${number}.membershipPaymentDetails.voided` | `orderTransactions.payments.${number}.membershipPaymentDetails.providerAppId` | `orderTransactions.payments.${number}.membershipPaymentDetails.futureMembership.lineItemId` | `orderTransactions.payments.${number}.membershipPaymentDetails.futureMembership.benefitId` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.payments.${number}.supportReceiptGeneration` | `orderTransactions.payments.${number}.cashRounding.roundingAdjustment.amount` | `orderTransactions.payments.${number}.cashRounding.roundingAdjustment.formattedAmount` | `orderTransactions.payments.${number}.status` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`, 5> & {
|
|
177
177
|
__applicationErrorsType?: VoidAuthorizedPaymentsApplicationErrors;
|
|
178
178
|
}>;
|
|
179
179
|
}
|
|
@@ -185,7 +185,7 @@ interface CaptureAuthorizedPaymentsSignature {
|
|
|
185
185
|
* @param - Wix eCommerce order ID
|
|
186
186
|
* @param - Capture payments information
|
|
187
187
|
*/
|
|
188
|
-
(ecomOrderId: string, payments: NonNullablePaths<PaymentCapture, `paymentId`,
|
|
188
|
+
(ecomOrderId: string, payments: NonNullablePaths<PaymentCapture, `paymentId`, 0>[]): 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}.regularPaymentDetails.platformFee.amount` | `orderTransactions.payments.${number}.regularPaymentDetails.platformFee.formattedAmount` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.membershipPaymentDetails.membershipId` | `orderTransactions.payments.${number}.membershipPaymentDetails.lineItemId` | `orderTransactions.payments.${number}.membershipPaymentDetails.status` | `orderTransactions.payments.${number}.membershipPaymentDetails.name.original` | `orderTransactions.payments.${number}.membershipPaymentDetails.voided` | `orderTransactions.payments.${number}.membershipPaymentDetails.providerAppId` | `orderTransactions.payments.${number}.membershipPaymentDetails.futureMembership.lineItemId` | `orderTransactions.payments.${number}.membershipPaymentDetails.futureMembership.benefitId` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.payments.${number}.supportReceiptGeneration` | `orderTransactions.payments.${number}.cashRounding.roundingAdjustment.amount` | `orderTransactions.payments.${number}.cashRounding.roundingAdjustment.formattedAmount` | `orderTransactions.payments.${number}.status` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`, 5> & {
|
|
189
189
|
__applicationErrorsType?: CaptureAuthorizedPaymentsApplicationErrors;
|
|
190
190
|
}>;
|
|
191
191
|
}
|
|
@@ -201,7 +201,7 @@ interface GetOrderSignature {
|
|
|
201
201
|
* @param - ID of the order to retrieve.
|
|
202
202
|
* @returns Fulfilled - The requested order.
|
|
203
203
|
*/
|
|
204
|
-
(_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` | `lineItems.${number}.priceUndetermined` | `lineItems.${number}.fixedQuantity` | `lineItems.${number}.decimalQuantity.measurementUnit` | `lineItems.${number}.decimalQuantity.otherUnit` | `lineItems.${number}.decimalQuantity.value` | `lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.draftOrderChangesApplied.draftOrderId` | `activities.${number}.savedPaymentMethod.name` | `activities.${number}.authorizedPaymentCreated.paymentId` | `activities.${number}.authorizedPaymentCaptured.paymentId` | `activities.${number}.authorizedPaymentVoided.paymentId` | `activities.${number}.refundInitiated.refundId` | `activities.${number}.paymentRefunded.refundId` | `activities.${number}.paymentRefundFailed.refundId` | `activities.${number}.paymentPending.paymentId` | `activities.${number}.paymentCanceled.paymentId` | `activities.${number}.paymentDeclined.paymentId` | `activities.${number}.receiptCreated.wixReceipt.receiptId` | `activities.${number}.receiptCreated.paymentId` | `activities.${number}.receiptSent.paymentId` | `activities.${number}.chargebackCreated.paymentId` | `activities.${number}.chargebackCreated.chargebackId` | `activities.${number}.chargebackReversed.paymentId` | `activities.${number}.chargebackReversed.chargebackId` | `activities.${number}.type` | `activities.${number}.activityType` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `balanceSummary.cashRoundingAdjustment.amount` | `balanceSummary.cashRoundingAdjustment.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `additionalFees.${number}.source` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name` | `platformFeeSummary.fees` | `platformFeeSummary.fees.${number}.lineItemId` | `platformFeeSummary.fees.${number}.chargeType` | `platformFeeSummary.fees.${number}.percentageRate` | `imported`,
|
|
204
|
+
(_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` | `lineItems.${number}.priceUndetermined` | `lineItems.${number}.fixedQuantity` | `lineItems.${number}.decimalQuantity.measurementUnit` | `lineItems.${number}.decimalQuantity.otherUnit` | `lineItems.${number}.decimalQuantity.value` | `lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.draftOrderChangesApplied.draftOrderId` | `activities.${number}.savedPaymentMethod.name` | `activities.${number}.authorizedPaymentCreated.paymentId` | `activities.${number}.authorizedPaymentCaptured.paymentId` | `activities.${number}.authorizedPaymentVoided.paymentId` | `activities.${number}.refundInitiated.refundId` | `activities.${number}.paymentRefunded.refundId` | `activities.${number}.paymentRefundFailed.refundId` | `activities.${number}.paymentPending.paymentId` | `activities.${number}.paymentCanceled.paymentId` | `activities.${number}.paymentDeclined.paymentId` | `activities.${number}.receiptCreated.wixReceipt.receiptId` | `activities.${number}.receiptCreated.paymentId` | `activities.${number}.receiptSent.paymentId` | `activities.${number}.chargebackCreated.paymentId` | `activities.${number}.chargebackCreated.chargebackId` | `activities.${number}.chargebackReversed.paymentId` | `activities.${number}.chargebackReversed.chargebackId` | `activities.${number}.type` | `activities.${number}.activityType` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `balanceSummary.cashRoundingAdjustment.amount` | `balanceSummary.cashRoundingAdjustment.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `additionalFees.${number}.source` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name` | `platformFeeSummary.fees` | `platformFeeSummary.fees.${number}.lineItemId` | `platformFeeSummary.fees.${number}.chargeType` | `platformFeeSummary.fees.${number}.percentageRate` | `imported`, 4> & {
|
|
205
205
|
__applicationErrorsType?: GetOrderApplicationErrors;
|
|
206
206
|
}>;
|
|
207
207
|
}
|
|
@@ -223,7 +223,7 @@ interface SearchOrdersSignature {
|
|
|
223
223
|
* To learn how to query or search orders, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language).
|
|
224
224
|
* @param - Search options.
|
|
225
225
|
*/
|
|
226
|
-
(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}.balanceSummary.cashRoundingAdjustment.amount` | `orders.${number}.balanceSummary.cashRoundingAdjustment.formattedAmount` | `orders.${number}.businessLocation._id` | `orders.${number}.businessLocation.name` | `orders.${number}.imported`,
|
|
226
|
+
(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}.balanceSummary.cashRoundingAdjustment.amount` | `orders.${number}.balanceSummary.cashRoundingAdjustment.formattedAmount` | `orders.${number}.businessLocation._id` | `orders.${number}.businessLocation.name` | `orders.${number}.imported`, 4>>;
|
|
227
227
|
}
|
|
228
228
|
declare function createOrder$1(httpClient: HttpClient): CreateOrderSignature;
|
|
229
229
|
interface CreateOrderSignature {
|
|
@@ -239,7 +239,7 @@ interface CreateOrderSignature {
|
|
|
239
239
|
* @param - Order info.
|
|
240
240
|
* @returns Newly created order.
|
|
241
241
|
*/
|
|
242
|
-
(order: NonNullablePaths<Order, `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`,
|
|
242
|
+
(order: NonNullablePaths<Order, `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`, 3>, 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` | `lineItems.${number}.priceUndetermined` | `lineItems.${number}.fixedQuantity` | `lineItems.${number}.decimalQuantity.measurementUnit` | `lineItems.${number}.decimalQuantity.otherUnit` | `lineItems.${number}.decimalQuantity.value` | `lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.draftOrderChangesApplied.draftOrderId` | `activities.${number}.savedPaymentMethod.name` | `activities.${number}.authorizedPaymentCreated.paymentId` | `activities.${number}.authorizedPaymentCaptured.paymentId` | `activities.${number}.authorizedPaymentVoided.paymentId` | `activities.${number}.refundInitiated.refundId` | `activities.${number}.paymentRefunded.refundId` | `activities.${number}.paymentRefundFailed.refundId` | `activities.${number}.paymentPending.paymentId` | `activities.${number}.paymentCanceled.paymentId` | `activities.${number}.paymentDeclined.paymentId` | `activities.${number}.receiptCreated.wixReceipt.receiptId` | `activities.${number}.receiptCreated.paymentId` | `activities.${number}.receiptSent.paymentId` | `activities.${number}.chargebackCreated.paymentId` | `activities.${number}.chargebackCreated.chargebackId` | `activities.${number}.chargebackReversed.paymentId` | `activities.${number}.chargebackReversed.chargebackId` | `activities.${number}.type` | `activities.${number}.activityType` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `balanceSummary.cashRoundingAdjustment.amount` | `balanceSummary.cashRoundingAdjustment.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `additionalFees.${number}.source` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name` | `platformFeeSummary.fees` | `platformFeeSummary.fees.${number}.lineItemId` | `platformFeeSummary.fees.${number}.chargeType` | `platformFeeSummary.fees.${number}.percentageRate` | `imported`, 4> & {
|
|
243
243
|
__applicationErrorsType?: CreateOrderApplicationErrors;
|
|
244
244
|
}>;
|
|
245
245
|
}
|
|
@@ -274,7 +274,7 @@ interface UpdateOrderSignature {
|
|
|
274
274
|
* @param - Order ID.
|
|
275
275
|
* @returns Newly created order.
|
|
276
276
|
*/
|
|
277
|
-
(_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` | `lineItems.${number}.priceUndetermined` | `lineItems.${number}.fixedQuantity` | `lineItems.${number}.decimalQuantity.measurementUnit` | `lineItems.${number}.decimalQuantity.otherUnit` | `lineItems.${number}.decimalQuantity.value` | `lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.draftOrderChangesApplied.draftOrderId` | `activities.${number}.savedPaymentMethod.name` | `activities.${number}.authorizedPaymentCreated.paymentId` | `activities.${number}.authorizedPaymentCaptured.paymentId` | `activities.${number}.authorizedPaymentVoided.paymentId` | `activities.${number}.refundInitiated.refundId` | `activities.${number}.paymentRefunded.refundId` | `activities.${number}.paymentRefundFailed.refundId` | `activities.${number}.paymentPending.paymentId` | `activities.${number}.paymentCanceled.paymentId` | `activities.${number}.paymentDeclined.paymentId` | `activities.${number}.receiptCreated.wixReceipt.receiptId` | `activities.${number}.receiptCreated.paymentId` | `activities.${number}.receiptSent.paymentId` | `activities.${number}.chargebackCreated.paymentId` | `activities.${number}.chargebackCreated.chargebackId` | `activities.${number}.chargebackReversed.paymentId` | `activities.${number}.chargebackReversed.chargebackId` | `activities.${number}.type` | `activities.${number}.activityType` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `balanceSummary.cashRoundingAdjustment.amount` | `balanceSummary.cashRoundingAdjustment.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `additionalFees.${number}.source` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name` | `platformFeeSummary.fees` | `platformFeeSummary.fees.${number}.lineItemId` | `platformFeeSummary.fees.${number}.chargeType` | `platformFeeSummary.fees.${number}.percentageRate` | `imported`,
|
|
277
|
+
(_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` | `lineItems.${number}.priceUndetermined` | `lineItems.${number}.fixedQuantity` | `lineItems.${number}.decimalQuantity.measurementUnit` | `lineItems.${number}.decimalQuantity.otherUnit` | `lineItems.${number}.decimalQuantity.value` | `lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.draftOrderChangesApplied.draftOrderId` | `activities.${number}.savedPaymentMethod.name` | `activities.${number}.authorizedPaymentCreated.paymentId` | `activities.${number}.authorizedPaymentCaptured.paymentId` | `activities.${number}.authorizedPaymentVoided.paymentId` | `activities.${number}.refundInitiated.refundId` | `activities.${number}.paymentRefunded.refundId` | `activities.${number}.paymentRefundFailed.refundId` | `activities.${number}.paymentPending.paymentId` | `activities.${number}.paymentCanceled.paymentId` | `activities.${number}.paymentDeclined.paymentId` | `activities.${number}.receiptCreated.wixReceipt.receiptId` | `activities.${number}.receiptCreated.paymentId` | `activities.${number}.receiptSent.paymentId` | `activities.${number}.chargebackCreated.paymentId` | `activities.${number}.chargebackCreated.chargebackId` | `activities.${number}.chargebackReversed.paymentId` | `activities.${number}.chargebackReversed.chargebackId` | `activities.${number}.type` | `activities.${number}.activityType` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `balanceSummary.cashRoundingAdjustment.amount` | `balanceSummary.cashRoundingAdjustment.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `additionalFees.${number}.source` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name` | `platformFeeSummary.fees` | `platformFeeSummary.fees.${number}.lineItemId` | `platformFeeSummary.fees.${number}.chargeType` | `platformFeeSummary.fees.${number}.percentageRate` | `imported`, 4> & {
|
|
278
278
|
__applicationErrorsType?: UpdateOrderApplicationErrors;
|
|
279
279
|
}>;
|
|
280
280
|
}
|
|
@@ -308,13 +308,13 @@ interface BulkUpdateOrdersSignature {
|
|
|
308
308
|
* To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
|
|
309
309
|
* @param - Orders to update.
|
|
310
310
|
*/
|
|
311
|
-
(orders: NonNullablePaths<MaskedOrder, `order` | `order._id`,
|
|
311
|
+
(orders: NonNullablePaths<MaskedOrder, `order` | `order._id`, 1>[], 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` | `results.${number}.item.imported` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 4>>;
|
|
312
312
|
}
|
|
313
313
|
/** @internal */
|
|
314
314
|
declare function updateOrderLineItem$1(httpClient: HttpClient): UpdateOrderLineItemSignature;
|
|
315
315
|
interface UpdateOrderLineItemSignature {
|
|
316
316
|
/** @deprecated */
|
|
317
|
-
(identifiers: NonNullablePaths<UpdateOrderLineItemIdentifiers, `_id` | `lineItemId`,
|
|
317
|
+
(identifiers: NonNullablePaths<UpdateOrderLineItemIdentifiers, `_id` | `lineItemId`, 0>, 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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported`, 5>>;
|
|
318
318
|
}
|
|
319
319
|
/** @internal */
|
|
320
320
|
declare function addActivity$1(httpClient: HttpClient): AddActivitySignature;
|
|
@@ -326,7 +326,7 @@ interface AddActivitySignature {
|
|
|
326
326
|
* @param - Activity info.
|
|
327
327
|
* @deprecated
|
|
328
328
|
*/
|
|
329
|
-
(_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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported` | `activityId`,
|
|
329
|
+
(_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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported` | `activityId`, 5>>;
|
|
330
330
|
}
|
|
331
331
|
declare function addActivities$1(httpClient: HttpClient): AddActivitiesSignature;
|
|
332
332
|
interface AddActivitiesSignature {
|
|
@@ -339,7 +339,7 @@ interface AddActivitiesSignature {
|
|
|
339
339
|
* Currently supports adding activities of type `MERCHANT_COMMENT`.
|
|
340
340
|
* @param - ID of the order to add activities to.
|
|
341
341
|
*/
|
|
342
|
-
(orderId: string, options?: NonNullablePaths<AddActivitiesOptions, `orderActivities.${number}.activityType`,
|
|
342
|
+
(orderId: string, options?: NonNullablePaths<AddActivitiesOptions, `orderActivities.${number}.activityType`, 2>): Promise<NonNullablePaths<AddActivitiesResponse, `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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported` | `activityIds`, 5>>;
|
|
343
343
|
}
|
|
344
344
|
/** @internal */
|
|
345
345
|
declare function updateActivity$1(httpClient: HttpClient): UpdateActivitySignature;
|
|
@@ -348,7 +348,7 @@ interface UpdateActivitySignature {
|
|
|
348
348
|
* Updates an order's activity.
|
|
349
349
|
* @param - Activity info.
|
|
350
350
|
*/
|
|
351
|
-
(identifiers: NonNullablePaths<UpdateActivityIdentifiers, `_id` | `activityId`,
|
|
351
|
+
(identifiers: NonNullablePaths<UpdateActivityIdentifiers, `_id` | `activityId`, 0>, 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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported`, 5>>;
|
|
352
352
|
}
|
|
353
353
|
/** @internal */
|
|
354
354
|
declare function deleteActivity$1(httpClient: HttpClient): DeleteActivitySignature;
|
|
@@ -358,7 +358,7 @@ interface DeleteActivitySignature {
|
|
|
358
358
|
*
|
|
359
359
|
* Only custom activities and merchant comments can be deleted.
|
|
360
360
|
*/
|
|
361
|
-
(identifiers: NonNullablePaths<DeleteActivityIdentifiers, `_id` | `activityId`,
|
|
361
|
+
(identifiers: NonNullablePaths<DeleteActivityIdentifiers, `_id` | `activityId`, 0>): 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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported`, 5>>;
|
|
362
362
|
}
|
|
363
363
|
declare function cancelOrder$1(httpClient: HttpClient): CancelOrderSignature;
|
|
364
364
|
interface CancelOrderSignature {
|
|
@@ -369,7 +369,7 @@ interface CancelOrderSignature {
|
|
|
369
369
|
* The `cancelOrder()` function returns a Promise that resolves when the specified order is canceled and the `order.status` field changes to `CANCELED`.
|
|
370
370
|
* @param - Order ID.
|
|
371
371
|
*/
|
|
372
|
-
(_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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported`,
|
|
372
|
+
(_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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported`, 5> & {
|
|
373
373
|
__applicationErrorsType?: CancelOrderApplicationErrors;
|
|
374
374
|
}>;
|
|
375
375
|
}
|
|
@@ -393,7 +393,7 @@ interface UpdateOrderStatusSignature {
|
|
|
393
393
|
* @param - Order ID.
|
|
394
394
|
* @param - New order status.
|
|
395
395
|
*/
|
|
396
|
-
(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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported`,
|
|
396
|
+
(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.lineItems.${number}.priceUndetermined` | `order.lineItems.${number}.fixedQuantity` | `order.lineItems.${number}.decimalQuantity.measurementUnit` | `order.lineItems.${number}.decimalQuantity.otherUnit` | `order.lineItems.${number}.decimalQuantity.value` | `order.lineItems.${number}.decimalQuantity.description.original` | `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}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.draftOrderChangesApplied.draftOrderId` | `order.activities.${number}.savedPaymentMethod.name` | `order.activities.${number}.authorizedPaymentCreated.paymentId` | `order.activities.${number}.authorizedPaymentCaptured.paymentId` | `order.activities.${number}.authorizedPaymentVoided.paymentId` | `order.activities.${number}.refundInitiated.refundId` | `order.activities.${number}.paymentRefunded.refundId` | `order.activities.${number}.paymentRefundFailed.refundId` | `order.activities.${number}.paymentPending.paymentId` | `order.activities.${number}.paymentCanceled.paymentId` | `order.activities.${number}.paymentDeclined.paymentId` | `order.activities.${number}.receiptCreated.wixReceipt.receiptId` | `order.activities.${number}.receiptCreated.paymentId` | `order.activities.${number}.receiptSent.paymentId` | `order.activities.${number}.chargebackCreated.paymentId` | `order.activities.${number}.chargebackCreated.chargebackId` | `order.activities.${number}.chargebackReversed.paymentId` | `order.activities.${number}.chargebackReversed.chargebackId` | `order.activities.${number}.type` | `order.activities.${number}.activityType` | `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.balanceSummary.cashRoundingAdjustment.amount` | `order.balanceSummary.cashRoundingAdjustment.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.additionalFees.${number}.source` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name` | `order.platformFeeSummary.fees` | `order.platformFeeSummary.fees.${number}.lineItemId` | `order.platformFeeSummary.fees.${number}.chargeType` | `order.platformFeeSummary.fees.${number}.percentageRate` | `order.imported`, 5> & {
|
|
397
397
|
__applicationErrorsType?: UpdateOrderStatusApplicationErrors;
|
|
398
398
|
}>;
|
|
399
399
|
}
|
|
@@ -401,7 +401,7 @@ interface UpdateOrderStatusSignature {
|
|
|
401
401
|
declare function aggregateOrders$1(httpClient: HttpClient): AggregateOrdersSignature;
|
|
402
402
|
interface AggregateOrdersSignature {
|
|
403
403
|
/** */
|
|
404
|
-
(options?: NonNullablePaths<AggregateOrdersOptions, `aggregation`,
|
|
404
|
+
(options?: NonNullablePaths<AggregateOrdersOptions, `aggregation`, 0>): Promise<AggregateOrdersResponse>;
|
|
405
405
|
}
|
|
406
406
|
declare function bulkUpdateOrderTags$1(httpClient: HttpClient): BulkUpdateOrderTagsSignature;
|
|
407
407
|
interface BulkUpdateOrderTagsSignature {
|
|
@@ -411,7 +411,7 @@ interface BulkUpdateOrderTagsSignature {
|
|
|
411
411
|
* > **Note:** If the same tag is passed to both the `assignTags` and `unassignTags` fields, it will be assigned.
|
|
412
412
|
* @param - IDs of orders to update tags for.
|
|
413
413
|
*/
|
|
414
|
-
(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`,
|
|
414
|
+
(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`, 4>>;
|
|
415
415
|
}
|
|
416
416
|
declare const onOrderApproved$1: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
|
|
417
417
|
declare const onOrderCanceled$1: EventDefinition<OrderCanceledEnvelope, "wix.ecom.v1.order_canceled">;
|