falaai-api 1.21.49 → 1.21.54

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 (94) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +37 -38
  3. data/docs/AnalysisApi.md +2 -2
  4. data/docs/DiagnosticParticipant.md +1 -1
  5. data/docs/DiagnosticRequest.md +2 -2
  6. data/docs/DiagnosticResponse.md +3 -1
  7. data/docs/Participant.md +1 -1
  8. data/docs/ParticipantDiagnostic.md +1 -1
  9. data/docs/RiskAuditRequest.md +4 -6
  10. data/docs/SpeechApi.md +3 -3
  11. data/docs/WhatsappApi.md +95 -0
  12. data/docs/WhatsappConversation.md +32 -0
  13. data/docs/WhatsappConversationsResponse.md +28 -0
  14. data/docs/WhatsappMeta.md +50 -0
  15. data/docs/WhatsappSpeaker.md +20 -0
  16. data/docs/WhatsappUsage.md +34 -0
  17. data/docs/index.html +55 -51
  18. data/docs/llms.txt +18 -0
  19. data/docs/robots.txt +4 -0
  20. data/docs/sitemap.xml +8 -0
  21. data/lib/falaai-api/api/analysis_api.rb +1 -1
  22. data/lib/falaai-api/api/email_alerts_api.rb +1 -1
  23. data/lib/falaai-api/api/health_api.rb +1 -1
  24. data/lib/falaai-api/api/speech_api.rb +5 -5
  25. data/lib/falaai-api/api/usage_api.rb +1 -1
  26. data/lib/falaai-api/api/version_api.rb +1 -1
  27. data/lib/falaai-api/api/webhooks_api.rb +1 -1
  28. data/lib/falaai-api/api/whatsapp_api.rb +132 -0
  29. data/lib/falaai-api/api_client.rb +1 -1
  30. data/lib/falaai-api/api_error.rb +1 -1
  31. data/lib/falaai-api/api_model_base.rb +1 -1
  32. data/lib/falaai-api/configuration.rb +1 -1
  33. data/lib/falaai-api/models/audio_event.rb +1 -1
  34. data/lib/falaai-api/models/audio_input_meta.rb +1 -1
  35. data/lib/falaai-api/models/create_email_alert_request.rb +1 -1
  36. data/lib/falaai-api/models/create_webhook_request.rb +1 -1
  37. data/lib/falaai-api/models/diagnostic_analysis_map.rb +1 -1
  38. data/lib/falaai-api/models/diagnostic_audio_event.rb +1 -1
  39. data/lib/falaai-api/models/diagnostic_categorical_analysis.rb +1 -1
  40. data/lib/falaai-api/models/diagnostic_participant.rb +2 -9
  41. data/lib/falaai-api/models/diagnostic_request.rb +5 -12
  42. data/lib/falaai-api/models/diagnostic_response.rb +15 -5
  43. data/lib/falaai-api/models/diagnostic_text_analysis.rb +1 -1
  44. data/lib/falaai-api/models/diagnostic_usage.rb +1 -1
  45. data/lib/falaai-api/models/email_alert_item.rb +1 -1
  46. data/lib/falaai-api/models/email_alert_list_response.rb +1 -1
  47. data/lib/falaai-api/models/email_alert_message_response.rb +1 -1
  48. data/lib/falaai-api/models/email_event.rb +1 -1
  49. data/lib/falaai-api/models/health_response.rb +1 -1
  50. data/lib/falaai-api/models/http_validation_error.rb +1 -1
  51. data/lib/falaai-api/models/location_inner.rb +1 -1
  52. data/lib/falaai-api/models/message_response.rb +1 -1
  53. data/lib/falaai-api/models/participant.rb +2 -2
  54. data/lib/falaai-api/models/participant_diagnostic.rb +2 -19
  55. data/lib/falaai-api/models/risk_audit_analysis_v2.rb +1 -1
  56. data/lib/falaai-api/models/risk_audit_applied_action_v2.rb +1 -1
  57. data/lib/falaai-api/models/risk_audit_audio_event_model_v2.rb +1 -1
  58. data/lib/falaai-api/models/risk_audit_audit_decisions_v2.rb +1 -1
  59. data/lib/falaai-api/models/risk_audit_conversation_scores_v2.rb +1 -1
  60. data/lib/falaai-api/models/risk_audit_detection_item_v2.rb +1 -1
  61. data/lib/falaai-api/models/risk_audit_detections_v2.rb +1 -1
  62. data/lib/falaai-api/models/risk_audit_indexer_v2.rb +1 -1
  63. data/lib/falaai-api/models/risk_audit_meta_v2.rb +1 -1
  64. data/lib/falaai-api/models/risk_audit_participant_v2.rb +1 -1
  65. data/lib/falaai-api/models/risk_audit_participants_v2.rb +1 -1
  66. data/lib/falaai-api/models/risk_audit_request.rb +19 -54
  67. data/lib/falaai-api/models/risk_audit_scores_v2.rb +1 -1
  68. data/lib/falaai-api/models/risk_audit_scoring_explanation_v2.rb +1 -1
  69. data/lib/falaai-api/models/risk_audit_summary_v2.rb +1 -1
  70. data/lib/falaai-api/models/risk_audit_timeline_v2.rb +1 -1
  71. data/lib/falaai-api/models/risk_audit_usage_v2.rb +1 -1
  72. data/lib/falaai-api/models/risk_audit_v2.rb +1 -1
  73. data/lib/falaai-api/models/risk_audit_v2_response.rb +1 -1
  74. data/lib/falaai-api/models/risk_audit_verdict_v2.rb +1 -1
  75. data/lib/falaai-api/models/transcription_response.rb +1 -1
  76. data/lib/falaai-api/models/transcription_usage.rb +1 -1
  77. data/lib/falaai-api/models/update_email_alert_request.rb +1 -1
  78. data/lib/falaai-api/models/update_webhook_request.rb +1 -1
  79. data/lib/falaai-api/models/usage_by_key_item.rb +1 -1
  80. data/lib/falaai-api/models/usage_log_item.rb +1 -1
  81. data/lib/falaai-api/models/usage_log_response.rb +1 -1
  82. data/lib/falaai-api/models/validation_error.rb +1 -1
  83. data/lib/falaai-api/models/version_response.rb +1 -1
  84. data/lib/falaai-api/models/webhook_event.rb +1 -1
  85. data/lib/falaai-api/models/webhook_item.rb +1 -1
  86. data/lib/falaai-api/models/webhook_list_response.rb +1 -1
  87. data/lib/falaai-api/models/whatsapp_conversation.rb +356 -0
  88. data/lib/falaai-api/models/whatsapp_conversations_response.rb +285 -0
  89. data/lib/falaai-api/models/whatsapp_meta.rb +597 -0
  90. data/lib/falaai-api/models/whatsapp_speaker.rb +192 -0
  91. data/lib/falaai-api/models/whatsapp_usage.rb +381 -0
  92. data/lib/falaai-api/version.rb +2 -2
  93. data/lib/falaai-api.rb +7 -1
  94. metadata +17 -2
