budgea_client 5.0.0 → 5.1.2

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 (159) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +19 -6
  5. data/budgea_openapi.json +1690 -1377
  6. data/config.json +1 -1
  7. data/docs/Account.md +1 -0
  8. data/docs/AdministrationApi.md +48 -48
  9. data/docs/AuthenticationApi.md +9 -9
  10. data/docs/BanksApi.md +392 -145
  11. data/docs/Connection.md +3 -0
  12. data/docs/ConnectionsApi.md +277 -30
  13. data/docs/DocumentsApi.md +48 -48
  14. data/docs/InlineResponse20016.md +1 -1
  15. data/docs/InlineResponse20017.md +1 -1
  16. data/docs/InlineResponse20018.md +1 -1
  17. data/docs/InlineResponse20019.md +1 -1
  18. data/docs/InlineResponse20020.md +1 -1
  19. data/docs/InlineResponse20021.md +1 -1
  20. data/docs/InlineResponse20022.md +1 -1
  21. data/docs/InlineResponse20023.md +1 -1
  22. data/docs/InlineResponse20024.md +1 -1
  23. data/docs/InlineResponse20025.md +1 -1
  24. data/docs/InlineResponse20026.md +1 -1
  25. data/docs/InlineResponse20027.md +1 -1
  26. data/docs/InlineResponse20028.md +1 -1
  27. data/docs/InlineResponse20029.md +1 -1
  28. data/docs/InlineResponse20030.md +1 -1
  29. data/docs/OIDCApi.md +3 -3
  30. data/docs/PFMApi.md +42 -42
  31. data/docs/ProvidersApi.md +343 -96
  32. data/docs/RecipientsApi.md +4 -4
  33. data/docs/TermsApi.md +74 -9
  34. data/docs/TransferApi.md +1 -1
  35. data/docs/TransfersApi.md +63 -63
  36. data/docs/UsersManagementApi.md +13 -13
  37. data/docs/WealthApi.md +75 -59
  38. data/lib/budgea_client/api/administration_api.rb +49 -49
  39. data/lib/budgea_client/api/authentication_api.rb +9 -9
  40. data/lib/budgea_client/api/banks_api.rb +403 -154
  41. data/lib/budgea_client/api/connections_api.rb +282 -33
  42. data/lib/budgea_client/api/documents_api.rb +49 -49
  43. data/lib/budgea_client/api/oidc_api.rb +3 -3
  44. data/lib/budgea_client/api/pfm_api.rb +44 -44
  45. data/lib/budgea_client/api/providers_api.rb +349 -100
  46. data/lib/budgea_client/api/recipients_api.rb +4 -4
  47. data/lib/budgea_client/api/terms_api.rb +77 -11
  48. data/lib/budgea_client/api/transfer_api.rb +1 -1
  49. data/lib/budgea_client/api/transfers_api.rb +75 -75
  50. data/lib/budgea_client/api/users_management_api.rb +14 -14
  51. data/lib/budgea_client/api/wealth_api.rb +99 -75
  52. data/lib/budgea_client/api_client.rb +2 -0
  53. data/lib/budgea_client/models/access.rb +2 -1
  54. data/lib/budgea_client/models/account.rb +14 -2
  55. data/lib/budgea_client/models/account_log.rb +2 -1
  56. data/lib/budgea_client/models/account_type.rb +2 -1
  57. data/lib/budgea_client/models/alert.rb +2 -1
  58. data/lib/budgea_client/models/auth_provider.rb +2 -1
  59. data/lib/budgea_client/models/category.rb +2 -1
  60. data/lib/budgea_client/models/certificate.rb +2 -1
  61. data/lib/budgea_client/models/client.rb +2 -1
  62. data/lib/budgea_client/models/config_log.rb +2 -1
  63. data/lib/budgea_client/models/connection.rb +70 -5
  64. data/lib/budgea_client/models/connection_log.rb +2 -1
  65. data/lib/budgea_client/models/connection_source.rb +2 -1
  66. data/lib/budgea_client/models/connector.rb +2 -1
  67. data/lib/budgea_client/models/connector_category.rb +2 -1
  68. data/lib/budgea_client/models/connector_logo.rb +2 -1
  69. data/lib/budgea_client/models/connector_source.rb +2 -1
  70. data/lib/budgea_client/models/currency.rb +2 -1
  71. data/lib/budgea_client/models/device.rb +2 -1
  72. data/lib/budgea_client/models/document.rb +2 -1
  73. data/lib/budgea_client/models/document_type.rb +2 -1
  74. data/lib/budgea_client/models/field.rb +2 -1
  75. data/lib/budgea_client/models/field_value.rb +2 -1
  76. data/lib/budgea_client/models/file.rb +2 -1
  77. data/lib/budgea_client/models/group.rb +2 -1
  78. data/lib/budgea_client/models/hash_table.rb +2 -1
  79. data/lib/budgea_client/models/inline_response_200.rb +2 -1
  80. data/lib/budgea_client/models/inline_response_200_1.rb +2 -1
  81. data/lib/budgea_client/models/inline_response_200_10.rb +2 -1
  82. data/lib/budgea_client/models/inline_response_200_11.rb +2 -1
  83. data/lib/budgea_client/models/inline_response_200_12.rb +2 -1
  84. data/lib/budgea_client/models/inline_response_200_13.rb +2 -1
  85. data/lib/budgea_client/models/inline_response_200_14.rb +2 -1
  86. data/lib/budgea_client/models/inline_response_200_15.rb +2 -1
  87. data/lib/budgea_client/models/inline_response_200_16.rb +13 -12
  88. data/lib/budgea_client/models/inline_response_200_17.rb +20 -19
  89. data/lib/budgea_client/models/inline_response_200_18.rb +20 -19
  90. data/lib/budgea_client/models/inline_response_200_19.rb +20 -19
  91. data/lib/budgea_client/models/inline_response_200_2.rb +2 -1
  92. data/lib/budgea_client/models/inline_response_200_20.rb +20 -19
  93. data/lib/budgea_client/models/inline_response_200_21.rb +20 -19
  94. data/lib/budgea_client/models/inline_response_200_22.rb +13 -12
  95. data/lib/budgea_client/models/inline_response_200_23.rb +13 -12
  96. data/lib/budgea_client/models/inline_response_200_24.rb +20 -19
  97. data/lib/budgea_client/models/inline_response_200_25.rb +20 -19
  98. data/lib/budgea_client/models/inline_response_200_26.rb +13 -12
  99. data/lib/budgea_client/models/inline_response_200_27.rb +13 -12
  100. data/lib/budgea_client/models/inline_response_200_28.rb +13 -12
  101. data/lib/budgea_client/models/inline_response_200_29.rb +20 -19
  102. data/lib/budgea_client/models/inline_response_200_3.rb +2 -1
  103. data/lib/budgea_client/models/inline_response_200_30.rb +13 -12
  104. data/lib/budgea_client/models/inline_response_200_31.rb +2 -1
  105. data/lib/budgea_client/models/inline_response_200_32.rb +2 -1
  106. data/lib/budgea_client/models/inline_response_200_33.rb +2 -1
  107. data/lib/budgea_client/models/inline_response_200_34.rb +2 -1
  108. data/lib/budgea_client/models/inline_response_200_35.rb +2 -1
  109. data/lib/budgea_client/models/inline_response_200_36.rb +2 -1
  110. data/lib/budgea_client/models/inline_response_200_37.rb +2 -1
  111. data/lib/budgea_client/models/inline_response_200_38.rb +2 -1
  112. data/lib/budgea_client/models/inline_response_200_39.rb +2 -1
  113. data/lib/budgea_client/models/inline_response_200_4.rb +2 -1
  114. data/lib/budgea_client/models/inline_response_200_40.rb +2 -1
  115. data/lib/budgea_client/models/inline_response_200_41.rb +2 -1
  116. data/lib/budgea_client/models/inline_response_200_42.rb +2 -1
  117. data/lib/budgea_client/models/inline_response_200_5.rb +2 -1
  118. data/lib/budgea_client/models/inline_response_200_6.rb +2 -1
  119. data/lib/budgea_client/models/inline_response_200_7.rb +2 -1
  120. data/lib/budgea_client/models/inline_response_200_8.rb +2 -1
  121. data/lib/budgea_client/models/inline_response_200_9.rb +2 -1
  122. data/lib/budgea_client/models/investment.rb +2 -1
  123. data/lib/budgea_client/models/investment_value.rb +2 -1
  124. data/lib/budgea_client/models/keyword.rb +2 -1
  125. data/lib/budgea_client/models/locked_user.rb +2 -1
  126. data/lib/budgea_client/models/oidc_whitelist.rb +2 -1
  127. data/lib/budgea_client/models/order.rb +2 -1
  128. data/lib/budgea_client/models/pocket.rb +2 -1
  129. data/lib/budgea_client/models/profile.rb +2 -1
  130. data/lib/budgea_client/models/project.rb +2 -1
  131. data/lib/budgea_client/models/project_type.rb +2 -1
  132. data/lib/budgea_client/models/recipient.rb +2 -1
  133. data/lib/budgea_client/models/recipient_log.rb +2 -1
  134. data/lib/budgea_client/models/security.rb +2 -1
  135. data/lib/budgea_client/models/subscription.rb +2 -1
  136. data/lib/budgea_client/models/subscription_log.rb +2 -1
  137. data/lib/budgea_client/models/terms_of_service.rb +2 -1
  138. data/lib/budgea_client/models/transaction.rb +2 -1
  139. data/lib/budgea_client/models/transaction_information.rb +2 -1
  140. data/lib/budgea_client/models/transactions_cluster.rb +2 -1
  141. data/lib/budgea_client/models/transfer.rb +2 -1
  142. data/lib/budgea_client/models/transfer_log.rb +2 -1
  143. data/lib/budgea_client/models/user.rb +2 -1
  144. data/lib/budgea_client/models/user_alert.rb +2 -1
  145. data/lib/budgea_client/models/webhook.rb +2 -1
  146. data/lib/budgea_client/models/webhook_data.rb +2 -1
  147. data/lib/budgea_client/models/webhook_log.rb +2 -1
  148. data/lib/budgea_client/version.rb +1 -1
  149. data/original_budgea_openapi.json +1559 -1474
  150. data/pkg/budgea_client-5.1.2.gem +0 -0
  151. data/spec/.!78900!.DS_Store +0 -0
  152. data/spec/.!79301!.DS_Store +0 -0
  153. data/spec/.!79684!.DS_Store +0 -0
  154. data/spec/.!83764!.DS_Store +0 -0
  155. data/spec/.DS_Store +0 -0
  156. metadata +9 -7
  157. data/pkg/budgea_client-2.0.0.gem +0 -0
  158. data/pkg/budgea_client-3.0.1.gem +0 -0
  159. data/pkg/budgea_client-4.0.0.gem +0 -0
