budgea_client 5.2.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/budgea_openapi.json +8 -41
  4. data/docs/BanksApi.md +3 -13
  5. data/docs/ConnectionsApi.md +3 -13
  6. data/docs/ProvidersApi.md +3 -13
  7. data/lib/budgea_client/api/banks_api.rb +4 -20
  8. data/lib/budgea_client/api/connections_api.rb +4 -20
  9. data/lib/budgea_client/api/providers_api.rb +4 -20
  10. data/lib/budgea_client/version.rb +1 -1
  11. data/spec/api/administration_api_spec.rb +85 -15
  12. data/spec/api/authentication_api_spec.rb +4 -3
  13. data/spec/api/banks_api_spec.rb +298 -54
  14. data/spec/api/connections_api_spec.rb +219 -26
  15. data/spec/api/documents_api_spec.rb +14 -14
  16. data/spec/api/ocr_api_spec.rb +1 -1
  17. data/spec/api/oidc_api_spec.rb +1 -1
  18. data/spec/api/pfm_api_spec.rb +17 -6
  19. data/spec/api/providers_api_spec.rb +297 -40
  20. data/spec/api/recipients_api_spec.rb +1 -1
  21. data/spec/api/terms_api_spec.rb +20 -4
  22. data/spec/api/transfer_api_spec.rb +1 -1
  23. data/spec/api/transfers_api_spec.rb +13 -13
  24. data/spec/api/users_management_api_spec.rb +3 -3
  25. data/spec/api/wealth_api_spec.rb +27 -19
  26. data/spec/api_client_spec.rb +18 -1
  27. data/spec/configuration_spec.rb +1 -1
  28. data/spec/models/access_spec.rb +1 -1
  29. data/spec/models/account_log_spec.rb +7 -1
  30. data/spec/models/account_spec.rb +25 -1
  31. data/spec/models/account_type_spec.rb +1 -1
  32. data/spec/models/alert_spec.rb +1 -1
  33. data/spec/models/auth_provider_spec.rb +1 -1
  34. data/spec/models/category_spec.rb +1 -1
  35. data/spec/models/certificate_spec.rb +1 -1
  36. data/spec/models/client_spec.rb +2 -2
  37. data/spec/models/config_log_spec.rb +1 -1
  38. data/spec/models/connection_log_spec.rb +7 -1
  39. data/spec/models/connection_source_spec.rb +1 -1
  40. data/spec/models/connection_spec.rb +41 -1
  41. data/spec/models/connector_category_spec.rb +1 -1
  42. data/spec/models/connector_logo_spec.rb +1 -1
  43. data/spec/models/connector_source_spec.rb +1 -1
  44. data/spec/models/connector_spec.rb +7 -7
  45. data/spec/models/currency_spec.rb +1 -1
  46. data/spec/models/device_spec.rb +1 -1
  47. data/spec/models/document_spec.rb +1 -1
  48. data/spec/models/document_type_spec.rb +1 -1
  49. data/spec/models/field_spec.rb +7 -1
  50. data/spec/models/field_value_spec.rb +1 -1
  51. data/spec/models/file_spec.rb +1 -1
  52. data/spec/models/group_spec.rb +1 -1
  53. data/spec/models/hash_table_spec.rb +1 -1
  54. data/spec/models/inline_response_200_10_spec.rb +1 -1
  55. data/spec/models/inline_response_200_11_spec.rb +3 -3
  56. data/spec/models/inline_response_200_12_spec.rb +2 -2
  57. data/spec/models/inline_response_200_13_spec.rb +2 -2
  58. data/spec/models/inline_response_200_14_spec.rb +3 -3
  59. data/spec/models/inline_response_200_15_spec.rb +2 -2
  60. data/spec/models/inline_response_200_16_spec.rb +2 -2
  61. data/spec/models/inline_response_200_17_spec.rb +3 -3
  62. data/spec/models/inline_response_200_18_spec.rb +2 -2
  63. data/spec/models/inline_response_200_19_spec.rb +8 -2
  64. data/spec/models/inline_response_200_1_spec.rb +1 -1
  65. data/spec/models/inline_response_200_20_spec.rb +3 -3
  66. data/spec/models/inline_response_200_21_spec.rb +3 -3
  67. data/spec/models/inline_response_200_22_spec.rb +2 -2
  68. data/spec/models/inline_response_200_23_spec.rb +2 -2
  69. data/spec/models/inline_response_200_24_spec.rb +3 -3
  70. data/spec/models/inline_response_200_25_spec.rb +3 -3
  71. data/spec/models/inline_response_200_26_spec.rb +2 -2
  72. data/spec/models/inline_response_200_27_spec.rb +2 -2
  73. data/spec/models/inline_response_200_28_spec.rb +2 -2
  74. data/spec/models/inline_response_200_29_spec.rb +3 -3
  75. data/spec/models/inline_response_200_2_spec.rb +1 -1
  76. data/spec/models/inline_response_200_30_spec.rb +3 -3
  77. data/spec/models/inline_response_200_31_spec.rb +2 -2
  78. data/spec/models/inline_response_200_32_spec.rb +3 -3
  79. data/spec/models/inline_response_200_33_spec.rb +3 -3
  80. data/spec/models/inline_response_200_34_spec.rb +2 -2
  81. data/spec/models/inline_response_200_35_spec.rb +3 -3
  82. data/spec/models/inline_response_200_36_spec.rb +3 -3
  83. data/spec/models/inline_response_200_37_spec.rb +2 -2
  84. data/spec/models/inline_response_200_38_spec.rb +3 -3
  85. data/spec/models/inline_response_200_39_spec.rb +2 -2
  86. data/spec/models/inline_response_200_3_spec.rb +1 -1
  87. data/spec/models/inline_response_200_40_spec.rb +3 -3
  88. data/spec/models/inline_response_200_41_spec.rb +1 -1
  89. data/spec/models/inline_response_200_42_spec.rb +1 -1
  90. data/spec/models/inline_response_200_4_spec.rb +1 -1
  91. data/spec/models/inline_response_200_5_spec.rb +1 -1
  92. data/spec/models/inline_response_200_6_spec.rb +1 -1
  93. data/spec/models/inline_response_200_7_spec.rb +1 -1
  94. data/spec/models/inline_response_200_8_spec.rb +1 -1
  95. data/spec/models/inline_response_200_9_spec.rb +1 -1
  96. data/spec/models/inline_response_200_spec.rb +1 -1
  97. data/spec/models/investment_spec.rb +1 -1
  98. data/spec/models/investment_value_spec.rb +1 -1
  99. data/spec/models/keyword_spec.rb +1 -1
  100. data/spec/models/locked_user_spec.rb +1 -1
  101. data/spec/models/oidc_whitelist_spec.rb +1 -1
  102. data/spec/models/order_spec.rb +1 -1
  103. data/spec/models/pocket_spec.rb +1 -1
  104. data/spec/models/profile_spec.rb +1 -1
  105. data/spec/models/project_spec.rb +1 -1
  106. data/spec/models/project_type_spec.rb +1 -1
  107. data/spec/models/recipient_log_spec.rb +1 -1
  108. data/spec/models/recipient_spec.rb +1 -1
  109. data/spec/models/security_spec.rb +1 -1
  110. data/spec/models/subscription_log_spec.rb +1 -1
  111. data/spec/models/subscription_spec.rb +7 -1
  112. data/spec/models/terms_of_service_spec.rb +1 -1
  113. data/spec/models/transaction_information_spec.rb +1 -1
  114. data/spec/models/transaction_spec.rb +7 -1
  115. data/spec/models/transactions_cluster_spec.rb +1 -1
  116. data/spec/models/transfer_log_spec.rb +1 -1
  117. data/spec/models/transfer_spec.rb +25 -1
  118. data/spec/models/user_alert_spec.rb +1 -1
  119. data/spec/models/user_spec.rb +2 -2
  120. data/spec/models/webhook_data_spec.rb +1 -1
  121. data/spec/models/webhook_log_spec.rb +1 -1
  122. data/spec/models/webhook_spec.rb +1 -1
  123. data/spec/spec_helper.rb +1 -1
  124. metadata +2 -9
  125. data/docs/HUBApi.md +0 -62
  126. data/docs/Invite.md +0 -13
  127. data/pkg/budgea_client-5.0.3.gem +0 -0
  128. data/spec/api/hub_api_spec.rb +0 -47
  129. data/spec/models/invite_spec.rb +0 -71
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -176,10 +176,11 @@ describe 'AuthenticationApi' do
176
176
  end
