@gleanwork/api-client 0.8.1 → 0.10.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/dist/commonjs/__tests__/announcements.test.js +2 -2
- package/dist/commonjs/__tests__/announcements.test.js.map +1 -1
- package/dist/commonjs/__tests__/answers.test.js +2 -2
- package/dist/commonjs/__tests__/answers.test.js.map +1 -1
- package/dist/commonjs/__tests__/clientchat.test.js +24 -24
- package/dist/commonjs/__tests__/clientchat.test.js.map +1 -1
- package/dist/commonjs/__tests__/clientshortcuts.test.js +2 -2
- package/dist/commonjs/__tests__/clientshortcuts.test.js.map +1 -1
- package/dist/commonjs/__tests__/collections.test.js +2 -2
- package/dist/commonjs/__tests__/collections.test.js.map +1 -1
- package/dist/commonjs/__tests__/search.test.js +1 -1
- package/dist/commonjs/__tests__/search.test.js.map +1 -1
- package/dist/commonjs/__tests__/summarize.test.js +8 -2
- package/dist/commonjs/__tests__/summarize.test.js.map +1 -1
- package/dist/commonjs/funcs/clientCollectionsCreate.d.ts +2 -1
- package/dist/commonjs/funcs/clientCollectionsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/clientCollectionsCreate.js +2 -1
- package/dist/commonjs/funcs/clientCollectionsCreate.js.map +1 -1
- package/dist/commonjs/funcs/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/commonjs/funcs/indexingAuthenticationRotateToken.js +1 -1
- package/dist/commonjs/funcs/indexingDatasourceStatus.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDatasourceStatus.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsBulkIndex.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCount.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCount.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebug.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebug.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsIndex.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsIndex.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsStatus.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsStatus.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndex.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleCount.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleCount.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleDebug.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleDebug.js +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/components/agentconfig.d.ts +12 -0
- package/dist/commonjs/models/components/agentconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/agentconfig.js +5 -0
- package/dist/commonjs/models/components/agentconfig.js.map +1 -1
- package/dist/commonjs/models/components/authconfig.d.ts +3 -0
- package/dist/commonjs/models/components/authconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/authconfig.js +1 -0
- package/dist/commonjs/models/components/authconfig.js.map +1 -1
- package/dist/commonjs/models/components/chat.d.ts +9 -0
- package/dist/commonjs/models/components/chat.d.ts.map +1 -1
- package/dist/commonjs/models/components/chat.js +6 -0
- package/dist/commonjs/models/components/chat.js.map +1 -1
- package/dist/commonjs/models/components/chatmessage.d.ts +3 -0
- package/dist/commonjs/models/components/chatmessage.d.ts.map +1 -1
- package/dist/commonjs/models/components/chatmessage.js +1 -0
- package/dist/commonjs/models/components/chatmessage.js.map +1 -1
- package/dist/commonjs/models/components/chatmessagefragment.d.ts +7 -1
- package/dist/commonjs/models/components/chatmessagefragment.d.ts.map +1 -1
- package/dist/commonjs/models/components/chatmessagefragment.js +3 -0
- package/dist/commonjs/models/components/chatmessagefragment.js.map +1 -1
- package/dist/commonjs/models/components/chatrequest.d.ts +1 -1
- package/dist/commonjs/models/components/chatsuggestion.d.ts +37 -0
- package/dist/commonjs/models/components/chatsuggestion.d.ts.map +1 -0
- package/dist/commonjs/models/components/chatsuggestion.js +71 -0
- package/dist/commonjs/models/components/chatsuggestion.js.map +1 -0
- package/dist/commonjs/models/components/clustertypeenum.d.ts +6 -0
- package/dist/commonjs/models/components/clustertypeenum.d.ts.map +1 -1
- package/dist/commonjs/models/components/clustertypeenum.js +2 -0
- package/dist/commonjs/models/components/clustertypeenum.js.map +1 -1
- package/dist/commonjs/models/components/customdatasourceconfig.d.ts +3 -0
- package/dist/commonjs/models/components/customdatasourceconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/customdatasourceconfig.js +1 -0
- package/dist/commonjs/models/components/customdatasourceconfig.js.map +1 -1
- package/dist/commonjs/models/components/digest.d.ts +48 -0
- package/dist/commonjs/models/components/digest.d.ts.map +1 -0
- package/dist/commonjs/models/components/digest.js +77 -0
- package/dist/commonjs/models/components/digest.js.map +1 -0
- package/dist/commonjs/models/components/digestsection.d.ts +64 -0
- package/dist/commonjs/models/components/digestsection.d.ts.map +1 -0
- package/dist/commonjs/models/components/digestsection.js +83 -0
- package/dist/commonjs/models/components/digestsection.js.map +1 -0
- package/dist/commonjs/models/components/digestupdate.d.ts +53 -0
- package/dist/commonjs/models/components/digestupdate.d.ts.map +1 -0
- package/dist/commonjs/models/components/digestupdate.js +78 -0
- package/dist/commonjs/models/components/digestupdate.js.map +1 -0
- package/dist/commonjs/models/components/documentdefinition.d.ts +1 -1
- package/dist/commonjs/models/components/documentspecunion.d.ts +99 -18
- package/dist/commonjs/models/components/documentspecunion.d.ts.map +1 -1
- package/dist/commonjs/models/components/documentspecunion.js +78 -19
- package/dist/commonjs/models/components/documentspecunion.js.map +1 -1
- package/dist/commonjs/models/components/feedback.d.ts +6 -0
- package/dist/commonjs/models/components/feedback.d.ts.map +1 -1
- package/dist/commonjs/models/components/feedback.js +6 -0
- package/dist/commonjs/models/components/feedback.js.map +1 -1
- package/dist/commonjs/models/components/feedentry.d.ts +12 -0
- package/dist/commonjs/models/components/feedentry.d.ts.map +1 -1
- package/dist/commonjs/models/components/feedentry.js +8 -0
- package/dist/commonjs/models/components/feedentry.js.map +1 -1
- package/dist/commonjs/models/components/feedrequest.d.ts +6 -0
- package/dist/commonjs/models/components/feedrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/feedrequest.js +2 -0
- package/dist/commonjs/models/components/feedrequest.js.map +1 -1
- package/dist/commonjs/models/components/feedresult.d.ts +6 -0
- package/dist/commonjs/models/components/feedresult.d.ts.map +1 -1
- package/dist/commonjs/models/components/feedresult.js +2 -0
- package/dist/commonjs/models/components/feedresult.js.map +1 -1
- package/dist/commonjs/models/components/generatedqna.js +2 -2
- package/dist/commonjs/models/components/generatedqna.js.map +1 -1
- package/dist/commonjs/models/components/getchatfilesrequest.d.ts +5 -0
- package/dist/commonjs/models/components/getchatfilesrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/getchatfilesrequest.js +2 -0
- package/dist/commonjs/models/components/getchatfilesrequest.js.map +1 -1
- package/dist/commonjs/models/components/group.d.ts +10 -0
- package/dist/commonjs/models/components/group.d.ts.map +1 -1
- package/dist/commonjs/models/components/group.js +4 -0
- package/dist/commonjs/models/components/group.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +9 -1
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +9 -1
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/manualfeedbackinfo.d.ts +10 -8
- package/dist/commonjs/models/components/manualfeedbackinfo.d.ts.map +1 -1
- package/dist/commonjs/models/components/manualfeedbackinfo.js +13 -13
- package/dist/commonjs/models/components/manualfeedbackinfo.js.map +1 -1
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.d.ts +137 -0
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.d.ts.map +1 -0
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.js +130 -0
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.js.map +1 -0
- package/dist/commonjs/models/components/objectdefinition.d.ts +3 -0
- package/dist/commonjs/models/components/objectdefinition.d.ts.map +1 -1
- package/dist/commonjs/models/components/objectdefinition.js +1 -0
- package/dist/commonjs/models/components/objectdefinition.js.map +1 -1
- package/dist/commonjs/models/components/searchrequest.d.ts +0 -6
- package/dist/commonjs/models/components/searchrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/searchrequest.js +0 -3
- package/dist/commonjs/models/components/searchrequest.js.map +1 -1
- package/dist/commonjs/models/components/searchrequestoptions.d.ts +1 -1
- package/dist/commonjs/models/components/searchresponsemetadata.d.ts +5 -0
- package/dist/commonjs/models/components/searchresponsemetadata.d.ts.map +1 -1
- package/dist/commonjs/models/components/searchresponsemetadata.js +2 -0
- package/dist/commonjs/models/components/searchresponsemetadata.js.map +1 -1
- package/dist/commonjs/models/components/searchresultsnippet.d.ts +7 -5
- package/dist/commonjs/models/components/searchresultsnippet.d.ts.map +1 -1
- package/dist/commonjs/models/components/searchresultsnippet.js +2 -2
- package/dist/commonjs/models/components/searchresultsnippet.js.map +1 -1
- package/dist/commonjs/models/components/sectiontype.d.ts +37 -0
- package/dist/commonjs/models/components/sectiontype.d.ts.map +1 -0
- package/dist/commonjs/models/components/sectiontype.js +65 -0
- package/dist/commonjs/models/components/sectiontype.js.map +1 -0
- package/dist/commonjs/models/components/sidebysideimplementation.d.ts +97 -0
- package/dist/commonjs/models/components/sidebysideimplementation.d.ts.map +1 -0
- package/dist/commonjs/models/components/sidebysideimplementation.js +108 -0
- package/dist/commonjs/models/components/sidebysideimplementation.js.map +1 -0
- package/dist/commonjs/models/components/structuredresult.d.ts +3 -0
- package/dist/commonjs/models/components/structuredresult.d.ts.map +1 -1
- package/dist/commonjs/models/components/structuredresult.js +3 -0
- package/dist/commonjs/models/components/structuredresult.js.map +1 -1
- package/dist/commonjs/models/components/toolsets.d.ts +40 -0
- package/dist/commonjs/models/components/toolsets.d.ts.map +1 -0
- package/dist/commonjs/models/components/toolsets.js +71 -0
- package/dist/commonjs/models/components/toolsets.js.map +1 -0
- package/dist/commonjs/models/components/updatetype.d.ts +34 -0
- package/dist/commonjs/models/components/updatetype.d.ts.map +1 -0
- package/dist/commonjs/models/components/updatetype.js +64 -0
- package/dist/commonjs/models/components/updatetype.js.map +1 -0
- package/dist/commonjs/models/operations/createcollection.d.ts +83 -0
- package/dist/commonjs/models/operations/createcollection.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createcollection.js +130 -0
- package/dist/commonjs/models/operations/createcollection.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +1 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/react-query/clientCollectionsCreate.d.ts +2 -1
- package/dist/commonjs/react-query/clientCollectionsCreate.d.ts.map +1 -1
- package/dist/commonjs/react-query/clientCollectionsCreate.js.map +1 -1
- package/dist/commonjs/react-query/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/commonjs/react-query/indexingAuthenticationRotateToken.js +1 -1
- package/dist/commonjs/react-query/indexingDatasourceStatus.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDatasourceStatus.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsBulkIndex.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCheckAccess.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCount.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCount.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebug.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebug.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebugMany.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsIndex.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsIndex.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsStatus.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsStatus.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndex.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleCount.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleCount.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleDebug.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleDebug.js +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/commonjs/sdk/collections.d.ts +2 -1
- package/dist/commonjs/sdk/collections.d.ts.map +1 -1
- package/dist/commonjs/sdk/collections.js.map +1 -1
- package/dist/commonjs/sdk/datasource.d.ts +1 -1
- package/dist/commonjs/sdk/datasource.js +1 -1
- package/dist/commonjs/sdk/indexingauthentication.d.ts +1 -1
- package/dist/commonjs/sdk/indexingauthentication.js +1 -1
- package/dist/commonjs/sdk/indexingdocuments.d.ts +7 -7
- package/dist/commonjs/sdk/indexingdocuments.js +7 -7
- package/dist/commonjs/sdk/people.d.ts +4 -4
- package/dist/commonjs/sdk/people.js +4 -4
- package/dist/commonjs/sdk/permissions.d.ts +3 -3
- package/dist/commonjs/sdk/permissions.js +3 -3
- package/dist/esm/__tests__/announcements.test.js +2 -2
- package/dist/esm/__tests__/announcements.test.js.map +1 -1
- package/dist/esm/__tests__/answers.test.js +2 -2
- package/dist/esm/__tests__/answers.test.js.map +1 -1
- package/dist/esm/__tests__/clientchat.test.js +24 -24
- package/dist/esm/__tests__/clientchat.test.js.map +1 -1
- package/dist/esm/__tests__/clientshortcuts.test.js +2 -2
- package/dist/esm/__tests__/clientshortcuts.test.js.map +1 -1
- package/dist/esm/__tests__/collections.test.js +2 -2
- package/dist/esm/__tests__/collections.test.js.map +1 -1
- package/dist/esm/__tests__/search.test.js +1 -1
- package/dist/esm/__tests__/search.test.js.map +1 -1
- package/dist/esm/__tests__/summarize.test.js +8 -2
- package/dist/esm/__tests__/summarize.test.js.map +1 -1
- package/dist/esm/funcs/clientCollectionsCreate.d.ts +2 -1
- package/dist/esm/funcs/clientCollectionsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/clientCollectionsCreate.js +2 -1
- package/dist/esm/funcs/clientCollectionsCreate.js.map +1 -1
- package/dist/esm/funcs/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/esm/funcs/indexingAuthenticationRotateToken.js +1 -1
- package/dist/esm/funcs/indexingDatasourceStatus.d.ts +1 -1
- package/dist/esm/funcs/indexingDatasourceStatus.js +1 -1
- package/dist/esm/funcs/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsBulkIndex.js +1 -1
- package/dist/esm/funcs/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsCheckAccess.js +1 -1
- package/dist/esm/funcs/indexingDocumentsCount.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsCount.js +1 -1
- package/dist/esm/funcs/indexingDocumentsDebug.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsDebug.js +1 -1
- package/dist/esm/funcs/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsDebugMany.js +1 -1
- package/dist/esm/funcs/indexingDocumentsIndex.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsIndex.js +1 -1
- package/dist/esm/funcs/indexingDocumentsStatus.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsStatus.js +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndex.js +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/esm/funcs/indexingPeopleCount.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleCount.js +1 -1
- package/dist/esm/funcs/indexingPeopleDebug.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleDebug.js +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/components/agentconfig.d.ts +12 -0
- package/dist/esm/models/components/agentconfig.d.ts.map +1 -1
- package/dist/esm/models/components/agentconfig.js +5 -0
- package/dist/esm/models/components/agentconfig.js.map +1 -1
- package/dist/esm/models/components/authconfig.d.ts +3 -0
- package/dist/esm/models/components/authconfig.d.ts.map +1 -1
- package/dist/esm/models/components/authconfig.js +1 -0
- package/dist/esm/models/components/authconfig.js.map +1 -1
- package/dist/esm/models/components/chat.d.ts +9 -0
- package/dist/esm/models/components/chat.d.ts.map +1 -1
- package/dist/esm/models/components/chat.js +6 -0
- package/dist/esm/models/components/chat.js.map +1 -1
- package/dist/esm/models/components/chatmessage.d.ts +3 -0
- package/dist/esm/models/components/chatmessage.d.ts.map +1 -1
- package/dist/esm/models/components/chatmessage.js +1 -0
- package/dist/esm/models/components/chatmessage.js.map +1 -1
- package/dist/esm/models/components/chatmessagefragment.d.ts +7 -1
- package/dist/esm/models/components/chatmessagefragment.d.ts.map +1 -1
- package/dist/esm/models/components/chatmessagefragment.js +3 -0
- package/dist/esm/models/components/chatmessagefragment.js.map +1 -1
- package/dist/esm/models/components/chatrequest.d.ts +1 -1
- package/dist/esm/models/components/chatsuggestion.d.ts +37 -0
- package/dist/esm/models/components/chatsuggestion.d.ts.map +1 -0
- package/dist/esm/models/components/chatsuggestion.js +33 -0
- package/dist/esm/models/components/chatsuggestion.js.map +1 -0
- package/dist/esm/models/components/clustertypeenum.d.ts +6 -0
- package/dist/esm/models/components/clustertypeenum.d.ts.map +1 -1
- package/dist/esm/models/components/clustertypeenum.js +2 -0
- package/dist/esm/models/components/clustertypeenum.js.map +1 -1
- package/dist/esm/models/components/customdatasourceconfig.d.ts +3 -0
- package/dist/esm/models/components/customdatasourceconfig.d.ts.map +1 -1
- package/dist/esm/models/components/customdatasourceconfig.js +1 -0
- package/dist/esm/models/components/customdatasourceconfig.js.map +1 -1
- package/dist/esm/models/components/digest.d.ts +48 -0
- package/dist/esm/models/components/digest.d.ts.map +1 -0
- package/dist/esm/models/components/digest.js +39 -0
- package/dist/esm/models/components/digest.js.map +1 -0
- package/dist/esm/models/components/digestsection.d.ts +64 -0
- package/dist/esm/models/components/digestsection.d.ts.map +1 -0
- package/dist/esm/models/components/digestsection.js +45 -0
- package/dist/esm/models/components/digestsection.js.map +1 -0
- package/dist/esm/models/components/digestupdate.d.ts +53 -0
- package/dist/esm/models/components/digestupdate.d.ts.map +1 -0
- package/dist/esm/models/components/digestupdate.js +40 -0
- package/dist/esm/models/components/digestupdate.js.map +1 -0
- package/dist/esm/models/components/documentdefinition.d.ts +1 -1
- package/dist/esm/models/components/documentspecunion.d.ts +99 -18
- package/dist/esm/models/components/documentspecunion.d.ts.map +1 -1
- package/dist/esm/models/components/documentspecunion.js +75 -18
- package/dist/esm/models/components/documentspecunion.js.map +1 -1
- package/dist/esm/models/components/feedback.d.ts +6 -0
- package/dist/esm/models/components/feedback.d.ts.map +1 -1
- package/dist/esm/models/components/feedback.js +6 -0
- package/dist/esm/models/components/feedback.js.map +1 -1
- package/dist/esm/models/components/feedentry.d.ts +12 -0
- package/dist/esm/models/components/feedentry.d.ts.map +1 -1
- package/dist/esm/models/components/feedentry.js +8 -0
- package/dist/esm/models/components/feedentry.js.map +1 -1
- package/dist/esm/models/components/feedrequest.d.ts +6 -0
- package/dist/esm/models/components/feedrequest.d.ts.map +1 -1
- package/dist/esm/models/components/feedrequest.js +2 -0
- package/dist/esm/models/components/feedrequest.js.map +1 -1
- package/dist/esm/models/components/feedresult.d.ts +6 -0
- package/dist/esm/models/components/feedresult.d.ts.map +1 -1
- package/dist/esm/models/components/feedresult.js +2 -0
- package/dist/esm/models/components/feedresult.js.map +1 -1
- package/dist/esm/models/components/generatedqna.js +2 -2
- package/dist/esm/models/components/generatedqna.js.map +1 -1
- package/dist/esm/models/components/getchatfilesrequest.d.ts +5 -0
- package/dist/esm/models/components/getchatfilesrequest.d.ts.map +1 -1
- package/dist/esm/models/components/getchatfilesrequest.js +2 -0
- package/dist/esm/models/components/getchatfilesrequest.js.map +1 -1
- package/dist/esm/models/components/group.d.ts +10 -0
- package/dist/esm/models/components/group.d.ts.map +1 -1
- package/dist/esm/models/components/group.js +4 -0
- package/dist/esm/models/components/group.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +9 -1
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +9 -1
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/manualfeedbackinfo.d.ts +10 -8
- package/dist/esm/models/components/manualfeedbackinfo.d.ts.map +1 -1
- package/dist/esm/models/components/manualfeedbackinfo.js +12 -12
- package/dist/esm/models/components/manualfeedbackinfo.js.map +1 -1
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.d.ts +137 -0
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.d.ts.map +1 -0
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.js +92 -0
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.js.map +1 -0
- package/dist/esm/models/components/objectdefinition.d.ts +3 -0
- package/dist/esm/models/components/objectdefinition.d.ts.map +1 -1
- package/dist/esm/models/components/objectdefinition.js +1 -0
- package/dist/esm/models/components/objectdefinition.js.map +1 -1
- package/dist/esm/models/components/searchrequest.d.ts +0 -6
- package/dist/esm/models/components/searchrequest.d.ts.map +1 -1
- package/dist/esm/models/components/searchrequest.js +0 -3
- package/dist/esm/models/components/searchrequest.js.map +1 -1
- package/dist/esm/models/components/searchrequestoptions.d.ts +1 -1
- package/dist/esm/models/components/searchresponsemetadata.d.ts +5 -0
- package/dist/esm/models/components/searchresponsemetadata.d.ts.map +1 -1
- package/dist/esm/models/components/searchresponsemetadata.js +2 -0
- package/dist/esm/models/components/searchresponsemetadata.js.map +1 -1
- package/dist/esm/models/components/searchresultsnippet.d.ts +7 -5
- package/dist/esm/models/components/searchresultsnippet.d.ts.map +1 -1
- package/dist/esm/models/components/searchresultsnippet.js +2 -2
- package/dist/esm/models/components/searchresultsnippet.js.map +1 -1
- package/dist/esm/models/components/sectiontype.d.ts +37 -0
- package/dist/esm/models/components/sectiontype.d.ts.map +1 -0
- package/dist/esm/models/components/sectiontype.js +29 -0
- package/dist/esm/models/components/sectiontype.js.map +1 -0
- package/dist/esm/models/components/sidebysideimplementation.d.ts +97 -0
- package/dist/esm/models/components/sidebysideimplementation.d.ts.map +1 -0
- package/dist/esm/models/components/sidebysideimplementation.js +68 -0
- package/dist/esm/models/components/sidebysideimplementation.js.map +1 -0
- package/dist/esm/models/components/structuredresult.d.ts +3 -0
- package/dist/esm/models/components/structuredresult.d.ts.map +1 -1
- package/dist/esm/models/components/structuredresult.js +3 -0
- package/dist/esm/models/components/structuredresult.js.map +1 -1
- package/dist/esm/models/components/toolsets.d.ts +40 -0
- package/dist/esm/models/components/toolsets.d.ts.map +1 -0
- package/dist/esm/models/components/toolsets.js +33 -0
- package/dist/esm/models/components/toolsets.js.map +1 -0
- package/dist/esm/models/components/updatetype.d.ts +34 -0
- package/dist/esm/models/components/updatetype.d.ts.map +1 -0
- package/dist/esm/models/components/updatetype.js +28 -0
- package/dist/esm/models/components/updatetype.js.map +1 -0
- package/dist/esm/models/operations/createcollection.d.ts +83 -0
- package/dist/esm/models/operations/createcollection.d.ts.map +1 -0
- package/dist/esm/models/operations/createcollection.js +88 -0
- package/dist/esm/models/operations/createcollection.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +1 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/react-query/clientCollectionsCreate.d.ts +2 -1
- package/dist/esm/react-query/clientCollectionsCreate.d.ts.map +1 -1
- package/dist/esm/react-query/clientCollectionsCreate.js.map +1 -1
- package/dist/esm/react-query/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/esm/react-query/indexingAuthenticationRotateToken.js +1 -1
- package/dist/esm/react-query/indexingDatasourceStatus.d.ts +1 -1
- package/dist/esm/react-query/indexingDatasourceStatus.js +1 -1
- package/dist/esm/react-query/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsBulkIndex.js +1 -1
- package/dist/esm/react-query/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsCheckAccess.js +1 -1
- package/dist/esm/react-query/indexingDocumentsCount.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsCount.js +1 -1
- package/dist/esm/react-query/indexingDocumentsDebug.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsDebug.js +1 -1
- package/dist/esm/react-query/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsDebugMany.js +1 -1
- package/dist/esm/react-query/indexingDocumentsIndex.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsIndex.js +1 -1
- package/dist/esm/react-query/indexingDocumentsStatus.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsStatus.js +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndex.js +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/esm/react-query/indexingPeopleCount.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleCount.js +1 -1
- package/dist/esm/react-query/indexingPeopleDebug.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleDebug.js +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/esm/sdk/collections.d.ts +2 -1
- package/dist/esm/sdk/collections.d.ts.map +1 -1
- package/dist/esm/sdk/collections.js.map +1 -1
- package/dist/esm/sdk/datasource.d.ts +1 -1
- package/dist/esm/sdk/datasource.js +1 -1
- package/dist/esm/sdk/indexingauthentication.d.ts +1 -1
- package/dist/esm/sdk/indexingauthentication.js +1 -1
- package/dist/esm/sdk/indexingdocuments.d.ts +7 -7
- package/dist/esm/sdk/indexingdocuments.js +7 -7
- package/dist/esm/sdk/people.d.ts +4 -4
- package/dist/esm/sdk/people.js +4 -4
- package/dist/esm/sdk/permissions.d.ts +3 -3
- package/dist/esm/sdk/permissions.js +3 -3
- package/docs/sdks/announcements/README.md +70 -70
- package/docs/sdks/answers/README.md +8 -8
- package/docs/sdks/clientdocuments/README.md +22 -6
- package/docs/sdks/clientshortcuts/README.md +14 -14
- package/docs/sdks/collections/README.md +11 -11
- package/docs/sdks/datasource/README.md +1 -1
- package/docs/sdks/indexingauthentication/README.md +1 -1
- package/docs/sdks/indexingdocuments/README.md +7 -7
- package/docs/sdks/people/README.md +4 -4
- package/docs/sdks/permissions/README.md +3 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/announcements.test.ts +2 -2
- package/src/__tests__/answers.test.ts +2 -2
- package/src/__tests__/clientchat.test.ts +24 -24
- package/src/__tests__/clientshortcuts.test.ts +2 -2
- package/src/__tests__/collections.test.ts +2 -2
- package/src/__tests__/search.test.ts +1 -1
- package/src/__tests__/summarize.test.ts +8 -2
- package/src/funcs/clientCollectionsCreate.ts +5 -4
- package/src/funcs/indexingAuthenticationRotateToken.ts +1 -1
- package/src/funcs/indexingDatasourceStatus.ts +1 -1
- package/src/funcs/indexingDocumentsBulkIndex.ts +1 -1
- package/src/funcs/indexingDocumentsCheckAccess.ts +1 -1
- package/src/funcs/indexingDocumentsCount.ts +1 -1
- package/src/funcs/indexingDocumentsDebug.ts +1 -1
- package/src/funcs/indexingDocumentsDebugMany.ts +1 -1
- package/src/funcs/indexingDocumentsIndex.ts +1 -1
- package/src/funcs/indexingDocumentsStatus.ts +1 -1
- package/src/funcs/indexingPeopleBulkIndex.ts +1 -1
- package/src/funcs/indexingPeopleBulkIndexTeams.ts +1 -1
- package/src/funcs/indexingPeopleCount.ts +1 -1
- package/src/funcs/indexingPeopleDebug.ts +1 -1
- package/src/funcs/indexingPermissionsBulkIndexGroups.ts +1 -1
- package/src/funcs/indexingPermissionsBulkIndexMemberships.ts +1 -1
- package/src/funcs/indexingPermissionsBulkIndexUsers.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/agentconfig.ts +15 -0
- package/src/models/components/authconfig.ts +1 -0
- package/src/models/components/chat.ts +23 -0
- package/src/models/components/chatmessage.ts +1 -0
- package/src/models/components/chatmessagefragment.ts +14 -1
- package/src/models/components/chatrequest.ts +1 -1
- package/src/models/components/chatsuggestion.ts +72 -0
- package/src/models/components/clustertypeenum.ts +2 -0
- package/src/models/components/customdatasourceconfig.ts +1 -0
- package/src/models/components/digest.ts +89 -0
- package/src/models/components/digestsection.ts +118 -0
- package/src/models/components/digestupdate.ts +98 -0
- package/src/models/components/documentdefinition.ts +1 -1
- package/src/models/components/documentspecunion.ts +147 -32
- package/src/models/components/feedback.ts +15 -0
- package/src/models/components/feedentry.ts +22 -0
- package/src/models/components/feedrequest.ts +2 -0
- package/src/models/components/feedresult.ts +2 -0
- package/src/models/components/generatedqna.ts +2 -2
- package/src/models/components/getchatfilesrequest.ts +7 -0
- package/src/models/components/group.ts +14 -0
- package/src/models/components/index.ts +9 -1
- package/src/models/components/manualfeedbackinfo.ts +18 -15
- package/src/models/components/manualfeedbacksidebysideinfo.ts +200 -0
- package/src/models/components/objectdefinition.ts +1 -0
- package/src/models/components/searchrequest.ts +0 -13
- package/src/models/components/searchrequestoptions.ts +1 -1
- package/src/models/components/searchresponsemetadata.ts +7 -0
- package/src/models/components/searchresultsnippet.ts +9 -7
- package/src/models/components/sectiontype.ts +38 -0
- package/src/models/components/sidebysideimplementation.ts +175 -0
- package/src/models/components/structuredresult.ts +10 -0
- package/src/models/components/toolsets.ts +75 -0
- package/src/models/components/updatetype.ts +37 -0
- package/src/models/operations/createcollection.ts +186 -0
- package/src/models/operations/index.ts +1 -0
- package/src/react-query/clientCollectionsCreate.ts +2 -1
- package/src/react-query/indexingAuthenticationRotateToken.ts +1 -1
- package/src/react-query/indexingDatasourceStatus.ts +1 -1
- package/src/react-query/indexingDocumentsBulkIndex.ts +1 -1
- package/src/react-query/indexingDocumentsCheckAccess.ts +1 -1
- package/src/react-query/indexingDocumentsCount.ts +1 -1
- package/src/react-query/indexingDocumentsDebug.ts +1 -1
- package/src/react-query/indexingDocumentsDebugMany.ts +1 -1
- package/src/react-query/indexingDocumentsIndex.ts +1 -1
- package/src/react-query/indexingDocumentsStatus.ts +1 -1
- package/src/react-query/indexingPeopleBulkIndex.ts +1 -1
- package/src/react-query/indexingPeopleBulkIndexTeams.ts +1 -1
- package/src/react-query/indexingPeopleCount.ts +1 -1
- package/src/react-query/indexingPeopleDebug.ts +1 -1
- package/src/react-query/indexingPermissionsBulkIndexGroups.ts +1 -1
- package/src/react-query/indexingPermissionsBulkIndexMemberships.ts +1 -1
- package/src/react-query/indexingPermissionsBulkIndexUsers.ts +1 -1
- package/src/sdk/collections.ts +2 -1
- package/src/sdk/datasource.ts +1 -1
- package/src/sdk/indexingauthentication.ts +1 -1
- package/src/sdk/indexingdocuments.ts +7 -7
- package/src/sdk/people.ts +4 -4
- package/src/sdk/permissions.ts +3 -3
- package/dist/commonjs/models/components/createcollectionresponse.d.ts +0 -177
- package/dist/commonjs/models/components/createcollectionresponse.d.ts.map +0 -1
- package/dist/commonjs/models/components/createcollectionresponse.js +0 -154
- package/dist/commonjs/models/components/createcollectionresponse.js.map +0 -1
- package/dist/esm/models/components/createcollectionresponse.d.ts +0 -177
- package/dist/esm/models/components/createcollectionresponse.d.ts.map +0 -1
- package/dist/esm/models/components/createcollectionresponse.js +0 -116
- package/dist/esm/models/components/createcollectionresponse.js.map +0 -1
- package/src/models/components/createcollectionresponse.ts +0 -306
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreatecollectionResponse$ = exports.CreatecollectionResponse$outboundSchema = exports.CreatecollectionResponse$inboundSchema = exports.ResponseBody1$ = exports.ResponseBody1$outboundSchema = exports.ResponseBody1$inboundSchema = exports.ResponseBody2$ = exports.ResponseBody2$outboundSchema = exports.ResponseBody2$inboundSchema = void 0;
|
|
40
|
+
exports.responseBody2ToJSON = responseBody2ToJSON;
|
|
41
|
+
exports.responseBody2FromJSON = responseBody2FromJSON;
|
|
42
|
+
exports.responseBody1ToJSON = responseBody1ToJSON;
|
|
43
|
+
exports.responseBody1FromJSON = responseBody1FromJSON;
|
|
44
|
+
exports.createcollectionResponseToJSON = createcollectionResponseToJSON;
|
|
45
|
+
exports.createcollectionResponseFromJSON = createcollectionResponseFromJSON;
|
|
46
|
+
const z = __importStar(require("zod"));
|
|
47
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
48
|
+
const components = __importStar(require("../components/index.js"));
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.ResponseBody2$inboundSchema = z.object({
|
|
51
|
+
collection: components.Collection$inboundSchema.optional(),
|
|
52
|
+
error: components.CollectionError$inboundSchema,
|
|
53
|
+
});
|
|
54
|
+
/** @internal */
|
|
55
|
+
exports.ResponseBody2$outboundSchema = z.object({
|
|
56
|
+
collection: components.Collection$outboundSchema.optional(),
|
|
57
|
+
error: components.CollectionError$outboundSchema,
|
|
58
|
+
});
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
var ResponseBody2$;
|
|
64
|
+
(function (ResponseBody2$) {
|
|
65
|
+
/** @deprecated use `ResponseBody2$inboundSchema` instead. */
|
|
66
|
+
ResponseBody2$.inboundSchema = exports.ResponseBody2$inboundSchema;
|
|
67
|
+
/** @deprecated use `ResponseBody2$outboundSchema` instead. */
|
|
68
|
+
ResponseBody2$.outboundSchema = exports.ResponseBody2$outboundSchema;
|
|
69
|
+
})(ResponseBody2$ || (exports.ResponseBody2$ = ResponseBody2$ = {}));
|
|
70
|
+
function responseBody2ToJSON(responseBody2) {
|
|
71
|
+
return JSON.stringify(exports.ResponseBody2$outboundSchema.parse(responseBody2));
|
|
72
|
+
}
|
|
73
|
+
function responseBody2FromJSON(jsonString) {
|
|
74
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseBody2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseBody2' from JSON`);
|
|
75
|
+
}
|
|
76
|
+
/** @internal */
|
|
77
|
+
exports.ResponseBody1$inboundSchema = z.object({
|
|
78
|
+
collection: components.Collection$inboundSchema,
|
|
79
|
+
error: components.CollectionError$inboundSchema.optional(),
|
|
80
|
+
});
|
|
81
|
+
/** @internal */
|
|
82
|
+
exports.ResponseBody1$outboundSchema = z.object({
|
|
83
|
+
collection: components.Collection$outboundSchema,
|
|
84
|
+
error: components.CollectionError$outboundSchema.optional(),
|
|
85
|
+
});
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
89
|
+
*/
|
|
90
|
+
var ResponseBody1$;
|
|
91
|
+
(function (ResponseBody1$) {
|
|
92
|
+
/** @deprecated use `ResponseBody1$inboundSchema` instead. */
|
|
93
|
+
ResponseBody1$.inboundSchema = exports.ResponseBody1$inboundSchema;
|
|
94
|
+
/** @deprecated use `ResponseBody1$outboundSchema` instead. */
|
|
95
|
+
ResponseBody1$.outboundSchema = exports.ResponseBody1$outboundSchema;
|
|
96
|
+
})(ResponseBody1$ || (exports.ResponseBody1$ = ResponseBody1$ = {}));
|
|
97
|
+
function responseBody1ToJSON(responseBody1) {
|
|
98
|
+
return JSON.stringify(exports.ResponseBody1$outboundSchema.parse(responseBody1));
|
|
99
|
+
}
|
|
100
|
+
function responseBody1FromJSON(jsonString) {
|
|
101
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ResponseBody1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResponseBody1' from JSON`);
|
|
102
|
+
}
|
|
103
|
+
/** @internal */
|
|
104
|
+
exports.CreatecollectionResponse$inboundSchema = z.union([
|
|
105
|
+
z.lazy(() => exports.ResponseBody1$inboundSchema),
|
|
106
|
+
z.lazy(() => exports.ResponseBody2$inboundSchema),
|
|
107
|
+
]);
|
|
108
|
+
/** @internal */
|
|
109
|
+
exports.CreatecollectionResponse$outboundSchema = z.union([
|
|
110
|
+
z.lazy(() => exports.ResponseBody1$outboundSchema),
|
|
111
|
+
z.lazy(() => exports.ResponseBody2$outboundSchema),
|
|
112
|
+
]);
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
116
|
+
*/
|
|
117
|
+
var CreatecollectionResponse$;
|
|
118
|
+
(function (CreatecollectionResponse$) {
|
|
119
|
+
/** @deprecated use `CreatecollectionResponse$inboundSchema` instead. */
|
|
120
|
+
CreatecollectionResponse$.inboundSchema = exports.CreatecollectionResponse$inboundSchema;
|
|
121
|
+
/** @deprecated use `CreatecollectionResponse$outboundSchema` instead. */
|
|
122
|
+
CreatecollectionResponse$.outboundSchema = exports.CreatecollectionResponse$outboundSchema;
|
|
123
|
+
})(CreatecollectionResponse$ || (exports.CreatecollectionResponse$ = CreatecollectionResponse$ = {}));
|
|
124
|
+
function createcollectionResponseToJSON(createcollectionResponse) {
|
|
125
|
+
return JSON.stringify(exports.CreatecollectionResponse$outboundSchema.parse(createcollectionResponse));
|
|
126
|
+
}
|
|
127
|
+
function createcollectionResponseFromJSON(jsonString) {
|
|
128
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreatecollectionResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreatecollectionResponse' from JSON`);
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=createcollection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createcollection.js","sourceRoot":"","sources":["../../../../src/models/operations/createcollection.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8DH,kDAEC;AAED,sDAQC;AAyCD,kDAEC;AAED,sDAQC;AAwCD,wEAMC;AAED,4EAQC;AArLD,uCAAyB;AACzB,qDAAiD;AAEjD,mEAAqD;AAkBrD,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,UAAU,CAAC,wBAAwB,CAAC,QAAQ,EAAE;IAC1D,KAAK,EAAE,UAAU,CAAC,6BAA6B;CAChD,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,UAAU,CAAC,yBAAyB,CAAC,QAAQ,EAAE;IAC3D,KAAK,EAAE,UAAU,CAAC,8BAA8B;CACjD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,cAAc,CAO9B;AAPD,WAAiB,cAAc;IAC7B,6DAA6D;IAChD,4BAAa,GAAG,mCAA2B,CAAC;IACzD,8DAA8D;IACjD,6BAAc,GAAG,oCAA4B,CAAC;AAG7D,CAAC,EAPgB,cAAc,8BAAd,cAAc,QAO9B;AAED,SAAgB,mBAAmB,CAAC,aAA4B;IAC9D,OAAO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C,CAAC;AAC3D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC"}
|
|
@@ -19,6 +19,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
__exportStar(require("./chat.js"), exports);
|
|
21
21
|
__exportStar(require("./chatstream.js"), exports);
|
|
22
|
+
__exportStar(require("./createcollection.js"), exports);
|
|
22
23
|
__exportStar(require("./deleteallchats.js"), exports);
|
|
23
24
|
__exportStar(require("./deletechatfiles.js"), exports);
|
|
24
25
|
__exportStar(require("./deletechats.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,4CAA0B;AAC1B,kDAAgC;AAChC,sDAAoC;AACpC,uDAAqC;AACrC,mDAAiC;AACjC,yDAAuC;AACvC,yDAAuC;AACvC,gDAA8B;AAC9B,gDAA8B;AAC9B,uDAAqC;AACrC,+CAA6B;AAC7B,0DAAwC;AACxC,oDAAkC;AAClC,wDAAsC;AACtC,iDAA+B;AAC/B,uDAAqC;AACrC,6DAA2C;AAC3C,iDAA+B;AAC/B,gDAA8B;AAC9B,oDAAkC;AAClC,yDAAuC;AACvC,6EAA2D;AAC3D,8EAA4D;AAC5D,2EAAyD;AACzD,yEAAuD;AACvD,oDAAkC;AAClC,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,4CAA0B;AAC1B,kDAAgC;AAChC,wDAAsC;AACtC,sDAAoC;AACpC,uDAAqC;AACrC,mDAAiC;AACjC,yDAAuC;AACvC,yDAAuC;AACvC,gDAA8B;AAC9B,gDAA8B;AAC9B,uDAAqC;AACrC,+CAA6B;AAC7B,0DAAwC;AACxC,oDAAkC;AAClC,wDAAsC;AACtC,iDAA+B;AAC/B,uDAAqC;AACrC,6DAA2C;AAC3C,iDAA+B;AAC/B,gDAA8B;AAC9B,oDAAkC;AAClC,yDAAuC;AACvC,6EAA2D;AAC3D,8EAA4D;AAC5D,2EAAyD;AACzD,yEAAuD;AACvD,oDAAkC;AAClC,uDAAqC"}
|
|
@@ -2,12 +2,13 @@ import { MutationKey, UseMutationResult } from "@tanstack/react-query";
|
|
|
2
2
|
import { GleanCore } from "../core.js";
|
|
3
3
|
import { RequestOptions } from "../lib/sdks.js";
|
|
4
4
|
import * as components from "../models/components/index.js";
|
|
5
|
+
import * as operations from "../models/operations/index.js";
|
|
5
6
|
import { MutationHookOptions } from "./_types.js";
|
|
6
7
|
export type ClientCollectionsCreateMutationVariables = {
|
|
7
8
|
request: components.CreateCollectionRequest;
|
|
8
9
|
options?: RequestOptions;
|
|
9
10
|
};
|
|
10
|
-
export type ClientCollectionsCreateMutationData =
|
|
11
|
+
export type ClientCollectionsCreateMutationData = operations.CreatecollectionResponse;
|
|
11
12
|
/**
|
|
12
13
|
* Create Collection
|
|
13
14
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientCollectionsCreate.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientCollectionsCreate.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,wCAAwC,GAAG;IACrD,OAAO,EAAE,UAAU,CAAC,uBAAuB,CAAC;IAC5C,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAC7C,UAAU,CAAC,wBAAwB,CAAC;AAEtC;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,OAAO,CAAC,EAAE,mBAAmB,CAC3B,mCAAmC,EACnC,KAAK,EACL,wCAAwC,CACzC,GACA,iBAAiB,CAClB,mCAAmC,EACnC,KAAK,EACL,wCAAwC,CACzC,CAMA;AAED,wBAAgB,kCAAkC,IAAI,WAAW,CAEhE;AAED,wBAAgB,oCAAoC,CAClD,OAAO,EAAE,SAAS,EAClB,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,wCAAwC,KAChD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACnD,CA0BA"}
|
|
1
|
+
{"version":3,"file":"clientCollectionsCreate.d.ts","sourceRoot":"","sources":["../../../src/react-query/clientCollectionsCreate.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,WAAW,EAEX,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,MAAM,MAAM,wCAAwC,GAAG;IACrD,OAAO,EAAE,UAAU,CAAC,uBAAuB,CAAC;IAC5C,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAC7C,UAAU,CAAC,wBAAwB,CAAC;AAEtC;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,OAAO,CAAC,EAAE,mBAAmB,CAC3B,mCAAmC,EACnC,KAAK,EACL,wCAAwC,CACzC,GACA,iBAAiB,CAClB,mCAAmC,EACnC,KAAK,EACL,wCAAwC,CACzC,CAMA;AAED,wBAAgB,kCAAkC,IAAI,WAAW,CAEhE;AAED,wBAAgB,oCAAoC,CAClD,OAAO,EAAE,SAAS,EAClB,WAAW,CAAC,EAAE,cAAc,GAC3B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,EAAE,CACV,SAAS,EAAE,wCAAwC,KAChD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACnD,CA0BA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientCollectionsCreate.js","sourceRoot":"","sources":["../../../src/react-query/clientCollectionsCreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;
|
|
1
|
+
{"version":3,"file":"clientCollectionsCreate.js","sourceRoot":"","sources":["../../../src/react-query/clientCollectionsCreate.ts"],"names":[],"mappings":";AAAA;;GAEG;;AA+BH,gFAgBC;AAED,gFAEC;AAED,oFAkCC;AArFD,uDAI+B;AAE/B,oFAA8E;AAC9E,wDAAsD;AAItD,0CAA6C;AAC7C,+CAAgD;AAWhD;;;;;GAKG;AACH,SAAgB,kCAAkC,CAChD,OAIC;IAMD,MAAM,MAAM,GAAG,IAAA,6BAAe,GAAE,CAAC;IACjC,OAAO,IAAA,yBAAW,EAAC;QACjB,GAAG,oCAAoC,CAAC,MAAM,EAAE,OAAO,CAAC;QACxD,GAAG,OAAO;KACX,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,kCAAkC;IAChD,OAAO,CAAC,uBAAuB,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,oCAAoC,CAClD,OAAkB,EAClB,WAA4B;IAO5B,OAAO;QACL,WAAW,EAAE,kCAAkC,EAAE;QACjD,UAAU,EAAE,SAAS,iCAAiC,CAAC,EACrD,OAAO,EACP,OAAO,GACR;YACC,MAAM,aAAa,GAAG;gBACpB,GAAG,WAAW;gBACd,GAAG,OAAO;gBACV,YAAY,EAAE;oBACZ,GAAG,WAAW,EAAE,YAAY;oBAC5B,GAAG,OAAO,EAAE,YAAY;oBACxB,MAAM,EAAE,IAAA,8BAAc,EACpB,WAAW,EAAE,YAAY,EAAE,MAAM,EACjC,OAAO,EAAE,YAAY,EAAE,MAAM,CAC9B;iBACF;aACF,CAAC;YACF,OAAO,IAAA,mBAAW,EAAC,IAAA,oDAAuB,EACxC,OAAO,EACP,OAAO,EACP,aAAa,CACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -11,7 +11,7 @@ export type IndexingAuthenticationRotateTokenMutationData = components.RotateTok
|
|
|
11
11
|
* Rotate token
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Rotates the secret value inside the Indexing API token and returns the new raw secret. All other properties of the token are unchanged. In order to rotate the secret value, include the token as the bearer token in the `/rotatetoken` request. Please refer to [Token rotation](https://developers.glean.com/
|
|
14
|
+
* Rotates the secret value inside the Indexing API token and returns the new raw secret. All other properties of the token are unchanged. In order to rotate the secret value, include the token as the bearer token in the `/rotatetoken` request. Please refer to [Token rotation](https://developers.glean.com/indexing/authentication/token-rotation) documentation for more information.
|
|
15
15
|
*/
|
|
16
16
|
export declare function useIndexingAuthenticationRotateTokenMutation(options?: MutationHookOptions<IndexingAuthenticationRotateTokenMutationData, Error, IndexingAuthenticationRotateTokenMutationVariables>): UseMutationResult<IndexingAuthenticationRotateTokenMutationData, Error, IndexingAuthenticationRotateTokenMutationVariables>;
|
|
17
17
|
export declare function mutationKeyIndexingAuthenticationRotateToken(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Rotate token
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Rotates the secret value inside the Indexing API token and returns the new raw secret. All other properties of the token are unchanged. In order to rotate the secret value, include the token as the bearer token in the `/rotatetoken` request. Please refer to [Token rotation](https://developers.glean.com/
|
|
18
|
+
* Rotates the secret value inside the Indexing API token and returns the new raw secret. All other properties of the token are unchanged. In order to rotate the secret value, include the token as the bearer token in the `/rotatetoken` request. Please refer to [Token rotation](https://developers.glean.com/indexing/authentication/token-rotation) documentation for more information.
|
|
19
19
|
*/
|
|
20
20
|
function useIndexingAuthenticationRotateTokenMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -14,7 +14,7 @@ export type IndexingDatasourceStatusMutationData = components.DebugDatasourceSta
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
|
|
16
16
|
*
|
|
17
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
17
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
18
18
|
*/
|
|
19
19
|
export declare function useIndexingDatasourceStatusMutation(options?: MutationHookOptions<IndexingDatasourceStatusMutationData, Error, IndexingDatasourceStatusMutationVariables>): UseMutationResult<IndexingDatasourceStatusMutationData, Error, IndexingDatasourceStatusMutationVariables>;
|
|
20
20
|
export declare function mutationKeyIndexingDatasourceStatus(): MutationKey;
|
|
@@ -17,7 +17,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
|
|
19
19
|
*
|
|
20
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
20
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
21
21
|
*/
|
|
22
22
|
function useIndexingDatasourceStatusMutation(options) {
|
|
23
23
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -12,7 +12,7 @@ export type IndexingDocumentsBulkIndexMutationData = void;
|
|
|
12
12
|
* Bulk index documents
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
15
|
+
* Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useIndexingDocumentsBulkIndexMutation(options?: MutationHookOptions<IndexingDocumentsBulkIndexMutationData, Error, IndexingDocumentsBulkIndexMutationVariables>): UseMutationResult<IndexingDocumentsBulkIndexMutationData, Error, IndexingDocumentsBulkIndexMutationVariables>;
|
|
18
18
|
export declare function mutationKeyIndexingDocumentsBulkIndex(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Bulk index documents
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
18
|
+
* Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
19
19
|
*/
|
|
20
20
|
function useIndexingDocumentsBulkIndexMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -14,7 +14,7 @@ export type IndexingDocumentsCheckAccessMutationData = components.CheckDocumentA
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* Check if a given user has access to access a document in a custom datasource
|
|
16
16
|
*
|
|
17
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
17
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
18
18
|
*/
|
|
19
19
|
export declare function useIndexingDocumentsCheckAccessMutation(options?: MutationHookOptions<IndexingDocumentsCheckAccessMutationData, Error, IndexingDocumentsCheckAccessMutationVariables>): UseMutationResult<IndexingDocumentsCheckAccessMutationData, Error, IndexingDocumentsCheckAccessMutationVariables>;
|
|
20
20
|
export declare function mutationKeyIndexingDocumentsCheckAccess(): MutationKey;
|
|
@@ -17,7 +17,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Check if a given user has access to access a document in a custom datasource
|
|
19
19
|
*
|
|
20
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
20
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
21
21
|
*/
|
|
22
22
|
function useIndexingDocumentsCheckAccessMutation(options) {
|
|
23
23
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -14,7 +14,7 @@ export type IndexingDocumentsCountMutationData = components.GetDocumentCountResp
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* Fetches document count for the specified custom datasource.
|
|
16
16
|
*
|
|
17
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
17
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
18
18
|
*
|
|
19
19
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
20
20
|
*/
|
|
@@ -17,7 +17,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Fetches document count for the specified custom datasource.
|
|
19
19
|
*
|
|
20
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
20
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
21
21
|
*
|
|
22
22
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
23
23
|
*/
|
|
@@ -15,7 +15,7 @@ export type IndexingDocumentsDebugMutationData = components.DebugDocumentRespons
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
17
17
|
*
|
|
18
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
18
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
19
19
|
*/
|
|
20
20
|
export declare function useIndexingDocumentsDebugMutation(options?: MutationHookOptions<IndexingDocumentsDebugMutationData, Error, IndexingDocumentsDebugMutationVariables>): UseMutationResult<IndexingDocumentsDebugMutationData, Error, IndexingDocumentsDebugMutationVariables>;
|
|
21
21
|
export declare function mutationKeyIndexingDocumentsDebug(): MutationKey;
|
|
@@ -17,7 +17,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
19
19
|
*
|
|
20
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
20
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
21
21
|
*/
|
|
22
22
|
function useIndexingDocumentsDebugMutation(options) {
|
|
23
23
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -15,7 +15,7 @@ export type IndexingDocumentsDebugManyMutationData = components.DebugDocumentsRe
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
17
17
|
*
|
|
18
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
18
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
19
19
|
*/
|
|
20
20
|
export declare function useIndexingDocumentsDebugManyMutation(options?: MutationHookOptions<IndexingDocumentsDebugManyMutationData, Error, IndexingDocumentsDebugManyMutationVariables>): UseMutationResult<IndexingDocumentsDebugManyMutationData, Error, IndexingDocumentsDebugManyMutationVariables>;
|
|
21
21
|
export declare function mutationKeyIndexingDocumentsDebugMany(): MutationKey;
|
|
@@ -17,7 +17,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
19
19
|
*
|
|
20
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
20
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
21
21
|
*/
|
|
22
22
|
function useIndexingDocumentsDebugManyMutation(options) {
|
|
23
23
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -12,7 +12,7 @@ export type IndexingDocumentsIndexMutationData = void;
|
|
|
12
12
|
* Index documents
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
15
|
+
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-indexing/choosing-indexdocuments-vs-bulkindexdocuments) documentation for an explanation of when to use this endpoint.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useIndexingDocumentsIndexMutation(options?: MutationHookOptions<IndexingDocumentsIndexMutationData, Error, IndexingDocumentsIndexMutationVariables>): UseMutationResult<IndexingDocumentsIndexMutationData, Error, IndexingDocumentsIndexMutationVariables>;
|
|
18
18
|
export declare function mutationKeyIndexingDocumentsIndex(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Index documents
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
18
|
+
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-indexing/choosing-indexdocuments-vs-bulkindexdocuments) documentation for an explanation of when to use this endpoint.
|
|
19
19
|
*/
|
|
20
20
|
function useIndexingDocumentsIndexMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -14,7 +14,7 @@ export type IndexingDocumentsStatusMutationData = components.GetDocumentStatusRe
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
16
16
|
*
|
|
17
|
-
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/
|
|
17
|
+
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
|
|
18
18
|
*
|
|
19
19
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
20
20
|
*/
|
|
@@ -17,7 +17,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
19
19
|
*
|
|
20
|
-
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/
|
|
20
|
+
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
|
|
21
21
|
*
|
|
22
22
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
23
23
|
*/
|
|
@@ -12,7 +12,7 @@ export type IndexingPeopleBulkIndexMutationData = void;
|
|
|
12
12
|
* Bulk index employees
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
15
|
+
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useIndexingPeopleBulkIndexMutation(options?: MutationHookOptions<IndexingPeopleBulkIndexMutationData, Error, IndexingPeopleBulkIndexMutationVariables>): UseMutationResult<IndexingPeopleBulkIndexMutationData, Error, IndexingPeopleBulkIndexMutationVariables>;
|
|
18
18
|
export declare function mutationKeyIndexingPeopleBulkIndex(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Bulk index employees
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
18
|
+
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
19
19
|
*/
|
|
20
20
|
function useIndexingPeopleBulkIndexMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -12,7 +12,7 @@ export type IndexingPeopleBulkIndexTeamsMutationData = void;
|
|
|
12
12
|
* Bulk index teams
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
15
|
+
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useIndexingPeopleBulkIndexTeamsMutation(options?: MutationHookOptions<IndexingPeopleBulkIndexTeamsMutationData, Error, IndexingPeopleBulkIndexTeamsMutationVariables>): UseMutationResult<IndexingPeopleBulkIndexTeamsMutationData, Error, IndexingPeopleBulkIndexTeamsMutationVariables>;
|
|
18
18
|
export declare function mutationKeyIndexingPeopleBulkIndexTeams(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Bulk index teams
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
18
|
+
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
19
19
|
*/
|
|
20
20
|
function useIndexingPeopleBulkIndexTeamsMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -14,7 +14,7 @@ export type IndexingPeopleCountMutationData = components.GetUserCountResponse;
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* Fetches user count for the specified custom datasource.
|
|
16
16
|
*
|
|
17
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
17
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
18
18
|
*
|
|
19
19
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
20
20
|
*/
|
|
@@ -17,7 +17,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Fetches user count for the specified custom datasource.
|
|
19
19
|
*
|
|
20
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
20
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
21
21
|
*
|
|
22
22
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
23
23
|
*/
|
|
@@ -15,7 +15,7 @@ export type IndexingPeopleDebugMutationData = components.DebugUserResponse;
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
|
|
17
17
|
*
|
|
18
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
18
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
19
19
|
*/
|
|
20
20
|
export declare function useIndexingPeopleDebugMutation(options?: MutationHookOptions<IndexingPeopleDebugMutationData, Error, IndexingPeopleDebugMutationVariables>): UseMutationResult<IndexingPeopleDebugMutationData, Error, IndexingPeopleDebugMutationVariables>;
|
|
21
21
|
export declare function mutationKeyIndexingPeopleDebug(): MutationKey;
|
|
@@ -17,7 +17,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
17
17
|
* @remarks
|
|
18
18
|
* Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
|
|
19
19
|
*
|
|
20
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
20
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
21
21
|
*/
|
|
22
22
|
function useIndexingPeopleDebugMutation(options) {
|
|
23
23
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -12,7 +12,7 @@ export type IndexingPermissionsBulkIndexGroupsMutationData = void;
|
|
|
12
12
|
* Bulk index groups
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
15
|
+
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useIndexingPermissionsBulkIndexGroupsMutation(options?: MutationHookOptions<IndexingPermissionsBulkIndexGroupsMutationData, Error, IndexingPermissionsBulkIndexGroupsMutationVariables>): UseMutationResult<IndexingPermissionsBulkIndexGroupsMutationData, Error, IndexingPermissionsBulkIndexGroupsMutationVariables>;
|
|
18
18
|
export declare function mutationKeyIndexingPermissionsBulkIndexGroups(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Bulk index groups
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
18
|
+
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
19
19
|
*/
|
|
20
20
|
function useIndexingPermissionsBulkIndexGroupsMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -12,7 +12,7 @@ export type IndexingPermissionsBulkIndexMembershipsMutationData = void;
|
|
|
12
12
|
* Bulk index memberships for a group
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
15
|
+
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useIndexingPermissionsBulkIndexMembershipsMutation(options?: MutationHookOptions<IndexingPermissionsBulkIndexMembershipsMutationData, Error, IndexingPermissionsBulkIndexMembershipsMutationVariables>): UseMutationResult<IndexingPermissionsBulkIndexMembershipsMutationData, Error, IndexingPermissionsBulkIndexMembershipsMutationVariables>;
|
|
18
18
|
export declare function mutationKeyIndexingPermissionsBulkIndexMemberships(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Bulk index memberships for a group
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
18
|
+
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
19
19
|
*/
|
|
20
20
|
function useIndexingPermissionsBulkIndexMembershipsMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -12,7 +12,7 @@ export type IndexingPermissionsBulkIndexUsersMutationData = void;
|
|
|
12
12
|
* Bulk index users
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
15
|
+
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
16
16
|
*/
|
|
17
17
|
export declare function useIndexingPermissionsBulkIndexUsersMutation(options?: MutationHookOptions<IndexingPermissionsBulkIndexUsersMutationData, Error, IndexingPermissionsBulkIndexUsersMutationVariables>): UseMutationResult<IndexingPermissionsBulkIndexUsersMutationData, Error, IndexingPermissionsBulkIndexUsersMutationVariables>;
|
|
18
18
|
export declare function mutationKeyIndexingPermissionsBulkIndexUsers(): MutationKey;
|
|
@@ -15,7 +15,7 @@ const _context_js_1 = require("./_context.js");
|
|
|
15
15
|
* Bulk index users
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
18
|
+
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
19
19
|
*/
|
|
20
20
|
function useIndexingPermissionsBulkIndexUsersMutation(options) {
|
|
21
21
|
const client = (0, _context_js_1.useGleanContext)();
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
2
|
import * as components from "../models/components/index.js";
|
|
3
|
+
import * as operations from "../models/operations/index.js";
|
|
3
4
|
export declare class Collections extends ClientSDK {
|
|
4
5
|
/**
|
|
5
6
|
* Add Collection item
|
|
@@ -14,7 +15,7 @@ export declare class Collections extends ClientSDK {
|
|
|
14
15
|
* @remarks
|
|
15
16
|
* Create a publicly visible (empty) Collection of documents.
|
|
16
17
|
*/
|
|
17
|
-
create(request: components.CreateCollectionRequest, options?: RequestOptions): Promise<
|
|
18
|
+
create(request: components.CreateCollectionRequest, options?: RequestOptions): Promise<operations.CreatecollectionResponse>;
|
|
18
19
|
/**
|
|
19
20
|
* Delete Collection
|
|
20
21
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../../src/sdk/collections.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,WAAY,SAAQ,SAAS;IACxC;;;;;OAKG;IACG,QAAQ,CACZ,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAQjD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAQ/C;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAQhB;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC;IAQnD;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAQ7C;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,E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C,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAQ7C;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAQjD;;;;;OAKG;IACG,QAAQ,CACZ,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,qBAAqB,CAAC;IAQ5C;;;;;OAKG;IACG,IAAI,CACR,OAAO,EAAE,UAAU,CAAC,sBAAsB,EAC1C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,uBAAuB,CAAC;CAO/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../src/sdk/collections.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,wFAAkF;AAClF,oFAA8E;AAC9E,oFAA8E;AAC9E,4FAAsF;AACtF,gFAA0E;AAC1E,wFAAkF;AAClF,oFAA8E;AAC9E,4FAAsF;AACtF,4CAA2D;
|
|
1
|
+
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../src/sdk/collections.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,wFAAkF;AAClF,oFAA8E;AAC9E,oFAA8E;AAC9E,4FAAsF;AACtF,gFAA0E;AAC1E,wFAAkF;AAClF,oFAA8E;AAC9E,4FAAsF;AACtF,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,WAAY,SAAQ,mBAAS;IACxC;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wDAAyB,EAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;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IC"}
|
|
@@ -7,7 +7,7 @@ export declare class Datasource extends ClientSDK {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
|
|
9
9
|
*
|
|
10
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
10
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
11
11
|
*/
|
|
12
12
|
status(datasource: string, options?: RequestOptions): Promise<components.DebugDatasourceStatusResponse>;
|
|
13
13
|
}
|