@@ -0,0 +1,192 @@
1
+ =begin
2
+ #FalaAI API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.21.54
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FalaAI
17
+ class WhatsappSpeaker < ApiModelBase
18
+ # Speaker label (e.g. 'Speaker 1')
19
+ attr_accessor :label
20
+
21
+ # Participant name from the export
22
+ attr_accessor :name
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'label' => :'label',
28
+ :'name' => :'name'
29
+ }
30
+ end
31
+
32
+ # Returns attribute mapping this model knows about
33
+ def self.acceptable_attribute_map
34
+ attribute_map
35
+ end
36
+
37
+ # Returns all the JSON keys this model knows about
38
+ def self.acceptable_attributes
39
+ acceptable_attribute_map.values
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.openapi_types
44
+ {
45
+ :'label' => :'String',
46
+ :'name' => :'String'
47
+ }
48
+ end
49
+
50
+ # List of attributes with nullable: true
51
+ def self.openapi_nullable
52
+ Set.new([
53
+ ])
54
+ end
55
+
56
+ # Initializes the object
57
+ # @param [Hash] attributes Model attributes in the form of hash
58
+ def initialize(attributes = {})
59
+ if (!attributes.is_a?(Hash))
60
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::WhatsappSpeaker` initialize method"
61
+ end
62
+
63
+ # check to see if the attribute exists and convert string to symbol for hash key
64
+ acceptable_attribute_map = self.class.acceptable_attribute_map
65
+ attributes = attributes.each_with_object({}) { |(k, v), h|
66
+ if (!acceptable_attribute_map.key?(k.to_sym))
67
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::WhatsappSpeaker`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
68
+ end
69
+ h[k.to_sym] = v
70
+ }
71
+
72
+ if attributes.key?(:'label')
73
+ self.label = attributes[:'label']
74
+ else
75
+ self.label = nil
76
+ end
77
+
78
+ if attributes.key?(:'name')
79
+ self.name = attributes[:'name']
80
+ else
81
+ self.name = nil
82
+ end
83
+ end
84
+
85
+ # Show invalid properties with the reasons. Usually used together with valid?
86
+ # @return Array for valid properties with the reasons
87
+ def list_invalid_properties
88
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
89
+ invalid_properties = Array.new
90
+ if @label.nil?
91
+ invalid_properties.push('invalid value for "label", label cannot be nil.')
92
+ end
93
+
94
+ if @name.nil?
95
+ invalid_properties.push('invalid value for "name", name 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
+ warn '[DEPRECATED] the `valid?` method is obsolete'
105
+ return false if @label.nil?
106
+ return false if @name.nil?
107
+ true
108
+ end
109
+
110
+ # Custom attribute writer method with validation
111
+ # @param [Object] label Value to be assigned
112
+ def label=(label)
113
+ if label.nil?
114
+ fail ArgumentError, 'label cannot be nil'
115
+ end
116
+
117
+ @label = label
118
+ end
119
+
120
+ # Custom attribute writer method with validation
121
+ # @param [Object] name Value to be assigned
122
+ def name=(name)
123
+ if name.nil?
124
+ fail ArgumentError, 'name cannot be nil'
125
+ end
126
+
127
+ @name = name
128
+ end
129
+
130
+ # Checks equality by comparing each attribute.
131
+ # @param [Object] Object to be compared
132
+ def ==(o)
133
+ return true if self.equal?(o)
134
+ self.class == o.class &&
135
+ label == o.label &&
136
+ name == o.name
137
+ end
138
+
139
+ # @see the `==` method
140
+ # @param [Object] Object to be compared
141
+ def eql?(o)
142
+ self == o
143
+ end
144
+
145
+ # Calculates hash code according to all attributes.
146
+ # @return [Integer] Hash code
147
+ def hash
148
+ [label, name].hash
149
+ end
150
+
151
+ # Builds the object from hash
152
+ # @param [Hash] attributes Model attributes in the form of hash
153
+ # @return [Object] Returns the model itself
154
+ def self.build_from_hash(attributes)
155
+ return nil unless attributes.is_a?(Hash)
156
+ attributes = attributes.transform_keys(&:to_sym)
157
+ transformed_hash = {}
158
+ openapi_types.each_pair do |key, type|
159
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
160
+ transformed_hash["#{key}"] = nil
161
+ elsif type =~ /\AArray<(.*)>/i
162
+ # check to ensure the input is an array given that the attribute
163
+ # is documented as an array but the input is not
164
+ if attributes[attribute_map[key]].is_a?(Array)
165
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
166
+ end
167
+ elsif !attributes[attribute_map[key]].nil?
168
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
169
+ end
170
+ end
171
+ new(transformed_hash)
172
+ end
173
+
174
+ # Returns the object in the form of hash
175
+ # @return [Hash] Returns the object in the form of hash
176
+ def to_hash
177
+ hash = {}
178
+ self.class.attribute_map.each_pair do |attr, param|
179
+ value = self.send(attr)
180
+ if value.nil?
181
+ is_nullable = self.class.openapi_nullable.include?(attr)
182
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
183
+ end
184
+
185
+ hash[param] = _to_hash(value)
186
+ end
187
+ hash
188
+ end
189
+
190
+ end
191
+
192
+ end
@@ -0,0 +1,381 @@
1
+ =begin
2
+ #FalaAI API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.21.54
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FalaAI
17
+ class WhatsappUsage < ApiModelBase
18
+ # Number of conversations returned
19
+ attr_accessor :conversations
20
+
21
+ # Total characters across conversations
22
+ attr_accessor :characters
23
+
24
+ # Expression tokens across conversations (sticker/emoji/gif)
25
+ attr_accessor :expressions
26
+
27
+ # Voice notes (PTT) resolved to text
28
+ attr_accessor :voice_notes
29
+
30
+ # Credits for conversations (2 each)
31
+ attr_accessor :conversation_credits
32
+
33
+ # Credits for expressions (0.2 each)
34
+ attr_accessor :expression_credits
35
+
36
+ # Credits for audio duration (0.2 per second)
37
+ attr_accessor :audio_credits
38
+
39
+ # Total credits = ceil(conversation_credits + expression_credits + audio_credits)
40
+ attr_accessor :credits_consumed
41
+
42
+ # Total processing time in milliseconds
43
+ attr_accessor :processing_ms
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'conversations' => :'conversations',
49
+ :'characters' => :'characters',
50
+ :'expressions' => :'expressions',
51
+ :'voice_notes' => :'voice_notes',
52
+ :'conversation_credits' => :'conversation_credits',
53
+ :'expression_credits' => :'expression_credits',
54
+ :'audio_credits' => :'audio_credits',
55
+ :'credits_consumed' => :'credits_consumed',
56
+ :'processing_ms' => :'processing_ms'
57
+ }
58
+ end
59
+
60
+ # Returns attribute mapping this model knows about
61
+ def self.acceptable_attribute_map
62
+ attribute_map
63
+ end
64
+
65
+ # Returns all the JSON keys this model knows about
66
+ def self.acceptable_attributes
67
+ acceptable_attribute_map.values
68
+ end
69
+
70
+ # Attribute type mapping.
71
+ def self.openapi_types
72
+ {
73
+ :'conversations' => :'Integer',
74
+ :'characters' => :'Integer',
75
+ :'expressions' => :'Integer',
76
+ :'voice_notes' => :'Integer',
77
+ :'conversation_credits' => :'Integer',
78
+ :'expression_credits' => :'Float',
79
+ :'audio_credits' => :'Float',
80
+ :'credits_consumed' => :'Integer',
81
+ :'processing_ms' => :'Integer'
82
+ }
83
+ end
84
+
85
+ # List of attributes with nullable: true
86
+ def self.openapi_nullable
87
+ Set.new([
88
+ ])
89
+ end
90
+
91
+ # Initializes the object
92
+ # @param [Hash] attributes Model attributes in the form of hash
93
+ def initialize(attributes = {})
94
+ if (!attributes.is_a?(Hash))
95
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::WhatsappUsage` initialize method"
96
+ end
97
+
98
+ # check to see if the attribute exists and convert string to symbol for hash key
99
+ acceptable_attribute_map = self.class.acceptable_attribute_map
100
+ attributes = attributes.each_with_object({}) { |(k, v), h|
101
+ if (!acceptable_attribute_map.key?(k.to_sym))
102
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::WhatsappUsage`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
103
+ end
104
+ h[k.to_sym] = v
105
+ }
106
+
107
+ if attributes.key?(:'conversations')
108
+ self.conversations = attributes[:'conversations']
109
+ else
110
+ self.conversations = nil
111
+ end
112
+
113
+ if attributes.key?(:'characters')
114
+ self.characters = attributes[:'characters']
115
+ else
116
+ self.characters = nil
117
+ end
118
+
119
+ if attributes.key?(:'expressions')
120
+ self.expressions = attributes[:'expressions']
121
+ else
122
+ self.expressions = nil
123
+ end
124
+
125
+ if attributes.key?(:'voice_notes')
126
+ self.voice_notes = attributes[:'voice_notes']
127
+ else
128
+ self.voice_notes = nil
129
+ end
130
+
131
+ if attributes.key?(:'conversation_credits')
132
+ self.conversation_credits = attributes[:'conversation_credits']
133
+ else
134
+ self.conversation_credits = nil
135
+ end
136
+
137
+ if attributes.key?(:'expression_credits')
138
+ self.expression_credits = attributes[:'expression_credits']
139
+ else
140
+ self.expression_credits = nil
141
+ end
142
+
143
+ if attributes.key?(:'audio_credits')
144
+ self.audio_credits = attributes[:'audio_credits']
145
+ else
146
+ self.audio_credits = nil
147
+ end
148
+
149
+ if attributes.key?(:'credits_consumed')
150
+ self.credits_consumed = attributes[:'credits_consumed']
151
+ else
152
+ self.credits_consumed = nil
153
+ end
154
+
155
+ if attributes.key?(:'processing_ms')
156
+ self.processing_ms = attributes[:'processing_ms']
157
+ else
158
+ self.processing_ms = nil
159
+ end
160
+ end
161
+
162
+ # Show invalid properties with the reasons. Usually used together with valid?
163
+ # @return Array for valid properties with the reasons
164
+ def list_invalid_properties
165
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
166
+ invalid_properties = Array.new
167
+ if @conversations.nil?
168
+ invalid_properties.push('invalid value for "conversations", conversations cannot be nil.')
169
+ end
170
+
171
+ if @characters.nil?
172
+ invalid_properties.push('invalid value for "characters", characters cannot be nil.')
173
+ end
174
+
175
+ if @expressions.nil?
176
+ invalid_properties.push('invalid value for "expressions", expressions cannot be nil.')
177
+ end
178
+
179
+ if @voice_notes.nil?
180
+ invalid_properties.push('invalid value for "voice_notes", voice_notes cannot be nil.')
181
+ end
182
+
183
+ if @conversation_credits.nil?
184
+ invalid_properties.push('invalid value for "conversation_credits", conversation_credits cannot be nil.')
185
+ end
186
+
187
+ if @expression_credits.nil?
188
+ invalid_properties.push('invalid value for "expression_credits", expression_credits cannot be nil.')
189
+ end
190
+
191
+ if @audio_credits.nil?
192
+ invalid_properties.push('invalid value for "audio_credits", audio_credits cannot be nil.')
193
+ end
194
+
195
+ if @credits_consumed.nil?
196
+ invalid_properties.push('invalid value for "credits_consumed", credits_consumed cannot be nil.')
197
+ end
198
+
199
+ if @processing_ms.nil?
200
+ invalid_properties.push('invalid value for "processing_ms", processing_ms cannot be nil.')
201
+ end
202
+
203
+ invalid_properties
204
+ end
205
+
206
+ # Check to see if the all the properties in the model are valid
207
+ # @return true if the model is valid
208
+ def valid?
209
+ warn '[DEPRECATED] the `valid?` method is obsolete'
210
+ return false if @conversations.nil?
211
+ return false if @characters.nil?
212
+ return false if @expressions.nil?
213
+ return false if @voice_notes.nil?
214
+ return false if @conversation_credits.nil?
215
+ return false if @expression_credits.nil?
216
+ return false if @audio_credits.nil?
217
+ return false if @credits_consumed.nil?
218
+ return false if @processing_ms.nil?
219
+ true
220
+ end
221
+
222
+ # Custom attribute writer method with validation
223
+ # @param [Object] conversations Value to be assigned
224
+ def conversations=(conversations)
225
+ if conversations.nil?
226
+ fail ArgumentError, 'conversations cannot be nil'
227
+ end
228
+
229
+ @conversations = conversations
230
+ end
231
+
232
+ # Custom attribute writer method with validation
233
+ # @param [Object] characters Value to be assigned
234
+ def characters=(characters)
235
+ if characters.nil?
236
+ fail ArgumentError, 'characters cannot be nil'
237
+ end
238
+
239
+ @characters = characters
240
+ end
241
+
242
+ # Custom attribute writer method with validation
243
+ # @param [Object] expressions Value to be assigned
244
+ def expressions=(expressions)
245
+ if expressions.nil?
246
+ fail ArgumentError, 'expressions cannot be nil'
247
+ end
248
+
249
+ @expressions = expressions
250
+ end
251
+
252
+ # Custom attribute writer method with validation
253
+ # @param [Object] voice_notes Value to be assigned
254
+ def voice_notes=(voice_notes)
255
+ if voice_notes.nil?
256
+ fail ArgumentError, 'voice_notes cannot be nil'
257
+ end
258
+
259
+ @voice_notes = voice_notes
260
+ end
261
+
262
+ # Custom attribute writer method with validation
263
+ # @param [Object] conversation_credits Value to be assigned
264
+ def conversation_credits=(conversation_credits)
265
+ if conversation_credits.nil?
266
+ fail ArgumentError, 'conversation_credits cannot be nil'
267
+ end
268
+
269
+ @conversation_credits = conversation_credits
270
+ end
271
+
272
+ # Custom attribute writer method with validation
273
+ # @param [Object] expression_credits Value to be assigned
274
+ def expression_credits=(expression_credits)
275
+ if expression_credits.nil?
276
+ fail ArgumentError, 'expression_credits cannot be nil'
277
+ end
278
+
279
+ @expression_credits = expression_credits
280
+ end
281
+
282
+ # Custom attribute writer method with validation
283
+ # @param [Object] audio_credits Value to be assigned
284
+ def audio_credits=(audio_credits)
285
+ if audio_credits.nil?
286
+ fail ArgumentError, 'audio_credits cannot be nil'
287
+ end
288
+
289
+ @audio_credits = audio_credits
290
+ end
291
+
292
+ # Custom attribute writer method with validation
293
+ # @param [Object] credits_consumed Value to be assigned
294
+ def credits_consumed=(credits_consumed)
295
+ if credits_consumed.nil?
296
+ fail ArgumentError, 'credits_consumed cannot be nil'
297
+ end
298
+
299
+ @credits_consumed = credits_consumed
300
+ end
301
+
302
+ # Custom attribute writer method with validation
303
+ # @param [Object] processing_ms Value to be assigned
304
+ def processing_ms=(processing_ms)
305
+ if processing_ms.nil?
306
+ fail ArgumentError, 'processing_ms cannot be nil'
307
+ end
308
+
309
+ @processing_ms = processing_ms
310
+ end
311
+
312
+ # Checks equality by comparing each attribute.
313
+ # @param [Object] Object to be compared
314
+ def ==(o)
315
+ return true if self.equal?(o)
316
+ self.class == o.class &&
317
+ conversations == o.conversations &&
318
+ characters == o.characters &&
319
+ expressions == o.expressions &&
320
+ voice_notes == o.voice_notes &&
321
+ conversation_credits == o.conversation_credits &&
322
+ expression_credits == o.expression_credits &&
323
+ audio_credits == o.audio_credits &&
324
+ credits_consumed == o.credits_consumed &&
325
+ processing_ms == o.processing_ms
326
+ end
327
+
328
+ # @see the `==` method
329
+ # @param [Object] Object to be compared
330
+ def eql?(o)
331
+ self == o
332
+ end
333
+
334
+ # Calculates hash code according to all attributes.
335
+ # @return [Integer] Hash code
336
+ def hash
337
+ [conversations, characters, expressions, voice_notes, conversation_credits, expression_credits, audio_credits, credits_consumed, processing_ms].hash
338
+ end
339
+
340
+ # Builds the object from hash
341
+ # @param [Hash] attributes Model attributes in the form of hash
342
+ # @return [Object] Returns the model itself
343
+ def self.build_from_hash(attributes)
344
+ return nil unless attributes.is_a?(Hash)
345
+ attributes = attributes.transform_keys(&:to_sym)
346
+ transformed_hash = {}
347
+ openapi_types.each_pair do |key, type|
348
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
349
+ transformed_hash["#{key}"] = nil
350
+ elsif type =~ /\AArray<(.*)>/i
351
+ # check to ensure the input is an array given that the attribute
352
+ # is documented as an array but the input is not
353
+ if attributes[attribute_map[key]].is_a?(Array)
354
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
355
+ end
356
+ elsif !attributes[attribute_map[key]].nil?
357
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
358
+ end
359
+ end
360
+ new(transformed_hash)
361
+ end
362
+
363
+ # Returns the object in the form of hash
364
+ # @return [Hash] Returns the object in the form of hash
365
+ def to_hash
366
+ hash = {}
367
+ self.class.attribute_map.each_pair do |attr, param|
368
+ value = self.send(attr)
369
+ if value.nil?
370
+ is_nullable = self.class.openapi_nullable.include?(attr)
371
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
372
+ end
373
+
374
+ hash[param] = _to_hash(value)
375
+ end
376
+ hash
377
+ end
378
+
379
+ end
380
+
381
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.49
6
+ The version of the OpenAPI document: 1.21.54
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -11,5 +11,5 @@ Generator version: 7.25.0
11
11
  =end