@@ -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/json', 'multipart/form-data'])
53
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
54
54
 
55
55
  # form parameters
56
56
  form_params = {}
@@ -116,7 +116,7 @@ module BudgeaClient
116
116
  # HTTP header 'Accept' (if needed)
117
117
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
118
118
  # HTTP header 'Content-Type'
119
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
119
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
120
120
 
121
121
  # form parameters
122
122
  form_params = {}
@@ -173,7 +173,7 @@ module BudgeaClient
173
173
  # HTTP header 'Accept' (if needed)
174
174
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
175
175
  # HTTP header 'Content-Type'
176
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
176
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
177
177
 
178
178
  # form parameters
179
179
  form_params = {}
@@ -224,7 +224,7 @@ module BudgeaClient
224
224
  # HTTP header 'Accept' (if needed)
225
225
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
226
226
  # HTTP header 'Content-Type'
227
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
227
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
228
228
 
229
229
  # form parameters
230
230
  form_params = {}
@@ -314,7 +314,7 @@ module BudgeaClient
314
314
  # HTTP header 'Accept' (if needed)
315
315
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
316
316
  # HTTP header 'Content-Type'
317
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
317
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
318
318
 
319
319
  # form parameters
320
320
  form_params = {}
@@ -334,11 +334,257 @@ module BudgeaClient
334
334
  end
