budgea_client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
Binary file
|
@@ -0,0 +1,271 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'json'
|
5
|
+
|
6
|
+
# Unit tests for BudgeaClient::AdministrationApi
|
7
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
8
|
+
# Please update as you see appropriate
|
9
|
+
describe 'AdministrationApi' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = BudgeaClient::AdministrationApi.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of AdministrationApi' do
|
20
|
+
it 'should create an instance of AdministrationApi' do
|
21
|
+
expect(@instance).to be_instance_of(BudgeaClient::AdministrationApi)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
# unit tests for clients_get
|
26
|
+
# List clients
|
27
|
+
#
|
28
|
+
# @param [Hash] opts the optional parameters
|
29
|
+
# @option opts [String] :expand
|
30
|
+
# @return [InlineResponse20011]
|
31
|
+
describe 'clients_get 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 clients_id_client_delete
|
38
|
+
# Delete a client
|
39
|
+
#
|
40
|
+
# @param id_client
|
41
|
+
# @param [Hash] opts the optional parameters
|
42
|
+
# @option opts [String] :expand
|
43
|
+
# @return [Client]
|
44
|
+
describe 'clients_id_client_delete 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 clients_id_client_get
|
51
|
+
# Get information about a client
|
52
|
+
# If you use the manage_token, you will get also the client_secret.<br><br>
|
53
|
+
# @param id_client
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [String] :expand
|
56
|
+
# @return [Client]
|
57
|
+
describe 'clients_id_client_get test' do
|
58
|
+
it "should work" do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# unit tests for clients_id_client_logo_delete
|
64
|
+
# Delete the client logo
|
65
|
+
#
|
66
|
+
# @param id_client
|
67
|
+
# @param [Hash] opts the optional parameters
|
68
|
+
# @option opts [String] :expand
|
69
|
+
# @return [File]
|
70
|
+
describe 'clients_id_client_logo_delete test' do
|
71
|
+
it "should work" do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# unit tests for clients_id_client_logo_post
|
77
|
+
# Update the client logo
|
78
|
+
#
|
79
|
+
# @param id_client
|
80
|
+
# @param [Hash] opts the optional parameters
|
81
|
+
# @option opts [String] :expand
|
82
|
+
# @return [File]
|
83
|
+
describe 'clients_id_client_logo_post test' do
|
84
|
+
it "should work" do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
# unit tests for clients_id_client_put
|
90
|
+
# Update a client
|
91
|
+
#
|
92
|
+
# @param id_client
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @option opts [String] :name name of client
|
95
|
+
# @option opts [BOOLEAN] :secret reset the secret
|
96
|
+
# @option opts [String] :redirect_uri redirect_uri
|
97
|
+
# @option opts [String] :primary_color hexadecimal code of the client primary color (e.g F45B9A)
|
98
|
+
# @option opts [String] :secondary_color hexadecimal code of the client secondary color (e.g F45B9A)
|
99
|
+
# @option opts [String] :description text to display as a default description
|
100
|
+
# @option opts [String] :description_banks text to display as a description for banks
|
101
|
+
# @option opts [String] :description_providers text to display as a description for providers
|
102
|
+
# @option opts [BOOLEAN] :pro Wether the client should display the company manager page
|
103
|
+
# @option opts [String] :expand
|
104
|
+
# @return [Client]
|
105
|
+
describe 'clients_id_client_put test' do
|
106
|
+
it "should work" do
|
107
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
# unit tests for clients_post
|
112
|
+
# Create a client
|
113
|
+
#
|
114
|
+
# @param [Hash] opts the optional parameters
|
115
|
+
# @option opts [String] :expand
|
116
|
+
# @return [Client]
|
117
|
+
describe 'clients_post test' do
|
118
|
+
it "should work" do
|
119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
# unit tests for config_get
|
124
|
+
# Get configuration of the API.
|
125
|
+
# <br><br>
|
126
|
+
# @param [Hash] opts the optional parameters
|
127
|
+
# @option opts [String] :search limit the results to keys matching the given value
|
128
|
+
# @return [nil]
|
129
|
+
describe 'config_get test' do
|
130
|
+
it "should work" do
|
131
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
# unit tests for config_post
|
136
|
+
# Set a configuration value on the API.
|
137
|
+
# Request: { \"bank.connection.disable_new\": \"0\", \"search\": \"bank.connection.disable_new\" }<br><br>
|
138
|
+
# @param [Hash] opts the optional parameters
|
139
|
+
# @option opts [String] :search limit the results to keys matching the given value
|
140
|
+
# @return [Object]
|
141
|
+
describe 'config_post test' do
|
142
|
+
it "should work" do
|
143
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# unit tests for monitoring_get
|
148
|
+
# get performances stats on this instance
|
149
|
+
#
|
150
|
+
# @param [Hash] opts the optional parameters
|
151
|
+
# @option opts [Integer] :period number on days on which stats on synchronization have to be done per worker (Default: 1)
|
152
|
+
# @return [nil]
|
153
|
+
describe 'monitoring_get test' do
|
154
|
+
it "should work" do
|
155
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# unit tests for test_sync_post
|
160
|
+
# Test synchronization on a random connection.
|
161
|
+
# It can be used to test receiving data on your webhooks.<br><br>
|
162
|
+
# @param [Hash] opts the optional parameters
|
163
|
+
# @return [nil]
|
164
|
+
describe 'test_sync_post test' do
|
165
|
+
it "should work" do
|
166
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
# unit tests for test_webhooks_post
|
171
|
+
# Test synchronization on a random connection.
|
172
|
+
# It can be used to test receiving data on your webhooks.<br><br>
|
173
|
+
# @param [Hash] opts the optional parameters
|
174
|
+
# @return [nil]
|
175
|
+
describe 'test_webhooks_post test' do
|
176
|
+
it "should work" do
|
177
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
# unit tests for webhooks_delete
|
182
|
+
# Deletes all webhooks
|
183
|
+
# Updates the deleted field with the date of the deletion<br><br>
|
184
|
+
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [String] :expand
|
186
|
+
# @return [Webhook]
|
187
|
+
describe 'webhooks_delete test' do
|
188
|
+
it "should work" do
|
189
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
# unit tests for webhooks_get
|
194
|
+
# Get webhooks
|
195
|
+
#
|
196
|
+
# @param [Hash] opts the optional parameters
|
197
|
+
# @option opts [String] :expand
|
198
|
+
# @return [InlineResponse20033]
|
199
|
+
describe 'webhooks_get test' do
|
200
|
+
it "should work" do
|
201
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# unit tests for webhooks_id_webhook_delete
|
206
|
+
# Deletes a webhook
|
207
|
+
# Updates the deleted field with the date of the deletion<br><br>
|
208
|
+
# @param id_webhook
|
209
|
+
# @param [Hash] opts the optional parameters
|
210
|
+
# @option opts [String] :expand
|
211
|
+
# @return [Webhook]
|
212
|
+
describe 'webhooks_id_webhook_delete test' do
|
213
|
+
it "should work" do
|
214
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
# unit tests for webhooks_id_webhook_post
|
219
|
+
# Updates a webhook
|
220
|
+
#
|
221
|
+
# @param id_webhook
|
222
|
+
# @param [Hash] opts the optional parameters
|
223
|
+
# @option opts [String] :deleted a date to delete the webhook or 'null' to enable it
|
224
|
+
# @option opts [Integer] :id_user The user ID to associate with the webhook
|
225
|
+
# @option opts [Integer] :id_service The service ID to associate with the webhook
|
226
|
+
# @option opts [Float] :url The webhook callback url
|
227
|
+
# @option opts [String] :event The webhook event
|
228
|
+
# @option opts [String] :expand
|
229
|
+
# @return [Webhook]
|
230
|
+
describe 'webhooks_id_webhook_post test' do
|
231
|
+
it "should work" do
|
232
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
# unit tests for webhooks_id_webhook_put
|
237
|
+
# Updates a webhook
|
238
|
+
#
|
239
|
+
# @param id_webhook
|
240
|
+
# @param [Hash] opts the optional parameters
|
241
|
+
# @option opts [String] :deleted a date to delete the webhook or 'null' to enable it
|
242
|
+
# @option opts [Integer] :id_user The user ID to associate with the webhook
|
243
|
+
# @option opts [Integer] :id_service The service ID to associate with the webhook
|
244
|
+
# @option opts [Float] :url The webhook callback url
|
245
|
+
# @option opts [String] :event The webhook event
|
246
|
+
# @option opts [String] :expand
|
247
|
+
# @return [Webhook]
|
248
|
+
describe 'webhooks_id_webhook_put test' do
|
249
|
+
it "should work" do
|
250
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
# unit tests for webhooks_post
|
255
|
+
# Adds a new webhook
|
256
|
+
#
|
257
|
+
# @param [Hash] opts the optional parameters
|
258
|
+
# @option opts [Integer] :id_user The user ID to associate with the webhook
|
259
|
+
# @option opts [Integer] :id_service The service ID to associate with the webhook
|
260
|
+
# @option opts [Float] :url The webhook callback url
|
261
|
+
# @option opts [String] :event The webhook event
|
262
|
+
# @option opts [String] :params The webhook parameters as an object with three keys: type, key and value
|
263
|
+
# @option opts [String] :expand
|
264
|
+
# @return [Webhook]
|
265
|
+
describe 'webhooks_post test' do
|
266
|
+
it "should work" do
|
267
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
end
|
@@ -0,0 +1,126 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'json'
|
5
|
+
|
6
|
+
# Unit tests for BudgeaClient::AuthenticationApi
|
7
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
8
|
+
# Please update as you see appropriate
|
9
|
+
describe 'AuthenticationApi' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = BudgeaClient::AuthenticationApi.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of AuthenticationApi' do
|
20
|
+
it 'should create an instance of AuthenticationApi' do
|
21
|
+
expect(@instance).to be_instance_of(BudgeaClient::AuthenticationApi)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
# unit tests for auth_init_post
|
26
|
+
# Create a new anonymous user
|
27
|
+
# This endpoint creates a new temporary token related to a new anonymous user.<br><br>It will expire 30 minutes after.<br><br>Note: if you supply client_id and client_secret, or if you call this endpoint with the manage_token, the token will be permanent.<br><br>
|
28
|
+
# @param [Hash] opts the optional parameters
|
29
|
+
# @option opts [String] :client_id ID of the client
|
30
|
+
# @option opts [String] :client_secret secret of the client
|
31
|
+
# @return [InlineResponse2002]
|
32
|
+
describe 'auth_init_post 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 auth_token_access_post
|
39
|
+
# Transform a temporary code to a access_token
|
40
|
+
# In order to register a new user with the OAuth 2 process, the client has to call this endpoint to request a granted access_token with the received temporary code.<br><br>
|
41
|
+
# @param client_id ID of the client
|
42
|
+
# @param client_secret secret of the client
|
43
|
+
# @param code user's temporary code
|
44
|
+
# @param [Hash] opts the optional parameters
|
45
|
+
# @option opts [String] :grant_type default is \"authorization_code\"
|
46
|
+
# @option opts [String] :redirect_uri redirect uri used by user
|
47
|
+
# @return [InlineResponse2005]
|
48
|
+
describe 'auth_token_access_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
|
+
# unit tests for auth_token_code_get
|
55
|
+
# Generate a user temporary token
|
56
|
+
# This endpoint generates a new temporary token for the user.<br><br>In case the access_token is used by a trusted device, and you want to let another one (for example a web browser) access to user resources, use this service to create a token which will expire in 30 minutes.<br><br>
|
57
|
+
# @param [Hash] opts the optional parameters
|
58
|
+
# @return [InlineResponse2006]
|
59
|
+
describe 'auth_token_code_get 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_token_delete
|
66
|
+
# Remove user access
|
67
|
+
# This endpoint removes the token in use.<br><br>
|
68
|
+
# @param [Hash] opts the optional parameters
|
69
|
+
# @return [nil]
|
70
|
+
describe 'auth_token_delete test' do
|
71
|
+
it "should work" do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# unit tests for hash_delete
|
77
|
+
# Delete the user's connections
|
78
|
+
# deletes all connections of the user given his hash<br><br>
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [nil]
|
81
|
+
describe 'hash_delete test' do
|
82
|
+
it "should work" do
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# unit tests for users_id_user_delete
|
88
|
+
# Delete the user
|
89
|
+
# This endpoint deletes the user.<br><br>
|
90
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
91
|
+
# @param [Hash] opts the optional parameters
|
92
|
+
# @option opts [String] :expand
|
93
|
+
# @return [User]
|
94
|
+
describe 'users_id_user_delete test' do
|
95
|
+
it "should work" do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# unit tests for users_id_user_get
|
101
|
+
# Get a user
|
102
|
+
#
|
103
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
104
|
+
# @param [Hash] opts the optional parameters
|
105
|
+
# @option opts [String] :expand
|
106
|
+
# @return [User]
|
107
|
+
describe 'users_id_user_get test' do
|
108
|
+
it "should work" do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# unit tests for users_id_user_token_post
|
114
|
+
# Create a token
|
115
|
+
# Create an access_token for this user and get it.<br><br>
|
116
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
117
|
+
# @param application application name
|
118
|
+
# @param [Hash] opts the optional parameters
|
119
|
+
# @return [Object]
|
120
|
+
describe 'users_id_user_token_post test' do
|
121
|
+
it "should work" do
|
122
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
end
|
@@ -0,0 +1,1787 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'json'
|
5
|
+
|
6
|
+
# Unit tests for BudgeaClient::BanksApi
|
7
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
8
|
+
# Please update as you see appropriate
|
9
|
+
describe 'BanksApi' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = BudgeaClient::BanksApi.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of BanksApi' do
|
20
|
+
it 'should create an instance of BanksApi' do
|
21
|
+
expect(@instance).to be_instance_of(BudgeaClient::BanksApi)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
# unit tests for account_types_get
|
26
|
+
# Get account types
|
27
|
+
#
|
28
|
+
# @param [Hash] opts the optional parameters
|
29
|
+
# @option opts [String] :expand
|
30
|
+
# @return [InlineResponse200]
|
31
|
+
describe 'account_types_get 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 account_types_id_account_type_get
|
38
|
+
# Get an account type
|
39
|
+
#
|
40
|
+
# @param id_account_type
|
41
|
+
# @param [Hash] opts the optional parameters
|
42
|
+
# @option opts [String] :expand
|
43
|
+
# @return [AccountType]
|
44
|
+
describe 'account_types_id_account_type_get 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 banks_categories_id_category_delete
|
51
|
+
# Delete the supplied category
|
52
|
+
#
|
53
|
+
# @param id_category
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [String] :expand
|
56
|
+
# @return [BankCategory]
|
57
|
+
describe 'banks_categories_id_category_delete test' do
|
58
|
+
it "should work" do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# unit tests for banks_categories_id_category_post
|
64
|
+
# Edit a bank categories
|
65
|
+
# Edit the name for the supplied category.<br><br>
|
66
|
+
# @param id_category
|
67
|
+
# @param name new name for the supplied category
|
68
|
+
# @param [Hash] opts the optional parameters
|
69
|
+
# @option opts [String] :expand
|
70
|
+
# @return [BankCategory]
|
71
|
+
describe 'banks_categories_id_category_post test' do
|
72
|
+
it "should work" do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# unit tests for banks_categories_post
|
78
|
+
# Create bank categories
|
79
|
+
# It requires the name of the category to be created<br><br>
|
80
|
+
# @param name name of the category to be created
|
81
|
+
# @param [Hash] opts the optional parameters
|
82
|
+
# @option opts [String] :expand
|
83
|
+
# @return [BankCategory]
|
84
|
+
describe 'banks_categories_post test' do
|
85
|
+
it "should work" do
|
86
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# unit tests for banks_get
|
91
|
+
# Get list of connectors
|
92
|
+
#
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @option opts [String] :expand
|
95
|
+
# @return [InlineResponse2007]
|
96
|
+
describe 'banks_get test' do
|
97
|
+
it "should work" do
|
98
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# unit tests for banks_id_bank_connections_get
|
103
|
+
# Get a subset of id_connection with the largest diversity of account
|
104
|
+
# By default, it selects a set of 3 connections.<br><br>
|
105
|
+
# @param id_bank
|
106
|
+
# @param [Hash] opts the optional parameters
|
107
|
+
# @option opts [Integer] :range the length of the connection subset
|
108
|
+
# @option opts [Integer] :type to target a specific account type which will be
|
109
|
+
# @option opts [String] :expand
|
110
|
+
# @return [InlineResponse2008]
|
111
|
+
describe 'banks_id_bank_connections_get test' do
|
112
|
+
it "should work" do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# unit tests for banks_id_bank_logos_get
|
118
|
+
# Get all links to the files associated with this bank.
|
119
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
120
|
+
# @param id_bank
|
121
|
+
# @param [Hash] opts the optional parameters
|
122
|
+
# @option opts [String] :expand
|
123
|
+
# @return [InlineResponse2009]
|
124
|
+
describe 'banks_id_bank_logos_get test' do
|
125
|
+
it "should work" do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# unit tests for banks_id_bank_logos_main_get
|
131
|
+
# Get all links to the files associated with this bank.
|
132
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
133
|
+
# @param id_bank
|
134
|
+
# @param [Hash] opts the optional parameters
|
135
|
+
# @option opts [String] :expand
|
136
|
+
# @return [InlineResponse2009]
|
137
|
+
describe 'banks_id_bank_logos_main_get test' do
|
138
|
+
it "should work" do
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# unit tests for banks_id_bank_logos_thumbnail_get
|
144
|
+
# Get all links to the files associated with this bank.
|
145
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
146
|
+
# @param id_bank
|
147
|
+
# @param [Hash] opts the optional parameters
|
148
|
+
# @option opts [String] :expand
|
149
|
+
# @return [InlineResponse2009]
|
150
|
+
describe 'banks_id_bank_logos_thumbnail_get test' do
|
151
|
+
it "should work" do
|
152
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
# unit tests for categories_get
|
157
|
+
# Get all categories
|
158
|
+
# Ressource to get all existing categories<br><br>
|
159
|
+
# @param [Hash] opts the optional parameters
|
160
|
+
# @option opts [String] :expand
|
161
|
+
# @return [InlineResponse20010]
|
162
|
+
describe 'categories_get test' do
|
163
|
+
it "should work" do
|
164
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
# unit tests for categorize_post
|
169
|
+
# categorize transactions without storing them
|
170
|
+
# It requires an array of transaction dictionaries. Any fields of transactions that are not required will be kept in the response. The response contains the list of transactions with two more fields: id_category and state (it indicates how the transaction has been categorized)<br><br>
|
171
|
+
# @param wording label of the transaction
|
172
|
+
# @param value vallue of the transaction
|
173
|
+
# @param type type of the transaction (default: unknown)
|
174
|
+
# @param [Hash] opts the optional parameters
|
175
|
+
# @return [Object]
|
176
|
+
describe 'categorize_post test' do
|
177
|
+
it "should work" do
|
178
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
# unit tests for connections_get
|
183
|
+
# Get connections without a user
|
184
|
+
#
|
185
|
+
# @param [Hash] opts the optional parameters
|
186
|
+
# @option opts [String] :expand
|
187
|
+
# @return [InlineResponse2008]
|
188
|
+
describe 'connections_get test' do
|
189
|
+
it "should work" do
|
190
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
# unit tests for connectors_get
|
195
|
+
# Get list of connectors
|
196
|
+
#
|
197
|
+
# @param [Hash] opts the optional parameters
|
198
|
+
# @option opts [String] :expand
|
199
|
+
# @return [InlineResponse20012]
|
200
|
+
describe 'connectors_get test' do
|
201
|
+
it "should work" do
|
202
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# unit tests for connectors_id_bank_logos_get
|
207
|
+
# Get all links to the files associated with this bank.
|
208
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
209
|
+
# @param id_bank
|
210
|
+
# @param [Hash] opts the optional parameters
|
211
|
+
# @option opts [String] :expand
|
212
|
+
# @return [InlineResponse2009]
|
213
|
+
describe 'connectors_id_bank_logos_get test' do
|
214
|
+
it "should work" do
|
215
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
216
|
+
end
|
217
|
+
end
|
218
|
+
|
219
|
+
# unit tests for connectors_id_bank_logos_id_logo_delete
|
220
|
+
# Delete a single Logo object.
|
221
|
+
#
|
222
|
+
# @param id_bank
|
223
|
+
# @param id_logo
|
224
|
+
# @param [Hash] opts the optional parameters
|
225
|
+
# @option opts [String] :expand
|
226
|
+
# @return [ConnectorLogo]
|
227
|
+
describe 'connectors_id_bank_logos_id_logo_delete test' do
|
228
|
+
it "should work" do
|
229
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
# unit tests for connectors_id_bank_logos_id_logo_put
|
234
|
+
# Create or Update a Bank Logo.
|
235
|
+
# This endpoint creates or update a bank logo. This logo is a mapping between a file (/file route) and a bank (/banks route) or a provider (/providers route).<br><br>Form params: - id_file (integer): The id of the file to link with that bank.<br><br>
|
236
|
+
# @param id_bank
|
237
|
+
# @param id_logo
|
238
|
+
# @param [Hash] opts the optional parameters
|
239
|
+
# @option opts [String] :expand
|
240
|
+
# @return [ConnectorLogo]
|
241
|
+
describe 'connectors_id_bank_logos_id_logo_put test' do
|
242
|
+
it "should work" do
|
243
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
# unit tests for connectors_id_bank_logos_main_get
|
248
|
+
# Get all links to the files associated with this bank.
|
249
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
250
|
+
# @param id_bank
|
251
|
+
# @param [Hash] opts the optional parameters
|
252
|
+
# @option opts [String] :expand
|
253
|
+
# @return [InlineResponse2009]
|
254
|
+
describe 'connectors_id_bank_logos_main_get test' do
|
255
|
+
it "should work" do
|
256
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
# unit tests for connectors_id_bank_logos_post
|
261
|
+
# Create a Bank Logo
|
262
|
+
# This endpoint creates a bank logo. You can either pass a file to as a parameter to insert and link it with the bank or pass an id_file to link a bank with an existing file. Will fail if the file is already linked with that bank.<br><br>Form params: - id_file (integer): The id of the file to link with that bank. - img (string): Path to the image to link with that bank.<br><br>
|
263
|
+
# @param id_bank
|
264
|
+
# @param [Hash] opts the optional parameters
|
265
|
+
# @option opts [String] :expand
|
266
|
+
# @return [ConnectorLogo]
|
267
|
+
describe 'connectors_id_bank_logos_post test' do
|
268
|
+
it "should work" do
|
269
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
# unit tests for connectors_id_bank_logos_put
|
274
|
+
# Create or Update a Bank Logo
|
275
|
+
# This endpoint creates or update a bank logo. This logo is a mapping between a file (/file route) and a bank (/banks route) or a provider (/providers route).<br><br>Form params: - id_file (integer): The id of the file to link with that bank.<br><br>
|
276
|
+
# @param id_bank
|
277
|
+
# @param [Hash] opts the optional parameters
|
278
|
+
# @option opts [String] :expand
|
279
|
+
# @return [ConnectorLogo]
|
280
|
+
describe 'connectors_id_bank_logos_put test' do
|
281
|
+
it "should work" do
|
282
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
# unit tests for connectors_id_bank_logos_thumbnail_get
|
287
|
+
# Get all links to the files associated with this bank.
|
288
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
289
|
+
# @param id_bank
|
290
|
+
# @param [Hash] opts the optional parameters
|
291
|
+
# @option opts [String] :expand
|
292
|
+
# @return [InlineResponse2009]
|
293
|
+
describe 'connectors_id_bank_logos_thumbnail_get test' do
|
294
|
+
it "should work" do
|
295
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
# unit tests for connectors_id_connector_put
|
300
|
+
# Edit the provided bank
|
301
|
+
# <br><br>
|
302
|
+
# @param id_connector
|
303
|
+
# @param [Hash] opts the optional parameters
|
304
|
+
# @option opts [String] :id_categories one or several comma separated categories to map to the given bank (or null to map no category)
|
305
|
+
# @option opts [BOOLEAN] :hidden to enable or disable connector (bank or provider)
|
306
|
+
# @option opts [Integer] :sync_frequency Allows you to overload global sync_frequency param
|
307
|
+
# @option opts [String] :expand
|
308
|
+
# @return [Bank]
|
309
|
+
describe 'connectors_id_connector_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 connectors_post
|
316
|
+
# Request a new connector
|
317
|
+
# Send a request to add a new connector<br><br>
|
318
|
+
# @param name Name of the bank or provider
|
319
|
+
# @param login Users login
|
320
|
+
# @param password Users password
|
321
|
+
# @param [Hash] opts the optional parameters
|
322
|
+
# @option opts [String] :api Name of the API
|
323
|
+
# @option opts [String] :url Url of the bank
|
324
|
+
# @option opts [String] :email Email of the user
|
325
|
+
# @option opts [String] :types Type of connector, eg. banks or providers
|
326
|
+
# @option opts [String] :comment Optionnal comment
|
327
|
+
# @option opts [BOOLEAN] :sendmail if set, send an email to user
|
328
|
+
# @option opts [String] :expand
|
329
|
+
# @return [Bank]
|
330
|
+
describe 'connectors_post test' do
|
331
|
+
it "should work" do
|
332
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
# unit tests for invoicing_get
|
337
|
+
# Get number of accounts, connections and users synced.
|
338
|
+
# Get number of accounts, connections and users synced between two dates for the given period.<br><br>
|
339
|
+
# @param [Hash] opts the optional parameters
|
340
|
+
# @option opts [Date] :min_date minimal date
|
341
|
+
# @option opts [Date] :max_date maximum date
|
342
|
+
# @option opts [String] :period period to group logs
|
343
|
+
# @option opts [String] :all get full ids list instead of numbers
|
344
|
+
# @return [nil]
|
345
|
+
describe 'invoicing_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 logs_get
|
352
|
+
# Get connection logs
|
353
|
+
# Get logs about connections.<br><br>
|
354
|
+
# @param [Hash] opts the optional parameters
|
355
|
+
# @option opts [Integer] :limit limit number of results
|
356
|
+
# @option opts [Integer] :offset offset of first result
|
357
|
+
# @option opts [Date] :min_date minimal date
|
358
|
+
# @option opts [Date] :max_date maximum date
|
359
|
+
# @option opts [Integer] :state state of user
|
360
|
+
# @option opts [String] :period period to group logs
|
361
|
+
# @option opts [Integer] :id_user ID of a user
|
362
|
+
# @option opts [Integer] :id_connection ID of a connection
|
363
|
+
# @option opts [Integer] :id_bank ID of a bank
|
364
|
+
# @option opts [BOOLEAN] :charged consider only logs for charged banks
|
365
|
+
# @option opts [String] :expand
|
366
|
+
# @return [InlineResponse20015]
|
367
|
+
describe 'logs_get test' do
|
368
|
+
it "should work" do
|
369
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
370
|
+
end
|
371
|
+
end
|
372
|
+
|
373
|
+
# unit tests for providers_get
|
374
|
+
# Get list of connectors
|
375
|
+
#
|
376
|
+
# @param [Hash] opts the optional parameters
|
377
|
+
# @option opts [String] :expand
|
378
|
+
# @return [InlineResponse2007]
|
379
|
+
describe 'providers_get test' do
|
380
|
+
it "should work" do
|
381
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
385
|
+
# unit tests for providers_id_bank_logos_get
|
386
|
+
# Get all links to the files associated with this bank.
|
387
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
388
|
+
# @param id_bank
|
389
|
+
# @param [Hash] opts the optional parameters
|
390
|
+
# @option opts [String] :expand
|
391
|
+
# @return [InlineResponse2009]
|
392
|
+
describe 'providers_id_bank_logos_get test' do
|
393
|
+
it "should work" do
|
394
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
398
|
+
# unit tests for providers_id_bank_logos_main_get
|
399
|
+
# Get all links to the files associated with this bank.
|
400
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
401
|
+
# @param id_bank
|
402
|
+
# @param [Hash] opts the optional parameters
|
403
|
+
# @option opts [String] :expand
|
404
|
+
# @return [InlineResponse2009]
|
405
|
+
describe 'providers_id_bank_logos_main_get test' do
|
406
|
+
it "should work" do
|
407
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
# unit tests for providers_id_bank_logos_thumbnail_get
|
412
|
+
# Get all links to the files associated with this bank.
|
413
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
414
|
+
# @param id_bank
|
415
|
+
# @param [Hash] opts the optional parameters
|
416
|
+
# @option opts [String] :expand
|
417
|
+
# @return [InlineResponse2009]
|
418
|
+
describe 'providers_id_bank_logos_thumbnail_get test' do
|
419
|
+
it "should work" do
|
420
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
# unit tests for users_id_user_account_types_get
|
425
|
+
# Get account types
|
426
|
+
#
|
427
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
428
|
+
# @param [Hash] opts the optional parameters
|
429
|
+
# @option opts [String] :expand
|
430
|
+
# @return [InlineResponse200]
|
431
|
+
describe 'users_id_user_account_types_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_account_types_id_account_type_get
|
438
|
+
# Get an account type
|
439
|
+
#
|
440
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
441
|
+
# @param id_account_type
|
442
|
+
# @param [Hash] opts the optional parameters
|
443
|
+
# @option opts [String] :expand
|
444
|
+
# @return [AccountType]
|
445
|
+
describe 'users_id_user_account_types_id_account_type_get test' do
|
446
|
+
it "should work" do
|
447
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
451
|
+
# unit tests for users_id_user_accounts_delete
|
452
|
+
# Delete all accounts
|
453
|
+
#
|
454
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
455
|
+
# @param [Hash] opts the optional parameters
|
456
|
+
# @option opts [String] :expand
|
457
|
+
# @return [Account]
|
458
|
+
describe 'users_id_user_accounts_delete test' do
|
459
|
+
it "should work" do
|
460
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
464
|
+
# unit tests for users_id_user_accounts_get
|
465
|
+
# Get accounts list.
|
466
|
+
#
|
467
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
468
|
+
# @param [Hash] opts the optional parameters
|
469
|
+
# @option opts [String] :expand
|
470
|
+
# @return [InlineResponse20018]
|
471
|
+
describe 'users_id_user_accounts_get 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_accounts_id_account_categories_get
|
478
|
+
# Get the category
|
479
|
+
# Ressource to get categories for the user's transactions<br><br>
|
480
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
481
|
+
# @param id_account
|
482
|
+
# @param [Hash] opts the optional parameters
|
483
|
+
# @return [nil]
|
484
|
+
describe 'users_id_user_accounts_id_account_categories_get test' do
|
485
|
+
it "should work" do
|
486
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
487
|
+
end
|
488
|
+
end
|
489
|
+
|
490
|
+
# unit tests for users_id_user_accounts_id_account_delete
|
491
|
+
# Delete an account.
|
492
|
+
# It deletes a specific account. If this is the last synced account of a connection, it will be removed too.<br><br>
|
493
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
494
|
+
# @param id_account
|
495
|
+
# @param [Hash] opts the optional parameters
|
496
|
+
# @option opts [String] :expand
|
497
|
+
# @return [Account]
|
498
|
+
describe 'users_id_user_accounts_id_account_delete test' do
|
499
|
+
it "should work" do
|
500
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
# unit tests for users_id_user_accounts_id_account_delta_get
|
505
|
+
# Get deltas of accounts
|
506
|
+
# Get account delta between sums of transactions and difference of account balance for the given period.<br><br>
|
507
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
508
|
+
# @param id_account
|
509
|
+
# @param [Hash] opts the optional parameters
|
510
|
+
# @option opts [Date] :min_date minimal date
|
511
|
+
# @option opts [Date] :max_date maximum date
|
512
|
+
# @option opts [String] :period period to group logs
|
513
|
+
# @return [nil]
|
514
|
+
describe 'users_id_user_accounts_id_account_delta_get test' do
|
515
|
+
it "should work" do
|
516
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
# unit tests for users_id_user_accounts_id_account_logs_get
|
521
|
+
# Get accounts logs.
|
522
|
+
# Get logs of account.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
|
523
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
524
|
+
# @param id_account
|
525
|
+
# @param [Hash] opts the optional parameters
|
526
|
+
# @option opts [Integer] :limit limit number of results
|
527
|
+
# @option opts [Integer] :offset offset of first result
|
528
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
529
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
530
|
+
# @option opts [String] :expand
|
531
|
+
# @return [InlineResponse20021]
|
532
|
+
describe 'users_id_user_accounts_id_account_logs_get test' do
|
533
|
+
it "should work" do
|
534
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
# unit tests for users_id_user_accounts_id_account_put
|
539
|
+
# Update an account
|
540
|
+
# It updates a specific account<br><br>
|
541
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
542
|
+
# @param id_account
|
543
|
+
# @param [Hash] opts the optional parameters
|
544
|
+
# @option opts [BOOLEAN] :display If the account is displayed
|
545
|
+
# @option opts [String] :name Label of the account
|
546
|
+
# @option opts [Float] :balance Balance of the account
|
547
|
+
# @option opts [BOOLEAN] :disabled If the account is disabled (not synchronized)
|
548
|
+
# @option opts [String] :iban IBAN of the account
|
549
|
+
# @option opts [BOOLEAN] :bookmarked If the account is bookmarked
|
550
|
+
# @option opts [String] :expand
|
551
|
+
# @return [Account]
|
552
|
+
describe 'users_id_user_accounts_id_account_put test' do
|
553
|
+
it "should work" do
|
554
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
# unit tests for users_id_user_accounts_id_account_transactions_delete
|
559
|
+
# Delete transactions
|
560
|
+
#
|
561
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
562
|
+
# @param id_account
|
563
|
+
# @param [Hash] opts the optional parameters
|
564
|
+
# @option opts [String] :expand
|
565
|
+
# @return [Transaction]
|
566
|
+
describe 'users_id_user_accounts_id_account_transactions_delete test' do
|
567
|
+
it "should work" do
|
568
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
# unit tests for users_id_user_accounts_id_account_transactions_get
|
573
|
+
# Get transactions
|
574
|
+
# Get list of transactions.<br><br>By default, it selects transactions for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
|
575
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
576
|
+
# @param id_account
|
577
|
+
# @param [Hash] opts the optional parameters
|
578
|
+
# @option opts [Integer] :limit limit number of results
|
579
|
+
# @option opts [Integer] :offset offset of first result
|
580
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
581
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
582
|
+
# @option opts [BOOLEAN] :income filter on income or expenditures
|
583
|
+
# @option opts [BOOLEAN] :deleted display only deleted transactions
|
584
|
+
# @option opts [BOOLEAN] :all display all transactions, including deleted ones
|
585
|
+
# @option opts [DateTime] :last_update get only transactions updated after the specified datetime
|
586
|
+
# @option opts [String] :wording filter transactions containing the given string
|
587
|
+
# @option opts [Float] :min_value minimal (inclusive) value
|
588
|
+
# @option opts [Float] :max_value maximum (inclusive) value
|
589
|
+
# @option opts [String] :search search in labels, dates, values and categories
|
590
|
+
# @option opts [String] :value \"XX|-XX\" or \"±XX\"
|
591
|
+
# @option opts [String] :expand
|
592
|
+
# @return [InlineResponse20025]
|
593
|
+
describe 'users_id_user_accounts_id_account_transactions_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_accounts_id_account_transactions_id_transaction_informations_delete
|
600
|
+
# Delete all arbitrary key-value pairs of a transaction
|
601
|
+
#
|
602
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
603
|
+
# @param id_account
|
604
|
+
# @param id_transaction
|
605
|
+
# @param [Hash] opts the optional parameters
|
606
|
+
# @option opts [String] :expand
|
607
|
+
# @return [TransactionInformation]
|
608
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_informations_delete test' do
|
609
|
+
it "should work" do
|
610
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
# unit tests for users_id_user_accounts_id_account_transactions_id_transaction_informations_get
|
615
|
+
# List all arbitrary key-value pairs on a transaction
|
616
|
+
#
|
617
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
618
|
+
# @param id_account
|
619
|
+
# @param id_transaction
|
620
|
+
# @param [Hash] opts the optional parameters
|
621
|
+
# @option opts [String] :expand
|
622
|
+
# @return [InlineResponse20027]
|
623
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_informations_get test' do
|
624
|
+
it "should work" do
|
625
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
# unit tests for users_id_user_accounts_id_account_transactions_id_transaction_informations_id_information_delete
|
630
|
+
# Delete a particular key-value pair on a transaction.
|
631
|
+
#
|
632
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
633
|
+
# @param id_account
|
634
|
+
# @param id_transaction
|
635
|
+
# @param id_information
|
636
|
+
# @param [Hash] opts the optional parameters
|
637
|
+
# @option opts [String] :expand
|
638
|
+
# @return [TransactionInformation]
|
639
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_informations_id_information_delete test' do
|
640
|
+
it "should work" do
|
641
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
645
|
+
# unit tests for users_id_user_accounts_id_account_transactions_id_transaction_informations_id_information_get
|
646
|
+
# Get a particular arbitrary key-value pair on a transaction
|
647
|
+
#
|
648
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
649
|
+
# @param id_account
|
650
|
+
# @param id_transaction
|
651
|
+
# @param id_information
|
652
|
+
# @param [Hash] opts the optional parameters
|
653
|
+
# @option opts [String] :expand
|
654
|
+
# @return [TransactionInformation]
|
655
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_informations_id_information_get test' do
|
656
|
+
it "should work" do
|
657
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
# unit tests for users_id_user_accounts_id_account_transactions_id_transaction_informations_put
|
662
|
+
# Add or edit transaction arbitrary key-value pairs
|
663
|
+
#
|
664
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
665
|
+
# @param id_account
|
666
|
+
# @param id_transaction
|
667
|
+
# @param [Hash] opts the optional parameters
|
668
|
+
# @option opts [String] :expand
|
669
|
+
# @return [TransactionInformation]
|
670
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_informations_put test' do
|
671
|
+
it "should work" do
|
672
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
# unit tests for users_id_user_accounts_id_account_transactions_id_transaction_put
|
677
|
+
# Edit a transaction meta-data
|
678
|
+
#
|
679
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
680
|
+
# @param id_account
|
681
|
+
# @param id_transaction
|
682
|
+
# @param [Hash] opts the optional parameters
|
683
|
+
# @option opts [String] :wording user rewording of the transaction
|
684
|
+
# @option opts [Date] :application_date change application date of the transaction
|
685
|
+
# @option opts [Integer] :id_category ID of the associated category
|
686
|
+
# @option opts [String] :comment change comment
|
687
|
+
# @option opts [BOOLEAN] :active if false, transaction isn't considered in analyzisis endpoints (like /balances)
|
688
|
+
# @option opts [String] :expand
|
689
|
+
# @return [Transaction]
|
690
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_put test' do
|
691
|
+
it "should work" do
|
692
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
# unit tests for users_id_user_accounts_id_account_transactions_post
|
697
|
+
# Create transactions
|
698
|
+
# Create transactions for the supplied account or the account whose id is given with form parameters. It requires an array of transaction dictionaries.<br><br><br><br>
|
699
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
700
|
+
# @param id_account
|
701
|
+
# @param original_wording label of the transaction
|
702
|
+
# @param value vallue of the transaction
|
703
|
+
# @param date date of the transaction
|
704
|
+
# @param [Hash] opts the optional parameters
|
705
|
+
# @option opts [String] :type type of the transaction (default: unknown)
|
706
|
+
# @option opts [String] :state nature of the transaction (default: new)
|
707
|
+
# @option opts [Date] :rdate realisation date of the transaction (default: value of date)
|
708
|
+
# @option opts [BOOLEAN] :coming 1 if the transaction has already been debited (default: 0)
|
709
|
+
# @option opts [BOOLEAN] :active 1 if the transaction should be taken into account by pfm services (default: 1)
|
710
|
+
# @option opts [DateTime] :date_scraped date on which the transaction has been found for the first time. YYYY-MM-DD HH:MM:SS(default: now)
|
711
|
+
# @option opts [Integer] :id_account2 account of the transaction. If not supplied, it has to be given in the route
|
712
|
+
# @option opts [String] :expand
|
713
|
+
# @return [Transaction]
|
714
|
+
describe 'users_id_user_accounts_id_account_transactions_post test' do
|
715
|
+
it "should work" do
|
716
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
717
|
+
end
|
718
|
+
end
|
719
|
+
|
720
|
+
# unit tests for users_id_user_accounts_id_account_transactionsclusters_get
|
721
|
+
# Get clustered transactions
|
722
|
+
#
|
723
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
724
|
+
# @param id_account
|
725
|
+
# @param [Hash] opts the optional parameters
|
726
|
+
# @option opts [String] :expand
|
727
|
+
# @return [InlineResponse20028]
|
728
|
+
describe 'users_id_user_accounts_id_account_transactionsclusters_get test' do
|
729
|
+
it "should work" do
|
730
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
731
|
+
end
|
732
|
+
end
|
733
|
+
|
734
|
+
# unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactionscluster_delete
|
735
|
+
# Delete a clustered transaction
|
736
|
+
#
|
737
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
738
|
+
# @param id_account
|
739
|
+
# @param id_transactionscluster
|
740
|
+
# @param [Hash] opts the optional parameters
|
741
|
+
# @option opts [String] :expand
|
742
|
+
# @return [TransactionsCluster]
|
743
|
+
describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactionscluster_delete test' do
|
744
|
+
it "should work" do
|
745
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
746
|
+
end
|
747
|
+
end
|
748
|
+
|
749
|
+
# unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactionscluster_put
|
750
|
+
# Edit a clustered transaction
|
751
|
+
# Form params : - next_date (date): Date of transaction - mean_amount (decimal): Mean Amount - wording (string): name of transaction - id_account (id): related account - id_category (id): related category - enabled (bool): is enabled<br><br>
|
752
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
753
|
+
# @param id_account
|
754
|
+
# @param id_transactionscluster
|
755
|
+
# @param [Hash] opts the optional parameters
|
756
|
+
# @option opts [String] :expand
|
757
|
+
# @return [TransactionsCluster]
|
758
|
+
describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactionscluster_put test' do
|
759
|
+
it "should work" do
|
760
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
764
|
+
# unit tests for users_id_user_accounts_id_account_transactionsclusters_post
|
765
|
+
# Create clustered transaction
|
766
|
+
# Form params : - next_date (date) required: Date of transaction - mean_amount (decimal) required: Mean Amount - wording (string) required: name of transaction - id_account (id) required: related account<br><br>
|
767
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
768
|
+
# @param id_account
|
769
|
+
# @param [Hash] opts the optional parameters
|
770
|
+
# @option opts [String] :expand
|
771
|
+
# @return [TransactionsCluster]
|
772
|
+
describe 'users_id_user_accounts_id_account_transactionsclusters_post test' do
|
773
|
+
it "should work" do
|
774
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
778
|
+
# unit tests for users_id_user_accounts_post
|
779
|
+
# Create an account
|
780
|
+
# This endpoint creates an account not related to a connection.<br><br>
|
781
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
782
|
+
# @param name name of account
|
783
|
+
# @param balance balance of account
|
784
|
+
# @param [Hash] opts the optional parameters
|
785
|
+
# @option opts [String] :number number of account
|
786
|
+
# @option opts [String] :iban IBAN of account
|
787
|
+
# @option opts [String] :id_currency the currency of the account (default: 'EUR')
|
788
|
+
# @option opts [String] :expand
|
789
|
+
# @return [Account]
|
790
|
+
describe 'users_id_user_accounts_post test' do
|
791
|
+
it "should work" do
|
792
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
793
|
+
end
|
794
|
+
end
|
795
|
+
|
796
|
+
# unit tests for users_id_user_alerts_get
|
797
|
+
# Get alerts
|
798
|
+
#
|
799
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
800
|
+
# @param [Hash] opts the optional parameters
|
801
|
+
# @option opts [String] :expand
|
802
|
+
# @return [InlineResponse20029]
|
803
|
+
describe 'users_id_user_alerts_get test' do
|
804
|
+
it "should work" do
|
805
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
809
|
+
# unit tests for users_id_user_categories_full_get
|
810
|
+
# Get the category
|
811
|
+
# Ressource to get categories<br><br>
|
812
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
813
|
+
# @param [Hash] opts the optional parameters
|
814
|
+
# @option opts [String] :expand
|
815
|
+
# @return [InlineResponse20030]
|
816
|
+
describe 'users_id_user_categories_full_get test' do
|
817
|
+
it "should work" do
|
818
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
819
|
+
end
|
820
|
+
end
|
821
|
+
|
822
|
+
# unit tests for users_id_user_categories_get
|
823
|
+
# Get the category
|
824
|
+
# Ressource to get categories for the user's transactions<br><br>
|
825
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
826
|
+
# @param [Hash] opts the optional parameters
|
827
|
+
# @return [nil]
|
828
|
+
describe 'users_id_user_categories_get test' do
|
829
|
+
it "should work" do
|
830
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
834
|
+
# unit tests for users_id_user_connections_delete
|
835
|
+
# Delete all connections
|
836
|
+
#
|
837
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
838
|
+
# @param [Hash] opts the optional parameters
|
839
|
+
# @option opts [String] :expand
|
840
|
+
# @return [Connection]
|
841
|
+
describe 'users_id_user_connections_delete test' do
|
842
|
+
it "should work" do
|
843
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
847
|
+
# unit tests for users_id_user_connections_get
|
848
|
+
# Get connections
|
849
|
+
#
|
850
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
851
|
+
# @param [Hash] opts the optional parameters
|
852
|
+
# @option opts [String] :expand
|
853
|
+
# @return [InlineResponse2008]
|
854
|
+
describe 'users_id_user_connections_get test' do
|
855
|
+
it "should work" do
|
856
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
857
|
+
end
|
858
|
+
end
|
859
|
+
|
860
|
+
# unit tests for users_id_user_connections_id_connection_accounts_delete
|
861
|
+
# Delete all accounts
|
862
|
+
#
|
863
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
864
|
+
# @param id_connection
|
865
|
+
# @param [Hash] opts the optional parameters
|
866
|
+
# @option opts [String] :expand
|
867
|
+
# @return [Account]
|
868
|
+
describe 'users_id_user_connections_id_connection_accounts_delete test' do
|
869
|
+
it "should work" do
|
870
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
871
|
+
end
|
872
|
+
end
|
873
|
+
|
874
|
+
# unit tests for users_id_user_connections_id_connection_accounts_get
|
875
|
+
# Get accounts list.
|
876
|
+
#
|
877
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
878
|
+
# @param id_connection
|
879
|
+
# @param [Hash] opts the optional parameters
|
880
|
+
# @option opts [String] :expand
|
881
|
+
# @return [InlineResponse20018]
|
882
|
+
describe 'users_id_user_connections_id_connection_accounts_get test' do
|
883
|
+
it "should work" do
|
884
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
885
|
+
end
|
886
|
+
end
|
887
|
+
|
888
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_categories_get
|
889
|
+
# Get the category
|
890
|
+
# Ressource to get categories for the user's transactions<br><br>
|
891
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
892
|
+
# @param id_connection
|
893
|
+
# @param id_account
|
894
|
+
# @param [Hash] opts the optional parameters
|
895
|
+
# @return [nil]
|
896
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_categories_get test' do
|
897
|
+
it "should work" do
|
898
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
902
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_delete
|
903
|
+
# Delete an account.
|
904
|
+
# It deletes a specific account. If this is the last synced account of a connection, it will be removed too.<br><br>
|
905
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
906
|
+
# @param id_connection
|
907
|
+
# @param id_account
|
908
|
+
# @param [Hash] opts the optional parameters
|
909
|
+
# @option opts [String] :expand
|
910
|
+
# @return [Account]
|
911
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_delete test' do
|
912
|
+
it "should work" do
|
913
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
917
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_delta_get
|
918
|
+
# Get deltas of accounts
|
919
|
+
# Get account delta between sums of transactions and difference of account balance for the given period.<br><br>
|
920
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
921
|
+
# @param id_connection
|
922
|
+
# @param id_account
|
923
|
+
# @param [Hash] opts the optional parameters
|
924
|
+
# @option opts [Date] :min_date minimal date
|
925
|
+
# @option opts [Date] :max_date maximum date
|
926
|
+
# @option opts [String] :period period to group logs
|
927
|
+
# @return [nil]
|
928
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_delta_get test' do
|
929
|
+
it "should work" do
|
930
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
934
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_logs_get
|
935
|
+
# Get accounts logs.
|
936
|
+
# Get logs of account.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
|
937
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
938
|
+
# @param id_connection
|
939
|
+
# @param id_account
|
940
|
+
# @param [Hash] opts the optional parameters
|
941
|
+
# @option opts [Integer] :limit limit number of results
|
942
|
+
# @option opts [Integer] :offset offset of first result
|
943
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
944
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
945
|
+
# @option opts [String] :expand
|
946
|
+
# @return [InlineResponse20021]
|
947
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_logs_get test' do
|
948
|
+
it "should work" do
|
949
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
953
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_put
|
954
|
+
# Update an account
|
955
|
+
# It updates a specific account<br><br>
|
956
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
957
|
+
# @param id_connection
|
958
|
+
# @param id_account
|
959
|
+
# @param [Hash] opts the optional parameters
|
960
|
+
# @option opts [BOOLEAN] :display If the account is displayed
|
961
|
+
# @option opts [String] :name Label of the account
|
962
|
+
# @option opts [Float] :balance Balance of the account
|
963
|
+
# @option opts [BOOLEAN] :disabled If the account is disabled (not synchronized)
|
964
|
+
# @option opts [String] :iban IBAN of the account
|
965
|
+
# @option opts [BOOLEAN] :bookmarked If the account is bookmarked
|
966
|
+
# @option opts [String] :expand
|
967
|
+
# @return [Account]
|
968
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_put test' do
|
969
|
+
it "should work" do
|
970
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
971
|
+
end
|
972
|
+
end
|
973
|
+
|
974
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_delete
|
975
|
+
# Delete transactions
|
976
|
+
#
|
977
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
978
|
+
# @param id_connection
|
979
|
+
# @param id_account
|
980
|
+
# @param [Hash] opts the optional parameters
|
981
|
+
# @option opts [String] :expand
|
982
|
+
# @return [Transaction]
|
983
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_delete test' do
|
984
|
+
it "should work" do
|
985
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
989
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_get
|
990
|
+
# Get transactions
|
991
|
+
# Get list of transactions.<br><br>By default, it selects transactions for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
|
992
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
993
|
+
# @param id_connection
|
994
|
+
# @param id_account
|
995
|
+
# @param [Hash] opts the optional parameters
|
996
|
+
# @option opts [Integer] :limit limit number of results
|
997
|
+
# @option opts [Integer] :offset offset of first result
|
998
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
999
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
1000
|
+
# @option opts [BOOLEAN] :income filter on income or expenditures
|
1001
|
+
# @option opts [BOOLEAN] :deleted display only deleted transactions
|
1002
|
+
# @option opts [BOOLEAN] :all display all transactions, including deleted ones
|
1003
|
+
# @option opts [DateTime] :last_update get only transactions updated after the specified datetime
|
1004
|
+
# @option opts [String] :wording filter transactions containing the given string
|
1005
|
+
# @option opts [Float] :min_value minimal (inclusive) value
|
1006
|
+
# @option opts [Float] :max_value maximum (inclusive) value
|
1007
|
+
# @option opts [String] :search search in labels, dates, values and categories
|
1008
|
+
# @option opts [String] :value \"XX|-XX\" or \"±XX\"
|
1009
|
+
# @option opts [String] :expand
|
1010
|
+
# @return [InlineResponse20025]
|
1011
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_get test' do
|
1012
|
+
it "should work" do
|
1013
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1014
|
+
end
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_delete
|
1018
|
+
# Delete all arbitrary key-value pairs of a transaction
|
1019
|
+
#
|
1020
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1021
|
+
# @param id_connection
|
1022
|
+
# @param id_account
|
1023
|
+
# @param id_transaction
|
1024
|
+
# @param [Hash] opts the optional parameters
|
1025
|
+
# @option opts [String] :expand
|
1026
|
+
# @return [TransactionInformation]
|
1027
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_delete test' do
|
1028
|
+
it "should work" do
|
1029
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_get
|
1034
|
+
# List all arbitrary key-value pairs on a transaction
|
1035
|
+
#
|
1036
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1037
|
+
# @param id_connection
|
1038
|
+
# @param id_account
|
1039
|
+
# @param id_transaction
|
1040
|
+
# @param [Hash] opts the optional parameters
|
1041
|
+
# @option opts [String] :expand
|
1042
|
+
# @return [InlineResponse20027]
|
1043
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_get test' do
|
1044
|
+
it "should work" do
|
1045
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_id_information_delete
|
1050
|
+
# Delete a particular key-value pair on a transaction.
|
1051
|
+
#
|
1052
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1053
|
+
# @param id_connection
|
1054
|
+
# @param id_account
|
1055
|
+
# @param id_transaction
|
1056
|
+
# @param id_information
|
1057
|
+
# @param [Hash] opts the optional parameters
|
1058
|
+
# @option opts [String] :expand
|
1059
|
+
# @return [TransactionInformation]
|
1060
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_id_information_delete test' do
|
1061
|
+
it "should work" do
|
1062
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1063
|
+
end
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_id_information_get
|
1067
|
+
# Get a particular arbitrary key-value pair on a transaction
|
1068
|
+
#
|
1069
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1070
|
+
# @param id_connection
|
1071
|
+
# @param id_account
|
1072
|
+
# @param id_transaction
|
1073
|
+
# @param id_information
|
1074
|
+
# @param [Hash] opts the optional parameters
|
1075
|
+
# @option opts [String] :expand
|
1076
|
+
# @return [TransactionInformation]
|
1077
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_id_information_get test' do
|
1078
|
+
it "should work" do
|
1079
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_put
|
1084
|
+
# Add or edit transaction arbitrary key-value pairs
|
1085
|
+
#
|
1086
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1087
|
+
# @param id_connection
|
1088
|
+
# @param id_account
|
1089
|
+
# @param id_transaction
|
1090
|
+
# @param [Hash] opts the optional parameters
|
1091
|
+
# @option opts [String] :expand
|
1092
|
+
# @return [TransactionInformation]
|
1093
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_put test' do
|
1094
|
+
it "should work" do
|
1095
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1096
|
+
end
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_put
|
1100
|
+
# Edit a transaction meta-data
|
1101
|
+
#
|
1102
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1103
|
+
# @param id_connection
|
1104
|
+
# @param id_account
|
1105
|
+
# @param id_transaction
|
1106
|
+
# @param [Hash] opts the optional parameters
|
1107
|
+
# @option opts [String] :wording user rewording of the transaction
|
1108
|
+
# @option opts [Date] :application_date change application date of the transaction
|
1109
|
+
# @option opts [Integer] :id_category ID of the associated category
|
1110
|
+
# @option opts [String] :comment change comment
|
1111
|
+
# @option opts [BOOLEAN] :active if false, transaction isn't considered in analyzisis endpoints (like /balances)
|
1112
|
+
# @option opts [String] :expand
|
1113
|
+
# @return [Transaction]
|
1114
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_put test' do
|
1115
|
+
it "should work" do
|
1116
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1117
|
+
end
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_post
|
1121
|
+
# Create transactions
|
1122
|
+
# Create transactions for the supplied account or the account whose id is given with form parameters. It requires an array of transaction dictionaries.<br><br><br><br>
|
1123
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1124
|
+
# @param id_connection
|
1125
|
+
# @param id_account
|
1126
|
+
# @param original_wording label of the transaction
|
1127
|
+
# @param value vallue of the transaction
|
1128
|
+
# @param date date of the transaction
|
1129
|
+
# @param [Hash] opts the optional parameters
|
1130
|
+
# @option opts [String] :type type of the transaction (default: unknown)
|
1131
|
+
# @option opts [String] :state nature of the transaction (default: new)
|
1132
|
+
# @option opts [Date] :rdate realisation date of the transaction (default: value of date)
|
1133
|
+
# @option opts [BOOLEAN] :coming 1 if the transaction has already been debited (default: 0)
|
1134
|
+
# @option opts [BOOLEAN] :active 1 if the transaction should be taken into account by pfm services (default: 1)
|
1135
|
+
# @option opts [DateTime] :date_scraped date on which the transaction has been found for the first time. YYYY-MM-DD HH:MM:SS(default: now)
|
1136
|
+
# @option opts [Integer] :id_account2 account of the transaction. If not supplied, it has to be given in the route
|
1137
|
+
# @option opts [String] :expand
|
1138
|
+
# @return [Transaction]
|
1139
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_post test' do
|
1140
|
+
it "should work" do
|
1141
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1142
|
+
end
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_get
|
1146
|
+
# Get clustered transactions
|
1147
|
+
#
|
1148
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1149
|
+
# @param id_connection
|
1150
|
+
# @param id_account
|
1151
|
+
# @param [Hash] opts the optional parameters
|
1152
|
+
# @option opts [String] :expand
|
1153
|
+
# @return [InlineResponse20028]
|
1154
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_get test' do
|
1155
|
+
it "should work" do
|
1156
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1157
|
+
end
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactionscluster_delete
|
1161
|
+
# Delete a clustered transaction
|
1162
|
+
#
|
1163
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1164
|
+
# @param id_connection
|
1165
|
+
# @param id_account
|
1166
|
+
# @param id_transactionscluster
|
1167
|
+
# @param [Hash] opts the optional parameters
|
1168
|
+
# @option opts [String] :expand
|
1169
|
+
# @return [TransactionsCluster]
|
1170
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactionscluster_delete test' do
|
1171
|
+
it "should work" do
|
1172
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1173
|
+
end
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactionscluster_put
|
1177
|
+
# Edit a clustered transaction
|
1178
|
+
# Form params : - next_date (date): Date of transaction - mean_amount (decimal): Mean Amount - wording (string): name of transaction - id_account (id): related account - id_category (id): related category - enabled (bool): is enabled<br><br>
|
1179
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1180
|
+
# @param id_connection
|
1181
|
+
# @param id_account
|
1182
|
+
# @param id_transactionscluster
|
1183
|
+
# @param [Hash] opts the optional parameters
|
1184
|
+
# @option opts [String] :expand
|
1185
|
+
# @return [TransactionsCluster]
|
1186
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactionscluster_put test' do
|
1187
|
+
it "should work" do
|
1188
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1189
|
+
end
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_post
|
1193
|
+
# Create clustered transaction
|
1194
|
+
# Form params : - next_date (date) required: Date of transaction - mean_amount (decimal) required: Mean Amount - wording (string) required: name of transaction - id_account (id) required: related account<br><br>
|
1195
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1196
|
+
# @param id_connection
|
1197
|
+
# @param id_account
|
1198
|
+
# @param [Hash] opts the optional parameters
|
1199
|
+
# @option opts [String] :expand
|
1200
|
+
# @return [TransactionsCluster]
|
1201
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_post test' do
|
1202
|
+
it "should work" do
|
1203
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1204
|
+
end
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
# unit tests for users_id_user_connections_id_connection_accounts_post
|
1208
|
+
# Create an account
|
1209
|
+
# This endpoint creates an account not related to a connection.<br><br>
|
1210
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1211
|
+
# @param id_connection
|
1212
|
+
# @param name name of account
|
1213
|
+
# @param balance balance of account
|
1214
|
+
# @param [Hash] opts the optional parameters
|
1215
|
+
# @option opts [String] :number number of account
|
1216
|
+
# @option opts [String] :iban IBAN of account
|
1217
|
+
# @option opts [String] :id_currency the currency of the account (default: 'EUR')
|
1218
|
+
# @option opts [String] :expand
|
1219
|
+
# @return [Account]
|
1220
|
+
describe 'users_id_user_connections_id_connection_accounts_post test' do
|
1221
|
+
it "should work" do
|
1222
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# unit tests for users_id_user_connections_id_connection_delete
|
1227
|
+
# Delete a connection.
|
1228
|
+
# This endpoint deletes a connection and all related accounts and transactions.<br><br>
|
1229
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1230
|
+
# @param id_connection
|
1231
|
+
# @param [Hash] opts the optional parameters
|
1232
|
+
# @option opts [String] :expand
|
1233
|
+
# @return [Connection]
|
1234
|
+
describe 'users_id_user_connections_id_connection_delete test' do
|
1235
|
+
it "should work" do
|
1236
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
# unit tests for users_id_user_connections_id_connection_informations_get
|
1241
|
+
# Get connection additionnal informations
|
1242
|
+
# <br><br>
|
1243
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1244
|
+
# @param id_connection
|
1245
|
+
# @param [Hash] opts the optional parameters
|
1246
|
+
# @option opts [String] :expand
|
1247
|
+
# @return [InlineResponse2008]
|
1248
|
+
describe 'users_id_user_connections_id_connection_informations_get test' do
|
1249
|
+
it "should work" do
|
1250
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1251
|
+
end
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
# unit tests for users_id_user_connections_id_connection_logs_get
|
1255
|
+
# Get connection logs
|
1256
|
+
# Get logs about connections.<br><br>
|
1257
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1258
|
+
# @param id_connection
|
1259
|
+
# @param [Hash] opts the optional parameters
|
1260
|
+
# @option opts [Integer] :limit limit number of results
|
1261
|
+
# @option opts [Integer] :offset offset of first result
|
1262
|
+
# @option opts [Date] :min_date minimal date
|
1263
|
+
# @option opts [Date] :max_date maximum date
|
1264
|
+
# @option opts [Integer] :state state of user
|
1265
|
+
# @option opts [String] :period period to group logs
|
1266
|
+
# @option opts [Integer] :id_user2 ID of a user
|
1267
|
+
# @option opts [Integer] :id_connection2 ID of a connection
|
1268
|
+
# @option opts [Integer] :id_bank ID of a bank
|
1269
|
+
# @option opts [BOOLEAN] :charged consider only logs for charged banks
|
1270
|
+
# @option opts [String] :expand
|
1271
|
+
# @return [InlineResponse20015]
|
1272
|
+
describe 'users_id_user_connections_id_connection_logs_get test' do
|
1273
|
+
it "should work" do
|
1274
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1275
|
+
end
|
1276
|
+
end
|
1277
|
+
|
1278
|
+
# unit tests for users_id_user_connections_id_connection_post
|
1279
|
+
# Update a connection.
|
1280
|
+
# Give new parameters to change on the configuration of this connection (for example \"password\").<br><br>It tests connection to website, and if it fails, a 400 response is given with the error code \"wrongpass\" or \"websiteUnavailable\".<br><br>You can also supply meta-parameters on connection, like 'active' or 'expire'.<br><br>
|
1281
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1282
|
+
# @param id_connection
|
1283
|
+
# @param [Hash] opts the optional parameters
|
1284
|
+
# @option opts [BOOLEAN] :active Set if the connection synchronisation is active
|
1285
|
+
# @option opts [DateTime] :expire Set expiration of the connection to this date
|
1286
|
+
# @option opts [String] :login Set login to this new login
|
1287
|
+
# @option opts [String] :password Set password to this new password
|
1288
|
+
# @option opts [String] :expand
|
1289
|
+
# @return [Connection]
|
1290
|
+
describe 'users_id_user_connections_id_connection_post test' do
|
1291
|
+
it "should work" do
|
1292
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1293
|
+
end
|
1294
|
+
end
|
1295
|
+
|
1296
|
+
# unit tests for users_id_user_connections_id_connection_put
|
1297
|
+
# Force synchronisation of a connection.
|
1298
|
+
# We suggest to pass parameter expand=accounts[transactions] to get all *new* and *updated* transactions.<br><br>Query params: - expand (string): fields to expand - last_update (dateTime): if supplied, get transactions inserted since this date<br><br>
|
1299
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1300
|
+
# @param id_connection
|
1301
|
+
# @param [Hash] opts the optional parameters
|
1302
|
+
# @option opts [String] :expand
|
1303
|
+
# @return [Connection]
|
1304
|
+
describe 'users_id_user_connections_id_connection_put test' do
|
1305
|
+
it "should work" do
|
1306
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1307
|
+
end
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
# unit tests for users_id_user_connections_id_connection_transactions_delete
|
1311
|
+
# Delete transactions
|
1312
|
+
#
|
1313
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1314
|
+
# @param id_connection
|
1315
|
+
# @param [Hash] opts the optional parameters
|
1316
|
+
# @option opts [String] :expand
|
1317
|
+
# @return [Transaction]
|
1318
|
+
describe 'users_id_user_connections_id_connection_transactions_delete test' do
|
1319
|
+
it "should work" do
|
1320
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1321
|
+
end
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
# unit tests for users_id_user_connections_id_connection_transactions_get
|
1325
|
+
# Get transactions
|
1326
|
+
# Get list of transactions.<br><br>By default, it selects transactions for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
|
1327
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1328
|
+
# @param id_connection
|
1329
|
+
# @param [Hash] opts the optional parameters
|
1330
|
+
# @option opts [Integer] :limit limit number of results
|
1331
|
+
# @option opts [Integer] :offset offset of first result
|
1332
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
1333
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
1334
|
+
# @option opts [BOOLEAN] :income filter on income or expenditures
|
1335
|
+
# @option opts [BOOLEAN] :deleted display only deleted transactions
|
1336
|
+
# @option opts [BOOLEAN] :all display all transactions, including deleted ones
|
1337
|
+
# @option opts [DateTime] :last_update get only transactions updated after the specified datetime
|
1338
|
+
# @option opts [String] :wording filter transactions containing the given string
|
1339
|
+
# @option opts [Float] :min_value minimal (inclusive) value
|
1340
|
+
# @option opts [Float] :max_value maximum (inclusive) value
|
1341
|
+
# @option opts [String] :search search in labels, dates, values and categories
|
1342
|
+
# @option opts [String] :value \"XX|-XX\" or \"±XX\"
|
1343
|
+
# @option opts [String] :expand
|
1344
|
+
# @return [InlineResponse20025]
|
1345
|
+
describe 'users_id_user_connections_id_connection_transactions_get test' do
|
1346
|
+
it "should work" do
|
1347
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1348
|
+
end
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_informations_delete
|
1352
|
+
# Delete all arbitrary key-value pairs of a transaction
|
1353
|
+
#
|
1354
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1355
|
+
# @param id_connection
|
1356
|
+
# @param id_transaction
|
1357
|
+
# @param [Hash] opts the optional parameters
|
1358
|
+
# @option opts [String] :expand
|
1359
|
+
# @return [TransactionInformation]
|
1360
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_informations_delete test' do
|
1361
|
+
it "should work" do
|
1362
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1363
|
+
end
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_informations_get
|
1367
|
+
# List all arbitrary key-value pairs on a transaction
|
1368
|
+
#
|
1369
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1370
|
+
# @param id_connection
|
1371
|
+
# @param id_transaction
|
1372
|
+
# @param [Hash] opts the optional parameters
|
1373
|
+
# @option opts [String] :expand
|
1374
|
+
# @return [InlineResponse20027]
|
1375
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_informations_get test' do
|
1376
|
+
it "should work" do
|
1377
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1378
|
+
end
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_informations_id_information_delete
|
1382
|
+
# Delete a particular key-value pair on a transaction.
|
1383
|
+
#
|
1384
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1385
|
+
# @param id_connection
|
1386
|
+
# @param id_transaction
|
1387
|
+
# @param id_information
|
1388
|
+
# @param [Hash] opts the optional parameters
|
1389
|
+
# @option opts [String] :expand
|
1390
|
+
# @return [TransactionInformation]
|
1391
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_informations_id_information_delete test' do
|
1392
|
+
it "should work" do
|
1393
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1394
|
+
end
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_informations_id_information_get
|
1398
|
+
# Get a particular arbitrary key-value pair on a transaction
|
1399
|
+
#
|
1400
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1401
|
+
# @param id_connection
|
1402
|
+
# @param id_transaction
|
1403
|
+
# @param id_information
|
1404
|
+
# @param [Hash] opts the optional parameters
|
1405
|
+
# @option opts [String] :expand
|
1406
|
+
# @return [TransactionInformation]
|
1407
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_informations_id_information_get test' do
|
1408
|
+
it "should work" do
|
1409
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1410
|
+
end
|
1411
|
+
end
|
1412
|
+
|
1413
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_informations_put
|
1414
|
+
# Add or edit transaction arbitrary key-value pairs
|
1415
|
+
#
|
1416
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1417
|
+
# @param id_connection
|
1418
|
+
# @param id_transaction
|
1419
|
+
# @param [Hash] opts the optional parameters
|
1420
|
+
# @option opts [String] :expand
|
1421
|
+
# @return [TransactionInformation]
|
1422
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_informations_put test' do
|
1423
|
+
it "should work" do
|
1424
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1425
|
+
end
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_put
|
1429
|
+
# Edit a transaction meta-data
|
1430
|
+
#
|
1431
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1432
|
+
# @param id_connection
|
1433
|
+
# @param id_transaction
|
1434
|
+
# @param [Hash] opts the optional parameters
|
1435
|
+
# @option opts [String] :wording user rewording of the transaction
|
1436
|
+
# @option opts [Date] :application_date change application date of the transaction
|
1437
|
+
# @option opts [Integer] :id_category ID of the associated category
|
1438
|
+
# @option opts [String] :comment change comment
|
1439
|
+
# @option opts [BOOLEAN] :active if false, transaction isn't considered in analyzisis endpoints (like /balances)
|
1440
|
+
# @option opts [String] :expand
|
1441
|
+
# @return [Transaction]
|
1442
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_put test' do
|
1443
|
+
it "should work" do
|
1444
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1445
|
+
end
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
# unit tests for users_id_user_connections_id_connection_transactions_post
|
1449
|
+
# Create transactions
|
1450
|
+
# Create transactions for the supplied account or the account whose id is given with form parameters. It requires an array of transaction dictionaries.<br><br><br><br>
|
1451
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1452
|
+
# @param id_connection
|
1453
|
+
# @param original_wording label of the transaction
|
1454
|
+
# @param value vallue of the transaction
|
1455
|
+
# @param date date of the transaction
|
1456
|
+
# @param [Hash] opts the optional parameters
|
1457
|
+
# @option opts [String] :type type of the transaction (default: unknown)
|
1458
|
+
# @option opts [String] :state nature of the transaction (default: new)
|
1459
|
+
# @option opts [Date] :rdate realisation date of the transaction (default: value of date)
|
1460
|
+
# @option opts [BOOLEAN] :coming 1 if the transaction has already been debited (default: 0)
|
1461
|
+
# @option opts [BOOLEAN] :active 1 if the transaction should be taken into account by pfm services (default: 1)
|
1462
|
+
# @option opts [DateTime] :date_scraped date on which the transaction has been found for the first time. YYYY-MM-DD HH:MM:SS(default: now)
|
1463
|
+
# @option opts [Integer] :id_account account of the transaction. If not supplied, it has to be given in the route
|
1464
|
+
# @option opts [String] :expand
|
1465
|
+
# @return [Transaction]
|
1466
|
+
describe 'users_id_user_connections_id_connection_transactions_post test' do
|
1467
|
+
it "should work" do
|
1468
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1469
|
+
end
|
1470
|
+
end
|
1471
|
+
|
1472
|
+
# unit tests for users_id_user_connections_id_connection_transactionsclusters_get
|
1473
|
+
# Get clustered transactions
|
1474
|
+
#
|
1475
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1476
|
+
# @param id_connection
|
1477
|
+
# @param [Hash] opts the optional parameters
|
1478
|
+
# @option opts [String] :expand
|
1479
|
+
# @return [InlineResponse20028]
|
1480
|
+
describe 'users_id_user_connections_id_connection_transactionsclusters_get test' do
|
1481
|
+
it "should work" do
|
1482
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1483
|
+
end
|
1484
|
+
end
|
1485
|
+
|
1486
|
+
# unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactionscluster_delete
|
1487
|
+
# Delete a clustered transaction
|
1488
|
+
#
|
1489
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1490
|
+
# @param id_connection
|
1491
|
+
# @param id_transactionscluster
|
1492
|
+
# @param [Hash] opts the optional parameters
|
1493
|
+
# @option opts [String] :expand
|
1494
|
+
# @return [TransactionsCluster]
|
1495
|
+
describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactionscluster_delete test' do
|
1496
|
+
it "should work" do
|
1497
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1498
|
+
end
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
# unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactionscluster_put
|
1502
|
+
# Edit a clustered transaction
|
1503
|
+
# Form params : - next_date (date): Date of transaction - mean_amount (decimal): Mean Amount - wording (string): name of transaction - id_account (id): related account - id_category (id): related category - enabled (bool): is enabled<br><br>
|
1504
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1505
|
+
# @param id_connection
|
1506
|
+
# @param id_transactionscluster
|
1507
|
+
# @param [Hash] opts the optional parameters
|
1508
|
+
# @option opts [String] :expand
|
1509
|
+
# @return [TransactionsCluster]
|
1510
|
+
describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactionscluster_put test' do
|
1511
|
+
it "should work" do
|
1512
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1513
|
+
end
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
# unit tests for users_id_user_connections_id_connection_transactionsclusters_post
|
1517
|
+
# Create clustered transaction
|
1518
|
+
# Form params : - next_date (date) required: Date of transaction - mean_amount (decimal) required: Mean Amount - wording (string) required: name of transaction - id_account (id) required: related account<br><br>
|
1519
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1520
|
+
# @param id_connection
|
1521
|
+
# @param [Hash] opts the optional parameters
|
1522
|
+
# @option opts [String] :expand
|
1523
|
+
# @return [TransactionsCluster]
|
1524
|
+
describe 'users_id_user_connections_id_connection_transactionsclusters_post test' do
|
1525
|
+
it "should work" do
|
1526
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1527
|
+
end
|
1528
|
+
end
|
1529
|
+
|
1530
|
+
# unit tests for users_id_user_connections_post
|
1531
|
+
# Add a new connection.
|
1532
|
+
# Create a new connection to a given bank or provider. You have to give all needed parameters (use /banks/ID/fields or /providers/ID/fields to get them).<br><br>
|
1533
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1534
|
+
# @param [Hash] opts the optional parameters
|
1535
|
+
# @option opts [Integer] :id_bank ID of the bank
|
1536
|
+
# @option opts [Integer] :id_provider ID of the provider
|
1537
|
+
# @option opts [String] :expand
|
1538
|
+
# @return [Connection]
|
1539
|
+
describe 'users_id_user_connections_post test' do
|
1540
|
+
it "should work" do
|
1541
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1542
|
+
end
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
# unit tests for users_id_user_forecast_get
|
1546
|
+
# Get forecast
|
1547
|
+
#
|
1548
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1549
|
+
# @param [Hash] opts the optional parameters
|
1550
|
+
# @return [nil]
|
1551
|
+
describe 'users_id_user_forecast_get test' do
|
1552
|
+
it "should work" do
|
1553
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1554
|
+
end
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
# unit tests for users_id_user_logs_get
|
1558
|
+
# Get connection logs
|
1559
|
+
# Get logs about connections.<br><br>
|
1560
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1561
|
+
# @param [Hash] opts the optional parameters
|
1562
|
+
# @option opts [Integer] :limit limit number of results
|
1563
|
+
# @option opts [Integer] :offset offset of first result
|
1564
|
+
# @option opts [Date] :min_date minimal date
|
1565
|
+
# @option opts [Date] :max_date maximum date
|
1566
|
+
# @option opts [Integer] :state state of user
|
1567
|
+
# @option opts [String] :period period to group logs
|
1568
|
+
# @option opts [Integer] :id_user2 ID of a user
|
1569
|
+
# @option opts [Integer] :id_connection ID of a connection
|
1570
|
+
# @option opts [Integer] :id_bank ID of a bank
|
1571
|
+
# @option opts [BOOLEAN] :charged consider only logs for charged banks
|
1572
|
+
# @option opts [String] :expand
|
1573
|
+
# @return [InlineResponse20015]
|
1574
|
+
describe 'users_id_user_logs_get test' do
|
1575
|
+
it "should work" do
|
1576
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1577
|
+
end
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
# unit tests for users_id_user_transactions_delete
|
1581
|
+
# Delete transactions
|
1582
|
+
#
|
1583
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1584
|
+
# @param [Hash] opts the optional parameters
|
1585
|
+
# @option opts [String] :expand
|
1586
|
+
# @return [Transaction]
|
1587
|
+
describe 'users_id_user_transactions_delete test' do
|
1588
|
+
it "should work" do
|
1589
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1590
|
+
end
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
# unit tests for users_id_user_transactions_get
|
1594
|
+
# Get transactions
|
1595
|
+
# Get list of transactions.<br><br>By default, it selects transactions for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
|
1596
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1597
|
+
# @param [Hash] opts the optional parameters
|
1598
|
+
# @option opts [Integer] :limit limit number of results
|
1599
|
+
# @option opts [Integer] :offset offset of first result
|
1600
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
1601
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
1602
|
+
# @option opts [BOOLEAN] :income filter on income or expenditures
|
1603
|
+
# @option opts [BOOLEAN] :deleted display only deleted transactions
|
1604
|
+
# @option opts [BOOLEAN] :all display all transactions, including deleted ones
|
1605
|
+
# @option opts [DateTime] :last_update get only transactions updated after the specified datetime
|
1606
|
+
# @option opts [String] :wording filter transactions containing the given string
|
1607
|
+
# @option opts [Float] :min_value minimal (inclusive) value
|
1608
|
+
# @option opts [Float] :max_value maximum (inclusive) value
|
1609
|
+
# @option opts [String] :search search in labels, dates, values and categories
|
1610
|
+
# @option opts [String] :value \"XX|-XX\" or \"±XX\"
|
1611
|
+
# @option opts [String] :expand
|
1612
|
+
# @return [InlineResponse20025]
|
1613
|
+
describe 'users_id_user_transactions_get test' do
|
1614
|
+
it "should work" do
|
1615
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1616
|
+
end
|
1617
|
+
end
|
1618
|
+
|
1619
|
+
# unit tests for users_id_user_transactions_id_transaction_informations_delete
|
1620
|
+
# Delete all arbitrary key-value pairs of a transaction
|
1621
|
+
#
|
1622
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1623
|
+
# @param id_transaction
|
1624
|
+
# @param [Hash] opts the optional parameters
|
1625
|
+
# @option opts [String] :expand
|
1626
|
+
# @return [TransactionInformation]
|
1627
|
+
describe 'users_id_user_transactions_id_transaction_informations_delete test' do
|
1628
|
+
it "should work" do
|
1629
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1630
|
+
end
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
# unit tests for users_id_user_transactions_id_transaction_informations_get
|
1634
|
+
# List all arbitrary key-value pairs on a transaction
|
1635
|
+
#
|
1636
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1637
|
+
# @param id_transaction
|
1638
|
+
# @param [Hash] opts the optional parameters
|
1639
|
+
# @option opts [String] :expand
|
1640
|
+
# @return [InlineResponse20027]
|
1641
|
+
describe 'users_id_user_transactions_id_transaction_informations_get test' do
|
1642
|
+
it "should work" do
|
1643
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1644
|
+
end
|
1645
|
+
end
|
1646
|
+
|
1647
|
+
# unit tests for users_id_user_transactions_id_transaction_informations_id_information_delete
|
1648
|
+
# Delete a particular key-value pair on a transaction.
|
1649
|
+
#
|
1650
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1651
|
+
# @param id_transaction
|
1652
|
+
# @param id_information
|
1653
|
+
# @param [Hash] opts the optional parameters
|
1654
|
+
# @option opts [String] :expand
|
1655
|
+
# @return [TransactionInformation]
|
1656
|
+
describe 'users_id_user_transactions_id_transaction_informations_id_information_delete test' do
|
1657
|
+
it "should work" do
|
1658
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1659
|
+
end
|
1660
|
+
end
|
1661
|
+
|
1662
|
+
# unit tests for users_id_user_transactions_id_transaction_informations_id_information_get
|
1663
|
+
# Get a particular arbitrary key-value pair on a transaction
|
1664
|
+
#
|
1665
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1666
|
+
# @param id_transaction
|
1667
|
+
# @param id_information
|
1668
|
+
# @param [Hash] opts the optional parameters
|
1669
|
+
# @option opts [String] :expand
|
1670
|
+
# @return [TransactionInformation]
|
1671
|
+
describe 'users_id_user_transactions_id_transaction_informations_id_information_get test' do
|
1672
|
+
it "should work" do
|
1673
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1674
|
+
end
|
1675
|
+
end
|
1676
|
+
|
1677
|
+
# unit tests for users_id_user_transactions_id_transaction_informations_put
|
1678
|
+
# Add or edit transaction arbitrary key-value pairs
|
1679
|
+
#
|
1680
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1681
|
+
# @param id_transaction
|
1682
|
+
# @param [Hash] opts the optional parameters
|
1683
|
+
# @option opts [String] :expand
|
1684
|
+
# @return [TransactionInformation]
|
1685
|
+
describe 'users_id_user_transactions_id_transaction_informations_put test' do
|
1686
|
+
it "should work" do
|
1687
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1688
|
+
end
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
# unit tests for users_id_user_transactions_id_transaction_put
|
1692
|
+
# Edit a transaction meta-data
|
1693
|
+
#
|
1694
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1695
|
+
# @param id_transaction
|
1696
|
+
# @param [Hash] opts the optional parameters
|
1697
|
+
# @option opts [String] :wording user rewording of the transaction
|
1698
|
+
# @option opts [Date] :application_date change application date of the transaction
|
1699
|
+
# @option opts [Integer] :id_category ID of the associated category
|
1700
|
+
# @option opts [String] :comment change comment
|
1701
|
+
# @option opts [BOOLEAN] :active if false, transaction isn't considered in analyzisis endpoints (like /balances)
|
1702
|
+
# @option opts [String] :expand
|
1703
|
+
# @return [Transaction]
|
1704
|
+
describe 'users_id_user_transactions_id_transaction_put test' do
|
1705
|
+
it "should work" do
|
1706
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1707
|
+
end
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
# unit tests for users_id_user_transactions_post
|
1711
|
+
# Create transactions
|
1712
|
+
# Create transactions for the supplied account or the account whose id is given with form parameters. It requires an array of transaction dictionaries.<br><br><br><br>
|
1713
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1714
|
+
# @param original_wording label of the transaction
|
1715
|
+
# @param value vallue of the transaction
|
1716
|
+
# @param date date of the transaction
|
1717
|
+
# @param [Hash] opts the optional parameters
|
1718
|
+
# @option opts [String] :type type of the transaction (default: unknown)
|
1719
|
+
# @option opts [String] :state nature of the transaction (default: new)
|
1720
|
+
# @option opts [Date] :rdate realisation date of the transaction (default: value of date)
|
1721
|
+
# @option opts [BOOLEAN] :coming 1 if the transaction has already been debited (default: 0)
|
1722
|
+
# @option opts [BOOLEAN] :active 1 if the transaction should be taken into account by pfm services (default: 1)
|
1723
|
+
# @option opts [DateTime] :date_scraped date on which the transaction has been found for the first time. YYYY-MM-DD HH:MM:SS(default: now)
|
1724
|
+
# @option opts [Integer] :id_account account of the transaction. If not supplied, it has to be given in the route
|
1725
|
+
# @option opts [String] :expand
|
1726
|
+
# @return [Transaction]
|
1727
|
+
describe 'users_id_user_transactions_post test' do
|
1728
|
+
it "should work" do
|
1729
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1730
|
+
end
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
# unit tests for users_id_user_transactionsclusters_get
|
1734
|
+
# Get clustered transactions
|
1735
|
+
#
|
1736
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1737
|
+
# @param [Hash] opts the optional parameters
|
1738
|
+
# @option opts [String] :expand
|
1739
|
+
# @return [InlineResponse20028]
|
1740
|
+
describe 'users_id_user_transactionsclusters_get test' do
|
1741
|
+
it "should work" do
|
1742
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1743
|
+
end
|
1744
|
+
end
|
1745
|
+
|
1746
|
+
# unit tests for users_id_user_transactionsclusters_id_transactionscluster_delete
|
1747
|
+
# Delete a clustered transaction
|
1748
|
+
#
|
1749
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1750
|
+
# @param id_transactionscluster
|
1751
|
+
# @param [Hash] opts the optional parameters
|
1752
|
+
# @option opts [String] :expand
|
1753
|
+
# @return [TransactionsCluster]
|
1754
|
+
describe 'users_id_user_transactionsclusters_id_transactionscluster_delete test' do
|
1755
|
+
it "should work" do
|
1756
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1757
|
+
end
|
1758
|
+
end
|
1759
|
+
|
1760
|
+
# unit tests for users_id_user_transactionsclusters_id_transactionscluster_put
|
1761
|
+
# Edit a clustered transaction
|
1762
|
+
# Form params : - next_date (date): Date of transaction - mean_amount (decimal): Mean Amount - wording (string): name of transaction - id_account (id): related account - id_category (id): related category - enabled (bool): is enabled<br><br>
|
1763
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1764
|
+
# @param id_transactionscluster
|
1765
|
+
# @param [Hash] opts the optional parameters
|
1766
|
+
# @option opts [String] :expand
|
1767
|
+
# @return [TransactionsCluster]
|
1768
|
+
describe 'users_id_user_transactionsclusters_id_transactionscluster_put test' do
|
1769
|
+
it "should work" do
|
1770
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1771
|
+
end
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
# unit tests for users_id_user_transactionsclusters_post
|
1775
|
+
# Create clustered transaction
|
1776
|
+
# Form params : - next_date (date) required: Date of transaction - mean_amount (decimal) required: Mean Amount - wording (string) required: name of transaction - id_account (id) required: related account<br><br>
|
1777
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1778
|
+
# @param [Hash] opts the optional parameters
|
1779
|
+
# @option opts [String] :expand
|
1780
|
+
# @return [TransactionsCluster]
|
1781
|
+
describe 'users_id_user_transactionsclusters_post test' do
|
1782
|
+
it "should work" do
|
1783
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1784
|
+
end
|
1785
|
+
end
|
1786
|
+
|
1787
|
+
end
|