12
12
 
13
13
  module FalaAI
14
- VERSION = '1.21.49'
14
+ VERSION = '1.21.54'
15
15
  end
data/lib/falaai-api.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.49
6
+ The version of the OpenAPI document: 1.21.54
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -72,6 +72,11 @@ require 'falaai-api/models/version_response'
72
72
  require 'falaai-api/models/webhook_event'
73
73
  require 'falaai-api/models/webhook_item'
74
74
  require 'falaai-api/models/webhook_list_response'
75
+ require 'falaai-api/models/whatsapp_conversation'
76
+ require 'falaai-api/models/whatsapp_conversations_response'
77
+ require 'falaai-api/models/whatsapp_meta'
78
+ require 'falaai-api/models/whatsapp_speaker'
79
+ require 'falaai-api/models/whatsapp_usage'
75
80
 
76
81
  # APIs
77
82
  require 'falaai-api/api/analysis_api'
@@ -81,6 +86,7 @@ require 'falaai-api/api/speech_api'
81
86
  require 'falaai-api/api/usage_api'
82
87
  require 'falaai-api/api/version_api'
83
88
  require 'falaai-api/api/webhooks_api'
89
+ require 'falaai-api/api/whatsapp_api'
84
90
 
85
91
  module FalaAI
86
92
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falaai-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.49
4
+ version: 1.21.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Action Tec Br
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-01 00:00:00.000000000 Z
11
+ date: 2026-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -135,7 +135,16 @@ files:
135
135
  - docs/WebhookItem.md
