@droz-js/sdk 0.26.7 → 0.26.8
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/drozadmin.d.ts +12 -0
- package/src/drozai.d.ts +0 -6
- package/src/sdks/ai.d.ts +25 -175
- package/src/sdks/ai.js +19 -180
- package/src/sdks/drozcommons.d.ts +95 -0
- package/src/sdks/drozcommons.js +73 -2
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -58,6 +58,18 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
58
58
|
batchDeploy(variables: import("./sdks/drozcommons").Exact<{
|
|
59
59
|
input: import("./sdks/drozcommons").BatchDeployInput;
|
|
60
60
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").BatchDeployMutation>;
|
|
61
|
+
listLlmModels(variables?: import("./sdks/drozcommons").Exact<{
|
|
62
|
+
[key: string]: never;
|
|
63
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListLlmModelsQuery>;
|
|
64
|
+
createLlmModel(variables: import("./sdks/drozcommons").Exact<{
|
|
65
|
+
input: import("./sdks/drozcommons").CreateLlmModelInput;
|
|
66
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").CreateLlmModelMutation>;
|
|
67
|
+
updateLlmModel(variables: import("./sdks/drozcommons").Exact<{
|
|
68
|
+
input: import("./sdks/drozcommons").UpdateLlmModelInput;
|
|
69
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").UpdateLlmModelMutation>;
|
|
70
|
+
addLlmModelPrice(variables: import("./sdks/drozcommons").Exact<{
|
|
71
|
+
input: import("./sdks/drozcommons").AddLlmModelPriceInput;
|
|
72
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").AddLlmModelPriceMutation>;
|
|
61
73
|
listTenantParameters(variables: import("./sdks/drozcommons").Exact<{
|
|
62
74
|
tenantId: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
63
75
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListTenantParametersQuery>;
|
package/src/drozai.d.ts
CHANGED
|
@@ -12,9 +12,6 @@ declare const DrozAi_base: new (options?: import("./client/http").HttpClientOpti
|
|
|
12
12
|
listAiAgentVersions(variables: import("./sdks/ai").Exact<{
|
|
13
13
|
aiAgentId: import("./sdks/ai").Scalars["ID"]["input"];
|
|
14
14
|
}>, options?: unknown): Promise<import("./sdks/ai").ListAiAgentVersionsQuery>;
|
|
15
|
-
aiAgentMetricsByAgent(variables: import("./sdks/ai").Exact<{
|
|
16
|
-
input: import("./sdks/ai").AiAgentMetricsWindowInput;
|
|
17
|
-
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentMetricsByAgentQuery>;
|
|
18
15
|
aiAgentListingMetrics(variables: import("./sdks/ai").Exact<{
|
|
19
16
|
input: import("./sdks/ai").AiAgentMetricsWindowInput;
|
|
20
17
|
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentListingMetricsQuery>;
|
|
@@ -130,9 +127,6 @@ declare const DrozAi_base: new (options?: import("./client/http").HttpClientOpti
|
|
|
130
127
|
aiAgentCheckLimits(variables: import("./sdks/ai").Exact<{
|
|
131
128
|
aiAgentId: import("./sdks/ai").Scalars["ID"]["input"];
|
|
132
129
|
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentCheckLimitsQuery>;
|
|
133
|
-
aiAgentMetrics(variables: import("./sdks/ai").Exact<{
|
|
134
|
-
input: import("./sdks/ai").AiAgentMetricsInput;
|
|
135
|
-
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentMetricsQuery>;
|
|
136
130
|
aiAgentVersionSpec(variables: import("./sdks/ai").Exact<{
|
|
137
131
|
aiAgentId: import("./sdks/ai").Scalars["ID"]["input"];
|
|
138
132
|
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentVersionSpecQuery>;
|
package/src/sdks/ai.d.ts
CHANGED
|
@@ -127,6 +127,11 @@ export type AgentInfo = {
|
|
|
127
127
|
name: Scalars['String']['output'];
|
|
128
128
|
picture?: Maybe<Scalars['String']['output']>;
|
|
129
129
|
};
|
|
130
|
+
export declare enum AiAgentActionClaim {
|
|
131
|
+
Action = "action",
|
|
132
|
+
Closing = "closing",
|
|
133
|
+
Transfer = "transfer"
|
|
134
|
+
}
|
|
130
135
|
export declare enum AiAgentAnalysisFailureReason {
|
|
131
136
|
InvalidReply = "invalid_reply",
|
|
132
137
|
ModelError = "model_error"
|
|
@@ -252,12 +257,6 @@ export declare enum AiAgentCheckRunStatus {
|
|
|
252
257
|
Running = "running",
|
|
253
258
|
Succeeded = "succeeded"
|
|
254
259
|
}
|
|
255
|
-
export type AiAgentClassificationCount = {
|
|
256
|
-
count: Scalars['Number']['output'];
|
|
257
|
-
state: AiAgentConversationState;
|
|
258
|
-
subcategory?: Maybe<AiAgentConversationSubcategory>;
|
|
259
|
-
technicalFailure?: Maybe<AiAgentTechnicalFailure>;
|
|
260
|
-
};
|
|
261
260
|
export type AiAgentCompetingPair = {
|
|
262
261
|
left: Scalars['ID']['output'];
|
|
263
262
|
right: Scalars['ID']['output'];
|
|
@@ -274,11 +273,6 @@ export declare enum AiAgentContactReasonSource {
|
|
|
274
273
|
Agent = "agent",
|
|
275
274
|
Analysis = "analysis"
|
|
276
275
|
}
|
|
277
|
-
export type AiAgentContactReasons = {
|
|
278
|
-
abandonment: Array<AiAgentMetricsCount>;
|
|
279
|
-
all: Array<AiAgentMetricsCount>;
|
|
280
|
-
handoff: Array<AiAgentMetricsCount>;
|
|
281
|
-
};
|
|
282
276
|
export type AiAgentConversationAction = {
|
|
283
277
|
at: Scalars['Number']['output'];
|
|
284
278
|
name: Scalars['String']['output'];
|
|
@@ -603,10 +597,6 @@ export declare enum AiAgentHandoffReason {
|
|
|
603
597
|
Undeclared = "undeclared",
|
|
604
598
|
Unresolved = "unresolved"
|
|
605
599
|
}
|
|
606
|
-
export type AiAgentHandoffReasonCount = {
|
|
607
|
-
count: Scalars['Number']['output'];
|
|
608
|
-
key: AiAgentHandoffReason;
|
|
609
|
-
};
|
|
610
600
|
export type AiAgentIdentity = {
|
|
611
601
|
displayName: Scalars['String']['output'];
|
|
612
602
|
openingMessage?: Maybe<Scalars['String']['output']>;
|
|
@@ -643,94 +633,13 @@ export type AiAgentListingMetrics = {
|
|
|
643
633
|
conversationsResolved: Scalars['Number']['output'];
|
|
644
634
|
costMicroUsd: Scalars['Number']['output'];
|
|
645
635
|
resolutionRate?: Maybe<Scalars['Number']['output']>;
|
|
636
|
+
resolvedRate?: Maybe<Scalars['Number']['output']>;
|
|
646
637
|
};
|
|
647
638
|
export declare enum AiAgentMetricPolarity {
|
|
648
639
|
HigherIsBetter = "HIGHER_IS_BETTER",
|
|
649
640
|
HigherIsWorse = "HIGHER_IS_WORSE",
|
|
650
641
|
Neutral = "NEUTRAL"
|
|
651
642
|
}
|
|
652
|
-
export type AiAgentMetrics = {
|
|
653
|
-
abandonmentRate?: Maybe<Scalars['Number']['output']>;
|
|
654
|
-
agentClarityAvg?: Maybe<Scalars['Float']['output']>;
|
|
655
|
-
agentScoreAvg?: Maybe<Scalars['Float']['output']>;
|
|
656
|
-
agentScoreAvgBand?: Maybe<AiAgentScoreBand>;
|
|
657
|
-
agentScoreBands: Array<AiAgentScoreBandCount>;
|
|
658
|
-
aiAgentId: Scalars['ID']['output'];
|
|
659
|
-
analysesTruncated: Scalars['Boolean']['output'];
|
|
660
|
-
analysisCostMicroUsd: Scalars['Number']['output'];
|
|
661
|
-
analyzedConversations: Scalars['Number']['output'];
|
|
662
|
-
answeredTurns: Scalars['Number']['output'];
|
|
663
|
-
answeredWithFailedConnectionTurns: Scalars['Number']['output'];
|
|
664
|
-
avgLlmLatencyMs: Scalars['Number']['output'];
|
|
665
|
-
avgTurnDurationMs: Scalars['Number']['output'];
|
|
666
|
-
blockedTurns: Scalars['Number']['output'];
|
|
667
|
-
blocksByCategory: Array<AiAgentMetricsCount>;
|
|
668
|
-
budgetExceededTurns: Scalars['Number']['output'];
|
|
669
|
-
cachedInputTokens: Scalars['Number']['output'];
|
|
670
|
-
cachedTurns: Scalars['Number']['output'];
|
|
671
|
-
classificationBreakdown: Array<AiAgentClassificationCount>;
|
|
672
|
-
classificationDefinitionVersion: Scalars['String']['output'];
|
|
673
|
-
classificationDefinitionVersions: Array<AiAgentMetricsCount>;
|
|
674
|
-
contactReasons: AiAgentContactReasons;
|
|
675
|
-
conversations: Scalars['Number']['output'];
|
|
676
|
-
conversationsAwaitingClassification: Scalars['Number']['output'];
|
|
677
|
-
conversationsEligible: Scalars['Number']['output'];
|
|
678
|
-
conversationsHandoffRequested: Scalars['Number']['output'];
|
|
679
|
-
conversationsInconclusive: Scalars['Number']['output'];
|
|
680
|
-
conversationsProvisional: Scalars['Number']['output'];
|
|
681
|
-
conversationsResolved: Scalars['Number']['output'];
|
|
682
|
-
conversationsResolvedByDefinition: Scalars['Number']['output'];
|
|
683
|
-
costMicroUsd: Scalars['Number']['output'];
|
|
684
|
-
costMicroUsdPerResolvedConversation?: Maybe<Scalars['Number']['output']>;
|
|
685
|
-
customerEffortScoreAvg?: Maybe<Scalars['Float']['output']>;
|
|
686
|
-
escalatedTargetUndeclared: Scalars['Number']['output'];
|
|
687
|
-
escalatedToFlow: Scalars['Number']['output'];
|
|
688
|
-
escalatedToHuman: Scalars['Number']['output'];
|
|
689
|
-
estimatedSatisfactionAvg?: Maybe<Scalars['Float']['output']>;
|
|
690
|
-
failedAnalyses: Scalars['Number']['output'];
|
|
691
|
-
from: Scalars['Number']['output'];
|
|
692
|
-
haltReasons: Array<AiAgentMetricsCount>;
|
|
693
|
-
haltedTurns: Scalars['Number']['output'];
|
|
694
|
-
handoffNeedRate?: Maybe<Scalars['Number']['output']>;
|
|
695
|
-
handoffProcedureRate?: Maybe<Scalars['Number']['output']>;
|
|
696
|
-
handoffsByReason: Array<AiAgentHandoffReasonCount>;
|
|
697
|
-
humanRequestedTurns: Scalars['Number']['output'];
|
|
698
|
-
identificationRequiredTurns: Scalars['Number']['output'];
|
|
699
|
-
inputTokens: Scalars['Number']['output'];
|
|
700
|
-
knowledgeEmpty: Scalars['Number']['output'];
|
|
701
|
-
knowledgeRetrieved: Scalars['Number']['output'];
|
|
702
|
-
knowledgeSkipped: Scalars['Number']['output'];
|
|
703
|
-
knowledgeUnavailable: Scalars['Number']['output'];
|
|
704
|
-
llmCalls: Scalars['Number']['output'];
|
|
705
|
-
offerAcceptedRate?: Maybe<Scalars['Number']['output']>;
|
|
706
|
-
outputTokens: Scalars['Number']['output'];
|
|
707
|
-
p95TurnDurationMs: Scalars['Number']['output'];
|
|
708
|
-
qualifiedLeadRate?: Maybe<Scalars['Number']['output']>;
|
|
709
|
-
resolutionDefinition: Scalars['String']['output'];
|
|
710
|
-
/** @deprecated Regra v2, por sessão. Use resolvedRate, por conversa e pela classificação da conversa. */
|
|
711
|
-
resolutionRate?: Maybe<Scalars['Number']['output']>;
|
|
712
|
-
resolvedRate?: Maybe<Scalars['Number']['output']>;
|
|
713
|
-
riskAlerts: Array<AiAgentRiskAlertCount>;
|
|
714
|
-
sentimentAtEnd: Array<AiAgentSentimentCount>;
|
|
715
|
-
sentimentAtStart: Array<AiAgentSentimentCount>;
|
|
716
|
-
to: Scalars['Number']['output'];
|
|
717
|
-
toolCalls: Scalars['Number']['output'];
|
|
718
|
-
toolCallsFailed: Scalars['Number']['output'];
|
|
719
|
-
toolErrorsByClass: Array<AiAgentMetricsCount>;
|
|
720
|
-
toolErrorsByConnection: Array<AiAgentMetricsCount>;
|
|
721
|
-
topKnowledgeGaps: Array<AiAgentMetricsCount>;
|
|
722
|
-
topTopics: Array<AiAgentMetricsCount>;
|
|
723
|
-
topUnansweredQuestions: Array<AiAgentMetricsCount>;
|
|
724
|
-
totalTokens: Scalars['Number']['output'];
|
|
725
|
-
truncated: Scalars['Boolean']['output'];
|
|
726
|
-
turns: Scalars['Number']['output'];
|
|
727
|
-
turnsByModel: Array<AiAgentMetricsCount>;
|
|
728
|
-
turnsByModelAndReasoningEffort: Array<AiAgentMetricsCount>;
|
|
729
|
-
unansweredDefinition: Scalars['String']['output'];
|
|
730
|
-
unansweredTurns: Scalars['Number']['output'];
|
|
731
|
-
unpricedTurns: Scalars['Number']['output'];
|
|
732
|
-
unresolvedRate?: Maybe<Scalars['Number']['output']>;
|
|
733
|
-
};
|
|
734
643
|
export declare enum AiAgentMetricsBucket {
|
|
735
644
|
Day = "DAY",
|
|
736
645
|
Week = "WEEK"
|
|
@@ -739,12 +648,6 @@ export type AiAgentMetricsCount = {
|
|
|
739
648
|
count: Scalars['Number']['output'];
|
|
740
649
|
key: Scalars['String']['output'];
|
|
741
650
|
};
|
|
742
|
-
export type AiAgentMetricsInput = {
|
|
743
|
-
aiAgentId: Scalars['ID']['input'];
|
|
744
|
-
channel?: InputMaybe<Scalars['String']['input']>;
|
|
745
|
-
from: Scalars['Number']['input'];
|
|
746
|
-
to: Scalars['Number']['input'];
|
|
747
|
-
};
|
|
748
651
|
export type AiAgentMetricsSeries = {
|
|
749
652
|
points: Array<AiAgentMetricsSeriesPoint>;
|
|
750
653
|
truncated: Scalars['Boolean']['output'];
|
|
@@ -839,10 +742,6 @@ export declare enum AiAgentRiskAlert {
|
|
|
839
742
|
Procon = "procon",
|
|
840
743
|
ReclameAqui = "reclame_aqui"
|
|
841
744
|
}
|
|
842
|
-
export type AiAgentRiskAlertCount = {
|
|
843
|
-
count: Scalars['Number']['output'];
|
|
844
|
-
key: AiAgentRiskAlert;
|
|
845
|
-
};
|
|
846
745
|
export type AiAgentRoutedExample = {
|
|
847
746
|
confidence: Scalars['String']['output'];
|
|
848
747
|
message: Scalars['String']['output'];
|
|
@@ -893,19 +792,11 @@ export declare enum AiAgentScoreBand {
|
|
|
893
792
|
Poor = "poor",
|
|
894
793
|
Regular = "regular"
|
|
895
794
|
}
|
|
896
|
-
export type AiAgentScoreBandCount = {
|
|
897
|
-
count: Scalars['Number']['output'];
|
|
898
|
-
key: AiAgentScoreBand;
|
|
899
|
-
};
|
|
900
795
|
export declare enum AiAgentSentiment {
|
|
901
796
|
Negative = "negative",
|
|
902
797
|
Neutral = "neutral",
|
|
903
798
|
Positive = "positive"
|
|
904
799
|
}
|
|
905
|
-
export type AiAgentSentimentCount = {
|
|
906
|
-
count: Scalars['Number']['output'];
|
|
907
|
-
key: AiAgentSentiment;
|
|
908
|
-
};
|
|
909
800
|
export declare enum AiAgentSortDirection {
|
|
910
801
|
Asc = "ASC",
|
|
911
802
|
Desc = "DESC"
|
|
@@ -963,6 +854,7 @@ export type AiAgentTool = {
|
|
|
963
854
|
approval?: Maybe<Scalars['String']['output']>;
|
|
964
855
|
availability: ToolAvailability;
|
|
965
856
|
customerScope?: Maybe<Scalars['String']['output']>;
|
|
857
|
+
deliverAsIs?: Maybe<Array<Scalars['String']['output']>>;
|
|
966
858
|
description: Scalars['String']['output'];
|
|
967
859
|
effect: ToolEffect;
|
|
968
860
|
emptyResultMessage?: Maybe<Scalars['String']['output']>;
|
|
@@ -1010,6 +902,7 @@ export type AiAgentToolSpecInput = {
|
|
|
1010
902
|
availability: ToolAvailability;
|
|
1011
903
|
credentialRef?: InputMaybe<CredentialRefInput>;
|
|
1012
904
|
customerScope?: InputMaybe<Scalars['String']['input']>;
|
|
905
|
+
deliverAsIs?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1013
906
|
description: Scalars['String']['input'];
|
|
1014
907
|
effect?: InputMaybe<ToolEffect>;
|
|
1015
908
|
emptyResultMessage?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1046,6 +939,8 @@ export type AiAgentTrace = {
|
|
|
1046
939
|
steps: Scalars['Int']['output'];
|
|
1047
940
|
toolCalls: Array<AiAgentTracedToolCall>;
|
|
1048
941
|
turn: Scalars['Int']['output'];
|
|
942
|
+
unbackedClaim?: Maybe<AiAgentUnbackedClaimAction>;
|
|
943
|
+
unbackedClaimKinds?: Maybe<Array<AiAgentActionClaim>>;
|
|
1049
944
|
};
|
|
1050
945
|
export type AiAgentTracedToolCall = {
|
|
1051
946
|
connection?: Maybe<Scalars['String']['output']>;
|
|
@@ -1056,6 +951,11 @@ export type AiAgentTracedToolCall = {
|
|
|
1056
951
|
result: Scalars['String']['output'];
|
|
1057
952
|
toolId: Scalars['ID']['output'];
|
|
1058
953
|
};
|
|
954
|
+
export declare enum AiAgentUnbackedClaimAction {
|
|
955
|
+
Delivered = "delivered",
|
|
956
|
+
Replaced = "replaced",
|
|
957
|
+
Retried = "retried"
|
|
958
|
+
}
|
|
1059
959
|
export type AiAgentUseCase = {
|
|
1060
960
|
id: Scalars['ID']['output'];
|
|
1061
961
|
name: Scalars['String']['output'];
|
|
@@ -1323,8 +1223,6 @@ export type Query = {
|
|
|
1323
1223
|
aiAgentDashboard: AiAgentDashboard;
|
|
1324
1224
|
aiAgentKnowledgeBases: Array<AiAgentKnowledgeBase>;
|
|
1325
1225
|
aiAgentListingMetrics: Array<AiAgentListingMetrics>;
|
|
1326
|
-
aiAgentMetrics: AiAgentMetrics;
|
|
1327
|
-
aiAgentMetricsByAgent: Array<AiAgentMetrics>;
|
|
1328
1226
|
aiAgentMetricsSeries: AiAgentMetricsSeries;
|
|
1329
1227
|
aiAgentRetentionPolicy: AiAgentRetentionPolicy;
|
|
1330
1228
|
aiAgentRoutingPreview: AiAgentRoutingPreview;
|
|
@@ -1365,12 +1263,6 @@ export type QueryAiAgentDashboardArgs = {
|
|
|
1365
1263
|
export type QueryAiAgentListingMetricsArgs = {
|
|
1366
1264
|
input: AiAgentMetricsWindowInput;
|
|
1367
1265
|
};
|
|
1368
|
-
export type QueryAiAgentMetricsArgs = {
|
|
1369
|
-
input: AiAgentMetricsInput;
|
|
1370
|
-
};
|
|
1371
|
-
export type QueryAiAgentMetricsByAgentArgs = {
|
|
1372
|
-
input: AiAgentMetricsWindowInput;
|
|
1373
|
-
};
|
|
1374
1266
|
export type QueryAiAgentMetricsSeriesArgs = {
|
|
1375
1267
|
input: AiAgentMetricsSeriesInput;
|
|
1376
1268
|
};
|
|
@@ -1640,8 +1532,7 @@ export type AiAgentVersionWithSpecFragment = (Pick<AiAgentVersion, 'aiAgentId' |
|
|
|
1640
1532
|
spec: AiAgentSpecFragment;
|
|
1641
1533
|
excludedTools?: Maybe<Array<AiAgentToolExclusionFragment>>;
|
|
1642
1534
|
});
|
|
1643
|
-
export type
|
|
1644
|
-
export type AiAgentListingMetricsFieldsFragment = Pick<AiAgentListingMetrics, 'aiAgentId' | 'conversations' | 'conversationsResolved' | 'conversationsHandoffRequested' | 'resolutionRate' | 'costMicroUsd'>;
|
|
1535
|
+
export type AiAgentListingMetricsFieldsFragment = Pick<AiAgentListingMetrics, 'aiAgentId' | 'conversations' | 'conversationsResolved' | 'conversationsHandoffRequested' | 'resolutionRate' | 'resolvedRate' | 'costMicroUsd'>;
|
|
1645
1536
|
export type ListAiAgentsQueryVariables = Exact<{
|
|
1646
1537
|
[key: string]: never;
|
|
1647
1538
|
}>;
|
|
@@ -1654,12 +1545,6 @@ export type ListAiAgentVersionsQueryVariables = Exact<{
|
|
|
1654
1545
|
export type ListAiAgentVersionsQuery = {
|
|
1655
1546
|
listAiAgentVersions: Array<AiAgentVersionFragment>;
|
|
1656
1547
|
};
|
|
1657
|
-
export type AiAgentMetricsByAgentQueryVariables = Exact<{
|
|
1658
|
-
input: AiAgentMetricsWindowInput;
|
|
1659
|
-
}>;
|
|
1660
|
-
export type AiAgentMetricsByAgentQuery = {
|
|
1661
|
-
aiAgentMetricsByAgent: Array<AiAgentListingMetricsFragment>;
|
|
1662
|
-
};
|
|
1663
1548
|
export type AiAgentListingMetricsQueryVariables = Exact<{
|
|
1664
1549
|
input: AiAgentMetricsWindowInput;
|
|
1665
1550
|
}>;
|
|
@@ -1708,11 +1593,11 @@ export type AiAgentUseCaseFragment = Pick<AiAgentUseCase, 'id' | 'name' | 'subje
|
|
|
1708
1593
|
export type AiAgentProcedureFragment = (Pick<AiAgentProcedure, 'id' | 'name' | 'guidanceSteps' | 'toolIds' | 'contingency' | 'executionAutonomy' | 'endsConversationAfterInforming' | 'continuesAfterApproval' | 'approvedReplyTemplate' | 'deniedReplyTemplate' | 'expiredReplyTemplate' | 'replyEmailSubject' | 'objective' | 'nextStep' | 'status' | 'updatedAt'> & {
|
|
1709
1594
|
objections: Array<Pick<AiAgentObjection, 'objection' | 'response'>>;
|
|
1710
1595
|
});
|
|
1711
|
-
export type AiAgentToolFragment = (Pick<AiAgentTool, 'toolId' | 'name' | 'description' | 'effect' | 'availability' | 'requiresAuthenticatedCustomer' | 'onFailure' | 'emptyResultMessage' | 'customerScope' | 'returns' | 'approval'> & {
|
|
1596
|
+
export type AiAgentToolFragment = (Pick<AiAgentTool, 'toolId' | 'name' | 'description' | 'effect' | 'availability' | 'requiresAuthenticatedCustomer' | 'onFailure' | 'emptyResultMessage' | 'customerScope' | 'returns' | 'deliverAsIs' | 'approval'> & {
|
|
1712
1597
|
recordOwner?: Maybe<Pick<AiAgentToolRecordOwner, 'listPath' | 'ownerField' | 'ownerParameters'>>;
|
|
1713
1598
|
parameters: Array<Pick<AiAgentToolParameter, 'name' | 'type' | 'required' | 'description' | 'grounding' | 'format'>>;
|
|
1714
1599
|
});
|
|
1715
|
-
export type AiAgentTraceFragment = (Pick<AiAgentTrace, 'sessionId' | 'turn' | 'aiAgentId' | 'agentVersion' | 'input' | 'promptBuilderVersion' | 'masterRuleVersion' | 'identificationRequired' | 'promptFingerprint' | 'knowledgeOrigins' | 'knowledgeQuery' | 'outcome' | 'haltReason' | 'handoffHeld' | 'steps' | 'answer' | 'startedAt' | 'model' | 'reasoningEffort'> & {
|
|
1600
|
+
export type AiAgentTraceFragment = (Pick<AiAgentTrace, 'sessionId' | 'turn' | 'aiAgentId' | 'agentVersion' | 'input' | 'promptBuilderVersion' | 'masterRuleVersion' | 'identificationRequired' | 'promptFingerprint' | 'knowledgeOrigins' | 'knowledgeQuery' | 'outcome' | 'haltReason' | 'handoffHeld' | 'unbackedClaim' | 'unbackedClaimKinds' | 'steps' | 'answer' | 'startedAt' | 'model' | 'reasoningEffort'> & {
|
|
1716
1601
|
excludedTools?: Maybe<Array<AiAgentToolExclusionFragment>>;
|
|
1717
1602
|
toolCalls: Array<Pick<AiAgentTracedToolCall, 'toolId' | 'name' | 'result' | 'ok' | 'empty' | 'connection' | 'errorClass'>>;
|
|
1718
1603
|
});
|
|
@@ -1955,35 +1840,6 @@ export type AiAgentCheckLimitsQueryVariables = Exact<{
|
|
|
1955
1840
|
export type AiAgentCheckLimitsQuery = {
|
|
1956
1841
|
aiAgentCheckLimits: Pick<AiAgentCheckLimits, 'minRunsPerScenario' | 'maxRunsPerScenario' | 'maxSuiteRuns' | 'scenarioCount'>;
|
|
1957
1842
|
};
|
|
1958
|
-
export type AiAgentMetricsReportFragment = (Pick<AiAgentMetrics, 'aiAgentId' | 'from' | 'to' | 'truncated' | 'conversations' | 'conversationsResolved' | 'conversationsInconclusive' | 'conversationsHandoffRequested' | 'resolutionRate' | 'resolutionDefinition' | 'conversationsEligible' | 'conversationsResolvedByDefinition' | 'conversationsProvisional' | 'conversationsAwaitingClassification' | 'resolvedRate' | 'unresolvedRate' | 'handoffProcedureRate' | 'handoffNeedRate' | 'qualifiedLeadRate' | 'offerAcceptedRate' | 'abandonmentRate' | 'classificationDefinitionVersion' | 'analyzedConversations' | 'estimatedSatisfactionAvg' | 'analysisCostMicroUsd' | 'failedAnalyses' | 'analysesTruncated' | 'agentScoreAvg' | 'agentScoreAvgBand' | 'agentClarityAvg' | 'customerEffortScoreAvg' | 'escalatedToHuman' | 'escalatedToFlow' | 'escalatedTargetUndeclared' | 'humanRequestedTurns' | 'costMicroUsd' | 'costMicroUsdPerResolvedConversation' | 'unpricedTurns' | 'inputTokens' | 'outputTokens' | 'totalTokens' | 'cachedInputTokens' | 'cachedTurns' | 'llmCalls' | 'avgTurnDurationMs' | 'p95TurnDurationMs' | 'avgLlmLatencyMs' | 'turns' | 'answeredTurns' | 'answeredWithFailedConnectionTurns' | 'unansweredTurns' | 'unansweredDefinition' | 'blockedTurns' | 'haltedTurns' | 'budgetExceededTurns' | 'identificationRequiredTurns' | 'toolCalls' | 'toolCallsFailed' | 'knowledgeRetrieved' | 'knowledgeEmpty' | 'knowledgeUnavailable' | 'knowledgeSkipped'> & {
|
|
1959
|
-
classificationBreakdown: Array<Pick<AiAgentClassificationCount, 'state' | 'subcategory' | 'technicalFailure' | 'count'>>;
|
|
1960
|
-
classificationDefinitionVersions: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1961
|
-
sentimentAtStart: Array<Pick<AiAgentSentimentCount, 'key' | 'count'>>;
|
|
1962
|
-
sentimentAtEnd: Array<Pick<AiAgentSentimentCount, 'key' | 'count'>>;
|
|
1963
|
-
riskAlerts: Array<Pick<AiAgentRiskAlertCount, 'key' | 'count'>>;
|
|
1964
|
-
topKnowledgeGaps: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1965
|
-
agentScoreBands: Array<Pick<AiAgentScoreBandCount, 'key' | 'count'>>;
|
|
1966
|
-
contactReasons: {
|
|
1967
|
-
all: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1968
|
-
handoff: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1969
|
-
abandonment: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1970
|
-
};
|
|
1971
|
-
handoffsByReason: Array<Pick<AiAgentHandoffReasonCount, 'key' | 'count'>>;
|
|
1972
|
-
turnsByModel: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1973
|
-
turnsByModelAndReasoningEffort: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1974
|
-
topTopics: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1975
|
-
topUnansweredQuestions: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1976
|
-
blocksByCategory: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1977
|
-
haltReasons: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1978
|
-
toolErrorsByConnection: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1979
|
-
toolErrorsByClass: Array<Pick<AiAgentMetricsCount, 'key' | 'count'>>;
|
|
1980
|
-
});
|
|
1981
|
-
export type AiAgentMetricsQueryVariables = Exact<{
|
|
1982
|
-
input: AiAgentMetricsInput;
|
|
1983
|
-
}>;
|
|
1984
|
-
export type AiAgentMetricsQuery = {
|
|
1985
|
-
aiAgentMetrics: AiAgentMetricsReportFragment;
|
|
1986
|
-
};
|
|
1987
1843
|
export type AiAgentVersionSpecQueryVariables = Exact<{
|
|
1988
1844
|
aiAgentId: Scalars['ID']['input'];
|
|
1989
1845
|
}>;
|
|
@@ -2098,25 +1954,22 @@ export declare const AiAgentVersionFragmentDoc = "\n fragment aiAgentVersion
|
|
|
2098
1954
|
export declare const AiAgentSpecFragmentDoc = "\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n toolFailureMessage\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n}\n ";
|
|
2099
1955
|
export declare const AiAgentToolExclusionFragmentDoc = "\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2100
1956
|
export declare const AiAgentVersionWithSpecFragmentDoc = "\n fragment aiAgentVersionWithSpec on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n spec {\n ...aiAgentSpec\n }\n excludedTools {\n ...aiAgentToolExclusion\n }\n}\n ";
|
|
2101
|
-
export declare const
|
|
2102
|
-
export declare const AiAgentListingMetricsFieldsFragmentDoc = "\n fragment aiAgentListingMetricsFields on AiAgentListingMetrics {\n aiAgentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n costMicroUsd\n}\n ";
|
|
1957
|
+
export declare const AiAgentListingMetricsFieldsFragmentDoc = "\n fragment aiAgentListingMetricsFields on AiAgentListingMetrics {\n aiAgentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n resolvedRate\n costMicroUsd\n}\n ";
|
|
2103
1958
|
export declare const AiAgentUseCaseFragmentDoc = "\n fragment aiAgentUseCase on AiAgentUseCase {\n id\n name\n subjectDescription\n procedureId\n tag\n status\n updatedAt\n}\n ";
|
|
2104
1959
|
export declare const AiAgentProcedureFragmentDoc = "\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 objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2105
|
-
export declare const AiAgentToolFragmentDoc = "\n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2106
|
-
export declare const AiAgentTraceFragmentDoc = "\n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n aiAgentId\n agentVersion\n input\n promptBuilderVersion\n masterRuleVersion\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n knowledgeQuery\n outcome\n haltReason\n handoffHeld\n steps\n answer\n startedAt\n model\n reasoningEffort\n excludedTools {\n ...aiAgentToolExclusion\n }\n toolCalls {\n toolId\n name\n result\n ok\n empty\n connection\n errorClass\n }\n}\n ";
|
|
1960
|
+
export declare const AiAgentToolFragmentDoc = "\n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n deliverAsIs\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
1961
|
+
export declare const AiAgentTraceFragmentDoc = "\n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n aiAgentId\n agentVersion\n input\n promptBuilderVersion\n masterRuleVersion\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n knowledgeQuery\n outcome\n haltReason\n handoffHeld\n unbackedClaim\n unbackedClaimKinds\n steps\n answer\n startedAt\n model\n reasoningEffort\n excludedTools {\n ...aiAgentToolExclusion\n }\n toolCalls {\n toolId\n name\n result\n ok\n empty\n connection\n errorClass\n }\n}\n ";
|
|
2107
1962
|
export declare const AiAgentScenarioFragmentDoc = "\n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
2108
1963
|
export declare const AiAgentDashboardIndicatorFragmentDoc = "\n fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {\n value\n polarity\n variation {\n unit\n value\n }\n}\n ";
|
|
2109
1964
|
export declare const AiAgentDashboardSentimentFragmentDoc = "\n fragment aiAgentDashboardSentiment on AiAgentDashboardSentiment {\n sentiment\n count\n percent\n polarity\n variation {\n unit\n value\n }\n}\n ";
|
|
2110
1965
|
export declare const AiAgentDashboardContactReasonFragmentDoc = "\n fragment aiAgentDashboardContactReason on AiAgentDashboardContactReason {\n key\n count\n percent\n}\n ";
|
|
2111
1966
|
export declare const AiAgentApprovalFragmentDoc = "\n fragment aiAgentApproval on AiAgentApproval {\n aiAgentId\n sessionId\n toolId\n toolName\n args\n channelId\n customerId\n requestedAt\n expiresAt\n status\n decidedBy\n decidedByName\n decidedAt\n}\n ";
|
|
2112
1967
|
export declare const AiAgentCheckRunFragmentDoc = "\n fragment aiAgentCheckRun on AiAgentCheckRun {\n runId\n aiAgentId\n version\n status\n requestedAt\n startedAt\n finishedAt\n totalRuns\n completedRuns\n error\n excludedTools {\n ...aiAgentToolExclusion\n }\n result {\n safeToPublish\n authoring {\n useCases\n procedures\n updatedAt\n }\n reports {\n scenarioId\n runs\n cut\n measured\n passed\n rate\n handoffReasons {\n key\n count\n }\n turns {\n turn\n runs\n answered\n grounded\n blocked\n identificationRequired\n toolNames {\n key\n count\n }\n rejectedCalls {\n toolName\n reason\n count\n }\n blockCategories {\n key\n count\n }\n }\n }\n regressions {\n scenarioId\n before\n after\n }\n }\n}\n ";
|
|
2113
|
-
export declare const AiAgentMetricsReportFragmentDoc = "\n fragment aiAgentMetricsReport on AiAgentMetrics {\n aiAgentId\n from\n to\n truncated\n conversations\n conversationsResolved\n conversationsInconclusive\n conversationsHandoffRequested\n resolutionRate\n resolutionDefinition\n classificationBreakdown {\n state\n subcategory\n technicalFailure\n count\n }\n conversationsEligible\n conversationsResolvedByDefinition\n conversationsProvisional\n conversationsAwaitingClassification\n resolvedRate\n unresolvedRate\n handoffProcedureRate\n handoffNeedRate\n qualifiedLeadRate\n offerAcceptedRate\n abandonmentRate\n classificationDefinitionVersion\n classificationDefinitionVersions {\n key\n count\n }\n analyzedConversations\n estimatedSatisfactionAvg\n sentimentAtStart {\n key\n count\n }\n sentimentAtEnd {\n key\n count\n }\n riskAlerts {\n key\n count\n }\n topKnowledgeGaps {\n key\n count\n }\n analysisCostMicroUsd\n failedAnalyses\n analysesTruncated\n agentScoreAvg\n agentScoreAvgBand\n agentScoreBands {\n key\n count\n }\n agentClarityAvg\n customerEffortScoreAvg\n contactReasons {\n all {\n key\n count\n }\n handoff {\n key\n count\n }\n abandonment {\n key\n count\n }\n }\n escalatedToHuman\n escalatedToFlow\n escalatedTargetUndeclared\n handoffsByReason {\n key\n count\n }\n humanRequestedTurns\n costMicroUsd\n costMicroUsdPerResolvedConversation\n unpricedTurns\n inputTokens\n outputTokens\n totalTokens\n cachedInputTokens\n cachedTurns\n llmCalls\n turnsByModel {\n key\n count\n }\n turnsByModelAndReasoningEffort {\n key\n count\n }\n avgTurnDurationMs\n p95TurnDurationMs\n avgLlmLatencyMs\n turns\n answeredTurns\n answeredWithFailedConnectionTurns\n unansweredTurns\n unansweredDefinition\n topTopics {\n key\n count\n }\n topUnansweredQuestions {\n key\n count\n }\n blockedTurns\n blocksByCategory {\n key\n count\n }\n haltedTurns\n haltReasons {\n key\n count\n }\n budgetExceededTurns\n identificationRequiredTurns\n toolCalls\n toolCallsFailed\n toolErrorsByConnection {\n key\n count\n }\n toolErrorsByClass {\n key\n count\n }\n knowledgeRetrieved\n knowledgeEmpty\n knowledgeUnavailable\n knowledgeSkipped\n}\n ";
|
|
2114
1968
|
export declare const NlpInstanceFragmentDoc = "\n fragment nlpInstance on NlpInstance {\n id\n name\n drn\n options {\n transition\n samples\n }\n createdAt\n updatedAt\n}\n ";
|
|
2115
1969
|
export declare const QnaFragmentFragmentDoc = "\n fragment qnaFragment on QnAInstance {\n id\n name\n drn\n credentialsId\n tryToReplyOnTransition\n createdAt\n updatedAt\n}\n ";
|
|
2116
1970
|
export declare const ListAiAgentsDocument = "\n query listAiAgents {\n listAiAgents {\n ...aiAgentSummary\n }\n}\n \n fragment aiAgentSummary on AiAgentSummary {\n aiAgentId\n name\n liveVersion\n channels\n updatedAt\n queuedApprovals\n status\n}\n ";
|
|
2117
1971
|
export declare const ListAiAgentVersionsDocument = "\n query listAiAgentVersions($aiAgentId: ID!) {\n listAiAgentVersions(aiAgentId: $aiAgentId) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n}\n ";
|
|
2118
|
-
export declare const
|
|
2119
|
-
export declare const AiAgentListingMetricsDocument = "\n query aiAgentListingMetrics($input: AiAgentMetricsWindowInput!) {\n aiAgentListingMetrics(input: $input) {\n ...aiAgentListingMetricsFields\n }\n}\n \n fragment aiAgentListingMetricsFields on AiAgentListingMetrics {\n aiAgentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n costMicroUsd\n}\n ";
|
|
1972
|
+
export declare const AiAgentListingMetricsDocument = "\n query aiAgentListingMetrics($input: AiAgentMetricsWindowInput!) {\n aiAgentListingMetrics(input: $input) {\n ...aiAgentListingMetricsFields\n }\n}\n \n fragment aiAgentListingMetricsFields on AiAgentListingMetrics {\n aiAgentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n resolvedRate\n costMicroUsd\n}\n ";
|
|
2120
1973
|
export declare const DraftAiAgentDocument = "\n mutation draftAiAgent($input: DraftAiAgentInput!) {\n draftAiAgent(input: $input) {\n ...aiAgentVersion\n excludedTools {\n ...aiAgentToolExclusion\n }\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2121
1974
|
export declare const PublishAiAgentVersionDocument = "\n mutation publishAiAgentVersion($input: AiAgentVersionRefInput!) {\n publishAiAgentVersion(input: $input) {\n ...aiAgentVersion\n excludedTools {\n ...aiAgentToolExclusion\n }\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2122
1975
|
export declare const UnpublishAiAgentVersionDocument = "\n mutation unpublishAiAgentVersion($input: AiAgentVersionRefInput!) {\n unpublishAiAgentVersion(input: $input) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n}\n ";
|
|
@@ -2125,9 +1978,9 @@ export declare const RemoveAiAgentVersionDocument = "\n mutation removeAiAgen
|
|
|
2125
1978
|
export declare const RemoveAiAgentDocument = "\n mutation removeAiAgent($input: AiAgentRefInput!) {\n removeAiAgent(input: $input)\n}\n ";
|
|
2126
1979
|
export declare const ListAiAgentUseCasesDocument = "\n query listAiAgentUseCases($aiAgentId: ID!) {\n listAiAgentUseCases(aiAgentId: $aiAgentId) {\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 ";
|
|
2127
1980
|
export declare const ListAiAgentProceduresDocument = "\n query listAiAgentProcedures($aiAgentId: ID!) {\n listAiAgentProcedures(aiAgentId: $aiAgentId) {\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 objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2128
|
-
export declare const ListAiAgentToolsDocument = "\n query listAiAgentTools {\n listAiAgentTools {\n ...aiAgentTool\n }\n}\n \n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
1981
|
+
export declare const ListAiAgentToolsDocument = "\n query listAiAgentTools {\n listAiAgentTools {\n ...aiAgentTool\n }\n}\n \n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n deliverAsIs\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2129
1982
|
export declare const AiAgentUseCaseOverlapDocument = "\n query aiAgentUseCaseOverlap($aiAgentId: ID!) {\n aiAgentUseCaseOverlap(aiAgentId: $aiAgentId) {\n threshold\n pairs {\n left\n right\n score\n }\n }\n}\n ";
|
|
2130
|
-
export declare const AiAgentTraceDocument = "\n query aiAgentTrace($sessionId: ID!, $conversationId: ID) {\n aiAgentTrace(sessionId: $sessionId, conversationId: $conversationId) {\n ...aiAgentTrace\n }\n}\n \n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n aiAgentId\n agentVersion\n input\n promptBuilderVersion\n masterRuleVersion\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n knowledgeQuery\n outcome\n haltReason\n handoffHeld\n steps\n answer\n startedAt\n model\n reasoningEffort\n excludedTools {\n ...aiAgentToolExclusion\n }\n toolCalls {\n toolId\n name\n result\n ok\n empty\n connection\n errorClass\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
1983
|
+
export declare const AiAgentTraceDocument = "\n query aiAgentTrace($sessionId: ID!, $conversationId: ID) {\n aiAgentTrace(sessionId: $sessionId, conversationId: $conversationId) {\n ...aiAgentTrace\n }\n}\n \n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n aiAgentId\n agentVersion\n input\n promptBuilderVersion\n masterRuleVersion\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n knowledgeQuery\n outcome\n haltReason\n handoffHeld\n unbackedClaim\n unbackedClaimKinds\n steps\n answer\n startedAt\n model\n reasoningEffort\n excludedTools {\n ...aiAgentToolExclusion\n }\n toolCalls {\n toolId\n name\n result\n ok\n empty\n connection\n errorClass\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2131
1984
|
export declare const ListAiAgentScenariosDocument = "\n query listAiAgentScenarios($aiAgentId: ID!) {\n listAiAgentScenarios(aiAgentId: $aiAgentId) {\n ...aiAgentScenario\n }\n}\n \n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
2132
1985
|
export declare const ReindexAiAgentDashboardDocument = "\n mutation reindexAiAgentDashboard($input: ReindexAiAgentDashboardInput!) {\n reindexAiAgentDashboard(input: $input)\n}\n ";
|
|
2133
1986
|
export declare const SetAiAgentRetentionPolicyDocument = "\n mutation setAiAgentRetentionPolicy($input: AiAgentRetentionPolicyInput!) {\n setAiAgentRetentionPolicy(input: $input) {\n days {\n transcript\n session_state\n long_term_memory\n }\n masksPersonalData\n }\n}\n ";
|
|
@@ -2145,14 +1998,13 @@ export declare const ListAiAgentApprovalsDocument = "\n query listAiAgentAppr
|
|
|
2145
1998
|
export declare const ListAiAgentApprovalsPageDocument = "\n query listAiAgentApprovalsPage($aiAgentId: ID!, $status: AiAgentApprovalStatus, $limit: Number, $cursor: String) {\n listAiAgentApprovalsPage(\n aiAgentId: $aiAgentId\n status: $status\n limit: $limit\n cursor: $cursor\n ) {\n nodes {\n ...aiAgentApproval\n }\n nextCursor\n }\n}\n \n fragment aiAgentApproval on AiAgentApproval {\n aiAgentId\n sessionId\n toolId\n toolName\n args\n channelId\n customerId\n requestedAt\n expiresAt\n status\n decidedBy\n decidedByName\n decidedAt\n}\n ";
|
|
2146
1999
|
export declare const ResolveAiAgentApprovalDocument = "\n mutation resolveAiAgentApproval($input: ResolveAiAgentApprovalInput!) {\n resolveAiAgentApproval(input: $input)\n}\n ";
|
|
2147
2000
|
export declare const DecideAiAgentApprovalDocument = "\n mutation decideAiAgentApproval($input: ResolveAiAgentApprovalInput!) {\n decideAiAgentApproval(input: $input)\n}\n ";
|
|
2148
|
-
export declare const RegisterAiAgentToolDocument = "\n mutation registerAiAgentTool($input: RegisterAiAgentToolInput!) {\n registerAiAgentTool(input: $input) {\n ...aiAgentTool\n }\n}\n \n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2001
|
+
export declare const RegisterAiAgentToolDocument = "\n mutation registerAiAgentTool($input: RegisterAiAgentToolInput!) {\n registerAiAgentTool(input: $input) {\n ...aiAgentTool\n }\n}\n \n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n deliverAsIs\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2149
2002
|
export declare const UnregisterAiAgentToolDocument = "\n mutation unregisterAiAgentTool($input: UnregisterAiAgentToolInput!) {\n unregisterAiAgentTool(input: $input)\n}\n ";
|
|
2150
2003
|
export declare const RemoveAiAgentScenarioDocument = "\n mutation removeAiAgentScenario($input: RemoveAiAgentScenarioInput!) {\n removeAiAgentScenario(input: $input)\n}\n ";
|
|
2151
2004
|
export declare const SaveAiAgentScenarioDocument = "\n mutation saveAiAgentScenario($input: SaveAiAgentScenarioInput!) {\n saveAiAgentScenario(input: $input) {\n ...aiAgentScenario\n }\n}\n \n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
2152
2005
|
export declare const CheckAiAgentVersionDocument = "\n mutation checkAiAgentVersion($input: CheckAiAgentVersionInput!) {\n checkAiAgentVersion(input: $input) {\n ...aiAgentCheckRun\n }\n}\n \n fragment aiAgentCheckRun on AiAgentCheckRun {\n runId\n aiAgentId\n version\n status\n requestedAt\n startedAt\n finishedAt\n totalRuns\n completedRuns\n error\n excludedTools {\n ...aiAgentToolExclusion\n }\n result {\n safeToPublish\n authoring {\n useCases\n procedures\n updatedAt\n }\n reports {\n scenarioId\n runs\n cut\n measured\n passed\n rate\n handoffReasons {\n key\n count\n }\n turns {\n turn\n runs\n answered\n grounded\n blocked\n identificationRequired\n toolNames {\n key\n count\n }\n rejectedCalls {\n toolName\n reason\n count\n }\n blockCategories {\n key\n count\n }\n }\n }\n regressions {\n scenarioId\n before\n after\n }\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2153
2006
|
export declare const GetAiAgentCheckRunDocument = "\n query getAiAgentCheckRun($aiAgentId: ID!, $runId: ID!) {\n getAiAgentCheckRun(aiAgentId: $aiAgentId, runId: $runId) {\n ...aiAgentCheckRun\n }\n}\n \n fragment aiAgentCheckRun on AiAgentCheckRun {\n runId\n aiAgentId\n version\n status\n requestedAt\n startedAt\n finishedAt\n totalRuns\n completedRuns\n error\n excludedTools {\n ...aiAgentToolExclusion\n }\n result {\n safeToPublish\n authoring {\n useCases\n procedures\n updatedAt\n }\n reports {\n scenarioId\n runs\n cut\n measured\n passed\n rate\n handoffReasons {\n key\n count\n }\n turns {\n turn\n runs\n answered\n grounded\n blocked\n identificationRequired\n toolNames {\n key\n count\n }\n rejectedCalls {\n toolName\n reason\n count\n }\n blockCategories {\n key\n count\n }\n }\n }\n regressions {\n scenarioId\n before\n after\n }\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2154
2007
|
export declare const AiAgentCheckLimitsDocument = "\n query aiAgentCheckLimits($aiAgentId: ID!) {\n aiAgentCheckLimits(aiAgentId: $aiAgentId) {\n minRunsPerScenario\n maxRunsPerScenario\n maxSuiteRuns\n scenarioCount\n }\n}\n ";
|
|
2155
|
-
export declare const AiAgentMetricsDocument = "\n query aiAgentMetrics($input: AiAgentMetricsInput!) {\n aiAgentMetrics(input: $input) {\n ...aiAgentMetricsReport\n }\n}\n \n fragment aiAgentMetricsReport on AiAgentMetrics {\n aiAgentId\n from\n to\n truncated\n conversations\n conversationsResolved\n conversationsInconclusive\n conversationsHandoffRequested\n resolutionRate\n resolutionDefinition\n classificationBreakdown {\n state\n subcategory\n technicalFailure\n count\n }\n conversationsEligible\n conversationsResolvedByDefinition\n conversationsProvisional\n conversationsAwaitingClassification\n resolvedRate\n unresolvedRate\n handoffProcedureRate\n handoffNeedRate\n qualifiedLeadRate\n offerAcceptedRate\n abandonmentRate\n classificationDefinitionVersion\n classificationDefinitionVersions {\n key\n count\n }\n analyzedConversations\n estimatedSatisfactionAvg\n sentimentAtStart {\n key\n count\n }\n sentimentAtEnd {\n key\n count\n }\n riskAlerts {\n key\n count\n }\n topKnowledgeGaps {\n key\n count\n }\n analysisCostMicroUsd\n failedAnalyses\n analysesTruncated\n agentScoreAvg\n agentScoreAvgBand\n agentScoreBands {\n key\n count\n }\n agentClarityAvg\n customerEffortScoreAvg\n contactReasons {\n all {\n key\n count\n }\n handoff {\n key\n count\n }\n abandonment {\n key\n count\n }\n }\n escalatedToHuman\n escalatedToFlow\n escalatedTargetUndeclared\n handoffsByReason {\n key\n count\n }\n humanRequestedTurns\n costMicroUsd\n costMicroUsdPerResolvedConversation\n unpricedTurns\n inputTokens\n outputTokens\n totalTokens\n cachedInputTokens\n cachedTurns\n llmCalls\n turnsByModel {\n key\n count\n }\n turnsByModelAndReasoningEffort {\n key\n count\n }\n avgTurnDurationMs\n p95TurnDurationMs\n avgLlmLatencyMs\n turns\n answeredTurns\n answeredWithFailedConnectionTurns\n unansweredTurns\n unansweredDefinition\n topTopics {\n key\n count\n }\n topUnansweredQuestions {\n key\n count\n }\n blockedTurns\n blocksByCategory {\n key\n count\n }\n haltedTurns\n haltReasons {\n key\n count\n }\n budgetExceededTurns\n identificationRequiredTurns\n toolCalls\n toolCallsFailed\n toolErrorsByConnection {\n key\n count\n }\n toolErrorsByClass {\n key\n count\n }\n knowledgeRetrieved\n knowledgeEmpty\n knowledgeUnavailable\n knowledgeSkipped\n}\n ";
|
|
2156
2008
|
export declare const AiAgentVersionSpecDocument = "\n query aiAgentVersionSpec($aiAgentId: ID!) {\n listAiAgentVersions(aiAgentId: $aiAgentId) {\n ...aiAgentVersionWithSpec\n }\n}\n \n fragment aiAgentVersionWithSpec on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n spec {\n ...aiAgentSpec\n }\n excludedTools {\n ...aiAgentToolExclusion\n }\n}\n \n\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n toolFailureMessage\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2157
2009
|
export declare const AiAgentRoutingPreviewDocument = "\n query aiAgentRoutingPreview($input: AiAgentRoutingPreviewInput!) {\n aiAgentRoutingPreview(input: $input) {\n high\n medium\n examples {\n message\n useCaseId\n score\n confidence\n }\n }\n}\n ";
|
|
2158
2010
|
export declare const AiAgentKnowledgeBasesDocument = "\n query aiAgentKnowledgeBases {\n aiAgentKnowledgeBases {\n id\n title\n isPublic\n }\n}\n ";
|
|
@@ -2173,7 +2025,6 @@ export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Pr
|
|
|
2173
2025
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
2174
2026
|
listAiAgents(variables?: ListAiAgentsQueryVariables, options?: C): Promise<ListAiAgentsQuery>;
|
|
2175
2027
|
listAiAgentVersions(variables: ListAiAgentVersionsQueryVariables, options?: C): Promise<ListAiAgentVersionsQuery>;
|
|
2176
|
-
aiAgentMetricsByAgent(variables: AiAgentMetricsByAgentQueryVariables, options?: C): Promise<AiAgentMetricsByAgentQuery>;
|
|
2177
2028
|
aiAgentListingMetrics(variables: AiAgentListingMetricsQueryVariables, options?: C): Promise<AiAgentListingMetricsQuery>;
|
|
2178
2029
|
draftAiAgent(variables: DraftAiAgentMutationVariables, options?: C): Promise<DraftAiAgentMutation>;
|
|
2179
2030
|
publishAiAgentVersion(variables: PublishAiAgentVersionMutationVariables, options?: C): Promise<PublishAiAgentVersionMutation>;
|
|
@@ -2210,7 +2061,6 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
2210
2061
|
checkAiAgentVersion(variables: CheckAiAgentVersionMutationVariables, options?: C): Promise<CheckAiAgentVersionMutation>;
|
|
2211
2062
|
getAiAgentCheckRun(variables: GetAiAgentCheckRunQueryVariables, options?: C): Promise<GetAiAgentCheckRunQuery>;
|
|
2212
2063
|
aiAgentCheckLimits(variables: AiAgentCheckLimitsQueryVariables, options?: C): Promise<AiAgentCheckLimitsQuery>;
|
|
2213
|
-
aiAgentMetrics(variables: AiAgentMetricsQueryVariables, options?: C): Promise<AiAgentMetricsQuery>;
|
|
2214
2064
|
aiAgentVersionSpec(variables: AiAgentVersionSpecQueryVariables, options?: C): Promise<AiAgentVersionSpecQuery>;
|
|
2215
2065
|
aiAgentRoutingPreview(variables: AiAgentRoutingPreviewQueryVariables, options?: C): Promise<AiAgentRoutingPreviewQuery>;
|
|
2216
2066
|
aiAgentKnowledgeBases(variables?: AiAgentKnowledgeBasesQueryVariables, options?: C): Promise<AiAgentKnowledgeBasesQuery>;
|
package/src/sdks/ai.js
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.ListNlpInstancesDocument = exports.GetNlpInstanceDocument = exports.ExtractImageMetadataDocument = exports.AiAgentKnowledgeBasesDocument = exports.AiAgentRoutingPreviewDocument = exports.AiAgentVersionSpecDocument = exports.
|
|
6
|
-
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = exports.GetQnAInstanceDocument = exports.TestNlpInstanceDocument = exports.RemoveNlpInstanceDocument =
|
|
4
|
+
exports.AiAgentDashboardContactReasonFragmentDoc = exports.AiAgentDashboardSentimentFragmentDoc = exports.AiAgentDashboardIndicatorFragmentDoc = exports.AiAgentScenarioFragmentDoc = exports.AiAgentTraceFragmentDoc = exports.AiAgentToolFragmentDoc = exports.AiAgentProcedureFragmentDoc = exports.AiAgentUseCaseFragmentDoc = exports.AiAgentListingMetricsFieldsFragmentDoc = exports.AiAgentVersionWithSpecFragmentDoc = exports.AiAgentToolExclusionFragmentDoc = exports.AiAgentSpecFragmentDoc = exports.AiAgentVersionFragmentDoc = exports.AiAgentSummaryFragmentDoc = exports.Typenames = exports.ToolParameterType = exports.ToolParameterFormat = exports.ToolEffect = exports.ToolAvailability = exports.TonePreset = exports.ParameterGrounding = exports.Can = exports.BudgetExceededAction = exports.AppInstanceStatus = exports.AiAgentVersionStatus = exports.AiAgentVariationUnit = exports.AiAgentUnbackedClaimAction = exports.AiAgentTechnicalFailure = exports.AiAgentSortDirection = exports.AiAgentSentiment = exports.AiAgentScoreBand = exports.AiAgentRiskAlert = exports.AiAgentMetricsBucket = exports.AiAgentMetricPolarity = exports.AiAgentHandoffReason = exports.AiAgentFrequencyLevel = exports.AiAgentExecutionAutonomy = exports.AiAgentConversationSubcategory = exports.AiAgentConversationStatus = exports.AiAgentConversationState = exports.AiAgentConversationSortField = exports.AiAgentConversationClass = exports.AiAgentContactReasonSource = exports.AiAgentCheckRunStatus = exports.AiAgentChannelType = exports.AiAgentApprovalStatus = exports.AiAgentApprovalOutcome = exports.AiAgentApprovalDecision = exports.AiAgentAnalysisFailureReason = exports.AiAgentActionClaim = void 0;
|
|
5
|
+
exports.UpdateNlpInstanceDocument = exports.CreateNlpInstanceDocument = exports.ListNlpInstancesDocument = exports.GetNlpInstanceDocument = exports.ExtractImageMetadataDocument = exports.AiAgentKnowledgeBasesDocument = exports.AiAgentRoutingPreviewDocument = exports.AiAgentVersionSpecDocument = exports.AiAgentCheckLimitsDocument = exports.GetAiAgentCheckRunDocument = exports.CheckAiAgentVersionDocument = exports.SaveAiAgentScenarioDocument = exports.RemoveAiAgentScenarioDocument = exports.UnregisterAiAgentToolDocument = exports.RegisterAiAgentToolDocument = exports.DecideAiAgentApprovalDocument = exports.ResolveAiAgentApprovalDocument = exports.ListAiAgentApprovalsPageDocument = exports.ListAiAgentApprovalsDocument = exports.RememberAiAgentSessionFactsDocument = exports.RemoveAiAgentProcedureDocument = exports.RemoveAiAgentUseCaseDocument = exports.SaveAiAgentProcedureDocument = exports.SaveAiAgentUseCaseDocument = exports.AiAgentConversationOutcomeDocument = exports.AiAgentDashboardDocument = exports.AiAgentMetricsSeriesDocument = exports.AiAgentConversationMetricsDocument = exports.AiAgentRetentionPolicyDocument = exports.SetAiAgentRetentionPolicyDocument = exports.ReindexAiAgentDashboardDocument = exports.ListAiAgentScenariosDocument = exports.AiAgentTraceDocument = exports.AiAgentUseCaseOverlapDocument = exports.ListAiAgentToolsDocument = exports.ListAiAgentProceduresDocument = exports.ListAiAgentUseCasesDocument = exports.RemoveAiAgentDocument = exports.RemoveAiAgentVersionDocument = exports.RollbackAiAgentVersionDocument = exports.UnpublishAiAgentVersionDocument = exports.PublishAiAgentVersionDocument = exports.DraftAiAgentDocument = exports.AiAgentListingMetricsDocument = exports.ListAiAgentVersionsDocument = exports.ListAiAgentsDocument = exports.QnaFragmentFragmentDoc = exports.NlpInstanceFragmentDoc = exports.AiAgentCheckRunFragmentDoc = exports.AiAgentApprovalFragmentDoc = void 0;
|
|
6
|
+
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = exports.GetQnAInstanceDocument = exports.TestNlpInstanceDocument = exports.RemoveNlpInstanceDocument = void 0;
|
|
7
7
|
exports.getSdk = getSdk;
|
|
8
|
+
var AiAgentActionClaim;
|
|
9
|
+
(function (AiAgentActionClaim) {
|
|
10
|
+
AiAgentActionClaim["Action"] = "action";
|
|
11
|
+
AiAgentActionClaim["Closing"] = "closing";
|
|
12
|
+
AiAgentActionClaim["Transfer"] = "transfer";
|
|
13
|
+
})(AiAgentActionClaim || (exports.AiAgentActionClaim = AiAgentActionClaim = {}));
|
|
8
14
|
var AiAgentAnalysisFailureReason;
|
|
9
15
|
(function (AiAgentAnalysisFailureReason) {
|
|
10
16
|
AiAgentAnalysisFailureReason["InvalidReply"] = "invalid_reply";
|
|
@@ -185,6 +191,12 @@ var AiAgentTechnicalFailure;
|
|
|
185
191
|
AiAgentTechnicalFailure["Timeout"] = "TIMEOUT";
|
|
186
192
|
AiAgentTechnicalFailure["ToolUnavailable"] = "TOOL_UNAVAILABLE";
|
|
187
193
|
})(AiAgentTechnicalFailure || (exports.AiAgentTechnicalFailure = AiAgentTechnicalFailure = {}));
|
|
194
|
+
var AiAgentUnbackedClaimAction;
|
|
195
|
+
(function (AiAgentUnbackedClaimAction) {
|
|
196
|
+
AiAgentUnbackedClaimAction["Delivered"] = "delivered";
|
|
197
|
+
AiAgentUnbackedClaimAction["Replaced"] = "replaced";
|
|
198
|
+
AiAgentUnbackedClaimAction["Retried"] = "retried";
|
|
199
|
+
})(AiAgentUnbackedClaimAction || (exports.AiAgentUnbackedClaimAction = AiAgentUnbackedClaimAction = {}));
|
|
188
200
|
var AiAgentVariationUnit;
|
|
189
201
|
(function (AiAgentVariationUnit) {
|
|
190
202
|
AiAgentVariationUnit["Percent"] = "PERCENT";
|
|
@@ -364,17 +376,6 @@ exports.AiAgentVersionWithSpecFragmentDoc = `
|
|
|
364
376
|
}
|
|
365
377
|
}
|
|
366
378
|
`;
|
|
367
|
-
exports.AiAgentListingMetricsFragmentDoc = `
|
|
368
|
-
fragment aiAgentListingMetrics on AiAgentMetrics {
|
|
369
|
-
aiAgentId
|
|
370
|
-
conversations
|
|
371
|
-
conversationsResolved
|
|
372
|
-
conversationsHandoffRequested
|
|
373
|
-
resolutionRate
|
|
374
|
-
resolutionDefinition
|
|
375
|
-
costMicroUsd
|
|
376
|
-
}
|
|
377
|
-
`;
|
|
378
379
|
exports.AiAgentListingMetricsFieldsFragmentDoc = `
|
|
379
380
|
fragment aiAgentListingMetricsFields on AiAgentListingMetrics {
|
|
380
381
|
aiAgentId
|
|
@@ -382,6 +383,7 @@ exports.AiAgentListingMetricsFieldsFragmentDoc = `
|
|
|
382
383
|
conversationsResolved
|
|
383
384
|
conversationsHandoffRequested
|
|
384
385
|
resolutionRate
|
|
386
|
+
resolvedRate
|
|
385
387
|
costMicroUsd
|
|
386
388
|
}
|
|
387
389
|
`;
|
|
@@ -437,6 +439,7 @@ exports.AiAgentToolFragmentDoc = `
|
|
|
437
439
|
ownerParameters
|
|
438
440
|
}
|
|
439
441
|
returns
|
|
442
|
+
deliverAsIs
|
|
440
443
|
approval
|
|
441
444
|
parameters {
|
|
442
445
|
name
|
|
@@ -464,6 +467,8 @@ exports.AiAgentTraceFragmentDoc = `
|
|
|
464
467
|
outcome
|
|
465
468
|
haltReason
|
|
466
469
|
handoffHeld
|
|
470
|
+
unbackedClaim
|
|
471
|
+
unbackedClaimKinds
|
|
467
472
|
steps
|
|
468
473
|
answer
|
|
469
474
|
startedAt
|
|
@@ -601,152 +606,6 @@ exports.AiAgentCheckRunFragmentDoc = `
|
|
|
601
606
|
}
|
|
602
607
|
}
|
|
603
608
|
`;
|
|
604
|
-
exports.AiAgentMetricsReportFragmentDoc = `
|
|
605
|
-
fragment aiAgentMetricsReport on AiAgentMetrics {
|
|
606
|
-
aiAgentId
|
|
607
|
-
from
|
|
608
|
-
to
|
|
609
|
-
truncated
|
|
610
|
-
conversations
|
|
611
|
-
conversationsResolved
|
|
612
|
-
conversationsInconclusive
|
|
613
|
-
conversationsHandoffRequested
|
|
614
|
-
resolutionRate
|
|
615
|
-
resolutionDefinition
|
|
616
|
-
classificationBreakdown {
|
|
617
|
-
state
|
|
618
|
-
subcategory
|
|
619
|
-
technicalFailure
|
|
620
|
-
count
|
|
621
|
-
}
|
|
622
|
-
conversationsEligible
|
|
623
|
-
conversationsResolvedByDefinition
|
|
624
|
-
conversationsProvisional
|
|
625
|
-
conversationsAwaitingClassification
|
|
626
|
-
resolvedRate
|
|
627
|
-
unresolvedRate
|
|
628
|
-
handoffProcedureRate
|
|
629
|
-
handoffNeedRate
|
|
630
|
-
qualifiedLeadRate
|
|
631
|
-
offerAcceptedRate
|
|
632
|
-
abandonmentRate
|
|
633
|
-
classificationDefinitionVersion
|
|
634
|
-
classificationDefinitionVersions {
|
|
635
|
-
key
|
|
636
|
-
count
|
|
637
|
-
}
|
|
638
|
-
analyzedConversations
|
|
639
|
-
estimatedSatisfactionAvg
|
|
640
|
-
sentimentAtStart {
|
|
641
|
-
key
|
|
642
|
-
count
|
|
643
|
-
}
|
|
644
|
-
sentimentAtEnd {
|
|
645
|
-
key
|
|
646
|
-
count
|
|
647
|
-
}
|
|
648
|
-
riskAlerts {
|
|
649
|
-
key
|
|
650
|
-
count
|
|
651
|
-
}
|
|
652
|
-
topKnowledgeGaps {
|
|
653
|
-
key
|
|
654
|
-
count
|
|
655
|
-
}
|
|
656
|
-
analysisCostMicroUsd
|
|
657
|
-
failedAnalyses
|
|
658
|
-
analysesTruncated
|
|
659
|
-
agentScoreAvg
|
|
660
|
-
agentScoreAvgBand
|
|
661
|
-
agentScoreBands {
|
|
662
|
-
key
|
|
663
|
-
count
|
|
664
|
-
}
|
|
665
|
-
agentClarityAvg
|
|
666
|
-
customerEffortScoreAvg
|
|
667
|
-
contactReasons {
|
|
668
|
-
all {
|
|
669
|
-
key
|
|
670
|
-
count
|
|
671
|
-
}
|
|
672
|
-
handoff {
|
|
673
|
-
key
|
|
674
|
-
count
|
|
675
|
-
}
|
|
676
|
-
abandonment {
|
|
677
|
-
key
|
|
678
|
-
count
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
escalatedToHuman
|
|
682
|
-
escalatedToFlow
|
|
683
|
-
escalatedTargetUndeclared
|
|
684
|
-
handoffsByReason {
|
|
685
|
-
key
|
|
686
|
-
count
|
|
687
|
-
}
|
|
688
|
-
humanRequestedTurns
|
|
689
|
-
costMicroUsd
|
|
690
|
-
costMicroUsdPerResolvedConversation
|
|
691
|
-
unpricedTurns
|
|
692
|
-
inputTokens
|
|
693
|
-
outputTokens
|
|
694
|
-
totalTokens
|
|
695
|
-
cachedInputTokens
|
|
696
|
-
cachedTurns
|
|
697
|
-
llmCalls
|
|
698
|
-
turnsByModel {
|
|
699
|
-
key
|
|
700
|
-
count
|
|
701
|
-
}
|
|
702
|
-
turnsByModelAndReasoningEffort {
|
|
703
|
-
key
|
|
704
|
-
count
|
|
705
|
-
}
|
|
706
|
-
avgTurnDurationMs
|
|
707
|
-
p95TurnDurationMs
|
|
708
|
-
avgLlmLatencyMs
|
|
709
|
-
turns
|
|
710
|
-
answeredTurns
|
|
711
|
-
answeredWithFailedConnectionTurns
|
|
712
|
-
unansweredTurns
|
|
713
|
-
unansweredDefinition
|
|
714
|
-
topTopics {
|
|
715
|
-
key
|
|
716
|
-
count
|
|
717
|
-
}
|
|
718
|
-
topUnansweredQuestions {
|
|
719
|
-
key
|
|
720
|
-
count
|
|
721
|
-
}
|
|
722
|
-
blockedTurns
|
|
723
|
-
blocksByCategory {
|
|
724
|
-
key
|
|
725
|
-
count
|
|
726
|
-
}
|
|
727
|
-
haltedTurns
|
|
728
|
-
haltReasons {
|
|
729
|
-
key
|
|
730
|
-
count
|
|
731
|
-
}
|
|
732
|
-
budgetExceededTurns
|
|
733
|
-
identificationRequiredTurns
|
|
734
|
-
toolCalls
|
|
735
|
-
toolCallsFailed
|
|
736
|
-
toolErrorsByConnection {
|
|
737
|
-
key
|
|
738
|
-
count
|
|
739
|
-
}
|
|
740
|
-
toolErrorsByClass {
|
|
741
|
-
key
|
|
742
|
-
count
|
|
743
|
-
}
|
|
744
|
-
knowledgeRetrieved
|
|
745
|
-
knowledgeEmpty
|
|
746
|
-
knowledgeUnavailable
|
|
747
|
-
knowledgeSkipped
|
|
748
|
-
}
|
|
749
|
-
`;
|
|
750
609
|
exports.NlpInstanceFragmentDoc = `
|
|
751
610
|
fragment nlpInstance on NlpInstance {
|
|
752
611
|
id
|
|
@@ -785,13 +644,6 @@ exports.ListAiAgentVersionsDocument = `
|
|
|
785
644
|
}
|
|
786
645
|
}
|
|
787
646
|
${exports.AiAgentVersionFragmentDoc}`;
|
|
788
|
-
exports.AiAgentMetricsByAgentDocument = `
|
|
789
|
-
query aiAgentMetricsByAgent($input: AiAgentMetricsWindowInput!) {
|
|
790
|
-
aiAgentMetricsByAgent(input: $input) {
|
|
791
|
-
...aiAgentListingMetrics
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
${exports.AiAgentListingMetricsFragmentDoc}`;
|
|
795
647
|
exports.AiAgentListingMetricsDocument = `
|
|
796
648
|
query aiAgentListingMetrics($input: AiAgentMetricsWindowInput!) {
|
|
797
649
|
aiAgentListingMetrics(input: $input) {
|
|
@@ -1287,13 +1139,6 @@ exports.AiAgentCheckLimitsDocument = `
|
|
|
1287
1139
|
}
|
|
1288
1140
|
}
|
|
1289
1141
|
`;
|
|
1290
|
-
exports.AiAgentMetricsDocument = `
|
|
1291
|
-
query aiAgentMetrics($input: AiAgentMetricsInput!) {
|
|
1292
|
-
aiAgentMetrics(input: $input) {
|
|
1293
|
-
...aiAgentMetricsReport
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
${exports.AiAgentMetricsReportFragmentDoc}`;
|
|
1297
1142
|
exports.AiAgentVersionSpecDocument = `
|
|
1298
1143
|
query aiAgentVersionSpec($aiAgentId: ID!) {
|
|
1299
1144
|
listAiAgentVersions(aiAgentId: $aiAgentId) {
|
|
@@ -1439,9 +1284,6 @@ function getSdk(requester) {
|
|
|
1439
1284
|
listAiAgentVersions(variables, options) {
|
|
1440
1285
|
return requester(exports.ListAiAgentVersionsDocument, variables, options);
|
|
1441
1286
|
},
|
|
1442
|
-
aiAgentMetricsByAgent(variables, options) {
|
|
1443
|
-
return requester(exports.AiAgentMetricsByAgentDocument, variables, options);
|
|
1444
|
-
},
|
|
1445
1287
|
aiAgentListingMetrics(variables, options) {
|
|
1446
1288
|
return requester(exports.AiAgentListingMetricsDocument, variables, options);
|
|
1447
1289
|
},
|
|
@@ -1550,9 +1392,6 @@ function getSdk(requester) {
|
|
|
1550
1392
|
aiAgentCheckLimits(variables, options) {
|
|
1551
1393
|
return requester(exports.AiAgentCheckLimitsDocument, variables, options);
|
|
1552
1394
|
},
|
|
1553
|
-
aiAgentMetrics(variables, options) {
|
|
1554
|
-
return requester(exports.AiAgentMetricsDocument, variables, options);
|
|
1555
|
-
},
|
|
1556
1395
|
aiAgentVersionSpec(variables, options) {
|
|
1557
1396
|
return requester(exports.AiAgentVersionSpecDocument, variables, options);
|
|
1558
1397
|
},
|
|
@@ -122,6 +122,11 @@ export type Scalars = {
|
|
|
122
122
|
output: void;
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
+
export type AddLlmModelPriceInput = {
|
|
126
|
+
model: Scalars['String']['input'];
|
|
127
|
+
price: LlmModelPriceInput;
|
|
128
|
+
provider: LlmProvider;
|
|
129
|
+
};
|
|
125
130
|
export type AddTenantTagsInput = {
|
|
126
131
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
127
132
|
tenantId: Scalars['TenantId']['input'];
|
|
@@ -173,6 +178,13 @@ export type CognitoConfig = {
|
|
|
173
178
|
userPoolId: Scalars['String']['output'];
|
|
174
179
|
userPoolWebClientId: Scalars['String']['output'];
|
|
175
180
|
};
|
|
181
|
+
export type CreateLlmModelInput = {
|
|
182
|
+
model: Scalars['String']['input'];
|
|
183
|
+
price?: InputMaybe<LlmModelPriceInput>;
|
|
184
|
+
provider: LlmProvider;
|
|
185
|
+
reasoningDevelopment: Scalars['Boolean']['input'];
|
|
186
|
+
reasoningProduction: Scalars['Boolean']['input'];
|
|
187
|
+
};
|
|
176
188
|
export type CreateReclameAquiTicketSessionOnTenantInput = {
|
|
177
189
|
tenantId: Scalars['TenantId']['input'];
|
|
178
190
|
ticketId: Scalars['ID']['input'];
|
|
@@ -292,6 +304,32 @@ export type JoinTenantAsSuperAdminInput = {
|
|
|
292
304
|
export type LeaveTenantOrganizationInput = {
|
|
293
305
|
tenantId: Scalars['TenantId']['input'];
|
|
294
306
|
};
|
|
307
|
+
export type LlmModel = {
|
|
308
|
+
model: Scalars['String']['output'];
|
|
309
|
+
modifiedBy?: Maybe<Scalars['String']['output']>;
|
|
310
|
+
prices: Array<LlmModelPrice>;
|
|
311
|
+
provider: LlmProvider;
|
|
312
|
+
reasoningDevelopment: Scalars['Boolean']['output'];
|
|
313
|
+
reasoningProduction: Scalars['Boolean']['output'];
|
|
314
|
+
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
315
|
+
};
|
|
316
|
+
export type LlmModelPrice = {
|
|
317
|
+
cachedInputPerMillion?: Maybe<Scalars['Int']['output']>;
|
|
318
|
+
effectiveFrom: Scalars['DateTime']['output'];
|
|
319
|
+
inputPerMillion: Scalars['Int']['output'];
|
|
320
|
+
outputPerMillion: Scalars['Int']['output'];
|
|
321
|
+
};
|
|
322
|
+
export type LlmModelPriceInput = {
|
|
323
|
+
cachedInputPerMillion?: InputMaybe<Scalars['Int']['input']>;
|
|
324
|
+
effectiveFrom: Scalars['DateTime']['input'];
|
|
325
|
+
inputPerMillion: Scalars['Int']['input'];
|
|
326
|
+
outputPerMillion: Scalars['Int']['input'];
|
|
327
|
+
};
|
|
328
|
+
export declare enum LlmProvider {
|
|
329
|
+
Bedrock = "bedrock",
|
|
330
|
+
Google = "google",
|
|
331
|
+
Openai = "openai"
|
|
332
|
+
}
|
|
295
333
|
export type MigrateZendeskInstanceToOAuthInput = {
|
|
296
334
|
apply?: InputMaybe<Scalars['Boolean']['input']>;
|
|
297
335
|
instanceId: Scalars['ID']['input'];
|
|
@@ -308,8 +346,10 @@ export type MigrateZendeskInstanceToOAuthResult = {
|
|
|
308
346
|
tenantId: Scalars['TenantId']['output'];
|
|
309
347
|
};
|
|
310
348
|
export type Mutation = {
|
|
349
|
+
addLlmModelPrice: LlmModel;
|
|
311
350
|
addTenantTags: Tenant;
|
|
312
351
|
batchDeploy: Array<Deployment>;
|
|
352
|
+
createLlmModel: LlmModel;
|
|
313
353
|
createReclameAquiTicketSessionOnTenant?: Maybe<Scalars['Boolean']['output']>;
|
|
314
354
|
createTenant: Tenant;
|
|
315
355
|
deploy: Deployment;
|
|
@@ -331,15 +371,22 @@ export type Mutation = {
|
|
|
331
371
|
setGlobalParameter: Parameter;
|
|
332
372
|
setTenantParameter: Parameter;
|
|
333
373
|
updateAccount: AwsAccount;
|
|
374
|
+
updateLlmModel: LlmModel;
|
|
334
375
|
updateTenant: Tenant;
|
|
335
376
|
version?: Maybe<Scalars['String']['output']>;
|
|
336
377
|
};
|
|
378
|
+
export type MutationAddLlmModelPriceArgs = {
|
|
379
|
+
input: AddLlmModelPriceInput;
|
|
380
|
+
};
|
|
337
381
|
export type MutationAddTenantTagsArgs = {
|
|
338
382
|
input: AddTenantTagsInput;
|
|
339
383
|
};
|
|
340
384
|
export type MutationBatchDeployArgs = {
|
|
341
385
|
input: BatchDeployInput;
|
|
342
386
|
};
|
|
387
|
+
export type MutationCreateLlmModelArgs = {
|
|
388
|
+
input: CreateLlmModelInput;
|
|
389
|
+
};
|
|
343
390
|
export type MutationCreateReclameAquiTicketSessionOnTenantArgs = {
|
|
344
391
|
input: CreateReclameAquiTicketSessionOnTenantInput;
|
|
345
392
|
};
|
|
@@ -403,6 +450,9 @@ export type MutationSetTenantParameterArgs = {
|
|
|
403
450
|
export type MutationUpdateAccountArgs = {
|
|
404
451
|
input: UpdateAccountInput;
|
|
405
452
|
};
|
|
453
|
+
export type MutationUpdateLlmModelArgs = {
|
|
454
|
+
input: UpdateLlmModelInput;
|
|
455
|
+
};
|
|
406
456
|
export type MutationUpdateTenantArgs = {
|
|
407
457
|
input: UpdateTenantInput;
|
|
408
458
|
};
|
|
@@ -468,6 +518,7 @@ export type Query = {
|
|
|
468
518
|
listGitRepositories: Array<GitRepository>;
|
|
469
519
|
listGitTags: Array<GitTag>;
|
|
470
520
|
listGlobalParameters?: Maybe<Array<Parameter>>;
|
|
521
|
+
listLlmModels: Array<LlmModel>;
|
|
471
522
|
listParameterOverrides?: Maybe<Array<Parameter>>;
|
|
472
523
|
listQueueHealth: Array<QueueHealth>;
|
|
473
524
|
listQueueHealthSummary: Array<TenantQueueSummary>;
|
|
@@ -736,6 +787,12 @@ export type UpdateAccountInput = {
|
|
|
736
787
|
id: Scalars['ID']['input'];
|
|
737
788
|
name: Scalars['String']['input'];
|
|
738
789
|
};
|
|
790
|
+
export type UpdateLlmModelInput = {
|
|
791
|
+
model: Scalars['String']['input'];
|
|
792
|
+
provider: LlmProvider;
|
|
793
|
+
reasoningDevelopment: Scalars['Boolean']['input'];
|
|
794
|
+
reasoningProduction: Scalars['Boolean']['input'];
|
|
795
|
+
};
|
|
739
796
|
export type UpdateTenantInput = {
|
|
740
797
|
identityProviders?: InputMaybe<Array<IdentityProviderInput>>;
|
|
741
798
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -871,6 +928,34 @@ export type BatchDeployMutationVariables = Exact<{
|
|
|
871
928
|
export type BatchDeployMutation = {
|
|
872
929
|
batchDeploy: Array<DeploymentFragment>;
|
|
873
930
|
};
|
|
931
|
+
export type LlmModelPriceFragment = Pick<LlmModelPrice, 'effectiveFrom' | 'inputPerMillion' | 'cachedInputPerMillion' | 'outputPerMillion'>;
|
|
932
|
+
export type LlmModelFragment = (Pick<LlmModel, 'provider' | 'model' | 'reasoningDevelopment' | 'reasoningProduction' | 'updatedAt' | 'modifiedBy'> & {
|
|
933
|
+
prices: Array<LlmModelPriceFragment>;
|
|
934
|
+
});
|
|
935
|
+
export type ListLlmModelsQueryVariables = Exact<{
|
|
936
|
+
[key: string]: never;
|
|
937
|
+
}>;
|
|
938
|
+
export type ListLlmModelsQuery = {
|
|
939
|
+
listLlmModels: Array<LlmModelFragment>;
|
|
940
|
+
};
|
|
941
|
+
export type CreateLlmModelMutationVariables = Exact<{
|
|
942
|
+
input: CreateLlmModelInput;
|
|
943
|
+
}>;
|
|
944
|
+
export type CreateLlmModelMutation = {
|
|
945
|
+
createLlmModel: LlmModelFragment;
|
|
946
|
+
};
|
|
947
|
+
export type UpdateLlmModelMutationVariables = Exact<{
|
|
948
|
+
input: UpdateLlmModelInput;
|
|
949
|
+
}>;
|
|
950
|
+
export type UpdateLlmModelMutation = {
|
|
951
|
+
updateLlmModel: LlmModelFragment;
|
|
952
|
+
};
|
|
953
|
+
export type AddLlmModelPriceMutationVariables = Exact<{
|
|
954
|
+
input: AddLlmModelPriceInput;
|
|
955
|
+
}>;
|
|
956
|
+
export type AddLlmModelPriceMutation = {
|
|
957
|
+
addLlmModelPrice: LlmModelFragment;
|
|
958
|
+
};
|
|
874
959
|
export type ParameterFragment = Pick<Parameter, 'namespace' | 'name' | 'value' | 'type'>;
|
|
875
960
|
export type ListTenantParametersQueryVariables = Exact<{
|
|
876
961
|
tenantId: Scalars['String']['input'];
|
|
@@ -1115,6 +1200,8 @@ export declare const DeploymentFragmentDoc = "\n fragment deployment on Deplo
|
|
|
1115
1200
|
export declare const GitBranchFragmentDoc = "\n fragment gitBranch on GitBranch {\n name\n}\n ";
|
|
1116
1201
|
export declare const GitTagFragmentDoc = "\n fragment gitTag on GitTag {\n name\n}\n ";
|
|
1117
1202
|
export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on GitRepository {\n id\n name\n branches {\n ...gitBranch\n }\n tags {\n ...gitTag\n }\n}\n ";
|
|
1203
|
+
export declare const LlmModelPriceFragmentDoc = "\n fragment llmModelPrice on LlmModelPrice {\n effectiveFrom\n inputPerMillion\n cachedInputPerMillion\n outputPerMillion\n}\n ";
|
|
1204
|
+
export declare const LlmModelFragmentDoc = "\n fragment llmModel on LlmModel {\n provider\n model\n reasoningDevelopment\n reasoningProduction\n prices {\n ...llmModelPrice\n }\n updatedAt\n modifiedBy\n}\n ";
|
|
1118
1205
|
export declare const ParameterFragmentDoc = "\n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1119
1206
|
export declare const TenantQueueSummaryFragmentDoc = "\n fragment tenantQueueSummary on TenantQueueSummary {\n tenantId\n totalVisible\n totalInDlq\n worstAlarmState\n}\n ";
|
|
1120
1207
|
export declare const QueueHealthFragmentDoc = "\n fragment queueHealth on QueueHealth {\n tenantId\n accountId\n queueName\n serviceId\n isDlq\n approximateNumberOfMessages\n approximateNumberOfMessagesNotVisible\n alarmState\n}\n ";
|
|
@@ -1136,6 +1223,10 @@ export declare const DeploymentLogsDocument = "\n query deploymentLogs($tenan
|
|
|
1136
1223
|
export declare const DeployDocument = "\n mutation deploy($input: DeployInput!) {\n deploy(input: $input) {\n ...deployment\n }\n}\n \n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n services\n deployedVersion\n createdAt\n updatedAt\n agent {\n id\n name\n }\n}\n ";
|
|
1137
1224
|
export declare const DestroyDocument = "\n mutation destroy($input: DestroyInput!) {\n destroy(input: $input) {\n ...deployment\n }\n}\n \n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n services\n deployedVersion\n createdAt\n updatedAt\n agent {\n id\n name\n }\n}\n ";
|
|
1138
1225
|
export declare const BatchDeployDocument = "\n mutation batchDeploy($input: BatchDeployInput!) {\n batchDeploy(input: $input) {\n ...deployment\n }\n}\n \n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n services\n deployedVersion\n createdAt\n updatedAt\n agent {\n id\n name\n }\n}\n ";
|
|
1226
|
+
export declare const ListLlmModelsDocument = "\n query listLlmModels {\n listLlmModels {\n ...llmModel\n }\n}\n \n fragment llmModel on LlmModel {\n provider\n model\n reasoningDevelopment\n reasoningProduction\n prices {\n ...llmModelPrice\n }\n updatedAt\n modifiedBy\n}\n \n\n fragment llmModelPrice on LlmModelPrice {\n effectiveFrom\n inputPerMillion\n cachedInputPerMillion\n outputPerMillion\n}\n ";
|
|
1227
|
+
export declare const CreateLlmModelDocument = "\n mutation createLlmModel($input: CreateLlmModelInput!) {\n createLlmModel(input: $input) {\n ...llmModel\n }\n}\n \n fragment llmModel on LlmModel {\n provider\n model\n reasoningDevelopment\n reasoningProduction\n prices {\n ...llmModelPrice\n }\n updatedAt\n modifiedBy\n}\n \n\n fragment llmModelPrice on LlmModelPrice {\n effectiveFrom\n inputPerMillion\n cachedInputPerMillion\n outputPerMillion\n}\n ";
|
|
1228
|
+
export declare const UpdateLlmModelDocument = "\n mutation updateLlmModel($input: UpdateLlmModelInput!) {\n updateLlmModel(input: $input) {\n ...llmModel\n }\n}\n \n fragment llmModel on LlmModel {\n provider\n model\n reasoningDevelopment\n reasoningProduction\n prices {\n ...llmModelPrice\n }\n updatedAt\n modifiedBy\n}\n \n\n fragment llmModelPrice on LlmModelPrice {\n effectiveFrom\n inputPerMillion\n cachedInputPerMillion\n outputPerMillion\n}\n ";
|
|
1229
|
+
export declare const AddLlmModelPriceDocument = "\n mutation addLlmModelPrice($input: AddLlmModelPriceInput!) {\n addLlmModelPrice(input: $input) {\n ...llmModel\n }\n}\n \n fragment llmModel on LlmModel {\n provider\n model\n reasoningDevelopment\n reasoningProduction\n prices {\n ...llmModelPrice\n }\n updatedAt\n modifiedBy\n}\n \n\n fragment llmModelPrice on LlmModelPrice {\n effectiveFrom\n inputPerMillion\n cachedInputPerMillion\n outputPerMillion\n}\n ";
|
|
1139
1230
|
export declare const ListTenantParametersDocument = "\n query listTenantParameters($tenantId: String!) {\n listTenantParameters(tenantId: $tenantId) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1140
1231
|
export declare const GetTenantParameterDocument = "\n query getTenantParameter($tenantId: String!, $name: String!) {\n getTenantParameter(tenantId: $tenantId, name: $name) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1141
1232
|
export declare const ListAccountParametersDocument = "\n query listAccountParameters($accountId: String!) {\n listAccountParameters(accountId: $accountId) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
@@ -1193,6 +1284,10 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1193
1284
|
deploy(variables: DeployMutationVariables, options?: C): Promise<DeployMutation>;
|
|
1194
1285
|
destroy(variables: DestroyMutationVariables, options?: C): Promise<DestroyMutation>;
|
|
1195
1286
|
batchDeploy(variables: BatchDeployMutationVariables, options?: C): Promise<BatchDeployMutation>;
|
|
1287
|
+
listLlmModels(variables?: ListLlmModelsQueryVariables, options?: C): Promise<ListLlmModelsQuery>;
|
|
1288
|
+
createLlmModel(variables: CreateLlmModelMutationVariables, options?: C): Promise<CreateLlmModelMutation>;
|
|
1289
|
+
updateLlmModel(variables: UpdateLlmModelMutationVariables, options?: C): Promise<UpdateLlmModelMutation>;
|
|
1290
|
+
addLlmModelPrice(variables: AddLlmModelPriceMutationVariables, options?: C): Promise<AddLlmModelPriceMutation>;
|
|
1196
1291
|
listTenantParameters(variables: ListTenantParametersQueryVariables, options?: C): Promise<ListTenantParametersQuery>;
|
|
1197
1292
|
getTenantParameter(variables: GetTenantParameterQueryVariables, options?: C): Promise<GetTenantParameterQuery>;
|
|
1198
1293
|
listAccountParameters(variables: ListAccountParametersQueryVariables, options?: C): Promise<ListAccountParametersQuery>;
|
package/src/sdks/drozcommons.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.serviceName = exports.RevertZendeskInstanceMigrationDocument = exports.MigrateZendeskInstanceToOAuthDocument = exports.CreateReclameAquiTicketSessionOnTenantDocument = exports.FullReindexBaseDocument = exports.LeaveTenantOrganizationDocument = exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.RemoveTenantTagsDocument = exports.AddTenantTagsDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.GetReclameAquiTicketDetailsDocument = exports.ListZendeskInstancesDocument = exports.ListReclameAquiInstancesDocument = exports.GetZendeskTicketDetailsDocument = exports.SearchSessionsOnTenantDocument = exports.GetFederationMetadataDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.RetryQueueDlqDocument = exports.ListQueueHealthDocument = exports.ListQueueHealthSummaryDocument = exports.RemoveEnvironmentParameterDocument = exports.SetEnvironmentParameterDocument = exports.RemoveGlobalParameterDocument = exports.SetGlobalParameterDocument = exports.RemoveAccountParameterDocument = exports.SetAccountParameterDocument = void 0;
|
|
4
|
+
exports.ListAccountParametersDocument = exports.GetTenantParameterDocument = exports.ListTenantParametersDocument = exports.AddLlmModelPriceDocument = exports.UpdateLlmModelDocument = exports.CreateLlmModelDocument = exports.ListLlmModelsDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitTagsDocument = exports.ListGitBranchesDocument = exports.ListDrozServicesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.GetMeDocument = exports.UpdateAccountDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.QueueHealthFragmentDoc = exports.TenantQueueSummaryFragmentDoc = exports.ParameterFragmentDoc = exports.LlmModelFragmentDoc = exports.LlmModelPriceFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitTagFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.ZendeskOAuthRevertStatus = exports.ZendeskOAuthMigrationStatus = exports.Typenames = exports.RetryQueueDlqStatus = exports.QueueAlarmState = exports.ParameterType = exports.ParameterEnvironment = exports.LlmProvider = exports.IdentityProviderType = exports.IdentityProviderSamlMetadataType = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
|
+
exports.serviceName = exports.RevertZendeskInstanceMigrationDocument = exports.MigrateZendeskInstanceToOAuthDocument = exports.CreateReclameAquiTicketSessionOnTenantDocument = exports.FullReindexBaseDocument = exports.LeaveTenantOrganizationDocument = exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.RemoveTenantTagsDocument = exports.AddTenantTagsDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.GetReclameAquiTicketDetailsDocument = exports.ListZendeskInstancesDocument = exports.ListReclameAquiInstancesDocument = exports.GetZendeskTicketDetailsDocument = exports.SearchSessionsOnTenantDocument = exports.GetFederationMetadataDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.RetryQueueDlqDocument = exports.ListQueueHealthDocument = exports.ListQueueHealthSummaryDocument = exports.RemoveEnvironmentParameterDocument = exports.SetEnvironmentParameterDocument = exports.RemoveGlobalParameterDocument = exports.SetGlobalParameterDocument = exports.RemoveAccountParameterDocument = exports.SetAccountParameterDocument = exports.RemoveTenantParameterDocument = exports.SetTenantParameterDocument = exports.ListParameterOverridesDocument = exports.GetEnvironmentParameterDocument = exports.GetGlobalParameterDocument = exports.ListGlobalParametersDocument = exports.GetAccountParameterDocument = void 0;
|
|
6
6
|
exports.getSdk = getSdk;
|
|
7
7
|
var AppInstanceStatus;
|
|
8
8
|
(function (AppInstanceStatus) {
|
|
@@ -40,6 +40,12 @@ var IdentityProviderType;
|
|
|
40
40
|
IdentityProviderType["Google"] = "Google";
|
|
41
41
|
IdentityProviderType["Saml"] = "SAML";
|
|
42
42
|
})(IdentityProviderType || (exports.IdentityProviderType = IdentityProviderType = {}));
|
|
43
|
+
var LlmProvider;
|
|
44
|
+
(function (LlmProvider) {
|
|
45
|
+
LlmProvider["Bedrock"] = "bedrock";
|
|
46
|
+
LlmProvider["Google"] = "google";
|
|
47
|
+
LlmProvider["Openai"] = "openai";
|
|
48
|
+
})(LlmProvider || (exports.LlmProvider = LlmProvider = {}));
|
|
43
49
|
var ParameterEnvironment;
|
|
44
50
|
(function (ParameterEnvironment) {
|
|
45
51
|
ParameterEnvironment["Development"] = "development";
|
|
@@ -143,6 +149,27 @@ exports.GitRepositoryFragmentDoc = `
|
|
|
143
149
|
}
|
|
144
150
|
}
|
|
145
151
|
`;
|
|
152
|
+
exports.LlmModelPriceFragmentDoc = `
|
|
153
|
+
fragment llmModelPrice on LlmModelPrice {
|
|
154
|
+
effectiveFrom
|
|
155
|
+
inputPerMillion
|
|
156
|
+
cachedInputPerMillion
|
|
157
|
+
outputPerMillion
|
|
158
|
+
}
|
|
159
|
+
`;
|
|
160
|
+
exports.LlmModelFragmentDoc = `
|
|
161
|
+
fragment llmModel on LlmModel {
|
|
162
|
+
provider
|
|
163
|
+
model
|
|
164
|
+
reasoningDevelopment
|
|
165
|
+
reasoningProduction
|
|
166
|
+
prices {
|
|
167
|
+
...llmModelPrice
|
|
168
|
+
}
|
|
169
|
+
updatedAt
|
|
170
|
+
modifiedBy
|
|
171
|
+
}
|
|
172
|
+
`;
|
|
146
173
|
exports.ParameterFragmentDoc = `
|
|
147
174
|
fragment parameter on Parameter {
|
|
148
175
|
namespace
|
|
@@ -338,6 +365,38 @@ exports.BatchDeployDocument = `
|
|
|
338
365
|
}
|
|
339
366
|
}
|
|
340
367
|
${exports.DeploymentFragmentDoc}`;
|
|
368
|
+
exports.ListLlmModelsDocument = `
|
|
369
|
+
query listLlmModels {
|
|
370
|
+
listLlmModels {
|
|
371
|
+
...llmModel
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
${exports.LlmModelFragmentDoc}
|
|
375
|
+
${exports.LlmModelPriceFragmentDoc}`;
|
|
376
|
+
exports.CreateLlmModelDocument = `
|
|
377
|
+
mutation createLlmModel($input: CreateLlmModelInput!) {
|
|
378
|
+
createLlmModel(input: $input) {
|
|
379
|
+
...llmModel
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
${exports.LlmModelFragmentDoc}
|
|
383
|
+
${exports.LlmModelPriceFragmentDoc}`;
|
|
384
|
+
exports.UpdateLlmModelDocument = `
|
|
385
|
+
mutation updateLlmModel($input: UpdateLlmModelInput!) {
|
|
386
|
+
updateLlmModel(input: $input) {
|
|
387
|
+
...llmModel
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
${exports.LlmModelFragmentDoc}
|
|
391
|
+
${exports.LlmModelPriceFragmentDoc}`;
|
|
392
|
+
exports.AddLlmModelPriceDocument = `
|
|
393
|
+
mutation addLlmModelPrice($input: AddLlmModelPriceInput!) {
|
|
394
|
+
addLlmModelPrice(input: $input) {
|
|
395
|
+
...llmModel
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
${exports.LlmModelFragmentDoc}
|
|
399
|
+
${exports.LlmModelPriceFragmentDoc}`;
|
|
341
400
|
exports.ListTenantParametersDocument = `
|
|
342
401
|
query listTenantParameters($tenantId: String!) {
|
|
343
402
|
listTenantParameters(tenantId: $tenantId) {
|
|
@@ -675,6 +734,18 @@ function getSdk(requester) {
|
|
|
675
734
|
batchDeploy(variables, options) {
|
|
676
735
|
return requester(exports.BatchDeployDocument, variables, options);
|
|
677
736
|
},
|
|
737
|
+
listLlmModels(variables, options) {
|
|
738
|
+
return requester(exports.ListLlmModelsDocument, variables, options);
|
|
739
|
+
},
|
|
740
|
+
createLlmModel(variables, options) {
|
|
741
|
+
return requester(exports.CreateLlmModelDocument, variables, options);
|
|
742
|
+
},
|
|
743
|
+
updateLlmModel(variables, options) {
|
|
744
|
+
return requester(exports.UpdateLlmModelDocument, variables, options);
|
|
745
|
+
},
|
|
746
|
+
addLlmModelPrice(variables, options) {
|
|
747
|
+
return requester(exports.AddLlmModelPriceDocument, variables, options);
|
|
748
|
+
},
|
|
678
749
|
listTenantParameters(variables, options) {
|
|
679
750
|
return requester(exports.ListTenantParametersDocument, variables, options);
|
|
680
751
|
},
|