budgea_client 5.0.4 → 5.1.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 (67) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +19 -6
  4. data/budgea_openapi.json +1605 -1319
  5. data/config.json +1 -1
  6. data/docs/Account.md +1 -0
  7. data/docs/AdministrationApi.md +12 -12
  8. data/docs/BanksApi.md +263 -18
  9. data/docs/ConnectionsApi.md +251 -6
  10. data/docs/DocumentsApi.md +2 -2
  11. data/docs/InlineResponse20016.md +1 -1
  12. data/docs/InlineResponse20017.md +1 -1
  13. data/docs/InlineResponse20018.md +1 -1
  14. data/docs/InlineResponse20019.md +1 -1
  15. data/docs/InlineResponse20020.md +1 -1
  16. data/docs/InlineResponse20021.md +1 -1
  17. data/docs/InlineResponse20022.md +1 -1
  18. data/docs/InlineResponse20023.md +1 -1
  19. data/docs/InlineResponse20024.md +1 -1
  20. data/docs/InlineResponse20025.md +1 -1
  21. data/docs/InlineResponse20026.md +1 -1
  22. data/docs/InlineResponse20027.md +1 -1
  23. data/docs/InlineResponse20028.md +1 -1
  24. data/docs/InlineResponse20029.md +1 -1
  25. data/docs/InlineResponse20030.md +1 -1
  26. data/docs/PFMApi.md +9 -9
  27. data/docs/ProvidersApi.md +253 -8
  28. data/docs/TermsApi.md +72 -7
  29. data/docs/TransfersApi.md +24 -24
  30. data/docs/UsersManagementApi.md +2 -2
  31. data/docs/WealthApi.md +53 -37
  32. data/lib/budgea_client/api/administration_api.rb +13 -13
  33. data/lib/budgea_client/api/banks_api.rb +273 -27
  34. data/lib/budgea_client/api/connections_api.rb +255 -9
  35. data/lib/budgea_client/api/documents_api.rb +3 -3
  36. data/lib/budgea_client/api/pfm_api.rb +11 -11
  37. data/lib/budgea_client/api/providers_api.rb +258 -12
  38. data/lib/budgea_client/api/terms_api.rb +75 -9
  39. data/lib/budgea_client/api/transfers_api.rb +36 -36
  40. data/lib/budgea_client/api/users_management_api.rb +3 -3
  41. data/lib/budgea_client/api/wealth_api.rb +77 -53
  42. data/lib/budgea_client/models/account.rb +12 -1
  43. data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
  44. data/lib/budgea_client/models/inline_response_200_17.rb +18 -18
  45. data/lib/budgea_client/models/inline_response_200_18.rb +18 -18
  46. data/lib/budgea_client/models/inline_response_200_19.rb +18 -18
  47. data/lib/budgea_client/models/inline_response_200_20.rb +18 -18
  48. data/lib/budgea_client/models/inline_response_200_21.rb +18 -18
  49. data/lib/budgea_client/models/inline_response_200_22.rb +11 -11
  50. data/lib/budgea_client/models/inline_response_200_23.rb +11 -11
  51. data/lib/budgea_client/models/inline_response_200_24.rb +18 -18
  52. data/lib/budgea_client/models/inline_response_200_25.rb +18 -18
  53. data/lib/budgea_client/models/inline_response_200_26.rb +11 -11
  54. data/lib/budgea_client/models/inline_response_200_27.rb +11 -11
  55. data/lib/budgea_client/models/inline_response_200_28.rb +11 -11
  56. data/lib/budgea_client/models/inline_response_200_29.rb +18 -18
  57. data/lib/budgea_client/models/inline_response_200_30.rb +11 -11
  58. data/lib/budgea_client/version.rb +1 -1
  59. data/original_budgea_openapi.json +1559 -1474
  60. metadata +2 -9
  61. data/config.yaml +0 -15
  62. data/pkg/budgea_client-2.0.1.gem +0 -0
  63. data/pkg/budgea_client-2.0.2.gem +0 -0
  64. data/pkg/budgea_client-3.0.0.gem +0 -0
  65. data/pkg/budgea_client-4.0.1.gem +0 -0
  66. data/pkg/budgea_client-4.0.2.gem +0 -0
  67. data/pkg/budgea_client-4.0.3.gem +0 -0
@@ -78,6 +78,8 @@ module BudgeaClient
78
78
 