177
177
 
178
178
  # unit tests for webauth_get
179
- # Initialize a new OAuth2 proxy session.
180
- #
179
+ # First step to establish an oAuth2 connection.
180
+ # The route encapsulate 2 functionalities: 1. Create or update a connection through oAuth2 session.<br><br>2. Execute a transfer through OAuth2 session.
181
181
  # @param [Hash] opts the optional parameters
182
182
  # @option opts [Integer] :id_connector ID of the connector
183
+ # @option opts [Integer] :id_transfer ID of the transfer
183
184
  # @option opts [String] :connector_uuid Optional unique ID of the connector (replaces id_connector)
184
185
  # @option opts [Integer] :client_id Client Application ID
185
186
  # @option opts [String] :redirect_uri Redirect URI
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.14
10
10
 
11
11
  =end
12
12
 
@@ -164,12 +164,25 @@ describe 'BanksApi' do
164
164
  end
165
165
  end
166
166
 
167
+ # unit tests for banks_id_connector_sources_get
168
+ # Get list of connector sources
169
+ #
170
+ # @param id_connector
171
+ # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :expand
173
+ # @return [InlineResponse20011]
174
+ describe 'banks_id_connector_sources_get test' do
175
+ it 'should work' do
176
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
177
+ end
178
+ end
179
+
167
180
  # unit tests for categories_get
