@wix/auto_sdk_ecom_order-transactions 1.0.87 → 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.
@@ -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
  }
@@ -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
@@ -566,6 +566,8 @@ var DeclinedReason = /* @__PURE__ */ ((DeclinedReason2) => {
566
566
  DeclinedReason2["EXPIRED"] = "EXPIRED";
567
567
  DeclinedReason2["INSUFFICIENT_FUNDS"] = "INSUFFICIENT_FUNDS";
568
568
  DeclinedReason2["GIFT_CARD_DISABLED"] = "GIFT_CARD_DISABLED";
569
+ DeclinedReason2["RISK_REJECTED"] = "RISK_REJECTED";
570
+ DeclinedReason2["THREE_D_SECURE_FAILED"] = "THREE_D_SECURE_FAILED";
569
571
  return DeclinedReason2;
570
572
  })(DeclinedReason || {});
571
573
  var VoidedReason = /* @__PURE__ */ ((VoidedReason2) => {