@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
|
@@ -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();
|
|
@@ -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,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
|
+
{"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;AAC5D,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,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,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../src/sdk/collections.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,WAAY,SAAQ,SAAS;IACxC;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAA6C,EAC7C,OAAwB;QAExB,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAA2C,EAC3C,OAAwB;QAExB,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAA2C,EAC3C,OAAwB;QAExB,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAA+C,EAC/C,OAAwB;QAExB,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAyC,EACzC,OAAwB;QAExB,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAA6C,EAC7C,OAAwB;QAExB,OAAO,WAAW,CAAC,2BAA2B,CAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAAwC,EACxC,OAAwB;QAExB,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,OAA0C,EAC1C,OAAwB;QAExB,OAAO,WAAW,CAAC,qBAAqB,CACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -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));
|