@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.
@@ -594,10 +594,14 @@ declare enum DeclinedReason {
594
594
  /** Insufficient funds. */
595
595
  INSUFFICIENT_FUNDS = "INSUFFICIENT_FUNDS",
596
596
  /** Gift card was disabled before charge was attempted. */
597
- GIFT_CARD_DISABLED = "GIFT_CARD_DISABLED"
597
+ GIFT_CARD_DISABLED = "GIFT_CARD_DISABLED",
598
+ /** Payment was rejected by fraud or risk assessment. */
599
+ RISK_REJECTED = "RISK_REJECTED",
600
+ /** 3D Secure authentication failed. */
601
+ THREE_D_SECURE_FAILED = "THREE_D_SECURE_FAILED"
598
602
  }
599
603
  /** @enumType */
600
- type DeclinedReasonWithLiterals = DeclinedReason | 'CHARGE_FAILED' | 'EXPIRED' | 'INSUFFICIENT_FUNDS' | 'GIFT_CARD_DISABLED';
604
+ type DeclinedReasonWithLiterals = DeclinedReason | 'CHARGE_FAILED' | 'EXPIRED' | 'INSUFFICIENT_FUNDS' | 'GIFT_CARD_DISABLED' | 'RISK_REJECTED' | 'THREE_D_SECURE_FAILED';
601
605
  interface VoidedStatusDetails {
602
606
  reason?: VoidedReasonWithLiterals;
603
607
  }
@@ -1636,7 +1640,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
1636
1640
  /** If present, indicates the action that triggered the event. */
1637
1641
  originatedFrom?: string | null;
1638
1642
  /**
1639
- * 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.
1643
+ * 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.
1640
1644
  * 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.
1641
1645
  */
1642
1646
  entityEventSequence?: string | null;
@@ -1825,7 +1829,7 @@ interface EventMetadata extends BaseEventMetadata {
1825
1829
  /** If present, indicates the action that triggered the event. */
1826
1830
  originatedFrom?: string | null;
1827
1831
  /**
1828
- * 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.
1832
+ * 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.
1829
1833
  * 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.
1830
1834
  */
1831
1835
  entityEventSequence?: string | null;
@@ -1847,6 +1851,8 @@ interface OrderTransactionsChargebackApprovedEnvelope {
1847
1851
  * Triggered when a new chargeback is added to an order.
1848
1852
  * @permissionScope Manage Stores - all permissions
1849
1853
  * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1854
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
1855
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1850
1856
  * @permissionScope Manage Stores
1851
1857
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1852
1858
  * @permissionScope Read eCommerce - all read permissions
@@ -1879,6 +1885,8 @@ interface OrderTransactionsChargebackReversedEnvelope {
1879
1885
  * Triggered when an existing chargeback is reversed.
1880
1886
  * @permissionScope Manage Stores - all permissions
1881
1887
  * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1888
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
1889
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1882
1890
  * @permissionScope Manage Stores
1883
1891
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1884
1892
  * @permissionScope Read eCommerce - all read permissions
@@ -1914,6 +1922,8 @@ interface OrderTransactionsDetailsUpdatedEnvelope {
1914
1922
  * as well as IDs of the updated payments and refunds.
1915
1923
  * @permissionScope Manage Stores - all permissions
1916
1924
  * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1925
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
1926
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1917
1927
  * @permissionScope Manage Stores
1918
1928
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1919
1929
  * @permissionScope Read eCommerce - all read permissions
@@ -1951,6 +1961,8 @@ interface OrderTransactionsRefundCompletedEnvelope {
1951
1961
  * and the updated order transaction state.
1952
1962
  * @permissionScope Manage Stores - all permissions
1953
1963
  * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
1964
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
1965
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1954
1966
  * @permissionScope Manage Stores
1955
1967
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1956
1968
  * @permissionScope Read eCommerce - all read permissions
@@ -1986,6 +1998,8 @@ interface OrderTransactionsUpdatedEnvelope {
1986
1998
  * as well as IDs of the updated payments and refunds.
1987
1999
  * @permissionScope Manage Stores - all permissions
1988
2000
  * @permissionScopeId SCOPE.DC-STORES-MEGA.MANAGE-STORES
2001
+ * @permissionScope Manage_Wix_Rentals_App_Forms_submissions
2002
+ * @permissionScopeId SCOPE.RENTALS.MANAGE
1989
2003
  * @permissionScope Manage Stores
1990
2004
  * @permissionScopeId SCOPE.STORES.MANAGE-STORES
1991
2005
  * @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) => {