diff options
Diffstat (limited to 'cli/src/types.ts')
| -rw-r--r-- | cli/src/types.ts | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/cli/src/types.ts b/cli/src/types.ts new file mode 100644 index 0000000..eea7c9b --- /dev/null +++ b/cli/src/types.ts @@ -0,0 +1,40 @@ +export type Sb1Tokens = { + access_token: string + expires_in: number + refresh_token_expires_in: number + refresh_token_absolute_expires_in: number + token_type: string + refresh_token: string +} + +export type Sb1Account = { + key: string + accountNumber: string + iban: string + name: string + balance: number + availableBalance: number + currencyCode: string +} + +export type Sb1Transaction = { + id: string + nonUniqueId: string + description: string + cleanedDescription: string + amount: number + date: number + typeCode: string + typeText: string + currencyCode: string + bookingStatus: string + accountName: string + accountKey: string +} + +export type ActualAccount = { + id: string + name: string + type: string + closed: boolean +} |
