Skip to content

Commit 1dd213d

Browse files
committed
fix get requests [#20]
1 parent c125525 commit 1dd213d

File tree

1 file changed

+42
-42
lines changed

1 file changed

+42
-42
lines changed

bunq/sdk/model/generated/endpoint.py

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def get(cls, api_context, user_id, monetary_account_id, invoice_id,
105105
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
106106
monetary_account_id,
107107
invoice_id)
108-
response_raw = api_client.get(endpoint_url, custom_headers)
108+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
109109

110110
return cls._from_json(response_raw, cls._OBJECT_TYPE)
111111

@@ -325,7 +325,7 @@ def get(cls, api_context, user_id, invoice_by_user_id, custom_headers=None):
325325
api_client = client.ApiClient(api_context)
326326
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
327327
invoice_by_user_id)
328-
response_raw = api_client.get(endpoint_url, custom_headers)
328+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
329329

330330
return cls._from_json(response_raw, cls._OBJECT_TYPE)
331331

@@ -511,7 +511,7 @@ def get(cls, api_context, user_id, chat_conversation_id,
511511
api_client = client.ApiClient(api_context)
512512
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
513513
chat_conversation_id)
514-
response_raw = api_client.get(endpoint_url, custom_headers)
514+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
515515

516516
return cls._from_json(response_raw, cls._OBJECT_TYPE)
517517

@@ -1060,7 +1060,7 @@ def get(cls, api_context, attachment_public_uuid, custom_headers=None):
10601060

10611061
api_client = client.ApiClient(api_context)
10621062
endpoint_url = cls._ENDPOINT_URL_READ.format(attachment_public_uuid)
1063-
response_raw = api_client.get(endpoint_url, custom_headers)
1063+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
10641064

10651065
return cls._from_json(response_raw, cls._OBJECT_TYPE)
10661066

@@ -1176,7 +1176,7 @@ def get(cls, api_context, user_id, monetary_account_id, attachment_tab_id,
11761176
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
11771177
monetary_account_id,
11781178
attachment_tab_id)
1179-
response_raw = api_client.get(endpoint_url, custom_headers)
1179+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
11801180

11811181
return cls._from_json(response_raw, cls._OBJECT_TYPE)
11821182

@@ -1256,7 +1256,7 @@ def get(cls, api_context, tab_uuid, tab_attachment_tab_id,
12561256
api_client = client.ApiClient(api_context)
12571257
endpoint_url = cls._ENDPOINT_URL_READ.format(tab_uuid,
12581258
tab_attachment_tab_id)
1259-
response_raw = api_client.get(endpoint_url, custom_headers)
1259+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
12601260

12611261
return cls._from_json(response_raw, cls._OBJECT_TYPE)
12621262

@@ -1356,7 +1356,7 @@ def get(cls, api_context, avatar_uuid, custom_headers=None):
13561356

13571357
api_client = client.ApiClient(api_context)
13581358
endpoint_url = cls._ENDPOINT_URL_READ.format(avatar_uuid)
1359-
response_raw = api_client.get(endpoint_url, custom_headers)
1359+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
13601360

13611361
return cls._from_json(response_raw, cls._OBJECT_TYPE)
13621362

@@ -1752,7 +1752,7 @@ def get(cls, api_context, user_id, card_id, custom_headers=None):
17521752

17531753
api_client = client.ApiClient(api_context)
17541754
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id, card_id)
1755-
response_raw = api_client.get(endpoint_url, custom_headers)
1755+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
17561756

17571757
return cls._from_json(response_raw, cls._OBJECT_TYPE)
17581758

@@ -2091,7 +2091,7 @@ def get(cls, api_context, user_id, monetary_account_id, cash_register_id,
20912091
monetary_account_id,
20922092
cash_register_id,
20932093
cash_register_qr_code_id)
2094-
response_raw = api_client.get(endpoint_url, custom_headers)
2094+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
20952095

20962096
return cls._from_json(response_raw, cls._OBJECT_TYPE)
20972097

@@ -2272,7 +2272,7 @@ def get(cls, api_context, user_id, monetary_account_id, cash_register_id,
22722272
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
22732273
monetary_account_id,
22742274
cash_register_id)
2275-
response_raw = api_client.get(endpoint_url, custom_headers)
2275+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
22762276

22772277
return cls._from_json(response_raw, cls._OBJECT_TYPE)
22782278

