@gleanwork/api-client 0.8.1 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/funcs/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/commonjs/funcs/indexingAuthenticationRotateToken.js +1 -1
- package/dist/commonjs/funcs/indexingDatasourceStatus.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDatasourceStatus.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsBulkIndex.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCheckAccess.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCount.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsCount.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebug.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebug.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsDebugMany.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsIndex.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsIndex.js +1 -1
- package/dist/commonjs/funcs/indexingDocumentsStatus.d.ts +1 -1
- package/dist/commonjs/funcs/indexingDocumentsStatus.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndex.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleCount.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleCount.js +1 -1
- package/dist/commonjs/funcs/indexingPeopleDebug.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPeopleDebug.js +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/commonjs/funcs/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/components/authconfig.d.ts +3 -0
- package/dist/commonjs/models/components/authconfig.d.ts.map +1 -1
- package/dist/commonjs/models/components/authconfig.js +1 -0
- package/dist/commonjs/models/components/authconfig.js.map +1 -1
- package/dist/commonjs/models/components/chatmessage.js +2 -2
- package/dist/commonjs/models/components/chatmessage.js.map +1 -1
- package/dist/commonjs/models/components/chatmessagefragment.d.ts +6 -0
- package/dist/commonjs/models/components/chatmessagefragment.d.ts.map +1 -1
- package/dist/commonjs/models/components/chatmessagefragment.js +3 -0
- package/dist/commonjs/models/components/chatmessagefragment.js.map +1 -1
- package/dist/commonjs/models/components/chatrequest.d.ts +1 -1
- package/dist/commonjs/models/components/documentdefinition.d.ts +1 -1
- package/dist/commonjs/models/components/feedback.d.ts +6 -0
- package/dist/commonjs/models/components/feedback.d.ts.map +1 -1
- package/dist/commonjs/models/components/feedback.js +6 -0
- package/dist/commonjs/models/components/feedback.js.map +1 -1
- package/dist/commonjs/models/components/generatedqna.js +2 -2
- package/dist/commonjs/models/components/generatedqna.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +2 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +2 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/manualfeedbackinfo.d.ts +8 -8
- package/dist/commonjs/models/components/manualfeedbackinfo.d.ts.map +1 -1
- package/dist/commonjs/models/components/manualfeedbackinfo.js +13 -13
- package/dist/commonjs/models/components/manualfeedbackinfo.js.map +1 -1
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.d.ts +137 -0
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.d.ts.map +1 -0
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.js +130 -0
- package/dist/commonjs/models/components/manualfeedbacksidebysideinfo.js.map +1 -0
- package/dist/commonjs/models/components/searchrequest.d.ts +0 -6
- package/dist/commonjs/models/components/searchrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/searchrequest.js +0 -3
- package/dist/commonjs/models/components/searchrequest.js.map +1 -1
- package/dist/commonjs/models/components/searchresponsemetadata.d.ts +5 -0
- package/dist/commonjs/models/components/searchresponsemetadata.d.ts.map +1 -1
- package/dist/commonjs/models/components/searchresponsemetadata.js +2 -0
- package/dist/commonjs/models/components/searchresponsemetadata.js.map +1 -1
- package/dist/commonjs/models/components/sidebysideimplementation.d.ts +97 -0
- package/dist/commonjs/models/components/sidebysideimplementation.d.ts.map +1 -0
- package/dist/commonjs/models/components/sidebysideimplementation.js +108 -0
- package/dist/commonjs/models/components/sidebysideimplementation.js.map +1 -0
- package/dist/commonjs/models/components/structuredresult.d.ts +3 -0
- package/dist/commonjs/models/components/structuredresult.d.ts.map +1 -1
- package/dist/commonjs/models/components/structuredresult.js +3 -0
- package/dist/commonjs/models/components/structuredresult.js.map +1 -1
- package/dist/commonjs/react-query/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/commonjs/react-query/indexingAuthenticationRotateToken.js +1 -1
- package/dist/commonjs/react-query/indexingDatasourceStatus.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDatasourceStatus.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsBulkIndex.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCheckAccess.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCount.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsCount.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebug.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebug.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsDebugMany.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsIndex.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsIndex.js +1 -1
- package/dist/commonjs/react-query/indexingDocumentsStatus.d.ts +1 -1
- package/dist/commonjs/react-query/indexingDocumentsStatus.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndex.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleCount.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleCount.js +1 -1
- package/dist/commonjs/react-query/indexingPeopleDebug.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPeopleDebug.js +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/commonjs/react-query/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/commonjs/sdk/datasource.d.ts +1 -1
- package/dist/commonjs/sdk/datasource.js +1 -1
- package/dist/commonjs/sdk/indexingauthentication.d.ts +1 -1
- package/dist/commonjs/sdk/indexingauthentication.js +1 -1
- package/dist/commonjs/sdk/indexingdocuments.d.ts +7 -7
- package/dist/commonjs/sdk/indexingdocuments.js +7 -7
- package/dist/commonjs/sdk/people.d.ts +4 -4
- package/dist/commonjs/sdk/people.js +4 -4
- package/dist/commonjs/sdk/permissions.d.ts +3 -3
- package/dist/commonjs/sdk/permissions.js +3 -3
- package/dist/esm/funcs/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/esm/funcs/indexingAuthenticationRotateToken.js +1 -1
- package/dist/esm/funcs/indexingDatasourceStatus.d.ts +1 -1
- package/dist/esm/funcs/indexingDatasourceStatus.js +1 -1
- package/dist/esm/funcs/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsBulkIndex.js +1 -1
- package/dist/esm/funcs/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsCheckAccess.js +1 -1
- package/dist/esm/funcs/indexingDocumentsCount.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsCount.js +1 -1
- package/dist/esm/funcs/indexingDocumentsDebug.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsDebug.js +1 -1
- package/dist/esm/funcs/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsDebugMany.js +1 -1
- package/dist/esm/funcs/indexingDocumentsIndex.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsIndex.js +1 -1
- package/dist/esm/funcs/indexingDocumentsStatus.d.ts +1 -1
- package/dist/esm/funcs/indexingDocumentsStatus.js +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndex.js +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/esm/funcs/indexingPeopleCount.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleCount.js +1 -1
- package/dist/esm/funcs/indexingPeopleDebug.d.ts +1 -1
- package/dist/esm/funcs/indexingPeopleDebug.js +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/esm/funcs/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/components/authconfig.d.ts +3 -0
- package/dist/esm/models/components/authconfig.d.ts.map +1 -1
- package/dist/esm/models/components/authconfig.js +1 -0
- package/dist/esm/models/components/authconfig.js.map +1 -1
- package/dist/esm/models/components/chatmessage.js +2 -2
- package/dist/esm/models/components/chatmessage.js.map +1 -1
- package/dist/esm/models/components/chatmessagefragment.d.ts +6 -0
- package/dist/esm/models/components/chatmessagefragment.d.ts.map +1 -1
- package/dist/esm/models/components/chatmessagefragment.js +3 -0
- package/dist/esm/models/components/chatmessagefragment.js.map +1 -1
- package/dist/esm/models/components/chatrequest.d.ts +1 -1
- package/dist/esm/models/components/documentdefinition.d.ts +1 -1
- package/dist/esm/models/components/feedback.d.ts +6 -0
- package/dist/esm/models/components/feedback.d.ts.map +1 -1
- package/dist/esm/models/components/feedback.js +6 -0
- package/dist/esm/models/components/feedback.js.map +1 -1
- package/dist/esm/models/components/generatedqna.js +2 -2
- package/dist/esm/models/components/generatedqna.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +2 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +2 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/manualfeedbackinfo.d.ts +8 -8
- package/dist/esm/models/components/manualfeedbackinfo.d.ts.map +1 -1
- package/dist/esm/models/components/manualfeedbackinfo.js +12 -12
- package/dist/esm/models/components/manualfeedbackinfo.js.map +1 -1
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.d.ts +137 -0
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.d.ts.map +1 -0
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.js +92 -0
- package/dist/esm/models/components/manualfeedbacksidebysideinfo.js.map +1 -0
- package/dist/esm/models/components/searchrequest.d.ts +0 -6
- package/dist/esm/models/components/searchrequest.d.ts.map +1 -1
- package/dist/esm/models/components/searchrequest.js +0 -3
- package/dist/esm/models/components/searchrequest.js.map +1 -1
- package/dist/esm/models/components/searchresponsemetadata.d.ts +5 -0
- package/dist/esm/models/components/searchresponsemetadata.d.ts.map +1 -1
- package/dist/esm/models/components/searchresponsemetadata.js +2 -0
- package/dist/esm/models/components/searchresponsemetadata.js.map +1 -1
- package/dist/esm/models/components/sidebysideimplementation.d.ts +97 -0
- package/dist/esm/models/components/sidebysideimplementation.d.ts.map +1 -0
- package/dist/esm/models/components/sidebysideimplementation.js +68 -0
- package/dist/esm/models/components/sidebysideimplementation.js.map +1 -0
- package/dist/esm/models/components/structuredresult.d.ts +3 -0
- package/dist/esm/models/components/structuredresult.d.ts.map +1 -1
- package/dist/esm/models/components/structuredresult.js +3 -0
- package/dist/esm/models/components/structuredresult.js.map +1 -1
- package/dist/esm/react-query/indexingAuthenticationRotateToken.d.ts +1 -1
- package/dist/esm/react-query/indexingAuthenticationRotateToken.js +1 -1
- package/dist/esm/react-query/indexingDatasourceStatus.d.ts +1 -1
- package/dist/esm/react-query/indexingDatasourceStatus.js +1 -1
- package/dist/esm/react-query/indexingDocumentsBulkIndex.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsBulkIndex.js +1 -1
- package/dist/esm/react-query/indexingDocumentsCheckAccess.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsCheckAccess.js +1 -1
- package/dist/esm/react-query/indexingDocumentsCount.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsCount.js +1 -1
- package/dist/esm/react-query/indexingDocumentsDebug.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsDebug.js +1 -1
- package/dist/esm/react-query/indexingDocumentsDebugMany.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsDebugMany.js +1 -1
- package/dist/esm/react-query/indexingDocumentsIndex.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsIndex.js +1 -1
- package/dist/esm/react-query/indexingDocumentsStatus.d.ts +1 -1
- package/dist/esm/react-query/indexingDocumentsStatus.js +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndex.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndex.js +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndexTeams.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleBulkIndexTeams.js +1 -1
- package/dist/esm/react-query/indexingPeopleCount.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleCount.js +1 -1
- package/dist/esm/react-query/indexingPeopleDebug.d.ts +1 -1
- package/dist/esm/react-query/indexingPeopleDebug.js +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexGroups.d.ts +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexGroups.js +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexMemberships.d.ts +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexMemberships.js +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexUsers.d.ts +1 -1
- package/dist/esm/react-query/indexingPermissionsBulkIndexUsers.js +1 -1
- package/dist/esm/sdk/datasource.d.ts +1 -1
- package/dist/esm/sdk/datasource.js +1 -1
- package/dist/esm/sdk/indexingauthentication.d.ts +1 -1
- package/dist/esm/sdk/indexingauthentication.js +1 -1
- package/dist/esm/sdk/indexingdocuments.d.ts +7 -7
- package/dist/esm/sdk/indexingdocuments.js +7 -7
- package/dist/esm/sdk/people.d.ts +4 -4
- package/dist/esm/sdk/people.js +4 -4
- package/dist/esm/sdk/permissions.d.ts +3 -3
- package/dist/esm/sdk/permissions.js +3 -3
- package/docs/sdks/datasource/README.md +1 -1
- package/docs/sdks/indexingauthentication/README.md +1 -1
- package/docs/sdks/indexingdocuments/README.md +7 -7
- package/docs/sdks/people/README.md +4 -4
- package/docs/sdks/permissions/README.md +3 -3
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/indexingAuthenticationRotateToken.ts +1 -1
- package/src/funcs/indexingDatasourceStatus.ts +1 -1
- package/src/funcs/indexingDocumentsBulkIndex.ts +1 -1
- package/src/funcs/indexingDocumentsCheckAccess.ts +1 -1
- package/src/funcs/indexingDocumentsCount.ts +1 -1
- package/src/funcs/indexingDocumentsDebug.ts +1 -1
- package/src/funcs/indexingDocumentsDebugMany.ts +1 -1
- package/src/funcs/indexingDocumentsIndex.ts +1 -1
- package/src/funcs/indexingDocumentsStatus.ts +1 -1
- package/src/funcs/indexingPeopleBulkIndex.ts +1 -1
- package/src/funcs/indexingPeopleBulkIndexTeams.ts +1 -1
- package/src/funcs/indexingPeopleCount.ts +1 -1
- package/src/funcs/indexingPeopleDebug.ts +1 -1
- package/src/funcs/indexingPermissionsBulkIndexGroups.ts +1 -1
- package/src/funcs/indexingPermissionsBulkIndexMemberships.ts +1 -1
- package/src/funcs/indexingPermissionsBulkIndexUsers.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/authconfig.ts +1 -0
- package/src/models/components/chatmessage.ts +2 -2
- package/src/models/components/chatmessagefragment.ts +13 -0
- package/src/models/components/chatrequest.ts +1 -1
- package/src/models/components/documentdefinition.ts +1 -1
- package/src/models/components/feedback.ts +15 -0
- package/src/models/components/generatedqna.ts +2 -2
- package/src/models/components/index.ts +2 -0
- package/src/models/components/manualfeedbackinfo.ts +16 -15
- package/src/models/components/manualfeedbacksidebysideinfo.ts +200 -0
- package/src/models/components/searchrequest.ts +0 -13
- package/src/models/components/searchresponsemetadata.ts +7 -0
- package/src/models/components/sidebysideimplementation.ts +175 -0
- package/src/models/components/structuredresult.ts +10 -0
- package/src/react-query/indexingAuthenticationRotateToken.ts +1 -1
- package/src/react-query/indexingDatasourceStatus.ts +1 -1
- package/src/react-query/indexingDocumentsBulkIndex.ts +1 -1
- package/src/react-query/indexingDocumentsCheckAccess.ts +1 -1
- package/src/react-query/indexingDocumentsCount.ts +1 -1
- package/src/react-query/indexingDocumentsDebug.ts +1 -1
- package/src/react-query/indexingDocumentsDebugMany.ts +1 -1
- package/src/react-query/indexingDocumentsIndex.ts +1 -1
- package/src/react-query/indexingDocumentsStatus.ts +1 -1
- package/src/react-query/indexingPeopleBulkIndex.ts +1 -1
- package/src/react-query/indexingPeopleBulkIndexTeams.ts +1 -1
- package/src/react-query/indexingPeopleCount.ts +1 -1
- package/src/react-query/indexingPeopleDebug.ts +1 -1
- package/src/react-query/indexingPermissionsBulkIndexGroups.ts +1 -1
- package/src/react-query/indexingPermissionsBulkIndexMemberships.ts +1 -1
- package/src/react-query/indexingPermissionsBulkIndexUsers.ts +1 -1
- package/src/sdk/datasource.ts +1 -1
- package/src/sdk/indexingauthentication.ts +1 -1
- package/src/sdk/indexingdocuments.ts +7 -7
- package/src/sdk/people.ts +4 -4
- package/src/sdk/permissions.ts +3 -3
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
|
|
116
116
|
## index
|
|
117
117
|
|
|
118
|
-
Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
118
|
+
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.
|
|
119
119
|
|
|
120
120
|
### Example Usage
|
|
121
121
|
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
|
|
209
209
|
## bulkIndex
|
|
210
210
|
|
|
211
|
-
Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
211
|
+
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.
|
|
212
212
|
|
|
213
213
|
### Example Usage
|
|
214
214
|
|
|
@@ -498,7 +498,7 @@ import {
|
|
|
498
498
|
|
|
499
499
|
Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
500
500
|
|
|
501
|
-
Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
501
|
+
Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
502
502
|
|
|
503
503
|
|
|
504
504
|
### Example Usage
|
|
@@ -597,7 +597,7 @@ import {
|
|
|
597
597
|
|
|
598
598
|
Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
599
599
|
|
|
600
|
-
Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
600
|
+
Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
601
601
|
|
|
602
602
|
|
|
603
603
|
### Example Usage
|
|
@@ -704,7 +704,7 @@ import {
|
|
|
704
704
|
|
|
705
705
|
Check if a given user has access to access a document in a custom datasource
|
|
706
706
|
|
|
707
|
-
Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
707
|
+
Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
708
708
|
|
|
709
709
|
|
|
710
710
|
### Example Usage
|
|
@@ -806,7 +806,7 @@ import {
|
|
|
806
806
|
|
|
807
807
|
Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
808
808
|
|
|
809
|
-
Tip: Use [/debug/{datasource}/document](https://developers.glean.com/
|
|
809
|
+
Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
|
|
810
810
|
|
|
811
811
|
|
|
812
812
|
> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
@@ -908,7 +908,7 @@ import {
|
|
|
908
908
|
|
|
909
909
|
Fetches document count for the specified custom datasource.
|
|
910
910
|
|
|
911
|
-
Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
911
|
+
Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
912
912
|
|
|
913
913
|
|
|
914
914
|
> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
|
|
22
22
|
|
|
23
|
-
Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
23
|
+
Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
### Example Usage
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
|
|
118
118
|
Fetches user count for the specified custom datasource.
|
|
119
119
|
|
|
120
|
-
Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
120
|
+
Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
@@ -322,7 +322,7 @@ import {
|
|
|
322
322
|
|
|
323
323
|
## bulkIndex
|
|
324
324
|
|
|
325
|
-
Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
325
|
+
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.
|
|
326
326
|
|
|
327
327
|
### Example Usage
|
|
328
328
|
|
|
@@ -881,7 +881,7 @@ import {
|
|
|
881
881
|
|
|
882
882
|
## bulkIndexTeams
|
|
883
883
|
|
|
884
|
-
Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
884
|
+
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.
|
|
885
885
|
|
|
886
886
|
### Example Usage
|
|
887
887
|
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
|
|
213
213
|
## bulkIndexUsers
|
|
214
214
|
|
|
215
|
-
Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
215
|
+
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.
|
|
216
216
|
|
|
217
217
|
### Example Usage
|
|
218
218
|
|
|
@@ -430,7 +430,7 @@ import {
|
|
|
430
430
|
|
|
431
431
|
## bulkIndexGroups
|
|
432
432
|
|
|
433
|
-
Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
433
|
+
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.
|
|
434
434
|
|
|
435
435
|
### Example Usage
|
|
436
436
|
|
|
@@ -636,7 +636,7 @@ import {
|
|
|
636
636
|
|
|
637
637
|
## bulkIndexMemberships
|
|
638
638
|
|
|
639
|
-
Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
639
|
+
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.
|
|
640
640
|
|
|
641
641
|
### Example Usage
|
|
642
642
|
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ import { Result } from "../types/fp.js";
|
|
|
25
25
|
* Rotate token
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
* 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/
|
|
28
|
+
* 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.
|
|
29
29
|
*/
|
|
30
30
|
export function indexingAuthenticationRotateToken(
|
|
31
31
|
client: GleanCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
|
|
32
32
|
*
|
|
33
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
33
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
34
34
|
*/
|
|
35
35
|
export function indexingDatasourceStatus(
|
|
36
36
|
client: GleanCore,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* Bulk index documents
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
* Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
31
|
+
* 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.
|
|
32
32
|
*/
|
|
33
33
|
export function indexingDocumentsBulkIndex(
|
|
34
34
|
client: GleanCore,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Check if a given user has access to access a document in a custom datasource
|
|
31
31
|
*
|
|
32
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
32
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
33
33
|
*/
|
|
34
34
|
export function indexingDocumentsCheckAccess(
|
|
35
35
|
client: GleanCore,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Fetches document count for the specified custom datasource.
|
|
31
31
|
*
|
|
32
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
32
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
33
33
|
*
|
|
34
34
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
35
35
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
32
32
|
*
|
|
33
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
33
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
34
34
|
*/
|
|
35
35
|
export function indexingDocumentsDebug(
|
|
36
36
|
client: GleanCore,
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
32
32
|
*
|
|
33
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
33
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
34
34
|
*/
|
|
35
35
|
export function indexingDocumentsDebugMany(
|
|
36
36
|
client: GleanCore,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* Index documents
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
31
|
+
* 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.
|
|
32
32
|
*/
|
|
33
33
|
export function indexingDocumentsIndex(
|
|
34
34
|
client: GleanCore,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
31
31
|
*
|
|
32
|
-
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/
|
|
32
|
+
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
|
|
33
33
|
*
|
|
34
34
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
35
35
|
*/
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* Bulk index employees
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
31
|
+
* 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.
|
|
32
32
|
*/
|
|
33
33
|
export function indexingPeopleBulkIndex(
|
|
34
34
|
client: GleanCore,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* Bulk index teams
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
31
|
+
* 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.
|
|
32
32
|
*/
|
|
33
33
|
export function indexingPeopleBulkIndexTeams(
|
|
34
34
|
client: GleanCore,
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* @remarks
|
|
30
30
|
* Fetches user count for the specified custom datasource.
|
|
31
31
|
*
|
|
32
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
32
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
33
33
|
*
|
|
34
34
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
35
35
|
*/
|
|
@@ -30,7 +30,7 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
|
|
32
32
|
*
|
|
33
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
33
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
34
34
|
*/
|
|
35
35
|
export function indexingPeopleDebug(
|
|
36
36
|
client: GleanCore,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* Bulk index groups
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
31
|
+
* 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.
|
|
32
32
|
*/
|
|
33
33
|
export function indexingPermissionsBulkIndexGroups(
|
|
34
34
|
client: GleanCore,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* Bulk index memberships for a group
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
31
|
+
* 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.
|
|
32
32
|
*/
|
|
33
33
|
export function indexingPermissionsBulkIndexMemberships(
|
|
34
34
|
client: GleanCore,
|
|
@@ -28,7 +28,7 @@ import { Result } from "../types/fp.js";
|
|
|
28
28
|
* Bulk index users
|
|
29
29
|
*
|
|
30
30
|
* @remarks
|
|
31
|
-
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
31
|
+
* 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.
|
|
32
32
|
*/
|
|
33
33
|
export function indexingPermissionsBulkIndexUsers(
|
|
34
34
|
client: GleanCore,
|
package/src/lib/config.ts
CHANGED
|
@@ -64,8 +64,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
64
64
|
export const SDK_METADATA = {
|
|
65
65
|
language: "typescript",
|
|
66
66
|
openapiDocVersion: "0.9.0",
|
|
67
|
-
sdkVersion: "0.
|
|
67
|
+
sdkVersion: "0.9.1",
|
|
68
68
|
genVersion: "2.610.0",
|
|
69
69
|
userAgent:
|
|
70
|
-
"speakeasy-sdk/typescript 0.
|
|
70
|
+
"speakeasy-sdk/typescript 0.9.1 2.610.0 0.9.0 @gleanwork/api-client",
|
|
71
71
|
} as const;
|
|
@@ -140,7 +140,7 @@ export const ChatMessage$inboundSchema: z.ZodType<
|
|
|
140
140
|
unknown
|
|
141
141
|
> = z.object({
|
|
142
142
|
agentConfig: AgentConfig$inboundSchema.optional(),
|
|
143
|
-
author: Author$inboundSchema.default("
|
|
143
|
+
author: Author$inboundSchema.default("GLEAN_AI"),
|
|
144
144
|
citations: z.array(ChatMessageCitation$inboundSchema).optional(),
|
|
145
145
|
uploadedFileIds: z.array(z.string()).optional(),
|
|
146
146
|
fragments: z.array(ChatMessageFragment$inboundSchema).optional(),
|
|
@@ -172,7 +172,7 @@ export const ChatMessage$outboundSchema: z.ZodType<
|
|
|
172
172
|
ChatMessage
|
|
173
173
|
> = z.object({
|
|
174
174
|
agentConfig: AgentConfig$outboundSchema.optional(),
|
|
175
|
-
author: Author$outboundSchema.default("
|
|
175
|
+
author: Author$outboundSchema.default("GLEAN_AI"),
|
|
176
176
|
citations: z.array(ChatMessageCitation$outboundSchema).optional(),
|
|
177
177
|
uploadedFileIds: z.array(z.string()).optional(),
|
|
178
178
|
fragments: z.array(ChatMessageFragment$outboundSchema).optional(),
|
|
@@ -12,6 +12,12 @@ import {
|
|
|
12
12
|
ChatFile$Outbound,
|
|
13
13
|
ChatFile$outboundSchema,
|
|
14
14
|
} from "./chatfile.js";
|
|
15
|
+
import {
|
|
16
|
+
ChatMessageCitation,
|
|
17
|
+
ChatMessageCitation$inboundSchema,
|
|
18
|
+
ChatMessageCitation$Outbound,
|
|
19
|
+
ChatMessageCitation$outboundSchema,
|
|
20
|
+
} from "./chatmessagecitation.js";
|
|
15
21
|
import {
|
|
16
22
|
QuerySuggestion,
|
|
17
23
|
QuerySuggestion$inboundSchema,
|
|
@@ -50,6 +56,10 @@ export type ChatMessageFragment = {
|
|
|
50
56
|
*/
|
|
51
57
|
file?: ChatFile | undefined;
|
|
52
58
|
action?: ToolInfo | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Information about the source for a ChatMessage.
|
|
61
|
+
*/
|
|
62
|
+
citation?: ChatMessageCitation | undefined;
|
|
53
63
|
};
|
|
54
64
|
|
|
55
65
|
/** @internal */
|
|
@@ -64,6 +74,7 @@ export const ChatMessageFragment$inboundSchema: z.ZodType<
|
|
|
64
74
|
querySuggestion: QuerySuggestion$inboundSchema.optional(),
|
|
65
75
|
file: ChatFile$inboundSchema.optional(),
|
|
66
76
|
action: ToolInfo$inboundSchema.optional(),
|
|
77
|
+
citation: ChatMessageCitation$inboundSchema.optional(),
|
|
67
78
|
});
|
|
68
79
|
|
|
69
80
|
/** @internal */
|
|
@@ -74,6 +85,7 @@ export type ChatMessageFragment$Outbound = {
|
|
|
74
85
|
querySuggestion?: QuerySuggestion$Outbound | undefined;
|
|
75
86
|
file?: ChatFile$Outbound | undefined;
|
|
76
87
|
action?: ToolInfo$Outbound | undefined;
|
|
88
|
+
citation?: ChatMessageCitation$Outbound | undefined;
|
|
77
89
|
};
|
|
78
90
|
|
|
79
91
|
/** @internal */
|
|
@@ -88,6 +100,7 @@ export const ChatMessageFragment$outboundSchema: z.ZodType<
|
|
|
88
100
|
querySuggestion: QuerySuggestion$outboundSchema.optional(),
|
|
89
101
|
file: ChatFile$outboundSchema.optional(),
|
|
90
102
|
action: ToolInfo$outboundSchema.optional(),
|
|
103
|
+
citation: ChatMessageCitation$outboundSchema.optional(),
|
|
91
104
|
});
|
|
92
105
|
|
|
93
106
|
/**
|
|
@@ -41,7 +41,7 @@ export type ChatRequest = {
|
|
|
41
41
|
*/
|
|
42
42
|
chatId?: string | undefined;
|
|
43
43
|
/**
|
|
44
|
-
* A list of chat messages, from most recent to least recent.
|
|
44
|
+
* A list of chat messages, from most recent to least recent. At least one message must specify a USER author.
|
|
45
45
|
*/
|
|
46
46
|
messages: Array<ChatMessage>;
|
|
47
47
|
/**
|
|
@@ -132,7 +132,7 @@ export type DocumentDefinition = {
|
|
|
132
132
|
*/
|
|
133
133
|
comments?: Array<CommentDefinition> | undefined;
|
|
134
134
|
/**
|
|
135
|
-
* Additional metadata properties of the document. These can surface as [facets and operators](https://developers.glean.com/
|
|
135
|
+
* Additional metadata properties of the document. These can surface as [facets and operators](https://developers.glean.com/indexing/datasource/custom-properties/operators_and_facets).
|
|
136
136
|
*/
|
|
137
137
|
customProperties?: Array<CustomProperty> | undefined;
|
|
138
138
|
};
|
|
@@ -13,6 +13,12 @@ import {
|
|
|
13
13
|
ManualFeedbackInfo$Outbound,
|
|
14
14
|
ManualFeedbackInfo$outboundSchema,
|
|
15
15
|
} from "./manualfeedbackinfo.js";
|
|
16
|
+
import {
|
|
17
|
+
ManualFeedbackSideBySideInfo,
|
|
18
|
+
ManualFeedbackSideBySideInfo$inboundSchema,
|
|
19
|
+
ManualFeedbackSideBySideInfo$Outbound,
|
|
20
|
+
ManualFeedbackSideBySideInfo$outboundSchema,
|
|
21
|
+
} from "./manualfeedbacksidebysideinfo.js";
|
|
16
22
|
import {
|
|
17
23
|
SeenFeedbackInfo,
|
|
18
24
|
SeenFeedbackInfo$inboundSchema,
|
|
@@ -82,6 +88,7 @@ export const Event = {
|
|
|
82
88
|
FocusIn: "FOCUS_IN",
|
|
83
89
|
LastToken: "LAST_TOKEN",
|
|
84
90
|
ManualFeedback: "MANUAL_FEEDBACK",
|
|
91
|
+
ManualFeedbackSideBySide: "MANUAL_FEEDBACK_SIDE_BY_SIDE",
|
|
85
92
|
MarkAsRead: "MARK_AS_READ",
|
|
86
93
|
Message: "MESSAGE",
|
|
87
94
|
MiddleClick: "MIDDLE_CLICK",
|
|
@@ -162,6 +169,7 @@ export type Feedback = {
|
|
|
162
169
|
*/
|
|
163
170
|
uiElement?: string | undefined;
|
|
164
171
|
manualFeedbackInfo?: ManualFeedbackInfo | undefined;
|
|
172
|
+
manualFeedbackSideBySideInfo?: ManualFeedbackSideBySideInfo | undefined;
|
|
165
173
|
seenFeedbackInfo?: SeenFeedbackInfo | undefined;
|
|
166
174
|
userViewInfo?: UserViewInfo | undefined;
|
|
167
175
|
workflowFeedbackInfo?: WorkflowFeedbackInfo | undefined;
|
|
@@ -259,6 +267,8 @@ export const Feedback$inboundSchema: z.ZodType<
|
|
|
259
267
|
uiTree: z.array(z.string()).optional(),
|
|
260
268
|
uiElement: z.string().optional(),
|
|
261
269
|
manualFeedbackInfo: ManualFeedbackInfo$inboundSchema.optional(),
|
|
270
|
+
manualFeedbackSideBySideInfo: ManualFeedbackSideBySideInfo$inboundSchema
|
|
271
|
+
.optional(),
|
|
262
272
|
seenFeedbackInfo: SeenFeedbackInfo$inboundSchema.optional(),
|
|
263
273
|
userViewInfo: UserViewInfo$inboundSchema.optional(),
|
|
264
274
|
workflowFeedbackInfo: WorkflowFeedbackInfo$inboundSchema.optional(),
|
|
@@ -283,6 +293,9 @@ export type Feedback$Outbound = {
|
|
|
283
293
|
uiTree?: Array<string> | undefined;
|
|
284
294
|
uiElement?: string | undefined;
|
|
285
295
|
manualFeedbackInfo?: ManualFeedbackInfo$Outbound | undefined;
|
|
296
|
+
manualFeedbackSideBySideInfo?:
|
|
297
|
+
| ManualFeedbackSideBySideInfo$Outbound
|
|
298
|
+
| undefined;
|
|
286
299
|
seenFeedbackInfo?: SeenFeedbackInfo$Outbound | undefined;
|
|
287
300
|
userViewInfo?: UserViewInfo$Outbound | undefined;
|
|
288
301
|
workflowFeedbackInfo?: WorkflowFeedbackInfo$Outbound | undefined;
|
|
@@ -311,6 +324,8 @@ export const Feedback$outboundSchema: z.ZodType<
|
|
|
311
324
|
uiTree: z.array(z.string()).optional(),
|
|
312
325
|
uiElement: z.string().optional(),
|
|
313
326
|
manualFeedbackInfo: ManualFeedbackInfo$outboundSchema.optional(),
|
|
327
|
+
manualFeedbackSideBySideInfo: ManualFeedbackSideBySideInfo$outboundSchema
|
|
328
|
+
.optional(),
|
|
314
329
|
seenFeedbackInfo: SeenFeedbackInfo$outboundSchema.optional(),
|
|
315
330
|
userViewInfo: UserViewInfo$outboundSchema.optional(),
|
|
316
331
|
workflowFeedbackInfo: WorkflowFeedbackInfo$outboundSchema.optional(),
|
|
@@ -104,7 +104,7 @@ export const GeneratedQna$inboundSchema: z.ZodType<
|
|
|
104
104
|
answer: z.string().optional(),
|
|
105
105
|
followUpPrompts: z.array(z.string()).optional(),
|
|
106
106
|
followupActions: z.array(FollowupAction$inboundSchema).optional(),
|
|
107
|
-
ranges: z.array(TextRange$inboundSchema).optional(),
|
|
107
|
+
ranges: z.array(z.lazy(() => TextRange$inboundSchema)).optional(),
|
|
108
108
|
status: GeneratedQnaStatus$inboundSchema.optional(),
|
|
109
109
|
cursor: z.string().optional(),
|
|
110
110
|
trackingToken: z.string().optional(),
|
|
@@ -132,7 +132,7 @@ export const GeneratedQna$outboundSchema: z.ZodType<
|
|
|
132
132
|
answer: z.string().optional(),
|
|
133
133
|
followUpPrompts: z.array(z.string()).optional(),
|
|
134
134
|
followupActions: z.array(FollowupAction$outboundSchema).optional(),
|
|
135
|
-
ranges: z.array(TextRange$outboundSchema).optional(),
|
|
135
|
+
ranges: z.array(z.lazy(() => TextRange$outboundSchema)).optional(),
|
|
136
136
|
status: GeneratedQnaStatus$outboundSchema.optional(),
|
|
137
137
|
cursor: z.string().optional(),
|
|
138
138
|
trackingToken: z.string().optional(),
|
|
@@ -267,6 +267,7 @@ export * from "./listpinsresponse.js";
|
|
|
267
267
|
export * from "./listshortcutspaginatedrequest.js";
|
|
268
268
|
export * from "./listshortcutspaginatedresponse.js";
|
|
269
269
|
export * from "./manualfeedbackinfo.js";
|
|
270
|
+
export * from "./manualfeedbacksidebysideinfo.js";
|
|
270
271
|
export * from "./meeting.js";
|
|
271
272
|
export * from "./message.js";
|
|
272
273
|
export * from "./messagesrequest.js";
|
|
@@ -345,6 +346,7 @@ export * from "./shortcutinsight.js";
|
|
|
345
346
|
export * from "./shortcutinsightsresponse.js";
|
|
346
347
|
export * from "./shortcutmutableproperties.js";
|
|
347
348
|
export * from "./shortcutspaginationmetadata.js";
|
|
349
|
+
export * from "./sidebysideimplementation.js";
|
|
348
350
|
export * from "./socialnetwork.js";
|
|
349
351
|
export * from "./socialnetworkdefinition.js";
|
|
350
352
|
export * from "./sortoptions.js";
|
|
@@ -63,14 +63,14 @@ export type Issue = ClosedEnum<typeof Issue>;
|
|
|
63
63
|
/**
|
|
64
64
|
* The vote associated with the Feedback.event.MANUAL_FEEDBACK event.
|
|
65
65
|
*/
|
|
66
|
-
export const
|
|
66
|
+
export const ManualFeedbackInfoVote = {
|
|
67
67
|
Upvote: "UPVOTE",
|
|
68
68
|
Downvote: "DOWNVOTE",
|
|
69
69
|
} as const;
|
|
70
70
|
/**
|
|
71
71
|
* The vote associated with the Feedback.event.MANUAL_FEEDBACK event.
|
|
72
72
|
*/
|
|
73
|
-
export type
|
|
73
|
+
export type ManualFeedbackInfoVote = ClosedEnum<typeof ManualFeedbackInfoVote>;
|
|
74
74
|
|
|
75
75
|
export type ManualFeedbackInfo = {
|
|
76
76
|
/**
|
|
@@ -130,7 +130,7 @@ export type ManualFeedbackInfo = {
|
|
|
130
130
|
/**
|
|
131
131
|
* The vote associated with the Feedback.event.MANUAL_FEEDBACK event.
|
|
132
132
|
*/
|
|
133
|
-
vote?:
|
|
133
|
+
vote?: ManualFeedbackInfoVote | undefined;
|
|
134
134
|
/**
|
|
135
135
|
* A rating associated with the user feedback. The value will be between one and the maximum given by ratingScale, inclusive.
|
|
136
136
|
*/
|
|
@@ -187,23 +187,24 @@ export namespace Issue$ {
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
/** @internal */
|
|
190
|
-
export const
|
|
191
|
-
|
|
192
|
-
);
|
|
190
|
+
export const ManualFeedbackInfoVote$inboundSchema: z.ZodNativeEnum<
|
|
191
|
+
typeof ManualFeedbackInfoVote
|
|
192
|
+
> = z.nativeEnum(ManualFeedbackInfoVote);
|
|
193
193
|
|
|
194
194
|
/** @internal */
|
|
195
|
-
export const
|
|
196
|
-
|
|
195
|
+
export const ManualFeedbackInfoVote$outboundSchema: z.ZodNativeEnum<
|
|
196
|
+
typeof ManualFeedbackInfoVote
|
|
197
|
+
> = ManualFeedbackInfoVote$inboundSchema;
|
|
197
198
|
|
|
198
199
|
/**
|
|
199
200
|
* @internal
|
|
200
201
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
201
202
|
*/
|
|
202
|
-
export namespace
|
|
203
|
-
/** @deprecated use `
|
|
204
|
-
export const inboundSchema =
|
|
205
|
-
/** @deprecated use `
|
|
206
|
-
export const outboundSchema =
|
|
203
|
+
export namespace ManualFeedbackInfoVote$ {
|
|
204
|
+
/** @deprecated use `ManualFeedbackInfoVote$inboundSchema` instead. */
|
|
205
|
+
export const inboundSchema = ManualFeedbackInfoVote$inboundSchema;
|
|
206
|
+
/** @deprecated use `ManualFeedbackInfoVote$outboundSchema` instead. */
|
|
207
|
+
export const outboundSchema = ManualFeedbackInfoVote$outboundSchema;
|
|
207
208
|
}
|
|
208
209
|
|
|
209
210
|
/** @internal */
|
|
@@ -225,7 +226,7 @@ export const ManualFeedbackInfo$inboundSchema: z.ZodType<
|
|
|
225
226
|
previousMessages: z.array(z.string()).optional(),
|
|
226
227
|
chatTranscript: z.array(FeedbackChatExchange$inboundSchema).optional(),
|
|
227
228
|
numQueriesFromFirstRun: z.number().int().optional(),
|
|
228
|
-
vote:
|
|
229
|
+
vote: ManualFeedbackInfoVote$inboundSchema.optional(),
|
|
229
230
|
rating: z.number().int().optional(),
|
|
230
231
|
ratingKey: z.string().optional(),
|
|
231
232
|
ratingScale: z.number().int().optional(),
|
|
@@ -271,7 +272,7 @@ export const ManualFeedbackInfo$outboundSchema: z.ZodType<
|
|
|
271
272
|
previousMessages: z.array(z.string()).optional(),
|
|
272
273
|
chatTranscript: z.array(FeedbackChatExchange$outboundSchema).optional(),
|
|
273
274
|
numQueriesFromFirstRun: z.number().int().optional(),
|
|
274
|
-
vote:
|
|
275
|
+
vote: ManualFeedbackInfoVote$outboundSchema.optional(),
|
|
275
276
|
rating: z.number().int().optional(),
|
|
276
277
|
ratingKey: z.string().optional(),
|
|
277
278
|
ratingScale: z.number().int().optional(),
|