@droz-js/sdk 0.26.33 → 0.26.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sdks/ai.d.ts +3 -2
- package/src/sdks/ai.js +1 -0
package/package.json
CHANGED
package/src/sdks/ai.d.ts
CHANGED
|
@@ -758,6 +758,7 @@ export type AiAgentMetricsWindowInput = {
|
|
|
758
758
|
};
|
|
759
759
|
export type AiAgentNativeAction = {
|
|
760
760
|
acceptsQueue: Scalars['Boolean']['output'];
|
|
761
|
+
labelKey: Scalars['String']['output'];
|
|
761
762
|
name: Scalars['String']['output'];
|
|
762
763
|
toolId: Scalars['ID']['output'];
|
|
763
764
|
};
|
|
@@ -1857,7 +1858,7 @@ export type ListAiAgentNativeActionsQueryVariables = Exact<{
|
|
|
1857
1858
|
[key: string]: never;
|
|
1858
1859
|
}>;
|
|
1859
1860
|
export type ListAiAgentNativeActionsQuery = {
|
|
1860
|
-
listAiAgentNativeActions: Array<Pick<AiAgentNativeAction, 'toolId' | 'name' | 'acceptsQueue'>>;
|
|
1861
|
+
listAiAgentNativeActions: Array<Pick<AiAgentNativeAction, 'toolId' | 'name' | 'labelKey' | 'acceptsQueue'>>;
|
|
1861
1862
|
};
|
|
1862
1863
|
export type AiAgentUseCaseOverlapQueryVariables = Exact<{
|
|
1863
1864
|
aiAgentId: Scalars['ID']['input'];
|
|
@@ -2260,7 +2261,7 @@ export declare const RemoveAiAgentDocument = "\n mutation removeAiAgent($inpu
|
|
|
2260
2261
|
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 ";
|
|
2261
2262
|
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 steps {\n segments {\n kind\n text\n name\n toolId\n approvalQueueId\n }\n }\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvalQueueId\n retentionCondition {\n toolId\n parameter\n operator\n value\n }\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 ";
|
|
2262
2263
|
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 concludedWhen\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n deliverAsIs\n approvalMode\n confirmation {\n summaryField\n tokenField\n tokenArg\n }\n parameters {\n name\n type\n required\n description\n grounding\n format\n outputFormat\n }\n}\n ";
|
|
2263
|
-
export declare const ListAiAgentNativeActionsDocument = "\n query listAiAgentNativeActions {\n listAiAgentNativeActions {\n toolId\n name\n acceptsQueue\n }\n}\n ";
|
|
2264
|
+
export declare const ListAiAgentNativeActionsDocument = "\n query listAiAgentNativeActions {\n listAiAgentNativeActions {\n toolId\n name\n labelKey\n acceptsQueue\n }\n}\n ";
|
|
2264
2265
|
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 ";
|
|
2265
2266
|
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 platformTextVersions\n agentPromptTexts {\n key\n scope\n version\n }\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 held\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2266
2267
|
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 ";
|