@wix/auto_sdk_ecom_order-transactions 1.0.86 → 1.0.88
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 +25 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +56 -2
- package/build/cjs/index.typings.js +25 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +46 -2
- package/build/cjs/meta.js +25 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +22 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +56 -2
- package/build/es/index.typings.mjs +22 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +46 -2
- package/build/es/meta.mjs +22 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +25 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +56 -2
- package/build/internal/cjs/index.typings.js +25 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +46 -2
- package/build/internal/cjs/meta.js +25 -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 +22 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +56 -2
- package/build/internal/es/index.typings.mjs +22 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +46 -2
- package/build/internal/es/meta.mjs +22 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -22,7 +22,7 @@ interface OrderTransactions {
|
|
|
22
22
|
*/
|
|
23
23
|
refunds?: Refund[];
|
|
24
24
|
}
|
|
25
|
-
interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf {
|
|
25
|
+
interface Payment extends PaymentPaymentDetailsOneOf, PaymentReceiptInfoOneOf, PaymentStatusDetailsOneOf {
|
|
26
26
|
/** Regular payment details. */
|
|
27
27
|
regularPaymentDetails?: RegularPaymentDetails;
|
|
28
28
|
/** Gift card payment details. */
|
|
@@ -59,6 +59,9 @@ interface PaymentPaymentDetailsOneOf {
|
|
|
59
59
|
/** @oneof */
|
|
60
60
|
interface PaymentReceiptInfoOneOf {
|
|
61
61
|
}
|
|
62
|
+
/** @oneof */
|
|
63
|
+
interface PaymentStatusDetailsOneOf {
|
|
64
|
+
}
|
|
62
65
|
interface RegularPaymentDetails extends RegularPaymentDetailsPaymentMethodDetailsOneOf {
|
|
63
66
|
/** Credit card details. */
|
|
64
67
|
creditCardDetails?: CreditCardPaymentMethodDetails;
|
|
@@ -496,6 +499,47 @@ declare enum PaymentStatus {
|
|
|
496
499
|
}
|
|
497
500
|
/** @enumType */
|
|
498
501
|
type PaymentStatusWithLiterals = PaymentStatus | 'APPROVED' | 'PENDING' | 'PENDING_MERCHANT' | 'CANCELED' | 'DECLINED' | 'REFUNDED' | 'PARTIALLY_REFUNDED' | 'AUTHORIZED' | 'VOIDED';
|
|
502
|
+
interface CanceledStatusDetails {
|
|
503
|
+
reason?: CanceledReasonWithLiterals;
|
|
504
|
+
}
|
|
505
|
+
declare enum CanceledReason {
|
|
506
|
+
/** Other payment with the same chargeCorrelationId failed before current payment started. */
|
|
507
|
+
OTHER_PAYMENT_FAILURE = "OTHER_PAYMENT_FAILURE",
|
|
508
|
+
/** Payment was not completed by user and expired. */
|
|
509
|
+
EXPIRED = "EXPIRED"
|
|
510
|
+
}
|
|
511
|
+
/** @enumType */
|
|
512
|
+
type CanceledReasonWithLiterals = CanceledReason | 'OTHER_PAYMENT_FAILURE' | 'EXPIRED';
|
|
513
|
+
interface DeclinedStatusDetails {
|
|
514
|
+
reason?: DeclinedReasonWithLiterals;
|
|
515
|
+
}
|
|
516
|
+
declare enum DeclinedReason {
|
|
517
|
+
/** Corresponding charge failed. */
|
|
518
|
+
CHARGE_FAILED = "CHARGE_FAILED",
|
|
519
|
+
/** Payment details expired. */
|
|
520
|
+
EXPIRED = "EXPIRED",
|
|
521
|
+
/** Insufficient funds. */
|
|
522
|
+
INSUFFICIENT_FUNDS = "INSUFFICIENT_FUNDS",
|
|
523
|
+
/** Gift card was disabled before charge was attempted. */
|
|
524
|
+
GIFT_CARD_DISABLED = "GIFT_CARD_DISABLED",
|
|
525
|
+
/** Payment was rejected by fraud or risk assessment. */
|
|
526
|
+
RISK_REJECTED = "RISK_REJECTED",
|
|
527
|
+
/** 3D Secure authentication failed. */
|
|
528
|
+
THREE_D_SECURE_FAILED = "THREE_D_SECURE_FAILED"
|
|
529
|
+
}
|
|
530
|
+
/** @enumType */
|
|
531
|
+
type DeclinedReasonWithLiterals = DeclinedReason | 'CHARGE_FAILED' | 'EXPIRED' | 'INSUFFICIENT_FUNDS' | 'GIFT_CARD_DISABLED' | 'RISK_REJECTED' | 'THREE_D_SECURE_FAILED';
|
|
532
|
+
interface VoidedStatusDetails {
|
|
533
|
+
reason?: VoidedReasonWithLiterals;
|
|
534
|
+
}
|
|
535
|
+
declare enum VoidedReason {
|
|
536
|
+
/** Payment was voided by merchant request. */
|
|
537
|
+
MERCHANT_REQUEST = "MERCHANT_REQUEST",
|
|
538
|
+
/** Other payment with the same chargeCorrelationId failed and caused rollback of all payments with same chargeCorrelationId. */
|
|
539
|
+
OTHER_PAYMENT_FAILURE = "OTHER_PAYMENT_FAILURE"
|
|
540
|
+
}
|
|
541
|
+
/** @enumType */
|
|
542
|
+
type VoidedReasonWithLiterals = VoidedReason | 'MERCHANT_REQUEST' | 'OTHER_PAYMENT_FAILURE';
|
|
499
543
|
interface Refund {
|
|
500
544
|
/**
|
|
501
545
|
* Refund ID.
|
|
@@ -1678,6 +1722,8 @@ interface OrderTransactionsChargebackApprovedEnvelope {
|
|
|
1678
1722
|
* Triggered when a new chargeback is added to an order.
|
|
1679
1723
|
* @permissionScope Manage Stores - all permissions
|
|
1680
1724
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1725
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
1726
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1681
1727
|
* @permissionScope Manage Stores
|
|
1682
1728
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1683
1729
|
* @permissionScope Read eCommerce - all read permissions
|
|
@@ -1710,6 +1756,8 @@ interface OrderTransactionsChargebackReversedEnvelope {
|
|
|
1710
1756
|
* Triggered when an existing chargeback is reversed.
|
|
1711
1757
|
* @permissionScope Manage Stores - all permissions
|
|
1712
1758
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1759
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
1760
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1713
1761
|
* @permissionScope Manage Stores
|
|
1714
1762
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1715
1763
|
* @permissionScope Read eCommerce - all read permissions
|
|
@@ -1745,6 +1793,8 @@ interface OrderTransactionsDetailsUpdatedEnvelope {
|
|
|
1745
1793
|
* as well as IDs of the updated payments and refunds.
|
|
1746
1794
|
* @permissionScope Manage Stores - all permissions
|
|
1747
1795
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1796
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
1797
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1748
1798
|
* @permissionScope Manage Stores
|
|
1749
1799
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1750
1800
|
* @permissionScope Read eCommerce - all read permissions
|
|
@@ -1782,6 +1832,8 @@ interface OrderTransactionsRefundCompletedEnvelope {
|
|
|
1782
1832
|
* and the updated order transaction state.
|
|
1783
1833
|
* @permissionScope Manage Stores - all permissions
|
|
1784
1834
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1835
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
1836
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1785
1837
|
* @permissionScope Manage Stores
|
|
1786
1838
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1787
1839
|
* @permissionScope Read eCommerce - all read permissions
|
|
@@ -1817,6 +1869,8 @@ interface OrderTransactionsUpdatedEnvelope {
|
|
|
1817
1869
|
* as well as IDs of the updated payments and refunds.
|
|
1818
1870
|
* @permissionScope Manage Stores - all permissions
|
|
1819
1871
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1872
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
1873
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1820
1874
|
* @permissionScope Manage Stores
|
|
1821
1875
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1822
1876
|
* @permissionScope Read eCommerce - all read permissions
|
|
@@ -1941,4 +1995,4 @@ interface BulkUpdatePaymentStatusesOptions {
|
|
|
1941
1995
|
interface UpdateRefundTransactionOptions {
|
|
1942
1996
|
}
|
|
1943
1997
|
|
|
1944
|
-
export { type AccountInfo, type AccountInfoMetadata, 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 CashRounding, type CashRoundingDetails, 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 PaymentMethodName, type PaymentPaymentDetailsOneOf, type PaymentReceiptInfoOneOf, type PaymentRefund, PaymentStatus, type PaymentStatusWithLiterals, type PaymentsUpdated, PredefinedPaymentMethod, type PredefinedPaymentMethodWithLiterals, 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, type RestockLocation, 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, type UserDefinedPaymentMethodName, type UserDefinedPaymentMethodNameKindOneOf, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixReceiptInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, onOrderTransactionsChargebackApproved, onOrderTransactionsChargebackReversed, onOrderTransactionsDetailsUpdated, onOrderTransactionsRefundCompleted, onOrderTransactionsUpdated, updatePaymentStatus };
|
|
1998
|
+
export { type AccountInfo, type AccountInfoMetadata, 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, CanceledReason, type CanceledReasonWithLiterals, type CanceledStatusDetails, type CashRounding, type CashRoundingDetails, type Chargeback, type ChargebackApproved, type ChargebackReversed, ChargebackStatus, type ChargebackStatusWithLiterals, type CreditCardPaymentMethodDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, DeclinedReason, type DeclinedReasonWithLiterals, type DeclinedStatusDetails, 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 PaymentMethodName, type PaymentPaymentDetailsOneOf, type PaymentReceiptInfoOneOf, type PaymentRefund, PaymentStatus, type PaymentStatusDetailsOneOf, type PaymentStatusWithLiterals, type PaymentsUpdated, PredefinedPaymentMethod, type PredefinedPaymentMethodWithLiterals, 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, type RestockLocation, 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, type UserDefinedPaymentMethodName, type UserDefinedPaymentMethodNameKindOneOf, VoidedReason, type VoidedReasonWithLiterals, type VoidedStatusDetails, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixReceiptInfo, addPayments, bulkUpdatePaymentStatuses, listTransactionsForMultipleOrders, listTransactionsForSingleOrder, onOrderTransactionsChargebackApproved, onOrderTransactionsChargebackReversed, onOrderTransactionsDetailsUpdated, onOrderTransactionsRefundCompleted, onOrderTransactionsUpdated, updatePaymentStatus };
|
|
@@ -23,7 +23,9 @@ __export(index_typings_exports, {
|
|
|
23
23
|
ActionType: () => ActionType,
|
|
24
24
|
AuthorizationCaptureStatus: () => AuthorizationCaptureStatus,
|
|
25
25
|
AuthorizationVoidStatus: () => AuthorizationVoidStatus,
|
|
26
|
+
CanceledReason: () => CanceledReason,
|
|
26
27
|
ChargebackStatus: () => ChargebackStatus,
|
|
28
|
+
DeclinedReason: () => DeclinedReason,
|
|
27
29
|
ManuallyRefundableReason: () => ManuallyRefundableReason,
|
|
28
30
|
MembershipPaymentStatus: () => MembershipPaymentStatus,
|
|
29
31
|
NonRefundableReason: () => NonRefundableReason,
|
|
@@ -35,6 +37,7 @@ __export(index_typings_exports, {
|
|
|
35
37
|
RestockType: () => RestockType,
|
|
36
38
|
SortOrder: () => SortOrder,
|
|
37
39
|
TransactionStatus: () => TransactionStatus,
|
|
40
|
+
VoidedReason: () => VoidedReason,
|
|
38
41
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
39
42
|
addPayments: () => addPayments2,
|
|
40
43
|
bulkUpdatePaymentStatuses: () => bulkUpdatePaymentStatuses2,
|
|
@@ -601,6 +604,25 @@ var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
|
|
|
601
604
|
PaymentStatus2["VOIDED"] = "VOIDED";
|
|
602
605
|
return PaymentStatus2;
|
|
603
606
|
})(PaymentStatus || {});
|
|
607
|
+
var CanceledReason = /* @__PURE__ */ ((CanceledReason2) => {
|
|
608
|
+
CanceledReason2["OTHER_PAYMENT_FAILURE"] = "OTHER_PAYMENT_FAILURE";
|
|
609
|
+
CanceledReason2["EXPIRED"] = "EXPIRED";
|
|
610
|
+
return CanceledReason2;
|
|
611
|
+
})(CanceledReason || {});
|
|
612
|
+
var DeclinedReason = /* @__PURE__ */ ((DeclinedReason2) => {
|
|
613
|
+
DeclinedReason2["CHARGE_FAILED"] = "CHARGE_FAILED";
|
|
614
|
+
DeclinedReason2["EXPIRED"] = "EXPIRED";
|
|
615
|
+
DeclinedReason2["INSUFFICIENT_FUNDS"] = "INSUFFICIENT_FUNDS";
|
|
616
|
+
DeclinedReason2["GIFT_CARD_DISABLED"] = "GIFT_CARD_DISABLED";
|
|
617
|
+
DeclinedReason2["RISK_REJECTED"] = "RISK_REJECTED";
|
|
618
|
+
DeclinedReason2["THREE_D_SECURE_FAILED"] = "THREE_D_SECURE_FAILED";
|
|
619
|
+
return DeclinedReason2;
|
|
620
|
+
})(DeclinedReason || {});
|
|
621
|
+
var VoidedReason = /* @__PURE__ */ ((VoidedReason2) => {
|
|
622
|
+
VoidedReason2["MERCHANT_REQUEST"] = "MERCHANT_REQUEST";
|
|
623
|
+
VoidedReason2["OTHER_PAYMENT_FAILURE"] = "OTHER_PAYMENT_FAILURE";
|
|
624
|
+
return VoidedReason2;
|
|
625
|
+
})(VoidedReason || {});
|
|
604
626
|
var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
|
|
605
627
|
RefundStatus2["PENDING"] = "PENDING";
|
|
606
628
|
RefundStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
@@ -854,7 +876,9 @@ async function updatePayments2() {
|
|
|
854
876
|
ActionType,
|
|
855
877
|
AuthorizationCaptureStatus,
|
|
856
878
|
AuthorizationVoidStatus,
|
|
879
|
+
CanceledReason,
|
|
857
880
|
ChargebackStatus,
|
|
881
|
+
DeclinedReason,
|
|
858
882
|
ManuallyRefundableReason,
|
|
859
883
|
MembershipPaymentStatus,
|
|
860
884
|
NonRefundableReason,
|
|
@@ -866,6 +890,7 @@ async function updatePayments2() {
|
|
|
866
890
|
RestockType,
|
|
867
891
|
SortOrder,
|
|
868
892
|
TransactionStatus,
|
|
893
|
+
VoidedReason,
|
|
869
894
|
WebhookIdentityType,
|
|
870
895
|
addPayments,
|
|
871
896
|
bulkUpdatePaymentStatuses,
|