budgea_client 1.3.9 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/docs/BanksApi.md CHANGED
@@ -5084,7 +5084,7 @@ Name | Type | Description | Notes
5084
5084
 
5085
5085
  ### HTTP request headers
5086
5086
 
5087
- - **Content-Type**: application/json, multipart/form-data
5087
+ - **Content-Type**: multipart/form-data
5088
5088
  - **Accept**: application/json
5089
5089
 
5090
5090
 
@@ -5356,7 +5356,7 @@ Name | Type | Description | Notes
5356
5356
 
5357
5357
  ### HTTP request headers
5358
5358
 
5359
- - **Content-Type**: application/json, multipart/form-data
5359
+ - **Content-Type**: multipart/form-data
5360
5360
  - **Accept**: application/json
5361
5361
 
5362
5362
 
@@ -6329,6 +6329,18 @@ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
6329
6329
 
6330
6330
  opts = {
6331
6331
  id_bank: 56, # Integer | ID of the bank
6332
+ birthday: "birthday_example", # String | bank additional login parameter
6333
+ password: "password_example", # String | bank additional login parameter
6334
+ oauth_token: "oauth_token_example", # String | bank additional login parameter
6335
+ oauth_token_secret: "oauth_token_secret_example", # String | bank additional login parameter
6336
+ auth_type: "auth_type_example", # String | bank additional login parameter
6337
+ secret: "secret_example", # String | bank additional login parameter
6338
+ type: "type_example", # String | bank additional login parameter
6339
+ birthdate: "birthdate_example", # String | bank additional login parameter
6340
+ nuser: "nuser_example", # String | bank additional login parameter
6341
+ website: "website_example", # String | bank additional login parameter
6342
+ password2: "password_example", # String | bank additional login parameter
6343
+ login: "login_example", # String | bank additional login parameter
6332
6344
  id_provider: 56, # Integer | ID of the provider
6333
6345
  expand: "expand_example" # String |
6334
6346
  }
@@ -6348,6 +6360,18 @@ Name | Type | Description | Notes
6348
6360
  ------------- | ------------- | ------------- | -------------
6349
6361
  **id_user** | **String**| Hint: you can use 'me' or 'all' |
6350
6362
  **id_bank** | **Integer**| ID of the bank | [optional]
6363
+ **birthday** | **String**| bank additional login parameter | [optional]
6364
+ **password** | **String**| bank additional login parameter | [optional]
6365
+ **oauth_token** | **String**| bank additional login parameter | [optional]
6366
+ **oauth_token_secret** | **String**| bank additional login parameter | [optional]
6367
+ **auth_type** | **String**| bank additional login parameter | [optional]
6368
+ **secret** | **String**| bank additional login parameter | [optional]
6369
+ **type** | **String**| bank additional login parameter | [optional]
6370
+ **birthdate** | **String**| bank additional login parameter | [optional]
6371
+ **nuser** | **String**| bank additional login parameter | [optional]
6372
+ **website** | **String**| bank additional login parameter | [optional]
6373
+ **password2** | **String**| bank additional login parameter | [optional]
6374
+ **login** | **String**| bank additional login parameter | [optional]
6351
6375
  **id_provider** | **Integer**| ID of the provider | [optional]
6352
6376
  **expand** | **String**| | [optional]
6353
6377
 
@@ -6361,7 +6385,7 @@ Name | Type | Description | Notes
6361
6385
 
6362
6386
  ### HTTP request headers
6363
6387
 
6364
- - **Content-Type**: application/json, multipart/form-data
6388
+ - **Content-Type**: multipart/form-data
6365
6389
  - **Accept**: application/json
6366
6390
 
6367
6391
 
data/docs/Connection.md CHANGED
@@ -12,5 +12,6 @@ Name | Type | Description | Notes
12
12
  **active** | **BOOLEAN** | This connection is active and will be automatically synced | [default to true]
13
13
  **last_push** | **DateTime** | Last successful push | [optional]
14
14
  **next_try** | **DateTime** | Date of next synchronization | [optional]
15
+ **accounts** | [**Array<Account>**](Account.md) | | [optional]
15
16
 
16
17
 
