budgea_client 5.2.0 → 5.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/budgea_openapi.json +8 -41
  4. data/docs/BanksApi.md +3 -13
  5. data/docs/ConnectionsApi.md +3 -13
  6. data/docs/ProvidersApi.md +3 -13
  7. data/lib/budgea_client/api/banks_api.rb +4 -20
  8. data/lib/budgea_client/api/connections_api.rb +4 -20
  9. data/lib/budgea_client/api/providers_api.rb +4 -20
  10. data/lib/budgea_client/version.rb +1 -1
  11. data/spec/api/administration_api_spec.rb +85 -15
  12. data/spec/api/authentication_api_spec.rb +4 -3
  13. data/spec/api/banks_api_spec.rb +298 -54
  14. data/spec/api/connections_api_spec.rb +219 -26
  15. data/spec/api/documents_api_spec.rb +14 -14
  16. data/spec/api/ocr_api_spec.rb +1 -1
  17. data/spec/api/oidc_api_spec.rb +1 -1
  18. data/spec/api/pfm_api_spec.rb +17 -6
  19. data/spec/api/providers_api_spec.rb +297 -40
  20. data/spec/api/recipients_api_spec.rb +1 -1
  21. data/spec/api/terms_api_spec.rb +20 -4
  22. data/spec/api/transfer_api_spec.rb +1 -1
  23. data/spec/api/transfers_api_spec.rb +13 -13
  24. data/spec/api/users_management_api_spec.rb +3 -3
  25. data/spec/api/wealth_api_spec.rb +27 -19
  26. data/spec/api_client_spec.rb +18 -1
  27. data/spec/configuration_spec.rb +1 -1
  28. data/spec/models/access_spec.rb +1 -1
  29. data/spec/models/account_log_spec.rb +7 -1
  30. data/spec/models/account_spec.rb +25 -1
  31. data/spec/models/account_type_spec.rb +1 -1
  32. data/spec/models/alert_spec.rb +1 -1
  33. data/spec/models/auth_provider_spec.rb +1 -1
  34. data/spec/models/category_spec.rb +1 -1
  35. data/spec/models/certificate_spec.rb +1 -1
  36. data/spec/models/client_spec.rb +2 -2
  37. data/spec/models/config_log_spec.rb +1 -1
  38. data/spec/models/connection_log_spec.rb +7 -1
  39. data/spec/models/connection_source_spec.rb +1 -1
  40. data/spec/models/connection_spec.rb +41 -1
  41. data/spec/models/connector_category_spec.rb +1 -1
  42. data/spec/models/connector_logo_spec.rb +1 -1
  43. data/spec/models/connector_source_spec.rb +1 -1
  44. data/spec/models/connector_spec.rb +7 -7
  45. data/spec/models/currency_spec.rb +1 -1
  46. data/spec/models/device_spec.rb +1 -1
  47. data/spec/models/document_spec.rb +1 -1
  48. data/spec/models/document_type_spec.rb +1 -1
  49. data/spec/models/field_spec.rb +7 -1
  50. data/spec/models/field_value_spec.rb +1 -1
  51. data/spec/models/file_spec.rb +1 -1
  52. data/spec/models/group_spec.rb +1 -1
  53. data/spec/models/hash_table_spec.rb +1 -1
  54. data/spec/models/inline_response_200_10_spec.rb +1 -1
  55. data/spec/models/inline_response_200_11_spec.rb +3 -3
  56. data/spec/models/inline_response_200_12_spec.rb +2 -2
  57. data/spec/models/inline_response_200_13_spec.rb +2 -2
  58. data/spec/models/inline_response_200_14_spec.rb +3 -3
  59. data/spec/models/inline_response_200_15_spec.rb +2 -2
  60. data/spec/models/inline_response_200_16_spec.rb +2 -2
  61. data/spec/models/inline_response_200_17_spec.rb +3 -3
  62. data/spec/models/inline_response_200_18_spec.rb +2 -2
  63. data/spec/models/inline_response_200_19_spec.rb +8 -2
  64. data/spec/models/inline_response_200_1_spec.rb +1 -1
  65. data/spec/models/inline_response_200_20_spec.rb +3 -3
  66. data/spec/models/inline_response_200_21_spec.rb +3 -3
  67. data/spec/models/inline_response_200_22_spec.rb +2 -2
  68. data/spec/models/inline_response_200_23_spec.rb +2 -2
  69. data/spec/models/inline_response_200_24_spec.rb +3 -3
  70. data/spec/models/inline_response_200_25_spec.rb +3 -3
  71. data/spec/models/inline_response_200_26_spec.rb +2 -2
  72. data/spec/models/inline_response_200_27_spec.rb +2 -2
  73. data/spec/models/inline_response_200_28_spec.rb +2 -2
  74. data/spec/models/inline_response_200_29_spec.rb +3 -3
  75. data/spec/models/inline_response_200_2_spec.rb +1 -1
  76. data/spec/models/inline_response_200_30_spec.rb +3 -3
  77. data/spec/models/inline_response_200_31_spec.rb +2 -2
  78. data/spec/models/inline_response_200_32_spec.rb +3 -3
  79. data/spec/models/inline_response_200_33_spec.rb +3 -3
  80. data/spec/models/inline_response_200_34_spec.rb +2 -2
  81. data/spec/models/inline_response_200_35_spec.rb +3 -3
  82. data/spec/models/inline_response_200_36_spec.rb +3 -3
  83. data/spec/models/inline_response_200_37_spec.rb +2 -2
  84. data/spec/models/inline_response_200_38_spec.rb +3 -3
  85. data/spec/models/inline_response_200_39_spec.rb +2 -2
  86. data/spec/models/inline_response_200_3_spec.rb +1 -1
  87. data/spec/models/inline_response_200_40_spec.rb +3 -3
  88. data/spec/models/inline_response_200_41_spec.rb +1 -1
  89. data/spec/models/inline_response_200_42_spec.rb +1 -1
  90. data/spec/models/inline_response_200_4_spec.rb +1 -1
  91. data/spec/models/inline_response_200_5_spec.rb +1 -1
  92. data/spec/models/inline_response_200_6_spec.rb +1 -1
  93. data/spec/models/inline_response_200_7_spec.rb +1 -1
  94. data/spec/models/inline_response_200_8_spec.rb +1 -1
  95. data/spec/models/inline_response_200_9_spec.rb +1 -1
  96. data/spec/models/inline_response_200_spec.rb +1 -1
  97. data/spec/models/investment_spec.rb +1 -1
  98. data/spec/models/investment_value_spec.rb +1 -1
  99. data/spec/models/keyword_spec.rb +1 -1
  100. data/spec/models/locked_user_spec.rb +1 -1
  101. data/spec/models/oidc_whitelist_spec.rb +1 -1
  102. data/spec/models/order_spec.rb +1 -1
  103. data/spec/models/pocket_spec.rb +1 -1
  104. data/spec/models/profile_spec.rb +1 -1
  105. data/spec/models/project_spec.rb +1 -1
  106. data/spec/models/project_type_spec.rb +1 -1
  107. data/spec/models/recipient_log_spec.rb +1 -1
  108. data/spec/models/recipient_spec.rb +1 -1
  109. data/spec/models/security_spec.rb +1 -1
  110. data/spec/models/subscription_log_spec.rb +1 -1
  111. data/spec/models/subscription_spec.rb +7 -1
  112. data/spec/models/terms_of_service_spec.rb +1 -1
  113. data/spec/models/transaction_information_spec.rb +1 -1
  114. data/spec/models/transaction_spec.rb +7 -1
  115. data/spec/models/transactions_cluster_spec.rb +1 -1
  116. data/spec/models/transfer_log_spec.rb +1 -1
  117. data/spec/models/transfer_spec.rb +25 -1
  118. data/spec/models/user_alert_spec.rb +1 -1
  119. data/spec/models/user_spec.rb +2 -2
  120. data/spec/models/webhook_data_spec.rb +1 -1
  121. data/spec/models/webhook_log_spec.rb +1 -1
  122. data/spec/models/webhook_spec.rb +1 -1
  123. data/spec/spec_helper.rb +1 -1
  124. metadata +2 -9
  125. data/docs/HUBApi.md +0 -62
  126. data/docs/Invite.md +0 -13
  127. data/pkg/budgea_client-5.0.3.gem +0 -0
  128. data/spec/api/hub_api_spec.rb +0 -47
  129. data/spec/models/invite_spec.rb +0 -71
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -37,19 +37,35 @@ describe 'TermsApi' do
37
37
  #
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :expand
40
- # @return [InlineResponse20020]
40
+ # @return [InlineResponse20021]
41
41
  describe 'terms_get test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
