budgea_client 4.0.3 → 5.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 (125) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +50 -5
  4. data/budgea_openapi.json +1888 -383
  5. data/docs/Account.md +2 -0
  6. data/docs/AccountLog.md +1 -0
  7. data/docs/AdministrationApi.md +366 -55
  8. data/docs/AuthenticationApi.md +15 -13
  9. data/docs/BanksApi.md +988 -194
  10. data/docs/Client.md +1 -1
  11. data/docs/Connection.md +2 -0
  12. data/docs/ConnectionLog.md +1 -0
  13. data/docs/ConnectionSource.md +18 -0
  14. data/docs/ConnectionsApi.md +618 -25
  15. data/docs/Connector.md +1 -1
  16. data/docs/ConnectorSource.md +15 -0
  17. data/docs/DocumentsApi.md +72 -72
  18. data/docs/Field.md +1 -0
  19. data/docs/InlineResponse20011.md +1 -1
  20. data/docs/InlineResponse20012.md +1 -1
  21. data/docs/InlineResponse20013.md +1 -1
  22. data/docs/InlineResponse20014.md +1 -1
  23. data/docs/InlineResponse20015.md +1 -1
  24. data/docs/InlineResponse20016.md +1 -1
  25. data/docs/InlineResponse20017.md +1 -1
  26. data/docs/InlineResponse20018.md +1 -1
  27. data/docs/InlineResponse20019.md +2 -1
  28. data/docs/InlineResponse20030.md +1 -1
  29. data/docs/InlineResponse20031.md +1 -1
  30. data/docs/InlineResponse20032.md +1 -1
  31. data/docs/InlineResponse20033.md +1 -1
  32. data/docs/InlineResponse20034.md +1 -1
  33. data/docs/InlineResponse20035.md +1 -1
  34. data/docs/InlineResponse20036.md +1 -1
  35. data/docs/InlineResponse20037.md +1 -1
  36. data/docs/InlineResponse20038.md +1 -1
  37. data/docs/InlineResponse20039.md +1 -1
  38. data/docs/InlineResponse20040.md +1 -1
  39. data/docs/InlineResponse20041.md +9 -0
  40. data/docs/InlineResponse20042.md +9 -0
  41. data/docs/OIDCApi.md +3 -3
  42. data/docs/Order.md +14 -0
  43. data/docs/PFMApi.md +87 -39
  44. data/docs/ProvidersApi.md +979 -122
  45. data/docs/RecipientsApi.md +4 -4
  46. data/docs/Subscription.md +1 -0
  47. data/docs/SubscriptionLog.md +15 -0
  48. data/docs/TermsApi.md +3 -3
  49. data/docs/Transaction.md +1 -0
  50. data/docs/Transfer.md +5 -1
  51. data/docs/TransferApi.md +77 -0
  52. data/docs/TransfersApi.md +39 -39
  53. data/docs/UsersManagementApi.md +13 -13
  54. data/docs/WealthApi.md +24 -24
  55. data/lib/budgea_client.rb +7 -2
  56. data/lib/budgea_client/api/administration_api.rb +381 -71
  57. data/lib/budgea_client/api/authentication_api.rb +16 -13
  58. data/lib/budgea_client/api/banks_api.rb +1034 -211
  59. data/lib/budgea_client/api/connections_api.rb +648 -30
  60. data/lib/budgea_client/api/documents_api.rb +85 -85
  61. data/lib/budgea_client/api/oidc_api.rb +3 -3
  62. data/lib/budgea_client/api/pfm_api.rb +87 -40
  63. data/lib/budgea_client/api/providers_api.rb +1045 -151
  64. data/lib/budgea_client/api/recipients_api.rb +4 -4
  65. data/lib/budgea_client/api/terms_api.rb +3 -3
  66. data/lib/budgea_client/api/transfer_api.rb +94 -0
  67. data/lib/budgea_client/api/transfers_api.rb +39 -39
  68. data/lib/budgea_client/api/users_management_api.rb +14 -14
  69. data/lib/budgea_client/api/wealth_api.rb +25 -25
  70. data/lib/budgea_client/models/account.rb +24 -4
  71. data/lib/budgea_client/models/account_log.rb +16 -1
  72. data/lib/budgea_client/models/client.rb +11 -11
  73. data/lib/budgea_client/models/connection.rb +23 -4
  74. data/lib/budgea_client/models/connection_log.rb +11 -1
  75. data/lib/budgea_client/models/connection_source.rb +309 -0
  76. data/lib/budgea_client/models/connector.rb +18 -15
  77. data/lib/budgea_client/models/connector_source.rb +273 -0
  78. data/lib/budgea_client/models/field.rb +14 -4
  79. data/lib/budgea_client/models/inline_response_200_11.rb +18 -18
  80. data/lib/budgea_client/models/inline_response_200_12.rb +11 -11
  81. data/lib/budgea_client/models/inline_response_200_13.rb +11 -11
  82. data/lib/budgea_client/models/inline_response_200_14.rb +18 -18
  83. data/lib/budgea_client/models/inline_response_200_15.rb +11 -11
  84. data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
  85. data/lib/budgea_client/models/inline_response_200_17.rb +11 -11
  86. data/lib/budgea_client/models/inline_response_200_18.rb +18 -18
  87. data/lib/budgea_client/models/inline_response_200_19.rb +21 -11
  88. data/lib/budgea_client/models/inline_response_200_30.rb +18 -18
  89. data/lib/budgea_client/models/inline_response_200_31.rb +11 -11
  90. data/lib/budgea_client/models/inline_response_200_32.rb +18 -18
  91. data/lib/budgea_client/models/inline_response_200_33.rb +18 -18
  92. data/lib/budgea_client/models/inline_response_200_34.rb +11 -11
  93. data/lib/budgea_client/models/inline_response_200_35.rb +18 -18
  94. data/lib/budgea_client/models/inline_response_200_36.rb +18 -18
  95. data/lib/budgea_client/models/inline_response_200_37.rb +11 -11
  96. data/lib/budgea_client/models/inline_response_200_38.rb +18 -18
  97. data/lib/budgea_client/models/inline_response_200_39.rb +11 -11
  98. data/lib/budgea_client/models/inline_response_200_40.rb +18 -18
  99. data/lib/budgea_client/models/inline_response_200_41.rb +200 -0
  100. data/lib/budgea_client/models/inline_response_200_42.rb +200 -0
  101. data/lib/budgea_client/models/order.rb +259 -0
  102. data/lib/budgea_client/models/subscription.rb +11 -1
  103. data/lib/budgea_client/models/subscription_log.rb +269 -0
  104. data/lib/budgea_client/models/transaction.rb +11 -1
  105. data/lib/budgea_client/models/transfer.rb +49 -2
  106. data/lib/budgea_client/models/user.rb +2 -2
  107. data/lib/budgea_client/version.rb +1 -1
  108. data/original_budgea_openapi.json +1980 -351
  109. data/pkg/budgea_client-2.0.0.gem +0 -0
  110. data/pkg/budgea_client-3.0.1.gem +0 -0
  111. data/pkg/budgea_client-4.0.0.gem +0 -0
  112. data/spec/api/transfer_api_spec.rb +54 -0
  113. data/spec/models/connection_source_spec.rb +101 -0
  114. data/spec/models/connector_source_spec.rb +83 -0
  115. data/spec/models/inline_response_200_41_spec.rb +47 -0
  116. data/spec/models/inline_response_200_42_spec.rb +47 -0
  117. data/spec/models/order_spec.rb +77 -0
  118. data/spec/models/subscription_log_spec.rb +83 -0
  119. metadata +34 -9
  120. data/config.yaml +0 -15
  121. data/pkg/budgea_client-2.0.1.gem +0 -0
  122. data/pkg/budgea_client-2.0.2.gem +0 -0
  123. data/pkg/budgea_client-3.0.0.gem +0 -0
  124. data/pkg/budgea_client-4.0.1.gem +0 -0
  125. data/pkg/budgea_client-4.0.2.gem +0 -0
@@ -60,7 +60,7 @@ nil (empty response body)
60
60
 
61
61
  ### HTTP request headers
62
62
 
63
- - **Content-Type**: application/x-www-form-urlencoded
63
+ - **Content-Type**: application/json, multipart/form-data
64
64
  - **Accept**: application/json
