budgea_client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +12 -0
  3. data/Gemfile.lock +89 -0
  4. data/README.md +619 -0
  5. data/Rakefile +13 -0
  6. data/budgea_client.gemspec +35 -0
  7. data/docs/Access.md +12 -0
  8. data/docs/Account.md +25 -0
  9. data/docs/AccountLog.md +15 -0
  10. data/docs/AccountType.md +15 -0
  11. data/docs/AdministrationApi.md +944 -0
  12. data/docs/Alert.md +15 -0
  13. data/docs/AuthenticationApi.md +398 -0
  14. data/docs/Bank.md +18 -0
  15. data/docs/BankCategory.md +9 -0
  16. data/docs/BanksApi.md +6558 -0
  17. data/docs/Category.md +17 -0
  18. data/docs/Client.md +18 -0
  19. data/docs/Connection.md +16 -0
  20. data/docs/ConnectionContact.md +17 -0
  21. data/docs/ConnectionLog.md +21 -0
  22. data/docs/ConnectionsApi.md +934 -0
  23. data/docs/ConnectorLogo.md +11 -0
  24. data/docs/Currency.md +10 -0
  25. data/docs/Device.md +14 -0
  26. data/docs/Document.md +29 -0
  27. data/docs/DocumentType.md +10 -0
  28. data/docs/DocumentsApi.md +5228 -0
  29. data/docs/Field.md +15 -0
  30. data/docs/File.md +11 -0
  31. data/docs/Group.md +15 -0
  32. data/docs/HashTable.md +11 -0
  33. data/docs/InlineResponse200.md +8 -0
  34. data/docs/InlineResponse2001.md +9 -0
  35. data/docs/InlineResponse20010.md +8 -0
  36. data/docs/InlineResponse20011.md +8 -0
  37. data/docs/InlineResponse20012.md +8 -0
  38. data/docs/InlineResponse20013.md +8 -0
  39. data/docs/InlineResponse20014.md +8 -0
  40. data/docs/InlineResponse20015.md +8 -0
  41. data/docs/InlineResponse20016.md +8 -0
  42. data/docs/InlineResponse20017.md +8 -0
  43. data/docs/InlineResponse20018.md +8 -0
  44. data/docs/InlineResponse20019.md +8 -0
  45. data/docs/InlineResponse2002.md +10 -0
  46. data/docs/InlineResponse20020.md +8 -0
  47. data/docs/InlineResponse20021.md +8 -0
  48. data/docs/InlineResponse20022.md +8 -0
  49. data/docs/InlineResponse20023.md +8 -0
  50. data/docs/InlineResponse20024.md +8 -0
  51. data/docs/InlineResponse20025.md +8 -0
  52. data/docs/InlineResponse20026.md +8 -0
  53. data/docs/InlineResponse20027.md +8 -0
  54. data/docs/InlineResponse20028.md +8 -0
  55. data/docs/InlineResponse20029.md +8 -0
  56. data/docs/InlineResponse2003.md +10 -0
  57. data/docs/InlineResponse20030.md +8 -0
  58. data/docs/InlineResponse20031.md +8 -0
  59. data/docs/InlineResponse20032.md +8 -0
  60. data/docs/InlineResponse20033.md +8 -0
  61. data/docs/InlineResponse2004.md +12 -0
  62. data/docs/InlineResponse2005.md +9 -0
  63. data/docs/InlineResponse2006.md +10 -0
  64. data/docs/InlineResponse2007.md +8 -0
  65. data/docs/InlineResponse2008.md +8 -0
  66. data/docs/InlineResponse2009.md +8 -0
  67. data/docs/Investment.md +32 -0
  68. data/docs/InvestmentValue.md +13 -0
  69. data/docs/Invite.md +13 -0
  70. data/docs/LockedUser.md +10 -0
  71. data/docs/OCRApi.md +117 -0
  72. data/docs/OIDCApi.md +167 -0
  73. data/docs/OidcWhitelist.md +9 -0
  74. data/docs/PFMApi.md +2204 -0
  75. data/docs/Pocket.md +17 -0
  76. data/docs/Profile.md +15 -0
  77. data/docs/Project.md +16 -0
  78. data/docs/ProjectType.md +10 -0
  79. data/docs/ProvidersApi.md +7014 -0
  80. data/docs/Recipient.md +22 -0
  81. data/docs/RecipientsApi.md +244 -0
  82. data/docs/Security.md +12 -0
  83. data/docs/Subscription.md +18 -0
  84. data/docs/TermsApi.md +218 -0
  85. data/docs/TermsOfService.md +12 -0
  86. data/docs/Transaction.md +33 -0
  87. data/docs/TransactionInformation.md +11 -0
  88. data/docs/TransactionsCluster.md +16 -0
  89. data/docs/Transfer.md +23 -0
  90. data/docs/TransfersApi.md +2404 -0
  91. data/docs/User.md +10 -0
  92. data/docs/UserAlert.md +21 -0
  93. data/docs/UsersManagementApi.md +608 -0
  94. data/docs/WealthApi.md +828 -0
  95. data/docs/Webhook.md +15 -0
  96. data/git_push.sh +55 -0
  97. data/lib/budgea_client.rb +118 -0
  98. data/lib/budgea_client/api/administration_api.rb +1059 -0
  99. data/lib/budgea_client/api/authentication_api.rb +467 -0
  100. data/lib/budgea_client/api/banks_api.rb +7837 -0
  101. data/lib/budgea_client/api/connections_api.rb +1088 -0
  102. data/lib/budgea_client/api/documents_api.rb +6637 -0
  103. data/lib/budgea_client/api/ocr_api.rb +141 -0
  104. data/lib/budgea_client/api/oidc_api.rb +195 -0
  105. data/lib/budgea_client/api/pfm_api.rb +2630 -0
  106. data/lib/budgea_client/api/providers_api.rb +8694 -0
  107. data/lib/budgea_client/api/recipients_api.rb +293 -0
  108. data/lib/budgea_client/api/terms_api.rb +245 -0
  109. data/lib/budgea_client/api/transfers_api.rb +2941 -0
  110. data/lib/budgea_client/api/users_management_api.rb +695 -0
  111. data/lib/budgea_client/api/wealth_api.rb +994 -0
  112. data/lib/budgea_client/api_client.rb +378 -0
  113. data/lib/budgea_client/api_error.rb +28 -0
  114. data/lib/budgea_client/configuration.rb +192 -0
  115. data/lib/budgea_client/models/access.rb +224 -0
  116. data/lib/budgea_client/models/account.rb +383 -0
  117. data/lib/budgea_client/models/account_log.rb +266 -0
  118. data/lib/budgea_client/models/account_type.rb +281 -0
  119. data/lib/budgea_client/models/alert.rb +273 -0
  120. data/lib/budgea_client/models/bank.rb +308 -0
  121. data/lib/budgea_client/models/bank_category.rb +201 -0
  122. data/lib/budgea_client/models/category.rb +299 -0
  123. data/lib/budgea_client/models/client.rb +305 -0
  124. data/lib/budgea_client/models/connection.rb +276 -0
  125. data/lib/budgea_client/models/connection_contact.rb +274 -0
  126. data/lib/budgea_client/models/connection_log.rb +324 -0
  127. data/lib/budgea_client/models/connector_logo.rb +223 -0
  128. data/lib/budgea_client/models/currency.rb +216 -0
  129. data/lib/budgea_client/models/device.rb +269 -0
  130. data/lib/budgea_client/models/document.rb +398 -0
  131. data/lib/budgea_client/models/document_type.rb +213 -0
  132. data/lib/budgea_client/models/field.rb +273 -0
  133. data/lib/budgea_client/models/file.rb +225 -0
  134. data/lib/budgea_client/models/group.rb +246 -0
  135. data/lib/budgea_client/models/hash_table.rb +227 -0
  136. data/lib/budgea_client/models/inline_response_200.rb +185 -0
  137. data/lib/budgea_client/models/inline_response_200_1.rb +199 -0
  138. data/lib/budgea_client/models/inline_response_200_10.rb +185 -0
  139. data/lib/budgea_client/models/inline_response_200_11.rb +185 -0
  140. data/lib/budgea_client/models/inline_response_200_12.rb +185 -0
  141. data/lib/budgea_client/models/inline_response_200_13.rb +185 -0
  142. data/lib/budgea_client/models/inline_response_200_14.rb +185 -0
  143. data/lib/budgea_client/models/inline_response_200_15.rb +185 -0
  144. data/lib/budgea_client/models/inline_response_200_16.rb +185 -0
  145. data/lib/budgea_client/models/inline_response_200_17.rb +185 -0
  146. data/lib/budgea_client/models/inline_response_200_18.rb +185 -0
  147. data/lib/budgea_client/models/inline_response_200_19.rb +185 -0
  148. data/lib/budgea_client/models/inline_response_200_2.rb +209 -0
  149. data/lib/budgea_client/models/inline_response_200_20.rb +185 -0
  150. data/lib/budgea_client/models/inline_response_200_21.rb +185 -0
  151. data/lib/budgea_client/models/inline_response_200_22.rb +185 -0
  152. data/lib/budgea_client/models/inline_response_200_23.rb +185 -0
  153. data/lib/budgea_client/models/inline_response_200_24.rb +185 -0
  154. data/lib/budgea_client/models/inline_response_200_25.rb +185 -0
  155. data/lib/budgea_client/models/inline_response_200_26.rb +185 -0
  156. data/lib/budgea_client/models/inline_response_200_27.rb +185 -0
  157. data/lib/budgea_client/models/inline_response_200_28.rb +185 -0
  158. data/lib/budgea_client/models/inline_response_200_29.rb +185 -0
  159. data/lib/budgea_client/models/inline_response_200_3.rb +214 -0
  160. data/lib/budgea_client/models/inline_response_200_30.rb +185 -0
  161. data/lib/budgea_client/models/inline_response_200_31.rb +185 -0
  162. data/lib/budgea_client/models/inline_response_200_32.rb +185 -0
  163. data/lib/budgea_client/models/inline_response_200_33.rb +185 -0
  164. data/lib/budgea_client/models/inline_response_200_4.rb +239 -0
  165. data/lib/budgea_client/models/inline_response_200_5.rb +199 -0
  166. data/lib/budgea_client/models/inline_response_200_6.rb +214 -0
  167. data/lib/budgea_client/models/inline_response_200_7.rb +185 -0
  168. data/lib/budgea_client/models/inline_response_200_8.rb +185 -0
  169. data/lib/budgea_client/models/inline_response_200_9.rb +185 -0
  170. data/lib/budgea_client/models/investment.rb +449 -0
  171. data/lib/budgea_client/models/investment_value.rb +249 -0
  172. data/lib/budgea_client/models/invite.rb +233 -0
  173. data/lib/budgea_client/models/locked_user.rb +206 -0
  174. data/lib/budgea_client/models/oidc_whitelist.rb +198 -0
  175. data/lib/budgea_client/models/pocket.rb +298 -0
  176. data/lib/budgea_client/models/profile.rb +308 -0
  177. data/lib/budgea_client/models/project.rb +301 -0
  178. data/lib/budgea_client/models/project_type.rb +206 -0
  179. data/lib/budgea_client/models/recipient.rb +343 -0
  180. data/lib/budgea_client/models/security.rb +229 -0
  181. data/lib/budgea_client/models/subscription.rb +299 -0
  182. data/lib/budgea_client/models/terms_of_service.rb +229 -0
  183. data/lib/budgea_client/models/transaction.rb +507 -0
  184. data/lib/budgea_client/models/transaction_information.rb +224 -0
  185. data/lib/budgea_client/models/transactions_cluster.rb +277 -0
  186. data/lib/budgea_client/models/transfer.rb +354 -0
  187. data/lib/budgea_client/models/user.rb +244 -0
  188. data/lib/budgea_client/models/user_alert.rb +333 -0
  189. data/lib/budgea_client/models/webhook.rb +264 -0
  190. data/lib/budgea_client/version.rb +5 -0
  191. data/pkg/budgea_client-1.0.0.gem +0 -0
  192. data/spec/api/administration_api_spec.rb +271 -0
  193. data/spec/api/authentication_api_spec.rb +126 -0
  194. data/spec/api/banks_api_spec.rb +1787 -0
  195. data/spec/api/connections_api_spec.rb +279 -0
  196. data/spec/api/documents_api_spec.rb +1557 -0
  197. data/spec/api/ocr_api_spec.rb +54 -0
  198. data/spec/api/oidc_api_spec.rb +65 -0
  199. data/spec/api/pfm_api_spec.rb +613 -0
  200. data/spec/api/providers_api_spec.rb +2029 -0
  201. data/spec/api/recipients_api_spec.rb +89 -0
  202. data/spec/api/terms_api_spec.rb +79 -0
  203. data/spec/api/transfers_api_spec.rb +661 -0
  204. data/spec/api/users_management_api_spec.rb +177 -0
  205. data/spec/api/wealth_api_spec.rb +246 -0
  206. data/spec/api_client_spec.rb +216 -0
  207. data/spec/configuration_spec.rb +32 -0
  208. data/spec/models/access_spec.rb +56 -0
  209. data/spec/models/account_log_spec.rb +74 -0
  210. data/spec/models/account_spec.rb +134 -0
  211. data/spec/models/account_type_spec.rb +74 -0
  212. data/spec/models/alert_spec.rb +74 -0
  213. data/spec/models/bank_category_spec.rb +38 -0
  214. data/spec/models/bank_spec.rb +92 -0
  215. data/spec/models/category_spec.rb +86 -0
  216. data/spec/models/client_spec.rb +92 -0
  217. data/spec/models/connection_contact_spec.rb +86 -0
  218. data/spec/models/connection_log_spec.rb +110 -0
  219. data/spec/models/connection_spec.rb +80 -0
  220. data/spec/models/connector_logo_spec.rb +50 -0
  221. data/spec/models/currency_spec.rb +44 -0
  222. data/spec/models/device_spec.rb +68 -0
  223. data/spec/models/document_spec.rb +158 -0
  224. data/spec/models/document_type_spec.rb +44 -0
  225. data/spec/models/field_spec.rb +74 -0
  226. data/spec/models/file_spec.rb +50 -0
  227. data/spec/models/group_spec.rb +74 -0
  228. data/spec/models/hash_table_spec.rb +50 -0
  229. data/spec/models/inline_response_200_10_spec.rb +32 -0
  230. data/spec/models/inline_response_200_11_spec.rb +32 -0
  231. data/spec/models/inline_response_200_12_spec.rb +32 -0
  232. data/spec/models/inline_response_200_13_spec.rb +32 -0
  233. data/spec/models/inline_response_200_14_spec.rb +32 -0
  234. data/spec/models/inline_response_200_15_spec.rb +32 -0
  235. data/spec/models/inline_response_200_16_spec.rb +32 -0
  236. data/spec/models/inline_response_200_17_spec.rb +32 -0
  237. data/spec/models/inline_response_200_18_spec.rb +32 -0
  238. data/spec/models/inline_response_200_19_spec.rb +32 -0
  239. data/spec/models/inline_response_200_1_spec.rb +38 -0
  240. data/spec/models/inline_response_200_20_spec.rb +32 -0
  241. data/spec/models/inline_response_200_21_spec.rb +32 -0
  242. data/spec/models/inline_response_200_22_spec.rb +32 -0
  243. data/spec/models/inline_response_200_23_spec.rb +32 -0
  244. data/spec/models/inline_response_200_24_spec.rb +32 -0
  245. data/spec/models/inline_response_200_25_spec.rb +32 -0
  246. data/spec/models/inline_response_200_26_spec.rb +32 -0
  247. data/spec/models/inline_response_200_27_spec.rb +32 -0
  248. data/spec/models/inline_response_200_28_spec.rb +32 -0
  249. data/spec/models/inline_response_200_29_spec.rb +32 -0
  250. data/spec/models/inline_response_200_2_spec.rb +44 -0
  251. data/spec/models/inline_response_200_30_spec.rb +32 -0
  252. data/spec/models/inline_response_200_31_spec.rb +32 -0
  253. data/spec/models/inline_response_200_32_spec.rb +32 -0
  254. data/spec/models/inline_response_200_33_spec.rb +32 -0
  255. data/spec/models/inline_response_200_3_spec.rb +44 -0
  256. data/spec/models/inline_response_200_4_spec.rb +56 -0
  257. data/spec/models/inline_response_200_5_spec.rb +38 -0
  258. data/spec/models/inline_response_200_6_spec.rb +44 -0
  259. data/spec/models/inline_response_200_7_spec.rb +32 -0
  260. data/spec/models/inline_response_200_8_spec.rb +32 -0
  261. data/spec/models/inline_response_200_9_spec.rb +32 -0
  262. data/spec/models/inline_response_200_spec.rb +32 -0
  263. data/spec/models/investment_spec.rb +176 -0
  264. data/spec/models/investment_value_spec.rb +62 -0
  265. data/spec/models/invite_spec.rb +62 -0
  266. data/spec/models/locked_user_spec.rb +44 -0
  267. data/spec/models/oidc_whitelist_spec.rb +38 -0
  268. data/spec/models/pocket_spec.rb +86 -0
  269. data/spec/models/profile_spec.rb +78 -0
  270. data/spec/models/project_spec.rb +80 -0
  271. data/spec/models/project_type_spec.rb +44 -0
  272. data/spec/models/recipient_spec.rb +116 -0
  273. data/spec/models/security_spec.rb +56 -0
  274. data/spec/models/subscription_spec.rb +92 -0
  275. data/spec/models/terms_of_service_spec.rb +56 -0
  276. data/spec/models/transaction_information_spec.rb +50 -0
  277. data/spec/models/transaction_spec.rb +182 -0
  278. data/spec/models/transactions_cluster_spec.rb +80 -0
  279. data/spec/models/transfer_spec.rb +122 -0
  280. data/spec/models/user_alert_spec.rb +110 -0
  281. data/spec/models/user_spec.rb +48 -0
  282. data/spec/models/webhook_spec.rb +74 -0
  283. data/spec/spec_helper.rb +51 -0
  284. metadata +599 -0
@@ -0,0 +1,279 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+ require 'json'
5
+
6
+ # Unit tests for BudgeaClient::ConnectionsApi
7
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
8
+ # Please update as you see appropriate
9
+ describe 'ConnectionsApi' do
10
+ before do
11
+ # run before each test
12
+ @instance = BudgeaClient::ConnectionsApi.new
13
+ end
14
+
15
+ after do
16
+ # run after each test
17
+ end
18
+
19
+ describe 'test an instance of ConnectionsApi' do
20
+ it 'should create an instance of ConnectionsApi' do
21
+ expect(@instance).to be_instance_of(BudgeaClient::ConnectionsApi)
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_connections_get
38
+ # Get a subset of id_connection with the largest diversity of account
39
+ # By default, it selects a set of 3 connections.<br><br>
40
+ # @param id_bank
41
+ # @param [Hash] opts the optional parameters
42
+ # @option opts [Integer] :range the length of the connection subset
43
+ # @option opts [Integer] :type to target a specific account type which will be
44
+ # @option opts [String] :expand
45
+ # @return [InlineResponse2008]
46
+ describe 'banks_id_bank_connections_get test' do
47
+ it "should work" do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ # unit tests for connections_get
53
+ # Get connections without a user
54
+ #
55
+ # @param [Hash] opts the optional parameters
56
+ # @option opts [String] :expand
57
+ # @return [InlineResponse2008]
58
+ describe 'connections_get test' do
59
+ it "should work" do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ # unit tests for connectors_get
65
+ # Get list of connectors
66
+ #
67
+ # @param [Hash] opts the optional parameters
68
+ # @option opts [String] :expand
69
+ # @return [InlineResponse20012]
70
+ describe 'connectors_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 connectors_post
77
+ # Request a new connector
78
+ # Send a request to add a new connector<br><br>
79
+ # @param name Name of the bank or provider
80
+ # @param login Users login
81
+ # @param password Users password
82
+ # @param [Hash] opts the optional parameters
83
+ # @option opts [String] :api Name of the API
84
+ # @option opts [String] :url Url of the bank
85
+ # @option opts [String] :email Email of the user
86
+ # @option opts [String] :types Type of connector, eg. banks or providers
87
+ # @option opts [String] :comment Optionnal comment
88
+ # @option opts [BOOLEAN] :sendmail if set, send an email to user
89
+ # @option opts [String] :expand
90
+ # @return [Bank]
91
+ describe 'connectors_post test' do
92
+ it "should work" do
93
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
94
+ end
95
+ end
96
+
97
+ # unit tests for logs_get
98
+ # Get connection logs
99
+ # Get logs about connections.<br><br>
100
+ # @param [Hash] opts the optional parameters
101
+ # @option opts [Integer] :limit limit number of results
102
+ # @option opts [Integer] :offset offset of first result
103
+ # @option opts [Date] :min_date minimal date
104
+ # @option opts [Date] :max_date maximum date
105
+ # @option opts [Integer] :state state of user
106
+ # @option opts [String] :period period to group logs
107
+ # @option opts [Integer] :id_user ID of a user
108
+ # @option opts [Integer] :id_connection ID of a connection
109
+ # @option opts [Integer] :id_bank ID of a bank
110
+ # @option opts [BOOLEAN] :charged consider only logs for charged banks
111
+ # @option opts [String] :expand
112
+ # @return [InlineResponse20015]
113
+ describe 'logs_get test' do
114
+ it "should work" do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ # unit tests for providers_get
120
+ # Get list of connectors
121
+ #
122
+ # @param [Hash] opts the optional parameters
123
+ # @option opts [String] :expand
124
+ # @return [InlineResponse2007]
125
+ describe 'providers_get test' do
126
+ it "should work" do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ # unit tests for users_id_user_connections_delete
132
+ # Delete all connections
133
+ #
134
+ # @param id_user Hint: you can use 'me' or 'all'
135
+ # @param [Hash] opts the optional parameters
136
+ # @option opts [String] :expand
137
+ # @return [Connection]
138
+ describe 'users_id_user_connections_delete test' do
139
+ it "should work" do
140
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
141
+ end
142
+ end
143
+
144
+ # unit tests for users_id_user_connections_get
145
+ # Get connections
146
+ #
147
+ # @param id_user Hint: you can use 'me' or 'all'
148
+ # @param [Hash] opts the optional parameters
149
+ # @option opts [String] :expand
150
+ # @return [InlineResponse2008]
151
+ describe 'users_id_user_connections_get test' do
152
+ it "should work" do
153
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
154
+ end
155
+ end
156
+
157
+ # unit tests for users_id_user_connections_id_connection_delete
158
+ # Delete a connection.
159
+ # This endpoint deletes a connection and all related accounts and transactions.<br><br>
160
+ # @param id_user Hint: you can use 'me' or 'all'
161
+ # @param id_connection
162
+ # @param [Hash] opts the optional parameters
163
+ # @option opts [String] :expand
164
+ # @return [Connection]
165
+ describe 'users_id_user_connections_id_connection_delete test' do
166
+ it "should work" do
167
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
168
+ end
169
+ end
170
+
171
+ # unit tests for users_id_user_connections_id_connection_informations_get
172
+ # Get connection additionnal informations
173
+ # <br><br>
174
+ # @param id_user Hint: you can use 'me' or 'all'
175
+ # @param id_connection
176
+ # @param [Hash] opts the optional parameters
177
+ # @option opts [String] :expand
178
+ # @return [InlineResponse2008]
179
+ describe 'users_id_user_connections_id_connection_informations_get test' do
180
+ it "should work" do
181
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
182
+ end
183
+ end
184
+
185
+ # unit tests for users_id_user_connections_id_connection_logs_get
186
+ # Get connection logs
187
+ # Get logs about connections.<br><br>
188
+ # @param id_user Hint: you can use 'me' or 'all'
189
+ # @param id_connection
190
+ # @param [Hash] opts the optional parameters
191
+ # @option opts [Integer] :limit limit number of results
192
+ # @option opts [Integer] :offset offset of first result
193
+ # @option opts [Date] :min_date minimal date
194
+ # @option opts [Date] :max_date maximum date
195
+ # @option opts [Integer] :state state of user
196
+ # @option opts [String] :period period to group logs
197
+ # @option opts [Integer] :id_user2 ID of a user
198
+ # @option opts [Integer] :id_connection2 ID of a connection
199
+ # @option opts [Integer] :id_bank ID of a bank
200
+ # @option opts [BOOLEAN] :charged consider only logs for charged banks
201
+ # @option opts [String] :expand
202
+ # @return [InlineResponse20015]
203
+ describe 'users_id_user_connections_id_connection_logs_get test' do
204
+ it "should work" do
205
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
206
+ end
207
+ end
208
+
209
+ # unit tests for users_id_user_connections_id_connection_post
210
+ # Update a connection.
211
+ # 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>
212
+ # @param id_user Hint: you can use 'me' or 'all'
213
+ # @param id_connection
214
+ # @param [Hash] opts the optional parameters
215
+ # @option opts [BOOLEAN] :active Set if the connection synchronisation is active
216
+ # @option opts [DateTime] :expire Set expiration of the connection to this date
217
+ # @option opts [String] :login Set login to this new login
218
+ # @option opts [String] :password Set password to this new password
219
+ # @option opts [String] :expand
220
+ # @return [Connection]
221
+ describe 'users_id_user_connections_id_connection_post test' do
222
+ it "should work" do
223
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
224
+ end
225
+ end
226
+
227
+ # unit tests for users_id_user_connections_id_connection_put
228
+ # Force synchronisation of a connection.
229
+ # 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>
230
+ # @param id_user Hint: you can use 'me' or 'all'
231
+ # @param id_connection
232
+ # @param [Hash] opts the optional parameters
233
+ # @option opts [String] :expand
234
+ # @return [Connection]
235
+ describe 'users_id_user_connections_id_connection_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 users_id_user_connections_post
242
+ # Add a new connection.
243
+ # 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>
244
+ # @param id_user Hint: you can use 'me' or 'all'
245
+ # @param [Hash] opts the optional parameters
246
+ # @option opts [Integer] :id_bank ID of the bank
247
+ # @option opts [Integer] :id_provider ID of the provider
248
+ # @option opts [String] :expand
249
+ # @return [Connection]
250
+ describe 'users_id_user_connections_post test' do
251
+ it "should work" do
252
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
253
+ end
254
+ end
255
+
256
+ # unit tests for users_id_user_logs_get
257
+ # Get connection logs
258
+ # Get logs about connections.<br><br>
259
+ # @param id_user Hint: you can use 'me' or 'all'
260
+ # @param [Hash] opts the optional parameters
261
+ # @option opts [Integer] :limit limit number of results
262
+ # @option opts [Integer] :offset offset of first result
263
+ # @option opts [Date] :min_date minimal date
264
+ # @option opts [Date] :max_date maximum date
265
+ # @option opts [Integer] :state state of user
266
+ # @option opts [String] :period period to group logs
267
+ # @option opts [Integer] :id_user2 ID of a user
268
+ # @option opts [Integer] :id_connection ID of a connection
269
+ # @option opts [Integer] :id_bank ID of a bank
270
+ # @option opts [BOOLEAN] :charged consider only logs for charged banks
271
+ # @option opts [String] :expand
272
+ # @return [InlineResponse20015]
273
+ describe 'users_id_user_logs_get test' do
274
+ it "should work" do
275
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
276
+ end
277
+ end
278
+
279
+ end
@@ -0,0 +1,1557 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+ require 'json'
5
+
6
+ # Unit tests for BudgeaClient::DocumentsApi
7
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
8
+ # Please update as you see appropriate
9
+ describe 'DocumentsApi' do
10
+ before do
11
+ # run before each test
12
+ @instance = BudgeaClient::DocumentsApi.new
13
+ end
14
+
15
+ after do
16
+ # run after each test
17
+ end
18
+
19
+ describe 'test an instance of DocumentsApi' do
20
+ it 'should create an instance of DocumentsApi' do
21
+ expect(@instance).to be_instance_of(BudgeaClient::DocumentsApi)
22
+ end
23
+ end
24
+
25
+ # unit tests for documenttypes_get
26
+ # Get document types
27
+ #
28
+ # @param [Hash] opts the optional parameters
29
+ # @option opts [String] :expand
30
+ # @return [InlineResponse20013]
31
+ describe 'documenttypes_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 documenttypes_id_documenttype_put
38
+ # Edit a document type
39
+ # Change value of a document type.<br><br>
40
+ # @param id_documenttype
41
+ # @param name Displayed name of document type
42
+ # @param attacheable If true, documents of this type can be attached to a transaction, and have amount related meta-data
43
+ # @param [Hash] opts the optional parameters
44
+ # @option opts [String] :expand
45
+ # @return [DocumentType]
46
+ describe 'documenttypes_id_documenttype_put test' do
47
+ it "should work" do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ # unit tests for ocr_post
53
+ # Post an image with OCR
54
+ # Post an image and apply OCR on it to obtain found meta-data.<br><br>
55
+ # @param file File of the document
56
+ # @param [Hash] opts the optional parameters
57
+ # @option opts [Integer] :id_transaction Transaction used to help OCR to find data
58
+ # @option opts [String] :name Name of the document
59
+ # @return [nil]
60
+ describe 'ocr_post test' do
61
+ it "should work" do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
66
+ # unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_delete
67
+ # Delete documents
68
+ #
69
+ # @param id_user Hint: you can use 'me' or 'all'
70
+ # @param id_account
71
+ # @param id_transaction
72
+ # @param [Hash] opts the optional parameters
73
+ # @option opts [String] :expand
74
+ # @return [Document]
75
+ describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_delete test' do
76
+ it "should work" do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ # unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_get
82
+ # Get documents
83
+ # Get list of documents<br><br>
84
+ # @param id_user Hint: you can use 'me' or 'all'
85
+ # @param id_account
86
+ # @param id_transaction
87
+ # @param [Hash] opts the optional parameters
88
+ # @option opts [Integer] :limit limit number of results
89
+ # @option opts [Integer] :offset offset of first result
90
+ # @option opts [Date] :min_date minimal (inclusive) date
91
+ # @option opts [Date] :max_date maximum (inclusive) date
92
+ # @option opts [Float] :min_amount minimal (inclusive) amount
93
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
94
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
95
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
96
+ # @option opts [Integer] :id_type filter with a document type
97
+ # @option opts [String] :expand
98
+ # @return [InlineResponse20026]
99
+ describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_get test' do
100
+ it "should work" do
101
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
+ end
103
+ end
104
+
105
+ # unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_delete
106
+ # Delete a document
107
+ #
108
+ # @param id_user Hint: you can use 'me' or 'all'
109
+ # @param id_account
110
+ # @param id_transaction
111
+ # @param id_document
112
+ # @param [Hash] opts the optional parameters
113
+ # @option opts [String] :expand
114
+ # @return [Document]
115
+ describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_delete test' do
116
+ it "should work" do
117
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
+ end
119
+ end
120
+
121
+ # unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_put
122
+ # Edit a document
123
+ # Edit meta-data of a specific document.
124
+ # @param id_user Hint: you can use 'me' or 'all'
125
+ # @param id_account
126
+ # @param id_transaction
127
+ # @param id_document
128
+ # @param [Hash] opts the optional parameters
129
+ # @option opts [Integer] :id_type Type of this document
130
+ # @option opts [Integer] :id_category Related category
131
+ # @option opts [Date] :date Date of document
132
+ # @option opts [Date] :duedate Due date of document
133
+ # @option opts [Float] :total_amount Taxed amount
134
+ # @option opts [Float] :untaxed_amount Untaxed amount
135
+ # @option opts [Float] :vat VAT amount
136
+ # @option opts [Integer] :income Is an income or an outcome
137
+ # @option opts [Integer] :readonly Is this file readonly
138
+ # @option opts [File] :file File of the document
139
+ # @option opts [String] :name Name of the document
140
+ # @option opts [String] :expand
141
+ # @return [Document]
142
+ describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_id_document_put test' do
143
+ it "should work" do
144
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
145
+ end
146
+ end
147
+
148
+ # unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_post
149
+ # Add a new document
150
+ # Add a new document<br><br>
151
+ # @param id_user Hint: you can use 'me' or 'all'
152
+ # @param id_account
153
+ # @param id_transaction
154
+ # @param date Date of document
155
+ # @param duedate Due date of document
156
+ # @param [Hash] opts the optional parameters
157
+ # @option opts [Integer] :id_type Type of this document
158
+ # @option opts [Integer] :id_category Related category
159
+ # @option opts [Float] :total_amount Taxed amount
160
+ # @option opts [Float] :untaxed_amount Untaxed amount
161
+ # @option opts [Float] :vat VAT amount
162
+ # @option opts [BOOLEAN] :income Is an income or an outcome
163
+ # @option opts [BOOLEAN] :readonly Is this file readonly
164
+ # @option opts [File] :file File of the document
165
+ # @option opts [Integer] :id_ocr Related OCR process
166
+ # @option opts [String] :name Name of the document
167
+ # @option opts [String] :expand
168
+ # @return [Document]
169
+ describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_post test' do
170
+ it "should work" do
171
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
172
+ end
173
+ end
174
+
175
+ # unit tests for users_id_user_accounts_id_account_transactions_id_transaction_documents_put
176
+ # Attach an existing document to a transaction or a transactions_cluster
177
+ #
178
+ # @param id_user Hint: you can use 'me' or 'all'
179
+ # @param id_account
180
+ # @param id_transaction
181
+ # @param id_document id of the document you want to attach the file to
182
+ # @param [Hash] opts the optional parameters
183
+ # @option opts [String] :expand
184
+ # @return [Document]
185
+ describe 'users_id_user_accounts_id_account_transactions_id_transaction_documents_put test' do
186
+ it "should work" do
187
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
+ end
189
+ end
190
+
191
+ # unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_delete
192
+ # Delete documents
193
+ #
194
+ # @param id_user Hint: you can use 'me' or 'all'
195
+ # @param id_account
196
+ # @param id_transactions_cluster
197
+ # @param [Hash] opts the optional parameters
198
+ # @option opts [String] :expand
199
+ # @return [Document]
200
+ describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_delete test' do
201
+ it "should work" do
202
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
203
+ end
204
+ end
205
+
206
+ # unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get
207
+ # Get documents
208
+ # Get list of documents<br><br>
209
+ # @param id_user Hint: you can use 'me' or 'all'
210
+ # @param id_account
211
+ # @param id_transactions_cluster
212
+ # @param [Hash] opts the optional parameters
213
+ # @option opts [Integer] :limit limit number of results
214
+ # @option opts [Integer] :offset offset of first result
215
+ # @option opts [Date] :min_date minimal (inclusive) date
216
+ # @option opts [Date] :max_date maximum (inclusive) date
217
+ # @option opts [Float] :min_amount minimal (inclusive) amount
218
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
219
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
220
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
221
+ # @option opts [Integer] :id_type filter with a document type
222
+ # @option opts [String] :expand
223
+ # @return [InlineResponse20026]
224
+ describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get test' do
225
+ it "should work" do
226
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
227
+ end
228
+ end
229
+
230
+ # unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_delete
231
+ # Delete a document
232
+ #
233
+ # @param id_user Hint: you can use 'me' or 'all'
234
+ # @param id_account
235
+ # @param id_transactions_cluster
236
+ # @param id_document
237
+ # @param [Hash] opts the optional parameters
238
+ # @option opts [String] :expand
239
+ # @return [Document]
240
+ describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_delete test' do
241
+ it "should work" do
242
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
243
+ end
244
+ end
245
+
246
+ # unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_put
247
+ # Edit a document
248
+ # Edit meta-data of a specific document.
249
+ # @param id_user Hint: you can use 'me' or 'all'
250
+ # @param id_account
251
+ # @param id_transactions_cluster
252
+ # @param id_document
253
+ # @param [Hash] opts the optional parameters
254
+ # @option opts [Integer] :id_type Type of this document
255
+ # @option opts [Integer] :id_category Related category
256
+ # @option opts [Date] :date Date of document
257
+ # @option opts [Date] :duedate Due date of document
258
+ # @option opts [Float] :total_amount Taxed amount
259
+ # @option opts [Float] :untaxed_amount Untaxed amount
260
+ # @option opts [Float] :vat VAT amount
261
+ # @option opts [Integer] :income Is an income or an outcome
262
+ # @option opts [Integer] :readonly Is this file readonly
263
+ # @option opts [File] :file File of the document
264
+ # @option opts [String] :name Name of the document
265
+ # @option opts [String] :expand
266
+ # @return [Document]
267
+ describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_put test' do
268
+ it "should work" do
269
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
270
+ end
271
+ end
272
+
273
+ # unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_post
274
+ # Add a new document
275
+ # Add a new document<br><br>
276
+ # @param id_user Hint: you can use 'me' or 'all'
277
+ # @param id_account
278
+ # @param id_transactions_cluster
279
+ # @param date Date of document
280
+ # @param duedate Due date of document
281
+ # @param [Hash] opts the optional parameters
282
+ # @option opts [Integer] :id_type Type of this document
283
+ # @option opts [Integer] :id_category Related category
284
+ # @option opts [Float] :total_amount Taxed amount
285
+ # @option opts [Float] :untaxed_amount Untaxed amount
286
+ # @option opts [Float] :vat VAT amount
287
+ # @option opts [BOOLEAN] :income Is an income or an outcome
288
+ # @option opts [BOOLEAN] :readonly Is this file readonly
289
+ # @option opts [File] :file File of the document
290
+ # @option opts [Integer] :id_ocr Related OCR process
291
+ # @option opts [String] :name Name of the document
292
+ # @option opts [String] :expand
293
+ # @return [Document]
294
+ describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_post test' do
295
+ it "should work" do
296
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
297
+ end
298
+ end
299
+
300
+ # unit tests for users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_put
301
+ # Attach an existing document to a transaction or a transactions_cluster
302
+ #
303
+ # @param id_user Hint: you can use 'me' or 'all'
304
+ # @param id_account
305
+ # @param id_transactions_cluster
306
+ # @param id_document id of the document you want to attach the file to
307
+ # @param [Hash] opts the optional parameters
308
+ # @option opts [String] :expand
309
+ # @return [Document]
310
+ describe 'users_id_user_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_put test' do
311
+ it "should work" do
312
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
313
+ end
314
+ end
315
+
316
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_delete
317
+ # Delete documents
318
+ #
319
+ # @param id_user Hint: you can use 'me' or 'all'
320
+ # @param id_connection
321
+ # @param id_account
322
+ # @param id_transaction
323
+ # @param [Hash] opts the optional parameters
324
+ # @option opts [String] :expand
325
+ # @return [Document]
326
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_delete test' do
327
+ it "should work" do
328
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
329
+ end
330
+ end
331
+
332
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get
333
+ # Get documents
334
+ # Get list of documents<br><br>
335
+ # @param id_user Hint: you can use 'me' or 'all'
336
+ # @param id_connection
337
+ # @param id_account
338
+ # @param id_transaction
339
+ # @param [Hash] opts the optional parameters
340
+ # @option opts [Integer] :limit limit number of results
341
+ # @option opts [Integer] :offset offset of first result
342
+ # @option opts [Date] :min_date minimal (inclusive) date
343
+ # @option opts [Date] :max_date maximum (inclusive) date
344
+ # @option opts [Float] :min_amount minimal (inclusive) amount
345
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
346
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
347
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
348
+ # @option opts [Integer] :id_type filter with a document type
349
+ # @option opts [String] :expand
350
+ # @return [InlineResponse20026]
351
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_get test' do
352
+ it "should work" do
353
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
354
+ end
355
+ end
356
+
357
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_id_document_delete
358
+ # Delete a document
359
+ #
360
+ # @param id_user Hint: you can use 'me' or 'all'
361
+ # @param id_connection
362
+ # @param id_account
363
+ # @param id_transaction
364
+ # @param id_document
365
+ # @param [Hash] opts the optional parameters
366
+ # @option opts [String] :expand
367
+ # @return [Document]
368
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_id_document_delete test' do
369
+ it "should work" do
370
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
371
+ end
372
+ end
373
+
374
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_id_document_put
375
+ # Edit a document
376
+ # Edit meta-data of a specific document.
377
+ # @param id_user Hint: you can use 'me' or 'all'
378
+ # @param id_connection
379
+ # @param id_account
380
+ # @param id_transaction
381
+ # @param id_document
382
+ # @param [Hash] opts the optional parameters
383
+ # @option opts [Integer] :id_type Type of this document
384
+ # @option opts [Integer] :id_category Related category
385
+ # @option opts [Date] :date Date of document
386
+ # @option opts [Date] :duedate Due date of document
387
+ # @option opts [Float] :total_amount Taxed amount
388
+ # @option opts [Float] :untaxed_amount Untaxed amount
389
+ # @option opts [Float] :vat VAT amount
390
+ # @option opts [Integer] :income Is an income or an outcome
391
+ # @option opts [Integer] :readonly Is this file readonly
392
+ # @option opts [File] :file File of the document
393
+ # @option opts [String] :name Name of the document
394
+ # @option opts [String] :expand
395
+ # @return [Document]
396
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_id_document_put test' do
397
+ it "should work" do
398
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
399
+ end
400
+ end
401
+
402
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_post
403
+ # Add a new document
404
+ # Add a new document<br><br>
405
+ # @param id_user Hint: you can use 'me' or 'all'
406
+ # @param id_connection
407
+ # @param id_account
408
+ # @param id_transaction
409
+ # @param date Date of document
410
+ # @param duedate Due date of document
411
+ # @param [Hash] opts the optional parameters
412
+ # @option opts [Integer] :id_type Type of this document
413
+ # @option opts [Integer] :id_category Related category
414
+ # @option opts [Float] :total_amount Taxed amount
415
+ # @option opts [Float] :untaxed_amount Untaxed amount
416
+ # @option opts [Float] :vat VAT amount
417
+ # @option opts [BOOLEAN] :income Is an income or an outcome
418
+ # @option opts [BOOLEAN] :readonly Is this file readonly
419
+ # @option opts [File] :file File of the document
420
+ # @option opts [Integer] :id_ocr Related OCR process
421
+ # @option opts [String] :name Name of the document
422
+ # @option opts [String] :expand
423
+ # @return [Document]
424
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_post test' do
425
+ it "should work" do
426
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
427
+ end
428
+ end
429
+
430
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_put
431
+ # Attach an existing document to a transaction or a transactions_cluster
432
+ #
433
+ # @param id_user Hint: you can use 'me' or 'all'
434
+ # @param id_connection
435
+ # @param id_account
436
+ # @param id_transaction
437
+ # @param id_document id of the document you want to attach the file to
438
+ # @param [Hash] opts the optional parameters
439
+ # @option opts [String] :expand
440
+ # @return [Document]
441
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_documents_put test' do
442
+ it "should work" do
443
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
444
+ end
445
+ end
446
+
447
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_delete
448
+ # Delete documents
449
+ #
450
+ # @param id_user Hint: you can use 'me' or 'all'
451
+ # @param id_connection
452
+ # @param id_account
453
+ # @param id_transactions_cluster
454
+ # @param [Hash] opts the optional parameters
455
+ # @option opts [String] :expand
456
+ # @return [Document]
457
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_delete test' do
458
+ it "should work" do
459
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
460
+ end
461
+ end
462
+
463
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get
464
+ # Get documents
465
+ # Get list of documents<br><br>
466
+ # @param id_user Hint: you can use 'me' or 'all'
467
+ # @param id_connection
468
+ # @param id_account
469
+ # @param id_transactions_cluster
470
+ # @param [Hash] opts the optional parameters
471
+ # @option opts [Integer] :limit limit number of results
472
+ # @option opts [Integer] :offset offset of first result
473
+ # @option opts [Date] :min_date minimal (inclusive) date
474
+ # @option opts [Date] :max_date maximum (inclusive) date
475
+ # @option opts [Float] :min_amount minimal (inclusive) amount
476
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
477
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
478
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
479
+ # @option opts [Integer] :id_type filter with a document type
480
+ # @option opts [String] :expand
481
+ # @return [InlineResponse20026]
482
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_get test' do
483
+ it "should work" do
484
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
485
+ end
486
+ end
487
+
488
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_delete
489
+ # Delete a document
490
+ #
491
+ # @param id_user Hint: you can use 'me' or 'all'
492
+ # @param id_connection
493
+ # @param id_account
494
+ # @param id_transactions_cluster
495
+ # @param id_document
496
+ # @param [Hash] opts the optional parameters
497
+ # @option opts [String] :expand
498
+ # @return [Document]
499
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_delete test' do
500
+ it "should work" do
501
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
502
+ end
503
+ end
504
+
505
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_put
506
+ # Edit a document
507
+ # Edit meta-data of a specific document.
508
+ # @param id_user Hint: you can use 'me' or 'all'
509
+ # @param id_connection
510
+ # @param id_account
511
+ # @param id_transactions_cluster
512
+ # @param id_document
513
+ # @param [Hash] opts the optional parameters
514
+ # @option opts [Integer] :id_type Type of this document
515
+ # @option opts [Integer] :id_category Related category
516
+ # @option opts [Date] :date Date of document
517
+ # @option opts [Date] :duedate Due date of document
518
+ # @option opts [Float] :total_amount Taxed amount
519
+ # @option opts [Float] :untaxed_amount Untaxed amount
520
+ # @option opts [Float] :vat VAT amount
521
+ # @option opts [Integer] :income Is an income or an outcome
522
+ # @option opts [Integer] :readonly Is this file readonly
523
+ # @option opts [File] :file File of the document
524
+ # @option opts [String] :name Name of the document
525
+ # @option opts [String] :expand
526
+ # @return [Document]
527
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_id_document_put test' do
528
+ it "should work" do
529
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
530
+ end
531
+ end
532
+
533
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_post
534
+ # Add a new document
535
+ # Add a new document<br><br>
536
+ # @param id_user Hint: you can use 'me' or 'all'
537
+ # @param id_connection
538
+ # @param id_account
539
+ # @param id_transactions_cluster
540
+ # @param date Date of document
541
+ # @param duedate Due date of document
542
+ # @param [Hash] opts the optional parameters
543
+ # @option opts [Integer] :id_type Type of this document
544
+ # @option opts [Integer] :id_category Related category
545
+ # @option opts [Float] :total_amount Taxed amount
546
+ # @option opts [Float] :untaxed_amount Untaxed amount
547
+ # @option opts [Float] :vat VAT amount
548
+ # @option opts [BOOLEAN] :income Is an income or an outcome
549
+ # @option opts [BOOLEAN] :readonly Is this file readonly
550
+ # @option opts [File] :file File of the document
551
+ # @option opts [Integer] :id_ocr Related OCR process
552
+ # @option opts [String] :name Name of the document
553
+ # @option opts [String] :expand
554
+ # @return [Document]
555
+ describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_post test' do
556
+ it "should work" do
557
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
558
+ end
559
+ end
560
+
561
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_id_transactions_cluster_documents_put
562
+ # Attach an existing document to a transaction or a transactions_cluster
563
+ #
564
+ # @param id_user Hint: you can use 'me' or 'all'
565
+ # @param id_connection
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_connections_id_connection_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_id_connection_documents_delete
579
+ # Delete documents
580
+ #
581
+ # @param id_user Hint: you can use 'me' or 'all'
582
+ # @param id_connection
583
+ # @param [Hash] opts the optional parameters
584
+ # @option opts [String] :expand
585
+ # @return [Document]
586
+ describe 'users_id_user_connections_id_connection_documents_delete test' do
587
+ it "should work" do
588
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
589
+ end
590
+ end
591
+
592
+ # unit tests for users_id_user_connections_id_connection_documents_get
593
+ # Get documents
594
+ # Get list of documents<br><br>
595
+ # @param id_user Hint: you can use 'me' or 'all'
596
+ # @param id_connection
597
+ # @param [Hash] opts the optional parameters
598
+ # @option opts [Integer] :limit limit number of results
599
+ # @option opts [Integer] :offset offset of first result
600
+ # @option opts [Date] :min_date minimal (inclusive) date
601
+ # @option opts [Date] :max_date maximum (inclusive) date
602
+ # @option opts [Float] :min_amount minimal (inclusive) amount
603
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
604
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
605
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
606
+ # @option opts [Integer] :id_type filter with a document type
607
+ # @option opts [String] :expand
608
+ # @return [InlineResponse20026]
609
+ describe 'users_id_user_connections_id_connection_documents_get test' do
610
+ it "should work" do
611
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
612
+ end
613
+ end
614
+
615
+ # unit tests for users_id_user_connections_id_connection_documents_id_document_delete
616
+ # Delete a document
617
+ #
618
+ # @param id_user Hint: you can use 'me' or 'all'
619
+ # @param id_connection
620
+ # @param id_document
621
+ # @param [Hash] opts the optional parameters
622
+ # @option opts [String] :expand
623
+ # @return [Document]
624
+ describe 'users_id_user_connections_id_connection_documents_id_document_delete test' do
625
+ it "should work" do
626
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
627
+ end
628
+ end
629
+
630
+ # unit tests for users_id_user_connections_id_connection_documents_id_document_put
631
+ # Edit a document
632
+ # Edit meta-data of a specific document.
633
+ # @param id_user Hint: you can use 'me' or 'all'
634
+ # @param id_connection
635
+ # @param id_document
636
+ # @param [Hash] opts the optional parameters
637
+ # @option opts [Integer] :id_type Type of this document
638
+ # @option opts [Integer] :id_category Related category
639
+ # @option opts [Date] :date Date of document
640
+ # @option opts [Date] :duedate Due date of document
641
+ # @option opts [Float] :total_amount Taxed amount
642
+ # @option opts [Float] :untaxed_amount Untaxed amount
643
+ # @option opts [Float] :vat VAT amount
644
+ # @option opts [Integer] :income Is an income or an outcome
645
+ # @option opts [Integer] :readonly Is this file readonly
646
+ # @option opts [File] :file File of the document
647
+ # @option opts [String] :name Name of the document
648
+ # @option opts [String] :expand
649
+ # @return [Document]
650
+ describe 'users_id_user_connections_id_connection_documents_id_document_put test' do
651
+ it "should work" do
652
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
653
+ end
654
+ end
655
+
656
+ # unit tests for users_id_user_connections_id_connection_documents_post
657
+ # Add a new document
658
+ # Add a new document<br><br>
659
+ # @param id_user Hint: you can use 'me' or 'all'
660
+ # @param id_connection
661
+ # @param date Date of document
662
+ # @param duedate Due date of document
663
+ # @param [Hash] opts the optional parameters
664
+ # @option opts [Integer] :id_type Type of this document
665
+ # @option opts [Integer] :id_category Related category
666
+ # @option opts [Float] :total_amount Taxed amount
667
+ # @option opts [Float] :untaxed_amount Untaxed amount
668
+ # @option opts [Float] :vat VAT amount
669
+ # @option opts [BOOLEAN] :income Is an income or an outcome
670
+ # @option opts [BOOLEAN] :readonly Is this file readonly
671
+ # @option opts [File] :file File of the document
672
+ # @option opts [Integer] :id_ocr Related OCR process
673
+ # @option opts [String] :name Name of the document
674
+ # @option opts [String] :expand
675
+ # @return [Document]
676
+ describe 'users_id_user_connections_id_connection_documents_post test' do
677
+ it "should work" do
678
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
679
+ end
680
+ end
681
+
682
+ # unit tests for users_id_user_connections_id_connection_documents_put
683
+ # Attach an existing document to a transaction or a transactions_cluster
684
+ #
685
+ # @param id_user Hint: you can use 'me' or 'all'
686
+ # @param id_connection
687
+ # @param id_document id of the document you want to attach the file to
688
+ # @param [Hash] opts the optional parameters
689
+ # @option opts [String] :expand
690
+ # @return [Document]
691
+ describe 'users_id_user_connections_id_connection_documents_put test' do
692
+ it "should work" do
693
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
694
+ end
695
+ end
696
+
697
+ # unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_delete
698
+ # Delete documents
699
+ #
700
+ # @param id_user Hint: you can use 'me' or 'all'
701
+ # @param id_connection
702
+ # @param id_subscription
703
+ # @param [Hash] opts the optional parameters
704
+ # @option opts [String] :expand
705
+ # @return [Document]
706
+ describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_delete test' do
707
+ it "should work" do
708
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
709
+ end
710
+ end
711
+
712
+ # unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get
713
+ # Get documents
714
+ # Get list of documents<br><br>
715
+ # @param id_user Hint: you can use 'me' or 'all'
716
+ # @param id_connection
717
+ # @param id_subscription
718
+ # @param [Hash] opts the optional parameters
719
+ # @option opts [Integer] :limit limit number of results
720
+ # @option opts [Integer] :offset offset of first result
721
+ # @option opts [Date] :min_date minimal (inclusive) date
722
+ # @option opts [Date] :max_date maximum (inclusive) date
723
+ # @option opts [Float] :min_amount minimal (inclusive) amount
724
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
725
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
726
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
727
+ # @option opts [Integer] :id_type filter with a document type
728
+ # @option opts [String] :expand
729
+ # @return [InlineResponse20026]
730
+ describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_get test' do
731
+ it "should work" do
732
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
733
+ end
734
+ end
735
+
736
+ # unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_delete
737
+ # Delete a document
738
+ #
739
+ # @param id_user Hint: you can use 'me' or 'all'
740
+ # @param id_connection
741
+ # @param id_subscription
742
+ # @param id_document
743
+ # @param [Hash] opts the optional parameters
744
+ # @option opts [String] :expand
745
+ # @return [Document]
746
+ describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_delete test' do
747
+ it "should work" do
748
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
749
+ end
750
+ end
751
+
752
+ # unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_put
753
+ # Edit a document
754
+ # Edit meta-data of a specific document.
755
+ # @param id_user Hint: you can use 'me' or 'all'
756
+ # @param id_connection
757
+ # @param id_subscription
758
+ # @param id_document
759
+ # @param [Hash] opts the optional parameters
760
+ # @option opts [Integer] :id_type Type of this document
761
+ # @option opts [Integer] :id_category Related category
762
+ # @option opts [Date] :date Date of document
763
+ # @option opts [Date] :duedate Due date of document
764
+ # @option opts [Float] :total_amount Taxed amount
765
+ # @option opts [Float] :untaxed_amount Untaxed amount
766
+ # @option opts [Float] :vat VAT amount
767
+ # @option opts [Integer] :income Is an income or an outcome
768
+ # @option opts [Integer] :readonly Is this file readonly
769
+ # @option opts [File] :file File of the document
770
+ # @option opts [String] :name Name of the document
771
+ # @option opts [String] :expand
772
+ # @return [Document]
773
+ describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_id_document_put test' do
774
+ it "should work" do
775
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
776
+ end
777
+ end
778
+
779
+ # unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_post
780
+ # Add a new document
781
+ # Add a new document<br><br>
782
+ # @param id_user Hint: you can use 'me' or 'all'
783
+ # @param id_connection
784
+ # @param id_subscription
785
+ # @param date Date of document
786
+ # @param duedate Due date of document
787
+ # @param [Hash] opts the optional parameters
788
+ # @option opts [Integer] :id_type Type of this document
789
+ # @option opts [Integer] :id_category Related category
790
+ # @option opts [Float] :total_amount Taxed amount
791
+ # @option opts [Float] :untaxed_amount Untaxed amount
792
+ # @option opts [Float] :vat VAT amount
793
+ # @option opts [BOOLEAN] :income Is an income or an outcome
794
+ # @option opts [BOOLEAN] :readonly Is this file readonly
795
+ # @option opts [File] :file File of the document
796
+ # @option opts [Integer] :id_ocr Related OCR process
797
+ # @option opts [String] :name Name of the document
798
+ # @option opts [String] :expand
799
+ # @return [Document]
800
+ describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_post test' do
801
+ it "should work" do
802
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
803
+ end
804
+ end
805
+
806
+ # unit tests for users_id_user_connections_id_connection_subscriptions_id_subscription_documents_put
807
+ # Attach an existing document to a transaction or a transactions_cluster
808
+ #
809
+ # @param id_user Hint: you can use 'me' or 'all'
810
+ # @param id_connection
811
+ # @param id_subscription
812
+ # @param id_document id of the document you want to attach the file to
813
+ # @param [Hash] opts the optional parameters
814
+ # @option opts [String] :expand
815
+ # @return [Document]
816
+ describe 'users_id_user_connections_id_connection_subscriptions_id_subscription_documents_put test' do
817
+ it "should work" do
818
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
819
+ end
820
+ end
821
+
822
+ # unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_delete
823
+ # Delete documents
824
+ #
825
+ # @param id_user Hint: you can use 'me' or 'all'
826
+ # @param id_connection
827
+ # @param id_transaction
828
+ # @param [Hash] opts the optional parameters
829
+ # @option opts [String] :expand
830
+ # @return [Document]
831
+ describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_delete test' do
832
+ it "should work" do
833
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
834
+ end
835
+ end
836
+
837
+ # unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_get
838
+ # Get documents
839
+ # Get list of documents<br><br>
840
+ # @param id_user Hint: you can use 'me' or 'all'
841
+ # @param id_connection
842
+ # @param id_transaction
843
+ # @param [Hash] opts the optional parameters
844
+ # @option opts [Integer] :limit limit number of results
845
+ # @option opts [Integer] :offset offset of first result
846
+ # @option opts [Date] :min_date minimal (inclusive) date
847
+ # @option opts [Date] :max_date maximum (inclusive) date
848
+ # @option opts [Float] :min_amount minimal (inclusive) amount
849
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
850
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
851
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
852
+ # @option opts [Integer] :id_type filter with a document type
853
+ # @option opts [String] :expand
854
+ # @return [InlineResponse20026]
855
+ describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_get test' do
856
+ it "should work" do
857
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
858
+ end
859
+ end
860
+
861
+ # unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_delete
862
+ # Delete a document
863
+ #
864
+ # @param id_user Hint: you can use 'me' or 'all'
865
+ # @param id_connection
866
+ # @param id_transaction
867
+ # @param id_document
868
+ # @param [Hash] opts the optional parameters
869
+ # @option opts [String] :expand
870
+ # @return [Document]
871
+ describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_delete test' do
872
+ it "should work" do
873
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
874
+ end
875
+ end
876
+
877
+ # unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_put
878
+ # Edit a document
879
+ # Edit meta-data of a specific document.
880
+ # @param id_user Hint: you can use 'me' or 'all'
881
+ # @param id_connection
882
+ # @param id_transaction
883
+ # @param id_document
884
+ # @param [Hash] opts the optional parameters
885
+ # @option opts [Integer] :id_type Type of this document
886
+ # @option opts [Integer] :id_category Related category
887
+ # @option opts [Date] :date Date of document
888
+ # @option opts [Date] :duedate Due date of document
889
+ # @option opts [Float] :total_amount Taxed amount
890
+ # @option opts [Float] :untaxed_amount Untaxed amount
891
+ # @option opts [Float] :vat VAT amount
892
+ # @option opts [Integer] :income Is an income or an outcome
893
+ # @option opts [Integer] :readonly Is this file readonly
894
+ # @option opts [File] :file File of the document
895
+ # @option opts [String] :name Name of the document
896
+ # @option opts [String] :expand
897
+ # @return [Document]
898
+ describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_id_document_put test' do
899
+ it "should work" do
900
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
901
+ end
902
+ end
903
+
904
+ # unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_post
905
+ # Add a new document
906
+ # Add a new document<br><br>
907
+ # @param id_user Hint: you can use 'me' or 'all'
908
+ # @param id_connection
909
+ # @param id_transaction
910
+ # @param date Date of document
911
+ # @param duedate Due date of document
912
+ # @param [Hash] opts the optional parameters
913
+ # @option opts [Integer] :id_type Type of this document
914
+ # @option opts [Integer] :id_category Related category
915
+ # @option opts [Float] :total_amount Taxed amount
916
+ # @option opts [Float] :untaxed_amount Untaxed amount
917
+ # @option opts [Float] :vat VAT amount
918
+ # @option opts [BOOLEAN] :income Is an income or an outcome
919
+ # @option opts [BOOLEAN] :readonly Is this file readonly
920
+ # @option opts [File] :file File of the document
921
+ # @option opts [Integer] :id_ocr Related OCR process
922
+ # @option opts [String] :name Name of the document
923
+ # @option opts [String] :expand
924
+ # @return [Document]
925
+ describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_post test' do
926
+ it "should work" do
927
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
928
+ end
929
+ end
930
+
931
+ # unit tests for users_id_user_connections_id_connection_transactions_id_transaction_documents_put
932
+ # Attach an existing document to a transaction or a transactions_cluster
933
+ #
934
+ # @param id_user Hint: you can use 'me' or 'all'
935
+ # @param id_connection
936
+ # @param id_transaction
937
+ # @param id_document id of the document you want to attach the file to
938
+ # @param [Hash] opts the optional parameters
939
+ # @option opts [String] :expand
940
+ # @return [Document]
941
+ describe 'users_id_user_connections_id_connection_transactions_id_transaction_documents_put test' do
942
+ it "should work" do
943
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
944
+ end
945
+ end
946
+
947
+ # unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_delete
948
+ # Delete documents
949
+ #
950
+ # @param id_user Hint: you can use 'me' or 'all'
951
+ # @param id_connection
952
+ # @param id_transactions_cluster
953
+ # @param [Hash] opts the optional parameters
954
+ # @option opts [String] :expand
955
+ # @return [Document]
956
+ describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_delete test' do
957
+ it "should work" do
958
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
959
+ end
960
+ end
961
+
962
+ # unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get
963
+ # Get documents
964
+ # Get list of documents<br><br>
965
+ # @param id_user Hint: you can use 'me' or 'all'
966
+ # @param id_connection
967
+ # @param id_transactions_cluster
968
+ # @param [Hash] opts the optional parameters
969
+ # @option opts [Integer] :limit limit number of results
970
+ # @option opts [Integer] :offset offset of first result
971
+ # @option opts [Date] :min_date minimal (inclusive) date
972
+ # @option opts [Date] :max_date maximum (inclusive) date
973
+ # @option opts [Float] :min_amount minimal (inclusive) amount
974
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
975
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
976
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
977
+ # @option opts [Integer] :id_type filter with a document type
978
+ # @option opts [String] :expand
979
+ # @return [InlineResponse20026]
980
+ describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_get test' do
981
+ it "should work" do
982
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
983
+ end
984
+ end
985
+
986
+ # unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_id_document_delete
987
+ # Delete a document
988
+ #
989
+ # @param id_user Hint: you can use 'me' or 'all'
990
+ # @param id_connection
991
+ # @param id_transactions_cluster
992
+ # @param id_document
993
+ # @param [Hash] opts the optional parameters
994
+ # @option opts [String] :expand
995
+ # @return [Document]
996
+ describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_id_document_delete test' do
997
+ it "should work" do
998
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
999
+ end
1000
+ end
1001
+
1002
+ # unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_id_document_put
1003
+ # Edit a document
1004
+ # Edit meta-data of a specific document.
1005
+ # @param id_user Hint: you can use 'me' or 'all'
1006
+ # @param id_connection
1007
+ # @param id_transactions_cluster
1008
+ # @param id_document
1009
+ # @param [Hash] opts the optional parameters
1010
+ # @option opts [Integer] :id_type Type of this document
1011
+ # @option opts [Integer] :id_category Related category
1012
+ # @option opts [Date] :date Date of document
1013
+ # @option opts [Date] :duedate Due date of document
1014
+ # @option opts [Float] :total_amount Taxed amount
1015
+ # @option opts [Float] :untaxed_amount Untaxed amount
1016
+ # @option opts [Float] :vat VAT amount
1017
+ # @option opts [Integer] :income Is an income or an outcome
1018
+ # @option opts [Integer] :readonly Is this file readonly
1019
+ # @option opts [File] :file File of the document
1020
+ # @option opts [String] :name Name of the document
1021
+ # @option opts [String] :expand
1022
+ # @return [Document]
1023
+ describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_id_document_put test' do
1024
+ it "should work" do
1025
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1026
+ end
1027
+ end
1028
+
1029
+ # unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_post
1030
+ # Add a new document
1031
+ # Add a new document<br><br>
1032
+ # @param id_user Hint: you can use 'me' or 'all'
1033
+ # @param id_connection
1034
+ # @param id_transactions_cluster
1035
+ # @param date Date of document
1036
+ # @param duedate Due date of document
1037
+ # @param [Hash] opts the optional parameters
1038
+ # @option opts [Integer] :id_type Type of this document
1039
+ # @option opts [Integer] :id_category Related category
1040
+ # @option opts [Float] :total_amount Taxed amount
1041
+ # @option opts [Float] :untaxed_amount Untaxed amount
1042
+ # @option opts [Float] :vat VAT amount
1043
+ # @option opts [BOOLEAN] :income Is an income or an outcome
1044
+ # @option opts [BOOLEAN] :readonly Is this file readonly
1045
+ # @option opts [File] :file File of the document
1046
+ # @option opts [Integer] :id_ocr Related OCR process
1047
+ # @option opts [String] :name Name of the document
1048
+ # @option opts [String] :expand
1049
+ # @return [Document]
1050
+ describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_post test' do
1051
+ it "should work" do
1052
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1053
+ end
1054
+ end
1055
+
1056
+ # unit tests for users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_put
1057
+ # Attach an existing document to a transaction or a transactions_cluster
1058
+ #
1059
+ # @param id_user Hint: you can use 'me' or 'all'
1060
+ # @param id_connection
1061
+ # @param id_transactions_cluster
1062
+ # @param id_document id of the document you want to attach the file to
1063
+ # @param [Hash] opts the optional parameters
1064
+ # @option opts [String] :expand
1065
+ # @return [Document]
1066
+ describe 'users_id_user_connections_id_connection_transactionsclusters_id_transactions_cluster_documents_put test' do
1067
+ it "should work" do
1068
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1069
+ end
1070
+ end
1071
+
1072
+ # unit tests for users_id_user_documents_delete
1073
+ # Delete documents
1074
+ #
1075
+ # @param id_user Hint: you can use 'me' or 'all'
1076
+ # @param [Hash] opts the optional parameters
1077
+ # @option opts [String] :expand
1078
+ # @return [Document]
1079
+ describe 'users_id_user_documents_delete test' do
1080
+ it "should work" do
1081
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1082
+ end
1083
+ end
1084
+
1085
+ # unit tests for users_id_user_documents_get
1086
+ # Get documents
1087
+ # Get list of documents<br><br>
1088
+ # @param id_user Hint: you can use 'me' or 'all'
1089
+ # @param [Hash] opts the optional parameters
1090
+ # @option opts [Integer] :limit limit number of results
1091
+ # @option opts [Integer] :offset offset of first result
1092
+ # @option opts [Date] :min_date minimal (inclusive) date
1093
+ # @option opts [Date] :max_date maximum (inclusive) date
1094
+ # @option opts [Float] :min_amount minimal (inclusive) amount
1095
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
1096
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
1097
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
1098
+ # @option opts [Integer] :id_type filter with a document type
1099
+ # @option opts [String] :expand
1100
+ # @return [InlineResponse20026]
1101
+ describe 'users_id_user_documents_get test' do
1102
+ it "should work" do
1103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1104
+ end
1105
+ end
1106
+
1107
+ # unit tests for users_id_user_documents_id_document_delete
1108
+ # Delete a document
1109
+ #
1110
+ # @param id_user Hint: you can use 'me' or 'all'
1111
+ # @param id_document
1112
+ # @param [Hash] opts the optional parameters
1113
+ # @option opts [String] :expand
1114
+ # @return [Document]
1115
+ describe 'users_id_user_documents_id_document_delete test' do
1116
+ it "should work" do
1117
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1118
+ end
1119
+ end
1120
+
1121
+ # unit tests for users_id_user_documents_id_document_put
1122
+ # Edit a document
1123
+ # Edit meta-data of a specific document.
1124
+ # @param id_user Hint: you can use 'me' or 'all'
1125
+ # @param id_document
1126
+ # @param [Hash] opts the optional parameters
1127
+ # @option opts [Integer] :id_type Type of this document
1128
+ # @option opts [Integer] :id_category Related category
1129
+ # @option opts [Date] :date Date of document
1130
+ # @option opts [Date] :duedate Due date of document
1131
+ # @option opts [Float] :total_amount Taxed amount
1132
+ # @option opts [Float] :untaxed_amount Untaxed amount
1133
+ # @option opts [Float] :vat VAT amount
1134
+ # @option opts [Integer] :income Is an income or an outcome
1135
+ # @option opts [Integer] :readonly Is this file readonly
1136
+ # @option opts [File] :file File of the document
1137
+ # @option opts [String] :name Name of the document
1138
+ # @option opts [String] :expand
1139
+ # @return [Document]
1140
+ describe 'users_id_user_documents_id_document_put test' do
1141
+ it "should work" do
1142
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1143
+ end
1144
+ end
1145
+
1146
+ # unit tests for users_id_user_documents_post
1147
+ # Add a new document
1148
+ # Add a new document<br><br>
1149
+ # @param id_user Hint: you can use 'me' or 'all'
1150
+ # @param date Date of document
1151
+ # @param duedate Due date of document
1152
+ # @param [Hash] opts the optional parameters
1153
+ # @option opts [Integer] :id_type Type of this document
1154
+ # @option opts [Integer] :id_category Related category
1155
+ # @option opts [Float] :total_amount Taxed amount
1156
+ # @option opts [Float] :untaxed_amount Untaxed amount
1157
+ # @option opts [Float] :vat VAT amount
1158
+ # @option opts [BOOLEAN] :income Is an income or an outcome
1159
+ # @option opts [BOOLEAN] :readonly Is this file readonly
1160
+ # @option opts [File] :file File of the document
1161
+ # @option opts [Integer] :id_ocr Related OCR process
1162
+ # @option opts [String] :name Name of the document
1163
+ # @option opts [String] :expand
1164
+ # @return [Document]
1165
+ describe 'users_id_user_documents_post test' do
1166
+ it "should work" do
1167
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1168
+ end
1169
+ end
1170
+
1171
+ # unit tests for users_id_user_documents_put
1172
+ # Attach an existing document to a transaction or a transactions_cluster
1173
+ #
1174
+ # @param id_user Hint: you can use 'me' or 'all'
1175
+ # @param id_document id of the document you want to attach the file to
1176
+ # @param [Hash] opts the optional parameters
1177
+ # @option opts [String] :expand
1178
+ # @return [Document]
1179
+ describe 'users_id_user_documents_put test' do
1180
+ it "should work" do
1181
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1182
+ end
1183
+ end
1184
+
1185
+ # unit tests for users_id_user_ocr_post
1186
+ # Post an image with OCR
1187
+ # Post an image and apply OCR on it to obtain found meta-data.<br><br>
1188
+ # @param id_user Hint: you can use 'me' or 'all'
1189
+ # @param file File of the document
1190
+ # @param [Hash] opts the optional parameters
1191
+ # @option opts [Integer] :id_transaction Transaction used to help OCR to find data
1192
+ # @option opts [String] :name Name of the document
1193
+ # @return [nil]
1194
+ describe 'users_id_user_ocr_post test' do
1195
+ it "should work" do
1196
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1197
+ end
1198
+ end
1199
+
1200
+ # unit tests for users_id_user_subscriptions_id_subscription_documents_delete
1201
+ # Delete documents
1202
+ #
1203
+ # @param id_user Hint: you can use 'me' or 'all'
1204
+ # @param id_subscription
1205
+ # @param [Hash] opts the optional parameters
1206
+ # @option opts [String] :expand
1207
+ # @return [Document]
1208
+ describe 'users_id_user_subscriptions_id_subscription_documents_delete test' do
1209
+ it "should work" do
1210
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1211
+ end
1212
+ end
1213
+
1214
+ # unit tests for users_id_user_subscriptions_id_subscription_documents_get
1215
+ # Get documents
1216
+ # Get list of documents<br><br>
1217
+ # @param id_user Hint: you can use 'me' or 'all'
1218
+ # @param id_subscription
1219
+ # @param [Hash] opts the optional parameters
1220
+ # @option opts [Integer] :limit limit number of results
1221
+ # @option opts [Integer] :offset offset of first result
1222
+ # @option opts [Date] :min_date minimal (inclusive) date
1223
+ # @option opts [Date] :max_date maximum (inclusive) date
1224
+ # @option opts [Float] :min_amount minimal (inclusive) amount
1225
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
1226
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
1227
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
1228
+ # @option opts [Integer] :id_type filter with a document type
1229
+ # @option opts [String] :expand
1230
+ # @return [InlineResponse20026]
1231
+ describe 'users_id_user_subscriptions_id_subscription_documents_get test' do
1232
+ it "should work" do
1233
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1234
+ end
1235
+ end
1236
+
1237
+ # unit tests for users_id_user_subscriptions_id_subscription_documents_id_document_delete
1238
+ # Delete a document
1239
+ #
1240
+ # @param id_user Hint: you can use 'me' or 'all'
1241
+ # @param id_subscription
1242
+ # @param id_document
1243
+ # @param [Hash] opts the optional parameters
1244
+ # @option opts [String] :expand
1245
+ # @return [Document]
1246
+ describe 'users_id_user_subscriptions_id_subscription_documents_id_document_delete test' do
1247
+ it "should work" do
1248
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1249
+ end
1250
+ end
1251
+
1252
+ # unit tests for users_id_user_subscriptions_id_subscription_documents_id_document_put
1253
+ # Edit a document
1254
+ # Edit meta-data of a specific document.
1255
+ # @param id_user Hint: you can use 'me' or 'all'
1256
+ # @param id_subscription
1257
+ # @param id_document
1258
+ # @param [Hash] opts the optional parameters
1259
+ # @option opts [Integer] :id_type Type of this document
1260
+ # @option opts [Integer] :id_category Related category
1261
+ # @option opts [Date] :date Date of document
1262
+ # @option opts [Date] :duedate Due date of document
1263
+ # @option opts [Float] :total_amount Taxed amount
1264
+ # @option opts [Float] :untaxed_amount Untaxed amount
1265
+ # @option opts [Float] :vat VAT amount
1266
+ # @option opts [Integer] :income Is an income or an outcome
1267
+ # @option opts [Integer] :readonly Is this file readonly
1268
+ # @option opts [File] :file File of the document
1269
+ # @option opts [String] :name Name of the document
1270
+ # @option opts [String] :expand
1271
+ # @return [Document]
1272
+ describe 'users_id_user_subscriptions_id_subscription_documents_id_document_put test' do
1273
+ it "should work" do
1274
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1275
+ end
1276
+ end
1277
+
1278
+ # unit tests for users_id_user_subscriptions_id_subscription_documents_post
1279
+ # Add a new document
1280
+ # Add a new document<br><br>
1281
+ # @param id_user Hint: you can use 'me' or 'all'
1282
+ # @param id_subscription
1283
+ # @param date Date of document
1284
+ # @param duedate Due date of document
1285
+ # @param [Hash] opts the optional parameters
1286
+ # @option opts [Integer] :id_type Type of this document
1287
+ # @option opts [Integer] :id_category Related category
1288
+ # @option opts [Float] :total_amount Taxed amount
1289
+ # @option opts [Float] :untaxed_amount Untaxed amount
1290
+ # @option opts [Float] :vat VAT amount
1291
+ # @option opts [BOOLEAN] :income Is an income or an outcome
1292
+ # @option opts [BOOLEAN] :readonly Is this file readonly
1293
+ # @option opts [File] :file File of the document
1294
+ # @option opts [Integer] :id_ocr Related OCR process
1295
+ # @option opts [String] :name Name of the document
1296
+ # @option opts [String] :expand
1297
+ # @return [Document]
1298
+ describe 'users_id_user_subscriptions_id_subscription_documents_post test' do
1299
+ it "should work" do
1300
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1301
+ end
1302
+ end
1303
+
1304
+ # unit tests for users_id_user_subscriptions_id_subscription_documents_put
1305
+ # Attach an existing document to a transaction or a transactions_cluster
1306
+ #
1307
+ # @param id_user Hint: you can use 'me' or 'all'
1308
+ # @param id_subscription
1309
+ # @param id_document id of the document you want to attach the file to
1310
+ # @param [Hash] opts the optional parameters
1311
+ # @option opts [String] :expand
1312
+ # @return [Document]
1313
+ describe 'users_id_user_subscriptions_id_subscription_documents_put test' do
1314
+ it "should work" do
1315
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1316
+ end
1317
+ end
1318
+
1319
+ # unit tests for users_id_user_transactions_id_transaction_documents_delete
1320
+ # Delete documents
1321
+ #
1322
+ # @param id_user Hint: you can use 'me' or 'all'
1323
+ # @param id_transaction
1324
+ # @param [Hash] opts the optional parameters
1325
+ # @option opts [String] :expand
1326
+ # @return [Document]
1327
+ describe 'users_id_user_transactions_id_transaction_documents_delete test' do
1328
+ it "should work" do
1329
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1330
+ end
1331
+ end
1332
+
1333
+ # unit tests for users_id_user_transactions_id_transaction_documents_get
1334
+ # Get documents
1335
+ # Get list of documents<br><br>
1336
+ # @param id_user Hint: you can use 'me' or 'all'
1337
+ # @param id_transaction
1338
+ # @param [Hash] opts the optional parameters
1339
+ # @option opts [Integer] :limit limit number of results
1340
+ # @option opts [Integer] :offset offset of first result
1341
+ # @option opts [Date] :min_date minimal (inclusive) date
1342
+ # @option opts [Date] :max_date maximum (inclusive) date
1343
+ # @option opts [Float] :min_amount minimal (inclusive) amount
1344
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
1345
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
1346
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
1347
+ # @option opts [Integer] :id_type filter with a document type
1348
+ # @option opts [String] :expand
1349
+ # @return [InlineResponse20026]
1350
+ describe 'users_id_user_transactions_id_transaction_documents_get test' do
1351
+ it "should work" do
1352
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1353
+ end
1354
+ end
1355
+
1356
+ # unit tests for users_id_user_transactions_id_transaction_documents_id_document_delete
1357
+ # Delete a document
1358
+ #
1359
+ # @param id_user Hint: you can use 'me' or 'all'
1360
+ # @param id_transaction
1361
+ # @param id_document
1362
+ # @param [Hash] opts the optional parameters
1363
+ # @option opts [String] :expand
1364
+ # @return [Document]
1365
+ describe 'users_id_user_transactions_id_transaction_documents_id_document_delete test' do
1366
+ it "should work" do
1367
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1368
+ end
1369
+ end
1370
+
1371
+ # unit tests for users_id_user_transactions_id_transaction_documents_id_document_put
1372
+ # Edit a document
1373
+ # Edit meta-data of a specific document.
1374
+ # @param id_user Hint: you can use 'me' or 'all'
1375
+ # @param id_transaction
1376
+ # @param id_document
1377
+ # @param [Hash] opts the optional parameters
1378
+ # @option opts [Integer] :id_type Type of this document
1379
+ # @option opts [Integer] :id_category Related category
1380
+ # @option opts [Date] :date Date of document
1381
+ # @option opts [Date] :duedate Due date of document
1382
+ # @option opts [Float] :total_amount Taxed amount
1383
+ # @option opts [Float] :untaxed_amount Untaxed amount
1384
+ # @option opts [Float] :vat VAT amount
1385
+ # @option opts [Integer] :income Is an income or an outcome
1386
+ # @option opts [Integer] :readonly Is this file readonly
1387
+ # @option opts [File] :file File of the document
1388
+ # @option opts [String] :name Name of the document
1389
+ # @option opts [String] :expand
1390
+ # @return [Document]
1391
+ describe 'users_id_user_transactions_id_transaction_documents_id_document_put test' do
1392
+ it "should work" do
1393
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1394
+ end
1395
+ end
1396
+
1397
+ # unit tests for users_id_user_transactions_id_transaction_documents_post
1398
+ # Add a new document
1399
+ # Add a new document<br><br>
1400
+ # @param id_user Hint: you can use 'me' or 'all'
1401
+ # @param id_transaction
1402
+ # @param date Date of document
1403
+ # @param duedate Due date of document
1404
+ # @param [Hash] opts the optional parameters
1405
+ # @option opts [Integer] :id_type Type of this document
1406
+ # @option opts [Integer] :id_category Related category
1407
+ # @option opts [Float] :total_amount Taxed amount
1408
+ # @option opts [Float] :untaxed_amount Untaxed amount
1409
+ # @option opts [Float] :vat VAT amount
1410
+ # @option opts [BOOLEAN] :income Is an income or an outcome
1411
+ # @option opts [BOOLEAN] :readonly Is this file readonly
1412
+ # @option opts [File] :file File of the document
1413
+ # @option opts [Integer] :id_ocr Related OCR process
1414
+ # @option opts [String] :name Name of the document
1415
+ # @option opts [String] :expand
1416
+ # @return [Document]
1417
+ describe 'users_id_user_transactions_id_transaction_documents_post test' do
1418
+ it "should work" do
1419
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1420
+ end
1421
+ end
1422
+
1423
+ # unit tests for users_id_user_transactions_id_transaction_documents_put
1424
+ # Attach an existing document to a transaction or a transactions_cluster
1425
+ #
1426
+ # @param id_user Hint: you can use 'me' or 'all'
1427
+ # @param id_transaction
1428
+ # @param id_document id of the document you want to attach the file to
1429
+ # @param [Hash] opts the optional parameters
1430
+ # @option opts [String] :expand
1431
+ # @return [Document]
1432
+ describe 'users_id_user_transactions_id_transaction_documents_put test' do
1433
+ it "should work" do
1434
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1435
+ end
1436
+ end
1437
+
1438
+ # unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_delete
1439
+ # Delete documents
1440
+ #
1441
+ # @param id_user Hint: you can use 'me' or 'all'
1442
+ # @param id_transactions_cluster
1443
+ # @param [Hash] opts the optional parameters
1444
+ # @option opts [String] :expand
1445
+ # @return [Document]
1446
+ describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_delete test' do
1447
+ it "should work" do
1448
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1449
+ end
1450
+ end
1451
+
1452
+ # unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_get
1453
+ # Get documents
1454
+ # Get list of documents<br><br>
1455
+ # @param id_user Hint: you can use 'me' or 'all'
1456
+ # @param id_transactions_cluster
1457
+ # @param [Hash] opts the optional parameters
1458
+ # @option opts [Integer] :limit limit number of results
1459
+ # @option opts [Integer] :offset offset of first result
1460
+ # @option opts [Date] :min_date minimal (inclusive) date
1461
+ # @option opts [Date] :max_date maximum (inclusive) date
1462
+ # @option opts [Float] :min_amount minimal (inclusive) amount
1463
+ # @option opts [Float] :max_amount maximumd (inclusive) amount
1464
+ # @option opts [Float] :min_timestamp minimal (inclusive) timestamp
1465
+ # @option opts [Float] :max_timestamp maximumd (inclusive) timestamp
1466
+ # @option opts [Integer] :id_type filter with a document type
1467
+ # @option opts [String] :expand
1468
+ # @return [InlineResponse20026]
1469
+ describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_get test' do
1470
+ it "should work" do
1471
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1472
+ end
1473
+ end
1474
+
1475
+ # unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_delete
1476
+ # Delete a document
1477
+ #
1478
+ # @param id_user Hint: you can use 'me' or 'all'
1479
+ # @param id_transactions_cluster
1480
+ # @param id_document
1481
+ # @param [Hash] opts the optional parameters
1482
+ # @option opts [String] :expand
1483
+ # @return [Document]
1484
+ describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_delete test' do
1485
+ it "should work" do
1486
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1487
+ end
1488
+ end
1489
+
1490
+ # unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_put
1491
+ # Edit a document
1492
+ # Edit meta-data of a specific document.
1493
+ # @param id_user Hint: you can use 'me' or 'all'
1494
+ # @param id_transactions_cluster
1495
+ # @param id_document
1496
+ # @param [Hash] opts the optional parameters
1497
+ # @option opts [Integer] :id_type Type of this document
1498
+ # @option opts [Integer] :id_category Related category
1499
+ # @option opts [Date] :date Date of document
1500
+ # @option opts [Date] :duedate Due date of document
1501
+ # @option opts [Float] :total_amount Taxed amount
1502
+ # @option opts [Float] :untaxed_amount Untaxed amount
1503
+ # @option opts [Float] :vat VAT amount
1504
+ # @option opts [Integer] :income Is an income or an outcome
1505
+ # @option opts [Integer] :readonly Is this file readonly
1506
+ # @option opts [File] :file File of the document
1507
+ # @option opts [String] :name Name of the document
1508
+ # @option opts [String] :expand
1509
+ # @return [Document]
1510
+ describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_id_document_put test' do
1511
+ it "should work" do
1512
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1513
+ end
1514
+ end
1515
+
1516
+ # unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_post
1517
+ # Add a new document
1518
+ # Add a new document<br><br>
1519
+ # @param id_user Hint: you can use 'me' or 'all'
1520
+ # @param id_transactions_cluster
1521
+ # @param date Date of document
1522
+ # @param duedate Due date of document
1523
+ # @param [Hash] opts the optional parameters
1524
+ # @option opts [Integer] :id_type Type of this document
1525
+ # @option opts [Integer] :id_category Related category
1526
+ # @option opts [Float] :total_amount Taxed amount
1527
+ # @option opts [Float] :untaxed_amount Untaxed amount
1528
+ # @option opts [Float] :vat VAT amount
1529
+ # @option opts [BOOLEAN] :income Is an income or an outcome
1530
+ # @option opts [BOOLEAN] :readonly Is this file readonly
1531
+ # @option opts [File] :file File of the document
1532
+ # @option opts [Integer] :id_ocr Related OCR process
1533
+ # @option opts [String] :name Name of the document
1534
+ # @option opts [String] :expand
1535
+ # @return [Document]
1536
+ describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_post test' do
1537
+ it "should work" do
1538
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1539
+ end
1540
+ end
1541
+
1542
+ # unit tests for users_id_user_transactionsclusters_id_transactions_cluster_documents_put
1543
+ # Attach an existing document to a transaction or a transactions_cluster
1544
+ #
1545
+ # @param id_user Hint: you can use 'me' or 'all'
1546
+ # @param id_transactions_cluster
1547
+ # @param id_document id of the document you want to attach the file to
1548
+ # @param [Hash] opts the optional parameters
1549
+ # @option opts [String] :expand
1550
+ # @return [Document]
1551
+ describe 'users_id_user_transactionsclusters_id_transactions_cluster_documents_put test' do
1552
+ it "should work" do
1553
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1554
+ end
1555
+ end
1556
+
1557
+ end