79
79
  attr_accessor :transactions
80
80
 
81
+ attr_accessor :transfers
82
+
81
83
  # If the last update has failed, the error code
82
84
  attr_accessor :error
83
85
 
@@ -115,6 +117,7 @@ module BudgeaClient
115
117
  :'name' => :'name',
116
118
  :'recipients' => :'recipients',
117
119
  :'transactions' => :'transactions',
120
+ :'transfers' => :'transfers',
118
121
  :'error' => :'error',
119
122
  :'usage' => :'usage',
120
123
  :'ownership' => :'ownership',
@@ -147,6 +150,7 @@ module BudgeaClient
147
150
  :'name' => :'String',
148
151
  :'recipients' => :'Array<Recipient>',
149
152
  :'transactions' => :'Array<Transaction>',
153
+ :'transfers' => :'Array<Transfer>',
150
154
  :'error' => :'String',
151
155
  :'usage' => :'String',
152
156
  :'ownership' => :'String',
@@ -258,6 +262,12 @@ module BudgeaClient
258
262
  end
259
263
  end
260
264
 
265
+ if attributes.has_key?(:'transfers')
266
+ if (value = attributes[:'transfers']).is_a?(Array)
267
+ self.transfers = value
268
+ end
269
+ end
270
+
261
271
  if attributes.has_key?(:'error')
262
272
  self.error = attributes[:'error']
263
273
  end
@@ -340,6 +350,7 @@ module BudgeaClient
340
350
  name == o.name &&
341
351
  recipients == o.recipients &&
342
352
  transactions == o.transactions &&
353
+ transfers == o.transfers &&
343
354
  error == o.error &&
344
355
  usage == o.usage &&
345
356
  ownership == o.ownership &&
@@ -355,7 +366,7 @@ module BudgeaClient
355
366
  # Calculates hash code according to all attributes.
356
367
  # @return [Fixnum] Hash code
357
368
  def hash
358
- [id, id_connection, id_user, id_source, id_parent, number, webid, original_name, balance, coming, display, last_update, deleted, disabled, iban, bic, currency, id_type, bookmarked, name, recipients, transactions, error, usage, ownership, company_name].hash
369
+ [id, id_connection, id_user, id_source, id_parent, number, webid, original_name, balance, coming, display, last_update, deleted, disabled, iban, bic, currency, id_type, bookmarked, name, recipients, transactions, transfers, error, usage, ownership, company_name].hash
359
370
  end
360
371
 
361
372
  # Builds the object from hash
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module BudgeaClient
16
16
  class InlineResponse20016
17
- attr_accessor :connectors
17
+ attr_accessor :sources
18
18
 
19
19
  # total number of results
20
20
  attr_accessor :total
@@ -22,7 +22,7 @@ module BudgeaClient
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'connectors' => :'connectors',
25
+ :'sources' => :'sources',
26
26
  :'total' => :'total'
27
27
  }
28
28
  end
@@ -30,7 +30,7 @@ module BudgeaClient
30
30
  # Attribute type mapping.
31
31
  def self.swagger_types
32
32
  {
33
- :'connectors' => :'Array<Connector>',
33
+ :'sources' => :'Array<ConnectionSource>',
34
34
  :'total' => :'Float'
35
35
  }
36
36
  end
@@ -43,9 +43,9 @@ module BudgeaClient
43
43
  # convert string to symbol for hash key
44
44
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
45
45
 
46
- if attributes.has_key?(:'connectors')
47
- if (value = attributes[:'connectors']).is_a?(Array)
48
- self.connectors = value
46
+ if attributes.has_key?(:'sources')
47
+ if (value = attributes[:'sources']).is_a?(Array)
48
+ self.sources = value
49
49
  end
50
50
  end
51
51
 
@@ -58,8 +58,8 @@ module BudgeaClient
58
58
  # @return Array for valid properties with the reasons
59
59
  def list_invalid_properties
60
60
  invalid_properties = Array.new
61
- if @connectors.nil?
62
- invalid_properties.push('invalid value for "connectors", connectors cannot be nil.')
61
+ if @sources.nil?
62
+ invalid_properties.push('invalid value for "sources", sources cannot be nil.')
63
63
  end
64
64
 
65
65
  invalid_properties
@@ -68,7 +68,7 @@ module BudgeaClient
68
68
  # Check to see if the all the properties in the model are valid
