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
@@ -47,7 +47,7 @@ module BudgeaClient
47
47
  # HTTP header 'Accept' (if needed)
48
48
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
49
49
  # HTTP header 'Content-Type'
50
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
50
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
51
51
 
52
52
  # form parameters
53
53
  form_params = {}
@@ -100,7 +100,7 @@ module BudgeaClient
100
100
  # HTTP header 'Accept' (if needed)
101
101
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
102
102
  # HTTP header 'Content-Type'
103
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
103
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
104
104
 
105
105
  # form parameters
106
106
  form_params = {}
@@ -154,7 +154,7 @@ module BudgeaClient
154
154
  # HTTP header 'Accept' (if needed)
155
155
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
156
156
  # HTTP header 'Content-Type'
157
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
157
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
158
158
 
159
159
  # form parameters
160
160
  form_params = {}
@@ -207,7 +207,7 @@ module BudgeaClient
207
207
  # HTTP header 'Accept' (if needed)
208
208
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
209
209
  # HTTP header 'Content-Type'
210
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
210
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
211
211
 
212
212
  # form parameters
213
213
  form_params = {}
@@ -261,7 +261,7 @@ module BudgeaClient
261
261
  # HTTP header 'Accept' (if needed)
262
262
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
263
263
  # HTTP header 'Content-Type'
264
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
264
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
265
265
 
266
266
  # form parameters
267
267
  form_params = {}
@@ -317,7 +317,7 @@ module BudgeaClient
317
317
  # HTTP header 'Accept' (if needed)
318
318
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
319
319
  # HTTP header 'Content-Type'
320
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
320
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
321
321
 
322
322
  # form parameters
323
323
  form_params = {}
@@ -374,7 +374,7 @@ module BudgeaClient
374
374
  # HTTP header 'Accept' (if needed)
375
375
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
376
376
  # HTTP header 'Content-Type'
377
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
377
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
378
378
 
379
379
  # form parameters
380
380
  form_params = {}
@@ -399,7 +399,7 @@ module BudgeaClient
399
399
  # @param id_user Hint: you can use 'me' or 'all'
400
400
  # @param [Hash] opts the optional parameters
401
401
  # @option opts [String] :expand
402
- # @return [InlineResponse20037]
402
+ # @return [InlineResponse20039]
403
403
  def users_id_user_profiles_get(id_user, opts = {})
404
404
  data, _status_code, _headers = users_id_user_profiles_get_with_http_info(id_user, opts)
405
405
  data
@@ -410,7 +410,7 @@ module BudgeaClient
410
410
  # @param id_user Hint: you can use 'me' or 'all'
411
411
  # @param [Hash] opts the optional parameters
412
412
  # @option opts [String] :expand
413
- # @return [Array<(InlineResponse20037, Fixnum, Hash)>] InlineResponse20037 data, response status code and response headers
413
+ # @return [Array<(InlineResponse20039, Fixnum, Hash)>] InlineResponse20039 data, response status code and response headers
414
414
  def users_id_user_profiles_get_with_http_info(id_user, opts = {})
415
415
  if @api_client.config.debugging
416
416
  @api_client.config.logger.debug 'Calling API: UsersManagementApi.users_id_user_profiles_get ...'
@@ -431,7 +431,7 @@ module BudgeaClient
431
431
  # HTTP header 'Accept' (if needed)
432
432
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
433
433
  # HTTP header 'Content-Type'
434
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
434
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
435
435
 
436
436
  # form parameters
437
437
  form_params = {}
@@ -445,7 +445,7 @@ module BudgeaClient
445
445
  :form_params => form_params,
446
446
  :body => post_body,
447
447
  :auth_names => auth_names,
448
- :return_type => 'InlineResponse20037')
448
+ :return_type => 'InlineResponse20039')
449
449
  if @api_client.config.debugging
450
450
  @api_client.config.logger.debug "API called: UsersManagementApi#users_id_user_profiles_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
451
451
  end
@@ -494,7 +494,7 @@ module BudgeaClient
494
494
  # HTTP header 'Accept' (if needed)
495
495
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
496
496
  # HTTP header 'Content-Type'
497
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
497
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
498
498
 
499
499
  # form parameters
500
500
  form_params = {}
@@ -551,7 +551,7 @@ module BudgeaClient
551
551
  # HTTP header 'Accept' (if needed)
552
552
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
553
553
  # HTTP header 'Content-Type'
554
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
554
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
555
555
 
556
556
  # form parameters
557
557
  form_params = {}
@@ -608,7 +608,7 @@ module BudgeaClient
608
608
  # HTTP header 'Accept' (if needed)
609
609
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
610
610
  # HTTP header 'Content-Type'
611
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
611
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
612
612
 
