budgea_client 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +17 -0
  4. data/Rakefile +1 -5
  5. data/budgea_openapi.json +748 -63
  6. data/docs/Account.md +2 -0
  7. data/docs/AdministrationApi.md +497 -4
  8. data/docs/AuthenticationApi.md +2 -0
  9. data/docs/BanksApi.md +165 -48
  10. data/docs/ConnectionsApi.md +14 -12
  11. data/docs/Connector.md +2 -0
  12. data/docs/DocumentsApi.md +26 -26
  13. data/docs/InlineResponse20013.md +1 -1
  14. data/docs/InlineResponse20014.md +1 -1
  15. data/docs/InlineResponse20015.md +1 -1
  16. data/docs/InlineResponse20016.md +1 -1
  17. data/docs/InlineResponse20017.md +1 -1
  18. data/docs/InlineResponse20018.md +1 -1
  19. data/docs/InlineResponse20019.md +1 -1
  20. data/docs/InlineResponse20020.md +1 -1
  21. data/docs/InlineResponse20021.md +1 -1
  22. data/docs/InlineResponse20022.md +1 -1
  23. data/docs/InlineResponse20023.md +1 -1
  24. data/docs/InlineResponse20024.md +1 -1
  25. data/docs/InlineResponse20025.md +1 -1
  26. data/docs/InlineResponse20026.md +1 -1
  27. data/docs/InlineResponse20027.md +1 -1
  28. data/docs/InlineResponse20028.md +1 -1
  29. data/docs/InlineResponse20029.md +1 -1
  30. data/docs/InlineResponse20030.md +1 -1
  31. data/docs/InlineResponse20031.md +1 -1
  32. data/docs/InlineResponse20032.md +1 -1
  33. data/docs/InlineResponse20033.md +1 -1
  34. data/docs/InlineResponse20034.md +1 -1
  35. data/docs/InlineResponse20035.md +1 -1
  36. data/docs/InlineResponse20036.md +1 -1
  37. data/docs/PFMApi.md +10 -10
  38. data/docs/ProvidersApi.md +38 -38
  39. data/docs/TermsApi.md +4 -4
  40. data/docs/Transaction.md +1 -1
  41. data/docs/TransfersApi.md +43 -25
  42. data/docs/UsersManagementApi.md +4 -4
  43. data/docs/WealthApi.md +18 -18
  44. data/docs/Webhook.md +2 -0
  45. data/lib/budgea_client/api/administration_api.rb +506 -6
  46. data/lib/budgea_client/api/authentication_api.rb +3 -0
  47. data/lib/budgea_client/api/banks_api.rb +183 -72
  48. data/lib/budgea_client/api/connections_api.rb +21 -18
  49. data/lib/budgea_client/api/documents_api.rb +39 -39
  50. data/lib/budgea_client/api/pfm_api.rb +15 -15
  51. data/lib/budgea_client/api/providers_api.rb +57 -57
  52. data/lib/budgea_client/api/terms_api.rb +6 -6
  53. data/lib/budgea_client/api/transfers_api.rb +63 -36
  54. data/lib/budgea_client/api/users_management_api.rb +6 -6
  55. data/lib/budgea_client/api/wealth_api.rb +27 -27
  56. data/lib/budgea_client/models/account.rb +24 -4
  57. data/lib/budgea_client/models/connector.rb +26 -1
  58. data/lib/budgea_client/models/inline_response_200_13.rb +11 -11
  59. data/lib/budgea_client/models/inline_response_200_14.rb +11 -11
  60. data/lib/budgea_client/models/inline_response_200_15.rb +11 -11
  61. data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
  62. data/lib/budgea_client/models/inline_response_200_17.rb +11 -11
  63. data/lib/budgea_client/models/inline_response_200_18.rb +11 -11
  64. data/lib/budgea_client/models/inline_response_200_19.rb +11 -11
  65. data/lib/budgea_client/models/inline_response_200_20.rb +11 -11
  66. data/lib/budgea_client/models/inline_response_200_21.rb +11 -11
  67. data/lib/budgea_client/models/inline_response_200_22.rb +11 -11
  68. data/lib/budgea_client/models/inline_response_200_23.rb +11 -11
  69. data/lib/budgea_client/models/inline_response_200_24.rb +11 -11
  70. data/lib/budgea_client/models/inline_response_200_25.rb +11 -11
  71. data/lib/budgea_client/models/inline_response_200_26.rb +11 -11
  72. data/lib/budgea_client/models/inline_response_200_27.rb +11 -11
  73. data/lib/budgea_client/models/inline_response_200_28.rb +11 -11
  74. data/lib/budgea_client/models/inline_response_200_29.rb +11 -11
  75. data/lib/budgea_client/models/inline_response_200_30.rb +11 -11
  76. data/lib/budgea_client/models/inline_response_200_31.rb +11 -11
  77. data/lib/budgea_client/models/inline_response_200_32.rb +11 -11
  78. data/lib/budgea_client/models/inline_response_200_33.rb +11 -11
  79. data/lib/budgea_client/models/inline_response_200_34.rb +11 -11
  80. data/lib/budgea_client/models/inline_response_200_35.rb +11 -11
  81. data/lib/budgea_client/models/inline_response_200_36.rb +11 -11
  82. data/lib/budgea_client/models/transaction.rb +11 -18
  83. data/lib/budgea_client/models/webhook.rb +24 -4
  84. data/lib/budgea_client/version.rb +1 -1
  85. data/lib/budgea_client.rb +7 -0
  86. data/original_budgea_openapi.json +771 -142
  87. data/pkg/budgea_client-2.0.1.gem +0 -0
  88. metadata +4 -3