+ # unit tests for terms_id_term_post
48
+ # Add terms content for a language. Only for the active terms, there is no use to update obsolete terms
49
+ #
50
+ # @param id_term
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [String] :language two letter code of the language to inserted
53
+ # @option opts [File] :file_content file containing the terms
54
+ # @option opts [String] :expand
55
+ # @return [TermsOfService]
56
+ describe 'terms_id_term_post test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
47
62
  # unit tests for terms_post
48
63
  # Register a version of 'Terms of Service' in database
49
64
  #
50
65
  # @param [Hash] opts the optional parameters
51
66
  # @option opts [String] :version Number of version
52
- # @option opts [String] :file_content file containing the terms, optional
67
+ # @option opts [File] :file_content file containing the terms, optional
68
+ # @option opts [String] :language two letters code of the language of the inserted terms if provided. default: 'fr'
53
69
  # @option opts [String] :expand
54
70
  # @return [TermsOfService]
55
71
  describe 'terms_post test' do
@@ -64,7 +80,7 @@ describe 'TermsApi' do
64
80
  # @param id_user Hint: you can use 'me' or 'all'
65
81
  # @param [Hash] opts the optional parameters
66
82
  # @option opts [String] :expand
67
- # @return [InlineResponse20020]
83
+ # @return [InlineResponse20021]
68
84
  describe 'users_id_user_terms_get test' do