65
65
 
66
66
 
@@ -117,7 +117,7 @@ Name | Type | Description | Notes
117
117
 
118
118
  ### HTTP request headers
119
119
 
120
- - **Content-Type**: application/x-www-form-urlencoded
120
+ - **Content-Type**: application/json, multipart/form-data
121
121
  - **Accept**: application/json
122
122
 
123
123
 
@@ -170,7 +170,7 @@ nil (empty response body)
170
170
 
171
171
  ### HTTP request headers
172
172
 
173
- - **Content-Type**: application/x-www-form-urlencoded
173
+ - **Content-Type**: application/json, multipart/form-data
174
174
  - **Accept**: application/json
175
175
 
176
176
 
@@ -224,7 +224,7 @@ Name | Type | Description | Notes
224
224
 
225
225
  ### HTTP request headers
226
226
 
227
- - **Content-Type**: application/x-www-form-urlencoded
227
+ - **Content-Type**: application/json, multipart/form-data
228
228
  - **Accept**: application/json
229
229
 
230
230
 
@@ -277,7 +277,7 @@ nil (empty response body)
277
277
 
278
278
  ### HTTP request headers
279
279
 
280
- - **Content-Type**: application/x-www-form-urlencoded
280
+ - **Content-Type**: application/json, multipart/form-data
281
281
  - **Accept**: application/json
282
282
 
283
283
 
@@ -335,7 +335,7 @@ Name | Type | Description | Notes
335
335
 
336
336
  ### HTTP request headers
337
337
 
338
- - **Content-Type**: application/x-www-form-urlencoded
338
+ - **Content-Type**: application/json, multipart/form-data
339
339
  - **Accept**: application/json
340
340
 
341
341
 
@@ -393,13 +393,13 @@ Name | Type | Description | Notes
393
393
 
394
394
  ### HTTP request headers
395
395
 
396
- - **Content-Type**: application/x-www-form-urlencoded
396
+ - **Content-Type**: application/json, multipart/form-data
397
397
  - **Accept**: application/json
398
398
 
399
399
 
400
400
 
401
401
  # **users_id_user_profiles_get**
402
- > InlineResponse20037 users_id_user_profiles_get(id_user, opts)
402
+ > InlineResponse20039 users_id_user_profiles_get(id_user, opts)
403
403
 
404
404
  Get profiles
405
405
 
@@ -443,7 +443,7 @@ Name | Type | Description | Notes
443
443
 
444
444
  ### Return type
445
445
 
446
- [**InlineResponse20037**](InlineResponse20037.md)
446
+ [**InlineResponse20039**](InlineResponse20039.md)
447
447
 
448
448
  ### Authorization
449
449
 
@@ -451,7 +451,7 @@ Name | Type | Description | Notes
451
451
 
452
452
  ### HTTP request headers
453
453
 
454
- - **Content-Type**: application/x-www-form-urlencoded
454
+ - **Content-Type**: application/json, multipart/form-data
455
455
  - **Accept**: application/json
456
456
 
457
457
 
@@ -512,7 +512,7 @@ Name | Type | Description | Notes
512
512
 
513
513
  ### HTTP request headers
514
514
 
515
- - **Content-Type**: application/x-www-form-urlencoded
515
+ - **Content-Type**: application/json, multipart/form-data
516
516
  - **Accept**: application/json
517
517
 
518
518
 
@@ -570,7 +570,7 @@ Name | Type | Description | Notes
570
570
 
571
571
  ### HTTP request headers
572
572
 
573
- - **Content-Type**: application/x-www-form-urlencoded
573
+ - **Content-Type**: application/json, multipart/form-data
574
574
  - **Accept**: application/json
575
575
 
576
576
 
@@ -628,7 +628,7 @@ Name | Type | Description | Notes
628
628
 
629
629
  ### HTTP request headers
630
630
 
631
- - **Content-Type**: application/x-www-form-urlencoded
631
+ - **Content-Type**: application/json, multipart/form-data
632
632
  - **Accept**: application/json
633
633
 
634
634
 
@@ -29,7 +29,7 @@ Method | HTTP request | Description
29
29
 
30
30
 
31
31
  # **finance_securities_get**
32
- > InlineResponse20016 finance_securities_get(opts)
32
+ > InlineResponse20018 finance_securities_get(opts)
33
33
 
34
34
  Get securities
35
35
 
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
70
70
 
71
71
  ### Return type
72
72
 
73
- [**InlineResponse20016**](InlineResponse20016.md)
73
+ [**InlineResponse20018**](InlineResponse20018.md)
74
74
 
75
75
  ### Authorization
76
76
 
@@ -78,7 +78,7 @@ Name | Type | Description | Notes
78
78
 
79
79
  ### HTTP request headers
80
80
 
81
- - **Content-Type**: application/x-www-form-urlencoded
81
+ - **Content-Type**: application/json, multipart/form-data
82
82
  - **Accept**: application/json
83
83
 
84
84
 
@@ -143,7 +143,7 @@ nil (empty response body)
143
143
 
144
144
  ### HTTP request headers
145
145
 
146
- - **Content-Type**: application/x-www-form-urlencoded
146
+ - **Content-Type**: application/json, multipart/form-data
147
147
  - **Accept**: application/json
148
148
 
149
149
 
@@ -204,7 +204,7 @@ Name | Type | Description | Notes
204
204
 
205
205
  ### HTTP request headers
206
206
 
207
- - **Content-Type**: application/x-www-form-urlencoded
207
+ - **Content-Type**: application/json, multipart/form-data
208
208
  - **Accept**: application/json
209
209
 
210
210
 
@@ -268,7 +268,7 @@ Name | Type | Description | Notes
268
268
 
269
269
  ### HTTP request headers
270
270
 
271
- - **Content-Type**: application/x-www-form-urlencoded
271
+ - **Content-Type**: application/json, multipart/form-data
272
272
  - **Accept**: application/json
273
273
 
274
274
 
@@ -332,7 +332,7 @@ Name | Type | Description | Notes
332
332
 
333
333
  ### HTTP request headers
334
334
 
335
- - **Content-Type**: application/x-www-form-urlencoded
335
+ - **Content-Type**: application/json, multipart/form-data
336
336
  - **Accept**: application/json
337
337
 
338
338
 
@@ -403,7 +403,7 @@ nil (empty response body)
403
403
 
404
404
  ### HTTP request headers
405
405
 
406
- - **Content-Type**: application/x-www-form-urlencoded
406
+ - **Content-Type**: application/json, multipart/form-data
407
407
  - **Accept**: application/json
408
408
 
409
409
 
@@ -464,7 +464,7 @@ Name | Type | Description | Notes
464
464
 
465
465
  ### HTTP request headers
466
466
 
467
- - **Content-Type**: application/x-www-form-urlencoded
467
+ - **Content-Type**: application/json, multipart/form-data
468
468
  - **Accept**: application/json
469
469
 
470
470
 
@@ -528,7 +528,7 @@ Name | Type | Description | Notes
528
528
 
529
529
  ### HTTP request headers
530
530
 
531
- - **Content-Type**: application/x-www-form-urlencoded
531
+ - **Content-Type**: application/json, multipart/form-data
532
532
  - **Accept**: application/json
533
533
 
534
534
 
@@ -595,7 +595,7 @@ Name | Type | Description | Notes
595
595
 
596
596
  ### HTTP request headers
597
597
 
598
- - **Content-Type**: application/x-www-form-urlencoded
598
+ - **Content-Type**: application/json, multipart/form-data
599
599
  - **Accept**: application/json
600
600
 
601
601
 
@@ -662,7 +662,7 @@ Name | Type | Description | Notes
662
662
 
663
663
  ### HTTP request headers
664
664
 
665
- - **Content-Type**: application/x-www-form-urlencoded
665
+ - **Content-Type**: application/json, multipart/form-data
666
666
  - **Accept**: application/json
667
667
 
668
668
 
@@ -736,7 +736,7 @@ nil (empty response body)
736
736
 
737
737
  ### HTTP request headers
738
738
 
739
- - **Content-Type**: application/x-www-form-urlencoded
739
+ - **Content-Type**: application/json, multipart/form-data
740
740
  - **Accept**: application/json
741
741
 
742
742
 
