@wix/auto_sdk_ecom_order-transactions 1.0.59 → 1.0.61
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 +20 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +20 -3
- package/build/cjs/meta.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 +20 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +20 -3
- package/build/es/meta.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 +26 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +20 -3
- package/build/internal/cjs/meta.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 +26 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +20 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -83,7 +83,7 @@ interface PaymentReceiptInfoOneOf {
|
|
|
83
83
|
externalReceipt?: ExternalReceiptInfo;
|
|
84
84
|
}
|
|
85
85
|
interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
86
|
-
/**
|
|
86
|
+
/** Credit card details. */
|
|
87
87
|
creditCardDetails?: CreditCardPaymentMethodDetails;
|
|
88
88
|
/**
|
|
89
89
|
* Wix Payments order ID.
|
|
@@ -130,15 +130,20 @@ interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetail
|
|
|
130
130
|
*/
|
|
131
131
|
chargebacks?: Chargeback[];
|
|
132
132
|
/**
|
|
133
|
-
* Payment method ID
|
|
133
|
+
* Payment method ID.
|
|
134
134
|
* @internal
|
|
135
135
|
* @maxLength 36
|
|
136
136
|
*/
|
|
137
137
|
paymentMethodId?: string | null;
|
|
138
|
+
/**
|
|
139
|
+
* Platform fee amount.
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
platformFee?: Price;
|
|
138
143
|
}
|
|
139
144
|
/** @oneof */
|
|
140
145
|
interface RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
141
|
-
/**
|
|
146
|
+
/** Credit card details. */
|
|
142
147
|
creditCardDetails?: CreditCardPaymentMethodDetails;
|
|
143
148
|
}
|
|
144
149
|
declare enum TransactionStatus {
|
|
@@ -1544,6 +1549,23 @@ declare enum WebhookIdentityType {
|
|
|
1544
1549
|
}
|
|
1545
1550
|
/** @enumType */
|
|
1546
1551
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1552
|
+
interface AccountDetails {
|
|
1553
|
+
/**
|
|
1554
|
+
* ID of the account.
|
|
1555
|
+
* @format GUID
|
|
1556
|
+
*/
|
|
1557
|
+
accountId?: string | null;
|
|
1558
|
+
/**
|
|
1559
|
+
* ID of the parent account.
|
|
1560
|
+
* @format GUID
|
|
1561
|
+
*/
|
|
1562
|
+
parentAccountId?: string | null;
|
|
1563
|
+
/**
|
|
1564
|
+
* ID of the site, if applicable.
|
|
1565
|
+
* @format GUID
|
|
1566
|
+
*/
|
|
1567
|
+
siteId?: string | null;
|
|
1568
|
+
}
|
|
1547
1569
|
/** @docsIgnore */
|
|
1548
1570
|
type UpdateRefundTransactionApplicationErrors = {
|
|
1549
1571
|
code?: 'ORDER_TRANSACTIONS_NOT_FOUND';
|
|
@@ -1924,4 +1946,4 @@ declare function updatePayments(): Promise<void & {
|
|
|
1924
1946
|
__applicationErrorsType?: UpdatePaymentsApplicationErrors;
|
|
1925
1947
|
}>;
|
|
1926
1948
|
|
|
1927
|
-
export { type ActionEvent, ActionType, type ActionTypeWithLiterals, type AddChargebackRequest, type AddChargebackResponse, type AddInvoiceToOrderRequest, type AddInvoiceToOrderResponse, type AddPaymentsRequest, type AddPaymentsResponse, type AddRefundRequest, type AddRefundResponse, type AdditionalFeeRefund, type AggregatedRefundSummary, type ApplicationError, type AuthorizationActionFailureDetails, type AuthorizationCapture, AuthorizationCaptureStatus, type AuthorizationCaptureStatusWithLiterals, type AuthorizationDetails, type AuthorizationVoid, AuthorizationVoidStatus, type AuthorizationVoidStatusWithLiterals, type BaseEventMetadata, type BulkActionMetadata, type BulkGenerateInvoicesRequest, type BulkGenerateInvoicesResponse, type BulkInvoiceResult, type BulkPaymentResult, type BulkUpdatePaymentStatusesOptions, type BulkUpdatePaymentStatusesRequest, type BulkUpdatePaymentStatusesResponse, type CalculateRefundItemRequest, type CalculateRefundItemResponse, type CalculateRefundRequest, type CalculateRefundResponse, type Chargeback, type ChargebackApproved, type ChargebackReversed, ChargebackStatus, type ChargebackStatusWithLiterals, type CreditCardPaymentMethodDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExternalReceiptInfo, type GenerateInvoiceRequest, type GenerateInvoiceResponse, type GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse, type GiftCardPaymentDetails, type IdentificationData, type IdentificationDataIdOneOf, type InvoiceForOrder, type InvoiceInfo, type InvoicesForOrder, type ItemMetadata, type LineItemRefund, type LineItemRefundSummary, type ListInvoicesForMultipleOrdersRequest, type ListInvoicesForMultipleOrdersResponse, type ListInvoicesForSingleOrderRequest, type ListInvoicesForSingleOrderResponse, type ListTransactionsForMultipleOrdersRequest, type ListTransactionsForMultipleOrdersResponse, type ListTransactionsForSingleOrderRequest, type ListTransactionsForSingleOrderResponse, ManuallyRefundableReason, type ManuallyRefundableReasonWithLiterals, type MaskedPayment, type MembershipName, type MembershipPaymentDetails, MembershipPaymentStatus, type MembershipPaymentStatusWithLiterals, type MessageEnvelope, NonRefundableReason, type NonRefundableReasonWithLiterals, type OrderTransactions, type OrderTransactionsChargebackApprovedEnvelope, type OrderTransactionsChargebackReversedEnvelope, type OrderTransactionsDetailsUpdatedEnvelope, type OrderTransactionsRefundCompletedEnvelope, type OrderTransactionsUpdatedEnvelope, type Payment, type PaymentAndOrderId, type PaymentDetailsUpdated, type PaymentPaymentDetailsOneOf, type PaymentReceiptInfoOneOf, type PaymentRefund, type PaymentsUpdated, type Price, type QueryOrderTransactionsRequest, type QueryOrderTransactionsResponse, Reason, type ReasonWithLiterals, type Refund, type RefundCompleted, type RefundCreated, type RefundDetails, type RefundItem, type RefundItemsBreakdown, type RefundSideEffects, RefundStatus, type RefundStatusInfo, type RefundStatusWithLiterals, type RefundTransaction, type Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus, type RefundableStatusWithLiterals, type RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf, type RestockInfo, type RestockItem, RestockType, type RestockTypeWithLiterals, type RestoreInfo, type ReverseChargebackRequest, type ReverseChargebackResponse, type ScheduledAction, type ShippingRefund, SortOrder, type SortOrderWithLiterals, type Sorting, TransactionStatus, type TransactionStatusWithLiterals, type TriggerRefundRequest, type TriggerRefundResponse, type UpdatePaymentStatusIdentifiers, type UpdatePaymentStatusOptions, type UpdatePaymentStatusRequest, type UpdatePaymentStatusResponse, type UpdatePaymentsApplicationErrors, type UpdatePaymentsRequest, type UpdatePaymentsResponse, type UpdateRefundRequest, type UpdateRefundResponse, type UpdateRefundTransactionApplicationErrors, type UpdateRefundTransactionOptions, type UpdateRefundTransactionRequest, type UpdateRefundTransactionResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixReceiptInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, onOrderTransactionsChargebackApproved, onOrderTransactionsChargebackReversed, onOrderTransactionsDetailsUpdated, onOrderTransactionsRefundCompleted, onOrderTransactionsUpdated, updatePaymentStatus, updatePayments, updateRefundTransaction };
|
|
1949
|
+
export { type AccountDetails, type ActionEvent, ActionType, type ActionTypeWithLiterals, type AddChargebackRequest, type AddChargebackResponse, type AddInvoiceToOrderRequest, type AddInvoiceToOrderResponse, type AddPaymentsRequest, type AddPaymentsResponse, type AddRefundRequest, type AddRefundResponse, type AdditionalFeeRefund, type AggregatedRefundSummary, type ApplicationError, type AuthorizationActionFailureDetails, type AuthorizationCapture, AuthorizationCaptureStatus, type AuthorizationCaptureStatusWithLiterals, type AuthorizationDetails, type AuthorizationVoid, AuthorizationVoidStatus, type AuthorizationVoidStatusWithLiterals, type BaseEventMetadata, type BulkActionMetadata, type BulkGenerateInvoicesRequest, type BulkGenerateInvoicesResponse, type BulkInvoiceResult, type BulkPaymentResult, type BulkUpdatePaymentStatusesOptions, type BulkUpdatePaymentStatusesRequest, type BulkUpdatePaymentStatusesResponse, type CalculateRefundItemRequest, type CalculateRefundItemResponse, type CalculateRefundRequest, type CalculateRefundResponse, type Chargeback, type ChargebackApproved, type ChargebackReversed, ChargebackStatus, type ChargebackStatusWithLiterals, type CreditCardPaymentMethodDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExternalReceiptInfo, type GenerateInvoiceRequest, type GenerateInvoiceResponse, type GetRefundabilityStatusRequest, type GetRefundabilityStatusResponse, type GiftCardPaymentDetails, type IdentificationData, type IdentificationDataIdOneOf, type InvoiceForOrder, type InvoiceInfo, type InvoicesForOrder, type ItemMetadata, type LineItemRefund, type LineItemRefundSummary, type ListInvoicesForMultipleOrdersRequest, type ListInvoicesForMultipleOrdersResponse, type ListInvoicesForSingleOrderRequest, type ListInvoicesForSingleOrderResponse, type ListTransactionsForMultipleOrdersRequest, type ListTransactionsForMultipleOrdersResponse, type ListTransactionsForSingleOrderRequest, type ListTransactionsForSingleOrderResponse, ManuallyRefundableReason, type ManuallyRefundableReasonWithLiterals, type MaskedPayment, type MembershipName, type MembershipPaymentDetails, MembershipPaymentStatus, type MembershipPaymentStatusWithLiterals, type MessageEnvelope, NonRefundableReason, type NonRefundableReasonWithLiterals, type OrderTransactions, type OrderTransactionsChargebackApprovedEnvelope, type OrderTransactionsChargebackReversedEnvelope, type OrderTransactionsDetailsUpdatedEnvelope, type OrderTransactionsRefundCompletedEnvelope, type OrderTransactionsUpdatedEnvelope, type Payment, type PaymentAndOrderId, type PaymentDetailsUpdated, type PaymentPaymentDetailsOneOf, type PaymentReceiptInfoOneOf, type PaymentRefund, type PaymentsUpdated, type Price, type QueryOrderTransactionsRequest, type QueryOrderTransactionsResponse, Reason, type ReasonWithLiterals, type Refund, type RefundCompleted, type RefundCreated, type RefundDetails, type RefundItem, type RefundItemsBreakdown, type RefundSideEffects, RefundStatus, type RefundStatusInfo, type RefundStatusWithLiterals, type RefundTransaction, type Refundability, type RefundabilityAdditionalRefundabilityInfoOneOf, RefundableStatus, type RefundableStatusWithLiterals, type RegularPaymentDetails, type RegularPaymentDetailsPaymentMethodDetailsOneOf, type RestockInfo, type RestockItem, RestockType, type RestockTypeWithLiterals, type RestoreInfo, type ReverseChargebackRequest, type ReverseChargebackResponse, type ScheduledAction, type ShippingRefund, SortOrder, type SortOrderWithLiterals, type Sorting, TransactionStatus, type TransactionStatusWithLiterals, type TriggerRefundRequest, type TriggerRefundResponse, type UpdatePaymentStatusIdentifiers, type UpdatePaymentStatusOptions, type UpdatePaymentStatusRequest, type UpdatePaymentStatusResponse, type UpdatePaymentsApplicationErrors, type UpdatePaymentsRequest, type UpdatePaymentsResponse, type UpdateRefundRequest, type UpdateRefundResponse, type UpdateRefundTransactionApplicationErrors, type UpdateRefundTransactionOptions, type UpdateRefundTransactionRequest, type UpdateRefundTransactionResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixReceiptInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, onOrderTransactionsChargebackApproved, onOrderTransactionsChargebackReversed, onOrderTransactionsDetailsUpdated, onOrderTransactionsRefundCompleted, onOrderTransactionsUpdated, updatePaymentStatus, updatePayments, updateRefundTransaction };
|