69
85
  it 'should work' do
70
86
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -48,7 +48,7 @@ describe 'TransfersApi' do
48
48
  # @option opts [String] :iban
49
49
  # @option opts [String] :error
50
50
  # @option opts [String] :id
51
- # @return [InlineResponse20028]
51
+ # @return [InlineResponse20029]
52
52
  describe 'users_id_user_accounts_id_account_recipients_get test' do
53
53
  it 'should work' do
54
54
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -80,7 +80,7 @@ describe 'TransfersApi' do
80
80
  # @param [Hash] opts the optional parameters
81
81
  # @option opts [String] :period period to group logs
82
82
  # @option opts [String] :expand
83
- # @return [InlineResponse20029]
83
+ # @return [InlineResponse20030]
84
84
  describe 'users_id_user_accounts_id_account_recipients_id_recipient_transfers_get test' do
85
85
  it 'should work' do
86
86
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -147,7 +147,7 @@ describe 'TransfersApi' do
147
147
  # @param [Hash] opts the optional parameters
148
148
  # @option opts [String] :period period to group logs
149
149
  # @option opts [String] :expand
150
- # @return [InlineResponse20029]
150
+ # @return [InlineResponse20030]
151
151
  describe 'users_id_user_accounts_id_account_transfers_get test' do
152
152
  it 'should work' do
153
153
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -211,7 +211,7 @@ describe 'TransfersApi' do
211
211
  # @param id_account
212
212
  # @param [Hash] opts the optional parameters
213
213
  # @option opts [String] :expand
214
- # @return [InlineResponse20028]
214
+ # @return [InlineResponse20029]
215
215
  describe 'users_id_user_connections_id_connection_accounts_id_account_recipients_get test' do
216
216
  it 'should work' do
217
217
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -245,7 +245,7 @@ describe 'TransfersApi' do
245
245
  # @param [Hash] opts the optional parameters
246
246
  # @option opts [String] :period period to group logs
247
247
  # @option opts [String] :expand
248
- # @return [InlineResponse20029]
248
+ # @return [InlineResponse20030]
249
249
  describe 'users_id_user_connections_id_connection_accounts_id_account_recipients_id_recipient_transfers_get test' do
250
250
  it 'should work' do
251
251
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -316,7 +316,7 @@ describe 'TransfersApi' do
316
316
  # @param [Hash] opts the optional parameters
317
317
  # @option opts [String] :period period to group logs
318
318
  # @option opts [String] :expand