@@ -800,7 +800,7 @@ Name | Type | Description | Notes
800
800
 
801
801
  ### HTTP request headers
802
802
 
803
- - **Content-Type**: application/x-www-form-urlencoded
803
+ - **Content-Type**: application/json, multipart/form-data
804
804
  - **Accept**: application/json
805
805
 
806
806
 
@@ -861,7 +861,7 @@ Name | Type | Description | Notes
861
861
 
862
862
  ### HTTP request headers
863
863
 
864
- - **Content-Type**: application/x-www-form-urlencoded
864
+ - **Content-Type**: application/json, multipart/form-data
865
865
  - **Accept**: application/json
866
866
 
867
867
 
@@ -925,7 +925,7 @@ Name | Type | Description | Notes
925
925
 
926
926
  ### HTTP request headers
927
927
 
928
- - **Content-Type**: application/x-www-form-urlencoded
928
+ - **Content-Type**: application/json, multipart/form-data
929
929
  - **Accept**: application/json
930
930
 
931
931
 
@@ -989,7 +989,7 @@ Name | Type | Description | Notes
989
989
 
990
990
  ### HTTP request headers
991
991
 
992
- - **Content-Type**: application/x-www-form-urlencoded
992
+ - **Content-Type**: application/json, multipart/form-data
993
993
  - **Accept**: application/json
994
994
 
995
995
 
@@ -1060,7 +1060,7 @@ nil (empty response body)
1060
1060
 
1061
1061
  ### HTTP request headers
1062
1062
 
1063
- - **Content-Type**: application/x-www-form-urlencoded
1063
+ - **Content-Type**: application/json, multipart/form-data
1064
1064
  - **Accept**: application/json
1065
1065
 
1066
1066
 
@@ -1121,7 +1121,7 @@ Name | Type | Description | Notes
1121
1121
 
1122
1122
  ### HTTP request headers
1123
1123
 
1124
- - **Content-Type**: application/x-www-form-urlencoded
1124
+ - **Content-Type**: application/json, multipart/form-data
1125
1125
  - **Accept**: application/json
1126
1126
 
1127
1127
 
@@ -1179,7 +1179,7 @@ Name | Type | Description | Notes
1179
1179
 
1180
1180
  ### HTTP request headers
1181
1181
 
1182
- - **Content-Type**: application/x-www-form-urlencoded
1182
+ - **Content-Type**: application/json, multipart/form-data
1183
1183
  - **Accept**: application/json
1184
1184
 
1185
1185
 
@@ -1240,7 +1240,7 @@ Name | Type | Description | Notes
1240
1240
 
1241
1241
  ### HTTP request headers
1242
1242
 
1243
- - **Content-Type**: application/x-www-form-urlencoded
1243
+ - **Content-Type**: application/json, multipart/form-data
1244
1244
  - **Accept**: application/json
1245
1245
 
1246
1246
 
@@ -1301,7 +1301,7 @@ Name | Type | Description | Notes
1301
1301
 
1302
1302
  ### HTTP request headers
1303
1303
 
1304
- - **Content-Type**: application/x-www-form-urlencoded
1304
+ - **Content-Type**: application/json, multipart/form-data
1305
1305
  - **Accept**: application/json
1306
1306
 
1307
1307
 
@@ -1369,7 +1369,7 @@ nil (empty response body)
1369
1369
 
1370
1370
  ### HTTP request headers
1371
1371
 
1372
- - **Content-Type**: application/x-www-form-urlencoded
1372
+ - **Content-Type**: application/json, multipart/form-data
1373
1373
  - **Accept**: application/json
1374
1374
 
1375
1375
 
@@ -1427,7 +1427,7 @@ Name | Type | Description | Notes
1427
1427
 
1428
1428
  ### HTTP request headers
1429
1429
 
1430
- - **Content-Type**: application/x-www-form-urlencoded
1430
+ - **Content-Type**: application/json, multipart/form-data
1431
1431
  - **Accept**: application/json
1432
1432
 
1433
1433
 
@@ -29,9 +29,11 @@ require 'budgea_client/models/client'
29
29
  require 'budgea_client/models/config_log'
30
30
  require 'budgea_client/models/connection'
31
31
  require 'budgea_client/models/connection_log'
32
+ require 'budgea_client/models/connection_source'
32
33
  require 'budgea_client/models/connector'
33
34
  require 'budgea_client/models/connector_category'
34
35
  require 'budgea_client/models/connector_logo'
36
+ require 'budgea_client/models/connector_source'
35
37
  require 'budgea_client/models/currency'
36
38
  require 'budgea_client/models/device'
37
39
  require 'budgea_client/models/document'
@@ -77,6 +79,8 @@ require 'budgea_client/models/inline_response_200_38'
77
79
  require 'budgea_client/models/inline_response_200_39'
78
80
  require 'budgea_client/models/inline_response_200_4'
79
81
  require 'budgea_client/models/inline_response_200_40'
82
+ require 'budgea_client/models/inline_response_200_41'
83
+ require 'budgea_client/models/inline_response_200_42'
80
84
  require 'budgea_client/models/inline_response_200_5'
81
85
  require 'budgea_client/models/inline_response_200_6'
82
86
  require 'budgea_client/models/inline_response_200_7'
@@ -84,10 +88,10 @@ require 'budgea_client/models/inline_response_200_8'
84
88
  require 'budgea_client/models/inline_response_200_9'
85
89
  require 'budgea_client/models/investment'
86
90
  require 'budgea_client/models/investment_value'
87
- require 'budgea_client/models/invite'
88
91
  require 'budgea_client/models/keyword'
89
92
  require 'budgea_client/models/locked_user'
90
93
  require 'budgea_client/models/oidc_whitelist'
94
+ require 'budgea_client/models/order'
91
95
  require 'budgea_client/models/pocket'
92
96
  require 'budgea_client/models/profile'
93
97
  require 'budgea_client/models/project'
@@ -96,6 +100,7 @@ require 'budgea_client/models/recipient'
96
100
  require 'budgea_client/models/recipient_log'
97
101
  require 'budgea_client/models/security'
98
102
  require 'budgea_client/models/subscription'
103
+ require 'budgea_client/models/subscription_log'
99
104
  require 'budgea_client/models/terms_of_service'
100
105
  require 'budgea_client/models/transaction'
101
106
  require 'budgea_client/models/transaction_information'
@@ -114,13 +119,13 @@ require 'budgea_client/api/authentication_api'
114
119
  require 'budgea_client/api/banks_api'
115
120
  require 'budgea_client/api/connections_api'
116
121
  require 'budgea_client/api/documents_api'
117
- require 'budgea_client/api/hub_api'
118
122
  require 'budgea_client/api/ocr_api'
119
123
  require 'budgea_client/api/oidc_api'
120
124
  require 'budgea_client/api/pfm_api'
121
125
  require 'budgea_client/api/providers_api'
122
126
  require 'budgea_client/api/recipients_api'
123
127
  require 'budgea_client/api/terms_api'
128
+ require 'budgea_client/api/transfer_api'
124
129
  require 'budgea_client/api/transfers_api'
125
130
  require 'budgea_client/api/users_management_api'
126
131
  require 'budgea_client/api/wealth_api'
@@ -23,7 +23,7 @@ module BudgeaClient
23
23
  #
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [String] :expand
26
- # @return [InlineResponse20012]
26
+ # @return [InlineResponse20013]
27
27
  def clients_get(opts = {})
28
28
  data, _status_code, _headers = clients_get_with_http_info(opts)
29
29
  data
@@ -33,7 +33,7 @@ module BudgeaClient
33
33
  #
34
34
  # @param [Hash] opts the optional parameters
35
35
  # @option opts [String] :expand
36
- # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
36
+ # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
37
37
  def clients_get_with_http_info(opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: AdministrationApi.clients_get ...'
@@ -50,7 +50,7 @@ module BudgeaClient
50
50
  # HTTP header 'Accept' (if needed)
51
51
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
52
52
  # HTTP header 'Content-Type'
53
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
53
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
54
54
 
55
55
  # form parameters
56
56
  form_params = {}
@@ -64,7 +64,7 @@ module BudgeaClient
64
64
  :form_params => form_params,
65
65
  :body => post_body,
66
66
  :auth_names => auth_names,
67
- :return_type => 'InlineResponse20012')
67
+ :return_type => 'InlineResponse20013')
68
68
  if @api_client.config.debugging