@@ -2456,7 +2456,7 @@ def get(cls, api_context, user_id, monetary_account_id, cash_register_id,
24562456
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
24572457
monetary_account_id,
24582458
cash_register_id, tab_uuid)
2459-
response_raw = api_client.get(endpoint_url, custom_headers)
2459+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
24602460

24612461
return cls._from_json(response_raw)
24622462

@@ -2707,7 +2707,7 @@ def get(cls, api_context, user_id, monetary_account_id, cash_register_id,
27072707
monetary_account_id,
27082708
cash_register_id,
27092709
tab_usage_single_uuid)
2710-
response_raw = api_client.get(endpoint_url, custom_headers)
2710+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
27112711

27122712
return cls._from_json(response_raw, cls._OBJECT_TYPE)
27132713

@@ -3173,7 +3173,7 @@ def get(cls, api_context, user_id, monetary_account_id, cash_register_id,
31733173
monetary_account_id,
31743174
cash_register_id,
31753175
tab_usage_multiple_uuid)
3176-
response_raw = api_client.get(endpoint_url, custom_headers)
3176+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
31773177

31783178
return cls._from_json(response_raw, cls._OBJECT_TYPE)
31793179

@@ -3463,7 +3463,7 @@ def get(cls, api_context, user_id, certificate_pinned_id,
34633463
api_client = client.ApiClient(api_context)
34643464
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
34653465
certificate_pinned_id)
3466-
response_raw = api_client.get(endpoint_url, custom_headers)
3466+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
34673467

34683468
return cls._from_json(response_raw, cls._OBJECT_TYPE)
34693469

@@ -3561,7 +3561,7 @@ def get(cls, api_context, device_server_id, custom_headers=None):
35613561

35623562
api_client = client.ApiClient(api_context)
35633563
endpoint_url = cls._ENDPOINT_URL_READ.format(device_server_id)
3564-
response_raw = api_client.get(endpoint_url, custom_headers)
3564+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
35653565

35663566
return cls._from_json(response_raw, cls._OBJECT_TYPE)
35673567

@@ -3675,7 +3675,7 @@ def get(cls, api_context, device_id, custom_headers=None):
36753675

36763676
api_client = client.ApiClient(api_context)
36773677
endpoint_url = cls._ENDPOINT_URL_READ.format(device_id)
3678-
response_raw = api_client.get(endpoint_url, custom_headers)
3678+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
36793679

36803680
return cls._from_json(response_raw)
36813681

@@ -3954,7 +3954,7 @@ def get(cls, api_context, user_id, monetary_account_id, draft_payment_id,
39543954
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
39553955
monetary_account_id,
39563956
draft_payment_id)
3957-
response_raw = api_client.get(endpoint_url, custom_headers)
3957+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
39583958

39593959
return cls._from_json(response_raw, cls._OBJECT_TYPE)
39603960

@@ -4149,7 +4149,7 @@ def get(cls, api_context, user_id, draft_share_invite_bank_id,
41494149
api_client = client.ApiClient(api_context)
41504150
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
41514151
draft_share_invite_bank_id)
4152-
response_raw = api_client.get(endpoint_url, custom_headers)
4152+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
41534153

41544154
return cls._from_json(response_raw, cls._OBJECT_TYPE)
41554155

@@ -4380,7 +4380,7 @@ def get(cls, api_context, user_id, export_annual_overview_id,
43804380
api_client = client.ApiClient(api_context)
43814381
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
43824382
export_annual_overview_id)
4383-
response_raw = api_client.get(endpoint_url, custom_headers)
4383+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
43844384

43854385
return cls._from_json(response_raw, cls._OBJECT_TYPE)
43864386

@@ -4584,7 +4584,7 @@ def get(cls, api_context, user_id, monetary_account_id,
45844584
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
45854585
monetary_account_id,
45864586
customer_statement_export_id)
4587-
response_raw = api_client.get(endpoint_url, custom_headers)
4587+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
45884588

45894589
return cls._from_json(response_raw, cls._OBJECT_TYPE)
45904590

@@ -4921,7 +4921,7 @@ def get(cls, api_context, user_id, monetary_account_id,
49214921
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
49224922
monetary_account_id,
49234923
share_invite_bank_inquiry_id)
4924-
response_raw = api_client.get(endpoint_url, custom_headers)
4924+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
49254925