319
- # @return [InlineResponse20029]
319
+ # @return [InlineResponse20030]
320
320
  describe 'users_id_user_connections_id_connection_accounts_id_account_transfers_get test' do
321
321
  it 'should work' do
322
322
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -382,7 +382,7 @@ describe 'TransfersApi' do
382
382
  # @param id_connection
383
383
  # @param [Hash] opts the optional parameters
384
384
  # @option opts [String] :expand
385
- # @return [InlineResponse20028]
385
+ # @return [InlineResponse20029]
386
386
  describe 'users_id_user_connections_id_connection_recipients_get test' do
387
387
  it 'should work' do
388
388
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -414,7 +414,7 @@ describe 'TransfersApi' do
414
414
  # @param [Hash] opts the optional parameters
415
415
  # @option opts [String] :period period to group logs
416
416
  # @option opts [String] :expand
417
- # @return [InlineResponse20029]
417
+ # @return [InlineResponse20030]
418
418
  describe 'users_id_user_connections_id_connection_recipients_id_recipient_transfers_get test' do
419
419
  it 'should work' do
420
420
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -481,7 +481,7 @@ describe 'TransfersApi' do
481
481
  # @param [Hash] opts the optional parameters
482
482
  # @option opts [String] :period period to group logs
483
483
  # @option opts [String] :expand
484
- # @return [InlineResponse20029]
484
+ # @return [InlineResponse20030]
485
485
  describe 'users_id_user_connections_id_connection_transfers_get test' do
486
486
  it 'should work' do
487
487
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -543,7 +543,7 @@ describe 'TransfersApi' do
543
543
  # @param id_user Hint: you can use 'me' or 'all'
544
544
  # @param [Hash] opts the optional parameters
545
545
  # @option opts [String] :expand
546
- # @return [InlineResponse20028]
546
+ # @return [InlineResponse20029]
547
547
  describe 'users_id_user_recipients_get test' do
548
548
  it 'should work' do
549
549
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -573,7 +573,7 @@ describe 'TransfersApi' do
573
573
  # @param [Hash] opts the optional parameters
574
574
  # @option opts [String] :period period to group logs
575
575
  # @option opts [String] :expand
576
- # @return [InlineResponse20029]
576
+ # @return [InlineResponse20030]
577
577
  describe 'users_id_user_recipients_id_recipient_transfers_get test' do
578
578
  it 'should work' do
579
579
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -636,7 +636,7 @@ describe 'TransfersApi' do
636
636
  # @param [Hash] opts the optional parameters
637
637
  # @option opts [String] :period period to group logs
638
638
  # @option opts [String] :expand
639
- # @return [InlineResponse20029]
639
+ # @return [InlineResponse20030]
640
640
  describe 'users_id_user_transfers_get test' do
641
641
  it 'should work' do
642
642
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -49,7 +49,7 @@ describe 'UsersManagementApi' do
49
49
  # @param [Hash] opts the optional parameters
50
50
  # @option opts [String] :search searches a user by mail (if it contains no '@', '@biapi.pro' will be added at the end)
51
51
  # @option opts [String] :expand
52
- # @return [InlineResponse20021]
52
+ # @return [InlineResponse20022]
53
53
  describe 'users_get test' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -124,7 +124,7 @@ describe 'UsersManagementApi' do
124
124
  # @param id_user Hint: you can use 'me' or 'all'
125
125
  # @param [Hash] opts the optional parameters
126
126
  # @option opts [String] :expand
127
- # @return [InlineResponse20037]
127
+ # @return [InlineResponse20039]
128
128
  describe 'users_id_user_profiles_get test' do
129
129
  it 'should work' do
130
130
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -33,11 +33,11 @@ describe 'WealthApi' do
33
33
  end
34
34
 
35
35
  # unit tests for finance_securities_get
36
- # Get securities
36
+ # Get finance securities
37
37
  #
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :expand
40
- # @return [InlineResponse20016]
40
+ # @return [InlineResponse20019]
41
41
  describe 'finance_securities_get test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -67,8 +67,10 @@ describe 'WealthApi' do
67
67
  # @param id_user Hint: you can use 'me' or 'all'
68
68
  # @param id_account
