File tree Expand file tree Collapse file tree 3 files changed +70
-1
lines changed
Expand file tree Collapse file tree 3 files changed +70
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "type" : " object" ,
3+ "additionalProperties" : false ,
4+ "properties" : {
5+ "id" : {
6+ "type" : " uuid"
7+ },
8+ "name" : {
9+ "type" : " string"
10+ },
11+ "owner" : {
12+ "type" : " string"
13+ },
14+ "owner_address" : {
15+ "type" : " string"
16+ },
17+ "owner_zip" : {
18+ "type" : " integer"
19+ },
20+ "owner_city" : {
21+ "type" : " string"
22+ },
23+ "bc_nr" : {
24+ "type" : " integer"
25+ },
26+ "bank_name" : {
27+ "type" : " string"
28+ },
29+ "bank_nr" : {
30+ "type" : " string"
31+ },
32+ "bank_account_nr" : {
33+ "type" : " string"
34+ },
35+ "iban_nr" : {
36+ "type" : " string"
37+ },
38+ "currency_id" : {
39+ "type" : " integer"
40+ },
41+ "account_id" : {
42+ "type" : " integer"
43+ },
44+ "remarks" : {
45+ "type" : " string"
46+ },
47+ "invoice_mode" : {
48+ "type" : " string"
49+ },
50+ "qr_invoice_iban" : {
51+ "type" : " string"
52+ },
53+ "type" : {
54+ "type" : " string"
55+ }
56+ }
57+ }
58+
Original file line number Diff line number Diff line change @@ -282,4 +282,13 @@ class PaymentTypeStream(bexioStream):
282282 replication_key = "id"
283283 schema_filepath = SCHEMAS_DIR / "payment_type.json"
284284
285+ class BankAccountsStream (bexioStream ):
286+ """Banks accounts stream."""
287+ name = "bank_accounts"
288+ path = "3.0/banking/accounts"
289+ data_key = "bank_accounts"
290+ primary_keys = ["id" ]
291+ replication_method : "FULL_TABLE"
292+ replication_key = "id"
293+ schema_filepath = SCHEMAS_DIR / "banking_bank_account.json"
285294
Original file line number Diff line number Diff line change 3131 CountryStream ,
3232 PaymentTypeStream ,
3333 UnitStream ,
34+ BankAccountsStream ,
3435)
3536
3637STREAM_TYPES = [
5859 LanguageStream ,
5960 CountryStream ,
6061 PaymentTypeStream ,
61- UnitStream
62+ UnitStream ,
63+ BankAccountsStream ,
6264]
6365
6466
You can’t perform that action at this time.
0 commit comments