diff options
| author | ivar <i@oiee.no> | 2026-03-09 23:05:38 +0100 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2026-03-09 23:05:38 +0100 |
| commit | 69448e29a85cad3a94b3be3ad33efbc52764528f (patch) | |
| tree | c32b8c817322fdf26edbbb3fa75b9505a7020ae8 /cli/src/types.ts | |
| parent | b35302fa020ec82a9d67a6cb34379d42983d3cfc (diff) | |
| download | sparebank1-actualbudget-69448e29a85cad3a94b3be3ad33efbc52764528f.tar.xz sparebank1-actualbudget-69448e29a85cad3a94b3be3ad33efbc52764528f.zip | |
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 +} |
