@droz-js/sdk 0.26.29 → 0.26.30

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.26.29",
4
+ "version": "0.26.30",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",
package/src/sdks/ai.d.ts CHANGED
@@ -1797,7 +1797,7 @@ export type AiAgentProcedureFragment = (Pick<AiAgentProcedure, 'id' | 'name' | '
1797
1797
  export type AiAgentToolFragment = (Pick<AiAgentTool, 'toolId' | 'name' | 'description' | 'effect' | 'availability' | 'requiresAuthenticatedCustomer' | 'onFailure' | 'concludedWhen' | 'emptyResultMessage' | 'customerScope' | 'returns' | 'deliverAsIs' | 'approvalMode'> & {
1798
1798
  recordOwner?: Maybe<Pick<AiAgentToolRecordOwner, 'listPath' | 'ownerField' | 'ownerParameters'>>;
1799
1799
  confirmation?: Maybe<Pick<AiAgentToolConfirmation, 'summaryField' | 'tokenField' | 'tokenArg'>>;
1800
- parameters: Array<Pick<AiAgentToolParameter, 'name' | 'type' | 'required' | 'description' | 'grounding' | 'format'>>;
1800
+ parameters: Array<Pick<AiAgentToolParameter, 'name' | 'type' | 'required' | 'description' | 'grounding' | 'format' | 'outputFormat'>>;
1801
1801
  });
1802
1802
  export type AiAgentTraceFragment = (Pick<AiAgentTrace, 'sessionId' | 'turn' | 'aiAgentId' | 'agentVersion' | 'input' | 'promptBuilderVersion' | 'platformTextVersions' | 'identificationRequired' | 'promptFingerprint' | 'knowledgeOrigins' | 'knowledgeQuery' | 'outcome' | 'haltReason' | 'handoffHeld' | 'unbackedClaim' | 'unbackedClaimKinds' | 'steps' | 'answer' | 'startedAt' | 'model' | 'reasoningEffort'> & {
1803
1803
  agentPromptTexts: Array<Pick<AiAgentPlatformTextRef, 'key' | 'scope' | 'version'>>;
@@ -2204,7 +2204,7 @@ export declare const AiAgentVersionWithSpecFragmentDoc = "\n fragment aiAgent
2204
2204
  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 ";
2205
2205
  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 ";
2206
2206
  export declare const AiAgentProcedureFragmentDoc = "\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 approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
2207
- export declare const AiAgentToolFragmentDoc = "\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 }\n}\n ";
2207
+ export declare const AiAgentToolFragmentDoc = "\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 ";
2208
2208
  export declare const AiAgentTraceFragmentDoc = "\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 ";
2209
2209
  export declare const AiAgentScenarioFragmentDoc = "\n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
2210
2210
  export declare const AiAgentBusinessHoursFragmentDoc = "\n fragment aiAgentBusinessHours on AiAgentBusinessHours {\n source\n product\n recordId\n days {\n weekday\n enabled\n slots {\n start\n end\n }\n }\n status\n alert\n receivedAt\n}\n ";
@@ -2227,7 +2227,7 @@ export declare const RemoveAiAgentVersionDocument = "\n mutation removeAiAgen
2227
2227
  export declare const RemoveAiAgentDocument = "\n mutation removeAiAgent($input: AiAgentRefInput!) {\n removeAiAgent(input: $input)\n}\n ";
2228
2228
  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 ";
2229
2229
  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 approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
2230
- 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 }\n}\n ";
2230
+ 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 ";
2231
2231
  export declare const ListAiAgentNativeActionsDocument = "\n query listAiAgentNativeActions {\n listAiAgentNativeActions {\n toolId\n name\n acceptsQueue\n }\n}\n ";
2232
2232
  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 ";
2233
2233
  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 ";
@@ -2251,7 +2251,7 @@ export declare const ListAiAgentApprovalsDocument = "\n query listAiAgentAppr
2251
2251
  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 ";
2252
2252
  export declare const ResolveAiAgentApprovalDocument = "\n mutation resolveAiAgentApproval($input: ResolveAiAgentApprovalInput!) {\n resolveAiAgentApproval(input: $input)\n}\n ";
2253
2253
  export declare const DecideAiAgentApprovalDocument = "\n mutation decideAiAgentApproval($input: ResolveAiAgentApprovalInput!) {\n decideAiAgentApproval(input: $input)\n}\n ";
2254
- 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 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 }\n}\n ";
2254
+ 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 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 ";
2255
2255
  export declare const UnregisterAiAgentToolDocument = "\n mutation unregisterAiAgentTool($input: UnregisterAiAgentToolInput!) {\n unregisterAiAgentTool(input: $input)\n}\n ";
2256
2256
  export declare const RemoveAiAgentScenarioDocument = "\n mutation removeAiAgentScenario($input: RemoveAiAgentScenarioInput!) {\n removeAiAgentScenario(input: $input)\n}\n ";
2257
2257
  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 ";
package/src/sdks/ai.js CHANGED
@@ -559,6 +559,7 @@ exports.AiAgentToolFragmentDoc = `
559
559
  description
560
560
  grounding
561
561
  format
562
+ outputFormat
562
563
  }
563
564
  }
564
565
  `;