@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,111 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: b58d55335ec3
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
MutationKey,
|
|
8
|
+
useMutation,
|
|
9
|
+
UseMutationResult,
|
|
10
|
+
} from "@tanstack/react-query";
|
|
11
|
+
import { GleanCore } from "../core.js";
|
|
12
|
+
import { skillsImport } from "../funcs/skillsImport.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 SkillsImportMutationVariables = {
|
|
32
|
+
request: components.PlatformSkillImportRequest;
|
|
33
|
+
options?: RequestOptions;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export type SkillsImportMutationData = components.PlatformSkillImportResponse;
|
|
37
|
+
|
|
38
|
+
export type SkillsImportMutationError =
|
|
39
|
+
| errors.PlatformProblemDetailError
|
|
40
|
+
| GleanBaseError
|
|
41
|
+
| ResponseValidationError
|
|
42
|
+
| ConnectionError
|
|
43
|
+
| RequestAbortedError
|
|
44
|
+
| RequestTimeoutError
|
|
45
|
+
| InvalidRequestError
|
|
46
|
+
| UnexpectedClientError
|
|
47
|
+
| SDKValidationError;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Import skills from GitHub
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* Import one or more skills selected from a GitHub source preview. Each source URL is fetched and persisted as an independent skill with source provenance. This operation does not create a durable source resource. The import is atomic: if any source cannot be fetched, validated, or persisted, no skills are created.
|
|
54
|
+
*/
|
|
55
|
+
export function useSkillsImportMutation(
|
|
56
|
+
options?: MutationHookOptions<
|
|
57
|
+
SkillsImportMutationData,
|
|
58
|
+
SkillsImportMutationError,
|
|
59
|
+
SkillsImportMutationVariables
|
|
60
|
+
>,
|
|
61
|
+
): UseMutationResult<
|
|
62
|
+
SkillsImportMutationData,
|
|
63
|
+
SkillsImportMutationError,
|
|
64
|
+
SkillsImportMutationVariables
|
|
65
|
+
> {
|
|
66
|
+
const client = useGleanContext();
|
|
67
|
+
return useMutation({
|
|
68
|
+
...buildSkillsImportMutation(client, options),
|
|
69
|
+
...options,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function mutationKeySkillsImport(): MutationKey {
|
|
74
|
+
return ["@gleanwork/api-client", "skills", "import"];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function buildSkillsImportMutation(
|
|
78
|
+
client$: GleanCore,
|
|
79
|
+
hookOptions?: RequestOptions,
|
|
80
|
+
): {
|
|
81
|
+
mutationKey: MutationKey;
|
|
82
|
+
mutationFn: (
|
|
83
|
+
variables: SkillsImportMutationVariables,
|
|
84
|
+
) => Promise<SkillsImportMutationData>;
|
|
85
|
+
} {
|
|
86
|
+
return {
|
|
87
|
+
mutationKey: mutationKeySkillsImport(),
|
|
88
|
+
mutationFn: function skillsImportMutationFn({
|
|
89
|
+
request,
|
|
90
|
+
options,
|
|
91
|
+
}): Promise<SkillsImportMutationData> {
|
|
92
|
+
const mergedOptions = {
|
|
93
|
+
...hookOptions,
|
|
94
|
+
...options,
|
|
95
|
+
fetchOptions: {
|
|
96
|
+
...hookOptions?.fetchOptions,
|
|
97
|
+
...options?.fetchOptions,
|
|
98
|
+
signal: combineSignals(
|
|
99
|
+
hookOptions?.fetchOptions?.signal,
|
|
100
|
+
options?.fetchOptions?.signal,
|
|
101
|
+
),
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
return unwrapAsync(skillsImport(
|
|
105
|
+
client$,
|
|
106
|
+
request,
|
|
107
|
+
mergedOptions,
|
|
108
|
+
));
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: d4697aa80a2e
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
MutationKey,
|
|
8
|
+
useMutation,
|
|
9
|
+
UseMutationResult,
|
|
10
|
+
} from "@tanstack/react-query";
|
|
11
|
+
import { GleanCore } from "../core.js";
|
|
12
|
+
import {
|
|
13
|
+
PreviewSourceAcceptEnum,
|
|
14
|
+
skillsPreviewSource,
|
|
15
|
+
} from "../funcs/skillsPreviewSource.js";
|
|
16
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
17
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
18
|
+
import * as components from "../models/components/index.js";
|
|
19
|
+
import { GleanBaseError } from "../models/errors/gleanbaseerror.js";
|
|
20
|
+
import {
|
|
21
|
+
ConnectionError,
|
|
22
|
+
InvalidRequestError,
|
|
23
|
+
RequestAbortedError,
|
|
24
|
+
RequestTimeoutError,
|
|
25
|
+
UnexpectedClientError,
|
|
26
|
+
} from "../models/errors/httpclienterrors.js";
|
|
27
|
+
import * as errors from "../models/errors/index.js";
|
|
28
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
29
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
30
|
+
import * as operations from "../models/operations/index.js";
|
|
31
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
32
|
+
import { useGleanContext } from "./_context.js";
|
|
33
|
+
import { MutationHookOptions } from "./_types.js";
|
|
34
|
+
|
|
35
|
+
export { PreviewSourceAcceptEnum } from "../funcs/skillsPreviewSource.js";
|
|
36
|
+
|
|
37
|
+
export type SkillsPreviewSourceMutationVariables = {
|
|
38
|
+
request: components.PlatformSkillSourcePreviewRequest;
|
|
39
|
+
options?: RequestOptions & { acceptHeaderOverride?: PreviewSourceAcceptEnum };
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type SkillsPreviewSourceMutationData =
|
|
43
|
+
operations.PlatformSkillsPreviewSourceResponse;
|
|
44
|
+
|
|
45
|
+
export type SkillsPreviewSourceMutationError =
|
|
46
|
+
| errors.PlatformProblemDetailError
|
|
47
|
+
| GleanBaseError
|
|
48
|
+
| ResponseValidationError
|
|
49
|
+
| ConnectionError
|
|
50
|
+
| RequestAbortedError
|
|
51
|
+
| RequestTimeoutError
|
|
52
|
+
| InvalidRequestError
|
|
53
|
+
| UnexpectedClientError
|
|
54
|
+
| SDKValidationError;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Preview a GitHub skill source
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* Inspect a GitHub URL without persisting a source or any discovered skills. Set stream to true to receive repository scan progress as server-sent events; otherwise the response contains the completed preview.
|
|
61
|
+
*/
|
|
62
|
+
export function useSkillsPreviewSourceMutation(
|
|
63
|
+
options?: MutationHookOptions<
|
|
64
|
+
SkillsPreviewSourceMutationData,
|
|
65
|
+
SkillsPreviewSourceMutationError,
|
|
66
|
+
SkillsPreviewSourceMutationVariables
|
|
67
|
+
>,
|
|
68
|
+
): UseMutationResult<
|
|
69
|
+
SkillsPreviewSourceMutationData,
|
|
70
|
+
SkillsPreviewSourceMutationError,
|
|
71
|
+
SkillsPreviewSourceMutationVariables
|
|
72
|
+
> {
|
|
73
|
+
const client = useGleanContext();
|
|
74
|
+
return useMutation({
|
|
75
|
+
...buildSkillsPreviewSourceMutation(client, options),
|
|
76
|
+
...options,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function mutationKeySkillsPreviewSource(): MutationKey {
|
|
81
|
+
return ["@gleanwork/api-client", "skills", "previewSource"];
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function buildSkillsPreviewSourceMutation(
|
|
85
|
+
client$: GleanCore,
|
|
86
|
+
hookOptions?: RequestOptions & {
|
|
87
|
+
acceptHeaderOverride?: PreviewSourceAcceptEnum;
|
|
88
|
+
},
|
|
89
|
+
): {
|
|
90
|
+
mutationKey: MutationKey;
|
|
91
|
+
mutationFn: (
|
|
92
|
+
variables: SkillsPreviewSourceMutationVariables,
|
|
93
|
+
) => Promise<SkillsPreviewSourceMutationData>;
|
|
94
|
+
} {
|
|
95
|
+
return {
|
|
96
|
+
mutationKey: mutationKeySkillsPreviewSource(),
|
|
97
|
+
mutationFn: function skillsPreviewSourceMutationFn({
|
|
98
|
+
request,
|
|
99
|
+
options,
|
|
100
|
+
}): Promise<SkillsPreviewSourceMutationData> {
|
|
101
|
+
const mergedOptions = {
|
|
102
|
+
...hookOptions,
|
|
103
|
+
...options,
|
|
104
|
+
fetchOptions: {
|
|
105
|
+
...hookOptions?.fetchOptions,
|
|
106
|
+
...options?.fetchOptions,
|
|
107
|
+
signal: combineSignals(
|
|
108
|
+
hookOptions?.fetchOptions?.signal,
|
|
109
|
+
options?.fetchOptions?.signal,
|
|
110
|
+
),
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
return unwrapAsync(skillsPreviewSource(
|
|
114
|
+
client$,
|
|
115
|
+
request,
|
|
116
|
+
mergedOptions,
|
|
117
|
+
));
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: c5d5816caa2b
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
MutationKey,
|
|
8
|
+
useMutation,
|
|
9
|
+
UseMutationResult,
|
|
10
|
+
} from "@tanstack/react-query";
|
|
11
|
+
import { GleanCore } from "../core.js";
|
|
12
|
+
import { skillsSync } from "../funcs/skillsSync.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 SkillsSyncMutationVariables = {
|
|
32
|
+
skillId: string;
|
|
33
|
+
options?: RequestOptions;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export type SkillsSyncMutationData = components.PlatformSkillSyncResponse;
|
|
37
|
+
|
|
38
|
+
export type SkillsSyncMutationError =
|
|
39
|
+
| errors.PlatformProblemDetailError
|
|
40
|
+
| GleanBaseError
|
|
41
|
+
| ResponseValidationError
|
|
42
|
+
| ConnectionError
|
|
43
|
+
| RequestAbortedError
|
|
44
|
+
| RequestTimeoutError
|
|
45
|
+
| InvalidRequestError
|
|
46
|
+
| UnexpectedClientError
|
|
47
|
+
| SDKValidationError;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Sync a GitHub-imported skill
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* Refresh one GitHub-imported skill from its stored source URL. If the skill content has changed, this operation creates a new skill version. If the skill is no longer present upstream, the stored skill is left unchanged and must be deleted explicitly.
|
|
54
|
+
*/
|
|
55
|
+
export function useSkillsSyncMutation(
|
|
56
|
+
options?: MutationHookOptions<
|
|
57
|
+
SkillsSyncMutationData,
|
|
58
|
+
SkillsSyncMutationError,
|
|
59
|
+
SkillsSyncMutationVariables
|
|
60
|
+
>,
|
|
61
|
+
): UseMutationResult<
|
|
62
|
+
SkillsSyncMutationData,
|
|
63
|
+
SkillsSyncMutationError,
|
|
64
|
+
SkillsSyncMutationVariables
|
|
65
|
+
> {
|
|
66
|
+
const client = useGleanContext();
|
|
67
|
+
return useMutation({
|
|
68
|
+
...buildSkillsSyncMutation(client, options),
|
|
69
|
+
...options,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function mutationKeySkillsSync(): MutationKey {
|
|
74
|
+
return ["@gleanwork/api-client", "skills", "sync"];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function buildSkillsSyncMutation(
|
|
78
|
+
client$: GleanCore,
|
|
79
|
+
hookOptions?: RequestOptions,
|
|
80
|
+
): {
|
|
81
|
+
mutationKey: MutationKey;
|
|
82
|
+
mutationFn: (
|
|
83
|
+
variables: SkillsSyncMutationVariables,
|
|
84
|
+
) => Promise<SkillsSyncMutationData>;
|
|
85
|
+
} {
|
|
86
|
+
return {
|
|
87
|
+
mutationKey: mutationKeySkillsSync(),
|
|
88
|
+
mutationFn: function skillsSyncMutationFn({
|
|
89
|
+
skillId,
|
|
90
|
+
options,
|
|
91
|
+
}): Promise<SkillsSyncMutationData> {
|
|
92
|
+
const mergedOptions = {
|
|
93
|
+
...hookOptions,
|
|
94
|
+
...options,
|
|
95
|
+
fetchOptions: {
|
|
96
|
+
...hookOptions?.fetchOptions,
|
|
97
|
+
...options?.fetchOptions,
|
|
98
|
+
signal: combineSignals(
|
|
99
|
+
hookOptions?.fetchOptions?.signal,
|
|
100
|
+
options?.fetchOptions?.signal,
|
|
101
|
+
),
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
return unwrapAsync(skillsSync(
|
|
105
|
+
client$,
|
|
106
|
+
skillId,
|
|
107
|
+
mergedOptions,
|
|
108
|
+
));
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: e62e124a1043
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
MutationKey,
|
|
8
|
+
useMutation,
|
|
9
|
+
UseMutationResult,
|
|
10
|
+
} from "@tanstack/react-query";
|
|
11
|
+
import { GleanCore } from "../core.js";
|
|
12
|
+
import { skillsUpdate } from "../funcs/skillsUpdate.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 SkillsUpdateMutationVariables = {
|
|
32
|
+
platformSkillUpdateRequest: components.PlatformSkillUpdateRequest;
|
|
33
|
+
skillId: string;
|
|
34
|
+
options?: RequestOptions;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export type SkillsUpdateMutationData = components.PlatformSkillUpdateResponse;
|
|
38
|
+
|
|
39
|
+
export type SkillsUpdateMutationError =
|
|
40
|
+
| errors.PlatformProblemDetailError
|
|
41
|
+
| GleanBaseError
|
|
42
|
+
| ResponseValidationError
|
|
43
|
+
| ConnectionError
|
|
44
|
+
| RequestAbortedError
|
|
45
|
+
| RequestTimeoutError
|
|
46
|
+
| InvalidRequestError
|
|
47
|
+
| UnexpectedClientError
|
|
48
|
+
| SDKValidationError;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Update skill
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Update mutable metadata for a skill. V1 supports enabling or disabling a skill without changing its content.
|
|
55
|
+
*/
|
|
56
|
+
export function useSkillsUpdateMutation(
|
|
57
|
+
options?: MutationHookOptions<
|
|
58
|
+
SkillsUpdateMutationData,
|
|
59
|
+
SkillsUpdateMutationError,
|
|
60
|
+
SkillsUpdateMutationVariables
|
|
61
|
+
>,
|
|
62
|
+
): UseMutationResult<
|
|
63
|
+
SkillsUpdateMutationData,
|
|
64
|
+
SkillsUpdateMutationError,
|
|
65
|
+
SkillsUpdateMutationVariables
|
|
66
|
+
> {
|
|
67
|
+
const client = useGleanContext();
|
|
68
|
+
return useMutation({
|
|
69
|
+
...buildSkillsUpdateMutation(client, options),
|
|
70
|
+
...options,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function mutationKeySkillsUpdate(): MutationKey {
|
|
75
|
+
return ["@gleanwork/api-client", "skills", "update"];
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function buildSkillsUpdateMutation(
|
|
79
|
+
client$: GleanCore,
|
|
80
|
+
hookOptions?: RequestOptions,
|
|
81
|
+
): {
|
|
82
|
+
mutationKey: MutationKey;
|
|
83
|
+
mutationFn: (
|
|
84
|
+
variables: SkillsUpdateMutationVariables,
|
|
85
|
+
) => Promise<SkillsUpdateMutationData>;
|
|
86
|
+
} {
|
|
87
|
+
return {
|
|
88
|
+
mutationKey: mutationKeySkillsUpdate(),
|
|
89
|
+
mutationFn: function skillsUpdateMutationFn({
|
|
90
|
+
platformSkillUpdateRequest,
|
|
91
|
+
skillId,
|
|
92
|
+
options,
|
|
93
|
+
}): Promise<SkillsUpdateMutationData> {
|
|
94
|
+
const mergedOptions = {
|
|
95
|
+
...hookOptions,
|
|
96
|
+
...options,
|
|
97
|
+
fetchOptions: {
|
|
98
|
+
...hookOptions?.fetchOptions,
|
|
99
|
+
...options?.fetchOptions,
|
|
100
|
+
signal: combineSignals(
|
|
101
|
+
hookOptions?.fetchOptions?.signal,
|
|
102
|
+
options?.fetchOptions?.signal,
|
|
103
|
+
),
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
return unwrapAsync(skillsUpdate(
|
|
107
|
+
client$,
|
|
108
|
+
platformSkillUpdateRequest,
|
|
109
|
+
skillId,
|
|
110
|
+
mergedOptions,
|
|
111
|
+
));
|
|
112
|
+
},
|
|
113
|
+
};
|
|
114
|
+
}
|
package/src/sdk/chat.ts
CHANGED
|
@@ -3,241 +3,28 @@
|
|
|
3
3
|
* @generated-id: c56babc22a20
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
import { clientChatCreateStream } from "../funcs/clientChatCreateStream.js";
|
|
8
|
-
import { clientChatDelete } from "../funcs/clientChatDelete.js";
|
|
9
|
-
import { clientChatDeleteAll } from "../funcs/clientChatDeleteAll.js";
|
|
10
|
-
import { clientChatDeleteFiles } from "../funcs/clientChatDeleteFiles.js";
|
|
11
|
-
import { clientChatList } from "../funcs/clientChatList.js";
|
|
12
|
-
import { clientChatRetrieve } from "../funcs/clientChatRetrieve.js";
|
|
13
|
-
import { clientChatRetrieveApplication } from "../funcs/clientChatRetrieveApplication.js";
|
|
14
|
-
import { clientChatRetrieveFile } from "../funcs/clientChatRetrieveFile.js";
|
|
15
|
-
import { clientChatRetrieveFiles } from "../funcs/clientChatRetrieveFiles.js";
|
|
16
|
-
import { clientChatUploadFiles } from "../funcs/clientChatUploadFiles.js";
|
|
6
|
+
import { chatCreate, CreateAcceptEnum } from "../funcs/chatCreate.js";
|
|
17
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
18
8
|
import * as components from "../models/components/index.js";
|
|
9
|
+
import * as operations from "../models/operations/index.js";
|
|
19
10
|
import { unwrapAsync } from "../types/fp.js";
|
|
20
11
|
|
|
12
|
+
export { CreateAcceptEnum } from "../funcs/chatCreate.js";
|
|
13
|
+
|
|
21
14
|
export class Chat extends ClientSDK {
|
|
22
15
|
/**
|
|
23
|
-
*
|
|
16
|
+
* Create a chat response
|
|
24
17
|
*
|
|
25
18
|
* @remarks
|
|
26
|
-
*
|
|
19
|
+
* Run an assistant turn. Set `stream` to true to receive server-sent events; otherwise the response is a typed JSON response object.
|
|
27
20
|
*/
|
|
28
21
|
async create(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
): Promise<components.ChatResponse> {
|
|
34
|
-
return unwrapAsync(clientChatCreate(
|
|
35
|
-
this,
|
|
36
|
-
chatRequest,
|
|
37
|
-
locale,
|
|
38
|
-
timezoneOffset,
|
|
39
|
-
options,
|
|
40
|
-
));
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Deletes all saved Chats owned by a user
|
|
45
|
-
*
|
|
46
|
-
* @remarks
|
|
47
|
-
* Deletes all saved Chats a user has had and all their contained conversational content.
|
|
48
|
-
*/
|
|
49
|
-
async deleteAll(
|
|
50
|
-
locale?: string | undefined,
|
|
51
|
-
timezoneOffset?: number | undefined,
|
|
52
|
-
options?: RequestOptions,
|
|
53
|
-
): Promise<void> {
|
|
54
|
-
return unwrapAsync(clientChatDeleteAll(
|
|
55
|
-
this,
|
|
56
|
-
locale,
|
|
57
|
-
timezoneOffset,
|
|
58
|
-
options,
|
|
59
|
-
));
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Deletes saved Chats
|
|
64
|
-
*
|
|
65
|
-
* @remarks
|
|
66
|
-
* Deletes saved Chats and all their contained conversational content.
|
|
67
|
-
*/
|
|
68
|
-
async delete(
|
|
69
|
-
deleteChatsRequest: components.DeleteChatsRequest,
|
|
70
|
-
locale?: string | undefined,
|
|
71
|
-
timezoneOffset?: number | undefined,
|
|
72
|
-
options?: RequestOptions,
|
|
73
|
-
): Promise<void> {
|
|
74
|
-
return unwrapAsync(clientChatDelete(
|
|
75
|
-
this,
|
|
76
|
-
deleteChatsRequest,
|
|
77
|
-
locale,
|
|
78
|
-
timezoneOffset,
|
|
79
|
-
options,
|
|
80
|
-
));
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Retrieves a Chat
|
|
85
|
-
*
|
|
86
|
-
* @remarks
|
|
87
|
-
* Retrieves the chat history between Glean Assistant and the user for a given Chat.
|
|
88
|
-
*/
|
|
89
|
-
async retrieve(
|
|
90
|
-
getChatRequest: components.GetChatRequest,
|
|
91
|
-
locale?: string | undefined,
|
|
92
|
-
timezoneOffset?: number | undefined,
|
|
93
|
-
options?: RequestOptions,
|
|
94
|
-
): Promise<components.GetChatResponse> {
|
|
95
|
-
return unwrapAsync(clientChatRetrieve(
|
|
96
|
-
this,
|
|
97
|
-
getChatRequest,
|
|
98
|
-
locale,
|
|
99
|
-
timezoneOffset,
|
|
100
|
-
options,
|
|
101
|
-
));
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* Retrieves all saved Chats
|
|
106
|
-
*
|
|
107
|
-
* @remarks
|
|
108
|
-
* Retrieves all the saved Chats between Glean Assistant and the user. The returned Chats contain only metadata and no conversational content.
|
|
109
|
-
*/
|
|
110
|
-
async list(
|
|
111
|
-
locale?: string | undefined,
|
|
112
|
-
timezoneOffset?: number | undefined,
|
|
113
|
-
options?: RequestOptions,
|
|
114
|
-
): Promise<components.ListChatsResponse> {
|
|
115
|
-
return unwrapAsync(clientChatList(
|
|
116
|
-
this,
|
|
117
|
-
locale,
|
|
118
|
-
timezoneOffset,
|
|
119
|
-
options,
|
|
120
|
-
));
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Gets the metadata for a custom Chat application
|
|
125
|
-
*
|
|
126
|
-
* @remarks
|
|
127
|
-
* Gets the Chat application details for the specified application ID.
|
|
128
|
-
*/
|
|
129
|
-
async retrieveApplication(
|
|
130
|
-
getChatApplicationRequest: components.GetChatApplicationRequest,
|
|
131
|
-
locale?: string | undefined,
|
|
132
|
-
timezoneOffset?: number | undefined,
|
|
133
|
-
options?: RequestOptions,
|
|
134
|
-
): Promise<components.GetChatApplicationResponse> {
|
|
135
|
-
return unwrapAsync(clientChatRetrieveApplication(
|
|
136
|
-
this,
|
|
137
|
-
getChatApplicationRequest,
|
|
138
|
-
locale,
|
|
139
|
-
timezoneOffset,
|
|
140
|
-
options,
|
|
141
|
-
));
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Upload files for Chat
|
|
146
|
-
*
|
|
147
|
-
* @remarks
|
|
148
|
-
* Upload files for Chat.
|
|
149
|
-
*/
|
|
150
|
-
async uploadFiles(
|
|
151
|
-
uploadChatFilesRequest: components.UploadChatFilesRequest,
|
|
152
|
-
locale?: string | undefined,
|
|
153
|
-
timezoneOffset?: number | undefined,
|
|
154
|
-
options?: RequestOptions,
|
|
155
|
-
): Promise<components.UploadChatFilesResponse> {
|
|
156
|
-
return unwrapAsync(clientChatUploadFiles(
|
|
157
|
-
this,
|
|
158
|
-
uploadChatFilesRequest,
|
|
159
|
-
locale,
|
|
160
|
-
timezoneOffset,
|
|
161
|
-
options,
|
|
162
|
-
));
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Get files uploaded by a user for Chat
|
|
167
|
-
*
|
|
168
|
-
* @remarks
|
|
169
|
-
* Get files uploaded by a user for Chat.
|
|
170
|
-
*/
|
|
171
|
-
async retrieveFiles(
|
|
172
|
-
getChatFilesRequest: components.GetChatFilesRequest,
|
|
173
|
-
locale?: string | undefined,
|
|
174
|
-
timezoneOffset?: number | undefined,
|
|
175
|
-
options?: RequestOptions,
|
|
176
|
-
): Promise<components.GetChatFilesResponse> {
|
|
177
|
-
return unwrapAsync(clientChatRetrieveFiles(
|
|
178
|
-
this,
|
|
179
|
-
getChatFilesRequest,
|
|
180
|
-
locale,
|
|
181
|
-
timezoneOffset,
|
|
182
|
-
options,
|
|
183
|
-
));
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* Delete files uploaded by a user for chat
|
|
188
|
-
*
|
|
189
|
-
* @remarks
|
|
190
|
-
* Delete files uploaded by a user for Chat.
|
|
191
|
-
*/
|
|
192
|
-
async deleteFiles(
|
|
193
|
-
deleteChatFilesRequest: components.DeleteChatFilesRequest,
|
|
194
|
-
locale?: string | undefined,
|
|
195
|
-
timezoneOffset?: number | undefined,
|
|
196
|
-
options?: RequestOptions,
|
|
197
|
-
): Promise<void> {
|
|
198
|
-
return unwrapAsync(clientChatDeleteFiles(
|
|
199
|
-
this,
|
|
200
|
-
deleteChatFilesRequest,
|
|
201
|
-
locale,
|
|
202
|
-
timezoneOffset,
|
|
203
|
-
options,
|
|
204
|
-
));
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Download a chat file
|
|
209
|
-
*
|
|
210
|
-
* @remarks
|
|
211
|
-
* Download the raw content of a file generated or uploaded during a chat session (for example, an image produced by the assistant). Returns the file bytes with a Content-Type header matching the file's MIME type.
|
|
212
|
-
*/
|
|
213
|
-
async retrieveFile(
|
|
214
|
-
fileId: string,
|
|
215
|
-
preview?: boolean | undefined,
|
|
216
|
-
options?: RequestOptions,
|
|
217
|
-
): Promise<ReadableStream<Uint8Array>> {
|
|
218
|
-
return unwrapAsync(clientChatRetrieveFile(
|
|
219
|
-
this,
|
|
220
|
-
fileId,
|
|
221
|
-
preview,
|
|
222
|
-
options,
|
|
223
|
-
));
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Chat
|
|
228
|
-
*
|
|
229
|
-
* @remarks
|
|
230
|
-
* Have a conversation with Glean AI.
|
|
231
|
-
*/
|
|
232
|
-
async createStream(
|
|
233
|
-
chatRequest: components.ChatRequest,
|
|
234
|
-
timezoneOffset?: number | undefined,
|
|
235
|
-
options?: RequestOptions,
|
|
236
|
-
): Promise<string> {
|
|
237
|
-
return unwrapAsync(clientChatCreateStream(
|
|
22
|
+
request: components.PlatformChatCreateRequest,
|
|
23
|
+
options?: RequestOptions & { acceptHeaderOverride?: CreateAcceptEnum },
|
|
24
|
+
): Promise<operations.PlatformChatCreateResponse> {
|
|
25
|
+
return unwrapAsync(chatCreate(
|
|
238
26
|
this,
|
|
239
|
-
|
|
240
|
-
timezoneOffset,
|
|
27
|
+
request,
|
|
241
28
|
options,
|
|
242
29
|
));
|
|
243
30
|
}
|