@gleanwork/api-client 0.7.1 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/funcs/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/commonjs/funcs/indexingAuthenticationRotateToken.js +1 -1
- package/dist/commonjs/funcs/indexingDatasourceStatus.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDatasourceStatus.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsBulkIndex.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCount.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCount.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebug.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebug.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsIndex.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsIndex.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsStatus.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsStatus.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndex.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleCount.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleCount.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleDebug.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleDebug.js +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/components/authconfig.d.ts +3 -0
- package/dist/commonjs/models/components/authconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/authconfig.js +1 -0
- package/dist/commonjs/models/components/authconfig.js.map +1 -1
- package/dist/commonjs/models/components/chatmessage.js +2 -2
- package/dist/commonjs/models/components/chatmessage.js.map +1 -1
- package/dist/commonjs/models/components/chatmessagefragment.d.ts +6 -0
- package/dist/commonjs/models/components/chatmessagefragment.d.ts.map +1 -1
- package/dist/commonjs/models/components/chatmessagefragment.js +3 -0
- package/dist/commonjs/models/components/chatmessagefragment.js.map +1 -1
- package/dist/commonjs/models/components/chatrequest.d.ts +1 -1
- package/dist/commonjs/models/components/documentdefinition.d.ts +1 -1
- package/dist/commonjs/models/components/feedback.d.ts +6 -0
- package/dist/commonjs/models/components/feedback.d.ts.map +1 -1
- package/dist/commonjs/models/components/feedback.js +6 -0
- package/dist/commonjs/models/components/feedback.js.map +1 -1
- package/dist/commonjs/models/components/generatedqna.js +2 -2
- package/dist/commonjs/models/components/generatedqna.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +2 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +2 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/manualfeedbackinfo.d.ts +8 -8
- package/dist/commonjs/models/components/manualfeedbackinfo.d.ts.map +1 -1
- package/dist/commonjs/models/components/manualfeedbackinfo.js +13 -13
- package/dist/commonjs/models/components/manualfeedbackinfo.js.map +1 -1
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.d.ts +137 -0
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.d.ts.map +1 -0
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.js +130 -0
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.js.map +1 -0
- package/dist/commonjs/models/components/searchrequest.d.ts +0 -6
- package/dist/commonjs/models/components/searchrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/searchrequest.js +0 -3
- package/dist/commonjs/models/components/searchrequest.js.map +1 -1
- package/dist/commonjs/models/components/searchresponsemetadata.d.ts +5 -0
- package/dist/commonjs/models/components/searchresponsemetadata.d.ts.map +1 -1
- package/dist/commonjs/models/components/searchresponsemetadata.js +2 -0
- package/dist/commonjs/models/components/searchresponsemetadata.js.map +1 -1
- package/dist/commonjs/models/components/sidebysideimplementation.d.ts +97 -0
- package/dist/commonjs/models/components/sidebysideimplementation.d.ts.map +1 -0
- package/dist/commonjs/models/components/sidebysideimplementation.js +108 -0
- package/dist/commonjs/models/components/sidebysideimplementation.js.map +1 -0
- package/dist/commonjs/models/components/structuredresult.d.ts +3 -0
- package/dist/commonjs/models/components/structuredresult.d.ts.map +1 -1
- package/dist/commonjs/models/components/structuredresult.js +3 -0
- package/dist/commonjs/models/components/structuredresult.js.map +1 -1
- package/dist/commonjs/react-query/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/commonjs/react-query/indexingAuthenticationRotateToken.js +1 -1
- package/dist/commonjs/react-query/indexingDatasourceStatus.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDatasourceStatus.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsBulkIndex.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCheckAccess.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCount.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCount.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebug.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebug.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebugMany.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsIndex.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsIndex.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsStatus.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsStatus.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndex.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleCount.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleCount.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleDebug.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleDebug.js +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/commonjs/sdk/datasource.d.ts +1 -1
- package/dist/commonjs/sdk/datasource.js +1 -1
- package/dist/commonjs/sdk/indexingauthentication.d.ts +1 -1
- package/dist/commonjs/sdk/indexingauthentication.js +1 -1
- package/dist/commonjs/sdk/indexingdocuments.d.ts +7 -7
- package/dist/commonjs/sdk/indexingdocuments.js +7 -7
- package/dist/commonjs/sdk/people.d.ts +4 -4
- package/dist/commonjs/sdk/people.js +4 -4
- package/dist/commonjs/sdk/permissions.d.ts +3 -3
- package/dist/commonjs/sdk/permissions.js +3 -3
- package/dist/esm/funcs/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/esm/funcs/indexingAuthenticationRotateToken.js +1 -1
- package/dist/esm/funcs/indexingDatasourceStatus.d.ts +1 -1
- package/dist/esm/funcs/indexingDatasourceStatus.js +1 -1
- package/dist/esm/funcs/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsBulkIndex.js +1 -1
- package/dist/esm/funcs/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsCheckAccess.js +1 -1
- package/dist/esm/funcs/indexingDocumentsCount.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsCount.js +1 -1
- package/dist/esm/funcs/indexingDocumentsDebug.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsDebug.js +1 -1
- package/dist/esm/funcs/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsDebugMany.js +1 -1
- package/dist/esm/funcs/indexingDocumentsIndex.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsIndex.js +1 -1
- package/dist/esm/funcs/indexingDocumentsStatus.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsStatus.js +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndex.js +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/esm/funcs/indexingPeopleCount.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleCount.js +1 -1
- package/dist/esm/funcs/indexingPeopleDebug.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleDebug.js +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/components/authconfig.d.ts +3 -0
- package/dist/esm/models/components/authconfig.d.ts.map +1 -1
- package/dist/esm/models/components/authconfig.js +1 -0
- package/dist/esm/models/components/authconfig.js.map +1 -1
- package/dist/esm/models/components/chatmessage.js +2 -2
- package/dist/esm/models/components/chatmessage.js.map +1 -1
- package/dist/esm/models/components/chatmessagefragment.d.ts +6 -0
- package/dist/esm/models/components/chatmessagefragment.d.ts.map +1 -1
- package/dist/esm/models/components/chatmessagefragment.js +3 -0
- package/dist/esm/models/components/chatmessagefragment.js.map +1 -1
- package/dist/esm/models/components/chatrequest.d.ts +1 -1
- package/dist/esm/models/components/documentdefinition.d.ts +1 -1
- package/dist/esm/models/components/feedback.d.ts +6 -0
- package/dist/esm/models/components/feedback.d.ts.map +1 -1
- package/dist/esm/models/components/feedback.js +6 -0
- package/dist/esm/models/components/feedback.js.map +1 -1
- package/dist/esm/models/components/generatedqna.js +2 -2
- package/dist/esm/models/components/generatedqna.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +2 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +2 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/manualfeedbackinfo.d.ts +8 -8
- package/dist/esm/models/components/manualfeedbackinfo.d.ts.map +1 -1
- package/dist/esm/models/components/manualfeedbackinfo.js +12 -12
- package/dist/esm/models/components/manualfeedbackinfo.js.map +1 -1
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.d.ts +137 -0
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.d.ts.map +1 -0
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.js +92 -0
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.js.map +1 -0
- package/dist/esm/models/components/searchrequest.d.ts +0 -6
- package/dist/esm/models/components/searchrequest.d.ts.map +1 -1
- package/dist/esm/models/components/searchrequest.js +0 -3
- package/dist/esm/models/components/searchrequest.js.map +1 -1
- package/dist/esm/models/components/searchresponsemetadata.d.ts +5 -0
- package/dist/esm/models/components/searchresponsemetadata.d.ts.map +1 -1
- package/dist/esm/models/components/searchresponsemetadata.js +2 -0
- package/dist/esm/models/components/searchresponsemetadata.js.map +1 -1
- package/dist/esm/models/components/sidebysideimplementation.d.ts +97 -0
- package/dist/esm/models/components/sidebysideimplementation.d.ts.map +1 -0
- package/dist/esm/models/components/sidebysideimplementation.js +68 -0
- package/dist/esm/models/components/sidebysideimplementation.js.map +1 -0
- package/dist/esm/models/components/structuredresult.d.ts +3 -0
- package/dist/esm/models/components/structuredresult.d.ts.map +1 -1
- package/dist/esm/models/components/structuredresult.js +3 -0
- package/dist/esm/models/components/structuredresult.js.map +1 -1
- package/dist/esm/react-query/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/esm/react-query/indexingAuthenticationRotateToken.js +1 -1
- package/dist/esm/react-query/indexingDatasourceStatus.d.ts +1 -1
- package/dist/esm/react-query/indexingDatasourceStatus.js +1 -1
- package/dist/esm/react-query/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsBulkIndex.js +1 -1
- package/dist/esm/react-query/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsCheckAccess.js +1 -1
- package/dist/esm/react-query/indexingDocumentsCount.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsCount.js +1 -1
- package/dist/esm/react-query/indexingDocumentsDebug.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsDebug.js +1 -1
- package/dist/esm/react-query/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsDebugMany.js +1 -1
- package/dist/esm/react-query/indexingDocumentsIndex.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsIndex.js +1 -1
- package/dist/esm/react-query/indexingDocumentsStatus.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsStatus.js +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndex.js +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/esm/react-query/indexingPeopleCount.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleCount.js +1 -1
- package/dist/esm/react-query/indexingPeopleDebug.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleDebug.js +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/esm/sdk/datasource.d.ts +1 -1
- package/dist/esm/sdk/datasource.js +1 -1
- package/dist/esm/sdk/indexingauthentication.d.ts +1 -1
- package/dist/esm/sdk/indexingauthentication.js +1 -1
- package/dist/esm/sdk/indexingdocuments.d.ts +7 -7
- package/dist/esm/sdk/indexingdocuments.js +7 -7
- package/dist/esm/sdk/people.d.ts +4 -4
- package/dist/esm/sdk/people.js +4 -4
- package/dist/esm/sdk/permissions.d.ts +3 -3
- package/dist/esm/sdk/permissions.js +3 -3
- package/docs/sdks/datasource/README.md +1 -1
- package/docs/sdks/indexingauthentication/README.md +1 -1
- package/docs/sdks/indexingdocuments/README.md +7 -7
- package/docs/sdks/people/README.md +4 -4
- package/docs/sdks/permissions/README.md +3 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/indexingAuthenticationRotateToken.ts +1 -1
- package/src/funcs/indexingDatasourceStatus.ts +1 -1
- package/src/funcs/indexingDocumentsBulkIndex.ts +1 -1
- package/src/funcs/indexingDocumentsCheckAccess.ts +1 -1
- package/src/funcs/indexingDocumentsCount.ts +1 -1
- package/src/funcs/indexingDocumentsDebug.ts +1 -1
- package/src/funcs/indexingDocumentsDebugMany.ts +1 -1
- package/src/funcs/indexingDocumentsIndex.ts +1 -1
- package/src/funcs/indexingDocumentsStatus.ts +1 -1
- package/src/funcs/indexingPeopleBulkIndex.ts +1 -1
- package/src/funcs/indexingPeopleBulkIndexTeams.ts +1 -1
- package/src/funcs/indexingPeopleCount.ts +1 -1
- package/src/funcs/indexingPeopleDebug.ts +1 -1
- package/src/funcs/indexingPermissionsBulkIndexGroups.ts +1 -1
- package/src/funcs/indexingPermissionsBulkIndexMemberships.ts +1 -1
- package/src/funcs/indexingPermissionsBulkIndexUsers.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/authconfig.ts +1 -0
- package/src/models/components/chatmessage.ts +2 -2
- package/src/models/components/chatmessagefragment.ts +13 -0
- package/src/models/components/chatrequest.ts +1 -1
- package/src/models/components/documentdefinition.ts +1 -1
- package/src/models/components/feedback.ts +15 -0
- package/src/models/components/generatedqna.ts +2 -2
- package/src/models/components/index.ts +2 -0
- package/src/models/components/manualfeedbackinfo.ts +16 -15
- package/src/models/components/manualfeedbacksidebysideinfo.ts +200 -0
- package/src/models/components/searchrequest.ts +0 -13
- package/src/models/components/searchresponsemetadata.ts +7 -0
- package/src/models/components/sidebysideimplementation.ts +175 -0
- package/src/models/components/structuredresult.ts +10 -0
- package/src/react-query/indexingAuthenticationRotateToken.ts +1 -1
- package/src/react-query/indexingDatasourceStatus.ts +1 -1
- package/src/react-query/indexingDocumentsBulkIndex.ts +1 -1
- package/src/react-query/indexingDocumentsCheckAccess.ts +1 -1
- package/src/react-query/indexingDocumentsCount.ts +1 -1
- package/src/react-query/indexingDocumentsDebug.ts +1 -1
- package/src/react-query/indexingDocumentsDebugMany.ts +1 -1
- package/src/react-query/indexingDocumentsIndex.ts +1 -1
- package/src/react-query/indexingDocumentsStatus.ts +1 -1
- package/src/react-query/indexingPeopleBulkIndex.ts +1 -1
- package/src/react-query/indexingPeopleBulkIndexTeams.ts +1 -1
- package/src/react-query/indexingPeopleCount.ts +1 -1
- package/src/react-query/indexingPeopleDebug.ts +1 -1
- package/src/react-query/indexingPermissionsBulkIndexGroups.ts +1 -1
- package/src/react-query/indexingPermissionsBulkIndexMemberships.ts +1 -1
- package/src/react-query/indexingPermissionsBulkIndexUsers.ts +1 -1
- package/src/sdk/datasource.ts +1 -1
- package/src/sdk/indexingauthentication.ts +1 -1
- package/src/sdk/indexingdocuments.ts +7 -7
- package/src/sdk/people.ts +4 -4
- package/src/sdk/permissions.ts +3 -3
|
@@ -41,7 +41,7 @@ class Permissions extends sdks_js_1.ClientSDK {
|
|
|
41
41
|
* Bulk index users
|
|
42
42
|
*
|
|
43
43
|
* @remarks
|
|
44
|
-
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
44
|
+
* 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.
|
|
45
45
|
*/
|
|
46
46
|
async bulkIndexUsers(request, options) {
|
|
47
47
|
return (0, fp_js_1.unwrapAsync)((0, indexingPermissionsBulkIndexUsers_js_1.indexingPermissionsBulkIndexUsers)(this, request, options));
|
|
@@ -59,7 +59,7 @@ class Permissions extends sdks_js_1.ClientSDK {
|
|
|
59
59
|
* Bulk index groups
|
|
60
60
|
*
|
|
61
61
|
* @remarks
|
|
62
|
-
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
62
|
+
* 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.
|
|
63
63
|
*/
|
|
64
64
|
async bulkIndexGroups(request, options) {
|
|
65
65
|
return (0, fp_js_1.unwrapAsync)((0, indexingPermissionsBulkIndexGroups_js_1.indexingPermissionsBulkIndexGroups)(this, request, options));
|
|
@@ -77,7 +77,7 @@ class Permissions extends sdks_js_1.ClientSDK {
|
|
|
77
77
|
* Bulk index memberships for a group
|
|
78
78
|
*
|
|
79
79
|
* @remarks
|
|
80
|
-
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
80
|
+
* 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.
|
|
81
81
|
*/
|
|
82
82
|
async bulkIndexMemberships(request, options) {
|
|
83
83
|
return (0, fp_js_1.unwrapAsync)((0, indexingPermissionsBulkIndexMemberships_js_1.indexingPermissionsBulkIndexMemberships)(this, request, options));
|
|
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.js";
|
|
|
10
10
|
* Rotate token
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* 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/
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export declare function indexingAuthenticationRotateToken(client: GleanCore, options?: RequestOptions): APIPromise<Result<components.RotateTokenResponse, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=indexingAuthenticationRotateToken.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
11
11
|
* Rotate token
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Rotates the secret value inside the Indexing API token and returns the new raw secret. All other properties of the token are unchanged. In order to rotate the secret value, include the token as the bearer token in the `/rotatetoken` request. Please refer to [Token rotation](https://developers.glean.com/
|
|
14
|
+
* Rotates the secret value inside the Indexing API token and returns the new raw secret. All other properties of the token are unchanged. In order to rotate the secret value, include the token as the bearer token in the `/rotatetoken` request. Please refer to [Token rotation](https://developers.glean.com/indexing/authentication/token-rotation) documentation for more information.
|
|
15
15
|
*/
|
|
16
16
|
export function indexingAuthenticationRotateToken(client, options) {
|
|
17
17
|
return new APIPromise($do(client, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
15
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
16
16
|
*/
|
|
17
17
|
export declare function indexingDatasourceStatus(client: GleanCore, datasource: string, options?: RequestOptions): APIPromise<Result<components.DebugDatasourceStatusResponse, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
18
18
|
//# sourceMappingURL=indexingDatasourceStatus.d.ts.map
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
|
|
18
18
|
*
|
|
19
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
19
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
20
20
|
*/
|
|
21
21
|
export function indexingDatasourceStatus(client, datasource, options) {
|
|
22
22
|
return new APIPromise($do(client, datasource, options));
|
|
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.js";
|
|
|
10
10
|
* Bulk index documents
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
13
|
+
* 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.
|
|
14
14
|
*/
|
|
15
15
|
export declare function indexingDocumentsBulkIndex(client: GleanCore, request: components.BulkIndexDocumentsRequest, options?: RequestOptions): APIPromise<Result<void, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=indexingDocumentsBulkIndex.d.ts.map
|
|
@@ -14,7 +14,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
14
14
|
* Bulk index documents
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
17
|
+
* 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.
|
|
18
18
|
*/
|
|
19
19
|
export function indexingDocumentsBulkIndex(client, request, options) {
|
|
20
20
|
return new APIPromise($do(client, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Check if a given user has access to access a document in a custom datasource
|
|
14
14
|
*
|
|
15
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
15
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
16
16
|
*/
|
|
17
17
|
export declare function indexingDocumentsCheckAccess(client: GleanCore, request: components.CheckDocumentAccessRequest, options?: RequestOptions): APIPromise<Result<components.CheckDocumentAccessResponse, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
18
18
|
//# sourceMappingURL=indexingDocumentsCheckAccess.d.ts.map
|
|
@@ -15,7 +15,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Check if a given user has access to access a document in a custom datasource
|
|
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 function indexingDocumentsCheckAccess(client, request, options) {
|
|
21
21
|
return new APIPromise($do(client, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Fetches document count for the specified custom datasource.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
15
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
16
16
|
*
|
|
17
17
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
18
18
|
*/
|
|
@@ -15,7 +15,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Fetches document count for the specified custom datasource.
|
|
17
17
|
*
|
|
18
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
18
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
19
19
|
*
|
|
20
20
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
21
21
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
15
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
16
16
|
*/
|
|
17
17
|
export declare function indexingDocumentsDebug(client: GleanCore, debugDocumentRequest: components.DebugDocumentRequest, datasource: string, options?: RequestOptions): APIPromise<Result<components.DebugDocumentResponse, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
18
18
|
//# sourceMappingURL=indexingDocumentsDebug.d.ts.map
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
18
18
|
*
|
|
19
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
19
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
20
20
|
*/
|
|
21
21
|
export function indexingDocumentsDebug(client, debugDocumentRequest, datasource, options) {
|
|
22
22
|
return new APIPromise($do(client, debugDocumentRequest, datasource, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
15
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
16
16
|
*/
|
|
17
17
|
export declare function indexingDocumentsDebugMany(client: GleanCore, debugDocumentsRequest: components.DebugDocumentsRequest, datasource: string, options?: RequestOptions): APIPromise<Result<components.DebugDocumentsResponse, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
18
18
|
//# sourceMappingURL=indexingDocumentsDebugMany.d.ts.map
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
18
18
|
*
|
|
19
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
19
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
20
20
|
*/
|
|
21
21
|
export function indexingDocumentsDebugMany(client, debugDocumentsRequest, datasource, options) {
|
|
22
22
|
return new APIPromise($do(client, debugDocumentsRequest, datasource, options));
|
|
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.js";
|
|
|
10
10
|
* Index documents
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
13
|
+
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-indexing/choosing-indexdocuments-vs-bulkindexdocuments) documentation for an explanation of when to use this endpoint.
|
|
14
14
|
*/
|
|
15
15
|
export declare function indexingDocumentsIndex(client: GleanCore, request: components.IndexDocumentsRequest, options?: RequestOptions): APIPromise<Result<void, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=indexingDocumentsIndex.d.ts.map
|
|
@@ -14,7 +14,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
14
14
|
* Index documents
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
17
|
+
* 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.
|
|
18
18
|
*/
|
|
19
19
|
export function indexingDocumentsIndex(client, request, options) {
|
|
20
20
|
return new APIPromise($do(client, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* @remarks
|
|
13
13
|
* Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
14
14
|
*
|
|
15
|
-
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/
|
|
15
|
+
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
|
|
16
16
|
*
|
|
17
17
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
18
18
|
*/
|
|
@@ -15,7 +15,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
17
17
|
*
|
|
18
|
-
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/
|
|
18
|
+
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
|
|
19
19
|
*
|
|
20
20
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
21
21
|
*/
|
|
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.js";
|
|
|
10
10
|
* Bulk index employees
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
13
|
+
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
14
14
|
*/
|
|
15
15
|
export declare function indexingPeopleBulkIndex(client: GleanCore, request: components.BulkIndexEmployeesRequest, options?: RequestOptions): APIPromise<Result<void, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=indexingPeopleBulkIndex.d.ts.map
|
|
@@ -14,7 +14,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
14
14
|
* Bulk index employees
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
17
|
+
* 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.
|
|
18
18
|
*/
|
|
19
19
|
export function indexingPeopleBulkIndex(client, request, options) {
|
|
20
20
|
return new APIPromise($do(client, request, options));
|
|
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.js";
|
|
|
10
10
|
* Bulk index teams
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
13
|
+
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
14
14
|
*/
|
|
15
15
|
export declare function indexingPeopleBulkIndexTeams(client: GleanCore, request: components.BulkIndexTeamsRequest, options?: RequestOptions): APIPromise<Result<void, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=indexingPeopleBulkIndexTeams.d.ts.map
|
|
@@ -14,7 +14,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
14
14
|
* Bulk index teams
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
17
|
+
* 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.
|
|
18
18
|
*/
|
|
19
19
|
export function indexingPeopleBulkIndexTeams(client, request, options) {
|
|
20
20
|
return new APIPromise($do(client, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.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 @@ import { APIPromise } from "../types/async.js";
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Fetches user count for the specified custom datasource.
|
|
17
17
|
*
|
|
18
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
18
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
19
19
|
*
|
|
20
20
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
21
21
|
*/
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.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 declare function indexingPeopleDebug(client: GleanCore, debugUserRequest: components.DebugUserRequest, datasource: string, options?: RequestOptions): APIPromise<Result<components.DebugUserResponse, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
18
18
|
//# sourceMappingURL=indexingPeopleDebug.d.ts.map
|
|
@@ -16,7 +16,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
|
|
18
18
|
*
|
|
19
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
19
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
20
20
|
*/
|
|
21
21
|
export function indexingPeopleDebug(client, debugUserRequest, datasource, options) {
|
|
22
22
|
return new APIPromise($do(client, debugUserRequest, datasource, options));
|
|
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.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 declare function indexingPermissionsBulkIndexGroups(client: GleanCore, request: components.BulkIndexGroupsRequest, options?: RequestOptions): APIPromise<Result<void, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=indexingPermissionsBulkIndexGroups.d.ts.map
|
|
@@ -14,7 +14,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
14
14
|
* Bulk index groups
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
17
|
+
* 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.
|
|
18
18
|
*/
|
|
19
19
|
export function indexingPermissionsBulkIndexGroups(client, request, options) {
|
|
20
20
|
return new APIPromise($do(client, request, options));
|
|
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.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 declare function indexingPermissionsBulkIndexMemberships(client: GleanCore, request: components.BulkIndexMembershipsRequest, options?: RequestOptions): APIPromise<Result<void, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=indexingPermissionsBulkIndexMemberships.d.ts.map
|
|
@@ -14,7 +14,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
14
14
|
* Bulk index memberships for a group
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
17
|
+
* 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.
|
|
18
18
|
*/
|
|
19
19
|
export function indexingPermissionsBulkIndexMemberships(client, request, options) {
|
|
20
20
|
return new APIPromise($do(client, request, options));
|
|
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.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 declare function indexingPermissionsBulkIndexUsers(client: GleanCore, request: components.BulkIndexUsersRequest, options?: RequestOptions): APIPromise<Result<void, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=indexingPermissionsBulkIndexUsers.d.ts.map
|
|
@@ -14,7 +14,7 @@ import { APIPromise } from "../types/async.js";
|
|
|
14
14
|
* Bulk index users
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
17
|
+
* 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.
|
|
18
18
|
*/
|
|
19
19
|
export function indexingPermissionsBulkIndexUsers(client, request, options) {
|
|
20
20
|
return new APIPromise($do(client, request, options));
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.9.0";
|
|
34
|
-
readonly sdkVersion: "0.
|
|
34
|
+
readonly sdkVersion: "0.9.1";
|
|
35
35
|
readonly genVersion: "2.610.0";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.9.1 2.610.0 0.9.0 @gleanwork/api-client";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -30,8 +30,8 @@ export function serverURLFromOptions(options) {
|
|
|
30
30
|
export const SDK_METADATA = {
|
|
31
31
|
language: "typescript",
|
|
32
32
|
openapiDocVersion: "0.9.0",
|
|
33
|
-
sdkVersion: "0.
|
|
33
|
+
sdkVersion: "0.9.1",
|
|
34
34
|
genVersion: "2.610.0",
|
|
35
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
35
|
+
userAgent: "speakeasy-sdk/typescript 0.9.1 2.610.0 0.9.0 @gleanwork/api-client",
|
|
36
36
|
};
|
|
37
37
|
//# sourceMappingURL=config.js.map
|
|
@@ -46,6 +46,7 @@ export type GrantType = ClosedEnum<typeof GrantType>;
|
|
|
46
46
|
export declare const AuthConfigStatus: {
|
|
47
47
|
readonly AwaitingAuth: "AWAITING_AUTH";
|
|
48
48
|
readonly Authorized: "AUTHORIZED";
|
|
49
|
+
readonly AuthDisabled: "AUTH_DISABLED";
|
|
49
50
|
};
|
|
50
51
|
/**
|
|
51
52
|
* Auth status of the tool.
|
|
@@ -163,11 +164,13 @@ export declare namespace AuthConfigStatus$ {
|
|
|
163
164
|
const inboundSchema: z.ZodNativeEnum<{
|
|
164
165
|
readonly AwaitingAuth: "AWAITING_AUTH";
|
|
165
166
|
readonly Authorized: "AUTHORIZED";
|
|
167
|
+
readonly AuthDisabled: "AUTH_DISABLED";
|
|
166
168
|
}>;
|
|
167
169
|
/** @deprecated use `AuthConfigStatus$outboundSchema` instead. */
|
|
168
170
|
const outboundSchema: z.ZodNativeEnum<{
|
|
169
171
|
readonly AwaitingAuth: "AWAITING_AUTH";
|
|
170
172
|
readonly Authorized: "AUTHORIZED";
|
|
173
|
+
readonly AuthDisabled: "AUTH_DISABLED";
|
|
171
174
|
}>;
|
|
172
175
|
}
|
|
173
176
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authconfig.d.ts","sourceRoot":"","sources":["../../../../src/models/components/authconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;CAOjB,CAAC;AACX;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE/D;;GAEG;AACH,eAAO,MAAM,SAAS;;;CAGZ,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAErD;;GAEG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"authconfig.d.ts","sourceRoot":"","sources":["../../../../src/models/components/authconfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;CAOjB,CAAC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B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACnC,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACtC,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,OAAO,CAC/C,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,UAAU,CAiBV,CAAC;AAEH;;;GAGG;AACH,yBAAiB,WAAW,CAAC;IAC3B,0DAA0D;IACnD,MAAM,aAAa,8CAA2B,CAAC;IACtD,2DAA2D;IACpD,MAAM,cAAc,0DAA4B,CAAC;IACxD,qDAAqD;IACrD,KAAY,QAAQ,GAAG,mBAAmB,CAAC;CAC5C;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAE/D;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -34,6 +34,7 @@ export const GrantType = {
|
|
|
34
34
|
export const AuthConfigStatus = {
|
|
35
35
|
AwaitingAuth: "AWAITING_AUTH",
|
|
36
36
|
Authorized: "AUTHORIZED",
|
|
37
|
+
AuthDisabled: "AUTH_DISABLED",
|
|
37
38
|
};
|
|
38
39
|
/** @internal */
|
|
39
40
|
export const AuthConfigType$inboundSchema = z.nativeEnum(AuthConfigType);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authconfig.js","sourceRoot":"","sources":["../../../../src/models/components/authconfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CA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wCAAwC,CACzC,CAAC;AACJ,CAAC"}
|
|
@@ -58,7 +58,7 @@ export var MessageType$;
|
|
|
58
58
|
/** @internal */
|
|
59
59
|
export const ChatMessage$inboundSchema = z.object({
|
|
60
60
|
agentConfig: AgentConfig$inboundSchema.optional(),
|
|
61
|
-
author: Author$inboundSchema.default("
|
|
61
|
+
author: Author$inboundSchema.default("GLEAN_AI"),
|
|
62
62
|
citations: z.array(ChatMessageCitation$inboundSchema).optional(),
|
|
63
63
|
uploadedFileIds: z.array(z.string()).optional(),
|
|
64
64
|
fragments: z.array(ChatMessageFragment$inboundSchema).optional(),
|
|
@@ -71,7 +71,7 @@ export const ChatMessage$inboundSchema = z.object({
|
|
|
71
71
|
/** @internal */
|
|
72
72
|
export const ChatMessage$outboundSchema = z.object({
|
|
73
73
|
agentConfig: AgentConfig$outboundSchema.optional(),
|
|
74
|
-
author: Author$outboundSchema.default("
|
|
74
|
+
author: Author$outboundSchema.default("GLEAN_AI"),
|
|
75
75
|
citations: z.array(ChatMessageCitation$outboundSchema).optional(),
|
|
76
76
|
uploadedFileIds: z.array(z.string()).optional(),
|
|
77
77
|
fragments: z.array(ChatMessageFragment$outboundSchema).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatmessage.js","sourceRoot":"","sources":["../../../../src/models/components/chatmessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,OAAO,EAEL,yBAAyB,EAEzB,0BAA0B,GAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAEL,iCAAiC,EAEjC,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,iCAAiC,EAEjC,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,IAAI,EAAE,MAAM;IACZ,OAAO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AAe,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/C,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC,CAAC,QAAQ,EAAE;IACjE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,WAAW,EAAE,0BAA0B,CAAC,OAAO,CAAC,SAAS,CAAC;IAC1D,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,KAAW,YAAY,CAO5B;AAPD,WAAiB,YAAY;IAC3B,2DAA2D;IAC9C,0BAAa,GAAG,yBAAyB,CAAC;IACvD,4DAA4D;IAC/C,2BAAc,GAAG,0BAA0B,CAAC;AAG3D,CAAC,EAPgB,YAAY,KAAZ,YAAY,QAO5B;AAED,MAAM,UAAU,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,0BAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,mBAAmB,CACjC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yBAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AACJ,CAAC"}
|
|
@@ -2,6 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { ChatFile, ChatFile$Outbound } from "./chatfile.js";
|
|
5
|
+
import { ChatMessageCitation, ChatMessageCitation$Outbound } from "./chatmessagecitation.js";
|
|
5
6
|
import { QuerySuggestion, QuerySuggestion$Outbound } from "./querysuggestion.js";
|
|
6
7
|
import { StructuredResult, StructuredResult$Outbound } from "./structuredresult.js";
|
|
7
8
|
import { ToolInfo, ToolInfo$Outbound } from "./toolinfo.js";
|
|
@@ -24,6 +25,10 @@ export type ChatMessageFragment = {
|
|
|
24
25
|
*/
|
|
25
26
|
file?: ChatFile | undefined;
|
|
26
27
|
action?: ToolInfo | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Information about the source for a ChatMessage.
|
|
30
|
+
*/
|
|
31
|
+
citation?: ChatMessageCitation | undefined;
|
|
27
32
|
};
|
|
28
33
|
/** @internal */
|
|
29
34
|
export declare const ChatMessageFragment$inboundSchema: z.ZodType<ChatMessageFragment, z.ZodTypeDef, unknown>;
|
|
@@ -35,6 +40,7 @@ export type ChatMessageFragment$Outbound = {
|
|
|
35
40
|
querySuggestion?: QuerySuggestion$Outbound | undefined;
|
|
36
41
|
file?: ChatFile$Outbound | undefined;
|
|
37
42
|
action?: ToolInfo$Outbound | undefined;
|
|
43
|
+
citation?: ChatMessageCitation$Outbound | undefined;
|
|
38
44
|
};
|
|
39
45
|
/** @internal */
|
|
40
46
|
export declare const ChatMessageFragment$outboundSchema: z.ZodType<ChatMessageFragment$Outbound, z.ZodTypeDef, ChatMessageFragment>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatmessagefragment.d.ts","sourceRoot":"","sources":["../../../../src/models/components/chatmessagefragment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AAEvB;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;IACxD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,MAAM,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"chatmessagefragment.d.ts","sourceRoot":"","sources":["../../../../src/models/components/chatmessagefragment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,mBAAmB,EAEnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gBAAgB,EAEhB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,QAAQ,EAER,iBAAiB,EAElB,MAAM,eAAe,CAAC;AAEvB;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,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qC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
import { safeParse } from "../../lib/schemas.js";
|
|
6
6
|
import { ChatFile$inboundSchema, ChatFile$outboundSchema, } from "./chatfile.js";
|
|
7
|
+
import { ChatMessageCitation$inboundSchema, ChatMessageCitation$outboundSchema, } from "./chatmessagecitation.js";
|
|
7
8
|
import { QuerySuggestion$inboundSchema, QuerySuggestion$outboundSchema, } from "./querysuggestion.js";
|
|
8
9
|
import { StructuredResult$inboundSchema, StructuredResult$outboundSchema, } from "./structuredresult.js";
|
|
9
10
|
import { ToolInfo$inboundSchema, ToolInfo$outboundSchema, } from "./toolinfo.js";
|
|
@@ -15,6 +16,7 @@ export const ChatMessageFragment$inboundSchema = z.object({
|
|
|
15
16
|
querySuggestion: QuerySuggestion$inboundSchema.optional(),
|
|
16
17
|
file: ChatFile$inboundSchema.optional(),
|
|
17
18
|
action: ToolInfo$inboundSchema.optional(),
|
|
19
|
+
citation: ChatMessageCitation$inboundSchema.optional(),
|
|
18
20
|
});
|
|
19
21
|
/** @internal */
|
|
20
22
|
export const ChatMessageFragment$outboundSchema = z.object({
|
|
@@ -24,6 +26,7 @@ export const ChatMessageFragment$outboundSchema = z.object({
|
|
|
24
26
|
querySuggestion: QuerySuggestion$outboundSchema.optional(),
|
|
25
27
|
file: ChatFile$outboundSchema.optional(),
|
|
26
28
|
action: ToolInfo$outboundSchema.optional(),
|
|
29
|
+
citation: ChatMessageCitation$outboundSchema.optional(),
|
|
27
30
|
});
|
|
28
31
|
/**
|
|
29
32
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatmessagefragment.js","sourceRoot":"","sources":["../../../../src/models/components/chatmessagefragment.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,sBAAsB,EAEtB,uBAAuB,GACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,6BAA6B,EAE7B,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,8BAA8B,EAE9B,+BAA+B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,sBAAsB,EAEtB,uBAAuB,GACxB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"chatmessagefragment.js","sourceRoot":"","sources":["../../../../src/models/components/chatmessagefragment.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,sBAAsB,EAEtB,uBAAuB,GACxB,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,iCAAiC,EAEjC,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,6BAA6B,EAE7B,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,8BAA8B,EAE9B,+BAA+B,GAChC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,sBAAsB,EAEtB,uBAAuB,GACxB,MAAM,eAAe,CAAC;AA2BvB,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE;IACrE,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,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AAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -15,7 +15,7 @@ export type ChatRequest = {
|
|
|
15
15
|
*/
|
|
16
16
|
chatId?: string | undefined;
|
|
17
17
|
/**
|
|
18
|
-
* A list of chat messages, from most recent to least recent.
|
|
18
|
+
* A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
|
|
19
19
|
*/
|
|
20
20
|
messages: Array<ChatMessage>;
|
|
21
21
|
/**
|