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
@@ -14,24 +14,24 @@ require 'date'
14
14
 
15
15
  module BudgeaClient
16
16
  class InlineResponse20021
17
+ attr_accessor :termsofservices
18
+
17
19
  # total number of results
18
20
  attr_accessor :total
19
21
 
20
- attr_accessor :users
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
- :'users' => :'users'
25
+ :'termsofservices' => :'termsofservices',
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
- :'users' => :'Array<User>'
33
+ :'termsofservices' => :'Array<TermsOfService>',
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?(:'termsofservices')
47
+ if (value = attributes[:'termsofservices']).is_a?(Array)
48
+ self.termsofservices = value
49
+ end
48
50
  end
49
51
 
50
- if attributes.has_key?(:'users')
51
- if (value = attributes[:'users']).is_a?(Array)
52
- self.users = 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 @users.nil?
62
- invalid_properties.push('invalid value for "users", users cannot be nil.')
61
+ if @termsofservices.nil?
62
+ invalid_properties.push('invalid value for "termsofservices", termsofservices 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 @users.nil?
71
+ return false if @termsofservices.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
- users == o.users
80
+ termsofservices == o.termsofservices &&
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, users].hash
93
+ [termsofservices, total].hash
94
94
  end
95
95
 
96
96
  # Builds the object from hash
@@ -17,13 +17,13 @@ module BudgeaClient
17
17
  # total number of results
18
18
  attr_accessor :total
19
19
 
20
- attr_accessor :accounts
20
+ attr_accessor :users
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
25
  :'total' => :'total',
26
- :'accounts' => :'accounts'
26
+ :'users' => :'users'
27
27
  }
28
28
  end
29
29
 
@@ -31,7 +31,7 @@ module BudgeaClient
31
31
  def self.swagger_types
32
32
  {
33
33
  :'total' => :'Float',
34
- :'accounts' => :'Array<Account>'
34
+ :'users' => :'Array<User>'
35
35
  }
36
36
  end
37
37
 
@@ -47,9 +47,9 @@ module BudgeaClient
47
47
  self.total = attributes[:'total']
48
48
  end
49
49
 
50
- if attributes.has_key?(:'accounts')
51
- if (value = attributes[:'accounts']).is_a?(Array)
52
- self.accounts = value
50
+ if attributes.has_key?(:'users')
51
+ if (value = attributes[:'users']).is_a?(Array)
52
+ self.users = value
53
53
  end
54
54
  end
55
55
  end
@@ -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 @accounts.nil?
62
- invalid_properties.push('invalid value for "accounts", accounts cannot be nil.')
61
+ if @users.nil?
62
+ invalid_properties.push('invalid value for "users", users 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 @accounts.nil?
71
+ return false if @users.nil?
72
72
  true
73
73
  end
74
74
 
@@ -78,7 +78,7 @@ module BudgeaClient
78
78
  return true if self.equal?(o)
79
79
  self.class == o.class &&
80
80
  total == o.total &&
81
- accounts == o.accounts
81
+ users == o.users
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, accounts].hash
93
+ [total, users].hash
94
94
  end
95
95
 
96
96
  # Builds the object from hash
@@ -17,13 +17,13 @@ module BudgeaClient
17
17
  # total number of results
18
18
  attr_accessor :total
19
19
 
20
- attr_accessor :investments
20
+ attr_accessor :accounts
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
25
  :'total' => :'total',
26
- :'investments' => :'investments'
26
+ :'accounts' => :'accounts'
27
27
  }
28
28
  end
29
29
 
@@ -31,7 +31,7 @@ module BudgeaClient
31
31
  def self.swagger_types
32
32
  {
33
33
  :'total' => :'Float',
34
- :'investments' => :'Array<Investment>'
34
+ :'accounts' => :'Array<Account>'
35
35
  }
36
36
  end
37
37
 
@@ -47,9 +47,9 @@ module BudgeaClient
47
47
  self.total = attributes[:'total']
48
48
  end
49
49
 
50
- if attributes.has_key?(:'investments')
51
- if (value = attributes[:'investments']).is_a?(Array)
52
- self.investments = value
50
+ if attributes.has_key?(:'accounts')
51
+ if (value = attributes[:'accounts']).is_a?(Array)
52
+ self.accounts = value
53
53
  end
54
54
  end
55
55
  end
@@ -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 @investments.nil?
62
- invalid_properties.push('invalid value for "investments", investments cannot be nil.')
61
+ if @accounts.nil?
62
+ invalid_properties.push('invalid value for "accounts", accounts 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 @investments.nil?
71
+ return false if @accounts.nil?
72
72
  true
73
73
  end
74
74
 
@@ -78,7 +78,7 @@ module BudgeaClient
78
78
  return true if self.equal?(o)
79
79
  self.class == o.class &&
80
80
  total == o.total &&
81
- investments == o.investments
81
+ accounts == o.accounts
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, investments].hash
93
+ [total, accounts].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 InlineResponse20024
17
- attr_accessor :investmentvalues
18
-
19
17
  # total number of results
