budgea_client 1.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.
- checksums.yaml +7 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +89 -0
- data/README.md +619 -0
- data/Rakefile +13 -0
- data/budgea_client.gemspec +35 -0
- data/docs/Access.md +12 -0
- data/docs/Account.md +25 -0
- data/docs/AccountLog.md +15 -0
- data/docs/AccountType.md +15 -0
- data/docs/AdministrationApi.md +944 -0
- data/docs/Alert.md +15 -0
- data/docs/AuthenticationApi.md +398 -0
- data/docs/Bank.md +18 -0
- data/docs/BankCategory.md +9 -0
- data/docs/BanksApi.md +6558 -0
- data/docs/Category.md +17 -0
- data/docs/Client.md +18 -0
- data/docs/Connection.md +16 -0
- data/docs/ConnectionContact.md +17 -0
- data/docs/ConnectionLog.md +21 -0
- data/docs/ConnectionsApi.md +934 -0
- data/docs/ConnectorLogo.md +11 -0
- data/docs/Currency.md +10 -0
- data/docs/Device.md +14 -0
- data/docs/Document.md +29 -0
- data/docs/DocumentType.md +10 -0
- data/docs/DocumentsApi.md +5228 -0
- data/docs/Field.md +15 -0
- data/docs/File.md +11 -0
- data/docs/Group.md +15 -0
- data/docs/HashTable.md +11 -0
- data/docs/InlineResponse200.md +8 -0
- data/docs/InlineResponse2001.md +9 -0
- data/docs/InlineResponse20010.md +8 -0
- data/docs/InlineResponse20011.md +8 -0
- data/docs/InlineResponse20012.md +8 -0
- data/docs/InlineResponse20013.md +8 -0
- data/docs/InlineResponse20014.md +8 -0
- data/docs/InlineResponse20015.md +8 -0
- data/docs/InlineResponse20016.md +8 -0
- data/docs/InlineResponse20017.md +8 -0
- data/docs/InlineResponse20018.md +8 -0
- data/docs/InlineResponse20019.md +8 -0
- data/docs/InlineResponse2002.md +10 -0
- data/docs/InlineResponse20020.md +8 -0
- data/docs/InlineResponse20021.md +8 -0
- data/docs/InlineResponse20022.md +8 -0
- data/docs/InlineResponse20023.md +8 -0
- data/docs/InlineResponse20024.md +8 -0
- data/docs/InlineResponse20025.md +8 -0
- data/docs/InlineResponse20026.md +8 -0
- data/docs/InlineResponse20027.md +8 -0
- data/docs/InlineResponse20028.md +8 -0
- data/docs/InlineResponse20029.md +8 -0
- data/docs/InlineResponse2003.md +10 -0
- data/docs/InlineResponse20030.md +8 -0
- data/docs/InlineResponse20031.md +8 -0
- data/docs/InlineResponse20032.md +8 -0
- data/docs/InlineResponse20033.md +8 -0
- data/docs/InlineResponse2004.md +12 -0
- data/docs/InlineResponse2005.md +9 -0
- data/docs/InlineResponse2006.md +10 -0
- data/docs/InlineResponse2007.md +8 -0
- data/docs/InlineResponse2008.md +8 -0
- data/docs/InlineResponse2009.md +8 -0
- data/docs/Investment.md +32 -0
- data/docs/InvestmentValue.md +13 -0
- data/docs/Invite.md +13 -0
- data/docs/LockedUser.md +10 -0
- data/docs/OCRApi.md +117 -0
- data/docs/OIDCApi.md +167 -0
- data/docs/OidcWhitelist.md +9 -0
- data/docs/PFMApi.md +2204 -0
- data/docs/Pocket.md +17 -0
- data/docs/Profile.md +15 -0
- data/docs/Project.md +16 -0
- data/docs/ProjectType.md +10 -0
- data/docs/ProvidersApi.md +7014 -0
- data/docs/Recipient.md +22 -0
- data/docs/RecipientsApi.md +244 -0
- data/docs/Security.md +12 -0
- data/docs/Subscription.md +18 -0
- data/docs/TermsApi.md +218 -0
- data/docs/TermsOfService.md +12 -0
- data/docs/Transaction.md +33 -0
- data/docs/TransactionInformation.md +11 -0
- data/docs/TransactionsCluster.md +16 -0
- data/docs/Transfer.md +23 -0
- data/docs/TransfersApi.md +2404 -0
- data/docs/User.md +10 -0
- data/docs/UserAlert.md +21 -0
- data/docs/UsersManagementApi.md +608 -0
- data/docs/WealthApi.md +828 -0
- data/docs/Webhook.md +15 -0
- data/git_push.sh +55 -0
- data/lib/budgea_client.rb +118 -0
- data/lib/budgea_client/api/administration_api.rb +1059 -0
- data/lib/budgea_client/api/authentication_api.rb +467 -0
- data/lib/budgea_client/api/banks_api.rb +7837 -0
- data/lib/budgea_client/api/connections_api.rb +1088 -0
- data/lib/budgea_client/api/documents_api.rb +6637 -0
- data/lib/budgea_client/api/ocr_api.rb +141 -0
- data/lib/budgea_client/api/oidc_api.rb +195 -0
- data/lib/budgea_client/api/pfm_api.rb +2630 -0
- data/lib/budgea_client/api/providers_api.rb +8694 -0
- data/lib/budgea_client/api/recipients_api.rb +293 -0
- data/lib/budgea_client/api/terms_api.rb +245 -0
- data/lib/budgea_client/api/transfers_api.rb +2941 -0
- data/lib/budgea_client/api/users_management_api.rb +695 -0
- data/lib/budgea_client/api/wealth_api.rb +994 -0
- data/lib/budgea_client/api_client.rb +378 -0
- data/lib/budgea_client/api_error.rb +28 -0
- data/lib/budgea_client/configuration.rb +192 -0
- data/lib/budgea_client/models/access.rb +224 -0
- data/lib/budgea_client/models/account.rb +383 -0
- data/lib/budgea_client/models/account_log.rb +266 -0
- data/lib/budgea_client/models/account_type.rb +281 -0
- data/lib/budgea_client/models/alert.rb +273 -0
- data/lib/budgea_client/models/bank.rb +308 -0
- data/lib/budgea_client/models/bank_category.rb +201 -0
- data/lib/budgea_client/models/category.rb +299 -0
- data/lib/budgea_client/models/client.rb +305 -0
- data/lib/budgea_client/models/connection.rb +276 -0
- data/lib/budgea_client/models/connection_contact.rb +274 -0
- data/lib/budgea_client/models/connection_log.rb +324 -0
- data/lib/budgea_client/models/connector_logo.rb +223 -0
- data/lib/budgea_client/models/currency.rb +216 -0
- data/lib/budgea_client/models/device.rb +269 -0
- data/lib/budgea_client/models/document.rb +398 -0
- data/lib/budgea_client/models/document_type.rb +213 -0
- data/lib/budgea_client/models/field.rb +273 -0
- data/lib/budgea_client/models/file.rb +225 -0
- data/lib/budgea_client/models/group.rb +246 -0
- data/lib/budgea_client/models/hash_table.rb +227 -0
- data/lib/budgea_client/models/inline_response_200.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_1.rb +199 -0
- data/lib/budgea_client/models/inline_response_200_10.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_11.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_12.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_13.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_14.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_15.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_16.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_17.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_18.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_19.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_2.rb +209 -0
- data/lib/budgea_client/models/inline_response_200_20.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_21.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_22.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_23.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_24.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_25.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_26.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_27.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_28.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_29.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_3.rb +214 -0
- data/lib/budgea_client/models/inline_response_200_30.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_31.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_32.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_33.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_4.rb +239 -0
- data/lib/budgea_client/models/inline_response_200_5.rb +199 -0
- data/lib/budgea_client/models/inline_response_200_6.rb +214 -0
- data/lib/budgea_client/models/inline_response_200_7.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_8.rb +185 -0
- data/lib/budgea_client/models/inline_response_200_9.rb +185 -0
- data/lib/budgea_client/models/investment.rb +449 -0
- data/lib/budgea_client/models/investment_value.rb +249 -0
- data/lib/budgea_client/models/invite.rb +233 -0
- data/lib/budgea_client/models/locked_user.rb +206 -0
- data/lib/budgea_client/models/oidc_whitelist.rb +198 -0
- data/lib/budgea_client/models/pocket.rb +298 -0
- data/lib/budgea_client/models/profile.rb +308 -0
- data/lib/budgea_client/models/project.rb +301 -0
- data/lib/budgea_client/models/project_type.rb +206 -0
- data/lib/budgea_client/models/recipient.rb +343 -0
- data/lib/budgea_client/models/security.rb +229 -0
- data/lib/budgea_client/models/subscription.rb +299 -0
- data/lib/budgea_client/models/terms_of_service.rb +229 -0
- data/lib/budgea_client/models/transaction.rb +507 -0
- data/lib/budgea_client/models/transaction_information.rb +224 -0
- data/lib/budgea_client/models/transactions_cluster.rb +277 -0
- data/lib/budgea_client/models/transfer.rb +354 -0
- data/lib/budgea_client/models/user.rb +244 -0
- data/lib/budgea_client/models/user_alert.rb +333 -0
- data/lib/budgea_client/models/webhook.rb +264 -0
- data/lib/budgea_client/version.rb +5 -0
- data/pkg/budgea_client-1.0.0.gem +0 -0
- data/spec/api/administration_api_spec.rb +271 -0
- data/spec/api/authentication_api_spec.rb +126 -0
- data/spec/api/banks_api_spec.rb +1787 -0
- data/spec/api/connections_api_spec.rb +279 -0
- data/spec/api/documents_api_spec.rb +1557 -0
- data/spec/api/ocr_api_spec.rb +54 -0
- data/spec/api/oidc_api_spec.rb +65 -0
- data/spec/api/pfm_api_spec.rb +613 -0
- data/spec/api/providers_api_spec.rb +2029 -0
- data/spec/api/recipients_api_spec.rb +89 -0
- data/spec/api/terms_api_spec.rb +79 -0
- data/spec/api/transfers_api_spec.rb +661 -0
- data/spec/api/users_management_api_spec.rb +177 -0
- data/spec/api/wealth_api_spec.rb +246 -0
- data/spec/api_client_spec.rb +216 -0
- data/spec/configuration_spec.rb +32 -0
- data/spec/models/access_spec.rb +56 -0
- data/spec/models/account_log_spec.rb +74 -0
- data/spec/models/account_spec.rb +134 -0
- data/spec/models/account_type_spec.rb +74 -0
- data/spec/models/alert_spec.rb +74 -0
- data/spec/models/bank_category_spec.rb +38 -0
- data/spec/models/bank_spec.rb +92 -0
- data/spec/models/category_spec.rb +86 -0
- data/spec/models/client_spec.rb +92 -0
- data/spec/models/connection_contact_spec.rb +86 -0
- data/spec/models/connection_log_spec.rb +110 -0
- data/spec/models/connection_spec.rb +80 -0
- data/spec/models/connector_logo_spec.rb +50 -0
- data/spec/models/currency_spec.rb +44 -0
- data/spec/models/device_spec.rb +68 -0
- data/spec/models/document_spec.rb +158 -0
- data/spec/models/document_type_spec.rb +44 -0
- data/spec/models/field_spec.rb +74 -0
- data/spec/models/file_spec.rb +50 -0
- data/spec/models/group_spec.rb +74 -0
- data/spec/models/hash_table_spec.rb +50 -0
- data/spec/models/inline_response_200_10_spec.rb +32 -0
- data/spec/models/inline_response_200_11_spec.rb +32 -0
- data/spec/models/inline_response_200_12_spec.rb +32 -0
- data/spec/models/inline_response_200_13_spec.rb +32 -0
- data/spec/models/inline_response_200_14_spec.rb +32 -0
- data/spec/models/inline_response_200_15_spec.rb +32 -0
- data/spec/models/inline_response_200_16_spec.rb +32 -0
- data/spec/models/inline_response_200_17_spec.rb +32 -0
- data/spec/models/inline_response_200_18_spec.rb +32 -0
- data/spec/models/inline_response_200_19_spec.rb +32 -0
- data/spec/models/inline_response_200_1_spec.rb +38 -0
- data/spec/models/inline_response_200_20_spec.rb +32 -0
- data/spec/models/inline_response_200_21_spec.rb +32 -0
- data/spec/models/inline_response_200_22_spec.rb +32 -0
- data/spec/models/inline_response_200_23_spec.rb +32 -0
- data/spec/models/inline_response_200_24_spec.rb +32 -0
- data/spec/models/inline_response_200_25_spec.rb +32 -0
- data/spec/models/inline_response_200_26_spec.rb +32 -0
- data/spec/models/inline_response_200_27_spec.rb +32 -0
- data/spec/models/inline_response_200_28_spec.rb +32 -0
- data/spec/models/inline_response_200_29_spec.rb +32 -0
- data/spec/models/inline_response_200_2_spec.rb +44 -0
- data/spec/models/inline_response_200_30_spec.rb +32 -0
- data/spec/models/inline_response_200_31_spec.rb +32 -0
- data/spec/models/inline_response_200_32_spec.rb +32 -0
- data/spec/models/inline_response_200_33_spec.rb +32 -0
- data/spec/models/inline_response_200_3_spec.rb +44 -0
- data/spec/models/inline_response_200_4_spec.rb +56 -0
- data/spec/models/inline_response_200_5_spec.rb +38 -0
- data/spec/models/inline_response_200_6_spec.rb +44 -0
- data/spec/models/inline_response_200_7_spec.rb +32 -0
- data/spec/models/inline_response_200_8_spec.rb +32 -0
- data/spec/models/inline_response_200_9_spec.rb +32 -0
- data/spec/models/inline_response_200_spec.rb +32 -0
- data/spec/models/investment_spec.rb +176 -0
- data/spec/models/investment_value_spec.rb +62 -0
- data/spec/models/invite_spec.rb +62 -0
- data/spec/models/locked_user_spec.rb +44 -0
- data/spec/models/oidc_whitelist_spec.rb +38 -0
- data/spec/models/pocket_spec.rb +86 -0
- data/spec/models/profile_spec.rb +78 -0
- data/spec/models/project_spec.rb +80 -0
- data/spec/models/project_type_spec.rb +44 -0
- data/spec/models/recipient_spec.rb +116 -0
- data/spec/models/security_spec.rb +56 -0
- data/spec/models/subscription_spec.rb +92 -0
- data/spec/models/terms_of_service_spec.rb +56 -0
- data/spec/models/transaction_information_spec.rb +50 -0
- data/spec/models/transaction_spec.rb +182 -0
- data/spec/models/transactions_cluster_spec.rb +80 -0
- data/spec/models/transfer_spec.rb +122 -0
- data/spec/models/user_alert_spec.rb +110 -0
- data/spec/models/user_spec.rb +48 -0
- data/spec/models/webhook_spec.rb +74 -0
- data/spec/spec_helper.rb +51 -0
- metadata +599 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'spec_helper'
|
|
4
|
+
require 'json'
|
|
5
|
+
|
|
6
|
+
# Unit tests for BudgeaClient::OCRApi
|
|
7
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
8
|
+
# Please update as you see appropriate
|
|
9
|
+
describe 'OCRApi' do
|
|
10
|
+
before do
|
|
11
|
+
# run before each test
|
|
12
|
+
@instance = BudgeaClient::OCRApi.new
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
after do
|
|
16
|
+
# run after each test
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
describe 'test an instance of OCRApi' do
|
|
20
|
+
it 'should create an instance of OCRApi' do
|
|
21
|
+
expect(@instance).to be_instance_of(BudgeaClient::OCRApi)
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# unit tests for ocr_post
|
|
26
|
+
# Post an image with OCR
|
|
27
|
+
# Post an image and apply OCR on it to obtain found meta-data.<br><br>
|
|
28
|
+
# @param file File of the document
|
|
29
|
+
# @param [Hash] opts the optional parameters
|
|
30
|
+
# @option opts [Integer] :id_transaction Transaction used to help OCR to find data
|
|
31
|
+
# @option opts [String] :name Name of the document
|
|
32
|
+
# @return [nil]
|
|
33
|
+
describe 'ocr_post test' do
|
|
34
|
+
it "should work" do
|
|
35
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# unit tests for users_id_user_ocr_post
|
|
40
|
+
# Post an image with OCR
|
|
41
|
+
# Post an image and apply OCR on it to obtain found meta-data.<br><br>
|
|
42
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
43
|
+
# @param file File of the document
|
|
44
|
+
# @param [Hash] opts the optional parameters
|
|
45
|
+
# @option opts [Integer] :id_transaction Transaction used to help OCR to find data
|
|
46
|
+
# @option opts [String] :name Name of the document
|
|
47
|
+
# @return [nil]
|
|
48
|
+
describe 'users_id_user_ocr_post test' do
|
|
49
|
+
it "should work" do
|
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'spec_helper'
|
|
4
|
+
require 'json'
|
|
5
|
+
|
|
6
|
+
# Unit tests for BudgeaClient::OIDCApi
|
|
7
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
8
|
+
# Please update as you see appropriate
|
|
9
|
+
describe 'OIDCApi' do
|
|
10
|
+
before do
|
|
11
|
+
# run before each test
|
|
12
|
+
@instance = BudgeaClient::OIDCApi.new
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
after do
|
|
16
|
+
# run after each test
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
describe 'test an instance of OIDCApi' do
|
|
20
|
+
it 'should create an instance of OIDCApi' do
|
|
21
|
+
expect(@instance).to be_instance_of(BudgeaClient::OIDCApi)
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# unit tests for oidc_whitelist_id_whitelist_delete
|
|
26
|
+
# Delete the supplied authorized redirect uri
|
|
27
|
+
#
|
|
28
|
+
# @param id_whitelist
|
|
29
|
+
# @param [Hash] opts the optional parameters
|
|
30
|
+
# @option opts [String] :expand
|
|
31
|
+
# @return [OidcWhitelist]
|
|
32
|
+
describe 'oidc_whitelist_id_whitelist_delete test' do
|
|
33
|
+
it "should work" do
|
|
34
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# unit tests for oidc_whitelist_id_whitelist_post
|
|
39
|
+
# Edit a authorized redirect uri
|
|
40
|
+
# Edit the uri for the supplied authorized redirect uri.<br><br>
|
|
41
|
+
# @param id_whitelist
|
|
42
|
+
# @param redirect_uri new authorized redirect uri
|
|
43
|
+
# @param [Hash] opts the optional parameters
|
|
44
|
+
# @option opts [String] :expand
|
|
45
|
+
# @return [OidcWhitelist]
|
|
46
|
+
describe 'oidc_whitelist_id_whitelist_post test' do
|
|
47
|
+
it "should work" do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# unit tests for oidc_whitelist_post
|
|
53
|
+
# Adds an authorized redirect uri
|
|
54
|
+
# It requires the authorized redirect uri to be created<br><br>
|
|
55
|
+
# @param redirect_uri authorized redirect uri to be created
|
|
56
|
+
# @param [Hash] opts the optional parameters
|
|
57
|
+
# @option opts [String] :expand
|
|
58
|
+
# @return [OidcWhitelist]
|
|
59
|
+
describe 'oidc_whitelist_post test' do
|
|
60
|
+
it "should work" do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
end
|
|
@@ -0,0 +1,613 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require 'spec_helper'
|
|
4
|
+
require 'json'
|
|
5
|
+
|
|
6
|
+
# Unit tests for BudgeaClient::PFMApi
|
|
7
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
8
|
+
# Please update as you see appropriate
|
|
9
|
+
describe 'PFMApi' do
|
|
10
|
+
before do
|
|
11
|
+
# run before each test
|
|
12
|
+
@instance = BudgeaClient::PFMApi.new
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
after do
|
|
16
|
+
# run after each test
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
describe 'test an instance of PFMApi' do
|
|
20
|
+
it 'should create an instance of PFMApi' do
|
|
21
|
+
expect(@instance).to be_instance_of(BudgeaClient::PFMApi)
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# unit tests for auth_confirm_new_email_post
|
|
26
|
+
# Confirm new email address
|
|
27
|
+
#
|
|
28
|
+
# @param token token received by email
|
|
29
|
+
# @param [Hash] opts the optional parameters
|
|
30
|
+
# @return [nil]
|
|
31
|
+
describe 'auth_confirm_new_email_post test' do
|
|
32
|
+
it "should work" do
|
|
33
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# unit tests for auth_confirm_post
|
|
38
|
+
# Confirm email address
|
|
39
|
+
# <br><br>
|
|
40
|
+
# @param token token received in email
|
|
41
|
+
# @param application application in use
|
|
42
|
+
# @param [Hash] opts the optional parameters
|
|
43
|
+
# @return [InlineResponse2001]
|
|
44
|
+
describe 'auth_confirm_post test' do
|
|
45
|
+
it "should work" do
|
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# unit tests for auth_cookie_post
|
|
51
|
+
# Login with credentials and set as cookie
|
|
52
|
+
#
|
|
53
|
+
# @param username username
|
|
54
|
+
# @param password password
|
|
55
|
+
# @param application application name
|
|
56
|
+
# @param [Hash] opts the optional parameters
|
|
57
|
+
# @option opts [String] :scope scope requested for the token
|
|
58
|
+
# @return [nil]
|
|
59
|
+
describe 'auth_cookie_post test' do
|
|
60
|
+
it "should work" do
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# unit tests for auth_register_post
|
|
66
|
+
# Register to API
|
|
67
|
+
# Create a new user with his email address and password.<br><br><br><br>
|
|
68
|
+
# @param email email address
|
|
69
|
+
# @param password password
|
|
70
|
+
# @param application application in use
|
|
71
|
+
# @param [Hash] opts the optional parameters
|
|
72
|
+
# @option opts [String] :sponsor sponsor code to get advantages
|
|
73
|
+
# @option opts [String] :notification_token APNS or GCM token to send notifications to device
|
|
74
|
+
# @return [InlineResponse2003]
|
|
75
|
+
describe 'auth_register_post test' do
|
|
76
|
+
it "should work" do
|
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# unit tests for auth_token_delete
|
|
82
|
+
# Remove user access
|
|
83
|
+
# This endpoint removes the token in use.<br><br>
|
|
84
|
+
# @param [Hash] opts the optional parameters
|
|
85
|
+
# @return [nil]
|
|
86
|
+
describe 'auth_token_delete test' do
|
|
87
|
+
it "should work" do
|
|
88
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# unit tests for auth_token_post
|
|
93
|
+
# Login to API with credentials
|
|
94
|
+
# Request a new user token by giving an username and a password.<br><br><br><br>
|
|
95
|
+
# @param username username
|
|
96
|
+
# @param password password
|
|
97
|
+
# @param application application name
|
|
98
|
+
# @param [Hash] opts the optional parameters
|
|
99
|
+
# @option opts [String] :scope scope requested for the token
|
|
100
|
+
# @return [InlineResponse2004]
|
|
101
|
+
describe 'auth_token_post test' do
|
|
102
|
+
it "should work" do
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# unit tests for hash_delete
|
|
108
|
+
# Delete the user's connections
|
|
109
|
+
# deletes all connections of the user given his hash<br><br>
|
|
110
|
+
# @param [Hash] opts the optional parameters
|
|
111
|
+
# @return [nil]
|
|
112
|
+
describe 'hash_delete test' do
|
|
113
|
+
it "should work" do
|
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# unit tests for users_id_user_accounts_id_account_balances_get
|
|
119
|
+
# Get balances of accounts
|
|
120
|
+
# Get balance (income/outcome/balance) of enabled accounts for the given period.<br><br>By default, min_date and max_date are the current month, and period is a single month.<br><br>The period is composed with units (days, months, years) and numbers. You can give for example \"1month\", \"15days\", \"1year6months\", etc.<br><br>
|
|
121
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
122
|
+
# @param id_account
|
|
123
|
+
# @param [Hash] opts the optional parameters
|
|
124
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
|
125
|
+
# @option opts [Date] :max_date maximal (inclusive) date
|
|
126
|
+
# @option opts [String] :period split output with the given period (default: month)
|
|
127
|
+
# @return [nil]
|
|
128
|
+
describe 'users_id_user_accounts_id_account_balances_get test' do
|
|
129
|
+
it "should work" do
|
|
130
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# unit tests for users_id_user_accounts_id_account_operationsalert_get
|
|
135
|
+
# Get a list of configurated alerts
|
|
136
|
+
# <br><br>
|
|
137
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
138
|
+
# @param id_account
|
|
139
|
+
# @param [Hash] opts the optional parameters
|
|
140
|
+
# @option opts [String] :expand
|
|
141
|
+
# @return [InlineResponse20022]
|
|
142
|
+
describe 'users_id_user_accounts_id_account_operationsalert_get test' do
|
|
143
|
+
it "should work" do
|
|
144
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# unit tests for users_id_user_accounts_id_account_operationsalert_id_operationsalert_delete
|
|
149
|
+
# Delete an alert on transactions or investemens
|
|
150
|
+
# <br><br>
|
|
151
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
152
|
+
# @param id_account
|
|
153
|
+
# @param id_operationsalert
|
|
154
|
+
# @param [Hash] opts the optional parameters
|
|
155
|
+
# @option opts [String] :expand
|
|
156
|
+
# @return [UserAlert]
|
|
157
|
+
describe 'users_id_user_accounts_id_account_operationsalert_id_operationsalert_delete test' do
|
|
158
|
+
it "should work" do
|
|
159
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
# unit tests for users_id_user_accounts_id_account_operationsalert_id_operationsalert_put
|
|
164
|
+
# Edit an alert on transactions or investemens
|
|
165
|
+
#
|
|
166
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
167
|
+
# @param id_account
|
|
168
|
+
# @param id_operationsalert
|
|
169
|
+
# @param [Hash] opts the optional parameters
|
|
170
|
+
# @option opts [String] :type parameter to choose the scope of the alert. accepted: transactions, investements
|
|
171
|
+
# @option opts [Integer] :income_max capital gain thresholds
|
|
172
|
+
# @option opts [Integer] :expense_max capital loss thresholds
|
|
173
|
+
# @option opts [String] :value_type whether the threshold is given in absolut value or percent. accepted: percent, flat
|
|
174
|
+
# @option opts [Integer] :date_range (number of days) range on which the analysis has to be done
|
|
175
|
+
# @option opts [String] :expand
|
|
176
|
+
# @return [UserAlert]
|
|
177
|
+
describe 'users_id_user_accounts_id_account_operationsalert_id_operationsalert_put test' do
|
|
178
|
+
it "should work" do
|
|
179
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
180
|
+
end
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# unit tests for users_id_user_accounts_id_account_operationsalert_post
|
|
184
|
+
# Create an alert on transactions or investemens of a given user
|
|
185
|
+
#
|
|
186
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
187
|
+
# @param id_account
|
|
188
|
+
# @param [Hash] opts the optional parameters
|
|
189
|
+
# @option opts [String] :type parameter to choose the scope of the alert. accepted: transactions, investements
|
|
190
|
+
# @option opts [Integer] :income_max capital gain thresholds
|
|
191
|
+
# @option opts [Integer] :expense_max capital loss thresholds
|
|
192
|
+
# @option opts [String] :value_type whether the threshold is given in absolut value or percent. accepted: percent, flat
|
|
193
|
+
# @option opts [Integer] :date_range (number of days) range on which the analysis has to be done
|
|
194
|
+
# @option opts [String] :expand
|
|
195
|
+
# @return [UserAlert]
|
|
196
|
+
describe 'users_id_user_accounts_id_account_operationsalert_post test' do
|
|
197
|
+
it "should work" do
|
|
198
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
199
|
+
end
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# unit tests for users_id_user_accountsalert_get
|
|
203
|
+
# Get alert configuration of a specific account
|
|
204
|
+
# <br><br>
|
|
205
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
206
|
+
# @param [Hash] opts the optional parameters
|
|
207
|
+
# @return [Object]
|
|
208
|
+
describe 'users_id_user_accountsalert_get test' do
|
|
209
|
+
it "should work" do
|
|
210
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
# unit tests for users_id_user_accountsalert_put
|
|
215
|
+
# Update alert configuration of an account
|
|
216
|
+
# It updates the alert configuration of a specific account<br><br><br><br>
|
|
217
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
218
|
+
# @param [Hash] opts the optional parameters
|
|
219
|
+
# @option opts [Integer] :expense_max threshold from which an alert has to be sent for a high expense
|
|
220
|
+
# @option opts [Integer] :accounts list of accounts (id coma separated) on wich the alert has to be applied. If 'all' is given, it is applied on all accounts. default: all
|
|
221
|
+
# @option opts [Integer] :income_max threshold from which an alert has to be sent for a high income
|
|
222
|
+
# @option opts [Integer] :balance_min2 second threshold from which an alert has to be sent for a low balance
|
|
223
|
+
# @option opts [BOOLEAN] :enabled if false, the alert is not taken into account
|
|
224
|
+
# @return [Object]
|
|
225
|
+
describe 'users_id_user_accountsalert_put test' do
|
|
226
|
+
it "should work" do
|
|
227
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
228
|
+
end
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# unit tests for users_id_user_balances_get
|
|
232
|
+
# Get balances of accounts
|
|
233
|
+
# Get balance (income/outcome/balance) of enabled accounts for the given period.<br><br>By default, min_date and max_date are the current month, and period is a single month.<br><br>The period is composed with units (days, months, years) and numbers. You can give for example \"1month\", \"15days\", \"1year6months\", etc.<br><br>
|
|
234
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
235
|
+
# @param [Hash] opts the optional parameters
|
|
236
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
|
237
|
+
# @option opts [Date] :max_date maximal (inclusive) date
|
|
238
|
+
# @option opts [String] :period split output with the given period (default: month)
|
|
239
|
+
# @return [nil]
|
|
240
|
+
describe 'users_id_user_balances_get test' do
|
|
241
|
+
it "should work" do
|
|
242
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
243
|
+
end
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_balances_get
|
|
247
|
+
# Get balances of accounts
|
|
248
|
+
# Get balance (income/outcome/balance) of enabled accounts for the given period.<br><br>By default, min_date and max_date are the current month, and period is a single month.<br><br>The period is composed with units (days, months, years) and numbers. You can give for example \"1month\", \"15days\", \"1year6months\", etc.<br><br>
|
|
249
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
250
|
+
# @param id_connection
|
|
251
|
+
# @param id_account
|
|
252
|
+
# @param [Hash] opts the optional parameters
|
|
253
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
|
254
|
+
# @option opts [Date] :max_date maximal (inclusive) date
|
|
255
|
+
# @option opts [String] :period split output with the given period (default: month)
|
|
256
|
+
# @return [nil]
|
|
257
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_balances_get test' do
|
|
258
|
+
it "should work" do
|
|
259
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
260
|
+
end
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_operationsalert_get
|
|
264
|
+
# Get a list of configurated alerts
|
|
265
|
+
# <br><br>
|
|
266
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
267
|
+
# @param id_connection
|
|
268
|
+
# @param id_account
|
|
269
|
+
# @param [Hash] opts the optional parameters
|
|
270
|
+
# @option opts [String] :expand
|
|
271
|
+
# @return [InlineResponse20022]
|
|
272
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_operationsalert_get test' do
|
|
273
|
+
it "should work" do
|
|
274
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
275
|
+
end
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete
|
|
279
|
+
# Delete an alert on transactions or investemens
|
|
280
|
+
# <br><br>
|
|
281
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
282
|
+
# @param id_connection
|
|
283
|
+
# @param id_account
|
|
284
|
+
# @param id_operationsalert
|
|
285
|
+
# @param [Hash] opts the optional parameters
|
|
286
|
+
# @option opts [String] :expand
|
|
287
|
+
# @return [UserAlert]
|
|
288
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_delete test' do
|
|
289
|
+
it "should work" do
|
|
290
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put
|
|
295
|
+
# Edit an alert on transactions or investemens
|
|
296
|
+
#
|
|
297
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
298
|
+
# @param id_connection
|
|
299
|
+
# @param id_account
|
|
300
|
+
# @param id_operationsalert
|
|
301
|
+
# @param [Hash] opts the optional parameters
|
|
302
|
+
# @option opts [String] :type parameter to choose the scope of the alert. accepted: transactions, investements
|
|
303
|
+
# @option opts [Integer] :income_max capital gain thresholds
|
|
304
|
+
# @option opts [Integer] :expense_max capital loss thresholds
|
|
305
|
+
# @option opts [String] :value_type whether the threshold is given in absolut value or percent. accepted: percent, flat
|
|
306
|
+
# @option opts [Integer] :date_range (number of days) range on which the analysis has to be done
|
|
307
|
+
# @option opts [String] :expand
|
|
308
|
+
# @return [UserAlert]
|
|
309
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_operationsalert_id_operationsalert_put test' do
|
|
310
|
+
it "should work" do
|
|
311
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
312
|
+
end
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_operationsalert_post
|
|
316
|
+
# Create an alert on transactions or investemens of a given user
|
|
317
|
+
#
|
|
318
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
319
|
+
# @param id_connection
|
|
320
|
+
# @param id_account
|
|
321
|
+
# @param [Hash] opts the optional parameters
|
|
322
|
+
# @option opts [String] :type parameter to choose the scope of the alert. accepted: transactions, investements
|
|
323
|
+
# @option opts [Integer] :income_max capital gain thresholds
|
|
324
|
+
# @option opts [Integer] :expense_max capital loss thresholds
|
|
325
|
+
# @option opts [String] :value_type whether the threshold is given in absolut value or percent. accepted: percent, flat
|
|
326
|
+
# @option opts [Integer] :date_range (number of days) range on which the analysis has to be done
|
|
327
|
+
# @option opts [String] :expand
|
|
328
|
+
# @return [UserAlert]
|
|
329
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_operationsalert_post test' do
|
|
330
|
+
it "should work" do
|
|
331
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
332
|
+
end
|
|
333
|
+
end
|
|
334
|
+
|
|
335
|
+
# unit tests for users_id_user_connections_id_connection_balances_get
|
|
336
|
+
# Get balances of accounts
|
|
337
|
+
# Get balance (income/outcome/balance) of enabled accounts for the given period.<br><br>By default, min_date and max_date are the current month, and period is a single month.<br><br>The period is composed with units (days, months, years) and numbers. You can give for example \"1month\", \"15days\", \"1year6months\", etc.<br><br>
|
|
338
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
339
|
+
# @param id_connection
|
|
340
|
+
# @param [Hash] opts the optional parameters
|
|
341
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
|
342
|
+
# @option opts [Date] :max_date maximal (inclusive) date
|
|
343
|
+
# @option opts [String] :period split output with the given period (default: month)
|
|
344
|
+
# @return [nil]
|
|
345
|
+
describe 'users_id_user_connections_id_connection_balances_get test' do
|
|
346
|
+
it "should work" do
|
|
347
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
348
|
+
end
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# unit tests for users_id_user_devices_get
|
|
352
|
+
# Get devices
|
|
353
|
+
#
|
|
354
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
355
|
+
# @param [Hash] opts the optional parameters
|
|
356
|
+
# @option opts [String] :expand
|
|
357
|
+
# @return [InlineResponse20031]
|
|
358
|
+
describe 'users_id_user_devices_get test' do
|
|
359
|
+
it "should work" do
|
|
360
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
361
|
+
end
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
# unit tests for users_id_user_devices_id_device_delete
|
|
365
|
+
# Delete device.
|
|
366
|
+
#
|
|
367
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
368
|
+
# @param id_device
|
|
369
|
+
# @param [Hash] opts the optional parameters
|
|
370
|
+
# @option opts [String] :expand
|
|
371
|
+
# @return [Device]
|
|
372
|
+
describe 'users_id_user_devices_id_device_delete test' do
|
|
373
|
+
it "should work" do
|
|
374
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
375
|
+
end
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
# unit tests for users_id_user_devices_id_device_get
|
|
379
|
+
# Get a device
|
|
380
|
+
#
|
|
381
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
382
|
+
# @param id_device
|
|
383
|
+
# @param [Hash] opts the optional parameters
|
|
384
|
+
# @option opts [String] :expand
|
|
385
|
+
# @return [Device]
|
|
386
|
+
describe 'users_id_user_devices_id_device_get test' do
|
|
387
|
+
it "should work" do
|
|
388
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
389
|
+
end
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
# unit tests for users_id_user_devices_id_device_put
|
|
393
|
+
# Update attributes of the device.
|
|
394
|
+
#
|
|
395
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
396
|
+
# @param id_device
|
|
397
|
+
# @param notification_token the GCM or APNS notification_token to use
|
|
398
|
+
# @param application the device in use
|
|
399
|
+
# @param [Hash] opts the optional parameters
|
|
400
|
+
# @option opts [Integer] :notification_version version of notifications
|
|
401
|
+
# @option opts [String] :expand
|
|
402
|
+
# @return [Device]
|
|
403
|
+
describe 'users_id_user_devices_id_device_put test' do
|
|
404
|
+
it "should work" do
|
|
405
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
406
|
+
end
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
# unit tests for users_id_user_devices_post
|
|
410
|
+
# Create a device linked to specified token.
|
|
411
|
+
#
|
|
412
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
413
|
+
# @param notification_token the GCM or APNS notification_token to use
|
|
414
|
+
# @param application the device in use
|
|
415
|
+
# @param [Hash] opts the optional parameters
|
|
416
|
+
# @option opts [Integer] :notification_version version of notifications
|
|
417
|
+
# @option opts [String] :expand
|
|
418
|
+
# @return [Device]
|
|
419
|
+
describe 'users_id_user_devices_post test' do
|
|
420
|
+
it "should work" do
|
|
421
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
422
|
+
end
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
# unit tests for users_id_user_forecast_get
|
|
426
|
+
# Get forecast
|
|
427
|
+
#
|
|
428
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
429
|
+
# @param [Hash] opts the optional parameters
|
|
430
|
+
# @return [nil]
|
|
431
|
+
describe 'users_id_user_forecast_get test' do
|
|
432
|
+
it "should work" do
|
|
433
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
434
|
+
end
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
# unit tests for users_id_user_get
|
|
438
|
+
# Get a user
|
|
439
|
+
#
|
|
440
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
441
|
+
# @param [Hash] opts the optional parameters
|
|
442
|
+
# @option opts [String] :expand
|
|
443
|
+
# @return [User]
|
|
444
|
+
describe 'users_id_user_get test' do
|
|
445
|
+
it "should work" do
|
|
446
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
447
|
+
end
|
|
448
|
+
end
|
|
449
|
+
|
|
450
|
+
# unit tests for users_id_user_operationsalert_get
|
|
451
|
+
# Get a list of configurated alerts
|
|
452
|
+
# <br><br>
|
|
453
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
454
|
+
# @param [Hash] opts the optional parameters
|
|
455
|
+
# @option opts [String] :expand
|
|
456
|
+
# @return [InlineResponse20022]
|
|
457
|
+
describe 'users_id_user_operationsalert_get test' do
|
|
458
|
+
it "should work" do
|
|
459
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
460
|
+
end
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
# unit tests for users_id_user_operationsalert_id_operationsalert_delete
|
|
464
|
+
# Delete an alert on transactions or investemens
|
|
465
|
+
# <br><br>
|
|
466
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
467
|
+
# @param id_operationsalert
|
|
468
|
+
# @param [Hash] opts the optional parameters
|
|
469
|
+
# @option opts [String] :expand
|
|
470
|
+
# @return [UserAlert]
|
|
471
|
+
describe 'users_id_user_operationsalert_id_operationsalert_delete test' do
|
|
472
|
+
it "should work" do
|
|
473
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
474
|
+
end
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
# unit tests for users_id_user_operationsalert_id_operationsalert_put
|
|
478
|
+
# Edit an alert on transactions or investemens
|
|
479
|
+
#
|
|
480
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
481
|
+
# @param id_operationsalert
|
|
482
|
+
# @param [Hash] opts the optional parameters
|
|
483
|
+
# @option opts [String] :type parameter to choose the scope of the alert. accepted: transactions, investements
|
|
484
|
+
# @option opts [Integer] :income_max capital gain thresholds
|
|
485
|
+
# @option opts [Integer] :expense_max capital loss thresholds
|
|
486
|
+
# @option opts [String] :value_type whether the threshold is given in absolut value or percent. accepted: percent, flat
|
|
487
|
+
# @option opts [Integer] :date_range (number of days) range on which the analysis has to be done
|
|
488
|
+
# @option opts [String] :expand
|
|
489
|
+
# @return [UserAlert]
|
|
490
|
+
describe 'users_id_user_operationsalert_id_operationsalert_put test' do
|
|
491
|
+
it "should work" do
|
|
492
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
493
|
+
end
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
# unit tests for users_id_user_operationsalert_post
|
|
497
|
+
# Create an alert on transactions or investemens of a given user
|
|
498
|
+
#
|
|
499
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
500
|
+
# @param [Hash] opts the optional parameters
|
|
501
|
+
# @option opts [String] :type parameter to choose the scope of the alert. accepted: transactions, investements
|
|
502
|
+
# @option opts [Integer] :income_max capital gain thresholds
|
|
503
|
+
# @option opts [Integer] :expense_max capital loss thresholds
|
|
504
|
+
# @option opts [String] :value_type whether the threshold is given in absolut value or percent. accepted: percent, flat
|
|
505
|
+
# @option opts [Integer] :date_range (number of days) range on which the analysis has to be done
|
|
506
|
+
# @option opts [String] :expand
|
|
507
|
+
# @return [UserAlert]
|
|
508
|
+
describe 'users_id_user_operationsalert_post test' do
|
|
509
|
+
it "should work" do
|
|
510
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
511
|
+
end
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
# unit tests for users_id_user_profiles_get
|
|
515
|
+
# Get profiles
|
|
516
|
+
#
|
|
517
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
518
|
+
# @param [Hash] opts the optional parameters
|
|
519
|
+
# @option opts [String] :expand
|
|
520
|
+
# @return [InlineResponse20032]
|
|
521
|
+
describe 'users_id_user_profiles_get test' do
|
|
522
|
+
it "should work" do
|
|
523
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
524
|
+
end
|
|
525
|
+
end
|
|
526
|
+
|
|
527
|
+
# unit tests for users_id_user_profiles_id_profile_get
|
|
528
|
+
# Get a profile
|
|
529
|
+
#
|
|
530
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
531
|
+
# @param id_profile
|
|
532
|
+
# @param [Hash] opts the optional parameters
|
|
533
|
+
# @option opts [String] :expand
|
|
534
|
+
# @return [Profile]
|
|
535
|
+
describe 'users_id_user_profiles_id_profile_get test' do
|
|
536
|
+
it "should work" do
|
|
537
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
538
|
+
end
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
# unit tests for users_id_user_profiles_main_get
|
|
542
|
+
# Get the main profile
|
|
543
|
+
#
|
|
544
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
545
|
+
# @param [Hash] opts the optional parameters
|
|
546
|
+
# @option opts [String] :expand
|
|
547
|
+
# @return [Profile]
|
|
548
|
+
describe 'users_id_user_profiles_main_get test' do
|
|
549
|
+
it "should work" do
|
|
550
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
551
|
+
end
|
|
552
|
+
end
|
|
553
|
+
|
|
554
|
+
# unit tests for users_id_user_profiles_me_get
|
|
555
|
+
# Get my profile
|
|
556
|
+
#
|
|
557
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
558
|
+
# @param [Hash] opts the optional parameters
|
|
559
|
+
# @option opts [String] :expand
|
|
560
|
+
# @return [Profile]
|
|
561
|
+
describe 'users_id_user_profiles_me_get test' do
|
|
562
|
+
it "should work" do
|
|
563
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
564
|
+
end
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
# unit tests for users_id_user_profiles_me_put
|
|
568
|
+
# Change settings of the profile.
|
|
569
|
+
#
|
|
570
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
571
|
+
# @param [Hash] opts the optional parameters
|
|
572
|
+
# @option opts [String] :email change email of profile
|
|
573
|
+
# @option opts [String] :password change password of profile
|
|
574
|
+
# @option opts [String] :current_password needed when changing the password or the email
|
|
575
|
+
# @option opts [String] :contact change contact information of a profile
|
|
576
|
+
# @option opts [String] :conf change config of a profile
|
|
577
|
+
# @option opts [BOOLEAN] :state state of the profile
|
|
578
|
+
# @option opts [String] :lang change lang of the profile
|
|
579
|
+
# @option opts [String] :expand
|
|
580
|
+
# @return [Profile]
|
|
581
|
+
describe 'users_id_user_profiles_me_put test' do
|
|
582
|
+
it "should work" do
|
|
583
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
584
|
+
end
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
# unit tests for users_id_user_resume_get
|
|
588
|
+
# Get synthesis configuration of a specific user
|
|
589
|
+
# <br><br>
|
|
590
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
591
|
+
# @param [Hash] opts the optional parameters
|
|
592
|
+
# @return [Object]
|
|
593
|
+
describe 'users_id_user_resume_get test' do
|
|
594
|
+
it "should work" do
|
|
595
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
596
|
+
end
|
|
597
|
+
end
|
|
598
|
+
|
|
599
|
+
# unit tests for users_id_user_resume_post
|
|
600
|
+
# Update synthesis configuration
|
|
601
|
+
# <br><br>
|
|
602
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
|
603
|
+
# @param [Hash] opts the optional parameters
|
|
604
|
+
# @option opts [BOOLEAN] :resume_enabled whether the synthesis is activated or not
|
|
605
|
+
# @option opts [Integer] :resume_frequency frequency of the synthesis given in days
|
|
606
|
+
# @return [Object]
|
|
607
|
+
describe 'users_id_user_resume_post test' do
|
|
608
|
+
it "should work" do
|
|
609
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
610
|
+
end
|
|
611
|
+
end
|
|
612
|
+
|
|
613
|
+
end
|