335
335
  return data, status_code, headers
336
336
  end
337
- # Get list of connectors
337
+ # Get connection sources
338
338
  #
339
+ # @param id_connection
339
340
  # @param [Hash] opts the optional parameters
340
341
  # @option opts [String] :expand
341
342
  # @return [InlineResponse20016]
343
+ def connections_id_connection_sources_get(id_connection, opts = {})
344
+ data, _status_code, _headers = connections_id_connection_sources_get_with_http_info(id_connection, opts)
345
+ data
346
+ end
347
+
348
+ # Get connection sources
349
+ #
350
+ # @param id_connection
351
+ # @param [Hash] opts the optional parameters
352
+ # @option opts [String] :expand
353
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
354
+ def connections_id_connection_sources_get_with_http_info(id_connection, opts = {})
355
+ if @api_client.config.debugging
356
+ @api_client.config.logger.debug 'Calling API: ConnectionsApi.connections_id_connection_sources_get ...'
357
+ end
358
+ # verify the required parameter 'id_connection' is set
359
+ if @api_client.config.client_side_validation && id_connection.nil?
360
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.connections_id_connection_sources_get"
361
+ end
362
+ # resource path
363
+ local_var_path = '/connections/{id_connection}/sources'.sub('{' + 'id_connection' + '}', id_connection.to_s)
364
+
365
+ # query parameters
366
+ query_params = {}
367
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
368
+
369
+ # header parameters
370
+ header_params = {}
371
+ # HTTP header 'Accept' (if needed)
372
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
373
+ # HTTP header 'Content-Type'
374
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
375
+
376
+ # form parameters
377
+ form_params = {}
378
+
379
+ # http body (model)
380
+ post_body = nil
381
+ auth_names = ['api_key']
382
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
383
+ :header_params => header_params,
384
+ :query_params => query_params,
385
+ :form_params => form_params,
386
+ :body => post_body,
387
+ :auth_names => auth_names,
388
+ :return_type => 'InlineResponse20016')
389
+ if @api_client.config.debugging
390
+ @api_client.config.logger.debug "API called: ConnectionsApi#connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
391
+ end
392
+ return data, status_code, headers
393
+ end
394
+ # Disable a connection source
395
+ # This will make it so the specified source will not be synchronized anymore.<br><br>
396
+ # @param id_connection
397
+ # @param id_source
398
+ # @param [Hash] opts the optional parameters
399
+ # @option opts [String] :expand
400
+ # @return [ConnectionSource]
401
+ def connections_id_connection_sources_id_source_delete(id_connection, id_source, opts = {})
402
+ data, _status_code, _headers = connections_id_connection_sources_id_source_delete_with_http_info(id_connection, id_source, opts)
403
+ data
404
+ end
405
+
406
+ # Disable a connection source
407
+ # This will make it so the specified source will not be synchronized anymore.&lt;br&gt;&lt;br&gt;
408
+ # @param id_connection
409
+ # @param id_source
410
+ # @param [Hash] opts the optional parameters
411
+ # @option opts [String] :expand
412
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
413
+ def connections_id_connection_sources_id_source_delete_with_http_info(id_connection, id_source, opts = {})
414
+ if @api_client.config.debugging
415
+ @api_client.config.logger.debug 'Calling API: ConnectionsApi.connections_id_connection_sources_id_source_delete ...'
416
+ end
417
+ # verify the required parameter 'id_connection' is set
418
+ if @api_client.config.client_side_validation && id_connection.nil?
419
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.connections_id_connection_sources_id_source_delete"
420
+ end
421
+ # verify the required parameter 'id_source' is set
422
+ if @api_client.config.client_side_validation && id_source.nil?
423
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ConnectionsApi.connections_id_connection_sources_id_source_delete"
424
+ end
425
+ # resource path
426
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
427
+
428
+ # query parameters
429
+ query_params = {}
430
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
431
+
432
+ # header parameters
433
+ header_params = {}
434
+ # HTTP header 'Accept' (if needed)
435
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
436
+ # HTTP header 'Content-Type'
437
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
438
+
439
+ # form parameters
440
+ form_params = {}
441
+
442
+ # http body (model)
443
+ post_body = nil
444
+ auth_names = ['api_key']
445
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
446
+ :header_params => header_params,
447
+ :query_params => query_params,
448
+ :form_params => form_params,
449
+ :body => post_body,
450
+ :auth_names => auth_names,
451
+ :return_type => 'ConnectionSource')
452
+ if @api_client.config.debugging
453
+ @api_client.config.logger.debug "API called: ConnectionsApi#connections_id_connection_sources_id_source_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
454
+ end
455
+ return data, status_code, headers
456
+ end
457
+ # Enable connection source
458
+ # This will make it so the specified source will be able to be synchronized.<br><br>
459
+ # @param id_connection
460
+ # @param id_source
461
+ # @param [Hash] opts the optional parameters
462
+ # @option opts [String] :expand
463
+ # @return [ConnectionSource]
464
+ def connections_id_connection_sources_id_source_post(id_connection, id_source, opts = {})
465
+ data, _status_code, _headers = connections_id_connection_sources_id_source_post_with_http_info(id_connection, id_source, opts)
466
+ data
467
+ end
468
+
469
+ # Enable connection source
470
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
471
+ # @param id_connection
472
+ # @param id_source
473
+ # @param [Hash] opts the optional parameters
474
+ # @option opts [String] :expand
475
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
476
+ def connections_id_connection_sources_id_source_post_with_http_info(id_connection, id_source, opts = {})
477
+ if @api_client.config.debugging
478
+ @api_client.config.logger.debug 'Calling API: ConnectionsApi.connections_id_connection_sources_id_source_post ...'
479
+ end
480
+ # verify the required parameter 'id_connection' is set
481
+ if @api_client.config.client_side_validation && id_connection.nil?
482
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.connections_id_connection_sources_id_source_post"
483
+ end
484
+ # verify the required parameter 'id_source' is set
485
+ if @api_client.config.client_side_validation && id_source.nil?
486
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ConnectionsApi.connections_id_connection_sources_id_source_post"
487
+ end
488
+ # resource path
489
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
490
+
491
+ # query parameters
492
+ query_params = {}
493
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
494
+
495
+ # header parameters
496
+ header_params = {}
497
+ # HTTP header 'Accept' (if needed)
498
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
499
+ # HTTP header 'Content-Type'
500
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
501
+
502
+ # form parameters
503
+ form_params = {}
504
+
505
+ # http body (model)
506
+ post_body = nil
507
+ auth_names = ['api_key']
508
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
509
+ :header_params => header_params,
510
+ :query_params => query_params,
511
+ :form_params => form_params,
512
+ :body => post_body,
513
+ :auth_names => auth_names,
514
+ :return_type => 'ConnectionSource')
515
+ if @api_client.config.debugging
516
+ @api_client.config.logger.debug "API called: ConnectionsApi#connections_id_connection_sources_id_source_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
517
+ end
518
+ return data, status_code, headers
519
+ end
520
+ # Enable connection source
521
+ # This will make it so the specified source will be able to be synchronized.<br><br>
522
+ # @param id_connection
523
+ # @param id_source
524
+ # @param [Hash] opts the optional parameters
525
+ # @option opts [String] :expand
526
+ # @return [ConnectionSource]
527
+ def connections_id_connection_sources_id_source_put(id_connection, id_source, opts = {})
528
+ data, _status_code, _headers = connections_id_connection_sources_id_source_put_with_http_info(id_connection, id_source, opts)
529
+ data
530
+ end
531
+
532
+ # Enable connection source
533
+ # This will make it so the specified source will be able to be synchronized.&lt;br&gt;&lt;br&gt;
534
+ # @param id_connection
535
+ # @param id_source
536
+ # @param [Hash] opts the optional parameters
537
+ # @option opts [String] :expand
538
+ # @return [Array<(ConnectionSource, Fixnum, Hash)>] ConnectionSource data, response status code and response headers
539
+ def connections_id_connection_sources_id_source_put_with_http_info(id_connection, id_source, opts = {})
540
+ if @api_client.config.debugging
541
+ @api_client.config.logger.debug 'Calling API: ConnectionsApi.connections_id_connection_sources_id_source_put ...'
542
+ end
543
+ # verify the required parameter 'id_connection' is set
544
+ if @api_client.config.client_side_validation && id_connection.nil?
545
+ fail ArgumentError, "Missing the required parameter 'id_connection' when calling ConnectionsApi.connections_id_connection_sources_id_source_put"
546
+ end
547
+ # verify the required parameter 'id_source' is set
548
+ if @api_client.config.client_side_validation && id_source.nil?
549
+ fail ArgumentError, "Missing the required parameter 'id_source' when calling ConnectionsApi.connections_id_connection_sources_id_source_put"
550
+ end
551
+ # resource path
552
+ local_var_path = '/connections/{id_connection}/sources/{id_source}'.sub('{' + 'id_connection' + '}', id_connection.to_s).sub('{' + 'id_source' + '}', id_source.to_s)
553
+
554
+ # query parameters
555
+ query_params = {}
556
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
557
+
558
+ # header parameters
559
+ header_params = {}
560
+ # HTTP header 'Accept' (if needed)
561
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
562
+ # HTTP header 'Content-Type'
563
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
564
+
565
+ # form parameters
566
+ form_params = {}
567
+
568
+ # http body (model)
569
+ post_body = nil
570
+ auth_names = ['api_key']
571
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
572
+ :header_params => header_params,
573
+ :query_params => query_params,
574
+ :form_params => form_params,
575
+ :body => post_body,
576
+ :auth_names => auth_names,
577
+ :return_type => 'ConnectionSource')
578
+ if @api_client.config.debugging
579
+ @api_client.config.logger.debug "API called: ConnectionsApi#connections_id_connection_sources_id_source_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
580
+ end
581
+ return data, status_code, headers
582
+ end
583
+ # Get list of connectors
584
+ #
585
+ # @param [Hash] opts the optional parameters
586
+ # @option opts [String] :expand
587
+ # @return [InlineResponse20017]
342
588
  def connectors_get(opts = {})
