commit cf2f7f32852c6cd0293b7e0bfe0b2f2ed213dc3e
parent b19b85ff6dfefefd1f5fb78d04875f4a43304d22
Author: Nullptrderef <nullptrderef@proton.me>
Date: Sun, 26 May 2024 01:54:12 +0200
fix some conflicting names, remove a duplicate declaration
Diffstat:
1 file changed, 10 insertions(+), 30 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
@@ -1272,7 +1272,7 @@ Management operations authorized by master key
**Request:**
- The request must be an `ExchangePartner` message.
+ The request must be an `ExchangePartner2` message.
**Response**
@@ -1285,9 +1285,11 @@ Management operations authorized by master key
**Details:**
- .. ts:def:: ExchangePartner
+ .. TODO: Fix this name! There was just a name conflict
- interface ExchangePartner {
+ .. ts:def:: ExchangePartner2
+
+ interface ExchangePartner2 {
// Base URL of the partner exchange
partner_base_url: string;
@@ -1749,7 +1751,7 @@ and freeze or unfreeze accounts suspected of money laundering.
**Request:**
- The request must be an `AmlDecision` message.
+ The request must be an `AmlDecision2` message.
**Response**
@@ -1766,9 +1768,11 @@ and freeze or unfreeze accounts suspected of money laundering.
**Details:**
- .. ts:def:: AmlDecision
+ .. TODO: This was a duplicated name! This (or the other AmlDecision) should be renamed properly.
- interface AmlDecision {
+ .. ts:def:: AmlDecision2
+
+ interface AmlDecision2 {
// Human-readable justification for the decision.
justification: string;
@@ -2658,30 +2662,6 @@ Reserve History
request_timestamp: Timestamp;
}
- .. ts:def:: ReserveCreditTransaction
-
- interface ReserveCreditTransaction {
- type: "CREDIT";
-
- // Offset of this entry in the reserve history.
- // Useful to request incremental histories via
- // the "start" query parameter.
- history_offset: Integer;
-
- // Amount deposited.
- amount: Amount;
-
- // Sender account ``payto://`` URL.
- sender_account_url: string;
-
- // Opaque identifier internal to the exchange that
- // uniquely identifies the wire transfer that credited the reserve.
- wire_reference: Integer;
-
- // Timestamp of the incoming wire transfer.
- timestamp: Timestamp;
- }
-
.. ts:def:: PurseMergeTransaction
interface PurseMergeTransaction {