49264926
return cls._from_json(response_raw, cls._OBJECT_TYPE)
49274927

@@ -5133,7 +5133,7 @@ def get(cls, api_context, user_id, share_invite_bank_response_id,
51335133
api_client = client.ApiClient(api_context)
51345134
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
51355135
share_invite_bank_response_id)
5136-
response_raw = api_client.get(endpoint_url, custom_headers)
5136+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
51375137

51385138
return cls._from_json(response_raw, cls._OBJECT_TYPE)
51395139

@@ -5384,7 +5384,7 @@ def get(cls, api_context, user_id, monetary_account_bank_id,
53845384
api_client = client.ApiClient(api_context)
53855385
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
53865386
monetary_account_bank_id)
5387-
response_raw = api_client.get(endpoint_url, custom_headers)
5387+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
53885388

53895389
return cls._from_json(response_raw, cls._OBJECT_TYPE)
53905390

@@ -5679,7 +5679,7 @@ def get(cls, api_context, user_id, monetary_account_id,
56795679
api_client = client.ApiClient(api_context)
56805680
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
56815681
monetary_account_id)
5682-
response_raw = api_client.get(endpoint_url, custom_headers)
5682+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
56835683

56845684
return cls._from_json(response_raw)
56855685

@@ -5820,7 +5820,7 @@ def get(cls, api_context, user_id, monetary_account_id, payment_batch_id,
58205820
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
58215821
monetary_account_id,
58225822
payment_batch_id)
5823-
response_raw = api_client.get(endpoint_url, custom_headers)
5823+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
58245824

58255825
return cls._from_json(response_raw, cls._OBJECT_TYPE)
58265826

@@ -5986,7 +5986,7 @@ def get(cls, api_context, user_id, monetary_account_id, payment_id,
59865986
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
59875987
monetary_account_id,
59885988
payment_id)
5989-
response_raw = api_client.get(endpoint_url, custom_headers)
5989+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
59905990

59915991
return cls._from_json(response_raw, cls._OBJECT_TYPE)
59925992

@@ -6400,7 +6400,7 @@ def get(cls, api_context, user_id, credential_password_ip_id,
64006400
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
64016401
credential_password_ip_id,
64026402
permitted_ip_id)
6403-
response_raw = api_client.get(endpoint_url, custom_headers)
6403+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
64046404

64056405
return cls._from_json(response_raw, cls._OBJECT_TYPE)
64066406

@@ -6607,7 +6607,7 @@ def get(cls, api_context, user_id, monetary_account_id,
66076607
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
66086608
monetary_account_id,
66096609
request_inquiry_batch_id)
6610-
response_raw = api_client.get(endpoint_url, custom_headers)
6610+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
66116611

66126612
return cls._from_json(response_raw, cls._OBJECT_TYPE)
66136613

@@ -6849,7 +6849,7 @@ def get(cls, api_context, user_id, monetary_account_id, request_inquiry_id,
68496849
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
68506850
monetary_account_id,
68516851
request_inquiry_id)
6852-
response_raw = api_client.get(endpoint_url, custom_headers)
6852+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
68536853

68546854
return cls._from_json(response_raw, cls._OBJECT_TYPE)
68556855

@@ -7524,7 +7524,7 @@ def get(cls, api_context, user_id, monetary_account_id, request_response_id,
75247524
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
75257525
monetary_account_id,
75267526
request_response_id)
7527-
response_raw = api_client.get(endpoint_url, custom_headers)
7527+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
75287528

75297529
return cls._from_json(response_raw, cls._OBJECT_TYPE)
75307530

@@ -7785,7 +7785,7 @@ def get(cls, api_context, user_id, monetary_account_id, schedule_id,
77857785
monetary_account_id,
77867786
schedule_id,
77877787
schedule_instance_id)
7788-
response_raw = api_client.get(endpoint_url, custom_headers)
7788+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
77897789

77907790
return cls._from_json(response_raw, cls._OBJECT_TYPE)
77917791

@@ -8109,7 +8109,7 @@ def get(cls, api_context, user_id, monetary_account_id, schedule_payment_id,
81098109
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
81108110
monetary_account_id,
81118111
schedule_payment_id)
8112-
response_raw = api_client.get(endpoint_url, custom_headers)
8112+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
81138113

81148114
return cls._from_json(response_raw, cls._OBJECT_TYPE)
81158115