69
69
  # @param [Hash] opts the optional parameters
70
+ # @option opts [String] :label filter investments using keywords in labels
71
+ # @option opts [String] :code filter investments by ISIN codes
70
72
  # @option opts [String] :expand
71
- # @return [InlineResponse20023]
73
+ # @return [InlineResponse20024]
72
74
  describe 'users_id_user_accounts_id_account_investments_get test' do
73
75
  it 'should work' do
74
76
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -83,7 +85,7 @@ describe 'WealthApi' do
83
85
  # @param id_investment
84
86
  # @param [Hash] opts the optional parameters
85
87
  # @option opts [String] :expand
86
- # @return [InlineResponse20024]
88
+ # @return [InlineResponse20025]
87
89
  describe 'users_id_user_accounts_id_account_investments_id_investment_history_get test' do
88
90
  it 'should work' do
89
91
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -98,7 +100,7 @@ describe 'WealthApi' do
98
100
  # @param id_investment
99
101
  # @param [Hash] opts the optional parameters
100
102
  # @option opts [String] :expand
101
- # @return [InlineResponse20025]
103
+ # @return [InlineResponse20026]
102
104
  describe 'users_id_user_accounts_id_account_investments_id_investment_pockets_get test' do
103
105
  it 'should work' do
104
106
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -131,7 +133,7 @@ describe 'WealthApi' do
131
133
  # @param id_account
132
134
  # @param [Hash] opts the optional parameters
133
135
  # @option opts [String] :expand
134
- # @return [InlineResponse20025]
136
+ # @return [InlineResponse20026]
135
137
  describe 'users_id_user_accounts_id_account_pockets_get test' do
136
138
  it 'should work' do
137
139
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -145,8 +147,10 @@ describe 'WealthApi' do
145
147
  # @param id_connection
146
148
  # @param id_account
147
149
  # @param [Hash] opts the optional parameters
150
+ # @option opts [String] :label filter investments using keywords in labels
151
+ # @option opts [String] :code filter investments by ISIN codes
148
152
  # @option opts [String] :expand
149
- # @return [InlineResponse20023]
153
+ # @return [InlineResponse20024]
150
154
  describe 'users_id_user_connections_id_connection_accounts_id_account_investments_get test' do
151
155
  it 'should work' do
152
156
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -162,7 +166,7 @@ describe 'WealthApi' do
162
166
  # @param id_investment
163
167
  # @param [Hash] opts the optional parameters
164
168
  # @option opts [String] :expand
165
- # @return [InlineResponse20024]
169
+ # @return [InlineResponse20025]
166
170
  describe 'users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get test' do
167
171
  it 'should work' do
168
172
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -178,7 +182,7 @@ describe 'WealthApi' do
178
182
  # @param id_investment
179
183
  # @param [Hash] opts the optional parameters
180
184
  # @option opts [String] :expand
181
- # @return [InlineResponse20025]
185
+ # @return [InlineResponse20026]
182
186
  describe 'users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_pockets_get test' do
183
187
  it 'should work' do
184
188
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -213,7 +217,7 @@ describe 'WealthApi' do
213
217
  # @param id_account
214
218
  # @param [Hash] opts the optional parameters
215
219
  # @option opts [String] :expand
216
- # @return [InlineResponse20025]
220
+ # @return [InlineResponse20026]
217
221
  describe 'users_id_user_connections_id_connection_accounts_id_account_pockets_get test' do
218
222
  it 'should work' do
219
223
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -226,8 +230,10 @@ describe 'WealthApi' do
226
230
  # @param id_user Hint: you can use 'me' or 'all'
227
231
  # @param id_connection
228
232
  # @param [Hash] opts the optional parameters
233
+ # @option opts [String] :label filter investments using keywords in labels
234
+ # @option opts [String] :code filter investments by ISIN codes
229
235
  # @option opts [String] :expand
230
- # @return [InlineResponse20023]
236
+ # @return [InlineResponse20024]
231
237
  describe 'users_id_user_connections_id_connection_investments_get test' do
232
238
  it 'should work' do
233
239
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -242,7 +248,7 @@ describe 'WealthApi' do
242
248
  # @param id_investment
243
249
  # @param [Hash] opts the optional parameters