69
69
  @api_client.config.logger.debug "API called: AdministrationApi#clients_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
70
70
  end
@@ -107,7 +107,7 @@ module BudgeaClient
107
107
  # HTTP header 'Accept' (if needed)
108
108
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
109
109
  # HTTP header 'Content-Type'
110
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
110
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
111
111
 
112
112
  # form parameters
113
113
  form_params = {}
@@ -128,7 +128,7 @@ module BudgeaClient
128
128
  return data, status_code, headers
129
129
  end
130
130
  # Get information about a client
131
- # If you use the manage_token or a configuration token, you will get also the client_secret<br><br>
131
+ # If you use the manage_token or a configuration token, you will get also the client secret.<br><br>
132
132
  # @param id_client
133
133
  # @param [Hash] opts the optional parameters
134
134
  # @option opts [String] :expand
@@ -139,7 +139,7 @@ module BudgeaClient
139
139
  end
140
140
 
141
141
  # Get information about a client
142
- # If you use the manage_token or a configuration token, you will get also the client_secret&lt;br&gt;&lt;br&gt;
142
+ # If you use the manage_token or a configuration token, you will get also the client secret.&lt;br&gt;&lt;br&gt;
143
143
  # @param id_client
144
144
  # @param [Hash] opts the optional parameters
145
145
  # @option opts [String] :expand
@@ -164,7 +164,7 @@ module BudgeaClient
164
164
  # HTTP header 'Accept' (if needed)
165
165
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
166
166
  # HTTP header 'Content-Type'
167
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
167
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
168
168
 
169
169
  # form parameters
170
170
  form_params = {}
@@ -221,7 +221,7 @@ module BudgeaClient
221
221
  # HTTP header 'Accept' (if needed)
222
222
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
223
223
  # HTTP header 'Content-Type'
224
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
224
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
225
225
 
226
226
  # form parameters
227
227
  form_params = {}
@@ -278,7 +278,7 @@ module BudgeaClient
278
278
  # HTTP header 'Accept' (if needed)
279
279
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
280
280
  # HTTP header 'Content-Type'
281
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
281
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
282
282
 
283
283
  # form parameters
284
284
  form_params = {}
@@ -305,7 +305,7 @@ module BudgeaClient
305
305
  # @option opts [BOOLEAN] :generate_keys 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)
306
306
  # @option opts [String] :name name of client
307
307
  # @option opts [BOOLEAN] :secret reset the secret
308
- # @option opts [String] :redirect_uri redirect_uri
308
+ # @option opts [Array<String>] :redirect_uris list of allowed redirect uris
309
309
  # @option opts [String] :primary_color hexadecimal code of the client primary color (e.g F45B9A)
310
310
  # @option opts [String] :secondary_color hexadecimal code of the client secondary color (e.g F45B9A)
311
311
  # @option opts [String] :description text to display as a default description
@@ -328,7 +328,7 @@ module BudgeaClient
328
328
  # @option opts [BOOLEAN] :generate_keys 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)
329
329
  # @option opts [String] :name name of client
330
330
  # @option opts [BOOLEAN] :secret reset the secret
331
- # @option opts [String] :redirect_uri redirect_uri
331
+ # @option opts [Array<String>] :redirect_uris list of allowed redirect uris
332
332
  # @option opts [String] :primary_color hexadecimal code of the client primary color (e.g F45B9A)
333
333
  # @option opts [String] :secondary_color hexadecimal code of the client secondary color (e.g F45B9A)
334
334
  # @option opts [String] :description text to display as a default description
@@ -359,14 +359,14 @@ module BudgeaClient
359
359
  # HTTP header 'Accept' (if needed)
360
360
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
361
361
  # HTTP header 'Content-Type'
362
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
362
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
363
363
 
364
364
  # form parameters
365
365
  form_params = {}
366
366
  form_params['generate_keys'] = opts[:'generate_keys'] if !opts[:'generate_keys'].nil?
367
367
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
368
368
  form_params['secret'] = opts[:'secret'] if !opts[:'secret'].nil?
369
- form_params['redirect_uri'] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
369
+ form_params['redirect_uris'] = @api_client.build_collection_param(opts[:'redirect_uris'], :csv) if !opts[:'redirect_uris'].nil?
370
370
  form_params['primary_color'] = opts[:'primary_color'] if !opts[:'primary_color'].nil?
371
371
  form_params['secondary_color'] = opts[:'secondary_color'] if !opts[:'secondary_color'].nil?
372
372
  form_params['description'] = opts[:'description'] if !opts[:'description'].nil?
@@ -396,7 +396,7 @@ module BudgeaClient
396
396
  # @param [Hash] opts the optional parameters
397
397
  # @option opts [BOOLEAN] :generate_keys if True, generate a rsa pair of keys so the client can be used to generate jwt user tokens (default: False)
398
398
  # @option opts [String] :name name of client
399
- # @option opts [String] :redirect_uri redirect_uri
399
+ # @option opts [Array<String>] :redirect_uris list of allowed redirect uris
400
400
  # @option opts [String] :config custom config about the client
401
401
  # @option opts [String] :expand
402
402
  # @return [Client]
@@ -410,7 +410,7 @@ module BudgeaClient
410
410
  # @param [Hash] opts the optional parameters
411
411
  # @option opts [BOOLEAN] :generate_keys if True, generate a rsa pair of keys so the client can be used to generate jwt user tokens (default: False)
412
412
  # @option opts [String] :name name of client
413
- # @option opts [String] :redirect_uri redirect_uri
413
+ # @option opts [Array<String>] :redirect_uris list of allowed redirect uris
414
414
  # @option opts [String] :config custom config about the client
415
415
  # @option opts [String] :expand
416
416
  # @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers
@@ -430,13 +430,13 @@ module BudgeaClient
430
430
  # HTTP header 'Accept' (if needed)
431
431
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
432
432
  # HTTP header 'Content-Type'
433
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
433
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
434
434
 
435
435
  # form parameters
436
436
  form_params = {}
437
437
  form_params['generate_keys'] = opts[:'generate_keys'] if !opts[:'generate_keys'].nil?
438
438
  form_params['name'] = opts[:'name'] if !opts[:'name'].nil?
439
- form_params['redirect_uri'] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
439
+ form_params['redirect_uris'] = @api_client.build_collection_param(opts[:'redirect_uris'], :csv) if !opts[:'redirect_uris'].nil?
440
440
  form_params['config'] = opts[:'config'] if !opts[:'config'].nil?
441
441
 
442
442
  # http body (model)
@@ -485,7 +485,7 @@ module BudgeaClient
485
485
  # HTTP header 'Accept' (if needed)
486
486
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
487
487
  # HTTP header 'Content-Type'
488
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
488
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
489
489
 
490
490
  # form parameters
491
491
  form_params = {}
@@ -512,7 +512,7 @@ module BudgeaClient
512
512
  # @option opts [Date] :min_date minimal date of the change
513
513
  # @option opts [Date] :max_date maximum date of the change
514
514
  # @option opts [String] :expand
515
- # @return [InlineResponse20013]
515
+ # @return [InlineResponse20014]
516
516
  def config_logs_get(opts = {})
517
517
  data, _status_code, _headers = config_logs_get_with_http_info(opts)
518
518
  data
@@ -526,7 +526,7 @@ module BudgeaClient
526
526
  # @option opts [Date] :min_date minimal date of the change
527
527
  # @option opts [Date] :max_date maximum date of the change
528
528
  # @option opts [String] :expand
529
- # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
529
+ # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
530
530
  def config_logs_get_with_http_info(opts = {})
531
531
  if @api_client.config.debugging
532
532
  @api_client.config.logger.debug 'Calling API: AdministrationApi.config_logs_get ...'
@@ -547,7 +547,7 @@ module BudgeaClient
547
547
  # HTTP header 'Accept' (if needed)
548
548
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
549
549
  # HTTP header 'Content-Type'
550
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
550
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
551
551
 
552
552
  # form parameters
553
553
  form_params = {}
@@ -561,7 +561,7 @@ module BudgeaClient
561
561
  :form_params => form_params,
562
562
  :body => post_body,
563
563
  :auth_names => auth_names,
