@wix/auto_sdk_ecom_order-transactions 1.0.82 → 1.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -1994,12 +1994,11 @@ declare function listTransactionsForMultipleOrders(orderIds: string[]): Promise<
|
|
|
1994
1994
|
* @requiredField payments
|
|
1995
1995
|
* @requiredField payments.amount
|
|
1996
1996
|
* @requiredField payments.paymentDetails
|
|
1997
|
-
* @requiredField payments.paymentDetails.giftcardPaymentDetails.giftCardPaymentId
|
|
1998
1997
|
* @permissionId ECOM.MODIFY_TRANSACTIONS
|
|
1999
1998
|
* @applicableIdentity APP
|
|
2000
1999
|
* @fqn com.wix.ecom.orders.payments.v1.Payments.AddPayments
|
|
2001
2000
|
*/
|
|
2002
|
-
declare function addPayments(orderId: string, payments: NonNullablePaths<Payment, `amount
|
|
2001
|
+
declare function addPayments(orderId: string, payments: NonNullablePaths<Payment, `amount`, 2>[]): Promise<NonNullablePaths<AddPaymentsResponse, `orderTransactions.orderId` | `orderTransactions.payments` | `orderTransactions.payments.${number}.regularPaymentDetails.offlinePayment` | `orderTransactions.payments.${number}.regularPaymentDetails.status` | `orderTransactions.payments.${number}.regularPaymentDetails.savedPaymentMethod` | `orderTransactions.payments.${number}.regularPaymentDetails.authorizationDetails.delayedCapture` | `orderTransactions.payments.${number}.regularPaymentDetails.platformFee.amount` | `orderTransactions.payments.${number}.regularPaymentDetails.platformFee.formattedAmount` | `orderTransactions.payments.${number}.giftcardPaymentDetails.giftCardPaymentId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.appId` | `orderTransactions.payments.${number}.giftcardPaymentDetails.voided` | `orderTransactions.payments.${number}.refundDisabled` | `orderTransactions.refunds` | `orderTransactions.refunds.${number}._id` | `orderTransactions.refunds.${number}.details.shippingIncluded` | `orderTransactions.refunds.${number}.summary.pending` | `paymentsIds`, 7>>;
|
|
2003
2002
|
/**
|
|
2004
2003
|
* Updates the status of an order's payment.
|
|
2005
2004
|
*
|