@@ -8217,7 +8217,7 @@ def get(cls, api_context, user_id, monetary_account_id, schedule_id,
82178217
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
82188218
monetary_account_id,
82198219
schedule_id)
8220-
response_raw = api_client.get(endpoint_url, custom_headers)
8220+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
82218221

82228222
return cls._from_json(response_raw, cls._OBJECT_TYPE)
82238223

@@ -8593,7 +8593,7 @@ def get(cls, api_context, user_id, monetary_account_id, cash_register_id,
85938593
monetary_account_id,
85948594
cash_register_id, tab_uuid,
85958595
tab_item_shop_id)
8596-
response_raw = api_client.get(endpoint_url, custom_headers)
8596+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
85978597

85988598
return cls._from_json(response_raw, cls._OBJECT_TYPE)
85998599

@@ -8702,7 +8702,7 @@ def get(cls, api_context, user_id, monetary_account_id, cash_register_id,
87028702
monetary_account_id,
87038703
cash_register_id, tab_uuid,
87048704
tab_result_inquiry_id)
8705-
response_raw = api_client.get(endpoint_url, custom_headers)
8705+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
87068706

87078707
return cls._from_json(response_raw, cls._OBJECT_TYPE)
87088708

@@ -8798,7 +8798,7 @@ def get(cls, api_context, user_id, monetary_account_id,
87988798
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
87998799
monetary_account_id,
88008800
tab_result_response_id)
8801-
response_raw = api_client.get(endpoint_url, custom_headers)
8801+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
88028802

88038803
return cls._from_json(response_raw, cls._OBJECT_TYPE)
88048804

@@ -9256,7 +9256,7 @@ def get(cls, api_context, user_company_id, custom_headers=None):
92569256

92579257
api_client = client.ApiClient(api_context)
92589258
endpoint_url = cls._ENDPOINT_URL_READ.format(user_company_id)
9259-
response_raw = api_client.get(endpoint_url, custom_headers)
9259+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
92609260

92619261
return cls._from_json(response_raw, cls._OBJECT_TYPE)
92629262

@@ -9584,7 +9584,7 @@ def get(cls, api_context, user_id, customer_id, custom_headers=None):
95849584

95859585
api_client = client.ApiClient(api_context)
95869586
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id, customer_id)
9587-
response_raw = api_client.get(endpoint_url, custom_headers)
9587+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
95889588

95899589
return cls._from_json(response_raw, cls._OBJECT_TYPE)
95909590

@@ -9899,7 +9899,7 @@ def get(cls, api_context, user_id, user_credential_password_ip_id,
98999899
api_client = client.ApiClient(api_context)
99009900
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id,
99019901
user_credential_password_ip_id)
9902-
response_raw = api_client.get(endpoint_url, custom_headers)
9902+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
99039903

99049904
return cls._from_json(response_raw, cls._OBJECT_TYPE)
99059905

@@ -10108,7 +10108,7 @@ def get(cls, api_context, user_person_id, custom_headers=None):
1010810108

1010910109
api_client = client.ApiClient(api_context)
1011010110
endpoint_url = cls._ENDPOINT_URL_READ.format(user_person_id)
10111-
response_raw = api_client.get(endpoint_url, custom_headers)
10111+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
1011210112

1011310113
return cls._from_json(response_raw, cls._OBJECT_TYPE)
1011410114

@@ -10425,7 +10425,7 @@ def get(cls, api_context, user_id, custom_headers=None):
1042510425

1042610426
api_client = client.ApiClient(api_context)
1042710427
endpoint_url = cls._ENDPOINT_URL_READ.format(user_id)
10428-
response_raw = api_client.get(endpoint_url, custom_headers)
10428+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
1042910429

1043010430
return cls._from_json(response_raw)
1043110431

@@ -10605,7 +10605,7 @@ def get(cls, api_context, user_light_id, custom_headers=None):
1060510605

1060610606
api_client = client.ApiClient(api_context)
1060710607
endpoint_url = cls._ENDPOINT_URL_READ.format(user_light_id)
10608-
response_raw = api_client.get(endpoint_url, custom_headers)
10608+
response_raw = api_client.get(endpoint_url, {}, custom_headers)
1060910609

1061010610
return cls._from_json(response_raw, cls._OBJECT_TYPE)
1061110611

0 commit comments

Comments
 (0)