From 69448e29a85cad3a94b3be3ad33efbc52764528f Mon Sep 17 00:00:00 2001 From: ivar Date: Mon, 9 Mar 2026 23:05:38 +0100 Subject: Add wip cli --- cli/src/types.ts | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 cli/src/types.ts (limited to 'cli/src/types.ts') 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 +} -- cgit v1.3