343
589
  data, _status_code, _headers = connectors_get_with_http_info(opts)
344
590
  data
@@ -348,7 +594,7 @@ module BudgeaClient
348
594
  #
349
595
  # @param [Hash] opts the optional parameters
350
596
  # @option opts [String] :expand
351
- # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
597
+ # @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
352
598
  def connectors_get_with_http_info(opts = {})
353
599
  if @api_client.config.debugging
354
600
  @api_client.config.logger.debug 'Calling API: ConnectionsApi.connectors_get ...'
@@ -365,7 +611,7 @@ module BudgeaClient
365
611
  # HTTP header 'Accept' (if needed)
366
612
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
367
613
  # HTTP header 'Content-Type'
368
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
614
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
369
615
 
370
616
  # form parameters
371
617
  form_params = {}
@@ -379,7 +625,7 @@ module BudgeaClient
379
625
  :form_params => form_params,
380
626
  :body => post_body,
381
627
  :auth_names => auth_names,
382
- :return_type => 'InlineResponse20016')
628
+ :return_type => 'InlineResponse20017')
383
629
  if @api_client.config.debugging
384
630
  @api_client.config.logger.debug "API called: ConnectionsApi#connectors_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
385
631
  end
@@ -422,7 +668,7 @@ module BudgeaClient
422
668
  # HTTP header 'Accept' (if needed)