613
613
  # form parameters
614
614
  form_params = {}
@@ -23,7 +23,7 @@ module BudgeaClient
23
23
  #
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [String] :expand
26
- # @return [InlineResponse20016]
26
+ # @return [InlineResponse20018]
27
27
  def finance_securities_get(opts = {})
28
28
  data, _status_code, _headers = finance_securities_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<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
36
+ # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
37
37
  def finance_securities_get_with_http_info(opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: WealthApi.finance_securities_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 => 'InlineResponse20016')
67
+ :return_type => 'InlineResponse20018')
68
68
  if @api_client.config.debugging
69
69
  @api_client.config.logger.debug "API called: WealthApi#finance_securities_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
70
70
  end
@@ -119,7 +119,7 @@ module BudgeaClient
119
119
  # HTTP header 'Accept' (if needed)
120
120
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
121
121
  # HTTP header 'Content-Type'
122
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
122
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
123
123
 
124
124
  # form parameters
125
125
  form_params = {}
@@ -181,7 +181,7 @@ module BudgeaClient
181
181
  # HTTP header 'Accept' (if needed)
182
182
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
183
183
  # HTTP header 'Content-Type'
184
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
184
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
185
185
 
186
186
  # form parameters
187
187
  form_params = {}
@@ -250,7 +250,7 @@ module BudgeaClient
250
250
  # HTTP header 'Accept' (if needed)
251
251
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
252
252
  # HTTP header 'Content-Type'
253
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
253
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
254
254
 
255
255
  # form parameters
256
256
  form_params = {}
@@ -319,7 +319,7 @@ module BudgeaClient
319
319
  # HTTP header 'Accept' (if needed)
320
320
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
321
321
  # HTTP header 'Content-Type'
322
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
322
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
323
323
 
324
324
  # form parameters
325
325
  form_params = {}
@@ -400,7 +400,7 @@ module BudgeaClient
400
400
  # HTTP header 'Accept' (if needed)
401
401
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
402
402
  # HTTP header 'Content-Type'
403
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
403
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
404
404
 
405
405
  # form parameters
406
406
  form_params = {}
@@ -462,7 +462,7 @@ module BudgeaClient
462
462
  # HTTP header 'Accept' (if needed)
463
463
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
464
464
  # HTTP header 'Content-Type'
465
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
465
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
466
466
 
467
467
  # form parameters
468
468
  form_params = {}
@@ -531,7 +531,7 @@ module BudgeaClient
531
531
  # HTTP header 'Accept' (if needed)
532
532
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
533
533
  # HTTP header 'Content-Type'
534
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
534
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
535
535
 
536
536
  # form parameters
537
537
  form_params = {}
@@ -606,7 +606,7 @@ module BudgeaClient
606
606
  # HTTP header 'Accept' (if needed)
607
607
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
608
608
  # HTTP header 'Content-Type'
609
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
609
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
610
610
 
611
611
  # form parameters
612
612
  form_params = {}
@@ -681,7 +681,7 @@ module BudgeaClient
681
681
  # HTTP header 'Accept' (if needed)
682
682
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
683
683
  # HTTP header 'Content-Type'
684
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
684
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
685
685
 
686
686
  # form parameters
687
687
  form_params = {}
@@ -768,7 +768,7 @@ module BudgeaClient
768
768
  # HTTP header 'Accept' (if needed)
769
769
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
770
770
  # HTTP header 'Content-Type'
771
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
771
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
772
772
 
773
773
  # form parameters
774
774
  form_params = {}
@@ -836,7 +836,7 @@ module BudgeaClient
836
836
  # HTTP header 'Accept' (if needed)
837
837
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
838
838
  # HTTP header 'Content-Type'
839
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
839
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
840
840
 
841
841
  # form parameters
842
842
  form_params = {}
@@ -899,7 +899,7 @@ module BudgeaClient
899
899
  # HTTP header 'Accept' (if needed)
900
900
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
901
901
  # HTTP header 'Content-Type'
902
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
902
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
903
903
 
904
904
  # form parameters
905
905
  form_params = {}
@@ -968,7 +968,7 @@ module BudgeaClient
968
968
  # HTTP header 'Accept' (if needed)
969
969
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
970
970
  # HTTP header 'Content-Type'
971
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
971
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
972
972
 
973
973
  # form parameters
974
974
  form_params = {}
@@ -1037,7 +1037,7 @@ module BudgeaClient
1037
1037
  # HTTP header 'Accept' (if needed)
1038
1038
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1039
1039
  # HTTP header 'Content-Type'
1040
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1040
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1041
1041
 
1042
1042
  # form parameters
1043
1043
  form_params = {}