69
69
  # @return true if the model is valid
70
70
  def valid?
71
- return false if @connectors.nil?
71
+ return false if @sources.nil?
72
72
  true
73
73
  end
74
74
 
@@ -77,7 +77,7 @@ module BudgeaClient
77
77
  def ==(o)
78
78
  return true if self.equal?(o)
79
79
  self.class == o.class &&
80
- connectors == o.connectors &&
80
+ sources == o.sources &&
81
81
  total == o.total
82
82
  end
83
83
 
@@ -90,7 +90,7 @@ module BudgeaClient
90
90
  # Calculates hash code according to all attributes.
91
91
  # @return [Fixnum] Hash code
92
92
  def hash
93
- [connectors, total].hash
93
+ [sources, total].hash
94
94
  end
95
95
 
96
96
  # Builds the object from hash
@@ -14,24 +14,24 @@ require 'date'
14
14
 
15
15
  module BudgeaClient
16
16
  class InlineResponse20017
17
+ attr_accessor :connectors
18
+
17
19
  # total number of results
18
20
  attr_accessor :total
19
21
 
20
- attr_accessor :documenttypes
21
-
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'total' => :'total',
26
- :'documenttypes' => :'documenttypes'
25
+ :'connectors' => :'connectors',
26
+ :'total' => :'total'
27
27
  }
28
28
  end
29
29
 
30
30
  # Attribute type mapping.
31
31
  def self.swagger_types
32
32
  {
33
- :'total' => :'Float',
34
- :'documenttypes' => :'Array<DocumentType>'
33
+ :'connectors' => :'Array<Connector>',
34
+ :'total' => :'Float'
35
35
  }
36
36
  end
37
37
 
@@ -43,14 +43,14 @@ module BudgeaClient
43
43
  # convert string to symbol for hash key
44
44
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
45
45
 
46
- if attributes.has_key?(:'total')
47
- self.total = attributes[:'total']
46
+ if attributes.has_key?(:'connectors')
47
+ if (value = attributes[:'connectors']).is_a?(Array)
48
+ self.connectors = value
49
+ end
48
50
  end
49
51
 
50
- if attributes.has_key?(:'documenttypes')
51
- if (value = attributes[:'documenttypes']).is_a?(Array)
52
- self.documenttypes = value
53
- end
52
+ if attributes.has_key?(:'total')
53
+ self.total = attributes[:'total']
54
54
  end
55
55
  end
56
56
 
@@ -58,8 +58,8 @@ module BudgeaClient
58
58
  # @return Array for valid properties with the reasons
59
59
  def list_invalid_properties
60
60
  invalid_properties = Array.new
61
- if @documenttypes.nil?
62
- invalid_properties.push('invalid value for "documenttypes", documenttypes cannot be nil.')
61
+ if @connectors.nil?
62
+ invalid_properties.push('invalid value for "connectors", connectors cannot be nil.')
63
63
  end
64
64
 
65
65
  invalid_properties
@@ -68,7 +68,7 @@ module BudgeaClient
68
68
  # Check to see if the all the properties in the model are valid
69
69
  # @return true if the model is valid
70
70
  def valid?
71
- return false if @documenttypes.nil?
71
+ return false if @connectors.nil?
72
72
  true
73
73
  end
74
74
 
@@ -77,8 +77,8 @@ module BudgeaClient
77
77
  def ==(o)
78
78
  return true if self.equal?(o)
79
79
  self.class == o.class &&
80
- total == o.total &&
81
- documenttypes == o.documenttypes
80
+ connectors == o.connectors &&
81
+ total == o.total
82
82
  end
83
83
 
84
84
  # @see the `==` method
@@ -90,7 +90,7 @@ module BudgeaClient
90
90
  # Calculates hash code according to all attributes.
91
91
  # @return [Fixnum] Hash code
92
92
  def hash
93
- [total, documenttypes].hash
93
+ [connectors, total].hash
94
94
  end
95
95
 
96
96
  # Builds the object from hash
@@ -14,24 +14,24 @@ require 'date'
14
14
 
15
15
  module BudgeaClient
16
16
  class InlineResponse20018
17
- attr_accessor :securities
18
-
19
17
  # total number of results
20
18
  attr_accessor :total
21
19
 
20
+ attr_accessor :documenttypes
21
+
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'securities' => :'securities',
26
- :'total' => :'total'
25
+ :'total' => :'total',
26
+ :'documenttypes' => :'documenttypes'
27
27
  }
28
28
  end
29
29
 
30
30
  # Attribute type mapping.
31
31
  def self.swagger_types
32
32
  {
33
- :'securities' => :'Array<Security>',
34
- :'total' => :'Float'
33
+ :'total' => :'Float',
34
+ :'documenttypes' => :'Array<DocumentType>'
35
35
  }
36
36
  end
37
37
 
@@ -43,23 +43,23 @@ module BudgeaClient
43
43
  # convert string to symbol for hash key
44
44
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
45
45
 
46
- if attributes.has_key?(:'securities')
47
- if (value = attributes[:'securities']).is_a?(Array)
48
- self.securities = value
49
- end
50
- end
51
-
52
46
  if attributes.has_key?(:'total')
53
47
  self.total = attributes[:'total']
54
48
  end
49
+
50
+ if attributes.has_key?(:'documenttypes')
51
+ if (value = attributes[:'documenttypes']).is_a?(Array)
52
+ self.documenttypes = value
53
+ end
54
+ end
55
55
  end
56
56
 
57
57
  # Show invalid properties with the reasons. Usually used together with valid?
58
58
  # @return Array for valid properties with the reasons
59
59
  def list_invalid_properties
60
60
  invalid_properties = Array.new
61
- if @securities.nil?
62
- invalid_properties.push('invalid value for "securities", securities cannot be nil.')
61
+ if @documenttypes.nil?
62
+ invalid_properties.push('invalid value for "documenttypes", documenttypes cannot be nil.')
63
63
  end
64
64
 
65
65
  invalid_properties
@@ -68,7 +68,7 @@ module BudgeaClient
68
68
  # Check to see if the all the properties in the model are valid
69
69
  # @return true if the model is valid
70
70
  def valid?
71
- return false if @securities.nil?
71
+ return false if @documenttypes.nil?
72
72
  true
73
73
  end
74
74
 
@@ -77,8 +77,8 @@ module BudgeaClient
77
77
  def ==(o)
78
78
  return true if self.equal?(o)
79
79
  self.class == o.class &&
80
- securities == o.securities &&
81
- total == o.total
80
+ total == o.total &&
81
+ documenttypes == o.documenttypes
82
82
  end
83
83
 
84
84
  # @see the `==` method
@@ -90,7 +90,7 @@ module BudgeaClient
90
90
  # Calculates hash code according to all attributes.
91
91
  # @return [Fixnum] Hash code
92
92
  def hash
93
- [securities, total].hash
93
+ [total, documenttypes].hash
94
94
  end
95
95
 
96
96
  # Builds the object from hash
@@ -14,24 +14,24 @@ require 'date'
14
14
 
15
15
  module BudgeaClient
16
16
  class InlineResponse20019
17
+ attr_accessor :securities
18
+
17
19
  # total number of results
18
20
  attr_accessor :total
19
21
 
20
- attr_accessor :providers
21
-
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'total' => :'total',
26
- :'providers' => :'providers'
25
+ :'securities' => :'securities',
26
+ :'total' => :'total'
27
27
  }
28
28
  end
29
29
 
30
30
  # Attribute type mapping.
31
31
  def self.swagger_types
32
32
  {
33
- :'total' => :'Float',
34
- :'providers' => :'Array<Connector>'
33
+ :'securities' => :'Array<Security>',
34
+ :'total' => :'Float'
35
35
  }
36
36
  end
37
37
 
@@ -43,14 +43,14 @@ module BudgeaClient
43
43
  # convert string to symbol for hash key
44
44
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
45
45
 
46
- if attributes.has_key?(:'total')
47
- self.total = attributes[:'total']
46
+ if attributes.has_key?(:'securities')
47
+ if (value = attributes[:'securities']).is_a?(Array)
48
+ self.securities = value
49
+ end
48
50
  end
49
51
 
50
- if attributes.has_key?(:'providers')
51
- if (value = attributes[:'providers']).is_a?(Array)
52
- self.providers = value
53
- end
52
+ if attributes.has_key?(:'total')
53
+ self.total = attributes[:'total']
54
54
  end
55
55
  end
56
56
 
@@ -58,8 +58,8 @@ module BudgeaClient
58
58
  # @return Array for valid properties with the reasons
59
59
  def list_invalid_properties