423
669
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
424
670
  # HTTP header 'Content-Type'
425
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
671
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
426
672
 
427
673
  # form parameters
428
674
  form_params = {}
@@ -489,7 +735,7 @@ module BudgeaClient
489
735
  # HTTP header 'Accept' (if needed)
490
736
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
491
737
  # HTTP header 'Content-Type'
492
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
738
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
493
739
 
494
740
  # form parameters
495
741
  form_params = {}
@@ -662,7 +908,7 @@ module BudgeaClient
662
908
  # HTTP header 'Accept' (if needed)
663
909
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
664
910
  # HTTP header 'Content-Type'
665
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
911
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
666
912
 
667
913
  # form parameters
668
914
  form_params = {}
@@ -686,7 +932,7 @@ module BudgeaClient
686
932
  #
687
933
  # @param [Hash] opts the optional parameters
688
934
  # @option opts [String] :expand
689
- # @return [InlineResponse20019]
935
+ # @return [InlineResponse20020]
690
936
  def providers_get(opts = {})
691
937
  data, _status_code, _headers = providers_get_with_http_info(opts)
692
938
  data
@@ -696,7 +942,7 @@ module BudgeaClient
696
942
  #
697
943
  # @param [Hash] opts the optional parameters
698
944
  # @option opts [String] :expand