data/docs/Account.md CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **id_user** | **Integer** | ID of the related user | [optional]
9
9
  **id_parent** | **Integer** | Id of the parent account | [optional]
10
10
  **number** | **String** | Account number | [optional]
11
+ **webid** | **String** | Account webid | [optional]
11
12
  **original_name** | **String** | Original name of the account on the bank |
12
13
  **balance** | **Float** | Balance of the account |
13
14
  **coming** | **Float** | Amount of coming operations not yet debited | [optional] [default to 0.0]
@@ -24,5 +25,6 @@ Name | Type | Description | Notes
24
25
  **transactions** | [**Array<Transaction>**](Transaction.md) | | [optional]
25
26
  **error** | **String** | If the last update has failed, the error code | [optional]
26
27
  **usage** | **String** | Account usage | [optional]
28
+ **ownership** | **String** | Relationship between the credentials owner and the account | [optional]
27
29
 
28
30
 
@@ -12,6 +12,7 @@ Method | HTTP request | Description
12
12
  [**clients_id_client_put**](AdministrationApi.md#clients_id_client_put) | **PUT** /clients/{id_client} | Update a client
13
13
  [**clients_post**](AdministrationApi.md#clients_post) | **POST** /clients | Create a client
14
14
  [**config_get**](AdministrationApi.md#config_get) | **GET** /config | Get configuration of the API.
15
+ [**config_logs_get**](AdministrationApi.md#config_logs_get) | **GET** /config/logs | Get configuration change history of the API.
15
16
  [**config_post**](AdministrationApi.md#config_post) | **POST** /config | Set a configuration value on the API.
16
17
  [**merchants_get**](AdministrationApi.md#merchants_get) | **GET** /merchants | List clients
17
18
  [**merchants_id_client_logo_delete**](AdministrationApi.md#merchants_id_client_logo_delete) | **DELETE** /merchants/{id_client}/logo | Delete the client logo
@@ -20,8 +21,15 @@ Method | HTTP request | Description
20
21
  [**monitoring_get**](AdministrationApi.md#monitoring_get) | **GET** /monitoring | get performances stats on this instance
21
22
  [**test_sync_post**](AdministrationApi.md#test_sync_post) | **POST** /test/sync | Test synchronization on a random connection.
22
23
  [**test_webhooks_post**](AdministrationApi.md#test_webhooks_post) | **POST** /test/webhooks | Test synchronization on a random connection.
24
+ [**webhooks_auth_delete**](AdministrationApi.md#webhooks_auth_delete) | **DELETE** /webhooks/auth | Deletes all webhook authentication types
25
+ [**webhooks_auth_get**](AdministrationApi.md#webhooks_auth_get) | **GET** /webhooks/auth | Get webhooks authentication types
26
+ [**webhooks_auth_id_auth_delete**](AdministrationApi.md#webhooks_auth_id_auth_delete) | **DELETE** /webhooks/auth/{id_auth} | Deletes the webhook authentication type
27
+ [**webhooks_auth_id_auth_post**](AdministrationApi.md#webhooks_auth_id_auth_post) | **POST** /webhooks/auth/{id_auth} | Updates the webhook authentication type
28
+ [**webhooks_auth_id_auth_put**](AdministrationApi.md#webhooks_auth_id_auth_put) | **PUT** /webhooks/auth/{id_auth} | Updates the webhook authentication type
29
+ [**webhooks_auth_post**](AdministrationApi.md#webhooks_auth_post) | **POST** /webhooks/auth | Adds a new webhook authentication type
23
30
  [**webhooks_delete**](AdministrationApi.md#webhooks_delete) | **DELETE** /webhooks | Deletes all webhooks
24
31
  [**webhooks_get**](AdministrationApi.md#webhooks_get) | **GET** /webhooks | Get webhooks
32
+ [**webhooks_id_webhook_add_to_data_get**](AdministrationApi.md#webhooks_id_webhook_add_to_data_get) | **GET** /webhooks/{id_webhook}/add_to_data | retrieve the list of the value to add in webhooks when sending the requested webhook
25
33
  [**webhooks_id_webhook_delete**](AdministrationApi.md#webhooks_id_webhook_delete) | **DELETE** /webhooks/{id_webhook} | Deletes a webhook
26
34
  [**webhooks_id_webhook_logs_get**](AdministrationApi.md#webhooks_id_webhook_logs_get) | **GET** /webhooks/{id_webhook}/logs | Get webhooks logs.
27
35
  [**webhooks_id_webhook_post**](AdministrationApi.md#webhooks_id_webhook_post) | **POST** /webhooks/{id_webhook} | Updates a webhook
@@ -515,6 +523,69 @@ nil (empty response body)
515
523
 
516
524
 
517
525
 
526
+ # **config_logs_get**
527
+ > InlineResponse20013 config_logs_get(opts)
528
+
529
+ Get configuration change history of the API.
530
+
531
+ <br><br>
532
+
533
+ ### Example
534
+ ```ruby
535
+ # load the gem
536
+ require 'budgea_client'
537
+ # setup authorization
538
+ BudgeaClient.configure do |config|
539
+ # Configure API key authorization: api_key
540
+ config.api_key['Authorization'] = 'YOUR API KEY'
541
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
542
+ #config.api_key_prefix['Authorization'] = 'Bearer'
543
+ end
544
+
545
+ api_instance = BudgeaClient::AdministrationApi.new
546
+
547
+ opts = {
548
+ search: 'search_example', # String | limit the results to keys matching the given value
549
+ type: 'type_example', # String | type of change done on the configuration
550
+ min_date: Date.parse('2013-10-20'), # Date | minimal date of the change
551
+ max_date: Date.parse('2013-10-20'), # Date | maximum date of the change
552
+ expand: 'expand_example' # String |
553
+ }
554
+
555
+ begin
556
+ #Get configuration change history of the API.
557
+ result = api_instance.config_logs_get(opts)
558
+ p result
559
+ rescue BudgeaClient::ApiError => e
560
+ puts "Exception when calling AdministrationApi->config_logs_get: #{e}"
561
+ end
562
+ ```
563
+
564
+ ### Parameters
565
+
566
+ Name | Type | Description | Notes
567
+ ------------- | ------------- | ------------- | -------------
568
+ **search** | **String**| limit the results to keys matching the given value | [optional]
569
+ **type** | **String**| type of change done on the configuration | [optional]
570
+ **min_date** | **Date**| minimal date of the change | [optional]
571
+ **max_date** | **Date**| maximum date of the change | [optional]
572
+ **expand** | **String**| | [optional]
573
+
574
+ ### Return type
575
+
576
+ [**InlineResponse20013**](InlineResponse20013.md)
577
+
578
+ ### Authorization
579
+
580
+ [api_key](../README.md#api_key)
581
+
582
+ ### HTTP request headers
583
+
584
+ - **Content-Type**: application/json, multipart/form-data
585
+ - **Accept**: application/json
586
+
587
+
588
+
518
589
  # **config_post**
519
590
  > Object config_post(opts)
520
591
 
@@ -953,6 +1024,369 @@ nil (empty response body)
953
1024
 
954
1025
 
955
1026
 
1027
+ # **webhooks_auth_delete**
1028
+ > AuthProvider webhooks_auth_delete(opts)
1029
+
1030
+ Deletes all webhook authentication types
1031
+
1032
+
1033
+
1034
+ ### Example
1035
+ ```ruby
1036
+ # load the gem
1037
+ require 'budgea_client'
1038
+ # setup authorization
1039
+ BudgeaClient.configure do |config|
1040
+ # Configure API key authorization: api_key
1041
+ config.api_key['Authorization'] = 'YOUR API KEY'
1042
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1043
+ #config.api_key_prefix['Authorization'] = 'Bearer'
1044
+ end
1045
+
1046
+ api_instance = BudgeaClient::AdministrationApi.new
1047
+
1048
+ opts = {
1049
+ expand: 'expand_example' # String |
1050
+ }
1051
+
1052
+ begin
1053
+ #Deletes all webhook authentication types
1054
+ result = api_instance.webhooks_auth_delete(opts)
1055
+ p result
1056
+ rescue BudgeaClient::ApiError => e
1057
+ puts "Exception when calling AdministrationApi->webhooks_auth_delete: #{e}"
1058
+ end
1059
+ ```
1060
+
1061
+ ### Parameters
1062
+
1063
+ Name | Type | Description | Notes
1064
+ ------------- | ------------- | ------------- | -------------
1065
+ **expand** | **String**| | [optional]
1066
+
1067
+ ### Return type
1068
+
1069
+ [**AuthProvider**](AuthProvider.md)
1070
+
1071
+ ### Authorization
1072
+
1073
+ [api_key](../README.md#api_key)
1074
+
1075
+ ### HTTP request headers
1076
+
1077
+ - **Content-Type**: application/json, multipart/form-data
1078
+ - **Accept**: application/json
1079
+
1080
+
1081
+
1082
+ # **webhooks_auth_get**
1083
+ > InlineResponse20037 webhooks_auth_get(opts)
1084
+
1085
+ Get webhooks authentication types
1086
+
1087
+
1088
+
1089
+ ### Example
1090
+ ```ruby
1091
+ # load the gem
1092
+ require 'budgea_client'
1093
+ # setup authorization
1094
+ BudgeaClient.configure do |config|
1095
+ # Configure API key authorization: api_key
1096
+ config.api_key['Authorization'] = 'YOUR API KEY'
1097
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1098
+ #config.api_key_prefix['Authorization'] = 'Bearer'
1099
+ end
1100
+
1101
+ api_instance = BudgeaClient::AdministrationApi.new
1102
+
1103
+ opts = {
1104
+ expand: 'expand_example' # String |
1105
+ }
1106
+
1107
+ begin
1108
+ #Get webhooks authentication types
1109
+ result = api_instance.webhooks_auth_get(opts)
1110
+ p result
1111
+ rescue BudgeaClient::ApiError => e
1112
+ puts "Exception when calling AdministrationApi->webhooks_auth_get: #{e}"
1113
+ end
1114
+ ```
1115
+
1116
+ ### Parameters
1117
+
1118
+ Name | Type | Description | Notes
1119
+ ------------- | ------------- | ------------- | -------------
1120
+ **expand** | **String**| | [optional]
1121
+
1122
+ ### Return type
1123
+
1124
+ [**InlineResponse20037**](InlineResponse20037.md)
1125
+
1126
+ ### Authorization
1127
+
1128
+ [api_key](../README.md#api_key)
1129
+
1130
+ ### HTTP request headers
1131
+
1132
+ - **Content-Type**: application/json, multipart/form-data
1133
+ - **Accept**: application/json
1134
+
1135
+
1136
+
1137
+ # **webhooks_auth_id_auth_delete**
1138
+ > AuthProvider webhooks_auth_id_auth_delete(id_auth, opts)
1139
+
1140
+ Deletes the webhook authentication type
1141
+
1142
+ Updates the deleted field with the date of the deletion<br><br>
1143
+
1144
+ ### Example
1145
+ ```ruby
1146
+ # load the gem
1147
+ require 'budgea_client'
1148
+ # setup authorization
1149
+ BudgeaClient.configure do |config|
1150
+ # Configure API key authorization: api_key
1151
+ config.api_key['Authorization'] = 'YOUR API KEY'
1152
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1153
+ #config.api_key_prefix['Authorization'] = 'Bearer'
1154
+ end
1155
+
1156
+ api_instance = BudgeaClient::AdministrationApi.new
1157
+
1158
+ id_auth = 56 # Integer |
1159
+
1160
+ opts = {
1161
+ expand: 'expand_example' # String |
1162
+ }
1163
+
1164
+ begin
1165
+ #Deletes the webhook authentication type
1166
+ result = api_instance.webhooks_auth_id_auth_delete(id_auth, opts)
1167
+ p result
1168
+ rescue BudgeaClient::ApiError => e
1169
+ puts "Exception when calling AdministrationApi->webhooks_auth_id_auth_delete: #{e}"
1170
+ end
1171
+ ```
1172
+
1173
+ ### Parameters
1174
+
1175
+ Name | Type | Description | Notes
1176
+ ------------- | ------------- | ------------- | -------------
1177
+ **id_auth** | **Integer**| |
1178
+ **expand** | **String**| | [optional]
1179
+
1180
+ ### Return type
1181
+
1182
+ [**AuthProvider**](AuthProvider.md)
1183
+
1184
+ ### Authorization
1185
+
1186
+ [api_key](../README.md#api_key)
1187
+
1188
+ ### HTTP request headers
1189
+
1190
+ - **Content-Type**: application/json, multipart/form-data
1191
+ - **Accept**: application/json
1192
+
1193
+
1194
+
1195
+ # **webhooks_auth_id_auth_post**
1196
+ > AuthProvider webhooks_auth_id_auth_post(id_auth, type, name, opts)
1197
+
1198
+ Updates the webhook authentication type
1199
+
1200
+
1201
+
1202
+ ### Example
1203
+ ```ruby
1204
+ # load the gem
1205
+ require 'budgea_client'
1206
+ # setup authorization
1207
+ BudgeaClient.configure do |config|
1208
+ # Configure API key authorization: api_key
1209
+ config.api_key['Authorization'] = 'YOUR API KEY'
1210
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1211
+ #config.api_key_prefix['Authorization'] = 'Bearer'
1212
+ end
1213
+
1214
+ api_instance = BudgeaClient::AdministrationApi.new
1215
+
1216
+ id_auth = 56 # Integer |
1217
+
1218
+ type = 56 # Integer | The type of the authentication process (oauth, certificate, token, etc...)
1219
+
1220
+ name = 'name_example' # String | The name of the authentication process to differentiate
1221
+
1222
+ opts = {
1223
+ config: 'config_example', # String | The authentication process configuration. A dict containing either the certificate
1224
+ expand: 'expand_example' # String |
1225
+ }
1226
+
1227
+ begin
1228
+ #Updates the webhook authentication type
1229
+ result = api_instance.webhooks_auth_id_auth_post(id_auth, type, name, opts)
1230
+ p result
1231
+ rescue BudgeaClient::ApiError => e
1232
+ puts "Exception when calling AdministrationApi->webhooks_auth_id_auth_post: #{e}"
1233
+ end
1234
+ ```
1235
+
1236
+ ### Parameters
1237
+
1238
+ Name | Type | Description | Notes
1239
+ ------------- | ------------- | ------------- | -------------
1240
+ **id_auth** | **Integer**| |
1241
+ **type** | **Integer**| The type of the authentication process (oauth, certificate, token, etc...) |
1242
+ **name** | **String**| The name of the authentication process to differentiate |
1243
+ **config** | **String**| The authentication process configuration. A dict containing either the certificate | [optional]
1244
+ **expand** | **String**| | [optional]
1245
+
1246
+ ### Return type
1247
+
1248
+ [**AuthProvider**](AuthProvider.md)
1249
+
1250
+ ### Authorization
1251
+
1252
+ [api_key](../README.md#api_key)
1253
+
1254
+ ### HTTP request headers
1255
+
1256
+ - **Content-Type**: application/json, multipart/form-data
1257
+ - **Accept**: application/json
1258
+
1259
+
1260
+
1261
+ # **webhooks_auth_id_auth_put**
1262
+ > AuthProvider webhooks_auth_id_auth_put(id_auth, type, name, opts)
1263
+
1264
+ Updates the webhook authentication type
1265
+
1266
+
1267
+
1268
+ ### Example
1269
+ ```ruby
1270
+ # load the gem
1271
+ require 'budgea_client'
1272
+ # setup authorization
1273
+ BudgeaClient.configure do |config|
1274
+ # Configure API key authorization: api_key
1275
+ config.api_key['Authorization'] = 'YOUR API KEY'
1276
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1277
+ #config.api_key_prefix['Authorization'] = 'Bearer'
1278
+ end
1279
+
1280
+ api_instance = BudgeaClient::AdministrationApi.new
1281
+
1282
+ id_auth = 56 # Integer |
1283
+
1284
+ type = 56 # Integer | The type of the authentication process (oauth, certificate, token, etc...)
1285
+
1286
+ name = 'name_example' # String | The name of the authentication process to differentiate
1287
+
1288
+ opts = {
1289
+ config: 'config_example', # String | The authentication process configuration. A dict containt either the certificate
1290
+ expand: 'expand_example' # String |
1291
+ }
1292
+
1293
+ begin
1294
+ #Updates the webhook authentication type
1295
+ result = api_instance.webhooks_auth_id_auth_put(id_auth, type, name, opts)
1296
+ p result
1297
+ rescue BudgeaClient::ApiError => e
1298
+ puts "Exception when calling AdministrationApi->webhooks_auth_id_auth_put: #{e}"
1299
+ end
1300
+ ```
1301
+
1302
+ ### Parameters
1303
+
1304
+ Name | Type | Description | Notes
1305
+ ------------- | ------------- | ------------- | -------------
1306
+ **id_auth** | **Integer**| |
1307
+ **type** | **Integer**| The type of the authentication process (oauth, certificate, token, etc...) |
1308
+ **name** | **String**| The name of the authentication process to differentiate |
1309
+ **config** | **String**| The authentication process configuration. A dict containt either the certificate | [optional]
1310
+ **expand** | **String**| | [optional]
1311
+
1312
+ ### Return type
1313
+
1314
+ [**AuthProvider**](AuthProvider.md)
1315
+
1316
+ ### Authorization
1317
+
1318
+ [api_key](../README.md#api_key)
1319
+
1320
+ ### HTTP request headers
1321
+
1322
+ - **Content-Type**: application/json, multipart/form-data
1323
+ - **Accept**: application/json
1324
+
1325
+
1326
+
1327
+ # **webhooks_auth_post**
1328
+ > AuthProvider webhooks_auth_post(type, name, opts)
1329
+
1330
+ Adds a new webhook authentication type
1331
+
1332
+
1333
+
1334
+ ### Example
1335
+ ```ruby
1336
+ # load the gem
1337
+ require 'budgea_client'
1338
+ # setup authorization
1339
+ BudgeaClient.configure do |config|
1340
+ # Configure API key authorization: api_key
1341
+ config.api_key['Authorization'] = 'YOUR API KEY'
1342
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1343
+ #config.api_key_prefix['Authorization'] = 'Bearer'
1344
+ end
1345
+
1346
+ api_instance = BudgeaClient::AdministrationApi.new
1347
+
1348
+ type = 56 # Integer | The type of the authentication process (oauth, certificate, token, etc...)
1349
+
1350
+ name = 'name_example' # String | The name of the authentication process to differentiate
1351
+
1352
+ opts = {
1353
+ config: 'config_example', # String | The authentication process configuration. A dict contains either the certificate
1354
+ expand: 'expand_example' # String |
1355
+ }
1356
+
1357
+ begin
1358
+ #Adds a new webhook authentication type
1359
+ result = api_instance.webhooks_auth_post(type, name, opts)
1360
+ p result
1361
+ rescue BudgeaClient::ApiError => e
1362
+ puts "Exception when calling AdministrationApi->webhooks_auth_post: #{e}"
1363
+ end
1364
+ ```
1365
+
1366
+ ### Parameters
1367
+
1368
+ Name | Type | Description | Notes
1369
+ ------------- | ------------- | ------------- | -------------
1370
+ **type** | **Integer**| The type of the authentication process (oauth, certificate, token, etc...) |
1371
+ **name** | **String**| The name of the authentication process to differentiate |
1372
+ **config** | **String**| The authentication process configuration. A dict contains either the certificate | [optional]
1373
+ **expand** | **String**| | [optional]
1374
+
1375
+ ### Return type
1376
+
1377
+ [**AuthProvider**](AuthProvider.md)
1378
+
1379
+ ### Authorization
1380
+
1381
+ [api_key](../README.md#api_key)
1382
+
1383
+ ### HTTP request headers
1384
+
1385
+ - **Content-Type**: application/json, multipart/form-data
1386
+ - **Accept**: application/json
1387
+
1388
+
1389
+
956
1390
  # **webhooks_delete**
957
1391
  > Webhook webhooks_delete(opts)
958
1392
 
@@ -1009,7 +1443,7 @@ Name | Type | Description | Notes
1009
1443
 
1010
1444
 
1011
1445
  # **webhooks_get**
1012
- > InlineResponse20035 webhooks_get(opts)
1446
+ > InlineResponse20036 webhooks_get(opts)
1013
1447
 
1014
1448
  Get webhooks
1015
1449
 
@@ -1050,7 +1484,60 @@ Name | Type | Description | Notes
1050
1484
 
1051
1485
  ### Return type
1052
1486
 
1053
- [**InlineResponse20035**](InlineResponse20035.md)
1487
+ [**InlineResponse20036**](InlineResponse20036.md)
1488
+
1489
+ ### Authorization
1490
+
1491
+ [api_key](../README.md#api_key)
1492
+
1493
+ ### HTTP request headers
1494
+
1495
+ - **Content-Type**: application/json, multipart/form-data
1496
+ - **Accept**: application/json
1497
+
1498
+
1499
+
1500
+ # **webhooks_id_webhook_add_to_data_get**
1501
+ > webhooks_id_webhook_add_to_data_get(id_webhook)
1502
+
1503
+ retrieve the list of the value to add in webhooks when sending the requested webhook
1504
+
1505
+
1506
+
1507
+ ### Example
1508
+ ```ruby
1509
+ # load the gem
1510
+ require 'budgea_client'
1511
+ # setup authorization
1512
+ BudgeaClient.configure do |config|
1513
+ # Configure API key authorization: api_key
1514
+ config.api_key['Authorization'] = 'YOUR API KEY'
1515
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1516
+ #config.api_key_prefix['Authorization'] = 'Bearer'
1517
+ end
1518
+
1519
+ api_instance = BudgeaClient::AdministrationApi.new
1520
+
1521
+ id_webhook = 56 # Integer |
1522
+
1523
+
1524
+ begin
1525
+ #retrieve the list of the value to add in webhooks when sending the requested webhook
1526
+ api_instance.webhooks_id_webhook_add_to_data_get(id_webhook)
1527
+ rescue BudgeaClient::ApiError => e
1528
+ puts "Exception when calling AdministrationApi->webhooks_id_webhook_add_to_data_get: #{e}"
1529
+ end
1530
+ ```
1531
+
1532
+ ### Parameters
1533
+
1534
+ Name | Type | Description | Notes
1535
+ ------------- | ------------- | ------------- | -------------
1536
+ **id_webhook** | **Integer**| |
1537
+
1538
+ ### Return type
1539
+
1540
+ nil (empty response body)
1054
1541
 
1055
1542
  ### Authorization
1056
1543
 
@@ -1122,7 +1609,7 @@ Name | Type | Description | Notes
1122
1609
 
1123
1610
 
1124
1611
  # **webhooks_id_webhook_logs_get**
1125
- > InlineResponse20036 webhooks_id_webhook_logs_get(id_webhook, opts)
1612
+ > InlineResponse20038 webhooks_id_webhook_logs_get(id_webhook, opts)
1126
1613
 
1127
1614
  Get webhooks logs.
1128
1615
 
@@ -1174,7 +1661,7 @@ Name | Type | Description | Notes
1174
1661
 
1175
1662
  ### Return type
1176
1663
 
1177
- [**InlineResponse20036**](InlineResponse20036.md)
1664
+ [**InlineResponse20038**](InlineResponse20038.md)
1178
1665
 
1179
1666
  ### Authorization
1180
1667
 
@@ -1214,6 +1701,7 @@ opts = {
1214
1701
  deleted: 'deleted_example', # String | a date to delete the webhook or 'null' to enable it
1215
1702
  id_user: 56, # Integer | The user ID to associate with the webhook
1216
1703
  id_service: 56, # Integer | The service ID to associate with the webhook
1704
+ id_auth: 56, # Integer | The webhook authentication process to use
1217
1705
  url: 3.4, # Float | The webhook callback url
1218
1706
  event: 'event_example', # String | The webhook event
1219
1707
  expand: 'expand_example' # String |
@@ -1236,6 +1724,7 @@ Name | Type | Description | Notes
1236
1724
  **deleted** | **String**| a date to delete the webhook or &#39;null&#39; to enable it | [optional]
1237
1725
  **id_user** | **Integer**| The user ID to associate with the webhook | [optional]
1238
1726
  **id_service** | **Integer**| The service ID to associate with the webhook | [optional]
1727
+ **id_auth** | **Integer**| The webhook authentication process to use | [optional]
1239
1728
  **url** | **Float**| The webhook callback url | [optional]
1240
1729
  **event** | **String**| The webhook event | [optional]
1241
1730
  **expand** | **String**| | [optional]
@@ -1282,6 +1771,7 @@ opts = {
1282
1771
  deleted: 'deleted_example', # String | a date to delete the webhook or 'null' to enable it
1283
1772
  id_user: 56, # Integer | The user ID to associate with the webhook
1284
1773
  id_service: 56, # Integer | The service ID to associate with the webhook
1774
+ id_auth: 56, # Integer | The webhook authentication process to use
1285
1775
  url: 3.4, # Float | The webhook callback url
1286
1776
  event: 'event_example', # String | The webhook event
1287
1777
  expand: 'expand_example' # String |
@@ -1304,6 +1794,7 @@ Name | Type | Description | Notes
1304
1794
  **deleted** | **String**| a date to delete the webhook or &#39;null&#39; to enable it | [optional]
1305
1795
  **id_user** | **Integer**| The user ID to associate with the webhook | [optional]
1306
1796
  **id_service** | **Integer**| The service ID to associate with the webhook | [optional]
1797
+ **id_auth** | **Integer**| The webhook authentication process to use | [optional]
1307
1798
  **url** | **Float**| The webhook callback url | [optional]
1308
1799
  **event** | **String**| The webhook event | [optional]
1309
1800
  **expand** | **String**| | [optional]
@@ -1347,6 +1838,7 @@ api_instance = BudgeaClient::AdministrationApi.new
1347
1838
  opts = {
1348
1839
  id_user: 56, # Integer | The user ID to associate with the webhook
1349
1840
  id_service: 56, # Integer | The service ID to associate with the webhook
1841
+ id_auth: 'id_auth_example', # String | The webhook authentication process to use (its ID or its name)
1350
1842
  url: 3.4, # Float | The webhook callback url
1351
1843
  event: 'event_example', # String | The webhook event
1352
1844
  params: 'params_example', # String | The webhook parameters as an object with three keys: type, key and value
@@ -1368,6 +1860,7 @@ Name | Type | Description | Notes
1368
1860
  ------------- | ------------- | ------------- | -------------
1369
1861
  **id_user** | **Integer**| The user ID to associate with the webhook | [optional]
1370
1862
  **id_service** | **Integer**| The service ID to associate with the webhook | [optional]
1863
+ **id_auth** | **String**| The webhook authentication process to use (its ID or its name) | [optional]
1371
1864
  **url** | **Float**| The webhook callback url | [optional]
1372
1865
  **event** | **String**| The webhook event | [optional]
1373
1866
  **params** | **String**| The webhook parameters as an object with three keys: type, key and value | [optional]
@@ -657,6 +657,7 @@ api_instance = BudgeaClient::AuthenticationApi.new
657
657
 
658
658
  opts = {
659
659
  id_connector: 56, # Integer | ID of the connector
660
+ connector_uuid: 'connector_uuid_example', # String | Optional unique ID of the connector (replaces id_connector)
660
661
  client_id: 56, # Integer | Client Application ID
661
662
  redirect_uri: 'redirect_uri_example', # String | Redirect URI
662
663
  state: 'state_example', # String | Optional state
@@ -677,6 +678,7 @@ end
677
678
  Name | Type | Description | Notes
678
679
  ------------- | ------------- | ------------- | -------------
679
680
  **id_connector** | **Integer**| ID of the connector | [optional]
681
+ **connector_uuid** | **String**| Optional unique ID of the connector (replaces id_connector) | [optional]
680
682
  **client_id** | **Integer**| Client Application ID | [optional]
681
683
  **redirect_uri** | **String**| Redirect URI | [optional]
682
684
  **state** | **String**| Optional state | [optional]