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
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FalaAI
|
|
17
|
-
class
|
|
17
|
+
class RiskAuditScoresV2 < ApiModelBase
|
|
18
18
|
# Conversation scores
|
|
19
19
|
attr_accessor :conversation
|
|
20
20
|
|
|
@@ -42,7 +42,7 @@ module FalaAI
|
|
|
42
42
|
# Attribute type mapping.
|
|
43
43
|
def self.openapi_types
|
|
44
44
|
{
|
|
45
|
-
:'conversation' => :'
|
|
45
|
+
:'conversation' => :'RiskAuditConversationScoresV2',
|
|
46
46
|
:'per_participant' => :'Hash<String, Object>'
|
|
47
47
|
}
|
|
48
48
|
end
|
|
@@ -57,14 +57,14 @@ module FalaAI
|
|
|
57
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
58
58
|
def initialize(attributes = {})
|
|
59
59
|
if (!attributes.is_a?(Hash))
|
|
60
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::
|
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::RiskAuditScoresV2` initialize method"
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
64
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
65
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
66
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::
|
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::RiskAuditScoresV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
68
68
|
end
|
|
69
69
|
h[k.to_sym] = v
|
|
70
70
|
}
|
|
@@ -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
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FalaAI
|
|
17
|
-
class
|
|
17
|
+
class RiskAuditScoringExplanationV2 < ApiModelBase
|
|
18
18
|
# Explanation summary
|
|
19
19
|
attr_accessor :summary
|
|
20
20
|
|
|
@@ -57,14 +57,14 @@ module FalaAI
|
|
|
57
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
58
58
|
def initialize(attributes = {})
|
|
59
59
|
if (!attributes.is_a?(Hash))
|
|
60
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::
|
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::RiskAuditScoringExplanationV2` initialize method"
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
64
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
65
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
66
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::
|
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::RiskAuditScoringExplanationV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
68
68
|
end
|
|
69
69
|
h[k.to_sym] = v
|
|
70
70
|
}
|
|
@@ -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
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FalaAI
|
|
17
|
-
class
|
|
17
|
+
class RiskAuditSummaryV2 < ApiModelBase
|
|
18
18
|
# Total turns
|
|
19
19
|
attr_accessor :total_turns
|
|
20
20
|
|
|
@@ -129,14 +129,14 @@ module FalaAI
|
|
|
129
129
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
130
130
|
def initialize(attributes = {})
|
|
131
131
|
if (!attributes.is_a?(Hash))
|
|
132
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::
|
|
132
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::RiskAuditSummaryV2` initialize method"
|
|
133
133
|
end
|
|
134
134
|
|
|
135
135
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
136
136
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
137
137
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
138
138
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
139
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::
|
|
139
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::RiskAuditSummaryV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
140
140
|
end
|
|
141
141
|
h[k.to_sym] = v
|
|
142
142
|
}
|
|
@@ -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
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FalaAI
|
|
17
|
-
class
|
|
17
|
+
class RiskAuditTimelineV2 < ApiModelBase
|
|
18
18
|
# Per-turn sentiment
|
|
19
19
|
attr_accessor :turns_sentiment
|
|
20
20
|
|
|
@@ -62,14 +62,14 @@ module FalaAI
|
|
|
62
62
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
63
63
|
def initialize(attributes = {})
|
|
64
64
|
if (!attributes.is_a?(Hash))
|
|
65
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::
|
|
65
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::RiskAuditTimelineV2` initialize method"
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
69
69
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
70
70
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
71
71
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
72
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::
|
|
72
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::RiskAuditTimelineV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
73
73
|
end
|
|
74
74
|
h[k.to_sym] = v
|
|
75
75
|
}
|
|
@@ -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
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FalaAI
|
|
17
|
-
class
|
|
17
|
+
class RiskAuditUsageV2 < ApiModelBase
|
|
18
18
|
# Characters analyzed
|
|
19
19
|
attr_accessor :characters
|
|
20
20
|
|
|
@@ -62,14 +62,14 @@ module FalaAI
|
|
|
62
62
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
63
63
|
def initialize(attributes = {})
|
|
64
64
|
if (!attributes.is_a?(Hash))
|
|
65
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::
|
|
65
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::RiskAuditUsageV2` initialize method"
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
69
69
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
70
70
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
71
71
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
72
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::
|
|
72
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::RiskAuditUsageV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
73
73
|
end
|
|
74
74
|
h[k.to_sym] = v
|
|
75
75
|
}
|
|
@@ -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
|
|
@@ -14,8 +14,8 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FalaAI
|
|
17
|
-
# Response V2 (build_public_response_v2)
|
|
18
|
-
class
|
|
17
|
+
# Response V2 (build_public_response_v2) — blocos logicos EN-US. Fonte: response_builder.py.
|
|
18
|
+
class RiskAuditV2 < ApiModelBase
|
|
19
19
|
# Identification + usage
|
|
20
20
|
attr_accessor :meta
|
|
21
21
|
|
|
@@ -50,7 +50,7 @@ module FalaAI
|
|
|
50
50
|
attr_accessor :summary
|
|
51
51
|
|
|
52
52
|
# Used actions i18n catalog (keyed by action)
|
|
53
|
-
attr_accessor :
|
|
53
|
+
attr_accessor :actions_i18n
|
|
54
54
|
|
|
55
55
|
# Risk origin + validator changes
|
|
56
56
|
attr_accessor :audit_decisions
|
|
@@ -75,7 +75,7 @@ module FalaAI
|
|
|
75
75
|
:'categories_summary' => :'categories_summary',
|
|
76
76
|
:'indexer' => :'indexer',
|
|
77
77
|
:'summary' => :'summary',
|
|
78
|
-
:'
|
|
78
|
+
:'actions_i18n' => :'actions_i18n',
|
|
79
79
|
:'audit_decisions' => :'audit_decisions',
|
|
80
80
|
:'scoring_explanation' => :'scoring_explanation',
|
|
81
81
|
:'html_report' => :'html_report'
|
|
@@ -95,20 +95,20 @@ module FalaAI
|
|
|
95
95
|
# Attribute type mapping.
|
|
96
96
|
def self.openapi_types
|
|
97
97
|
{
|
|
98
|
-
:'meta' => :'
|
|
99
|
-
:'participants' => :'
|
|
100
|
-
:'verdict' => :'
|
|
101
|
-
:'scores' => :'
|
|
102
|
-
:'detections' => :'
|
|
103
|
-
:'analysis' => :'
|
|
104
|
-
:'timeline' => :'
|
|
105
|
-
:'audio_event_model' => :'
|
|
98
|
+
:'meta' => :'RiskAuditMetaV2',
|
|
99
|
+
:'participants' => :'RiskAuditParticipantsV2',
|
|
100
|
+
:'verdict' => :'RiskAuditVerdictV2',
|
|
101
|
+
:'scores' => :'RiskAuditScoresV2',
|
|
102
|
+
:'detections' => :'RiskAuditDetectionsV2',
|
|
103
|
+
:'analysis' => :'RiskAuditAnalysisV2',
|
|
104
|
+
:'timeline' => :'RiskAuditTimelineV2',
|
|
105
|
+
:'audio_event_model' => :'RiskAuditAudioEventModelV2',
|
|
106
106
|
:'categories_summary' => :'Hash<String, Object>',
|
|
107
|
-
:'indexer' => :'
|
|
108
|
-
:'summary' => :'
|
|
109
|
-
:'
|
|
110
|
-
:'audit_decisions' => :'
|
|
111
|
-
:'scoring_explanation' => :'
|
|
107
|
+
:'indexer' => :'RiskAuditIndexerV2',
|
|
108
|
+
:'summary' => :'RiskAuditSummaryV2',
|
|
109
|
+
:'actions_i18n' => :'Hash<String, Object>',
|
|
110
|
+
:'audit_decisions' => :'RiskAuditAuditDecisionsV2',
|
|
111
|
+
:'scoring_explanation' => :'RiskAuditScoringExplanationV2',
|
|
112
112
|
:'html_report' => :'String'
|
|
113
113
|
}
|
|
114
114
|
end
|
|
@@ -123,14 +123,14 @@ module FalaAI
|
|
|
123
123
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
124
124
|
def initialize(attributes = {})
|
|
125
125
|
if (!attributes.is_a?(Hash))
|
|
126
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::
|
|
126
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::RiskAuditV2` initialize method"
|
|
127
127
|
end
|
|
128
128
|
|
|
129
129
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
130
130
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
131
131
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
132
132
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
133
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::
|
|
133
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::RiskAuditV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
134
134
|
end
|
|
135
135
|
h[k.to_sym] = v
|
|
136
136
|
}
|
|
@@ -203,12 +203,12 @@ module FalaAI
|
|
|
203
203
|
self.summary = nil
|
|
204
204
|
end
|
|
205
205
|
|
|
206
|
-
if attributes.key?(:'
|
|
207
|
-
if (value = attributes[:'
|
|
208
|
-
self.
|
|
206
|
+
if attributes.key?(:'actions_i18n')
|
|
207
|
+
if (value = attributes[:'actions_i18n']).is_a?(Hash)
|
|
208
|
+
self.actions_i18n = value
|
|
209
209
|
end
|
|
210
210
|
else
|
|
211
|
-
self.
|
|
211
|
+
self.actions_i18n = nil
|
|
212
212
|
end
|
|
213
213
|
|
|
214
214
|
if attributes.key?(:'audit_decisions')
|
|
@@ -279,8 +279,8 @@ module FalaAI
|
|
|
279
279
|
invalid_properties.push('invalid value for "summary", summary cannot be nil.')
|
|
280
280
|
end
|
|
281
281
|
|
|
282
|
-
if @
|
|
283
|
-
invalid_properties.push('invalid value for "
|
|
282
|
+
if @actions_i18n.nil?
|
|
283
|
+
invalid_properties.push('invalid value for "actions_i18n", actions_i18n cannot be nil.')
|
|
284
284
|
end
|
|
285
285
|
|
|
286
286
|
if @audit_decisions.nil?
|
|
@@ -313,7 +313,7 @@ module FalaAI
|
|
|
313
313
|
return false if @categories_summary.nil?
|
|
314
314
|
return false if @indexer.nil?
|
|
315
315
|
return false if @summary.nil?
|
|
316
|
-
return false if @
|
|
316
|
+
return false if @actions_i18n.nil?
|
|
317
317
|
return false if @audit_decisions.nil?
|
|
318
318
|
return false if @scoring_explanation.nil?
|
|
319
319
|
return false if @html_report.nil?
|
|
@@ -431,13 +431,13 @@ module FalaAI
|
|
|
431
431
|
end
|
|
432
432
|
|
|
433
433
|
# Custom attribute writer method with validation
|
|
434
|
-
# @param [Object]
|
|
435
|
-
def
|
|
436
|
-
if
|
|
437
|
-
fail ArgumentError, '
|
|
434
|
+
# @param [Object] actions_i18n Value to be assigned
|
|
435
|
+
def actions_i18n=(actions_i18n)
|
|
436
|
+
if actions_i18n.nil?
|
|
437
|
+
fail ArgumentError, 'actions_i18n cannot be nil'
|
|
438
438
|
end
|
|
439
439
|
|
|
440
|
-
@
|
|
440
|
+
@actions_i18n = actions_i18n
|
|
441
441
|
end
|
|
442
442
|
|
|
443
443
|
# Custom attribute writer method with validation
|
|
@@ -486,7 +486,7 @@ module FalaAI
|
|
|
486
486
|
categories_summary == o.categories_summary &&
|
|
487
487
|
indexer == o.indexer &&
|
|
488
488
|
summary == o.summary &&
|
|
489
|
-
|
|
489
|
+
actions_i18n == o.actions_i18n &&
|
|
490
490
|
audit_decisions == o.audit_decisions &&
|
|
491
491
|
scoring_explanation == o.scoring_explanation &&
|
|
492
492
|
html_report == o.html_report
|
|
@@ -501,7 +501,7 @@ module FalaAI
|
|
|
501
501
|
# Calculates hash code according to all attributes.
|
|
502
502
|
# @return [Integer] Hash code
|
|
503
503
|
def hash
|
|
504
|
-
[meta, participants, verdict, scores, detections, analysis, timeline, audio_event_model, categories_summary, indexer, summary,
|
|
504
|
+
[meta, participants, verdict, scores, detections, analysis, timeline, audio_event_model, categories_summary, indexer, summary, actions_i18n, audit_decisions, scoring_explanation, html_report].hash
|
|
505
505
|
end
|
|
506
506
|
|
|
507
507
|
# Builds the object from hash
|
|
@@ -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
|
|
@@ -14,8 +14,8 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FalaAI
|
|
17
|
-
class
|
|
18
|
-
# Public response V2
|
|
17
|
+
class RiskAuditV2Response < ApiModelBase
|
|
18
|
+
# Public response V2 — always returned
|
|
19
19
|
attr_accessor :response
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -38,7 +38,7 @@ module FalaAI
|
|
|
38
38
|
# Attribute type mapping.
|
|
39
39
|
def self.openapi_types
|
|
40
40
|
{
|
|
41
|
-
:'response' => :'
|
|
41
|
+
:'response' => :'RiskAuditV2'
|
|
42
42
|
}
|
|
43
43
|
end
|
|
44
44
|
|
|
@@ -52,14 +52,14 @@ module FalaAI
|
|
|
52
52
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
53
53
|
def initialize(attributes = {})
|
|
54
54
|
if (!attributes.is_a?(Hash))
|
|
55
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::
|
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::RiskAuditV2Response` initialize method"
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
59
59
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
60
60
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
61
61
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::
|
|
62
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::RiskAuditV2Response`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
63
63
|
end
|
|
64
64
|
h[k.to_sym] = v
|
|
65
65
|
}
|
|
@@ -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
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FalaAI
|
|
17
|
-
class
|
|
17
|
+
class RiskAuditVerdictV2 < ApiModelBase
|
|
18
18
|
# Human-readable verdict
|
|
19
19
|
attr_accessor :label
|
|
20
20
|
|
|
@@ -67,7 +67,7 @@ module FalaAI
|
|
|
67
67
|
:'color' => :'String',
|
|
68
68
|
:'icon' => :'String',
|
|
69
69
|
:'risk_matrix' => :'Hash<String, Object>',
|
|
70
|
-
:'applied_actions' => :'Array<
|
|
70
|
+
:'applied_actions' => :'Array<RiskAuditAppliedActionV2>',
|
|
71
71
|
:'decision_details' => :'Object'
|
|
72
72
|
}
|
|
73
73
|
end
|
|
@@ -83,14 +83,14 @@ module FalaAI
|
|
|
83
83
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
84
84
|
def initialize(attributes = {})
|
|
85
85
|
if (!attributes.is_a?(Hash))
|
|
86
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::
|
|
86
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FalaAI::RiskAuditVerdictV2` initialize method"
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
90
90
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
91
91
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
92
92
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
93
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::
|
|
93
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FalaAI::RiskAuditVerdictV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
94
94
|
end
|
|
95
95
|
h[k.to_sym] = v
|
|
96
96
|
}
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|