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
@@ -0,0 +1,2029 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require 'json'
|
5
|
+
|
6
|
+
# Unit tests for BudgeaClient::ProvidersApi
|
7
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
8
|
+
# Please update as you see appropriate
|
9
|
+
describe 'ProvidersApi' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = BudgeaClient::ProvidersApi.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of ProvidersApi' do
|
20
|
+
it 'should create an instance of ProvidersApi' do
|
21
|
+
expect(@instance).to be_instance_of(BudgeaClient::ProvidersApi)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
# unit tests for banks_get
|
26
|
+
# Get list of connectors
|
27
|
+
#
|
28
|
+
# @param [Hash] opts the optional parameters
|
29
|
+
# @option opts [String] :expand
|
30
|
+
# @return [InlineResponse2007]
|
31
|
+
describe 'banks_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 banks_id_bank_logos_get
|
38
|
+
# Get all links to the files associated with this bank.
|
39
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
40
|
+
# @param id_bank
|
41
|
+
# @param [Hash] opts the optional parameters
|
42
|
+
# @option opts [String] :expand
|
43
|
+
# @return [InlineResponse2009]
|
44
|
+
describe 'banks_id_bank_logos_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_id_bank_logos_main_get
|
51
|
+
# Get all links to the files associated with this bank.
|
52
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
53
|
+
# @param id_bank
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [String] :expand
|
56
|
+
# @return [InlineResponse2009]
|
57
|
+
describe 'banks_id_bank_logos_main_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 banks_id_bank_logos_thumbnail_get
|
64
|
+
# Get all links to the files associated with this bank.
|
65
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
66
|
+
# @param id_bank
|
67
|
+
# @param [Hash] opts the optional parameters
|
68
|
+
# @option opts [String] :expand
|
69
|
+
# @return [InlineResponse2009]
|
70
|
+
describe 'banks_id_bank_logos_thumbnail_get 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 connections_get
|
77
|
+
# Get connections without a user
|
78
|
+
#
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @option opts [String] :expand
|
81
|
+
# @return [InlineResponse2008]
|
82
|
+
describe 'connections_get test' do
|
83
|
+
it "should work" do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# unit tests for connectors_get
|
89
|
+
# Get list of connectors
|
90
|
+
#
|
91
|
+
# @param [Hash] opts the optional parameters
|
92
|
+
# @option opts [String] :expand
|
93
|
+
# @return [InlineResponse20012]
|
94
|
+
describe 'connectors_get 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 connectors_id_bank_logos_get
|
101
|
+
# Get all links to the files associated with this bank.
|
102
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
103
|
+
# @param id_bank
|
104
|
+
# @param [Hash] opts the optional parameters
|
105
|
+
# @option opts [String] :expand
|
106
|
+
# @return [InlineResponse2009]
|
107
|
+
describe 'connectors_id_bank_logos_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 connectors_id_bank_logos_id_logo_delete
|
114
|
+
# Delete a single Logo object.
|
115
|
+
#
|
116
|
+
# @param id_bank
|
117
|
+
# @param id_logo
|
118
|
+
# @param [Hash] opts the optional parameters
|
119
|
+
# @option opts [String] :expand
|
120
|
+
# @return [ConnectorLogo]
|
121
|
+
describe 'connectors_id_bank_logos_id_logo_delete test' do
|
122
|
+
it "should work" do
|
123
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# unit tests for connectors_id_bank_logos_id_logo_put
|
128
|
+
# Create or Update a Bank Logo.
|
129
|
+
# 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>
|
130
|
+
# @param id_bank
|
131
|
+
# @param id_logo
|
132
|
+
# @param [Hash] opts the optional parameters
|
133
|
+
# @option opts [String] :expand
|
134
|
+
# @return [ConnectorLogo]
|
135
|
+
describe 'connectors_id_bank_logos_id_logo_put test' do
|
136
|
+
it "should work" do
|
137
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# unit tests for connectors_id_bank_logos_main_get
|
142
|
+
# Get all links to the files associated with this bank.
|
143
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
144
|
+
# @param id_bank
|
145
|
+
# @param [Hash] opts the optional parameters
|
146
|
+
# @option opts [String] :expand
|
147
|
+
# @return [InlineResponse2009]
|
148
|
+
describe 'connectors_id_bank_logos_main_get test' do
|
149
|
+
it "should work" do
|
150
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# unit tests for connectors_id_bank_logos_post
|
155
|
+
# Create a Bank Logo
|
156
|
+
# 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>
|
157
|
+
# @param id_bank
|
158
|
+
# @param [Hash] opts the optional parameters
|
159
|
+
# @option opts [String] :expand
|
160
|
+
# @return [ConnectorLogo]
|
161
|
+
describe 'connectors_id_bank_logos_post test' do
|
162
|
+
it "should work" do
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# unit tests for connectors_id_bank_logos_put
|
168
|
+
# Create or Update a Bank Logo
|
169
|
+
# 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>
|
170
|
+
# @param id_bank
|
171
|
+
# @param [Hash] opts the optional parameters
|
172
|
+
# @option opts [String] :expand
|
173
|
+
# @return [ConnectorLogo]
|
174
|
+
describe 'connectors_id_bank_logos_put test' do
|
175
|
+
it "should work" do
|
176
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# unit tests for connectors_id_bank_logos_thumbnail_get
|
181
|
+
# Get all links to the files associated with this bank.
|
182
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
183
|
+
# @param id_bank
|
184
|
+
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [String] :expand
|
186
|
+
# @return [InlineResponse2009]
|
187
|
+
describe 'connectors_id_bank_logos_thumbnail_get 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 connectors_post
|
194
|
+
# Request a new connector
|
195
|
+
# Send a request to add a new connector<br><br>
|
196
|
+
# @param name Name of the bank or provider
|
197
|
+
# @param login Users login
|
198
|
+
# @param password Users password
|
199
|
+
# @param [Hash] opts the optional parameters
|
200
|
+
# @option opts [String] :api Name of the API
|
201
|
+
# @option opts [String] :url Url of the bank
|
202
|
+
# @option opts [String] :email Email of the user
|
203
|
+
# @option opts [String] :types Type of connector, eg. banks or providers
|
204
|
+
# @option opts [String] :comment Optionnal comment
|
205
|
+
# @option opts [BOOLEAN] :sendmail if set, send an email to user
|
206
|
+
# @option opts [String] :expand
|
207
|
+
# @return [Bank]
|
208
|
+
describe 'connectors_post test' do
|
209
|
+
it "should work" do
|
210
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
# unit tests for documenttypes_get
|
215
|
+
# Get document types
|
216
|
+
#
|
217
|
+
# @param [Hash] opts the optional parameters
|
218
|
+
# @option opts [String] :expand
|
219
|
+
# @return [InlineResponse20013]
|
220
|
+
describe 'documenttypes_get test' do
|
221
|
+
it "should work" do
|
222
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
# unit tests for documenttypes_id_documenttype_put
|
227
|
+
# Edit a document type
|
228
|
+
# Change value of a document type.<br><br>
|
229
|
+
# @param id_documenttype
|
230
|
+
# @param name Displayed name of document type
|
231
|
+
# @param attacheable If true, documents of this type can be attached to a transaction, and have amount related meta-data
|
232
|
+
# @param [Hash] opts the optional parameters
|
233
|
+
# @option opts [String] :expand
|
234
|
+
# @return [DocumentType]
|
235
|
+
describe 'documenttypes_id_documenttype_put test' do
|
236
|
+
it "should work" do
|
237
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
# unit tests for logs_get
|
242
|
+
# Get connection logs
|
243
|
+
# Get logs about connections.<br><br>
|
244
|
+
# @param [Hash] opts the optional parameters
|
245
|
+
# @option opts [Integer] :limit limit number of results
|
246
|
+
# @option opts [Integer] :offset offset of first result
|
247
|
+
# @option opts [Date] :min_date minimal date
|
248
|
+
# @option opts [Date] :max_date maximum date
|
249
|
+
# @option opts [Integer] :state state of user
|
250
|
+
# @option opts [String] :period period to group logs
|
251
|
+
# @option opts [Integer] :id_user ID of a user
|
252
|
+
# @option opts [Integer] :id_connection ID of a connection
|
253
|
+
# @option opts [Integer] :id_bank ID of a bank
|
254
|
+
# @option opts [BOOLEAN] :charged consider only logs for charged banks
|
255
|
+
# @option opts [String] :expand
|
256
|
+
# @return [InlineResponse20015]
|
257
|
+
describe 'logs_get test' do
|
258
|
+
it "should work" do
|
259
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
# unit tests for ocr_post
|
264
|
+
# Post an image with OCR
|
265
|
+
# Post an image and apply OCR on it to obtain found meta-data.<br><br>
|
266
|
+
# @param file File of the document
|
267
|
+
# @param [Hash] opts the optional parameters
|
268
|
+
# @option opts [Integer] :id_transaction Transaction used to help OCR to find data
|
269
|
+
# @option opts [String] :name Name of the document
|
270
|
+
# @return [nil]
|
271
|
+
describe 'ocr_post test' do
|
272
|
+
it "should work" do
|
273
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
# unit tests for providers_get
|
278
|
+
# Get list of connectors
|
279
|
+
#
|
280
|
+
# @param [Hash] opts the optional parameters
|
281
|
+
# @option opts [String] :expand
|
282
|
+
# @return [InlineResponse2007]
|
283
|
+
describe 'providers_get test' do
|
284
|
+
it "should work" do
|
285
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
# unit tests for providers_id_bank_logos_get
|
290
|
+
# Get all links to the files associated with this bank.
|
291
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
292
|
+
# @param id_bank
|
293
|
+
# @param [Hash] opts the optional parameters
|
294
|
+
# @option opts [String] :expand
|
295
|
+
# @return [InlineResponse2009]
|
296
|
+
describe 'providers_id_bank_logos_get test' do
|
297
|
+
it "should work" do
|
298
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
302
|
+
# unit tests for providers_id_bank_logos_main_get
|
303
|
+
# Get all links to the files associated with this bank.
|
304
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
305
|
+
# @param id_bank
|
306
|
+
# @param [Hash] opts the optional parameters
|
307
|
+
# @option opts [String] :expand
|
308
|
+
# @return [InlineResponse2009]
|
309
|
+
describe 'providers_id_bank_logos_main_get 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 providers_id_bank_logos_thumbnail_get
|
316
|
+
# Get all links to the files associated with this bank.
|
317
|
+
# This endpoint returns all links to files associated with this bank.<br><br>
|
318
|
+
# @param id_bank
|
319
|
+
# @param [Hash] opts the optional parameters
|
320
|
+
# @option opts [String] :expand
|
321
|
+
# @return [InlineResponse2009]
|
322
|
+
describe 'providers_id_bank_logos_thumbnail_get test' do
|
323
|
+
it "should work" do
|
324
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
325
|
+
end
|
326
|
+
end
|
327
|
+
|
328
|
+
# unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_delete
|
329
|
+
# Delete documents
|
330
|
+
#
|
331
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
332
|
+
# @param id_account
|
333
|
+
# @param id_transaction
|
334
|
+
# @param [Hash] opts the optional parameters
|
335
|
+
# @option opts [String] :expand
|
336
|
+
# @return [Document]
|
337
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_delete test' do
|
338
|
+
it "should work" do
|
339
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
343
|
+
# unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_get
|
344
|
+
# Get documents
|
345
|
+
# Get list of documents<br><br>
|
346
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
347
|
+
# @param id_account
|
348
|
+
# @param id_transaction
|
349
|
+
# @param [Hash] opts the optional parameters
|
350
|
+
# @option opts [Integer] :limit limit number of results
|
351
|
+
# @option opts [Integer] :offset offset of first result
|
352
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
353
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
354
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
355
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
356
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
357
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
358
|
+
# @option opts [Integer] :id_type filter with a document type
|
359
|
+
# @option opts [String] :expand
|
360
|
+
# @return [InlineResponse20026]
|
361
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_get test' do
|
362
|
+
it "should work" do
|
363
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
367
|
+
# unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_delete
|
368
|
+
# Delete a document
|
369
|
+
#
|
370
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
371
|
+
# @param id_account
|
372
|
+
# @param id_transaction
|
373
|
+
# @param id_document
|
374
|
+
# @param [Hash] opts the optional parameters
|
375
|
+
# @option opts [String] :expand
|
376
|
+
# @return [Document]
|
377
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_delete test' do
|
378
|
+
it "should work" do
|
379
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
# unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_put
|
384
|
+
# Edit a document
|
385
|
+
# Edit meta-data of a specific document.
|
386
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
387
|
+
# @param id_account
|
388
|
+
# @param id_transaction
|
389
|
+
# @param id_document
|
390
|
+
# @param [Hash] opts the optional parameters
|
391
|
+
# @option opts [Integer] :id_type Type of this document
|
392
|
+
# @option opts [Integer] :id_category Related category
|
393
|
+
# @option opts [Date] :date Date of document
|
394
|
+
# @option opts [Date] :duedate Due date of document
|
395
|
+
# @option opts [Float] :total_amount Taxed amount
|
396
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
397
|
+
# @option opts [Float] :vat VAT amount
|
398
|
+
# @option opts [Integer] :income Is an income or an outcome
|
399
|
+
# @option opts [Integer] :readonly Is this file readonly
|
400
|
+
# @option opts [File] :file File of the document
|
401
|
+
# @option opts [String] :name Name of the document
|
402
|
+
# @option opts [String] :expand
|
403
|
+
# @return [Document]
|
404
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_put test' do
|
405
|
+
it "should work" do
|
406
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
# unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_post
|
411
|
+
# Add a new document
|
412
|
+
# Add a new document<br><br>
|
413
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
414
|
+
# @param id_account
|
415
|
+
# @param id_transaction
|
416
|
+
# @param date Date of document
|
417
|
+
# @param duedate Due date of document
|
418
|
+
# @param [Hash] opts the optional parameters
|
419
|
+
# @option opts [Integer] :id_type Type of this document
|
420
|
+
# @option opts [Integer] :id_category Related category
|
421
|
+
# @option opts [Float] :total_amount Taxed amount
|
422
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
423
|
+
# @option opts [Float] :vat VAT amount
|
424
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
425
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
426
|
+
# @option opts [File] :file File of the document
|
427
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
428
|
+
# @option opts [String] :name Name of the document
|
429
|
+
# @option opts [String] :expand
|
430
|
+
# @return [Document]
|
431
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_post 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_accounts_id_account_transactions_id_transaction_documents_put
|
438
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
439
|
+
#
|
440
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
441
|
+
# @param id_account
|
442
|
+
# @param id_transaction
|
443
|
+
# @param id_document id of the document you want to attach the file to
|
444
|
+
# @param [Hash] opts the optional parameters
|
445
|
+
# @option opts [String] :expand
|
446
|
+
# @return [Document]
|
447
|
+
describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_put test' do
|
448
|
+
it "should work" do
|
449
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
# unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_delete
|
454
|
+
# Delete documents
|
455
|
+
#
|
456
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
457
|
+
# @param id_account
|
458
|
+
# @param id_transactions_cluster
|
459
|
+
# @param [Hash] opts the optional parameters
|
460
|
+
# @option opts [String] :expand
|
461
|
+
# @return [Document]
|
462
|
+
describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_delete test' do
|
463
|
+
it "should work" do
|
464
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
# unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get
|
469
|
+
# Get documents
|
470
|
+
# Get list of documents<br><br>
|
471
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
472
|
+
# @param id_account
|
473
|
+
# @param id_transactions_cluster
|
474
|
+
# @param [Hash] opts the optional parameters
|
475
|
+
# @option opts [Integer] :limit limit number of results
|
476
|
+
# @option opts [Integer] :offset offset of first result
|
477
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
478
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
479
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
480
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
481
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
482
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
483
|
+
# @option opts [Integer] :id_type filter with a document type
|
484
|
+
# @option opts [String] :expand
|
485
|
+
# @return [InlineResponse20026]
|
486
|
+
describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get test' do
|
487
|
+
it "should work" do
|
488
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
# unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_delete
|
493
|
+
# Delete a document
|
494
|
+
#
|
495
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
496
|
+
# @param id_account
|
497
|
+
# @param id_transactions_cluster
|
498
|
+
# @param id_document
|
499
|
+
# @param [Hash] opts the optional parameters
|
500
|
+
# @option opts [String] :expand
|
501
|
+
# @return [Document]
|
502
|
+
describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_delete test' do
|
503
|
+
it "should work" do
|
504
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
# unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_put
|
509
|
+
# Edit a document
|
510
|
+
# Edit meta-data of a specific document.
|
511
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
512
|
+
# @param id_account
|
513
|
+
# @param id_transactions_cluster
|
514
|
+
# @param id_document
|
515
|
+
# @param [Hash] opts the optional parameters
|
516
|
+
# @option opts [Integer] :id_type Type of this document
|
517
|
+
# @option opts [Integer] :id_category Related category
|
518
|
+
# @option opts [Date] :date Date of document
|
519
|
+
# @option opts [Date] :duedate Due date of document
|
520
|
+
# @option opts [Float] :total_amount Taxed amount
|
521
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
522
|
+
# @option opts [Float] :vat VAT amount
|
523
|
+
# @option opts [Integer] :income Is an income or an outcome
|
524
|
+
# @option opts [Integer] :readonly Is this file readonly
|
525
|
+
# @option opts [File] :file File of the document
|
526
|
+
# @option opts [String] :name Name of the document
|
527
|
+
# @option opts [String] :expand
|
528
|
+
# @return [Document]
|
529
|
+
describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_put test' do
|
530
|
+
it "should work" do
|
531
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
# unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_post
|
536
|
+
# Add a new document
|
537
|
+
# Add a new document<br><br>
|
538
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
539
|
+
# @param id_account
|
540
|
+
# @param id_transactions_cluster
|
541
|
+
# @param date Date of document
|
542
|
+
# @param duedate Due date of document
|
543
|
+
# @param [Hash] opts the optional parameters
|
544
|
+
# @option opts [Integer] :id_type Type of this document
|
545
|
+
# @option opts [Integer] :id_category Related category
|
546
|
+
# @option opts [Float] :total_amount Taxed amount
|
547
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
548
|
+
# @option opts [Float] :vat VAT amount
|
549
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
550
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
551
|
+
# @option opts [File] :file File of the document
|
552
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
553
|
+
# @option opts [String] :name Name of the document
|
554
|
+
# @option opts [String] :expand
|
555
|
+
# @return [Document]
|
556
|
+
describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_post test' do
|
557
|
+
it "should work" do
|
558
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
# unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_put
|
563
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
564
|
+
#
|
565
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
566
|
+
# @param id_account
|
567
|
+
# @param id_transactions_cluster
|
568
|
+
# @param id_document id of the document you want to attach the file to
|
569
|
+
# @param [Hash] opts the optional parameters
|
570
|
+
# @option opts [String] :expand
|
571
|
+
# @return [Document]
|
572
|
+
describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_put test' do
|
573
|
+
it "should work" do
|
574
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
575
|
+
end
|
576
|
+
end
|
577
|
+
|
578
|
+
# unit tests for users_id_user_connections_delete
|
579
|
+
# Delete all connections
|
580
|
+
#
|
581
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
582
|
+
# @param [Hash] opts the optional parameters
|
583
|
+
# @option opts [String] :expand
|
584
|
+
# @return [Connection]
|
585
|
+
describe 'users_id_user_connections_delete test' do
|
586
|
+
it "should work" do
|
587
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
# unit tests for users_id_user_connections_get
|
592
|
+
# Get connections
|
593
|
+
#
|
594
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
595
|
+
# @param [Hash] opts the optional parameters
|
596
|
+
# @option opts [String] :expand
|
597
|
+
# @return [InlineResponse2008]
|
598
|
+
describe 'users_id_user_connections_get test' do
|
599
|
+
it "should work" do
|
600
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
604
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_delete
|
605
|
+
# Delete documents
|
606
|
+
#
|
607
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
608
|
+
# @param id_connection
|
609
|
+
# @param id_account
|
610
|
+
# @param id_transaction
|
611
|
+
# @param [Hash] opts the optional parameters
|
612
|
+
# @option opts [String] :expand
|
613
|
+
# @return [Document]
|
614
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_delete test' do
|
615
|
+
it "should work" do
|
616
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
620
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get
|
621
|
+
# Get documents
|
622
|
+
# Get list of documents<br><br>
|
623
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
624
|
+
# @param id_connection
|
625
|
+
# @param id_account
|
626
|
+
# @param id_transaction
|
627
|
+
# @param [Hash] opts the optional parameters
|
628
|
+
# @option opts [Integer] :limit limit number of results
|
629
|
+
# @option opts [Integer] :offset offset of first result
|
630
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
631
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
632
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
633
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
634
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
635
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
636
|
+
# @option opts [Integer] :id_type filter with a document type
|
637
|
+
# @option opts [String] :expand
|
638
|
+
# @return [InlineResponse20026]
|
639
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get 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_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_id_document_delete
|
646
|
+
# Delete a document
|
647
|
+
#
|
648
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
649
|
+
# @param id_connection
|
650
|
+
# @param id_account
|
651
|
+
# @param id_transaction
|
652
|
+
# @param id_document
|
653
|
+
# @param [Hash] opts the optional parameters
|
654
|
+
# @option opts [String] :expand
|
655
|
+
# @return [Document]
|
656
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_id_document_delete test' do
|
657
|
+
it "should work" do
|
658
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
662
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_id_document_put
|
663
|
+
# Edit a document
|
664
|
+
# Edit meta-data of a specific document.
|
665
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
666
|
+
# @param id_connection
|
667
|
+
# @param id_account
|
668
|
+
# @param id_transaction
|
669
|
+
# @param id_document
|
670
|
+
# @param [Hash] opts the optional parameters
|
671
|
+
# @option opts [Integer] :id_type Type of this document
|
672
|
+
# @option opts [Integer] :id_category Related category
|
673
|
+
# @option opts [Date] :date Date of document
|
674
|
+
# @option opts [Date] :duedate Due date of document
|
675
|
+
# @option opts [Float] :total_amount Taxed amount
|
676
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
677
|
+
# @option opts [Float] :vat VAT amount
|
678
|
+
# @option opts [Integer] :income Is an income or an outcome
|
679
|
+
# @option opts [Integer] :readonly Is this file readonly
|
680
|
+
# @option opts [File] :file File of the document
|
681
|
+
# @option opts [String] :name Name of the document
|
682
|
+
# @option opts [String] :expand
|
683
|
+
# @return [Document]
|
684
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_id_document_put test' do
|
685
|
+
it "should work" do
|
686
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
690
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_post
|
691
|
+
# Add a new document
|
692
|
+
# Add a new document<br><br>
|
693
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
694
|
+
# @param id_connection
|
695
|
+
# @param id_account
|
696
|
+
# @param id_transaction
|
697
|
+
# @param date Date of document
|
698
|
+
# @param duedate Due date of document
|
699
|
+
# @param [Hash] opts the optional parameters
|
700
|
+
# @option opts [Integer] :id_type Type of this document
|
701
|
+
# @option opts [Integer] :id_category Related category
|
702
|
+
# @option opts [Float] :total_amount Taxed amount
|
703
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
704
|
+
# @option opts [Float] :vat VAT amount
|
705
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
706
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
707
|
+
# @option opts [File] :file File of the document
|
708
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
709
|
+
# @option opts [String] :name Name of the document
|
710
|
+
# @option opts [String] :expand
|
711
|
+
# @return [Document]
|
712
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_post test' do
|
713
|
+
it "should work" do
|
714
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
718
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_put
|
719
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
720
|
+
#
|
721
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
722
|
+
# @param id_connection
|
723
|
+
# @param id_account
|
724
|
+
# @param id_transaction
|
725
|
+
# @param id_document id of the document you want to attach the file to
|
726
|
+
# @param [Hash] opts the optional parameters
|
727
|
+
# @option opts [String] :expand
|
728
|
+
# @return [Document]
|
729
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_put test' do
|
730
|
+
it "should work" do
|
731
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
732
|
+
end
|
733
|
+
end
|
734
|
+
|
735
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_delete
|
736
|
+
# Delete documents
|
737
|
+
#
|
738
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
739
|
+
# @param id_connection
|
740
|
+
# @param id_account
|
741
|
+
# @param id_transactions_cluster
|
742
|
+
# @param [Hash] opts the optional parameters
|
743
|
+
# @option opts [String] :expand
|
744
|
+
# @return [Document]
|
745
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_delete test' do
|
746
|
+
it "should work" do
|
747
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
748
|
+
end
|
749
|
+
end
|
750
|
+
|
751
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get
|
752
|
+
# Get documents
|
753
|
+
# Get list of documents<br><br>
|
754
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
755
|
+
# @param id_connection
|
756
|
+
# @param id_account
|
757
|
+
# @param id_transactions_cluster
|
758
|
+
# @param [Hash] opts the optional parameters
|
759
|
+
# @option opts [Integer] :limit limit number of results
|
760
|
+
# @option opts [Integer] :offset offset of first result
|
761
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
762
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
763
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
764
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
765
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
766
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
767
|
+
# @option opts [Integer] :id_type filter with a document type
|
768
|
+
# @option opts [String] :expand
|
769
|
+
# @return [InlineResponse20026]
|
770
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get test' do
|
771
|
+
it "should work" do
|
772
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
776
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_delete
|
777
|
+
# Delete a document
|
778
|
+
#
|
779
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
780
|
+
# @param id_connection
|
781
|
+
# @param id_account
|
782
|
+
# @param id_transactions_cluster
|
783
|
+
# @param id_document
|
784
|
+
# @param [Hash] opts the optional parameters
|
785
|
+
# @option opts [String] :expand
|
786
|
+
# @return [Document]
|
787
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_delete test' do
|
788
|
+
it "should work" do
|
789
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
790
|
+
end
|
791
|
+
end
|
792
|
+
|
793
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_put
|
794
|
+
# Edit a document
|
795
|
+
# Edit meta-data of a specific document.
|
796
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
797
|
+
# @param id_connection
|
798
|
+
# @param id_account
|
799
|
+
# @param id_transactions_cluster
|
800
|
+
# @param id_document
|
801
|
+
# @param [Hash] opts the optional parameters
|
802
|
+
# @option opts [Integer] :id_type Type of this document
|
803
|
+
# @option opts [Integer] :id_category Related category
|
804
|
+
# @option opts [Date] :date Date of document
|
805
|
+
# @option opts [Date] :duedate Due date of document
|
806
|
+
# @option opts [Float] :total_amount Taxed amount
|
807
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
808
|
+
# @option opts [Float] :vat VAT amount
|
809
|
+
# @option opts [Integer] :income Is an income or an outcome
|
810
|
+
# @option opts [Integer] :readonly Is this file readonly
|
811
|
+
# @option opts [File] :file File of the document
|
812
|
+
# @option opts [String] :name Name of the document
|
813
|
+
# @option opts [String] :expand
|
814
|
+
# @return [Document]
|
815
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_put test' do
|
816
|
+
it "should work" do
|
817
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
818
|
+
end
|
819
|
+
end
|
820
|
+
|
821
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_post
|
822
|
+
# Add a new document
|
823
|
+
# Add a new document<br><br>
|
824
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
825
|
+
# @param id_connection
|
826
|
+
# @param id_account
|
827
|
+
# @param id_transactions_cluster
|
828
|
+
# @param date Date of document
|
829
|
+
# @param duedate Due date of document
|
830
|
+
# @param [Hash] opts the optional parameters
|
831
|
+
# @option opts [Integer] :id_type Type of this document
|
832
|
+
# @option opts [Integer] :id_category Related category
|
833
|
+
# @option opts [Float] :total_amount Taxed amount
|
834
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
835
|
+
# @option opts [Float] :vat VAT amount
|
836
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
837
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
838
|
+
# @option opts [File] :file File of the document
|
839
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
840
|
+
# @option opts [String] :name Name of the document
|
841
|
+
# @option opts [String] :expand
|
842
|
+
# @return [Document]
|
843
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_post test' do
|
844
|
+
it "should work" do
|
845
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
846
|
+
end
|
847
|
+
end
|
848
|
+
|
849
|
+
# unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_put
|
850
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
851
|
+
#
|
852
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
853
|
+
# @param id_connection
|
854
|
+
# @param id_account
|
855
|
+
# @param id_transactions_cluster
|
856
|
+
# @param id_document id of the document you want to attach the file to
|
857
|
+
# @param [Hash] opts the optional parameters
|
858
|
+
# @option opts [String] :expand
|
859
|
+
# @return [Document]
|
860
|
+
describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_put test' do
|
861
|
+
it "should work" do
|
862
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
863
|
+
end
|
864
|
+
end
|
865
|
+
|
866
|
+
# unit tests for users_id_user_connections_id_connection_delete
|
867
|
+
# Delete a connection.
|
868
|
+
# This endpoint deletes a connection and all related accounts and transactions.<br><br>
|
869
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
870
|
+
# @param id_connection
|
871
|
+
# @param [Hash] opts the optional parameters
|
872
|
+
# @option opts [String] :expand
|
873
|
+
# @return [Connection]
|
874
|
+
describe 'users_id_user_connections_id_connection_delete test' do
|
875
|
+
it "should work" do
|
876
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
# unit tests for users_id_user_connections_id_connection_documents_delete
|
881
|
+
# Delete documents
|
882
|
+
#
|
883
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
884
|
+
# @param id_connection
|
885
|
+
# @param [Hash] opts the optional parameters
|
886
|
+
# @option opts [String] :expand
|
887
|
+
# @return [Document]
|
888
|
+
describe 'users_id_user_connections_id_connection_documents_delete test' do
|
889
|
+
it "should work" do
|
890
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
891
|
+
end
|
892
|
+
end
|
893
|
+
|
894
|
+
# unit tests for users_id_user_connections_id_connection_documents_get
|
895
|
+
# Get documents
|
896
|
+
# Get list of documents<br><br>
|
897
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
898
|
+
# @param id_connection
|
899
|
+
# @param [Hash] opts the optional parameters
|
900
|
+
# @option opts [Integer] :limit limit number of results
|
901
|
+
# @option opts [Integer] :offset offset of first result
|
902
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
903
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
904
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
905
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
906
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
907
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
908
|
+
# @option opts [Integer] :id_type filter with a document type
|
909
|
+
# @option opts [String] :expand
|
910
|
+
# @return [InlineResponse20026]
|
911
|
+
describe 'users_id_user_connections_id_connection_documents_get 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_documents_id_document_delete
|
918
|
+
# Delete a document
|
919
|
+
#
|
920
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
921
|
+
# @param id_connection
|
922
|
+
# @param id_document
|
923
|
+
# @param [Hash] opts the optional parameters
|
924
|
+
# @option opts [String] :expand
|
925
|
+
# @return [Document]
|
926
|
+
describe 'users_id_user_connections_id_connection_documents_id_document_delete test' do
|
927
|
+
it "should work" do
|
928
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
929
|
+
end
|
930
|
+
end
|
931
|
+
|
932
|
+
# unit tests for users_id_user_connections_id_connection_documents_id_document_put
|
933
|
+
# Edit a document
|
934
|
+
# Edit meta-data of a specific document.
|
935
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
936
|
+
# @param id_connection
|
937
|
+
# @param id_document
|
938
|
+
# @param [Hash] opts the optional parameters
|
939
|
+
# @option opts [Integer] :id_type Type of this document
|
940
|
+
# @option opts [Integer] :id_category Related category
|
941
|
+
# @option opts [Date] :date Date of document
|
942
|
+
# @option opts [Date] :duedate Due date of document
|
943
|
+
# @option opts [Float] :total_amount Taxed amount
|
944
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
945
|
+
# @option opts [Float] :vat VAT amount
|
946
|
+
# @option opts [Integer] :income Is an income or an outcome
|
947
|
+
# @option opts [Integer] :readonly Is this file readonly
|
948
|
+
# @option opts [File] :file File of the document
|
949
|
+
# @option opts [String] :name Name of the document
|
950
|
+
# @option opts [String] :expand
|
951
|
+
# @return [Document]
|
952
|
+
describe 'users_id_user_connections_id_connection_documents_id_document_put test' do
|
953
|
+
it "should work" do
|
954
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
955
|
+
end
|
956
|
+
end
|
957
|
+
|
958
|
+
# unit tests for users_id_user_connections_id_connection_documents_post
|
959
|
+
# Add a new document
|
960
|
+
# Add a new document<br><br>
|
961
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
962
|
+
# @param id_connection
|
963
|
+
# @param date Date of document
|
964
|
+
# @param duedate Due date of document
|
965
|
+
# @param [Hash] opts the optional parameters
|
966
|
+
# @option opts [Integer] :id_type Type of this document
|
967
|
+
# @option opts [Integer] :id_category Related category
|
968
|
+
# @option opts [Float] :total_amount Taxed amount
|
969
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
970
|
+
# @option opts [Float] :vat VAT amount
|
971
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
972
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
973
|
+
# @option opts [File] :file File of the document
|
974
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
975
|
+
# @option opts [String] :name Name of the document
|
976
|
+
# @option opts [String] :expand
|
977
|
+
# @return [Document]
|
978
|
+
describe 'users_id_user_connections_id_connection_documents_post test' do
|
979
|
+
it "should work" do
|
980
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
981
|
+
end
|
982
|
+
end
|
983
|
+
|
984
|
+
# unit tests for users_id_user_connections_id_connection_documents_put
|
985
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
986
|
+
#
|
987
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
988
|
+
# @param id_connection
|
989
|
+
# @param id_document id of the document you want to attach the file to
|
990
|
+
# @param [Hash] opts the optional parameters
|
991
|
+
# @option opts [String] :expand
|
992
|
+
# @return [Document]
|
993
|
+
describe 'users_id_user_connections_id_connection_documents_put test' do
|
994
|
+
it "should work" do
|
995
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
996
|
+
end
|
997
|
+
end
|
998
|
+
|
999
|
+
# unit tests for users_id_user_connections_id_connection_informations_get
|
1000
|
+
# Get connection additionnal informations
|
1001
|
+
# <br><br>
|
1002
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1003
|
+
# @param id_connection
|
1004
|
+
# @param [Hash] opts the optional parameters
|
1005
|
+
# @option opts [String] :expand
|
1006
|
+
# @return [InlineResponse2008]
|
1007
|
+
describe 'users_id_user_connections_id_connection_informations_get test' do
|
1008
|
+
it "should work" do
|
1009
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1010
|
+
end
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
# unit tests for users_id_user_connections_id_connection_logs_get
|
1014
|
+
# Get connection logs
|
1015
|
+
# Get logs about connections.<br><br>
|
1016
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1017
|
+
# @param id_connection
|
1018
|
+
# @param [Hash] opts the optional parameters
|
1019
|
+
# @option opts [Integer] :limit limit number of results
|
1020
|
+
# @option opts [Integer] :offset offset of first result
|
1021
|
+
# @option opts [Date] :min_date minimal date
|
1022
|
+
# @option opts [Date] :max_date maximum date
|
1023
|
+
# @option opts [Integer] :state state of user
|
1024
|
+
# @option opts [String] :period period to group logs
|
1025
|
+
# @option opts [Integer] :id_user2 ID of a user
|
1026
|
+
# @option opts [Integer] :id_connection2 ID of a connection
|
1027
|
+
# @option opts [Integer] :id_bank ID of a bank
|
1028
|
+
# @option opts [BOOLEAN] :charged consider only logs for charged banks
|
1029
|
+
# @option opts [String] :expand
|
1030
|
+
# @return [InlineResponse20015]
|
1031
|
+
describe 'users_id_user_connections_id_connection_logs_get test' do
|
1032
|
+
it "should work" do
|
1033
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1034
|
+
end
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# unit tests for users_id_user_connections_id_connection_post
|
1038
|
+
# Update a connection.
|
1039
|
+
# 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>
|
1040
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1041
|
+
# @param id_connection
|
1042
|
+
# @param [Hash] opts the optional parameters
|
1043
|
+
# @option opts [BOOLEAN] :active Set if the connection synchronisation is active
|
1044
|
+
# @option opts [DateTime] :expire Set expiration of the connection to this date
|
1045
|
+
# @option opts [String] :login Set login to this new login
|
1046
|
+
# @option opts [String] :password Set password to this new password
|
1047
|
+
# @option opts [String] :expand
|
1048
|
+
# @return [Connection]
|
1049
|
+
describe 'users_id_user_connections_id_connection_post test' do
|
1050
|
+
it "should work" do
|
1051
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1052
|
+
end
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
# unit tests for users_id_user_connections_id_connection_put
|
1056
|
+
# Force synchronisation of a connection.
|
1057
|
+
# 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>
|
1058
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1059
|
+
# @param id_connection
|
1060
|
+
# @param [Hash] opts the optional parameters
|
1061
|
+
# @option opts [String] :expand
|
1062
|
+
# @return [Connection]
|
1063
|
+
describe 'users_id_user_connections_id_connection_put test' do
|
1064
|
+
it "should work" do
|
1065
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1066
|
+
end
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
# unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_delete
|
1070
|
+
# Delete a subscription.
|
1071
|
+
# It deletes a specific subscription If this is the last synced subscription of a connection, it will be removed too.<br><br>
|
1072
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1073
|
+
# @param id_connection
|
1074
|
+
# @param id_subscription
|
1075
|
+
# @param [Hash] opts the optional parameters
|
1076
|
+
# @option opts [String] :expand
|
1077
|
+
# @return [Subscription]
|
1078
|
+
describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_delete test' do
|
1079
|
+
it "should work" do
|
1080
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1081
|
+
end
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
# unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_delete
|
1085
|
+
# Delete documents
|
1086
|
+
#
|
1087
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1088
|
+
# @param id_connection
|
1089
|
+
# @param id_subscription
|
1090
|
+
# @param [Hash] opts the optional parameters
|
1091
|
+
# @option opts [String] :expand
|
1092
|
+
# @return [Document]
|
1093
|
+
describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_delete 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_subscriptions_id_subscription_documents_get
|
1100
|
+
# Get documents
|
1101
|
+
# Get list of documents<br><br>
|
1102
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1103
|
+
# @param id_connection
|
1104
|
+
# @param id_subscription
|
1105
|
+
# @param [Hash] opts the optional parameters
|
1106
|
+
# @option opts [Integer] :limit limit number of results
|
1107
|
+
# @option opts [Integer] :offset offset of first result
|
1108
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
1109
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
1110
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
1111
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
1112
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
1113
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
1114
|
+
# @option opts [Integer] :id_type filter with a document type
|
1115
|
+
# @option opts [String] :expand
|
1116
|
+
# @return [InlineResponse20026]
|
1117
|
+
describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get test' do
|
1118
|
+
it "should work" do
|
1119
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1120
|
+
end
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
# unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_delete
|
1124
|
+
# Delete a document
|
1125
|
+
#
|
1126
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1127
|
+
# @param id_connection
|
1128
|
+
# @param id_subscription
|
1129
|
+
# @param id_document
|
1130
|
+
# @param [Hash] opts the optional parameters
|
1131
|
+
# @option opts [String] :expand
|
1132
|
+
# @return [Document]
|
1133
|
+
describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_delete test' do
|
1134
|
+
it "should work" do
|
1135
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1136
|
+
end
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_put
|
1140
|
+
# Edit a document
|
1141
|
+
# Edit meta-data of a specific document.
|
1142
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1143
|
+
# @param id_connection
|
1144
|
+
# @param id_subscription
|
1145
|
+
# @param id_document
|
1146
|
+
# @param [Hash] opts the optional parameters
|
1147
|
+
# @option opts [Integer] :id_type Type of this document
|
1148
|
+
# @option opts [Integer] :id_category Related category
|
1149
|
+
# @option opts [Date] :date Date of document
|
1150
|
+
# @option opts [Date] :duedate Due date of document
|
1151
|
+
# @option opts [Float] :total_amount Taxed amount
|
1152
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1153
|
+
# @option opts [Float] :vat VAT amount
|
1154
|
+
# @option opts [Integer] :income Is an income or an outcome
|
1155
|
+
# @option opts [Integer] :readonly Is this file readonly
|
1156
|
+
# @option opts [File] :file File of the document
|
1157
|
+
# @option opts [String] :name Name of the document
|
1158
|
+
# @option opts [String] :expand
|
1159
|
+
# @return [Document]
|
1160
|
+
describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_put test' do
|
1161
|
+
it "should work" do
|
1162
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1163
|
+
end
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
# unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_post
|
1167
|
+
# Add a new document
|
1168
|
+
# Add a new document<br><br>
|
1169
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1170
|
+
# @param id_connection
|
1171
|
+
# @param id_subscription
|
1172
|
+
# @param date Date of document
|
1173
|
+
# @param duedate Due date of document
|
1174
|
+
# @param [Hash] opts the optional parameters
|
1175
|
+
# @option opts [Integer] :id_type Type of this document
|
1176
|
+
# @option opts [Integer] :id_category Related category
|
1177
|
+
# @option opts [Float] :total_amount Taxed amount
|
1178
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1179
|
+
# @option opts [Float] :vat VAT amount
|
1180
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
1181
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
1182
|
+
# @option opts [File] :file File of the document
|
1183
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
1184
|
+
# @option opts [String] :name Name of the document
|
1185
|
+
# @option opts [String] :expand
|
1186
|
+
# @return [Document]
|
1187
|
+
describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_post test' do
|
1188
|
+
it "should work" do
|
1189
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1190
|
+
end
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
# unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_put
|
1194
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
1195
|
+
#
|
1196
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1197
|
+
# @param id_connection
|
1198
|
+
# @param id_subscription
|
1199
|
+
# @param id_document id of the document you want to attach the file to
|
1200
|
+
# @param [Hash] opts the optional parameters
|
1201
|
+
# @option opts [String] :expand
|
1202
|
+
# @return [Document]
|
1203
|
+
describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_put test' do
|
1204
|
+
it "should work" do
|
1205
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1206
|
+
end
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
# unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_put
|
1210
|
+
# Update a subscription
|
1211
|
+
# It updates a specific subscription<br><br>
|
1212
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1213
|
+
# @param id_connection
|
1214
|
+
# @param id_subscription
|
1215
|
+
# @param [Hash] opts the optional parameters
|
1216
|
+
# @option opts [String] :name Label of the subscription
|
1217
|
+
# @option opts [BOOLEAN] :disabled If the subscription is disabled (not synchronized)
|
1218
|
+
# @option opts [String] :expand
|
1219
|
+
# @return [Subscription]
|
1220
|
+
describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_put 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_transactions_id_transaction_documents_delete
|
1227
|
+
# Delete documents
|
1228
|
+
#
|
1229
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1230
|
+
# @param id_connection
|
1231
|
+
# @param id_transaction
|
1232
|
+
# @param [Hash] opts the optional parameters
|
1233
|
+
# @option opts [String] :expand
|
1234
|
+
# @return [Document]
|
1235
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_delete test' do
|
1236
|
+
it "should work" do
|
1237
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1238
|
+
end
|
1239
|
+
end
|
1240
|
+
|
1241
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_get
|
1242
|
+
# Get documents
|
1243
|
+
# Get list of documents<br><br>
|
1244
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1245
|
+
# @param id_connection
|
1246
|
+
# @param id_transaction
|
1247
|
+
# @param [Hash] opts the optional parameters
|
1248
|
+
# @option opts [Integer] :limit limit number of results
|
1249
|
+
# @option opts [Integer] :offset offset of first result
|
1250
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
1251
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
1252
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
1253
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
1254
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
1255
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
1256
|
+
# @option opts [Integer] :id_type filter with a document type
|
1257
|
+
# @option opts [String] :expand
|
1258
|
+
# @return [InlineResponse20026]
|
1259
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_get test' do
|
1260
|
+
it "should work" do
|
1261
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1262
|
+
end
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_delete
|
1266
|
+
# Delete a document
|
1267
|
+
#
|
1268
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1269
|
+
# @param id_connection
|
1270
|
+
# @param id_transaction
|
1271
|
+
# @param id_document
|
1272
|
+
# @param [Hash] opts the optional parameters
|
1273
|
+
# @option opts [String] :expand
|
1274
|
+
# @return [Document]
|
1275
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_delete test' do
|
1276
|
+
it "should work" do
|
1277
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1278
|
+
end
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_put
|
1282
|
+
# Edit a document
|
1283
|
+
# Edit meta-data of a specific document.
|
1284
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1285
|
+
# @param id_connection
|
1286
|
+
# @param id_transaction
|
1287
|
+
# @param id_document
|
1288
|
+
# @param [Hash] opts the optional parameters
|
1289
|
+
# @option opts [Integer] :id_type Type of this document
|
1290
|
+
# @option opts [Integer] :id_category Related category
|
1291
|
+
# @option opts [Date] :date Date of document
|
1292
|
+
# @option opts [Date] :duedate Due date of document
|
1293
|
+
# @option opts [Float] :total_amount Taxed amount
|
1294
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1295
|
+
# @option opts [Float] :vat VAT amount
|
1296
|
+
# @option opts [Integer] :income Is an income or an outcome
|
1297
|
+
# @option opts [Integer] :readonly Is this file readonly
|
1298
|
+
# @option opts [File] :file File of the document
|
1299
|
+
# @option opts [String] :name Name of the document
|
1300
|
+
# @option opts [String] :expand
|
1301
|
+
# @return [Document]
|
1302
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_put test' do
|
1303
|
+
it "should work" do
|
1304
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1305
|
+
end
|
1306
|
+
end
|
1307
|
+
|
1308
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_post
|
1309
|
+
# Add a new document
|
1310
|
+
# Add a new document<br><br>
|
1311
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1312
|
+
# @param id_connection
|
1313
|
+
# @param id_transaction
|
1314
|
+
# @param date Date of document
|
1315
|
+
# @param duedate Due date of document
|
1316
|
+
# @param [Hash] opts the optional parameters
|
1317
|
+
# @option opts [Integer] :id_type Type of this document
|
1318
|
+
# @option opts [Integer] :id_category Related category
|
1319
|
+
# @option opts [Float] :total_amount Taxed amount
|
1320
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1321
|
+
# @option opts [Float] :vat VAT amount
|
1322
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
1323
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
1324
|
+
# @option opts [File] :file File of the document
|
1325
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
1326
|
+
# @option opts [String] :name Name of the document
|
1327
|
+
# @option opts [String] :expand
|
1328
|
+
# @return [Document]
|
1329
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_post test' do
|
1330
|
+
it "should work" do
|
1331
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
|
1335
|
+
# unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_put
|
1336
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
1337
|
+
#
|
1338
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1339
|
+
# @param id_connection
|
1340
|
+
# @param id_transaction
|
1341
|
+
# @param id_document id of the document you want to attach the file to
|
1342
|
+
# @param [Hash] opts the optional parameters
|
1343
|
+
# @option opts [String] :expand
|
1344
|
+
# @return [Document]
|
1345
|
+
describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_put 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_transactionsclusters_id_transactions_cluster_documents_delete
|
1352
|
+
# Delete documents
|
1353
|
+
#
|
1354
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1355
|
+
# @param id_connection
|
1356
|
+
# @param id_transactions_cluster
|
1357
|
+
# @param [Hash] opts the optional parameters
|
1358
|
+
# @option opts [String] :expand
|
1359
|
+
# @return [Document]
|
1360
|
+
describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_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_transactionsclusters_id_transactions_cluster_documents_get
|
1367
|
+
# Get documents
|
1368
|
+
# Get list of documents<br><br>
|
1369
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1370
|
+
# @param id_connection
|
1371
|
+
# @param id_transactions_cluster
|
1372
|
+
# @param [Hash] opts the optional parameters
|
1373
|
+
# @option opts [Integer] :limit limit number of results
|
1374
|
+
# @option opts [Integer] :offset offset of first result
|
1375
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
1376
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
1377
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
1378
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
1379
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
1380
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
1381
|
+
# @option opts [Integer] :id_type filter with a document type
|
1382
|
+
# @option opts [String] :expand
|
1383
|
+
# @return [InlineResponse20026]
|
1384
|
+
describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get test' do
|
1385
|
+
it "should work" do
|
1386
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1387
|
+
end
|
1388
|
+
end
|
1389
|
+
|
1390
|
+
# unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_id_document_delete
|
1391
|
+
# Delete a document
|
1392
|
+
#
|
1393
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1394
|
+
# @param id_connection
|
1395
|
+
# @param id_transactions_cluster
|
1396
|
+
# @param id_document
|
1397
|
+
# @param [Hash] opts the optional parameters
|
1398
|
+
# @option opts [String] :expand
|
1399
|
+
# @return [Document]
|
1400
|
+
describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_id_document_delete test' do
|
1401
|
+
it "should work" do
|
1402
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1403
|
+
end
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
# unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_id_document_put
|
1407
|
+
# Edit a document
|
1408
|
+
# Edit meta-data of a specific document.
|
1409
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1410
|
+
# @param id_connection
|
1411
|
+
# @param id_transactions_cluster
|
1412
|
+
# @param id_document
|
1413
|
+
# @param [Hash] opts the optional parameters
|
1414
|
+
# @option opts [Integer] :id_type Type of this document
|
1415
|
+
# @option opts [Integer] :id_category Related category
|
1416
|
+
# @option opts [Date] :date Date of document
|
1417
|
+
# @option opts [Date] :duedate Due date of document
|
1418
|
+
# @option opts [Float] :total_amount Taxed amount
|
1419
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1420
|
+
# @option opts [Float] :vat VAT amount
|
1421
|
+
# @option opts [Integer] :income Is an income or an outcome
|
1422
|
+
# @option opts [Integer] :readonly Is this file readonly
|
1423
|
+
# @option opts [File] :file File of the document
|
1424
|
+
# @option opts [String] :name Name of the document
|
1425
|
+
# @option opts [String] :expand
|
1426
|
+
# @return [Document]
|
1427
|
+
describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_id_document_put test' do
|
1428
|
+
it "should work" do
|
1429
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
# unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_post
|
1434
|
+
# Add a new document
|
1435
|
+
# Add a new document<br><br>
|
1436
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1437
|
+
# @param id_connection
|
1438
|
+
# @param id_transactions_cluster
|
1439
|
+
# @param date Date of document
|
1440
|
+
# @param duedate Due date of document
|
1441
|
+
# @param [Hash] opts the optional parameters
|
1442
|
+
# @option opts [Integer] :id_type Type of this document
|
1443
|
+
# @option opts [Integer] :id_category Related category
|
1444
|
+
# @option opts [Float] :total_amount Taxed amount
|
1445
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1446
|
+
# @option opts [Float] :vat VAT amount
|
1447
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
1448
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
1449
|
+
# @option opts [File] :file File of the document
|
1450
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
1451
|
+
# @option opts [String] :name Name of the document
|
1452
|
+
# @option opts [String] :expand
|
1453
|
+
# @return [Document]
|
1454
|
+
describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_post test' do
|
1455
|
+
it "should work" do
|
1456
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_put
|
1461
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
1462
|
+
#
|
1463
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1464
|
+
# @param id_connection
|
1465
|
+
# @param id_transactions_cluster
|
1466
|
+
# @param id_document id of the document you want to attach the file to
|
1467
|
+
# @param [Hash] opts the optional parameters
|
1468
|
+
# @option opts [String] :expand
|
1469
|
+
# @return [Document]
|
1470
|
+
describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_put test' do
|
1471
|
+
it "should work" do
|
1472
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1473
|
+
end
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
# unit tests for users_id_user_connections_post
|
1477
|
+
# Add a new connection.
|
1478
|
+
# 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>
|
1479
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1480
|
+
# @param [Hash] opts the optional parameters
|
1481
|
+
# @option opts [Integer] :id_bank ID of the bank
|
1482
|
+
# @option opts [Integer] :id_provider ID of the provider
|
1483
|
+
# @option opts [String] :expand
|
1484
|
+
# @return [Connection]
|
1485
|
+
describe 'users_id_user_connections_post test' do
|
1486
|
+
it "should work" do
|
1487
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1488
|
+
end
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
# unit tests for users_id_user_documents_delete
|
1492
|
+
# Delete documents
|
1493
|
+
#
|
1494
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1495
|
+
# @param [Hash] opts the optional parameters
|
1496
|
+
# @option opts [String] :expand
|
1497
|
+
# @return [Document]
|
1498
|
+
describe 'users_id_user_documents_delete test' do
|
1499
|
+
it "should work" do
|
1500
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1501
|
+
end
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
# unit tests for users_id_user_documents_get
|
1505
|
+
# Get documents
|
1506
|
+
# Get list of documents<br><br>
|
1507
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1508
|
+
# @param [Hash] opts the optional parameters
|
1509
|
+
# @option opts [Integer] :limit limit number of results
|
1510
|
+
# @option opts [Integer] :offset offset of first result
|
1511
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
1512
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
1513
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
1514
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
1515
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
1516
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
1517
|
+
# @option opts [Integer] :id_type filter with a document type
|
1518
|
+
# @option opts [String] :expand
|
1519
|
+
# @return [InlineResponse20026]
|
1520
|
+
describe 'users_id_user_documents_get test' do
|
1521
|
+
it "should work" do
|
1522
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1523
|
+
end
|
1524
|
+
end
|
1525
|
+
|
1526
|
+
# unit tests for users_id_user_documents_id_document_delete
|
1527
|
+
# Delete a document
|
1528
|
+
#
|
1529
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1530
|
+
# @param id_document
|
1531
|
+
# @param [Hash] opts the optional parameters
|
1532
|
+
# @option opts [String] :expand
|
1533
|
+
# @return [Document]
|
1534
|
+
describe 'users_id_user_documents_id_document_delete test' do
|
1535
|
+
it "should work" do
|
1536
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1537
|
+
end
|
1538
|
+
end
|
1539
|
+
|
1540
|
+
# unit tests for users_id_user_documents_id_document_put
|
1541
|
+
# Edit a document
|
1542
|
+
# Edit meta-data of a specific document.
|
1543
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1544
|
+
# @param id_document
|
1545
|
+
# @param [Hash] opts the optional parameters
|
1546
|
+
# @option opts [Integer] :id_type Type of this document
|
1547
|
+
# @option opts [Integer] :id_category Related category
|
1548
|
+
# @option opts [Date] :date Date of document
|
1549
|
+
# @option opts [Date] :duedate Due date of document
|
1550
|
+
# @option opts [Float] :total_amount Taxed amount
|
1551
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1552
|
+
# @option opts [Float] :vat VAT amount
|
1553
|
+
# @option opts [Integer] :income Is an income or an outcome
|
1554
|
+
# @option opts [Integer] :readonly Is this file readonly
|
1555
|
+
# @option opts [File] :file File of the document
|
1556
|
+
# @option opts [String] :name Name of the document
|
1557
|
+
# @option opts [String] :expand
|
1558
|
+
# @return [Document]
|
1559
|
+
describe 'users_id_user_documents_id_document_put test' do
|
1560
|
+
it "should work" do
|
1561
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1562
|
+
end
|
1563
|
+
end
|
1564
|
+
|
1565
|
+
# unit tests for users_id_user_documents_post
|
1566
|
+
# Add a new document
|
1567
|
+
# Add a new document<br><br>
|
1568
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1569
|
+
# @param date Date of document
|
1570
|
+
# @param duedate Due date of document
|
1571
|
+
# @param [Hash] opts the optional parameters
|
1572
|
+
# @option opts [Integer] :id_type Type of this document
|
1573
|
+
# @option opts [Integer] :id_category Related category
|
1574
|
+
# @option opts [Float] :total_amount Taxed amount
|
1575
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1576
|
+
# @option opts [Float] :vat VAT amount
|
1577
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
1578
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
1579
|
+
# @option opts [File] :file File of the document
|
1580
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
1581
|
+
# @option opts [String] :name Name of the document
|
1582
|
+
# @option opts [String] :expand
|
1583
|
+
# @return [Document]
|
1584
|
+
describe 'users_id_user_documents_post test' do
|
1585
|
+
it "should work" do
|
1586
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1587
|
+
end
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
# unit tests for users_id_user_documents_put
|
1591
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
1592
|
+
#
|
1593
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1594
|
+
# @param id_document id of the document you want to attach the file to
|
1595
|
+
# @param [Hash] opts the optional parameters
|
1596
|
+
# @option opts [String] :expand
|
1597
|
+
# @return [Document]
|
1598
|
+
describe 'users_id_user_documents_put test' do
|
1599
|
+
it "should work" do
|
1600
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1601
|
+
end
|
1602
|
+
end
|
1603
|
+
|
1604
|
+
# unit tests for users_id_user_logs_get
|
1605
|
+
# Get connection logs
|
1606
|
+
# Get logs about connections.<br><br>
|
1607
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1608
|
+
# @param [Hash] opts the optional parameters
|
1609
|
+
# @option opts [Integer] :limit limit number of results
|
1610
|
+
# @option opts [Integer] :offset offset of first result
|
1611
|
+
# @option opts [Date] :min_date minimal date
|
1612
|
+
# @option opts [Date] :max_date maximum date
|
1613
|
+
# @option opts [Integer] :state state of user
|
1614
|
+
# @option opts [String] :period period to group logs
|
1615
|
+
# @option opts [Integer] :id_user2 ID of a user
|
1616
|
+
# @option opts [Integer] :id_connection ID of a connection
|
1617
|
+
# @option opts [Integer] :id_bank ID of a bank
|
1618
|
+
# @option opts [BOOLEAN] :charged consider only logs for charged banks
|
1619
|
+
# @option opts [String] :expand
|
1620
|
+
# @return [InlineResponse20015]
|
1621
|
+
describe 'users_id_user_logs_get test' do
|
1622
|
+
it "should work" do
|
1623
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1624
|
+
end
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
# unit tests for users_id_user_ocr_post
|
1628
|
+
# Post an image with OCR
|
1629
|
+
# Post an image and apply OCR on it to obtain found meta-data.<br><br>
|
1630
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1631
|
+
# @param file File of the document
|
1632
|
+
# @param [Hash] opts the optional parameters
|
1633
|
+
# @option opts [Integer] :id_transaction Transaction used to help OCR to find data
|
1634
|
+
# @option opts [String] :name Name of the document
|
1635
|
+
# @return [nil]
|
1636
|
+
describe 'users_id_user_ocr_post test' do
|
1637
|
+
it "should work" do
|
1638
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1639
|
+
end
|
1640
|
+
end
|
1641
|
+
|
1642
|
+
# unit tests for users_id_user_subscriptions_id_subscription_delete
|
1643
|
+
# Delete a subscription.
|
1644
|
+
# It deletes a specific subscription If this is the last synced subscription of a connection, it will be removed too.<br><br>
|
1645
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1646
|
+
# @param id_subscription
|
1647
|
+
# @param [Hash] opts the optional parameters
|
1648
|
+
# @option opts [String] :expand
|
1649
|
+
# @return [Subscription]
|
1650
|
+
describe 'users_id_user_subscriptions_id_subscription_delete test' do
|
1651
|
+
it "should work" do
|
1652
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1653
|
+
end
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
# unit tests for users_id_user_subscriptions_id_subscription_documents_delete
|
1657
|
+
# Delete documents
|
1658
|
+
#
|
1659
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1660
|
+
# @param id_subscription
|
1661
|
+
# @param [Hash] opts the optional parameters
|
1662
|
+
# @option opts [String] :expand
|
1663
|
+
# @return [Document]
|
1664
|
+
describe 'users_id_user_subscriptions_id_subscription_documents_delete test' do
|
1665
|
+
it "should work" do
|
1666
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1667
|
+
end
|
1668
|
+
end
|
1669
|
+
|
1670
|
+
# unit tests for users_id_user_subscriptions_id_subscription_documents_get
|
1671
|
+
# Get documents
|
1672
|
+
# Get list of documents<br><br>
|
1673
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1674
|
+
# @param id_subscription
|
1675
|
+
# @param [Hash] opts the optional parameters
|
1676
|
+
# @option opts [Integer] :limit limit number of results
|
1677
|
+
# @option opts [Integer] :offset offset of first result
|
1678
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
1679
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
1680
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
1681
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
1682
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
1683
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
1684
|
+
# @option opts [Integer] :id_type filter with a document type
|
1685
|
+
# @option opts [String] :expand
|
1686
|
+
# @return [InlineResponse20026]
|
1687
|
+
describe 'users_id_user_subscriptions_id_subscription_documents_get test' do
|
1688
|
+
it "should work" do
|
1689
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1690
|
+
end
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
# unit tests for users_id_user_subscriptions_id_subscription_documents_id_document_delete
|
1694
|
+
# Delete a document
|
1695
|
+
#
|
1696
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1697
|
+
# @param id_subscription
|
1698
|
+
# @param id_document
|
1699
|
+
# @param [Hash] opts the optional parameters
|
1700
|
+
# @option opts [String] :expand
|
1701
|
+
# @return [Document]
|
1702
|
+
describe 'users_id_user_subscriptions_id_subscription_documents_id_document_delete test' do
|
1703
|
+
it "should work" do
|
1704
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1705
|
+
end
|
1706
|
+
end
|
1707
|
+
|
1708
|
+
# unit tests for users_id_user_subscriptions_id_subscription_documents_id_document_put
|
1709
|
+
# Edit a document
|
1710
|
+
# Edit meta-data of a specific document.
|
1711
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1712
|
+
# @param id_subscription
|
1713
|
+
# @param id_document
|
1714
|
+
# @param [Hash] opts the optional parameters
|
1715
|
+
# @option opts [Integer] :id_type Type of this document
|
1716
|
+
# @option opts [Integer] :id_category Related category
|
1717
|
+
# @option opts [Date] :date Date of document
|
1718
|
+
# @option opts [Date] :duedate Due date of document
|
1719
|
+
# @option opts [Float] :total_amount Taxed amount
|
1720
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1721
|
+
# @option opts [Float] :vat VAT amount
|
1722
|
+
# @option opts [Integer] :income Is an income or an outcome
|
1723
|
+
# @option opts [Integer] :readonly Is this file readonly
|
1724
|
+
# @option opts [File] :file File of the document
|
1725
|
+
# @option opts [String] :name Name of the document
|
1726
|
+
# @option opts [String] :expand
|
1727
|
+
# @return [Document]
|
1728
|
+
describe 'users_id_user_subscriptions_id_subscription_documents_id_document_put test' do
|
1729
|
+
it "should work" do
|
1730
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1731
|
+
end
|
1732
|
+
end
|
1733
|
+
|
1734
|
+
# unit tests for users_id_user_subscriptions_id_subscription_documents_post
|
1735
|
+
# Add a new document
|
1736
|
+
# Add a new document<br><br>
|
1737
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1738
|
+
# @param id_subscription
|
1739
|
+
# @param date Date of document
|
1740
|
+
# @param duedate Due date of document
|
1741
|
+
# @param [Hash] opts the optional parameters
|
1742
|
+
# @option opts [Integer] :id_type Type of this document
|
1743
|
+
# @option opts [Integer] :id_category Related category
|
1744
|
+
# @option opts [Float] :total_amount Taxed amount
|
1745
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1746
|
+
# @option opts [Float] :vat VAT amount
|
1747
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
1748
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
1749
|
+
# @option opts [File] :file File of the document
|
1750
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
1751
|
+
# @option opts [String] :name Name of the document
|
1752
|
+
# @option opts [String] :expand
|
1753
|
+
# @return [Document]
|
1754
|
+
describe 'users_id_user_subscriptions_id_subscription_documents_post 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_subscriptions_id_subscription_documents_put
|
1761
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
1762
|
+
#
|
1763
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1764
|
+
# @param id_subscription
|
1765
|
+
# @param id_document id of the document you want to attach the file to
|
1766
|
+
# @param [Hash] opts the optional parameters
|
1767
|
+
# @option opts [String] :expand
|
1768
|
+
# @return [Document]
|
1769
|
+
describe 'users_id_user_subscriptions_id_subscription_documents_put test' do
|
1770
|
+
it "should work" do
|
1771
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1772
|
+
end
|
1773
|
+
end
|
1774
|
+
|
1775
|
+
# unit tests for users_id_user_subscriptions_id_subscription_put
|
1776
|
+
# Update a subscription
|
1777
|
+
# It updates a specific subscription<br><br>
|
1778
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1779
|
+
# @param id_subscription
|
1780
|
+
# @param [Hash] opts the optional parameters
|
1781
|
+
# @option opts [String] :name Label of the subscription
|
1782
|
+
# @option opts [BOOLEAN] :disabled If the subscription is disabled (not synchronized)
|
1783
|
+
# @option opts [String] :expand
|
1784
|
+
# @return [Subscription]
|
1785
|
+
describe 'users_id_user_subscriptions_id_subscription_put test' do
|
1786
|
+
it "should work" do
|
1787
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1788
|
+
end
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
# unit tests for users_id_user_transactions_id_transaction_documents_delete
|
1792
|
+
# Delete documents
|
1793
|
+
#
|
1794
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1795
|
+
# @param id_transaction
|
1796
|
+
# @param [Hash] opts the optional parameters
|
1797
|
+
# @option opts [String] :expand
|
1798
|
+
# @return [Document]
|
1799
|
+
describe 'users_id_user_transactions_id_transaction_documents_delete test' do
|
1800
|
+
it "should work" do
|
1801
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1802
|
+
end
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
# unit tests for users_id_user_transactions_id_transaction_documents_get
|
1806
|
+
# Get documents
|
1807
|
+
# Get list of documents<br><br>
|
1808
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1809
|
+
# @param id_transaction
|
1810
|
+
# @param [Hash] opts the optional parameters
|
1811
|
+
# @option opts [Integer] :limit limit number of results
|
1812
|
+
# @option opts [Integer] :offset offset of first result
|
1813
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
1814
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
1815
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
1816
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
1817
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
1818
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
1819
|
+
# @option opts [Integer] :id_type filter with a document type
|
1820
|
+
# @option opts [String] :expand
|
1821
|
+
# @return [InlineResponse20026]
|
1822
|
+
describe 'users_id_user_transactions_id_transaction_documents_get test' do
|
1823
|
+
it "should work" do
|
1824
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1825
|
+
end
|
1826
|
+
end
|
1827
|
+
|
1828
|
+
# unit tests for users_id_user_transactions_id_transaction_documents_id_document_delete
|
1829
|
+
# Delete a document
|
1830
|
+
#
|
1831
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1832
|
+
# @param id_transaction
|
1833
|
+
# @param id_document
|
1834
|
+
# @param [Hash] opts the optional parameters
|
1835
|
+
# @option opts [String] :expand
|
1836
|
+
# @return [Document]
|
1837
|
+
describe 'users_id_user_transactions_id_transaction_documents_id_document_delete test' do
|
1838
|
+
it "should work" do
|
1839
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1840
|
+
end
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
# unit tests for users_id_user_transactions_id_transaction_documents_id_document_put
|
1844
|
+
# Edit a document
|
1845
|
+
# Edit meta-data of a specific document.
|
1846
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1847
|
+
# @param id_transaction
|
1848
|
+
# @param id_document
|
1849
|
+
# @param [Hash] opts the optional parameters
|
1850
|
+
# @option opts [Integer] :id_type Type of this document
|
1851
|
+
# @option opts [Integer] :id_category Related category
|
1852
|
+
# @option opts [Date] :date Date of document
|
1853
|
+
# @option opts [Date] :duedate Due date of document
|
1854
|
+
# @option opts [Float] :total_amount Taxed amount
|
1855
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1856
|
+
# @option opts [Float] :vat VAT amount
|
1857
|
+
# @option opts [Integer] :income Is an income or an outcome
|
1858
|
+
# @option opts [Integer] :readonly Is this file readonly
|
1859
|
+
# @option opts [File] :file File of the document
|
1860
|
+
# @option opts [String] :name Name of the document
|
1861
|
+
# @option opts [String] :expand
|
1862
|
+
# @return [Document]
|
1863
|
+
describe 'users_id_user_transactions_id_transaction_documents_id_document_put test' do
|
1864
|
+
it "should work" do
|
1865
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1866
|
+
end
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
# unit tests for users_id_user_transactions_id_transaction_documents_post
|
1870
|
+
# Add a new document
|
1871
|
+
# Add a new document<br><br>
|
1872
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1873
|
+
# @param id_transaction
|
1874
|
+
# @param date Date of document
|
1875
|
+
# @param duedate Due date of document
|
1876
|
+
# @param [Hash] opts the optional parameters
|
1877
|
+
# @option opts [Integer] :id_type Type of this document
|
1878
|
+
# @option opts [Integer] :id_category Related category
|
1879
|
+
# @option opts [Float] :total_amount Taxed amount
|
1880
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1881
|
+
# @option opts [Float] :vat VAT amount
|
1882
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
1883
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
1884
|
+
# @option opts [File] :file File of the document
|
1885
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
1886
|
+
# @option opts [String] :name Name of the document
|
1887
|
+
# @option opts [String] :expand
|
1888
|
+
# @return [Document]
|
1889
|
+
describe 'users_id_user_transactions_id_transaction_documents_post test' do
|
1890
|
+
it "should work" do
|
1891
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1892
|
+
end
|
1893
|
+
end
|
1894
|
+
|
1895
|
+
# unit tests for users_id_user_transactions_id_transaction_documents_put
|
1896
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
1897
|
+
#
|
1898
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1899
|
+
# @param id_transaction
|
1900
|
+
# @param id_document id of the document you want to attach the file to
|
1901
|
+
# @param [Hash] opts the optional parameters
|
1902
|
+
# @option opts [String] :expand
|
1903
|
+
# @return [Document]
|
1904
|
+
describe 'users_id_user_transactions_id_transaction_documents_put test' do
|
1905
|
+
it "should work" do
|
1906
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1907
|
+
end
|
1908
|
+
end
|
1909
|
+
|
1910
|
+
# unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_delete
|
1911
|
+
# Delete documents
|
1912
|
+
#
|
1913
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1914
|
+
# @param id_transactions_cluster
|
1915
|
+
# @param [Hash] opts the optional parameters
|
1916
|
+
# @option opts [String] :expand
|
1917
|
+
# @return [Document]
|
1918
|
+
describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_delete test' do
|
1919
|
+
it "should work" do
|
1920
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1921
|
+
end
|
1922
|
+
end
|
1923
|
+
|
1924
|
+
# unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_get
|
1925
|
+
# Get documents
|
1926
|
+
# Get list of documents<br><br>
|
1927
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1928
|
+
# @param id_transactions_cluster
|
1929
|
+
# @param [Hash] opts the optional parameters
|
1930
|
+
# @option opts [Integer] :limit limit number of results
|
1931
|
+
# @option opts [Integer] :offset offset of first result
|
1932
|
+
# @option opts [Date] :min_date minimal (inclusive) date
|
1933
|
+
# @option opts [Date] :max_date maximum (inclusive) date
|
1934
|
+
# @option opts [Float] :min_amount minimal (inclusive) amount
|
1935
|
+
# @option opts [Float] :max_amount maximumd (inclusive) amount
|
1936
|
+
# @option opts [Float] :min_timestamp minimal (inclusive) timestamp
|
1937
|
+
# @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
|
1938
|
+
# @option opts [Integer] :id_type filter with a document type
|
1939
|
+
# @option opts [String] :expand
|
1940
|
+
# @return [InlineResponse20026]
|
1941
|
+
describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_get test' do
|
1942
|
+
it "should work" do
|
1943
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1944
|
+
end
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
# unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_delete
|
1948
|
+
# Delete a document
|
1949
|
+
#
|
1950
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1951
|
+
# @param id_transactions_cluster
|
1952
|
+
# @param id_document
|
1953
|
+
# @param [Hash] opts the optional parameters
|
1954
|
+
# @option opts [String] :expand
|
1955
|
+
# @return [Document]
|
1956
|
+
describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_delete test' do
|
1957
|
+
it "should work" do
|
1958
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1959
|
+
end
|
1960
|
+
end
|
1961
|
+
|
1962
|
+
# unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_put
|
1963
|
+
# Edit a document
|
1964
|
+
# Edit meta-data of a specific document.
|
1965
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1966
|
+
# @param id_transactions_cluster
|
1967
|
+
# @param id_document
|
1968
|
+
# @param [Hash] opts the optional parameters
|
1969
|
+
# @option opts [Integer] :id_type Type of this document
|
1970
|
+
# @option opts [Integer] :id_category Related category
|
1971
|
+
# @option opts [Date] :date Date of document
|
1972
|
+
# @option opts [Date] :duedate Due date of document
|
1973
|
+
# @option opts [Float] :total_amount Taxed amount
|
1974
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
1975
|
+
# @option opts [Float] :vat VAT amount
|
1976
|
+
# @option opts [Integer] :income Is an income or an outcome
|
1977
|
+
# @option opts [Integer] :readonly Is this file readonly
|
1978
|
+
# @option opts [File] :file File of the document
|
1979
|
+
# @option opts [String] :name Name of the document
|
1980
|
+
# @option opts [String] :expand
|
1981
|
+
# @return [Document]
|
1982
|
+
describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_put test' do
|
1983
|
+
it "should work" do
|
1984
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
1985
|
+
end
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
# unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_post
|
1989
|
+
# Add a new document
|
1990
|
+
# Add a new document<br><br>
|
1991
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
1992
|
+
# @param id_transactions_cluster
|
1993
|
+
# @param date Date of document
|
1994
|
+
# @param duedate Due date of document
|
1995
|
+
# @param [Hash] opts the optional parameters
|
1996
|
+
# @option opts [Integer] :id_type Type of this document
|
1997
|
+
# @option opts [Integer] :id_category Related category
|
1998
|
+
# @option opts [Float] :total_amount Taxed amount
|
1999
|
+
# @option opts [Float] :untaxed_amount Untaxed amount
|
2000
|
+
# @option opts [Float] :vat VAT amount
|
2001
|
+
# @option opts [BOOLEAN] :income Is an income or an outcome
|
2002
|
+
# @option opts [BOOLEAN] :readonly Is this file readonly
|
2003
|
+
# @option opts [File] :file File of the document
|
2004
|
+
# @option opts [Integer] :id_ocr Related OCR process
|
2005
|
+
# @option opts [String] :name Name of the document
|
2006
|
+
# @option opts [String] :expand
|
2007
|
+
# @return [Document]
|
2008
|
+
describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_post test' do
|
2009
|
+
it "should work" do
|
2010
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2011
|
+
end
|
2012
|
+
end
|
2013
|
+
|
2014
|
+
# unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_put
|
2015
|
+
# Attach an existing document to a transaction or a transactions_cluster
|
2016
|
+
#
|
2017
|
+
# @param id_user Hint: you can use 'me' or 'all'
|
2018
|
+
# @param id_transactions_cluster
|
2019
|
+
# @param id_document id of the document you want to attach the file to
|
2020
|
+
# @param [Hash] opts the optional parameters
|
2021
|
+
# @option opts [String] :expand
|
2022
|
+
# @return [Document]
|
2023
|
+
describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_put test' do
|
2024
|
+
it "should work" do
|
2025
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2026
|
+
end
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
end
|