falaai-api 1.21.54 → 1.21.67
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.
- checksums.yaml +4 -4
- data/README.md +11 -5
- data/docs/AnalysisApi.md +4 -0
- data/docs/DiagnosticUsage.md +1 -1
- data/docs/ResponseExtractConversationsV1WhatsappExtractconversationsPost.md +42 -0
- data/docs/RiskAuditAppliedActionV2.md +0 -4
- data/docs/RiskAuditAuditDecisionsV2.md +1 -3
- data/docs/RiskAuditConversationScoresV2.md +0 -2
- data/docs/RiskAuditDetectionItemV2.md +5 -75
- data/docs/RiskAuditSummaryV2.md +0 -4
- data/docs/RiskAuditUsageV2.md +1 -1
- data/docs/RiskAuditVerdictV2.md +1 -7
- data/docs/SpeechApi.md +2 -0
- data/docs/TranscriptionUsage.md +1 -1
- data/docs/WhatsappApi.md +16 -10
- data/docs/WhatsappConversation.md +1 -1
- data/docs/WhatsappMeta.md +3 -1
- data/docs/WhatsappPreviewItem.md +32 -0
- data/docs/WhatsappPreviewItemBreakdown.md +26 -0
- data/docs/WhatsappPreviewItemCredits.md +20 -0
- data/docs/WhatsappPreviewItemMedia.md +30 -0
- data/docs/WhatsappPreviewParams.md +32 -0
- data/docs/WhatsappPreviewResponse.md +32 -0
- data/docs/WhatsappPreviewWindow.md +22 -0
- data/docs/WhatsappUsage.md +11 -5
- data/docs/index.html +35 -7
- data/lib/falaai-api/api/analysis_api.rb +5 -1
- data/lib/falaai-api/api/email_alerts_api.rb +1 -1
- data/lib/falaai-api/api/health_api.rb +1 -1
- data/lib/falaai-api/api/speech_api.rb +3 -1
- data/lib/falaai-api/api/usage_api.rb +1 -1
- data/lib/falaai-api/api/version_api.rb +1 -1
- data/lib/falaai-api/api/webhooks_api.rb +1 -1
- data/lib/falaai-api/api/whatsapp_api.rb +21 -21
- data/lib/falaai-api/api_client.rb +1 -1
- data/lib/falaai-api/api_error.rb +1 -1
- data/lib/falaai-api/api_model_base.rb +1 -1
- data/lib/falaai-api/configuration.rb +1 -1
- data/lib/falaai-api/models/audio_event.rb +1 -1
- data/lib/falaai-api/models/audio_input_meta.rb +1 -1
- data/lib/falaai-api/models/create_email_alert_request.rb +1 -1
- data/lib/falaai-api/models/create_webhook_request.rb +1 -1
- data/lib/falaai-api/models/diagnostic_analysis_map.rb +1 -1
- data/lib/falaai-api/models/diagnostic_audio_event.rb +1 -1
- data/lib/falaai-api/models/diagnostic_categorical_analysis.rb +1 -1
- data/lib/falaai-api/models/diagnostic_participant.rb +1 -1
- data/lib/falaai-api/models/diagnostic_request.rb +1 -1
- data/lib/falaai-api/models/diagnostic_response.rb +1 -1
- data/lib/falaai-api/models/diagnostic_text_analysis.rb +1 -1
- data/lib/falaai-api/models/diagnostic_usage.rb +3 -3
- data/lib/falaai-api/models/email_alert_item.rb +1 -1
- data/lib/falaai-api/models/email_alert_list_response.rb +1 -1
- data/lib/falaai-api/models/email_alert_message_response.rb +1 -1
- data/lib/falaai-api/models/email_event.rb +1 -1
- data/lib/falaai-api/models/health_response.rb +1 -1
- data/lib/falaai-api/models/http_validation_error.rb +1 -1
- data/lib/falaai-api/models/location_inner.rb +1 -1
- data/lib/falaai-api/models/message_response.rb +1 -1
- data/lib/falaai-api/models/participant.rb +1 -1
- data/lib/falaai-api/models/participant_diagnostic.rb +1 -1
- data/lib/falaai-api/models/response_extract_conversations_v1_whatsapp_extractconversations_post.rb +103 -0
- data/lib/falaai-api/models/risk_audit_analysis_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_applied_action_v2.rb +2 -26
- data/lib/falaai-api/models/risk_audit_audio_event_model_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_audit_decisions_v2.rb +5 -17
- data/lib/falaai-api/models/risk_audit_conversation_scores_v2.rb +2 -12
- data/lib/falaai-api/models/risk_audit_detection_item_v2.rb +19 -393
- data/lib/falaai-api/models/risk_audit_detections_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_indexer_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_meta_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_participant_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_participants_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_request.rb +1 -1
- data/lib/falaai-api/models/risk_audit_scores_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_scoring_explanation_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_summary_v2.rb +2 -24
- data/lib/falaai-api/models/risk_audit_timeline_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_usage_v2.rb +2 -2
- data/lib/falaai-api/models/risk_audit_v2.rb +1 -1
- data/lib/falaai-api/models/risk_audit_v2_response.rb +1 -1
- data/lib/falaai-api/models/risk_audit_verdict_v2.rb +5 -36
- data/lib/falaai-api/models/transcription_response.rb +1 -1
- data/lib/falaai-api/models/transcription_usage.rb +2 -2
- data/lib/falaai-api/models/update_email_alert_request.rb +1 -1
- data/lib/falaai-api/models/update_webhook_request.rb +1 -1
- data/lib/falaai-api/models/usage_by_key_item.rb +1 -1
- data/lib/falaai-api/models/usage_log_item.rb +1 -1
- data/lib/falaai-api/models/usage_log_response.rb +1 -1
- data/lib/falaai-api/models/validation_error.rb +1 -1
- data/lib/falaai-api/models/version_response.rb +1 -1
- data/lib/falaai-api/models/webhook_event.rb +1 -1
- data/lib/falaai-api/models/webhook_item.rb +1 -1
- data/lib/falaai-api/models/webhook_list_response.rb +1 -1
- data/lib/falaai-api/models/whatsapp_conversation.rb +2 -2
- data/lib/falaai-api/models/whatsapp_conversations_response.rb +30 -6
- data/lib/falaai-api/models/whatsapp_meta.rb +32 -5
- data/lib/falaai-api/models/whatsapp_preview_item.rb +354 -0
- data/lib/falaai-api/models/whatsapp_preview_item_breakdown.rb +273 -0
- data/lib/falaai-api/models/whatsapp_preview_item_credits.rb +192 -0
- data/lib/falaai-api/models/whatsapp_preview_item_media.rb +329 -0
- data/lib/falaai-api/models/whatsapp_preview_params.rb +354 -0
- data/lib/falaai-api/models/whatsapp_preview_response.rb +384 -0
- data/lib/falaai-api/models/whatsapp_preview_window.rb +219 -0
- data/lib/falaai-api/models/whatsapp_speaker.rb +1 -1
- data/lib/falaai-api/models/whatsapp_usage.rb +90 -9
- data/lib/falaai-api/version.rb +15 -15
- data/lib/falaai-api.rb +9 -1
- metadata +18 -2
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -36,12 +36,6 @@ module FalaAI
|
|
|
36
36
|
# Audio events aggravated
|
|
37
37
|
attr_accessor :audio_events_aggravated
|
|
38
38
|
|
|
39
|
-
# MAC audio applied
|
|
40
|
-
attr_accessor :mac_audio_applied
|
|
41
|
-
|
|
42
|
-
# MVAD applied
|
|
43
|
-
attr_accessor :mvad_applied
|
|
44
|
-
|
|
45
39
|
# Total participants
|
|
46
40
|
attr_accessor :total_participants
|
|
47
41
|
|
|
@@ -73,8 +67,6 @@ module FalaAI
|
|
|
73
67
|
:'blocked' => :'blocked',
|
|
74
68
|
:'audio_events_used' => :'audio_events_used',
|
|
75
69
|
:'audio_events_aggravated' => :'audio_events_aggravated',
|
|
76
|
-
:'mac_audio_applied' => :'mac_audio_applied',
|
|
77
|
-
:'mvad_applied' => :'mvad_applied',
|
|
78
70
|
:'total_participants' => :'total_participants',
|
|
79
71
|
:'total_agents' => :'total_agents',
|
|
80
72
|
:'total_clients' => :'total_clients',
|
|
@@ -105,8 +97,6 @@ module FalaAI
|
|
|
105
97
|
:'blocked' => :'Integer',
|
|
106
98
|
:'audio_events_used' => :'Integer',
|
|
107
99
|
:'audio_events_aggravated' => :'Integer',
|
|
108
|
-
:'mac_audio_applied' => :'Object',
|
|
109
|
-
:'mvad_applied' => :'Object',
|
|
110
100
|
:'total_participants' => :'Integer',
|
|
111
101
|
:'total_agents' => :'Integer',
|
|
112
102
|
:'total_clients' => :'Integer',
|
|
@@ -120,8 +110,6 @@ module FalaAI
|
|
|
120
110
|
# List of attributes with nullable: true
|
|
121
111
|
def self.openapi_nullable
|
|
122
112
|
Set.new([
|
|
123
|
-
:'mac_audio_applied',
|
|
124
|
-
:'mvad_applied',
|
|
125
113
|
])
|
|
126
114
|
end
|
|
127
115
|
|
|
@@ -169,14 +157,6 @@ module FalaAI
|
|
|
169
157
|
self.audio_events_aggravated = attributes[:'audio_events_aggravated']
|
|
170
158
|
end
|
|
171
159
|
|
|
172
|
-
if attributes.key?(:'mac_audio_applied')
|
|
173
|
-
self.mac_audio_applied = attributes[:'mac_audio_applied']
|
|
174
|
-
end
|
|
175
|
-
|
|
176
|
-
if attributes.key?(:'mvad_applied')
|
|
177
|
-
self.mvad_applied = attributes[:'mvad_applied']
|
|
178
|
-
end
|
|
179
|
-
|
|
180
160
|
if attributes.key?(:'total_participants')
|
|
181
161
|
self.total_participants = attributes[:'total_participants']
|
|
182
162
|
end
|
|
@@ -233,8 +213,6 @@ module FalaAI
|
|
|
233
213
|
blocked == o.blocked &&
|
|
234
214
|
audio_events_used == o.audio_events_used &&
|
|
235
215
|
audio_events_aggravated == o.audio_events_aggravated &&
|
|
236
|
-
mac_audio_applied == o.mac_audio_applied &&
|
|
237
|
-
mvad_applied == o.mvad_applied &&
|
|
238
216
|
total_participants == o.total_participants &&
|
|
239
217
|
total_agents == o.total_agents &&
|
|
240
218
|
total_clients == o.total_clients &&
|
|
@@ -253,7 +231,7 @@ module FalaAI
|
|
|
253
231
|
# Calculates hash code according to all attributes.
|
|
254
232
|
# @return [Integer] Hash code
|
|
255
233
|
def hash
|
|
256
|
-
[total_turns, total_calibrated, active, tolerated, blocked, audio_events_used, audio_events_aggravated,
|
|
234
|
+
[total_turns, total_calibrated, active, tolerated, blocked, audio_events_used, audio_events_aggravated, total_participants, total_agents, total_clients, total_bots, total_unknown, client_risk_alerts_count, client_behavior_alerts_count].hash
|
|
257
235
|
end
|
|
258
236
|
|
|
259
237
|
# Builds the object from hash
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -47,7 +47,7 @@ module FalaAI
|
|
|
47
47
|
def self.openapi_types
|
|
48
48
|
{
|
|
49
49
|
:'characters' => :'Integer',
|
|
50
|
-
:'credits_consumed' => :'
|
|
50
|
+
:'credits_consumed' => :'Float',
|
|
51
51
|
:'processing_ms' => :'Integer'
|
|
52
52
|
}
|
|
53
53
|
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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -21,31 +21,19 @@ module FalaAI
|
|
|
21
21
|
# Classification level code
|
|
22
22
|
attr_accessor :level_code
|
|
23
23
|
|
|
24
|
-
# Level color
|
|
25
|
-
attr_accessor :color
|
|
26
|
-
|
|
27
|
-
# Level icon
|
|
28
|
-
attr_accessor :icon
|
|
29
|
-
|
|
30
24
|
# Risk matrix
|
|
31
25
|
attr_accessor :risk_matrix
|
|
32
26
|
|
|
33
27
|
# Applied actions
|
|
34
28
|
attr_accessor :applied_actions
|
|
35
29
|
|
|
36
|
-
# Decision details
|
|
37
|
-
attr_accessor :decision_details
|
|
38
|
-
|
|
39
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
31
|
def self.attribute_map
|
|
41
32
|
{
|
|
42
33
|
:'label' => :'label',
|
|
43
34
|
:'level_code' => :'level_code',
|
|
44
|
-
:'color' => :'color',
|
|
45
|
-
:'icon' => :'icon',
|
|
46
35
|
:'risk_matrix' => :'risk_matrix',
|
|
47
|
-
:'applied_actions' => :'applied_actions'
|
|
48
|
-
:'decision_details' => :'decision_details'
|
|
36
|
+
:'applied_actions' => :'applied_actions'
|
|
49
37
|
}
|
|
50
38
|
end
|
|
51
39
|
|
|
@@ -64,18 +52,14 @@ module FalaAI
|
|
|
64
52
|
{
|
|
65
53
|
:'label' => :'String',
|
|
66
54
|
:'level_code' => :'String',
|
|
67
|
-
:'color' => :'String',
|
|
68
|
-
:'icon' => :'String',
|
|
69
55
|
:'risk_matrix' => :'Hash<String, Object>',
|
|
70
|
-
:'applied_actions' => :'Array<RiskAuditAppliedActionV2>'
|
|
71
|
-
:'decision_details' => :'Object'
|
|
56
|
+
:'applied_actions' => :'Array<RiskAuditAppliedActionV2>'
|
|
72
57
|
}
|
|
73
58
|
end
|
|
74
59
|
|
|
75
60
|
# List of attributes with nullable: true
|
|
76
61
|
def self.openapi_nullable
|
|
77
62
|
Set.new([
|
|
78
|
-
:'decision_details'
|
|
79
63
|
])
|
|
80
64
|
end
|
|
81
65
|
|
|
@@ -103,14 +87,6 @@ module FalaAI
|
|
|
103
87
|
self.level_code = attributes[:'level_code']
|
|
104
88
|
end
|
|
105
89
|
|
|
106
|
-
if attributes.key?(:'color')
|
|
107
|
-
self.color = attributes[:'color']
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if attributes.key?(:'icon')
|
|
111
|
-
self.icon = attributes[:'icon']
|
|
112
|
-
end
|
|
113
|
-
|
|
114
90
|
if attributes.key?(:'risk_matrix')
|
|
115
91
|
if (value = attributes[:'risk_matrix']).is_a?(Hash)
|
|
116
92
|
self.risk_matrix = value
|
|
@@ -122,10 +98,6 @@ module FalaAI
|
|
|
122
98
|
self.applied_actions = value
|
|
123
99
|
end
|
|
124
100
|
end
|
|
125
|
-
|
|
126
|
-
if attributes.key?(:'decision_details')
|
|
127
|
-
self.decision_details = attributes[:'decision_details']
|
|
128
|
-
end
|
|
129
101
|
end
|
|
130
102
|
|
|
131
103
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -150,11 +122,8 @@ module FalaAI
|
|
|
150
122
|
self.class == o.class &&
|
|
151
123
|
label == o.label &&
|
|
152
124
|
level_code == o.level_code &&
|
|
153
|
-
color == o.color &&
|
|
154
|
-
icon == o.icon &&
|
|
155
125
|
risk_matrix == o.risk_matrix &&
|
|
156
|
-
applied_actions == o.applied_actions
|
|
157
|
-
decision_details == o.decision_details
|
|
126
|
+
applied_actions == o.applied_actions
|
|
158
127
|
end
|
|
159
128
|
|
|
160
129
|
# @see the `==` method
|
|
@@ -166,7 +135,7 @@ module FalaAI
|
|
|
166
135
|
# Calculates hash code according to all attributes.
|
|
167
136
|
# @return [Integer] Hash code
|
|
168
137
|
def hash
|
|
169
|
-
[label, level_code,
|
|
138
|
+
[label, level_code, risk_matrix, applied_actions].hash
|
|
170
139
|
end
|
|
171
140
|
|
|
172
141
|
# Builds the object from hash
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -47,7 +47,7 @@ module FalaAI
|
|
|
47
47
|
def self.openapi_types
|
|
48
48
|
{
|
|
49
49
|
:'audio_seconds' => :'Float',
|
|
50
|
-
:'credits_consumed' => :'
|
|
50
|
+
:'credits_consumed' => :'Float',
|
|
51
51
|
:'processing_ms' => :'Integer'
|
|
52
52
|
}
|
|
53
53
|
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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module FalaAI
|
|
17
17
|
class WhatsappConversation < ApiModelBase
|
|
18
|
-
#
|
|
18
|
+
# Stable conversation id: yyyymmddhhmm-<first speaker>[-xN for >2 speakers]
|
|
19
19
|
attr_accessor :conversation_id
|
|
20
20
|
|
|
21
21
|
# Real start (wall-clock, ISO)
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -33,6 +33,28 @@ module FalaAI
|
|
|
33
33
|
# Segmentation parameters and counts
|
|
34
34
|
attr_accessor :meta
|
|
35
35
|
|
|
36
|
+
class EnumAttributeValidator
|
|
37
|
+
attr_reader :datatype
|
|
38
|
+
attr_reader :allowable_values
|
|
39
|
+
|
|
40
|
+
def initialize(datatype, allowable_values)
|
|
41
|
+
@allowable_values = allowable_values.map do |value|
|
|
42
|
+
case datatype.to_s
|
|
43
|
+
when /Integer/i
|
|
44
|
+
value.to_i
|
|
45
|
+
when /Float/i
|
|
46
|
+
value.to_f
|
|
47
|
+
else
|
|
48
|
+
value
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def valid?(value)
|
|
54
|
+
!value || allowable_values.include?(value)
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
36
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
59
|
def self.attribute_map
|
|
38
60
|
{
|
|
@@ -160,6 +182,8 @@ module FalaAI
|
|
|
160
182
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
161
183
|
return false if @id.nil?
|
|
162
184
|
return false if @object.nil?
|
|
185
|
+
object_validator = EnumAttributeValidator.new('String', ["conversations"])
|
|
186
|
+
return false unless object_validator.valid?(@object)
|
|
163
187
|
return false if @usage.nil?
|
|
164
188
|
return false if @conversations.nil?
|
|
165
189
|
return false if @meta.nil?
|
|
@@ -176,13 +200,13 @@ module FalaAI
|
|
|
176
200
|
@id = id
|
|
177
201
|
end
|
|
178
202
|
|
|
179
|
-
# Custom attribute writer method
|
|
180
|
-
# @param [Object] object
|
|
203
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
204
|
+
# @param [Object] object Object to be assigned
|
|
181
205
|
def object=(object)
|
|
182
|
-
|
|
183
|
-
|
|
206
|
+
validator = EnumAttributeValidator.new('String', ["conversations"])
|
|
207
|
+
unless validator.valid?(object)
|
|
208
|
+
fail ArgumentError, "invalid value for \"object\", must be one of #{validator.allowable_values}."
|
|
184
209
|
end
|
|
185
|
-
|
|
186
210
|
@object = object
|
|
187
211
|
end
|
|
188
212
|
|
|
@@ -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.
|
|
6
|
+
The version of the OpenAPI document: 1.21.67
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -66,6 +66,9 @@ module FalaAI
|
|
|
66
66
|
# Visual expressions were described
|
|
67
67
|
attr_accessor :expression
|
|
68
68
|
|
|
69
|
+
# Explicit windows used (0 = simple start/end range)
|
|
70
|
+
attr_accessor :windows
|
|
71
|
+
|
|
69
72
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
70
73
|
def self.attribute_map
|
|
71
74
|
{
|
|
@@ -85,7 +88,8 @@ module FalaAI
|
|
|
85
88
|
:'monologues_dropped' => :'monologues_dropped',
|
|
86
89
|
:'conversations_selected' => :'conversations_selected',
|
|
87
90
|
:'voice_note' => :'voice_note',
|
|
88
|
-
:'expression' => :'expression'
|
|
91
|
+
:'expression' => :'expression',
|
|
92
|
+
:'windows' => :'windows'
|
|
89
93
|
}
|
|
90
94
|
end
|
|
91
95
|
|
|
@@ -118,7 +122,8 @@ module FalaAI
|
|
|
118
122
|
:'monologues_dropped' => :'Integer',
|
|
119
123
|
:'conversations_selected' => :'Integer',
|
|
120
124
|
:'voice_note' => :'Boolean',
|
|
121
|
-
:'expression' => :'Boolean'
|
|
125
|
+
:'expression' => :'Boolean',
|
|
126
|
+
:'windows' => :'Integer'
|
|
122
127
|
}
|
|
123
128
|
end
|
|
124
129
|
|
|
@@ -245,6 +250,12 @@ module FalaAI
|
|
|
245
250
|
else
|
|
246
251
|
self.expression = nil
|
|
247
252
|
end
|
|
253
|
+
|
|
254
|
+
if attributes.key?(:'windows')
|
|
255
|
+
self.windows = attributes[:'windows']
|
|
256
|
+
else
|
|
257
|
+
self.windows = nil
|
|
258
|
+
end
|
|
248
259
|
end
|
|
249
260
|
|
|
250
261
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -320,6 +331,10 @@ module FalaAI
|
|
|
320
331
|
invalid_properties.push('invalid value for "expression", expression cannot be nil.')
|
|
321
332
|
end
|
|
322
333
|
|
|
334
|
+
if @windows.nil?
|
|
335
|
+
invalid_properties.push('invalid value for "windows", windows cannot be nil.')
|
|
336
|
+
end
|
|
337
|
+
|
|
323
338
|
invalid_properties
|
|
324
339
|
end
|
|
325
340
|
|
|
@@ -344,6 +359,7 @@ module FalaAI
|
|
|
344
359
|
return false if @conversations_selected.nil?
|
|
345
360
|
return false if @voice_note.nil?
|
|
346
361
|
return false if @expression.nil?
|
|
362
|
+
return false if @windows.nil?
|
|
347
363
|
true
|
|
348
364
|
end
|
|
349
365
|
|
|
@@ -517,6 +533,16 @@ module FalaAI
|
|
|
517
533
|
@expression = expression
|
|
518
534
|
end
|
|
519
535
|
|
|
536
|
+
# Custom attribute writer method with validation
|
|
537
|
+
# @param [Object] windows Value to be assigned
|
|
538
|
+
def windows=(windows)
|
|
539
|
+
if windows.nil?
|
|
540
|
+
fail ArgumentError, 'windows cannot be nil'
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
@windows = windows
|
|
544
|
+
end
|
|
545
|
+
|
|
520
546
|
# Checks equality by comparing each attribute.
|
|
521
547
|
# @param [Object] Object to be compared
|
|
522
548
|
def ==(o)
|
|
@@ -538,7 +564,8 @@ module FalaAI
|
|
|
538
564
|
monologues_dropped == o.monologues_dropped &&
|
|
539
565
|
conversations_selected == o.conversations_selected &&
|
|
540
566
|
voice_note == o.voice_note &&
|
|
541
|
-
expression == o.expression
|
|
567
|
+
expression == o.expression &&
|
|
568
|
+
windows == o.windows
|
|
542
569
|
end
|
|
543
570
|
|
|
544
571
|
# @see the `==` method
|
|
@@ -550,7 +577,7 @@ module FalaAI
|
|
|
550
577
|
# Calculates hash code according to all attributes.
|
|
551
578
|
# @return [Integer] Hash code
|
|
552
579
|
def hash
|
|
553
|
-
[file, chat_txt, format, date_format, timezone, start, _end, gap_minutes, min_messages, turns, system_lines, conversations_total, conversations_in_window, monologues_dropped, conversations_selected, voice_note, expression].hash
|
|
580
|
+
[file, chat_txt, format, date_format, timezone, start, _end, gap_minutes, min_messages, turns, system_lines, conversations_total, conversations_in_window, monologues_dropped, conversations_selected, voice_note, expression, windows].hash
|
|
554
581
|
end
|
|
555
582
|
|
|
556
583
|
# Builds the object from hash
|