168
181
  # Get all categories
169
182
  # Ressource to get all existing categories<br><br>
170
183
  # @param [Hash] opts the optional parameters
171
184
  # @option opts [String] :expand
172
- # @return [InlineResponse20011]
185
+ # @return [InlineResponse20012]
173
186
  describe 'categories_get test' do
174
187
  it 'should work' do
175
188
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -227,12 +240,91 @@ describe 'BanksApi' do
227
240
  end
228
241
  end
229
242
 
243
+ # unit tests for connections_id_connection_logs_get
244
+ # Get connection logs
245
+ # Get logs about connections.<br><br>
246
+ # @param id_connection
247
+ # @param [Hash] opts the optional parameters
248
+ # @option opts [Integer] :limit limit number of results
249
+ # @option opts [Integer] :offset offset of first result
250
+ # @option opts [Date] :min_date minimal date
251
+ # @option opts [Date] :max_date maximum date
252
+ # @option opts [Integer] :state state of user
253
+ # @option opts [String] :period period to group logs
254
+ # @option opts [Integer] :id_user ID of a user
255
+ # @option opts [Integer] :id_connection2 ID of a connection
256
+ # @option opts [Integer] :id_connector ID of a connector
257
+ # @option opts [BOOLEAN] :charged consider only logs for charged connectors
258
+ # @option opts [Integer] :id_source ID of a source
259
+ # @option opts [String] :expand
260
+ # @return [InlineResponse20015]
261
+ describe 'connections_id_connection_logs_get test' do
262
+ it 'should work' do
263
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
264
+ end
265
+ end
266
+
267
+ # unit tests for connections_id_connection_sources_get
268
+ # Get connection sources
269
+ #
270
+ # @param id_connection
271
+ # @param [Hash] opts the optional parameters
272
+ # @option opts [String] :expand
273
+ # @return [InlineResponse20016]
274
+ describe 'connections_id_connection_sources_get test' do
275
+ it 'should work' do
276
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
277
+ end
278
+ end
279
+
280
+ # unit tests for connections_id_connection_sources_id_source_delete
281
+ # Disable a connection source
282
+ # This will make it so the specified source will not be synchronized anymore.<br><br>
283
+ # @param id_connection
284
+ # @param id_source
285
+ # @param [Hash] opts the optional parameters
286
+ # @option opts [String] :expand
287
+ # @return [ConnectionSource]
288
+ describe 'connections_id_connection_sources_id_source_delete test' do
289
+ it 'should work' do
290
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
291
+ end
292
+ end
293
+
294
+ # unit tests for connections_id_connection_sources_id_source_post
295
+ # Enable connection source
296
+ # This will make it so the specified source will be able to be synchronized.<br><br>
297
+ # @param id_connection
298
+ # @param id_source
299
+ # @param [Hash] opts the optional parameters
300
+ # @option opts [String] :expand
301
+ # @return [ConnectionSource]
302
+ describe 'connections_id_connection_sources_id_source_post test' do
303
+ it 'should work' do
304
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
305
+ end
306
+ end
307
+
308
+ # unit tests for connections_id_connection_sources_id_source_put
309
+ # Enable connection source
310
+ # This will make it so the specified source will be able to be synchronized.<br><br>
311
+ # @param id_connection
312
+ # @param id_source
313
+ # @param [Hash] opts the optional parameters
314
+ # @option opts [String] :expand
315
+ # @return [ConnectionSource]
316
+ describe 'connections_id_connection_sources_id_source_put test' do
317
+ it 'should work' do
318
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
319
+ end
320
+ end
321
+
230
322
  # unit tests for connectors_get
231
323
  # Get list of connectors
232
324
  #
233
325
  # @param [Hash] opts the optional parameters
234
326
  # @option opts [String] :expand
235
- # @return [InlineResponse20014]
327
+ # @return [InlineResponse20017]
236
328
  describe 'connectors_get test' do
237
329
  it 'should work' do
238
330
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -340,6 +432,7 @@ describe 'BanksApi' do
340
432
  # @option opts [String] :id_categories one or several comma separated categories to map to the given connector (or null to map no category)
341
433
  # @option opts [BOOLEAN] :hidden to enable or disable connector (bank or provider)
342
434
  # @option opts [Integer] :sync_frequency Allows you to overload global sync_frequency param
435
+ # @option opts [String] :auth_mechanism the authentication mechanism to use for this connector
343
436
  # @option opts [String] :expand
344
437
  # @return [Connector]
345
438
  describe 'connectors_id_connector_put test' do
@@ -348,6 +441,35 @@ describe 'BanksApi' do
348
441
  end
349
442
  end
350
443
 
