@mistralai/mistralai 1.10.0 → 1.11.0
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/README.md +21 -7
- package/funcs/audioTranscriptionsStream.d.ts +1 -1
- package/funcs/audioTranscriptionsStream.js +1 -1
- package/funcs/betaAgentsDelete.d.ts +15 -0
- package/funcs/betaAgentsDelete.d.ts.map +1 -0
- package/funcs/betaAgentsDelete.js +121 -0
- package/funcs/betaAgentsDelete.js.map +1 -0
- package/funcs/betaAgentsGet.js +4 -0
- package/funcs/betaAgentsGet.js.map +1 -1
- package/funcs/betaAgentsList.js +5 -0
- package/funcs/betaAgentsList.js.map +1 -1
- package/funcs/betaConversationsDelete.d.ts +18 -0
- package/funcs/betaConversationsDelete.d.ts.map +1 -0
- package/funcs/betaConversationsDelete.js +124 -0
- package/funcs/betaConversationsDelete.js.map +1 -0
- package/funcs/betaConversationsList.js +1 -0
- package/funcs/betaConversationsList.js.map +1 -1
- package/funcs/betaLibrariesDocumentsList.d.ts +1 -1
- package/funcs/betaLibrariesDocumentsList.js +2 -1
- package/funcs/betaLibrariesDocumentsList.js.map +1 -1
- package/funcs/filesList.js +1 -0
- package/funcs/filesList.js.map +1 -1
- package/funcs/modelsList.d.ts +1 -2
- package/funcs/modelsList.d.ts.map +1 -1
- package/funcs/modelsList.js +2 -6
- package/funcs/modelsList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agent.d.ts +12 -0
- package/models/components/agent.d.ts.map +1 -1
- package/models/components/agent.js +10 -0
- package/models/components/agent.js.map +1 -1
- package/models/components/agentconversation.d.ts +11 -0
- package/models/components/agentconversation.d.ts.map +1 -1
- package/models/components/agentconversation.js +6 -0
- package/models/components/agentconversation.js.map +1 -1
- package/models/components/agentcreationrequest.d.ts +6 -0
- package/models/components/agentcreationrequest.d.ts.map +1 -1
- package/models/components/agentcreationrequest.js +2 -0
- package/models/components/agentcreationrequest.js.map +1 -1
- package/models/components/agentscompletionrequest.d.ts +14 -2
- package/models/components/agentscompletionrequest.d.ts.map +1 -1
- package/models/components/agentscompletionrequest.js +2 -0
- package/models/components/agentscompletionrequest.js.map +1 -1
- package/models/components/agentscompletionstreamrequest.d.ts +14 -2
- package/models/components/agentscompletionstreamrequest.d.ts.map +1 -1
- package/models/components/agentscompletionstreamrequest.js +2 -0
- package/models/components/agentscompletionstreamrequest.js.map +1 -1
- package/models/components/agentupdaterequest.d.ts +8 -0
- package/models/components/agentupdaterequest.d.ts.map +1 -1
- package/models/components/agentupdaterequest.js +6 -0
- package/models/components/agentupdaterequest.js.map +1 -1
- package/models/components/audiotranscriptionrequest.d.ts +3 -0
- package/models/components/audiotranscriptionrequest.d.ts.map +1 -1
- package/models/components/audiotranscriptionrequest.js.map +1 -1
- package/models/components/batchjobin.d.ts +15 -0
- package/models/components/batchjobin.d.ts.map +1 -1
- package/models/components/batchjobin.js.map +1 -1
- package/models/components/chatcompletionrequest.d.ts +26 -2
- package/models/components/chatcompletionrequest.d.ts.map +1 -1
- package/models/components/chatcompletionrequest.js +2 -0
- package/models/components/chatcompletionrequest.js.map +1 -1
- package/models/components/chatcompletionstreamrequest.d.ts +26 -2
- package/models/components/chatcompletionstreamrequest.d.ts.map +1 -1
- package/models/components/chatcompletionstreamrequest.js +2 -0
- package/models/components/chatcompletionstreamrequest.js.map +1 -1
- package/models/components/conversationrequest.d.ts +13 -2
- package/models/components/conversationrequest.d.ts.map +1 -1
- package/models/components/conversationrequest.js +16 -6
- package/models/components/conversationrequest.js.map +1 -1
- package/models/components/conversationrestartrequest.d.ts +14 -0
- package/models/components/conversationrestartrequest.d.ts.map +1 -1
- package/models/components/conversationrestartrequest.js +6 -0
- package/models/components/conversationrestartrequest.js.map +1 -1
- package/models/components/conversationrestartstreamrequest.d.ts +14 -0
- package/models/components/conversationrestartstreamrequest.d.ts.map +1 -1
- package/models/components/conversationrestartstreamrequest.js +6 -0
- package/models/components/conversationrestartstreamrequest.js.map +1 -1
- package/models/components/conversationstreamrequest.d.ts +13 -2
- package/models/components/conversationstreamrequest.d.ts.map +1 -1
- package/models/components/conversationstreamrequest.js +16 -6
- package/models/components/conversationstreamrequest.js.map +1 -1
- package/models/components/documentout.d.ts +18 -10
- package/models/components/documentout.d.ts.map +1 -1
- package/models/components/documentout.js +14 -10
- package/models/components/documentout.js.map +1 -1
- package/models/components/documentupdatein.d.ts +27 -0
- package/models/components/documentupdatein.d.ts.map +1 -1
- package/models/components/documentupdatein.js +66 -1
- package/models/components/documentupdatein.js.map +1 -1
- package/models/components/embeddingrequest.d.ts +4 -4
- package/models/components/fimcompletionrequest.d.ts +7 -5
- package/models/components/fimcompletionrequest.d.ts.map +1 -1
- package/models/components/fimcompletionrequest.js +2 -0
- package/models/components/fimcompletionrequest.js.map +1 -1
- package/models/components/fimcompletionstreamrequest.d.ts +7 -5
- package/models/components/fimcompletionstreamrequest.d.ts.map +1 -1
- package/models/components/fimcompletionstreamrequest.js +2 -0
- package/models/components/fimcompletionstreamrequest.js.map +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/libraryout.d.ts +7 -4
- package/models/components/libraryout.d.ts.map +1 -1
- package/models/components/libraryout.js +6 -6
- package/models/components/libraryout.js.map +1 -1
- package/models/components/listfilesout.d.ts +2 -2
- package/models/components/listfilesout.d.ts.map +1 -1
- package/models/components/listfilesout.js +2 -2
- package/models/components/listfilesout.js.map +1 -1
- package/models/components/modelcapabilities.d.ts +8 -2
- package/models/components/modelcapabilities.d.ts.map +1 -1
- package/models/components/modelcapabilities.js +12 -6
- package/models/components/modelcapabilities.js.map +1 -1
- package/models/components/modelconversation.d.ts +9 -0
- package/models/components/modelconversation.d.ts.map +1 -1
- package/models/components/modelconversation.js +2 -0
- package/models/components/modelconversation.js.map +1 -1
- package/models/components/ocrpageobject.d.ts +21 -0
- package/models/components/ocrpageobject.d.ts.map +1 -1
- package/models/components/ocrpageobject.js +9 -0
- package/models/components/ocrpageobject.js.map +1 -1
- package/models/components/ocrrequest.d.ts +32 -0
- package/models/components/ocrrequest.d.ts.map +1 -1
- package/models/components/ocrrequest.js +33 -1
- package/models/components/ocrrequest.js.map +1 -1
- package/models/components/ocrtableobject.d.ts +74 -0
- package/models/components/ocrtableobject.d.ts.map +1 -0
- package/models/components/ocrtableobject.js +96 -0
- package/models/components/ocrtableobject.js.map +1 -0
- package/models/components/prediction.d.ts +3 -0
- package/models/components/prediction.d.ts.map +1 -1
- package/models/components/prediction.js.map +1 -1
- package/models/components/requestsource.d.ts +31 -0
- package/models/components/requestsource.d.ts.map +1 -0
- package/models/components/requestsource.js +61 -0
- package/models/components/requestsource.js.map +1 -0
- package/models/components/responseformat.d.ts +3 -3
- package/models/components/responseformat.d.ts.map +1 -1
- package/models/components/responseformats.d.ts +0 -6
- package/models/components/responseformats.d.ts.map +1 -1
- package/models/components/responseformats.js +0 -3
- package/models/components/responseformats.js.map +1 -1
- package/models/components/sharingdelete.d.ts +2 -2
- package/models/components/sharingdelete.d.ts.map +1 -1
- package/models/components/sharingdelete.js +2 -2
- package/models/components/sharingdelete.js.map +1 -1
- package/models/components/sharingin.d.ts +2 -2
- package/models/components/sharingin.d.ts.map +1 -1
- package/models/components/sharingin.js +2 -2
- package/models/components/sharingin.js.map +1 -1
- package/models/components/sharingout.d.ts +2 -2
- package/models/components/sharingout.d.ts.map +1 -1
- package/models/components/sharingout.js +2 -2
- package/models/components/sharingout.js.map +1 -1
- package/models/components/toolexecutiondeltaevent.d.ts +23 -2
- package/models/components/toolexecutiondeltaevent.d.ts.map +1 -1
- package/models/components/toolexecutiondeltaevent.js +26 -3
- package/models/components/toolexecutiondeltaevent.js.map +1 -1
- package/models/components/toolexecutiondoneevent.d.ts +23 -2
- package/models/components/toolexecutiondoneevent.d.ts.map +1 -1
- package/models/components/toolexecutiondoneevent.js +26 -3
- package/models/components/toolexecutiondoneevent.js.map +1 -1
- package/models/components/toolexecutionentry.d.ts +23 -2
- package/models/components/toolexecutionentry.d.ts.map +1 -1
- package/models/components/toolexecutionentry.js +27 -3
- package/models/components/toolexecutionentry.js.map +1 -1
- package/models/components/toolexecutionstartedevent.d.ts +23 -2
- package/models/components/toolexecutionstartedevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedevent.js +26 -3
- package/models/components/toolexecutionstartedevent.js.map +1 -1
- package/models/operations/agentsapiv1agentsdelete.d.ts +29 -0
- package/models/operations/agentsapiv1agentsdelete.d.ts.map +1 -0
- package/models/operations/agentsapiv1agentsdelete.js +78 -0
- package/models/operations/agentsapiv1agentsdelete.js.map +1 -0
- package/models/operations/agentsapiv1agentsget.d.ts +2 -0
- package/models/operations/agentsapiv1agentsget.d.ts.map +1 -1
- package/models/operations/agentsapiv1agentsget.js +4 -0
- package/models/operations/agentsapiv1agentsget.js.map +1 -1
- package/models/operations/agentsapiv1agentslist.d.ts +15 -0
- package/models/operations/agentsapiv1agentslist.d.ts.map +1 -1
- package/models/operations/agentsapiv1agentslist.js +15 -0
- package/models/operations/agentsapiv1agentslist.js.map +1 -1
- package/models/operations/agentsapiv1conversationsdelete.d.ts +32 -0
- package/models/operations/agentsapiv1conversationsdelete.d.ts.map +1 -0
- package/models/operations/agentsapiv1conversationsdelete.js +78 -0
- package/models/operations/agentsapiv1conversationsdelete.js.map +1 -0
- package/models/operations/agentsapiv1conversationslist.d.ts +6 -0
- package/models/operations/agentsapiv1conversationslist.d.ts.map +1 -1
- package/models/operations/agentsapiv1conversationslist.js +2 -0
- package/models/operations/agentsapiv1conversationslist.js.map +1 -1
- package/models/operations/filesapirouteslistfiles.d.ts +2 -0
- package/models/operations/filesapirouteslistfiles.d.ts.map +1 -1
- package/models/operations/filesapirouteslistfiles.js +4 -0
- package/models/operations/filesapirouteslistfiles.js.map +1 -1
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/librariesdocumentslistv1.d.ts +2 -0
- package/models/operations/librariesdocumentslistv1.d.ts.map +1 -1
- package/models/operations/librariesdocumentslistv1.js +4 -0
- package/models/operations/librariesdocumentslistv1.js.map +1 -1
- package/package.json +1 -1
- package/sdk/conversations.d.ts +7 -0
- package/sdk/conversations.d.ts.map +1 -1
- package/sdk/conversations.js +10 -0
- package/sdk/conversations.js.map +1 -1
- package/sdk/documents.d.ts +1 -1
- package/sdk/documents.js +1 -1
- package/sdk/mistralagents.d.ts +4 -0
- package/sdk/mistralagents.d.ts.map +1 -1
- package/sdk/mistralagents.js +7 -0
- package/sdk/mistralagents.js.map +1 -1
- package/sdk/transcriptions.d.ts +1 -1
- package/sdk/transcriptions.js +1 -1
- package/src/funcs/audioTranscriptionsStream.ts +1 -1
- package/src/funcs/betaAgentsDelete.ts +174 -0
- package/src/funcs/betaAgentsGet.ts +6 -1
- package/src/funcs/betaAgentsList.ts +5 -0
- package/src/funcs/betaConversationsDelete.ts +179 -0
- package/src/funcs/betaConversationsList.ts +1 -0
- package/src/funcs/betaLibrariesDocumentsList.ts +2 -1
- package/src/funcs/filesList.ts +1 -0
- package/src/funcs/modelsList.ts +2 -11
- package/src/lib/config.ts +2 -2
- package/src/models/components/agent.ts +18 -0
- package/src/models/components/agentconversation.ts +13 -0
- package/src/models/components/agentcreationrequest.ts +4 -0
- package/src/models/components/agentscompletionrequest.ts +12 -2
- package/src/models/components/agentscompletionstreamrequest.ts +12 -2
- package/src/models/components/agentupdaterequest.ts +10 -0
- package/src/models/components/audiotranscriptionrequest.ts +3 -0
- package/src/models/components/batchjobin.ts +15 -0
- package/src/models/components/chatcompletionrequest.ts +24 -2
- package/src/models/components/chatcompletionstreamrequest.ts +24 -2
- package/src/models/components/conversationrequest.ts +79 -72
- package/src/models/components/conversationrestartrequest.ts +16 -0
- package/src/models/components/conversationrestartstreamrequest.ts +16 -0
- package/src/models/components/conversationstreamrequest.ts +79 -72
- package/src/models/components/documentout.ts +28 -20
- package/src/models/components/documentupdatein.ts +144 -0
- package/src/models/components/embeddingrequest.ts +4 -4
- package/src/models/components/fimcompletionrequest.ts +5 -5
- package/src/models/components/fimcompletionstreamrequest.ts +5 -5
- package/src/models/components/index.ts +2 -0
- package/src/models/components/libraryout.ts +13 -10
- package/src/models/components/listfilesout.ts +4 -4
- package/src/models/components/modelcapabilities.ts +20 -8
- package/src/models/components/modelconversation.ts +7 -0
- package/src/models/components/ocrpageobject.ts +34 -0
- package/src/models/components/ocrrequest.ts +44 -0
- package/src/models/components/ocrtableobject.ts +111 -0
- package/src/models/components/prediction.ts +3 -0
- package/src/models/components/requestsource.ts +34 -0
- package/src/models/components/responseformat.ts +3 -3
- package/src/models/components/responseformats.ts +0 -6
- package/src/models/components/sharingdelete.ts +4 -4
- package/src/models/components/sharingin.ts +4 -4
- package/src/models/components/sharingout.ts +4 -4
- package/src/models/components/toolexecutiondeltaevent.ts +56 -4
- package/src/models/components/toolexecutiondoneevent.ts +54 -4
- package/src/models/components/toolexecutionentry.ts +44 -4
- package/src/models/components/toolexecutionstartedevent.ts +56 -4
- package/src/models/operations/agentsapiv1agentsdelete.ts +77 -0
- package/src/models/operations/agentsapiv1agentsget.ts +6 -0
- package/src/models/operations/agentsapiv1agentslist.ts +25 -0
- package/src/models/operations/agentsapiv1conversationsdelete.ts +83 -0
- package/src/models/operations/agentsapiv1conversationslist.ts +4 -0
- package/src/models/operations/filesapirouteslistfiles.ts +6 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/librariesdocumentslistv1.ts +6 -0
- package/src/sdk/conversations.ts +18 -0
- package/src/sdk/documents.ts +1 -1
- package/src/sdk/mistralagents.ts +15 -0
- package/src/sdk/transcriptions.ts +1 -1
- package/.devcontainer/README.md +0 -35
- package/docs/sdks/accesses/README.md +0 -256
- package/docs/sdks/agents/README.md +0 -189
- package/docs/sdks/audio/README.md +0 -6
- package/docs/sdks/batch/README.md +0 -6
- package/docs/sdks/beta/README.md +0 -6
- package/docs/sdks/chat/README.md +0 -189
- package/docs/sdks/classifiers/README.md +0 -355
- package/docs/sdks/conversations/README.md +0 -835
- package/docs/sdks/documents/README.md +0 -785
- package/docs/sdks/embeddings/README.md +0 -92
- package/docs/sdks/files/README.md +0 -455
- package/docs/sdks/fim/README.md +0 -173
- package/docs/sdks/finetuning/README.md +0 -6
- package/docs/sdks/jobs/README.md +0 -379
- package/docs/sdks/libraries/README.md +0 -380
- package/docs/sdks/mistral/README.md +0 -7
- package/docs/sdks/mistralagents/README.md +0 -386
- package/docs/sdks/mistraljobs/README.md +0 -305
- package/docs/sdks/models/README.md +0 -453
- package/docs/sdks/ocr/README.md +0 -92
- package/docs/sdks/transcriptions/README.md +0 -163
- package/examples/README.md +0 -44
- package/packages/mistralai-azure/FUNCTIONS.md +0 -111
- package/packages/mistralai-azure/LICENSE +0 -201
- package/packages/mistralai-azure/README.md +0 -447
- package/packages/mistralai-azure/RUNTIMES.md +0 -48
- package/packages/mistralai-azure/docs/sdks/chat/README.md +0 -114
- package/packages/mistralai-azure/docs/sdks/mistralazure/README.md +0 -9
- package/packages/mistralai-gcp/FUNCTIONS.md +0 -112
- package/packages/mistralai-gcp/LICENSE +0 -201
- package/packages/mistralai-gcp/README.md +0 -455
- package/packages/mistralai-gcp/RUNTIMES.md +0 -48
- package/packages/mistralai-gcp/docs/sdks/chat/README.md +0 -115
- package/packages/mistralai-gcp/docs/sdks/fim/README.md +0 -58
- package/packages/mistralai-gcp/docs/sdks/mistralgcp/README.md +0 -9
- package/src/extra/README.md +0 -52
|
@@ -49,7 +49,7 @@ exports.SharingOut$inboundSchema = z.object({
|
|
|
49
49
|
org_id: z.string(),
|
|
50
50
|
role: z.string(),
|
|
51
51
|
share_with_type: z.string(),
|
|
52
|
-
share_with_uuid: z.string(),
|
|
52
|
+
share_with_uuid: z.nullable(z.string()),
|
|
53
53
|
}).transform((v) => {
|
|
54
54
|
return (0, primitives_js_1.remap)(v, {
|
|
55
55
|
"library_id": "libraryId",
|
|
@@ -66,7 +66,7 @@ exports.SharingOut$outboundSchema = z.object({
|
|
|
66
66
|
orgId: z.string(),
|
|
67
67
|
role: z.string(),
|
|
68
68
|
shareWithType: z.string(),
|
|
69
|
-
shareWithUuid: z.string(),
|
|
69
|
+
shareWithUuid: z.nullable(z.string()),
|
|
70
70
|
}).transform((v) => {
|
|
71
71
|
return (0, primitives_js_1.remap)(v, {
|
|
72
72
|
libraryId: "library_id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharingout.js","sourceRoot":"","sources":["../../src/models/components/sharingout.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoFH,4CAEC;AAED,gDAQC;AA9FD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAajD,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"sharingout.js","sourceRoot":"","sources":["../../src/models/components/sharingout.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoFH,4CAEC;AAED,gDAQC;AA9FD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAajD,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,CAAC,CAAC,QAAQ,C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B,WAAW;IAC1B,0DAA0D;IAC7C,yBAAa,GAAG,gCAAwB,CAAC;IACtD,2DAA2D;IAC9C,0BAAc,GAAG,iCAAyB,CAAC;AAG1D,CAAC,EAPgB,WAAW,2BAAX,WAAW,QAO3B;AAED,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,iCAAyB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AACrE,CAAC;AAED,SAAgB,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
|
|
@@ -7,12 +7,13 @@ export declare const ToolExecutionDeltaEventType: {
|
|
|
7
7
|
readonly ToolExecutionDelta: "tool.execution.delta";
|
|
8
8
|
};
|
|
9
9
|
export type ToolExecutionDeltaEventType = ClosedEnum<typeof ToolExecutionDeltaEventType>;
|
|
10
|
+
export type ToolExecutionDeltaEventName = BuiltInConnectors | string;
|
|
10
11
|
export type ToolExecutionDeltaEvent = {
|
|
11
12
|
type?: ToolExecutionDeltaEventType | undefined;
|
|
12
13
|
createdAt?: Date | undefined;
|
|
13
14
|
outputIndex?: number | undefined;
|
|
14
15
|
id: string;
|
|
15
|
-
name: BuiltInConnectors;
|
|
16
|
+
name: BuiltInConnectors | string;
|
|
16
17
|
arguments: string;
|
|
17
18
|
};
|
|
18
19
|
/** @internal */
|
|
@@ -34,6 +35,26 @@ export declare namespace ToolExecutionDeltaEventType$ {
|
|
|
34
35
|
}>;
|
|
35
36
|
}
|
|
36
37
|
/** @internal */
|
|
38
|
+
export declare const ToolExecutionDeltaEventName$inboundSchema: z.ZodType<ToolExecutionDeltaEventName, z.ZodTypeDef, unknown>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export type ToolExecutionDeltaEventName$Outbound = string | string;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const ToolExecutionDeltaEventName$outboundSchema: z.ZodType<ToolExecutionDeltaEventName$Outbound, z.ZodTypeDef, ToolExecutionDeltaEventName>;
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
+
*/
|
|
47
|
+
export declare namespace ToolExecutionDeltaEventName$ {
|
|
48
|
+
/** @deprecated use `ToolExecutionDeltaEventName$inboundSchema` instead. */
|
|
49
|
+
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
50
|
+
/** @deprecated use `ToolExecutionDeltaEventName$outboundSchema` instead. */
|
|
51
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
52
|
+
/** @deprecated use `ToolExecutionDeltaEventName$Outbound` instead. */
|
|
53
|
+
type Outbound = ToolExecutionDeltaEventName$Outbound;
|
|
54
|
+
}
|
|
55
|
+
export declare function toolExecutionDeltaEventNameToJSON(toolExecutionDeltaEventName: ToolExecutionDeltaEventName): string;
|
|
56
|
+
export declare function toolExecutionDeltaEventNameFromJSON(jsonString: string): SafeParseResult<ToolExecutionDeltaEventName, SDKValidationError>;
|
|
57
|
+
/** @internal */
|
|
37
58
|
export declare const ToolExecutionDeltaEvent$inboundSchema: z.ZodType<ToolExecutionDeltaEvent, z.ZodTypeDef, unknown>;
|
|
38
59
|
/** @internal */
|
|
39
60
|
export type ToolExecutionDeltaEvent$Outbound = {
|
|
@@ -41,7 +62,7 @@ export type ToolExecutionDeltaEvent$Outbound = {
|
|
|
41
62
|
created_at?: string | undefined;
|
|
42
63
|
output_index: number;
|
|
43
64
|
id: string;
|
|
44
|
-
name: string;
|
|
65
|
+
name: string | string;
|
|
45
66
|
arguments: string;
|
|
46
67
|
};
|
|
47
68
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolexecutiondeltaevent.d.ts","sourceRoot":"","sources":["../../src/models/components/toolexecutiondeltaevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,2BAA2B;;CAE9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAC/C,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"toolexecutiondeltaevent.d.ts","sourceRoot":"","sources":["../../src/models/components/toolexecutiondeltaevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,2BAA2B;;CAE9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,GAAG,MAAM,CAAC;AAErE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R;AAED,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,2BAA2B,EAAE,kBAAkB,CAAC,CAMlE;AAED,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAevB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD;AAED,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ToolExecutionDeltaEvent$ = exports.ToolExecutionDeltaEvent$outboundSchema = exports.ToolExecutionDeltaEvent$inboundSchema = exports.ToolExecutionDeltaEventType$ = exports.ToolExecutionDeltaEventType$outboundSchema = exports.ToolExecutionDeltaEventType$inboundSchema = exports.ToolExecutionDeltaEventType = void 0;
|
|
39
|
+
exports.ToolExecutionDeltaEvent$ = exports.ToolExecutionDeltaEvent$outboundSchema = exports.ToolExecutionDeltaEvent$inboundSchema = exports.ToolExecutionDeltaEventName$ = exports.ToolExecutionDeltaEventName$outboundSchema = exports.ToolExecutionDeltaEventName$inboundSchema = exports.ToolExecutionDeltaEventType$ = exports.ToolExecutionDeltaEventType$outboundSchema = exports.ToolExecutionDeltaEventType$inboundSchema = exports.ToolExecutionDeltaEventType = void 0;
|
|
40
|
+
exports.toolExecutionDeltaEventNameToJSON = toolExecutionDeltaEventNameToJSON;
|
|
41
|
+
exports.toolExecutionDeltaEventNameFromJSON = toolExecutionDeltaEventNameFromJSON;
|
|
40
42
|
exports.toolExecutionDeltaEventToJSON = toolExecutionDeltaEventToJSON;
|
|
41
43
|
exports.toolExecutionDeltaEventFromJSON = toolExecutionDeltaEventFromJSON;
|
|
42
44
|
const z = __importStar(require("zod"));
|
|
@@ -62,13 +64,34 @@ var ToolExecutionDeltaEventType$;
|
|
|
62
64
|
ToolExecutionDeltaEventType$.outboundSchema = exports.ToolExecutionDeltaEventType$outboundSchema;
|
|
63
65
|
})(ToolExecutionDeltaEventType$ || (exports.ToolExecutionDeltaEventType$ = ToolExecutionDeltaEventType$ = {}));
|
|
64
66
|
/** @internal */
|
|
67
|
+
exports.ToolExecutionDeltaEventName$inboundSchema = z.union([builtinconnectors_js_1.BuiltInConnectors$inboundSchema, z.string()]);
|
|
68
|
+
/** @internal */
|
|
69
|
+
exports.ToolExecutionDeltaEventName$outboundSchema = z.union([builtinconnectors_js_1.BuiltInConnectors$outboundSchema, z.string()]);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
var ToolExecutionDeltaEventName$;
|
|
75
|
+
(function (ToolExecutionDeltaEventName$) {
|
|
76
|
+
/** @deprecated use `ToolExecutionDeltaEventName$inboundSchema` instead. */
|
|
77
|
+
ToolExecutionDeltaEventName$.inboundSchema = exports.ToolExecutionDeltaEventName$inboundSchema;
|
|
78
|
+
/** @deprecated use `ToolExecutionDeltaEventName$outboundSchema` instead. */
|
|
79
|
+
ToolExecutionDeltaEventName$.outboundSchema = exports.ToolExecutionDeltaEventName$outboundSchema;
|
|
80
|
+
})(ToolExecutionDeltaEventName$ || (exports.ToolExecutionDeltaEventName$ = ToolExecutionDeltaEventName$ = {}));
|
|
81
|
+
function toolExecutionDeltaEventNameToJSON(toolExecutionDeltaEventName) {
|
|
82
|
+
return JSON.stringify(exports.ToolExecutionDeltaEventName$outboundSchema.parse(toolExecutionDeltaEventName));
|
|
83
|
+
}
|
|
84
|
+
function toolExecutionDeltaEventNameFromJSON(jsonString) {
|
|
85
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolExecutionDeltaEventName$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolExecutionDeltaEventName' from JSON`);
|
|
86
|
+
}
|
|
87
|
+
/** @internal */
|
|
65
88
|
exports.ToolExecutionDeltaEvent$inboundSchema = z.object({
|
|
66
89
|
type: exports.ToolExecutionDeltaEventType$inboundSchema.default("tool.execution.delta"),
|
|
67
90
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
68
91
|
.optional(),
|
|
69
92
|
output_index: z.number().int().default(0),
|
|
70
93
|
id: z.string(),
|
|
71
|
-
name: builtinconnectors_js_1.BuiltInConnectors$inboundSchema,
|
|
94
|
+
name: z.union([builtinconnectors_js_1.BuiltInConnectors$inboundSchema, z.string()]),
|
|
72
95
|
arguments: z.string(),
|
|
73
96
|
}).transform((v) => {
|
|
74
97
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -82,7 +105,7 @@ exports.ToolExecutionDeltaEvent$outboundSchema = z.object({
|
|
|
82
105
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
83
106
|
outputIndex: z.number().int().default(0),
|
|
84
107
|
id: z.string(),
|
|
85
|
-
name: builtinconnectors_js_1.BuiltInConnectors$outboundSchema,
|
|
108
|
+
name: z.union([builtinconnectors_js_1.BuiltInConnectors$outboundSchema, z.string()]),
|
|
86
109
|
arguments: z.string(),
|
|
87
110
|
}).transform((v) => {
|
|
88
111
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolexecutiondeltaevent.js","sourceRoot":"","sources":["../../src/models/components/toolexecutiondeltaevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"toolexecutiondeltaevent.js","sourceRoot":"","sources":["../../src/models/components/toolexecutiondeltaevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFH,8EAQC;AAED,kFAQC;AAoED,sEAMC;AAED,0EAQC;AAvLD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,iEAIgC;AAEnB,QAAA,2BAA2B,GAAG;IACzC,kBAAkB,EAAE,sBAAsB;CAClC,CAAC;AAgBX,gBAAgB;AACH,QAAA,yCAAyC,GAElD,CAAC,CAAC,UAAU,CAAC,mCAA2B,CAAC,CAAC;AAE9C,gBAAgB;AACH,QAAA,0CAA0C,GAEnD,iDAAyC,CAAC;AAE9C;;;GAGG;AACH,IAAiB,4BAA4B,CAK5C;AALD,WAAiB,4BAA4B;IAC3C,2EAA2E;IAC9D,0CAAa,GAAG,iDAAyC,CAAC;IACvE,4EAA4E;IAC/D,2CAAc,GAAG,kDAA0C,CAAC;AAC3E,CAAC,EALgB,4BAA4B,4CAA5B,4BAA4B,QAK5C;AAED,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,KAAK,CAAC,CAAC,sDAA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B,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAED,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
|
|
@@ -7,12 +7,13 @@ export declare const ToolExecutionDoneEventType: {
|
|
|
7
7
|
readonly ToolExecutionDone: "tool.execution.done";
|
|
8
8
|
};
|
|
9
9
|
export type ToolExecutionDoneEventType = ClosedEnum<typeof ToolExecutionDoneEventType>;
|
|
10
|
+
export type ToolExecutionDoneEventName = BuiltInConnectors | string;
|
|
10
11
|
export type ToolExecutionDoneEvent = {
|
|
11
12
|
type?: ToolExecutionDoneEventType | undefined;
|
|
12
13
|
createdAt?: Date | undefined;
|
|
13
14
|
outputIndex?: number | undefined;
|
|
14
15
|
id: string;
|
|
15
|
-
name: BuiltInConnectors;
|
|
16
|
+
name: BuiltInConnectors | string;
|
|
16
17
|
info?: {
|
|
17
18
|
[k: string]: any;
|
|
18
19
|
} | undefined;
|
|
@@ -36,6 +37,26 @@ export declare namespace ToolExecutionDoneEventType$ {
|
|
|
36
37
|
}>;
|
|
37
38
|
}
|
|
38
39
|
/** @internal */
|
|
40
|
+
export declare const ToolExecutionDoneEventName$inboundSchema: z.ZodType<ToolExecutionDoneEventName, z.ZodTypeDef, unknown>;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type ToolExecutionDoneEventName$Outbound = string | string;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export declare const ToolExecutionDoneEventName$outboundSchema: z.ZodType<ToolExecutionDoneEventName$Outbound, z.ZodTypeDef, ToolExecutionDoneEventName>;
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
+
*/
|
|
49
|
+
export declare namespace ToolExecutionDoneEventName$ {
|
|
50
|
+
/** @deprecated use `ToolExecutionDoneEventName$inboundSchema` instead. */
|
|
51
|
+
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
52
|
+
/** @deprecated use `ToolExecutionDoneEventName$outboundSchema` instead. */
|
|
53
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
54
|
+
/** @deprecated use `ToolExecutionDoneEventName$Outbound` instead. */
|
|
55
|
+
type Outbound = ToolExecutionDoneEventName$Outbound;
|
|
56
|
+
}
|
|
57
|
+
export declare function toolExecutionDoneEventNameToJSON(toolExecutionDoneEventName: ToolExecutionDoneEventName): string;
|
|
58
|
+
export declare function toolExecutionDoneEventNameFromJSON(jsonString: string): SafeParseResult<ToolExecutionDoneEventName, SDKValidationError>;
|
|
59
|
+
/** @internal */
|
|
39
60
|
export declare const ToolExecutionDoneEvent$inboundSchema: z.ZodType<ToolExecutionDoneEvent, z.ZodTypeDef, unknown>;
|
|
40
61
|
/** @internal */
|
|
41
62
|
export type ToolExecutionDoneEvent$Outbound = {
|
|
@@ -43,7 +64,7 @@ export type ToolExecutionDoneEvent$Outbound = {
|
|
|
43
64
|
created_at?: string | undefined;
|
|
44
65
|
output_index: number;
|
|
45
66
|
id: string;
|
|
46
|
-
name: string;
|
|
67
|
+
name: string | string;
|
|
47
68
|
info?: {
|
|
48
69
|
[k: string]: any;
|
|
49
70
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolexecutiondoneevent.d.ts","sourceRoot":"","sources":["../../src/models/components/toolexecutiondoneevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MA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B,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,+BAA+B,EAC/B,CAAC,CAAC,UAAU,EACZ,sBAAsB,CAetB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,uBAAuB,CAAC;IACvC,sEAAsE;IAC/D,MAAM,aAAa,0DAAuC,CAAC;IAClE,uEAAuE;IAChE,MAAM,cAAc,kFAAwC,CAAC;IACpE,iEAAiE;IACjE,KAAY,QAAQ,GAAG,+BAA+B,CAAC;CACxD;AAED,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ToolExecutionDoneEvent$ = exports.ToolExecutionDoneEvent$outboundSchema = exports.ToolExecutionDoneEvent$inboundSchema = exports.ToolExecutionDoneEventType$ = exports.ToolExecutionDoneEventType$outboundSchema = exports.ToolExecutionDoneEventType$inboundSchema = exports.ToolExecutionDoneEventType = void 0;
|
|
39
|
+
exports.ToolExecutionDoneEvent$ = exports.ToolExecutionDoneEvent$outboundSchema = exports.ToolExecutionDoneEvent$inboundSchema = exports.ToolExecutionDoneEventName$ = exports.ToolExecutionDoneEventName$outboundSchema = exports.ToolExecutionDoneEventName$inboundSchema = exports.ToolExecutionDoneEventType$ = exports.ToolExecutionDoneEventType$outboundSchema = exports.ToolExecutionDoneEventType$inboundSchema = exports.ToolExecutionDoneEventType = void 0;
|
|
40
|
+
exports.toolExecutionDoneEventNameToJSON = toolExecutionDoneEventNameToJSON;
|
|
41
|
+
exports.toolExecutionDoneEventNameFromJSON = toolExecutionDoneEventNameFromJSON;
|
|
40
42
|
exports.toolExecutionDoneEventToJSON = toolExecutionDoneEventToJSON;
|
|
41
43
|
exports.toolExecutionDoneEventFromJSON = toolExecutionDoneEventFromJSON;
|
|
42
44
|
const z = __importStar(require("zod"));
|
|
@@ -62,13 +64,34 @@ var ToolExecutionDoneEventType$;
|
|
|
62
64
|
ToolExecutionDoneEventType$.outboundSchema = exports.ToolExecutionDoneEventType$outboundSchema;
|
|
63
65
|
})(ToolExecutionDoneEventType$ || (exports.ToolExecutionDoneEventType$ = ToolExecutionDoneEventType$ = {}));
|
|
64
66
|
/** @internal */
|
|
67
|
+
exports.ToolExecutionDoneEventName$inboundSchema = z.union([builtinconnectors_js_1.BuiltInConnectors$inboundSchema, z.string()]);
|
|
68
|
+
/** @internal */
|
|
69
|
+
exports.ToolExecutionDoneEventName$outboundSchema = z.union([builtinconnectors_js_1.BuiltInConnectors$outboundSchema, z.string()]);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
var ToolExecutionDoneEventName$;
|
|
75
|
+
(function (ToolExecutionDoneEventName$) {
|
|
76
|
+
/** @deprecated use `ToolExecutionDoneEventName$inboundSchema` instead. */
|
|
77
|
+
ToolExecutionDoneEventName$.inboundSchema = exports.ToolExecutionDoneEventName$inboundSchema;
|
|
78
|
+
/** @deprecated use `ToolExecutionDoneEventName$outboundSchema` instead. */
|
|
79
|
+
ToolExecutionDoneEventName$.outboundSchema = exports.ToolExecutionDoneEventName$outboundSchema;
|
|
80
|
+
})(ToolExecutionDoneEventName$ || (exports.ToolExecutionDoneEventName$ = ToolExecutionDoneEventName$ = {}));
|
|
81
|
+
function toolExecutionDoneEventNameToJSON(toolExecutionDoneEventName) {
|
|
82
|
+
return JSON.stringify(exports.ToolExecutionDoneEventName$outboundSchema.parse(toolExecutionDoneEventName));
|
|
83
|
+
}
|
|
84
|
+
function toolExecutionDoneEventNameFromJSON(jsonString) {
|
|
85
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolExecutionDoneEventName$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolExecutionDoneEventName' from JSON`);
|
|
86
|
+
}
|
|
87
|
+
/** @internal */
|
|
65
88
|
exports.ToolExecutionDoneEvent$inboundSchema = z.object({
|
|
66
89
|
type: exports.ToolExecutionDoneEventType$inboundSchema.default("tool.execution.done"),
|
|
67
90
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
68
91
|
.optional(),
|
|
69
92
|
output_index: z.number().int().default(0),
|
|
70
93
|
id: z.string(),
|
|
71
|
-
name: builtinconnectors_js_1.BuiltInConnectors$inboundSchema,
|
|
94
|
+
name: z.union([builtinconnectors_js_1.BuiltInConnectors$inboundSchema, z.string()]),
|
|
72
95
|
info: z.record(z.any()).optional(),
|
|
73
96
|
}).transform((v) => {
|
|
74
97
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -82,7 +105,7 @@ exports.ToolExecutionDoneEvent$outboundSchema = z.object({
|
|
|
82
105
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
83
106
|
outputIndex: z.number().int().default(0),
|
|
84
107
|
id: z.string(),
|
|
85
|
-
name: builtinconnectors_js_1.BuiltInConnectors$outboundSchema,
|
|
108
|
+
name: z.union([builtinconnectors_js_1.BuiltInConnectors$outboundSchema, z.string()]),
|
|
86
109
|
info: z.record(z.any()).optional(),
|
|
87
110
|
}).transform((v) => {
|
|
88
111
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolexecutiondoneevent.js","sourceRoot":"","sources":["../../src/models/components/toolexecutiondoneevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"toolexecutiondoneevent.js","sourceRoot":"","sources":["../../src/models/components/toolexecutiondoneevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFH,4EAMC;AAED,gFAQC;AAkED,oEAMC;AAED,wEAQC;AAnLD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,iEAIgC;AAEnB,QAAA,0BAA0B,GAAG;IACxC,iBAAiB,EAAE,qBAAqB;CAChC,CAAC;AAgBX,gBAAgB;AACH,QAAA,wCAAwC,GAEjD,CAAC,CAAC,UAAU,CAAC,kCAA0B,CAAC,CAAC;AAE7C,gBAAgB;AACH,QAAA,yCAAyC,GAElD,gDAAwC,CAAC;AAE7C;;;GAGG;AACH,IAAiB,2BAA2B,CAK3C;AALD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAC1E,CAAC,EALgB,2BAA2B,2CAA3B,2BAA2B,QAK3C;AAED,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,KAAK,CAAC,CAAC,sDAA+B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAK3D,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,KA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4B,CAC1C,sBAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -11,13 +11,14 @@ export declare const ToolExecutionEntryType: {
|
|
|
11
11
|
readonly ToolExecution: "tool.execution";
|
|
12
12
|
};
|
|
13
13
|
export type ToolExecutionEntryType = ClosedEnum<typeof ToolExecutionEntryType>;
|
|
14
|
+
export type Name = BuiltInConnectors | string;
|
|
14
15
|
export type ToolExecutionEntry = {
|
|
15
16
|
object?: ToolExecutionEntryObject | undefined;
|
|
16
17
|
type?: ToolExecutionEntryType | undefined;
|
|
17
18
|
createdAt?: Date | undefined;
|
|
18
19
|
completedAt?: Date | null | undefined;
|
|
19
20
|
id?: string | undefined;
|
|
20
|
-
name: BuiltInConnectors;
|
|
21
|
+
name: BuiltInConnectors | string;
|
|
21
22
|
arguments: string;
|
|
22
23
|
info?: {
|
|
23
24
|
[k: string]: any;
|
|
@@ -60,6 +61,26 @@ export declare namespace ToolExecutionEntryType$ {
|
|
|
60
61
|
}>;
|
|
61
62
|
}
|
|
62
63
|
/** @internal */
|
|
64
|
+
export declare const Name$inboundSchema: z.ZodType<Name, z.ZodTypeDef, unknown>;
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type Name$Outbound = string | string;
|
|
67
|
+
/** @internal */
|
|
68
|
+
export declare const Name$outboundSchema: z.ZodType<Name$Outbound, z.ZodTypeDef, Name>;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
+
*/
|
|
73
|
+
export declare namespace Name$ {
|
|
74
|
+
/** @deprecated use `Name$inboundSchema` instead. */
|
|
75
|
+
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
76
|
+
/** @deprecated use `Name$outboundSchema` instead. */
|
|
77
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
78
|
+
/** @deprecated use `Name$Outbound` instead. */
|
|
79
|
+
type Outbound = Name$Outbound;
|
|
80
|
+
}
|
|
81
|
+
export declare function nameToJSON(name: Name): string;
|
|
82
|
+
export declare function nameFromJSON(jsonString: string): SafeParseResult<Name, SDKValidationError>;
|
|
83
|
+
/** @internal */
|
|
63
84
|
export declare const ToolExecutionEntry$inboundSchema: z.ZodType<ToolExecutionEntry, z.ZodTypeDef, unknown>;
|
|
64
85
|
/** @internal */
|
|
65
86
|
export type ToolExecutionEntry$Outbound = {
|
|
@@ -68,7 +89,7 @@ export type ToolExecutionEntry$Outbound = {
|
|
|
68
89
|
created_at?: string | undefined;
|
|
69
90
|
completed_at?: string | null | undefined;
|
|
70
91
|
id?: string | undefined;
|
|
71
|
-
name: string;
|
|
92
|
+
name: string | string;
|
|
72
93
|
arguments: string;
|
|
73
94
|
info?: {
|
|
74
95
|
[k: string]: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolexecutionentry.d.ts","sourceRoot":"","sources":["../../src/models/components/toolexecutionentry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,wBAAwB;;CAE3B,CAAC;AACX,MAAM,MAAM,wBAAw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IACnC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACpD;AAED,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ToolExecutionEntry$ = exports.ToolExecutionEntry$outboundSchema = exports.ToolExecutionEntry$inboundSchema = exports.ToolExecutionEntryType$ = exports.ToolExecutionEntryType$outboundSchema = exports.ToolExecutionEntryType$inboundSchema = exports.ToolExecutionEntryObject$ = exports.ToolExecutionEntryObject$outboundSchema = exports.ToolExecutionEntryObject$inboundSchema = exports.ToolExecutionEntryType = exports.ToolExecutionEntryObject = void 0;
|
|
39
|
+
exports.ToolExecutionEntry$ = exports.ToolExecutionEntry$outboundSchema = exports.ToolExecutionEntry$inboundSchema = exports.Name$ = exports.Name$outboundSchema = exports.Name$inboundSchema = exports.ToolExecutionEntryType$ = exports.ToolExecutionEntryType$outboundSchema = exports.ToolExecutionEntryType$inboundSchema = exports.ToolExecutionEntryObject$ = exports.ToolExecutionEntryObject$outboundSchema = exports.ToolExecutionEntryObject$inboundSchema = exports.ToolExecutionEntryType = exports.ToolExecutionEntryObject = void 0;
|
|
40
|
+
exports.nameToJSON = nameToJSON;
|
|
41
|
+
exports.nameFromJSON = nameFromJSON;
|
|
40
42
|
exports.toolExecutionEntryToJSON = toolExecutionEntryToJSON;
|
|
41
43
|
exports.toolExecutionEntryFromJSON = toolExecutionEntryFromJSON;
|
|
42
44
|
const z = __importStar(require("zod"));
|
|
@@ -80,6 +82,28 @@ var ToolExecutionEntryType$;
|
|
|
80
82
|
ToolExecutionEntryType$.outboundSchema = exports.ToolExecutionEntryType$outboundSchema;
|
|
81
83
|
})(ToolExecutionEntryType$ || (exports.ToolExecutionEntryType$ = ToolExecutionEntryType$ = {}));
|
|
82
84
|
/** @internal */
|
|
85
|
+
exports.Name$inboundSchema = z
|
|
86
|
+
.union([builtinconnectors_js_1.BuiltInConnectors$inboundSchema, z.string()]);
|
|
87
|
+
/** @internal */
|
|
88
|
+
exports.Name$outboundSchema = z.union([builtinconnectors_js_1.BuiltInConnectors$outboundSchema, z.string()]);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
92
|
+
*/
|
|
93
|
+
var Name$;
|
|
94
|
+
(function (Name$) {
|
|
95
|
+
/** @deprecated use `Name$inboundSchema` instead. */
|
|
96
|
+
Name$.inboundSchema = exports.Name$inboundSchema;
|
|
97
|
+
/** @deprecated use `Name$outboundSchema` instead. */
|
|
98
|
+
Name$.outboundSchema = exports.Name$outboundSchema;
|
|
99
|
+
})(Name$ || (exports.Name$ = Name$ = {}));
|
|
100
|
+
function nameToJSON(name) {
|
|
101
|
+
return JSON.stringify(exports.Name$outboundSchema.parse(name));
|
|
102
|
+
}
|
|
103
|
+
function nameFromJSON(jsonString) {
|
|
104
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Name$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Name' from JSON`);
|
|
105
|
+
}
|
|
106
|
+
/** @internal */
|
|
83
107
|
exports.ToolExecutionEntry$inboundSchema = z.object({
|
|
84
108
|
object: exports.ToolExecutionEntryObject$inboundSchema.default("entry"),
|
|
85
109
|
type: exports.ToolExecutionEntryType$inboundSchema.default("tool.execution"),
|
|
@@ -87,7 +111,7 @@ exports.ToolExecutionEntry$inboundSchema = z.object({
|
|
|
87
111
|
.optional(),
|
|
88
112
|
completed_at: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
89
113
|
id: z.string().optional(),
|
|
90
|
-
name: builtinconnectors_js_1.BuiltInConnectors$inboundSchema,
|
|
114
|
+
name: z.union([builtinconnectors_js_1.BuiltInConnectors$inboundSchema, z.string()]),
|
|
91
115
|
arguments: z.string(),
|
|
92
116
|
info: z.record(z.any()).optional(),
|
|
93
117
|
}).transform((v) => {
|
|
@@ -103,7 +127,7 @@ exports.ToolExecutionEntry$outboundSchema = z.object({
|
|
|
103
127
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
104
128
|
completedAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
105
129
|
id: z.string().optional(),
|
|
106
|
-
name: builtinconnectors_js_1.BuiltInConnectors$outboundSchema,
|
|
130
|
+
name: z.union([builtinconnectors_js_1.BuiltInConnectors$outboundSchema, z.string()]),
|
|
107
131
|
arguments: z.string(),
|
|
108
132
|
info: z.record(z.any()).optional(),
|
|
109
133
|
}).transform((v) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolexecutionentry.js","sourceRoot":"","sources":["../../src/models/components/toolexecutionentry.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"toolexecutionentry.js","sourceRoot":"","sources":["../../src/models/components/toolexecutionentry.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyGH,gCAEC;AAED,oCAQC;AAwED,4DAMC;AAED,gEAQC;AA3MD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,iEAIgC;AAEnB,QAAA,wBAAwB,GAAG;IACtC,KAAK,EAAE,OAAO;CACN,CAAC;AAKE,QAAA,sBAAsB,GAAG;IACpC,aAAa,EAAE,gBAAgB;CACvB,CAAC;AAgBX,gBAAgB;A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AGlE,CAAC,EAPgB,mBAAmB,mCAAnB,mBAAmB,QAOnC;AAED,SAAgB,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,yCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AAED,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -7,12 +7,13 @@ export declare const ToolExecutionStartedEventType: {
|
|
|
7
7
|
readonly ToolExecutionStarted: "tool.execution.started";
|
|
8
8
|
};
|
|
9
9
|
export type ToolExecutionStartedEventType = ClosedEnum<typeof ToolExecutionStartedEventType>;
|
|
10
|
+
export type ToolExecutionStartedEventName = BuiltInConnectors | string;
|
|
10
11
|
export type ToolExecutionStartedEvent = {
|
|
11
12
|
type?: ToolExecutionStartedEventType | undefined;
|
|
12
13
|
createdAt?: Date | undefined;
|
|
13
14
|
outputIndex?: number | undefined;
|
|
14
15
|
id: string;
|
|
15
|
-
name: BuiltInConnectors;
|
|
16
|
+
name: BuiltInConnectors | string;
|
|
16
17
|
arguments: string;
|
|
17
18
|
};
|
|
18
19
|
/** @internal */
|
|
@@ -34,6 +35,26 @@ export declare namespace ToolExecutionStartedEventType$ {
|
|
|
34
35
|
}>;
|
|
35
36
|
}
|
|
36
37
|
/** @internal */
|
|
38
|
+
export declare const ToolExecutionStartedEventName$inboundSchema: z.ZodType<ToolExecutionStartedEventName, z.ZodTypeDef, unknown>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
export type ToolExecutionStartedEventName$Outbound = string | string;
|
|
41
|
+
/** @internal */
|
|
42
|
+
export declare const ToolExecutionStartedEventName$outboundSchema: z.ZodType<ToolExecutionStartedEventName$Outbound, z.ZodTypeDef, ToolExecutionStartedEventName>;
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
46
|
+
*/
|
|
47
|
+
export declare namespace ToolExecutionStartedEventName$ {
|
|
48
|
+
/** @deprecated use `ToolExecutionStartedEventName$inboundSchema` instead. */
|
|
49
|
+
const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
|
|
50
|
+
/** @deprecated use `ToolExecutionStartedEventName$outboundSchema` instead. */
|
|
51
|
+
const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
|
|
52
|
+
/** @deprecated use `ToolExecutionStartedEventName$Outbound` instead. */
|
|
53
|
+
type Outbound = ToolExecutionStartedEventName$Outbound;
|
|
54
|
+
}
|
|
55
|
+
export declare function toolExecutionStartedEventNameToJSON(toolExecutionStartedEventName: ToolExecutionStartedEventName): string;
|
|
56
|
+
export declare function toolExecutionStartedEventNameFromJSON(jsonString: string): SafeParseResult<ToolExecutionStartedEventName, SDKValidationError>;
|
|
57
|
+
/** @internal */
|
|
37
58
|
export declare const ToolExecutionStartedEvent$inboundSchema: z.ZodType<ToolExecutionStartedEvent, z.ZodTypeDef, unknown>;
|
|
38
59
|
/** @internal */
|
|
39
60
|
export type ToolExecutionStartedEvent$Outbound = {
|
|
@@ -41,7 +62,7 @@ export type ToolExecutionStartedEvent$Outbound = {
|
|
|
41
62
|
created_at?: string | undefined;
|
|
42
63
|
output_index: number;
|
|
43
64
|
id: string;
|
|
44
|
-
name: string;
|
|
65
|
+
name: string | string;
|
|
45
66
|
arguments: string;
|
|
46
67
|
};
|
|
47
68
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolexecutionstartedevent.d.ts","sourceRoot":"","sources":["../../src/models/components/toolexecutionstartedevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,6BAA6B;;CAEhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,6BAA6B,CACrC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"toolexecutionstartedevent.d.ts","sourceRoot":"","sources":["../../src/models/components/toolexecutionstartedevent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,6BAA6B;;CAEhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,6BAA6B,CACrC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,iBAAiB,GAAG,MAAM,CAAC;AAEvE,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAC7B,W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AuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAgBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAezB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -36,7 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ToolExecutionStartedEvent$ = exports.ToolExecutionStartedEvent$outboundSchema = exports.ToolExecutionStartedEvent$inboundSchema = exports.ToolExecutionStartedEventType$ = exports.ToolExecutionStartedEventType$outboundSchema = exports.ToolExecutionStartedEventType$inboundSchema = exports.ToolExecutionStartedEventType = void 0;
|
|
39
|
+
exports.ToolExecutionStartedEvent$ = exports.ToolExecutionStartedEvent$outboundSchema = exports.ToolExecutionStartedEvent$inboundSchema = exports.ToolExecutionStartedEventName$ = exports.ToolExecutionStartedEventName$outboundSchema = exports.ToolExecutionStartedEventName$inboundSchema = exports.ToolExecutionStartedEventType$ = exports.ToolExecutionStartedEventType$outboundSchema = exports.ToolExecutionStartedEventType$inboundSchema = exports.ToolExecutionStartedEventType = void 0;
|
|
40
|
+
exports.toolExecutionStartedEventNameToJSON = toolExecutionStartedEventNameToJSON;
|
|
41
|
+
exports.toolExecutionStartedEventNameFromJSON = toolExecutionStartedEventNameFromJSON;
|
|
40
42
|
exports.toolExecutionStartedEventToJSON = toolExecutionStartedEventToJSON;
|
|
41
43
|
exports.toolExecutionStartedEventFromJSON = toolExecutionStartedEventFromJSON;
|
|
42
44
|
const z = __importStar(require("zod"));
|
|
@@ -62,13 +64,34 @@ var ToolExecutionStartedEventType$;
|
|
|
62
64
|
ToolExecutionStartedEventType$.outboundSchema = exports.ToolExecutionStartedEventType$outboundSchema;
|
|
63
65
|
})(ToolExecutionStartedEventType$ || (exports.ToolExecutionStartedEventType$ = ToolExecutionStartedEventType$ = {}));
|
|
64
66
|
/** @internal */
|
|
67
|
+
exports.ToolExecutionStartedEventName$inboundSchema = z.union([builtinconnectors_js_1.BuiltInConnectors$inboundSchema, z.string()]);
|
|
68
|
+
/** @internal */
|
|
69
|
+
exports.ToolExecutionStartedEventName$outboundSchema = z.union([builtinconnectors_js_1.BuiltInConnectors$outboundSchema, z.string()]);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
var ToolExecutionStartedEventName$;
|
|
75
|
+
(function (ToolExecutionStartedEventName$) {
|
|
76
|
+
/** @deprecated use `ToolExecutionStartedEventName$inboundSchema` instead. */
|
|
77
|
+
ToolExecutionStartedEventName$.inboundSchema = exports.ToolExecutionStartedEventName$inboundSchema;
|
|
78
|
+
/** @deprecated use `ToolExecutionStartedEventName$outboundSchema` instead. */
|
|
79
|
+
ToolExecutionStartedEventName$.outboundSchema = exports.ToolExecutionStartedEventName$outboundSchema;
|
|
80
|
+
})(ToolExecutionStartedEventName$ || (exports.ToolExecutionStartedEventName$ = ToolExecutionStartedEventName$ = {}));
|
|
81
|
+
function toolExecutionStartedEventNameToJSON(toolExecutionStartedEventName) {
|
|
82
|
+
return JSON.stringify(exports.ToolExecutionStartedEventName$outboundSchema.parse(toolExecutionStartedEventName));
|
|
83
|
+
}
|
|
84
|
+
function toolExecutionStartedEventNameFromJSON(jsonString) {
|
|
85
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToolExecutionStartedEventName$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToolExecutionStartedEventName' from JSON`);
|
|
86
|
+
}
|
|
87
|
+
/** @internal */
|
|
65
88
|
exports.ToolExecutionStartedEvent$inboundSchema = z.object({
|
|
66
89
|
type: exports.ToolExecutionStartedEventType$inboundSchema.default("tool.execution.started"),
|
|
67
90
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
68
91
|
.optional(),
|
|
69
92
|
output_index: z.number().int().default(0),
|
|
70
93
|
id: z.string(),
|
|
71
|
-
name: builtinconnectors_js_1.BuiltInConnectors$inboundSchema,
|
|
94
|
+
name: z.union([builtinconnectors_js_1.BuiltInConnectors$inboundSchema, z.string()]),
|
|
72
95
|
arguments: z.string(),
|
|
73
96
|
}).transform((v) => {
|
|
74
97
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -82,7 +105,7 @@ exports.ToolExecutionStartedEvent$outboundSchema = z.object({
|
|
|
82
105
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
83
106
|
outputIndex: z.number().int().default(0),
|
|
84
107
|
id: z.string(),
|
|
85
|
-
name: builtinconnectors_js_1.BuiltInConnectors$outboundSchema,
|
|
108
|
+
name: z.union([builtinconnectors_js_1.BuiltInConnectors$outboundSchema, z.string()]),
|
|
86
109
|
arguments: z.string(),
|
|
87
110
|
}).transform((v) => {
|
|
88
111
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolexecutionstartedevent.js","sourceRoot":"","sources":["../../src/models/components/toolexecutionstartedevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"toolexecutionstartedevent.js","sourceRoot":"","sources":["../../src/models/components/toolexecutionstartedevent.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFH,kFAQC;AAED,sFAQC;AAoED,0EAMC;AAED,8EAQC;AAvLD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAIjD,iEAIgC;AAEnB,QAAA,6BAA6B,GAAG;IAC3C,oBAAoB,EAAE,wBAAwB;CACtC,CAAC;AAgBX,gBAAgB;AACH,QAAA,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,qCAA6B,CAAC,CAAC;AAEhD,gBAAgB;AACH,QAAA,4CAA4C,GAErD,mDAA2C,CAAC;AAEhD;;;GAGG;AACH,IAAiB,8BAA8B,CAK9C;AALD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAC7E,CAAC,EALgB,8BAA8B,8CAA9B,8BAA8B,QAK9C;AAED,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,KAAK,CAAC,CAAC,sDAA+B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAK3D,gBAAgB;AACH,QAAA,4CAA4C,GAIrD,CAAC,CAAC,KAAK,CAAC,CAAC,uDAAgC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAE5D;;;GAGG;AACH,IAAiB,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,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type AgentsApiV1AgentsDeleteRequest = {
|
|
5
|
+
agentId: string;
|
|
6
|
+
};
|
|
7
|
+
/** @internal */
|
|
8
|
+
export declare const AgentsApiV1AgentsDeleteRequest$inboundSchema: z.ZodType<AgentsApiV1AgentsDeleteRequest, z.ZodTypeDef, unknown>;
|
|
9
|
+
/** @internal */
|
|
10
|
+
export type AgentsApiV1AgentsDeleteRequest$Outbound = {
|
|
11
|
+
agent_id: string;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const AgentsApiV1AgentsDeleteRequest$outboundSchema: z.ZodType<AgentsApiV1AgentsDeleteRequest$Outbound, z.ZodTypeDef, AgentsApiV1AgentsDeleteRequest>;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
18
|
+
*/
|
|
19
|
+
export declare namespace AgentsApiV1AgentsDeleteRequest$ {
|
|
20
|
+
/** @deprecated use `AgentsApiV1AgentsDeleteRequest$inboundSchema` instead. */
|
|
21
|
+
const inboundSchema: z.ZodType<AgentsApiV1AgentsDeleteRequest, z.ZodTypeDef, unknown>;
|
|
22
|
+
/** @deprecated use `AgentsApiV1AgentsDeleteRequest$outboundSchema` instead. */
|
|
23
|
+
const outboundSchema: z.ZodType<AgentsApiV1AgentsDeleteRequest$Outbound, z.ZodTypeDef, AgentsApiV1AgentsDeleteRequest>;
|
|
24
|
+
/** @deprecated use `AgentsApiV1AgentsDeleteRequest$Outbound` instead. */
|
|
25
|
+
type Outbound = AgentsApiV1AgentsDeleteRequest$Outbound;
|
|
26
|
+
}
|
|
27
|
+
export declare function agentsApiV1AgentsDeleteRequestToJSON(agentsApiV1AgentsDeleteRequest: AgentsApiV1AgentsDeleteRequest): string;
|
|
28
|
+
export declare function agentsApiV1AgentsDeleteRequestFromJSON(jsonString: string): SafeParseResult<AgentsApiV1AgentsDeleteRequest, SDKValidationError>;
|
|
29
|
+
//# sourceMappingURL=agentsapiv1agentsdelete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentsapiv1agentsdelete.d.ts","sourceRoot":"","sources":["../../src/models/operations/agentsapiv1agentsdelete.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,uCAAuC,GAAG;IACpD,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,8BAA8B,CAO9B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,+BAA+B,CAAC;IAC/C,8EAA8E;IACvE,MAAM,aAAa,kEAA+C,CAAC;IAC1E,+EAA+E;IACxE,MAAM,cAAc,kGAAgD,CAAC;IAC5E,yEAAyE;IACzE,KAAY,QAAQ,GAAG,uCAAuC,CAAC;CAChE;AAED,wBAAgB,oCAAoC,CAClD,8BAA8B,EAAE,8BAA8B,GAC7D,MAAM,CAMR;AAED,wBAAgB,sCAAsC,CACpD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAMrE"}
|