@droz-js/sdk 0.24.9 → 0.25.1
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.
- package/package.json +1 -1
- package/src/sdks/ai.d.ts +43 -41
- package/src/sdks/ai.js +37 -36
package/package.json
CHANGED
package/src/sdks/ai.d.ts
CHANGED
|
@@ -307,9 +307,9 @@ export type AiAgentConversationAnalysis = {
|
|
|
307
307
|
summary?: Maybe<Scalars['String']['output']>;
|
|
308
308
|
};
|
|
309
309
|
export declare enum AiAgentConversationClass {
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
310
|
+
NotEligible = "NOT_ELIGIBLE",
|
|
311
|
+
Resolved = "RESOLVED",
|
|
312
|
+
Unresolved = "UNRESOLVED"
|
|
313
313
|
}
|
|
314
314
|
export type AiAgentConversationClassification = {
|
|
315
315
|
/** Ausente enquanto a conversa esta em andamento. */
|
|
@@ -411,6 +411,8 @@ export type AiAgentConversationOutcome = {
|
|
|
411
411
|
promisedNextStep?: Maybe<Scalars['String']['output']>;
|
|
412
412
|
resolution: Scalars['String']['output'];
|
|
413
413
|
resolutionDefinition: Scalars['String']['output'];
|
|
414
|
+
/** Fim da janela de reversão por recontato. Ausente quando a conversa não reverte. */
|
|
415
|
+
reversibleUntil?: Maybe<Scalars['Number']['output']>;
|
|
414
416
|
sessionId: Scalars['ID']['output'];
|
|
415
417
|
startedAt: Scalars['Number']['output'];
|
|
416
418
|
turns: Scalars['Number']['output'];
|
|
@@ -421,12 +423,12 @@ export declare enum AiAgentConversationSortField {
|
|
|
421
423
|
Subcategory = "SUBCATEGORY"
|
|
422
424
|
}
|
|
423
425
|
export declare enum AiAgentConversationState {
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
426
|
+
ClosedByCap = "CLOSED_BY_CAP",
|
|
427
|
+
ClosedByConclusion = "CLOSED_BY_CONCLUSION",
|
|
428
|
+
ClosedByHandoff = "CLOSED_BY_HANDOFF",
|
|
429
|
+
ClosedByInactivity = "CLOSED_BY_INACTIVITY",
|
|
430
|
+
ClosedByTechnicalFailure = "CLOSED_BY_TECHNICAL_FAILURE",
|
|
431
|
+
InProgress = "IN_PROGRESS"
|
|
430
432
|
}
|
|
431
433
|
export declare enum AiAgentConversationStatus {
|
|
432
434
|
InProgress = "IN_PROGRESS",
|
|
@@ -435,20 +437,20 @@ export declare enum AiAgentConversationStatus {
|
|
|
435
437
|
Unresolved = "UNRESOLVED"
|
|
436
438
|
}
|
|
437
439
|
export declare enum AiAgentConversationSubcategory {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
440
|
+
AbandonedAfterClarification = "ABANDONED_AFTER_CLARIFICATION",
|
|
441
|
+
AutomatedInterlocutor = "AUTOMATED_INTERLOCUTOR",
|
|
442
|
+
CapReached = "CAP_REACHED",
|
|
443
|
+
ConfirmedResolution = "CONFIRMED_RESOLUTION",
|
|
444
|
+
GreetingWithoutDemand = "GREETING_WITHOUT_DEMAND",
|
|
445
|
+
HandoffByCustomerNeed = "HANDOFF_BY_CUSTOMER_NEED",
|
|
446
|
+
HandoffByProcedure = "HANDOFF_BY_PROCEDURE",
|
|
447
|
+
HandoffBySelfDiagnosis = "HANDOFF_BY_SELF_DIAGNOSIS",
|
|
448
|
+
NoCoverage = "NO_COVERAGE",
|
|
449
|
+
NoKnowledge = "NO_KNOWLEDGE",
|
|
450
|
+
PresumedResolution = "PRESUMED_RESOLUTION",
|
|
443
451
|
PromptInjection = "PROMPT_INJECTION",
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
SaudacaoSemDemanda = "SAUDACAO_SEM_DEMANDA",
|
|
447
|
-
SemCobertura = "SEM_COBERTURA",
|
|
448
|
-
SemConhecimento = "SEM_CONHECIMENTO",
|
|
449
|
-
TransbordoPorAutodiagnostico = "TRANSBORDO_POR_AUTODIAGNOSTICO",
|
|
450
|
-
TransbordoPorNecessidadeCliente = "TRANSBORDO_POR_NECESSIDADE_CLIENTE",
|
|
451
|
-
TransbordoPorProcedimento = "TRANSBORDO_POR_PROCEDIMENTO"
|
|
452
|
+
TechnicalFailure = "TECHNICAL_FAILURE",
|
|
453
|
+
Undefined = "UNDEFINED"
|
|
452
454
|
}
|
|
453
455
|
export type AiAgentDashboard = {
|
|
454
456
|
abandonment: AiAgentDashboardIndicator;
|
|
@@ -867,8 +869,8 @@ export type AiAgentRetentionPolicyInput = {
|
|
|
867
869
|
masksPersonalData: Scalars['Boolean']['input'];
|
|
868
870
|
};
|
|
869
871
|
export declare enum AiAgentRiskAlert {
|
|
870
|
-
|
|
871
|
-
|
|
872
|
+
Cancellation = "cancellation",
|
|
873
|
+
LegalAction = "legal_action",
|
|
872
874
|
Procon = "procon",
|
|
873
875
|
ReclameAqui = "reclame_aqui"
|
|
874
876
|
}
|
|
@@ -946,19 +948,19 @@ export type AiAgentScenarioTurn = {
|
|
|
946
948
|
turn: Scalars['Int']['output'];
|
|
947
949
|
};
|
|
948
950
|
export declare enum AiAgentScoreBand {
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
951
|
+
Excellent = "excellent",
|
|
952
|
+
Good = "good",
|
|
953
|
+
Poor = "poor",
|
|
954
|
+
Regular = "regular"
|
|
953
955
|
}
|
|
954
956
|
export type AiAgentScoreBandCount = {
|
|
955
957
|
count: Scalars['Number']['output'];
|
|
956
958
|
key: AiAgentScoreBand;
|
|
957
959
|
};
|
|
958
960
|
export declare enum AiAgentSentiment {
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
961
|
+
Negative = "negative",
|
|
962
|
+
Neutral = "neutral",
|
|
963
|
+
Positive = "positive"
|
|
962
964
|
}
|
|
963
965
|
export type AiAgentSentimentCount = {
|
|
964
966
|
count: Scalars['Number']['output'];
|
|
@@ -1029,10 +1031,10 @@ export type AiAgentSummary = {
|
|
|
1029
1031
|
updatedAt: Scalars['Number']['output'];
|
|
1030
1032
|
};
|
|
1031
1033
|
export declare enum AiAgentTechnicalFailure {
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1034
|
+
Error_5Xx = "ERROR_5XX",
|
|
1035
|
+
OperationalLimit = "OPERATIONAL_LIMIT",
|
|
1036
|
+
Timeout = "TIMEOUT",
|
|
1037
|
+
ToolUnavailable = "TOOL_UNAVAILABLE"
|
|
1036
1038
|
}
|
|
1037
1039
|
export type AiAgentTool = {
|
|
1038
1040
|
/** `pre_approved` (padrao) ou `human_approval`. */
|
|
@@ -1110,7 +1112,7 @@ export type AiAgentTrace = {
|
|
|
1110
1112
|
outcome: Scalars['String']['output'];
|
|
1111
1113
|
promptBuilderVersion: Scalars['Int']['output'];
|
|
1112
1114
|
/** Identifica o prompt que gerou este turno sem guardar o prompt inteiro. */
|
|
1113
|
-
promptFingerprint
|
|
1115
|
+
promptFingerprint?: Maybe<Scalars['String']['output']>;
|
|
1114
1116
|
sessionId: Scalars['ID']['output'];
|
|
1115
1117
|
startedAt: Scalars['Float']['output'];
|
|
1116
1118
|
steps: Scalars['Int']['output'];
|
|
@@ -1680,10 +1682,10 @@ export type TokenUsage = {
|
|
|
1680
1682
|
};
|
|
1681
1683
|
export declare enum TonePreset {
|
|
1682
1684
|
Cordial = "cordial",
|
|
1683
|
-
|
|
1684
|
-
Direto = "direto",
|
|
1685
|
+
Direct = "direct",
|
|
1685
1686
|
Formal = "formal",
|
|
1686
|
-
|
|
1687
|
+
Relaxed = "relaxed",
|
|
1688
|
+
Technical = "technical"
|
|
1687
1689
|
}
|
|
1688
1690
|
export declare enum ToolAvailability {
|
|
1689
1691
|
Available = "available",
|
|
@@ -1940,7 +1942,7 @@ export type AiAgentConversationOutcomeQueryVariables = Exact<{
|
|
|
1940
1942
|
sessionId: Scalars['ID']['input'];
|
|
1941
1943
|
}>;
|
|
1942
1944
|
export type AiAgentConversationOutcomeQuery = {
|
|
1943
|
-
aiAgentConversationOutcome?: Maybe<(Pick<AiAgentConversationOutcome, 'sessionId' | 'agentId' | 'agentVersion' | 'resolution' | 'resolutionDefinition' | 'collectedData' | 'collectedDataAvailable' | 'turns' | 'startedAt' | 'lastTurnAt' | 'haltReason' | 'handoffReason' | 'agentSummary' | 'promisedNextStep' | 'channelType'> & {
|
|
1945
|
+
aiAgentConversationOutcome?: Maybe<(Pick<AiAgentConversationOutcome, 'sessionId' | 'agentId' | 'agentVersion' | 'resolution' | 'resolutionDefinition' | 'collectedData' | 'collectedDataAvailable' | 'turns' | 'startedAt' | 'lastTurnAt' | 'haltReason' | 'handoffReason' | 'agentSummary' | 'promisedNextStep' | 'channelType' | 'reversibleUntil'> & {
|
|
1944
1946
|
classification: Pick<AiAgentConversationClassification, 'state' | 'status' | 'classification' | 'subcategory' | 'technicalFailure' | 'eligibleForResolution' | 'consumesAllowance' | 'inactivityWindowMs' | 'definitionVersion'>;
|
|
1945
1947
|
actions: Array<Pick<AiAgentConversationAction, 'toolId' | 'name' | 'ok' | 'result' | 'at'>>;
|
|
1946
1948
|
contactReason?: Maybe<Pick<AiAgentContactReason, 'name' | 'useCaseId' | 'tag' | 'other' | 'source'>>;
|
|
@@ -2211,7 +2213,7 @@ export declare const AiAgentRetentionPolicyDocument = "\n query aiAgentRetent
|
|
|
2211
2213
|
export declare const AiAgentConversationMetricsDocument = "\n query aiAgentConversationMetrics($input: AiAgentConversationMetricsInput!) {\n aiAgentConversationMetrics(input: $input) {\n items {\n sessionId\n channel\n turns\n startedAt\n lastTurnAt\n totalTokens\n costMicroUsd\n durationMs\n lastOutcome\n state\n status\n subcategory\n contactReason\n contactReasonTag\n channelType\n }\n total\n limit\n offset\n facets {\n name\n values {\n value\n count\n }\n }\n hasRiskAlerts\n dateRange {\n min\n max\n }\n truncated\n }\n}\n ";
|
|
2212
2214
|
export declare const AiAgentMetricsSeriesDocument = "\n query aiAgentMetricsSeries($input: AiAgentMetricsSeriesInput!) {\n aiAgentMetricsSeries(input: $input) {\n points {\n date\n conversations\n conversationsEligible\n conversationsResolved\n conversationsUnresolved\n conversationsHandoffNeed\n conversationsAbandoned\n resolvedRate\n unresolvedRate\n handoffNeedRate\n abandonmentRate\n }\n truncated\n }\n}\n ";
|
|
2213
2215
|
export declare const AiAgentDashboardDocument = "\n query aiAgentDashboard($input: AiAgentDashboardInput!) {\n aiAgentDashboard(input: $input) {\n agentId\n period\n timezone\n window {\n from\n to\n }\n previousWindow {\n from\n to\n }\n bucket\n conversations {\n ...aiAgentDashboardIndicator\n }\n resolved {\n ...aiAgentDashboardIndicator\n }\n unresolved {\n ...aiAgentDashboardIndicator\n }\n handoffProcedure {\n ...aiAgentDashboardIndicator\n }\n handoffNeed {\n ...aiAgentDashboardIndicator\n }\n abandonment {\n ...aiAgentDashboardIndicator\n }\n scoreBands {\n band\n count\n percent\n polarity\n variation {\n unit\n value\n }\n }\n agentScoreAvg\n agentScoreAvgBand\n analyzedConversations\n hasActiveDispatches\n activeDispatches {\n sent {\n ...aiAgentDashboardIndicator\n }\n answered {\n ...aiAgentDashboardIndicator\n }\n unanswered {\n ...aiAgentDashboardIndicator\n }\n }\n sentimentAtStart {\n ...aiAgentDashboardSentiment\n }\n sentimentAtEnd {\n ...aiAgentDashboardSentiment\n }\n contactReasons {\n all {\n ...aiAgentDashboardContactReason\n }\n handoff {\n ...aiAgentDashboardContactReason\n }\n abandonment {\n ...aiAgentDashboardContactReason\n }\n }\n procedures {\n key\n name\n count\n level\n }\n knowledgeGaps {\n key\n count\n level\n }\n series {\n date\n endDate\n conversations\n conversationsEligible\n conversationsResolved\n conversationsUnresolved\n conversationsHandoffNeed\n conversationsAbandoned\n resolvedRate\n unresolvedRate\n handoffNeedRate\n abandonmentRate\n }\n truncated\n analysesTruncated\n }\n}\n \n fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {\n value\n polarity\n variation {\n unit\n value\n }\n}\n \n\n fragment aiAgentDashboardSentiment on AiAgentDashboardSentiment {\n sentiment\n count\n percent\n polarity\n variation {\n unit\n value\n }\n}\n \n\n fragment aiAgentDashboardContactReason on AiAgentDashboardContactReason {\n key\n count\n percent\n}\n ";
|
|
2214
|
-
export declare const AiAgentConversationOutcomeDocument = "\n query aiAgentConversationOutcome($sessionId: ID!) {\n aiAgentConversationOutcome(sessionId: $sessionId) {\n sessionId\n agentId\n agentVersion\n resolution\n resolutionDefinition\n collectedData\n collectedDataAvailable\n turns\n startedAt\n lastTurnAt\n haltReason\n handoffReason\n agentSummary\n promisedNextStep\n classification {\n state\n status\n classification\n subcategory\n technicalFailure\n eligibleForResolution\n consumesAllowance\n inactivityWindowMs\n definitionVersion\n }\n channelType\n actions {\n toolId\n name\n ok\n result\n at\n }\n contactReason {\n name\n useCaseId\n tag\n other\n source\n }\n analysis {\n analysisVersion\n failed\n failureReason\n sentimentStart\n sentimentEnd\n estimatedSatisfaction\n riskAlerts\n knowledgeGaps\n repeatedInformation\n humanRequests\n contactReason\n contactReasonId\n contactReasonTag\n contactReasonOther\n contactReasonSource\n summary\n agentScore\n agentScoreBand\n agentClarity\n customerEffortScore\n model\n costMicroUsd\n analyzedAt\n }\n }\n}\n ";
|
|
2216
|
+
export declare const AiAgentConversationOutcomeDocument = "\n query aiAgentConversationOutcome($sessionId: ID!) {\n aiAgentConversationOutcome(sessionId: $sessionId) {\n sessionId\n agentId\n agentVersion\n resolution\n resolutionDefinition\n collectedData\n collectedDataAvailable\n turns\n startedAt\n lastTurnAt\n haltReason\n handoffReason\n agentSummary\n promisedNextStep\n classification {\n state\n status\n classification\n subcategory\n technicalFailure\n eligibleForResolution\n consumesAllowance\n inactivityWindowMs\n definitionVersion\n }\n channelType\n reversibleUntil\n actions {\n toolId\n name\n ok\n result\n at\n }\n contactReason {\n name\n useCaseId\n tag\n other\n source\n }\n analysis {\n analysisVersion\n failed\n failureReason\n sentimentStart\n sentimentEnd\n estimatedSatisfaction\n riskAlerts\n knowledgeGaps\n repeatedInformation\n humanRequests\n contactReason\n contactReasonId\n contactReasonTag\n contactReasonOther\n contactReasonSource\n summary\n agentScore\n agentScoreBand\n agentClarity\n customerEffortScore\n model\n costMicroUsd\n analyzedAt\n }\n }\n}\n ";
|
|
2215
2217
|
export declare const SaveAiAgentUseCaseDocument = "\n mutation saveAiAgentUseCase($input: SaveAiAgentUseCaseInput!) {\n saveAiAgentUseCase(input: $input) {\n ...aiAgentUseCase\n }\n}\n \n fragment aiAgentUseCase on AiAgentUseCase {\n id\n name\n subjectDescription\n procedureId\n tag\n status\n updatedAt\n}\n ";
|
|
2216
2218
|
export declare const SaveAiAgentProcedureDocument = "\n mutation saveAiAgentProcedure($input: SaveAiAgentProcedureInput!) {\n saveAiAgentProcedure(input: $input) {\n ...aiAgentProcedure\n }\n}\n \n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n status\n updatedAt\n}\n ";
|
|
2217
2219
|
export declare const RemoveAiAgentUseCaseDocument = "\n mutation removeAiAgentUseCase($input: AiAgentAuthoringRefInput!) {\n removeAiAgentUseCase(input: $input)\n}\n ";
|
package/src/sdks/ai.js
CHANGED
|
@@ -30,9 +30,9 @@ var AiAgentContactReasonSource;
|
|
|
30
30
|
})(AiAgentContactReasonSource || (exports.AiAgentContactReasonSource = AiAgentContactReasonSource = {}));
|
|
31
31
|
var AiAgentConversationClass;
|
|
32
32
|
(function (AiAgentConversationClass) {
|
|
33
|
-
AiAgentConversationClass["
|
|
34
|
-
AiAgentConversationClass["
|
|
35
|
-
AiAgentConversationClass["
|
|
33
|
+
AiAgentConversationClass["NotEligible"] = "NOT_ELIGIBLE";
|
|
34
|
+
AiAgentConversationClass["Resolved"] = "RESOLVED";
|
|
35
|
+
AiAgentConversationClass["Unresolved"] = "UNRESOLVED";
|
|
36
36
|
})(AiAgentConversationClass || (exports.AiAgentConversationClass = AiAgentConversationClass = {}));
|
|
37
37
|
var AiAgentConversationSortField;
|
|
38
38
|
(function (AiAgentConversationSortField) {
|
|
@@ -42,12 +42,12 @@ var AiAgentConversationSortField;
|
|
|
42
42
|
})(AiAgentConversationSortField || (exports.AiAgentConversationSortField = AiAgentConversationSortField = {}));
|
|
43
43
|
var AiAgentConversationState;
|
|
44
44
|
(function (AiAgentConversationState) {
|
|
45
|
-
AiAgentConversationState["
|
|
46
|
-
AiAgentConversationState["
|
|
47
|
-
AiAgentConversationState["
|
|
48
|
-
AiAgentConversationState["
|
|
49
|
-
AiAgentConversationState["
|
|
50
|
-
AiAgentConversationState["
|
|
45
|
+
AiAgentConversationState["ClosedByCap"] = "CLOSED_BY_CAP";
|
|
46
|
+
AiAgentConversationState["ClosedByConclusion"] = "CLOSED_BY_CONCLUSION";
|
|
47
|
+
AiAgentConversationState["ClosedByHandoff"] = "CLOSED_BY_HANDOFF";
|
|
48
|
+
AiAgentConversationState["ClosedByInactivity"] = "CLOSED_BY_INACTIVITY";
|
|
49
|
+
AiAgentConversationState["ClosedByTechnicalFailure"] = "CLOSED_BY_TECHNICAL_FAILURE";
|
|
50
|
+
AiAgentConversationState["InProgress"] = "IN_PROGRESS";
|
|
51
51
|
})(AiAgentConversationState || (exports.AiAgentConversationState = AiAgentConversationState = {}));
|
|
52
52
|
var AiAgentConversationStatus;
|
|
53
53
|
(function (AiAgentConversationStatus) {
|
|
@@ -58,20 +58,20 @@ var AiAgentConversationStatus;
|
|
|
58
58
|
})(AiAgentConversationStatus || (exports.AiAgentConversationStatus = AiAgentConversationStatus = {}));
|
|
59
59
|
var AiAgentConversationSubcategory;
|
|
60
60
|
(function (AiAgentConversationSubcategory) {
|
|
61
|
-
AiAgentConversationSubcategory["
|
|
62
|
-
AiAgentConversationSubcategory["
|
|
63
|
-
AiAgentConversationSubcategory["
|
|
64
|
-
AiAgentConversationSubcategory["
|
|
65
|
-
AiAgentConversationSubcategory["
|
|
61
|
+
AiAgentConversationSubcategory["AbandonedAfterClarification"] = "ABANDONED_AFTER_CLARIFICATION";
|
|
62
|
+
AiAgentConversationSubcategory["AutomatedInterlocutor"] = "AUTOMATED_INTERLOCUTOR";
|
|
63
|
+
AiAgentConversationSubcategory["CapReached"] = "CAP_REACHED";
|
|
64
|
+
AiAgentConversationSubcategory["ConfirmedResolution"] = "CONFIRMED_RESOLUTION";
|
|
65
|
+
AiAgentConversationSubcategory["GreetingWithoutDemand"] = "GREETING_WITHOUT_DEMAND";
|
|
66
|
+
AiAgentConversationSubcategory["HandoffByCustomerNeed"] = "HANDOFF_BY_CUSTOMER_NEED";
|
|
67
|
+
AiAgentConversationSubcategory["HandoffByProcedure"] = "HANDOFF_BY_PROCEDURE";
|
|
68
|
+
AiAgentConversationSubcategory["HandoffBySelfDiagnosis"] = "HANDOFF_BY_SELF_DIAGNOSIS";
|
|
69
|
+
AiAgentConversationSubcategory["NoCoverage"] = "NO_COVERAGE";
|
|
70
|
+
AiAgentConversationSubcategory["NoKnowledge"] = "NO_KNOWLEDGE";
|
|
71
|
+
AiAgentConversationSubcategory["PresumedResolution"] = "PRESUMED_RESOLUTION";
|
|
66
72
|
AiAgentConversationSubcategory["PromptInjection"] = "PROMPT_INJECTION";
|
|
67
|
-
AiAgentConversationSubcategory["
|
|
68
|
-
AiAgentConversationSubcategory["
|
|
69
|
-
AiAgentConversationSubcategory["SaudacaoSemDemanda"] = "SAUDACAO_SEM_DEMANDA";
|
|
70
|
-
AiAgentConversationSubcategory["SemCobertura"] = "SEM_COBERTURA";
|
|
71
|
-
AiAgentConversationSubcategory["SemConhecimento"] = "SEM_CONHECIMENTO";
|
|
72
|
-
AiAgentConversationSubcategory["TransbordoPorAutodiagnostico"] = "TRANSBORDO_POR_AUTODIAGNOSTICO";
|
|
73
|
-
AiAgentConversationSubcategory["TransbordoPorNecessidadeCliente"] = "TRANSBORDO_POR_NECESSIDADE_CLIENTE";
|
|
74
|
-
AiAgentConversationSubcategory["TransbordoPorProcedimento"] = "TRANSBORDO_POR_PROCEDIMENTO";
|
|
73
|
+
AiAgentConversationSubcategory["TechnicalFailure"] = "TECHNICAL_FAILURE";
|
|
74
|
+
AiAgentConversationSubcategory["Undefined"] = "UNDEFINED";
|
|
75
75
|
})(AiAgentConversationSubcategory || (exports.AiAgentConversationSubcategory = AiAgentConversationSubcategory = {}));
|
|
76
76
|
var AiAgentDashboardPeriod;
|
|
77
77
|
(function (AiAgentDashboardPeriod) {
|
|
@@ -114,23 +114,23 @@ var AiAgentMetricsBucket;
|
|
|
114
114
|
})(AiAgentMetricsBucket || (exports.AiAgentMetricsBucket = AiAgentMetricsBucket = {}));
|
|
115
115
|
var AiAgentRiskAlert;
|
|
116
116
|
(function (AiAgentRiskAlert) {
|
|
117
|
-
AiAgentRiskAlert["
|
|
118
|
-
AiAgentRiskAlert["
|
|
117
|
+
AiAgentRiskAlert["Cancellation"] = "cancellation";
|
|
118
|
+
AiAgentRiskAlert["LegalAction"] = "legal_action";
|
|
119
119
|
AiAgentRiskAlert["Procon"] = "procon";
|
|
120
120
|
AiAgentRiskAlert["ReclameAqui"] = "reclame_aqui";
|
|
121
121
|
})(AiAgentRiskAlert || (exports.AiAgentRiskAlert = AiAgentRiskAlert = {}));
|
|
122
122
|
var AiAgentScoreBand;
|
|
123
123
|
(function (AiAgentScoreBand) {
|
|
124
|
-
AiAgentScoreBand["
|
|
125
|
-
AiAgentScoreBand["
|
|
124
|
+
AiAgentScoreBand["Excellent"] = "excellent";
|
|
125
|
+
AiAgentScoreBand["Good"] = "good";
|
|
126
|
+
AiAgentScoreBand["Poor"] = "poor";
|
|
126
127
|
AiAgentScoreBand["Regular"] = "regular";
|
|
127
|
-
AiAgentScoreBand["Ruim"] = "ruim";
|
|
128
128
|
})(AiAgentScoreBand || (exports.AiAgentScoreBand = AiAgentScoreBand = {}));
|
|
129
129
|
var AiAgentSentiment;
|
|
130
130
|
(function (AiAgentSentiment) {
|
|
131
|
-
AiAgentSentiment["
|
|
132
|
-
AiAgentSentiment["
|
|
133
|
-
AiAgentSentiment["
|
|
131
|
+
AiAgentSentiment["Negative"] = "negative";
|
|
132
|
+
AiAgentSentiment["Neutral"] = "neutral";
|
|
133
|
+
AiAgentSentiment["Positive"] = "positive";
|
|
134
134
|
})(AiAgentSentiment || (exports.AiAgentSentiment = AiAgentSentiment = {}));
|
|
135
135
|
var AiAgentSortDirection;
|
|
136
136
|
(function (AiAgentSortDirection) {
|
|
@@ -139,10 +139,10 @@ var AiAgentSortDirection;
|
|
|
139
139
|
})(AiAgentSortDirection || (exports.AiAgentSortDirection = AiAgentSortDirection = {}));
|
|
140
140
|
var AiAgentTechnicalFailure;
|
|
141
141
|
(function (AiAgentTechnicalFailure) {
|
|
142
|
-
AiAgentTechnicalFailure["
|
|
143
|
-
AiAgentTechnicalFailure["
|
|
144
|
-
AiAgentTechnicalFailure["LimiteOperacional"] = "LIMITE_OPERACIONAL";
|
|
142
|
+
AiAgentTechnicalFailure["Error_5Xx"] = "ERROR_5XX";
|
|
143
|
+
AiAgentTechnicalFailure["OperationalLimit"] = "OPERATIONAL_LIMIT";
|
|
145
144
|
AiAgentTechnicalFailure["Timeout"] = "TIMEOUT";
|
|
145
|
+
AiAgentTechnicalFailure["ToolUnavailable"] = "TOOL_UNAVAILABLE";
|
|
146
146
|
})(AiAgentTechnicalFailure || (exports.AiAgentTechnicalFailure = AiAgentTechnicalFailure = {}));
|
|
147
147
|
var AiAgentVariationUnit;
|
|
148
148
|
(function (AiAgentVariationUnit) {
|
|
@@ -183,10 +183,10 @@ var ParameterGrounding;
|
|
|
183
183
|
var TonePreset;
|
|
184
184
|
(function (TonePreset) {
|
|
185
185
|
TonePreset["Cordial"] = "cordial";
|
|
186
|
-
TonePreset["
|
|
187
|
-
TonePreset["Direto"] = "direto";
|
|
186
|
+
TonePreset["Direct"] = "direct";
|
|
188
187
|
TonePreset["Formal"] = "formal";
|
|
189
|
-
TonePreset["
|
|
188
|
+
TonePreset["Relaxed"] = "relaxed";
|
|
189
|
+
TonePreset["Technical"] = "technical";
|
|
190
190
|
})(TonePreset || (exports.TonePreset = TonePreset = {}));
|
|
191
191
|
var ToolAvailability;
|
|
192
192
|
(function (ToolAvailability) {
|
|
@@ -1008,6 +1008,7 @@ exports.AiAgentConversationOutcomeDocument = `
|
|
|
1008
1008
|
definitionVersion
|
|
1009
1009
|
}
|
|
1010
1010
|
channelType
|
|
1011
|
+
reversibleUntil
|
|
1011
1012
|
actions {
|
|
1012
1013
|
toolId
|
|
1013
1014
|
name
|