@wix/auto_sdk_ecom_order-transactions 1.0.87 → 1.0.89
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.js +2 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +18 -4
- package/build/cjs/index.typings.js +2 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +7 -3
- package/build/cjs/meta.js +2 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +2 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +18 -4
- package/build/es/index.typings.mjs +2 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +7 -3
- package/build/es/meta.mjs +2 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +2 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +18 -4
- package/build/internal/cjs/index.typings.js +2 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +7 -3
- package/build/internal/cjs/meta.js +2 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +2 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +18 -4
- package/build/internal/es/index.typings.mjs +2 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +7 -3
- package/build/internal/es/meta.mjs +2 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -521,10 +521,14 @@ declare enum DeclinedReason {
|
|
|
521
521
|
/** Insufficient funds. */
|
|
522
522
|
INSUFFICIENT_FUNDS = "INSUFFICIENT_FUNDS",
|
|
523
523
|
/** Gift card was disabled before charge was attempted. */
|
|
524
|
-
GIFT_CARD_DISABLED = "GIFT_CARD_DISABLED"
|
|
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"
|
|
525
529
|
}
|
|
526
530
|
/** @enumType */
|
|
527
|
-
type DeclinedReasonWithLiterals = DeclinedReason | 'CHARGE_FAILED' | 'EXPIRED' | 'INSUFFICIENT_FUNDS' | 'GIFT_CARD_DISABLED';
|
|
531
|
+
type DeclinedReasonWithLiterals = DeclinedReason | 'CHARGE_FAILED' | 'EXPIRED' | 'INSUFFICIENT_FUNDS' | 'GIFT_CARD_DISABLED' | 'RISK_REJECTED' | 'THREE_D_SECURE_FAILED';
|
|
528
532
|
interface VoidedStatusDetails {
|
|
529
533
|
reason?: VoidedReasonWithLiterals;
|
|
530
534
|
}
|
|
@@ -1507,7 +1511,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
1507
1511
|
/** If present, indicates the action that triggered the event. */
|
|
1508
1512
|
originatedFrom?: string | null;
|
|
1509
1513
|
/**
|
|
1510
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01
|
|
1514
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
|
|
1511
1515
|
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1512
1516
|
*/
|
|
1513
1517
|
entityEventSequence?: string | null;
|
|
@@ -1696,7 +1700,7 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
1696
1700
|
/** If present, indicates the action that triggered the event. */
|
|
1697
1701
|
originatedFrom?: string | null;
|
|
1698
1702
|
/**
|
|
1699
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01
|
|
1703
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
|
|
1700
1704
|
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
1701
1705
|
*/
|
|
1702
1706
|
entityEventSequence?: string | null;
|
|
@@ -1718,6 +1722,8 @@ interface OrderTransactionsChargebackApprovedEnvelope {
|
|
|
1718
1722
|
* Triggered when a new chargeback is added to an order.
|
|
1719
1723
|
* @permissionScope Manage Stores - all permissions
|
|
1720
1724
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1725
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
1726
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1721
1727
|
* @permissionScope Manage Stores
|
|
1722
1728
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1723
1729
|
* @permissionScope Read eCommerce - all read permissions
|
|
@@ -1750,6 +1756,8 @@ interface OrderTransactionsChargebackReversedEnvelope {
|
|
|
1750
1756
|
* Triggered when an existing chargeback is reversed.
|
|
1751
1757
|
* @permissionScope Manage Stores - all permissions
|
|
1752
1758
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1759
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
1760
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1753
1761
|
* @permissionScope Manage Stores
|
|
1754
1762
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1755
1763
|
* @permissionScope Read eCommerce - all read permissions
|
|
@@ -1785,6 +1793,8 @@ interface OrderTransactionsDetailsUpdatedEnvelope {
|
|
|
1785
1793
|
* as well as IDs of the updated payments and refunds.
|
|
1786
1794
|
* @permissionScope Manage Stores - all permissions
|
|
1787
1795
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1796
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
1797
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1788
1798
|
* @permissionScope Manage Stores
|
|
1789
1799
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1790
1800
|
* @permissionScope Read eCommerce - all read permissions
|
|
@@ -1822,6 +1832,8 @@ interface OrderTransactionsRefundCompletedEnvelope {
|
|
|
1822
1832
|
* and the updated order transaction state.
|
|
1823
1833
|
* @permissionScope Manage Stores - all permissions
|
|
1824
1834
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1835
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
1836
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1825
1837
|
* @permissionScope Manage Stores
|
|
1826
1838
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1827
1839
|
* @permissionScope Read eCommerce - all read permissions
|
|
@@ -1857,6 +1869,8 @@ interface OrderTransactionsUpdatedEnvelope {
|
|
|
1857
1869
|
* as well as IDs of the updated payments and refunds.
|
|
1858
1870
|
* @permissionScope Manage Stores - all permissions
|
|
1859
1871
|
* @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
|
|
1872
|
+
* @permissionScope Manage_Wix_Rentals_App_Forms_submissions
|
|
1873
|
+
* @permissionScopeId SCOPE.RENTALS.MANAGE
|
|
1860
1874
|
* @permissionScope Manage Stores
|
|
1861
1875
|
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
1862
1876
|
* @permissionScope Read eCommerce - all read permissions
|
|
@@ -614,6 +614,8 @@ var DeclinedReason = /* @__PURE__ */ ((DeclinedReason2) => {
|
|
|
614
614
|
DeclinedReason2["EXPIRED"] = "EXPIRED";
|
|
615
615
|
DeclinedReason2["INSUFFICIENT_FUNDS"] = "INSUFFICIENT_FUNDS";
|
|
616
616
|
DeclinedReason2["GIFT_CARD_DISABLED"] = "GIFT_CARD_DISABLED";
|
|
617
|
+
DeclinedReason2["RISK_REJECTED"] = "RISK_REJECTED";
|
|
618
|
+
DeclinedReason2["THREE_D_SECURE_FAILED"] = "THREE_D_SECURE_FAILED";
|
|
617
619
|
return DeclinedReason2;
|
|
618
620
|
})(DeclinedReason || {});
|
|
619
621
|
var VoidedReason = /* @__PURE__ */ ((VoidedReason2) => {
|