699
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
945
+ # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
700
946
  def providers_get_with_http_info(opts = {})
701
947
  if @api_client.config.debugging
702
948
  @api_client.config.logger.debug 'Calling API: ConnectionsApi.providers_get ...'
@@ -713,7 +959,7 @@ module BudgeaClient
713
959
  # HTTP header 'Accept' (if needed)
714
960
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
715
961
  # HTTP header 'Content-Type'
716
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
962
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
717
963
 
718
964
  # form parameters
719
965
  form_params = {}
@@ -727,7 +973,7 @@ module BudgeaClient
727
973
  :form_params => form_params,
728
974
  :body => post_body,
729
975
  :auth_names => auth_names,
730
- :return_type => 'InlineResponse20019')
976
+ :return_type => 'InlineResponse20020')
731
977
  if @api_client.config.debugging
732
978
  @api_client.config.logger.debug "API called: ConnectionsApi#providers_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
733
979
  end
@@ -773,7 +1019,7 @@ module BudgeaClient
773
1019
  # HTTP header 'Accept' (if needed)
774
1020
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
775
1021
  # HTTP header 'Content-Type'
776
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1022
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
777
1023
 
778
1024
  # form parameters
779
1025
  form_params = {}
@@ -830,7 +1076,7 @@ module BudgeaClient
830
1076
  # HTTP header 'Accept' (if needed)