244
250
  # @option opts [String] :expand
245
- # @return [InlineResponse20024]
251
+ # @return [InlineResponse20025]
246
252
  describe 'users_id_user_connections_id_connection_investments_id_investment_history_get test' do
247
253
  it 'should work' do
248
254
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -257,7 +263,7 @@ describe 'WealthApi' do
257
263
  # @param id_investment
258
264
  # @param [Hash] opts the optional parameters
259
265
  # @option opts [String] :expand
260
- # @return [InlineResponse20025]
266
+ # @return [InlineResponse20026]
261
267
  describe 'users_id_user_connections_id_connection_investments_id_investment_pockets_get test' do
262
268
  it 'should work' do
263
269
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -290,7 +296,7 @@ describe 'WealthApi' do
290
296
  # @param id_connection
291
297
  # @param [Hash] opts the optional parameters
292
298
  # @option opts [String] :expand
293
- # @return [InlineResponse20025]
299
+ # @return [InlineResponse20026]
294
300
  describe 'users_id_user_connections_id_connection_pockets_get test' do
295
301
  it 'should work' do
296
302
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -302,8 +308,10 @@ describe 'WealthApi' do
302
308
  #
303
309
  # @param id_user Hint: you can use 'me' or 'all'
304
310
  # @param [Hash] opts the optional parameters
311
+ # @option opts [String] :label filter investments using keywords in labels
312
+ # @option opts [String] :code filter investments by ISIN codes
305
313
  # @option opts [String] :expand
306
- # @return [InlineResponse20023]
314
+ # @return [InlineResponse20024]
307
315
  describe 'users_id_user_investments_get test' do
308
316
  it 'should work' do
309
317
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -317,7 +325,7 @@ describe 'WealthApi' do
317
325
  # @param id_investment
318
326
  # @param [Hash] opts the optional parameters
319
327
  # @option opts [String] :expand
320
- # @return [InlineResponse20024]
328
+ # @return [InlineResponse20025]
321
329
  describe 'users_id_user_investments_id_investment_history_get test' do
322
330
  it 'should work' do
323
331
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -331,7 +339,7 @@ describe 'WealthApi' do
331
339
  # @param id_investment
332
340
  # @param [Hash] opts the optional parameters
333
341
  # @option opts [String] :expand
334
- # @return [InlineResponse20025]
342
+ # @return [InlineResponse20026]
335
343
  describe 'users_id_user_investments_id_investment_pockets_get test' do
336
344
  it 'should work' do
337
345
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -362,7 +370,7 @@ describe 'WealthApi' do
362
370
  # @param id_user Hint: you can use 'me' or 'all'
363
371
  # @param [Hash] opts the optional parameters
364
372
  # @option opts [String] :expand
365
- # @return [InlineResponse20025]
373
+ # @return [InlineResponse20026]
366
374
  describe 'users_id_user_pockets_get test' do
367
375
  it 'should work' do
368
376
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -89,6 +89,23 @@ describe BudgeaClient::ApiClient do
89
89
  end
90
90
  end
91
91
 
92
+ describe '#build_request' do
93
+ let(:config) { BudgeaClient::Configuration.new }
94
+ let(:api_client) { BudgeaClient::ApiClient.new(config) }
95
+
96
+ it 'does not send multipart to request' do
97
+ expect(Typhoeus::Request).to receive(:new).with(anything, hash_not_including(:multipart))
98
+ api_client.build_request(:get, '/test')
99
+ end
100
+
101
+ context 'when the content type is multipart' do
102
+ it 'sends multipart to request' do
103
+ expect(Typhoeus::Request).to receive(:new).with(anything, hash_including(multipart: true))
104
+ api_client.build_request(:get, '/test', {header_params: { 'Content-Type' => 'multipart/form-data'}})
105
+ end
106
+ end
107
+ end
108
+
92
109
  describe '#deserialize' do
93
110
  it "handles Array<Integer>" do
94
111
  api_client = BudgeaClient::ApiClient.new
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -32,6 +32,12 @@ describe 'AccountLog' do
32
32
  expect(@instance).to be_instance_of(BudgeaClient::AccountLog)
33
33
  end
34
34
  end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
35
41
  describe 'test attribute "id_account"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers