budgea_client 3.0.1 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/budgea_openapi.json +6 -4
- data/docs/Connector.md +1 -0
- data/lib/budgea_client/models/connector.rb +15 -4
- data/lib/budgea_client/version.rb +1 -1
- data/pkg/budgea_client-3.0.1.gem +0 -0
- data/spec/api/administration_api_spec.rb +225 -23
- data/spec/api/authentication_api_spec.rb +81 -11
- data/spec/api/banks_api_spec.rb +379 -236
- data/spec/api/connections_api_spec.rb +76 -39
- data/spec/api/documents_api_spec.rb +124 -114
- data/spec/api/ocr_api_spec.rb +13 -3
- data/spec/api/oidc_api_spec.rb +14 -4
- data/spec/api/pfm_api_spec.rb +61 -51
- data/spec/api/providers_api_spec.rb +260 -238
- data/spec/api/recipients_api_spec.rb +23 -9
- data/spec/api/terms_api_spec.rb +17 -8
- data/spec/api/transfers_api_spec.rb +88 -57
- data/spec/api/users_management_api_spec.rb +25 -15
- data/spec/api/wealth_api_spec.rb +150 -24
- data/spec/api_client_spec.rb +45 -35
- data/spec/configuration_spec.rb +19 -9
- data/spec/models/access_spec.rb +16 -7
- data/spec/models/account_log_spec.rb +21 -12
- data/spec/models/account_spec.rb +59 -20
- data/spec/models/account_type_spec.rb +19 -10
- data/spec/models/alert_spec.rb +19 -10
- data/spec/models/category_spec.rb +21 -12
- data/spec/models/client_spec.rb +25 -28
- data/spec/models/connection_log_spec.rb +38 -17
- data/spec/models/connection_spec.rb +33 -12
- data/spec/models/connector_logo_spec.rb +16 -7
- data/spec/models/connector_spec.rb +18 -0
- data/spec/models/currency_spec.rb +38 -5
- data/spec/models/device_spec.rb +18 -9
- data/spec/models/document_spec.rb +37 -34
- data/spec/models/document_type_spec.rb +14 -5
- data/spec/models/field_spec.rb +32 -11
- data/spec/models/field_value_spec.rb +13 -4
- data/spec/models/file_spec.rb +15 -6
- data/spec/models/group_spec.rb +19 -10
- data/spec/models/hash_table_spec.rb +15 -6
- data/spec/models/inline_response_200_10_spec.rb +19 -4
- data/spec/models/inline_response_200_11_spec.rb +19 -4
- data/spec/models/inline_response_200_12_spec.rb +19 -4
- data/spec/models/inline_response_200_13_spec.rb +19 -4
- data/spec/models/inline_response_200_14_spec.rb +19 -4
- data/spec/models/inline_response_200_15_spec.rb +19 -4
- data/spec/models/inline_response_200_16_spec.rb +19 -4
- data/spec/models/inline_response_200_17_spec.rb +19 -4
- data/spec/models/inline_response_200_18_spec.rb +19 -4
- data/spec/models/inline_response_200_19_spec.rb +13 -4
- data/spec/models/inline_response_200_1_spec.rb +13 -4
- data/spec/models/inline_response_200_20_spec.rb +19 -4
- data/spec/models/inline_response_200_21_spec.rb +19 -4
- data/spec/models/inline_response_200_22_spec.rb +19 -4
- data/spec/models/inline_response_200_23_spec.rb +19 -4
- data/spec/models/inline_response_200_24_spec.rb +19 -4
- data/spec/models/inline_response_200_25_spec.rb +19 -4
- data/spec/models/inline_response_200_26_spec.rb +19 -4
- data/spec/models/inline_response_200_27_spec.rb +19 -4
- data/spec/models/inline_response_200_28_spec.rb +19 -4
- data/spec/models/inline_response_200_29_spec.rb +19 -4
- data/spec/models/inline_response_200_2_spec.rb +14 -5
- data/spec/models/inline_response_200_30_spec.rb +19 -4
- data/spec/models/inline_response_200_31_spec.rb +19 -4
- data/spec/models/inline_response_200_32_spec.rb +19 -4
- data/spec/models/inline_response_200_33_spec.rb +19 -4
- data/spec/models/inline_response_200_34_spec.rb +7 -1
- data/spec/models/inline_response_200_35_spec.rb +7 -1
- data/spec/models/inline_response_200_36_spec.rb +7 -1
- data/spec/models/inline_response_200_37_spec.rb +7 -1
- data/spec/models/inline_response_200_38_spec.rb +7 -1
- data/spec/models/inline_response_200_3_spec.rb +15 -12
- data/spec/models/inline_response_200_4_spec.rb +14 -17
- data/spec/models/inline_response_200_5_spec.rb +33 -6
- data/spec/models/inline_response_200_6_spec.rb +15 -12
- data/spec/models/inline_response_200_7_spec.rb +25 -4
- data/spec/models/inline_response_200_8_spec.rb +19 -4
- data/spec/models/inline_response_200_9_spec.rb +19 -4
- data/spec/models/inline_response_200_spec.rb +18 -3
- data/spec/models/investment_spec.rb +36 -27
- data/spec/models/investment_value_spec.rb +17 -8
- data/spec/models/invite_spec.rb +17 -8
- data/spec/models/locked_user_spec.rb +14 -5
- data/spec/models/oidc_whitelist_spec.rb +13 -4
- data/spec/models/pocket_spec.rb +21 -12
- data/spec/models/profile_spec.rb +23 -14
- data/spec/models/project_spec.rb +20 -11
- data/spec/models/project_type_spec.rb +14 -5
- data/spec/models/recipient_log_spec.rb +6 -0
- data/spec/models/recipient_spec.rb +44 -17
- data/spec/models/security_spec.rb +16 -7
- data/spec/models/subscription_spec.rb +28 -13
- data/spec/models/terms_of_service_spec.rb +16 -7
- data/spec/models/transaction_information_spec.rb +15 -6
- data/spec/models/transaction_spec.rb +71 -32
- data/spec/models/transactions_cluster_spec.rb +20 -11
- data/spec/models/transfer_log_spec.rb +6 -0
- data/spec/models/transfer_spec.rb +33 -18
- data/spec/models/user_alert_spec.rb +25 -16
- data/spec/models/user_spec.rb +18 -9
- data/spec/models/webhook_spec.rb +31 -10
- data/spec/spec_helper.rb +62 -2
- metadata +3 -14
- data/docs/Bank.md +0 -20
- data/docs/BankCategory.md +0 -9
- data/docs/ConnectionContact.md +0 -17
- data/lib/budgea_client/models/bank.rb +0 -335
- data/lib/budgea_client/models/bank_category.rb +0 -206
- data/lib/budgea_client/models/connection_contact.rb +0 -274
- data/spec/models/bank_category_spec.rb +0 -38
- data/spec/models/bank_spec.rb +0 -92
- data/spec/models/connection_contact_spec.rb +0 -86
@@ -1,38 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
require 'json'
|
5
|
-
require 'date'
|
6
|
-
|
7
|
-
# Unit tests for BudgeaClient::BankCategory
|
8
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
9
|
-
# Please update as you see appropriate
|
10
|
-
describe 'BankCategory' do
|
11
|
-
before do
|
12
|
-
# run before each test
|
13
|
-
@instance = BudgeaClient::BankCategory.new
|
14
|
-
end
|
15
|
-
|
16
|
-
after do
|
17
|
-
# run after each test
|
18
|
-
end
|
19
|
-
|
20
|
-
describe 'test an instance of BankCategory' do
|
21
|
-
it 'should create an instance of BankCategory' do
|
22
|
-
expect(@instance).to be_instance_of(BudgeaClient::BankCategory)
|
23
|
-
end
|
24
|
-
end
|
25
|
-
describe 'test attribute "id"' do
|
26
|
-
it 'should work' do
|
27
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
describe 'test attribute "name"' 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
|
-
end
|
38
|
-
|
data/spec/models/bank_spec.rb
DELETED
@@ -1,92 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
require 'json'
|
5
|
-
require 'date'
|
6
|
-
|
7
|
-
# Unit tests for BudgeaClient::Bank
|
8
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
9
|
-
# Please update as you see appropriate
|
10
|
-
describe 'Bank' do
|
11
|
-
before do
|
12
|
-
# run before each test
|
13
|
-
@instance = BudgeaClient::Bank.new
|
14
|
-
end
|
15
|
-
|
16
|
-
after do
|
17
|
-
# run after each test
|
18
|
-
end
|
19
|
-
|
20
|
-
describe 'test an instance of Bank' do
|
21
|
-
it 'should create an instance of Bank' do
|
22
|
-
expect(@instance).to be_instance_of(BudgeaClient::Bank)
|
23
|
-
end
|
24
|
-
end
|
25
|
-
describe 'test attribute "id"' do
|
26
|
-
it 'should work' do
|
27
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
describe 'test attribute "name"' 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
|
-
describe 'test attribute "id_weboob"' do
|
38
|
-
it 'should work' do
|
39
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
describe 'test attribute "hidden"' do
|
44
|
-
it 'should work' do
|
45
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
describe 'test attribute "charged"' do
|
50
|
-
it 'should work' do
|
51
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
describe 'test attribute "code"' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
describe 'test attribute "beta"' do
|
62
|
-
it 'should work' do
|
63
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
describe 'test attribute "color"' do
|
68
|
-
it 'should work' do
|
69
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
describe 'test attribute "slug"' do
|
74
|
-
it 'should work' do
|
75
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
describe 'test attribute "sync_frequency"' do
|
80
|
-
it 'should work' do
|
81
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
describe 'test attribute "months_to_fetch"' do
|
86
|
-
it 'should work' do
|
87
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
-
end
|
89
|
-
end
|
90
|
-
|
91
|
-
end
|
92
|
-
|
@@ -1,86 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'spec_helper'
|
4
|
-
require 'json'
|
5
|
-
require 'date'
|
6
|
-
|
7
|
-
# Unit tests for BudgeaClient::ConnectionContact
|
8
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
9
|
-
# Please update as you see appropriate
|
10
|
-
describe 'ConnectionContact' do
|
11
|
-
before do
|
12
|
-
# run before each test
|
13
|
-
@instance = BudgeaClient::ConnectionContact.new
|
14
|
-
end
|
15
|
-
|
16
|
-
after do
|
17
|
-
# run after each test
|
18
|
-
end
|
19
|
-
|
20
|
-
describe 'test an instance of ConnectionContact' do
|
21
|
-
it 'should create an instance of ConnectionContact' do
|
22
|
-
expect(@instance).to be_instance_of(BudgeaClient::ConnectionContact)
|
23
|
-
end
|
24
|
-
end
|
25
|
-
describe 'test attribute "id"' do
|
26
|
-
it 'should work' do
|
27
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
describe 'test attribute "id_connection"' 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
|
-
describe 'test attribute "name"' do
|
38
|
-
it 'should work' do
|
39
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
describe 'test attribute "email"' do
|
44
|
-
it 'should work' do
|
45
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
describe 'test attribute "phone"' do
|
50
|
-
it 'should work' do
|
51
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
describe 'test attribute "mobile"' do
|
56
|
-
it 'should work' do
|
57
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
describe 'test attribute "fax"' do
|
62
|
-
it 'should work' do
|
63
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
describe 'test attribute "agency"' do
|
68
|
-
it 'should work' do
|
69
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
describe 'test attribute "address"' do
|
74
|
-
it 'should work' do
|
75
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
describe 'test attribute "role"' do
|
80
|
-
it 'should work' do
|
81
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
end
|
86
|
-
|