@droz-js/sdk 0.25.22 → 0.25.23
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/drozai.d.ts +1 -1
- package/src/sdks/ai.d.ts +19 -8
- package/src/sdks/ai.js +17 -4
- package/src/sdks/drozbot.d.ts +2 -1
package/package.json
CHANGED
package/src/drozai.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ declare const DrozAi_base: new (options?: import("./client/http").HttpClientOpti
|
|
|
94
94
|
}>, options?: unknown): Promise<import("./sdks/ai").RememberAiAgentSessionFactsMutation>;
|
|
95
95
|
listAiAgentApprovals(variables: import("./sdks/ai").Exact<{
|
|
96
96
|
agentId: import("./sdks/ai").Scalars["ID"]["input"];
|
|
97
|
-
status?: import("./sdks/ai").InputMaybe<import("./sdks/ai").
|
|
97
|
+
status?: import("./sdks/ai").InputMaybe<import("./sdks/ai").AiAgentApprovalStatus>;
|
|
98
98
|
}>, options?: unknown): Promise<import("./sdks/ai").ListAiAgentApprovalsQuery>;
|
|
99
99
|
resolveAiAgentApproval(variables: import("./sdks/ai").Exact<{
|
|
100
100
|
input: import("./sdks/ai").ResolveAiAgentApprovalInput;
|
package/src/sdks/ai.d.ts
CHANGED
|
@@ -141,10 +141,20 @@ export type AiAgentApproval = {
|
|
|
141
141
|
expiresAt: Scalars['Number']['output'];
|
|
142
142
|
requestedAt: Scalars['Number']['output'];
|
|
143
143
|
sessionId: Scalars['ID']['output'];
|
|
144
|
-
status:
|
|
144
|
+
status: AiAgentApprovalStatus;
|
|
145
145
|
toolId: Scalars['ID']['output'];
|
|
146
146
|
toolName: Scalars['String']['output'];
|
|
147
147
|
};
|
|
148
|
+
export declare enum AiAgentApprovalDecision {
|
|
149
|
+
Approved = "approved",
|
|
150
|
+
Rejected = "rejected"
|
|
151
|
+
}
|
|
152
|
+
export declare enum AiAgentApprovalStatus {
|
|
153
|
+
Approved = "approved",
|
|
154
|
+
Expired = "expired",
|
|
155
|
+
Pending = "pending",
|
|
156
|
+
Rejected = "rejected"
|
|
157
|
+
}
|
|
148
158
|
export type AiAgentAuthoringRefInput = {
|
|
149
159
|
agentId: Scalars['ID']['input'];
|
|
150
160
|
id: Scalars['ID']['input'];
|
|
@@ -960,6 +970,7 @@ export type AiAgentTrace = {
|
|
|
960
970
|
identificationRequired?: Maybe<Scalars['Boolean']['output']>;
|
|
961
971
|
input: Scalars['String']['output'];
|
|
962
972
|
knowledgeOrigins: Array<Scalars['String']['output']>;
|
|
973
|
+
knowledgeQuery?: Maybe<Scalars['String']['output']>;
|
|
963
974
|
masterRuleVersion?: Maybe<Scalars['Int']['output']>;
|
|
964
975
|
model?: Maybe<Scalars['String']['output']>;
|
|
965
976
|
outcome: Scalars['String']['output'];
|
|
@@ -1315,7 +1326,7 @@ export type QueryGetQnAInstanceArgs = {
|
|
|
1315
1326
|
};
|
|
1316
1327
|
export type QueryListAiAgentApprovalsArgs = {
|
|
1317
1328
|
agentId: Scalars['ID']['input'];
|
|
1318
|
-
status?: InputMaybe<
|
|
1329
|
+
status?: InputMaybe<AiAgentApprovalStatus>;
|
|
1319
1330
|
};
|
|
1320
1331
|
export type QueryListAiAgentProceduresArgs = {
|
|
1321
1332
|
agentId: Scalars['ID']['input'];
|
|
@@ -1363,7 +1374,7 @@ export type RemoveQnAInstanceInput = {
|
|
|
1363
1374
|
export type ResolveAiAgentApprovalInput = {
|
|
1364
1375
|
agentId: Scalars['ID']['input'];
|
|
1365
1376
|
decidedBy?: InputMaybe<Scalars['String']['input']>;
|
|
1366
|
-
decision:
|
|
1377
|
+
decision: AiAgentApprovalDecision;
|
|
1367
1378
|
requestedAt: Scalars['Number']['input'];
|
|
1368
1379
|
sessionId: Scalars['ID']['input'];
|
|
1369
1380
|
};
|
|
@@ -1617,7 +1628,7 @@ export type AiAgentProcedureFragment = Pick<AiAgentProcedure, 'id' | 'name' | 'g
|
|
|
1617
1628
|
export type AiAgentToolFragment = (Pick<AiAgentTool, 'toolId' | 'name' | 'description' | 'effect' | 'availability' | 'requiresAuthenticatedCustomer' | 'onFailure' | 'emptyResultMessage' | 'customerScope' | 'returns' | 'approval'> & {
|
|
1618
1629
|
parameters: Array<Pick<AiAgentToolParameter, 'name' | 'type' | 'required' | 'description' | 'grounding' | 'format'>>;
|
|
1619
1630
|
});
|
|
1620
|
-
export type AiAgentTraceFragment = (Pick<AiAgentTrace, 'sessionId' | 'turn' | 'agentId' | 'agentVersion' | 'input' | 'promptBuilderVersion' | 'masterRuleVersion' | 'identificationRequired' | 'promptFingerprint' | 'knowledgeOrigins' | 'outcome' | 'haltReason' | 'steps' | 'answer' | 'startedAt' | 'model' | 'reasoningEffort'> & {
|
|
1631
|
+
export type AiAgentTraceFragment = (Pick<AiAgentTrace, 'sessionId' | 'turn' | 'agentId' | 'agentVersion' | 'input' | 'promptBuilderVersion' | 'masterRuleVersion' | 'identificationRequired' | 'promptFingerprint' | 'knowledgeOrigins' | 'knowledgeQuery' | 'outcome' | 'haltReason' | 'steps' | 'answer' | 'startedAt' | 'model' | 'reasoningEffort'> & {
|
|
1621
1632
|
excludedTools?: Maybe<Array<AiAgentToolExclusionFragment>>;
|
|
1622
1633
|
toolCalls: Array<Pick<AiAgentTracedToolCall, 'toolId' | 'name' | 'result' | 'ok' | 'empty' | 'connection' | 'errorClass'>>;
|
|
1623
1634
|
});
|
|
@@ -1780,7 +1791,7 @@ export type RememberAiAgentSessionFactsMutation = Pick<Mutation, 'rememberAiAgen
|
|
|
1780
1791
|
export type AiAgentApprovalFragment = Pick<AiAgentApproval, 'agentId' | 'sessionId' | 'toolId' | 'toolName' | 'args' | 'channelId' | 'customerId' | 'requestedAt' | 'expiresAt' | 'status' | 'decidedBy' | 'decidedAt'>;
|
|
1781
1792
|
export type ListAiAgentApprovalsQueryVariables = Exact<{
|
|
1782
1793
|
agentId: Scalars['ID']['input'];
|
|
1783
|
-
status?: InputMaybe<
|
|
1794
|
+
status?: InputMaybe<AiAgentApprovalStatus>;
|
|
1784
1795
|
}>;
|
|
1785
1796
|
export type ListAiAgentApprovalsQuery = {
|
|
1786
1797
|
listAiAgentApprovals: Array<AiAgentApprovalFragment>;
|
|
@@ -1991,7 +2002,7 @@ export declare const AiAgentListingMetricsFieldsFragmentDoc = "\n fragment ai
|
|
|
1991
2002
|
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 ";
|
|
1992
2003
|
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 status\n updatedAt\n}\n ";
|
|
1993
2004
|
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 returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
1994
|
-
export declare const AiAgentTraceFragmentDoc = "\n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n agentId\n agentVersion\n input\n promptBuilderVersion\n masterRuleVersion\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n outcome\n haltReason\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 ";
|
|
2005
|
+
export declare const AiAgentTraceFragmentDoc = "\n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n agentId\n agentVersion\n input\n promptBuilderVersion\n masterRuleVersion\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n knowledgeQuery\n outcome\n haltReason\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 ";
|
|
1995
2006
|
export declare const AiAgentScenarioFragmentDoc = "\n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
1996
2007
|
export declare const AiAgentDashboardIndicatorFragmentDoc = "\n fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {\n value\n polarity\n variation {\n unit\n value\n }\n}\n ";
|
|
1997
2008
|
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 ";
|
|
@@ -2015,7 +2026,7 @@ export declare const ListAiAgentUseCasesDocument = "\n query listAiAgentUseCa
|
|
|
2015
2026
|
export declare const ListAiAgentProceduresDocument = "\n query listAiAgentProcedures($agentId: ID!) {\n listAiAgentProcedures(agentId: $agentId) {\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 ";
|
|
2016
2027
|
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 returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2017
2028
|
export declare const AiAgentUseCaseOverlapDocument = "\n query aiAgentUseCaseOverlap($agentId: ID!) {\n aiAgentUseCaseOverlap(agentId: $agentId) {\n threshold\n pairs {\n left\n right\n score\n }\n }\n}\n ";
|
|
2018
|
-
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 agentId\n agentVersion\n input\n promptBuilderVersion\n masterRuleVersion\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n outcome\n haltReason\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 ";
|
|
2029
|
+
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 agentId\n agentVersion\n input\n promptBuilderVersion\n masterRuleVersion\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n knowledgeQuery\n outcome\n haltReason\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 ";
|
|
2019
2030
|
export declare const ListAiAgentScenariosDocument = "\n query listAiAgentScenarios($agentId: ID!) {\n listAiAgentScenarios(agentId: $agentId) {\n ...aiAgentScenario\n }\n}\n \n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
2020
2031
|
export declare const ReindexAiAgentDashboardDocument = "\n mutation reindexAiAgentDashboard($input: ReindexAiAgentDashboardInput!) {\n reindexAiAgentDashboard(input: $input)\n}\n ";
|
|
2021
2032
|
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 ";
|
|
@@ -2029,7 +2040,7 @@ export declare const SaveAiAgentProcedureDocument = "\n mutation saveAiAgentP
|
|
|
2029
2040
|
export declare const RemoveAiAgentUseCaseDocument = "\n mutation removeAiAgentUseCase($input: AiAgentAuthoringRefInput!) {\n removeAiAgentUseCase(input: $input)\n}\n ";
|
|
2030
2041
|
export declare const RemoveAiAgentProcedureDocument = "\n mutation removeAiAgentProcedure($input: AiAgentAuthoringRefInput!) {\n removeAiAgentProcedure(input: $input)\n}\n ";
|
|
2031
2042
|
export declare const RememberAiAgentSessionFactsDocument = "\n mutation rememberAiAgentSessionFacts($input: RememberAiAgentSessionFactsInput!) {\n rememberAiAgentSessionFacts(input: $input)\n}\n ";
|
|
2032
|
-
export declare const ListAiAgentApprovalsDocument = "\n query listAiAgentApprovals($agentId: ID!, $status:
|
|
2043
|
+
export declare const ListAiAgentApprovalsDocument = "\n query listAiAgentApprovals($agentId: ID!, $status: AiAgentApprovalStatus) {\n listAiAgentApprovals(agentId: $agentId, status: $status) {\n ...aiAgentApproval\n }\n}\n \n fragment aiAgentApproval on AiAgentApproval {\n agentId\n sessionId\n toolId\n toolName\n args\n channelId\n customerId\n requestedAt\n expiresAt\n status\n decidedBy\n decidedAt\n}\n ";
|
|
2033
2044
|
export declare const ResolveAiAgentApprovalDocument = "\n mutation resolveAiAgentApproval($input: ResolveAiAgentApprovalInput!) {\n resolveAiAgentApproval(input: $input)\n}\n ";
|
|
2034
2045
|
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 returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2035
2046
|
export declare const UnregisterAiAgentToolDocument = "\n mutation unregisterAiAgentTool($input: UnregisterAiAgentToolInput!) {\n unregisterAiAgentTool(input: $input)\n}\n ";
|
package/src/sdks/ai.js
CHANGED
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = void 0;
|
|
4
|
+
exports.AiAgentCheckRunFragmentDoc = exports.AiAgentApprovalFragmentDoc = exports.AiAgentDashboardContactReasonFragmentDoc = exports.AiAgentDashboardSentimentFragmentDoc = exports.AiAgentDashboardIndicatorFragmentDoc = exports.AiAgentScenarioFragmentDoc = exports.AiAgentTraceFragmentDoc = exports.AiAgentToolFragmentDoc = exports.AiAgentProcedureFragmentDoc = exports.AiAgentUseCaseFragmentDoc = exports.AiAgentListingMetricsFieldsFragmentDoc = exports.AiAgentListingMetricsFragmentDoc = 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.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.AiAgentApprovalDecision = exports.AiAgentAnalysisFailureReason = void 0;
|
|
5
|
+
exports.RemoveNlpInstanceDocument = exports.UpdateNlpInstanceDocument = exports.CreateNlpInstanceDocument = exports.ListNlpInstancesDocument = exports.GetNlpInstanceDocument = exports.ExtractImageMetadataDocument = exports.AiAgentKnowledgeBasesDocument = exports.AiAgentRoutingPreviewDocument = exports.AiAgentVersionSpecDocument = exports.AiAgentMetricsDocument = exports.AiAgentCheckLimitsDocument = exports.GetAiAgentCheckRunDocument = exports.CheckAiAgentVersionDocument = exports.SaveAiAgentScenarioDocument = exports.RemoveAiAgentScenarioDocument = exports.UnregisterAiAgentToolDocument = exports.RegisterAiAgentToolDocument = exports.ResolveAiAgentApprovalDocument = 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.AiAgentMetricsByAgentDocument = exports.ListAiAgentVersionsDocument = exports.ListAiAgentsDocument = exports.QnaFragmentFragmentDoc = exports.NlpInstanceFragmentDoc = exports.AiAgentMetricsReportFragmentDoc = void 0;
|
|
6
|
+
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = exports.GetQnAInstanceDocument = exports.TestNlpInstanceDocument = void 0;
|
|
7
7
|
exports.getSdk = getSdk;
|
|
8
8
|
var AiAgentAnalysisFailureReason;
|
|
9
9
|
(function (AiAgentAnalysisFailureReason) {
|
|
10
10
|
AiAgentAnalysisFailureReason["InvalidReply"] = "invalid_reply";
|
|
11
11
|
AiAgentAnalysisFailureReason["ModelError"] = "model_error";
|
|
12
12
|
})(AiAgentAnalysisFailureReason || (exports.AiAgentAnalysisFailureReason = AiAgentAnalysisFailureReason = {}));
|
|
13
|
+
var AiAgentApprovalDecision;
|
|
14
|
+
(function (AiAgentApprovalDecision) {
|
|
15
|
+
AiAgentApprovalDecision["Approved"] = "approved";
|
|
16
|
+
AiAgentApprovalDecision["Rejected"] = "rejected";
|
|
17
|
+
})(AiAgentApprovalDecision || (exports.AiAgentApprovalDecision = AiAgentApprovalDecision = {}));
|
|
18
|
+
var AiAgentApprovalStatus;
|
|
19
|
+
(function (AiAgentApprovalStatus) {
|
|
20
|
+
AiAgentApprovalStatus["Approved"] = "approved";
|
|
21
|
+
AiAgentApprovalStatus["Expired"] = "expired";
|
|
22
|
+
AiAgentApprovalStatus["Pending"] = "pending";
|
|
23
|
+
AiAgentApprovalStatus["Rejected"] = "rejected";
|
|
24
|
+
})(AiAgentApprovalStatus || (exports.AiAgentApprovalStatus = AiAgentApprovalStatus = {}));
|
|
13
25
|
var AiAgentChannelType;
|
|
14
26
|
(function (AiAgentChannelType) {
|
|
15
27
|
AiAgentChannelType["Email"] = "email";
|
|
@@ -419,6 +431,7 @@ exports.AiAgentTraceFragmentDoc = `
|
|
|
419
431
|
identificationRequired
|
|
420
432
|
promptFingerprint
|
|
421
433
|
knowledgeOrigins
|
|
434
|
+
knowledgeQuery
|
|
422
435
|
outcome
|
|
423
436
|
haltReason
|
|
424
437
|
steps
|
|
@@ -1154,7 +1167,7 @@ exports.RememberAiAgentSessionFactsDocument = `
|
|
|
1154
1167
|
}
|
|
1155
1168
|
`;
|
|
1156
1169
|
exports.ListAiAgentApprovalsDocument = `
|
|
1157
|
-
query listAiAgentApprovals($agentId: ID!, $status:
|
|
1170
|
+
query listAiAgentApprovals($agentId: ID!, $status: AiAgentApprovalStatus) {
|
|
1158
1171
|
listAiAgentApprovals(agentId: $agentId, status: $status) {
|
|
1159
1172
|
...aiAgentApproval
|
|
1160
1173
|
}
|
package/src/sdks/drozbot.d.ts
CHANGED
|
@@ -224,8 +224,9 @@ export type CreateDrozBotTicketCommentsInput = {
|
|
|
224
224
|
ticketId: Scalars['ID']['input'];
|
|
225
225
|
};
|
|
226
226
|
export type CreateDrozBotTicketInput = {
|
|
227
|
-
/**
|
|
227
|
+
/** @deprecated Use aiAgentId */
|
|
228
228
|
agentId?: InputMaybe<Scalars['ID']['input']>;
|
|
229
|
+
aiAgentId?: InputMaybe<Scalars['ID']['input']>;
|
|
229
230
|
channel?: InputMaybe<ConversationChannelKind>;
|
|
230
231
|
collectedFacts?: InputMaybe<Scalars['JSON']['input']>;
|
|
231
232
|
comment?: InputMaybe<Scalars['String']['input']>;
|