831
1077
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
832
1078
  # HTTP header 'Content-Type'
833
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1079
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
834
1080
 
835
1081
  # form parameters
836
1082
  form_params = {}
@@ -887,7 +1133,7 @@ module BudgeaClient
887
1133
  # HTTP header 'Accept' (if needed)
888
1134
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
889
1135
  # HTTP header 'Content-Type'
890
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1136
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
891
1137
 
892
1138
  # form parameters
893
1139
  form_params = {}
@@ -944,7 +1190,7 @@ module BudgeaClient
944
1190
  # HTTP header 'Accept' (if needed)
945
1191
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
946
1192
  # HTTP header 'Content-Type'
947
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1193
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
948
1194
 
949
1195
  # form parameters
950
1196
  form_params = {}
@@ -1007,7 +1253,7 @@ module BudgeaClient
1007
1253
  # HTTP header 'Accept' (if needed)
1008
1254
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1009
1255
  # HTTP header 'Content-Type'
1010
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1256
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1011
1257
 
1012
1258
  # form parameters
1013
1259
  form_params = {}
@@ -1070,7 +1316,7 @@ module BudgeaClient
1070
1316
  # HTTP header 'Accept' (if needed)
1071
1317
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1072
1318
  # HTTP header 'Content-Type'
1073
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1319
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1074
1320
 
1075
1321
  # form parameters
1076
1322
  form_params = {}
@@ -1133,7 +1379,7 @@ module BudgeaClient
1133
1379
  # HTTP header 'Accept' (if needed)
1134
1380
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1135
1381
  # HTTP header 'Content-Type'
1136
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1382
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1137
1383
 
1138
1384
  # form parameters
1139
1385
  form_params = {}
@@ -1229,7 +1475,7 @@ module BudgeaClient
1229
1475
  # HTTP header 'Accept' (if needed)
1230
1476
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1231
1477
  # HTTP header 'Content-Type'
1232
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1478
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1233
1479
 
1234
1480
  # form parameters
1235
1481
  form_params = {}
@@ -1370,7 +1616,7 @@ module BudgeaClient
1370
1616
  # HTTP header 'Accept' (if needed)
1371
1617
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1372
1618
  # HTTP header 'Content-Type'
1373
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1619
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1374
1620
 
1375
1621
  # form parameters
1376
1622
  form_params = {}
@@ -1396,7 +1642,7 @@ module BudgeaClient
1396
1642
  # @param id_connection
1397
1643
  # @param [Hash] opts the optional parameters
1398
1644
  # @option opts [String] :expand
1399
- # @return [InlineResponse20030]
1645
+ # @return [InlineResponse20016]
1400
1646
  def users_id_user_connections_id_connection_sources_get(id_user, id_connection, opts = {})
1401
1647
  data, _status_code, _headers = users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts)
1402
1648
  data
@@ -1408,7 +1654,7 @@ module BudgeaClient
1408
1654
  # @param id_connection
1409
1655
  # @param [Hash] opts the optional parameters
1410
1656
  # @option opts [String] :expand