60
60
  invalid_properties = Array.new
61
- if @providers.nil?
62
- invalid_properties.push('invalid value for "providers", providers cannot be nil.')
61
+ if @securities.nil?
62
+ invalid_properties.push('invalid value for "securities", securities cannot be nil.')
63
63
  end
64
64
 
65
65
  invalid_properties
@@ -68,7 +68,7 @@ module BudgeaClient
68
68
  # Check to see if the all the properties in the model are valid
69
69
  # @return true if the model is valid
70
70
  def valid?
71
- return false if @providers.nil?
71
+ return false if @securities.nil?
72
72
  true
73
73
  end
74
74
 
@@ -77,8 +77,8 @@ module BudgeaClient
77
77
  def ==(o)
78
78
  return true if self.equal?(o)
79
79
  self.class == o.class &&
80
- total == o.total &&
81
- providers == o.providers
80
+ securities == o.securities &&
81
+ total == o.total
82
82
  end
83
83
 
84
84
  # @see the `==` method
@@ -90,7 +90,7 @@ module BudgeaClient
90
90
  # Calculates hash code according to all attributes.
91
91
  # @return [Fixnum] Hash code
92
92
  def hash
93
- [total, providers].hash
93
+ [securities, total].hash
94
94
  end
95
95
 
96
96
  # Builds the object from hash
@@ -14,24 +14,24 @@ require 'date'
14
14
 
15
15
  module BudgeaClient
16
16
  class InlineResponse20020
17
- attr_accessor :termsofservices
18
-
19
17
  # total number of results
20
18
  attr_accessor :total
21
19
 
20
+ attr_accessor :providers
21
+
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'termsofservices' => :'termsofservices',
26
- :'total' => :'total'
25
+ :'total' => :'total',
26
+ :'providers' => :'providers'
27
27
  }
28
28
  end
29
29
 
30
30
  # Attribute type mapping.
31
31
  def self.swagger_types
32
32
  {
33
- :'termsofservices' => :'Array<TermsOfService>',
34
- :'total' => :'Float'
33
+ :'total' => :'Float',
34
+ :'providers' => :'Array<Connector>'
35
35
  }
36
36
  end
37
37
 
@@ -43,23 +43,23 @@ module BudgeaClient
43
43
  # convert string to symbol for hash key
44
44
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
45
45
 
46
- if attributes.has_key?(:'termsofservices')
47
- if (value = attributes[:'termsofservices']).is_a?(Array)
48
- self.termsofservices = value
49
- end
50
- end
51
-
52
46
  if attributes.has_key?(:'total')
53
47
  self.total = attributes[:'total']
54
48
  end
49
+
50
+ if attributes.has_key?(:'providers')
51
+ if (value = attributes[:'providers']).is_a?(Array)
52
+ self.providers = value
53
+ end
54
+ end
55
55
  end
56
56
 
57
57
  # Show invalid properties with the reasons. Usually used together with valid?
58
58
  # @return Array for valid properties with the reasons
59
59
  def list_invalid_properties
60
60
  invalid_properties = Array.new
61
- if @termsofservices.nil?
62
- invalid_properties.push('invalid value for "termsofservices", termsofservices cannot be nil.')
61
+ if @providers.nil?
62
+ invalid_properties.push('invalid value for "providers", providers cannot be nil.')
63
63
  end
64
64
 
65
65
  invalid_properties
@@ -68,7 +68,7 @@ module BudgeaClient
68
68
  # Check to see if the all the properties in the model are valid
69
69
  # @return true if the model is valid
70
70
  def valid?
71
- return false if @termsofservices.nil?
71
+ return false if @providers.nil?
72
72
  true
73
73
  end
74
74
 
@@ -77,8 +77,8 @@ module BudgeaClient
77
77
  def ==(o)
78
78
  return true if self.equal?(o)
79
79
  self.class == o.class &&
80
- termsofservices == o.termsofservices &&
81
- total == o.total
80
+ total == o.total &&
81
+ providers == o.providers
82
82
  end
83
83
 
84
84
  # @see the `==` method
@@ -90,7 +90,7 @@ module BudgeaClient
90
90
  # Calculates hash code according to all attributes.
91
91
  # @return [Fixnum] Hash code
92
92
  def hash
93
- [termsofservices, total].hash
93
+ [total, providers].hash
94
94
  end
95
95
 
96
96
  # Builds the object from hash