moneykit 0.1.6 → 0.1.10
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/README.md +1 -1
- data/docs/AccessTokenApi.md +4 -4
- data/docs/AccountNumbersApi.md +5 -5
- data/docs/AccountNumbersLegacy20230218.md +24 -0
- data/docs/AccountWithAccountNumbersLegacy20230218.md +28 -0
- data/docs/AccountsApi.md +13 -13
- data/docs/AppClientResponse.md +26 -0
- data/docs/AppResponse.md +24 -0
- data/docs/CreateLinkSessionRequest.md +2 -2
- data/docs/GetAccountNumbersResponseLegacy20230218.md +20 -0
- data/docs/IdentityApi.md +1 -1
- data/docs/Institution.md +1 -1
- data/docs/InstitutionsApi.md +2 -2
- data/docs/InvestmentTransactionResponse.md +4 -4
- data/docs/InvestmentsApi.md +2 -2
- data/docs/LinkProduct.md +28 -0
- data/docs/LinkProducts.md +4 -4
- data/docs/LinksApi.md +5 -5
- data/docs/MoneyKitConnectFeatures.md +3 -1
- data/docs/ProductSettings.md +24 -0
- data/docs/ProductsApi.md +1 -1
- data/docs/ProductsSettings.md +3 -3
- data/docs/RequestedLinkPermission.md +2 -2
- data/docs/Response401GetAccountNumbers.md +22 -0
- data/docs/Response401GetAccountNumbersLegacy20230218LinksIdAccountsNumbersGet.md +22 -0
- data/docs/SecurityResponse.md +2 -2
- data/docs/TransactionsApi.md +5 -5
- data/docs/TransactionsLinkProduct.md +6 -4
- data/docs/TransactionsProductSettings.md +4 -2
- data/docs/UsersApi.md +7 -7
- data/docs/WebhooksApi.md +1 -1
- data/lib/moneykit/api/access_token_api.rb +3 -3
- data/lib/moneykit/api/account_numbers_api.rb +3 -3
- data/lib/moneykit/api/accounts_api.rb +9 -9
- data/lib/moneykit/api/investments_api.rb +2 -2
- data/lib/moneykit/api/transactions_api.rb +6 -6
- data/lib/moneykit/api/users_api.rb +8 -8
- data/lib/moneykit/models/account_numbers_legacy20230218.rb +275 -0
- data/lib/moneykit/models/account_with_account_numbers_legacy20230218.rb +296 -0
- data/lib/moneykit/models/app_client_response.rb +281 -0
- data/lib/moneykit/models/app_response.rb +272 -0
- data/lib/moneykit/models/create_link_session_request.rb +2 -2
- data/lib/moneykit/models/get_account_numbers_response_legacy20230218.rb +237 -0
- data/lib/moneykit/models/institution.rb +1 -1
- data/lib/moneykit/models/investment_transaction_response.rb +13 -13
- data/lib/moneykit/models/link_product.rb +283 -0
- data/lib/moneykit/models/link_product_failure_reasons.rb +2 -1
- data/lib/moneykit/models/link_products.rb +4 -4
- data/lib/moneykit/models/money_kit_connect_features.rb +16 -4
- data/lib/moneykit/models/product_settings.rb +249 -0
- data/lib/moneykit/models/products_settings.rb +3 -3
- data/lib/moneykit/models/requested_link_permission.rb +2 -2
- data/lib/moneykit/models/response401_get_account_numbers.rb +104 -0
- data/lib/moneykit/models/response401_get_account_numbers_legacy20230218_links_id_accounts_numbers_get.rb +104 -0
- data/lib/moneykit/models/security_response.rb +11 -11
- data/lib/moneykit/models/transactions_link_product.rb +22 -18
- data/lib/moneykit/models/transactions_product_settings.rb +20 -10
- data/lib/moneykit/version.rb +1 -1
- data/lib/moneykit.rb +8 -14
- data/spec/models/account_numbers_legacy20230218_spec.rb +54 -0
- data/spec/models/account_with_account_numbers_legacy20230218_spec.rb +66 -0
- data/spec/models/app_client_response_spec.rb +60 -0
- data/spec/models/app_response_spec.rb +54 -0
- data/spec/models/get_account_numbers_response_legacy20230218_spec.rb +42 -0
- data/spec/models/link_product_spec.rb +66 -0
- data/spec/models/product_settings_spec.rb +54 -0
- data/spec/models/response401_get_account_numbers_legacy20230218_links_id_accounts_numbers_get_spec.rb +21 -0
- data/spec/models/response401_get_account_numbers_spec.rb +21 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.1.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.1.1.1/psych.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.7.3/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.1.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.1.0/stringio.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.1.1.1/lib/psych.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/racc-1.7.3/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.1.0/lib/stringio.so +0 -0
- metadata +147 -111
@@ -26,10 +26,14 @@ module MoneyKit
|
|
26
26
|
# The error message, if the last attempt to refresh the product failed.
|
27
27
|
attr_accessor :error_message
|
28
28
|
|
29
|
-
|
29
|
+
# If this product can't currently be updated, the reason why it is unavailable. <p>Unavailable products can't be refreshed, but past data, if any, is still accessible.
|
30
|
+
attr_accessor :unavailable
|
30
31
|
|
31
32
|
attr_accessor :settings
|
32
33
|
|
34
|
+
# DEPRECATED: No longer used as we fetch as much history as possible.
|
35
|
+
attr_accessor :has_history
|
36
|
+
|
33
37
|
class EnumAttributeValidator
|
34
38
|
attr_reader :datatype
|
35
39
|
attr_reader :allowable_values
|
@@ -59,8 +63,9 @@ module MoneyKit
|
|
59
63
|
:'last_attempted_at' => :'last_attempted_at',
|
60
64
|
:'error_code' => :'error_code',
|
61
65
|
:'error_message' => :'error_message',
|
62
|
-
:'
|
63
|
-
:'settings' => :'settings'
|
66
|
+
:'unavailable' => :'unavailable',
|
67
|
+
:'settings' => :'settings',
|
68
|
+
:'has_history' => :'has_history'
|
64
69
|
}
|
65
70
|
end
|
66
71
|
|
@@ -76,8 +81,9 @@ module MoneyKit
|
|
76
81
|
:'last_attempted_at' => :'Time',
|
77
82
|
:'error_code' => :'LinkProductFailureReasons',
|
78
83
|
:'error_message' => :'String',
|
79
|
-
:'
|
80
|
-
:'settings' => :'TransactionsProductSettings'
|
84
|
+
:'unavailable' => :'String',
|
85
|
+
:'settings' => :'TransactionsProductSettings',
|
86
|
+
:'has_history' => :'Boolean'
|
81
87
|
}
|
82
88
|
end
|
83
89
|
|
@@ -118,16 +124,18 @@ module MoneyKit
|
|
118
124
|
self.error_message = attributes[:'error_message']
|
119
125
|
end
|
120
126
|
|
121
|
-
if attributes.key?(:'
|
122
|
-
self.
|
123
|
-
else
|
124
|
-
self.has_history = nil
|
127
|
+
if attributes.key?(:'unavailable')
|
128
|
+
self.unavailable = attributes[:'unavailable']
|
125
129
|
end
|
126
130
|
|
127
131
|
if attributes.key?(:'settings')
|
128
132
|
self.settings = attributes[:'settings']
|
133
|
+
end
|
134
|
+
|
135
|
+
if attributes.key?(:'has_history')
|
136
|
+
self.has_history = attributes[:'has_history']
|
129
137
|
else
|
130
|
-
self.
|
138
|
+
self.has_history = nil
|
131
139
|
end
|
132
140
|
end
|
133
141
|
|
@@ -140,10 +148,6 @@ module MoneyKit
|
|
140
148
|
invalid_properties.push('invalid value for "has_history", has_history cannot be nil.')
|
141
149
|
end
|
142
150
|
|
143
|
-
if @settings.nil?
|
144
|
-
invalid_properties.push('invalid value for "settings", settings cannot be nil.')
|
145
|
-
end
|
146
|
-
|
147
151
|
invalid_properties
|
148
152
|
end
|
149
153
|
|
@@ -152,7 +156,6 @@ module MoneyKit
|
|
152
156
|
def valid?
|
153
157
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
154
158
|
return false if @has_history.nil?
|
155
|
-
return false if @settings.nil?
|
156
159
|
true
|
157
160
|
end
|
158
161
|
|
@@ -165,8 +168,9 @@ module MoneyKit
|
|
165
168
|
last_attempted_at == o.last_attempted_at &&
|
166
169
|
error_code == o.error_code &&
|
167
170
|
error_message == o.error_message &&
|
168
|
-
|
169
|
-
settings == o.settings
|
171
|
+
unavailable == o.unavailable &&
|
172
|
+
settings == o.settings &&
|
173
|
+
has_history == o.has_history
|
170
174
|
end
|
171
175
|
|
172
176
|
# @see the `==` method
|
@@ -178,7 +182,7 @@ module MoneyKit
|
|
178
182
|
# Calculates hash code according to all attributes.
|
179
183
|
# @return [Integer] Hash code
|
180
184
|
def hash
|
181
|
-
[refreshed_at, last_attempted_at, error_code, error_message,
|
185
|
+
[refreshed_at, last_attempted_at, error_code, error_message, unavailable, settings, has_history].hash
|
182
186
|
end
|
183
187
|
|
184
188
|
# Builds the object from hash
|
@@ -18,18 +18,22 @@ module MoneyKit
|
|
18
18
|
# If true, only institutions supporting this product will be available.
|
19
19
|
attr_accessor :required
|
20
20
|
|
21
|
+
# This flag matters only if `required` is false. For non-required products, the product permission is normally presented to the user as optional (granted by default, but the user may opt out). If this flag is true, however, the product permission will be presented in the UI as non-optional: the user's only choice is to grant the permission or to cancel the link. <p> Note that this field is ignored if `required` is true. Permission is always mandatory for required products.
|
22
|
+
attr_accessor :require_permission
|
23
|
+
|
21
24
|
# If true, the data will be available as soon as possible after linking, even if `required` is false. If false, the data will be available after the first manual data refresh.
|
22
25
|
attr_accessor :prefetch
|
23
26
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
27
|
+
# A **brief** description of the reason your app wants this data. This description will follow the words \"...data is used to\", and will be displayed to the user when permission is requested. You should provide this field if your app does not request this product by default, or if you want to show a particular reason for requesting the product during this link session.
|
28
|
+
attr_accessor :reason
|
26
29
|
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
31
|
def self.attribute_map
|
29
32
|
{
|
30
33
|
:'required' => :'required',
|
34
|
+
:'require_permission' => :'require_permission',
|
31
35
|
:'prefetch' => :'prefetch',
|
32
|
-
:'
|
36
|
+
:'reason' => :'reason'
|
33
37
|
}
|
34
38
|
end
|
35
39
|
|
@@ -42,8 +46,9 @@ module MoneyKit
|
|
42
46
|
def self.openapi_types
|
43
47
|
{
|
44
48
|
:'required' => :'Boolean',
|
49
|
+
:'require_permission' => :'Boolean',
|
45
50
|
:'prefetch' => :'Boolean',
|
46
|
-
:'
|
51
|
+
:'reason' => :'String'
|
47
52
|
}
|
48
53
|
end
|
49
54
|
|
@@ -74,16 +79,20 @@ module MoneyKit
|
|
74
79
|
self.required = false
|
75
80
|
end
|
76
81
|
|
82
|
+
if attributes.key?(:'require_permission')
|
83
|
+
self.require_permission = attributes[:'require_permission']
|
84
|
+
else
|
85
|
+
self.require_permission = false
|
86
|
+
end
|
87
|
+
|
77
88
|
if attributes.key?(:'prefetch')
|
78
89
|
self.prefetch = attributes[:'prefetch']
|
79
90
|
else
|
80
91
|
self.prefetch = false
|
81
92
|
end
|
82
93
|
|
83
|
-
if attributes.key?(:'
|
84
|
-
self.
|
85
|
-
else
|
86
|
-
self.extend_history = false
|
94
|
+
if attributes.key?(:'reason')
|
95
|
+
self.reason = attributes[:'reason']
|
87
96
|
end
|
88
97
|
end
|
89
98
|
|
@@ -108,8 +117,9 @@ module MoneyKit
|
|
108
117
|
return true if self.equal?(o)
|
109
118
|
self.class == o.class &&
|
110
119
|
required == o.required &&
|
120
|
+
require_permission == o.require_permission &&
|
111
121
|
prefetch == o.prefetch &&
|
112
|
-
|
122
|
+
reason == o.reason
|
113
123
|
end
|
114
124
|
|
115
125
|
# @see the `==` method
|
@@ -121,7 +131,7 @@ module MoneyKit
|
|
121
131
|
# Calculates hash code according to all attributes.
|
122
132
|
# @return [Integer] Hash code
|
123
133
|
def hash
|
124
|
-
[required, prefetch,
|
134
|
+
[required, require_permission, prefetch, reason].hash
|
125
135
|
end
|
126
136
|
|
127
137
|
# Builds the object from hash
|
data/lib/moneykit/version.rb
CHANGED
data/lib/moneykit.rb
CHANGED
@@ -24,13 +24,12 @@ require 'moneykit/models/account'
|
|
24
24
|
require 'moneykit/models/account_balances'
|
25
25
|
require 'moneykit/models/account_group'
|
26
26
|
require 'moneykit/models/account_identity'
|
27
|
-
require 'moneykit/models/
|
28
|
-
require 'moneykit/models/
|
29
|
-
require 'moneykit/models/account_numbers_product_settings'
|
30
|
-
require 'moneykit/models/account_with_account_numbers'
|
31
|
-
require 'moneykit/models/accounts_link_product'
|
27
|
+
require 'moneykit/models/account_numbers_legacy20230218'
|
28
|
+
require 'moneykit/models/account_with_account_numbers_legacy20230218'
|
32
29
|
require 'moneykit/models/ach_number'
|
33
30
|
require 'moneykit/models/address'
|
31
|
+
require 'moneykit/models/app_client_response'
|
32
|
+
require 'moneykit/models/app_response'
|
34
33
|
require 'moneykit/models/bacs_number'
|
35
34
|
require 'moneykit/models/basic_account_details'
|
36
35
|
require 'moneykit/models/body'
|
@@ -39,13 +38,12 @@ require 'moneykit/models/create_link_session_request'
|
|
39
38
|
require 'moneykit/models/create_link_session_response'
|
40
39
|
require 'moneykit/models/currency'
|
41
40
|
require 'moneykit/models/cursor_pagination'
|
42
|
-
require 'moneykit/models/customer_app'
|
43
41
|
require 'moneykit/models/eft_number'
|
44
42
|
require 'moneykit/models/email'
|
45
43
|
require 'moneykit/models/exchange_token_request'
|
46
44
|
require 'moneykit/models/exchange_token_response'
|
47
45
|
require 'moneykit/models/generate_access_token_response'
|
48
|
-
require 'moneykit/models/
|
46
|
+
require 'moneykit/models/get_account_numbers_response_legacy20230218'
|
49
47
|
require 'moneykit/models/get_account_response'
|
50
48
|
require 'moneykit/models/get_accounts_response'
|
51
49
|
require 'moneykit/models/get_holdings_response'
|
@@ -57,16 +55,11 @@ require 'moneykit/models/get_user_links_response'
|
|
57
55
|
require 'moneykit/models/get_user_transactions_response'
|
58
56
|
require 'moneykit/models/http_validation_error'
|
59
57
|
require 'moneykit/models/holding_response'
|
60
|
-
require 'moneykit/models/identity_link_product'
|
61
|
-
require 'moneykit/models/identity_product_settings'
|
62
58
|
require 'moneykit/models/identity_response'
|
63
59
|
require 'moneykit/models/institution'
|
64
60
|
require 'moneykit/models/institution_error_not_found_response'
|
65
61
|
require 'moneykit/models/international_number'
|
66
|
-
require 'moneykit/models/introspect_client_response'
|
67
62
|
require 'moneykit/models/investment_transaction_response'
|
68
|
-
require 'moneykit/models/investments_link_product'
|
69
|
-
require 'moneykit/models/investments_product_settings'
|
70
63
|
require 'moneykit/models/jwk_set'
|
71
64
|
require 'moneykit/models/link_common'
|
72
65
|
require 'moneykit/models/link_error'
|
@@ -76,8 +69,8 @@ require 'moneykit/models/link_error_deleted_response'
|
|
76
69
|
require 'moneykit/models/link_error_forbidden_action_response'
|
77
70
|
require 'moneykit/models/link_error_not_found_response'
|
78
71
|
require 'moneykit/models/link_error_unauthorized_access_response'
|
79
|
-
require 'moneykit/models/link_permission_scope'
|
80
72
|
require 'moneykit/models/link_permissions'
|
73
|
+
require 'moneykit/models/link_product'
|
81
74
|
require 'moneykit/models/link_product_failure_reasons'
|
82
75
|
require 'moneykit/models/link_product_refresh_webhook'
|
83
76
|
require 'moneykit/models/link_product_state'
|
@@ -96,6 +89,7 @@ require 'moneykit/models/owner'
|
|
96
89
|
require 'moneykit/models/phone_number'
|
97
90
|
require 'moneykit/models/phone_number_type'
|
98
91
|
require 'moneykit/models/product'
|
92
|
+
require 'moneykit/models/product_settings'
|
99
93
|
require 'moneykit/models/products_settings'
|
100
94
|
require 'moneykit/models/provider'
|
101
95
|
require 'moneykit/models/refresh_products_request'
|
@@ -103,7 +97,7 @@ require 'moneykit/models/requested_link_permission'
|
|
103
97
|
require 'moneykit/models/response401_disconnect_links_id_delete'
|
104
98
|
require 'moneykit/models/response401_exchange_token_link_session_exchange_token_post'
|
105
99
|
require 'moneykit/models/response401_get_account_links_id_accounts_account_id_get'
|
106
|
-
require 'moneykit/models/
|
100
|
+
require 'moneykit/models/response401_get_account_numbers'
|
107
101
|
require 'moneykit/models/response401_get_accounts_links_id_accounts_get'
|
108
102
|
require 'moneykit/models/response401_get_holdings_links_id_investments_holdings_get'
|
109
103
|
require 'moneykit/models/response401_get_identities_links_id_identity_get'
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#MoneyKit API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2023-02-18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MoneyKit::AccountNumbersLegacy20230218
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MoneyKit::AccountNumbersLegacy20230218 do
|
21
|
+
let(:instance) { MoneyKit::AccountNumbersLegacy20230218.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountNumbersLegacy20230218' do
|
24
|
+
it 'should create an instance of AccountNumbersLegacy20230218' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
# expect(instance).to be_instance_of(MoneyKit::AccountNumbersLegacy20230218)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "ach"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "bacs"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "eft"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "international"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
=begin
|
2
|
+
#MoneyKit API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2023-02-18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MoneyKit::AccountWithAccountNumbersLegacy20230218
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MoneyKit::AccountWithAccountNumbersLegacy20230218 do
|
21
|
+
let(:instance) { MoneyKit::AccountWithAccountNumbersLegacy20230218.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountWithAccountNumbersLegacy20230218' do
|
24
|
+
it 'should create an instance of AccountWithAccountNumbersLegacy20230218' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
# expect(instance).to be_instance_of(MoneyKit::AccountWithAccountNumbersLegacy20230218)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "account_id"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "account_type"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "name"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "account_mask"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "balances"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "numbers"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#MoneyKit API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2023-02-18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MoneyKit::AppClientResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MoneyKit::AppClientResponse do
|
21
|
+
let(:instance) { MoneyKit::AppClientResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AppClientResponse' do
|
24
|
+
it 'should create an instance of AppClientResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
# expect(instance).to be_instance_of(MoneyKit::AppClientResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "client_id"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "client_name"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "scope"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "app"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "disabled_at"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#MoneyKit API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2023-02-18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MoneyKit::AppResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MoneyKit::AppResponse do
|
21
|
+
let(:instance) { MoneyKit::AppResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AppResponse' do
|
24
|
+
it 'should create an instance of AppResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
# expect(instance).to be_instance_of(MoneyKit::AppResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "app_id"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "name"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "id"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "app_name"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#MoneyKit API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2023-02-18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MoneyKit::GetAccountNumbersResponseLegacy20230218
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MoneyKit::GetAccountNumbersResponseLegacy20230218 do
|
21
|
+
let(:instance) { MoneyKit::GetAccountNumbersResponseLegacy20230218.new }
|
22
|
+
|
23
|
+
describe 'test an instance of GetAccountNumbersResponseLegacy20230218' do
|
24
|
+
it 'should create an instance of GetAccountNumbersResponseLegacy20230218' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
# expect(instance).to be_instance_of(MoneyKit::GetAccountNumbersResponseLegacy20230218)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "accounts"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "link"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
=begin
|
2
|
+
#MoneyKit API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2023-02-18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MoneyKit::LinkProduct
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MoneyKit::LinkProduct do
|
21
|
+
let(:instance) { MoneyKit::LinkProduct.new }
|
22
|
+
|
23
|
+
describe 'test an instance of LinkProduct' do
|
24
|
+
it 'should create an instance of LinkProduct' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
# expect(instance).to be_instance_of(MoneyKit::LinkProduct)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "refreshed_at"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "last_attempted_at"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "error_code"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "error_message"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "unavailable"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "settings"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
=begin
|
2
|
+
#MoneyKit API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2023-02-18
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.1.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MoneyKit::ProductSettings
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MoneyKit::ProductSettings do
|
21
|
+
let(:instance) { MoneyKit::ProductSettings.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ProductSettings' do
|
24
|
+
it 'should create an instance of ProductSettings' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
# expect(instance).to be_instance_of(MoneyKit::ProductSettings)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "required"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "require_permission"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "prefetch"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "reason"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|