444
+ # unit tests for connectors_id_connector_sources_get
445
+ # Get list of connector sources
446
+ #
447
+ # @param id_connector
448
+ # @param [Hash] opts the optional parameters
449
+ # @option opts [String] :expand
450
+ # @return [InlineResponse20011]
451
+ describe 'connectors_id_connector_sources_get test' do
452
+ it 'should work' do
453
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
454
+ end
455
+ end
456
+
457
+ # unit tests for connectors_id_connector_sources_id_source_put
458
+ # Edit the provided connector source
459
+ #
460
+ # @param id_connector
461
+ # @param id_source
462
+ # @param [Hash] opts the optional parameters
463
+ # @option opts [String] :auth_mechanism the authentication mechanism to use for this connector source
464
+ # @option opts [DateTime] :disabled to enable or disable connector source
465
+ # @option opts [String] :expand
466
+ # @return [ConnectorSource]
467
+ describe 'connectors_id_connector_sources_id_source_put test' do
468
+ it 'should work' do
469
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
470
+ end
471
+ end
472
+
351
473
  # unit tests for connectors_post
352
474
  # Request a new connector
353
475
  # Send a request to add a new connector<br><br>
@@ -368,14 +490,35 @@ describe 'BanksApi' do
368
490
  end
369
491
  end
370
492
 
493
+ # unit tests for connectors_put
494
+ # Enable/disable several connectors
495
+ #
496
+ # @param [Hash] opts the optional parameters
497
+ # @option opts [BOOLEAN] :hidden to enable or disable connector (bank or provider)
498
+ # @option opts [String] :expand
499
+ # @return [Connector]
500
+ describe 'connectors_put test' do
501
+ it 'should work' do
502
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
503
+ end
504
+ end
505
+
371
506
  # unit tests for invoicing_get
372
- # Get number of accounts, connections and users synced.
373
- # Get number of accounts, connections and users synced between two dates for the given period.<br><br>
507
+ # Get invoicing data for a given period (default is the current month).
508
+ # You can get all the invoicing data or just specific ones by using the available parameters.<br><br>If no parameters are specified, no invoicing data is returned.<br><br>
374
509
  # @param [Hash] opts the optional parameters
375
510
  # @option opts [Date] :min_date minimal date
376
511
  # @option opts [Date] :max_date maximum date
377
- # @option opts [String] :period period to group logs
378
- # @option opts [String] :all get full ids list instead of numbers
512
+ # @option opts [String] :users_synced the number of user synchronized during the period
513
+ # @option opts [String] :users_bank the number of user of the Bank API synchronized during the period
514
+ # @option opts [String] :users_bill the number of user of the Bill API synchronized during the period
515
+ # @option opts [String] :accounts_synced the number of accounts synchronized during the period
516
+ # @option opts [String] :subscriptions_synced the number of subscriptions synchronized during the period
517
+ # @option opts [String] :connections_synced the number of connections synchronized during the period
518
+ # @option opts [String] :connections_account the number of Bank API connections synchronized during the period
519
+ # @option opts [String] :transfers_synced the number of transfers done during the period
520
+ # @option opts [String] :all get all the invoicing data at once
521
+ # @option opts [String] :detail get full ids list instead of numbers
379
522
  # @return [nil]
380
523
  describe 'invoicing_get test' do
381
524
  it 'should work' do
@@ -397,8 +540,9 @@ describe 'BanksApi' do
397
540
  # @option opts [Integer] :id_connection ID of a connection
398
541
  # @option opts [Integer] :id_connector ID of a connector
399
542
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
543
+ # @option opts [Integer] :id_source ID of a source
400
544
  # @option opts [String] :expand
401
- # @return [InlineResponse20017]
545
+ # @return [InlineResponse20015]
402
546
  describe 'logs_get test' do
403
547
  it 'should work' do
404
548
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -410,7 +554,7 @@ describe 'BanksApi' do
410
554
  #
411
555
  # @param [Hash] opts the optional parameters
412
556
  # @option opts [String] :expand
413
- # @return [InlineResponse20018]
557
+ # @return [InlineResponse20020]
414
558
  describe 'providers_get test' do
415
559
  it 'should work' do
416
560
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -437,7 +581,7 @@ describe 'BanksApi' do
437
581
  # @param id_connector
438
582
  # @param [Hash] opts the optional parameters
439
583
  # @option opts [String] :expand
440
- # @return [InlineResponse20019]
584
+ # @return [InlineResponse20010]
441
585
  describe 'providers_id_connector_logos_get test' do
442
586
  it 'should work' do
443
587
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -470,6 +614,19 @@ describe 'BanksApi' do
470
614
  end
471
615
  end
472
616
 
617
+ # unit tests for providers_id_connector_sources_get
618
+ # Get list of connector sources
619
+ #
620
+ # @param id_connector
621
+ # @param [Hash] opts the optional parameters
622
+ # @option opts [String] :expand
623
+ # @return [InlineResponse20011]
624
+ describe 'providers_id_connector_sources_get 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
+
473
630
  # unit tests for users_id_user_account_types_get
