@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 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatfilesource.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatfilesource.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCH,wEAQC;AA/CD,0CAA4B;AAC5B,qDAAiD;AAKpC,QAAA,0BAA0B,GAAG;IACxC,IAAI,EAAE,MAAM;CACJ,CAAC;AAaX,gBAAgB;AACH,QAAA,wCAAwC,GAEjD,CAAC,CAAC,UAAU,CAAC,kCAA0B,CAAC,CAAC;AAE7C,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,gDAAwC;IAC9C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC;AAEH,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const PlatformChatInputMessageRole: {
|
|
4
|
+
readonly User: "user";
|
|
5
|
+
readonly Assistant: "assistant";
|
|
6
|
+
};
|
|
7
|
+
export type PlatformChatInputMessageRole = ClosedEnum<typeof PlatformChatInputMessageRole>;
|
|
8
|
+
export type PlatformChatInputMessage = {
|
|
9
|
+
role: PlatformChatInputMessageRole;
|
|
10
|
+
content: string;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const PlatformChatInputMessageRole$outboundSchema: z.ZodNativeEnum<typeof PlatformChatInputMessageRole>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type PlatformChatInputMessage$Outbound = {
|
|
16
|
+
role: string;
|
|
17
|
+
content: string;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const PlatformChatInputMessage$outboundSchema: z.ZodType<PlatformChatInputMessage$Outbound, z.ZodTypeDef, PlatformChatInputMessage>;
|
|
21
|
+
export declare function platformChatInputMessageToJSON(platformChatInputMessage: PlatformChatInputMessage): string;
|
|
22
|
+
//# sourceMappingURL=platformchatinputmessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatinputmessage.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformchatinputmessage.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,4BAA4B,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,aAAa,CACvE,OAAO,4BAA4B,CACS,CAAC;AAE/C,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAIxB,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 3cfc29b0d268
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.PlatformChatInputMessage$outboundSchema = exports.PlatformChatInputMessageRole$outboundSchema = exports.PlatformChatInputMessageRole = void 0;
|
|
41
|
+
exports.platformChatInputMessageToJSON = platformChatInputMessageToJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
exports.PlatformChatInputMessageRole = {
|
|
44
|
+
User: "user",
|
|
45
|
+
Assistant: "assistant",
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
exports.PlatformChatInputMessageRole$outboundSchema = z.nativeEnum(exports.PlatformChatInputMessageRole);
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.PlatformChatInputMessage$outboundSchema = z.object({
|
|
51
|
+
role: exports.PlatformChatInputMessageRole$outboundSchema,
|
|
52
|
+
content: z.string(),
|
|
53
|
+
});
|
|
54
|
+
function platformChatInputMessageToJSON(platformChatInputMessage) {
|
|
55
|
+
return JSON.stringify(exports.PlatformChatInputMessage$outboundSchema.parse(platformChatInputMessage));
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=platformchatinputmessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatinputmessage.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatinputmessage.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCH,wEAMC;AA3CD,0CAA4B;AAGf,QAAA,4BAA4B,GAAG;IAC1C,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;CACd,CAAC;AAUX,gBAAgB;AACH,QAAA,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,oCAA4B,CAAC,CAAC;AAQ/C,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,mDAA2C;IACjD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import { PlatformChatOutputTextContent } from "./platformchatoutputtextcontent.js";
|
|
6
|
+
export declare const PlatformChatOutputMessageType: {
|
|
7
|
+
readonly Message: "message";
|
|
8
|
+
};
|
|
9
|
+
export type PlatformChatOutputMessageType = ClosedEnum<typeof PlatformChatOutputMessageType>;
|
|
10
|
+
export declare const PlatformChatOutputMessageRole: {
|
|
11
|
+
readonly Assistant: "assistant";
|
|
12
|
+
};
|
|
13
|
+
export type PlatformChatOutputMessageRole = ClosedEnum<typeof PlatformChatOutputMessageRole>;
|
|
14
|
+
export type PlatformChatOutputMessage = {
|
|
15
|
+
type: PlatformChatOutputMessageType;
|
|
16
|
+
role: PlatformChatOutputMessageRole;
|
|
17
|
+
content: Array<PlatformChatOutputTextContent>;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const PlatformChatOutputMessageType$inboundSchema: z.ZodNativeEnum<typeof PlatformChatOutputMessageType>;
|
|
21
|
+
/** @internal */
|
|
22
|
+
export declare const PlatformChatOutputMessageRole$inboundSchema: z.ZodNativeEnum<typeof PlatformChatOutputMessageRole>;
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const PlatformChatOutputMessage$inboundSchema: z.ZodType<PlatformChatOutputMessage, z.ZodTypeDef, unknown>;
|
|
25
|
+
export declare function platformChatOutputMessageFromJSON(jsonString: string): SafeParseResult<PlatformChatOutputMessage, SDKValidationError>;
|
|
26
|
+
//# sourceMappingURL=platformchatoutputmessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatoutputmessage.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformchatoutputmessage.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,6BAA6B,EAE9B,MAAM,oCAAoC,CAAC;AAE5C,eAAO,MAAM,6BAA6B;;CAEhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,6BAA6B,CACrC,CAAC;AAEF,eAAO,MAAM,6BAA6B;;CAEhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,6BAA6B,CACrC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,6BAA6B,CAAC;IACpC,IAAI,EAAE,6BAA6B,CAAC;IACpC,OAAO,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,aAAa,CACvE,OAAO,6BAA6B,CACS,CAAC;AAEhD,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,aAAa,CACvE,OAAO,6BAA6B,CACS,CAAC;AAEhD,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 99912ae2c54e
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.PlatformChatOutputMessage$inboundSchema = exports.PlatformChatOutputMessageRole$inboundSchema = exports.PlatformChatOutputMessageType$inboundSchema = exports.PlatformChatOutputMessageRole = exports.PlatformChatOutputMessageType = void 0;
|
|
41
|
+
exports.platformChatOutputMessageFromJSON = platformChatOutputMessageFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const platformchatoutputtextcontent_js_1 = require("./platformchatoutputtextcontent.js");
|
|
45
|
+
exports.PlatformChatOutputMessageType = {
|
|
46
|
+
Message: "message",
|
|
47
|
+
};
|
|
48
|
+
exports.PlatformChatOutputMessageRole = {
|
|
49
|
+
Assistant: "assistant",
|
|
50
|
+
};
|
|
51
|
+
/** @internal */
|
|
52
|
+
exports.PlatformChatOutputMessageType$inboundSchema = z.nativeEnum(exports.PlatformChatOutputMessageType);
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.PlatformChatOutputMessageRole$inboundSchema = z.nativeEnum(exports.PlatformChatOutputMessageRole);
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.PlatformChatOutputMessage$inboundSchema = z.object({
|
|
57
|
+
type: exports.PlatformChatOutputMessageType$inboundSchema,
|
|
58
|
+
role: exports.PlatformChatOutputMessageRole$inboundSchema,
|
|
59
|
+
content: z.array(platformchatoutputtextcontent_js_1.PlatformChatOutputTextContent$inboundSchema),
|
|
60
|
+
});
|
|
61
|
+
function platformChatOutputMessageFromJSON(jsonString) {
|
|
62
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PlatformChatOutputMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatOutputMessage' from JSON`);
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=platformchatoutputmessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatoutputmessage.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatoutputmessage.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDH,8EAQC;AA3DD,0CAA4B;AAC5B,qDAAiD;AAIjD,yFAG4C;AAE/B,QAAA,6BAA6B,GAAG;IAC3C,OAAO,EAAE,SAAS;CACV,CAAC;AAKE,QAAA,6BAA6B,GAAG;IAC3C,SAAS,EAAE,WAAW;CACd,CAAC;AAWX,gBAAgB;AACH,QAAA,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,qCAA6B,CAAC,CAAC;AAEhD,gBAAgB;AACH,QAAA,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,qCAA6B,CAAC,CAAC;AAEhD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,mDAA2C;IACjD,IAAI,EAAE,mDAA2C;IACjD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,8EAA2C,CAAC;CAC9D,CAAC,CAAC;AAEH,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import { PlatformChatCitationAnnotation } from "./platformchatcitationannotation.js";
|
|
6
|
+
export declare const PlatformChatOutputTextContentType: {
|
|
7
|
+
readonly OutputText: "output_text";
|
|
8
|
+
};
|
|
9
|
+
export type PlatformChatOutputTextContentType = ClosedEnum<typeof PlatformChatOutputTextContentType>;
|
|
10
|
+
export type PlatformChatOutputTextContent = {
|
|
11
|
+
type: PlatformChatOutputTextContentType;
|
|
12
|
+
text: string;
|
|
13
|
+
annotations?: Array<PlatformChatCitationAnnotation> | undefined;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const PlatformChatOutputTextContentType$inboundSchema: z.ZodNativeEnum<typeof PlatformChatOutputTextContentType>;
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const PlatformChatOutputTextContent$inboundSchema: z.ZodType<PlatformChatOutputTextContent, z.ZodTypeDef, unknown>;
|
|
19
|
+
export declare function platformChatOutputTextContentFromJSON(jsonString: string): SafeParseResult<PlatformChatOutputTextContent, SDKValidationError>;
|
|
20
|
+
//# sourceMappingURL=platformchatoutputtextcontent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatoutputtextcontent.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformchatoutputtextcontent.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAE/B,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,iCAAiC;;CAEpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,UAAU,CACxD,OAAO,iCAAiC,CACzC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,iCAAiC,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC;CACjE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,aAAa,CAC3E,OAAO,iCAAiC,CACS,CAAC;AAEpD,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: aef245149405
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.PlatformChatOutputTextContent$inboundSchema = exports.PlatformChatOutputTextContentType$inboundSchema = exports.PlatformChatOutputTextContentType = void 0;
|
|
41
|
+
exports.platformChatOutputTextContentFromJSON = platformChatOutputTextContentFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const platformchatcitationannotation_js_1 = require("./platformchatcitationannotation.js");
|
|
45
|
+
exports.PlatformChatOutputTextContentType = {
|
|
46
|
+
OutputText: "output_text",
|
|
47
|
+
};
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.PlatformChatOutputTextContentType$inboundSchema = z.nativeEnum(exports.PlatformChatOutputTextContentType);
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.PlatformChatOutputTextContent$inboundSchema = z.object({
|
|
52
|
+
type: exports.PlatformChatOutputTextContentType$inboundSchema,
|
|
53
|
+
text: z.string(),
|
|
54
|
+
annotations: z.array(platformchatcitationannotation_js_1.PlatformChatCitationAnnotation$inboundSchema).optional(),
|
|
55
|
+
});
|
|
56
|
+
function platformChatOutputTextContentFromJSON(jsonString) {
|
|
57
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PlatformChatOutputTextContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatOutputTextContent' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=platformchatoutputtextcontent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatoutputtextcontent.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatoutputtextcontent.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyCH,sFAQC;AA/CD,0CAA4B;AAC5B,qDAAiD;AAIjD,2FAG6C;AAEhC,QAAA,iCAAiC,GAAG;IAC/C,UAAU,EAAE,aAAa;CACjB,CAAC;AAWX,gBAAgB;AACH,QAAA,+CAA+C,GAExD,CAAC,CAAC,UAAU,CAAC,yCAAiC,CAAC,CAAC;AAEpD,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,uDAA+C;IACrD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,gFAA4C,CAAC,CAAC,QAAQ,EAAE;CAC9E,CAAC,CAAC;AAEH,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export declare const PlatformChatPersonSourceType: {
|
|
6
|
+
readonly Person: "person";
|
|
7
|
+
};
|
|
8
|
+
export type PlatformChatPersonSourceType = ClosedEnum<typeof PlatformChatPersonSourceType>;
|
|
9
|
+
export type PlatformChatPersonSource = {
|
|
10
|
+
type: PlatformChatPersonSourceType;
|
|
11
|
+
person_id: string;
|
|
12
|
+
name?: string | undefined;
|
|
13
|
+
url?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const PlatformChatPersonSourceType$inboundSchema: z.ZodNativeEnum<typeof PlatformChatPersonSourceType>;
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const PlatformChatPersonSource$inboundSchema: z.ZodType<PlatformChatPersonSource, z.ZodTypeDef, unknown>;
|
|
19
|
+
export declare function platformChatPersonSourceFromJSON(jsonString: string): SafeParseResult<PlatformChatPersonSource, SDKValidationError>;
|
|
20
|
+
//# sourceMappingURL=platformchatpersonsource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatpersonsource.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformchatpersonsource.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,4BAA4B;;CAE/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,IAAI,EAAE,4BAA4B,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,aAAa,CACtE,OAAO,4BAA4B,CACS,CAAC;AAE/C,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 9e78924ff10b
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.PlatformChatPersonSource$inboundSchema = exports.PlatformChatPersonSourceType$inboundSchema = exports.PlatformChatPersonSourceType = void 0;
|
|
41
|
+
exports.platformChatPersonSourceFromJSON = platformChatPersonSourceFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
exports.PlatformChatPersonSourceType = {
|
|
45
|
+
Person: "person",
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
exports.PlatformChatPersonSourceType$inboundSchema = z.nativeEnum(exports.PlatformChatPersonSourceType);
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.PlatformChatPersonSource$inboundSchema = z.object({
|
|
51
|
+
type: exports.PlatformChatPersonSourceType$inboundSchema,
|
|
52
|
+
person_id: z.string(),
|
|
53
|
+
name: z.string().optional(),
|
|
54
|
+
url: z.string().optional(),
|
|
55
|
+
});
|
|
56
|
+
function platformChatPersonSourceFromJSON(jsonString) {
|
|
57
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PlatformChatPersonSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatPersonSource' from JSON`);
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=platformchatpersonsource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatpersonsource.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatpersonsource.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCH,4EAQC;AA7CD,0CAA4B;AAC5B,qDAAiD;AAKpC,QAAA,4BAA4B,GAAG;IAC1C,MAAM,EAAE,QAAQ;CACR,CAAC;AAYX,gBAAgB;AACH,QAAA,0CAA0C,GAEnD,CAAC,CAAC,UAAU,CAAC,oCAA4B,CAAC,CAAC;AAE/C,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,kDAA0C;IAChD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC;AAEH,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { PlatformFilterFieldInfo } from "./platformfilterfieldinfo.js";
|
|
5
|
+
export type PlatformDatasourceFilterInfo = {
|
|
6
|
+
/**
|
|
7
|
+
* Datasource identifier usable in `POST /api/search` `datasources`.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
*/
|
|
11
|
+
datasource: string;
|
|
12
|
+
/**
|
|
13
|
+
* Common built-in filter fields for this datasource. May be empty. A built-in omitted here can still be valid in `POST /api/search`; see `Filter.field` for the full built-in name list.
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
*/
|
|
17
|
+
filters: Array<PlatformFilterFieldInfo>;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const PlatformDatasourceFilterInfo$inboundSchema: z.ZodType<PlatformDatasourceFilterInfo, z.ZodTypeDef, unknown>;
|
|
21
|
+
export declare function platformDatasourceFilterInfoFromJSON(jsonString: string): SafeParseResult<PlatformDatasourceFilterInfo, SDKValidationError>;
|
|
22
|
+
//# sourceMappingURL=platformdatasourcefilterinfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformdatasourcefilterinfo.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformdatasourcefilterinfo.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,uBAAuB,EAExB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,OAAO,CAChE,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAMnE"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: f7d5af2a32f8
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.PlatformDatasourceFilterInfo$inboundSchema = void 0;
|
|
41
|
+
exports.platformDatasourceFilterInfoFromJSON = platformDatasourceFilterInfoFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const platformfilterfieldinfo_js_1 = require("./platformfilterfieldinfo.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.PlatformDatasourceFilterInfo$inboundSchema = z.object({
|
|
47
|
+
datasource: z.string(),
|
|
48
|
+
filters: z.array(platformfilterfieldinfo_js_1.PlatformFilterFieldInfo$inboundSchema),
|
|
49
|
+
});
|
|
50
|
+
function platformDatasourceFilterInfoFromJSON(jsonString) {
|
|
51
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PlatformDatasourceFilterInfo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformDatasourceFilterInfo' from JSON`);
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=platformdatasourcefilterinfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformdatasourcefilterinfo.js","sourceRoot":"","sources":["../../../../src/models/components/platformdatasourcefilterinfo.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCH,oFAQC;AA1CD,0CAA4B;AAC5B,qDAAiD;AAGjD,6EAGsC;AAiBtC,gBAAgB;AACH,QAAA,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,kEAAqC,CAAC;CACxD,CAAC,CAAC;AAEH,SAAgB,oCAAoC,CAClD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kDAA0C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtE,0DAA0D,CAC3D,CAAC;AACJ,CAAC"}
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { PlatformFilterOperator } from "./platformfilteroperator.js";
|
|
3
3
|
/**
|
|
4
|
-
* A single filter criterion. For `EQUALS`, multiple values within a filter are OR'd
|
|
4
|
+
* A single filter criterion. For `EQUALS`, multiple values within a filter are OR'd; for `NOT_EQUALS`, listed values are excluded. Separate filters are AND'd with each other and with inline operators in `query`. Repeated same-field `EQUALS` filters are rejected.
|
|
5
5
|
*
|
|
6
6
|
* @remarks
|
|
7
7
|
*/
|
|
8
8
|
export type PlatformFilter = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Filter field name. Built-in names (case-sensitive, lowercase only): `type`, `owner`, `from`, `author`, `channel`, `status`, `assignee`, `reporter`, `component`, `mentions`, and `collection`. Built-ins accept only `EQUALS` and `NOT_EQUALS`. Any other nonblank name is accepted as a custom filter without spelling, existence, or type checks; behavior depends on your connected sources.
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
13
|
*/
|
|
14
14
|
field: string;
|
|
15
15
|
/**
|
|
16
|
-
* One or more values to match.
|
|
16
|
+
* One or more values to match. Prefer values returned by filter discovery unchanged. For people (`USER`) fields, values may be email addresses or display names.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
17
19
|
*/
|
|
18
20
|
values: Array<string>;
|
|
19
21
|
/**
|
|
20
|
-
* Comparison operator to
|
|
22
|
+
* Comparison operator. Defaults to `EQUALS`. Built-in fields support only `EQUALS` and `NOT_EQUALS`. Range operators (`GT`, `GTE`, `LT`, `LTE`) require exactly one value; express ranges with multiple filters on the same field. Custom fields may support different operators depending on the data source.
|
|
21
23
|
*
|
|
22
24
|
* @remarks
|
|
23
25
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platformfilter.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformfilter.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd
|
|
1
|
+
{"version":3,"file":"platformfilter.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformfilter.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAKd,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platformfilter.js","sourceRoot":"","sources":["../../../../src/models/components/platformfilter.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"platformfilter.js","sourceRoot":"","sources":["../../../../src/models/components/platformfilter.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoDH,oDAEC;AApDD,0CAA4B;AAC5B,2EAGqC;AAmCrC,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC3B,QAAQ,EAAE,iEAAqC,CAAC,QAAQ,EAAE;CAC3D,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { PlatformFilterOperator } from "./platformfilteroperator.js";
|
|
5
|
+
export type PlatformFilterFieldInfo = {
|
|
6
|
+
/**
|
|
7
|
+
* Field name usable in the `filters` array for `POST /api/search`.
|
|
8
|
+
*/
|
|
9
|
+
field: string;
|
|
10
|
+
/**
|
|
11
|
+
* Open field-type string. Current values are `STRING` for text and keyword fields and `USER` for people fields (`owner`, `from`, `author`, `assignee`, `reporter`, `mentions`). Clients must tolerate unknown values.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
*/
|
|
15
|
+
type: string;
|
|
16
|
+
/**
|
|
17
|
+
* Comparison operators supported for this field. Built-in fields expose `EQUALS` and `NOT_EQUALS`.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
*/
|
|
21
|
+
operators: Array<PlatformFilterOperator>;
|
|
22
|
+
/**
|
|
23
|
+
* Suggested filter values observed for the supplied `query`. Omitted in catalog-only responses. Present as an array, including `[]`, when `query` is provided. Values are a bounded, non-exhaustive sample in search-provider order and may include duplicates; blank values are omitted. No additional endpoint-specific truncation is applied. Grouping in the search UI is not preserved; each value applies to the field broadly. An empty array does not mean no valid value exists. Availability varies by data source; federated and MCP integrations may return page-derived values or none at all. Reusing a suggested value in `POST /api/search` does not guarantee matching results or identical filter behavior. For `USER` fields, values may be email addresses or display names.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
*/
|
|
27
|
+
values?: Array<string> | undefined;
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const PlatformFilterFieldInfo$inboundSchema: z.ZodType<PlatformFilterFieldInfo, z.ZodTypeDef, unknown>;
|
|
31
|
+
export declare function platformFilterFieldInfoFromJSON(jsonString: string): SafeParseResult<PlatformFilterFieldInfo, SDKValidationError>;
|
|
32
|
+
//# sourceMappingURL=platformfilterfieldinfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformfilterfieldinfo.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformfilterfieldinfo.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,sBAAsB,EAEvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 9d7ef9794894
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.PlatformFilterFieldInfo$inboundSchema = void 0;
|
|
41
|
+
exports.platformFilterFieldInfoFromJSON = platformFilterFieldInfoFromJSON;
|
|
42
|
+
const z = __importStar(require("zod/v3"));
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const platformfilteroperator_js_1 = require("./platformfilteroperator.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.PlatformFilterFieldInfo$inboundSchema = z.object({
|
|
47
|
+
field: z.string(),
|
|
48
|
+
type: z.string(),
|
|
49
|
+
operators: z.array(platformfilteroperator_js_1.PlatformFilterOperator$inboundSchema),
|
|
50
|
+
values: z.array(z.string()).optional(),
|
|
51
|
+
});
|
|
52
|
+
function platformFilterFieldInfoFromJSON(jsonString) {
|
|
53
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PlatformFilterFieldInfo$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformFilterFieldInfo' from JSON`);
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=platformfilterfieldinfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformfilterfieldinfo.js","sourceRoot":"","sources":["../../../../src/models/components/platformfilterfieldinfo.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDH,0EAQC;AAtDD,0CAA4B;AAC5B,qDAAiD;AAGjD,2EAGqC;AA2BrC,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,gEAAoC,CAAC;IACxD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAEH,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
|
-
import {
|
|
2
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
3
3
|
/**
|
|
4
4
|
* Supported filter operator.
|
|
5
5
|
*/
|
|
@@ -14,7 +14,9 @@ export declare const PlatformFilterOperator: {
|
|
|
14
14
|
/**
|
|
15
15
|
* Supported filter operator.
|
|
16
16
|
*/
|
|
17
|
-
export type PlatformFilterOperator =
|
|
17
|
+
export type PlatformFilterOperator = OpenEnum<typeof PlatformFilterOperator>;
|
|
18
18
|
/** @internal */
|
|
19
|
-
export declare const PlatformFilterOperator$
|
|
19
|
+
export declare const PlatformFilterOperator$inboundSchema: z.ZodType<PlatformFilterOperator, z.ZodTypeDef, unknown>;
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const PlatformFilterOperator$outboundSchema: z.ZodType<string, z.ZodTypeDef, PlatformFilterOperator>;
|
|
20
22
|
//# sourceMappingURL=platformfilteroperator.d.ts.map
|