564
- :return_type => 'InlineResponse20013')
564
+ :return_type => 'InlineResponse20014')
565
565
  if @api_client.config.debugging
566
566
  @api_client.config.logger.debug "API called: AdministrationApi#config_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
567
567
  end
@@ -598,7 +598,7 @@ module BudgeaClient
598
598
  # HTTP header 'Accept' (if needed)
599
599
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
600
600
  # HTTP header 'Content-Type'
601
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
601
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
602
602
 
603
603
  # form parameters
604
604
  form_params = {}
@@ -622,7 +622,7 @@ module BudgeaClient
622
622
  #
623
623
  # @param [Hash] opts the optional parameters
624
624
  # @option opts [String] :expand
625
- # @return [InlineResponse20012]
625
+ # @return [InlineResponse20013]
626
626
  def merchants_get(opts = {})
627
627
  data, _status_code, _headers = merchants_get_with_http_info(opts)
628
628
  data
@@ -632,7 +632,7 @@ module BudgeaClient
632
632
  #
633
633
  # @param [Hash] opts the optional parameters
634
634
  # @option opts [String] :expand
635
- # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
635
+ # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
636
636
  def merchants_get_with_http_info(opts = {})
637
637
  if @api_client.config.debugging
638
638
  @api_client.config.logger.debug 'Calling API: AdministrationApi.merchants_get ...'
@@ -649,7 +649,7 @@ module BudgeaClient
649
649
  # HTTP header 'Accept' (if needed)
650
650
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
651
651
  # HTTP header 'Content-Type'
652
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
652
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
653
653
 
654
654
  # form parameters
655
655
  form_params = {}
@@ -663,7 +663,7 @@ module BudgeaClient
663
663
  :form_params => form_params,
664
664
  :body => post_body,
665
665
  :auth_names => auth_names,
666
- :return_type => 'InlineResponse20012')
666
+ :return_type => 'InlineResponse20013')
667
667
  if @api_client.config.debugging
668
668
  @api_client.config.logger.debug "API called: AdministrationApi#merchants_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
669
669
  end
@@ -706,7 +706,7 @@ module BudgeaClient
706
706
  # HTTP header 'Accept' (if needed)
707
707
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
708
708
  # HTTP header 'Content-Type'
709
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
709
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
710
710
 
711
711
  # form parameters
712
712
  form_params = {}
@@ -763,7 +763,7 @@ module BudgeaClient
763
763
  # HTTP header 'Accept' (if needed)
764
764
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
765
765
  # HTTP header 'Content-Type'
766
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
766
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
767
767
 
768
768
  # form parameters
769
769
  form_params = {}
@@ -786,25 +786,25 @@ module BudgeaClient
786
786
  # Create a merchant. Needs a user identified in bearer to be used
787
787
  #
788
788
  # @param name name of merchant
789
- # @param redirect_uri regexp to check if given redirect_uri are authorized
789
+ # @param redirect_uris list of allowed redirect uris
790
790
  # @param iban payments initiated by this merchant will be done to this IBAN
791
791
  # @param [Hash] opts the optional parameters
792
792
  # @option opts [String] :expand
793
793
  # @return [Client]
794
- def merchants_post(name, redirect_uri, iban, opts = {})
795
- data, _status_code, _headers = merchants_post_with_http_info(name, redirect_uri, iban, opts)
794
+ def merchants_post(name, redirect_uris, iban, opts = {})
795
+ data, _status_code, _headers = merchants_post_with_http_info(name, redirect_uris, iban, opts)
796
796
  data
797
797
  end
798
798
 
799
799
  # Create a merchant. Needs a user identified in bearer to be used
800
800
  #
801
801
  # @param name name of merchant
802
- # @param redirect_uri regexp to check if given redirect_uri are authorized
802
+ # @param redirect_uris list of allowed redirect uris
803
803
  # @param iban payments initiated by this merchant will be done to this IBAN
804
804
  # @param [Hash] opts the optional parameters
805
805
  # @option opts [String] :expand
806
806
  # @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers
807
- def merchants_post_with_http_info(name, redirect_uri, iban, opts = {})
807
+ def merchants_post_with_http_info(name, redirect_uris, iban, opts = {})
808
808
  if @api_client.config.debugging
809
809
  @api_client.config.logger.debug 'Calling API: AdministrationApi.merchants_post ...'
810
810
  end
@@ -812,9 +812,9 @@ module BudgeaClient
812
812
  if @api_client.config.client_side_validation && name.nil?
813
813
  fail ArgumentError, "Missing the required parameter 'name' when calling AdministrationApi.merchants_post"
814
814
  end
815
- # verify the required parameter 'redirect_uri' is set
816
- if @api_client.config.client_side_validation && redirect_uri.nil?
817
- fail ArgumentError, "Missing the required parameter 'redirect_uri' when calling AdministrationApi.merchants_post"
815
+ # verify the required parameter 'redirect_uris' is set
816
+ if @api_client.config.client_side_validation && redirect_uris.nil?
817
+ fail ArgumentError, "Missing the required parameter 'redirect_uris' when calling AdministrationApi.merchants_post"
818
818
  end
819
819
  # verify the required parameter 'iban' is set
820
820
  if @api_client.config.client_side_validation && iban.nil?
@@ -832,12 +832,12 @@ module BudgeaClient
832
832
  # HTTP header 'Accept' (if needed)
833
833
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
834
834
  # HTTP header 'Content-Type'
835
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
835
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
836
836
 
837
837
  # form parameters
838
838
  form_params = {}
839
839
  form_params['name'] = name
840
- form_params['redirect_uri'] = redirect_uri
840
+ form_params['redirect_uris'] = @api_client.build_collection_param(redirect_uris, :csv)
841
841
  form_params['iban'] = iban
842
842
 
843
843
  # http body (model)
@@ -886,7 +886,7 @@ module BudgeaClient
886
886
  # HTTP header 'Accept' (if needed)
887
887
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
888
888
  # HTTP header 'Content-Type'
889
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
889
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
890
890
 
891
891
  # form parameters
892
892
  form_params = {}
@@ -933,7 +933,7 @@ module BudgeaClient
933
933
  # HTTP header 'Accept' (if needed)
934
934
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
935
935
  # HTTP header 'Content-Type'
936
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
936
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
937
937
 
938
938
  # form parameters
939
939
  form_params = {}
@@ -980,7 +980,7 @@ module BudgeaClient
980
980
  # HTTP header 'Accept' (if needed)
981
981
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
982
982
  # HTTP header 'Content-Type'
983
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
983
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
984
984
 
985
985
  # form parameters
986
986
  form_params = {}
@@ -1030,7 +1030,7 @@ module BudgeaClient
1030
1030
  # HTTP header 'Accept' (if needed)
1031
1031
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1032
1032
  # HTTP header 'Content-Type'
1033
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1033
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1034
1034
 
1035
1035
  # form parameters
1036
1036
  form_params = {}
@@ -1054,7 +1054,7 @@ module BudgeaClient
1054
1054
  #
1055
1055
  # @param [Hash] opts the optional parameters
1056
1056
  # @option opts [String] :expand
1057
- # @return [InlineResponse20039]
1057
+ # @return [InlineResponse20041]
1058
1058
  def webhooks_auth_get(opts = {})
1059
1059
  data, _status_code, _headers = webhooks_auth_get_with_http_info(opts)
1060
1060
  data
@@ -1064,7 +1064,7 @@ module BudgeaClient
1064
1064
  #
1065
1065
  # @param [Hash] opts the optional parameters
1066
1066
  # @option opts [String] :expand
1067
- # @return [Array<(InlineResponse20039, Fixnum, Hash)>] InlineResponse20039 data, response status code and response headers
1067
+ # @return [Array<(InlineResponse20041, Fixnum, Hash)>] InlineResponse20041 data, response status code and response headers
1068
1068
  def webhooks_auth_get_with_http_info(opts = {})
1069
1069
  if @api_client.config.debugging
1070
1070
  @api_client.config.logger.debug 'Calling API: AdministrationApi.webhooks_auth_get ...'
@@ -1081,7 +1081,7 @@ module BudgeaClient
1081
1081
  # HTTP header 'Accept' (if needed)
1082
1082
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1083
1083
  # HTTP header 'Content-Type'
1084
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1084
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1085
1085
 
1086
1086
  # form parameters
