@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":"platformchatcompletedresponse.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformchatcompletedresponse.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,yBAAyB,EAE1B,MAAM,gCAAgC,CAAC;AAExC,eAAO,MAAM,OAAO;;CAEV,CAAC;AACX,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAEjD,eAAO,MAAM,mCAAmC;;CAEtC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,UAAU,CAC1D,OAAO,mCAAmC,CAC3C,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB,MAAM,EAAE,mCAAmC,CAAC;IAC5C,MAAM,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;IACzC,KAAK,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,OAAO,CAC5C,CAAC;AAEvB,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,aAAa,CAC7E,OAAO,mCAAmC,CACS,CAAC;AAEtD,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: dd026ef73bb1
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { PlatformChatOutputMessage$inboundSchema, } from "./platformchatoutputmessage.js";
|
|
8
|
+
export const ObjectT = {
|
|
9
|
+
Response: "response",
|
|
10
|
+
};
|
|
11
|
+
export const PlatformChatCompletedResponseStatus = {
|
|
12
|
+
Completed: "completed",
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const ObjectT$inboundSchema = z
|
|
16
|
+
.nativeEnum(ObjectT);
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const PlatformChatCompletedResponseStatus$inboundSchema = z.nativeEnum(PlatformChatCompletedResponseStatus);
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const PlatformChatCompletedResponse$inboundSchema = z.object({
|
|
21
|
+
id: z.string(),
|
|
22
|
+
object: ObjectT$inboundSchema,
|
|
23
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
24
|
+
status: PlatformChatCompletedResponseStatus$inboundSchema,
|
|
25
|
+
output: z.array(PlatformChatOutputMessage$inboundSchema),
|
|
26
|
+
store: z.boolean(),
|
|
27
|
+
conversation_id: z.nullable(z.string()).optional(),
|
|
28
|
+
request_id: z.string(),
|
|
29
|
+
});
|
|
30
|
+
export function platformChatCompletedResponseFromJSON(jsonString) {
|
|
31
|
+
return safeParse(jsonString, (x) => PlatformChatCompletedResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatCompletedResponse' from JSON`);
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=platformchatcompletedresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatcompletedresponse.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatcompletedresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,EAEL,uCAAuC,GACxC,MAAM,gCAAgC,CAAC;AAExC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAGX,MAAM,CAAC,MAAM,mCAAmC,GAAG;IACjD,SAAS,EAAE,WAAW;CACd,CAAC;AA2BX,gBAAgB;AAChB,MAAM,CAAC,MAAM,qBAAqB,GAAoC,CAAC;KACpE,UAAU,CAAC,OAAO,CAAC,CAAC;AAEvB,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAE1D,CAAC,CAAC,UAAU,CAAC,mCAAmC,CAAC,CAAC;AAEtD,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,MAAM,EAAE,qBAAqB;IAC7B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC7E,MAAM,EAAE,iDAAiD;IACzD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,uCAAuC,CAAC;IACxD,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE;IAClB,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAEH,MAAM,UAAU,qCAAqC,CACnD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { PlatformChatInputMessage, PlatformChatInputMessage$Outbound } from "./platformchatinputmessage.js";
|
|
3
|
+
/**
|
|
4
|
+
* Either a plain string (single user turn) or a chronological array of `user`/`assistant` messages. The final array message must be `user`.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
*/
|
|
8
|
+
export type Input = string | Array<PlatformChatInputMessage>;
|
|
9
|
+
export type PlatformChatCreateRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* Either a plain string (single user turn) or a chronological array of `user`/`assistant` messages. The final array message must be `user`.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
*/
|
|
15
|
+
input: string | Array<PlatformChatInputMessage>;
|
|
16
|
+
/**
|
|
17
|
+
* When true, respond with `text/event-stream`. When false or omitted, respond with `application/json`.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
*/
|
|
21
|
+
stream?: boolean | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* When true (default), persist the interaction and return a `conversation_id`. When false, run ephemerally with no persistence.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
*/
|
|
27
|
+
store?: boolean | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Continue an existing stored conversation. Incompatible with message-array `input` and with `store: false`.
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
*/
|
|
33
|
+
conversation_id?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type Input$Outbound = string | Array<PlatformChatInputMessage$Outbound>;
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const Input$outboundSchema: z.ZodType<Input$Outbound, z.ZodTypeDef, Input>;
|
|
39
|
+
export declare function inputToJSON(input: Input): string;
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type PlatformChatCreateRequest$Outbound = {
|
|
42
|
+
input: string | Array<PlatformChatInputMessage$Outbound>;
|
|
43
|
+
stream: boolean;
|
|
44
|
+
store: boolean;
|
|
45
|
+
conversation_id?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
/** @internal */
|
|
48
|
+
export declare const PlatformChatCreateRequest$outboundSchema: z.ZodType<PlatformChatCreateRequest$Outbound, z.ZodTypeDef, PlatformChatCreateRequest>;
|
|
49
|
+
export declare function platformChatCreateRequestToJSON(platformChatCreateRequest: PlatformChatCreateRequest): string;
|
|
50
|
+
//# sourceMappingURL=platformchatcreaterequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatcreaterequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformchatcreaterequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACL,wBAAwB,EACxB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AAEvC;;;;GAIG;AACH,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAE7D,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAChD;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,KAAK,CAAC,iCAAiC,CAAC,CAAC;AAE/E,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAC1C,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,KAAK,CACoE,CAAC;AAE5E,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEhD;AAED,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACzD,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CASzB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: a0537d504f7f
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { PlatformChatInputMessage$outboundSchema, } from "./platformchatinputmessage.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const Input$outboundSchema = z.union([z.string(), z.array(PlatformChatInputMessage$outboundSchema)]);
|
|
9
|
+
export function inputToJSON(input) {
|
|
10
|
+
return JSON.stringify(Input$outboundSchema.parse(input));
|
|
11
|
+
}
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const PlatformChatCreateRequest$outboundSchema = z.object({
|
|
14
|
+
input: z.union([
|
|
15
|
+
z.string(),
|
|
16
|
+
z.array(PlatformChatInputMessage$outboundSchema),
|
|
17
|
+
]),
|
|
18
|
+
stream: z.boolean().default(false),
|
|
19
|
+
store: z.boolean().default(true),
|
|
20
|
+
conversation_id: z.string().optional(),
|
|
21
|
+
});
|
|
22
|
+
export function platformChatCreateRequestToJSON(platformChatCreateRequest) {
|
|
23
|
+
return JSON.stringify(PlatformChatCreateRequest$outboundSchema.parse(platformChatCreateRequest));
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=platformchatcreaterequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatcreaterequest.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatcreaterequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAGL,uCAAuC,GACxC,MAAM,+BAA+B,CAAC;AAuCvC,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAI7B,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,uCAAuC,CAAC,CAAC,CAAC,CAAC;AAE5E,MAAM,UAAU,WAAW,CAAC,KAAY;IACtC,OAAO,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAC3D,CAAC;AAUD,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC;QACb,CAAC,CAAC,MAAM,EAAE;QACV,CAAC,CAAC,KAAK,CAAC,uCAAuC,CAAC;KACjD,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IAClC,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IAChC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC;AAEH,MAAM,UAAU,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 PlatformChatCustomEntitySourceType: {
|
|
6
|
+
readonly CustomEntity: "custom_entity";
|
|
7
|
+
};
|
|
8
|
+
export type PlatformChatCustomEntitySourceType = ClosedEnum<typeof PlatformChatCustomEntitySourceType>;
|
|
9
|
+
export type PlatformChatCustomEntitySource = {
|
|
10
|
+
type: PlatformChatCustomEntitySourceType;
|
|
11
|
+
entity_id: string;
|
|
12
|
+
name?: string | undefined;
|
|
13
|
+
title?: string | undefined;
|
|
14
|
+
url?: string | undefined;
|
|
15
|
+
datasource?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const PlatformChatCustomEntitySourceType$inboundSchema: z.ZodNativeEnum<typeof PlatformChatCustomEntitySourceType>;
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const PlatformChatCustomEntitySource$inboundSchema: z.ZodType<PlatformChatCustomEntitySource, z.ZodTypeDef, unknown>;
|
|
21
|
+
export declare function platformChatCustomEntitySourceFromJSON(jsonString: string): SafeParseResult<PlatformChatCustomEntitySource, SDKValidationError>;
|
|
22
|
+
//# sourceMappingURL=platformchatcustomentitysource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatcustomentitysource.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformchatcustomentitysource.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,kCAAkC;;CAErC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,UAAU,CACzD,OAAO,kCAAkC,CAC1C,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,EAAE,kCAAkC,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gDAAgD,EAAE,CAAC,CAAC,aAAa,CAC5E,OAAO,kCAAkC,CACS,CAAC;AAErD,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,OAAO,CAClE,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,sCAAsC,CACpD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAMrE"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 30d921035e09
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
export const PlatformChatCustomEntitySourceType = {
|
|
8
|
+
CustomEntity: "custom_entity",
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const PlatformChatCustomEntitySourceType$inboundSchema = z.nativeEnum(PlatformChatCustomEntitySourceType);
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const PlatformChatCustomEntitySource$inboundSchema = z.object({
|
|
14
|
+
type: PlatformChatCustomEntitySourceType$inboundSchema,
|
|
15
|
+
entity_id: z.string(),
|
|
16
|
+
name: z.string().optional(),
|
|
17
|
+
title: z.string().optional(),
|
|
18
|
+
url: z.string().optional(),
|
|
19
|
+
datasource: z.string().optional(),
|
|
20
|
+
});
|
|
21
|
+
export function platformChatCustomEntitySourceFromJSON(jsonString) {
|
|
22
|
+
return safeParse(jsonString, (x) => PlatformChatCustomEntitySource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatCustomEntitySource' from JSON`);
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=platformchatcustomentitysource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatcustomentitysource.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatcustomentitysource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,YAAY,EAAE,eAAe;CACrB,CAAC;AAcX,gBAAgB;AAChB,MAAM,CAAC,MAAM,gDAAgD,GAEzD,CAAC,CAAC,UAAU,CAAC,kCAAkC,CAAC,CAAC;AAErD,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C,GAIrD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,gDAAgD;IACtD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,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,MAAM,UAAU,sCAAsC,CACpD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAA4C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,4DAA4D,CAC7D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 PlatformChatDocumentSourceType2: {
|
|
6
|
+
readonly Document: "document";
|
|
7
|
+
};
|
|
8
|
+
export type PlatformChatDocumentSourceType2 = ClosedEnum<typeof PlatformChatDocumentSourceType2>;
|
|
9
|
+
export type PlatformChatDocumentSourceDocument2 = {
|
|
10
|
+
type: PlatformChatDocumentSourceType2;
|
|
11
|
+
document_id?: string | undefined;
|
|
12
|
+
url: string;
|
|
13
|
+
title?: string | undefined;
|
|
14
|
+
datasource?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
export declare const PlatformChatDocumentSourceType1: {
|
|
17
|
+
readonly Document: "document";
|
|
18
|
+
};
|
|
19
|
+
export type PlatformChatDocumentSourceType1 = ClosedEnum<typeof PlatformChatDocumentSourceType1>;
|
|
20
|
+
export type PlatformChatDocumentSourceDocument1 = {
|
|
21
|
+
type: PlatformChatDocumentSourceType1;
|
|
22
|
+
document_id: string;
|
|
23
|
+
url?: string | undefined;
|
|
24
|
+
title?: string | undefined;
|
|
25
|
+
datasource?: string | undefined;
|
|
26
|
+
};
|
|
27
|
+
export type PlatformChatDocumentSource = PlatformChatDocumentSourceDocument1 | PlatformChatDocumentSourceDocument2;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const PlatformChatDocumentSourceType2$inboundSchema: z.ZodNativeEnum<typeof PlatformChatDocumentSourceType2>;
|
|
30
|
+
/** @internal */
|
|
31
|
+
export declare const PlatformChatDocumentSourceDocument2$inboundSchema: z.ZodType<PlatformChatDocumentSourceDocument2, z.ZodTypeDef, unknown>;
|
|
32
|
+
export declare function platformChatDocumentSourceDocument2FromJSON(jsonString: string): SafeParseResult<PlatformChatDocumentSourceDocument2, SDKValidationError>;
|
|
33
|
+
/** @internal */
|
|
34
|
+
export declare const PlatformChatDocumentSourceType1$inboundSchema: z.ZodNativeEnum<typeof PlatformChatDocumentSourceType1>;
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare const PlatformChatDocumentSourceDocument1$inboundSchema: z.ZodType<PlatformChatDocumentSourceDocument1, z.ZodTypeDef, unknown>;
|
|
37
|
+
export declare function platformChatDocumentSourceDocument1FromJSON(jsonString: string): SafeParseResult<PlatformChatDocumentSourceDocument1, SDKValidationError>;
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const PlatformChatDocumentSource$inboundSchema: z.ZodType<PlatformChatDocumentSource, z.ZodTypeDef, unknown>;
|
|
40
|
+
export declare function platformChatDocumentSourceFromJSON(jsonString: string): SafeParseResult<PlatformChatDocumentSource, SDKValidationError>;
|
|
41
|
+
//# sourceMappingURL=platformchatdocumentsource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatdocumentsource.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformchatdocumentsource.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,+BAA+B;;CAElC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,IAAI,EAAE,+BAA+B,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,+BAA+B;;CAElC,CAAC;AACX,MAAM,MAAM,+BAA+B,GAAG,UAAU,CACtD,OAAO,+BAA+B,CACvC,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,IAAI,EAAE,+BAA+B,CAAC;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAClC,mCAAmC,GACnC,mCAAmC,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,aAAa,CACzE,OAAO,+BAA+B,CACS,CAAC;AAElD,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E;AAED,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,aAAa,CACzE,OAAO,+BAA+B,CACS,CAAC;AAElD,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E;AAED,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAIP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: d8ca12507aee
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
export const PlatformChatDocumentSourceType2 = {
|
|
8
|
+
Document: "document",
|
|
9
|
+
};
|
|
10
|
+
export const PlatformChatDocumentSourceType1 = {
|
|
11
|
+
Document: "document",
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const PlatformChatDocumentSourceType2$inboundSchema = z.nativeEnum(PlatformChatDocumentSourceType2);
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const PlatformChatDocumentSourceDocument2$inboundSchema = z.object({
|
|
17
|
+
type: PlatformChatDocumentSourceType2$inboundSchema,
|
|
18
|
+
document_id: z.string().optional(),
|
|
19
|
+
url: z.string(),
|
|
20
|
+
title: z.string().optional(),
|
|
21
|
+
datasource: z.string().optional(),
|
|
22
|
+
});
|
|
23
|
+
export function platformChatDocumentSourceDocument2FromJSON(jsonString) {
|
|
24
|
+
return safeParse(jsonString, (x) => PlatformChatDocumentSourceDocument2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatDocumentSourceDocument2' from JSON`);
|
|
25
|
+
}
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const PlatformChatDocumentSourceType1$inboundSchema = z.nativeEnum(PlatformChatDocumentSourceType1);
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PlatformChatDocumentSourceDocument1$inboundSchema = z.object({
|
|
30
|
+
type: PlatformChatDocumentSourceType1$inboundSchema,
|
|
31
|
+
document_id: z.string(),
|
|
32
|
+
url: z.string().optional(),
|
|
33
|
+
title: z.string().optional(),
|
|
34
|
+
datasource: z.string().optional(),
|
|
35
|
+
});
|
|
36
|
+
export function platformChatDocumentSourceDocument1FromJSON(jsonString) {
|
|
37
|
+
return safeParse(jsonString, (x) => PlatformChatDocumentSourceDocument1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatDocumentSourceDocument1' from JSON`);
|
|
38
|
+
}
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const PlatformChatDocumentSource$inboundSchema = z.union([
|
|
41
|
+
z.lazy(() => PlatformChatDocumentSourceDocument1$inboundSchema),
|
|
42
|
+
z.lazy(() => PlatformChatDocumentSourceDocument2$inboundSchema),
|
|
43
|
+
]);
|
|
44
|
+
export function platformChatDocumentSourceFromJSON(jsonString) {
|
|
45
|
+
return safeParse(jsonString, (x) => PlatformChatDocumentSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatDocumentSource' from JSON`);
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=platformchatdocumentsource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatdocumentsource.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatdocumentsource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,UAAU;CACZ,CAAC;AAaX,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,UAAU;CACZ,CAAC;AAiBX,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAEtD,CAAC,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAAC;AAElD,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,6CAA6C;IACnD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,UAAU,2CAA2C,CACzD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAEtD,CAAC,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAAC;AAElD,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAI1D,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,6CAA6C;IACnD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC;AAEH,MAAM,UAAU,2CAA2C,CACzD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AACJ,CAAC;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAIjD,CAAC,CAAC,KAAK,CAAC;IACV,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,iDAAiD,CAAC;IAC/D,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,iDAAiD,CAAC;CAChE,CAAC,CAAC;AAEH,MAAM,UAAU,kCAAkC,CAChD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 PlatformChatFileSourceType: {
|
|
6
|
+
readonly File: "file";
|
|
7
|
+
};
|
|
8
|
+
export type PlatformChatFileSourceType = ClosedEnum<typeof PlatformChatFileSourceType>;
|
|
9
|
+
export type PlatformChatFileSource = {
|
|
10
|
+
type: PlatformChatFileSourceType;
|
|
11
|
+
file_id: string;
|
|
12
|
+
title?: string | undefined;
|
|
13
|
+
url?: string | undefined;
|
|
14
|
+
datasource?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const PlatformChatFileSourceType$inboundSchema: z.ZodNativeEnum<typeof PlatformChatFileSourceType>;
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const PlatformChatFileSource$inboundSchema: z.ZodType<PlatformChatFileSource, z.ZodTypeDef, unknown>;
|
|
20
|
+
export declare function platformChatFileSourceFromJSON(jsonString: string): SafeParseResult<PlatformChatFileSource, SDKValidationError>;
|
|
21
|
+
//# sourceMappingURL=platformchatfilesource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatfilesource.d.ts","sourceRoot":"","sources":["../../../../src/models/components/platformchatfilesource.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,0BAA0B;;CAE7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,0BAA0B,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,aAAa,CACpE,OAAO,0BAA0B,CACS,CAAC;AAE7C,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 25059e755130
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
export const PlatformChatFileSourceType = {
|
|
8
|
+
File: "file",
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const PlatformChatFileSourceType$inboundSchema = z.nativeEnum(PlatformChatFileSourceType);
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const PlatformChatFileSource$inboundSchema = z.object({
|
|
14
|
+
type: PlatformChatFileSourceType$inboundSchema,
|
|
15
|
+
file_id: z.string(),
|
|
16
|
+
title: z.string().optional(),
|
|
17
|
+
url: z.string().optional(),
|
|
18
|
+
datasource: z.string().optional(),
|
|
19
|
+
});
|
|
20
|
+
export function platformChatFileSourceFromJSON(jsonString) {
|
|
21
|
+
return safeParse(jsonString, (x) => PlatformChatFileSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatFileSource' from JSON`);
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=platformchatfilesource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatfilesource.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatfilesource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,MAAM;CACJ,CAAC;AAaX,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAEjD,CAAC,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAAC;AAE7C,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,wCAAwC;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,MAAM,UAAU,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,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,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 3cfc29b0d268
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
export const PlatformChatInputMessageRole = {
|
|
7
|
+
User: "user",
|
|
8
|
+
Assistant: "assistant",
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const PlatformChatInputMessageRole$outboundSchema = z.nativeEnum(PlatformChatInputMessageRole);
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const PlatformChatInputMessage$outboundSchema = z.object({
|
|
14
|
+
role: PlatformChatInputMessageRole$outboundSchema,
|
|
15
|
+
content: z.string(),
|
|
16
|
+
});
|
|
17
|
+
export function platformChatInputMessageToJSON(platformChatInputMessage) {
|
|
18
|
+
return JSON.stringify(PlatformChatInputMessage$outboundSchema.parse(platformChatInputMessage));
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=platformchatinputmessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatinputmessage.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatinputmessage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;CACd,CAAC;AAUX,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAQ/C,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,2CAA2C;IACjD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAEH,MAAM,UAAU,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uCAAuC,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,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 99912ae2c54e
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { PlatformChatOutputTextContent$inboundSchema, } from "./platformchatoutputtextcontent.js";
|
|
8
|
+
export const PlatformChatOutputMessageType = {
|
|
9
|
+
Message: "message",
|
|
10
|
+
};
|
|
11
|
+
export const PlatformChatOutputMessageRole = {
|
|
12
|
+
Assistant: "assistant",
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const PlatformChatOutputMessageType$inboundSchema = z.nativeEnum(PlatformChatOutputMessageType);
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const PlatformChatOutputMessageRole$inboundSchema = z.nativeEnum(PlatformChatOutputMessageRole);
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const PlatformChatOutputMessage$inboundSchema = z.object({
|
|
20
|
+
type: PlatformChatOutputMessageType$inboundSchema,
|
|
21
|
+
role: PlatformChatOutputMessageRole$inboundSchema,
|
|
22
|
+
content: z.array(PlatformChatOutputTextContent$inboundSchema),
|
|
23
|
+
});
|
|
24
|
+
export function platformChatOutputMessageFromJSON(jsonString) {
|
|
25
|
+
return safeParse(jsonString, (x) => PlatformChatOutputMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatOutputMessage' from JSON`);
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=platformchatoutputmessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatoutputmessage.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatoutputmessage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,EAEL,2CAA2C,GAC5C,MAAM,oCAAoC,CAAC;AAE5C,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,OAAO,EAAE,SAAS;CACV,CAAC;AAKX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,SAAS,EAAE,WAAW;CACd,CAAC;AAWX,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAEhD,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAEhD,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,2CAA2C;IACjD,IAAI,EAAE,2CAA2C;IACjD,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,2CAA2C,CAAC;CAC9D,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAAuC,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,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: aef245149405
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { PlatformChatCitationAnnotation$inboundSchema, } from "./platformchatcitationannotation.js";
|
|
8
|
+
export const PlatformChatOutputTextContentType = {
|
|
9
|
+
OutputText: "output_text",
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const PlatformChatOutputTextContentType$inboundSchema = z.nativeEnum(PlatformChatOutputTextContentType);
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const PlatformChatOutputTextContent$inboundSchema = z.object({
|
|
15
|
+
type: PlatformChatOutputTextContentType$inboundSchema,
|
|
16
|
+
text: z.string(),
|
|
17
|
+
annotations: z.array(PlatformChatCitationAnnotation$inboundSchema).optional(),
|
|
18
|
+
});
|
|
19
|
+
export function platformChatOutputTextContentFromJSON(jsonString) {
|
|
20
|
+
return safeParse(jsonString, (x) => PlatformChatOutputTextContent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatOutputTextContent' from JSON`);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=platformchatoutputtextcontent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatoutputtextcontent.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatoutputtextcontent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,EAEL,4CAA4C,GAC7C,MAAM,qCAAqC,CAAC;AAE7C,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,UAAU,EAAE,aAAa;CACjB,CAAC;AAWX,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C,GAExD,CAAC,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAAC;AAEpD,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,+CAA+C;IACrD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,4CAA4C,CAAC,CAAC,QAAQ,EAAE;CAC9E,CAAC,CAAC;AAEH,MAAM,UAAU,qCAAqC,CACnD,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAA2C,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,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 9e78924ff10b
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
export const PlatformChatPersonSourceType = {
|
|
8
|
+
Person: "person",
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const PlatformChatPersonSourceType$inboundSchema = z.nativeEnum(PlatformChatPersonSourceType);
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const PlatformChatPersonSource$inboundSchema = z.object({
|
|
14
|
+
type: PlatformChatPersonSourceType$inboundSchema,
|
|
15
|
+
person_id: z.string(),
|
|
16
|
+
name: z.string().optional(),
|
|
17
|
+
url: z.string().optional(),
|
|
18
|
+
});
|
|
19
|
+
export function platformChatPersonSourceFromJSON(jsonString) {
|
|
20
|
+
return safeParse(jsonString, (x) => PlatformChatPersonSource$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlatformChatPersonSource' from JSON`);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=platformchatpersonsource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platformchatpersonsource.js","sourceRoot":"","sources":["../../../../src/models/components/platformchatpersonsource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,MAAM,EAAE,QAAQ;CACR,CAAC;AAYX,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAEnD,CAAC,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAE/C,gBAAgB;AAChB,MAAM,CAAC,MAAM,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,0CAA0C;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,MAAM,UAAU,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAAsC,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"}
|