@@ -1118,7 +1118,7 @@ module BudgeaClient
1118
1118
  # HTTP header 'Accept' (if needed)
1119
1119
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1120
1120
  # HTTP header 'Content-Type'
1121
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1121
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1122
1122
 
1123
1123
  # form parameters
1124
1124
  form_params = {}
@@ -1180,7 +1180,7 @@ module BudgeaClient
1180
1180
  # HTTP header 'Accept' (if needed)
1181
1181
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1182
1182
  # HTTP header 'Content-Type'
1183
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1183
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1184
1184
 
1185
1185
  # form parameters
1186
1186
  form_params = {}
@@ -1237,7 +1237,7 @@ module BudgeaClient
1237
1237
  # HTTP header 'Accept' (if needed)
1238
1238
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1239
1239
  # HTTP header 'Content-Type'
1240
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1240
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1241
1241
 
1242
1242
  # form parameters
1243
1243
  form_params = {}
@@ -1300,7 +1300,7 @@ module BudgeaClient
1300
1300
  # HTTP header 'Accept' (if needed)
1301
1301
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1302
1302
  # HTTP header 'Content-Type'
1303
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1303
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1304
1304
 
1305
1305
  # form parameters
1306
1306
  form_params = {}
@@ -1363,7 +1363,7 @@ module BudgeaClient
1363
1363
  # HTTP header 'Accept' (if needed)
1364
1364
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1365
1365
  # HTTP header 'Content-Type'
1366
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1366
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1367
1367
 
1368
1368
  # form parameters
1369
1369
  form_params = {}
@@ -1438,7 +1438,7 @@ module BudgeaClient
1438
1438
  # HTTP header 'Accept' (if needed)
1439
1439
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1440
1440
  # HTTP header 'Content-Type'
1441
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1441
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1442
1442
 
1443
1443
  # form parameters
1444
1444
  form_params = {}
@@ -1494,7 +1494,7 @@ module BudgeaClient
1494
1494
  # HTTP header 'Accept' (if needed)
1495
1495
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1496
1496
  # HTTP header 'Content-Type'
1497
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
1497
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1498
1498
 
1499
1499
  # form parameters
1500
1500
  form_params = {}
@@ -23,6 +23,9 @@ module BudgeaClient
23
23
  # ID of the related user
24
24
  attr_accessor :id_user
25
25
 
26
+ # ID of the related connection source
27
+ attr_accessor :id_source
28
+
26
29
  # Id of the parent account
27
30
  attr_accessor :id_parent
28
31
 
@@ -84,12 +87,16 @@ module BudgeaClient
84
87
  # Relationship between the credentials owner and the account
85
88
  attr_accessor :ownership
86
89
 
90
+ # Name of the company holding the employee savings of the account
91
+ attr_accessor :company_name
92
+
87
93
  # Attribute mapping from ruby-style variable name to JSON key.
88
94
  def self.attribute_map
89
95
  {
90
96
  :'id' => :'id',
91
97
  :'id_connection' => :'id_connection',
92
98
  :'id_user' => :'id_user',
99
+ :'id_source' => :'id_source',
93
100
  :'id_parent' => :'id_parent',
94
101
  :'number' => :'number',
95
102
  :'webid' => :'webid',
@@ -110,7 +117,8 @@ module BudgeaClient
110
117
  :'transactions' => :'transactions',
111
118
  :'error' => :'error',
112
119
  :'usage' => :'usage',
113
- :'ownership' => :'ownership'
120
+ :'ownership' => :'ownership',
121
+ :'company_name' => :'company_name'
114
122
  }
115
123
  end
116
124
 
@@ -120,6 +128,7 @@ module BudgeaClient
120
128
  :'id' => :'Integer',
121
129
  :'id_connection' => :'Integer',
122
130
  :'id_user' => :'Integer',
131
+ :'id_source' => :'Integer',
123
132
  :'id_parent' => :'Integer',
124
133
  :'number' => :'String',
125
134
  :'webid' => :'String',
@@ -140,7 +149,8 @@ module BudgeaClient
140
149
  :'transactions' => :'Array<Transaction>',
141
150
  :'error' => :'String',
142
151
  :'usage' => :'String',
143
- :'ownership' => :'String'
152
+ :'ownership' => :'String',
153
+ :'company_name' => :'String'
144
154
  }
145
155
  end
146
156
 
@@ -164,6 +174,10 @@ module BudgeaClient
164
174
  self.id_user = attributes[:'id_user']
165
175
  end
166
176
 
177
+ if attributes.has_key?(:'id_source')
178
+ self.id_source = attributes[:'id_source']
179
+ end
180
+
167
181
  if attributes.has_key?(:'id_parent')
168
182
  self.id_parent = attributes[:'id_parent']
169
183
  end
