@gleanwork/api-client 0.18.0 → 0.18.1
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 +64 -34
- package/dist/commonjs/__tests__/chat.test.js +5 -3
- package/dist/commonjs/__tests__/chat.test.js.map +1 -1
- package/dist/commonjs/__tests__/clientagents.test.js +16 -0
- package/dist/commonjs/__tests__/clientagents.test.js.map +1 -1
- package/dist/commonjs/__tests__/clientchat.test.js +10 -0
- package/dist/commonjs/__tests__/clientchat.test.js.map +1 -1
- package/dist/commonjs/__tests__/indexingdocuments.test.js +45 -0
- package/dist/commonjs/__tests__/indexingdocuments.test.js.map +1 -1
- package/dist/commonjs/__tests__/people.test.js +12 -0
- package/dist/commonjs/__tests__/people.test.js.map +1 -1
- package/dist/commonjs/__tests__/search.test.js +10 -0
- package/dist/commonjs/__tests__/search.test.js.map +1 -1
- package/dist/commonjs/__tests__/skills.test.js +48 -0
- package/dist/commonjs/__tests__/skills.test.js.map +1 -1
- package/dist/commonjs/__tests__/summarize.test.js +4 -3
- package/dist/commonjs/__tests__/summarize.test.js.map +1 -1
- package/dist/commonjs/__tests__/tools.test.js +14 -0
- package/dist/commonjs/__tests__/tools.test.js.map +1 -1
- package/dist/commonjs/funcs/agentsCreateRun.d.ts +1 -1
- package/dist/commonjs/funcs/agentsCreateRun.d.ts.map +1 -1
- package/dist/commonjs/funcs/agentsCreateRun.js +1 -1
- package/dist/commonjs/funcs/agentsCreateRun.js.map +1 -1
- package/dist/commonjs/funcs/chatCreate.d.ts +25 -0
- package/dist/commonjs/funcs/chatCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/chatCreate.js +132 -0
- package/dist/commonjs/funcs/chatCreate.js.map +1 -0
- package/dist/commonjs/funcs/clientAgentsImport.d.ts +18 -0
- package/dist/commonjs/funcs/clientAgentsImport.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientAgentsImport.js +172 -0
- package/dist/commonjs/funcs/clientAgentsImport.js.map +1 -0
- package/dist/commonjs/funcs/clientAgentsRun.d.ts +2 -1
- package/dist/commonjs/funcs/clientAgentsRun.d.ts.map +1 -1
- package/dist/commonjs/funcs/clientAgentsRun.js +5 -1
- package/dist/commonjs/funcs/clientAgentsRun.js.map +1 -1
- package/dist/commonjs/funcs/clientAgentsRunStream.d.ts +1 -1
- package/dist/commonjs/funcs/clientAgentsRunStream.d.ts.map +1 -1
- package/dist/commonjs/funcs/clientAgentsRunStream.js +1 -1
- package/dist/commonjs/funcs/clientAgentsRunStream.js.map +1 -1
- package/dist/commonjs/funcs/clientChatRetrieve.d.ts +2 -1
- package/dist/commonjs/funcs/clientChatRetrieve.d.ts.map +1 -1
- package/dist/commonjs/funcs/clientChatRetrieve.js +5 -1
- package/dist/commonjs/funcs/clientChatRetrieve.js.map +1 -1
- package/dist/commonjs/funcs/clientToolsGetToolServerTools.d.ts +25 -0
- package/dist/commonjs/funcs/clientToolsGetToolServerTools.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientToolsGetToolServerTools.js +138 -0
- package/dist/commonjs/funcs/clientToolsGetToolServerTools.js.map +1 -0
- package/dist/commonjs/funcs/indexingDatasourceStatus.js +2 -4
- package/dist/commonjs/funcs/indexingDatasourceStatus.js.map +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebug.js +2 -4
- package/dist/commonjs/funcs/indexingDocumentsDebug.js.map +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebugEvents.js +2 -4
- package/dist/commonjs/funcs/indexingDocumentsDebugEvents.js.map +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.js +2 -4
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.js.map +1 -1
- package/dist/commonjs/funcs/indexingPeopleDebug.js +2 -4
- package/dist/commonjs/funcs/indexingPeopleDebug.js.map +1 -1
- package/dist/commonjs/funcs/searchListFilters.d.ts +19 -0
- package/dist/commonjs/funcs/searchListFilters.d.ts.map +1 -0
- package/dist/commonjs/funcs/searchListFilters.js +134 -0
- package/dist/commonjs/funcs/searchListFilters.js.map +1 -0
- package/dist/commonjs/funcs/searchQuery.d.ts +2 -1
- package/dist/commonjs/funcs/searchQuery.d.ts.map +1 -1
- package/dist/commonjs/funcs/searchQuery.js +3 -2
- package/dist/commonjs/funcs/searchQuery.js.map +1 -1
- package/dist/commonjs/funcs/skillsDelete.d.ts +17 -0
- package/dist/commonjs/funcs/skillsDelete.d.ts.map +1 -0
- package/dist/commonjs/funcs/skillsDelete.js +131 -0
- package/dist/commonjs/funcs/skillsDelete.js.map +1 -0
- package/dist/commonjs/funcs/skillsImport.d.ts +18 -0
- package/dist/commonjs/funcs/skillsImport.d.ts.map +1 -0
- package/dist/commonjs/funcs/skillsImport.js +122 -0
- package/dist/commonjs/funcs/skillsImport.js.map +1 -0
- package/dist/commonjs/funcs/skillsPreviewSource.d.ts +25 -0
- package/dist/commonjs/funcs/skillsPreviewSource.d.ts.map +1 -0
- package/dist/commonjs/funcs/skillsPreviewSource.js +132 -0
- package/dist/commonjs/funcs/skillsPreviewSource.js.map +1 -0
- package/dist/commonjs/funcs/skillsSync.d.ts +18 -0
- package/dist/commonjs/funcs/skillsSync.d.ts.map +1 -0
- package/dist/commonjs/funcs/skillsSync.js +131 -0
- package/dist/commonjs/funcs/skillsSync.js.map +1 -0
- package/dist/commonjs/funcs/skillsUpdate.d.ts +18 -0
- package/dist/commonjs/funcs/skillsUpdate.d.ts.map +1 -0
- package/dist/commonjs/funcs/skillsUpdate.js +135 -0
- package/dist/commonjs/funcs/skillsUpdate.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/components/accessrequestpermissiondeniedresponseerror.d.ts +9 -0
- package/dist/commonjs/models/components/accessrequestpermissiondeniedresponseerror.d.ts.map +1 -0
- package/dist/commonjs/models/components/accessrequestpermissiondeniedresponseerror.js +48 -0
- package/dist/commonjs/models/components/accessrequestpermissiondeniedresponseerror.js.map +1 -0
- package/dist/commonjs/models/components/authconfig.d.ts +50 -3
- package/dist/commonjs/models/components/authconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/authconfig.js +42 -2
- package/dist/commonjs/models/components/authconfig.js.map +1 -1
- package/dist/commonjs/models/components/customdatasourceconfig.d.ts +2 -0
- package/dist/commonjs/models/components/customdatasourceconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/customdatasourceconfig.js +2 -0
- package/dist/commonjs/models/components/customdatasourceconfig.js.map +1 -1
- package/dist/commonjs/models/components/feedentry.d.ts +1 -0
- package/dist/commonjs/models/components/feedentry.d.ts.map +1 -1
- package/dist/commonjs/models/components/feedentry.js +1 -0
- package/dist/commonjs/models/components/feedentry.js.map +1 -1
- package/dist/commonjs/models/components/feedrequest.d.ts +1 -0
- package/dist/commonjs/models/components/feedrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/feedrequest.js +1 -0
- package/dist/commonjs/models/components/feedrequest.js.map +1 -1
- package/dist/commonjs/models/components/feedresult.d.ts +1 -0
- package/dist/commonjs/models/components/feedresult.d.ts.map +1 -1
- package/dist/commonjs/models/components/feedresult.js +1 -0
- package/dist/commonjs/models/components/feedresult.js.map +1 -1
- package/dist/commonjs/models/components/importagentrequest.d.ts +59 -0
- package/dist/commonjs/models/components/importagentrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/importagentrequest.js +71 -0
- package/dist/commonjs/models/components/importagentrequest.js.map +1 -0
- package/dist/commonjs/models/components/importagentresponse.d.ts +16 -0
- package/dist/commonjs/models/components/importagentresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/importagentresponse.js +54 -0
- package/dist/commonjs/models/components/importagentresponse.js.map +1 -0
- package/dist/commonjs/models/components/importagentstatus.d.ts +17 -0
- package/dist/commonjs/models/components/importagentstatus.d.ts.map +1 -0
- package/dist/commonjs/models/components/importagentstatus.js +52 -0
- package/dist/commonjs/models/components/importagentstatus.js.map +1 -0
- package/dist/commonjs/models/components/importagentsyncmode.d.ts +20 -0
- package/dist/commonjs/models/components/importagentsyncmode.d.ts.map +1 -0
- package/dist/commonjs/models/components/importagentsyncmode.js +53 -0
- package/dist/commonjs/models/components/importagentsyncmode.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +38 -1
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +38 -1
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/manualfeedbackinfo.d.ts +2 -0
- package/dist/commonjs/models/components/manualfeedbackinfo.d.ts.map +1 -1
- package/dist/commonjs/models/components/manualfeedbackinfo.js +2 -0
- package/dist/commonjs/models/components/manualfeedbackinfo.js.map +1 -1
- package/dist/commonjs/models/components/objectdefinition.d.ts +2 -0
- package/dist/commonjs/models/components/objectdefinition.d.ts.map +1 -1
- package/dist/commonjs/models/components/objectdefinition.js +2 -0
- package/dist/commonjs/models/components/objectdefinition.js.map +1 -1
- package/dist/commonjs/models/components/personmetadata.d.ts +5 -0
- package/dist/commonjs/models/components/personmetadata.d.ts.map +1 -1
- package/dist/commonjs/models/components/personmetadata.js +2 -0
- package/dist/commonjs/models/components/personmetadata.js.map +1 -1
- package/dist/commonjs/models/components/platformauthenticationsuggestion.d.ts +20 -0
- package/dist/commonjs/models/components/platformauthenticationsuggestion.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformauthenticationsuggestion.js +52 -0
- package/dist/commonjs/models/components/platformauthenticationsuggestion.js.map +1 -0
- package/dist/commonjs/models/components/platformchatcitationannotation.d.ts +23 -0
- package/dist/commonjs/models/components/platformchatcitationannotation.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatcitationannotation.js +63 -0
- package/dist/commonjs/models/components/platformchatcitationannotation.js.map +1 -0
- package/dist/commonjs/models/components/platformchatcitationsnippet.d.ts +11 -0
- package/dist/commonjs/models/components/platformchatcitationsnippet.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatcitationsnippet.js +52 -0
- package/dist/commonjs/models/components/platformchatcitationsnippet.js.map +1 -0
- package/dist/commonjs/models/components/platformchatcitationsource.d.ts +15 -0
- package/dist/commonjs/models/components/platformchatcitationsource.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatcitationsource.js +58 -0
- package/dist/commonjs/models/components/platformchatcitationsource.js.map +1 -0
- package/dist/commonjs/models/components/platformchatcompletedresponse.d.ts +42 -0
- package/dist/commonjs/models/components/platformchatcompletedresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatcompletedresponse.js +70 -0
- package/dist/commonjs/models/components/platformchatcompletedresponse.js.map +1 -0
- package/dist/commonjs/models/components/platformchatcreaterequest.d.ts +50 -0
- package/dist/commonjs/models/components/platformchatcreaterequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatcreaterequest.js +63 -0
- package/dist/commonjs/models/components/platformchatcreaterequest.js.map +1 -0
- package/dist/commonjs/models/components/platformchatcustomentitysource.d.ts +22 -0
- package/dist/commonjs/models/components/platformchatcustomentitysource.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatcustomentitysource.js +61 -0
- package/dist/commonjs/models/components/platformchatcustomentitysource.js.map +1 -0
- package/dist/commonjs/models/components/platformchatdocumentsource.d.ts +41 -0
- package/dist/commonjs/models/components/platformchatdocumentsource.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatdocumentsource.js +86 -0
- package/dist/commonjs/models/components/platformchatdocumentsource.js.map +1 -0
- package/dist/commonjs/models/components/platformchatfilesource.d.ts +21 -0
- package/dist/commonjs/models/components/platformchatfilesource.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatfilesource.js +60 -0
- package/dist/commonjs/models/components/platformchatfilesource.js.map +1 -0
- package/dist/commonjs/models/components/platformchatinputmessage.d.ts +22 -0
- package/dist/commonjs/models/components/platformchatinputmessage.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatinputmessage.js +57 -0
- package/dist/commonjs/models/components/platformchatinputmessage.js.map +1 -0
- package/dist/commonjs/models/components/platformchatoutputmessage.d.ts +26 -0
- package/dist/commonjs/models/components/platformchatoutputmessage.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatoutputmessage.js +64 -0
- package/dist/commonjs/models/components/platformchatoutputmessage.js.map +1 -0
- package/dist/commonjs/models/components/platformchatoutputtextcontent.d.ts +20 -0
- package/dist/commonjs/models/components/platformchatoutputtextcontent.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatoutputtextcontent.js +59 -0
- package/dist/commonjs/models/components/platformchatoutputtextcontent.js.map +1 -0
- package/dist/commonjs/models/components/platformchatpersonsource.d.ts +20 -0
- package/dist/commonjs/models/components/platformchatpersonsource.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformchatpersonsource.js +59 -0
- package/dist/commonjs/models/components/platformchatpersonsource.js.map +1 -0
- package/dist/commonjs/models/components/platformdatasourcefilterinfo.d.ts +22 -0
- package/dist/commonjs/models/components/platformdatasourcefilterinfo.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformdatasourcefilterinfo.js +53 -0
- package/dist/commonjs/models/components/platformdatasourcefilterinfo.js.map +1 -0
- package/dist/commonjs/models/components/platformfilter.d.ts +6 -4
- package/dist/commonjs/models/components/platformfilter.d.ts.map +1 -1
- package/dist/commonjs/models/components/platformfilter.js.map +1 -1
- package/dist/commonjs/models/components/platformfilterfieldinfo.d.ts +32 -0
- package/dist/commonjs/models/components/platformfilterfieldinfo.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformfilterfieldinfo.js +55 -0
- package/dist/commonjs/models/components/platformfilterfieldinfo.js.map +1 -0
- package/dist/commonjs/models/components/platformfilteroperator.d.ts +5 -3
- package/dist/commonjs/models/components/platformfilteroperator.d.ts.map +1 -1
- package/dist/commonjs/models/components/platformfilteroperator.js +5 -3
- package/dist/commonjs/models/components/platformfilteroperator.js.map +1 -1
- package/dist/commonjs/models/components/platformproblemdetailcode.d.ts +3 -0
- package/dist/commonjs/models/components/platformproblemdetailcode.d.ts.map +1 -1
- package/dist/commonjs/models/components/platformproblemdetailcode.js +3 -0
- package/dist/commonjs/models/components/platformproblemdetailcode.js.map +1 -1
- package/dist/commonjs/models/components/platformresult.d.ts +0 -4
- package/dist/commonjs/models/components/platformresult.d.ts.map +1 -1
- package/dist/commonjs/models/components/platformresult.js +0 -1
- package/dist/commonjs/models/components/platformresult.js.map +1 -1
- package/dist/commonjs/models/components/platformsearchfiltersresponse.d.ts +20 -0
- package/dist/commonjs/models/components/platformsearchfiltersresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformsearchfiltersresponse.js +53 -0
- package/dist/commonjs/models/components/platformsearchfiltersresponse.js.map +1 -0
- package/dist/commonjs/models/components/platformsearchrequest.d.ts +2 -9
- package/dist/commonjs/models/components/platformsearchrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/platformsearchrequest.js +0 -1
- package/dist/commonjs/models/components/platformsearchrequest.js.map +1 -1
- package/dist/commonjs/models/components/platformsearchresponse.d.ts +10 -1
- package/dist/commonjs/models/components/platformsearchresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/platformsearchresponse.js +2 -0
- package/dist/commonjs/models/components/platformsearchresponse.js.map +1 -1
- package/dist/commonjs/models/components/platformskillimportrequest.d.ts +15 -0
- package/dist/commonjs/models/components/platformskillimportrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillimportrequest.js +50 -0
- package/dist/commonjs/models/components/platformskillimportrequest.js.map +1 -0
- package/dist/commonjs/models/components/platformskillimportresponse.d.ts +18 -0
- package/dist/commonjs/models/components/platformskillimportresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillimportresponse.js +53 -0
- package/dist/commonjs/models/components/platformskillimportresponse.js.map +1 -0
- package/dist/commonjs/models/components/platformskillsourcepreview.d.ts +38 -0
- package/dist/commonjs/models/components/platformskillsourcepreview.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillsourcepreview.js +58 -0
- package/dist/commonjs/models/components/platformskillsourcepreview.js.map +1 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewfailure.d.ts +22 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewfailure.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewfailure.js +54 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewfailure.js.map +1 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewfailurecode.d.ts +16 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewfailurecode.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewfailurecode.js +51 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewfailurecode.js.map +1 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewfile.d.ts +17 -0
- package/dist/{esm/models/components/platformskillvalidationwarning.d.ts.map → commonjs/models/components/platformskillsourcepreviewfile.d.ts.map} +1 -1
- package/dist/commonjs/models/components/platformskillsourcepreviewfile.js +52 -0
- package/dist/commonjs/models/components/{platformskillvalidationwarning.js.map → platformskillsourcepreviewfile.js.map} +1 -1
- package/dist/commonjs/models/components/platformskillsourcepreviewrequest.d.ts +20 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewrequest.js +51 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewrequest.js.map +1 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewresponse.d.ts +23 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewresponse.js +55 -0
- package/dist/commonjs/models/components/platformskillsourcepreviewresponse.js.map +1 -0
- package/dist/commonjs/models/components/platformskillsyncresponse.d.ts +26 -0
- package/dist/commonjs/models/components/platformskillsyncresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillsyncresponse.js +55 -0
- package/dist/commonjs/models/components/platformskillsyncresponse.js.map +1 -0
- package/dist/commonjs/models/components/platformskillsyncresultstatus.d.ts +15 -0
- package/dist/commonjs/models/components/platformskillsyncresultstatus.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillsyncresultstatus.js +50 -0
- package/dist/commonjs/models/components/platformskillsyncresultstatus.js.map +1 -0
- package/dist/commonjs/models/components/platformskillupdaterequest.d.ts +16 -0
- package/dist/commonjs/models/components/platformskillupdaterequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillupdaterequest.js +51 -0
- package/dist/commonjs/models/components/platformskillupdaterequest.js.map +1 -0
- package/dist/commonjs/models/components/platformskillupdateresponse.d.ts +15 -0
- package/dist/commonjs/models/components/platformskillupdateresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillupdateresponse.js +53 -0
- package/dist/commonjs/models/components/platformskillupdateresponse.js.map +1 -0
- package/dist/commonjs/models/components/platformskillupdatestatus.d.ts +16 -0
- package/dist/commonjs/models/components/platformskillupdatestatus.d.ts.map +1 -0
- package/dist/commonjs/models/components/platformskillupdatestatus.js +51 -0
- package/dist/commonjs/models/components/platformskillupdatestatus.js.map +1 -0
- package/dist/commonjs/models/components/platformskillvalidationresponse.d.ts +2 -2
- package/dist/commonjs/models/components/platformskillvalidationresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/platformskillvalidationresponse.js +2 -2
- package/dist/commonjs/models/components/platformskillvalidationresponse.js.map +1 -1
- package/dist/commonjs/models/components/platformwarning.d.ts +22 -0
- package/dist/commonjs/models/components/platformwarning.d.ts.map +1 -0
- package/dist/commonjs/models/components/{platformskillvalidationwarning.js → platformwarning.js} +7 -7
- package/dist/commonjs/models/components/platformwarning.js.map +1 -0
- package/dist/commonjs/models/components/toolannotations.d.ts +51 -0
- package/dist/commonjs/models/components/toolannotations.d.ts.map +1 -0
- package/dist/commonjs/models/components/toolannotations.js +55 -0
- package/dist/commonjs/models/components/toolannotations.js.map +1 -0
- package/dist/commonjs/models/components/tooldefinition.d.ts +43 -0
- package/dist/commonjs/models/components/tooldefinition.d.ts.map +1 -0
- package/dist/commonjs/models/components/tooldefinition.js +57 -0
- package/dist/commonjs/models/components/tooldefinition.js.map +1 -0
- package/dist/commonjs/models/components/tooldefinitionsresponse.d.ts +18 -0
- package/dist/commonjs/models/components/tooldefinitionsresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/tooldefinitionsresponse.js +53 -0
- package/dist/commonjs/models/components/tooldefinitionsresponse.js.map +1 -0
- package/dist/commonjs/models/components/viewerinfo.d.ts +5 -5
- package/dist/commonjs/models/components/viewerinfo.d.ts.map +1 -1
- package/dist/commonjs/models/components/viewerinfo.js +6 -6
- package/dist/commonjs/models/components/viewerinfo.js.map +1 -1
- package/dist/commonjs/models/errors/accessrequestpermissiondeniedresponseerror.d.ts +25 -0
- package/dist/commonjs/models/errors/accessrequestpermissiondeniedresponseerror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/accessrequestpermissiondeniedresponseerror.js +76 -0
- package/dist/commonjs/models/errors/accessrequestpermissiondeniedresponseerror.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +3 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +3 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/platformunauthorizedagenttoolsproblemerror.d.ts +95 -0
- package/dist/commonjs/models/errors/platformunauthorizedagenttoolsproblemerror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/platformunauthorizedagenttoolsproblemerror.js +93 -0
- package/dist/commonjs/models/errors/platformunauthorizedagenttoolsproblemerror.js.map +1 -0
- package/dist/commonjs/models/errors/unauthorizedagenttoolserror.d.ts +35 -0
- package/dist/commonjs/models/errors/unauthorizedagenttoolserror.d.ts.map +1 -0
- package/dist/commonjs/models/errors/unauthorizedagenttoolserror.js +72 -0
- package/dist/commonjs/models/errors/unauthorizedagenttoolserror.js.map +1 -0
- package/dist/commonjs/models/operations/gettoolservertools.d.ts +20 -0
- package/dist/commonjs/models/operations/gettoolservertools.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gettoolservertools.js +51 -0
- package/dist/commonjs/models/operations/gettoolservertools.js.map +1 -0
- package/dist/commonjs/models/operations/importagent.d.ts +28 -0
- package/dist/commonjs/models/operations/importagent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/importagent.js +59 -0
- package/dist/commonjs/models/operations/importagent.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +8 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +8 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/platformchatcreate.d.ts +9 -0
- package/dist/commonjs/models/operations/platformchatcreate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/platformchatcreate.js +53 -0
- package/dist/commonjs/models/operations/platformchatcreate.js.map +1 -0
- package/dist/commonjs/models/operations/platformsearchfilters.d.ts +36 -0
- package/dist/commonjs/models/operations/platformsearchfilters.d.ts.map +1 -0
- package/dist/commonjs/models/operations/platformsearchfilters.js +67 -0
- package/dist/commonjs/models/operations/platformsearchfilters.js.map +1 -0
- package/dist/commonjs/models/operations/platformskillsdelete.d.ts +15 -0
- package/dist/commonjs/models/operations/platformskillsdelete.d.ts.map +1 -0
- package/dist/commonjs/models/operations/platformskillsdelete.js +50 -0
- package/dist/commonjs/models/operations/platformskillsdelete.js.map +1 -0
- package/dist/commonjs/models/operations/platformskillspreviewsource.d.ts +9 -0
- package/dist/commonjs/models/operations/platformskillspreviewsource.d.ts.map +1 -0
- package/dist/commonjs/models/operations/platformskillspreviewsource.js +53 -0
- package/dist/commonjs/models/operations/platformskillspreviewsource.js.map +1 -0
- package/dist/commonjs/models/operations/platformskillssync.d.ts +15 -0
- package/dist/commonjs/models/operations/platformskillssync.d.ts.map +1 -0
- package/dist/commonjs/models/operations/platformskillssync.js +50 -0
- package/dist/commonjs/models/operations/platformskillssync.js.map +1 -0
- package/dist/commonjs/models/operations/platformskillsupdate.d.ts +18 -0
- package/dist/commonjs/models/operations/platformskillsupdate.d.ts.map +1 -0
- package/dist/commonjs/models/operations/platformskillsupdate.js +57 -0
- package/dist/commonjs/models/operations/platformskillsupdate.js.map +1 -0
- package/dist/commonjs/react-query/agentsCreateRun.d.ts +1 -1
- package/dist/commonjs/react-query/agentsCreateRun.d.ts.map +1 -1
- package/dist/commonjs/react-query/agentsCreateRun.js.map +1 -1
- package/dist/commonjs/react-query/chatCreate.d.ts +36 -0
- package/dist/commonjs/react-query/chatCreate.d.ts.map +1 -0
- package/dist/commonjs/react-query/chatCreate.js +51 -0
- package/dist/commonjs/react-query/chatCreate.js.map +1 -0
- package/dist/commonjs/react-query/clientAgentsImport.d.ts +32 -0
- package/dist/commonjs/react-query/clientAgentsImport.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientAgentsImport.js +48 -0
- package/dist/commonjs/react-query/clientAgentsImport.js.map +1 -0
- package/dist/commonjs/react-query/clientAgentsRun.d.ts +2 -1
- package/dist/commonjs/react-query/clientAgentsRun.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientAgentsRun.js.map +1 -1
- package/dist/commonjs/react-query/clientAgentsRunStream.d.ts +1 -1
- package/dist/commonjs/react-query/clientAgentsRunStream.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientAgentsRunStream.js.map +1 -1
- package/dist/commonjs/react-query/clientChatRetrieve.d.ts +2 -1
- package/dist/commonjs/react-query/clientChatRetrieve.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientChatRetrieve.js.map +1 -1
- package/dist/commonjs/react-query/clientToolsGetToolServerTools.core.d.ts +14 -0
- package/dist/commonjs/react-query/clientToolsGetToolServerTools.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientToolsGetToolServerTools.core.js +41 -0
- package/dist/commonjs/react-query/clientToolsGetToolServerTools.core.js.map +1 -0
- package/dist/commonjs/react-query/clientToolsGetToolServerTools.d.ts +50 -0
- package/dist/commonjs/react-query/clientToolsGetToolServerTools.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientToolsGetToolServerTools.js +82 -0
- package/dist/commonjs/react-query/clientToolsGetToolServerTools.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +9 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +9 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/searchListFilters.core.d.ts +15 -0
- package/dist/commonjs/react-query/searchListFilters.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/searchListFilters.core.js +35 -0
- package/dist/commonjs/react-query/searchListFilters.core.js.map +1 -0
- package/dist/commonjs/react-query/searchListFilters.d.ts +40 -0
- package/dist/commonjs/react-query/searchListFilters.d.ts.map +1 -0
- package/dist/commonjs/react-query/searchListFilters.js +68 -0
- package/dist/commonjs/react-query/searchListFilters.js.map +1 -0
- package/dist/commonjs/react-query/searchQuery.d.ts +2 -1
- package/dist/commonjs/react-query/searchQuery.d.ts.map +1 -1
- package/dist/commonjs/react-query/searchQuery.js +2 -1
- package/dist/commonjs/react-query/searchQuery.js.map +1 -1
- package/dist/commonjs/react-query/skillsDelete.d.ts +28 -0
- package/dist/commonjs/react-query/skillsDelete.d.ts.map +1 -0
- package/dist/commonjs/react-query/skillsDelete.js +48 -0
- package/dist/commonjs/react-query/skillsDelete.js.map +1 -0
- package/dist/commonjs/react-query/skillsImport.d.ts +29 -0
- package/dist/commonjs/react-query/skillsImport.d.ts.map +1 -0
- package/dist/commonjs/react-query/skillsImport.js +48 -0
- package/dist/commonjs/react-query/skillsImport.js.map +1 -0
- package/dist/commonjs/react-query/skillsPreviewSource.d.ts +36 -0
- package/dist/commonjs/react-query/skillsPreviewSource.d.ts.map +1 -0
- package/dist/commonjs/react-query/skillsPreviewSource.js +51 -0
- package/dist/commonjs/react-query/skillsPreviewSource.js.map +1 -0
- package/dist/commonjs/react-query/skillsSync.d.ts +29 -0
- package/dist/commonjs/react-query/skillsSync.d.ts.map +1 -0
- package/dist/commonjs/react-query/skillsSync.js +48 -0
- package/dist/commonjs/react-query/skillsSync.js.map +1 -0
- package/dist/commonjs/react-query/skillsUpdate.d.ts +30 -0
- package/dist/commonjs/react-query/skillsUpdate.d.ts.map +1 -0
- package/dist/commonjs/react-query/skillsUpdate.js +48 -0
- package/dist/commonjs/react-query/skillsUpdate.js.map +1 -0
- package/dist/commonjs/sdk/chat.d.ts +8 -73
- package/dist/commonjs/sdk/chat.d.ts.map +1 -1
- package/dist/commonjs/sdk/chat.js +8 -106
- package/dist/commonjs/sdk/chat.js.map +1 -1
- package/dist/commonjs/sdk/client.d.ts +2 -2
- package/dist/commonjs/sdk/client.d.ts.map +1 -1
- package/dist/commonjs/sdk/client.js +2 -2
- package/dist/commonjs/sdk/client.js.map +1 -1
- package/dist/commonjs/sdk/clientagents.d.ts +7 -0
- package/dist/commonjs/sdk/clientagents.d.ts.map +1 -1
- package/dist/commonjs/sdk/clientagents.js +10 -0
- package/dist/commonjs/sdk/clientagents.js.map +1 -1
- package/dist/commonjs/sdk/clientchat.d.ts +82 -0
- package/dist/commonjs/sdk/clientchat.d.ts.map +1 -0
- package/dist/commonjs/sdk/clientchat.js +123 -0
- package/dist/commonjs/sdk/clientchat.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/search.d.ts +11 -1
- package/dist/commonjs/sdk/search.d.ts.map +1 -1
- package/dist/commonjs/sdk/search.js +13 -1
- package/dist/commonjs/sdk/search.js.map +1 -1
- package/dist/commonjs/sdk/skills.d.ts +39 -0
- package/dist/commonjs/sdk/skills.d.ts.map +1 -1
- package/dist/commonjs/sdk/skills.js +53 -1
- package/dist/commonjs/sdk/skills.js.map +1 -1
- package/dist/commonjs/sdk/tools.d.ts +15 -0
- package/dist/commonjs/sdk/tools.d.ts.map +1 -1
- package/dist/commonjs/sdk/tools.js +18 -0
- package/dist/commonjs/sdk/tools.js.map +1 -1
- package/dist/esm/__tests__/chat.test.js +5 -3
- package/dist/esm/__tests__/chat.test.js.map +1 -1
- package/dist/esm/__tests__/clientagents.test.js +16 -0
- package/dist/esm/__tests__/clientagents.test.js.map +1 -1
- package/dist/esm/__tests__/clientchat.test.js +10 -0
- package/dist/esm/__tests__/clientchat.test.js.map +1 -1
- package/dist/esm/__tests__/indexingdocuments.test.js +46 -1
- package/dist/esm/__tests__/indexingdocuments.test.js.map +1 -1
- package/dist/esm/__tests__/people.test.js +13 -1
- package/dist/esm/__tests__/people.test.js.map +1 -1
- package/dist/esm/__tests__/search.test.js +10 -0
- package/dist/esm/__tests__/search.test.js.map +1 -1
- package/dist/esm/__tests__/skills.test.js +48 -0
- package/dist/esm/__tests__/skills.test.js.map +1 -1
- package/dist/esm/__tests__/summarize.test.js +4 -3
- package/dist/esm/__tests__/summarize.test.js.map +1 -1
- package/dist/esm/__tests__/tools.test.js +14 -0
- package/dist/esm/__tests__/tools.test.js.map +1 -1
- package/dist/esm/funcs/agentsCreateRun.d.ts +1 -1
- package/dist/esm/funcs/agentsCreateRun.d.ts.map +1 -1
- package/dist/esm/funcs/agentsCreateRun.js +1 -1
- package/dist/esm/funcs/agentsCreateRun.js.map +1 -1
- package/dist/esm/funcs/chatCreate.d.ts +25 -0
- package/dist/esm/funcs/chatCreate.d.ts.map +1 -0
- package/dist/esm/funcs/chatCreate.js +95 -0
- package/dist/esm/funcs/chatCreate.js.map +1 -0
- package/dist/esm/funcs/clientAgentsImport.d.ts +18 -0
- package/dist/esm/funcs/clientAgentsImport.d.ts.map +1 -0
- package/dist/esm/funcs/clientAgentsImport.js +136 -0
- package/dist/esm/funcs/clientAgentsImport.js.map +1 -0
- package/dist/esm/funcs/clientAgentsRun.d.ts +2 -1
- package/dist/esm/funcs/clientAgentsRun.d.ts.map +1 -1
- package/dist/esm/funcs/clientAgentsRun.js +5 -1
- package/dist/esm/funcs/clientAgentsRun.js.map +1 -1
- package/dist/esm/funcs/clientAgentsRunStream.d.ts +1 -1
- package/dist/esm/funcs/clientAgentsRunStream.d.ts.map +1 -1
- package/dist/esm/funcs/clientAgentsRunStream.js +1 -1
- package/dist/esm/funcs/clientAgentsRunStream.js.map +1 -1
- package/dist/esm/funcs/clientChatRetrieve.d.ts +2 -1
- package/dist/esm/funcs/clientChatRetrieve.d.ts.map +1 -1
- package/dist/esm/funcs/clientChatRetrieve.js +5 -1
- package/dist/esm/funcs/clientChatRetrieve.js.map +1 -1
- package/dist/esm/funcs/clientToolsGetToolServerTools.d.ts +25 -0
- package/dist/esm/funcs/clientToolsGetToolServerTools.d.ts.map +1 -0
- package/dist/esm/funcs/clientToolsGetToolServerTools.js +102 -0
- package/dist/esm/funcs/clientToolsGetToolServerTools.js.map +1 -0
- package/dist/esm/funcs/indexingDatasourceStatus.js +2 -4
- package/dist/esm/funcs/indexingDatasourceStatus.js.map +1 -1
- package/dist/esm/funcs/indexingDocumentsDebug.js +2 -4
- package/dist/esm/funcs/indexingDocumentsDebug.js.map +1 -1
- package/dist/esm/funcs/indexingDocumentsDebugEvents.js +2 -4
- package/dist/esm/funcs/indexingDocumentsDebugEvents.js.map +1 -1
- package/dist/esm/funcs/indexingDocumentsDebugMany.js +2 -4
- package/dist/esm/funcs/indexingDocumentsDebugMany.js.map +1 -1
- package/dist/esm/funcs/indexingPeopleDebug.js +2 -4
- package/dist/esm/funcs/indexingPeopleDebug.js.map +1 -1
- package/dist/esm/funcs/searchListFilters.d.ts +19 -0
- package/dist/esm/funcs/searchListFilters.d.ts.map +1 -0
- package/dist/esm/funcs/searchListFilters.js +98 -0
- package/dist/esm/funcs/searchListFilters.js.map +1 -0
- package/dist/esm/funcs/searchQuery.d.ts +2 -1
- package/dist/esm/funcs/searchQuery.d.ts.map +1 -1
- package/dist/esm/funcs/searchQuery.js +3 -2
- package/dist/esm/funcs/searchQuery.js.map +1 -1
- package/dist/esm/funcs/skillsDelete.d.ts +17 -0
- package/dist/esm/funcs/skillsDelete.d.ts.map +1 -0
- package/dist/esm/funcs/skillsDelete.js +95 -0
- package/dist/esm/funcs/skillsDelete.js.map +1 -0
- package/dist/esm/funcs/skillsImport.d.ts +18 -0
- package/dist/esm/funcs/skillsImport.d.ts.map +1 -0
- package/dist/esm/funcs/skillsImport.js +86 -0
- package/dist/esm/funcs/skillsImport.js.map +1 -0
- package/dist/esm/funcs/skillsPreviewSource.d.ts +25 -0
- package/dist/esm/funcs/skillsPreviewSource.d.ts.map +1 -0
- package/dist/esm/funcs/skillsPreviewSource.js +95 -0
- package/dist/esm/funcs/skillsPreviewSource.js.map +1 -0
- package/dist/esm/funcs/skillsSync.d.ts +18 -0
- package/dist/esm/funcs/skillsSync.d.ts.map +1 -0
- package/dist/esm/funcs/skillsSync.js +95 -0
- package/dist/esm/funcs/skillsSync.js.map +1 -0
- package/dist/esm/funcs/skillsUpdate.d.ts +18 -0
- package/dist/esm/funcs/skillsUpdate.d.ts.map +1 -0
- package/dist/esm/funcs/skillsUpdate.js +99 -0
- package/dist/esm/funcs/skillsUpdate.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/components/accessrequestpermissiondeniedresponseerror.d.ts +9 -0
- package/dist/esm/models/components/accessrequestpermissiondeniedresponseerror.d.ts.map +1 -0
- package/dist/esm/models/components/accessrequestpermissiondeniedresponseerror.js +12 -0
- package/dist/esm/models/components/accessrequestpermissiondeniedresponseerror.js.map +1 -0
- package/dist/esm/models/components/authconfig.d.ts +50 -3
- package/dist/esm/models/components/authconfig.d.ts.map +1 -1
- package/dist/esm/models/components/authconfig.js +41 -1
- package/dist/esm/models/components/authconfig.js.map +1 -1
- package/dist/esm/models/components/customdatasourceconfig.d.ts +2 -0
- package/dist/esm/models/components/customdatasourceconfig.d.ts.map +1 -1
- package/dist/esm/models/components/customdatasourceconfig.js +2 -0
- package/dist/esm/models/components/customdatasourceconfig.js.map +1 -1
- package/dist/esm/models/components/feedentry.d.ts +1 -0
- package/dist/esm/models/components/feedentry.d.ts.map +1 -1
- package/dist/esm/models/components/feedentry.js +1 -0
- package/dist/esm/models/components/feedentry.js.map +1 -1
- package/dist/esm/models/components/feedrequest.d.ts +1 -0
- package/dist/esm/models/components/feedrequest.d.ts.map +1 -1
- package/dist/esm/models/components/feedrequest.js +1 -0
- package/dist/esm/models/components/feedrequest.js.map +1 -1
- package/dist/esm/models/components/feedresult.d.ts +1 -0
- package/dist/esm/models/components/feedresult.d.ts.map +1 -1
- package/dist/esm/models/components/feedresult.js +1 -0
- package/dist/esm/models/components/feedresult.js.map +1 -1
- package/dist/esm/models/components/importagentrequest.d.ts +59 -0
- package/dist/esm/models/components/importagentrequest.d.ts.map +1 -0
- package/dist/esm/models/components/importagentrequest.js +33 -0
- package/dist/esm/models/components/importagentrequest.js.map +1 -0
- package/dist/esm/models/components/importagentresponse.d.ts +16 -0
- package/dist/esm/models/components/importagentresponse.d.ts.map +1 -0
- package/dist/esm/models/components/importagentresponse.js +17 -0
- package/dist/esm/models/components/importagentresponse.js.map +1 -0
- package/dist/esm/models/components/importagentstatus.d.ts +17 -0
- package/dist/esm/models/components/importagentstatus.d.ts.map +1 -0
- package/dist/esm/models/components/importagentstatus.js +16 -0
- package/dist/esm/models/components/importagentstatus.js.map +1 -0
- package/dist/esm/models/components/importagentsyncmode.d.ts +20 -0
- package/dist/esm/models/components/importagentsyncmode.d.ts.map +1 -0
- package/dist/esm/models/components/importagentsyncmode.js +17 -0
- package/dist/esm/models/components/importagentsyncmode.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +38 -1
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +38 -1
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/manualfeedbackinfo.d.ts +2 -0
- package/dist/esm/models/components/manualfeedbackinfo.d.ts.map +1 -1
- package/dist/esm/models/components/manualfeedbackinfo.js +2 -0
- package/dist/esm/models/components/manualfeedbackinfo.js.map +1 -1
- package/dist/esm/models/components/objectdefinition.d.ts +2 -0
- package/dist/esm/models/components/objectdefinition.d.ts.map +1 -1
- package/dist/esm/models/components/objectdefinition.js +2 -0
- package/dist/esm/models/components/objectdefinition.js.map +1 -1
- package/dist/esm/models/components/personmetadata.d.ts +5 -0
- package/dist/esm/models/components/personmetadata.d.ts.map +1 -1
- package/dist/esm/models/components/personmetadata.js +2 -0
- package/dist/esm/models/components/personmetadata.js.map +1 -1
- package/dist/esm/models/components/platformauthenticationsuggestion.d.ts +20 -0
- package/dist/esm/models/components/platformauthenticationsuggestion.d.ts.map +1 -0
- package/dist/esm/models/components/platformauthenticationsuggestion.js +15 -0
- package/dist/esm/models/components/platformauthenticationsuggestion.js.map +1 -0
- package/dist/esm/models/components/platformchatcitationannotation.d.ts +23 -0
- package/dist/esm/models/components/platformchatcitationannotation.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatcitationannotation.js +26 -0
- package/dist/esm/models/components/platformchatcitationannotation.js.map +1 -0
- package/dist/esm/models/components/platformchatcitationsnippet.d.ts +11 -0
- package/dist/esm/models/components/platformchatcitationsnippet.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatcitationsnippet.js +15 -0
- package/dist/esm/models/components/platformchatcitationsnippet.js.map +1 -0
- package/dist/esm/models/components/platformchatcitationsource.d.ts +15 -0
- package/dist/esm/models/components/platformchatcitationsource.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatcitationsource.js +21 -0
- package/dist/esm/models/components/platformchatcitationsource.js.map +1 -0
- package/dist/esm/models/components/platformchatcompletedresponse.d.ts +42 -0
- package/dist/esm/models/components/platformchatcompletedresponse.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatcompletedresponse.js +33 -0
- package/dist/esm/models/components/platformchatcompletedresponse.js.map +1 -0
- package/dist/esm/models/components/platformchatcreaterequest.d.ts +50 -0
- package/dist/esm/models/components/platformchatcreaterequest.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatcreaterequest.js +25 -0
- package/dist/esm/models/components/platformchatcreaterequest.js.map +1 -0
- package/dist/esm/models/components/platformchatcustomentitysource.d.ts +22 -0
- package/dist/esm/models/components/platformchatcustomentitysource.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatcustomentitysource.js +24 -0
- package/dist/esm/models/components/platformchatcustomentitysource.js.map +1 -0
- package/dist/esm/models/components/platformchatdocumentsource.d.ts +41 -0
- package/dist/esm/models/components/platformchatdocumentsource.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatdocumentsource.js +47 -0
- package/dist/esm/models/components/platformchatdocumentsource.js.map +1 -0
- package/dist/esm/models/components/platformchatfilesource.d.ts +21 -0
- package/dist/esm/models/components/platformchatfilesource.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatfilesource.js +23 -0
- package/dist/esm/models/components/platformchatfilesource.js.map +1 -0
- package/dist/esm/models/components/platformchatinputmessage.d.ts +22 -0
- package/dist/esm/models/components/platformchatinputmessage.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatinputmessage.js +20 -0
- package/dist/esm/models/components/platformchatinputmessage.js.map +1 -0
- package/dist/esm/models/components/platformchatoutputmessage.d.ts +26 -0
- package/dist/esm/models/components/platformchatoutputmessage.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatoutputmessage.js +27 -0
- package/dist/esm/models/components/platformchatoutputmessage.js.map +1 -0
- package/dist/esm/models/components/platformchatoutputtextcontent.d.ts +20 -0
- package/dist/esm/models/components/platformchatoutputtextcontent.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatoutputtextcontent.js +22 -0
- package/dist/esm/models/components/platformchatoutputtextcontent.js.map +1 -0
- package/dist/esm/models/components/platformchatpersonsource.d.ts +20 -0
- package/dist/esm/models/components/platformchatpersonsource.d.ts.map +1 -0
- package/dist/esm/models/components/platformchatpersonsource.js +22 -0
- package/dist/esm/models/components/platformchatpersonsource.js.map +1 -0
- package/dist/esm/models/components/platformdatasourcefilterinfo.d.ts +22 -0
- package/dist/esm/models/components/platformdatasourcefilterinfo.d.ts.map +1 -0
- package/dist/esm/models/components/platformdatasourcefilterinfo.js +16 -0
- package/dist/esm/models/components/platformdatasourcefilterinfo.js.map +1 -0
- package/dist/esm/models/components/platformfilter.d.ts +6 -4
- package/dist/esm/models/components/platformfilter.d.ts.map +1 -1
- package/dist/esm/models/components/platformfilter.js.map +1 -1
- package/dist/esm/models/components/platformfilterfieldinfo.d.ts +32 -0
- package/dist/esm/models/components/platformfilterfieldinfo.d.ts.map +1 -0
- package/dist/esm/models/components/platformfilterfieldinfo.js +18 -0
- package/dist/esm/models/components/platformfilterfieldinfo.js.map +1 -0
- package/dist/esm/models/components/platformfilteroperator.d.ts +5 -3
- package/dist/esm/models/components/platformfilteroperator.d.ts.map +1 -1
- package/dist/esm/models/components/platformfilteroperator.js +4 -2
- package/dist/esm/models/components/platformfilteroperator.js.map +1 -1
- package/dist/esm/models/components/platformproblemdetailcode.d.ts +3 -0
- package/dist/esm/models/components/platformproblemdetailcode.d.ts.map +1 -1
- package/dist/esm/models/components/platformproblemdetailcode.js +3 -0
- package/dist/esm/models/components/platformproblemdetailcode.js.map +1 -1
- package/dist/esm/models/components/platformresult.d.ts +0 -4
- package/dist/esm/models/components/platformresult.d.ts.map +1 -1
- package/dist/esm/models/components/platformresult.js +0 -1
- package/dist/esm/models/components/platformresult.js.map +1 -1
- package/dist/esm/models/components/platformsearchfiltersresponse.d.ts +20 -0
- package/dist/esm/models/components/platformsearchfiltersresponse.d.ts.map +1 -0
- package/dist/esm/models/components/platformsearchfiltersresponse.js +16 -0
- package/dist/esm/models/components/platformsearchfiltersresponse.js.map +1 -0
- package/dist/esm/models/components/platformsearchrequest.d.ts +2 -9
- package/dist/esm/models/components/platformsearchrequest.d.ts.map +1 -1
- package/dist/esm/models/components/platformsearchrequest.js +0 -1
- package/dist/esm/models/components/platformsearchrequest.js.map +1 -1
- package/dist/esm/models/components/platformsearchresponse.d.ts +10 -1
- package/dist/esm/models/components/platformsearchresponse.d.ts.map +1 -1
- package/dist/esm/models/components/platformsearchresponse.js +2 -0
- package/dist/esm/models/components/platformsearchresponse.js.map +1 -1
- package/dist/esm/models/components/platformskillimportrequest.d.ts +15 -0
- package/dist/esm/models/components/platformskillimportrequest.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillimportrequest.js +13 -0
- package/dist/esm/models/components/platformskillimportrequest.js.map +1 -0
- package/dist/esm/models/components/platformskillimportresponse.d.ts +18 -0
- package/dist/esm/models/components/platformskillimportresponse.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillimportresponse.js +16 -0
- package/dist/esm/models/components/platformskillimportresponse.js.map +1 -0
- package/dist/esm/models/components/platformskillsourcepreview.d.ts +38 -0
- package/dist/esm/models/components/platformskillsourcepreview.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillsourcepreview.js +21 -0
- package/dist/esm/models/components/platformskillsourcepreview.js.map +1 -0
- package/dist/esm/models/components/platformskillsourcepreviewfailure.d.ts +22 -0
- package/dist/esm/models/components/platformskillsourcepreviewfailure.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillsourcepreviewfailure.js +17 -0
- package/dist/esm/models/components/platformskillsourcepreviewfailure.js.map +1 -0
- package/dist/esm/models/components/platformskillsourcepreviewfailurecode.d.ts +16 -0
- package/dist/esm/models/components/platformskillsourcepreviewfailurecode.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillsourcepreviewfailurecode.js +15 -0
- package/dist/esm/models/components/platformskillsourcepreviewfailurecode.js.map +1 -0
- package/dist/esm/models/components/platformskillsourcepreviewfile.d.ts +17 -0
- package/dist/{commonjs/models/components/platformskillvalidationwarning.d.ts.map → esm/models/components/platformskillsourcepreviewfile.d.ts.map} +1 -1
- package/dist/esm/models/components/platformskillsourcepreviewfile.js +15 -0
- package/dist/esm/models/components/{platformskillvalidationwarning.js.map → platformskillsourcepreviewfile.js.map} +1 -1
- package/dist/esm/models/components/platformskillsourcepreviewrequest.d.ts +20 -0
- package/dist/esm/models/components/platformskillsourcepreviewrequest.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillsourcepreviewrequest.js +14 -0
- package/dist/esm/models/components/platformskillsourcepreviewrequest.js.map +1 -0
- package/dist/esm/models/components/platformskillsourcepreviewresponse.d.ts +23 -0
- package/dist/esm/models/components/platformskillsourcepreviewresponse.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillsourcepreviewresponse.js +18 -0
- package/dist/esm/models/components/platformskillsourcepreviewresponse.js.map +1 -0
- package/dist/esm/models/components/platformskillsyncresponse.d.ts +26 -0
- package/dist/esm/models/components/platformskillsyncresponse.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillsyncresponse.js +18 -0
- package/dist/esm/models/components/platformskillsyncresponse.js.map +1 -0
- package/dist/esm/models/components/platformskillsyncresultstatus.d.ts +15 -0
- package/dist/esm/models/components/platformskillsyncresultstatus.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillsyncresultstatus.js +14 -0
- package/dist/esm/models/components/platformskillsyncresultstatus.js.map +1 -0
- package/dist/esm/models/components/platformskillupdaterequest.d.ts +16 -0
- package/dist/esm/models/components/platformskillupdaterequest.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillupdaterequest.js +14 -0
- package/dist/esm/models/components/platformskillupdaterequest.js.map +1 -0
- package/dist/esm/models/components/platformskillupdateresponse.d.ts +15 -0
- package/dist/esm/models/components/platformskillupdateresponse.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillupdateresponse.js +16 -0
- package/dist/esm/models/components/platformskillupdateresponse.js.map +1 -0
- package/dist/esm/models/components/platformskillupdatestatus.d.ts +16 -0
- package/dist/esm/models/components/platformskillupdatestatus.d.ts.map +1 -0
- package/dist/esm/models/components/platformskillupdatestatus.js +15 -0
- package/dist/esm/models/components/platformskillupdatestatus.js.map +1 -0
- package/dist/esm/models/components/platformskillvalidationresponse.d.ts +2 -2
- package/dist/esm/models/components/platformskillvalidationresponse.d.ts.map +1 -1
- package/dist/esm/models/components/platformskillvalidationresponse.js +2 -2
- package/dist/esm/models/components/platformskillvalidationresponse.js.map +1 -1
- package/dist/esm/models/components/platformwarning.d.ts +22 -0
- package/dist/esm/models/components/platformwarning.d.ts.map +1 -0
- package/dist/esm/models/components/platformwarning.js +15 -0
- package/dist/esm/models/components/platformwarning.js.map +1 -0
- package/dist/esm/models/components/toolannotations.d.ts +51 -0
- package/dist/esm/models/components/toolannotations.d.ts.map +1 -0
- package/dist/esm/models/components/toolannotations.js +18 -0
- package/dist/esm/models/components/toolannotations.js.map +1 -0
- package/dist/esm/models/components/tooldefinition.d.ts +43 -0
- package/dist/esm/models/components/tooldefinition.d.ts.map +1 -0
- package/dist/esm/models/components/tooldefinition.js +20 -0
- package/dist/esm/models/components/tooldefinition.js.map +1 -0
- package/dist/esm/models/components/tooldefinitionsresponse.d.ts +18 -0
- package/dist/esm/models/components/tooldefinitionsresponse.d.ts.map +1 -0
- package/dist/esm/models/components/tooldefinitionsresponse.js +16 -0
- package/dist/esm/models/components/tooldefinitionsresponse.js.map +1 -0
- package/dist/esm/models/components/viewerinfo.d.ts +5 -5
- package/dist/esm/models/components/viewerinfo.d.ts.map +1 -1
- package/dist/esm/models/components/viewerinfo.js +5 -5
- package/dist/esm/models/components/viewerinfo.js.map +1 -1
- package/dist/esm/models/errors/accessrequestpermissiondeniedresponseerror.d.ts +25 -0
- package/dist/esm/models/errors/accessrequestpermissiondeniedresponseerror.d.ts.map +1 -0
- package/dist/esm/models/errors/accessrequestpermissiondeniedresponseerror.js +39 -0
- package/dist/esm/models/errors/accessrequestpermissiondeniedresponseerror.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +3 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +3 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/platformunauthorizedagenttoolsproblemerror.d.ts +95 -0
- package/dist/esm/models/errors/platformunauthorizedagenttoolsproblemerror.d.ts.map +1 -0
- package/dist/esm/models/errors/platformunauthorizedagenttoolsproblemerror.js +56 -0
- package/dist/esm/models/errors/platformunauthorizedagenttoolsproblemerror.js.map +1 -0
- package/dist/esm/models/errors/unauthorizedagenttoolserror.d.ts +35 -0
- package/dist/esm/models/errors/unauthorizedagenttoolserror.d.ts.map +1 -0
- package/dist/esm/models/errors/unauthorizedagenttoolserror.js +35 -0
- package/dist/esm/models/errors/unauthorizedagenttoolserror.js.map +1 -0
- package/dist/esm/models/operations/gettoolservertools.d.ts +20 -0
- package/dist/esm/models/operations/gettoolservertools.d.ts.map +1 -0
- package/dist/esm/models/operations/gettoolservertools.js +14 -0
- package/dist/esm/models/operations/gettoolservertools.js.map +1 -0
- package/dist/esm/models/operations/importagent.d.ts +28 -0
- package/dist/esm/models/operations/importagent.d.ts.map +1 -0
- package/dist/esm/models/operations/importagent.js +22 -0
- package/dist/esm/models/operations/importagent.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +8 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +8 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/platformchatcreate.d.ts +9 -0
- package/dist/esm/models/operations/platformchatcreate.d.ts.map +1 -0
- package/dist/esm/models/operations/platformchatcreate.js +16 -0
- package/dist/esm/models/operations/platformchatcreate.js.map +1 -0
- package/dist/esm/models/operations/platformsearchfilters.d.ts +36 -0
- package/dist/esm/models/operations/platformsearchfilters.d.ts.map +1 -0
- package/dist/esm/models/operations/platformsearchfilters.js +29 -0
- package/dist/esm/models/operations/platformsearchfilters.js.map +1 -0
- package/dist/esm/models/operations/platformskillsdelete.d.ts +15 -0
- package/dist/esm/models/operations/platformskillsdelete.d.ts.map +1 -0
- package/dist/esm/models/operations/platformskillsdelete.js +13 -0
- package/dist/esm/models/operations/platformskillsdelete.js.map +1 -0
- package/dist/esm/models/operations/platformskillspreviewsource.d.ts +9 -0
- package/dist/esm/models/operations/platformskillspreviewsource.d.ts.map +1 -0
- package/dist/esm/models/operations/platformskillspreviewsource.js +16 -0
- package/dist/esm/models/operations/platformskillspreviewsource.js.map +1 -0
- package/dist/esm/models/operations/platformskillssync.d.ts +15 -0
- package/dist/esm/models/operations/platformskillssync.d.ts.map +1 -0
- package/dist/esm/models/operations/platformskillssync.js +13 -0
- package/dist/esm/models/operations/platformskillssync.js.map +1 -0
- package/dist/esm/models/operations/platformskillsupdate.d.ts +18 -0
- package/dist/esm/models/operations/platformskillsupdate.d.ts.map +1 -0
- package/dist/esm/models/operations/platformskillsupdate.js +20 -0
- package/dist/esm/models/operations/platformskillsupdate.js.map +1 -0
- package/dist/esm/react-query/agentsCreateRun.d.ts +1 -1
- package/dist/esm/react-query/agentsCreateRun.d.ts.map +1 -1
- package/dist/esm/react-query/agentsCreateRun.js.map +1 -1
- package/dist/esm/react-query/chatCreate.d.ts +36 -0
- package/dist/esm/react-query/chatCreate.d.ts.map +1 -0
- package/dist/esm/react-query/chatCreate.js +44 -0
- package/dist/esm/react-query/chatCreate.js.map +1 -0
- package/dist/esm/react-query/clientAgentsImport.d.ts +32 -0
- package/dist/esm/react-query/clientAgentsImport.d.ts.map +1 -0
- package/dist/esm/react-query/clientAgentsImport.js +43 -0
- package/dist/esm/react-query/clientAgentsImport.js.map +1 -0
- package/dist/esm/react-query/clientAgentsRun.d.ts +2 -1
- package/dist/esm/react-query/clientAgentsRun.d.ts.map +1 -1
- package/dist/esm/react-query/clientAgentsRun.js.map +1 -1
- package/dist/esm/react-query/clientAgentsRunStream.d.ts +1 -1
- package/dist/esm/react-query/clientAgentsRunStream.d.ts.map +1 -1
- package/dist/esm/react-query/clientAgentsRunStream.js.map +1 -1
- package/dist/esm/react-query/clientChatRetrieve.d.ts +2 -1
- package/dist/esm/react-query/clientChatRetrieve.d.ts.map +1 -1
- package/dist/esm/react-query/clientChatRetrieve.js.map +1 -1
- package/dist/esm/react-query/clientToolsGetToolServerTools.core.d.ts +14 -0
- package/dist/esm/react-query/clientToolsGetToolServerTools.core.d.ts.map +1 -0
- package/dist/esm/react-query/clientToolsGetToolServerTools.core.js +36 -0
- package/dist/esm/react-query/clientToolsGetToolServerTools.core.js.map +1 -0
- package/dist/esm/react-query/clientToolsGetToolServerTools.d.ts +50 -0
- package/dist/esm/react-query/clientToolsGetToolServerTools.d.ts.map +1 -0
- package/dist/esm/react-query/clientToolsGetToolServerTools.js +72 -0
- package/dist/esm/react-query/clientToolsGetToolServerTools.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +9 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +9 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/searchListFilters.core.d.ts +15 -0
- package/dist/esm/react-query/searchListFilters.core.d.ts.map +1 -0
- package/dist/esm/react-query/searchListFilters.core.js +30 -0
- package/dist/esm/react-query/searchListFilters.core.js.map +1 -0
- package/dist/esm/react-query/searchListFilters.d.ts +40 -0
- package/dist/esm/react-query/searchListFilters.d.ts.map +1 -0
- package/dist/esm/react-query/searchListFilters.js +58 -0
- package/dist/esm/react-query/searchListFilters.js.map +1 -0
- package/dist/esm/react-query/searchQuery.d.ts +2 -1
- package/dist/esm/react-query/searchQuery.d.ts.map +1 -1
- package/dist/esm/react-query/searchQuery.js +2 -1
- package/dist/esm/react-query/searchQuery.js.map +1 -1
- package/dist/esm/react-query/skillsDelete.d.ts +28 -0
- package/dist/esm/react-query/skillsDelete.d.ts.map +1 -0
- package/dist/esm/react-query/skillsDelete.js +43 -0
- package/dist/esm/react-query/skillsDelete.js.map +1 -0
- package/dist/esm/react-query/skillsImport.d.ts +29 -0
- package/dist/esm/react-query/skillsImport.d.ts.map +1 -0
- package/dist/esm/react-query/skillsImport.js +43 -0
- package/dist/esm/react-query/skillsImport.js.map +1 -0
- package/dist/esm/react-query/skillsPreviewSource.d.ts +36 -0
- package/dist/esm/react-query/skillsPreviewSource.d.ts.map +1 -0
- package/dist/esm/react-query/skillsPreviewSource.js +44 -0
- package/dist/esm/react-query/skillsPreviewSource.js.map +1 -0
- package/dist/esm/react-query/skillsSync.d.ts +29 -0
- package/dist/esm/react-query/skillsSync.d.ts.map +1 -0
- package/dist/esm/react-query/skillsSync.js +43 -0
- package/dist/esm/react-query/skillsSync.js.map +1 -0
- package/dist/esm/react-query/skillsUpdate.d.ts +30 -0
- package/dist/esm/react-query/skillsUpdate.d.ts.map +1 -0
- package/dist/esm/react-query/skillsUpdate.js +43 -0
- package/dist/esm/react-query/skillsUpdate.js.map +1 -0
- package/dist/esm/sdk/chat.d.ts +8 -73
- package/dist/esm/sdk/chat.d.ts.map +1 -1
- package/dist/esm/sdk/chat.js +6 -105
- package/dist/esm/sdk/chat.js.map +1 -1
- package/dist/esm/sdk/client.d.ts +2 -2
- package/dist/esm/sdk/client.d.ts.map +1 -1
- package/dist/esm/sdk/client.js +2 -2
- package/dist/esm/sdk/client.js.map +1 -1
- package/dist/esm/sdk/clientagents.d.ts +7 -0
- package/dist/esm/sdk/clientagents.d.ts.map +1 -1
- package/dist/esm/sdk/clientagents.js +10 -0
- package/dist/esm/sdk/clientagents.js.map +1 -1
- package/dist/esm/sdk/clientchat.d.ts +82 -0
- package/dist/esm/sdk/clientchat.d.ts.map +1 -0
- package/dist/esm/sdk/clientchat.js +119 -0
- package/dist/esm/sdk/clientchat.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/search.d.ts +11 -1
- package/dist/esm/sdk/search.d.ts.map +1 -1
- package/dist/esm/sdk/search.js +13 -1
- package/dist/esm/sdk/search.js.map +1 -1
- package/dist/esm/sdk/skills.d.ts +39 -0
- package/dist/esm/sdk/skills.d.ts.map +1 -1
- package/dist/esm/sdk/skills.js +51 -0
- package/dist/esm/sdk/skills.js.map +1 -1
- package/dist/esm/sdk/tools.d.ts +15 -0
- package/dist/esm/sdk/tools.d.ts.map +1 -1
- package/dist/esm/sdk/tools.js +18 -0
- package/dist/esm/sdk/tools.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/chat.test.ts +5 -3
- package/src/__tests__/clientagents.test.ts +19 -0
- package/src/__tests__/clientchat.test.ts +13 -0
- package/src/__tests__/indexingdocuments.test.ts +61 -1
- package/src/__tests__/people.test.ts +18 -1
- package/src/__tests__/search.test.ts +13 -0
- package/src/__tests__/skills.test.ts +60 -0
- package/src/__tests__/summarize.test.ts +4 -3
- package/src/__tests__/tools.test.ts +17 -0
- package/src/funcs/agentsCreateRun.ts +8 -0
- package/src/funcs/chatCreate.ts +189 -0
- package/src/funcs/clientAgentsImport.ts +257 -0
- package/src/funcs/clientAgentsRun.ts +11 -2
- package/src/funcs/clientAgentsRunStream.ts +5 -1
- package/src/funcs/clientChatRetrieve.ts +14 -2
- package/src/funcs/clientToolsGetToolServerTools.ts +192 -0
- package/src/funcs/indexingDatasourceStatus.ts +2 -4
- package/src/funcs/indexingDocumentsDebug.ts +2 -4
- package/src/funcs/indexingDocumentsDebugEvents.ts +2 -4
- package/src/funcs/indexingDocumentsDebugMany.ts +2 -4
- package/src/funcs/indexingPeopleDebug.ts +2 -4
- package/src/funcs/searchListFilters.ts +197 -0
- package/src/funcs/searchQuery.ts +3 -2
- package/src/funcs/skillsDelete.ts +190 -0
- package/src/funcs/skillsImport.ts +180 -0
- package/src/funcs/skillsPreviewSource.ts +190 -0
- package/src/funcs/skillsSync.ts +189 -0
- package/src/funcs/skillsUpdate.ts +197 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/accessrequestpermissiondeniedresponseerror.ts +19 -0
- package/src/models/components/authconfig.ts +62 -3
- package/src/models/components/customdatasourceconfig.ts +2 -0
- package/src/models/components/feedentry.ts +1 -0
- package/src/models/components/feedrequest.ts +1 -0
- package/src/models/components/feedresult.ts +1 -0
- package/src/models/components/importagentrequest.ts +106 -0
- package/src/models/components/importagentresponse.ts +45 -0
- package/src/models/components/importagentstatus.ts +28 -0
- package/src/models/components/importagentsyncmode.ts +28 -0
- package/src/models/components/index.ts +38 -1
- package/src/models/components/manualfeedbackinfo.ts +2 -0
- package/src/models/components/objectdefinition.ts +2 -0
- package/src/models/components/personmetadata.ts +7 -0
- package/src/models/components/platformauthenticationsuggestion.ts +43 -0
- package/src/models/components/platformchatcitationannotation.ts +62 -0
- package/src/models/components/platformchatcitationsnippet.ts +34 -0
- package/src/models/components/platformchatcitationsource.ts +56 -0
- package/src/models/components/platformchatcompletedresponse.ts +83 -0
- package/src/models/components/platformchatcreaterequest.ts +90 -0
- package/src/models/components/platformchatcustomentitysource.ts +55 -0
- package/src/models/components/platformchatdocumentsource.ts +122 -0
- package/src/models/components/platformchatfilesource.ts +53 -0
- package/src/models/components/platformchatinputmessage.ts +49 -0
- package/src/models/components/platformchatoutputmessage.ts +65 -0
- package/src/models/components/platformchatoutputtextcontent.ts +53 -0
- package/src/models/components/platformchatpersonsource.ts +51 -0
- package/src/models/components/platformdatasourcefilterinfo.ts +48 -0
- package/src/models/components/platformfilter.ts +6 -4
- package/src/models/components/platformfilterfieldinfo.ts +60 -0
- package/src/models/components/platformfilteroperator.ts +14 -5
- package/src/models/components/platformproblemdetailcode.ts +3 -0
- package/src/models/components/platformresult.ts +0 -5
- package/src/models/components/platformsearchfiltersresponse.ts +46 -0
- package/src/models/components/platformsearchrequest.ts +2 -10
- package/src/models/components/platformsearchresponse.ts +14 -1
- package/src/models/components/platformskillimportrequest.ts +35 -0
- package/src/models/components/platformskillimportresponse.ts +41 -0
- package/src/models/components/platformskillsourcepreview.ts +69 -0
- package/src/models/components/platformskillsourcepreviewfailure.ts +49 -0
- package/src/models/components/platformskillsourcepreviewfailurecode.ts +29 -0
- package/src/models/components/platformskillsourcepreviewfile.ts +40 -0
- package/src/models/components/platformskillsourcepreviewrequest.ts +43 -0
- package/src/models/components/platformskillsourcepreviewresponse.ts +54 -0
- package/src/models/components/platformskillsyncresponse.ts +54 -0
- package/src/models/components/platformskillsyncresultstatus.ts +25 -0
- package/src/models/components/platformskillupdaterequest.ts +39 -0
- package/src/models/components/platformskillupdateresponse.ts +38 -0
- package/src/models/components/platformskillupdatestatus.ts +26 -0
- package/src/models/components/platformskillvalidationresponse.ts +5 -5
- package/src/models/components/{platformskillvalidationwarning.ts → platformwarning.ts} +14 -9
- package/src/models/components/toolannotations.ts +77 -0
- package/src/models/components/tooldefinition.ts +71 -0
- package/src/models/components/tooldefinitionsresponse.ts +44 -0
- package/src/models/components/viewerinfo.ts +15 -9
- package/src/models/errors/accessrequestpermissiondeniedresponseerror.ts +63 -0
- package/src/models/errors/index.ts +3 -0
- package/src/models/errors/platformunauthorizedagenttoolsproblemerror.ts +151 -0
- package/src/models/errors/unauthorizedagenttoolserror.ts +69 -0
- package/src/models/operations/gettoolservertools.ts +41 -0
- package/src/models/operations/importagent.ts +56 -0
- package/src/models/operations/index.ts +8 -0
- package/src/models/operations/platformchatcreate.ts +34 -0
- package/src/models/operations/platformsearchfilters.ts +81 -0
- package/src/models/operations/platformskillsdelete.ts +37 -0
- package/src/models/operations/platformskillspreviewsource.ts +35 -0
- package/src/models/operations/platformskillssync.ts +35 -0
- package/src/models/operations/platformskillsupdate.ts +47 -0
- package/src/react-query/agentsCreateRun.ts +1 -0
- package/src/react-query/chatCreate.ts +114 -0
- package/src/react-query/clientAgentsImport.ts +120 -0
- package/src/react-query/clientAgentsRun.ts +2 -0
- package/src/react-query/clientAgentsRunStream.ts +1 -0
- package/src/react-query/clientChatRetrieve.ts +2 -0
- package/src/react-query/clientToolsGetToolServerTools.core.ts +85 -0
- package/src/react-query/clientToolsGetToolServerTools.ts +163 -0
- package/src/react-query/index.ts +9 -0
- package/src/react-query/searchListFilters.core.ts +81 -0
- package/src/react-query/searchListFilters.ts +156 -0
- package/src/react-query/searchQuery.ts +2 -1
- package/src/react-query/skillsDelete.ts +110 -0
- package/src/react-query/skillsImport.ts +111 -0
- package/src/react-query/skillsPreviewSource.ts +120 -0
- package/src/react-query/skillsSync.ts +111 -0
- package/src/react-query/skillsUpdate.ts +114 -0
- package/src/sdk/chat.ts +11 -224
- package/src/sdk/client.ts +4 -4
- package/src/sdk/clientagents.ts +24 -0
- package/src/sdk/clientchat.ts +244 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/search.ts +24 -1
- package/src/sdk/skills.ts +99 -0
- package/src/sdk/tools.ts +28 -0
- package/dist/commonjs/models/components/platformskillvalidationwarning.d.ts +0 -17
- package/dist/esm/models/components/platformskillvalidationwarning.d.ts +0 -17
- package/dist/esm/models/components/platformskillvalidationwarning.js +0 -15
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @generated-id: 0aa842dce54d
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export * from "./accessrequestpermissiondeniedresponseerror.js";
|
|
6
7
|
export * from "./actionauthtype.js";
|
|
7
8
|
export * from "./actionpackauthstatus.js";
|
|
8
9
|
export * from "./actionpackauthstatusresponse.js";
|
|
@@ -277,6 +278,10 @@ export * from "./grouptype.js";
|
|
|
277
278
|
export * from "./hotword.js";
|
|
278
279
|
export * from "./hotwordproximity.js";
|
|
279
280
|
export * from "./iconconfig.js";
|
|
281
|
+
export * from "./importagentrequest.js";
|
|
282
|
+
export * from "./importagentresponse.js";
|
|
283
|
+
export * from "./importagentstatus.js";
|
|
284
|
+
export * from "./importagentsyncmode.js";
|
|
280
285
|
export * from "./indexdocumentrequest.js";
|
|
281
286
|
export * from "./indexdocumentsrequest.js";
|
|
282
287
|
export * from "./indexemployeerequest.js";
|
|
@@ -355,8 +360,23 @@ export * from "./platformagentrunwaitresponse.js";
|
|
|
355
360
|
export * from "./platformagentschemasresponse.js";
|
|
356
361
|
export * from "./platformagentssearchrequest.js";
|
|
357
362
|
export * from "./platformagentssearchresponse.js";
|
|
363
|
+
export * from "./platformauthenticationsuggestion.js";
|
|
364
|
+
export * from "./platformchatcitationannotation.js";
|
|
365
|
+
export * from "./platformchatcitationsnippet.js";
|
|
366
|
+
export * from "./platformchatcitationsource.js";
|
|
367
|
+
export * from "./platformchatcompletedresponse.js";
|
|
368
|
+
export * from "./platformchatcreaterequest.js";
|
|
369
|
+
export * from "./platformchatcustomentitysource.js";
|
|
370
|
+
export * from "./platformchatdocumentsource.js";
|
|
371
|
+
export * from "./platformchatfilesource.js";
|
|
372
|
+
export * from "./platformchatinputmessage.js";
|
|
373
|
+
export * from "./platformchatoutputmessage.js";
|
|
374
|
+
export * from "./platformchatoutputtextcontent.js";
|
|
375
|
+
export * from "./platformchatpersonsource.js";
|
|
358
376
|
export * from "./platformcontenttype.js";
|
|
377
|
+
export * from "./platformdatasourcefilterinfo.js";
|
|
359
378
|
export * from "./platformfilter.js";
|
|
379
|
+
export * from "./platformfilterfieldinfo.js";
|
|
360
380
|
export * from "./platformfilteroperator.js";
|
|
361
381
|
export * from "./platformmessage.js";
|
|
362
382
|
export * from "./platformmessagerole.js";
|
|
@@ -365,28 +385,42 @@ export * from "./platformpersonreference.js";
|
|
|
365
385
|
export * from "./platformproblemdetailcode.js";
|
|
366
386
|
export * from "./platformproblemdetailerror.js";
|
|
367
387
|
export * from "./platformresult.js";
|
|
388
|
+
export * from "./platformsearchfiltersresponse.js";
|
|
368
389
|
export * from "./platformsearchrequest.js";
|
|
369
390
|
export * from "./platformsearchresponse.js";
|
|
370
391
|
export * from "./platformskill.js";
|
|
371
392
|
export * from "./platformskillcreaterequest.js";
|
|
372
393
|
export * from "./platformskillcreateresponse.js";
|
|
373
394
|
export * from "./platformskillgetresponse.js";
|
|
395
|
+
export * from "./platformskillimportrequest.js";
|
|
396
|
+
export * from "./platformskillimportresponse.js";
|
|
374
397
|
export * from "./platformskillorigin.js";
|
|
375
398
|
export * from "./platformskillslistresponse.js";
|
|
399
|
+
export * from "./platformskillsourcepreview.js";
|
|
400
|
+
export * from "./platformskillsourcepreviewfailure.js";
|
|
401
|
+
export * from "./platformskillsourcepreviewfailurecode.js";
|
|
402
|
+
export * from "./platformskillsourcepreviewfile.js";
|
|
403
|
+
export * from "./platformskillsourcepreviewrequest.js";
|
|
404
|
+
export * from "./platformskillsourcepreviewresponse.js";
|
|
376
405
|
export * from "./platformskillsourceprovenance.js";
|
|
377
406
|
export * from "./platformskillstatus.js";
|
|
407
|
+
export * from "./platformskillsyncresponse.js";
|
|
408
|
+
export * from "./platformskillsyncresultstatus.js";
|
|
378
409
|
export * from "./platformskillsyncstatus.js";
|
|
410
|
+
export * from "./platformskillupdaterequest.js";
|
|
411
|
+
export * from "./platformskillupdateresponse.js";
|
|
412
|
+
export * from "./platformskillupdatestatus.js";
|
|
379
413
|
export * from "./platformskillvalidationfile.js";
|
|
380
414
|
export * from "./platformskillvalidationmetadata.js";
|
|
381
415
|
export * from "./platformskillvalidationrequest.js";
|
|
382
416
|
export * from "./platformskillvalidationresponse.js";
|
|
383
|
-
export * from "./platformskillvalidationwarning.js";
|
|
384
417
|
export * from "./platformskillversion.js";
|
|
385
418
|
export * from "./platformskillversioncreaterequest.js";
|
|
386
419
|
export * from "./platformskillversioncreateresponse.js";
|
|
387
420
|
export * from "./platformskillversiongetresponse.js";
|
|
388
421
|
export * from "./platformskillversionslistresponse.js";
|
|
389
422
|
export * from "./platformtimerange.js";
|
|
423
|
+
export * from "./platformwarning.js";
|
|
390
424
|
export * from "./possiblevalue.js";
|
|
391
425
|
export * from "./processalldocumentsrequest.js";
|
|
392
426
|
export * from "./processallmembershipsrequest.js";
|
|
@@ -469,6 +503,9 @@ export * from "./timepoint.js";
|
|
|
469
503
|
export * from "./timerange.js";
|
|
470
504
|
export * from "./timerangefilter.js";
|
|
471
505
|
export * from "./tool.js";
|
|
506
|
+
export * from "./toolannotations.js";
|
|
507
|
+
export * from "./tooldefinition.js";
|
|
508
|
+
export * from "./tooldefinitionsresponse.js";
|
|
472
509
|
export * from "./toolinfo.js";
|
|
473
510
|
export * from "./toolmetadata.js";
|
|
474
511
|
export * from "./toolparameter.js";
|
|
@@ -61,6 +61,8 @@ export const Issue = {
|
|
|
61
61
|
ResultsHelpful: "RESULTS_HELPFUL",
|
|
62
62
|
ResultsPoorOrder: "RESULTS_POOR_ORDER",
|
|
63
63
|
TooMuchOneKind: "TOO_MUCH_ONE_KIND",
|
|
64
|
+
NotAQuestion: "NOT_A_QUESTION",
|
|
65
|
+
UnsureIfCorrect: "UNSURE_IF_CORRECT",
|
|
64
66
|
} as const;
|
|
65
67
|
export type Issue = ClosedEnum<typeof Issue>;
|
|
66
68
|
|
|
@@ -125,6 +125,10 @@ export type PersonMetadata = {
|
|
|
125
125
|
* An organizational unit where everyone has a similar task, e.g. `Engineering`.
|
|
126
126
|
*/
|
|
127
127
|
department?: string | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* Normalized job-function category assigned by Entity Builder from the source department and, when available, job title. Unlike `department`, which preserves the company-specific organizational unit, this field groups departments into configured categories such as `Engineering`, `Sales`, or `IT`; it may be `Unknown` when the mapping is inconclusive.
|
|
130
|
+
*/
|
|
131
|
+
jobFunction?: string | undefined;
|
|
128
132
|
/**
|
|
129
133
|
* Info about the employee's team(s).
|
|
130
134
|
*/
|
|
@@ -302,6 +306,7 @@ export const PersonMetadata$inboundSchema: z.ZodType<
|
|
|
302
306
|
title: z.string().optional(),
|
|
303
307
|
businessUnit: z.string().optional(),
|
|
304
308
|
department: z.string().optional(),
|
|
309
|
+
jobFunction: z.string().optional(),
|
|
305
310
|
teams: z.array(PersonTeam$inboundSchema).optional(),
|
|
306
311
|
departmentCount: z.number().int().optional(),
|
|
307
312
|
email: z.string().optional(),
|
|
@@ -352,6 +357,7 @@ export type PersonMetadata$Outbound = {
|
|
|
352
357
|
title?: string | undefined;
|
|
353
358
|
businessUnit?: string | undefined;
|
|
354
359
|
department?: string | undefined;
|
|
360
|
+
jobFunction?: string | undefined;
|
|
355
361
|
teams?: Array<PersonTeam$Outbound> | undefined;
|
|
356
362
|
departmentCount?: number | undefined;
|
|
357
363
|
email?: string | undefined;
|
|
@@ -405,6 +411,7 @@ export const PersonMetadata$outboundSchema: z.ZodType<
|
|
|
405
411
|
title: z.string().optional(),
|
|
406
412
|
businessUnit: z.string().optional(),
|
|
407
413
|
department: z.string().optional(),
|
|
414
|
+
jobFunction: z.string().optional(),
|
|
408
415
|
teams: z.array(PersonTeam$outboundSchema).optional(),
|
|
409
416
|
departmentCount: z.number().int().optional(),
|
|
410
417
|
email: z.string().optional(),
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: b7fd21fddef4
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* One tool the caller must authorize before the agent can run.
|
|
13
|
+
*/
|
|
14
|
+
export type PlatformAuthenticationSuggestion = {
|
|
15
|
+
/**
|
|
16
|
+
* Human-readable tool name.
|
|
17
|
+
*/
|
|
18
|
+
tool_name?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Identifier to POST to `/tool-servers/{serverId}/auth` (Client API) with `returnUrl` in the request body to obtain an `authorizationUrl` to redirect the end user to.
|
|
21
|
+
*/
|
|
22
|
+
server_id: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const PlatformAuthenticationSuggestion$inboundSchema: z.ZodType<
|
|
27
|
+
PlatformAuthenticationSuggestion,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
tool_name: z.string().optional(),
|
|
32
|
+
server_id: z.string(),
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export function platformAuthenticationSuggestionFromJSON(
|
|
36
|
+
jsonString: string,
|
|
37
|
+
): SafeParseResult<PlatformAuthenticationSuggestion, SDKValidationError> {
|
|
38
|
+
return safeParse(
|
|
39
|
+
jsonString,
|
|
40
|
+
(x) => PlatformAuthenticationSuggestion$inboundSchema.parse(JSON.parse(x)),
|
|
41
|
+
`Failed to parse 'PlatformAuthenticationSuggestion' from JSON`,
|
|
42
|
+
);
|
|
43
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 3a01c4a809ce
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
PlatformChatCitationSnippet,
|
|
13
|
+
PlatformChatCitationSnippet$inboundSchema,
|
|
14
|
+
} from "./platformchatcitationsnippet.js";
|
|
15
|
+
import {
|
|
16
|
+
PlatformChatCitationSource,
|
|
17
|
+
PlatformChatCitationSource$inboundSchema,
|
|
18
|
+
} from "./platformchatcitationsource.js";
|
|
19
|
+
|
|
20
|
+
export const PlatformChatCitationAnnotationType = {
|
|
21
|
+
Citation: "citation",
|
|
22
|
+
} as const;
|
|
23
|
+
export type PlatformChatCitationAnnotationType = ClosedEnum<
|
|
24
|
+
typeof PlatformChatCitationAnnotationType
|
|
25
|
+
>;
|
|
26
|
+
|
|
27
|
+
export type PlatformChatCitationAnnotation = {
|
|
28
|
+
type: PlatformChatCitationAnnotationType;
|
|
29
|
+
sources: Array<PlatformChatCitationSource>;
|
|
30
|
+
start_index?: number | null | undefined;
|
|
31
|
+
end_index?: number | null | undefined;
|
|
32
|
+
snippets?: Array<PlatformChatCitationSnippet> | null | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const PlatformChatCitationAnnotationType$inboundSchema: z.ZodNativeEnum<
|
|
37
|
+
typeof PlatformChatCitationAnnotationType
|
|
38
|
+
> = z.nativeEnum(PlatformChatCitationAnnotationType);
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const PlatformChatCitationAnnotation$inboundSchema: z.ZodType<
|
|
42
|
+
PlatformChatCitationAnnotation,
|
|
43
|
+
z.ZodTypeDef,
|
|
44
|
+
unknown
|
|
45
|
+
> = z.object({
|
|
46
|
+
type: PlatformChatCitationAnnotationType$inboundSchema,
|
|
47
|
+
sources: z.array(PlatformChatCitationSource$inboundSchema),
|
|
48
|
+
start_index: z.nullable(z.number().int()).optional(),
|
|
49
|
+
end_index: z.nullable(z.number().int()).optional(),
|
|
50
|
+
snippets: z.nullable(z.array(PlatformChatCitationSnippet$inboundSchema))
|
|
51
|
+
.optional(),
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export function platformChatCitationAnnotationFromJSON(
|
|
55
|
+
jsonString: string,
|
|
56
|
+
): SafeParseResult<PlatformChatCitationAnnotation, SDKValidationError> {
|
|
57
|
+
return safeParse(
|
|
58
|
+
jsonString,
|
|
59
|
+
(x) => PlatformChatCitationAnnotation$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
+
`Failed to parse 'PlatformChatCitationAnnotation' from JSON`,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 128244b7a174
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type PlatformChatCitationSnippet = {
|
|
12
|
+
text: string;
|
|
13
|
+
page_number?: number | null | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const PlatformChatCitationSnippet$inboundSchema: z.ZodType<
|
|
18
|
+
PlatformChatCitationSnippet,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
text: z.string(),
|
|
23
|
+
page_number: z.nullable(z.number().int()).optional(),
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
export function platformChatCitationSnippetFromJSON(
|
|
27
|
+
jsonString: string,
|
|
28
|
+
): SafeParseResult<PlatformChatCitationSnippet, SDKValidationError> {
|
|
29
|
+
return safeParse(
|
|
30
|
+
jsonString,
|
|
31
|
+
(x) => PlatformChatCitationSnippet$inboundSchema.parse(JSON.parse(x)),
|
|
32
|
+
`Failed to parse 'PlatformChatCitationSnippet' from JSON`,
|
|
33
|
+
);
|
|
34
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 630cf5fea155
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
PlatformChatCustomEntitySource,
|
|
12
|
+
PlatformChatCustomEntitySource$inboundSchema,
|
|
13
|
+
} from "./platformchatcustomentitysource.js";
|
|
14
|
+
import {
|
|
15
|
+
PlatformChatDocumentSource,
|
|
16
|
+
PlatformChatDocumentSource$inboundSchema,
|
|
17
|
+
} from "./platformchatdocumentsource.js";
|
|
18
|
+
import {
|
|
19
|
+
PlatformChatFileSource,
|
|
20
|
+
PlatformChatFileSource$inboundSchema,
|
|
21
|
+
} from "./platformchatfilesource.js";
|
|
22
|
+
import {
|
|
23
|
+
PlatformChatPersonSource,
|
|
24
|
+
PlatformChatPersonSource$inboundSchema,
|
|
25
|
+
} from "./platformchatpersonsource.js";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Four-variant citation source union.
|
|
29
|
+
*/
|
|
30
|
+
export type PlatformChatCitationSource =
|
|
31
|
+
| PlatformChatPersonSource
|
|
32
|
+
| PlatformChatFileSource
|
|
33
|
+
| PlatformChatCustomEntitySource
|
|
34
|
+
| PlatformChatDocumentSource;
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const PlatformChatCitationSource$inboundSchema: z.ZodType<
|
|
38
|
+
PlatformChatCitationSource,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
unknown
|
|
41
|
+
> = z.union([
|
|
42
|
+
PlatformChatPersonSource$inboundSchema,
|
|
43
|
+
PlatformChatFileSource$inboundSchema,
|
|
44
|
+
PlatformChatCustomEntitySource$inboundSchema,
|
|
45
|
+
PlatformChatDocumentSource$inboundSchema,
|
|
46
|
+
]);
|
|
47
|
+
|
|
48
|
+
export function platformChatCitationSourceFromJSON(
|
|
49
|
+
jsonString: string,
|
|
50
|
+
): SafeParseResult<PlatformChatCitationSource, SDKValidationError> {
|
|
51
|
+
return safeParse(
|
|
52
|
+
jsonString,
|
|
53
|
+
(x) => PlatformChatCitationSource$inboundSchema.parse(JSON.parse(x)),
|
|
54
|
+
`Failed to parse 'PlatformChatCitationSource' from JSON`,
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: dd026ef73bb1
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
PlatformChatOutputMessage,
|
|
13
|
+
PlatformChatOutputMessage$inboundSchema,
|
|
14
|
+
} from "./platformchatoutputmessage.js";
|
|
15
|
+
|
|
16
|
+
export const ObjectT = {
|
|
17
|
+
Response: "response",
|
|
18
|
+
} as const;
|
|
19
|
+
export type ObjectT = ClosedEnum<typeof ObjectT>;
|
|
20
|
+
|
|
21
|
+
export const PlatformChatCompletedResponseStatus = {
|
|
22
|
+
Completed: "completed",
|
|
23
|
+
} as const;
|
|
24
|
+
export type PlatformChatCompletedResponseStatus = ClosedEnum<
|
|
25
|
+
typeof PlatformChatCompletedResponseStatus
|
|
26
|
+
>;
|
|
27
|
+
|
|
28
|
+
export type PlatformChatCompletedResponse = {
|
|
29
|
+
/**
|
|
30
|
+
* Platform-owned, non-persisted response envelope identifier in `resp_<uuid>` form. The same identifier is used for every event in one streamed response.
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
object: ObjectT;
|
|
36
|
+
/**
|
|
37
|
+
* RFC 3339 UTC timestamp when the response was created.
|
|
38
|
+
*/
|
|
39
|
+
created_at: Date;
|
|
40
|
+
status: PlatformChatCompletedResponseStatus;
|
|
41
|
+
output: Array<PlatformChatOutputMessage>;
|
|
42
|
+
store: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Present when the interaction was persisted.
|
|
45
|
+
*/
|
|
46
|
+
conversation_id?: string | null | undefined;
|
|
47
|
+
request_id: string;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const ObjectT$inboundSchema: z.ZodNativeEnum<typeof ObjectT> = z
|
|
52
|
+
.nativeEnum(ObjectT);
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const PlatformChatCompletedResponseStatus$inboundSchema: z.ZodNativeEnum<
|
|
56
|
+
typeof PlatformChatCompletedResponseStatus
|
|
57
|
+
> = z.nativeEnum(PlatformChatCompletedResponseStatus);
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const PlatformChatCompletedResponse$inboundSchema: z.ZodType<
|
|
61
|
+
PlatformChatCompletedResponse,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
unknown
|
|
64
|
+
> = z.object({
|
|
65
|
+
id: z.string(),
|
|
66
|
+
object: ObjectT$inboundSchema,
|
|
67
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
68
|
+
status: PlatformChatCompletedResponseStatus$inboundSchema,
|
|
69
|
+
output: z.array(PlatformChatOutputMessage$inboundSchema),
|
|
70
|
+
store: z.boolean(),
|
|
71
|
+
conversation_id: z.nullable(z.string()).optional(),
|
|
72
|
+
request_id: z.string(),
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
export function platformChatCompletedResponseFromJSON(
|
|
76
|
+
jsonString: string,
|
|
77
|
+
): SafeParseResult<PlatformChatCompletedResponse, SDKValidationError> {
|
|
78
|
+
return safeParse(
|
|
79
|
+
jsonString,
|
|
80
|
+
(x) => PlatformChatCompletedResponse$inboundSchema.parse(JSON.parse(x)),
|
|
81
|
+
`Failed to parse 'PlatformChatCompletedResponse' from JSON`,
|
|
82
|
+
);
|
|
83
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: a0537d504f7f
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import {
|
|
8
|
+
PlatformChatInputMessage,
|
|
9
|
+
PlatformChatInputMessage$Outbound,
|
|
10
|
+
PlatformChatInputMessage$outboundSchema,
|
|
11
|
+
} from "./platformchatinputmessage.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Either a plain string (single user turn) or a chronological array of `user`/`assistant` messages. The final array message must be `user`.
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
*/
|
|
18
|
+
export type Input = string | Array<PlatformChatInputMessage>;
|
|
19
|
+
|
|
20
|
+
export type PlatformChatCreateRequest = {
|
|
21
|
+
/**
|
|
22
|
+
* Either a plain string (single user turn) or a chronological array of `user`/`assistant` messages. The final array message must be `user`.
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
*/
|
|
26
|
+
input: string | Array<PlatformChatInputMessage>;
|
|
27
|
+
/**
|
|
28
|
+
* When true, respond with `text/event-stream`. When false or omitted, respond with `application/json`.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
*/
|
|
32
|
+
stream?: boolean | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* When true (default), persist the interaction and return a `conversation_id`. When false, run ephemerally with no persistence.
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
*/
|
|
38
|
+
store?: boolean | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Continue an existing stored conversation. Incompatible with message-array `input` and with `store: false`.
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
*/
|
|
44
|
+
conversation_id?: string | undefined;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export type Input$Outbound = string | Array<PlatformChatInputMessage$Outbound>;
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const Input$outboundSchema: z.ZodType<
|
|
52
|
+
Input$Outbound,
|
|
53
|
+
z.ZodTypeDef,
|
|
54
|
+
Input
|
|
55
|
+
> = z.union([z.string(), z.array(PlatformChatInputMessage$outboundSchema)]);
|
|
56
|
+
|
|
57
|
+
export function inputToJSON(input: Input): string {
|
|
58
|
+
return JSON.stringify(Input$outboundSchema.parse(input));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export type PlatformChatCreateRequest$Outbound = {
|
|
63
|
+
input: string | Array<PlatformChatInputMessage$Outbound>;
|
|
64
|
+
stream: boolean;
|
|
65
|
+
store: boolean;
|
|
66
|
+
conversation_id?: string | undefined;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const PlatformChatCreateRequest$outboundSchema: z.ZodType<
|
|
71
|
+
PlatformChatCreateRequest$Outbound,
|
|
72
|
+
z.ZodTypeDef,
|
|
73
|
+
PlatformChatCreateRequest
|
|
74
|
+
> = z.object({
|
|
75
|
+
input: z.union([
|
|
76
|
+
z.string(),
|
|
77
|
+
z.array(PlatformChatInputMessage$outboundSchema),
|
|
78
|
+
]),
|
|
79
|
+
stream: z.boolean().default(false),
|
|
80
|
+
store: z.boolean().default(true),
|
|
81
|
+
conversation_id: z.string().optional(),
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
export function platformChatCreateRequestToJSON(
|
|
85
|
+
platformChatCreateRequest: PlatformChatCreateRequest,
|
|
86
|
+
): string {
|
|
87
|
+
return JSON.stringify(
|
|
88
|
+
PlatformChatCreateRequest$outboundSchema.parse(platformChatCreateRequest),
|
|
89
|
+
);
|
|
90
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 30d921035e09
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export const PlatformChatCustomEntitySourceType = {
|
|
13
|
+
CustomEntity: "custom_entity",
|
|
14
|
+
} as const;
|
|
15
|
+
export type PlatformChatCustomEntitySourceType = ClosedEnum<
|
|
16
|
+
typeof PlatformChatCustomEntitySourceType
|
|
17
|
+
>;
|
|
18
|
+
|
|
19
|
+
export type PlatformChatCustomEntitySource = {
|
|
20
|
+
type: PlatformChatCustomEntitySourceType;
|
|
21
|
+
entity_id: string;
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
title?: string | undefined;
|
|
24
|
+
url?: string | undefined;
|
|
25
|
+
datasource?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PlatformChatCustomEntitySourceType$inboundSchema: z.ZodNativeEnum<
|
|
30
|
+
typeof PlatformChatCustomEntitySourceType
|
|
31
|
+
> = z.nativeEnum(PlatformChatCustomEntitySourceType);
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const PlatformChatCustomEntitySource$inboundSchema: z.ZodType<
|
|
35
|
+
PlatformChatCustomEntitySource,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
unknown
|
|
38
|
+
> = z.object({
|
|
39
|
+
type: PlatformChatCustomEntitySourceType$inboundSchema,
|
|
40
|
+
entity_id: z.string(),
|
|
41
|
+
name: z.string().optional(),
|
|
42
|
+
title: z.string().optional(),
|
|
43
|
+
url: z.string().optional(),
|
|
44
|
+
datasource: z.string().optional(),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function platformChatCustomEntitySourceFromJSON(
|
|
48
|
+
jsonString: string,
|
|
49
|
+
): SafeParseResult<PlatformChatCustomEntitySource, SDKValidationError> {
|
|
50
|
+
return safeParse(
|
|
51
|
+
jsonString,
|
|
52
|
+
(x) => PlatformChatCustomEntitySource$inboundSchema.parse(JSON.parse(x)),
|
|
53
|
+
`Failed to parse 'PlatformChatCustomEntitySource' from JSON`,
|
|
54
|
+
);
|
|
55
|
+
}
|