474
631
  # Get account types
475
632
  #
@@ -516,7 +673,7 @@ describe 'BanksApi' do
516
673
  # @param id_user Hint: you can use 'me' or 'all'
517
674
  # @param [Hash] opts the optional parameters
518
675
  # @option opts [String] :expand
519
- # @return [InlineResponse20022]
676
+ # @return [InlineResponse20023]
520
677
  describe 'users_id_user_accounts_get test' do
521
678
  it 'should work' do
522
679
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -568,7 +725,7 @@ describe 'BanksApi' do
568
725
 
569
726
  # unit tests for users_id_user_accounts_id_account_logs_get
570
727
  # Get accounts logs.
571
- # Get logs of account.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
728
+ # Get logs of account. By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
572
729
  # @param id_user Hint: you can use 'me' or 'all'
573
730
  # @param id_account
574
731
  # @param [Hash] opts the optional parameters
@@ -577,7 +734,7 @@ describe 'BanksApi' do
577
734
  # @option opts [Date] :min_date minimal (inclusive) date
578
735
  # @option opts [Date] :max_date maximum (inclusive) date
579
736
  # @option opts [String] :expand
580
- # @return [InlineResponse20026]
737
+ # @return [InlineResponse20027]
581
738
  describe 'users_id_user_accounts_id_account_logs_get test' do
582
739
  it 'should work' do
583
740
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -605,6 +762,20 @@ describe 'BanksApi' do
605
762
  end
606
763
  end
607
764
 
765
+ # unit tests for users_id_user_accounts_id_account_sources_get
766
+ # Get account sources
767
+ #
768
+ # @param id_user Hint: you can use 'me' or 'all'
769
+ # @param id_account
770
+ # @param [Hash] opts the optional parameters
771
+ # @option opts [String] :expand
772
+ # @return [InlineResponse20016]
773
+ describe 'users_id_user_accounts_id_account_sources_get 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
+
608
779
  # unit tests for users_id_user_accounts_id_account_transactions_delete
609
780
  # Delete transactions
610
781
  #
@@ -639,7 +810,7 @@ describe 'BanksApi' do
639
810
  # @option opts [String] :search search in labels, dates, values and categories
640
811
  # @option opts [String] :value \"XX|-XX\" or \"±XX\"
641
812
  # @option opts [String] :expand
642
- # @return [InlineResponse20030]
813
+ # @return [InlineResponse20031]
643
814
  describe 'users_id_user_accounts_id_account_transactions_get test' do
644
815
  it 'should work' do
645
816
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -669,7 +840,7 @@ describe 'BanksApi' do
669
840
  # @param id_transaction
670
841
  # @param [Hash] opts the optional parameters
671
842
  # @option opts [String] :expand
672
- # @return [InlineResponse20032]
843
+ # @return [InlineResponse20033]
673
844
  describe 'users_id_user_accounts_id_account_transactions_id_transaction_informations_get test' do
674
845
  it 'should work' do
675
846
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -774,7 +945,7 @@ describe 'BanksApi' do
774
945
  # @param id_account
775
946
  # @param [Hash] opts the optional parameters
776
947
  # @option opts [String] :expand
777
- # @return [InlineResponse20033]
948
+ # @return [InlineResponse20034]
778
949
  describe 'users_id_user_accounts_id_account_transactionsclusters_get test' do
779
950
  it 'should work' do
780
951
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -830,8 +1001,8 @@ describe 'BanksApi' do
830
1001
  # This endpoint creates an account related to a connection or not.<br><br>
831
1002
  # @param id_user Hint: you can use 'me' or 'all'
832
1003
  # @param name name of account
833
- # @param balance balance of account
834
1004
  # @param [Hash] opts the optional parameters
1005
+ # @option opts [Float] :balance balance of account
835
1006
  # @option opts [String] :number number of account
836
1007
  # @option opts [String] :iban IBAN of account
837
1008
  # @option opts [String] :id_currency the currency of the account (default: 'EUR')
@@ -863,7 +1034,7 @@ describe 'BanksApi' do
863
1034
  # @param id_user Hint: you can use 'me' or 'all'
864
1035
  # @param [Hash] opts the optional parameters
865
1036
  # @option opts [String] :expand
866
- # @return [InlineResponse20034]
1037
+ # @return [InlineResponse20035]
867
1038
  describe 'users_id_user_alerts_get test' do
868
1039
  it 'should work' do
869
1040
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -876,7 +1047,7 @@ describe 'BanksApi' do
876
1047
  # @param id_user Hint: you can use 'me' or 'all'
877
1048
  # @param [Hash] opts the optional parameters
878
1049
  # @option opts [String] :expand