@@ -255,6 +269,10 @@ module BudgeaClient
255
269
  if attributes.has_key?(:'ownership')
256
270
  self.ownership = attributes[:'ownership']
257
271
  end
272
+
273
+ if attributes.has_key?(:'company_name')
274
+ self.company_name = attributes[:'company_name']
275
+ end
258
276
  end
259
277
 
260
278
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -303,6 +321,7 @@ module BudgeaClient
303
321
  id == o.id &&
304
322
  id_connection == o.id_connection &&
305
323
  id_user == o.id_user &&
324
+ id_source == o.id_source &&
306
325
  id_parent == o.id_parent &&
307
326
  number == o.number &&
308
327
  webid == o.webid &&
@@ -323,7 +342,8 @@ module BudgeaClient
323
342
  transactions == o.transactions &&
324
343
  error == o.error &&
325
344
  usage == o.usage &&
326
- ownership == o.ownership
345
+ ownership == o.ownership &&
346
+ company_name == o.company_name
327
347
  end
328
348
 
329
349
  # @see the `==` method
@@ -335,7 +355,7 @@ module BudgeaClient
335
355
  # Calculates hash code according to all attributes.
336
356
  # @return [Fixnum] Hash code
337
357
  def hash
338
- [id, id_connection, id_user, id_parent, number, webid, original_name, balance, coming, display, last_update, deleted, disabled, iban, bic, currency, id_type, bookmarked, name, recipients, transactions, error, usage, ownership].hash
358
+ [id, id_connection, id_user, id_source, id_parent, number, webid, original_name, balance, coming, display, last_update, deleted, disabled, iban, bic, currency, id_type, bookmarked, name, recipients, transactions, error, usage, ownership, company_name].hash
339
359
  end
340
360
 
341
361
  # Builds the object from hash
@@ -14,6 +14,9 @@ require 'date'
14
14
 
15
15
  module BudgeaClient
16
16
  class AccountLog
17
+ # ID of the log
18
+ attr_accessor :id
19
+
17
20
  # ID of the related account
18
21
  attr_accessor :id_account
19
22
 
@@ -41,6 +44,7 @@ module BudgeaClient
41
44
  # Attribute mapping from ruby-style variable name to JSON key.
42
45
  def self.attribute_map
43
46
  {
47
+ :'id' => :'id',
44
48
  :'id_account' => :'id_account',
45
49
  :'id_connector' => :'id_connector',
46
50
  :'balance' => :'balance',
@@ -55,6 +59,7 @@ module BudgeaClient
55
59
  # Attribute type mapping.
56
60
  def self.swagger_types
57
61
  {
62
+ :'id' => :'Integer',
58
63
  :'id_account' => :'Integer',
59
64
  :'id_connector' => :'Integer',
60
65
  :'balance' => :'Float',
@@ -74,6 +79,10 @@ module BudgeaClient
74
79
  # convert string to symbol for hash key
75
80
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
76
81
 
82
+ if attributes.has_key?(:'id')
83
+ self.id = attributes[:'id']
84
+ end
85
+
77
86
  if attributes.has_key?(:'id_account')
78
87
  self.id_account = attributes[:'id_account']
79
88
  end
@@ -113,6 +122,10 @@ module BudgeaClient
113
122
  # @return Array for valid properties with the reasons
114
123
  def list_invalid_properties
115
124
  invalid_properties = Array.new
125
+ if @id.nil?
126
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
127
+ end
128
+
116
129
  if @id_account.nil?
117
130
  invalid_properties.push('invalid value for "id_account", id_account cannot be nil.')
118
131
  end
@@ -131,6 +144,7 @@ module BudgeaClient
131
144
  # Check to see if the all the properties in the model are valid
132
145
  # @return true if the model is valid
133
146
  def valid?
147
+ return false if @id.nil?
134
148
  return false if @id_account.nil?
135
149
  return false if @balance.nil?
136
150
  return false if @timestamp.nil?
@@ -142,6 +156,7 @@ module BudgeaClient
142
156
  def ==(o)
143
157
  return true if self.equal?(o)
144
158
  self.class == o.class &&
159
+ id == o.id &&
145
160
  id_account == o.id_account &&
146
161
  id_connector == o.id_connector &&
147
162
  balance == o.balance &&
@@ -161,7 +176,7 @@ module BudgeaClient
161
176
  # Calculates hash code according to all attributes.
162
177
  # @return [Fixnum] Hash code
163
178
  def hash
164
- [id_account, id_connector, balance, coming, timestamp, error, error_message, id_connection_log].hash
179
+ [id, id_account, id_connector, balance, coming, timestamp, error, error_message, id_connection_log].hash
165
180
  end
166
181
 
167
182
  # Builds the object from hash