@wix/auto_sdk_ecom_order-transactions 1.0.86 → 1.0.87
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 +23 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +42 -2
- package/build/cjs/index.typings.js +23 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +42 -2
- package/build/cjs/meta.js +23 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +20 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +42 -2
- package/build/es/index.typings.mjs +20 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +42 -2
- package/build/es/meta.mjs +20 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +23 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +42 -2
- package/build/internal/cjs/index.typings.js +23 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +42 -2
- package/build/internal/cjs/meta.js +23 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +20 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +42 -2
- package/build/internal/es/index.typings.mjs +20 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +42 -2
- package/build/internal/es/meta.mjs +20 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ interface OrderTransactions {
|
|
|
23
23
|
*/
|
|
24
24
|
refunds?: Refund[];
|
|
25
25
|
}
|
|
26
|
-
interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
|
|
26
|
+
interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf, PaymentStatusDetailsOneOf {
|
|
27
27
|
/** Regular payment details. */
|
|
28
28
|
regularPaymentDetails?: RegularPaymentDetails;
|
|
29
29
|
/** Gift card payment details. */
|
|
@@ -60,6 +60,9 @@ interface PaymentPaymentDetailsOneOf {
|
|
|
60
60
|
/** @oneof */
|
|
61
61
|
interface PaymentReceiptInfoOneOf {
|
|
62
62
|
}
|
|
63
|
+
/** @oneof */
|
|
64
|
+
interface PaymentStatusDetailsOneOf {
|
|
65
|
+
}
|
|
63
66
|
interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
64
67
|
/** Credit card details. */
|
|
65
68
|
creditCardDetails?: CreditCardPaymentMethodDetails;
|
|
@@ -497,6 +500,43 @@ declare enum PaymentStatus {
|
|
|
497
500
|
}
|
|
498
501
|
/** @enumType */
|
|
499
502
|
type PaymentStatusWithLiterals = PaymentStatus | 'APPROVED' | 'PENDING' | 'PENDING_MERCHANT' | 'CANCELED' | 'DECLINED' | 'REFUNDED' | 'PARTIALLY_REFUNDED' | 'AUTHORIZED' | 'VOIDED';
|
|
503
|
+
interface CanceledStatusDetails {
|
|
504
|
+
reason?: CanceledReasonWithLiterals;
|
|
505
|
+
}
|
|
506
|
+
declare enum CanceledReason {
|
|
507
|
+
/** Other payment with the same chargeCorrelationId failed before current payment started. */
|
|
508
|
+
OTHER_PAYMENT_FAILURE = "OTHER_PAYMENT_FAILURE",
|
|
509
|
+
/** Payment was not completed by user and expired. */
|
|
510
|
+
EXPIRED = "EXPIRED"
|
|
511
|
+
}
|
|
512
|
+
/** @enumType */
|
|
513
|
+
type CanceledReasonWithLiterals = CanceledReason | 'OTHER_PAYMENT_FAILURE' | 'EXPIRED';
|
|
514
|
+
interface DeclinedStatusDetails {
|
|
515
|
+
reason?: DeclinedReasonWithLiterals;
|
|
516
|
+
}
|
|
517
|
+
declare enum DeclinedReason {
|
|
518
|
+
/** Corresponding charge failed. */
|
|
519
|
+
CHARGE_FAILED = "CHARGE_FAILED",
|
|
520
|
+
/** Payment details expired. */
|
|
521
|
+
EXPIRED = "EXPIRED",
|
|
522
|
+
/** Insufficient funds. */
|
|
523
|
+
INSUFFICIENT_FUNDS = "INSUFFICIENT_FUNDS",
|
|
524
|
+
/** Gift card was disabled before charge was attempted. */
|
|
525
|
+
GIFT_CARD_DISABLED = "GIFT_CARD_DISABLED"
|
|
526
|
+
}
|
|
527
|
+
/** @enumType */
|
|
528
|
+
type DeclinedReasonWithLiterals = DeclinedReason | 'CHARGE_FAILED' | 'EXPIRED' | 'INSUFFICIENT_FUNDS' | 'GIFT_CARD_DISABLED';
|
|
529
|
+
interface VoidedStatusDetails {
|
|
530
|
+
reason?: VoidedReasonWithLiterals;
|
|
531
|
+
}
|
|
532
|
+
declare enum VoidedReason {
|
|
533
|
+
/** Payment was voided by merchant request. */
|
|
534
|
+
MERCHANT_REQUEST = "MERCHANT_REQUEST",
|
|
535
|
+
/** Other payment with the same chargeCorrelationId failed and caused rollback of all payments with same chargeCorrelationId. */
|
|
536
|
+
OTHER_PAYMENT_FAILURE = "OTHER_PAYMENT_FAILURE"
|
|
537
|
+
}
|
|
538
|
+
/** @enumType */
|
|
539
|
+
type VoidedReasonWithLiterals = VoidedReason | 'MERCHANT_REQUEST' | 'OTHER_PAYMENT_FAILURE';
|
|
500
540
|
interface Refund {
|
|
501
541
|
/**
|
|
502
542
|
* Refund ID.
|
|
@@ -1648,4 +1688,4 @@ declare function updatePayments(): __PublicMethodMetaInfo<'POST', {
|
|
|
1648
1688
|
orderId: string;
|
|
1649
1689
|
}, UpdatePaymentsRequest$1, UpdatePaymentsRequest, UpdatePaymentsResponse$1, UpdatePaymentsResponse>;
|
|
1650
1690
|
|
|
1651
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionType as ActionTypeOriginal, type ActionTypeWithLiterals as ActionTypeWithLiteralsOriginal, type AddChargebackRequest as AddChargebackRequestOriginal, type AddChargebackResponse as AddChargebackResponseOriginal, type AddInvoiceToOrderRequest as AddInvoiceToOrderRequestOriginal, type AddInvoiceToOrderResponse as AddInvoiceToOrderResponseOriginal, type AddPaymentsRequest as AddPaymentsRequestOriginal, type AddPaymentsResponse as AddPaymentsResponseOriginal, type AddRefundRequest as AddRefundRequestOriginal, type AddRefundResponse as AddRefundResponseOriginal, type AdditionalFeeRefund as AdditionalFeeRefundOriginal, type AggregatedRefundSummary as AggregatedRefundSummaryOriginal, type ApplicationError as ApplicationErrorOriginal, type AuthorizationActionFailureDetails as AuthorizationActionFailureDetailsOriginal, type AuthorizationCapture as AuthorizationCaptureOriginal, AuthorizationCaptureStatus as AuthorizationCaptureStatusOriginal, type AuthorizationCaptureStatusWithLiterals as AuthorizationCaptureStatusWithLiteralsOriginal, type AuthorizationDetails as AuthorizationDetailsOriginal, type AuthorizationVoid as AuthorizationVoidOriginal, AuthorizationVoidStatus as AuthorizationVoidStatusOriginal, type AuthorizationVoidStatusWithLiterals as AuthorizationVoidStatusWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequestOriginal, type BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponseOriginal, type BulkInvoiceResult as BulkInvoiceResultOriginal, type BulkPaymentResult as BulkPaymentResultOriginal, type BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequestOriginal, type BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponseOriginal, type CalculateRefundItemRequest as CalculateRefundItemRequestOriginal, type CalculateRefundItemResponse as CalculateRefundItemResponseOriginal, type CalculateRefundRequest as CalculateRefundRequestOriginal, type CalculateRefundResponse as CalculateRefundResponseOriginal, type CashRoundingDetails as CashRoundingDetailsOriginal, type CashRounding as CashRoundingOriginal, type ChargebackApproved as ChargebackApprovedOriginal, type Chargeback as ChargebackOriginal, type ChargebackReversed as ChargebackReversedOriginal, ChargebackStatus as ChargebackStatusOriginal, type ChargebackStatusWithLiterals as ChargebackStatusWithLiteralsOriginal, type CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExternalReceiptInfo as ExternalReceiptInfoOriginal, type GenerateInvoiceRequest as GenerateInvoiceRequestOriginal, type GenerateInvoiceResponse as GenerateInvoiceResponseOriginal, type GetRefundabilityStatusRequest as GetRefundabilityStatusRequestOriginal, type GetRefundabilityStatusResponse as GetRefundabilityStatusResponseOriginal, type GiftCardPaymentDetails as GiftCardPaymentDetailsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvoiceForOrder as InvoiceForOrderOriginal, type InvoiceInfo as InvoiceInfoOriginal, type InvoicesForOrder as InvoicesForOrderOriginal, type ItemMetadata as ItemMetadataOriginal, type LineItemRefund as LineItemRefundOriginal, type LineItemRefundSummary as LineItemRefundSummaryOriginal, type ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequestOriginal, type ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponseOriginal, type ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequestOriginal, type ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponseOriginal, type ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequestOriginal, type ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponseOriginal, type ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequestOriginal, type ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponseOriginal, ManuallyRefundableReason as ManuallyRefundableReasonOriginal, type ManuallyRefundableReasonWithLiterals as ManuallyRefundableReasonWithLiteralsOriginal, type MaskedPayment as MaskedPaymentOriginal, type MembershipName as MembershipNameOriginal, type MembershipPaymentDetails as MembershipPaymentDetailsOriginal, MembershipPaymentStatus as MembershipPaymentStatusOriginal, type MembershipPaymentStatusWithLiterals as MembershipPaymentStatusWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, NonRefundableReason as NonRefundableReasonOriginal, type NonRefundableReasonWithLiterals as NonRefundableReasonWithLiteralsOriginal, type OrderTransactions as OrderTransactionsOriginal, type PaymentAndOrderId as PaymentAndOrderIdOriginal, type PaymentDetailsUpdated as PaymentDetailsUpdatedOriginal, type PaymentMethodName as PaymentMethodNameOriginal, type Payment as PaymentOriginal, type PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOfOriginal, type PaymentReceiptInfoOneOf as PaymentReceiptInfoOneOfOriginal, type PaymentRefund as PaymentRefundOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, type PaymentsUpdated as PaymentsUpdatedOriginal, PredefinedPaymentMethod as PredefinedPaymentMethodOriginal, type PredefinedPaymentMethodWithLiterals as PredefinedPaymentMethodWithLiteralsOriginal, type Price as PriceOriginal, type QueryOrderTransactionsRequest as QueryOrderTransactionsRequestOriginal, type QueryOrderTransactionsResponse as QueryOrderTransactionsResponseOriginal, Reason as ReasonOriginal, type ReasonWithLiterals as ReasonWithLiteralsOriginal, type RefundCompleted as RefundCompletedOriginal, type RefundCreated as RefundCreatedOriginal, type RefundDetails as RefundDetailsOriginal, type RefundItem as RefundItemOriginal, type RefundItemsBreakdown as RefundItemsBreakdownOriginal, type Refund as RefundOriginal, type RefundSideEffects as RefundSideEffectsOriginal, type RefundStatusInfo as RefundStatusInfoOriginal, RefundStatus as RefundStatusOriginal, type RefundStatusWithLiterals as RefundStatusWithLiteralsOriginal, type RefundTransaction as RefundTransactionOriginal, type RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOfOriginal, type Refundability as RefundabilityOriginal, RefundableStatus as RefundableStatusOriginal, type RefundableStatusWithLiterals as RefundableStatusWithLiteralsOriginal, type RegularPaymentDetails as RegularPaymentDetailsOriginal, type RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOfOriginal, type RestockInfo as RestockInfoOriginal, type RestockItem as RestockItemOriginal, type RestockLocation as RestockLocationOriginal, RestockType as RestockTypeOriginal, type RestockTypeWithLiterals as RestockTypeWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type ReverseChargebackRequest as ReverseChargebackRequestOriginal, type ReverseChargebackResponse as ReverseChargebackResponseOriginal, type ScheduledAction as ScheduledActionOriginal, type ShippingRefund as ShippingRefundOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, TransactionStatus as TransactionStatusOriginal, type TransactionStatusWithLiterals as TransactionStatusWithLiteralsOriginal, type TriggerRefundRequest as TriggerRefundRequestOriginal, type TriggerRefundResponse as TriggerRefundResponseOriginal, type UpdatePaymentStatusRequest as UpdatePaymentStatusRequestOriginal, type UpdatePaymentStatusResponse as UpdatePaymentStatusResponseOriginal, type UpdatePaymentsApplicationErrors as UpdatePaymentsApplicationErrorsOriginal, type UpdatePaymentsRequest as UpdatePaymentsRequestOriginal, type UpdatePaymentsResponse as UpdatePaymentsResponseOriginal, type UpdateRefundRequest as UpdateRefundRequestOriginal, type UpdateRefundResponse as UpdateRefundResponseOriginal, type UpdateRefundTransactionApplicationErrors as UpdateRefundTransactionApplicationErrorsOriginal, type UpdateRefundTransactionRequest as UpdateRefundTransactionRequestOriginal, type UpdateRefundTransactionResponse as UpdateRefundTransactionResponseOriginal, type UserDefinedPaymentMethodNameKindOneOf as UserDefinedPaymentMethodNameKindOneOfOriginal, type UserDefinedPaymentMethodName as UserDefinedPaymentMethodNameOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixReceiptInfo as WixReceiptInfoOriginal, type __PublicMethodMetaInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, updatePaymentStatus, updatePayments, updateRefundTransaction };
|
|
1691
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, ActionType as ActionTypeOriginal, type ActionTypeWithLiterals as ActionTypeWithLiteralsOriginal, type AddChargebackRequest as AddChargebackRequestOriginal, type AddChargebackResponse as AddChargebackResponseOriginal, type AddInvoiceToOrderRequest as AddInvoiceToOrderRequestOriginal, type AddInvoiceToOrderResponse as AddInvoiceToOrderResponseOriginal, type AddPaymentsRequest as AddPaymentsRequestOriginal, type AddPaymentsResponse as AddPaymentsResponseOriginal, type AddRefundRequest as AddRefundRequestOriginal, type AddRefundResponse as AddRefundResponseOriginal, type AdditionalFeeRefund as AdditionalFeeRefundOriginal, type AggregatedRefundSummary as AggregatedRefundSummaryOriginal, type ApplicationError as ApplicationErrorOriginal, type AuthorizationActionFailureDetails as AuthorizationActionFailureDetailsOriginal, type AuthorizationCapture as AuthorizationCaptureOriginal, AuthorizationCaptureStatus as AuthorizationCaptureStatusOriginal, type AuthorizationCaptureStatusWithLiterals as AuthorizationCaptureStatusWithLiteralsOriginal, type AuthorizationDetails as AuthorizationDetailsOriginal, type AuthorizationVoid as AuthorizationVoidOriginal, AuthorizationVoidStatus as AuthorizationVoidStatusOriginal, type AuthorizationVoidStatusWithLiterals as AuthorizationVoidStatusWithLiteralsOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkGenerateInvoicesRequest as BulkGenerateInvoicesRequestOriginal, type BulkGenerateInvoicesResponse as BulkGenerateInvoicesResponseOriginal, type BulkInvoiceResult as BulkInvoiceResultOriginal, type BulkPaymentResult as BulkPaymentResultOriginal, type BulkUpdatePaymentStatusesRequest as BulkUpdatePaymentStatusesRequestOriginal, type BulkUpdatePaymentStatusesResponse as BulkUpdatePaymentStatusesResponseOriginal, type CalculateRefundItemRequest as CalculateRefundItemRequestOriginal, type CalculateRefundItemResponse as CalculateRefundItemResponseOriginal, type CalculateRefundRequest as CalculateRefundRequestOriginal, type CalculateRefundResponse as CalculateRefundResponseOriginal, CanceledReason as CanceledReasonOriginal, type CanceledReasonWithLiterals as CanceledReasonWithLiteralsOriginal, type CanceledStatusDetails as CanceledStatusDetailsOriginal, type CashRoundingDetails as CashRoundingDetailsOriginal, type CashRounding as CashRoundingOriginal, type ChargebackApproved as ChargebackApprovedOriginal, type Chargeback as ChargebackOriginal, type ChargebackReversed as ChargebackReversedOriginal, ChargebackStatus as ChargebackStatusOriginal, type ChargebackStatusWithLiterals as ChargebackStatusWithLiteralsOriginal, type CreditCardPaymentMethodDetails as CreditCardPaymentMethodDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, DeclinedReason as DeclinedReasonOriginal, type DeclinedReasonWithLiterals as DeclinedReasonWithLiteralsOriginal, type DeclinedStatusDetails as DeclinedStatusDetailsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExternalReceiptInfo as ExternalReceiptInfoOriginal, type GenerateInvoiceRequest as GenerateInvoiceRequestOriginal, type GenerateInvoiceResponse as GenerateInvoiceResponseOriginal, type GetRefundabilityStatusRequest as GetRefundabilityStatusRequestOriginal, type GetRefundabilityStatusResponse as GetRefundabilityStatusResponseOriginal, type GiftCardPaymentDetails as GiftCardPaymentDetailsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type InvoiceForOrder as InvoiceForOrderOriginal, type InvoiceInfo as InvoiceInfoOriginal, type InvoicesForOrder as InvoicesForOrderOriginal, type ItemMetadata as ItemMetadataOriginal, type LineItemRefund as LineItemRefundOriginal, type LineItemRefundSummary as LineItemRefundSummaryOriginal, type ListInvoicesForMultipleOrdersRequest as ListInvoicesForMultipleOrdersRequestOriginal, type ListInvoicesForMultipleOrdersResponse as ListInvoicesForMultipleOrdersResponseOriginal, type ListInvoicesForSingleOrderRequest as ListInvoicesForSingleOrderRequestOriginal, type ListInvoicesForSingleOrderResponse as ListInvoicesForSingleOrderResponseOriginal, type ListTransactionsForMultipleOrdersRequest as ListTransactionsForMultipleOrdersRequestOriginal, type ListTransactionsForMultipleOrdersResponse as ListTransactionsForMultipleOrdersResponseOriginal, type ListTransactionsForSingleOrderRequest as ListTransactionsForSingleOrderRequestOriginal, type ListTransactionsForSingleOrderResponse as ListTransactionsForSingleOrderResponseOriginal, ManuallyRefundableReason as ManuallyRefundableReasonOriginal, type ManuallyRefundableReasonWithLiterals as ManuallyRefundableReasonWithLiteralsOriginal, type MaskedPayment as MaskedPaymentOriginal, type MembershipName as MembershipNameOriginal, type MembershipPaymentDetails as MembershipPaymentDetailsOriginal, MembershipPaymentStatus as MembershipPaymentStatusOriginal, type MembershipPaymentStatusWithLiterals as MembershipPaymentStatusWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, NonRefundableReason as NonRefundableReasonOriginal, type NonRefundableReasonWithLiterals as NonRefundableReasonWithLiteralsOriginal, type OrderTransactions as OrderTransactionsOriginal, type PaymentAndOrderId as PaymentAndOrderIdOriginal, type PaymentDetailsUpdated as PaymentDetailsUpdatedOriginal, type PaymentMethodName as PaymentMethodNameOriginal, type Payment as PaymentOriginal, type PaymentPaymentDetailsOneOf as PaymentPaymentDetailsOneOfOriginal, type PaymentReceiptInfoOneOf as PaymentReceiptInfoOneOfOriginal, type PaymentRefund as PaymentRefundOriginal, type PaymentStatusDetailsOneOf as PaymentStatusDetailsOneOfOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, type PaymentsUpdated as PaymentsUpdatedOriginal, PredefinedPaymentMethod as PredefinedPaymentMethodOriginal, type PredefinedPaymentMethodWithLiterals as PredefinedPaymentMethodWithLiteralsOriginal, type Price as PriceOriginal, type QueryOrderTransactionsRequest as QueryOrderTransactionsRequestOriginal, type QueryOrderTransactionsResponse as QueryOrderTransactionsResponseOriginal, Reason as ReasonOriginal, type ReasonWithLiterals as ReasonWithLiteralsOriginal, type RefundCompleted as RefundCompletedOriginal, type RefundCreated as RefundCreatedOriginal, type RefundDetails as RefundDetailsOriginal, type RefundItem as RefundItemOriginal, type RefundItemsBreakdown as RefundItemsBreakdownOriginal, type Refund as RefundOriginal, type RefundSideEffects as RefundSideEffectsOriginal, type RefundStatusInfo as RefundStatusInfoOriginal, RefundStatus as RefundStatusOriginal, type RefundStatusWithLiterals as RefundStatusWithLiteralsOriginal, type RefundTransaction as RefundTransactionOriginal, type RefundabilityAdditionalRefundabilityInfoOneOf as RefundabilityAdditionalRefundabilityInfoOneOfOriginal, type Refundability as RefundabilityOriginal, RefundableStatus as RefundableStatusOriginal, type RefundableStatusWithLiterals as RefundableStatusWithLiteralsOriginal, type RegularPaymentDetails as RegularPaymentDetailsOriginal, type RegularPaymentDetailsPaymentMethodDetailsOneOf as RegularPaymentDetailsPaymentMethodDetailsOneOfOriginal, type RestockInfo as RestockInfoOriginal, type RestockItem as RestockItemOriginal, type RestockLocation as RestockLocationOriginal, RestockType as RestockTypeOriginal, type RestockTypeWithLiterals as RestockTypeWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type ReverseChargebackRequest as ReverseChargebackRequestOriginal, type ReverseChargebackResponse as ReverseChargebackResponseOriginal, type ScheduledAction as ScheduledActionOriginal, type ShippingRefund as ShippingRefundOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, TransactionStatus as TransactionStatusOriginal, type TransactionStatusWithLiterals as TransactionStatusWithLiteralsOriginal, type TriggerRefundRequest as TriggerRefundRequestOriginal, type TriggerRefundResponse as TriggerRefundResponseOriginal, type UpdatePaymentStatusRequest as UpdatePaymentStatusRequestOriginal, type UpdatePaymentStatusResponse as UpdatePaymentStatusResponseOriginal, type UpdatePaymentsApplicationErrors as UpdatePaymentsApplicationErrorsOriginal, type UpdatePaymentsRequest as UpdatePaymentsRequestOriginal, type UpdatePaymentsResponse as UpdatePaymentsResponseOriginal, type UpdateRefundRequest as UpdateRefundRequestOriginal, type UpdateRefundResponse as UpdateRefundResponseOriginal, type UpdateRefundTransactionApplicationErrors as UpdateRefundTransactionApplicationErrorsOriginal, type UpdateRefundTransactionRequest as UpdateRefundTransactionRequestOriginal, type UpdateRefundTransactionResponse as UpdateRefundTransactionResponseOriginal, type UserDefinedPaymentMethodNameKindOneOf as UserDefinedPaymentMethodNameKindOneOfOriginal, type UserDefinedPaymentMethodName as UserDefinedPaymentMethodNameOriginal, VoidedReason as VoidedReasonOriginal, type VoidedReasonWithLiterals as VoidedReasonWithLiteralsOriginal, type VoidedStatusDetails as VoidedStatusDetailsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixReceiptInfo as WixReceiptInfoOriginal, type __PublicMethodMetaInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, updatePaymentStatus, updatePayments, updateRefundTransaction };
|
package/build/cjs/meta.js
CHANGED
|
@@ -23,7 +23,9 @@ __export(meta_exports, {
|
|
|
23
23
|
ActionTypeOriginal: () => ActionType,
|
|
24
24
|
AuthorizationCaptureStatusOriginal: () => AuthorizationCaptureStatus,
|
|
25
25
|
AuthorizationVoidStatusOriginal: () => AuthorizationVoidStatus,
|
|
26
|
+
CanceledReasonOriginal: () => CanceledReason,
|
|
26
27
|
ChargebackStatusOriginal: () => ChargebackStatus,
|
|
28
|
+
DeclinedReasonOriginal: () => DeclinedReason,
|
|
27
29
|
ManuallyRefundableReasonOriginal: () => ManuallyRefundableReason,
|
|
28
30
|
MembershipPaymentStatusOriginal: () => MembershipPaymentStatus,
|
|
29
31
|
NonRefundableReasonOriginal: () => NonRefundableReason,
|
|
@@ -35,6 +37,7 @@ __export(meta_exports, {
|
|
|
35
37
|
RestockTypeOriginal: () => RestockType,
|
|
36
38
|
SortOrderOriginal: () => SortOrder,
|
|
37
39
|
TransactionStatusOriginal: () => TransactionStatus,
|
|
40
|
+
VoidedReasonOriginal: () => VoidedReason,
|
|
38
41
|
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
39
42
|
addPayments: () => addPayments2,
|
|
40
43
|
bulkUpdatePaymentStatuses: () => bulkUpdatePaymentStatuses2,
|
|
@@ -597,6 +600,23 @@ var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
|
|
|
597
600
|
PaymentStatus2["VOIDED"] = "VOIDED";
|
|
598
601
|
return PaymentStatus2;
|
|
599
602
|
})(PaymentStatus || {});
|
|
603
|
+
var CanceledReason = /* @__PURE__ */ ((CanceledReason2) => {
|
|
604
|
+
CanceledReason2["OTHER_PAYMENT_FAILURE"] = "OTHER_PAYMENT_FAILURE";
|
|
605
|
+
CanceledReason2["EXPIRED"] = "EXPIRED";
|
|
606
|
+
return CanceledReason2;
|
|
607
|
+
})(CanceledReason || {});
|
|
608
|
+
var DeclinedReason = /* @__PURE__ */ ((DeclinedReason2) => {
|
|
609
|
+
DeclinedReason2["CHARGE_FAILED"] = "CHARGE_FAILED";
|
|
610
|
+
DeclinedReason2["EXPIRED"] = "EXPIRED";
|
|
611
|
+
DeclinedReason2["INSUFFICIENT_FUNDS"] = "INSUFFICIENT_FUNDS";
|
|
612
|
+
DeclinedReason2["GIFT_CARD_DISABLED"] = "GIFT_CARD_DISABLED";
|
|
613
|
+
return DeclinedReason2;
|
|
614
|
+
})(DeclinedReason || {});
|
|
615
|
+
var VoidedReason = /* @__PURE__ */ ((VoidedReason2) => {
|
|
616
|
+
VoidedReason2["MERCHANT_REQUEST"] = "MERCHANT_REQUEST";
|
|
617
|
+
VoidedReason2["OTHER_PAYMENT_FAILURE"] = "OTHER_PAYMENT_FAILURE";
|
|
618
|
+
return VoidedReason2;
|
|
619
|
+
})(VoidedReason || {});
|
|
600
620
|
var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
|
|
601
621
|
RefundStatus2["PENDING"] = "PENDING";
|
|
602
622
|
RefundStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
@@ -790,7 +810,9 @@ function updatePayments2() {
|
|
|
790
810
|
ActionTypeOriginal,
|
|
791
811
|
AuthorizationCaptureStatusOriginal,
|
|
792
812
|
AuthorizationVoidStatusOriginal,
|
|
813
|
+
CanceledReasonOriginal,
|
|
793
814
|
ChargebackStatusOriginal,
|
|
815
|
+
DeclinedReasonOriginal,
|
|
794
816
|
ManuallyRefundableReasonOriginal,
|
|
795
817
|
MembershipPaymentStatusOriginal,
|
|
796
818
|
NonRefundableReasonOriginal,
|
|
@@ -802,6 +824,7 @@ function updatePayments2() {
|
|
|
802
824
|
RestockTypeOriginal,
|
|
803
825
|
SortOrderOriginal,
|
|
804
826
|
TransactionStatusOriginal,
|
|
827
|
+
VoidedReasonOriginal,
|
|
805
828
|
WebhookIdentityTypeOriginal,
|
|
806
829
|
addPayments,
|
|
807
830
|
bulkUpdatePaymentStatuses,
|