879
- # @return [InlineResponse20035]
1050
+ # @return [InlineResponse20036]
880
1051
  describe 'users_id_user_categories_full_get test' do
881
1052
  it 'should work' do
882
1053
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -992,7 +1163,7 @@ describe 'BanksApi' do
992
1163
  # @param id_connection
993
1164
  # @param [Hash] opts the optional parameters
994
1165
  # @option opts [String] :expand
995
- # @return [InlineResponse20022]
1166
+ # @return [InlineResponse20023]
996
1167
  describe 'users_id_user_connections_id_connection_accounts_get test' do
997
1168
  it 'should work' do
998
1169
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1047,7 +1218,7 @@ describe 'BanksApi' do
1047
1218
 
1048
1219
  # unit tests for users_id_user_connections_id_connection_accounts_id_account_logs_get
1049
1220
  # Get accounts logs.
1050
- # Get logs of account.<br><br>By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
1221
+ # Get logs of account. By default, it selects logs for the last month. You can use \"min_date\" and \"max_date\" to change boundary dates.<br><br>
1051
1222
  # @param id_user Hint: you can use 'me' or 'all'
1052
1223
  # @param id_connection
1053
1224
  # @param id_account
@@ -1057,7 +1228,7 @@ describe 'BanksApi' do
1057
1228
  # @option opts [Date] :min_date minimal (inclusive) date
1058
1229
  # @option opts [Date] :max_date maximum (inclusive) date
1059
1230
  # @option opts [String] :expand
1060
- # @return [InlineResponse20026]
1231
+ # @return [InlineResponse20027]
1061
1232
  describe 'users_id_user_connections_id_connection_accounts_id_account_logs_get test' do
1062
1233
  it 'should work' do
1063
1234
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1086,6 +1257,21 @@ describe 'BanksApi' do
1086
1257
  end
1087
1258
  end
1088
1259
 
1260
+ # unit tests for users_id_user_connections_id_connection_accounts_id_account_sources_get
1261
+ # Get account sources
1262
+ #
1263
+ # @param id_user Hint: you can use 'me' or 'all'
1264
+ # @param id_connection
1265
+ # @param id_account
1266
+ # @param [Hash] opts the optional parameters
1267
+ # @option opts [String] :expand
1268
+ # @return [InlineResponse20016]
1269
+ describe 'users_id_user_connections_id_connection_accounts_id_account_sources_get test' do
1270
+ it 'should work' do
1271
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1272
+ end
1273
+ end
1274
+
1089
1275
  # unit tests for users_id_user_connections_id_connection_accounts_id_account_transactions_delete
1090
1276
  # Delete transactions
1091
1277
  #
@@ -1122,7 +1308,7 @@ describe 'BanksApi' do
1122
1308
  # @option opts [String] :search search in labels, dates, values and categories
1123
1309
  # @option opts [String] :value \"XX|-XX\" or \"±XX\"
1124
1310
  # @option opts [String] :expand
1125
- # @return [InlineResponse20030]
1311
+ # @return [InlineResponse20031]
1126
1312
  describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_get test' do
1127
1313
  it 'should work' do
1128
1314
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1154,7 +1340,7 @@ describe 'BanksApi' do
1154
1340
  # @param id_transaction
1155
1341
  # @param [Hash] opts the optional parameters
1156
1342
  # @option opts [String] :expand
1157
- # @return [InlineResponse20032]
1343
+ # @return [InlineResponse20033]
1158
1344
  describe 'users_id_user_connections_id_connection_accounts_id_account_transactions_id_transaction_informations_get test' do
1159
1345
  it 'should work' do
1160
1346
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1265,7 +1451,7 @@ describe 'BanksApi' do
1265
1451
  # @param id_account
1266
1452
  # @param [Hash] opts the optional parameters
1267
1453
  # @option opts [String] :expand
1268
- # @return [InlineResponse20033]
1454
+ # @return [InlineResponse20034]
1269
1455
  describe 'users_id_user_connections_id_connection_accounts_id_account_transactionsclusters_get test' do
1270
1456
  it 'should work' do
1271
1457
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1325,8 +1511,8 @@ describe 'BanksApi' do
1325
1511
  # @param id_user Hint: you can use 'me' or 'all'
1326
1512
  # @param id_connection
1327
1513
  # @param name name of account
1328
- # @param balance balance of account
1329
1514
  # @param [Hash] opts the optional parameters
1515
+ # @option opts [Float] :balance balance of account
1330
1516
  # @option opts [String] :number number of account
1331
1517
  # @option opts [String] :iban IBAN of account
1332
1518
  # @option opts [String] :id_currency the currency of the account (default: 'EUR')
@@ -1367,6 +1553,20 @@ describe 'BanksApi' do
1367
1553
  end
1368
1554
  end
1369
1555
 
