diff options
author | Sebastian <sebasjm@gmail.com> | 2023-09-25 11:58:17 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-09-25 14:50:45 -0300 |
commit | 4041a76a58503572c6fe8edc87658afc946a11e0 (patch) | |
tree | 2b70e70ae060eef9cf64a8799d8ffc693d4b218c /packages/demobank-ui/src/declaration.d.ts | |
parent | 0b2c03dc5e1060cd229aeafb84263f171b5a9788 (diff) | |
download | wallet-core-4041a76a58503572c6fe8edc87658afc946a11e0.tar.xz |
more ui: pagination
Diffstat (limited to 'packages/demobank-ui/src/declaration.d.ts')
-rw-r--r-- | packages/demobank-ui/src/declaration.d.ts | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/packages/demobank-ui/src/declaration.d.ts b/packages/demobank-ui/src/declaration.d.ts index 0c083a939..8d729c1f7 100644 --- a/packages/demobank-ui/src/declaration.d.ts +++ b/packages/demobank-ui/src/declaration.d.ts @@ -194,28 +194,25 @@ namespace SandboxBackend { } interface BankAccountTransactionInfo { - creditorIban: string; - creditorBic: string; // Optional - creditorName: string; + creditor_payto_uri: string; + debtor_payto_uri: string; - debtorIban: string; - debtorBic: string; - debtorName: string; + amount: Amount; + direction: "debit" | "credit"; - amount: number; - currency: string; subject: string; // Transaction unique ID. Matches // $transaction_id from the URI. - uid: string; - direction: "DBIT" | "CRDT"; - date: string; // milliseconds since the Unix epoch + row_id: number; + date: number; + // date: Timestamp; } + interface CreateBankAccountTransactionCreate { // Address in the Payto format of the wire transfer receiver. // It needs at least the 'message' query string parameter. - paytoUri: string; + payto_uri: string; // Transaction amount (in the $currency:x.y format), optional. // However, when not given, its value must occupy the 'amount' @@ -326,32 +323,32 @@ namespace SandboxBackend { interface AccountMinimalData { // Username username: string; - + // Legal name of the account owner. name: string; - + // current balance of the account balance: Balance; - + // Number indicating the max debit allowed for the requesting user. debit_threshold: Amount; } - + interface AccountData { // Legal name of the account owner. name: string; - + // Available balance on the account. balance: Balance; - + // payto://-URI of the account. payto_uri: string; - + // Number indicating the max debit allowed for the requesting user. debit_threshold: Amount; - + contact_data?: ChallengeContactData; - + // 'payto' address pointing the bank account // where to send cashouts. This field is optional // because not all the accounts are required to participate @@ -360,7 +357,7 @@ namespace SandboxBackend { // be done via the access API. cashout_payto_uri?: string; } - + } namespace Circuit { |