@@ -838,7 +838,7 @@ Name | Type | Description | Notes
838
838
 
839
839
  ### HTTP request headers
840
840
 
841
- - **Content-Type**: application/json, multipart/form-data
841
+ - **Content-Type**: multipart/form-data
842
842
  - **Accept**: application/json
843
843
 
844
844
 
@@ -929,6 +929,18 @@ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
929
929
 
930
930
  opts = {
931
931
  id_bank: 56, # Integer | ID of the bank
932
+ birthday: "birthday_example", # String | bank additional login parameter
933
+ password: "password_example", # String | bank additional login parameter
934
+ oauth_token: "oauth_token_example", # String | bank additional login parameter
935
+ oauth_token_secret: "oauth_token_secret_example", # String | bank additional login parameter
936
+ auth_type: "auth_type_example", # String | bank additional login parameter
937
+ secret: "secret_example", # String | bank additional login parameter
938
+ type: "type_example", # String | bank additional login parameter
939
+ birthdate: "birthdate_example", # String | bank additional login parameter
940
+ nuser: "nuser_example", # String | bank additional login parameter
941
+ website: "website_example", # String | bank additional login parameter
942
+ password2: "password_example", # String | bank additional login parameter
943
+ login: "login_example", # String | bank additional login parameter
932
944
  id_provider: 56, # Integer | ID of the provider
933
945
  expand: "expand_example" # String |
934
946
  }
@@ -948,6 +960,18 @@ Name | Type | Description | Notes
948
960
  ------------- | ------------- | ------------- | -------------
949
961
  **id_user** | **String**| Hint: you can use 'me' or 'all' |
950
962
  **id_bank** | **Integer**| ID of the bank | [optional]
963
+ **birthday** | **String**| bank additional login parameter | [optional]
964
+ **password** | **String**| bank additional login parameter | [optional]
965
+ **oauth_token** | **String**| bank additional login parameter | [optional]
966
+ **oauth_token_secret** | **String**| bank additional login parameter | [optional]
967
+ **auth_type** | **String**| bank additional login parameter | [optional]
968
+ **secret** | **String**| bank additional login parameter | [optional]
969
+ **type** | **String**| bank additional login parameter | [optional]
970
+ **birthdate** | **String**| bank additional login parameter | [optional]
971
+ **nuser** | **String**| bank additional login parameter | [optional]
972
+ **website** | **String**| bank additional login parameter | [optional]
973
+ **password2** | **String**| bank additional login parameter | [optional]
974
+ **login** | **String**| bank additional login parameter | [optional]
951
975
  **id_provider** | **Integer**| ID of the provider | [optional]
952
976
  **expand** | **String**| | [optional]
953
977
 
@@ -961,7 +985,7 @@ Name | Type | Description | Notes
961
985
 
962
986
  ### HTTP request headers
963
987
 
964
- - **Content-Type**: application/json, multipart/form-data
988
+ - **Content-Type**: multipart/form-data
965
989
  - **Accept**: application/json
966
990
 
967
991
 
