@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
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 7c1fde5b0804
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import * as components from "../components/index.js";
|
|
9
|
+
|
|
10
|
+
export type ImportAgentRequest = {
|
|
11
|
+
/**
|
|
12
|
+
* The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`.
|
|
13
|
+
*/
|
|
14
|
+
locale?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC.
|
|
17
|
+
*/
|
|
18
|
+
timezoneOffset?: number | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The ID of the agent to create or update.
|
|
21
|
+
*/
|
|
22
|
+
agent_id: string;
|
|
23
|
+
importAgentRequest: components.ImportAgentRequest;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export type ImportAgentRequest$Outbound = {
|
|
28
|
+
locale?: string | undefined;
|
|
29
|
+
timezoneOffset?: number | undefined;
|
|
30
|
+
agent_id: string;
|
|
31
|
+
ImportAgentRequest: components.ImportAgentRequest$Outbound;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const ImportAgentRequest$outboundSchema: z.ZodType<
|
|
36
|
+
ImportAgentRequest$Outbound,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
ImportAgentRequest
|
|
39
|
+
> = z.object({
|
|
40
|
+
locale: z.string().optional(),
|
|
41
|
+
timezoneOffset: z.number().int().optional(),
|
|
42
|
+
agent_id: z.string(),
|
|
43
|
+
importAgentRequest: components.ImportAgentRequest$outboundSchema,
|
|
44
|
+
}).transform((v) => {
|
|
45
|
+
return remap$(v, {
|
|
46
|
+
importAgentRequest: "ImportAgentRequest",
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export function importAgentRequestToJSON(
|
|
51
|
+
importAgentRequest: ImportAgentRequest,
|
|
52
|
+
): string {
|
|
53
|
+
return JSON.stringify(
|
|
54
|
+
ImportAgentRequest$outboundSchema.parse(importAgentRequest),
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -60,6 +60,8 @@ export * from "./getrestapiindexcustommetadataschemagroupname.js";
|
|
|
60
60
|
export * from "./getrestapiv1toolslist.js";
|
|
61
61
|
export * from "./getshortcut.js";
|
|
62
62
|
export * from "./gettoolserverauthstatus.js";
|
|
63
|
+
export * from "./gettoolservertools.js";
|
|
64
|
+
export * from "./importagent.js";
|
|
63
65
|
export * from "./insights.js";
|
|
64
66
|
export * from "./listanswers.js";
|
|
65
67
|
export * from "./listchats.js";
|
|
@@ -75,13 +77,19 @@ export * from "./pin.js";
|
|
|
75
77
|
export * from "./platformagentscreaterun.js";
|
|
76
78
|
export * from "./platformagentsget.js";
|
|
77
79
|
export * from "./platformagentsgetschemas.js";
|
|
80
|
+
export * from "./platformchatcreate.js";
|
|
81
|
+
export * from "./platformsearchfilters.js";
|
|
78
82
|
export * from "./platformskillscreateversion.js";
|
|
83
|
+
export * from "./platformskillsdelete.js";
|
|
79
84
|
export * from "./platformskillsget.js";
|
|
80
85
|
export * from "./platformskillsgetcontent.js";
|
|
81
86
|
export * from "./platformskillsgetversion.js";
|
|
82
87
|
export * from "./platformskillsgetversioncontent.js";
|
|
83
88
|
export * from "./platformskillslist.js";
|
|
84
89
|
export * from "./platformskillslistversions.js";
|
|
90
|
+
export * from "./platformskillspreviewsource.js";
|
|
91
|
+
export * from "./platformskillssync.js";
|
|
92
|
+
export * from "./platformskillsupdate.js";
|
|
85
93
|
export * from "./postapiindexv1debugdatasourcedocument.js";
|
|
86
94
|
export * from "./postapiindexv1debugdatasourcedocumentevents.js";
|
|
87
95
|
export * from "./postapiindexv1debugdatasourcedocuments.js";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 61f71943248c
|
|
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 * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type PlatformChatCreateResponse =
|
|
13
|
+
| components.PlatformChatCompletedResponse
|
|
14
|
+
| string;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const PlatformChatCreateResponse$inboundSchema: z.ZodType<
|
|
18
|
+
PlatformChatCreateResponse,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.union([
|
|
22
|
+
components.PlatformChatCompletedResponse$inboundSchema,
|
|
23
|
+
z.string(),
|
|
24
|
+
]);
|
|
25
|
+
|
|
26
|
+
export function platformChatCreateResponseFromJSON(
|
|
27
|
+
jsonString: string,
|
|
28
|
+
): SafeParseResult<PlatformChatCreateResponse, SDKValidationError> {
|
|
29
|
+
return safeParse(
|
|
30
|
+
jsonString,
|
|
31
|
+
(x) => PlatformChatCreateResponse$inboundSchema.parse(JSON.parse(x)),
|
|
32
|
+
`Failed to parse 'PlatformChatCreateResponse' from JSON`,
|
|
33
|
+
);
|
|
34
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 40fe427dde80
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import * as components from "../components/index.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
export type PlatformSearchFiltersRequest = {
|
|
14
|
+
/**
|
|
15
|
+
* Restrict metadata to one or more datasource identifiers as returned by this endpoint (for example, `jira`). With a nonblank `query`, exactly one datasource is required. Unknown or inaccessible identifiers return `invalid_datasource`.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
*/
|
|
19
|
+
datasources?: Array<string> | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Optional search query that requests suggested filter values for the selected datasource. Must be nonblank when present. Triggers a search for facet values only; does not return documents.
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
*/
|
|
25
|
+
query?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export type PlatformSearchFiltersResponse = {
|
|
29
|
+
Headers: { [k: string]: Array<string> };
|
|
30
|
+
result: components.PlatformSearchFiltersResponse;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type PlatformSearchFiltersRequest$Outbound = {
|
|
35
|
+
datasources?: Array<string> | undefined;
|
|
36
|
+
query?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const PlatformSearchFiltersRequest$outboundSchema: z.ZodType<
|
|
41
|
+
PlatformSearchFiltersRequest$Outbound,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
PlatformSearchFiltersRequest
|
|
44
|
+
> = z.object({
|
|
45
|
+
datasources: z.array(z.string()).optional(),
|
|
46
|
+
query: z.string().optional(),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function platformSearchFiltersRequestToJSON(
|
|
50
|
+
platformSearchFiltersRequest: PlatformSearchFiltersRequest,
|
|
51
|
+
): string {
|
|
52
|
+
return JSON.stringify(
|
|
53
|
+
PlatformSearchFiltersRequest$outboundSchema.parse(
|
|
54
|
+
platformSearchFiltersRequest,
|
|
55
|
+
),
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export const PlatformSearchFiltersResponse$inboundSchema: z.ZodType<
|
|
61
|
+
PlatformSearchFiltersResponse,
|
|
62
|
+
z.ZodTypeDef,
|
|
63
|
+
unknown
|
|
64
|
+
> = z.object({
|
|
65
|
+
Headers: z.record(z.array(z.string())).default({}),
|
|
66
|
+
Result: components.PlatformSearchFiltersResponse$inboundSchema,
|
|
67
|
+
}).transform((v) => {
|
|
68
|
+
return remap$(v, {
|
|
69
|
+
"Result": "result",
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
export function platformSearchFiltersResponseFromJSON(
|
|
74
|
+
jsonString: string,
|
|
75
|
+
): SafeParseResult<PlatformSearchFiltersResponse, SDKValidationError> {
|
|
76
|
+
return safeParse(
|
|
77
|
+
jsonString,
|
|
78
|
+
(x) => PlatformSearchFiltersResponse$inboundSchema.parse(JSON.parse(x)),
|
|
79
|
+
`Failed to parse 'PlatformSearchFiltersResponse' from JSON`,
|
|
80
|
+
);
|
|
81
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 46452ecf07be
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
|
|
8
|
+
export type PlatformSkillsDeleteRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* Glean skill ID.
|
|
11
|
+
*/
|
|
12
|
+
skill_id: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type PlatformSkillsDeleteRequest$Outbound = {
|
|
17
|
+
skill_id: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const PlatformSkillsDeleteRequest$outboundSchema: z.ZodType<
|
|
22
|
+
PlatformSkillsDeleteRequest$Outbound,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
PlatformSkillsDeleteRequest
|
|
25
|
+
> = z.object({
|
|
26
|
+
skill_id: z.string(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function platformSkillsDeleteRequestToJSON(
|
|
30
|
+
platformSkillsDeleteRequest: PlatformSkillsDeleteRequest,
|
|
31
|
+
): string {
|
|
32
|
+
return JSON.stringify(
|
|
33
|
+
PlatformSkillsDeleteRequest$outboundSchema.parse(
|
|
34
|
+
platformSkillsDeleteRequest,
|
|
35
|
+
),
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 9b6836e5a5d9
|
|
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 * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type PlatformSkillsPreviewSourceResponse =
|
|
13
|
+
| components.PlatformSkillSourcePreviewResponse
|
|
14
|
+
| string;
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const PlatformSkillsPreviewSourceResponse$inboundSchema: z.ZodType<
|
|
18
|
+
PlatformSkillsPreviewSourceResponse,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.union([
|
|
22
|
+
components.PlatformSkillSourcePreviewResponse$inboundSchema,
|
|
23
|
+
z.string(),
|
|
24
|
+
]);
|
|
25
|
+
|
|
26
|
+
export function platformSkillsPreviewSourceResponseFromJSON(
|
|
27
|
+
jsonString: string,
|
|
28
|
+
): SafeParseResult<PlatformSkillsPreviewSourceResponse, SDKValidationError> {
|
|
29
|
+
return safeParse(
|
|
30
|
+
jsonString,
|
|
31
|
+
(x) =>
|
|
32
|
+
PlatformSkillsPreviewSourceResponse$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'PlatformSkillsPreviewSourceResponse' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 8e722df7f446
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
|
|
8
|
+
export type PlatformSkillsSyncRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* ID of the GitHub-imported skill to sync.
|
|
11
|
+
*/
|
|
12
|
+
skill_id: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type PlatformSkillsSyncRequest$Outbound = {
|
|
17
|
+
skill_id: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const PlatformSkillsSyncRequest$outboundSchema: z.ZodType<
|
|
22
|
+
PlatformSkillsSyncRequest$Outbound,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
PlatformSkillsSyncRequest
|
|
25
|
+
> = z.object({
|
|
26
|
+
skill_id: z.string(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function platformSkillsSyncRequestToJSON(
|
|
30
|
+
platformSkillsSyncRequest: PlatformSkillsSyncRequest,
|
|
31
|
+
): string {
|
|
32
|
+
return JSON.stringify(
|
|
33
|
+
PlatformSkillsSyncRequest$outboundSchema.parse(platformSkillsSyncRequest),
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: ece660fa7848
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
import * as components from "../components/index.js";
|
|
9
|
+
|
|
10
|
+
export type PlatformSkillsUpdateRequest = {
|
|
11
|
+
/**
|
|
12
|
+
* Glean skill ID.
|
|
13
|
+
*/
|
|
14
|
+
skill_id: string;
|
|
15
|
+
platformSkillUpdateRequest: components.PlatformSkillUpdateRequest;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type PlatformSkillsUpdateRequest$Outbound = {
|
|
20
|
+
skill_id: string;
|
|
21
|
+
PlatformSkillUpdateRequest: components.PlatformSkillUpdateRequest$Outbound;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PlatformSkillsUpdateRequest$outboundSchema: z.ZodType<
|
|
26
|
+
PlatformSkillsUpdateRequest$Outbound,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
PlatformSkillsUpdateRequest
|
|
29
|
+
> = z.object({
|
|
30
|
+
skill_id: z.string(),
|
|
31
|
+
platformSkillUpdateRequest:
|
|
32
|
+
components.PlatformSkillUpdateRequest$outboundSchema,
|
|
33
|
+
}).transform((v) => {
|
|
34
|
+
return remap$(v, {
|
|
35
|
+
platformSkillUpdateRequest: "PlatformSkillUpdateRequest",
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export function platformSkillsUpdateRequestToJSON(
|
|
40
|
+
platformSkillsUpdateRequest: PlatformSkillsUpdateRequest,
|
|
41
|
+
): string {
|
|
42
|
+
return JSON.stringify(
|
|
43
|
+
PlatformSkillsUpdateRequest$outboundSchema.parse(
|
|
44
|
+
platformSkillsUpdateRequest,
|
|
45
|
+
),
|
|
46
|
+
);
|
|
47
|
+
}
|
|
@@ -44,6 +44,7 @@ export type AgentsCreateRunMutationData =
|
|
|
44
44
|
operations.PlatformAgentsCreateRunResponse;
|
|
45
45
|
|
|
46
46
|
export type AgentsCreateRunMutationError =
|
|
47
|
+
| errors.PlatformUnauthorizedAgentToolsProblemError
|
|
47
48
|
| errors.PlatformProblemDetailError
|
|
48
49
|
| GleanBaseError
|
|
49
50
|
| ResponseValidationError
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: af1634a93f97
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
MutationKey,
|
|
8
|
+
useMutation,
|
|
9
|
+
UseMutationResult,
|
|
10
|
+
} from "@tanstack/react-query";
|
|
11
|
+
import { GleanCore } from "../core.js";
|
|
12
|
+
import { chatCreate, CreateAcceptEnum } from "../funcs/chatCreate.js";
|
|
13
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
14
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
15
|
+
import * as components from "../models/components/index.js";
|
|
16
|
+
import { GleanBaseError } from "../models/errors/gleanbaseerror.js";
|
|
17
|
+
import {
|
|
18
|
+
ConnectionError,
|
|
19
|
+
InvalidRequestError,
|
|
20
|
+
RequestAbortedError,
|
|
21
|
+
RequestTimeoutError,
|
|
22
|
+
UnexpectedClientError,
|
|
23
|
+
} from "../models/errors/httpclienterrors.js";
|
|
24
|
+
import * as errors from "../models/errors/index.js";
|
|
25
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
26
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
27
|
+
import * as operations from "../models/operations/index.js";
|
|
28
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
29
|
+
import { useGleanContext } from "./_context.js";
|
|
30
|
+
import { MutationHookOptions } from "./_types.js";
|
|
31
|
+
|
|
32
|
+
export { CreateAcceptEnum } from "../funcs/chatCreate.js";
|
|
33
|
+
|
|
34
|
+
export type ChatCreateMutationVariables = {
|
|
35
|
+
request: components.PlatformChatCreateRequest;
|
|
36
|
+
options?: RequestOptions & { acceptHeaderOverride?: CreateAcceptEnum };
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type ChatCreateMutationData = operations.PlatformChatCreateResponse;
|
|
40
|
+
|
|
41
|
+
export type ChatCreateMutationError =
|
|
42
|
+
| errors.PlatformProblemDetailError
|
|
43
|
+
| GleanBaseError
|
|
44
|
+
| ResponseValidationError
|
|
45
|
+
| ConnectionError
|
|
46
|
+
| RequestAbortedError
|
|
47
|
+
| RequestTimeoutError
|
|
48
|
+
| InvalidRequestError
|
|
49
|
+
| UnexpectedClientError
|
|
50
|
+
| SDKValidationError;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Create a chat response
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response object.
|
|
57
|
+
*/
|
|
58
|
+
export function useChatCreateMutation(
|
|
59
|
+
options?: MutationHookOptions<
|
|
60
|
+
ChatCreateMutationData,
|
|
61
|
+
ChatCreateMutationError,
|
|
62
|
+
ChatCreateMutationVariables
|
|
63
|
+
>,
|
|
64
|
+
): UseMutationResult<
|
|
65
|
+
ChatCreateMutationData,
|
|
66
|
+
ChatCreateMutationError,
|
|
67
|
+
ChatCreateMutationVariables
|
|
68
|
+
> {
|
|
69
|
+
const client = useGleanContext();
|
|
70
|
+
return useMutation({
|
|
71
|
+
...buildChatCreateMutation(client, options),
|
|
72
|
+
...options,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function mutationKeyChatCreate(): MutationKey {
|
|
77
|
+
return ["@gleanwork/api-client", "chat", "create"];
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function buildChatCreateMutation(
|
|
81
|
+
client$: GleanCore,
|
|
82
|
+
hookOptions?: RequestOptions & { acceptHeaderOverride?: CreateAcceptEnum },
|
|
83
|
+
): {
|
|
84
|
+
mutationKey: MutationKey;
|
|
85
|
+
mutationFn: (
|
|
86
|
+
variables: ChatCreateMutationVariables,
|
|
87
|
+
) => Promise<ChatCreateMutationData>;
|
|
88
|
+
} {
|
|
89
|
+
return {
|
|
90
|
+
mutationKey: mutationKeyChatCreate(),
|
|
91
|
+
mutationFn: function chatCreateMutationFn({
|
|
92
|
+
request,
|
|
93
|
+
options,
|
|
94
|
+
}): Promise<ChatCreateMutationData> {
|
|
95
|
+
const mergedOptions = {
|
|
96
|
+
...hookOptions,
|
|
97
|
+
...options,
|
|
98
|
+
fetchOptions: {
|
|
99
|
+
...hookOptions?.fetchOptions,
|
|
100
|
+
...options?.fetchOptions,
|
|
101
|
+
signal: combineSignals(
|
|
102
|
+
hookOptions?.fetchOptions?.signal,
|
|
103
|
+
options?.fetchOptions?.signal,
|
|
104
|
+
),
|
|
105
|
+
},
|
|
106
|
+
};
|
|
107
|
+
return unwrapAsync(chatCreate(
|
|
108
|
+
client$,
|
|
109
|
+
request,
|
|
110
|
+
mergedOptions,
|
|
111
|
+
));
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 54435987027c
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
MutationKey,
|
|
8
|
+
useMutation,
|
|
9
|
+
UseMutationResult,
|
|
10
|
+
} from "@tanstack/react-query";
|
|
11
|
+
import { GleanCore } from "../core.js";
|
|
12
|
+
import { clientAgentsImport } from "../funcs/clientAgentsImport.js";
|
|
13
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
14
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
15
|
+
import * as components from "../models/components/index.js";
|
|
16
|
+
import { GleanBaseError } from "../models/errors/gleanbaseerror.js";
|
|
17
|
+
import {
|
|
18
|
+
ConnectionError,
|
|
19
|
+
InvalidRequestError,
|
|
20
|
+
RequestAbortedError,
|
|
21
|
+
RequestTimeoutError,
|
|
22
|
+
UnexpectedClientError,
|
|
23
|
+
} from "../models/errors/httpclienterrors.js";
|
|
24
|
+
import * as errors from "../models/errors/index.js";
|
|
25
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
26
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
27
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
28
|
+
import { useGleanContext } from "./_context.js";
|
|
29
|
+
import { MutationHookOptions } from "./_types.js";
|
|
30
|
+
|
|
31
|
+
export type ClientAgentsImportMutationVariables = {
|
|
32
|
+
importAgentRequest: components.ImportAgentRequest;
|
|
33
|
+
agentId: string;
|
|
34
|
+
locale?: string | undefined;
|
|
35
|
+
timezoneOffset?: number | undefined;
|
|
36
|
+
options?: RequestOptions;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type ClientAgentsImportMutationData = components.ImportAgentResponse;
|
|
40
|
+
|
|
41
|
+
export type ClientAgentsImportMutationError =
|
|
42
|
+
| errors.ErrorResponse
|
|
43
|
+
| GleanBaseError
|
|
44
|
+
| ResponseValidationError
|
|
45
|
+
| ConnectionError
|
|
46
|
+
| RequestAbortedError
|
|
47
|
+
| RequestTimeoutError
|
|
48
|
+
| InvalidRequestError
|
|
49
|
+
| UnexpectedClientError
|
|
50
|
+
| SDKValidationError;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Import an agent
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* Imports an [agent](https://developers.glean.com/agents/agents-api) from its on-disk folder representation (spec.yaml, instructions.md, skills/, subagents/) packaged as a zip, and creates or updates the agent. Inverse of the export flow: the folder-to-schema conversion runs server-side. The bundle must contain only regular files; symlinks are resolved by the caller at packaging time.
|
|
57
|
+
*/
|
|
58
|
+
export function useClientAgentsImportMutation(
|
|
59
|
+
options?: MutationHookOptions<
|
|
60
|
+
ClientAgentsImportMutationData,
|
|
61
|
+
ClientAgentsImportMutationError,
|
|
62
|
+
ClientAgentsImportMutationVariables
|
|
63
|
+
>,
|
|
64
|
+
): UseMutationResult<
|
|
65
|
+
ClientAgentsImportMutationData,
|
|
66
|
+
ClientAgentsImportMutationError,
|
|
67
|
+
ClientAgentsImportMutationVariables
|
|
68
|
+
> {
|
|
69
|
+
const client = useGleanContext();
|
|
70
|
+
return useMutation({
|
|
71
|
+
...buildClientAgentsImportMutation(client, options),
|
|
72
|
+
...options,
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function mutationKeyClientAgentsImport(): MutationKey {
|
|
77
|
+
return ["@gleanwork/api-client", "agents", "import"];
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function buildClientAgentsImportMutation(
|
|
81
|
+
client$: GleanCore,
|
|
82
|
+
hookOptions?: RequestOptions,
|
|
83
|
+
): {
|
|
84
|
+
mutationKey: MutationKey;
|
|
85
|
+
mutationFn: (
|
|
86
|
+
variables: ClientAgentsImportMutationVariables,
|
|
87
|
+
) => Promise<ClientAgentsImportMutationData>;
|
|
88
|
+
} {
|
|
89
|
+
return {
|
|
90
|
+
mutationKey: mutationKeyClientAgentsImport(),
|
|
91
|
+
mutationFn: function clientAgentsImportMutationFn({
|
|
92
|
+
importAgentRequest,
|
|
93
|
+
agentId,
|
|
94
|
+
locale,
|
|
95
|
+
timezoneOffset,
|
|
96
|
+
options,
|
|
97
|
+
}): Promise<ClientAgentsImportMutationData> {
|
|
98
|
+
const mergedOptions = {
|
|
99
|
+
...hookOptions,
|
|
100
|
+
...options,
|
|
101
|
+
fetchOptions: {
|
|
102
|
+
...hookOptions?.fetchOptions,
|
|
103
|
+
...options?.fetchOptions,
|
|
104
|
+
signal: combineSignals(
|
|
105
|
+
hookOptions?.fetchOptions?.signal,
|
|
106
|
+
options?.fetchOptions?.signal,
|
|
107
|
+
),
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
return unwrapAsync(clientAgentsImport(
|
|
111
|
+
client$,
|
|
112
|
+
importAgentRequest,
|
|
113
|
+
agentId,
|
|
114
|
+
locale,
|
|
115
|
+
timezoneOffset,
|
|
116
|
+
mergedOptions,
|
|
117
|
+
));
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
RequestTimeoutError,
|
|
22
22
|
UnexpectedClientError,
|
|
23
23
|
} from "../models/errors/httpclienterrors.js";
|
|
24
|
+
import * as errors from "../models/errors/index.js";
|
|
24
25
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
25
26
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
26
27
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -35,6 +36,7 @@ export type ClientAgentsRunMutationVariables = {
|
|
|
35
36
|
export type ClientAgentsRunMutationData = components.AgentRunWaitResponse;
|
|
36
37
|
|
|
37
38
|
export type ClientAgentsRunMutationError =
|
|
39
|
+
| errors.UnauthorizedAgentToolsError
|
|
38
40
|
| GleanBaseError
|
|
39
41
|
| ResponseValidationError
|
|
40
42
|
| ConnectionError
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
RequestTimeoutError,
|
|
22
22
|
UnexpectedClientError,
|
|
23
23
|
} from "../models/errors/httpclienterrors.js";
|
|
24
|
+
import * as errors from "../models/errors/index.js";
|
|
24
25
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
25
26
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
26
27
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -37,6 +38,7 @@ export type ClientChatRetrieveMutationVariables = {
|
|
|
37
38
|
export type ClientChatRetrieveMutationData = components.GetChatResponse;
|
|
38
39
|
|
|
39
40
|
export type ClientChatRetrieveMutationError =
|
|
41
|
+
| errors.AccessRequestPermissionDeniedResponseError
|
|
40
42
|
| GleanBaseError
|
|
41
43
|
| ResponseValidationError
|
|
42
44
|
| ConnectionError
|