This commit is contained in:
2024-03-25 11:55:01 +02:00
commit 5c13135615
254 changed files with 36649 additions and 0 deletions

View File

@ -0,0 +1,32 @@
package models
type ClientInfo struct {
ClientID string `json:"clientId"`
Name string `json:"name"`
WebHookURL string `json:"webHookUrl"`
Permissions string `json:"permissions"`
Accounts []Account `json:"accounts_list"`
Jars []Jar `json:"jars"`
}
type Account struct {
ID string `json:"id"`
SendID string `json:"sendId"`
Balance int `json:"balance"`
CreditLimit int `json:"creditLimit"`
Type string `json:"type"`
CurrencyCode int `json:"currencyCode"`
CashbackType string `json:"cashbackType"`
MaskedPan []string `json:"maskedPan"`
Iban string `json:"iban"`
}
type Jar struct {
ID string `json:"id"`
SendID string `json:"sendId"`
Title string `json:"title"`
Description string `json:"description"`
CurrencyCode int `json:"currencyCode"`
Balance int `json:"balance"`
Goal int `json:"goal"`
}