136
136
  - docs/WebhookListResponse.md
137
137
  - docs/WebhooksApi.md
138
+ - docs/WhatsappApi.md
139
+ - docs/WhatsappConversation.md
140
+ - docs/WhatsappConversationsResponse.md
141
+ - docs/WhatsappMeta.md
142
+ - docs/WhatsappSpeaker.md
143
+ - docs/WhatsappUsage.md
138
144
  - docs/index.html
145
+ - docs/llms.txt
146
+ - docs/robots.txt
147
+ - docs/sitemap.xml
139
148
  - lib/falaai-api.rb
140
149
  - lib/falaai-api/api/analysis_api.rb
141
150
  - lib/falaai-api/api/email_alerts_api.rb
@@ -144,6 +153,7 @@ files:
144
153
  - lib/falaai-api/api/usage_api.rb
145
154
  - lib/falaai-api/api/version_api.rb
146
155
  - lib/falaai-api/api/webhooks_api.rb
156
+ - lib/falaai-api/api/whatsapp_api.rb
147
157
  - lib/falaai-api/api_client.rb
148
158
  - lib/falaai-api/api_error.rb
149
159
  - lib/falaai-api/api_model_base.rb
@@ -202,6 +212,11 @@ files:
202
212
  - lib/falaai-api/models/webhook_event.rb
203
213
  - lib/falaai-api/models/webhook_item.rb
204
214
  - lib/falaai-api/models/webhook_list_response.rb
215
+ - lib/falaai-api/models/whatsapp_conversation.rb
216
+ - lib/falaai-api/models/whatsapp_conversations_response.rb
217
+ - lib/falaai-api/models/whatsapp_meta.rb
218
+ - lib/falaai-api/models/whatsapp_speaker.rb
219
+ - lib/falaai-api/models/whatsapp_usage.rb
205
220
  - lib/falaai-api/version.rb
206
221
  homepage: https://falaai.action.tec.br/api
207
222
  licenses: