@gleanwork/api-client 0.1.0-beta.6 → 0.1.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +157 -217
- package/dist/commonjs/__tests__/activity.test.js +14 -0
- package/dist/commonjs/__tests__/activity.test.js.map +1 -1
- package/dist/commonjs/__tests__/adminsearch.test.d.ts +2 -0
- package/dist/commonjs/__tests__/adminsearch.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/adminsearch.test.js +230 -0
- package/dist/commonjs/__tests__/adminsearch.test.js.map +1 -0
- package/dist/commonjs/__tests__/agents.test.js +2 -2
- package/dist/commonjs/__tests__/agents.test.js.map +1 -1
- package/dist/commonjs/__tests__/announcements.test.js +1 -1
- package/dist/commonjs/__tests__/answers.test.js +15 -3
- package/dist/commonjs/__tests__/answers.test.js.map +1 -1
- package/dist/commonjs/__tests__/chat.test.js +1878 -243
- package/dist/commonjs/__tests__/chat.test.js.map +1 -1
- package/dist/commonjs/__tests__/clientdocuments.test.js +15 -1
- package/dist/commonjs/__tests__/clientdocuments.test.js.map +1 -1
- package/dist/commonjs/__tests__/clientsearch.test.d.ts +2 -0
- package/dist/commonjs/__tests__/clientsearch.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/clientsearch.test.js +387 -0
- package/dist/commonjs/__tests__/clientsearch.test.js.map +1 -0
- package/dist/commonjs/__tests__/clientshortcuts.test.js +17 -8
- package/dist/commonjs/__tests__/clientshortcuts.test.js.map +1 -1
- package/dist/commonjs/__tests__/collections.test.js +12 -9
- package/dist/commonjs/__tests__/collections.test.js.map +1 -1
- package/dist/commonjs/__tests__/datasource.test.d.ts +2 -0
- package/dist/commonjs/__tests__/datasource.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/datasource.test.js +10 -0
- package/dist/commonjs/__tests__/datasource.test.js.map +1 -0
- package/dist/commonjs/__tests__/datasources.test.js +1 -1
- package/dist/commonjs/__tests__/datasources.test.js.map +1 -1
- package/dist/commonjs/__tests__/indexingdocuments.test.js +41 -0
- package/dist/commonjs/__tests__/indexingdocuments.test.js.map +1 -1
- package/dist/commonjs/__tests__/indexingpeople.test.d.ts +2 -0
- package/dist/commonjs/__tests__/indexingpeople.test.d.ts.map +1 -0
- package/dist/commonjs/__tests__/indexingpeople.test.js +30 -0
- package/dist/commonjs/__tests__/indexingpeople.test.js.map +1 -0
- package/dist/commonjs/__tests__/insights.test.js +1 -2
- package/dist/commonjs/__tests__/insights.test.js.map +1 -1
- package/dist/commonjs/__tests__/messages.test.js +1 -2
- package/dist/commonjs/__tests__/messages.test.js.map +1 -1
- package/dist/commonjs/__tests__/search.test.js +0 -237
- package/dist/commonjs/__tests__/search.test.js.map +1 -1
- package/dist/commonjs/__tests__/verification.test.js +1 -1
- package/dist/commonjs/__tests__/verification.test.js.map +1 -1
- package/dist/{esm/funcs/peoplePostApiIndexV1Bulkindexemployees.d.ts → commonjs/funcs/clientAgentsRetrieveInputs.d.ts} +4 -4
- package/dist/commonjs/funcs/clientAgentsRetrieveInputs.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientAgentsRetrieveInputs.js +123 -0
- package/dist/commonjs/funcs/clientAgentsRetrieveInputs.js.map +1 -0
- package/dist/commonjs/funcs/clientAgentsRun.d.ts +16 -0
- package/dist/commonjs/funcs/clientAgentsRun.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientAgentsRun.js +121 -0
- package/dist/commonjs/funcs/clientAgentsRun.js.map +1 -0
- package/dist/commonjs/funcs/clientChatDeleteFiles.d.ts +16 -0
- package/dist/commonjs/funcs/clientChatDeleteFiles.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientChatDeleteFiles.js +123 -0
- package/dist/commonjs/funcs/clientChatDeleteFiles.js.map +1 -0
- package/dist/commonjs/funcs/clientChatRetrieveApplication.d.ts +16 -0
- package/dist/commonjs/funcs/clientChatRetrieveApplication.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientChatRetrieveApplication.js +123 -0
- package/dist/commonjs/funcs/clientChatRetrieveApplication.js.map +1 -0
- package/dist/commonjs/funcs/clientChatRetrieveFiles.d.ts +16 -0
- package/dist/commonjs/funcs/clientChatRetrieveFiles.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientChatRetrieveFiles.js +123 -0
- package/dist/commonjs/funcs/clientChatRetrieveFiles.js.map +1 -0
- package/dist/commonjs/funcs/clientChatUploadFiles.d.ts +16 -0
- package/dist/commonjs/funcs/clientChatUploadFiles.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientChatUploadFiles.js +121 -0
- package/dist/commonjs/funcs/clientChatUploadFiles.js.map +1 -0
- package/dist/commonjs/funcs/clientCollectionsDeleteItem.d.ts +16 -0
- package/dist/commonjs/funcs/clientCollectionsDeleteItem.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientCollectionsDeleteItem.js +112 -0
- package/dist/commonjs/funcs/clientCollectionsDeleteItem.js.map +1 -0
- package/dist/commonjs/funcs/clientCollectionsUpdateItem.d.ts +16 -0
- package/dist/commonjs/funcs/clientCollectionsUpdateItem.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientCollectionsUpdateItem.js +112 -0
- package/dist/commonjs/funcs/clientCollectionsUpdateItem.js.map +1 -0
- package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.d.ts +16 -0
- package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.js +112 -0
- package/dist/commonjs/funcs/clientDocumentsRetrievePermissions.js.map +1 -0
- package/dist/commonjs/funcs/clientDocumentsSummarize.d.ts +16 -0
- package/dist/commonjs/funcs/clientDocumentsSummarize.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientDocumentsSummarize.js +112 -0
- package/dist/commonjs/funcs/clientDocumentsSummarize.js.map +1 -0
- package/dist/commonjs/funcs/clientSearchQueryAsAdmin.d.ts +17 -0
- package/dist/commonjs/funcs/clientSearchQueryAsAdmin.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientSearchQueryAsAdmin.js +118 -0
- package/dist/commonjs/funcs/clientSearchQueryAsAdmin.js.map +1 -0
- package/dist/commonjs/funcs/clientSearchRetrieveFeed.d.ts +16 -0
- package/dist/commonjs/funcs/clientSearchRetrieveFeed.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientSearchRetrieveFeed.js +112 -0
- package/dist/commonjs/funcs/clientSearchRetrieveFeed.js.map +1 -0
- package/dist/commonjs/funcs/clientShortcutsCreate.d.ts +16 -0
- package/dist/commonjs/funcs/clientShortcutsCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientShortcutsCreate.js +112 -0
- package/dist/commonjs/funcs/clientShortcutsCreate.js.map +1 -0
- package/dist/commonjs/funcs/clientVerificationVerify.d.ts +16 -0
- package/dist/commonjs/funcs/clientVerificationVerify.d.ts.map +1 -0
- package/dist/commonjs/funcs/clientVerificationVerify.js +112 -0
- package/dist/commonjs/funcs/clientVerificationVerify.js.map +1 -0
- package/dist/commonjs/funcs/indexingDatasourceStatus.d.ts +18 -0
- package/dist/commonjs/funcs/indexingDatasourceStatus.d.ts.map +1 -0
- package/dist/commonjs/funcs/indexingDatasourceStatus.js +126 -0
- package/dist/commonjs/funcs/indexingDatasourceStatus.js.map +1 -0
- package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.d.ts +16 -0
- package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.d.ts.map +1 -0
- package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.js +112 -0
- package/dist/commonjs/funcs/indexingDatasourcesRetrieveConfig.js.map +1 -0
- package/dist/commonjs/funcs/indexingDocumentsCheckAccess.d.ts +18 -0
- package/dist/commonjs/funcs/indexingDocumentsCheckAccess.d.ts.map +1 -0
- package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js +114 -0
- package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js.map +1 -0
- package/dist/commonjs/funcs/indexingDocumentsCount.d.ts +20 -0
- package/dist/commonjs/funcs/indexingDocumentsCount.d.ts.map +1 -0
- package/dist/commonjs/funcs/indexingDocumentsCount.js +116 -0
- package/dist/commonjs/funcs/indexingDocumentsCount.js.map +1 -0
- package/dist/commonjs/funcs/indexingDocumentsDebug.d.ts +18 -0
- package/dist/commonjs/funcs/indexingDocumentsDebug.d.ts.map +1 -0
- package/dist/commonjs/funcs/indexingDocumentsDebug.js +130 -0
- package/dist/commonjs/funcs/indexingDocumentsDebug.js.map +1 -0
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.d.ts +18 -0
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.d.ts.map +1 -0
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.js +130 -0
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.js.map +1 -0
- package/dist/commonjs/funcs/indexingDocumentsStatus.d.ts +20 -0
- package/dist/commonjs/funcs/indexingDocumentsStatus.d.ts.map +1 -0
- package/dist/commonjs/funcs/indexingDocumentsStatus.js +116 -0
- package/dist/commonjs/funcs/indexingDocumentsStatus.js.map +1 -0
- package/dist/commonjs/funcs/indexingPeopleBulkIndex.d.ts +2 -4
- package/dist/commonjs/funcs/indexingPeopleBulkIndex.d.ts.map +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndex.js +4 -6
- package/dist/commonjs/funcs/indexingPeopleBulkIndex.js.map +1 -1
- package/dist/commonjs/funcs/indexingPeopleCount.d.ts +20 -0
- package/dist/commonjs/funcs/indexingPeopleCount.d.ts.map +1 -0
- package/dist/commonjs/funcs/indexingPeopleCount.js +116 -0
- package/dist/commonjs/funcs/indexingPeopleCount.js.map +1 -0
- package/dist/commonjs/funcs/indexingPeopleDebug.d.ts +18 -0
- package/dist/commonjs/funcs/indexingPeopleDebug.d.ts.map +1 -0
- package/dist/commonjs/funcs/indexingPeopleDebug.js +127 -0
- package/dist/commonjs/funcs/indexingPeopleDebug.js.map +1 -0
- package/dist/commonjs/funcs/indexingShortcutsUpload.d.ts +16 -0
- package/dist/commonjs/funcs/indexingShortcutsUpload.d.ts.map +1 -0
- package/dist/commonjs/funcs/{peoplePostApiIndexV1Bulkindexemployees.js → indexingShortcutsUpload.js} +8 -8
- package/dist/commonjs/funcs/indexingShortcutsUpload.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/components/collectionitem.js +2 -2
- package/dist/commonjs/models/components/collectionitem.js.map +1 -1
- package/dist/commonjs/models/components/documentmetadata.js +2 -2
- package/dist/commonjs/models/components/documentmetadata.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +1 -1
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -1
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/indexingshortcut.d.ts +72 -0
- package/dist/commonjs/models/components/indexingshortcut.d.ts.map +1 -0
- package/dist/commonjs/models/components/{indexemployeelistrequest.js → indexingshortcut.js} +35 -20
- package/dist/commonjs/models/components/indexingshortcut.js.map +1 -0
- package/dist/commonjs/models/components/shortcut.d.ts +77 -20
- package/dist/commonjs/models/components/shortcut.d.ts.map +1 -1
- package/dist/commonjs/models/components/shortcut.js +46 -10
- package/dist/commonjs/models/components/shortcut.js.map +1 -1
- package/dist/commonjs/models/components/structuredresult.js +2 -2
- package/dist/commonjs/models/components/structuredresult.js.map +1 -1
- package/dist/commonjs/models/components/uploadshortcutsrequest.d.ts +3 -3
- package/dist/commonjs/models/components/uploadshortcutsrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/uploadshortcutsrequest.js +3 -3
- package/dist/commonjs/models/components/uploadshortcutsrequest.js.map +1 -1
- package/dist/commonjs/react-query/clientAgentsRetrieveInputs.d.ts +24 -0
- package/dist/commonjs/react-query/clientAgentsRetrieveInputs.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientAgentsRetrieveInputs.js +47 -0
- package/dist/commonjs/react-query/clientAgentsRetrieveInputs.js.map +1 -0
- package/dist/commonjs/react-query/clientAgentsRun.d.ts +24 -0
- package/dist/commonjs/react-query/clientAgentsRun.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientAgentsRun.js +47 -0
- package/dist/commonjs/react-query/clientAgentsRun.js.map +1 -0
- package/dist/commonjs/react-query/clientChatDeleteFiles.d.ts +24 -0
- package/dist/commonjs/react-query/clientChatDeleteFiles.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientChatDeleteFiles.js +47 -0
- package/dist/commonjs/react-query/clientChatDeleteFiles.js.map +1 -0
- package/dist/commonjs/react-query/clientChatRetrieveApplication.d.ts +24 -0
- package/dist/commonjs/react-query/clientChatRetrieveApplication.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientChatRetrieveApplication.js +47 -0
- package/dist/commonjs/react-query/clientChatRetrieveApplication.js.map +1 -0
- package/dist/commonjs/react-query/clientChatRetrieveFiles.d.ts +24 -0
- package/dist/commonjs/react-query/clientChatRetrieveFiles.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientChatRetrieveFiles.js +47 -0
- package/dist/commonjs/react-query/clientChatRetrieveFiles.js.map +1 -0
- package/dist/commonjs/react-query/clientChatUploadFiles.d.ts +24 -0
- package/dist/commonjs/react-query/clientChatUploadFiles.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientChatUploadFiles.js +47 -0
- package/dist/commonjs/react-query/clientChatUploadFiles.js.map +1 -0
- package/dist/commonjs/react-query/clientCollectionsDeleteItem.d.ts +23 -0
- package/dist/commonjs/react-query/clientCollectionsDeleteItem.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientCollectionsDeleteItem.js +47 -0
- package/dist/commonjs/react-query/clientCollectionsDeleteItem.js.map +1 -0
- package/dist/commonjs/react-query/clientCollectionsUpdateItem.d.ts +23 -0
- package/dist/commonjs/react-query/clientCollectionsUpdateItem.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientCollectionsUpdateItem.js +47 -0
- package/dist/commonjs/react-query/clientCollectionsUpdateItem.js.map +1 -0
- package/dist/commonjs/react-query/clientDocumentsRetrievePermissions.d.ts +23 -0
- package/dist/commonjs/react-query/clientDocumentsRetrievePermissions.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientDocumentsRetrievePermissions.js +47 -0
- package/dist/commonjs/react-query/clientDocumentsRetrievePermissions.js.map +1 -0
- package/dist/commonjs/react-query/clientDocumentsSummarize.d.ts +23 -0
- package/dist/commonjs/react-query/clientDocumentsSummarize.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientDocumentsSummarize.js +47 -0
- package/dist/commonjs/react-query/clientDocumentsSummarize.js.map +1 -0
- package/dist/commonjs/react-query/clientSearchQueryAsAdmin.d.ts +23 -0
- package/dist/commonjs/react-query/clientSearchQueryAsAdmin.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientSearchQueryAsAdmin.js +47 -0
- package/dist/commonjs/react-query/clientSearchQueryAsAdmin.js.map +1 -0
- package/dist/commonjs/react-query/clientSearchRetrieveFeed.d.ts +23 -0
- package/dist/commonjs/react-query/clientSearchRetrieveFeed.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientSearchRetrieveFeed.js +47 -0
- package/dist/commonjs/react-query/clientSearchRetrieveFeed.js.map +1 -0
- package/dist/commonjs/react-query/clientShortcutsCreate.d.ts +23 -0
- package/dist/commonjs/react-query/clientShortcutsCreate.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientShortcutsCreate.js +47 -0
- package/dist/commonjs/react-query/clientShortcutsCreate.js.map +1 -0
- package/dist/commonjs/react-query/clientVerificationVerify.d.ts +23 -0
- package/dist/commonjs/react-query/clientVerificationVerify.d.ts.map +1 -0
- package/dist/commonjs/react-query/clientVerificationVerify.js +47 -0
- package/dist/commonjs/react-query/clientVerificationVerify.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +24 -25
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +24 -25
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/indexingDatasourceStatus.d.ts +25 -0
- package/dist/commonjs/react-query/indexingDatasourceStatus.d.ts.map +1 -0
- package/dist/commonjs/react-query/indexingDatasourceStatus.js +49 -0
- package/dist/commonjs/react-query/indexingDatasourceStatus.js.map +1 -0
- package/dist/commonjs/react-query/indexingDatasourcesRetrieveConfig.d.ts +23 -0
- package/dist/commonjs/react-query/indexingDatasourcesRetrieveConfig.d.ts.map +1 -0
- package/dist/commonjs/react-query/indexingDatasourcesRetrieveConfig.js +47 -0
- package/dist/commonjs/react-query/indexingDatasourcesRetrieveConfig.js.map +1 -0
- package/dist/commonjs/react-query/indexingDocumentsCheckAccess.d.ts +25 -0
- package/dist/commonjs/react-query/indexingDocumentsCheckAccess.d.ts.map +1 -0
- package/dist/commonjs/react-query/indexingDocumentsCheckAccess.js +49 -0
- package/dist/commonjs/react-query/indexingDocumentsCheckAccess.js.map +1 -0
- package/dist/commonjs/react-query/indexingDocumentsCount.d.ts +27 -0
- package/dist/commonjs/react-query/indexingDocumentsCount.d.ts.map +1 -0
- package/dist/commonjs/react-query/indexingDocumentsCount.js +51 -0
- package/dist/commonjs/react-query/indexingDocumentsCount.js.map +1 -0
- package/dist/commonjs/react-query/indexingDocumentsDebug.d.ts +26 -0
- package/dist/commonjs/react-query/indexingDocumentsDebug.d.ts.map +1 -0
- package/dist/commonjs/react-query/indexingDocumentsDebug.js +49 -0
- package/dist/commonjs/react-query/indexingDocumentsDebug.js.map +1 -0
- package/dist/commonjs/react-query/indexingDocumentsDebugMany.d.ts +26 -0
- package/dist/commonjs/react-query/indexingDocumentsDebugMany.d.ts.map +1 -0
- package/dist/commonjs/react-query/indexingDocumentsDebugMany.js +49 -0
- package/dist/commonjs/react-query/indexingDocumentsDebugMany.js.map +1 -0
- package/dist/commonjs/react-query/indexingDocumentsStatus.d.ts +27 -0
- package/dist/commonjs/react-query/indexingDocumentsStatus.d.ts.map +1 -0
- package/dist/commonjs/react-query/indexingDocumentsStatus.js +51 -0
- package/dist/commonjs/react-query/indexingDocumentsStatus.js.map +1 -0
- package/dist/commonjs/react-query/indexingPeopleBulkIndex.d.ts +2 -4
- package/dist/commonjs/react-query/indexingPeopleBulkIndex.d.ts.map +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndex.js +1 -3
- package/dist/commonjs/react-query/indexingPeopleBulkIndex.js.map +1 -1
- package/dist/commonjs/react-query/indexingPeopleCount.d.ts +27 -0
- package/dist/commonjs/react-query/indexingPeopleCount.d.ts.map +1 -0
- package/dist/commonjs/react-query/indexingPeopleCount.js +51 -0
- package/dist/commonjs/react-query/indexingPeopleCount.js.map +1 -0
- package/dist/commonjs/react-query/indexingPeopleDebug.d.ts +26 -0
- package/dist/commonjs/react-query/indexingPeopleDebug.d.ts.map +1 -0
- package/dist/commonjs/react-query/indexingPeopleDebug.js +49 -0
- package/dist/commonjs/react-query/indexingPeopleDebug.js.map +1 -0
- package/dist/commonjs/react-query/indexingShortcutsUpload.d.ts +23 -0
- package/dist/commonjs/react-query/indexingShortcutsUpload.d.ts.map +1 -0
- package/dist/commonjs/react-query/indexingShortcutsUpload.js +47 -0
- package/dist/commonjs/react-query/indexingShortcutsUpload.js.map +1 -0
- package/dist/commonjs/sdk/agents.d.ts +14 -3
- package/dist/commonjs/sdk/agents.d.ts.map +1 -1
- package/dist/commonjs/sdk/agents.js +19 -3
- package/dist/commonjs/sdk/agents.js.map +1 -1
- package/dist/commonjs/sdk/chat.d.ts +28 -6
- package/dist/commonjs/sdk/chat.d.ts.map +1 -1
- package/dist/commonjs/sdk/chat.js +40 -8
- package/dist/commonjs/sdk/chat.js.map +1 -1
- package/dist/commonjs/sdk/client.d.ts +2 -5
- package/dist/commonjs/sdk/client.d.ts.map +1 -1
- package/dist/commonjs/sdk/client.js +2 -6
- package/dist/commonjs/sdk/client.js.map +1 -1
- package/dist/commonjs/sdk/clientdocuments.d.ts +14 -3
- package/dist/commonjs/sdk/clientdocuments.d.ts.map +1 -1
- package/dist/commonjs/sdk/clientdocuments.js +19 -3
- package/dist/commonjs/sdk/clientdocuments.js.map +1 -1
- package/dist/commonjs/sdk/clientsearch.d.ts +14 -6
- package/dist/commonjs/sdk/clientsearch.d.ts.map +1 -1
- package/dist/commonjs/sdk/clientsearch.js +18 -6
- package/dist/commonjs/sdk/clientsearch.js.map +1 -1
- package/dist/commonjs/sdk/clientshortcuts.d.ts +7 -7
- package/dist/commonjs/sdk/clientshortcuts.d.ts.map +1 -1
- package/dist/commonjs/sdk/clientshortcuts.js +10 -10
- package/dist/commonjs/sdk/clientshortcuts.js.map +1 -1
- package/dist/commonjs/sdk/collections.d.ts +14 -3
- package/dist/commonjs/sdk/collections.d.ts.map +1 -1
- package/dist/commonjs/sdk/collections.js +20 -4
- package/dist/commonjs/sdk/collections.js.map +1 -1
- package/dist/commonjs/sdk/datasource.d.ts +0 -9
- package/dist/commonjs/sdk/datasource.d.ts.map +1 -1
- package/dist/commonjs/sdk/datasource.js +2 -14
- package/dist/commonjs/sdk/datasource.js.map +1 -1
- package/dist/commonjs/sdk/datasources.d.ts +7 -3
- package/dist/commonjs/sdk/datasources.d.ts.map +1 -1
- package/dist/commonjs/sdk/datasources.js +10 -4
- package/dist/commonjs/sdk/datasources.js.map +1 -1
- package/dist/commonjs/sdk/indexing.d.ts +8 -8
- package/dist/commonjs/sdk/indexing.d.ts.map +1 -1
- package/dist/commonjs/sdk/indexing.js +9 -9
- package/dist/commonjs/sdk/indexing.js.map +1 -1
- package/dist/commonjs/sdk/indexingdocuments.d.ts +49 -0
- package/dist/commonjs/sdk/indexingdocuments.d.ts.map +1 -1
- package/dist/commonjs/sdk/indexingdocuments.js +64 -0
- package/dist/commonjs/sdk/indexingdocuments.js.map +1 -1
- package/dist/commonjs/sdk/indexingshortcuts.d.ts +7 -0
- package/dist/commonjs/sdk/indexingshortcuts.d.ts.map +1 -1
- package/dist/commonjs/sdk/indexingshortcuts.js +10 -0
- package/dist/commonjs/sdk/indexingshortcuts.js.map +1 -1
- package/dist/commonjs/sdk/people.d.ts +63 -1
- package/dist/commonjs/sdk/people.d.ts.map +1 -1
- package/dist/commonjs/sdk/people.js +89 -3
- package/dist/commonjs/sdk/people.js.map +1 -1
- package/dist/commonjs/sdk/permissions.d.ts +89 -0
- package/dist/commonjs/sdk/permissions.d.ts.map +1 -0
- package/dist/commonjs/sdk/permissions.js +132 -0
- package/dist/commonjs/sdk/permissions.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +0 -9
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +0 -12
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/verification.d.ts +14 -0
- package/dist/commonjs/sdk/verification.d.ts.map +1 -1
- package/dist/commonjs/sdk/verification.js +22 -2
- package/dist/commonjs/sdk/verification.js.map +1 -1
- package/dist/esm/__tests__/activity.test.js +14 -0
- package/dist/esm/__tests__/activity.test.js.map +1 -1
- package/dist/esm/__tests__/adminsearch.test.d.ts +2 -0
- package/dist/esm/__tests__/adminsearch.test.d.ts.map +1 -0
- package/dist/esm/__tests__/adminsearch.test.js +228 -0
- package/dist/esm/__tests__/adminsearch.test.js.map +1 -0
- package/dist/esm/__tests__/agents.test.js +2 -2
- package/dist/esm/__tests__/agents.test.js.map +1 -1
- package/dist/esm/__tests__/announcements.test.js +1 -1
- package/dist/esm/__tests__/answers.test.js +15 -3
- package/dist/esm/__tests__/answers.test.js.map +1 -1
- package/dist/esm/__tests__/chat.test.js +1879 -244
- package/dist/esm/__tests__/chat.test.js.map +1 -1
- package/dist/esm/__tests__/clientdocuments.test.js +15 -1
- package/dist/esm/__tests__/clientdocuments.test.js.map +1 -1
- package/dist/esm/__tests__/clientsearch.test.d.ts +2 -0
- package/dist/esm/__tests__/clientsearch.test.d.ts.map +1 -0
- package/dist/esm/__tests__/clientsearch.test.js +385 -0
- package/dist/esm/__tests__/clientsearch.test.js.map +1 -0
- package/dist/esm/__tests__/clientshortcuts.test.js +17 -8
- package/dist/esm/__tests__/clientshortcuts.test.js.map +1 -1
- package/dist/esm/__tests__/collections.test.js +12 -9
- package/dist/esm/__tests__/collections.test.js.map +1 -1
- package/dist/esm/__tests__/datasource.test.d.ts +2 -0
- package/dist/esm/__tests__/datasource.test.d.ts.map +1 -0
- package/dist/esm/__tests__/datasource.test.js +8 -0
- package/dist/esm/__tests__/datasource.test.js.map +1 -0
- package/dist/esm/__tests__/datasources.test.js +1 -1
- package/dist/esm/__tests__/datasources.test.js.map +1 -1
- package/dist/esm/__tests__/indexingdocuments.test.js +42 -1
- package/dist/esm/__tests__/indexingdocuments.test.js.map +1 -1
- package/dist/esm/__tests__/indexingpeople.test.d.ts +2 -0
- package/dist/esm/__tests__/indexingpeople.test.d.ts.map +1 -0
- package/dist/esm/__tests__/indexingpeople.test.js +28 -0
- package/dist/esm/__tests__/indexingpeople.test.js.map +1 -0
- package/dist/esm/__tests__/insights.test.js +1 -2
- package/dist/esm/__tests__/insights.test.js.map +1 -1
- package/dist/esm/__tests__/messages.test.js +1 -2
- package/dist/esm/__tests__/messages.test.js.map +1 -1
- package/dist/esm/__tests__/search.test.js +0 -237
- package/dist/esm/__tests__/search.test.js.map +1 -1
- package/dist/esm/__tests__/verification.test.js +1 -1
- package/dist/esm/__tests__/verification.test.js.map +1 -1
- package/dist/{commonjs/funcs/peoplePostApiIndexV1Bulkindexemployees.d.ts → esm/funcs/clientAgentsRetrieveInputs.d.ts} +4 -4
- package/dist/esm/funcs/clientAgentsRetrieveInputs.d.ts.map +1 -0
- package/dist/esm/funcs/clientAgentsRetrieveInputs.js +87 -0
- package/dist/esm/funcs/clientAgentsRetrieveInputs.js.map +1 -0
- package/dist/esm/funcs/clientAgentsRun.d.ts +16 -0
- package/dist/esm/funcs/clientAgentsRun.d.ts.map +1 -0
- package/dist/esm/funcs/clientAgentsRun.js +85 -0
- package/dist/esm/funcs/clientAgentsRun.js.map +1 -0
- package/dist/esm/funcs/clientChatDeleteFiles.d.ts +16 -0
- package/dist/esm/funcs/clientChatDeleteFiles.d.ts.map +1 -0
- package/dist/esm/funcs/clientChatDeleteFiles.js +87 -0
- package/dist/esm/funcs/clientChatDeleteFiles.js.map +1 -0
- package/dist/esm/funcs/clientChatRetrieveApplication.d.ts +16 -0
- package/dist/esm/funcs/clientChatRetrieveApplication.d.ts.map +1 -0
- package/dist/esm/funcs/clientChatRetrieveApplication.js +87 -0
- package/dist/esm/funcs/clientChatRetrieveApplication.js.map +1 -0
- package/dist/esm/funcs/clientChatRetrieveFiles.d.ts +16 -0
- package/dist/esm/funcs/clientChatRetrieveFiles.d.ts.map +1 -0
- package/dist/esm/funcs/clientChatRetrieveFiles.js +87 -0
- package/dist/esm/funcs/clientChatRetrieveFiles.js.map +1 -0
- package/dist/esm/funcs/clientChatUploadFiles.d.ts +16 -0
- package/dist/esm/funcs/clientChatUploadFiles.d.ts.map +1 -0
- package/dist/esm/funcs/clientChatUploadFiles.js +85 -0
- package/dist/esm/funcs/clientChatUploadFiles.js.map +1 -0
- package/dist/esm/funcs/clientCollectionsDeleteItem.d.ts +16 -0
- package/dist/esm/funcs/clientCollectionsDeleteItem.d.ts.map +1 -0
- package/dist/esm/funcs/clientCollectionsDeleteItem.js +76 -0
- package/dist/esm/funcs/clientCollectionsDeleteItem.js.map +1 -0
- package/dist/esm/funcs/clientCollectionsUpdateItem.d.ts +16 -0
- package/dist/esm/funcs/clientCollectionsUpdateItem.d.ts.map +1 -0
- package/dist/esm/funcs/clientCollectionsUpdateItem.js +76 -0
- package/dist/esm/funcs/clientCollectionsUpdateItem.js.map +1 -0
- package/dist/esm/funcs/clientDocumentsRetrievePermissions.d.ts +16 -0
- package/dist/esm/funcs/clientDocumentsRetrievePermissions.d.ts.map +1 -0
- package/dist/esm/funcs/clientDocumentsRetrievePermissions.js +76 -0
- package/dist/esm/funcs/clientDocumentsRetrievePermissions.js.map +1 -0
- package/dist/esm/funcs/clientDocumentsSummarize.d.ts +16 -0
- package/dist/esm/funcs/clientDocumentsSummarize.d.ts.map +1 -0
- package/dist/esm/funcs/clientDocumentsSummarize.js +76 -0
- package/dist/esm/funcs/clientDocumentsSummarize.js.map +1 -0
- package/dist/esm/funcs/clientSearchQueryAsAdmin.d.ts +17 -0
- package/dist/esm/funcs/clientSearchQueryAsAdmin.d.ts.map +1 -0
- package/dist/esm/funcs/clientSearchQueryAsAdmin.js +82 -0
- package/dist/esm/funcs/clientSearchQueryAsAdmin.js.map +1 -0
- package/dist/esm/funcs/clientSearchRetrieveFeed.d.ts +16 -0
- package/dist/esm/funcs/clientSearchRetrieveFeed.d.ts.map +1 -0
- package/dist/esm/funcs/clientSearchRetrieveFeed.js +76 -0
- package/dist/esm/funcs/clientSearchRetrieveFeed.js.map +1 -0
- package/dist/esm/funcs/clientShortcutsCreate.d.ts +16 -0
- package/dist/esm/funcs/clientShortcutsCreate.d.ts.map +1 -0
- package/dist/esm/funcs/clientShortcutsCreate.js +76 -0
- package/dist/esm/funcs/clientShortcutsCreate.js.map +1 -0
- package/dist/esm/funcs/clientVerificationVerify.d.ts +16 -0
- package/dist/esm/funcs/clientVerificationVerify.d.ts.map +1 -0
- package/dist/esm/funcs/clientVerificationVerify.js +76 -0
- package/dist/esm/funcs/clientVerificationVerify.js.map +1 -0
- package/dist/esm/funcs/indexingDatasourceStatus.d.ts +18 -0
- package/dist/esm/funcs/indexingDatasourceStatus.d.ts.map +1 -0
- package/dist/esm/funcs/indexingDatasourceStatus.js +90 -0
- package/dist/esm/funcs/indexingDatasourceStatus.js.map +1 -0
- package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.d.ts +16 -0
- package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.d.ts.map +1 -0
- package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.js +76 -0
- package/dist/esm/funcs/indexingDatasourcesRetrieveConfig.js.map +1 -0
- package/dist/esm/funcs/indexingDocumentsCheckAccess.d.ts +18 -0
- package/dist/esm/funcs/indexingDocumentsCheckAccess.d.ts.map +1 -0
- package/dist/esm/funcs/indexingDocumentsCheckAccess.js +78 -0
- package/dist/esm/funcs/indexingDocumentsCheckAccess.js.map +1 -0
- package/dist/esm/funcs/indexingDocumentsCount.d.ts +20 -0
- package/dist/esm/funcs/indexingDocumentsCount.d.ts.map +1 -0
- package/dist/esm/funcs/indexingDocumentsCount.js +80 -0
- package/dist/esm/funcs/indexingDocumentsCount.js.map +1 -0
- package/dist/esm/funcs/indexingDocumentsDebug.d.ts +18 -0
- package/dist/esm/funcs/indexingDocumentsDebug.d.ts.map +1 -0
- package/dist/esm/funcs/indexingDocumentsDebug.js +94 -0
- package/dist/esm/funcs/indexingDocumentsDebug.js.map +1 -0
- package/dist/esm/funcs/indexingDocumentsDebugMany.d.ts +18 -0
- package/dist/esm/funcs/indexingDocumentsDebugMany.d.ts.map +1 -0
- package/dist/esm/funcs/indexingDocumentsDebugMany.js +94 -0
- package/dist/esm/funcs/indexingDocumentsDebugMany.js.map +1 -0
- package/dist/esm/funcs/indexingDocumentsStatus.d.ts +20 -0
- package/dist/esm/funcs/indexingDocumentsStatus.d.ts.map +1 -0
- package/dist/esm/funcs/indexingDocumentsStatus.js +80 -0
- package/dist/esm/funcs/indexingDocumentsStatus.js.map +1 -0
- package/dist/esm/funcs/indexingPeopleBulkIndex.d.ts +2 -4
- package/dist/esm/funcs/indexingPeopleBulkIndex.d.ts.map +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndex.js +4 -6
- package/dist/esm/funcs/indexingPeopleBulkIndex.js.map +1 -1
- package/dist/esm/funcs/indexingPeopleCount.d.ts +20 -0
- package/dist/esm/funcs/indexingPeopleCount.d.ts.map +1 -0
- package/dist/esm/funcs/indexingPeopleCount.js +80 -0
- package/dist/esm/funcs/indexingPeopleCount.js.map +1 -0
- package/dist/esm/funcs/indexingPeopleDebug.d.ts +18 -0
- package/dist/esm/funcs/indexingPeopleDebug.d.ts.map +1 -0
- package/dist/esm/funcs/indexingPeopleDebug.js +91 -0
- package/dist/esm/funcs/indexingPeopleDebug.js.map +1 -0
- package/dist/esm/funcs/indexingShortcutsUpload.d.ts +16 -0
- package/dist/esm/funcs/indexingShortcutsUpload.d.ts.map +1 -0
- package/dist/esm/funcs/{peoplePostApiIndexV1Bulkindexemployees.js → indexingShortcutsUpload.js} +7 -7
- package/dist/esm/funcs/indexingShortcutsUpload.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/components/collectionitem.js +2 -2
- package/dist/esm/models/components/collectionitem.js.map +1 -1
- package/dist/esm/models/components/documentmetadata.js +2 -2
- package/dist/esm/models/components/documentmetadata.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +1 -1
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -1
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/indexingshortcut.d.ts +72 -0
- package/dist/esm/models/components/indexingshortcut.d.ts.map +1 -0
- package/dist/esm/models/components/indexingshortcut.js +47 -0
- package/dist/esm/models/components/indexingshortcut.js.map +1 -0
- package/dist/esm/models/components/shortcut.d.ts +77 -20
- package/dist/esm/models/components/shortcut.d.ts.map +1 -1
- package/dist/esm/models/components/shortcut.js +46 -10
- package/dist/esm/models/components/shortcut.js.map +1 -1
- package/dist/esm/models/components/structuredresult.js +2 -2
- package/dist/esm/models/components/structuredresult.js.map +1 -1
- package/dist/esm/models/components/uploadshortcutsrequest.d.ts +3 -3
- package/dist/esm/models/components/uploadshortcutsrequest.d.ts.map +1 -1
- package/dist/esm/models/components/uploadshortcutsrequest.js +3 -3
- package/dist/esm/models/components/uploadshortcutsrequest.js.map +1 -1
- package/dist/esm/react-query/clientAgentsRetrieveInputs.d.ts +24 -0
- package/dist/esm/react-query/clientAgentsRetrieveInputs.d.ts.map +1 -0
- package/dist/esm/react-query/clientAgentsRetrieveInputs.js +42 -0
- package/dist/esm/react-query/clientAgentsRetrieveInputs.js.map +1 -0
- package/dist/esm/react-query/clientAgentsRun.d.ts +24 -0
- package/dist/esm/react-query/clientAgentsRun.d.ts.map +1 -0
- package/dist/esm/react-query/clientAgentsRun.js +42 -0
- package/dist/esm/react-query/clientAgentsRun.js.map +1 -0
- package/dist/esm/react-query/clientChatDeleteFiles.d.ts +24 -0
- package/dist/esm/react-query/clientChatDeleteFiles.d.ts.map +1 -0
- package/dist/esm/react-query/clientChatDeleteFiles.js +42 -0
- package/dist/esm/react-query/clientChatDeleteFiles.js.map +1 -0
- package/dist/esm/react-query/clientChatRetrieveApplication.d.ts +24 -0
- package/dist/esm/react-query/clientChatRetrieveApplication.d.ts.map +1 -0
- package/dist/esm/react-query/clientChatRetrieveApplication.js +42 -0
- package/dist/esm/react-query/clientChatRetrieveApplication.js.map +1 -0
- package/dist/esm/react-query/clientChatRetrieveFiles.d.ts +24 -0
- package/dist/esm/react-query/clientChatRetrieveFiles.d.ts.map +1 -0
- package/dist/esm/react-query/clientChatRetrieveFiles.js +42 -0
- package/dist/esm/react-query/clientChatRetrieveFiles.js.map +1 -0
- package/dist/esm/react-query/clientChatUploadFiles.d.ts +24 -0
- package/dist/esm/react-query/clientChatUploadFiles.d.ts.map +1 -0
- package/dist/esm/react-query/clientChatUploadFiles.js +42 -0
- package/dist/esm/react-query/clientChatUploadFiles.js.map +1 -0
- package/dist/esm/react-query/clientCollectionsDeleteItem.d.ts +23 -0
- package/dist/esm/react-query/clientCollectionsDeleteItem.d.ts.map +1 -0
- package/dist/esm/react-query/clientCollectionsDeleteItem.js +42 -0
- package/dist/esm/react-query/clientCollectionsDeleteItem.js.map +1 -0
- package/dist/esm/react-query/clientCollectionsUpdateItem.d.ts +23 -0
- package/dist/esm/react-query/clientCollectionsUpdateItem.d.ts.map +1 -0
- package/dist/esm/react-query/clientCollectionsUpdateItem.js +42 -0
- package/dist/esm/react-query/clientCollectionsUpdateItem.js.map +1 -0
- package/dist/esm/react-query/clientDocumentsRetrievePermissions.d.ts +23 -0
- package/dist/esm/react-query/clientDocumentsRetrievePermissions.d.ts.map +1 -0
- package/dist/esm/react-query/clientDocumentsRetrievePermissions.js +42 -0
- package/dist/esm/react-query/clientDocumentsRetrievePermissions.js.map +1 -0
- package/dist/esm/react-query/clientDocumentsSummarize.d.ts +23 -0
- package/dist/esm/react-query/clientDocumentsSummarize.d.ts.map +1 -0
- package/dist/esm/react-query/clientDocumentsSummarize.js +42 -0
- package/dist/esm/react-query/clientDocumentsSummarize.js.map +1 -0
- package/dist/esm/react-query/clientSearchQueryAsAdmin.d.ts +23 -0
- package/dist/esm/react-query/clientSearchQueryAsAdmin.d.ts.map +1 -0
- package/dist/esm/react-query/clientSearchQueryAsAdmin.js +42 -0
- package/dist/esm/react-query/clientSearchQueryAsAdmin.js.map +1 -0
- package/dist/esm/react-query/clientSearchRetrieveFeed.d.ts +23 -0
- package/dist/esm/react-query/clientSearchRetrieveFeed.d.ts.map +1 -0
- package/dist/esm/react-query/clientSearchRetrieveFeed.js +42 -0
- package/dist/esm/react-query/clientSearchRetrieveFeed.js.map +1 -0
- package/dist/esm/react-query/clientShortcutsCreate.d.ts +23 -0
- package/dist/esm/react-query/clientShortcutsCreate.d.ts.map +1 -0
- package/dist/esm/react-query/clientShortcutsCreate.js +42 -0
- package/dist/esm/react-query/clientShortcutsCreate.js.map +1 -0
- package/dist/esm/react-query/clientVerificationVerify.d.ts +23 -0
- package/dist/esm/react-query/clientVerificationVerify.d.ts.map +1 -0
- package/dist/esm/react-query/clientVerificationVerify.js +42 -0
- package/dist/esm/react-query/clientVerificationVerify.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +24 -25
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +24 -25
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/indexingDatasourceStatus.d.ts +25 -0
- package/dist/esm/react-query/indexingDatasourceStatus.d.ts.map +1 -0
- package/dist/esm/react-query/indexingDatasourceStatus.js +44 -0
- package/dist/esm/react-query/indexingDatasourceStatus.js.map +1 -0
- package/dist/esm/react-query/indexingDatasourcesRetrieveConfig.d.ts +23 -0
- package/dist/esm/react-query/indexingDatasourcesRetrieveConfig.d.ts.map +1 -0
- package/dist/esm/react-query/indexingDatasourcesRetrieveConfig.js +42 -0
- package/dist/esm/react-query/indexingDatasourcesRetrieveConfig.js.map +1 -0
- package/dist/esm/react-query/indexingDocumentsCheckAccess.d.ts +25 -0
- package/dist/esm/react-query/indexingDocumentsCheckAccess.d.ts.map +1 -0
- package/dist/esm/react-query/indexingDocumentsCheckAccess.js +44 -0
- package/dist/esm/react-query/indexingDocumentsCheckAccess.js.map +1 -0
- package/dist/esm/react-query/indexingDocumentsCount.d.ts +27 -0
- package/dist/esm/react-query/indexingDocumentsCount.d.ts.map +1 -0
- package/dist/esm/react-query/indexingDocumentsCount.js +46 -0
- package/dist/esm/react-query/indexingDocumentsCount.js.map +1 -0
- package/dist/esm/react-query/indexingDocumentsDebug.d.ts +26 -0
- package/dist/esm/react-query/indexingDocumentsDebug.d.ts.map +1 -0
- package/dist/esm/react-query/indexingDocumentsDebug.js +44 -0
- package/dist/esm/react-query/indexingDocumentsDebug.js.map +1 -0
- package/dist/esm/react-query/indexingDocumentsDebugMany.d.ts +26 -0
- package/dist/esm/react-query/indexingDocumentsDebugMany.d.ts.map +1 -0
- package/dist/esm/react-query/indexingDocumentsDebugMany.js +44 -0
- package/dist/esm/react-query/indexingDocumentsDebugMany.js.map +1 -0
- package/dist/esm/react-query/indexingDocumentsStatus.d.ts +27 -0
- package/dist/esm/react-query/indexingDocumentsStatus.d.ts.map +1 -0
- package/dist/esm/react-query/indexingDocumentsStatus.js +46 -0
- package/dist/esm/react-query/indexingDocumentsStatus.js.map +1 -0
- package/dist/esm/react-query/indexingPeopleBulkIndex.d.ts +2 -4
- package/dist/esm/react-query/indexingPeopleBulkIndex.d.ts.map +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndex.js +1 -3
- package/dist/esm/react-query/indexingPeopleBulkIndex.js.map +1 -1
- package/dist/esm/react-query/indexingPeopleCount.d.ts +27 -0
- package/dist/esm/react-query/indexingPeopleCount.d.ts.map +1 -0
- package/dist/esm/react-query/indexingPeopleCount.js +46 -0
- package/dist/esm/react-query/indexingPeopleCount.js.map +1 -0
- package/dist/esm/react-query/indexingPeopleDebug.d.ts +26 -0
- package/dist/esm/react-query/indexingPeopleDebug.d.ts.map +1 -0
- package/dist/esm/react-query/indexingPeopleDebug.js +44 -0
- package/dist/esm/react-query/indexingPeopleDebug.js.map +1 -0
- package/dist/esm/react-query/indexingShortcutsUpload.d.ts +23 -0
- package/dist/esm/react-query/indexingShortcutsUpload.d.ts.map +1 -0
- package/dist/esm/react-query/indexingShortcutsUpload.js +42 -0
- package/dist/esm/react-query/indexingShortcutsUpload.js.map +1 -0
- package/dist/esm/sdk/agents.d.ts +14 -3
- package/dist/esm/sdk/agents.d.ts.map +1 -1
- package/dist/esm/sdk/agents.js +19 -3
- package/dist/esm/sdk/agents.js.map +1 -1
- package/dist/esm/sdk/chat.d.ts +28 -6
- package/dist/esm/sdk/chat.d.ts.map +1 -1
- package/dist/esm/sdk/chat.js +40 -8
- package/dist/esm/sdk/chat.js.map +1 -1
- package/dist/esm/sdk/client.d.ts +2 -5
- package/dist/esm/sdk/client.d.ts.map +1 -1
- package/dist/esm/sdk/client.js +2 -6
- package/dist/esm/sdk/client.js.map +1 -1
- package/dist/esm/sdk/clientdocuments.d.ts +14 -3
- package/dist/esm/sdk/clientdocuments.d.ts.map +1 -1
- package/dist/esm/sdk/clientdocuments.js +19 -3
- package/dist/esm/sdk/clientdocuments.js.map +1 -1
- package/dist/esm/sdk/clientsearch.d.ts +14 -6
- package/dist/esm/sdk/clientsearch.d.ts.map +1 -1
- package/dist/esm/sdk/clientsearch.js +18 -6
- package/dist/esm/sdk/clientsearch.js.map +1 -1
- package/dist/esm/sdk/clientshortcuts.d.ts +7 -7
- package/dist/esm/sdk/clientshortcuts.d.ts.map +1 -1
- package/dist/esm/sdk/clientshortcuts.js +10 -10
- package/dist/esm/sdk/clientshortcuts.js.map +1 -1
- package/dist/esm/sdk/collections.d.ts +14 -3
- package/dist/esm/sdk/collections.d.ts.map +1 -1
- package/dist/esm/sdk/collections.js +20 -4
- package/dist/esm/sdk/collections.js.map +1 -1
- package/dist/esm/sdk/datasource.d.ts +0 -9
- package/dist/esm/sdk/datasource.d.ts.map +1 -1
- package/dist/esm/sdk/datasource.js +2 -14
- package/dist/esm/sdk/datasource.js.map +1 -1
- package/dist/esm/sdk/datasources.d.ts +7 -3
- package/dist/esm/sdk/datasources.d.ts.map +1 -1
- package/dist/esm/sdk/datasources.js +10 -4
- package/dist/esm/sdk/datasources.js.map +1 -1
- package/dist/esm/sdk/indexing.d.ts +8 -8
- package/dist/esm/sdk/indexing.d.ts.map +1 -1
- package/dist/esm/sdk/indexing.js +9 -9
- package/dist/esm/sdk/indexing.js.map +1 -1
- package/dist/esm/sdk/indexingdocuments.d.ts +49 -0
- package/dist/esm/sdk/indexingdocuments.d.ts.map +1 -1
- package/dist/esm/sdk/indexingdocuments.js +64 -0
- package/dist/esm/sdk/indexingdocuments.js.map +1 -1
- package/dist/esm/sdk/indexingshortcuts.d.ts +7 -0
- package/dist/esm/sdk/indexingshortcuts.d.ts.map +1 -1
- package/dist/esm/sdk/indexingshortcuts.js +10 -0
- package/dist/esm/sdk/indexingshortcuts.js.map +1 -1
- package/dist/esm/sdk/people.d.ts +63 -1
- package/dist/esm/sdk/people.d.ts.map +1 -1
- package/dist/esm/sdk/people.js +89 -3
- package/dist/esm/sdk/people.js.map +1 -1
- package/dist/esm/sdk/permissions.d.ts +89 -0
- package/dist/esm/sdk/permissions.d.ts.map +1 -0
- package/dist/esm/sdk/permissions.js +128 -0
- package/dist/esm/sdk/permissions.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +0 -9
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +0 -12
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/verification.d.ts +14 -0
- package/dist/esm/sdk/verification.d.ts.map +1 -1
- package/dist/esm/sdk/verification.js +22 -2
- package/dist/esm/sdk/verification.js.map +1 -1
- package/docs/sdks/agents/README.md +182 -0
- package/docs/sdks/announcements/README.md +2 -2
- package/docs/sdks/answers/README.md +30 -6
- package/docs/sdks/chat/README.md +382 -0
- package/docs/sdks/clientdocuments/README.md +188 -0
- package/docs/sdks/clientsearch/README.md +1052 -83
- package/docs/sdks/clientshortcuts/README.md +248 -120
- package/docs/sdks/collections/README.md +210 -12
- package/docs/sdks/datasource/README.md +6 -6
- package/docs/sdks/datasources/README.md +94 -0
- package/docs/sdks/indexingdocuments/README.md +523 -0
- package/docs/sdks/indexingshortcuts/README.md +106 -0
- package/docs/sdks/insights/README.md +2 -4
- package/docs/sdks/messages/README.md +2 -4
- package/docs/sdks/people/README.md +838 -10
- package/docs/sdks/permissions/README.md +1208 -0
- package/docs/sdks/verification/README.md +190 -6
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/activity.test.ts +17 -0
- package/src/__tests__/adminsearch.test.ts +231 -0
- package/src/__tests__/agents.test.ts +2 -2
- package/src/__tests__/announcements.test.ts +1 -1
- package/src/__tests__/answers.test.ts +15 -3
- package/src/__tests__/chat.test.ts +1914 -267
- package/src/__tests__/clientdocuments.test.ts +18 -1
- package/src/__tests__/clientsearch.test.ts +394 -0
- package/src/__tests__/clientshortcuts.test.ts +17 -8
- package/src/__tests__/collections.test.ts +12 -9
- package/src/__tests__/datasource.test.ts +11 -0
- package/src/__tests__/datasources.test.ts +1 -1
- package/src/__tests__/indexingdocuments.test.ts +57 -1
- package/src/__tests__/indexingpeople.test.ts +38 -0
- package/src/__tests__/insights.test.ts +1 -2
- package/src/__tests__/messages.test.ts +1 -2
- package/src/__tests__/search.test.ts +0 -249
- package/src/__tests__/verification.test.ts +1 -1
- package/src/funcs/clientAgentsRetrieveInputs.ts +170 -0
- package/src/funcs/clientAgentsRun.ts +168 -0
- package/src/funcs/clientChatDeleteFiles.ts +171 -0
- package/src/funcs/clientChatRetrieveApplication.ts +170 -0
- package/src/funcs/clientChatRetrieveFiles.ts +170 -0
- package/src/funcs/clientChatUploadFiles.ts +169 -0
- package/src/funcs/clientCollectionsDeleteItem.ts +155 -0
- package/src/funcs/clientCollectionsUpdateItem.ts +154 -0
- package/src/funcs/clientDocumentsRetrievePermissions.ts +154 -0
- package/src/funcs/clientDocumentsSummarize.ts +154 -0
- package/src/funcs/clientSearchQueryAsAdmin.ts +165 -0
- package/src/funcs/clientSearchRetrieveFeed.ts +154 -0
- package/src/funcs/clientShortcutsCreate.ts +154 -0
- package/src/funcs/clientVerificationVerify.ts +154 -0
- package/src/funcs/indexingDatasourceStatus.ts +173 -0
- package/src/funcs/indexingDatasourcesRetrieveConfig.ts +155 -0
- package/src/funcs/indexingDocumentsCheckAccess.ts +157 -0
- package/src/funcs/indexingDocumentsCount.ts +158 -0
- package/src/funcs/indexingDocumentsDebug.ts +180 -0
- package/src/funcs/indexingDocumentsDebugMany.ts +180 -0
- package/src/funcs/indexingDocumentsStatus.ts +158 -0
- package/src/funcs/indexingPeopleBulkIndex.ts +6 -8
- package/src/funcs/indexingPeopleCount.ts +158 -0
- package/src/funcs/indexingPeopleDebug.ts +177 -0
- package/src/funcs/{peoplePostApiIndexV1Bulkindexemployees.ts → indexingShortcutsUpload.ts} +8 -8
- package/src/lib/config.ts +2 -2
- package/src/models/components/collectionitem.ts +2 -2
- package/src/models/components/documentmetadata.ts +2 -2
- package/src/models/components/index.ts +1 -1
- package/src/models/components/indexingshortcut.ts +125 -0
- package/src/models/components/shortcut.ts +139 -30
- package/src/models/components/structuredresult.ts +2 -2
- package/src/models/components/uploadshortcutsrequest.ts +9 -9
- package/src/react-query/clientAgentsRetrieveInputs.ts +92 -0
- package/src/react-query/clientAgentsRun.ts +91 -0
- package/src/react-query/clientChatDeleteFiles.ts +91 -0
- package/src/react-query/clientChatRetrieveApplication.ts +92 -0
- package/src/react-query/clientChatRetrieveFiles.ts +92 -0
- package/src/react-query/clientChatUploadFiles.ts +92 -0
- package/src/react-query/clientCollectionsDeleteItem.ts +89 -0
- package/src/react-query/clientCollectionsUpdateItem.ts +89 -0
- package/src/react-query/clientDocumentsRetrievePermissions.ts +89 -0
- package/src/react-query/clientDocumentsSummarize.ts +88 -0
- package/src/react-query/clientSearchQueryAsAdmin.ts +88 -0
- package/src/react-query/clientSearchRetrieveFeed.ts +88 -0
- package/src/react-query/clientShortcutsCreate.ts +89 -0
- package/src/react-query/clientVerificationVerify.ts +88 -0
- package/src/react-query/index.ts +24 -25
- package/src/react-query/indexingDatasourceStatus.ts +91 -0
- package/src/react-query/indexingDatasourcesRetrieveConfig.ts +89 -0
- package/src/react-query/indexingDocumentsCheckAccess.ts +91 -0
- package/src/react-query/indexingDocumentsCount.ts +93 -0
- package/src/react-query/indexingDocumentsDebug.ts +94 -0
- package/src/react-query/indexingDocumentsDebugMany.ts +94 -0
- package/src/react-query/indexingDocumentsStatus.ts +93 -0
- package/src/react-query/indexingPeopleBulkIndex.ts +2 -4
- package/src/react-query/indexingPeopleCount.ts +92 -0
- package/src/react-query/indexingPeopleDebug.ts +93 -0
- package/src/react-query/indexingShortcutsUpload.ts +88 -0
- package/src/sdk/agents.ts +38 -4
- package/src/sdk/chat.ts +80 -12
- package/src/sdk/client.ts +4 -10
- package/src/sdk/clientdocuments.ts +34 -4
- package/src/sdk/clientsearch.ts +32 -8
- package/src/sdk/clientshortcuts.ts +18 -18
- package/src/sdk/collections.ts +36 -6
- package/src/sdk/datasource.ts +2 -20
- package/src/sdk/datasources.ts +18 -6
- package/src/sdk/indexing.ts +14 -14
- package/src/sdk/indexingdocuments.ts +108 -0
- package/src/sdk/indexingshortcuts.ts +18 -0
- package/src/sdk/people.ts +153 -3
- package/src/sdk/permissions.ts +225 -0
- package/src/sdk/sdk.ts +0 -18
- package/src/sdk/verification.ts +38 -2
- package/dist/commonjs/__tests__/activities.test.d.ts +0 -2
- package/dist/commonjs/__tests__/activities.test.d.ts.map +0 -1
- package/dist/commonjs/__tests__/activities.test.js +0 -23
- package/dist/commonjs/__tests__/activities.test.js.map +0 -1
- package/dist/commonjs/__tests__/people.test.d.ts +0 -2
- package/dist/commonjs/__tests__/people.test.d.ts.map +0 -1
- package/dist/commonjs/__tests__/people.test.js +0 -18
- package/dist/commonjs/__tests__/people.test.js.map +0 -1
- package/dist/commonjs/__tests__/summarize.test.d.ts +0 -2
- package/dist/commonjs/__tests__/summarize.test.d.ts.map +0 -1
- package/dist/commonjs/__tests__/summarize.test.js +0 -24
- package/dist/commonjs/__tests__/summarize.test.js.map +0 -1
- package/dist/commonjs/__tests__/troubleshooting.test.d.ts +0 -2
- package/dist/commonjs/__tests__/troubleshooting.test.d.ts.map +0 -1
- package/dist/commonjs/__tests__/troubleshooting.test.js +0 -65
- package/dist/commonjs/__tests__/troubleshooting.test.js.map +0 -1
- package/dist/commonjs/funcs/peoplePostApiIndexV1Bulkindexemployees.d.ts.map +0 -1
- package/dist/commonjs/funcs/peoplePostApiIndexV1Bulkindexemployees.js.map +0 -1
- package/dist/commonjs/models/components/indexemployeelistrequest.d.ts +0 -36
- package/dist/commonjs/models/components/indexemployeelistrequest.d.ts.map +0 -1
- package/dist/commonjs/models/components/indexemployeelistrequest.js.map +0 -1
- package/dist/commonjs/react-query/peoplePostApiIndexV1Bulkindexemployees.d.ts +0 -23
- package/dist/commonjs/react-query/peoplePostApiIndexV1Bulkindexemployees.d.ts.map +0 -1
- package/dist/commonjs/react-query/peoplePostApiIndexV1Bulkindexemployees.js +0 -51
- package/dist/commonjs/react-query/peoplePostApiIndexV1Bulkindexemployees.js.map +0 -1
- package/dist/commonjs/sdk/admin.d.ts +0 -12
- package/dist/commonjs/sdk/admin.d.ts.map +0 -1
- package/dist/commonjs/sdk/admin.js +0 -22
- package/dist/commonjs/sdk/admin.js.map +0 -1
- package/dist/commonjs/sdk/indexingpeople.d.ts +0 -56
- package/dist/commonjs/sdk/indexingpeople.d.ts.map +0 -1
- package/dist/commonjs/sdk/indexingpeople.js +0 -84
- package/dist/commonjs/sdk/indexingpeople.js.map +0 -1
- package/dist/esm/__tests__/activities.test.d.ts +0 -2
- package/dist/esm/__tests__/activities.test.d.ts.map +0 -1
- package/dist/esm/__tests__/activities.test.js +0 -21
- package/dist/esm/__tests__/activities.test.js.map +0 -1
- package/dist/esm/__tests__/people.test.d.ts +0 -2
- package/dist/esm/__tests__/people.test.d.ts.map +0 -1
- package/dist/esm/__tests__/people.test.js +0 -16
- package/dist/esm/__tests__/people.test.js.map +0 -1
- package/dist/esm/__tests__/summarize.test.d.ts +0 -2
- package/dist/esm/__tests__/summarize.test.d.ts.map +0 -1
- package/dist/esm/__tests__/summarize.test.js +0 -22
- package/dist/esm/__tests__/summarize.test.js.map +0 -1
- package/dist/esm/__tests__/troubleshooting.test.d.ts +0 -2
- package/dist/esm/__tests__/troubleshooting.test.d.ts.map +0 -1
- package/dist/esm/__tests__/troubleshooting.test.js +0 -63
- package/dist/esm/__tests__/troubleshooting.test.js.map +0 -1
- package/dist/esm/funcs/peoplePostApiIndexV1Bulkindexemployees.d.ts.map +0 -1
- package/dist/esm/funcs/peoplePostApiIndexV1Bulkindexemployees.js.map +0 -1
- package/dist/esm/models/components/indexemployeelistrequest.d.ts +0 -36
- package/dist/esm/models/components/indexemployeelistrequest.d.ts.map +0 -1
- package/dist/esm/models/components/indexemployeelistrequest.js +0 -32
- package/dist/esm/models/components/indexemployeelistrequest.js.map +0 -1
- package/dist/esm/react-query/peoplePostApiIndexV1Bulkindexemployees.d.ts +0 -23
- package/dist/esm/react-query/peoplePostApiIndexV1Bulkindexemployees.d.ts.map +0 -1
- package/dist/esm/react-query/peoplePostApiIndexV1Bulkindexemployees.js +0 -46
- package/dist/esm/react-query/peoplePostApiIndexV1Bulkindexemployees.js.map +0 -1
- package/dist/esm/sdk/admin.d.ts +0 -12
- package/dist/esm/sdk/admin.d.ts.map +0 -1
- package/dist/esm/sdk/admin.js +0 -18
- package/dist/esm/sdk/admin.js.map +0 -1
- package/dist/esm/sdk/indexingpeople.d.ts +0 -56
- package/dist/esm/sdk/indexingpeople.d.ts.map +0 -1
- package/dist/esm/sdk/indexingpeople.js +0 -80
- package/dist/esm/sdk/indexingpeople.js.map +0 -1
- package/docs/sdks/admin/README.md +0 -160
- package/docs/sdks/indexingpeople/README.md +0 -807
- package/src/__tests__/activities.test.ts +0 -24
- package/src/__tests__/people.test.ts +0 -21
- package/src/__tests__/summarize.test.ts +0 -25
- package/src/__tests__/troubleshooting.test.ts +0 -86
- package/src/models/components/indexemployeelistrequest.ts +0 -78
- package/src/react-query/peoplePostApiIndexV1Bulkindexemployees.ts +0 -92
- package/src/sdk/admin.ts +0 -27
- package/src/sdk/indexingpeople.ts +0 -135
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import { indexingDocumentsAddOrUpdate } from "../funcs/indexingDocumentsAddOrUpdate.js";
|
|
6
6
|
import { indexingDocumentsBulkIndex } from "../funcs/indexingDocumentsBulkIndex.js";
|
|
7
|
+
import { indexingDocumentsCheckAccess } from "../funcs/indexingDocumentsCheckAccess.js";
|
|
8
|
+
import { indexingDocumentsCount } from "../funcs/indexingDocumentsCount.js";
|
|
9
|
+
import { indexingDocumentsDebug } from "../funcs/indexingDocumentsDebug.js";
|
|
10
|
+
import { indexingDocumentsDebugMany } from "../funcs/indexingDocumentsDebugMany.js";
|
|
7
11
|
import { indexingDocumentsDelete } from "../funcs/indexingDocumentsDelete.js";
|
|
8
12
|
import { indexingDocumentsIndex } from "../funcs/indexingDocumentsIndex.js";
|
|
9
13
|
import { indexingDocumentsProcessAll } from "../funcs/indexingDocumentsProcessAll.js";
|
|
14
|
+
import { indexingDocumentsStatus } from "../funcs/indexingDocumentsStatus.js";
|
|
10
15
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
16
|
import * as components from "../models/components/index.js";
|
|
12
17
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -106,4 +111,107 @@ export class IndexingDocuments extends ClientSDK {
|
|
|
106
111
|
options,
|
|
107
112
|
));
|
|
108
113
|
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Beta: Get document information
|
|
117
|
+
*
|
|
118
|
+
* @remarks
|
|
119
|
+
* Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
120
|
+
*
|
|
121
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
|
|
122
|
+
*/
|
|
123
|
+
async debug(
|
|
124
|
+
debugDocumentRequest: components.DebugDocumentRequest,
|
|
125
|
+
datasource: string,
|
|
126
|
+
options?: RequestOptions,
|
|
127
|
+
): Promise<components.DebugDocumentResponse> {
|
|
128
|
+
return unwrapAsync(indexingDocumentsDebug(
|
|
129
|
+
this,
|
|
130
|
+
debugDocumentRequest,
|
|
131
|
+
datasource,
|
|
132
|
+
options,
|
|
133
|
+
));
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Beta: Get information of a batch of documents
|
|
138
|
+
*
|
|
139
|
+
* @remarks
|
|
140
|
+
* Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
141
|
+
*
|
|
142
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
|
|
143
|
+
*/
|
|
144
|
+
async debugMany(
|
|
145
|
+
debugDocumentsRequest: components.DebugDocumentsRequest,
|
|
146
|
+
datasource: string,
|
|
147
|
+
options?: RequestOptions,
|
|
148
|
+
): Promise<components.DebugDocumentsResponse> {
|
|
149
|
+
return unwrapAsync(indexingDocumentsDebugMany(
|
|
150
|
+
this,
|
|
151
|
+
debugDocumentsRequest,
|
|
152
|
+
datasource,
|
|
153
|
+
options,
|
|
154
|
+
));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Check document access
|
|
159
|
+
*
|
|
160
|
+
* @remarks
|
|
161
|
+
* Check if a given user has access to access a document in a custom datasource
|
|
162
|
+
*
|
|
163
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
|
|
164
|
+
*/
|
|
165
|
+
async checkAccess(
|
|
166
|
+
request: components.CheckDocumentAccessRequest,
|
|
167
|
+
options?: RequestOptions,
|
|
168
|
+
): Promise<components.CheckDocumentAccessResponse> {
|
|
169
|
+
return unwrapAsync(indexingDocumentsCheckAccess(
|
|
170
|
+
this,
|
|
171
|
+
request,
|
|
172
|
+
options,
|
|
173
|
+
));
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Get document upload and indexing status
|
|
178
|
+
*
|
|
179
|
+
* @remarks
|
|
180
|
+
* Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
181
|
+
*
|
|
182
|
+
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-document) for richer information.
|
|
183
|
+
*
|
|
184
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
185
|
+
*/
|
|
186
|
+
async status(
|
|
187
|
+
request: components.GetDocumentStatusRequest,
|
|
188
|
+
options?: RequestOptions,
|
|
189
|
+
): Promise<components.GetDocumentStatusResponse> {
|
|
190
|
+
return unwrapAsync(indexingDocumentsStatus(
|
|
191
|
+
this,
|
|
192
|
+
request,
|
|
193
|
+
options,
|
|
194
|
+
));
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Get document count
|
|
199
|
+
*
|
|
200
|
+
* @remarks
|
|
201
|
+
* Fetches document count for the specified custom datasource.
|
|
202
|
+
*
|
|
203
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-status) for richer information.
|
|
204
|
+
*
|
|
205
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
206
|
+
*/
|
|
207
|
+
async count(
|
|
208
|
+
request: components.GetDocumentCountRequest,
|
|
209
|
+
options?: RequestOptions,
|
|
210
|
+
): Promise<components.GetDocumentCountResponse> {
|
|
211
|
+
return unwrapAsync(indexingDocumentsCount(
|
|
212
|
+
this,
|
|
213
|
+
request,
|
|
214
|
+
options,
|
|
215
|
+
));
|
|
216
|
+
}
|
|
109
217
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { indexingShortcutsBulkIndex } from "../funcs/indexingShortcutsBulkIndex.js";
|
|
6
|
+
import { indexingShortcutsUpload } from "../funcs/indexingShortcutsUpload.js";
|
|
6
7
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
8
|
import * as components from "../models/components/index.js";
|
|
8
9
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -24,4 +25,21 @@ export class IndexingShortcuts extends ClientSDK {
|
|
|
24
25
|
options,
|
|
25
26
|
));
|
|
26
27
|
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Upload shortcuts
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Creates glean shortcuts for uploaded shortcuts info. Glean would host the shortcuts, and they can be managed in the knowledge tab once uploaded.
|
|
34
|
+
*/
|
|
35
|
+
async upload(
|
|
36
|
+
request: components.UploadShortcutsRequest,
|
|
37
|
+
options?: RequestOptions,
|
|
38
|
+
): Promise<void> {
|
|
39
|
+
return unwrapAsync(indexingShortcutsUpload(
|
|
40
|
+
this,
|
|
41
|
+
request,
|
|
42
|
+
options,
|
|
43
|
+
));
|
|
44
|
+
}
|
|
27
45
|
}
|
package/src/sdk/people.ts
CHANGED
|
@@ -2,23 +2,173 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { indexingPeopleBulkIndex } from "../funcs/indexingPeopleBulkIndex.js";
|
|
6
|
+
import { indexingPeopleBulkIndexTeams } from "../funcs/indexingPeopleBulkIndexTeams.js";
|
|
7
|
+
import { indexingPeopleCount } from "../funcs/indexingPeopleCount.js";
|
|
8
|
+
import { indexingPeopleDebug } from "../funcs/indexingPeopleDebug.js";
|
|
9
|
+
import { indexingPeopleDelete } from "../funcs/indexingPeopleDelete.js";
|
|
10
|
+
import { indexingPeopleDeleteTeam } from "../funcs/indexingPeopleDeleteTeam.js";
|
|
11
|
+
import { indexingPeopleIndex } from "../funcs/indexingPeopleIndex.js";
|
|
12
|
+
import { indexingPeopleIndexTeam } from "../funcs/indexingPeopleIndexTeam.js";
|
|
13
|
+
import { indexingPeopleProcessAllEmployeesAndTeams } from "../funcs/indexingPeopleProcessAllEmployeesAndTeams.js";
|
|
6
14
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
15
|
import * as components from "../models/components/index.js";
|
|
8
16
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
17
|
|
|
10
18
|
export class People extends ClientSDK {
|
|
19
|
+
/**
|
|
20
|
+
* Beta: Get user information
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
|
|
24
|
+
*
|
|
25
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/) for more information.
|
|
26
|
+
*/
|
|
27
|
+
async debug(
|
|
28
|
+
debugUserRequest: components.DebugUserRequest,
|
|
29
|
+
datasource: string,
|
|
30
|
+
options?: RequestOptions,
|
|
31
|
+
): Promise<components.DebugUserResponse> {
|
|
32
|
+
return unwrapAsync(indexingPeopleDebug(
|
|
33
|
+
this,
|
|
34
|
+
debugUserRequest,
|
|
35
|
+
datasource,
|
|
36
|
+
options,
|
|
37
|
+
));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Get user count
|
|
42
|
+
*
|
|
43
|
+
* @remarks
|
|
44
|
+
* Fetches user count for the specified custom datasource.
|
|
45
|
+
*
|
|
46
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/docs/indexing_api/indexing_api_troubleshooting/#debug-datasource-status) for richer information.
|
|
47
|
+
*
|
|
48
|
+
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
49
|
+
*/
|
|
50
|
+
async count(
|
|
51
|
+
request: components.GetUserCountRequest,
|
|
52
|
+
options?: RequestOptions,
|
|
53
|
+
): Promise<components.GetUserCountResponse> {
|
|
54
|
+
return unwrapAsync(indexingPeopleCount(
|
|
55
|
+
this,
|
|
56
|
+
request,
|
|
57
|
+
options,
|
|
58
|
+
));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Index employee
|
|
63
|
+
*
|
|
64
|
+
* @remarks
|
|
65
|
+
* Adds an employee or updates information about an employee
|
|
66
|
+
*/
|
|
67
|
+
async index(
|
|
68
|
+
request: components.IndexEmployeeRequest,
|
|
69
|
+
options?: RequestOptions,
|
|
70
|
+
): Promise<void> {
|
|
71
|
+
return unwrapAsync(indexingPeopleIndex(
|
|
72
|
+
this,
|
|
73
|
+
request,
|
|
74
|
+
options,
|
|
75
|
+
));
|
|
76
|
+
}
|
|
77
|
+
|
|
11
78
|
/**
|
|
12
79
|
* Bulk index employees
|
|
13
80
|
*
|
|
14
81
|
* @remarks
|
|
15
82
|
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
16
83
|
*/
|
|
17
|
-
async
|
|
84
|
+
async bulkIndex(
|
|
18
85
|
request: components.BulkIndexEmployeesRequest,
|
|
19
86
|
options?: RequestOptions,
|
|
20
87
|
): Promise<void> {
|
|
21
|
-
return unwrapAsync(
|
|
88
|
+
return unwrapAsync(indexingPeopleBulkIndex(
|
|
89
|
+
this,
|
|
90
|
+
request,
|
|
91
|
+
options,
|
|
92
|
+
));
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Schedules the processing of uploaded employees and teams
|
|
97
|
+
*
|
|
98
|
+
* @remarks
|
|
99
|
+
* Schedules the immediate processing of employees and teams uploaded through the indexing API. By default all uploaded people data will be processed asynchronously but this API can be used to schedule its processing on demand.
|
|
100
|
+
*/
|
|
101
|
+
async processAllEmployeesAndTeams(
|
|
102
|
+
options?: RequestOptions,
|
|
103
|
+
): Promise<void> {
|
|
104
|
+
return unwrapAsync(indexingPeopleProcessAllEmployeesAndTeams(
|
|
105
|
+
this,
|
|
106
|
+
options,
|
|
107
|
+
));
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Delete employee
|
|
112
|
+
*
|
|
113
|
+
* @remarks
|
|
114
|
+
* Delete an employee. Silently succeeds if employee is not present.
|
|
115
|
+
*/
|
|
116
|
+
async delete(
|
|
117
|
+
request: components.DeleteEmployeeRequest,
|
|
118
|
+
options?: RequestOptions,
|
|
119
|
+
): Promise<void> {
|
|
120
|
+
return unwrapAsync(indexingPeopleDelete(
|
|
121
|
+
this,
|
|
122
|
+
request,
|
|
123
|
+
options,
|
|
124
|
+
));
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Index team
|
|
129
|
+
*
|
|
130
|
+
* @remarks
|
|
131
|
+
* Adds a team or updates information about a team
|
|
132
|
+
*/
|
|
133
|
+
async indexTeam(
|
|
134
|
+
request: components.IndexTeamRequest,
|
|
135
|
+
options?: RequestOptions,
|
|
136
|
+
): Promise<void> {
|
|
137
|
+
return unwrapAsync(indexingPeopleIndexTeam(
|
|
138
|
+
this,
|
|
139
|
+
request,
|
|
140
|
+
options,
|
|
141
|
+
));
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Delete team
|
|
146
|
+
*
|
|
147
|
+
* @remarks
|
|
148
|
+
* Delete a team based on provided id.
|
|
149
|
+
*/
|
|
150
|
+
async deleteTeam(
|
|
151
|
+
request: components.DeleteTeamRequest,
|
|
152
|
+
options?: RequestOptions,
|
|
153
|
+
): Promise<void> {
|
|
154
|
+
return unwrapAsync(indexingPeopleDeleteTeam(
|
|
155
|
+
this,
|
|
156
|
+
request,
|
|
157
|
+
options,
|
|
158
|
+
));
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Bulk index teams
|
|
163
|
+
*
|
|
164
|
+
* @remarks
|
|
165
|
+
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
166
|
+
*/
|
|
167
|
+
async bulkIndexTeams(
|
|
168
|
+
request: components.BulkIndexTeamsRequest,
|
|
169
|
+
options?: RequestOptions,
|
|
170
|
+
): Promise<void> {
|
|
171
|
+
return unwrapAsync(indexingPeopleBulkIndexTeams(
|
|
22
172
|
this,
|
|
23
173
|
request,
|
|
24
174
|
options,
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { indexingPermissionsAuthorizeBetaUsers } from "../funcs/indexingPermissionsAuthorizeBetaUsers.js";
|
|
6
|
+
import { indexingPermissionsBulkIndexGroups } from "../funcs/indexingPermissionsBulkIndexGroups.js";
|
|
7
|
+
import { indexingPermissionsBulkIndexMemberships } from "../funcs/indexingPermissionsBulkIndexMemberships.js";
|
|
8
|
+
import { indexingPermissionsBulkIndexUsers } from "../funcs/indexingPermissionsBulkIndexUsers.js";
|
|
9
|
+
import { indexingPermissionsDeleteGroup } from "../funcs/indexingPermissionsDeleteGroup.js";
|
|
10
|
+
import { indexingPermissionsDeleteMembership } from "../funcs/indexingPermissionsDeleteMembership.js";
|
|
11
|
+
import { indexingPermissionsDeleteUser } from "../funcs/indexingPermissionsDeleteUser.js";
|
|
12
|
+
import { indexingPermissionsIndexGroup } from "../funcs/indexingPermissionsIndexGroup.js";
|
|
13
|
+
import { indexingPermissionsIndexMembership } from "../funcs/indexingPermissionsIndexMembership.js";
|
|
14
|
+
import { indexingPermissionsIndexUser } from "../funcs/indexingPermissionsIndexUser.js";
|
|
15
|
+
import { indexingPermissionsProcessMemberships } from "../funcs/indexingPermissionsProcessMemberships.js";
|
|
16
|
+
import { indexingPermissionsUpdatePermissions } from "../funcs/indexingPermissionsUpdatePermissions.js";
|
|
17
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
18
|
+
import * as components from "../models/components/index.js";
|
|
19
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
20
|
+
|
|
21
|
+
export class Permissions extends ClientSDK {
|
|
22
|
+
/**
|
|
23
|
+
* Update document permissions
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* Updates the permissions for a given document without modifying document content.
|
|
27
|
+
*/
|
|
28
|
+
async updatePermissions(
|
|
29
|
+
request: components.UpdatePermissionsRequest,
|
|
30
|
+
options?: RequestOptions,
|
|
31
|
+
): Promise<void> {
|
|
32
|
+
return unwrapAsync(indexingPermissionsUpdatePermissions(
|
|
33
|
+
this,
|
|
34
|
+
request,
|
|
35
|
+
options,
|
|
36
|
+
));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Index user
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* Adds a datasource user or updates an existing user.
|
|
44
|
+
*/
|
|
45
|
+
async indexUser(
|
|
46
|
+
request: components.IndexUserRequest,
|
|
47
|
+
options?: RequestOptions,
|
|
48
|
+
): Promise<void> {
|
|
49
|
+
return unwrapAsync(indexingPermissionsIndexUser(
|
|
50
|
+
this,
|
|
51
|
+
request,
|
|
52
|
+
options,
|
|
53
|
+
));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Bulk index users
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
61
|
+
*/
|
|
62
|
+
async bulkIndexUsers(
|
|
63
|
+
request: components.BulkIndexUsersRequest,
|
|
64
|
+
options?: RequestOptions,
|
|
65
|
+
): Promise<void> {
|
|
66
|
+
return unwrapAsync(indexingPermissionsBulkIndexUsers(
|
|
67
|
+
this,
|
|
68
|
+
request,
|
|
69
|
+
options,
|
|
70
|
+
));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Index group
|
|
75
|
+
*
|
|
76
|
+
* @remarks
|
|
77
|
+
* Add or update a group in the datasource.
|
|
78
|
+
*/
|
|
79
|
+
async indexGroup(
|
|
80
|
+
request: components.IndexGroupRequest,
|
|
81
|
+
options?: RequestOptions,
|
|
82
|
+
): Promise<void> {
|
|
83
|
+
return unwrapAsync(indexingPermissionsIndexGroup(
|
|
84
|
+
this,
|
|
85
|
+
request,
|
|
86
|
+
options,
|
|
87
|
+
));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Bulk index groups
|
|
92
|
+
*
|
|
93
|
+
* @remarks
|
|
94
|
+
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
95
|
+
*/
|
|
96
|
+
async bulkIndexGroups(
|
|
97
|
+
request: components.BulkIndexGroupsRequest,
|
|
98
|
+
options?: RequestOptions,
|
|
99
|
+
): Promise<void> {
|
|
100
|
+
return unwrapAsync(indexingPermissionsBulkIndexGroups(
|
|
101
|
+
this,
|
|
102
|
+
request,
|
|
103
|
+
options,
|
|
104
|
+
));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Index membership
|
|
109
|
+
*
|
|
110
|
+
* @remarks
|
|
111
|
+
* Add the memberships of a group in the datasource.
|
|
112
|
+
*/
|
|
113
|
+
async indexMembership(
|
|
114
|
+
request: components.IndexMembershipRequest,
|
|
115
|
+
options?: RequestOptions,
|
|
116
|
+
): Promise<void> {
|
|
117
|
+
return unwrapAsync(indexingPermissionsIndexMembership(
|
|
118
|
+
this,
|
|
119
|
+
request,
|
|
120
|
+
options,
|
|
121
|
+
));
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Bulk index memberships for a group
|
|
126
|
+
*
|
|
127
|
+
* @remarks
|
|
128
|
+
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
129
|
+
*/
|
|
130
|
+
async bulkIndexMemberships(
|
|
131
|
+
request: components.BulkIndexMembershipsRequest,
|
|
132
|
+
options?: RequestOptions,
|
|
133
|
+
): Promise<void> {
|
|
134
|
+
return unwrapAsync(indexingPermissionsBulkIndexMemberships(
|
|
135
|
+
this,
|
|
136
|
+
request,
|
|
137
|
+
options,
|
|
138
|
+
));
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Schedules the processing of group memberships
|
|
143
|
+
*
|
|
144
|
+
* @remarks
|
|
145
|
+
* Schedules the immediate processing of all group memberships uploaded through the indexing API. By default the uploaded group memberships will be processed asynchronously but this API can be used to schedule processing of all memberships on demand.
|
|
146
|
+
*/
|
|
147
|
+
async processMemberships(
|
|
148
|
+
request?: components.ProcessAllMembershipsRequest | undefined,
|
|
149
|
+
options?: RequestOptions,
|
|
150
|
+
): Promise<void> {
|
|
151
|
+
return unwrapAsync(indexingPermissionsProcessMemberships(
|
|
152
|
+
this,
|
|
153
|
+
request,
|
|
154
|
+
options,
|
|
155
|
+
));
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Delete user
|
|
160
|
+
*
|
|
161
|
+
* @remarks
|
|
162
|
+
* Delete the user from the datasource. Silently succeeds if user is not present.
|
|
163
|
+
*/
|
|
164
|
+
async deleteUser(
|
|
165
|
+
request: components.DeleteUserRequest,
|
|
166
|
+
options?: RequestOptions,
|
|
167
|
+
): Promise<void> {
|
|
168
|
+
return unwrapAsync(indexingPermissionsDeleteUser(
|
|
169
|
+
this,
|
|
170
|
+
request,
|
|
171
|
+
options,
|
|
172
|
+
));
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Delete group
|
|
177
|
+
*
|
|
178
|
+
* @remarks
|
|
179
|
+
* Delete group from the datasource. Silently succeeds if group is not present.
|
|
180
|
+
*/
|
|
181
|
+
async deleteGroup(
|
|
182
|
+
request: components.DeleteGroupRequest,
|
|
183
|
+
options?: RequestOptions,
|
|
184
|
+
): Promise<void> {
|
|
185
|
+
return unwrapAsync(indexingPermissionsDeleteGroup(
|
|
186
|
+
this,
|
|
187
|
+
request,
|
|
188
|
+
options,
|
|
189
|
+
));
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Delete membership
|
|
194
|
+
*
|
|
195
|
+
* @remarks
|
|
196
|
+
* Delete membership to a group in the specified datasource. Silently succeeds if membership is not present.
|
|
197
|
+
*/
|
|
198
|
+
async deleteMembership(
|
|
199
|
+
request: components.DeleteMembershipRequest,
|
|
200
|
+
options?: RequestOptions,
|
|
201
|
+
): Promise<void> {
|
|
202
|
+
return unwrapAsync(indexingPermissionsDeleteMembership(
|
|
203
|
+
this,
|
|
204
|
+
request,
|
|
205
|
+
options,
|
|
206
|
+
));
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Beta users
|
|
211
|
+
*
|
|
212
|
+
* @remarks
|
|
213
|
+
* Allow the datasource be visible to the specified beta users. The default behaviour is datasource being visible to all users if it is enabled and not visible to any user if it is not enabled.
|
|
214
|
+
*/
|
|
215
|
+
async authorizeBetaUsers(
|
|
216
|
+
request: components.GreenlistUsersRequest,
|
|
217
|
+
options?: RequestOptions,
|
|
218
|
+
): Promise<void> {
|
|
219
|
+
return unwrapAsync(indexingPermissionsAuthorizeBetaUsers(
|
|
220
|
+
this,
|
|
221
|
+
request,
|
|
222
|
+
options,
|
|
223
|
+
));
|
|
224
|
+
}
|
|
225
|
+
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -5,10 +5,7 @@
|
|
|
5
5
|
import { ClientSDK } from "../lib/sdks.js";
|
|
6
6
|
import { Client } from "./client.js";
|
|
7
7
|
import { Indexing } from "./indexing.js";
|
|
8
|
-
import { People } from "./people.js";
|
|
9
8
|
import { Search } from "./search.js";
|
|
10
|
-
import { Shortcuts } from "./shortcuts.js";
|
|
11
|
-
import { Verification } from "./verification.js";
|
|
12
9
|
|
|
13
10
|
export class Glean extends ClientSDK {
|
|
14
11
|
private _client?: Client;
|
|
@@ -21,23 +18,8 @@ export class Glean extends ClientSDK {
|
|
|
21
18
|
return (this._search ??= new Search(this._options));
|
|
22
19
|
}
|
|
23
20
|
|
|
24
|
-
private _shortcuts?: Shortcuts;
|
|
25
|
-
get shortcuts(): Shortcuts {
|
|
26
|
-
return (this._shortcuts ??= new Shortcuts(this._options));
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
private _verification?: Verification;
|
|
30
|
-
get verification(): Verification {
|
|
31
|
-
return (this._verification ??= new Verification(this._options));
|
|
32
|
-
}
|
|
33
|
-
|
|
34
21
|
private _indexing?: Indexing;
|
|
35
22
|
get indexing(): Indexing {
|
|
36
23
|
return (this._indexing ??= new Indexing(this._options));
|
|
37
24
|
}
|
|
38
|
-
|
|
39
|
-
private _people?: People;
|
|
40
|
-
get people(): People {
|
|
41
|
-
return (this._people ??= new People(this._options));
|
|
42
|
-
}
|
|
43
25
|
}
|
package/src/sdk/verification.ts
CHANGED
|
@@ -2,12 +2,48 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { clientVerificationAddReminder } from "../funcs/clientVerificationAddReminder.js";
|
|
6
|
+
import { clientVerificationList } from "../funcs/clientVerificationList.js";
|
|
7
|
+
import { clientVerificationVerify } from "../funcs/clientVerificationVerify.js";
|
|
6
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
9
|
import * as components from "../models/components/index.js";
|
|
8
10
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
11
|
|
|
10
12
|
export class Verification extends ClientSDK {
|
|
13
|
+
/**
|
|
14
|
+
* Create verification
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* Creates a verification reminder for the document. Users can create verification reminders from different product surfaces.
|
|
18
|
+
*/
|
|
19
|
+
async addReminder(
|
|
20
|
+
request: components.ReminderRequest,
|
|
21
|
+
options?: RequestOptions,
|
|
22
|
+
): Promise<components.Verification> {
|
|
23
|
+
return unwrapAsync(clientVerificationAddReminder(
|
|
24
|
+
this,
|
|
25
|
+
request,
|
|
26
|
+
options,
|
|
27
|
+
));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* List verifications
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* Returns the information to be rendered in verification dashboard. Includes information for each document owned by user regarding their verifications.
|
|
35
|
+
*/
|
|
36
|
+
async list(
|
|
37
|
+
count?: number | undefined,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): Promise<components.VerificationFeed> {
|
|
40
|
+
return unwrapAsync(clientVerificationList(
|
|
41
|
+
this,
|
|
42
|
+
count,
|
|
43
|
+
options,
|
|
44
|
+
));
|
|
45
|
+
}
|
|
46
|
+
|
|
11
47
|
/**
|
|
12
48
|
* Update verification
|
|
13
49
|
*
|
|
@@ -18,7 +54,7 @@ export class Verification extends ClientSDK {
|
|
|
18
54
|
request: components.VerifyRequest,
|
|
19
55
|
options?: RequestOptions,
|
|
20
56
|
): Promise<components.Verification> {
|
|
21
|
-
return unwrapAsync(
|
|
57
|
+
return unwrapAsync(clientVerificationVerify(
|
|
22
58
|
this,
|
|
23
59
|
request,
|
|
24
60
|
options,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activities.test.d.ts","sourceRoot":"","sources":["../../../src/__tests__/activities.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const vitest_1 = require("vitest");
|
|
7
|
-
const index_js_1 = require("../index.js");
|
|
8
|
-
const testclient_js_1 = require("./testclient.js");
|
|
9
|
-
(0, vitest_1.test)("Activities Feedback", async () => {
|
|
10
|
-
const testHttpClient = (0, testclient_js_1.createTestHTTPClient)("feedback");
|
|
11
|
-
const glean = new index_js_1.Glean({
|
|
12
|
-
serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080",
|
|
13
|
-
httpClient: testHttpClient,
|
|
14
|
-
bearerAuth: process.env["GLEAN_BEARER_AUTH"] ?? "value",
|
|
15
|
-
});
|
|
16
|
-
await glean.client.activity.feedback({
|
|
17
|
-
trackingTokens: [
|
|
18
|
-
"trackingTokens",
|
|
19
|
-
],
|
|
20
|
-
event: "VIEW",
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
//# sourceMappingURL=activities.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"activities.test.js","sourceRoot":"","sources":["../../../src/__tests__/activities.test.ts"],"names":[],"mappings":";AAAA;;GAEG;;AAEH,mCAA8B;AAC9B,0CAAoC;AACpC,mDAAuD;AAEvD,IAAA,aAAI,EAAC,qBAAqB,EAAE,KAAK,IAAI,EAAE;IACrC,MAAM,cAAc,GAAG,IAAA,oCAAoB,EAAC,UAAU,CAAC,CAAC;IAExD,MAAM,KAAK,GAAG,IAAI,gBAAK,CAAC;QACtB,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,wBAAwB;QACrE,UAAU,EAAE,cAAc;QAC1B,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,IAAI,OAAO;KACxD,CAAC,CAAC;IAEH,MAAM,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACnC,cAAc,EAAE;YACd,gBAAgB;SACjB;QACD,KAAK,EAAE,MAAM;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"people.test.d.ts","sourceRoot":"","sources":["../../../src/__tests__/people.test.ts"],"names":[],"mappings":""}
|