budgea_client 5.3.2 → 5.3.7
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +6 -4
- data/budgea_client.gemspec +2 -1
- data/budgea_openapi.json +66 -34
- data/config.json +1 -1
- data/docs/BanksApi.md +2 -0
- data/docs/Connection.md +1 -0
- data/docs/ConnectionsApi.md +2 -0
- data/docs/ProvidersApi.md +2 -0
- data/docs/Transfer.md +1 -0
- data/docs/TransferData.md +12 -0
- data/docs/TransferValidationData.md +8 -0
- data/docs/TransfersApi.md +11 -16
- data/lib/budgea_client.rb +3 -1
- data/lib/budgea_client/api/administration_api.rb +1 -1
- data/lib/budgea_client/api/authentication_api.rb +1 -1
- data/lib/budgea_client/api/banks_api.rb +4 -1
- data/lib/budgea_client/api/connections_api.rb +4 -1
- data/lib/budgea_client/api/documents_api.rb +1 -1
- data/lib/budgea_client/api/ocr_api.rb +1 -1
- data/lib/budgea_client/api/oidc_api.rb +1 -1
- data/lib/budgea_client/api/pfm_api.rb +1 -1
- data/lib/budgea_client/api/providers_api.rb +4 -1
- data/lib/budgea_client/api/recipients_api.rb +1 -1
- data/lib/budgea_client/api/terms_api.rb +1 -1
- data/lib/budgea_client/api/transfer_api.rb +1 -1
- data/lib/budgea_client/api/transfers_api.rb +22 -29
- data/lib/budgea_client/api/users_management_api.rb +1 -1
- data/lib/budgea_client/api/wealth_api.rb +1 -1
- data/lib/budgea_client/api_client.rb +4 -4
- data/lib/budgea_client/api_error.rb +1 -1
- data/lib/budgea_client/configuration.rb +3 -3
- data/lib/budgea_client/models/access.rb +1 -1
- data/lib/budgea_client/models/account.rb +1 -1
- data/lib/budgea_client/models/account_log.rb +1 -1
- data/lib/budgea_client/models/account_type.rb +1 -1
- data/lib/budgea_client/models/alert.rb +1 -1
- data/lib/budgea_client/models/auth_provider.rb +1 -1
- data/lib/budgea_client/models/category.rb +1 -1
- data/lib/budgea_client/models/certificate.rb +1 -1
- data/lib/budgea_client/models/client.rb +1 -1
- data/lib/budgea_client/models/config_log.rb +1 -1
- data/lib/budgea_client/models/connection.rb +17 -4
- data/lib/budgea_client/models/connection_log.rb +1 -1
- data/lib/budgea_client/models/connection_source.rb +1 -1
- data/lib/budgea_client/models/connector.rb +1 -1
- data/lib/budgea_client/models/connector_category.rb +1 -1
- data/lib/budgea_client/models/connector_logo.rb +1 -1
- data/lib/budgea_client/models/connector_source.rb +1 -1
- data/lib/budgea_client/models/currency.rb +1 -1
- data/lib/budgea_client/models/device.rb +1 -1
- data/lib/budgea_client/models/document.rb +1 -1
- data/lib/budgea_client/models/document_type.rb +1 -1
- data/lib/budgea_client/models/field.rb +1 -1
- data/lib/budgea_client/models/field_value.rb +1 -1
- data/lib/budgea_client/models/file.rb +1 -1
- data/lib/budgea_client/models/group.rb +1 -1
- data/lib/budgea_client/models/hash_table.rb +1 -1
- data/lib/budgea_client/models/inline_response_200.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_1.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_10.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_11.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_12.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_13.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_14.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_15.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_16.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_17.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_18.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_19.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_2.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_20.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_21.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_22.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_23.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_24.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_25.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_26.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_27.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_28.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_29.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_3.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_30.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_31.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_32.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_33.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_34.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_35.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_36.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_37.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_38.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_39.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_4.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_40.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_41.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_42.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_5.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_6.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_7.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_8.rb +1 -1
- data/lib/budgea_client/models/inline_response_200_9.rb +1 -1
- data/lib/budgea_client/models/investment.rb +1 -1
- data/lib/budgea_client/models/investment_value.rb +1 -1
- data/lib/budgea_client/models/keyword.rb +1 -1
- data/lib/budgea_client/models/locked_user.rb +1 -1
- data/lib/budgea_client/models/oidc_whitelist.rb +1 -1
- data/lib/budgea_client/models/order.rb +1 -1
- data/lib/budgea_client/models/pocket.rb +1 -1
- data/lib/budgea_client/models/profile.rb +1 -1
- data/lib/budgea_client/models/project.rb +1 -1
- data/lib/budgea_client/models/project_type.rb +1 -1
- data/lib/budgea_client/models/recipient.rb +1 -1
- data/lib/budgea_client/models/recipient_log.rb +1 -1
- data/lib/budgea_client/models/security.rb +1 -1
- data/lib/budgea_client/models/subscription.rb +1 -1
- data/lib/budgea_client/models/subscription_log.rb +1 -1
- data/lib/budgea_client/models/terms_of_service.rb +1 -1
- data/lib/budgea_client/models/transaction.rb +1 -1
- data/lib/budgea_client/models/transaction_information.rb +1 -1
- data/lib/budgea_client/models/transactions_cluster.rb +1 -1
- data/lib/budgea_client/models/transfer.rb +16 -5
- data/lib/budgea_client/models/transfer_data.rb +240 -0
- data/lib/budgea_client/models/transfer_log.rb +1 -1
- data/lib/budgea_client/models/transfer_validation_data.rb +185 -0
- data/lib/budgea_client/models/user.rb +1 -1
- data/lib/budgea_client/models/user_alert.rb +1 -1
- data/lib/budgea_client/models/webhook.rb +1 -1
- data/lib/budgea_client/models/webhook_data.rb +1 -1
- data/lib/budgea_client/models/webhook_log.rb +1 -1
- data/lib/budgea_client/version.rb +2 -2
- data/spec/api/administration_api_spec.rb +1 -1
- data/spec/api/authentication_api_spec.rb +1 -1
- data/spec/api/banks_api_spec.rb +1 -1
- data/spec/api/connections_api_spec.rb +1 -1
- data/spec/api/documents_api_spec.rb +1 -1
- data/spec/api/ocr_api_spec.rb +1 -1
- data/spec/api/oidc_api_spec.rb +1 -1
- data/spec/api/pfm_api_spec.rb +1 -1
- data/spec/api/providers_api_spec.rb +1 -1
- data/spec/api/recipients_api_spec.rb +1 -1
- data/spec/api/terms_api_spec.rb +1 -1
- data/spec/api/transfer_api_spec.rb +1 -1
- data/spec/api/transfers_api_spec.rb +1 -1
- data/spec/api/users_management_api_spec.rb +1 -1
- data/spec/api/wealth_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/access_spec.rb +1 -1
- data/spec/models/account_log_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/account_type_spec.rb +1 -1
- data/spec/models/alert_spec.rb +1 -1
- data/spec/models/auth_provider_spec.rb +1 -1
- data/spec/models/category_spec.rb +1 -1
- data/spec/models/certificate_spec.rb +1 -1
- data/spec/models/client_spec.rb +1 -1
- data/spec/models/config_log_spec.rb +1 -1
- data/spec/models/connection_log_spec.rb +1 -1
- data/spec/models/connection_source_spec.rb +1 -1
- data/spec/models/connection_spec.rb +1 -1
- data/spec/models/connector_category_spec.rb +1 -1
- data/spec/models/connector_logo_spec.rb +1 -1
- data/spec/models/connector_source_spec.rb +1 -1
- data/spec/models/connector_spec.rb +1 -1
- data/spec/models/currency_spec.rb +1 -1
- data/spec/models/device_spec.rb +1 -1
- data/spec/models/document_spec.rb +1 -1
- data/spec/models/document_type_spec.rb +1 -1
- data/spec/models/field_spec.rb +1 -1
- data/spec/models/field_value_spec.rb +1 -1
- data/spec/models/file_spec.rb +1 -1
- data/spec/models/group_spec.rb +1 -1
- data/spec/models/hash_table_spec.rb +1 -1
- data/spec/models/inline_response_200_10_spec.rb +1 -1
- data/spec/models/inline_response_200_11_spec.rb +1 -1
- data/spec/models/inline_response_200_12_spec.rb +1 -1
- data/spec/models/inline_response_200_13_spec.rb +1 -1
- data/spec/models/inline_response_200_14_spec.rb +1 -1
- data/spec/models/inline_response_200_15_spec.rb +1 -1
- data/spec/models/inline_response_200_16_spec.rb +1 -1
- data/spec/models/inline_response_200_17_spec.rb +1 -1
- data/spec/models/inline_response_200_18_spec.rb +1 -1
- data/spec/models/inline_response_200_19_spec.rb +1 -1
- data/spec/models/inline_response_200_1_spec.rb +1 -1
- data/spec/models/inline_response_200_20_spec.rb +1 -1
- data/spec/models/inline_response_200_21_spec.rb +1 -1
- data/spec/models/inline_response_200_22_spec.rb +1 -1
- data/spec/models/inline_response_200_23_spec.rb +1 -1
- data/spec/models/inline_response_200_24_spec.rb +1 -1
- data/spec/models/inline_response_200_25_spec.rb +1 -1
- data/spec/models/inline_response_200_26_spec.rb +1 -1
- data/spec/models/inline_response_200_27_spec.rb +1 -1
- data/spec/models/inline_response_200_28_spec.rb +1 -1
- data/spec/models/inline_response_200_29_spec.rb +1 -1
- data/spec/models/inline_response_200_2_spec.rb +1 -1
- data/spec/models/inline_response_200_30_spec.rb +1 -1
- data/spec/models/inline_response_200_31_spec.rb +1 -1
- data/spec/models/inline_response_200_32_spec.rb +1 -1
- data/spec/models/inline_response_200_33_spec.rb +1 -1
- data/spec/models/inline_response_200_34_spec.rb +1 -1
- data/spec/models/inline_response_200_35_spec.rb +1 -1
- data/spec/models/inline_response_200_36_spec.rb +1 -1
- data/spec/models/inline_response_200_37_spec.rb +1 -1
- data/spec/models/inline_response_200_38_spec.rb +1 -1
- data/spec/models/inline_response_200_39_spec.rb +1 -1
- data/spec/models/inline_response_200_3_spec.rb +1 -1
- data/spec/models/inline_response_200_40_spec.rb +1 -1
- data/spec/models/inline_response_200_41_spec.rb +1 -1
- data/spec/models/inline_response_200_42_spec.rb +1 -1
- data/spec/models/inline_response_200_4_spec.rb +1 -1
- data/spec/models/inline_response_200_5_spec.rb +1 -1
- data/spec/models/inline_response_200_6_spec.rb +1 -1
- data/spec/models/inline_response_200_7_spec.rb +1 -1
- data/spec/models/inline_response_200_8_spec.rb +1 -1
- data/spec/models/inline_response_200_9_spec.rb +1 -1
- data/spec/models/inline_response_200_spec.rb +1 -1
- data/spec/models/investment_spec.rb +1 -1
- data/spec/models/investment_value_spec.rb +1 -1
- data/spec/models/keyword_spec.rb +1 -1
- data/spec/models/locked_user_spec.rb +1 -1
- data/spec/models/oidc_whitelist_spec.rb +1 -1
- data/spec/models/order_spec.rb +1 -1
- data/spec/models/pocket_spec.rb +1 -1
- data/spec/models/profile_spec.rb +1 -1
- data/spec/models/project_spec.rb +1 -1
- data/spec/models/project_type_spec.rb +1 -1
- data/spec/models/recipient_log_spec.rb +1 -1
- data/spec/models/recipient_spec.rb +1 -1
- data/spec/models/security_spec.rb +1 -1
- data/spec/models/subscription_log_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/terms_of_service_spec.rb +1 -1
- data/spec/models/transaction_information_spec.rb +1 -1
- data/spec/models/transaction_spec.rb +1 -1
- data/spec/models/transactions_cluster_spec.rb +1 -1
- data/spec/models/transfer_data_spec.rb +65 -0
- data/spec/models/transfer_log_spec.rb +1 -1
- data/spec/models/transfer_spec.rb +1 -1
- data/spec/models/transfer_validation_data_spec.rb +41 -0
- data/spec/models/user_alert_spec.rb +1 -1
- data/spec/models/user_spec.rb +1 -1
- data/spec/models/webhook_data_spec.rb +1 -1
- data/spec/models/webhook_log_spec.rb +1 -1
- data/spec/models/webhook_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +34 -8
- data/pkg/budgea_client-5.3.1.gem +0 -0
|
@@ -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.
|
|
9
|
+
Swagger Codegen version: 2.4.19
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -54,6 +54,8 @@ module BudgeaClient
|
|
|
54
54
|
|
|
55
55
|
attr_accessor :accounts
|
|
56
56
|
|
|
57
|
+
attr_accessor :all_accounts
|
|
58
|
+
|
|
57
59
|
attr_accessor :subscriptions
|
|
58
60
|
|
|
59
61
|
attr_accessor :connection
|
|
@@ -99,6 +101,7 @@ module BudgeaClient
|
|
|
99
101
|
:'fields' => :'fields',
|
|
100
102
|
:'next_try' => :'next_try',
|
|
101
103
|
:'accounts' => :'accounts',
|
|
104
|
+
:'all_accounts' => :'all_accounts',
|
|
102
105
|
:'subscriptions' => :'subscriptions',
|
|
103
106
|
:'connection' => :'connection',
|
|
104
107
|
:'message' => :'message'
|
|
@@ -122,6 +125,7 @@ module BudgeaClient
|
|
|
122
125
|
:'fields' => :'Array<Field>',
|
|
123
126
|
:'next_try' => :'DateTime',
|
|
124
127
|
:'accounts' => :'Array<Account>',
|
|
128
|
+
:'all_accounts' => :'Array<Account>',
|
|
125
129
|
:'subscriptions' => :'Array<Subscription>',
|
|
126
130
|
:'connection' => :'Connection',
|
|
127
131
|
:'message' => :'String'
|
|
@@ -198,6 +202,12 @@ module BudgeaClient
|
|
|
198
202
|
end
|
|
199
203
|
end
|
|
200
204
|
|
|
205
|
+
if attributes.has_key?(:'all_accounts')
|
|
206
|
+
if (value = attributes[:'all_accounts']).is_a?(Array)
|
|
207
|
+
self.all_accounts = value
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
201
211
|
if attributes.has_key?(:'subscriptions')
|
|
202
212
|
if (value = attributes[:'subscriptions']).is_a?(Array)
|
|
203
213
|
self.subscriptions = value
|
|
@@ -238,7 +248,8 @@ module BudgeaClient
|
|
|
238
248
|
return false if @id.nil?
|
|
239
249
|
return false if @id_connector.nil?
|
|
240
250
|
return false if @active.nil?
|
|
241
|
-
|
|
251
|
+
# Nil on validator is a monkey patch since swagger 2.0 does not allow nullable Enum
|
|
252
|
+
state_validator = EnumAttributeValidator.new('String', ['wrongpass', 'additionalInformationNeeded', 'websiteUnavailable', 'actionNeeded', 'SCARequired', 'decoupled', 'passwordExpired', 'webauthRequired', 'rateLimiting', 'bug', nil])
|
|
242
253
|
return false unless state_validator.valid?(@state)
|
|
243
254
|
true
|
|
244
255
|
end
|
|
@@ -246,7 +257,8 @@ module BudgeaClient
|
|
|
246
257
|
# Custom attribute writer method checking allowed values (enum).
|
|
247
258
|
# @param [Object] state Object to be assigned
|
|
248
259
|
def state=(state)
|
|
249
|
-
validator
|
|
260
|
+
# Nil on validator is a monkey patch since swagger 2.0 does not allow nullable Enum
|
|
261
|
+
validator = EnumAttributeValidator.new('String', ['wrongpass', 'additionalInformationNeeded', 'websiteUnavailable', 'actionNeeded', 'SCARequired', 'decoupled', 'passwordExpired', 'webauthRequired', 'rateLimiting', 'bug', nil])
|
|
250
262
|
unless validator.valid?(state)
|
|
251
263
|
fail ArgumentError, 'invalid value for "state", must be one of #{validator.allowable_values}.'
|
|
252
264
|
end
|
|
@@ -272,6 +284,7 @@ module BudgeaClient
|
|
|
272
284
|
fields == o.fields &&
|
|
273
285
|
next_try == o.next_try &&
|
|
274
286
|
accounts == o.accounts &&
|
|
287
|
+
all_accounts == o.all_accounts &&
|
|
275
288
|
subscriptions == o.subscriptions &&
|
|
276
289
|
connection == o.connection &&
|
|
277
290
|
message == o.message
|
|
@@ -286,7 +299,7 @@ module BudgeaClient
|
|
|
286
299
|
# Calculates hash code according to all attributes.
|
|
287
300
|
# @return [Fixnum] Hash code
|
|
288
301
|
def hash
|
|
289
|
-
[id, id_user, id_connector, last_update, created, error, error_message, expire, active, last_push, state, fields, next_try, accounts, subscriptions, connection, message].hash
|
|
302
|
+
[id, id_user, id_connector, last_update, created, error, error_message, expire, active, last_push, state, fields, next_try, accounts, all_accounts, subscriptions, connection, message].hash
|
|
290
303
|
end
|
|
291
304
|
|
|
292
305
|
# Builds the object from hash
|