data/docs/PFMApi.md CHANGED
@@ -21,8 +21,8 @@ Method | HTTP request | Description
21
21
  [**users_id_user_balances_get**](PFMApi.md#users_id_user_balances_get) | **GET** /users/{id_user}/balances | Get balances of accounts
22
22
  [**users_id_user_connections_id_connection_accounts_id_account_balances_get**](PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_balances_get) | **GET** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/balances | Get balances of accounts
23
23
  [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_get**](PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_get) | **GET** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert | Get a list of configurated alerts
24
- [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete**](PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Delete an alert on transactions or investemens
25
- [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put**](PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put) | **PUT** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Edit an alert on transactions or investemens
24
+ [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete**](PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete) | **DELETE** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Delete an alert on transactions or investments
25
+ [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put**](PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put) | **PUT** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert/{id_operationsalert} | Edit an alert on transactions or investments
26
26
  [**users_id_user_connections_id_connection_accounts_id_account_operationsalert_post**](PFMApi.md#users_id_user_connections_id_connection_accounts_id_account_operationsalert_post) | **POST** /users/{id_user}/connections/{id_connection}/accounts/{id_account}/operationsalert | Create an alert on transactions or investemens of a given user
27
27
  [**users_id_user_connections_id_connection_balances_get**](PFMApi.md#users_id_user_connections_id_connection_balances_get) | **GET** /users/{id_user}/connections/{id_connection}/balances | Get balances of accounts
28
28
  [**users_id_user_devices_get**](PFMApi.md#users_id_user_devices_get) | **GET** /users/{id_user}/devices | Get devices
@@ -1091,7 +1091,7 @@ Name | Type | Description | Notes
1091
1091
  # **users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete**
1092
1092
  > UserAlert users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete(id_user, id_connection, id_account, id_operationsalert, opts)
1093
1093
 
1094
- Delete an alert on transactions or investemens
1094
+ Delete an alert on transactions or investments
1095
1095
 
1096
1096
  <br><br>
1097
1097
 
@@ -1122,7 +1122,7 @@ opts = {
1122
1122
  }
1123
1123
 
1124
1124
  begin
1125
- #Delete an alert on transactions or investemens
1125
+ #Delete an alert on transactions or investments
1126
1126
  result = api_instance.users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete(id_user, id_connection, id_account, id_operationsalert, opts)
1127
1127
  p result
1128
1128
  rescue BudgeaClient::ApiError => e
@@ -1158,7 +1158,7 @@ Name | Type | Description | Notes
1158
1158
  # **users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put**
1159
1159
  > UserAlert users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put(id_user, id_connection, id_account, id_operationsalert, opts)
1160
1160
 
1161
- Edit an alert on transactions or investemens
1161
+ Edit an alert on transactions or investments
1162
1162
 
1163
1163
 
1164
1164
 
@@ -1194,7 +1194,7 @@ opts = {
1194
1194
  }
1195
1195
 
1196
1196
  begin
1197
- #Edit an alert on transactions or investemens
1197
+ #Edit an alert on transactions or investments
1198
1198
  result = api_instance.users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put(id_user, id_connection, id_account, id_operationsalert, opts)
1199
1199
  p result
1200
1200
  rescue BudgeaClient::ApiError => e
@@ -1227,7 +1227,7 @@ Name | Type | Description | Notes
1227
1227
 
1228
1228
  ### HTTP request headers
1229
1229
 
1230
- - **Content-Type**: application/json, multipart/form-data
1230
+ - **Content-Type**: multipart/form-data
1231
1231
  - **Accept**: application/json
1232
1232
 
1233
1233
 
@@ -1301,7 +1301,7 @@ Name | Type | Description | Notes
1301
1301
 
1302
1302
  ### HTTP request headers
1303
1303
 
1304
- - **Content-Type**: application/json, multipart/form-data
1304
+ - **Content-Type**: multipart/form-data
1305
1305
  - **Accept**: application/json
1306
1306
 
1307
1307
 
data/docs/ProvidersApi.md CHANGED
@@ -4119,7 +4119,7 @@ Name | Type | Description | Notes
4119
4119
 
4120
4120
  ### HTTP request headers
4121
4121
 
4122
- - **Content-Type**: application/json, multipart/form-data
4122
+ - **Content-Type**: multipart/form-data
4123
4123
  - **Accept**: application/json
4124
4124
 
4125
4125
 
@@ -5719,6 +5719,18 @@ id_user = "id_user_example" # String | Hint: you can use 'me' or 'all'
5719
5719
 
5720
5720
  opts = {
5721
5721
  id_bank: 56, # Integer | ID of the bank
5722
+ birthday: "birthday_example", # String | bank additional login parameter
5723
+ password: "password_example", # String | bank additional login parameter
5724
+ oauth_token: "oauth_token_example", # String | bank additional login parameter
5725
+ oauth_token_secret: "oauth_token_secret_example", # String | bank additional login parameter
5726
+ auth_type: "auth_type_example", # String | bank additional login parameter
5727
+ secret: "secret_example", # String | bank additional login parameter
5728
+ type: "type_example", # String | bank additional login parameter
5729
+ birthdate: "birthdate_example", # String | bank additional login parameter
5730
+ nuser: "nuser_example", # String | bank additional login parameter
5731
+ website: "website_example", # String | bank additional login parameter
5732
+ password2: "password_example", # String | bank additional login parameter
5733
+ login: "login_example", # String | bank additional login parameter
5722
5734
  id_provider: 56, # Integer | ID of the provider
5723
5735
  expand: "expand_example" # String |
5724
5736
  }
@@ -5738,6 +5750,18 @@ Name | Type | Description | Notes
5738
5750
  ------------- | ------------- | ------------- | -------------
5739
5751
  **id_user** | **String**| Hint: you can use &#39;me&#39; or &#39;all&#39; |
5740
5752
  **id_bank** | **Integer**| ID of the bank | [optional]
5753
+ **birthday** | **String**| bank additional login parameter | [optional]
5754
+ **password** | **String**| bank additional login parameter | [optional]
5755
+ **oauth_token** | **String**| bank additional login parameter | [optional]
5756
+ **oauth_token_secret** | **String**| bank additional login parameter | [optional]
5757
+ **auth_type** | **String**| bank additional login parameter | [optional]
5758
+ **secret** | **String**| bank additional login parameter | [optional]
5759
+ **type** | **String**| bank additional login parameter | [optional]
5760
+ **birthdate** | **String**| bank additional login parameter | [optional]
5761
+ **nuser** | **String**| bank additional login parameter | [optional]
5762
+ **website** | **String**| bank additional login parameter | [optional]
5763
+ **password2** | **String**| bank additional login parameter | [optional]
5764
+ **login** | **String**| bank additional login parameter | [optional]
5741
5765
  **id_provider** | **Integer**| ID of the provider | [optional]
5742
5766
  **expand** | **String**| | [optional]
5743
5767
 
@@ -5751,7 +5775,7 @@ Name | Type | Description | Notes
5751
5775
 
5752
5776
  ### HTTP request headers
5753
5777
 
5754
- - **Content-Type**: application/json, multipart/form-data
5778
+ - **Content-Type**: multipart/form-data
5755
5779
  - **Accept**: application/json
5756
5780
 
5757
5781
 
@@ -5342,7 +5342,7 @@ module BudgeaClient
5342
5342
  # HTTP header 'Accept' (if needed)
5343
5343
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5344
5344
  # HTTP header 'Content-Type'
5345
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5345
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
5346
5346
 
5347
5347
  # form parameters
5348
5348
  form_params = {}
@@ -5641,7 +5641,7 @@ module BudgeaClient
5641
5641
  # HTTP header 'Accept' (if needed)
5642
5642
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
5643
5643
  # HTTP header 'Content-Type'
5644
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
5644
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
5645
5645
 
5646
5646
  # form parameters
5647
5647
  form_params = {}
@@ -6723,6 +6723,18 @@ module BudgeaClient
6723
6723
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6724
6724
  # @param [Hash] opts the optional parameters
6725
6725
  # @option opts [Integer] :id_bank ID of the bank
6726
+ # @option opts [String] :birthday bank additional login parameter
6727
+ # @option opts [String] :password bank additional login parameter
6728
+ # @option opts [String] :oauth_token bank additional login parameter
6729
+ # @option opts [String] :oauth_token_secret bank additional login parameter
6730
+ # @option opts [String] :auth_type bank additional login parameter
6731
+ # @option opts [String] :secret bank additional login parameter
6732
+ # @option opts [String] :type bank additional login parameter
6733
+ # @option opts [String] :birthdate bank additional login parameter
6734
+ # @option opts [String] :nuser bank additional login parameter
6735
+ # @option opts [String] :website bank additional login parameter
6736
+ # @option opts [String] :password2 bank additional login parameter
6737
+ # @option opts [String] :login bank additional login parameter
6726
6738
  # @option opts [Integer] :id_provider ID of the provider
6727
6739
  # @option opts [String] :expand
6728
6740
  # @return [Connection]
@@ -6736,6 +6748,18 @@ module BudgeaClient
6736
6748
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6737
6749
  # @param [Hash] opts the optional parameters
6738
6750
  # @option opts [Integer] :id_bank ID of the bank
6751
+ # @option opts [String] :birthday bank additional login parameter
6752
+ # @option opts [String] :password bank additional login parameter
6753
+ # @option opts [String] :oauth_token bank additional login parameter
6754
+ # @option opts [String] :oauth_token_secret bank additional login parameter
6755
+ # @option opts [String] :auth_type bank additional login parameter
6756
+ # @option opts [String] :secret bank additional login parameter
6757
+ # @option opts [String] :type bank additional login parameter
6758
+ # @option opts [String] :birthdate bank additional login parameter
6759
+ # @option opts [String] :nuser bank additional login parameter
6760
+ # @option opts [String] :website bank additional login parameter
6761
+ # @option opts [String] :password2 bank additional login parameter
6762
+ # @option opts [String] :login bank additional login parameter
6739
6763
  # @option opts [Integer] :id_provider ID of the provider
6740
6764
  # @option opts [String] :expand
6741
6765
  # @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
@@ -6759,11 +6783,23 @@ module BudgeaClient
6759
6783
  # HTTP header 'Accept' (if needed)
6760
6784
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6761
6785
  # HTTP header 'Content-Type'
6762
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6786
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
6763
6787
 
6764
6788
  # form parameters
6765
6789
  form_params = {}
6766
6790
  form_params["id_bank"] = opts[:'id_bank'] if !opts[:'id_bank'].nil?
6791
+ form_params["birthday"] = opts[:'birthday'] if !opts[:'birthday'].nil?
6792
+ form_params["password"] = opts[:'password'] if !opts[:'password'].nil?
6793
+ form_params["oauth_token"] = opts[:'oauth_token'] if !opts[:'oauth_token'].nil?
6794
+ form_params["oauth_token_secret"] = opts[:'oauth_token_secret'] if !opts[:'oauth_token_secret'].nil?
6795
+ form_params["auth_type"] = opts[:'auth_type'] if !opts[:'auth_type'].nil?
6796
+ form_params["secret"] = opts[:'secret'] if !opts[:'secret'].nil?
6797
+ form_params["type"] = opts[:'type'] if !opts[:'type'].nil?
6798
+ form_params["birthdate"] = opts[:'birthdate'] if !opts[:'birthdate'].nil?
6799
+ form_params["nuser"] = opts[:'nuser'] if !opts[:'nuser'].nil?
6800
+ form_params["website"] = opts[:'website'] if !opts[:'website'].nil?
6801
+ form_params["password"] = opts[:'password2'] if !opts[:'password2'].nil?
6802
+ form_params["login"] = opts[:'login'] if !opts[:'login'].nil?
6767
6803
  form_params["id_provider"] = opts[:'id_provider'] if !opts[:'id_provider'].nil?
6768
6804
 
6769
6805
  # http body (model)
@@ -844,7 +844,7 @@ module BudgeaClient
844
844
  # HTTP header 'Accept' (if needed)
845
845
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
846
846
  # HTTP header 'Content-Type'
847
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
847
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
848
848
 
849
849
  # form parameters
850
850
  form_params = {}
@@ -938,6 +938,18 @@ module BudgeaClient
938
938
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
939
939
  # @param [Hash] opts the optional parameters
940
940
  # @option opts [Integer] :id_bank ID of the bank
941
+ # @option opts [String] :birthday bank additional login parameter
942
+ # @option opts [String] :password bank additional login parameter
943
+ # @option opts [String] :oauth_token bank additional login parameter
944
+ # @option opts [String] :oauth_token_secret bank additional login parameter
945
+ # @option opts [String] :auth_type bank additional login parameter
946
+ # @option opts [String] :secret bank additional login parameter
947
+ # @option opts [String] :type bank additional login parameter
948
+ # @option opts [String] :birthdate bank additional login parameter
949
+ # @option opts [String] :nuser bank additional login parameter
950
+ # @option opts [String] :website bank additional login parameter
951
+ # @option opts [String] :password2 bank additional login parameter
952
+ # @option opts [String] :login bank additional login parameter
941
953
  # @option opts [Integer] :id_provider ID of the provider
942
954
  # @option opts [String] :expand
943
955
  # @return [Connection]
@@ -951,6 +963,18 @@ module BudgeaClient
951
963
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
952
964
  # @param [Hash] opts the optional parameters
953
965
  # @option opts [Integer] :id_bank ID of the bank
966
+ # @option opts [String] :birthday bank additional login parameter
967
+ # @option opts [String] :password bank additional login parameter
968
+ # @option opts [String] :oauth_token bank additional login parameter
969
+ # @option opts [String] :oauth_token_secret bank additional login parameter
970
+ # @option opts [String] :auth_type bank additional login parameter
971
+ # @option opts [String] :secret bank additional login parameter
972
+ # @option opts [String] :type bank additional login parameter
973
+ # @option opts [String] :birthdate bank additional login parameter
974
+ # @option opts [String] :nuser bank additional login parameter
975
+ # @option opts [String] :website bank additional login parameter
976
+ # @option opts [String] :password2 bank additional login parameter
977
+ # @option opts [String] :login bank additional login parameter
954
978
  # @option opts [Integer] :id_provider ID of the provider
955
979
  # @option opts [String] :expand
956
980
  # @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
@@ -974,11 +998,23 @@ module BudgeaClient
974
998
  # HTTP header 'Accept' (if needed)
975
999
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
976
1000
  # HTTP header 'Content-Type'
977
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1001
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
978
1002
 
979
1003
  # form parameters
980
1004
  form_params = {}
981
1005
  form_params["id_bank"] = opts[:'id_bank'] if !opts[:'id_bank'].nil?
1006
+ form_params["birthday"] = opts[:'birthday'] if !opts[:'birthday'].nil?
1007
+ form_params["password"] = opts[:'password'] if !opts[:'password'].nil?
1008
+ form_params["oauth_token"] = opts[:'oauth_token'] if !opts[:'oauth_token'].nil?
1009
+ form_params["oauth_token_secret"] = opts[:'oauth_token_secret'] if !opts[:'oauth_token_secret'].nil?
1010
+ form_params["auth_type"] = opts[:'auth_type'] if !opts[:'auth_type'].nil?
1011
+ form_params["secret"] = opts[:'secret'] if !opts[:'secret'].nil?
1012
+ form_params["type"] = opts[:'type'] if !opts[:'type'].nil?
1013
+ form_params["birthdate"] = opts[:'birthdate'] if !opts[:'birthdate'].nil?
1014
+ form_params["nuser"] = opts[:'nuser'] if !opts[:'nuser'].nil?
1015
+ form_params["website"] = opts[:'website'] if !opts[:'website'].nil?
1016
+ form_params["password"] = opts[:'password2'] if !opts[:'password2'].nil?
1017
+ form_params["login"] = opts[:'login'] if !opts[:'login'].nil?
982
1018
  form_params["id_provider"] = opts[:'id_provider'] if !opts[:'id_provider'].nil?
983
1019
 
984
1020
  # http body (model)
@@ -1145,7 +1145,7 @@ module BudgeaClient
1145
1145
  return data, status_code, headers
1146
1146
  end
1147
1147
 
1148
- # Delete an alert on transactions or investemens
1148
+ # Delete an alert on transactions or investments
1149
1149
  # <br><br>
1150
1150
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1151
1151
  # @param id_connection
@@ -1159,7 +1159,7 @@ module BudgeaClient
1159
1159
  return data
1160
1160
  end
1161
1161
 
1162
- # Delete an alert on transactions or investemens
1162
+ # Delete an alert on transactions or investments
1163
1163
  # &lt;br&gt;&lt;br&gt;
1164
1164
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1165
1165
  # @param id_connection
@@ -1221,7 +1221,7 @@ module BudgeaClient
1221
1221
  return data, status_code, headers
1222
1222
  end
1223
1223
 
1224
- # Edit an alert on transactions or investemens
1224
+ # Edit an alert on transactions or investments
1225
1225
  #
1226
1226
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1227
1227
  # @param id_connection
@@ -1240,7 +1240,7 @@ module BudgeaClient
1240
1240
  return data
1241
1241
  end
1242
1242
 
1243
- # Edit an alert on transactions or investemens
1243
+ # Edit an alert on transactions or investments
1244
1244
  #
1245
1245
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
1246
1246
  # @param id_connection
@@ -1286,7 +1286,7 @@ module BudgeaClient
1286
1286
  # HTTP header 'Accept' (if needed)
1287
1287
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1288
1288
  # HTTP header 'Content-Type'
1289
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1289
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1290
1290
 
1291
1291
  # form parameters
1292
1292
  form_params = {}
@@ -1371,7 +1371,7 @@ module BudgeaClient
1371
1371
  # HTTP header 'Accept' (if needed)
1372
1372
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1373
1373
  # HTTP header 'Content-Type'
1374
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1374
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1375
1375
 
1376
1376
  # form parameters
1377
1377
  form_params = {}
@@ -4482,7 +4482,7 @@ module BudgeaClient
4482
4482
  # HTTP header 'Accept' (if needed)
4483
4483
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4484
4484
  # HTTP header 'Content-Type'
4485
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
4485
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
4486
4486
 
4487
4487
  # form parameters
4488
4488
  form_params = {}
@@ -6351,6 +6351,18 @@ module BudgeaClient
6351
6351
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6352
6352
  # @param [Hash] opts the optional parameters
6353
6353
  # @option opts [Integer] :id_bank ID of the bank
6354
+ # @option opts [String] :birthday bank additional login parameter
6355
+ # @option opts [String] :password bank additional login parameter
6356
+ # @option opts [String] :oauth_token bank additional login parameter
6357
+ # @option opts [String] :oauth_token_secret bank additional login parameter
6358
+ # @option opts [String] :auth_type bank additional login parameter
6359
+ # @option opts [String] :secret bank additional login parameter
6360
+ # @option opts [String] :type bank additional login parameter
6361
+ # @option opts [String] :birthdate bank additional login parameter
6362
+ # @option opts [String] :nuser bank additional login parameter
6363
+ # @option opts [String] :website bank additional login parameter
6364
+ # @option opts [String] :password2 bank additional login parameter
6365
+ # @option opts [String] :login bank additional login parameter
6354
6366
  # @option opts [Integer] :id_provider ID of the provider
6355
6367
  # @option opts [String] :expand
6356
6368
  # @return [Connection]
@@ -6364,6 +6376,18 @@ module BudgeaClient
6364
6376
  # @param id_user Hint: you can use &#39;me&#39; or &#39;all&#39;
6365
6377
  # @param [Hash] opts the optional parameters
6366
6378
  # @option opts [Integer] :id_bank ID of the bank
6379
+ # @option opts [String] :birthday bank additional login parameter
6380
+ # @option opts [String] :password bank additional login parameter
6381
+ # @option opts [String] :oauth_token bank additional login parameter
6382
+ # @option opts [String] :oauth_token_secret bank additional login parameter
6383
+ # @option opts [String] :auth_type bank additional login parameter
6384
+ # @option opts [String] :secret bank additional login parameter
6385
+ # @option opts [String] :type bank additional login parameter
6386
+ # @option opts [String] :birthdate bank additional login parameter
6387
+ # @option opts [String] :nuser bank additional login parameter
6388
+ # @option opts [String] :website bank additional login parameter
6389
+ # @option opts [String] :password2 bank additional login parameter
6390
+ # @option opts [String] :login bank additional login parameter
6367
6391
  # @option opts [Integer] :id_provider ID of the provider
6368
6392
  # @option opts [String] :expand
6369
6393
  # @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
@@ -6387,11 +6411,23 @@ module BudgeaClient
6387
6411
  # HTTP header 'Accept' (if needed)
6388
6412
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6389
6413
  # HTTP header 'Content-Type'
6390
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
6414
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
6391
6415
 
6392
6416
  # form parameters
6393
6417
  form_params = {}
6394
6418
  form_params["id_bank"] = opts[:'id_bank'] if !opts[:'id_bank'].nil?
6419
+ form_params["birthday"] = opts[:'birthday'] if !opts[:'birthday'].nil?
6420
+ form_params["password"] = opts[:'password'] if !opts[:'password'].nil?
6421
+ form_params["oauth_token"] = opts[:'oauth_token'] if !opts[:'oauth_token'].nil?
6422
+ form_params["oauth_token_secret"] = opts[:'oauth_token_secret'] if !opts[:'oauth_token_secret'].nil?
6423
+ form_params["auth_type"] = opts[:'auth_type'] if !opts[:'auth_type'].nil?
6424
+ form_params["secret"] = opts[:'secret'] if !opts[:'secret'].nil?
6425
+ form_params["type"] = opts[:'type'] if !opts[:'type'].nil?
6426
+ form_params["birthdate"] = opts[:'birthdate'] if !opts[:'birthdate'].nil?
6427
+ form_params["nuser"] = opts[:'nuser'] if !opts[:'nuser'].nil?
6428
+ form_params["website"] = opts[:'website'] if !opts[:'website'].nil?
6429
+ form_params["password"] = opts[:'password2'] if !opts[:'password2'].nil?
6430
+ form_params["login"] = opts[:'login'] if !opts[:'login'].nil?
6395
6431
  form_params["id_provider"] = opts[:'id_provider'] if !opts[:'id_provider'].nil?
6396
6432
 
6397
6433
  # http body (model)
@@ -99,7 +99,8 @@ module BudgeaClient
99
99
  :ssl_verifyhost => _verify_ssl_host,
100
100
  :sslcert => @config.cert_file,
101
101
  :sslkey => @config.key_file,
102
- :verbose => @config.debugging
102
+ :verbose => @config.debugging,
103
+ :multipart => header_params['Content-Type'] == 'multipart/form-data'
103
104
  }
104
105
 
105
106
  # set custom cert, if provided
@@ -100,7 +100,7 @@ module BudgeaClient
100
100
  :'deleted' => :'DateTime',
101
101
  :'disabled' => :'DateTime',
102
102
  :'iban' => :'String',
103
- :'currency' => :'Object',
103
+ :'currency' => :'Account',
104
104
  :'id_type' => :'Integer',
105
105
  :'bookmarked' => :'Integer',
106
106
  :'name' => :'String',
@@ -32,6 +32,8 @@ module BudgeaClient
32
32
  # Date of next synchronization
33
33
  attr_accessor :next_try
34
34
 
35
+ attr_accessor :accounts
36
+
35
37
 
36
38
  # Attribute mapping from ruby-style variable name to JSON key.
37
39
  def self.attribute_map
@@ -44,7 +46,8 @@ module BudgeaClient
44
46
  :'expire' => :'expire',
45
47
  :'active' => :'active',
46
48
  :'last_push' => :'last_push',
47
- :'next_try' => :'next_try'
49
+ :'next_try' => :'next_try',
50
+ :'accounts' => :'accounts'
48
51
  }
49
52
  end
50
53
 
@@ -59,7 +62,8 @@ module BudgeaClient
59
62
  :'expire' => :'DateTime',
60
63
  :'active' => :'BOOLEAN',
61
64
  :'last_push' => :'DateTime',
62
- :'next_try' => :'DateTime'
65
+ :'next_try' => :'DateTime',
66
+ :'accounts' => :'Array<Account>'
63
67
  }
64
68
  end
65
69
 
@@ -109,6 +113,12 @@ module BudgeaClient
109
113
  self.next_try = attributes[:'next_try']
110
114
  end
111
115
 
116
+ if attributes.has_key?(:'accounts')
117
+ if (value = attributes[:'accounts']).is_a?(Array)
118
+ self.accounts = value
119
+ end
120
+ end
121
+
112
122
  end
113
123
 
114
124
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -152,7 +162,8 @@ module BudgeaClient
152
162
  expire == o.expire &&
153
163
  active == o.active &&
154
164
  last_push == o.last_push &&
155
- next_try == o.next_try
165
+ next_try == o.next_try &&
166
+ accounts == o.accounts
156
167
  end
157
168
 
158
169
  # @see the `==` method
@@ -164,7 +175,7 @@ module BudgeaClient
164
175
  # Calculates hash code according to all attributes.
165
176
  # @return [Fixnum] Hash code
166
177
  def hash
167
- [id, id_user, id_bank, last_update, error, expire, active, last_push, next_try].hash
178
+ [id, id_user, id_bank, last_update, error, expire, active, last_push, next_try, accounts].hash
168
179
  end
169
180
 
170
181
  # Builds the object from hash
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BudgeaClient
4
- VERSION = "1.3.9"
4
+ VERSION = "1.4.2"
5
5
  end