budgea_client 5.1.3 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/budgea_client.gemspec +1 -1
  4. data/budgea_openapi.json +10 -120
  5. data/docs/BanksApi.md +4 -36
  6. data/docs/ConnectionsApi.md +4 -36
  7. data/docs/ProvidersApi.md +4 -36
  8. data/lib/budgea_client.rb +1 -1
  9. data/lib/budgea_client/api/administration_api.rb +1 -1
  10. data/lib/budgea_client/api/authentication_api.rb +1 -1
  11. data/lib/budgea_client/api/banks_api.rb +5 -54
  12. data/lib/budgea_client/api/connections_api.rb +5 -54
  13. data/lib/budgea_client/api/documents_api.rb +1 -1
  14. data/lib/budgea_client/api/ocr_api.rb +1 -1
  15. data/lib/budgea_client/api/oidc_api.rb +1 -1
  16. data/lib/budgea_client/api/pfm_api.rb +1 -1
  17. data/lib/budgea_client/api/providers_api.rb +5 -54
  18. data/lib/budgea_client/api/recipients_api.rb +1 -1
  19. data/lib/budgea_client/api/terms_api.rb +1 -1
  20. data/lib/budgea_client/api/transfer_api.rb +1 -1
  21. data/lib/budgea_client/api/transfers_api.rb +1 -1
  22. data/lib/budgea_client/api/users_management_api.rb +1 -1
  23. data/lib/budgea_client/api/wealth_api.rb +1 -1
  24. data/lib/budgea_client/api_client.rb +1 -1
  25. data/lib/budgea_client/api_error.rb +1 -1
  26. data/lib/budgea_client/configuration.rb +1 -1
  27. data/lib/budgea_client/models/access.rb +1 -1
  28. data/lib/budgea_client/models/account.rb +1 -1
  29. data/lib/budgea_client/models/account_log.rb +1 -1
  30. data/lib/budgea_client/models/account_type.rb +1 -1
  31. data/lib/budgea_client/models/alert.rb +1 -1
  32. data/lib/budgea_client/models/auth_provider.rb +1 -1
  33. data/lib/budgea_client/models/category.rb +1 -1
  34. data/lib/budgea_client/models/certificate.rb +1 -1
  35. data/lib/budgea_client/models/client.rb +1 -1
  36. data/lib/budgea_client/models/config_log.rb +1 -1
  37. data/lib/budgea_client/models/connection.rb +1 -1
  38. data/lib/budgea_client/models/connection_log.rb +1 -1
  39. data/lib/budgea_client/models/connection_source.rb +1 -1
  40. data/lib/budgea_client/models/connector.rb +1 -1
  41. data/lib/budgea_client/models/connector_category.rb +1 -1
  42. data/lib/budgea_client/models/connector_logo.rb +1 -1
  43. data/lib/budgea_client/models/connector_source.rb +1 -1
  44. data/lib/budgea_client/models/currency.rb +1 -1
  45. data/lib/budgea_client/models/device.rb +1 -1
  46. data/lib/budgea_client/models/document.rb +1 -1
  47. data/lib/budgea_client/models/document_type.rb +1 -1
  48. data/lib/budgea_client/models/field.rb +1 -1
  49. data/lib/budgea_client/models/field_value.rb +1 -1
  50. data/lib/budgea_client/models/file.rb +1 -1
  51. data/lib/budgea_client/models/group.rb +1 -1
  52. data/lib/budgea_client/models/hash_table.rb +1 -1
  53. data/lib/budgea_client/models/inline_response_200.rb +1 -1
  54. data/lib/budgea_client/models/inline_response_200_1.rb +1 -1
  55. data/lib/budgea_client/models/inline_response_200_10.rb +1 -1
  56. data/lib/budgea_client/models/inline_response_200_11.rb +1 -1
  57. data/lib/budgea_client/models/inline_response_200_12.rb +1 -1
  58. data/lib/budgea_client/models/inline_response_200_13.rb +1 -1
  59. data/lib/budgea_client/models/inline_response_200_14.rb +1 -1
  60. data/lib/budgea_client/models/inline_response_200_15.rb +1 -1
  61. data/lib/budgea_client/models/inline_response_200_16.rb +1 -1
  62. data/lib/budgea_client/models/inline_response_200_17.rb +1 -1
  63. data/lib/budgea_client/models/inline_response_200_18.rb +1 -1
  64. data/lib/budgea_client/models/inline_response_200_19.rb +1 -1
  65. data/lib/budgea_client/models/inline_response_200_2.rb +1 -1
  66. data/lib/budgea_client/models/inline_response_200_20.rb +1 -1
  67. data/lib/budgea_client/models/inline_response_200_21.rb +1 -1
  68. data/lib/budgea_client/models/inline_response_200_22.rb +1 -1
  69. data/lib/budgea_client/models/inline_response_200_23.rb +1 -1
  70. data/lib/budgea_client/models/inline_response_200_24.rb +1 -1
  71. data/lib/budgea_client/models/inline_response_200_25.rb +1 -1
  72. data/lib/budgea_client/models/inline_response_200_26.rb +1 -1
  73. data/lib/budgea_client/models/inline_response_200_27.rb +1 -1
  74. data/lib/budgea_client/models/inline_response_200_28.rb +1 -1
  75. data/lib/budgea_client/models/inline_response_200_29.rb +1 -1
  76. data/lib/budgea_client/models/inline_response_200_3.rb +1 -1
  77. data/lib/budgea_client/models/inline_response_200_30.rb +1 -1
  78. data/lib/budgea_client/models/inline_response_200_31.rb +1 -1
  79. data/lib/budgea_client/models/inline_response_200_32.rb +1 -1
  80. data/lib/budgea_client/models/inline_response_200_33.rb +1 -1
  81. data/lib/budgea_client/models/inline_response_200_34.rb +1 -1
  82. data/lib/budgea_client/models/inline_response_200_35.rb +1 -1
  83. data/lib/budgea_client/models/inline_response_200_36.rb +1 -1
  84. data/lib/budgea_client/models/inline_response_200_37.rb +1 -1
  85. data/lib/budgea_client/models/inline_response_200_38.rb +1 -1
  86. data/lib/budgea_client/models/inline_response_200_39.rb +1 -1
  87. data/lib/budgea_client/models/inline_response_200_4.rb +1 -1
  88. data/lib/budgea_client/models/inline_response_200_40.rb +1 -1
  89. data/lib/budgea_client/models/inline_response_200_41.rb +1 -1
  90. data/lib/budgea_client/models/inline_response_200_42.rb +1 -1
  91. data/lib/budgea_client/models/inline_response_200_5.rb +1 -1
  92. data/lib/budgea_client/models/inline_response_200_6.rb +1 -1
  93. data/lib/budgea_client/models/inline_response_200_7.rb +1 -1
  94. data/lib/budgea_client/models/inline_response_200_8.rb +1 -1
  95. data/lib/budgea_client/models/inline_response_200_9.rb +1 -1
  96. data/lib/budgea_client/models/investment.rb +1 -1
  97. data/lib/budgea_client/models/investment_value.rb +1 -1
  98. data/lib/budgea_client/models/keyword.rb +1 -1
  99. data/lib/budgea_client/models/locked_user.rb +1 -1
  100. data/lib/budgea_client/models/oidc_whitelist.rb +1 -1
  101. data/lib/budgea_client/models/order.rb +1 -1
  102. data/lib/budgea_client/models/pocket.rb +1 -1
  103. data/lib/budgea_client/models/profile.rb +1 -1
  104. data/lib/budgea_client/models/project.rb +1 -1
  105. data/lib/budgea_client/models/project_type.rb +1 -1
  106. data/lib/budgea_client/models/recipient.rb +1 -1
  107. data/lib/budgea_client/models/recipient_log.rb +1 -1
  108. data/lib/budgea_client/models/security.rb +1 -1
  109. data/lib/budgea_client/models/subscription.rb +1 -1
  110. data/lib/budgea_client/models/subscription_log.rb +1 -1
  111. data/lib/budgea_client/models/terms_of_service.rb +1 -1
  112. data/lib/budgea_client/models/transaction.rb +1 -1
  113. data/lib/budgea_client/models/transaction_information.rb +1 -1
  114. data/lib/budgea_client/models/transactions_cluster.rb +1 -1
  115. data/lib/budgea_client/models/transfer.rb +1 -1
  116. data/lib/budgea_client/models/transfer_log.rb +1 -1
  117. data/lib/budgea_client/models/user.rb +1 -1
  118. data/lib/budgea_client/models/user_alert.rb +1 -1
  119. data/lib/budgea_client/models/webhook.rb +1 -1
  120. data/lib/budgea_client/models/webhook_data.rb +1 -1
  121. data/lib/budgea_client/models/webhook_log.rb +1 -1
  122. data/lib/budgea_client/version.rb +2 -2
  123. data/pkg/budgea_client-5.0.3.gem +0 -0
  124. metadata +4 -6
  125. data/lib/budgea_client/api/hub_api.rb +0 -76
  126. data/lib/budgea_client/models/invite.rb +0 -238
  127. data/pkg/budgea_client-5.1.1.gem +0 -0
