budgea_client 1.4.4 → 2.0.0

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 (193) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +5 -5
  3. data/README.md +67 -725
  4. data/budgea_client.gemspec +15 -3
  5. data/budgea_openapi.json +2011 -524
  6. data/docs/Account.md +3 -1
  7. data/docs/AccountLog.md +2 -2
  8. data/docs/AdministrationApi.md +354 -34
  9. data/docs/AuthenticationApi.md +264 -18
  10. data/docs/BankCategory.md +1 -1
  11. data/docs/BanksApi.md +939 -550
  12. data/docs/Certificate.md +12 -0
  13. data/docs/Client.md +5 -2
  14. data/docs/Connection.md +1 -1
  15. data/docs/ConnectionLog.md +3 -2
  16. data/docs/ConnectionsApi.md +162 -103
  17. data/docs/Connector.md +21 -0
  18. data/docs/ConnectorCategory.md +9 -0
  19. data/docs/ConnectorLogo.md +1 -1
  20. data/docs/Currency.md +4 -0
  21. data/docs/DocumentsApi.md +350 -350
  22. data/docs/Field.md +3 -2
  23. data/docs/InlineResponse20010.md +1 -1
  24. data/docs/InlineResponse20011.md +1 -1
  25. data/docs/InlineResponse20012.md +1 -1
  26. data/docs/InlineResponse20013.md +1 -1
  27. data/docs/InlineResponse20014.md +1 -1
  28. data/docs/InlineResponse20015.md +1 -1
  29. data/docs/InlineResponse20016.md +1 -1
  30. data/docs/InlineResponse20017.md +1 -1
  31. data/docs/InlineResponse20018.md +1 -1
  32. data/docs/InlineResponse20019.md +1 -1
  33. data/docs/InlineResponse20020.md +1 -1
  34. data/docs/InlineResponse20021.md +1 -1
  35. data/docs/InlineResponse20022.md +1 -1
  36. data/docs/InlineResponse20023.md +1 -1
  37. data/docs/InlineResponse20024.md +1 -1
  38. data/docs/InlineResponse20025.md +1 -1
  39. data/docs/InlineResponse20026.md +1 -1
  40. data/docs/InlineResponse20027.md +1 -1
  41. data/docs/InlineResponse20028.md +1 -1
  42. data/docs/InlineResponse20029.md +1 -1
  43. data/docs/InlineResponse2003.md +2 -3
  44. data/docs/InlineResponse20030.md +1 -1
  45. data/docs/InlineResponse20031.md +1 -1
  46. data/docs/InlineResponse20032.md +1 -1
  47. data/docs/InlineResponse20033.md +1 -1
  48. data/docs/InlineResponse20034.md +8 -0
  49. data/docs/InlineResponse20035.md +8 -0
  50. data/docs/InlineResponse20036.md +8 -0
  51. data/docs/InlineResponse2004.md +0 -2
  52. data/docs/InlineResponse2005.md +5 -2
  53. data/docs/InlineResponse2006.md +2 -3
  54. data/docs/InlineResponse2007.md +3 -1
  55. data/docs/InlineResponse2008.md +1 -1
  56. data/docs/InlineResponse2009.md +1 -1
  57. data/docs/OCRApi.md +5 -5
  58. data/docs/OIDCApi.md +5 -5
  59. data/docs/PFMApi.md +122 -122
  60. data/docs/Pocket.md +1 -1
  61. data/docs/Profile.md +1 -1
  62. data/docs/Project.md +1 -1
  63. data/docs/ProvidersApi.md +602 -604
  64. data/docs/Recipient.md +3 -0
  65. data/docs/RecipientLog.md +14 -0
  66. data/docs/RecipientsApi.md +28 -20
  67. data/docs/Subscription.md +2 -1
  68. data/docs/TermsApi.md +13 -15
  69. data/docs/Transaction.md +8 -3
  70. data/docs/Transfer.md +1 -0
  71. data/docs/TransferLog.md +14 -0
  72. data/docs/TransfersApi.md +165 -141
  73. data/docs/UserAlert.md +2 -2
  74. data/docs/UsersManagementApi.md +24 -24
  75. data/docs/WealthApi.md +54 -54
  76. data/docs/WebhookLog.md +15 -0
  77. data/lib/budgea_client.rb +27 -3
  78. data/lib/budgea_client/api/administration_api.rb +425 -106
  79. data/lib/budgea_client/api/authentication_api.rb +287 -46
  80. data/lib/budgea_client/api/banks_api.rb +1271 -974
  81. data/lib/budgea_client/api/connections_api.rb +207 -156
  82. data/lib/budgea_client/api/documents_api.rb +627 -693
  83. data/lib/budgea_client/api/ocr_api.rb +24 -16
  84. data/lib/budgea_client/api/oidc_api.rb +23 -16
  85. data/lib/budgea_client/api/pfm_api.rb +219 -248
  86. data/lib/budgea_client/api/providers_api.rb +998 -1099
  87. data/lib/budgea_client/api/recipients_api.rb +52 -34
  88. data/lib/budgea_client/api/terms_api.rb +34 -31
  89. data/lib/budgea_client/api/transfers_api.rb +245 -239
  90. data/lib/budgea_client/api/users_management_api.rb +56 -58
  91. data/lib/budgea_client/api/wealth_api.rb +81 -85
  92. data/lib/budgea_client/api_client.rb +20 -11
  93. data/lib/budgea_client/api_error.rb +11 -1
  94. data/lib/budgea_client/configuration.rb +12 -2
  95. data/lib/budgea_client/models/access.rb +18 -13
  96. data/lib/budgea_client/models/account.rb +44 -23
  97. data/lib/budgea_client/models/account_log.rb +33 -28
  98. data/lib/budgea_client/models/account_type.rb +22 -17
  99. data/lib/budgea_client/models/alert.rb +21 -16
  100. data/lib/budgea_client/models/bank.rb +21 -16
  101. data/lib/budgea_client/models/bank_category.rb +19 -14
  102. data/lib/budgea_client/models/category.rb +22 -17
  103. data/lib/budgea_client/models/certificate.rb +244 -0
  104. data/lib/budgea_client/models/client.rb +53 -20
  105. data/lib/budgea_client/models/connection.rb +29 -24
  106. data/lib/budgea_client/models/connection_log.rb +39 -24
  107. data/lib/budgea_client/models/connector.rb +345 -0
  108. data/lib/budgea_client/models/connector_category.rb +206 -0
  109. data/lib/budgea_client/models/connector_logo.rb +29 -24
  110. data/lib/budgea_client/models/currency.rb +63 -16
  111. data/lib/budgea_client/models/device.rb +23 -18
  112. data/lib/budgea_client/models/document.rb +21 -16
  113. data/lib/budgea_client/models/document_type.rb +19 -14
  114. data/lib/budgea_client/models/field.rb +44 -27
  115. data/lib/budgea_client/models/field_value.rb +18 -13
  116. data/lib/budgea_client/models/file.rb +20 -15
  117. data/lib/budgea_client/models/group.rb +17 -12
  118. data/lib/budgea_client/models/hash_table.rb +20 -15
  119. data/lib/budgea_client/models/inline_response_200.rb +17 -12
  120. data/lib/budgea_client/models/inline_response_200_1.rb +18 -13
  121. data/lib/budgea_client/models/inline_response_200_10.rb +27 -22
  122. data/lib/budgea_client/models/inline_response_200_11.rb +27 -22
  123. data/lib/budgea_client/models/inline_response_200_12.rb +27 -22
  124. data/lib/budgea_client/models/inline_response_200_13.rb +27 -22
  125. data/lib/budgea_client/models/inline_response_200_14.rb +27 -22
  126. data/lib/budgea_client/models/inline_response_200_15.rb +27 -22
  127. data/lib/budgea_client/models/inline_response_200_16.rb +27 -22
  128. data/lib/budgea_client/models/inline_response_200_17.rb +27 -22
  129. data/lib/budgea_client/models/inline_response_200_18.rb +27 -22
  130. data/lib/budgea_client/models/inline_response_200_19.rb +27 -22
  131. data/lib/budgea_client/models/inline_response_200_2.rb +18 -13
  132. data/lib/budgea_client/models/inline_response_200_20.rb +27 -22
  133. data/lib/budgea_client/models/inline_response_200_21.rb +27 -22
  134. data/lib/budgea_client/models/inline_response_200_22.rb +27 -22
  135. data/lib/budgea_client/models/inline_response_200_23.rb +27 -22
  136. data/lib/budgea_client/models/inline_response_200_24.rb +27 -22
  137. data/lib/budgea_client/models/inline_response_200_25.rb +27 -22
  138. data/lib/budgea_client/models/inline_response_200_26.rb +27 -22
  139. data/lib/budgea_client/models/inline_response_200_27.rb +27 -22
  140. data/lib/budgea_client/models/inline_response_200_28.rb +27 -22
  141. data/lib/budgea_client/models/inline_response_200_29.rb +27 -22
  142. data/lib/budgea_client/models/inline_response_200_3.rb +37 -47
  143. data/lib/budgea_client/models/inline_response_200_30.rb +27 -22
  144. data/lib/budgea_client/models/inline_response_200_31.rb +27 -22
  145. data/lib/budgea_client/models/inline_response_200_32.rb +27 -22
  146. data/lib/budgea_client/models/inline_response_200_33.rb +27 -22
  147. data/lib/budgea_client/models/inline_response_200_34.rb +190 -0
  148. data/lib/budgea_client/models/inline_response_200_35.rb +190 -0
  149. data/lib/budgea_client/models/inline_response_200_36.rb +190 -0
  150. data/lib/budgea_client/models/inline_response_200_4.rb +20 -40
  151. data/lib/budgea_client/models/inline_response_200_5.rb +75 -30
  152. data/lib/budgea_client/models/inline_response_200_6.rb +37 -47
  153. data/lib/budgea_client/models/inline_response_200_7.rb +55 -21
  154. data/lib/budgea_client/models/inline_response_200_8.rb +27 -22
  155. data/lib/budgea_client/models/inline_response_200_9.rb +27 -22
  156. data/lib/budgea_client/models/investment.rb +20 -15
  157. data/lib/budgea_client/models/investment_value.rb +20 -15
  158. data/lib/budgea_client/models/invite.rb +18 -13
  159. data/lib/budgea_client/models/locked_user.rb +18 -13
  160. data/lib/budgea_client/models/oidc_whitelist.rb +18 -13
  161. data/lib/budgea_client/models/pocket.rb +22 -17
  162. data/lib/budgea_client/models/profile.rb +26 -20
  163. data/lib/budgea_client/models/project.rb +26 -21
  164. data/lib/budgea_client/models/project_type.rb +18 -13
  165. data/lib/budgea_client/models/recipient.rb +52 -17
  166. data/lib/budgea_client/models/recipient_log.rb +254 -0
  167. data/lib/budgea_client/models/security.rb +18 -13
  168. data/lib/budgea_client/models/subscription.rb +31 -21
  169. data/lib/budgea_client/models/terms_of_service.rb +19 -14
  170. data/lib/budgea_client/models/transaction.rb +83 -33
  171. data/lib/budgea_client/models/transaction_information.rb +19 -14
  172. data/lib/budgea_client/models/transactions_cluster.rb +21 -16
  173. data/lib/budgea_client/models/transfer.rb +32 -16
  174. data/lib/budgea_client/models/transfer_log.rb +254 -0
  175. data/lib/budgea_client/models/user.rb +22 -16
  176. data/lib/budgea_client/models/user_alert.rb +22 -16
  177. data/lib/budgea_client/models/webhook.rb +19 -14
  178. data/lib/budgea_client/models/webhook_log.rb +264 -0
  179. data/lib/budgea_client/version.rb +12 -2
  180. data/original_budgea_openapi.json +23188 -0
  181. data/spec/models/certificate_spec.rb +65 -0
  182. data/spec/models/connector_category_spec.rb +47 -0
  183. data/spec/models/connector_spec.rb +119 -0
  184. data/spec/models/inline_response_200_34_spec.rb +41 -0
  185. data/spec/models/inline_response_200_35_spec.rb +41 -0
  186. data/spec/models/inline_response_200_36_spec.rb +41 -0
  187. data/spec/models/recipient_log_spec.rb +77 -0
  188. data/spec/models/transfer_log_spec.rb +77 -0
  189. data/spec/models/webhook_log_spec.rb +83 -0
  190. metadata +52 -18
  191. data/pkg/budgea_client-1.3.9.gem +0 -0
  192. data/pkg/budgea_client-1.4.2.gem +0 -0
  193. data/pkg/budgea_client-1.4.3.gem +0 -0