1411
- # @return [Array<(InlineResponse20030, Fixnum, Hash)>] InlineResponse20030 data, response status code and response headers
1657
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
1412
1658
  def users_id_user_connections_id_connection_sources_get_with_http_info(id_user, id_connection, opts = {})
1413
1659
  if @api_client.config.debugging
1414
1660
  @api_client.config.logger.debug 'Calling API: ConnectionsApi.users_id_user_connections_id_connection_sources_get ...'
@@ -1433,7 +1679,7 @@ module BudgeaClient
1433
1679
  # HTTP header 'Accept' (if needed)
1434
1680
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1435
1681
  # HTTP header 'Content-Type'
1436
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1682
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1437
1683
 
1438
1684
  # form parameters
1439
1685
  form_params = {}
@@ -1447,7 +1693,7 @@ module BudgeaClient
1447
1693
  :form_params => form_params,
1448
1694
  :body => post_body,
1449
1695
  :auth_names => auth_names,
1450
- :return_type => 'InlineResponse20030')
1696
+ :return_type => 'InlineResponse20016')
1451
1697
  if @api_client.config.debugging
1452
1698
  @api_client.config.logger.debug "API called: ConnectionsApi#users_id_user_connections_id_connection_sources_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1453
1699
  end
@@ -1502,7 +1748,7 @@ module BudgeaClient
1502
1748
  # HTTP header 'Accept' (if needed)
1503
1749
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1504
1750
  # HTTP header 'Content-Type'
1505
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1751
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1506
1752
 
1507
1753
  # form parameters
1508
1754
  form_params = {}
@@ -1571,7 +1817,7 @@ module BudgeaClient
1571
1817
  # HTTP header 'Accept' (if needed)
1572
1818
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1573
1819
  # HTTP header 'Content-Type'
1574
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1820
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1575
1821
 
1576
1822
  # form parameters
1577
1823
  form_params = {}
@@ -1640,7 +1886,7 @@ module BudgeaClient
1640
1886
  # HTTP header 'Accept' (if needed)
1641
1887
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1642
1888
  # HTTP header 'Content-Type'
1643
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1889
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1644
1890
 
1645
1891
  # form parameters
1646
1892
  form_params = {}
@@ -1681,6 +1927,7 @@ module BudgeaClient
1681
1927
  # @option opts [String] :website2 bank additional login parameter
1682
1928
  # @option opts [String] :login bank additional login parameter
1683
1929
  # @option opts [Integer] :id_provider ID of the provider
1930
+ # @option opts [BOOLEAN] :resume Resume a decoupled connection creation
1684
1931
  # @option opts [String] :expand
1685
1932
  # @return [Connection]
1686
1933
  def users_id_user_connections_post(id_user, opts = {})
@@ -1709,6 +1956,7 @@ module BudgeaClient
1709
1956
  # @option opts [String] :website2 bank additional login parameter
1710
1957
  # @option opts [String] :login bank additional login parameter
1711
1958
  # @option opts [Integer] :id_provider ID of the provider
1959
+ # @option opts [BOOLEAN] :resume Resume a decoupled connection creation
1712
1960
  # @option opts [String] :expand
1713
1961
  # @return [Array<(Connection, Fixnum, Hash)>] Connection data, response status code and response headers
1714
1962
  def users_id_user_connections_post_with_http_info(id_user, opts = {})
@@ -1752,6 +2000,7 @@ module BudgeaClient
1752
2000
  form_params['website'] = opts[:'website2'] if !opts[:'website2'].nil?
1753
2001
  form_params['login'] = opts[:'login'] if !opts[:'login'].nil?
1754
2002
  form_params['id_provider'] = opts[:'id_provider'] if !opts[:'id_provider'].nil?
2003
+ form_params['resume'] = opts[:'resume'] if !opts[:'resume'].nil?
1755
2004
 
1756
2005
  # http body (model)
1757
2006
  post_body = nil
@@ -1838,7 +2087,7 @@ module BudgeaClient
1838
2087
  # HTTP header 'Accept' (if needed)
1839
2088
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1840
2089
  # HTTP header 'Content-Type'
1841
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
2090
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1842
2091
 
1843
2092
  # form parameters
1844
2093
  form_params = {}