falaai-api 1.21.48 → 1.21.49
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 +239 -339
- data/docs/AnalysisApi.md +33 -37
- data/docs/AudioEvent.md +5 -5
- data/docs/AudioInputMeta.md +5 -5
- data/docs/CreateEmailAlertRequest.md +3 -3
- data/docs/CreateWebhookRequest.md +4 -4
- data/docs/DiagnosticAudioEvent.md +5 -5
- data/docs/DiagnosticCategoricalAnalysis.md +3 -3
- data/docs/DiagnosticParticipant.md +22 -0
- data/docs/DiagnosticRequest.md +10 -4
- data/docs/DiagnosticResponse.md +4 -4
- data/docs/DiagnosticTextAnalysis.md +1 -1
- data/docs/DiagnosticUsage.md +3 -3
- data/docs/EmailAlertsApi.md +18 -18
- data/docs/HealthApi.md +3 -13
- data/docs/HealthResponse.md +6 -6
- data/docs/Participant.md +2 -2
- data/docs/ParticipantDiagnostic.md +5 -5
- data/docs/{AuditoriaRiscoAnalysisV2.md → RiskAuditAnalysisV2.md} +2 -2
- data/docs/{AuditoriaRiscoAppliedActionV2.md → RiskAuditAppliedActionV2.md} +2 -2
- data/docs/{AuditoriaRiscoAudioEventModelV2.md → RiskAuditAudioEventModelV2.md} +2 -2
- data/docs/{AuditoriaRiscoAuditDecisionsV2.md → RiskAuditAuditDecisionsV2.md} +2 -2
- data/docs/{AuditoriaRiscoConversationScoresV2.md → RiskAuditConversationScoresV2.md} +2 -2
- data/docs/{AuditoriaRiscoDetectionItemV2.md → RiskAuditDetectionItemV2.md} +2 -2
- data/docs/RiskAuditDetectionsV2.md +26 -0
- data/docs/{AuditoriaRiscoIndexerV2.md → RiskAuditIndexerV2.md} +2 -2
- data/docs/{AuditoriaRiscoMetaV2.md → RiskAuditMetaV2.md} +4 -4
- data/docs/{AuditoriaRiscoParticipantV2.md → RiskAuditParticipantV2.md} +2 -2
- data/docs/{AuditoriaRiscoParticipantsV2.md → RiskAuditParticipantsV2.md} +3 -3
- data/docs/{AuditoriaRiscoRequest.md → RiskAuditRequest.md} +12 -12
- data/docs/{AuditoriaRiscoScoresV2.md → RiskAuditScoresV2.md} +3 -3
- data/docs/{AuditoriaRiscoScoringExplanationV2.md → RiskAuditScoringExplanationV2.md} +2 -2
- data/docs/{AuditoriaRiscoSummaryV2.md → RiskAuditSummaryV2.md} +2 -2
- data/docs/{AuditoriaRiscoTimelineV2.md → RiskAuditTimelineV2.md} +2 -2
- data/docs/{AuditoriaRiscoUsageV2.md → RiskAuditUsageV2.md} +2 -2
- data/docs/RiskAuditV2.md +46 -0
- data/docs/RiskAuditV2Response.md +18 -0
- data/docs/{AuditoriaRiscoVerdictV2.md → RiskAuditVerdictV2.md} +3 -3
- data/docs/SpeechApi.md +1 -3
- data/docs/TranscriptionResponse.md +13 -14
- data/docs/TranscriptionUsage.md +3 -3
- data/docs/UpdateWebhookRequest.md +5 -5
- data/docs/UsageApi.md +1 -1
- data/docs/VersionApi.md +2 -7
- data/docs/VersionResponse.md +3 -3
- data/docs/WebhooksApi.md +22 -22
- data/docs/index.html +758 -0
- data/lib/falaai-api/api/analysis_api.rb +38 -42
- data/lib/falaai-api/api/email_alerts_api.rb +10 -10
- data/lib/falaai-api/api/health_api.rb +4 -4
- data/lib/falaai-api/api/speech_api.rb +2 -4
- data/lib/falaai-api/api/usage_api.rb +2 -2
- data/lib/falaai-api/api/version_api.rb +3 -3
- data/lib/falaai-api/api/webhooks_api.rb +18 -18
- data/lib/falaai-api/api_client.rb +2 -2
- data/lib/falaai-api/api_error.rb +2 -2
- data/lib/falaai-api/api_model_base.rb +2 -2
- data/lib/falaai-api/configuration.rb +6 -6
- data/lib/falaai-api/models/audio_event.rb +2 -2
- data/lib/falaai-api/models/audio_input_meta.rb +2 -2
- data/lib/falaai-api/models/create_email_alert_request.rb +2 -2
- data/lib/falaai-api/models/create_webhook_request.rb +2 -2
- data/lib/falaai-api/models/diagnostic_analysis_map.rb +2 -2
- data/lib/falaai-api/models/diagnostic_audio_event.rb +2 -2
- data/lib/falaai-api/models/diagnostic_categorical_analysis.rb +2 -2
- data/lib/falaai-api/models/diagnostic_participant.rb +226 -0
- data/lib/falaai-api/models/diagnostic_request.rb +91 -6
- data/lib/falaai-api/models/diagnostic_response.rb +2 -2
- data/lib/falaai-api/models/diagnostic_text_analysis.rb +2 -2
- data/lib/falaai-api/models/diagnostic_usage.rb +2 -2
- data/lib/falaai-api/models/email_alert_item.rb +2 -2
- data/lib/falaai-api/models/email_alert_list_response.rb +2 -2
- data/lib/falaai-api/models/email_alert_message_response.rb +2 -2
- data/lib/falaai-api/models/email_event.rb +2 -2
- data/lib/falaai-api/models/health_response.rb +2 -2
- data/lib/falaai-api/models/http_validation_error.rb +2 -2
- data/lib/falaai-api/models/location_inner.rb +2 -2
- data/lib/falaai-api/models/message_response.rb +2 -2
- data/lib/falaai-api/models/participant.rb +2 -2
- data/lib/falaai-api/models/participant_diagnostic.rb +2 -2
- data/lib/falaai-api/models/{auditoria_risco_analysis_v2.rb → risk_audit_analysis_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_applied_action_v2.rb → risk_audit_applied_action_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_audio_event_model_v2.rb → risk_audit_audio_event_model_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_audit_decisions_v2.rb → risk_audit_audit_decisions_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_conversation_scores_v2.rb → risk_audit_conversation_scores_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_detection_item_v2.rb → risk_audit_detection_item_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_detections_v2.rb → risk_audit_detections_v2.rb} +8 -8
- data/lib/falaai-api/models/{auditoria_risco_indexer_v2.rb → risk_audit_indexer_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_meta_v2.rb → risk_audit_meta_v2.rb} +7 -7
- data/lib/falaai-api/models/{auditoria_risco_participant_v2.rb → risk_audit_participant_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_participants_v2.rb → risk_audit_participants_v2.rb} +6 -6
- data/lib/falaai-api/models/{auditoria_risco_request.rb → risk_audit_request.rb} +8 -8
- data/lib/falaai-api/models/{auditoria_risco_scores_v2.rb → risk_audit_scores_v2.rb} +6 -6
- data/lib/falaai-api/models/{auditoria_risco_scoring_explanation_v2.rb → risk_audit_scoring_explanation_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_summary_v2.rb → risk_audit_summary_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_timeline_v2.rb → risk_audit_timeline_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_usage_v2.rb → risk_audit_usage_v2.rb} +5 -5
- data/lib/falaai-api/models/{auditoria_risco_v2.rb → risk_audit_v2.rb} +35 -35
- data/lib/falaai-api/models/{auditoria_risco_v2_response.rb → risk_audit_v2_response.rb} +7 -7
- data/lib/falaai-api/models/{auditoria_risco_verdict_v2.rb → risk_audit_verdict_v2.rb} +6 -6
- data/lib/falaai-api/models/transcription_response.rb +2 -2
- data/lib/falaai-api/models/transcription_usage.rb +2 -2
- data/lib/falaai-api/models/update_email_alert_request.rb +2 -2
- data/lib/falaai-api/models/update_webhook_request.rb +2 -2
- data/lib/falaai-api/models/usage_by_key_item.rb +2 -2
- data/lib/falaai-api/models/usage_log_item.rb +2 -2
- data/lib/falaai-api/models/usage_log_response.rb +2 -2
- data/lib/falaai-api/models/validation_error.rb +2 -2
- data/lib/falaai-api/models/version_response.rb +2 -2
- data/lib/falaai-api/models/webhook_event.rb +2 -2
- data/lib/falaai-api/models/webhook_item.rb +2 -2
- data/lib/falaai-api/models/webhook_list_response.rb +2 -2
- data/lib/falaai-api/version.rb +3 -3
- data/lib/falaai-api.rb +23 -22
- metadata +45 -42
- data/docs/AuditoriaRiscoDetectionsV2.md +0 -26
- data/docs/AuditoriaRiscoV2.md +0 -46
- data/docs/AuditoriaRiscoV2Response.md +0 -18
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -19,31 +19,29 @@ module FalaAI
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
#
|
|
23
|
-
#
|
|
24
|
-
# @param auditoria_risco_request [AuditoriaRiscoRequest]
|
|
22
|
+
# Analyze a call transcript — 5 parallel analyses
|
|
23
|
+
# @param diagnostic_request [DiagnosticRequest]
|
|
25
24
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @return [
|
|
27
|
-
def
|
|
28
|
-
data, _status_code, _headers =
|
|
25
|
+
# @return [DiagnosticResponse]
|
|
26
|
+
def create_diagnostic_v1_analyze_diagnostic_post(diagnostic_request, opts = {})
|
|
27
|
+
data, _status_code, _headers = create_diagnostic_v1_analyze_diagnostic_post_with_http_info(diagnostic_request, opts)
|
|
29
28
|
data
|
|
30
29
|
end
|
|
31
30
|
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
# @param auditoria_risco_request [AuditoriaRiscoRequest]
|
|
31
|
+
# Analyze a call transcript — 5 parallel analyses
|
|
32
|
+
# @param diagnostic_request [DiagnosticRequest]
|
|
35
33
|
# @param [Hash] opts the optional parameters
|
|
36
|
-
# @return [Array<(
|
|
37
|
-
def
|
|
34
|
+
# @return [Array<(DiagnosticResponse, Integer, Hash)>] DiagnosticResponse data, response status code and response headers
|
|
35
|
+
def create_diagnostic_v1_analyze_diagnostic_post_with_http_info(diagnostic_request, opts = {})
|
|
38
36
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API: AnalysisApi.
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: AnalysisApi.create_diagnostic_v1_analyze_diagnostic_post ...'
|
|
40
38
|
end
|
|
41
|
-
# verify the required parameter '
|
|
42
|
-
if @api_client.config.client_side_validation &&
|
|
43
|
-
fail ArgumentError, "Missing the required parameter '
|
|
39
|
+
# verify the required parameter 'diagnostic_request' is set
|
|
40
|
+
if @api_client.config.client_side_validation && diagnostic_request.nil?
|
|
41
|
+
fail ArgumentError, "Missing the required parameter 'diagnostic_request' when calling AnalysisApi.create_diagnostic_v1_analyze_diagnostic_post"
|
|
44
42
|
end
|
|
45
43
|
# resource path
|
|
46
|
-
local_var_path = '/v1/analyze/
|
|
44
|
+
local_var_path = '/v1/analyze/diagnostic'
|
|
47
45
|
|
|
48
46
|
# query parameters
|
|
49
47
|
query_params = opts[:query_params] || {}
|
|
@@ -62,16 +60,16 @@ module FalaAI
|
|
|
62
60
|
form_params = opts[:form_params] || {}
|
|
63
61
|
|
|
64
62
|
# http body (model)
|
|
65
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
63
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(diagnostic_request)
|
|
66
64
|
|
|
67
65
|
# return_type
|
|
68
|
-
return_type = opts[:debug_return_type] || '
|
|
66
|
+
return_type = opts[:debug_return_type] || 'DiagnosticResponse'
|
|
69
67
|
|
|
70
68
|
# auth_names
|
|
71
69
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
72
70
|
|
|
73
71
|
new_options = opts.merge(
|
|
74
|
-
:operation => :"AnalysisApi.
|
|
72
|
+
:operation => :"AnalysisApi.create_diagnostic_v1_analyze_diagnostic_post",
|
|
75
73
|
:header_params => header_params,
|
|
76
74
|
:query_params => query_params,
|
|
77
75
|
:form_params => form_params,
|
|
@@ -82,36 +80,34 @@ module FalaAI
|
|
|
82
80
|
|
|
83
81
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
82
|
if @api_client.config.debugging
|
|
85
|
-
@api_client.config.logger.debug "API called: AnalysisApi#
|
|
83
|
+
@api_client.config.logger.debug "API called: AnalysisApi#create_diagnostic_v1_analyze_diagnostic_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
84
|
end
|
|
87
85
|
return data, status_code, headers
|
|
88
86
|
end
|
|
89
87
|
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
# @param diagnostic_request [DiagnosticRequest]
|
|
88
|
+
# Compliance Risk Audit — conversation compliance analysis
|
|
89
|
+
# @param risk_audit_request [RiskAuditRequest]
|
|
93
90
|
# @param [Hash] opts the optional parameters
|
|
94
|
-
# @return [
|
|
95
|
-
def
|
|
96
|
-
data, _status_code, _headers =
|
|
91
|
+
# @return [RiskAuditV2Response]
|
|
92
|
+
def create_risk_audit_v1_analyze_risk_audit_post(risk_audit_request, opts = {})
|
|
93
|
+
data, _status_code, _headers = create_risk_audit_v1_analyze_risk_audit_post_with_http_info(risk_audit_request, opts)
|
|
97
94
|
data
|
|
98
95
|
end
|
|
99
96
|
|
|
100
|
-
#
|
|
101
|
-
#
|
|
102
|
-
# @param diagnostic_request [DiagnosticRequest]
|
|
97
|
+
# Compliance Risk Audit — conversation compliance analysis
|
|
98
|
+
# @param risk_audit_request [RiskAuditRequest]
|
|
103
99
|
# @param [Hash] opts the optional parameters
|
|
104
|
-
# @return [Array<(
|
|
105
|
-
def
|
|
100
|
+
# @return [Array<(RiskAuditV2Response, Integer, Hash)>] RiskAuditV2Response data, response status code and response headers
|
|
101
|
+
def create_risk_audit_v1_analyze_risk_audit_post_with_http_info(risk_audit_request, opts = {})
|
|
106
102
|
if @api_client.config.debugging
|
|
107
|
-
@api_client.config.logger.debug 'Calling API: AnalysisApi.
|
|
103
|
+
@api_client.config.logger.debug 'Calling API: AnalysisApi.create_risk_audit_v1_analyze_risk_audit_post ...'
|
|
108
104
|
end
|
|
109
|
-
# verify the required parameter '
|
|
110
|
-
if @api_client.config.client_side_validation &&
|
|
111
|
-
fail ArgumentError, "Missing the required parameter '
|
|
105
|
+
# verify the required parameter 'risk_audit_request' is set
|
|
106
|
+
if @api_client.config.client_side_validation && risk_audit_request.nil?
|
|
107
|
+
fail ArgumentError, "Missing the required parameter 'risk_audit_request' when calling AnalysisApi.create_risk_audit_v1_analyze_risk_audit_post"
|
|
112
108
|
end
|
|
113
109
|
# resource path
|
|
114
|
-
local_var_path = '/v1/analyze/
|
|
110
|
+
local_var_path = '/v1/analyze/riskAudit'
|
|
115
111
|
|
|
116
112
|
# query parameters
|
|
117
113
|
query_params = opts[:query_params] || {}
|
|
@@ -130,16 +126,16 @@ module FalaAI
|
|
|
130
126
|
form_params = opts[:form_params] || {}
|
|
131
127
|
|
|
132
128
|
# http body (model)
|
|
133
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
129
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(risk_audit_request)
|
|
134
130
|
|
|
135
131
|
# return_type
|
|
136
|
-
return_type = opts[:debug_return_type] || '
|
|
132
|
+
return_type = opts[:debug_return_type] || 'RiskAuditV2Response'
|
|
137
133
|
|
|
138
134
|
# auth_names
|
|
139
135
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
|
140
136
|
|
|
141
137
|
new_options = opts.merge(
|
|
142
|
-
:operation => :"AnalysisApi.
|
|
138
|
+
:operation => :"AnalysisApi.create_risk_audit_v1_analyze_risk_audit_post",
|
|
143
139
|
:header_params => header_params,
|
|
144
140
|
:query_params => query_params,
|
|
145
141
|
:form_params => form_params,
|
|
@@ -150,7 +146,7 @@ module FalaAI
|
|
|
150
146
|
|
|
151
147
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
152
148
|
if @api_client.config.debugging
|
|
153
|
-
@api_client.config.logger.debug "API called: AnalysisApi#
|
|
149
|
+
@api_client.config.logger.debug "API called: AnalysisApi#create_risk_audit_v1_analyze_risk_audit_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
154
150
|
end
|
|
155
151
|
return data, status_code, headers
|
|
156
152
|
end
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -19,7 +19,7 @@ module FalaAI
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
#
|
|
22
|
+
# Create email alert
|
|
23
23
|
# @param create_email_alert_request [CreateEmailAlertRequest]
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @return [EmailAlertItem]
|
|
@@ -28,7 +28,7 @@ module FalaAI
|
|
|
28
28
|
data
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
#
|
|
31
|
+
# Create email alert
|
|
32
32
|
# @param create_email_alert_request [CreateEmailAlertRequest]
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
34
|
# @return [Array<(EmailAlertItem, Integer, Hash)>] EmailAlertItem data, response status code and response headers
|
|
@@ -85,7 +85,7 @@ module FalaAI
|
|
|
85
85
|
return data, status_code, headers
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
-
#
|
|
88
|
+
# Delete email alert
|
|
89
89
|
# @param alert_id [String]
|
|
90
90
|
# @param [Hash] opts the optional parameters
|
|
91
91
|
# @return [EmailAlertMessageResponse]
|
|
@@ -94,7 +94,7 @@ module FalaAI
|
|
|
94
94
|
data
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
#
|
|
97
|
+
# Delete email alert
|
|
98
98
|
# @param alert_id [String]
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
|
100
100
|
# @return [Array<(EmailAlertMessageResponse, Integer, Hash)>] EmailAlertMessageResponse data, response status code and response headers
|
|
@@ -146,7 +146,7 @@ module FalaAI
|
|
|
146
146
|
return data, status_code, headers
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
-
#
|
|
149
|
+
# List email alerts
|
|
150
150
|
# @param [Hash] opts the optional parameters
|
|
151
151
|
# @option opts [Integer] :page (default to 1)
|
|
152
152
|
# @option opts [Integer] :limit (default to 20)
|
|
@@ -156,7 +156,7 @@ module FalaAI
|
|
|
156
156
|
data
|
|
157
157
|
end
|
|
158
158
|
|
|
159
|
-
#
|
|
159
|
+
# List email alerts
|
|
160
160
|
# @param [Hash] opts the optional parameters
|
|
161
161
|
# @option opts [Integer] :page (default to 1)
|
|
162
162
|
# @option opts [Integer] :limit (default to 20)
|
|
@@ -219,7 +219,7 @@ module FalaAI
|
|
|
219
219
|
return data, status_code, headers
|
|
220
220
|
end
|
|
221
221
|
|
|
222
|
-
#
|
|
222
|
+
# Update email alert
|
|
223
223
|
# @param alert_id [String]
|
|
224
224
|
# @param update_email_alert_request [UpdateEmailAlertRequest]
|
|
225
225
|
# @param [Hash] opts the optional parameters
|
|
@@ -229,7 +229,7 @@ module FalaAI
|
|
|
229
229
|
data
|
|
230
230
|
end
|
|
231
231
|
|
|
232
|
-
#
|
|
232
|
+
# Update email alert
|
|
233
233
|
# @param alert_id [String]
|
|
234
234
|
# @param update_email_alert_request [UpdateEmailAlertRequest]
|
|
235
235
|
# @param [Hash] opts the optional parameters
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -55,7 +55,7 @@ module FalaAI
|
|
|
55
55
|
return_type = opts[:debug_return_type] || 'HealthResponse'
|
|
56
56
|
|
|
57
57
|
# auth_names
|
|
58
|
-
auth_names = opts[:debug_auth_names] || [
|
|
58
|
+
auth_names = opts[:debug_auth_names] || []
|
|
59
59
|
|
|
60
60
|
new_options = opts.merge(
|
|
61
61
|
:operation => :"HealthApi.health_check",
|
|
@@ -110,7 +110,7 @@ module FalaAI
|
|
|
110
110
|
return_type = opts[:debug_return_type] || 'HealthResponse'
|
|
111
111
|
|
|
112
112
|
# auth_names
|
|
113
|
-
auth_names = opts[:debug_auth_names] || [
|
|
113
|
+
auth_names = opts[:debug_auth_names] || []
|
|
114
114
|
|
|
115
115
|
new_options = opts.merge(
|
|
116
116
|
:operation => :"HealthApi.health_check_head",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -20,7 +20,6 @@ module FalaAI
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Transcribe audio to text
|
|
23
|
-
# Upload an audio file and receive transcription with speaker diarization, audio events, and dialog. **Supported formats:** .mp3, .mp4, .m4a, .wav, .flac, .ogg, .webm, .aac, .opus **Limits:** - Maximum audio duration: 3 hours - Maximum file size: 1GB - Cost: 1 credit per second of audio (rounded up), minimum 1 credit **Supported languages:** pt, en, es, fr, de, it, ja, ko, nl, pl, ru, tr, zh, vi, id, th, ar, hi, cs, da, el, fi, he, hu, ms, no, ro, sk, sv, ta, uk **Python:** ```python import httpx response = httpx.post( 'https://api01-falaai.action.tec.br/v1/audio/transcriptions', headers={'Authorization': 'Bearer fai_xxx'}, files={'file': open('call.mp3', 'rb')}, data={'model': 'falaai-transcribe-1', 'language': 'pt'} ) print(response.json()) ``` **cURL:** ```bash curl https://api01-falaai.action.tec.br/v1/audio/transcriptions \\ -H 'Authorization: Bearer fai_xxx' \\ -F 'file=@call.mp3' \\ -F 'model=falaai-transcribe-1' \\ -F 'language=pt' ```
|
|
24
23
|
# @param file [File]
|
|
25
24
|
# @param [Hash] opts the optional parameters
|
|
26
25
|
# @option opts [String] :model (default to 'falaai-transcribe-1')
|
|
@@ -33,7 +32,6 @@ module FalaAI
|
|
|
33
32
|
end
|
|
34
33
|
|
|
35
34
|
# Transcribe audio to text
|
|
36
|
-
# Upload an audio file and receive transcription with speaker diarization, audio events, and dialog. **Supported formats:** .mp3, .mp4, .m4a, .wav, .flac, .ogg, .webm, .aac, .opus **Limits:** - Maximum audio duration: 3 hours - Maximum file size: 1GB - Cost: 1 credit per second of audio (rounded up), minimum 1 credit **Supported languages:** pt, en, es, fr, de, it, ja, ko, nl, pl, ru, tr, zh, vi, id, th, ar, hi, cs, da, el, fi, he, hu, ms, no, ro, sk, sv, ta, uk **Python:** ```python import httpx response = httpx.post( 'https://api01-falaai.action.tec.br/v1/audio/transcriptions', headers={'Authorization': 'Bearer fai_xxx'}, files={'file': open('call.mp3', 'rb')}, data={'model': 'falaai-transcribe-1', 'language': 'pt'} ) print(response.json()) ``` **cURL:** ```bash curl https://api01-falaai.action.tec.br/v1/audio/transcriptions \\ -H 'Authorization: Bearer fai_xxx' \\ -F 'file=@call.mp3' \\ -F 'model=falaai-transcribe-1' \\ -F 'language=pt' ```
|
|
37
35
|
# @param file [File]
|
|
38
36
|
# @param [Hash] opts the optional parameters
|
|
39
37
|
# @option opts [String] :model (default to 'falaai-transcribe-1')
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -55,7 +55,7 @@ module FalaAI
|
|
|
55
55
|
return_type = opts[:debug_return_type] || 'VersionResponse'
|
|
56
56
|
|
|
57
57
|
# auth_names
|
|
58
|
-
auth_names = opts[:debug_auth_names] || [
|
|
58
|
+
auth_names = opts[:debug_auth_names] || []
|
|
59
59
|
|
|
60
60
|
new_options = opts.merge(
|
|
61
61
|
:operation => :"VersionApi.get_version_api_version_get",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -19,8 +19,8 @@ module FalaAI
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
#
|
|
23
|
-
#
|
|
22
|
+
# Create webhook
|
|
23
|
+
# Creates a subscription for alert events (10 alerts). Payload delivered: WebhookPayload(event, data, timestamp) with HMAC FalaAI-Signature. To verify the origin, recompute HMAC-SHA256 of \"timestamp.body\" with your secret.
|
|
24
24
|
# @param create_webhook_request [CreateWebhookRequest]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [WebhookItem]
|
|
@@ -29,8 +29,8 @@ module FalaAI
|
|
|
29
29
|
data
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
#
|
|
33
|
-
#
|
|
32
|
+
# Create webhook
|
|
33
|
+
# Creates a subscription for alert events (10 alerts). Payload delivered: WebhookPayload(event, data, timestamp) with HMAC FalaAI-Signature. To verify the origin, recompute HMAC-SHA256 of \"timestamp.body\" with your secret.
|
|
34
34
|
# @param create_webhook_request [CreateWebhookRequest]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(WebhookItem, Integer, Hash)>] WebhookItem data, response status code and response headers
|
|
@@ -87,8 +87,8 @@ module FalaAI
|
|
|
87
87
|
return data, status_code, headers
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
#
|
|
91
|
-
#
|
|
90
|
+
# Delete webhook
|
|
91
|
+
# Deletes a webhook subscription by ID.
|
|
92
92
|
# @param webhook_id [String]
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @return [MessageResponse]
|
|
@@ -97,8 +97,8 @@ module FalaAI
|
|
|
97
97
|
data
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
#
|
|
101
|
-
#
|
|
100
|
+
# Delete webhook
|
|
101
|
+
# Deletes a webhook subscription by ID.
|
|
102
102
|
# @param webhook_id [String]
|
|
103
103
|
# @param [Hash] opts the optional parameters
|
|
104
104
|
# @return [Array<(MessageResponse, Integer, Hash)>] MessageResponse data, response status code and response headers
|
|
@@ -150,8 +150,8 @@ module FalaAI
|
|
|
150
150
|
return data, status_code, headers
|
|
151
151
|
end
|
|
152
152
|
|
|
153
|
-
#
|
|
154
|
-
#
|
|
153
|
+
# List webhooks
|
|
154
|
+
# Lists the authenticated user's webhooks (10 alerts). Paginated. Includes the URL signature secret (always visible to the owner).
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
|
156
156
|
# @option opts [Integer] :page Pagina (1-indexed) (default to 1)
|
|
157
157
|
# @option opts [Integer] :limit Itens por pagina (max 100) (default to 20)
|
|
@@ -161,8 +161,8 @@ module FalaAI
|
|
|
161
161
|
data
|
|
162
162
|
end
|
|
163
163
|
|
|
164
|
-
#
|
|
165
|
-
#
|
|
164
|
+
# List webhooks
|
|
165
|
+
# Lists the authenticated user's webhooks (10 alerts). Paginated. Includes the URL signature secret (always visible to the owner).
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
167
|
# @option opts [Integer] :page Pagina (1-indexed) (default to 1)
|
|
168
168
|
# @option opts [Integer] :limit Itens por pagina (max 100) (default to 20)
|
|
@@ -225,8 +225,8 @@ module FalaAI
|
|
|
225
225
|
return data, status_code, headers
|
|
226
226
|
end
|
|
227
227
|
|
|
228
|
-
#
|
|
229
|
-
#
|
|
228
|
+
# Update webhook
|
|
229
|
+
# Updates the webhook's name/url/events/retry_enabled/active. Valid events: 10 alerts.
|
|
230
230
|
# @param webhook_id [String]
|
|
231
231
|
# @param update_webhook_request [UpdateWebhookRequest]
|
|
232
232
|
# @param [Hash] opts the optional parameters
|
|
@@ -236,8 +236,8 @@ module FalaAI
|
|
|
236
236
|
data
|
|
237
237
|
end
|
|
238
238
|
|
|
239
|
-
#
|
|
240
|
-
#
|
|
239
|
+
# Update webhook
|
|
240
|
+
# Updates the webhook's name/url/events/retry_enabled/active. Valid events: 10 alerts.
|
|
241
241
|
# @param webhook_id [String]
|
|
242
242
|
# @param update_webhook_request [UpdateWebhookRequest]
|
|
243
243
|
# @param [Hash] opts the optional parameters
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
data/lib/falaai-api/api_error.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -157,8 +157,8 @@ module FalaAI
|
|
|
157
157
|
attr_accessor :force_ending_format
|
|
158
158
|
|
|
159
159
|
def initialize
|
|
160
|
-
@scheme = '
|
|
161
|
-
@host = '
|
|
160
|
+
@scheme = 'https'
|
|
161
|
+
@host = 'api01-falaai.action.tec.br'
|
|
162
162
|
@base_path = ''
|
|
163
163
|
@server_index = nil
|
|
164
164
|
@server_operation_index = {}
|
|
@@ -259,8 +259,8 @@ module FalaAI
|
|
|
259
259
|
def server_settings
|
|
260
260
|
[
|
|
261
261
|
{
|
|
262
|
-
url: "",
|
|
263
|
-
description: "
|
|
262
|
+
url: "https://api01-falaai.action.tec.br",
|
|
263
|
+
description: "FalaAI API - producao",
|
|
264
264
|
}
|
|
265
265
|
]
|
|
266
266
|
end
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#FalaAI API
|
|
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.49
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.25.0
|