1556
+ # unit tests for users_id_user_connections_id_connection_get
1557
+ # Get connection
1558
+ # Get connection by ID
1559
+ # @param id_user Hint: you can use 'me' or 'all'
1560
+ # @param id_connection
1561
+ # @param [Hash] opts the optional parameters
1562
+ # @option opts [String] :expand
1563
+ # @return [Connection]
1564
+ describe 'users_id_user_connections_id_connection_get test' do
1565
+ it 'should work' do
1566
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1567
+ end
1568
+ end
1569
+
1370
1570
  # unit tests for users_id_user_connections_id_connection_informations_get
1371
1571
  # Get connection additionnal informations
1372
1572
  # <br><br>
@@ -1397,8 +1597,9 @@ describe 'BanksApi' do
1397
1597
  # @option opts [Integer] :id_connection2 ID of a connection
1398
1598
  # @option opts [Integer] :id_connector ID of a connector
1399
1599
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
1600
+ # @option opts [Integer] :id_source ID of a source
1400
1601
  # @option opts [String] :expand
1401
- # @return [InlineResponse20017]
1602
+ # @return [InlineResponse20015]
1402
1603
  describe 'users_id_user_connections_id_connection_logs_get test' do
1403
1604
  it 'should work' do
1404
1605
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1411,12 +1612,7 @@ describe 'BanksApi' do
1411
1612
  # @param id_user Hint: you can use 'me' or 'all'
1412
1613
  # @param id_connection
1413
1614
  # @param [Hash] opts the optional parameters
1414
- # @option opts [BOOLEAN] :active Set if the connection synchronisation is active
1415
- # @option opts [DateTime] :expire Set expiration of the connection to this date
1416
- # @option opts [String] :login Set login to this new login
1417
- # @option opts [String] :password Set password to this new password
1418
- # @option opts [BOOLEAN] :decoupled Try to update a connection with the decoupled error
1419
- # @option opts [String] :expand
1615
+ # @option opts [Object] :connection
1420
1616
  # @return [Connection]
1421
1617
  describe 'users_id_user_connections_id_connection_post test' do
1422
1618
  it 'should work' do
@@ -1438,6 +1634,65 @@ describe 'BanksApi' do
1438
1634
  end
1439
1635
  end
1440
1636
 
1637
+ # unit tests for users_id_user_connections_id_connection_sources_get
1638
+ # Get connection sources
1639
+ #
1640
+ # @param id_user Hint: you can use 'me' or 'all'
1641
+ # @param id_connection
1642
+ # @param [Hash] opts the optional parameters
1643
+ # @option opts [String] :expand
1644
+ # @return [InlineResponse20016]
1645
+ describe 'users_id_user_connections_id_connection_sources_get test' do
1646
+ it 'should work' do
1647
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1648
+ end
1649
+ end
1650
+
1651
+ # unit tests for users_id_user_connections_id_connection_sources_id_source_delete
1652
+ # Disable a connection source
1653
+ # This will make it so the specified source will not be synchronized anymore.<br><br>
1654
+ # @param id_user Hint: you can use 'me' or 'all'
1655
+ # @param id_connection
1656
+ # @param id_source
1657
+ # @param [Hash] opts the optional parameters
1658
+ # @option opts [String] :expand
1659
+ # @return [ConnectionSource]
1660
+ describe 'users_id_user_connections_id_connection_sources_id_source_delete test' do
1661
+ it 'should work' do
1662
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1663
+ end
1664
+ end
1665
+
1666
+ # unit tests for users_id_user_connections_id_connection_sources_id_source_post
1667
+ # Enable connection source
1668
+ # This will make it so the specified source will be able to be synchronized.<br><br>
1669
+ # @param id_user Hint: you can use 'me' or 'all'
1670
+ # @param id_connection
1671
+ # @param id_source
1672
+ # @param [Hash] opts the optional parameters
1673
+ # @option opts [String] :expand
1674
+ # @return [ConnectionSource]
1675
+ describe 'users_id_user_connections_id_connection_sources_id_source_post test' do
1676
+ it 'should work' do
1677
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1678
+ end
1679
+ end
1680
+
1681
+ # unit tests for users_id_user_connections_id_connection_sources_id_source_put
1682
+ # Enable connection source
1683
+ # This will make it so the specified source will be able to be synchronized.<br><br>
1684
+ # @param id_user Hint: you can use 'me' or 'all'
1685
+ # @param id_connection
1686
+ # @param id_source
1687
+ # @param [Hash] opts the optional parameters
1688
+ # @option opts [String] :expand
1689
+ # @return [ConnectionSource]
1690
+ describe 'users_id_user_connections_id_connection_sources_id_source_put test' do
1691
+ it 'should work' do
1692
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1693
+ end
1694
+ end
1695
+
1441
1696
  # unit tests for users_id_user_connections_id_connection_transactions_delete
1442
1697
  # Delete transactions
1443
1698
  #
@@ -1472,7 +1727,7 @@ describe 'BanksApi' do
1472
1727
  # @option opts [String] :search search in labels, dates, values and categories
1473
1728
  # @option opts [String] :value \"XX|-XX\" or \"±XX\"
1474
1729
  # @option opts [String] :expand
1475
- # @return [InlineResponse20030]
1730
+ # @return [InlineResponse20031]
1476
1731
  describe 'users_id_user_connections_id_connection_transactions_get test' do
1477
1732
  it 'should work' do
1478
1733
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1502,7 +1757,7 @@ describe 'BanksApi' do
1502
1757
  # @param id_transaction
1503
1758
  # @param [Hash] opts the optional parameters
1504
1759
  # @option opts [String] :expand
1505
- # @return [InlineResponse20032]
1760
+ # @return [InlineResponse20033]
1506
1761
  describe 'users_id_user_connections_id_connection_transactions_id_transaction_informations_get test' do
1507
1762
  it 'should work' do
1508
1763
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1607,7 +1862,7 @@ describe 'BanksApi' do
1607
1862
  # @param id_connection
1608
1863
  # @param [Hash] opts the optional parameters
1609
1864
  # @option opts [String] :expand
1610
- # @return [InlineResponse20033]
1865
+ # @return [InlineResponse20034]
1611
1866
  describe 'users_id_user_connections_id_connection_transactionsclusters_get test' do
1612
1867
  it 'should work' do
1613
1868
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1663,21 +1918,9 @@ describe 'BanksApi' do
1663
1918
  # 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>
1664
1919
  # @param id_user Hint: you can use 'me' or 'all'
1665
1920
  # @param [Hash] opts the optional parameters
1666
- # @option opts [Integer] :id_connector ID of the connector
1667
- # @option opts [String] :connector_uuid optional uuid of the connector (replaces id_connector)
1668
- # @option opts [String] :birthday bank additional login parameter
1669
- # @option opts [String] :password bank additional login parameter
1670
- # @option opts [String] :oauth_token bank additional login parameter
1671
- # @option opts [String] :oauth_token_secret bank additional login parameter
1672
- # @option opts [String] :auth_type bank additional login parameter
1673
- # @option opts [String] :secret bank additional login parameter
1674
- # @option opts [String] :type bank additional login parameter
1675
- # @option opts [String] :birthdate bank additional login parameter
1676
- # @option opts [String] :nuser bank additional login parameter
1677
- # @option opts [String] :website bank additional login parameter
1678
- # @option opts [String] :login bank additional login parameter
1679
- # @option opts [Integer] :id_provider ID of the provider
1921
+ # @option opts [String] :source optional comma-separated list of sources to use for the connection synchronization
1680
1922
  # @option opts [String] :expand
1923
+ # @option opts [Object] :connection
1681
1924
  # @return [Connection]
1682
1925
  describe 'users_id_user_connections_post test' do
1683
1926
  it 'should work' do
@@ -1712,8 +1955,9 @@ describe 'BanksApi' do
1712
1955
  # @option opts [Integer] :id_connection ID of a connection
1713
1956
  # @option opts [Integer] :id_connector ID of a connector
1714
1957
  # @option opts [BOOLEAN] :charged consider only logs for charged connectors
1958
+ # @option opts [Integer] :id_source ID of a source
1715
1959
  # @option opts [String] :expand
1716
- # @return [InlineResponse20017]
1960
+ # @return [InlineResponse20015]
1717
1961
  describe 'users_id_user_logs_get test' do
1718
1962
  it 'should work' do
1719
1963
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1752,7 +1996,7 @@ describe 'BanksApi' do
1752
1996
  # @option opts [String] :search search in labels, dates, values and categories
1753
1997
  # @option opts [String] :value \"XX|-XX\" or \"±XX\"
1754
1998
  # @option opts [String] :expand
1755
- # @return [InlineResponse20030]
1999
+ # @return [InlineResponse20031]
1756
2000
  describe 'users_id_user_transactions_get test' do
1757
2001
  it 'should work' do
1758
2002
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1780,7 +2024,7 @@ describe 'BanksApi' do
1780
2024
  # @param id_transaction
1781
2025
  # @param [Hash] opts the optional parameters
1782
2026
  # @option opts [String] :expand
1783
- # @return [InlineResponse20032]
2027
+ # @return [InlineResponse20033]
1784
2028
  describe 'users_id_user_transactions_id_transaction_informations_get test' do
1785
2029
  it 'should work' do
1786
2030
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -1879,7 +2123,7 @@ describe 'BanksApi' do
1879
2123
  # @param id_user Hint: you can use 'me' or 'all'
1880
2124
  # @param [Hash] opts the optional parameters
1881
2125
  # @option opts [String] :expand
1882
- # @return [InlineResponse20033]
2126
+ # @return [InlineResponse20034]
1883
2127
  describe 'users_id_user_transactionsclusters_get test' do
1884
2128
  it 'should work' do
1885
2129
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers