@wix/auto_sdk_ecom_order-transactions 1.0.85 → 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 +62 -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 +62 -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 +62 -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 +62 -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
|
@@ -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,43 @@ 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
|
+
}
|
|
526
|
+
/** @enumType */
|
|
527
|
+
type DeclinedReasonWithLiterals = DeclinedReason | 'CHARGE_FAILED' | 'EXPIRED' | 'INSUFFICIENT_FUNDS' | 'GIFT_CARD_DISABLED';
|
|
528
|
+
interface VoidedStatusDetails {
|
|
529
|
+
reason?: VoidedReasonWithLiterals;
|
|
530
|
+
}
|
|
531
|
+
declare enum VoidedReason {
|
|
532
|
+
/** Payment was voided by merchant request. */
|
|
533
|
+
MERCHANT_REQUEST = "MERCHANT_REQUEST",
|
|
534
|
+
/** Other payment with the same chargeCorrelationId failed and caused rollback of all payments with same chargeCorrelationId. */
|
|
535
|
+
OTHER_PAYMENT_FAILURE = "OTHER_PAYMENT_FAILURE"
|
|
536
|
+
}
|
|
537
|
+
/** @enumType */
|
|
538
|
+
type VoidedReasonWithLiterals = VoidedReason | 'MERCHANT_REQUEST' | 'OTHER_PAYMENT_FAILURE';
|
|
499
539
|
interface Refund {
|
|
500
540
|
/**
|
|
501
541
|
* Refund ID.
|
|
@@ -1682,10 +1722,14 @@ interface OrderTransactionsChargebackApprovedEnvelope {
|
|
|
1682
1722
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1683
1723
|
* @permissionScope Read eCommerce - all read permissions
|
|
1684
1724
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1725
|
+
* @permissionScope Manage Events
|
|
1726
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
1685
1727
|
* @permissionScope Read Orders
|
|
1686
1728
|
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
1687
1729
|
* @permissionScope Read Stores - all read permissions
|
|
1688
1730
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1731
|
+
* @permissionScope Manage Invoices
|
|
1732
|
+
* @permissionScopeId SCOPE.INVOICES.MANAGE
|
|
1689
1733
|
* @permissionScope Manage Restaurants - all permissions
|
|
1690
1734
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1691
1735
|
* @permissionScope Manage eCommerce - all permissions
|
|
@@ -1710,10 +1754,14 @@ interface OrderTransactionsChargebackReversedEnvelope {
|
|
|
1710
1754
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1711
1755
|
* @permissionScope Read eCommerce - all read permissions
|
|
1712
1756
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1757
|
+
* @permissionScope Manage Events
|
|
1758
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
1713
1759
|
* @permissionScope Read Orders
|
|
1714
1760
|
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
1715
1761
|
* @permissionScope Read Stores - all read permissions
|
|
1716
1762
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1763
|
+
* @permissionScope Manage Invoices
|
|
1764
|
+
* @permissionScopeId SCOPE.INVOICES.MANAGE
|
|
1717
1765
|
* @permissionScope Manage Restaurants - all permissions
|
|
1718
1766
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1719
1767
|
* @permissionScope Manage eCommerce - all permissions
|
|
@@ -1741,10 +1789,14 @@ interface OrderTransactionsDetailsUpdatedEnvelope {
|
|
|
1741
1789
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1742
1790
|
* @permissionScope Read eCommerce - all read permissions
|
|
1743
1791
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1792
|
+
* @permissionScope Manage Events
|
|
1793
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
1744
1794
|
* @permissionScope Read Orders
|
|
1745
1795
|
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
1746
1796
|
* @permissionScope Read Stores - all read permissions
|
|
1747
1797
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1798
|
+
* @permissionScope Manage Invoices
|
|
1799
|
+
* @permissionScopeId SCOPE.INVOICES.MANAGE
|
|
1748
1800
|
* @permissionScope Manage Restaurants - all permissions
|
|
1749
1801
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1750
1802
|
* @permissionScope Manage eCommerce - all permissions
|
|
@@ -1774,10 +1826,14 @@ interface OrderTransactionsRefundCompletedEnvelope {
|
|
|
1774
1826
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1775
1827
|
* @permissionScope Read eCommerce - all read permissions
|
|
1776
1828
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1829
|
+
* @permissionScope Manage Events
|
|
1830
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
1777
1831
|
* @permissionScope Read Orders
|
|
1778
1832
|
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
1779
1833
|
* @permissionScope Read Stores - all read permissions
|
|
1780
1834
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1835
|
+
* @permissionScope Manage Invoices
|
|
1836
|
+
* @permissionScopeId SCOPE.INVOICES.MANAGE
|
|
1781
1837
|
* @permissionScope Manage Restaurants - all permissions
|
|
1782
1838
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1783
1839
|
* @permissionScope Manage eCommerce - all permissions
|
|
@@ -1805,10 +1861,14 @@ interface OrderTransactionsUpdatedEnvelope {
|
|
|
1805
1861
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1806
1862
|
* @permissionScope Read eCommerce - all read permissions
|
|
1807
1863
|
* @permissionScopeId SCOPE.DC-ECOM-MEGA.READ-ECOM
|
|
1864
|
+
* @permissionScope Manage Events
|
|
1865
|
+
* @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
|
|
1808
1866
|
* @permissionScope Read Orders
|
|
1809
1867
|
* @permissionScopeId SCOPE.DC-STORES.READ-ORDERS
|
|
1810
1868
|
* @permissionScope Read Stores - all read permissions
|
|
1811
1869
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.READ-STORES
|
|
1870
|
+
* @permissionScope Manage Invoices
|
|
1871
|
+
* @permissionScopeId SCOPE.INVOICES.MANAGE
|
|
1812
1872
|
* @permissionScope Manage Restaurants - all permissions
|
|
1813
1873
|
* @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
|
|
1814
1874
|
* @permissionScope Manage eCommerce - all permissions
|
|
@@ -1921,4 +1981,4 @@ interface BulkUpdatePaymentStatusesOptions {
|
|
|
1921
1981
|
interface UpdateRefundTransactionOptions {
|
|
1922
1982
|
}
|
|
1923
1983
|
|
|
1924
|
-
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 };
|
|
1984
|
+
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,23 @@ 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
|
+
return DeclinedReason2;
|
|
618
|
+
})(DeclinedReason || {});
|
|
619
|
+
var VoidedReason = /* @__PURE__ */ ((VoidedReason2) => {
|
|
620
|
+
VoidedReason2["MERCHANT_REQUEST"] = "MERCHANT_REQUEST";
|
|
621
|
+
VoidedReason2["OTHER_PAYMENT_FAILURE"] = "OTHER_PAYMENT_FAILURE";
|
|
622
|
+
return VoidedReason2;
|
|
623
|
+
})(VoidedReason || {});
|
|
604
624
|
var RefundStatus = /* @__PURE__ */ ((RefundStatus2) => {
|
|
605
625
|
RefundStatus2["PENDING"] = "PENDING";
|
|
606
626
|
RefundStatus2["SUCCEEDED"] = "SUCCEEDED";
|
|
@@ -854,7 +874,9 @@ async function updatePayments2() {
|
|
|
854
874
|
ActionType,
|
|
855
875
|
AuthorizationCaptureStatus,
|
|
856
876
|
AuthorizationVoidStatus,
|
|
877
|
+
CanceledReason,
|
|
857
878
|
ChargebackStatus,
|
|
879
|
+
DeclinedReason,
|
|
858
880
|
ManuallyRefundableReason,
|
|
859
881
|
MembershipPaymentStatus,
|
|
860
882
|
NonRefundableReason,
|
|
@@ -866,6 +888,7 @@ async function updatePayments2() {
|
|
|
866
888
|
RestockType,
|
|
867
889
|
SortOrder,
|
|
868
890
|
TransactionStatus,
|
|
891
|
+
VoidedReason,
|
|
869
892
|
WebhookIdentityType,
|
|
870
893
|
addPayments,
|
|
871
894
|
bulkUpdatePaymentStatuses,
|