1087
1087
  form_params = {}
@@ -1095,7 +1095,7 @@ module BudgeaClient
1095
1095
  :form_params => form_params,
1096
1096
  :body => post_body,
1097
1097
  :auth_names => auth_names,
1098
- :return_type => 'InlineResponse20039')
1098
+ :return_type => 'InlineResponse20041')
1099
1099
  if @api_client.config.debugging
1100
1100
  @api_client.config.logger.debug "API called: AdministrationApi#webhooks_auth_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1101
1101
  end
@@ -1138,7 +1138,7 @@ module BudgeaClient
1138
1138
  # HTTP header 'Accept' (if needed)
1139
1139
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1140
1140
  # HTTP header 'Content-Type'
1141
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1141
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1142
1142
 
1143
1143
  # form parameters
1144
1144
  form_params = {}
@@ -1209,7 +1209,7 @@ module BudgeaClient
1209
1209
  # HTTP header 'Accept' (if needed)
1210
1210
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1211
1211
  # HTTP header 'Content-Type'
1212
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1212
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1213
1213
 
1214
1214
  # form parameters
1215
1215
  form_params = {}
@@ -1283,7 +1283,7 @@ module BudgeaClient
1283
1283
  # HTTP header 'Accept' (if needed)
1284
1284
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1285
1285
  # HTTP header 'Content-Type'
1286
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1286
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1287
1287
 
1288
1288
  # form parameters
1289
1289
  form_params = {}
@@ -1351,7 +1351,7 @@ module BudgeaClient
1351
1351
  # HTTP header 'Accept' (if needed)
1352
1352
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1353
1353
  # HTTP header 'Content-Type'
1354
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1354
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1355
1355
 
1356
1356
  # form parameters
1357
1357
  form_params = {}
@@ -1405,7 +1405,7 @@ module BudgeaClient
1405
1405
  # HTTP header 'Accept' (if needed)
1406
1406
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1407
1407
  # HTTP header 'Content-Type'
1408
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1408
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1409
1409
 
1410
1410
  # form parameters
1411
1411
  form_params = {}
@@ -1429,7 +1429,7 @@ module BudgeaClient
1429
1429
  #
1430
1430
  # @param [Hash] opts the optional parameters
1431
1431
  # @option opts [String] :expand
1432
- # @return [InlineResponse20038]
1432
+ # @return [InlineResponse20040]
1433
1433
  def webhooks_get(opts = {})
1434
1434
  data, _status_code, _headers = webhooks_get_with_http_info(opts)
1435
1435
  data
@@ -1439,7 +1439,7 @@ module BudgeaClient
1439
1439
  #
1440
1440
  # @param [Hash] opts the optional parameters
1441
1441
  # @option opts [String] :expand
1442
- # @return [Array<(InlineResponse20038, Fixnum, Hash)>] InlineResponse20038 data, response status code and response headers
1442
+ # @return [Array<(InlineResponse20040, Fixnum, Hash)>] InlineResponse20040 data, response status code and response headers
1443
1443
  def webhooks_get_with_http_info(opts = {})
1444
1444
  if @api_client.config.debugging
1445
1445
  @api_client.config.logger.debug 'Calling API: AdministrationApi.webhooks_get ...'
@@ -1456,7 +1456,7 @@ module BudgeaClient
1456
1456
  # HTTP header 'Accept' (if needed)
1457
1457
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1458
1458
  # HTTP header 'Content-Type'
1459
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1459
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1460
1460
 
1461
1461
  # form parameters
1462
1462
  form_params = {}
@@ -1470,27 +1470,86 @@ module BudgeaClient
1470
1470
  :form_params => form_params,
1471
1471
  :body => post_body,
1472
1472
  :auth_names => auth_names,
1473
- :return_type => 'InlineResponse20038')
1473
+ :return_type => 'InlineResponse20040')
1474
1474
  if @api_client.config.debugging
1475
1475
  @api_client.config.logger.debug "API called: AdministrationApi#webhooks_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1476
1476
  end
1477
1477
  return data, status_code, headers
1478
1478
  end
1479
+ # delete all entries
1480
+ #
1481
+ # @param id_webhook
1482
+ # @param [Hash] opts the optional parameters
1483
+ # @option opts [String] :expand
1484
+ # @return [Webhook]
1485
+ def webhooks_id_webhook_add_to_data_delete(id_webhook, opts = {})
1486
+ data, _status_code, _headers = webhooks_id_webhook_add_to_data_delete_with_http_info(id_webhook, opts)
1487
+ data
1488
+ end
1489
+
1490
+ # delete all entries
1491
+ #
1492
+ # @param id_webhook
1493
+ # @param [Hash] opts the optional parameters
1494
+ # @option opts [String] :expand
1495
+ # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
1496
+ def webhooks_id_webhook_add_to_data_delete_with_http_info(id_webhook, opts = {})
1497
+ if @api_client.config.debugging
1498
+ @api_client.config.logger.debug 'Calling API: AdministrationApi.webhooks_id_webhook_add_to_data_delete ...'
1499
+ end
1500
+ # verify the required parameter 'id_webhook' is set
1501
+ if @api_client.config.client_side_validation && id_webhook.nil?
1502
+ fail ArgumentError, "Missing the required parameter 'id_webhook' when calling AdministrationApi.webhooks_id_webhook_add_to_data_delete"
1503
+ end
1504
+ # resource path
1505
+ local_var_path = '/webhooks/{id_webhook}/add_to_data'.sub('{' + 'id_webhook' + '}', id_webhook.to_s)
1506
+
1507
+ # query parameters
1508
+ query_params = {}
1509
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1510
+
1511
+ # header parameters
1512
+ header_params = {}
1513
+ # HTTP header 'Accept' (if needed)
1514
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1515
+ # HTTP header 'Content-Type'
1516
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1517
+
1518
+ # form parameters
1519
+ form_params = {}
1520
+
1521
+ # http body (model)
1522
+ post_body = nil
1523
+ auth_names = ['api_key']
1524
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1525
+ :header_params => header_params,
1526
+ :query_params => query_params,
1527
+ :form_params => form_params,
1528
+ :body => post_body,
1529
+ :auth_names => auth_names,
1530
+ :return_type => 'Webhook')
1531
+ if @api_client.config.debugging
1532
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_id_webhook_add_to_data_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1533
+ end
1534
+ return data, status_code, headers
1535
+ end
1479
1536
  # retrieve the list of the value to add in webhooks when sending the requested webhook
1480
1537
  #
1481
1538
  # @param id_webhook
1482
1539
  # @param [Hash] opts the optional parameters
1483
- # @return [nil]
1540
+ # @option opts [String] :expand
1541
+ # @return [InlineResponse20040]
1484
1542
  def webhooks_id_webhook_add_to_data_get(id_webhook, opts = {})
1485
- webhooks_id_webhook_add_to_data_get_with_http_info(id_webhook, opts)
1486
- nil
1543
+ data, _status_code, _headers = webhooks_id_webhook_add_to_data_get_with_http_info(id_webhook, opts)
1544
+ data
1487
1545
  end
1488
1546
 
1489
1547
  # retrieve the list of the value to add in webhooks when sending the requested webhook
1490
1548
  #
1491
1549
  # @param id_webhook
1492
1550
  # @param [Hash] opts the optional parameters
1493
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1551
+ # @option opts [String] :expand
1552
+ # @return [Array<(InlineResponse20040, Fixnum, Hash)>] InlineResponse20040 data, response status code and response headers
1494
1553
  def webhooks_id_webhook_add_to_data_get_with_http_info(id_webhook, opts = {})
1495
1554
  if @api_client.config.debugging
1496
1555
  @api_client.config.logger.debug 'Calling API: AdministrationApi.webhooks_id_webhook_add_to_data_get ...'
@@ -1504,13 +1563,14 @@ module BudgeaClient
1504
1563
 
1505
1564
  # query parameters
1506
1565
  query_params = {}
1566
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1507
1567
 
1508
1568
  # header parameters
1509
1569
  header_params = {}
1510
1570
  # HTTP header 'Accept' (if needed)
1511
1571
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1512
1572
  # HTTP header 'Content-Type'
1513
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1573
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1514
1574
 
1515
1575
  # form parameters
1516
1576
  form_params = {}