data/docs/Account.md CHANGED
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **id** | **Integer** | ID of the account |
7
7
  **id_connection** | **Integer** | ID of the related connection | [optional]
8
- **id_user** | **Integer** | ID of the related user |
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
11
  **original_name** | **String** | Original name of the account on the bank |
@@ -21,6 +21,8 @@ Name | Type | Description | Notes
21
21
  **id_type** | **Integer** | ID of the account type | [optional]
22
22
  **bookmarked** | **Integer** | This account has been bookmarked by user |
23
23
  **name** | **String** | Name of the account | [optional]
24
+ **transactions** | [**Array<Transaction>**](Transaction.md) | | [optional]
24
25
  **error** | **String** | If the last update has failed, the error code | [optional]
26
+ **usage** | **String** | Account usage | [optional]
25
27
 
26
28
 
data/docs/AccountLog.md CHANGED
@@ -4,12 +4,12 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **id_account** | **Integer** | ID of the related account |
7
- **id_bank** | **Integer** | provider id | [optional]
7
+ **id_connector** | **Integer** | provider id | [optional]
8
8
  **balance** | **Float** | Balanced recorded |
9
9
  **coming** | **Float** | Coming debit recorded | [optional] [default to 0.0]
10
10
  **timestamp** | **DateTime** | Timestamp of log |
11
11
  **error** | **String** | If fail, contains the error code | [optional]
12
12
  **error_message** | **String** | If fail, error message received from bank or provider | [optional]
13
- **id_connection** | **Integer** | ID of the related connection | [optional]
13
+ **id_connection_log** | **Integer** | ID of the related connection log | [optional]
14
14
 
15
15
 
@@ -13,19 +13,24 @@ Method | HTTP request | Description
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
15
  [**config_post**](AdministrationApi.md#config_post) | **POST** /config | Set a configuration value on the API.
16
+ [**merchants_get**](AdministrationApi.md#merchants_get) | **GET** /merchants | List clients
17
+ [**merchants_id_client_logo_delete**](AdministrationApi.md#merchants_id_client_logo_delete) | **DELETE** /merchants/{id_client}/logo | Delete the client logo
18
+ [**merchants_id_client_logo_post**](AdministrationApi.md#merchants_id_client_logo_post) | **POST** /merchants/{id_client}/logo | Update the client logo
19
+ [**merchants_post**](AdministrationApi.md#merchants_post) | **POST** /merchants | Create a merchant. Needs a user identified in bearer to be used
16
20
  [**monitoring_get**](AdministrationApi.md#monitoring_get) | **GET** /monitoring | get performances stats on this instance
17
21
  [**test_sync_post**](AdministrationApi.md#test_sync_post) | **POST** /test/sync | Test synchronization on a random connection.
18
22
  [**test_webhooks_post**](AdministrationApi.md#test_webhooks_post) | **POST** /test/webhooks | Test synchronization on a random connection.
19
23
  [**webhooks_delete**](AdministrationApi.md#webhooks_delete) | **DELETE** /webhooks | Deletes all webhooks
20
24
  [**webhooks_get**](AdministrationApi.md#webhooks_get) | **GET** /webhooks | Get webhooks
21
25
  [**webhooks_id_webhook_delete**](AdministrationApi.md#webhooks_id_webhook_delete) | **DELETE** /webhooks/{id_webhook} | Deletes a webhook
26
+ [**webhooks_id_webhook_logs_get**](AdministrationApi.md#webhooks_id_webhook_logs_get) | **GET** /webhooks/{id_webhook}/logs | Get webhooks logs.
22
27
  [**webhooks_id_webhook_post**](AdministrationApi.md#webhooks_id_webhook_post) | **POST** /webhooks/{id_webhook} | Updates a webhook
23
28
  [**webhooks_id_webhook_put**](AdministrationApi.md#webhooks_id_webhook_put) | **PUT** /webhooks/{id_webhook} | Updates a webhook
24
29
  [**webhooks_post**](AdministrationApi.md#webhooks_post) | **POST** /webhooks | Adds a new webhook
25
30
 
26
31
 
27
32
  # **clients_get**
28
- > InlineResponse20011 clients_get(opts)
33
+ > InlineResponse20012 clients_get(opts)
29
34
 
30
35
  List clients
31
36
 
@@ -46,7 +51,7 @@ end
46
51
  api_instance = BudgeaClient::AdministrationApi.new
47
52
 
48
53
  opts = {
49
- expand: "expand_example" # String |
54
+ expand: 'expand_example' # String |
50
55
  }
51
56
 
52
57
  begin
@@ -66,7 +71,7 @@ Name | Type | Description | Notes
66
71
 
67
72
  ### Return type
68
73
 
69
- [**InlineResponse20011**](InlineResponse20011.md)
74
+ [**InlineResponse20012**](InlineResponse20012.md)
70
75
 
71
76
  ### Authorization
72
77
 
@@ -103,7 +108,7 @@ api_instance = BudgeaClient::AdministrationApi.new
103
108
  id_client = 56 # Integer |
104
109
 
105
110
  opts = {
106
- expand: "expand_example" # String |
111
+ expand: 'expand_example' # String |
107
112
  }
108
113
 
109
114
  begin
@@ -142,7 +147,7 @@ Name | Type | Description | Notes
142
147
 
143
148
  Get information about a client
144
149
 
145
- If you use the manage_token, you will get also the client_secret.<br><br>
150
+ If you use the manage_token or a configuration token, you will get also the client_secret<br><br>
146
151
 
147
152
  ### Example
148
153
  ```ruby
@@ -161,7 +166,7 @@ api_instance = BudgeaClient::AdministrationApi.new
161
166
  id_client = 56 # Integer |
162
167
 
163
168
  opts = {
164
- expand: "expand_example" # String |
169
+ expand: 'expand_example' # String |
165
170
  }
166
171
 
167
172
  begin
@@ -219,7 +224,7 @@ api_instance = BudgeaClient::AdministrationApi.new
219
224
  id_client = 56 # Integer |
220
225
 
221
226
  opts = {
222
- expand: "expand_example" # String |
227
+ expand: 'expand_example' # String |
223
228
  }
224
229
 
225
230
  begin
@@ -277,7 +282,7 @@ api_instance = BudgeaClient::AdministrationApi.new
277
282
  id_client = 56 # Integer |
278
283
 
279
284
  opts = {
280
- expand: "expand_example" # String |
285
+ expand: 'expand_example' # String |
281
286
  }
282
287
 
283
288
  begin
@@ -335,16 +340,19 @@ api_instance = BudgeaClient::AdministrationApi.new
335
340
  id_client = 56 # Integer |
336
341
 
337
342
  opts = {
338
- name: "name_example", # String | name of client
343
+ generate_keys: true, # BOOLEAN | set a rsa key pair for the client, which make it possible to generate a jwt user token using this client. No effect if the client already has a set of keys(default: False)
344
+ name: 'name_example', # String | name of client
339
345
  secret: true, # BOOLEAN | reset the secret
340
- redirect_uri: "redirect_uri_example", # String | redirect_uri
341
- primary_color: "primary_color_example", # String | hexadecimal code of the client primary color (e.g F45B9A)
342
- secondary_color: "secondary_color_example", # String | hexadecimal code of the client secondary color (e.g F45B9A)
343
- description: "description_example", # String | text to display as a default description
344
- description_banks: "description_banks_example", # String | text to display as a description for banks
345
- description_providers: "description_providers_example", # String | text to display as a description for providers
346
+ redirect_uri: 'redirect_uri_example', # String | redirect_uri
347
+ primary_color: 'primary_color_example', # String | hexadecimal code of the client primary color (e.g F45B9A)
348
+ secondary_color: 'secondary_color_example', # String | hexadecimal code of the client secondary color (e.g F45B9A)
349
+ description: 'description_example', # String | text to display as a default description
350
+ description_banks: 'description_banks_example', # String | text to display as a description for banks
351
+ description_providers: 'description_providers_example', # String | text to display as a description for providers
346
352
  pro: true, # BOOLEAN | Wether the client should display the company manager page
347
- expand: "expand_example" # String |
353
+ information: 'information_example', # String | custom information about the client
354
+ update_information: true, # BOOLEAN | update the custom information about the client instead of replacing the existing one (default: True)
355
+ expand: 'expand_example' # String |
348
356
  }
349
357
 
350
358
  begin
@@ -361,6 +369,7 @@ end
361
369
  Name | Type | Description | Notes
362
370
  ------------- | ------------- | ------------- | -------------
363
371
  **id_client** | **Integer**| |
372
+ **generate_keys** | **BOOLEAN**| set a rsa key pair for the client, which make it possible to generate a jwt user token using this client. No effect if the client already has a set of keys(default: False) | [optional]
364
373
  **name** | **String**| name of client | [optional]
365
374
  **secret** | **BOOLEAN**| reset the secret | [optional]
366
375
  **redirect_uri** | **String**| redirect_uri | [optional]
@@ -370,6 +379,8 @@ Name | Type | Description | Notes
370
379
  **description_banks** | **String**| text to display as a description for banks | [optional]
371
380
  **description_providers** | **String**| text to display as a description for providers | [optional]
372
381
  **pro** | **BOOLEAN**| Wether the client should display the company manager page | [optional]
382
+ **information** | **String**| custom information about the client | [optional]
383
+ **update_information** | **BOOLEAN**| update the custom information about the client instead of replacing the existing one (default: True) | [optional]
373
384
  **expand** | **String**| | [optional]
374
385
 
375
386
  ### Return type
@@ -409,7 +420,11 @@ end
409
420
  api_instance = BudgeaClient::AdministrationApi.new
410
421
 
411
422
  opts = {
412
- expand: "expand_example" # String |
423
+ generate_keys: true, # BOOLEAN | if True, generate a rsa pair of keys so the client can be used to generate jwt user tokens (default: False)
424
+ name: 'name_example', # String | name of client
425
+ redirect_uri: 'redirect_uri_example', # String | redirect_uri
426
+ information: 'information_example', # String | custom information about the client
427
+ expand: 'expand_example' # String |
413
428
  }
414
429
 
415
430
  begin
@@ -425,6 +440,10 @@ end
425
440
 
426
441
  Name | Type | Description | Notes
427
442
  ------------- | ------------- | ------------- | -------------
443
+ **generate_keys** | **BOOLEAN**| if True, generate a rsa pair of keys so the client can be used to generate jwt user tokens (default: False) | [optional]
444
+ **name** | **String**| name of client | [optional]
445
+ **redirect_uri** | **String**| redirect_uri | [optional]
446
+ **information** | **String**| custom information about the client | [optional]
428
447
  **expand** | **String**| | [optional]
429
448
 
430
449
  ### Return type
@@ -464,7 +483,7 @@ end
464
483
  api_instance = BudgeaClient::AdministrationApi.new
465
484
 
466
485
  opts = {
467
- search: "search_example" # String | limit the results to keys matching the given value
486
+ search: 'search_example' # String | limit the results to keys matching the given value
468
487
  }
469
488
 
470
489
  begin
@@ -501,7 +520,7 @@ nil (empty response body)
501
520
 
502
521
  Set a configuration value on the API.
503
522
 
504
- Request: { \"bank.connection.disable_new\": \"0\", \"search\": \"bank.connection.disable_new\" }<br><br>
523
+ Request: { \"connection.disable_new\": \"0\", \"search\": \"connection.disable_new\" }<br><br>
505
524
 
506
525
  ### Example
507
526
  ```ruby
@@ -518,7 +537,7 @@ end
518
537
  api_instance = BudgeaClient::AdministrationApi.new
519
538
 
520
539
  opts = {
521
- search: "search_example" # String | limit the results to keys matching the given value
540
+ search: 'search_example' # String | limit the results to keys matching the given value
522
541
  }
523
542
 
524
543
  begin
@@ -551,6 +570,241 @@ Name | Type | Description | Notes
551
570
 
552
571
 
553
572
 
573
+ # **merchants_get**
574
+ > InlineResponse20012 merchants_get(opts)
575
+
576
+ List clients
577
+
578
+
579
+
580
+ ### Example
581
+ ```ruby
582
+ # load the gem
583
+ require 'budgea_client'
584
+ # setup authorization
585
+ BudgeaClient.configure do |config|
586
+ # Configure API key authorization: api_key
587
+ config.api_key['Authorization'] = 'YOUR API KEY'
588
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
589
+ #config.api_key_prefix['Authorization'] = 'Bearer'
590
+ end
591
+
592
+ api_instance = BudgeaClient::AdministrationApi.new
593
+
594
+ opts = {
595
+ expand: 'expand_example' # String |
596
+ }
597
+
598
+ begin
599
+ #List clients
600
+ result = api_instance.merchants_get(opts)
601
+ p result
602
+ rescue BudgeaClient::ApiError => e
603
+ puts "Exception when calling AdministrationApi->merchants_get: #{e}"
604
+ end
605
+ ```
606
+
607
+ ### Parameters
608
+
609
+ Name | Type | Description | Notes
610
+ ------------- | ------------- | ------------- | -------------
611
+ **expand** | **String**| | [optional]
612
+
613
+ ### Return type
614
+
615
+ [**InlineResponse20012**](InlineResponse20012.md)
616
+
617
+ ### Authorization
618
+
619
+ [api_key](../README.md#api_key)
620
+
621
+ ### HTTP request headers
622
+
623
+ - **Content-Type**: application/json, multipart/form-data
624
+ - **Accept**: application/json
625
+
626
+
627
+
628
+ # **merchants_id_client_logo_delete**
629
+ > File merchants_id_client_logo_delete(id_client, opts)
630
+
631
+ Delete the client logo
632
+
633
+
634
+
635
+ ### Example
636
+ ```ruby
637
+ # load the gem
638
+ require 'budgea_client'
639
+ # setup authorization
640
+ BudgeaClient.configure do |config|
641
+ # Configure API key authorization: api_key
642
+ config.api_key['Authorization'] = 'YOUR API KEY'
643
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
644
+ #config.api_key_prefix['Authorization'] = 'Bearer'
645
+ end
646
+
647
+ api_instance = BudgeaClient::AdministrationApi.new
648
+
649
+ id_client = 56 # Integer |
650
+
651
+ opts = {
652
+ expand: 'expand_example' # String |
653
+ }
654
+
655
+ begin
656
+ #Delete the client logo
657
+ result = api_instance.merchants_id_client_logo_delete(id_client, opts)
658
+ p result
659
+ rescue BudgeaClient::ApiError => e
660
+ puts "Exception when calling AdministrationApi->merchants_id_client_logo_delete: #{e}"
661
+ end
662
+ ```
663
+
664
+ ### Parameters
665
+
666
+ Name | Type | Description | Notes
667
+ ------------- | ------------- | ------------- | -------------
668
+ **id_client** | **Integer**| |
669
+ **expand** | **String**| | [optional]
670
+
671
+ ### Return type
672
+
673
+ **File**
674
+
675
+ ### Authorization
676
+
677
+ [api_key](../README.md#api_key)
678
+
679
+ ### HTTP request headers
680
+
681
+ - **Content-Type**: application/json, multipart/form-data
682
+ - **Accept**: application/json
683
+
684
+
685
+
686
+ # **merchants_id_client_logo_post**
687
+ > File merchants_id_client_logo_post(id_client, opts)
688
+
689
+ Update the client logo
690
+
691
+
692
+
693
+ ### Example
694
+ ```ruby
695
+ # load the gem
696
+ require 'budgea_client'
697
+ # setup authorization
698
+ BudgeaClient.configure do |config|
699
+ # Configure API key authorization: api_key
700
+ config.api_key['Authorization'] = 'YOUR API KEY'
701
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
702
+ #config.api_key_prefix['Authorization'] = 'Bearer'
703
+ end
704
+
705
+ api_instance = BudgeaClient::AdministrationApi.new
706
+
707
+ id_client = 56 # Integer |
708
+
709
+ opts = {
710
+ expand: 'expand_example' # String |
711
+ }
712
+
713
+ begin
714
+ #Update the client logo
715
+ result = api_instance.merchants_id_client_logo_post(id_client, opts)
716
+ p result
717
+ rescue BudgeaClient::ApiError => e
718
+ puts "Exception when calling AdministrationApi->merchants_id_client_logo_post: #{e}"
719
+ end
720
+ ```
721
+
722
+ ### Parameters
723
+
724
+ Name | Type | Description | Notes
725
+ ------------- | ------------- | ------------- | -------------
726
+ **id_client** | **Integer**| |
727
+ **expand** | **String**| | [optional]
728
+
729
+ ### Return type
730
+
731
+ **File**
732
+
733
+ ### Authorization
734
+
735
+ [api_key](../README.md#api_key)
736
+
737
+ ### HTTP request headers
738
+
739
+ - **Content-Type**: application/json, multipart/form-data
740
+ - **Accept**: application/json
741
+
742
+
743
+
744
+ # **merchants_post**
745
+ > Client merchants_post(name, redirect_uri, iban, opts)
746
+
747
+ Create a merchant. Needs a user identified in bearer to be used
748
+
749
+
750
+
751
+ ### Example
752
+ ```ruby
753
+ # load the gem
754
+ require 'budgea_client'
755
+ # setup authorization
756
+ BudgeaClient.configure do |config|
757
+ # Configure API key authorization: api_key
758
+ config.api_key['Authorization'] = 'YOUR API KEY'
759
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
760
+ #config.api_key_prefix['Authorization'] = 'Bearer'
761
+ end
762
+
763
+ api_instance = BudgeaClient::AdministrationApi.new
764
+
765
+ name = 'name_example' # String | name of merchant
766
+
767
+ redirect_uri = 'redirect_uri_example' # String | regexp to check if given redirect_uri are authorized
768
+
769
+ iban = 'iban_example' # String | payments initiated by this merchant will be done to this IBAN
770
+
771
+ opts = {
772
+ expand: 'expand_example' # String |
773
+ }
774
+
775
+ begin
776
+ #Create a merchant. Needs a user identified in bearer to be used
777
+ result = api_instance.merchants_post(name, redirect_uri, iban, opts)
778
+ p result
779
+ rescue BudgeaClient::ApiError => e
780
+ puts "Exception when calling AdministrationApi->merchants_post: #{e}"
781
+ end
782
+ ```
783
+
784
+ ### Parameters
785
+
786
+ Name | Type | Description | Notes
787
+ ------------- | ------------- | ------------- | -------------
788
+ **name** | **String**| name of merchant |
789
+ **redirect_uri** | **String**| regexp to check if given redirect_uri are authorized |
790
+ **iban** | **String**| payments initiated by this merchant will be done to this IBAN |
791
+ **expand** | **String**| | [optional]
792
+
793
+ ### Return type
794
+
795
+ [**Client**](Client.md)
796
+
797
+ ### Authorization
798
+
799
+ [api_key](../README.md#api_key)
800
+
801
+ ### HTTP request headers
802
+
803
+ - **Content-Type**: application/json, multipart/form-data
804
+ - **Accept**: application/json
805
+
806
+
807
+
554
808
  # **monitoring_get**
555
809
  > monitoring_get(opts)
556
810
 
@@ -721,7 +975,7 @@ end
721
975
  api_instance = BudgeaClient::AdministrationApi.new
722
976
 
723
977
  opts = {
724
- expand: "expand_example" # String |
978
+ expand: 'expand_example' # String |
725
979
  }
726
980
 
727
981
  begin
@@ -755,7 +1009,7 @@ Name | Type | Description | Notes
755
1009
 
756
1010
 
757
1011
  # **webhooks_get**
758
- > InlineResponse20033 webhooks_get(opts)
1012
+ > InlineResponse20035 webhooks_get(opts)
759
1013
 
760
1014
  Get webhooks
761
1015
 
@@ -776,7 +1030,7 @@ end
776
1030
  api_instance = BudgeaClient::AdministrationApi.new
777
1031
 
778
1032
  opts = {
779
- expand: "expand_example" # String |
1033
+ expand: 'expand_example' # String |
780
1034
  }
781
1035
 
782
1036
  begin
@@ -796,7 +1050,7 @@ Name | Type | Description | Notes
796
1050
 
797
1051
  ### Return type
798
1052
 
799
- [**InlineResponse20033**](InlineResponse20033.md)
1053
+ [**InlineResponse20035**](InlineResponse20035.md)
800
1054
 
801
1055
  ### Authorization
802
1056
 
@@ -833,7 +1087,7 @@ api_instance = BudgeaClient::AdministrationApi.new
833
1087
  id_webhook = 56 # Integer |
834
1088
 
835
1089
  opts = {
836
- expand: "expand_example" # String |
1090
+ expand: 'expand_example' # String |
837
1091
  }
838
1092
 
839
1093
  begin
@@ -867,6 +1121,72 @@ Name | Type | Description | Notes
867
1121
 
868
1122
 
869
1123
 
1124
+ # **webhooks_id_webhook_logs_get**
1125
+ > InlineResponse20036 webhooks_id_webhook_logs_get(id_webhook, opts)
1126
+
1127
+ Get webhooks logs.
1128
+
1129
+ Get logs of the webhooks.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
1130
+
1131
+ ### Example
1132
+ ```ruby
1133
+ # load the gem
1134
+ require 'budgea_client'
1135
+ # setup authorization
1136
+ BudgeaClient.configure do |config|
1137
+ # Configure API key authorization: api_key
1138
+ config.api_key['Authorization'] = 'YOUR API KEY'
1139
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1140
+ #config.api_key_prefix['Authorization'] = 'Bearer'
1141
+ end
1142
+
1143
+ api_instance = BudgeaClient::AdministrationApi.new
1144
+
1145
+ id_webhook = 56 # Integer |
1146
+
1147
+ opts = {
1148
+ limit: 56, # Integer | limit number of results
1149
+ offset: 56, # Integer | offset of first result
1150
+ min_date: Date.parse('2013-10-20'), # Date | minimal (inclusive) date
1151
+ max_date: Date.parse('2013-10-20'), # Date | maximum (inclusive) date
1152
+ expand: 'expand_example' # String |
1153
+ }
1154
+
1155
+ begin
1156
+ #Get webhooks logs.
1157
+ result = api_instance.webhooks_id_webhook_logs_get(id_webhook, opts)
1158
+ p result
1159
+ rescue BudgeaClient::ApiError => e
1160
+ puts "Exception when calling AdministrationApi->webhooks_id_webhook_logs_get: #{e}"
1161
+ end
1162
+ ```
1163
+
1164
+ ### Parameters
1165
+
1166
+ Name | Type | Description | Notes
1167
+ ------------- | ------------- | ------------- | -------------
1168
+ **id_webhook** | **Integer**| |
1169
+ **limit** | **Integer**| limit number of results | [optional]
1170
+ **offset** | **Integer**| offset of first result | [optional]
1171
+ **min_date** | **Date**| minimal (inclusive) date | [optional]
1172
+ **max_date** | **Date**| maximum (inclusive) date | [optional]
1173
+ **expand** | **String**| | [optional]
1174
+
1175
+ ### Return type
1176
+
1177
+ [**InlineResponse20036**](InlineResponse20036.md)
1178
+
1179
+ ### Authorization
1180
+
1181
+ [api_key](../README.md#api_key)
1182
+
1183
+ ### HTTP request headers
1184
+
1185
+ - **Content-Type**: application/json, multipart/form-data
1186
+ - **Accept**: application/json
1187
+
1188
+
1189
+
870
1190
  # **webhooks_id_webhook_post**
871
1191
  > Webhook webhooks_id_webhook_post(id_webhook, opts)
872
1192
 
@@ -891,12 +1211,12 @@ api_instance = BudgeaClient::AdministrationApi.new
891
1211
  id_webhook = 56 # Integer |
892
1212
 
893
1213
  opts = {
894
- deleted: "deleted_example", # String | a date to delete the webhook or 'null' to enable it
1214
+ deleted: 'deleted_example', # String | a date to delete the webhook or 'null' to enable it
895
1215
  id_user: 56, # Integer | The user ID to associate with the webhook
896
1216
  id_service: 56, # Integer | The service ID to associate with the webhook
897
1217
  url: 3.4, # Float | The webhook callback url
898
- event: "event_example", # String | The webhook event
899
- expand: "expand_example" # String |
1218
+ event: 'event_example', # String | The webhook event
1219
+ expand: 'expand_example' # String |
900
1220
  }
901
1221
 
902
1222
  begin
@@ -959,12 +1279,12 @@ api_instance = BudgeaClient::AdministrationApi.new
959
1279
  id_webhook = 56 # Integer |
960
1280
 
961
1281
  opts = {
962
- deleted: "deleted_example", # String | a date to delete the webhook or 'null' to enable it
1282
+ deleted: 'deleted_example', # String | a date to delete the webhook or 'null' to enable it
963
1283
  id_user: 56, # Integer | The user ID to associate with the webhook
964
1284
  id_service: 56, # Integer | The service ID to associate with the webhook
965
1285
  url: 3.4, # Float | The webhook callback url
966
- event: "event_example", # String | The webhook event
967
- expand: "expand_example" # String |
1286
+ event: 'event_example', # String | The webhook event
1287
+ expand: 'expand_example' # String |
968
1288
  }
969
1289
 
970
1290
  begin
@@ -1028,9 +1348,9 @@ opts = {
1028
1348
  id_user: 56, # Integer | The user ID to associate with the webhook
1029
1349
  id_service: 56, # Integer | The service ID to associate with the webhook
1030
1350
  url: 3.4, # Float | The webhook callback url
1031
- event: "event_example", # String | The webhook event
1032
- params: "params_example", # String | The webhook parameters as an object with three keys: type, key and value
1033
- expand: "expand_example" # String |
1351
+ event: 'event_example', # String | The webhook event
1352
+ params: 'params_example', # String | The webhook parameters as an object with three keys: type, key and value
1353
+ expand: 'expand_example' # String |
1034
1354
  }
1035
1355
 
1036
1356
  begin