budgea_client 5.2.0 → 5.3.1
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/budgea_openapi.json +8 -41
- data/docs/BanksApi.md +3 -13
- data/docs/ConnectionsApi.md +3 -13
- data/docs/ProvidersApi.md +3 -13
- data/lib/budgea_client/api/banks_api.rb +4 -20
- data/lib/budgea_client/api/connections_api.rb +4 -20
- data/lib/budgea_client/api/providers_api.rb +4 -20
- data/lib/budgea_client/version.rb +1 -1
- data/spec/api/administration_api_spec.rb +85 -15
- data/spec/api/authentication_api_spec.rb +4 -3
- data/spec/api/banks_api_spec.rb +298 -54
- data/spec/api/connections_api_spec.rb +219 -26
- data/spec/api/documents_api_spec.rb +14 -14
- data/spec/api/ocr_api_spec.rb +1 -1
- data/spec/api/oidc_api_spec.rb +1 -1
- data/spec/api/pfm_api_spec.rb +17 -6
- data/spec/api/providers_api_spec.rb +297 -40
- data/spec/api/recipients_api_spec.rb +1 -1
- data/spec/api/terms_api_spec.rb +20 -4
- data/spec/api/transfer_api_spec.rb +1 -1
- data/spec/api/transfers_api_spec.rb +13 -13
- data/spec/api/users_management_api_spec.rb +3 -3
- data/spec/api/wealth_api_spec.rb +27 -19
- data/spec/api_client_spec.rb +18 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/access_spec.rb +1 -1
- data/spec/models/account_log_spec.rb +7 -1
- data/spec/models/account_spec.rb +25 -1
- data/spec/models/account_type_spec.rb +1 -1
- data/spec/models/alert_spec.rb +1 -1
- data/spec/models/auth_provider_spec.rb +1 -1
- data/spec/models/category_spec.rb +1 -1
- data/spec/models/certificate_spec.rb +1 -1
- data/spec/models/client_spec.rb +2 -2
- data/spec/models/config_log_spec.rb +1 -1
- data/spec/models/connection_log_spec.rb +7 -1
- data/spec/models/connection_source_spec.rb +1 -1
- data/spec/models/connection_spec.rb +41 -1
- data/spec/models/connector_category_spec.rb +1 -1
- data/spec/models/connector_logo_spec.rb +1 -1
- data/spec/models/connector_source_spec.rb +1 -1
- data/spec/models/connector_spec.rb +7 -7
- data/spec/models/currency_spec.rb +1 -1
- data/spec/models/device_spec.rb +1 -1
- data/spec/models/document_spec.rb +1 -1
- data/spec/models/document_type_spec.rb +1 -1
- data/spec/models/field_spec.rb +7 -1
- data/spec/models/field_value_spec.rb +1 -1
- data/spec/models/file_spec.rb +1 -1
- data/spec/models/group_spec.rb +1 -1
- data/spec/models/hash_table_spec.rb +1 -1
- data/spec/models/inline_response_200_10_spec.rb +1 -1
- data/spec/models/inline_response_200_11_spec.rb +3 -3
- data/spec/models/inline_response_200_12_spec.rb +2 -2
- data/spec/models/inline_response_200_13_spec.rb +2 -2
- data/spec/models/inline_response_200_14_spec.rb +3 -3
- data/spec/models/inline_response_200_15_spec.rb +2 -2
- data/spec/models/inline_response_200_16_spec.rb +2 -2
- data/spec/models/inline_response_200_17_spec.rb +3 -3
- data/spec/models/inline_response_200_18_spec.rb +2 -2
- data/spec/models/inline_response_200_19_spec.rb +8 -2
- data/spec/models/inline_response_200_1_spec.rb +1 -1
- data/spec/models/inline_response_200_20_spec.rb +3 -3
- data/spec/models/inline_response_200_21_spec.rb +3 -3
- data/spec/models/inline_response_200_22_spec.rb +2 -2
- data/spec/models/inline_response_200_23_spec.rb +2 -2
- data/spec/models/inline_response_200_24_spec.rb +3 -3
- data/spec/models/inline_response_200_25_spec.rb +3 -3
- data/spec/models/inline_response_200_26_spec.rb +2 -2
- data/spec/models/inline_response_200_27_spec.rb +2 -2
- data/spec/models/inline_response_200_28_spec.rb +2 -2
- data/spec/models/inline_response_200_29_spec.rb +3 -3
- data/spec/models/inline_response_200_2_spec.rb +1 -1
- data/spec/models/inline_response_200_30_spec.rb +3 -3
- data/spec/models/inline_response_200_31_spec.rb +2 -2
- data/spec/models/inline_response_200_32_spec.rb +3 -3
- data/spec/models/inline_response_200_33_spec.rb +3 -3
- data/spec/models/inline_response_200_34_spec.rb +2 -2
- data/spec/models/inline_response_200_35_spec.rb +3 -3
- data/spec/models/inline_response_200_36_spec.rb +3 -3
- data/spec/models/inline_response_200_37_spec.rb +2 -2
- data/spec/models/inline_response_200_38_spec.rb +3 -3
- data/spec/models/inline_response_200_39_spec.rb +2 -2
- data/spec/models/inline_response_200_3_spec.rb +1 -1
- data/spec/models/inline_response_200_40_spec.rb +3 -3
- data/spec/models/inline_response_200_41_spec.rb +1 -1
- data/spec/models/inline_response_200_42_spec.rb +1 -1
- data/spec/models/inline_response_200_4_spec.rb +1 -1
- data/spec/models/inline_response_200_5_spec.rb +1 -1
- data/spec/models/inline_response_200_6_spec.rb +1 -1
- data/spec/models/inline_response_200_7_spec.rb +1 -1
- data/spec/models/inline_response_200_8_spec.rb +1 -1
- data/spec/models/inline_response_200_9_spec.rb +1 -1
- data/spec/models/inline_response_200_spec.rb +1 -1
- data/spec/models/investment_spec.rb +1 -1
- data/spec/models/investment_value_spec.rb +1 -1
- data/spec/models/keyword_spec.rb +1 -1
- data/spec/models/locked_user_spec.rb +1 -1
- data/spec/models/oidc_whitelist_spec.rb +1 -1
- data/spec/models/order_spec.rb +1 -1
- data/spec/models/pocket_spec.rb +1 -1
- data/spec/models/profile_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/project_type_spec.rb +1 -1
- data/spec/models/recipient_log_spec.rb +1 -1
- data/spec/models/recipient_spec.rb +1 -1
- data/spec/models/security_spec.rb +1 -1
- data/spec/models/subscription_log_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +7 -1
- data/spec/models/terms_of_service_spec.rb +1 -1
- data/spec/models/transaction_information_spec.rb +1 -1
- data/spec/models/transaction_spec.rb +7 -1
- data/spec/models/transactions_cluster_spec.rb +1 -1
- data/spec/models/transfer_log_spec.rb +1 -1
- data/spec/models/transfer_spec.rb +25 -1
- data/spec/models/user_alert_spec.rb +1 -1
- data/spec/models/user_spec.rb +2 -2
- data/spec/models/webhook_data_spec.rb +1 -1
- data/spec/models/webhook_log_spec.rb +1 -1
- data/spec/models/webhook_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -9
- data/docs/HUBApi.md +0 -62
- data/docs/Invite.md +0 -13
- data/pkg/budgea_client-5.0.3.gem +0 -0
- data/spec/api/hub_api_spec.rb +0 -47
- data/spec/models/invite_spec.rb +0 -71
data/spec/api/terms_api_spec.rb
CHANGED
|
@@ -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.
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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.
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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.
|
|
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 [
|
|
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 [
|
|
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
|
data/spec/api/wealth_api_spec.rb
CHANGED
|
@@ -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.
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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 [
|
|
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
|
data/spec/api_client_spec.rb
CHANGED
|
@@ -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.
|
|
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
|
data/spec/configuration_spec.rb
CHANGED
data/spec/models/access_spec.rb
CHANGED
|
@@ -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.
|
|
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
|