@@ -1523,12 +1583,259 @@ module BudgeaClient
1523
1583
  :query_params => query_params,
1524
1584
  :form_params => form_params,
1525
1585
  :body => post_body,
1526
- :auth_names => auth_names)
1586
+ :auth_names => auth_names,
1587
+ :return_type => 'InlineResponse20040')
1527
1588
  if @api_client.config.debugging
1528
1589
  @api_client.config.logger.debug "API called: AdministrationApi#webhooks_id_webhook_add_to_data_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1529
1590
  end
1530
1591
  return data, status_code, headers
1531
1592
  end
1593
+ # delete the requested entry
1594
+ #
1595
+ # @param id_webhook
1596
+ # @param key
1597
+ # @param [Hash] opts the optional parameters
1598
+ # @option opts [String] :expand
1599
+ # @return [Webhook]
1600
+ def webhooks_id_webhook_add_to_data_key_delete(id_webhook, key, opts = {})
1601
+ data, _status_code, _headers = webhooks_id_webhook_add_to_data_key_delete_with_http_info(id_webhook, key, opts)
1602
+ data
1603
+ end
1604
+
1605
+ # delete the requested entry
1606
+ #
1607
+ # @param id_webhook
1608
+ # @param key
1609
+ # @param [Hash] opts the optional parameters
1610
+ # @option opts [String] :expand
1611
+ # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
1612
+ def webhooks_id_webhook_add_to_data_key_delete_with_http_info(id_webhook, key, opts = {})
1613
+ if @api_client.config.debugging
1614
+ @api_client.config.logger.debug 'Calling API: AdministrationApi.webhooks_id_webhook_add_to_data_key_delete ...'
1615
+ end
1616
+ # verify the required parameter 'id_webhook' is set
1617
+ if @api_client.config.client_side_validation && id_webhook.nil?
1618
+ fail ArgumentError, "Missing the required parameter 'id_webhook' when calling AdministrationApi.webhooks_id_webhook_add_to_data_key_delete"
1619
+ end
1620
+ # verify the required parameter 'key' is set
1621
+ if @api_client.config.client_side_validation && key.nil?
1622
+ fail ArgumentError, "Missing the required parameter 'key' when calling AdministrationApi.webhooks_id_webhook_add_to_data_key_delete"
1623
+ end
1624
+ # resource path
1625
+ local_var_path = '/webhooks/{id_webhook}/add_to_data/{key}'.sub('{' + 'id_webhook' + '}', id_webhook.to_s).sub('{' + 'key' + '}', key.to_s)
1626
+
1627
+ # query parameters
1628
+ query_params = {}
1629
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1630
+
1631
+ # header parameters
1632
+ header_params = {}
1633
+ # HTTP header 'Accept' (if needed)
1634
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1635
+ # HTTP header 'Content-Type'
1636
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1637
+
1638
+ # form parameters
1639
+ form_params = {}
1640
+
1641
+ # http body (model)
1642
+ post_body = nil
1643
+ auth_names = ['api_key']
1644
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1645
+ :header_params => header_params,
1646
+ :query_params => query_params,
1647
+ :form_params => form_params,
1648
+ :body => post_body,
1649
+ :auth_names => auth_names,
1650
+ :return_type => 'Webhook')
1651
+ if @api_client.config.debugging
1652
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_id_webhook_add_to_data_key_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1653
+ end
1654
+ return data, status_code, headers
1655
+ end
1656
+ # retrieve the value to add in the requested webhook for the requested name
1657
+ #
1658
+ # @param id_webhook
1659
+ # @param key
1660
+ # @param [Hash] opts the optional parameters
1661
+ # @option opts [String] :expand
1662
+ # @return [Webhook]
1663
+ def webhooks_id_webhook_add_to_data_key_get(id_webhook, key, opts = {})
1664
+ data, _status_code, _headers = webhooks_id_webhook_add_to_data_key_get_with_http_info(id_webhook, key, opts)
1665
+ data
1666
+ end
1667
+
1668
+ # retrieve the value to add in the requested webhook for the requested name
1669
+ #
1670
+ # @param id_webhook
1671
+ # @param key
1672
+ # @param [Hash] opts the optional parameters
1673
+ # @option opts [String] :expand
1674
+ # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
1675
+ def webhooks_id_webhook_add_to_data_key_get_with_http_info(id_webhook, key, opts = {})
1676
+ if @api_client.config.debugging
1677
+ @api_client.config.logger.debug 'Calling API: AdministrationApi.webhooks_id_webhook_add_to_data_key_get ...'
1678
+ end
1679
+ # verify the required parameter 'id_webhook' is set
1680
+ if @api_client.config.client_side_validation && id_webhook.nil?
1681
+ fail ArgumentError, "Missing the required parameter 'id_webhook' when calling AdministrationApi.webhooks_id_webhook_add_to_data_key_get"
1682
+ end
1683
+ # verify the required parameter 'key' is set
1684
+ if @api_client.config.client_side_validation && key.nil?
1685
+ fail ArgumentError, "Missing the required parameter 'key' when calling AdministrationApi.webhooks_id_webhook_add_to_data_key_get"
1686
+ end
1687
+ # resource path
1688
+ local_var_path = '/webhooks/{id_webhook}/add_to_data/{key}'.sub('{' + 'id_webhook' + '}', id_webhook.to_s).sub('{' + 'key' + '}', key.to_s)
1689
+
1690
+ # query parameters
1691
+ query_params = {}
1692
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1693
+
1694
+ # header parameters
1695
+ header_params = {}
1696
+ # HTTP header 'Accept' (if needed)
1697
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1698
+ # HTTP header 'Content-Type'
1699
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1700
+
1701
+ # form parameters
1702
+ form_params = {}
1703
+
1704
+ # http body (model)
1705
+ post_body = nil
1706
+ auth_names = ['api_key']
1707
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1708
+ :header_params => header_params,
1709
+ :query_params => query_params,
1710
+ :form_params => form_params,
1711
+ :body => post_body,
1712
+ :auth_names => auth_names,
1713
+ :return_type => 'Webhook')
1714
+ if @api_client.config.debugging
1715
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_id_webhook_add_to_data_key_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1716
+ end
1717
+ return data, status_code, headers
1718
+ end
1719
+ # upate the requested field to store in user config when calling the endpoint
1720
+ # For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.<br><br>
1721
+ # @param id_webhook
1722
+ # @param key
1723
+ # @param [Hash] opts the optional parameters
1724
+ # @option opts [String] :expand
1725
+ # @return [Webhook]
1726
+ def webhooks_id_webhook_add_to_data_key_post(id_webhook, key, opts = {})
1727
+ data, _status_code, _headers = webhooks_id_webhook_add_to_data_key_post_with_http_info(id_webhook, key, opts)
1728
+ data
1729
+ end
1730
+
1731
+ # upate the requested field to store in user config when calling the endpoint
1732
+ # For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.&lt;br&gt;&lt;br&gt;
1733
+ # @param id_webhook
1734
+ # @param key
1735
+ # @param [Hash] opts the optional parameters
1736
+ # @option opts [String] :expand
1737
+ # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
1738
+ def webhooks_id_webhook_add_to_data_key_post_with_http_info(id_webhook, key, opts = {})
1739
+ if @api_client.config.debugging
1740
+ @api_client.config.logger.debug 'Calling API: AdministrationApi.webhooks_id_webhook_add_to_data_key_post ...'
1741
+ end
1742
+ # verify the required parameter 'id_webhook' is set
1743
+ if @api_client.config.client_side_validation && id_webhook.nil?
1744
+ fail ArgumentError, "Missing the required parameter 'id_webhook' when calling AdministrationApi.webhooks_id_webhook_add_to_data_key_post"
1745
+ end
1746
+ # verify the required parameter 'key' is set
1747
+ if @api_client.config.client_side_validation && key.nil?
1748
+ fail ArgumentError, "Missing the required parameter 'key' when calling AdministrationApi.webhooks_id_webhook_add_to_data_key_post"
1749
+ end
1750
+ # resource path
1751
+ local_var_path = '/webhooks/{id_webhook}/add_to_data/{key}'.sub('{' + 'id_webhook' + '}', id_webhook.to_s).sub('{' + 'key' + '}', key.to_s)
1752
+
1753
+ # query parameters
1754
+ query_params = {}
1755
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1756
+
1757
+ # header parameters
1758
+ header_params = {}
1759
+ # HTTP header 'Accept' (if needed)
1760
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1761
+ # HTTP header 'Content-Type'
1762
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1763
+
1764
+ # form parameters
1765
+ form_params = {}
1766
+
1767
+ # http body (model)
1768
+ post_body = nil
1769
+ auth_names = ['api_key']
1770
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1771
+ :header_params => header_params,
1772
+ :query_params => query_params,
1773
+ :form_params => form_params,
1774
+ :body => post_body,
1775
+ :auth_names => auth_names,
1776
+ :return_type => 'Webhook')
1777
+ if @api_client.config.debugging
1778
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_id_webhook_add_to_data_key_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1779
+ end
1780
+ return data, status_code, headers
1781
+ end
1782
+ # Setup a field to store in user config when calling the endpoint
1783
+ # For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.<br><br>
1784
+ # @param id_webhook
1785
+ # @param [Hash] opts the optional parameters
1786
+ # @option opts [String] :expand
1787
+ # @return [Webhook]
1788
+ def webhooks_id_webhook_add_to_data_post(id_webhook, opts = {})
1789
+ data, _status_code, _headers = webhooks_id_webhook_add_to_data_post_with_http_info(id_webhook, opts)
1790
+ data
1791
+ end
1792
+
1793
+ # Setup a field to store in user config when calling the endpoint
1794
+ # For each parameter, a value will be added in the webhook data. Use the key to set the name of the field. The values that can be added are to be found in the user configuration.&lt;br&gt;&lt;br&gt;
1795
+ # @param id_webhook
1796
+ # @param [Hash] opts the optional parameters
1797
+ # @option opts [String] :expand
1798
+ # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
1799
+ def webhooks_id_webhook_add_to_data_post_with_http_info(id_webhook, opts = {})
1800
+ if @api_client.config.debugging
1801
+ @api_client.config.logger.debug 'Calling API: AdministrationApi.webhooks_id_webhook_add_to_data_post ...'
1802
+ end
1803
+ # verify the required parameter 'id_webhook' is set
1804
+ if @api_client.config.client_side_validation && id_webhook.nil?
1805
+ fail ArgumentError, "Missing the required parameter 'id_webhook' when calling AdministrationApi.webhooks_id_webhook_add_to_data_post"
1806
+ end
1807
+ # resource path
1808
+ local_var_path = '/webhooks/{id_webhook}/add_to_data'.sub('{' + 'id_webhook' + '}', id_webhook.to_s)
1809
+
1810
+ # query parameters
1811
+ query_params = {}
1812
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1813
+
1814
+ # header parameters
1815
+ header_params = {}
1816
+ # HTTP header 'Accept' (if needed)
1817
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1818
+ # HTTP header 'Content-Type'
1819
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1820
+
1821
+ # form parameters
1822
+ form_params = {}
1823
+
1824
+ # http body (model)
1825
+ post_body = nil
1826
+ auth_names = ['api_key']
1827
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1828
+ :header_params => header_params,
1829
+ :query_params => query_params,
1830
+ :form_params => form_params,
1831
+ :body => post_body,
1832
+ :auth_names => auth_names,
1833
+ :return_type => 'Webhook')
1834
+ if @api_client.config.debugging
1835
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_id_webhook_add_to_data_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1836
+ end
1837
+ return data, status_code, headers
1838
+ end
1532
1839
  # Deletes a webhook
1533
1840
  # Updates the deleted field with the date of the deletion<br><br>
1534
1841
  # @param id_webhook
@@ -1566,7 +1873,7 @@ module BudgeaClient
1566
1873
  # HTTP header 'Accept' (if needed)
1567
1874
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1568
1875
  # HTTP header 'Content-Type'
1569
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1876
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1570
1877
 
1571
1878
  # form parameters
1572
1879
  form_params = {}
@@ -1590,12 +1897,13 @@ module BudgeaClient
1590
1897
  # 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>
1591
1898
  # @param id_webhook
1592
1899
  # @param [Hash] opts the optional parameters
1900
+ # @option opts [Integer] :id_user limit number of results to this user
1593
1901
  # @option opts [Integer] :limit limit number of results
1594
1902
  # @option opts [Integer] :offset offset of first result
1595
1903
  # @option opts [Date] :min_date minimal (inclusive) date
1596
1904
  # @option opts [Date] :max_date maximum (inclusive) date
1597
1905
  # @option opts [String] :expand
1598
- # @return [InlineResponse20040]
1906
+ # @return [InlineResponse20042]
1599
1907
  def webhooks_id_webhook_logs_get(id_webhook, opts = {})
1600
1908
  data, _status_code, _headers = webhooks_id_webhook_logs_get_with_http_info(id_webhook, opts)
1601
1909
  data
@@ -1605,12 +1913,13 @@ module BudgeaClient
1605
1913
  # Get logs of the webhooks.&lt;br&gt;&lt;br&gt;By default, it selects logs for the last month. You can use \&quot;min_date\&quot; and \&quot;max_date\&quot; to change boundary dates.&lt;br&gt;&lt;br&gt;
1606
1914
  # @param id_webhook
1607
1915
  # @param [Hash] opts the optional parameters
1916
+ # @option opts [Integer] :id_user limit number of results to this user
1608
1917
  # @option opts [Integer] :limit limit number of results
1609
1918
  # @option opts [Integer] :offset offset of first result
1610
1919
  # @option opts [Date] :min_date minimal (inclusive) date
1611
1920
  # @option opts [Date] :max_date maximum (inclusive) date
1612
1921
  # @option opts [String] :expand
1613
- # @return [Array<(InlineResponse20040, Fixnum, Hash)>] InlineResponse20040 data, response status code and response headers
1922
+ # @return [Array<(InlineResponse20042, Fixnum, Hash)>] InlineResponse20042 data, response status code and response headers
1614
1923
  def webhooks_id_webhook_logs_get_with_http_info(id_webhook, opts = {})
1615
1924
  if @api_client.config.debugging
1616
1925
  @api_client.config.logger.debug 'Calling API: AdministrationApi.webhooks_id_webhook_logs_get ...'
@@ -1624,6 +1933,7 @@ module BudgeaClient
1624
1933
 
1625
1934
  # query parameters
1626
1935
  query_params = {}
1936
+ query_params[:'id_user'] = opts[:'id_user'] if !opts[:'id_user'].nil?
1627
1937
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
1628
1938
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
1629
1939
  query_params[:'min_date'] = opts[:'min_date'] if !opts[:'min_date'].nil?
@@ -1635,7 +1945,7 @@ module BudgeaClient
1635
1945
  # HTTP header 'Accept' (if needed)
1636
1946
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1637
1947
  # HTTP header 'Content-Type'
1638
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1948
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1639
1949
 
1640
1950
  # form parameters
1641
1951
  form_params = {}
@@ -1649,7 +1959,7 @@ module BudgeaClient
1649
1959
  :form_params => form_params,
1650
1960
  :body => post_body,
1651
1961
  :auth_names => auth_names,
1652
- :return_type => 'InlineResponse20040')
1962
+ :return_type => 'InlineResponse20042')
1653
1963
  if @api_client.config.debugging
1654
1964
  @api_client.config.logger.debug "API called: AdministrationApi#webhooks_id_webhook_logs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1655
1965
  end
@@ -1704,7 +2014,7 @@ module BudgeaClient
1704
2014
  # HTTP header 'Accept' (if needed)
1705
2015
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1706
2016
  # HTTP header 'Content-Type'
1707
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2017
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1708
2018
 
1709
2019
  # form parameters
1710
2020
  form_params = {}
@@ -1779,7 +2089,7 @@ module BudgeaClient
1779
2089
  # HTTP header 'Accept' (if needed)
1780
2090
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1781
2091
  # HTTP header 'Content-Type'
1782
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2092
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1783
2093
 
1784
2094
  # form parameters
1785
2095
  form_params = {}
@@ -1848,7 +2158,7 @@ module BudgeaClient
1848
2158
  # HTTP header 'Accept' (if needed)
1849
2159
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1850
2160
  # HTTP header 'Content-Type'
1851
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
2161
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1852
2162
 
1853
2163
  # form parameters
1854
2164
  form_params = {}