@wix/auto_sdk_ecom_orders 1.0.80 → 1.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/{ecom-v1-order-orders.universal-BZ_nUWQc.d.ts → ecom-v1-order-orders.universal-CIp4c27n.d.ts} +13 -12
- package/build/cjs/index.d.ts +13 -13
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -3
- package/build/es/{ecom-v1-order-orders.universal-BZ_nUWQc.d.mts → ecom-v1-order-orders.universal-CIp4c27n.d.mts} +13 -12
- package/build/es/index.d.mts +13 -13
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +4 -3
- package/build/internal/cjs/{ecom-v1-order-orders.universal-DWllz0Jg.d.ts → ecom-v1-order-orders.universal-DcxqR3rD.d.ts} +26 -25
- package/build/internal/cjs/index.d.ts +26 -26
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +4 -3
- package/build/internal/es/{ecom-v1-order-orders.universal-DWllz0Jg.d.mts → ecom-v1-order-orders.universal-DcxqR3rD.d.mts} +26 -25
- package/build/internal/es/index.d.mts +26 -26
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +4 -3
- package/package.json +2 -2
|
@@ -2926,10 +2926,11 @@ declare enum PaymentCollectabilityStatus {
|
|
|
2926
2926
|
NONCOLLECTABLE_MISSING_PAYMENT_METHOD = "NONCOLLECTABLE_MISSING_PAYMENT_METHOD",
|
|
2927
2927
|
NONCOLLECTABLE_ORDER_IS_PENDING = "NONCOLLECTABLE_ORDER_IS_PENDING",
|
|
2928
2928
|
NONCOLLECTABLE_ORDER_IS_REJECTED = "NONCOLLECTABLE_ORDER_IS_REJECTED",
|
|
2929
|
-
NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS = "NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS"
|
|
2929
|
+
NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS = "NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS",
|
|
2930
|
+
NONCOLLECTABLE_ORDER_HAS_CHARGEBACKS = "NONCOLLECTABLE_ORDER_HAS_CHARGEBACKS"
|
|
2930
2931
|
}
|
|
2931
2932
|
/** @enumType */
|
|
2932
|
-
type PaymentCollectabilityStatusWithLiterals = PaymentCollectabilityStatus | 'UNKNOWN' | 'COLLECTABLE' | 'NONCOLLECTABLE_ORDER_IS_CANCELLED' | 'NONCOLLECTABLE_ORDER_IS_PAID' | 'NONCOLLECTABLE_MISSING_PAYMENT_METHOD' | 'NONCOLLECTABLE_ORDER_IS_PENDING' | 'NONCOLLECTABLE_ORDER_IS_REJECTED' | 'NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS';
|
|
2933
|
+
type PaymentCollectabilityStatusWithLiterals = PaymentCollectabilityStatus | 'UNKNOWN' | 'COLLECTABLE' | 'NONCOLLECTABLE_ORDER_IS_CANCELLED' | 'NONCOLLECTABLE_ORDER_IS_PAID' | 'NONCOLLECTABLE_MISSING_PAYMENT_METHOD' | 'NONCOLLECTABLE_ORDER_IS_PENDING' | 'NONCOLLECTABLE_ORDER_IS_REJECTED' | 'NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS' | 'NONCOLLECTABLE_ORDER_HAS_CHARGEBACKS';
|
|
2933
2934
|
interface RecordManuallyCollectedPaymentRequest {
|
|
2934
2935
|
/**
|
|
2935
2936
|
* Order ID.
|
|
@@ -6272,7 +6273,7 @@ declare function onOrderPaymentStatusUpdated(handler: (event: OrderPaymentStatus
|
|
|
6272
6273
|
* @applicableIdentity APP
|
|
6273
6274
|
* @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.PreparePaymentCollection
|
|
6274
6275
|
*/
|
|
6275
|
-
declare function preparePaymentCollection(ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise<NonNullablePaths<PreparePaymentCollectionResponse, `paymentGatewayOrderId
|
|
6276
|
+
declare function preparePaymentCollection(ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise<NonNullablePaths<PreparePaymentCollectionResponse, `paymentGatewayOrderId`, 2> & {
|
|
6276
6277
|
__applicationErrorsType?: PreparePaymentCollectionApplicationErrors;
|
|
6277
6278
|
}>;
|
|
6278
6279
|
interface PreparePaymentCollectionOptions {
|
|
@@ -6306,7 +6307,7 @@ interface PreparePaymentCollectionOptions {
|
|
|
6306
6307
|
* @applicableIdentity APP
|
|
6307
6308
|
* @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.GetPaymentCollectabilityStatus
|
|
6308
6309
|
*/
|
|
6309
|
-
declare function getPaymentCollectabilityStatus(ecomOrderId: string): Promise<NonNullablePaths<GetPaymentCollectabilityStatusResponse, `status` | `amount.amount` | `amount.formattedAmount
|
|
6310
|
+
declare function getPaymentCollectabilityStatus(ecomOrderId: string): Promise<NonNullablePaths<GetPaymentCollectabilityStatusResponse, `status` | `amount.amount` | `amount.formattedAmount`, 3>>;
|
|
6310
6311
|
interface PaymentCollectionCreatePaymentGatewayOrderOptions {
|
|
6311
6312
|
/** Information about the user who initiated the payment. */
|
|
6312
6313
|
chargedBy?: ChargedBy;
|
|
@@ -6338,7 +6339,7 @@ interface TriggerRefundOptions {
|
|
|
6338
6339
|
* @applicableIdentity APP
|
|
6339
6340
|
* @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.VoidAuthorizedPayments
|
|
6340
6341
|
*/
|
|
6341
|
-
declare function voidAuthorizedPayments(ecomOrderId: string, paymentIds: string[]): Promise<NonNullablePaths<VoidAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.amount.amount` | `orderTransactions.payments.${number}.amount.formattedAmount` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending
|
|
6342
|
+
declare function voidAuthorizedPayments(ecomOrderId: string, paymentIds: string[]): Promise<NonNullablePaths<VoidAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.amount.amount` | `orderTransactions.payments.${number}.amount.formattedAmount` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`, 7> & {
|
|
6342
6343
|
__applicationErrorsType?: VoidAuthorizedPaymentsApplicationErrors;
|
|
6343
6344
|
}>;
|
|
6344
6345
|
/**
|
|
@@ -6355,7 +6356,7 @@ declare function voidAuthorizedPayments(ecomOrderId: string, paymentIds: string[
|
|
|
6355
6356
|
* @applicableIdentity APP
|
|
6356
6357
|
* @fqn com.wix.ecom.orders.payments_collector.v1.PaymentsCollector.CaptureAuthorizedPayments
|
|
6357
6358
|
*/
|
|
6358
|
-
declare function captureAuthorizedPayments(ecomOrderId: string, payments: NonNullablePaths<PaymentCapture, `paymentId
|
|
6359
|
+
declare function captureAuthorizedPayments(ecomOrderId: string, payments: NonNullablePaths<PaymentCapture, `paymentId`, 2>[]): Promise<NonNullablePaths<CaptureAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.amount.amount` | `orderTransactions.payments.${number}.amount.formattedAmount` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`, 7> & {
|
|
6359
6360
|
__applicationErrorsType?: CaptureAuthorizedPaymentsApplicationErrors;
|
|
6360
6361
|
}>;
|
|
6361
6362
|
/**
|
|
@@ -6374,7 +6375,7 @@ declare function captureAuthorizedPayments(ecomOrderId: string, payments: NonNul
|
|
|
6374
6375
|
* @returns Fulfilled - The requested order.
|
|
6375
6376
|
* @fqn com.wix.ecom.orders.v1.Orders.GetOrder
|
|
6376
6377
|
*/
|
|
6377
|
-
declare function getOrder(_id: string): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name
|
|
6378
|
+
declare function getOrder(_id: string): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name`, 6> & {
|
|
6378
6379
|
__applicationErrorsType?: GetOrderApplicationErrors;
|
|
6379
6380
|
}>;
|
|
6380
6381
|
interface OrderSearchSpec extends SearchSpec {
|
|
@@ -6528,7 +6529,7 @@ type OrderSearch = {
|
|
|
6528
6529
|
* @returns Newly created order.
|
|
6529
6530
|
* @fqn com.wix.ecom.orders.v1.Orders.CreateOrder
|
|
6530
6531
|
*/
|
|
6531
|
-
declare function createOrder(order: NonNullablePaths<Order, `billingInfo.contactDetails` | `channelInfo` | `currencyConversionDetails.conversionRate` | `currencyConversionDetails.originalCurrency` | `lineItems` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.itemType` | `lineItems.${number}.price` | `lineItems.${number}.productName` | `lineItems.${number}.productName.original` | `lineItems.${number}.quantity` | `priceSummary
|
|
6532
|
+
declare function createOrder(order: NonNullablePaths<Order, `billingInfo.contactDetails` | `channelInfo` | `currencyConversionDetails.conversionRate` | `currencyConversionDetails.originalCurrency` | `lineItems` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.itemType` | `lineItems.${number}.price` | `lineItems.${number}.productName` | `lineItems.${number}.productName.original` | `lineItems.${number}.quantity` | `priceSummary`, 5>, options?: CreateOrderOptions): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name`, 6> & {
|
|
6532
6533
|
__applicationErrorsType?: CreateOrderApplicationErrors;
|
|
6533
6534
|
}>;
|
|
6534
6535
|
interface CreateOrderOptions {
|
|
@@ -6571,7 +6572,7 @@ interface CreateOrderOptions {
|
|
|
6571
6572
|
* @returns Newly created order.
|
|
6572
6573
|
* @fqn com.wix.ecom.orders.v1.Orders.UpdateOrder
|
|
6573
6574
|
*/
|
|
6574
|
-
declare function updateOrder(_id: string, order: UpdateOrder): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name
|
|
6575
|
+
declare function updateOrder(_id: string, order: UpdateOrder): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name`, 6> & {
|
|
6575
6576
|
__applicationErrorsType?: UpdateOrderApplicationErrors;
|
|
6576
6577
|
}>;
|
|
6577
6578
|
interface UpdateOrder {
|
|
@@ -6782,7 +6783,7 @@ interface UpdateOrder {
|
|
|
6782
6783
|
* @applicableIdentity APP
|
|
6783
6784
|
* @fqn com.wix.ecom.orders.v1.Orders.BulkUpdateOrders
|
|
6784
6785
|
*/
|
|
6785
|
-
declare function bulkUpdateOrders(orders: NonNullablePaths<MaskedOrder, `order` | `order._id
|
|
6786
|
+
declare function bulkUpdateOrders(orders: NonNullablePaths<MaskedOrder, `order` | `order._id`, 3>[], options?: BulkUpdateOrdersOptions): Promise<NonNullablePaths<BulkUpdateOrdersResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.number` | `results.${number}.item.buyerInfo.visitorId` | `results.${number}.item.buyerInfo.memberId` | `results.${number}.item.paymentStatus` | `results.${number}.item.fulfillmentStatus` | `results.${number}.item.weightUnit` | `results.${number}.item.taxIncludedInPrices` | `results.${number}.item.shippingInfo.title` | `results.${number}.item.status` | `results.${number}.item.attributionSource` | `results.${number}.item.createdBy.userId` | `results.${number}.item.createdBy.memberId` | `results.${number}.item.createdBy.visitorId` | `results.${number}.item.createdBy.appId` | `results.${number}.item.channelInfo.type` | `results.${number}.item.businessLocation._id` | `results.${number}.item.businessLocation.name` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
6786
6787
|
interface BulkUpdateOrdersOptions {
|
|
6787
6788
|
/**
|
|
6788
6789
|
* Whether to return the full order entities.
|
|
@@ -6976,7 +6977,7 @@ interface DeleteActivityIdentifiers {
|
|
|
6976
6977
|
* @applicableIdentity APP
|
|
6977
6978
|
* @fqn com.wix.ecom.orders.v1.Orders.CancelOrder
|
|
6978
6979
|
*/
|
|
6979
|
-
declare function cancelOrder(_id: string, options?: CancelOrderOptions): Promise<NonNullablePaths<CancelOrderResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name
|
|
6980
|
+
declare function cancelOrder(_id: string, options?: CancelOrderOptions): Promise<NonNullablePaths<CancelOrderResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name`, 7> & {
|
|
6980
6981
|
__applicationErrorsType?: CancelOrderApplicationErrors;
|
|
6981
6982
|
}>;
|
|
6982
6983
|
interface CancelOrderOptions {
|
|
@@ -7019,7 +7020,7 @@ interface AggregateOrdersOptions {
|
|
|
7019
7020
|
* @applicableIdentity APP
|
|
7020
7021
|
* @fqn com.wix.ecom.orders.v1.Orders.BulkUpdateOrderTags
|
|
7021
7022
|
*/
|
|
7022
|
-
declare function bulkUpdateOrderTags(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
|
|
7023
|
+
declare function bulkUpdateOrderTags(orderIds: string[], options?: BulkUpdateOrderTagsOptions): Promise<NonNullablePaths<BulkUpdateOrderTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
7023
7024
|
interface BulkUpdateOrderTagsOptions {
|
|
7024
7025
|
/** Tags to be added to orders */
|
|
7025
7026
|
assignTags?: Tags;
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { P as Price, a as PreparePaymentCollectionOptions, b as PreparePaymentCollectionResponse, c as PreparePaymentCollectionApplicationErrors, G as GetPaymentCollectabilityStatusResponse, V as VoidAuthorizedPaymentsResponse, d as VoidAuthorizedPaymentsApplicationErrors, e as PaymentCapture, C as CaptureAuthorizedPaymentsResponse, f as CaptureAuthorizedPaymentsApplicationErrors, O as Order, g as GetOrderApplicationErrors, h as OrderSearch, S as SearchOrdersResponse, i as CreateOrderOptions, j as CreateOrderApplicationErrors, U as UpdateOrder, k as UpdateOrderApplicationErrors, M as MaskedOrder, B as BulkUpdateOrdersOptions, l as BulkUpdateOrdersResponse, m as CancelOrderOptions, n as CancelOrderResponse, o as CancelOrderApplicationErrors, p as BulkUpdateOrderTagsOptions, q as BulkUpdateOrderTagsResponse, r as OrderApprovedEnvelope, s as OrderUpdatedEnvelope, t as OrderCanceledEnvelope, u as OrderCreatedEnvelope, v as OrderPaymentStatusUpdatedEnvelope } from './ecom-v1-order-orders.universal-
|
|
3
|
-
export { db as ActionEvent, a9 as ActionType, id as ActionTypeWithLiterals, bm as Activity, bn as ActivityContentOneOf, Q as ActivityType, hZ as ActivityTypeWithLiterals, g8 as AddActivitiesRequest, g9 as AddActivitiesResponse, g4 as AddActivityRequest, g7 as AddActivityResponse, fJ as AddInternalActivityRequest, g3 as AddInternalActivityResponse, cg as AdditionalFee, f9 as AdditionalFeeDelta, fa as AdditionalFeeDeltaDeltaOneOf, cQ as AdditionalFeeRefund, a_ as Address, h4 as AddressDescription, b0 as AddressLocation, aZ as AddressWithContact, A as AdjustmentType, hO as AdjustmentTypeWithLiterals, hI as AggregateOrdersOptions, gM as AggregateOrdersRequest, gN as AggregateOrdersResponse, e6 as AggregatedRefundSummary, du as ApplicationError, be as AppliedDiscount, f7 as AppliedDiscountDelta, f8 as AppliedDiscountDeltaDeltaOneOf, bf as AppliedDiscountDiscountSourceOneOf, fj as ArchiveOrderRequest, fk as ArchiveOrderResponse, R as AttributionSource, h_ as AttributionSourceWithLiterals, dX as AuthorizationActionFailureDetails, dW as AuthorizationCapture, a6 as AuthorizationCaptureStatus, ia as AuthorizationCaptureStatusWithLiterals, dV as AuthorizationDetails, dY as AuthorizationVoid, a7 as AuthorizationVoidStatus, ib as AuthorizationVoidStatusWithLiterals, bK as AuthorizedPaymentCaptured, bJ as AuthorizedPaymentCreated, bL as AuthorizedPaymentVoided, cf as Balance, ce as BalanceSummary, hx as BaseEventMetadata, eu as BatchOfTriggerReindexOrderRequest, he as BigDecimalWrapper, aL as BillingAdjustment, aM as BillingAdjustmentPriceSummary, dv as BulkActionMetadata, fn as BulkArchiveOrdersByFilterRequest, fo as BulkArchiveOrdersByFilterResponse, fl as BulkArchiveOrdersRequest, fm as BulkArchiveOrdersResponse, gs as BulkMarkAsFulfilledByFilterRequest, gt as BulkMarkAsFulfilledByFilterResponse, gq as BulkMarkAsFulfilledRequest, gr as BulkMarkAsFulfilledResponse, gy as BulkMarkAsUnfulfilledByFilterRequest, gz as BulkMarkAsUnfulfilledByFilterResponse, gw as BulkMarkAsUnfulfilledRequest, gx as BulkMarkAsUnfulfilledResponse, dq as BulkMarkOrdersAsPaidRequest, dr as BulkMarkOrdersAsPaidResponse, ds as BulkOrderResult, cw as BulkSendBuyerPickupConfirmationEmailsRequest, cx as BulkSendBuyerPickupConfirmationEmailsResponse, cA as BulkSendBuyerShippingConfirmationEmailsRequest, cB as BulkSendBuyerShippingConfirmationEmailsResponse, gA as BulkSetBusinessLocationRequest, gB as BulkSetBusinessLocationResponse, gC as BulkSetBusinessLocationResult, ft as BulkUnArchiveOrdersByFilterRequest, fu as BulkUnArchiveOrdersByFilterResponse, fr as BulkUnArchiveOrdersRequest, fs as BulkUnArchiveOrdersResponse, gR as BulkUpdateOrderTagsRequest, gS as BulkUpdateOrderTagsResult, eY as BulkUpdateOrdersRequest, aV as BuyerInfo, aW as BuyerInfoIdOneOf, fw as BuyerInfoUpdate, ea as CalculateRefundItemRequest, ec as CalculateRefundItemResponse, e9 as CalculateRefundRequest, eb as CalculateRefundResponse, ho as CalculatedTax, hn as CalculatedTaxes, gY as Cancel, gj as CancelOrderRequest, ee as CaptureAuthorizedPaymentsRequest, ar as CatalogReference, cc as ChannelInfo, X as ChannelType, h$ as ChannelTypeWithLiterals, hA as ChargeMembershipsOptions, dD as ChargeMembershipsRequest, dH as ChargeMembershipsResponse, ef as ChargeSavedPaymentMethodRequest, eg as ChargeSavedPaymentMethodResponse, d_ as Chargeback, c8 as ChargebackCreated, c9 as ChargebackReversed, aa as ChargebackStatus, ie as ChargebackStatusWithLiterals, dB as ChargedBy, ax as Color, iz as CommitDeltasApplicationErrors, hD as CommitDeltasOptions, eZ as CommitDeltasRequest, fd as CommitDeltasResponse, ff as CommittedDiffs, fg as CommittedDiffsShippingUpdateInfoOneOf, h7 as CommonAddress, h8 as CommonAddressStreetOneOf, iB as CommonSearchWithEntityContext, h6 as Company, gX as Complete, ey as ContinueSideEffectsFlowInLegacyData, bg as Coupon, eS as CreateOrderRequest, eV as CreateOrderResponse, dA as CreatePaymentGatewayOrderRequest, dC as CreatePaymentGatewayOrderResponse, ca as CreatedBy, cb as CreatedByStringOneOf, bZ as CreditCardDetails, dU as CreditCardPaymentMethodDetails, aX as CurrencyConversionDetails, eI as CursorPaging, eR as CursorPagingMetadata, eP as CursorSearch, eQ as CursorSearchPagingMethodOneOf, eL as Cursors, bo as CustomActivity, cd as CustomField, al as CustomFieldGroup, ir as CustomFieldGroupWithLiterals, ht as CustomFieldValue, h1 as Customer, gP as DecrementData, gO as DecrementItemsQuantityRequest, gQ as DecrementItemsQuantityResponse, di as DelayedCaptureSettings, hH as DeleteActivityIdentifiers, gc as DeleteActivityRequest, gd as DeleteActivityResponse, em as DeleteByFilterOperation, el as DeleteByIdsOperation, b4 as DeliveryLogistics, b5 as DeliveryLogisticsAddressOneOf, b8 as DeliveryTimeSlot, ag as DeltaPaymentOptionType, il as DeltaPaymentOptionTypeWithLiterals, hv as Deposit, an as DepositType, it as DepositTypeWithLiterals, as as DescriptionLine, au as DescriptionLineDescriptionLineValueOneOf, av as DescriptionLineName, D as DescriptionLineType, hJ as DescriptionLineTypeWithLiterals, at as DescriptionLineValueOneOf, ew as DiffmatokyPayload, aF as DigitalFile, hl as Discount, hm as DiscountOneDiscountTypeOneOf, L as DiscountReason, hX as DiscountReasonWithLiterals, bj as DiscountRule, bk as DiscountRuleName, K as DiscountType, hW as DiscountTypeWithLiterals, d5 as DomainEvent, d6 as DomainEventBodyOneOf, fR as DownloadLinkSent, bu as DraftOrderChangesApplied, fb as DraftOrderCommitSettings, e_ as DraftOrderDiffs, f1 as DraftOrderDiffsBillingUpdateInfoOneOf, f0 as DraftOrderDiffsBuyerUpdateInfoOneOf, f2 as DraftOrderDiffsRecipientUpdateInfoOneOf, e$ as DraftOrderDiffsShippingUpdateInfoOneOf, dj as Duration, $ as DurationUnit, i3 as DurationUnitWithLiterals, h2 as Email, f_ as EmailEdited, dc as Empty, d7 as EntityCreatedEvent, da as EntityDeletedEvent, d9 as EntityUpdatedEvent, ex as ErrorInformation, hy as EventMetadata, aR as ExtendedFields, c5 as ExternalReceipt, e2 as ExternalReceiptInfo, ay as FocalPoint, aK as FreeTrialPeriod, fY as FulfillerEmailSent, F as FulfillmentStatus, gp as FulfillmentStatusUpdated, hR as FulfillmentStatusWithLiterals, ch as FulfillmentStatusesAggregate, b1 as FullAddressContactDetails, eB as GetOrderRequest, eC as GetOrderResponse, dk as GetPaymentCollectabilityStatusRequest, dw as GetRefundabilityStatusRequest, dx as GetRefundabilityStatusResponse, gK as GetShipmentsRequest, gL as GetShipmentsResponse, d$ as GiftCardPaymentDetails, bQ as GiftCardPaymentRefund, g$ as IdAndVersion, de as IdentificationData, df as IdentificationDataIdOneOf, eA as IndexingMessage, fK as InternalActivity, fL as InternalActivityContentOneOf, ej as InternalDocument, en as InternalDocumentUpdateByFilterOperation, ek as InternalDocumentUpdateOperation, eD as InternalQueryOrdersRequest, eJ as InternalQueryOrdersResponse, eo as InternalUpdateExistingOperation, ah as InventoryAction, im as InventoryActionWithLiterals, fc as InventoryUpdateDetails, fW as InvoiceAdded, hb as InvoiceDates, hs as InvoiceDynamicPriceTotals, h0 as InvoiceFields, fX as InvoiceSent, g_ as InvoiceSentEvent, ao as InvoiceStatus, iu as InvoiceStatusWithLiterals, hq as InvoicesPayment, f6 as ItemChangedDetails, dt as ItemMetadata, aU as ItemModifier, aC as ItemTaxFullDetails, aA as ItemType, I as ItemTypeItemType, aB as ItemTypeItemTypeDataOneOf, hK as ItemTypeItemTypeWithLiterals, hk as ItemizedFee, J as JurisdictionType, hM as JurisdictionTypeWithLiterals, hd as LineItem, bD as LineItemAmount, bx as LineItemChanges, fh as LineItemDelta, fi as LineItemDeltaDeltaOneOf, bl as LineItemDiscount, bt as LineItemExchangeData, hh as LineItemMetaData, bz as LineItemPriceChange, by as LineItemQuantityChange, N as LineItemQuantityChangeType, hY as LineItemQuantityChangeTypeWithLiterals, cP as LineItemRefund, e8 as LineItemRefundSummary, hf as LineItemTax, aE as LineItemTaxBreakdown, aD as LineItemTaxInfo, gf as LineItemUpdate, hc as LineItems, hi as Locale, ck as Location, aO as LocationAndQuantity, bE as ManagedAdditionalFee, bB as ManagedDiscount, bA as ManagedLineItem, a3 as ManuallyRefundableReason, i7 as ManuallyRefundableReasonWithLiterals, gn as MarkAsFulfilledRequest, go as MarkAsFulfilledResponse, gu as MarkAsUnfulfilledRequest, gv as MarkAsUnfulfilledResponse, dn as MarkOrderAsPaidRequest, dp as MarkOrderAsPaidResponse, gh as MarkOrderAsSeenByHumanRequest, gi as MarkOrderAsSeenByHumanResponse, fH as MaskedOrderLineItem, dE as MembershipChargeItem, dF as MembershipName, e0 as MembershipPaymentDetails, bR as MembershipPaymentRefund, ab as MembershipPaymentStatus, ig as MembershipPaymentStatusWithLiterals, bp as MerchantComment, bh as MerchantDiscount, bi as MerchantDiscountMerchantDiscountReasonOneOf, dd as MessageEnvelope, hr as MetaData, aS as ModifierGroup, bs as NewExchangeOrderCreated, a2 as NonRefundableReason, i6 as NonRefundableReasonWithLiterals, af as OrderApprovalStrategy, ik as OrderApprovalStrategyWithLiterals, cl as OrderApproved, fQ as OrderCanceled, gk as OrderCanceledEventOrderCanceled, bv as OrderChange, bw as OrderChangeValueOneOf, eU as OrderCreateNotifications, br as OrderCreatedFromExchange, eT as OrderCreationSettings, fe as OrderDeltasCommitted, fO as OrderFulfilled, co as OrderItemsRestocked, ap as OrderLineItem, f5 as OrderLineItemChangedDetails, fP as OrderNotFulfilled, fN as OrderPaid, g0 as OrderPartiallyPaid, g1 as OrderPending, fM as OrderPlaced, bq as OrderRefunded, g2 as OrderRejected, cn as OrderRejectedEventOrderRejected, hC as OrderSearchSpec, H as OrderStatus, hV as OrderStatusWithLiterals, bd as OrderTaxBreakdown, bc as OrderTaxInfo, dO as OrderTransactions, cm as OrdersExperiments, dP as Payment, b_ as PaymentCanceled, b$ as PaymentCanceledPaymentDetailsOneOf, a0 as PaymentCollectabilityStatus, i4 as PaymentCollectabilityStatusWithLiterals, ix as PaymentCollectionCreatePaymentGatewayOrderApplicationErrors, hz as PaymentCollectionCreatePaymentGatewayOrderOptions, iw as PaymentCollectionMarkOrderAsPaidApplicationErrors, c0 as PaymentDeclined, c1 as PaymentDeclinedPaymentDetailsOneOf, w as PaymentOptionType, hL as PaymentOptionTypeWithLiterals, dQ as PaymentPaymentDetailsOneOf, bV as PaymentPending, bW as PaymentPendingPaymentDetailsOneOf, dR as PaymentReceiptInfoOneOf, dJ as PaymentRefund, bT as PaymentRefundFailed, bS as PaymentRefunded, y as PaymentStatus, gF as PaymentStatusUpdated, hQ as PaymentStatusWithLiterals, hp as Payments, h5 as Phone, az as PhysicalProperties, b7 as PickupAddress, b6 as PickupDetails, E as PickupMethod, hU as PickupMethodWithLiterals, f$ as PickupReadyEmailSent, ai as Placement, io as PlacementWithLiterals, aw as PlainTextValue, eH as PlatformPaging, eK as PlatformPagingMetadata, eE as PlatformQuery, eF as PlatformQueryPagingMethodOneOf, dg as PreparePaymentCollectionRequest, cZ as PreviewBuyerConfirmationEmailRequest, c_ as PreviewBuyerConfirmationEmailResponse, cX as PreviewBuyerPaymentsReceivedEmailRequest, cY as PreviewBuyerPaymentsReceivedEmailResponse, c$ as PreviewBuyerPickupConfirmationEmailRequest, d0 as PreviewBuyerPickupConfirmationEmailResponse, cT as PreviewCancelEmailRequest, cU as PreviewCancelEmailResponse, cV as PreviewCancelRefundEmailRequest, cW as PreviewCancelRefundEmailResponse, cK as PreviewEmailByTypeRequest, cL as PreviewEmailByTypeResponse, Y as PreviewEmailType, i0 as PreviewEmailTypeWithLiterals, cM as PreviewRefundEmailRequest, cS as PreviewRefundEmailResponse, d3 as PreviewResendDownloadLinksEmailRequest, d4 as PreviewResendDownloadLinksEmailResponse, d1 as PreviewShippingConfirmationEmailRequest, d2 as PreviewShippingConfirmationEmailResponse, aN as PriceDescription, aY as PriceSummary, aq as ProductName, g5 as PublicActivity, g6 as PublicActivityContentOneOf, eM as QueryOrderRequest, eN as QueryOrderResponse, h3 as QuotesAddress, a8 as Reason, ic as ReasonWithLiterals, c2 as ReceiptCreated, c3 as ReceiptCreatedReceiptInfoOneOf, c6 as ReceiptSent, c7 as ReceiptSentReceiptInfoOneOf, iv as RecordManuallyCollectedPaymentApplicationErrors, dl as RecordManuallyCollectedPaymentRequest, dm as RecordManuallyCollectedPaymentResponse, dh as RedirectUrls, e3 as Refund, cN as RefundDetails, bM as RefundInitiated, cO as RefundItem, e7 as RefundItemsBreakdown, dK as RefundSideEffects, ac as RefundStatus, e5 as RefundStatusInfo, ih as RefundStatusWithLiterals, e4 as RefundTransaction, dy as Refundability, dz as RefundabilityAdditionalRefundabilityInfoOneOf, a1 as RefundableStatus, i5 as RefundableStatusWithLiterals, bU as RefundedAsStoreCredit, bN as RefundedPayment, bO as RefundedPaymentKindOneOf, bX as RegularPayment, dS as RegularPaymentDetails, dT as RegularPaymentDetailsPaymentMethodDetailsOneOf, bY as RegularPaymentPaymentMethodDetailsOneOf, bP as RegularPaymentRefund, gZ as Reschedule, dL as RestockInfo, dM as RestockItem, a4 as RestockType, i8 as RestockTypeWithLiterals, d8 as RestoreInfo, bI as SavedPaymentMethod, _ as ScheduledAction, i2 as ScheduledActionWithLiterals, eO as SearchOrdersRequest, cq as SendBuyerConfirmationEmailRequest, cr as SendBuyerConfirmationEmailResponse, cs as SendBuyerPaymentsReceivedEmailRequest, ct as SendBuyerPaymentsReceivedEmailResponse, cu as SendBuyerPickupConfirmationEmailRequest, cv as SendBuyerPickupConfirmationEmailResponse, cy as SendBuyerShippingConfirmationEmailRequest, cz as SendBuyerShippingConfirmationEmailResponse, cE as SendCancelRefundEmailRequest, cF as SendCancelRefundEmailResponse, cC as SendMerchantOrderReceivedNotificationRequest, cD as SendMerchantOrderReceivedNotificationResponse, cI as SendMerchantOrderReceivedPushRequest, cJ as SendMerchantOrderReceivedPushResponse, cG as SendRefundEmailRequest, cH as SendRefundEmailResponse, dG as ServiceProperties, fZ as ShippingAddressEdited, fV as ShippingConfirmationEmailSent, bH as ShippingInformation, bG as ShippingInformationChange, b9 as ShippingPrice, cR as ShippingRefund, ba as ShippingRegion, ez as SnapshotMessage, ae as SortOrder, ij as SortOrderWithLiterals, eG as Sorting, hg as Source, ak as SourceType, iq as SourceTypeWithLiterals, ha as StandardDetails, a$ as StreetAddress, h9 as Subdivision, aj as SubdivisionType, ip as SubdivisionTypeWithLiterals, aI as SubscriptionDescription, x as SubscriptionFrequency, hN as SubscriptionFrequencyWithLiterals, aG as SubscriptionInfo, aJ as SubscriptionSettings, aH as SubscriptionTitle, cj as TagList, ci as Tags, gT as Task, gV as TaskAction, gW as TaskActionActionOneOf, gU as TaskKey, bb as TaxSummary, aP as TaxableAddress, aQ as TaxableAddressTaxableAddressDataOneOf, T as TaxableAddressType, hP as TaxableAddressTypeWithLiterals, hj as TotalPrice, bF as TotalPriceChange, fU as TrackingLinkAdded, fS as TrackingNumberAdded, fT as TrackingNumberEdited, a5 as TransactionStatus, i9 as TransactionStatusWithLiterals, aT as TranslatableString, bC as TranslatedValue, iy as TriggerRefundApplicationErrors, hB as TriggerRefundOptions, dI as TriggerRefundRequest, dN as TriggerRefundResponse, ev as TriggerReindexOrderRequest, es as TriggerReindexRequest, et as TriggerReindexResponse, hw as TriggerSideEffectsFromLegacyData, fp as UnArchiveOrderRequest, fq as UnArchiveOrderResponse, hG as UpdateActivityIdentifiers, ga as UpdateActivityRequest, gb as UpdateActivityResponse, fC as UpdateBillingContactDetailsRequest, fD as UpdateBillingContactDetailsResponse, fy as UpdateBuyerEmailRequest, fz as UpdateBuyerEmailResponse, fv as UpdateBuyerInfoRequest, fx as UpdateBuyerInfoResponse, eh as UpdateInternalDocumentsEvent, ei as UpdateInternalDocumentsEventOperationOneOf, ge as UpdateLineItemsDescriptionLinesRequest, gg as UpdateLineItemsDescriptionLinesResponse, hF as UpdateOrderLineItem, hE as UpdateOrderLineItemIdentifiers, fE as UpdateOrderLineItemRequest, fF as UpdateOrderLineItemResponse, fG as UpdateOrderLineItemsRequest, fI as UpdateOrderLineItemsResponse, eW as UpdateOrderRequest, eX as UpdateOrderResponse, fA as UpdateOrderShippingAddressRequest, fB as UpdateOrderShippingAddressResponse, iA as UpdateOrderStatusApplicationErrors, gl as UpdateOrderStatusRequest, gm as UpdateOrderStatusResponse, gG as V1BulkMarkOrdersAsPaidRequest, gH as V1BulkMarkOrdersAsPaidResponse, gI as V1CreatePaymentGatewayOrderRequest, gJ as V1CreatePaymentGatewayOrderResponse, f3 as V1LineItemDelta, f4 as V1LineItemDeltaDeltaOneOf, gD as V1MarkOrderAsPaidRequest, gE as V1MarkOrderAsPaidResponse, cp as V1RestockItem, dZ as V1ScheduledAction, b3 as V1ShippingInformation, hu as Value, am as ValueType, is as ValueTypeWithLiterals, b2 as VatId, z as VatType, hT as VatTypeWithLiterals, eq as VersionedDeleteByIdsOperation, er as VersionedDocumentId, ep as VersionedDocumentUpdateOperation, ad as VersioningMode, ii as VersioningModeWithLiterals, ed as VoidAuthorizedPaymentsRequest, Z as WebhookIdentityType, i1 as WebhookIdentityTypeWithLiterals, W as WeightUnit, hS as WeightUnitWithLiterals, c4 as WixReceipt, e1 as WixReceiptInfo } from './ecom-v1-order-orders.universal-BZ_nUWQc.js';
|
|
2
|
+
import { P as Price, a as PreparePaymentCollectionOptions, b as PreparePaymentCollectionResponse, c as PreparePaymentCollectionApplicationErrors, G as GetPaymentCollectabilityStatusResponse, V as VoidAuthorizedPaymentsResponse, d as VoidAuthorizedPaymentsApplicationErrors, e as PaymentCapture, C as CaptureAuthorizedPaymentsResponse, f as CaptureAuthorizedPaymentsApplicationErrors, O as Order, g as GetOrderApplicationErrors, h as OrderSearch, S as SearchOrdersResponse, i as CreateOrderOptions, j as CreateOrderApplicationErrors, U as UpdateOrder, k as UpdateOrderApplicationErrors, M as MaskedOrder, B as BulkUpdateOrdersOptions, l as BulkUpdateOrdersResponse, m as CancelOrderOptions, n as CancelOrderResponse, o as CancelOrderApplicationErrors, p as BulkUpdateOrderTagsOptions, q as BulkUpdateOrderTagsResponse, r as OrderApprovedEnvelope, s as OrderUpdatedEnvelope, t as OrderCanceledEnvelope, u as OrderCreatedEnvelope, v as OrderPaymentStatusUpdatedEnvelope } from './ecom-v1-order-orders.universal-CIp4c27n.js';
|
|
3
|
+
export { db as ActionEvent, a9 as ActionType, id as ActionTypeWithLiterals, bm as Activity, bn as ActivityContentOneOf, Q as ActivityType, hZ as ActivityTypeWithLiterals, g8 as AddActivitiesRequest, g9 as AddActivitiesResponse, g4 as AddActivityRequest, g7 as AddActivityResponse, fJ as AddInternalActivityRequest, g3 as AddInternalActivityResponse, cg as AdditionalFee, f9 as AdditionalFeeDelta, fa as AdditionalFeeDeltaDeltaOneOf, cQ as AdditionalFeeRefund, a_ as Address, h4 as AddressDescription, b0 as AddressLocation, aZ as AddressWithContact, A as AdjustmentType, hO as AdjustmentTypeWithLiterals, hI as AggregateOrdersOptions, gM as AggregateOrdersRequest, gN as AggregateOrdersResponse, e6 as AggregatedRefundSummary, du as ApplicationError, be as AppliedDiscount, f7 as AppliedDiscountDelta, f8 as AppliedDiscountDeltaDeltaOneOf, bf as AppliedDiscountDiscountSourceOneOf, fj as ArchiveOrderRequest, fk as ArchiveOrderResponse, R as AttributionSource, h_ as AttributionSourceWithLiterals, dX as AuthorizationActionFailureDetails, dW as AuthorizationCapture, a6 as AuthorizationCaptureStatus, ia as AuthorizationCaptureStatusWithLiterals, dV as AuthorizationDetails, dY as AuthorizationVoid, a7 as AuthorizationVoidStatus, ib as AuthorizationVoidStatusWithLiterals, bK as AuthorizedPaymentCaptured, bJ as AuthorizedPaymentCreated, bL as AuthorizedPaymentVoided, cf as Balance, ce as BalanceSummary, hx as BaseEventMetadata, eu as BatchOfTriggerReindexOrderRequest, he as BigDecimalWrapper, aL as BillingAdjustment, aM as BillingAdjustmentPriceSummary, dv as BulkActionMetadata, fn as BulkArchiveOrdersByFilterRequest, fo as BulkArchiveOrdersByFilterResponse, fl as BulkArchiveOrdersRequest, fm as BulkArchiveOrdersResponse, gs as BulkMarkAsFulfilledByFilterRequest, gt as BulkMarkAsFulfilledByFilterResponse, gq as BulkMarkAsFulfilledRequest, gr as BulkMarkAsFulfilledResponse, gy as BulkMarkAsUnfulfilledByFilterRequest, gz as BulkMarkAsUnfulfilledByFilterResponse, gw as BulkMarkAsUnfulfilledRequest, gx as BulkMarkAsUnfulfilledResponse, dq as BulkMarkOrdersAsPaidRequest, dr as BulkMarkOrdersAsPaidResponse, ds as BulkOrderResult, cw as BulkSendBuyerPickupConfirmationEmailsRequest, cx as BulkSendBuyerPickupConfirmationEmailsResponse, cA as BulkSendBuyerShippingConfirmationEmailsRequest, cB as BulkSendBuyerShippingConfirmationEmailsResponse, gA as BulkSetBusinessLocationRequest, gB as BulkSetBusinessLocationResponse, gC as BulkSetBusinessLocationResult, ft as BulkUnArchiveOrdersByFilterRequest, fu as BulkUnArchiveOrdersByFilterResponse, fr as BulkUnArchiveOrdersRequest, fs as BulkUnArchiveOrdersResponse, gR as BulkUpdateOrderTagsRequest, gS as BulkUpdateOrderTagsResult, eY as BulkUpdateOrdersRequest, aV as BuyerInfo, aW as BuyerInfoIdOneOf, fw as BuyerInfoUpdate, ea as CalculateRefundItemRequest, ec as CalculateRefundItemResponse, e9 as CalculateRefundRequest, eb as CalculateRefundResponse, ho as CalculatedTax, hn as CalculatedTaxes, gY as Cancel, gj as CancelOrderRequest, ee as CaptureAuthorizedPaymentsRequest, ar as CatalogReference, cc as ChannelInfo, X as ChannelType, h$ as ChannelTypeWithLiterals, hA as ChargeMembershipsOptions, dD as ChargeMembershipsRequest, dH as ChargeMembershipsResponse, ef as ChargeSavedPaymentMethodRequest, eg as ChargeSavedPaymentMethodResponse, d_ as Chargeback, c8 as ChargebackCreated, c9 as ChargebackReversed, aa as ChargebackStatus, ie as ChargebackStatusWithLiterals, dB as ChargedBy, ax as Color, iz as CommitDeltasApplicationErrors, hD as CommitDeltasOptions, eZ as CommitDeltasRequest, fd as CommitDeltasResponse, ff as CommittedDiffs, fg as CommittedDiffsShippingUpdateInfoOneOf, h7 as CommonAddress, h8 as CommonAddressStreetOneOf, iB as CommonSearchWithEntityContext, h6 as Company, gX as Complete, ey as ContinueSideEffectsFlowInLegacyData, bg as Coupon, eS as CreateOrderRequest, eV as CreateOrderResponse, dA as CreatePaymentGatewayOrderRequest, dC as CreatePaymentGatewayOrderResponse, ca as CreatedBy, cb as CreatedByStringOneOf, bZ as CreditCardDetails, dU as CreditCardPaymentMethodDetails, aX as CurrencyConversionDetails, eI as CursorPaging, eR as CursorPagingMetadata, eP as CursorSearch, eQ as CursorSearchPagingMethodOneOf, eL as Cursors, bo as CustomActivity, cd as CustomField, al as CustomFieldGroup, ir as CustomFieldGroupWithLiterals, ht as CustomFieldValue, h1 as Customer, gP as DecrementData, gO as DecrementItemsQuantityRequest, gQ as DecrementItemsQuantityResponse, di as DelayedCaptureSettings, hH as DeleteActivityIdentifiers, gc as DeleteActivityRequest, gd as DeleteActivityResponse, em as DeleteByFilterOperation, el as DeleteByIdsOperation, b4 as DeliveryLogistics, b5 as DeliveryLogisticsAddressOneOf, b8 as DeliveryTimeSlot, ag as DeltaPaymentOptionType, il as DeltaPaymentOptionTypeWithLiterals, hv as Deposit, an as DepositType, it as DepositTypeWithLiterals, as as DescriptionLine, au as DescriptionLineDescriptionLineValueOneOf, av as DescriptionLineName, D as DescriptionLineType, hJ as DescriptionLineTypeWithLiterals, at as DescriptionLineValueOneOf, ew as DiffmatokyPayload, aF as DigitalFile, hl as Discount, hm as DiscountOneDiscountTypeOneOf, L as DiscountReason, hX as DiscountReasonWithLiterals, bj as DiscountRule, bk as DiscountRuleName, K as DiscountType, hW as DiscountTypeWithLiterals, d5 as DomainEvent, d6 as DomainEventBodyOneOf, fR as DownloadLinkSent, bu as DraftOrderChangesApplied, fb as DraftOrderCommitSettings, e_ as DraftOrderDiffs, f1 as DraftOrderDiffsBillingUpdateInfoOneOf, f0 as DraftOrderDiffsBuyerUpdateInfoOneOf, f2 as DraftOrderDiffsRecipientUpdateInfoOneOf, e$ as DraftOrderDiffsShippingUpdateInfoOneOf, dj as Duration, $ as DurationUnit, i3 as DurationUnitWithLiterals, h2 as Email, f_ as EmailEdited, dc as Empty, d7 as EntityCreatedEvent, da as EntityDeletedEvent, d9 as EntityUpdatedEvent, ex as ErrorInformation, hy as EventMetadata, aR as ExtendedFields, c5 as ExternalReceipt, e2 as ExternalReceiptInfo, ay as FocalPoint, aK as FreeTrialPeriod, fY as FulfillerEmailSent, F as FulfillmentStatus, gp as FulfillmentStatusUpdated, hR as FulfillmentStatusWithLiterals, ch as FulfillmentStatusesAggregate, b1 as FullAddressContactDetails, eB as GetOrderRequest, eC as GetOrderResponse, dk as GetPaymentCollectabilityStatusRequest, dw as GetRefundabilityStatusRequest, dx as GetRefundabilityStatusResponse, gK as GetShipmentsRequest, gL as GetShipmentsResponse, d$ as GiftCardPaymentDetails, bQ as GiftCardPaymentRefund, g$ as IdAndVersion, de as IdentificationData, df as IdentificationDataIdOneOf, eA as IndexingMessage, fK as InternalActivity, fL as InternalActivityContentOneOf, ej as InternalDocument, en as InternalDocumentUpdateByFilterOperation, ek as InternalDocumentUpdateOperation, eD as InternalQueryOrdersRequest, eJ as InternalQueryOrdersResponse, eo as InternalUpdateExistingOperation, ah as InventoryAction, im as InventoryActionWithLiterals, fc as InventoryUpdateDetails, fW as InvoiceAdded, hb as InvoiceDates, hs as InvoiceDynamicPriceTotals, h0 as InvoiceFields, fX as InvoiceSent, g_ as InvoiceSentEvent, ao as InvoiceStatus, iu as InvoiceStatusWithLiterals, hq as InvoicesPayment, f6 as ItemChangedDetails, dt as ItemMetadata, aU as ItemModifier, aC as ItemTaxFullDetails, aA as ItemType, I as ItemTypeItemType, aB as ItemTypeItemTypeDataOneOf, hK as ItemTypeItemTypeWithLiterals, hk as ItemizedFee, J as JurisdictionType, hM as JurisdictionTypeWithLiterals, hd as LineItem, bD as LineItemAmount, bx as LineItemChanges, fh as LineItemDelta, fi as LineItemDeltaDeltaOneOf, bl as LineItemDiscount, bt as LineItemExchangeData, hh as LineItemMetaData, bz as LineItemPriceChange, by as LineItemQuantityChange, N as LineItemQuantityChangeType, hY as LineItemQuantityChangeTypeWithLiterals, cP as LineItemRefund, e8 as LineItemRefundSummary, hf as LineItemTax, aE as LineItemTaxBreakdown, aD as LineItemTaxInfo, gf as LineItemUpdate, hc as LineItems, hi as Locale, ck as Location, aO as LocationAndQuantity, bE as ManagedAdditionalFee, bB as ManagedDiscount, bA as ManagedLineItem, a3 as ManuallyRefundableReason, i7 as ManuallyRefundableReasonWithLiterals, gn as MarkAsFulfilledRequest, go as MarkAsFulfilledResponse, gu as MarkAsUnfulfilledRequest, gv as MarkAsUnfulfilledResponse, dn as MarkOrderAsPaidRequest, dp as MarkOrderAsPaidResponse, gh as MarkOrderAsSeenByHumanRequest, gi as MarkOrderAsSeenByHumanResponse, fH as MaskedOrderLineItem, dE as MembershipChargeItem, dF as MembershipName, e0 as MembershipPaymentDetails, bR as MembershipPaymentRefund, ab as MembershipPaymentStatus, ig as MembershipPaymentStatusWithLiterals, bp as MerchantComment, bh as MerchantDiscount, bi as MerchantDiscountMerchantDiscountReasonOneOf, dd as MessageEnvelope, hr as MetaData, aS as ModifierGroup, bs as NewExchangeOrderCreated, a2 as NonRefundableReason, i6 as NonRefundableReasonWithLiterals, af as OrderApprovalStrategy, ik as OrderApprovalStrategyWithLiterals, cl as OrderApproved, fQ as OrderCanceled, gk as OrderCanceledEventOrderCanceled, bv as OrderChange, bw as OrderChangeValueOneOf, eU as OrderCreateNotifications, br as OrderCreatedFromExchange, eT as OrderCreationSettings, fe as OrderDeltasCommitted, fO as OrderFulfilled, co as OrderItemsRestocked, ap as OrderLineItem, f5 as OrderLineItemChangedDetails, fP as OrderNotFulfilled, fN as OrderPaid, g0 as OrderPartiallyPaid, g1 as OrderPending, fM as OrderPlaced, bq as OrderRefunded, g2 as OrderRejected, cn as OrderRejectedEventOrderRejected, hC as OrderSearchSpec, H as OrderStatus, hV as OrderStatusWithLiterals, bd as OrderTaxBreakdown, bc as OrderTaxInfo, dO as OrderTransactions, cm as OrdersExperiments, dP as Payment, b_ as PaymentCanceled, b$ as PaymentCanceledPaymentDetailsOneOf, a0 as PaymentCollectabilityStatus, i4 as PaymentCollectabilityStatusWithLiterals, ix as PaymentCollectionCreatePaymentGatewayOrderApplicationErrors, hz as PaymentCollectionCreatePaymentGatewayOrderOptions, iw as PaymentCollectionMarkOrderAsPaidApplicationErrors, c0 as PaymentDeclined, c1 as PaymentDeclinedPaymentDetailsOneOf, w as PaymentOptionType, hL as PaymentOptionTypeWithLiterals, dQ as PaymentPaymentDetailsOneOf, bV as PaymentPending, bW as PaymentPendingPaymentDetailsOneOf, dR as PaymentReceiptInfoOneOf, dJ as PaymentRefund, bT as PaymentRefundFailed, bS as PaymentRefunded, y as PaymentStatus, gF as PaymentStatusUpdated, hQ as PaymentStatusWithLiterals, hp as Payments, h5 as Phone, az as PhysicalProperties, b7 as PickupAddress, b6 as PickupDetails, E as PickupMethod, hU as PickupMethodWithLiterals, f$ as PickupReadyEmailSent, ai as Placement, io as PlacementWithLiterals, aw as PlainTextValue, eH as PlatformPaging, eK as PlatformPagingMetadata, eE as PlatformQuery, eF as PlatformQueryPagingMethodOneOf, dg as PreparePaymentCollectionRequest, cZ as PreviewBuyerConfirmationEmailRequest, c_ as PreviewBuyerConfirmationEmailResponse, cX as PreviewBuyerPaymentsReceivedEmailRequest, cY as PreviewBuyerPaymentsReceivedEmailResponse, c$ as PreviewBuyerPickupConfirmationEmailRequest, d0 as PreviewBuyerPickupConfirmationEmailResponse, cT as PreviewCancelEmailRequest, cU as PreviewCancelEmailResponse, cV as PreviewCancelRefundEmailRequest, cW as PreviewCancelRefundEmailResponse, cK as PreviewEmailByTypeRequest, cL as PreviewEmailByTypeResponse, Y as PreviewEmailType, i0 as PreviewEmailTypeWithLiterals, cM as PreviewRefundEmailRequest, cS as PreviewRefundEmailResponse, d3 as PreviewResendDownloadLinksEmailRequest, d4 as PreviewResendDownloadLinksEmailResponse, d1 as PreviewShippingConfirmationEmailRequest, d2 as PreviewShippingConfirmationEmailResponse, aN as PriceDescription, aY as PriceSummary, aq as ProductName, g5 as PublicActivity, g6 as PublicActivityContentOneOf, eM as QueryOrderRequest, eN as QueryOrderResponse, h3 as QuotesAddress, a8 as Reason, ic as ReasonWithLiterals, c2 as ReceiptCreated, c3 as ReceiptCreatedReceiptInfoOneOf, c6 as ReceiptSent, c7 as ReceiptSentReceiptInfoOneOf, iv as RecordManuallyCollectedPaymentApplicationErrors, dl as RecordManuallyCollectedPaymentRequest, dm as RecordManuallyCollectedPaymentResponse, dh as RedirectUrls, e3 as Refund, cN as RefundDetails, bM as RefundInitiated, cO as RefundItem, e7 as RefundItemsBreakdown, dK as RefundSideEffects, ac as RefundStatus, e5 as RefundStatusInfo, ih as RefundStatusWithLiterals, e4 as RefundTransaction, dy as Refundability, dz as RefundabilityAdditionalRefundabilityInfoOneOf, a1 as RefundableStatus, i5 as RefundableStatusWithLiterals, bU as RefundedAsStoreCredit, bN as RefundedPayment, bO as RefundedPaymentKindOneOf, bX as RegularPayment, dS as RegularPaymentDetails, dT as RegularPaymentDetailsPaymentMethodDetailsOneOf, bY as RegularPaymentPaymentMethodDetailsOneOf, bP as RegularPaymentRefund, gZ as Reschedule, dL as RestockInfo, dM as RestockItem, a4 as RestockType, i8 as RestockTypeWithLiterals, d8 as RestoreInfo, bI as SavedPaymentMethod, _ as ScheduledAction, i2 as ScheduledActionWithLiterals, eO as SearchOrdersRequest, cq as SendBuyerConfirmationEmailRequest, cr as SendBuyerConfirmationEmailResponse, cs as SendBuyerPaymentsReceivedEmailRequest, ct as SendBuyerPaymentsReceivedEmailResponse, cu as SendBuyerPickupConfirmationEmailRequest, cv as SendBuyerPickupConfirmationEmailResponse, cy as SendBuyerShippingConfirmationEmailRequest, cz as SendBuyerShippingConfirmationEmailResponse, cE as SendCancelRefundEmailRequest, cF as SendCancelRefundEmailResponse, cC as SendMerchantOrderReceivedNotificationRequest, cD as SendMerchantOrderReceivedNotificationResponse, cI as SendMerchantOrderReceivedPushRequest, cJ as SendMerchantOrderReceivedPushResponse, cG as SendRefundEmailRequest, cH as SendRefundEmailResponse, dG as ServiceProperties, fZ as ShippingAddressEdited, fV as ShippingConfirmationEmailSent, bH as ShippingInformation, bG as ShippingInformationChange, b9 as ShippingPrice, cR as ShippingRefund, ba as ShippingRegion, ez as SnapshotMessage, ae as SortOrder, ij as SortOrderWithLiterals, eG as Sorting, hg as Source, ak as SourceType, iq as SourceTypeWithLiterals, ha as StandardDetails, a$ as StreetAddress, h9 as Subdivision, aj as SubdivisionType, ip as SubdivisionTypeWithLiterals, aI as SubscriptionDescription, x as SubscriptionFrequency, hN as SubscriptionFrequencyWithLiterals, aG as SubscriptionInfo, aJ as SubscriptionSettings, aH as SubscriptionTitle, cj as TagList, ci as Tags, gT as Task, gV as TaskAction, gW as TaskActionActionOneOf, gU as TaskKey, bb as TaxSummary, aP as TaxableAddress, aQ as TaxableAddressTaxableAddressDataOneOf, T as TaxableAddressType, hP as TaxableAddressTypeWithLiterals, hj as TotalPrice, bF as TotalPriceChange, fU as TrackingLinkAdded, fS as TrackingNumberAdded, fT as TrackingNumberEdited, a5 as TransactionStatus, i9 as TransactionStatusWithLiterals, aT as TranslatableString, bC as TranslatedValue, iy as TriggerRefundApplicationErrors, hB as TriggerRefundOptions, dI as TriggerRefundRequest, dN as TriggerRefundResponse, ev as TriggerReindexOrderRequest, es as TriggerReindexRequest, et as TriggerReindexResponse, hw as TriggerSideEffectsFromLegacyData, fp as UnArchiveOrderRequest, fq as UnArchiveOrderResponse, hG as UpdateActivityIdentifiers, ga as UpdateActivityRequest, gb as UpdateActivityResponse, fC as UpdateBillingContactDetailsRequest, fD as UpdateBillingContactDetailsResponse, fy as UpdateBuyerEmailRequest, fz as UpdateBuyerEmailResponse, fv as UpdateBuyerInfoRequest, fx as UpdateBuyerInfoResponse, eh as UpdateInternalDocumentsEvent, ei as UpdateInternalDocumentsEventOperationOneOf, ge as UpdateLineItemsDescriptionLinesRequest, gg as UpdateLineItemsDescriptionLinesResponse, hF as UpdateOrderLineItem, hE as UpdateOrderLineItemIdentifiers, fE as UpdateOrderLineItemRequest, fF as UpdateOrderLineItemResponse, fG as UpdateOrderLineItemsRequest, fI as UpdateOrderLineItemsResponse, eW as UpdateOrderRequest, eX as UpdateOrderResponse, fA as UpdateOrderShippingAddressRequest, fB as UpdateOrderShippingAddressResponse, iA as UpdateOrderStatusApplicationErrors, gl as UpdateOrderStatusRequest, gm as UpdateOrderStatusResponse, gG as V1BulkMarkOrdersAsPaidRequest, gH as V1BulkMarkOrdersAsPaidResponse, gI as V1CreatePaymentGatewayOrderRequest, gJ as V1CreatePaymentGatewayOrderResponse, f3 as V1LineItemDelta, f4 as V1LineItemDeltaDeltaOneOf, gD as V1MarkOrderAsPaidRequest, gE as V1MarkOrderAsPaidResponse, cp as V1RestockItem, dZ as V1ScheduledAction, b3 as V1ShippingInformation, hu as Value, am as ValueType, is as ValueTypeWithLiterals, b2 as VatId, z as VatType, hT as VatTypeWithLiterals, eq as VersionedDeleteByIdsOperation, er as VersionedDocumentId, ep as VersionedDocumentUpdateOperation, ad as VersioningMode, ii as VersioningModeWithLiterals, ed as VoidAuthorizedPaymentsRequest, Z as WebhookIdentityType, i1 as WebhookIdentityTypeWithLiterals, W as WeightUnit, hS as WeightUnitWithLiterals, c4 as WixReceipt, e1 as WixReceiptInfo } from './ecom-v1-order-orders.universal-CIp4c27n.js';
|
|
4
4
|
|
|
5
5
|
declare function preparePaymentCollection$1(httpClient: HttpClient): PreparePaymentCollectionSignature;
|
|
6
6
|
interface PreparePaymentCollectionSignature {
|
|
@@ -13,7 +13,7 @@ interface PreparePaymentCollectionSignature {
|
|
|
13
13
|
* @param - Ecom order ID.
|
|
14
14
|
* @param - Amount to collect
|
|
15
15
|
*/
|
|
16
|
-
(ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise<NonNullablePaths<PreparePaymentCollectionResponse, `paymentGatewayOrderId
|
|
16
|
+
(ecomOrderId: string, amount: Price, options?: PreparePaymentCollectionOptions): Promise<NonNullablePaths<PreparePaymentCollectionResponse, `paymentGatewayOrderId`, 2> & {
|
|
17
17
|
__applicationErrorsType?: PreparePaymentCollectionApplicationErrors;
|
|
18
18
|
}>;
|
|
19
19
|
}
|
|
@@ -25,7 +25,7 @@ interface GetPaymentCollectabilityStatusSignature {
|
|
|
25
25
|
* reason why payment collection is not possible.
|
|
26
26
|
* @param - Ecom order ID.
|
|
27
27
|
*/
|
|
28
|
-
(ecomOrderId: string): Promise<NonNullablePaths<GetPaymentCollectabilityStatusResponse, `status` | `amount.amount` | `amount.formattedAmount
|
|
28
|
+
(ecomOrderId: string): Promise<NonNullablePaths<GetPaymentCollectabilityStatusResponse, `status` | `amount.amount` | `amount.formattedAmount`, 3>>;
|
|
29
29
|
}
|
|
30
30
|
declare function voidAuthorizedPayments$1(httpClient: HttpClient): VoidAuthorizedPaymentsSignature;
|
|
31
31
|
interface VoidAuthorizedPaymentsSignature {
|
|
@@ -35,7 +35,7 @@ interface VoidAuthorizedPaymentsSignature {
|
|
|
35
35
|
* @param - Wix eCommerce order ID
|
|
36
36
|
* @param - Payment IDs
|
|
37
37
|
*/
|
|
38
|
-
(ecomOrderId: string, paymentIds: string[]): Promise<NonNullablePaths<VoidAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.amount.amount` | `orderTransactions.payments.${number}.amount.formattedAmount` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending
|
|
38
|
+
(ecomOrderId: string, paymentIds: string[]): Promise<NonNullablePaths<VoidAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.amount.amount` | `orderTransactions.payments.${number}.amount.formattedAmount` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`, 7> & {
|
|
39
39
|
__applicationErrorsType?: VoidAuthorizedPaymentsApplicationErrors;
|
|
40
40
|
}>;
|
|
41
41
|
}
|
|
@@ -47,7 +47,7 @@ interface CaptureAuthorizedPaymentsSignature {
|
|
|
47
47
|
* @param - Wix eCommerce order ID
|
|
48
48
|
* @param - Capture payments information
|
|
49
49
|
*/
|
|
50
|
-
(ecomOrderId: string, payments: NonNullablePaths<PaymentCapture, `paymentId
|
|
50
|
+
(ecomOrderId: string, payments: NonNullablePaths<PaymentCapture, `paymentId`, 2>[]): Promise<NonNullablePaths<CaptureAuthorizedPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.amount.amount` | `orderTransactions.payments.${number}.amount.formattedAmount` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending`, 7> & {
|
|
51
51
|
__applicationErrorsType?: CaptureAuthorizedPaymentsApplicationErrors;
|
|
52
52
|
}>;
|
|
53
53
|
}
|
|
@@ -63,7 +63,7 @@ interface GetOrderSignature {
|
|
|
63
63
|
* @param - ID of the order to retrieve.
|
|
64
64
|
* @returns Fulfilled - The requested order.
|
|
65
65
|
*/
|
|
66
|
-
(_id: string): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name
|
|
66
|
+
(_id: string): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name`, 6> & {
|
|
67
67
|
__applicationErrorsType?: GetOrderApplicationErrors;
|
|
68
68
|
}>;
|
|
69
69
|
}
|
|
@@ -86,7 +86,7 @@ interface SearchOrdersSignature {
|
|
|
86
86
|
* [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
87
87
|
* @param - Search options.
|
|
88
88
|
*/
|
|
89
|
-
(search: OrderSearch): Promise<NonNullablePaths<SearchOrdersResponse, `orders` | `orders.${number}.number` | `orders.${number}.buyerInfo.visitorId` | `orders.${number}.buyerInfo.memberId` | `orders.${number}.paymentStatus` | `orders.${number}.fulfillmentStatus` | `orders.${number}.weightUnit` | `orders.${number}.taxIncludedInPrices` | `orders.${number}.shippingInfo.title` | `orders.${number}.status` | `orders.${number}.attributionSource` | `orders.${number}.createdBy.userId` | `orders.${number}.createdBy.memberId` | `orders.${number}.createdBy.visitorId` | `orders.${number}.createdBy.appId` | `orders.${number}.channelInfo.type` | `orders.${number}.balanceSummary.balance.amount` | `orders.${number}.balanceSummary.balance.formattedAmount` | `orders.${number}.businessLocation._id` | `orders.${number}.businessLocation.name
|
|
89
|
+
(search: OrderSearch): Promise<NonNullablePaths<SearchOrdersResponse, `orders` | `orders.${number}.number` | `orders.${number}.buyerInfo.visitorId` | `orders.${number}.buyerInfo.memberId` | `orders.${number}.paymentStatus` | `orders.${number}.fulfillmentStatus` | `orders.${number}.weightUnit` | `orders.${number}.taxIncludedInPrices` | `orders.${number}.shippingInfo.title` | `orders.${number}.status` | `orders.${number}.attributionSource` | `orders.${number}.createdBy.userId` | `orders.${number}.createdBy.memberId` | `orders.${number}.createdBy.visitorId` | `orders.${number}.createdBy.appId` | `orders.${number}.channelInfo.type` | `orders.${number}.balanceSummary.balance.amount` | `orders.${number}.balanceSummary.balance.formattedAmount` | `orders.${number}.businessLocation._id` | `orders.${number}.businessLocation.name`, 6>>;
|
|
90
90
|
}
|
|
91
91
|
declare function createOrder$1(httpClient: HttpClient): CreateOrderSignature;
|
|
92
92
|
interface CreateOrderSignature {
|
|
@@ -102,7 +102,7 @@ interface CreateOrderSignature {
|
|
|
102
102
|
* @param - Order info.
|
|
103
103
|
* @returns Newly created order.
|
|
104
104
|
*/
|
|
105
|
-
(order: NonNullablePaths<Order, `billingInfo.contactDetails` | `channelInfo` | `currencyConversionDetails.conversionRate` | `currencyConversionDetails.originalCurrency` | `lineItems` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.itemType` | `lineItems.${number}.price` | `lineItems.${number}.productName` | `lineItems.${number}.productName.original` | `lineItems.${number}.quantity` | `priceSummary
|
|
105
|
+
(order: NonNullablePaths<Order, `billingInfo.contactDetails` | `channelInfo` | `currencyConversionDetails.conversionRate` | `currencyConversionDetails.originalCurrency` | `lineItems` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.itemType` | `lineItems.${number}.price` | `lineItems.${number}.productName` | `lineItems.${number}.productName.original` | `lineItems.${number}.quantity` | `priceSummary`, 5>, options?: CreateOrderOptions): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name`, 6> & {
|
|
106
106
|
__applicationErrorsType?: CreateOrderApplicationErrors;
|
|
107
107
|
}>;
|
|
108
108
|
}
|
|
@@ -137,7 +137,7 @@ interface UpdateOrderSignature {
|
|
|
137
137
|
* @param - Order ID.
|
|
138
138
|
* @returns Newly created order.
|
|
139
139
|
*/
|
|
140
|
-
(_id: string, order: UpdateOrder): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name
|
|
140
|
+
(_id: string, order: UpdateOrder): Promise<NonNullablePaths<Order, `number` | `lineItems` | `lineItems.${number}._id` | `lineItems.${number}.productName.original` | `lineItems.${number}.catalogReference.catalogItemId` | `lineItems.${number}.catalogReference.appId` | `lineItems.${number}.quantity` | `lineItems.${number}.totalDiscount.amount` | `lineItems.${number}.totalDiscount.formattedAmount` | `lineItems.${number}.physicalProperties.shippable` | `lineItems.${number}.itemType.preset` | `lineItems.${number}.itemType.custom` | `lineItems.${number}.paymentOption` | `lineItems.${number}.taxDetails.taxRate` | `lineItems.${number}.taxInfo.taxIncludedInPrice` | `lineItems.${number}.digitalFile.fileId` | `lineItems.${number}.subscriptionInfo.cycleNumber` | `lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `lineItems.${number}.priceDescription.original` | `lineItems.${number}.taxableAddress.addressType` | `buyerInfo.visitorId` | `buyerInfo.memberId` | `paymentStatus` | `fulfillmentStatus` | `weightUnit` | `taxIncludedInPrices` | `billingInfo.address.streetAddress.number` | `billingInfo.address.streetAddress.name` | `billingInfo.contactDetails.vatId._id` | `billingInfo.contactDetails.vatId.type` | `shippingInfo.title` | `shippingInfo.logistics.pickupDetails.pickupMethod` | `status` | `taxInfo.taxBreakdown` | `taxInfo.taxBreakdown.${number}.taxName` | `taxInfo.taxBreakdown.${number}.taxType` | `taxInfo.taxBreakdown.${number}.jurisdiction` | `taxInfo.taxBreakdown.${number}.jurisdictionType` | `taxInfo.taxBreakdown.${number}.rate` | `appliedDiscounts` | `appliedDiscounts.${number}.coupon._id` | `appliedDiscounts.${number}.coupon.code` | `appliedDiscounts.${number}.coupon.name` | `appliedDiscounts.${number}.merchantDiscount.discountReason` | `appliedDiscounts.${number}.discountRule._id` | `appliedDiscounts.${number}.discountRule.name.original` | `appliedDiscounts.${number}.discountType` | `activities` | `activities.${number}.customActivity.appId` | `activities.${number}.customActivity.type` | `activities.${number}.merchantComment.message` | `activities.${number}.orderRefunded.manual` | `activities.${number}.orderRefunded.reason` | `activities.${number}.type` | `attributionSource` | `createdBy.userId` | `createdBy.memberId` | `createdBy.visitorId` | `createdBy.appId` | `channelInfo.type` | `customFields` | `customFields.${number}.title` | `balanceSummary.balance.amount` | `balanceSummary.balance.formattedAmount` | `additionalFees` | `additionalFees.${number}.name` | `additionalFees.${number}._id` | `tags.privateTags.tagIds` | `businessLocation._id` | `businessLocation.name`, 6> & {
|
|
141
141
|
__applicationErrorsType?: UpdateOrderApplicationErrors;
|
|
142
142
|
}>;
|
|
143
143
|
}
|
|
@@ -171,7 +171,7 @@ interface BulkUpdateOrdersSignature {
|
|
|
171
171
|
* To update an order's payment status, use [`updatePaymentStatus( )`](https://www.wix.com/velo/reference/wix-ecom-backend/ordertransactions/updatepaymentstatus).
|
|
172
172
|
* @param - Orders to update.
|
|
173
173
|
*/
|
|
174
|
-
(orders: NonNullablePaths<MaskedOrder, `order` | `order._id
|
|
174
|
+
(orders: NonNullablePaths<MaskedOrder, `order` | `order._id`, 3>[], options?: BulkUpdateOrdersOptions): Promise<NonNullablePaths<BulkUpdateOrdersResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.number` | `results.${number}.item.buyerInfo.visitorId` | `results.${number}.item.buyerInfo.memberId` | `results.${number}.item.paymentStatus` | `results.${number}.item.fulfillmentStatus` | `results.${number}.item.weightUnit` | `results.${number}.item.taxIncludedInPrices` | `results.${number}.item.shippingInfo.title` | `results.${number}.item.status` | `results.${number}.item.attributionSource` | `results.${number}.item.createdBy.userId` | `results.${number}.item.createdBy.memberId` | `results.${number}.item.createdBy.visitorId` | `results.${number}.item.createdBy.appId` | `results.${number}.item.channelInfo.type` | `results.${number}.item.businessLocation._id` | `results.${number}.item.businessLocation.name` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
175
175
|
}
|
|
176
176
|
declare function cancelOrder$1(httpClient: HttpClient): CancelOrderSignature;
|
|
177
177
|
interface CancelOrderSignature {
|
|
@@ -182,7 +182,7 @@ interface CancelOrderSignature {
|
|
|
182
182
|
* The `cancelOrder()` function returns a Promise that resolves when the specified order is canceled and the `order.status` field changes to `CANCELED`.
|
|
183
183
|
* @param - Order ID.
|
|
184
184
|
*/
|
|
185
|
-
(_id: string, options?: CancelOrderOptions): Promise<NonNullablePaths<CancelOrderResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name
|
|
185
|
+
(_id: string, options?: CancelOrderOptions): Promise<NonNullablePaths<CancelOrderResponse, `order.number` | `order.lineItems` | `order.lineItems.${number}._id` | `order.lineItems.${number}.productName.original` | `order.lineItems.${number}.catalogReference.catalogItemId` | `order.lineItems.${number}.catalogReference.appId` | `order.lineItems.${number}.quantity` | `order.lineItems.${number}.totalDiscount.amount` | `order.lineItems.${number}.totalDiscount.formattedAmount` | `order.lineItems.${number}.physicalProperties.shippable` | `order.lineItems.${number}.itemType.preset` | `order.lineItems.${number}.itemType.custom` | `order.lineItems.${number}.paymentOption` | `order.lineItems.${number}.taxDetails.taxRate` | `order.lineItems.${number}.taxInfo.taxIncludedInPrice` | `order.lineItems.${number}.digitalFile.fileId` | `order.lineItems.${number}.subscriptionInfo.cycleNumber` | `order.lineItems.${number}.subscriptionInfo.subscriptionOptionTitle` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.frequency` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.autoRenewal` | `order.lineItems.${number}.subscriptionInfo.subscriptionSettings.enableCustomerCancellation` | `order.lineItems.${number}.priceDescription.original` | `order.lineItems.${number}.taxableAddress.addressType` | `order.buyerInfo.visitorId` | `order.buyerInfo.memberId` | `order.paymentStatus` | `order.fulfillmentStatus` | `order.weightUnit` | `order.taxIncludedInPrices` | `order.billingInfo.address.streetAddress.number` | `order.billingInfo.address.streetAddress.name` | `order.billingInfo.contactDetails.vatId._id` | `order.billingInfo.contactDetails.vatId.type` | `order.shippingInfo.title` | `order.shippingInfo.logistics.pickupDetails.pickupMethod` | `order.status` | `order.taxInfo.taxBreakdown` | `order.taxInfo.taxBreakdown.${number}.taxName` | `order.taxInfo.taxBreakdown.${number}.taxType` | `order.taxInfo.taxBreakdown.${number}.jurisdiction` | `order.taxInfo.taxBreakdown.${number}.jurisdictionType` | `order.taxInfo.taxBreakdown.${number}.rate` | `order.appliedDiscounts` | `order.appliedDiscounts.${number}.coupon._id` | `order.appliedDiscounts.${number}.coupon.code` | `order.appliedDiscounts.${number}.coupon.name` | `order.appliedDiscounts.${number}.merchantDiscount.discountReason` | `order.appliedDiscounts.${number}.discountRule._id` | `order.appliedDiscounts.${number}.discountRule.name.original` | `order.appliedDiscounts.${number}.discountType` | `order.activities` | `order.activities.${number}.customActivity.appId` | `order.activities.${number}.customActivity.type` | `order.activities.${number}.merchantComment.message` | `order.activities.${number}.orderRefunded.manual` | `order.activities.${number}.orderRefunded.reason` | `order.activities.${number}.type` | `order.attributionSource` | `order.createdBy.userId` | `order.createdBy.memberId` | `order.createdBy.visitorId` | `order.createdBy.appId` | `order.channelInfo.type` | `order.customFields` | `order.customFields.${number}.title` | `order.balanceSummary.balance.amount` | `order.balanceSummary.balance.formattedAmount` | `order.additionalFees` | `order.additionalFees.${number}.name` | `order.additionalFees.${number}._id` | `order.tags.privateTags.tagIds` | `order.businessLocation._id` | `order.businessLocation.name`, 7> & {
|
|
186
186
|
__applicationErrorsType?: CancelOrderApplicationErrors;
|
|
187
187
|
}>;
|
|
188
188
|
}
|
|
@@ -194,7 +194,7 @@ interface BulkUpdateOrderTagsSignature {
|
|
|
194
194
|
* > **Note:** If the same tag is passed to both the `assignTags` and `unassignTags` fields, it will be assigned.
|
|
195
195
|
* @param - IDs of orders to update tags for.
|
|
196
196
|
*/
|
|
197
|
-
(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
|
|
197
|
+
(orderIds: string[], options?: BulkUpdateOrderTagsOptions): Promise<NonNullablePaths<BulkUpdateOrderTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
198
198
|
}
|
|
199
199
|
declare const onOrderApproved$1: EventDefinition<OrderApprovedEnvelope, "wix.ecom.v1.order_approved">;
|
|
200
200
|
declare const onOrderUpdated$1: EventDefinition<OrderUpdatedEnvelope, "wix.ecom.v1.order_updated">;
|
package/build/cjs/index.js
CHANGED
|
@@ -1756,6 +1756,7 @@ var PaymentCollectabilityStatus = /* @__PURE__ */ ((PaymentCollectabilityStatus2
|
|
|
1756
1756
|
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_IS_PENDING"] = "NONCOLLECTABLE_ORDER_IS_PENDING";
|
|
1757
1757
|
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_IS_REJECTED"] = "NONCOLLECTABLE_ORDER_IS_REJECTED";
|
|
1758
1758
|
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS"] = "NONCOLLECTABLE_ORDER_HAS_SUBSCRIPTIONS";
|
|
1759
|
+
PaymentCollectabilityStatus2["NONCOLLECTABLE_ORDER_HAS_CHARGEBACKS"] = "NONCOLLECTABLE_ORDER_HAS_CHARGEBACKS";
|
|
1759
1760
|
return PaymentCollectabilityStatus2;
|
|
1760
1761
|
})(PaymentCollectabilityStatus || {});
|
|
1761
1762
|
var RefundableStatus = /* @__PURE__ */ ((RefundableStatus2) => {
|