budgea_client 5.3.6 → 5.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/budgea_client.gemspec +2 -1
- data/budgea_openapi.json +6 -0
- data/config.json +1 -1
- data/docs/Connection.md +1 -0
- data/lib/budgea_client.rb +1 -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 +1 -1
- data/lib/budgea_client/api/connections_api.rb +1 -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 +1 -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 +1 -1
- 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 +13 -2
- 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 +1 -1
- data/lib/budgea_client/models/transfer_data.rb +1 -1
- data/lib/budgea_client/models/transfer_log.rb +1 -1
- data/lib/budgea_client/models/transfer_validation_data.rb +1 -1
- 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
- metadata +23 -4
- data/pkg/budgea_client-5.3.6.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d25dbb76f26fda309e2533e0a6d517611f77c28df3e743e5914e4d11f8e23b3
|
4
|
+
data.tar.gz: f8ff8242183eee79cdeb2a00b51d2593f1fe1fe7311141e13d66dbd35d439741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c36301f0a982eff6f3d6a27bd5715ebc61d62ae55a9a7d5425976cd76ed22a96c71012155c1c567413bd220835cb10cadb7192db44a492f6f9dc88c59ae0ea6
|
7
|
+
data.tar.gz: 1baf5874b16050939d9b650237e4bbe9c656c9e69a5251eee250039fc932bc52dcce3a12acc91225e49db8c430519ac16e1b8c71b7b28d00ad0664c0c1d16ea4
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 2.0
|
10
|
-
- Package version: 5.3.
|
10
|
+
- Package version: 5.3.7
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build budgea_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./budgea_client-5.3.
|
26
|
+
gem install ./budgea_client-5.3.7.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./budgea_client-5.3.
|
28
|
+
(for development, run `gem install --dev ./budgea_client-5.3.7.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'budgea_client', '~> 5.3.
|
34
|
+
gem 'budgea_client', '~> 5.3.7'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
data/budgea_client.gemspec
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
OpenAPI spec version: 2.0
|
9
9
|
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
11
|
-
Swagger Codegen version: 2.4.
|
11
|
+
Swagger Codegen version: 2.4.19
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
|
30
30
|
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
|
+
s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
|
32
33
|
|
33
34
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
35
|
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
data/budgea_openapi.json
CHANGED
@@ -23849,6 +23849,12 @@
|
|
23849
23849
|
"$ref": "#/definitions/Account"
|
23850
23850
|
}
|
23851
23851
|
},
|
23852
|
+
"all_accounts": {
|
23853
|
+
"type": "array",
|
23854
|
+
"items": {
|
23855
|
+
"$ref": "#/definitions/Account"
|
23856
|
+
}
|
23857
|
+
},
|
23852
23858
|
"subscriptions": {
|
23853
23859
|
"type": "array",
|
23854
23860
|
"items": {
|
data/config.json
CHANGED
data/docs/Connection.md
CHANGED
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
|
|
17
17
|
**fields** | [**Array<Field>**](Field.md) | | [optional]
|
18
18
|
**next_try** | **DateTime** | Date of next synchronization | [optional]
|
19
19
|
**accounts** | [**Array<Account>**](Account.md) | | [optional]
|
20
|
+
**all_accounts** | [**Array<Account>**](Account.md) | | [optional]
|
20
21
|
**subscriptions** | [**Array<Subscription>**](Subscription.md) | | [optional]
|
21
22
|
**connection** | [**Connection**](Connection.md) | | [optional]
|
22
23
|
**message** | **String** | | [optional]
|
data/lib/budgea_client.rb
CHANGED
@@ -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
|
|
@@ -15,7 +15,7 @@ require 'json'
|
|
15
15
|
require 'logger'
|
16
16
|
require 'tempfile'
|
17
17
|
require 'typhoeus'
|
18
|
-
require 'uri'
|
18
|
+
require 'addressable/uri'
|
19
19
|
|
20
20
|
module BudgeaClient
|
21
21
|
class ApiClient
|
@@ -63,7 +63,7 @@ module BudgeaClient
|
|
63
63
|
:message => response.return_message)
|
64
64
|
else
|
65
65
|
fail ApiError.new(:code => response.code,
|
66
|
-
:response_headers => response.headers,
|
66
|
+
:response_headers => response.headers.to_h,
|
67
67
|
:response_body => response.body),
|
68
68
|
response.status_message
|
69
69
|
end
|
@@ -266,7 +266,7 @@ module BudgeaClient
|
|
266
266
|
def build_request_url(path)
|
267
267
|
# Add leading and trailing slashes to path
|
268
268
|
path = "/#{path}".gsub(/\/+/, '/')
|
269
|
-
URI.encode(@config.base_url + path)
|
269
|
+
Addressable::URI.encode(@config.base_url + path)
|
270
270
|
end
|
271
271
|
|
272
272
|
# Builds the HTTP request body
|
@@ -6,11 +6,11 @@
|
|
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
|
|
13
|
-
require 'uri'
|
13
|
+
require 'addressable/uri'
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class Configuration
|
@@ -175,7 +175,7 @@ module BudgeaClient
|
|
175
175
|
|
176
176
|
def base_url
|
177
177
|
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
|
178
|
-
URI.encode(url)
|
178
|
+
Addressable::URI.encode(url)
|
179
179
|
end
|
180
180
|
|
181
181
|
# Gets API key (with prefix if set).
|
@@ -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
|
@@ -274,6 +284,7 @@ module BudgeaClient
|
|
274
284
|
fields == o.fields &&
|
275
285
|
next_try == o.next_try &&
|
276
286
|
accounts == o.accounts &&
|
287
|
+
all_accounts == o.all_accounts &&
|
277
288
|
subscriptions == o.subscriptions &&
|
278
289
|
connection == o.connection &&
|
279
290
|
message == o.message
|
@@ -288,7 +299,7 @@ module BudgeaClient
|
|
288
299
|
# Calculates hash code according to all attributes.
|
289
300
|
# @return [Fixnum] Hash code
|
290
301
|
def hash
|
291
|
-
[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
|
292
303
|
end
|
293
304
|
|
294
305
|
# Builds the object from hash
|