@@ -1,238 +0,0 @@
1
- =begin
2
- #Budgea API Documentation
3
-
4
- #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
-
6
- OpenAPI spec version: 2.0
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
10
-
11
- =end
12
-
13
- require 'date'
14
-
15
- module BudgeaClient
16
- class Invite
17
- attr_accessor :id
18
-
19
- attr_accessor :id_unsubscribe
20
-
21
- attr_accessor :id_user_inviting
22
-
23
- attr_accessor :id_user_invited
24
-
25
- attr_accessor :email_invited
26
-
27
- attr_accessor :timestamp
28
-
29
- # Attribute mapping from ruby-style variable name to JSON key.
30
- def self.attribute_map
31
- {
32
- :'id' => :'id',
33
- :'id_unsubscribe' => :'id_unsubscribe',
34
- :'id_user_inviting' => :'id_user_inviting',
35
- :'id_user_invited' => :'id_user_invited',
36
- :'email_invited' => :'email_invited',
37
- :'timestamp' => :'timestamp'
38
- }
39
- end
40
-
41
- # Attribute type mapping.
42
- def self.swagger_types
43
- {
44
- :'id' => :'Integer',
45
- :'id_unsubscribe' => :'Integer',
46
- :'id_user_inviting' => :'Integer',
47
- :'id_user_invited' => :'Integer',
48
- :'email_invited' => :'String',
49
- :'timestamp' => :'DateTime'
50
- }
51
- end
52
-
53
- # Initializes the object
54
- # @param [Hash] attributes Model attributes in the form of hash
55
- def initialize(attributes = {})
56
- return unless attributes.is_a?(Hash)
57
-
58
- # convert string to symbol for hash key
59
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
60
-
61
- if attributes.has_key?(:'id')
62
- self.id = attributes[:'id']
63
- end
64
-
65
- if attributes.has_key?(:'id_unsubscribe')
66
- self.id_unsubscribe = attributes[:'id_unsubscribe']
67
- end
68
-
69
- if attributes.has_key?(:'id_user_inviting')
70
- self.id_user_inviting = attributes[:'id_user_inviting']
71
- end
72
-
73
- if attributes.has_key?(:'id_user_invited')
74
- self.id_user_invited = attributes[:'id_user_invited']
75
- end
76
-
77
- if attributes.has_key?(:'email_invited')
78
- self.email_invited = attributes[:'email_invited']
79
- end
80
-
81
- if attributes.has_key?(:'timestamp')
82
- self.timestamp = attributes[:'timestamp']
83
- end
84
- end
85
-
86
- # Show invalid properties with the reasons. Usually used together with valid?
87
- # @return Array for valid properties with the reasons
88
- def list_invalid_properties
89
- invalid_properties = Array.new
90
- if @id.nil?
91
- invalid_properties.push('invalid value for "id", id cannot be nil.')
92
- end
93
-
94
- if @id_user_inviting.nil?
95
- invalid_properties.push('invalid value for "id_user_inviting", id_user_inviting cannot be nil.')
96
- end
97
-
98
- invalid_properties
99
- end
100
-
101
- # Check to see if the all the properties in the model are valid
102
- # @return true if the model is valid
103
- def valid?
104
- return false if @id.nil?
105
- return false if @id_user_inviting.nil?
106
- true
107
- end
108
-
109
- # Checks equality by comparing each attribute.
110
- # @param [Object] Object to be compared
111
- def ==(o)
112
- return true if self.equal?(o)
113
- self.class == o.class &&
114
- id == o.id &&
115
- id_unsubscribe == o.id_unsubscribe &&
116
- id_user_inviting == o.id_user_inviting &&
117
- id_user_invited == o.id_user_invited &&
118
- email_invited == o.email_invited &&
119
- timestamp == o.timestamp
120
- end
121
-
122
- # @see the `==` method
123
- # @param [Object] Object to be compared
124
- def eql?(o)
125
- self == o
126
- end
127
-
128
- # Calculates hash code according to all attributes.
129
- # @return [Fixnum] Hash code
130
- def hash
131
- [id, id_unsubscribe, id_user_inviting, id_user_invited, email_invited, timestamp].hash
132
- end
133
-
134
- # Builds the object from hash
135
- # @param [Hash] attributes Model attributes in the form of hash
136
- # @return [Object] Returns the model itself
137
- def build_from_hash(attributes)
138
- return nil unless attributes.is_a?(Hash)
139
- self.class.swagger_types.each_pair do |key, type|
140
- if type =~ /\AArray<(.*)>/i
141
- # check to ensure the input is an array given that the the attribute
142
- # is documented as an array but the input is not
143
- if attributes[self.class.attribute_map[key]].is_a?(Array)
144
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
145
- end
146
- elsif !attributes[self.class.attribute_map[key]].nil?
147
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
148
- end # or else data not found in attributes(hash), not an issue as the data can be optional
149
- end
150
-
151
- self
152
- end
153
-
154
- # Deserializes the data based on type
155
- # @param string type Data type
156
- # @param string value Value to be deserialized
157
- # @return [Object] Deserialized data
158
- def _deserialize(type, value)
159
- case type.to_sym
160
- when :DateTime
161
- DateTime.parse(value)
162
- when :Date
163
- Date.parse(value)
164
- when :String
165
- value.to_s
166
- when :Integer
167
- value.to_i
168
- when :Float
169
- value.to_f
170
- when :BOOLEAN
171
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
172
- true
173
- else
174
- false
175
- end
176
- when :Object
177
- # generic object (usually a Hash), return directly
178
- value
179
- when /\AArray<(?<inner_type>.+)>\z/
180
- inner_type = Regexp.last_match[:inner_type]
181
- value.map { |v| _deserialize(inner_type, v) }
182
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
183
- k_type = Regexp.last_match[:k_type]
184
- v_type = Regexp.last_match[:v_type]
185
- {}.tap do |hash|
186
- value.each do |k, v|
187
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
188
- end
189
- end
190
- else # model
191
- temp_model = BudgeaClient.const_get(type).new
192
- temp_model.build_from_hash(value)
193
- end
194
- end
195
-
196
- # Returns the string representation of the object
197
- # @return [String] String presentation of the object
198
- def to_s
199
- to_hash.to_s
200
- end
201
-
202
- # to_body is an alias to to_hash (backward compatibility)
203
- # @return [Hash] Returns the object in the form of hash
204
- def to_body
205
- to_hash
206
- end
207
-
208
- # Returns the object in the form of hash
209
- # @return [Hash] Returns the object in the form of hash
210
- def to_hash
211
- hash = {}
212
- self.class.attribute_map.each_pair do |attr, param|
213
- value = self.send(attr)
214
- next if value.nil?
215
- hash[param] = _to_hash(value)
216
- end
217
- hash
218
- end
219
-
220
- # Outputs non-array value in the form of hash
221
- # For object, use to_hash. Otherwise, just return the value
222
- # @param [Object] value Any valid value
223
- # @return [Hash] Returns the value in the form of hash
224
- def _to_hash(value)
225
- if value.is_a?(Array)
226
- value.compact.map { |v| _to_hash(v) }
227
- elsif value.is_a?(Hash)
228
- {}.tap do |hash|
229
- value.each { |k, v| hash[k] = _to_hash(v) }
230
- end
231
- elsif value.respond_to? :to_hash
232
- value.to_hash
233
- else
234
- value
235
- end
236
- end
237
- end
238
- end
Binary file