20
18
  attr_accessor :total
21
19
 
20
+ attr_accessor :investments
21
+
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'investmentvalues' => :'investmentvalues',
26
- :'total' => :'total'
25
+ :'total' => :'total',
26
+ :'investments' => :'investments'
27
27
  }
28
28
  end
29
29
 
30
30
  # Attribute type mapping.
31
31
  def self.swagger_types
32
32
  {
33
- :'investmentvalues' => :'Array<InvestmentValue>',
34
- :'total' => :'Float'
33
+ :'total' => :'Float',
34
+ :'investments' => :'Array<Investment>'
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?(:'investmentvalues')
47
- if (value = attributes[:'investmentvalues']).is_a?(Array)
48
- self.investmentvalues = 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?(:'investments')
51
+ if (value = attributes[:'investments']).is_a?(Array)
52
+ self.investments = 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 @investmentvalues.nil?
62
- invalid_properties.push('invalid value for "investmentvalues", investmentvalues cannot be nil.')
61
+ if @investments.nil?
62
+ invalid_properties.push('invalid value for "investments", investments 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 @investmentvalues.nil?
71
+ return false if @investments.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
- investmentvalues == o.investmentvalues &&
81
- total == o.total
80
+ total == o.total &&
81
+ investments == o.investments
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
- [investmentvalues, total].hash
93
+ [total, investments].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 InlineResponse20025
17
+ attr_accessor :investmentvalues
18
+
17
19
  # total number of results
18
20
  attr_accessor :total
19
21
 
20
- attr_accessor :pockets
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
- :'pockets' => :'pockets'
25
+ :'investmentvalues' => :'investmentvalues',
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
- :'pockets' => :'Array<Pocket>'
33
+ :'investmentvalues' => :'Array<InvestmentValue>',
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?(:'investmentvalues')
47
+ if (value = attributes[:'investmentvalues']).is_a?(Array)
48
+ self.investmentvalues = value
49
+ end
48
50
  end
49
51
 
50
- if attributes.has_key?(:'pockets')
51
- if (value = attributes[:'pockets']).is_a?(Array)
52
- self.pockets = 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 @pockets.nil?
62
- invalid_properties.push('invalid value for "pockets", pockets cannot be nil.')
61
+ if @investmentvalues.nil?
62
+ invalid_properties.push('invalid value for "investmentvalues", investmentvalues 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 @pockets.nil?
71
+ return false if @investmentvalues.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
- pockets == o.pockets
80
+ investmentvalues == o.investmentvalues &&
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, pockets].hash
93
+ [investmentvalues, total].hash
94
94
  end
95
95
 
96
96
  # Builds the object from hash
@@ -17,13 +17,13 @@ module BudgeaClient
17
17
  # total number of results
18
18
  attr_accessor :total
19
19
 
20
- attr_accessor :accountlogs
20
+ attr_accessor :pockets
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
25
  :'total' => :'total',
26
- :'accountlogs' => :'accountlogs'
26
+ :'pockets' => :'pockets'
27
27
  }
28
28
  end
29
29
 
@@ -31,7 +31,7 @@ module BudgeaClient
31
31
  def self.swagger_types
32
32
  {
33
33
  :'total' => :'Float',
34
- :'accountlogs' => :'Array<AccountLog>'
34
+ :'pockets' => :'Array<Pocket>'
35
35
  }
36
36
  end
37
37
 
@@ -47,9 +47,9 @@ module BudgeaClient
47
47
  self.total = attributes[:'total']
48
48
  end
49
49
 
50
- if attributes.has_key?(:'accountlogs')
51
- if (value = attributes[:'accountlogs']).is_a?(Array)
52
- self.accountlogs = value
50
+ if attributes.has_key?(:'pockets')
51
+ if (value = attributes[:'pockets']).is_a?(Array)
52
+ self.pockets = value
53
53
  end
54
54
  end
55
55
  end
@@ -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 @accountlogs.nil?
62
- invalid_properties.push('invalid value for "accountlogs", accountlogs cannot be nil.')
61
+ if @pockets.nil?
62
+ invalid_properties.push('invalid value for "pockets", pockets 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 @accountlogs.nil?
71
+ return false if @pockets.nil?
72
72
  true
73
73
  end
74
74
 
@@ -78,7 +78,7 @@ module BudgeaClient
78
78
  return true if self.equal?(o)
79
79
  self.class == o.class &&
80
80
  total == o.total &&
81
- accountlogs == o.accountlogs
81
+ pockets == o.pockets
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, accountlogs].hash
93
+ [total, pockets].hash
94
94
  end
95
95
 
96
96
  # Builds the object from hash