@gleanwork/api-client 0.8.1 → 0.9.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/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/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/chatmessage.js +2 -2
- package/dist/commonjs/models/components/chatmessage.js.map +1 -1
- package/dist/commonjs/models/components/chatmessagefragment.d.ts +6 -0
- 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/documentdefinition.d.ts +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/generatedqna.js +2 -2
- package/dist/commonjs/models/components/generatedqna.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +2 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +2 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/manualfeedbackinfo.d.ts +8 -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/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/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/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/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/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/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/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/chatmessage.js +2 -2
- package/dist/esm/models/components/chatmessage.js.map +1 -1
- package/dist/esm/models/components/chatmessagefragment.d.ts +6 -0
- 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/documentdefinition.d.ts +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/generatedqna.js +2 -2
- package/dist/esm/models/components/generatedqna.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +2 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +2 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/manualfeedbackinfo.d.ts +8 -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/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/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/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/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/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/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/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/authconfig.ts +1 -0
- package/src/models/components/chatmessage.ts +2 -2
- package/src/models/components/chatmessagefragment.ts +13 -0
- package/src/models/components/chatrequest.ts +1 -1
- package/src/models/components/documentdefinition.ts +1 -1
- package/src/models/components/feedback.ts +15 -0
- package/src/models/components/generatedqna.ts +2 -2
- package/src/models/components/index.ts +2 -0
- package/src/models/components/manualfeedbackinfo.ts +16 -15
- package/src/models/components/manualfeedbacksidebysideinfo.ts +200 -0
- package/src/models/components/searchrequest.ts +0 -13
- package/src/models/components/searchresponsemetadata.ts +7 -0
- package/src/models/components/sidebysideimplementation.ts +175 -0
- package/src/models/components/structuredresult.ts +10 -0
- 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/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
|
@@ -12,7 +12,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Check if a given user has access to access a document in a custom datasource
|
|
14
14
|
*
|
|
15
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
15
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
16
16
|
*/
|
|
17
17
|
export function useIndexingDocumentsCheckAccessMutation(options) {
|
|
18
18
|
const client = 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
|
*/
|
|
@@ -12,7 +12,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Fetches document count for the specified custom datasource.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
15
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
16
16
|
*
|
|
17
17
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
18
18
|
*/
|
|
@@ -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;
|
|
@@ -12,7 +12,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
15
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
16
16
|
*/
|
|
17
17
|
export function useIndexingDocumentsDebugMutation(options) {
|
|
18
18
|
const client = 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;
|
|
@@ -12,7 +12,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
15
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
16
16
|
*/
|
|
17
17
|
export function useIndexingDocumentsDebugManyMutation(options) {
|
|
18
18
|
const client = 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;
|
|
@@ -10,7 +10,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
10
10
|
* Index documents
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export function useIndexingDocumentsIndexMutation(options) {
|
|
16
16
|
const client = 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
|
*/
|
|
@@ -12,7 +12,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/
|
|
15
|
+
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
|
|
16
16
|
*
|
|
17
17
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
18
18
|
*/
|
|
@@ -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;
|
|
@@ -10,7 +10,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
10
10
|
* Bulk index employees
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export function useIndexingPeopleBulkIndexMutation(options) {
|
|
16
16
|
const client = 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;
|
|
@@ -10,7 +10,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
10
10
|
* Bulk index teams
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export function useIndexingPeopleBulkIndexTeamsMutation(options) {
|
|
16
16
|
const client = 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
|
*/
|
|
@@ -12,7 +12,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Fetches user count for the specified custom datasource.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
15
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
16
16
|
*
|
|
17
17
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
18
18
|
*/
|
|
@@ -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;
|
|
@@ -12,7 +12,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
15
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
16
16
|
*/
|
|
17
17
|
export function useIndexingPeopleDebugMutation(options) {
|
|
18
18
|
const client = 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;
|
|
@@ -10,7 +10,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
10
10
|
* Bulk index groups
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export function useIndexingPermissionsBulkIndexGroupsMutation(options) {
|
|
16
16
|
const client = 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;
|
|
@@ -10,7 +10,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
10
10
|
* Bulk index memberships for a group
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export function useIndexingPermissionsBulkIndexMembershipsMutation(options) {
|
|
16
16
|
const client = 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;
|
|
@@ -10,7 +10,7 @@ import { useGleanContext } from "./_context.js";
|
|
|
10
10
|
* Bulk index users
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export function useIndexingPermissionsBulkIndexUsersMutation(options) {
|
|
16
16
|
const client = useGleanContext();
|
|
@@ -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
|
}
|
|
@@ -11,7 +11,7 @@ export class Datasource extends ClientSDK {
|
|
|
11
11
|
* @remarks
|
|
12
12
|
* Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
|
|
13
13
|
*
|
|
14
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
14
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
15
15
|
*/
|
|
16
16
|
async status(datasource, options) {
|
|
17
17
|
return unwrapAsync(indexingDatasourceStatus(this, datasource, options));
|
|
@@ -5,7 +5,7 @@ export declare class IndexingAuthentication extends ClientSDK {
|
|
|
5
5
|
* Rotate token
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* 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/
|
|
8
|
+
* 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.
|
|
9
9
|
*/
|
|
10
10
|
rotateToken(options?: RequestOptions): Promise<components.RotateTokenResponse>;
|
|
11
11
|
}
|
|
@@ -9,7 +9,7 @@ export class IndexingAuthentication extends ClientSDK {
|
|
|
9
9
|
* Rotate token
|
|
10
10
|
*
|
|
11
11
|
* @remarks
|
|
12
|
-
* 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/
|
|
12
|
+
* 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.
|
|
13
13
|
*/
|
|
14
14
|
async rotateToken(options) {
|
|
15
15
|
return unwrapAsync(indexingAuthenticationRotateToken(this, options));
|
|
@@ -12,14 +12,14 @@ export declare class IndexingDocuments extends ClientSDK {
|
|
|
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
|
index(request: components.IndexDocumentsRequest, options?: RequestOptions): Promise<void>;
|
|
18
18
|
/**
|
|
19
19
|
* Bulk index documents
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
22
|
+
* 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.
|
|
23
23
|
*/
|
|
24
24
|
bulkIndex(request: components.BulkIndexDocumentsRequest, options?: RequestOptions): Promise<void>;
|
|
25
25
|
/**
|
|
@@ -52,7 +52,7 @@ export declare class IndexingDocuments extends ClientSDK {
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
54
54
|
*
|
|
55
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
55
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
56
56
|
*/
|
|
57
57
|
debug(debugDocumentRequest: components.DebugDocumentRequest, datasource: string, options?: RequestOptions): Promise<components.DebugDocumentResponse>;
|
|
58
58
|
/**
|
|
@@ -61,7 +61,7 @@ export declare class IndexingDocuments extends ClientSDK {
|
|
|
61
61
|
* @remarks
|
|
62
62
|
* Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
63
63
|
*
|
|
64
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
64
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
65
65
|
*/
|
|
66
66
|
debugMany(debugDocumentsRequest: components.DebugDocumentsRequest, datasource: string, options?: RequestOptions): Promise<components.DebugDocumentsResponse>;
|
|
67
67
|
/**
|
|
@@ -70,7 +70,7 @@ export declare class IndexingDocuments extends ClientSDK {
|
|
|
70
70
|
* @remarks
|
|
71
71
|
* Check if a given user has access to access a document in a custom datasource
|
|
72
72
|
*
|
|
73
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
73
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
74
74
|
*/
|
|
75
75
|
checkAccess(request: components.CheckDocumentAccessRequest, options?: RequestOptions): Promise<components.CheckDocumentAccessResponse>;
|
|
76
76
|
/**
|
|
@@ -79,7 +79,7 @@ export declare class IndexingDocuments extends ClientSDK {
|
|
|
79
79
|
* @remarks
|
|
80
80
|
* Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
81
81
|
*
|
|
82
|
-
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/
|
|
82
|
+
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
|
|
83
83
|
*
|
|
84
84
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
85
85
|
*/
|
|
@@ -90,7 +90,7 @@ export declare class IndexingDocuments extends ClientSDK {
|
|
|
90
90
|
* @remarks
|
|
91
91
|
* Fetches document count for the specified custom datasource.
|
|
92
92
|
*
|
|
93
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
93
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
94
94
|
*
|
|
95
95
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
96
96
|
*/
|
|
@@ -27,7 +27,7 @@ export class IndexingDocuments extends ClientSDK {
|
|
|
27
27
|
* Index documents
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
30
|
+
* 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.
|
|
31
31
|
*/
|
|
32
32
|
async index(request, options) {
|
|
33
33
|
return unwrapAsync(indexingDocumentsIndex(this, request, options));
|
|
@@ -36,7 +36,7 @@ export class IndexingDocuments extends ClientSDK {
|
|
|
36
36
|
* Bulk index documents
|
|
37
37
|
*
|
|
38
38
|
* @remarks
|
|
39
|
-
* Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
39
|
+
* 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.
|
|
40
40
|
*/
|
|
41
41
|
async bulkIndex(request, options) {
|
|
42
42
|
return unwrapAsync(indexingDocumentsBulkIndex(this, request, options));
|
|
@@ -75,7 +75,7 @@ export class IndexingDocuments extends ClientSDK {
|
|
|
75
75
|
* @remarks
|
|
76
76
|
* Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
77
77
|
*
|
|
78
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
78
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
79
79
|
*/
|
|
80
80
|
async debug(debugDocumentRequest, datasource, options) {
|
|
81
81
|
return unwrapAsync(indexingDocumentsDebug(this, debugDocumentRequest, datasource, options));
|
|
@@ -86,7 +86,7 @@ export class IndexingDocuments extends ClientSDK {
|
|
|
86
86
|
* @remarks
|
|
87
87
|
* Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
88
88
|
*
|
|
89
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
89
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
90
90
|
*/
|
|
91
91
|
async debugMany(debugDocumentsRequest, datasource, options) {
|
|
92
92
|
return unwrapAsync(indexingDocumentsDebugMany(this, debugDocumentsRequest, datasource, options));
|
|
@@ -97,7 +97,7 @@ export class IndexingDocuments extends ClientSDK {
|
|
|
97
97
|
* @remarks
|
|
98
98
|
* Check if a given user has access to access a document in a custom datasource
|
|
99
99
|
*
|
|
100
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
100
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
101
101
|
*/
|
|
102
102
|
async checkAccess(request, options) {
|
|
103
103
|
return unwrapAsync(indexingDocumentsCheckAccess(this, request, options));
|
|
@@ -108,7 +108,7 @@ export class IndexingDocuments extends ClientSDK {
|
|
|
108
108
|
* @remarks
|
|
109
109
|
* Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
110
110
|
*
|
|
111
|
-
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/
|
|
111
|
+
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
|
|
112
112
|
*
|
|
113
113
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
114
114
|
*/
|
|
@@ -121,7 +121,7 @@ export class IndexingDocuments extends ClientSDK {
|
|
|
121
121
|
* @remarks
|
|
122
122
|
* Fetches document count for the specified custom datasource.
|
|
123
123
|
*
|
|
124
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
124
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
125
125
|
*
|
|
126
126
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
127
127
|
*/
|
package/dist/esm/sdk/people.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare class People extends ClientSDK {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* Gives various information that would help in debugging related to a particular user. 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
|
debug(debugUserRequest: components.DebugUserRequest, datasource: string, options?: RequestOptions): Promise<components.DebugUserResponse>;
|
|
13
13
|
/**
|
|
@@ -16,7 +16,7 @@ export declare class People extends ClientSDK {
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* Fetches user count for the specified custom datasource.
|
|
18
18
|
*
|
|
19
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
19
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
20
20
|
*
|
|
21
21
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
22
22
|
*/
|
|
@@ -32,7 +32,7 @@ export declare class People extends ClientSDK {
|
|
|
32
32
|
* Bulk index employees
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
|
-
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
35
|
+
* 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.
|
|
36
36
|
*/
|
|
37
37
|
bulkIndex(request: components.BulkIndexEmployeesRequest, options?: RequestOptions): Promise<void>;
|
|
38
38
|
/**
|
|
@@ -67,7 +67,7 @@ export declare class People extends ClientSDK {
|
|
|
67
67
|
* Bulk index teams
|
|
68
68
|
*
|
|
69
69
|
* @remarks
|
|
70
|
-
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
70
|
+
* 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.
|
|
71
71
|
*/
|
|
72
72
|
bulkIndexTeams(request: components.BulkIndexTeamsRequest, options?: RequestOptions): Promise<void>;
|
|
73
73
|
}
|
package/dist/esm/sdk/people.js
CHANGED
|
@@ -19,7 +19,7 @@ export class People extends ClientSDK {
|
|
|
19
19
|
* @remarks
|
|
20
20
|
* Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
|
|
21
21
|
*
|
|
22
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
22
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
23
23
|
*/
|
|
24
24
|
async debug(debugUserRequest, datasource, options) {
|
|
25
25
|
return unwrapAsync(indexingPeopleDebug(this, debugUserRequest, datasource, options));
|
|
@@ -30,7 +30,7 @@ export class People extends ClientSDK {
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* Fetches user count for the specified custom datasource.
|
|
32
32
|
*
|
|
33
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
33
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
34
34
|
*
|
|
35
35
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
36
36
|
*/
|
|
@@ -50,7 +50,7 @@ export class People extends ClientSDK {
|
|
|
50
50
|
* Bulk index employees
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
53
|
+
* 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.
|
|
54
54
|
*/
|
|
55
55
|
async bulkIndex(request, options) {
|
|
56
56
|
return unwrapAsync(indexingPeopleBulkIndex(this, request, options));
|
|
@@ -95,7 +95,7 @@ export class People extends ClientSDK {
|
|
|
95
95
|
* Bulk index teams
|
|
96
96
|
*
|
|
97
97
|
* @remarks
|
|
98
|
-
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
98
|
+
* 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.
|
|
99
99
|
*/
|
|
100
100
|
async bulkIndexTeams(request, options) {
|
|
101
101
|
return unwrapAsync(indexingPeopleBulkIndexTeams(this, request, options));
|
|
@@ -19,7 +19,7 @@ export declare class Permissions extends ClientSDK {
|
|
|
19
19
|
* Bulk index users
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
22
|
+
* 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.
|
|
23
23
|
*/
|
|
24
24
|
bulkIndexUsers(request: components.BulkIndexUsersRequest, options?: RequestOptions): Promise<void>;
|
|
25
25
|
/**
|
|
@@ -33,7 +33,7 @@ export declare class Permissions extends ClientSDK {
|
|
|
33
33
|
* Bulk index groups
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
36
|
+
* 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.
|
|
37
37
|
*/
|
|
38
38
|
bulkIndexGroups(request: components.BulkIndexGroupsRequest, options?: RequestOptions): Promise<void>;
|
|
39
39
|
/**
|
|
@@ -47,7 +47,7 @@ export declare class Permissions extends ClientSDK {
|
|
|
47
47
|
* Bulk index memberships for a group
|
|
48
48
|
*
|
|
49
49
|
* @remarks
|
|
50
|
-
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
50
|
+
* 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.
|
|
51
51
|
*/
|
|
52
52
|
bulkIndexMemberships(request: components.BulkIndexMembershipsRequest, options?: RequestOptions): Promise<void>;
|
|
53
53
|
/**
|
|
@@ -38,7 +38,7 @@ export class Permissions extends ClientSDK {
|
|
|
38
38
|
* Bulk index users
|
|
39
39
|
*
|
|
40
40
|
* @remarks
|
|
41
|
-
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
41
|
+
* 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.
|
|
42
42
|
*/
|
|
43
43
|
async bulkIndexUsers(request, options) {
|
|
44
44
|
return unwrapAsync(indexingPermissionsBulkIndexUsers(this, request, options));
|
|
@@ -56,7 +56,7 @@ export class Permissions extends ClientSDK {
|
|
|
56
56
|
* Bulk index groups
|
|
57
57
|
*
|
|
58
58
|
* @remarks
|
|
59
|
-
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
59
|
+
* 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.
|
|
60
60
|
*/
|
|
61
61
|
async bulkIndexGroups(request, options) {
|
|
62
62
|
return unwrapAsync(indexingPermissionsBulkIndexGroups(this, request, options));
|
|
@@ -74,7 +74,7 @@ export class Permissions extends ClientSDK {
|
|
|
74
74
|
* Bulk index memberships for a group
|
|
75
75
|
*
|
|
76
76
|
* @remarks
|
|
77
|
-
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
77
|
+
* 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.
|
|
78
78
|
*/
|
|
79
79
|
async bulkIndexMemberships(request, options) {
|
|
80
80
|
return unwrapAsync(indexingPermissionsBulkIndexMemberships(this, request, options));
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
|
|
14
14
|
|
|
15
|
-
Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
15
|
+
Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
### Example Usage
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## rotateToken
|
|
11
11
|
|
|
12
|
-
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/
|
|
12
|
+
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.
|
|
13
13
|
|
|
14
14
|
### Example Usage
|
|
15
15
|
|