@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
|
@@ -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
|
|
@@ -47,7 +47,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
47
47
|
* Rotate token
|
|
48
48
|
*
|
|
49
49
|
* @remarks
|
|
50
|
-
* 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/
|
|
50
|
+
* 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.
|
|
51
51
|
*/
|
|
52
52
|
function indexingAuthenticationRotateToken(client, options) {
|
|
53
53
|
return new async_js_1.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
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* Gather information about the datasource's overall status. Currently in beta, might undergo breaking changes without prior notice.
|
|
54
54
|
*
|
|
55
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
55
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
56
56
|
*/
|
|
57
57
|
function indexingDatasourceStatus(client, datasource, options) {
|
|
58
58
|
return new async_js_1.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
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Bulk index documents
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Replaces the documents in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
53
|
+
* 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.
|
|
54
54
|
*/
|
|
55
55
|
function indexingDocumentsBulkIndex(client, request, options) {
|
|
56
56
|
return new async_js_1.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
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* @remarks
|
|
52
52
|
* Check if a given user has access to access a document in a custom datasource
|
|
53
53
|
*
|
|
54
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
54
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
55
55
|
*/
|
|
56
56
|
function indexingDocumentsCheckAccess(client, request, options) {
|
|
57
57
|
return new async_js_1.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
|
*/
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* @remarks
|
|
52
52
|
* Fetches document count for the specified custom datasource.
|
|
53
53
|
*
|
|
54
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
54
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
55
55
|
*
|
|
56
56
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
57
57
|
*/
|
|
@@ -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
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* Gives various information that would help in debugging related to a particular document. Currently in beta, might undergo breaking changes without prior notice.
|
|
54
54
|
*
|
|
55
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
55
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
56
56
|
*/
|
|
57
57
|
function indexingDocumentsDebug(client, debugDocumentRequest, datasource, options) {
|
|
58
58
|
return new async_js_1.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
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* Gives various information that would help in debugging related to a batch of documents. Currently in beta, might undergo breaking changes without prior notice.
|
|
54
54
|
*
|
|
55
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
55
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
56
56
|
*/
|
|
57
57
|
function indexingDocumentsDebugMany(client, debugDocumentsRequest, datasource, options) {
|
|
58
58
|
return new async_js_1.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
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Index documents
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Adds or updates multiple documents in the index. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
53
|
+
* 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.
|
|
54
54
|
*/
|
|
55
55
|
function indexingDocumentsIndex(client, request, options) {
|
|
56
56
|
return new async_js_1.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
|
*/
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* @remarks
|
|
52
52
|
* Intended for debugging/validation. Fetches the current upload and indexing status of documents.
|
|
53
53
|
*
|
|
54
|
-
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/
|
|
54
|
+
* Tip: Use [/debug/{datasource}/document](https://developers.glean.com/indexing/debugging/datasource-document) for richer information.
|
|
55
55
|
*
|
|
56
56
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
57
57
|
*/
|
|
@@ -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
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Bulk index employees
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
53
|
+
* Replaces all the currently indexed employees using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/indexing/documents/bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
|
|
54
54
|
*/
|
|
55
55
|
function indexingPeopleBulkIndex(client, request, options) {
|
|
56
56
|
return new async_js_1.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
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Bulk index teams
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Replaces all the currently indexed teams using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
53
|
+
* 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.
|
|
54
54
|
*/
|
|
55
55
|
function indexingPeopleBulkIndexTeams(client, request, options) {
|
|
56
56
|
return new async_js_1.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
|
*/
|
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* @remarks
|
|
52
52
|
* Fetches user count for the specified custom datasource.
|
|
53
53
|
*
|
|
54
|
-
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/
|
|
54
|
+
* Tip: Use [/debug/{datasource}/status](https://developers.glean.com/indexing/debugging/datasource-status) for richer information.
|
|
55
55
|
*
|
|
56
56
|
* @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
57
57
|
*/
|
|
@@ -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
|
|
@@ -52,7 +52,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
52
52
|
* @remarks
|
|
53
53
|
* Gives various information that would help in debugging related to a particular user. Currently in beta, might undergo breaking changes without prior notice.
|
|
54
54
|
*
|
|
55
|
-
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/
|
|
55
|
+
* Tip: Refer to the [Troubleshooting tutorial](https://developers.glean.com/indexing/debugging/datasource-config) for more information.
|
|
56
56
|
*/
|
|
57
57
|
function indexingPeopleDebug(client, debugUserRequest, datasource, options) {
|
|
58
58
|
return new async_js_1.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
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Bulk index groups
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Replaces the groups in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
53
|
+
* 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.
|
|
54
54
|
*/
|
|
55
55
|
function indexingPermissionsBulkIndexGroups(client, request, options) {
|
|
56
56
|
return new async_js_1.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
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Bulk index memberships for a group
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Replaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
53
|
+
* 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.
|
|
54
54
|
*/
|
|
55
55
|
function indexingPermissionsBulkIndexMemberships(client, request, options) {
|
|
56
56
|
return new async_js_1.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
|
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Bulk index users
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Replaces the users in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/
|
|
53
|
+
* 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.
|
|
54
54
|
*/
|
|
55
55
|
function indexingPermissionsBulkIndexUsers(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -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
|
|
@@ -34,8 +34,8 @@ function serverURLFromOptions(options) {
|
|
|
34
34
|
exports.SDK_METADATA = {
|
|
35
35
|
language: "typescript",
|
|
36
36
|
openapiDocVersion: "0.9.0",
|
|
37
|
-
sdkVersion: "0.
|
|
37
|
+
sdkVersion: "0.9.1",
|
|
38
38
|
genVersion: "2.610.0",
|
|
39
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
39
|
+
userAgent: "speakeasy-sdk/typescript 0.9.1 2.610.0 0.9.0 @gleanwork/api-client",
|
|
40
40
|
};
|
|
41
41
|
//# 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;AACX;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,cAAc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AM,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authconfig.js","sourceRoot":"","sources":["../../../../src/models/components/authconfig.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"authconfig.js","sourceRoot":"","sources":["../../../../src/models/components/authconfig.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0PH,4CAEC;AAED,gDAQC;AApQD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAKjD;;;;;;;;GAQG;AACU,QAAA,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,U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,kBAAkB,CAChC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpD,wCAAwC,CACzC,CAAC;AACJ,CAAC"}
|
|
@@ -96,7 +96,7 @@ var MessageType$;
|
|
|
96
96
|
/** @internal */
|
|
97
97
|
exports.ChatMessage$inboundSchema = z.object({
|
|
98
98
|
agentConfig: agentconfig_js_1.AgentConfig$inboundSchema.optional(),
|
|
99
|
-
author: exports.Author$inboundSchema.default("
|
|
99
|
+
author: exports.Author$inboundSchema.default("GLEAN_AI"),
|
|
100
100
|
citations: z.array(chatmessagecitation_js_1.ChatMessageCitation$inboundSchema).optional(),
|
|
101
101
|
uploadedFileIds: z.array(z.string()).optional(),
|
|
102
102
|
fragments: z.array(chatmessagefragment_js_1.ChatMessageFragment$inboundSchema).optional(),
|
|
@@ -109,7 +109,7 @@ exports.ChatMessage$inboundSchema = z.object({
|
|
|
109
109
|
/** @internal */
|
|
110
110
|
exports.ChatMessage$outboundSchema = z.object({
|
|
111
111
|
agentConfig: agentconfig_js_1.AgentConfig$outboundSchema.optional(),
|
|
112
|
-
author: exports.Author$outboundSchema.default("
|
|
112
|
+
author: exports.Author$outboundSchema.default("GLEAN_AI"),
|
|
113
113
|
citations: z.array(chatmessagecitation_js_1.ChatMessageCitation$outboundSchema).optional(),
|
|
114
114
|
uploadedFileIds: z.array(z.string()).optional(),
|
|
115
115
|
fragments: z.array(chatmessagefragment_js_1.ChatMessageFragment$outboundSchema).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatmessage.js","sourceRoot":"","sources":["../../../../src/models/components/chatmessage.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoMH,8CAEC;AAED,kDAQC;AA9MD,uCAAyB;AACzB,qDAAiD;AA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AC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,WAAW,EAAE,kCAA0B,CAAC,OAAO,CAAC,SAAS,CAAC;IAC1D,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,YAAY,CAO5B;AAPD,WAAiB,YAAY;IAC3B,2DAA2D;IAC9C,0BAAa,GAAG,iCAAyB,CAAC;IACvD,4DAA4D;IAC/C,2BAAc,GAAG,kCAA0B,CAAC;AAG3D,CAAC,EAPgB,YAAY,4BAAZ,YAAY,QAO5B;AAED,SAAgB,iBAAiB,CAAC,WAAwB;IACxD,OAAO,IAAI,CAAC,SAAS,CAAC,kCAA0B,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,mBAAmB,CACjC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iCAAyB,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,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,E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 +42,7 @@ exports.chatMessageFragmentFromJSON = chatMessageFragmentFromJSON;
|
|
|
42
42
|
const z = __importStar(require("zod"));
|
|
43
43
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
const chatfile_js_1 = require("./chatfile.js");
|
|
45
|
+
const chatmessagecitation_js_1 = require("./chatmessagecitation.js");
|
|
45
46
|
const querysuggestion_js_1 = require("./querysuggestion.js");
|
|
46
47
|
const structuredresult_js_1 = require("./structuredresult.js");
|
|
47
48
|
const toolinfo_js_1 = require("./toolinfo.js");
|
|
@@ -53,6 +54,7 @@ exports.ChatMessageFragment$inboundSchema = z.object({
|
|
|
53
54
|
querySuggestion: querysuggestion_js_1.QuerySuggestion$inboundSchema.optional(),
|
|
54
55
|
file: chatfile_js_1.ChatFile$inboundSchema.optional(),
|
|
55
56
|
action: toolinfo_js_1.ToolInfo$inboundSchema.optional(),
|
|
57
|
+
citation: chatmessagecitation_js_1.ChatMessageCitation$inboundSchema.optional(),
|
|
56
58
|
});
|
|
57
59
|
/** @internal */
|
|
58
60
|
exports.ChatMessageFragment$outboundSchema = z.object({
|
|
@@ -62,6 +64,7 @@ exports.ChatMessageFragment$outboundSchema = z.object({
|
|
|
62
64
|
querySuggestion: querysuggestion_js_1.QuerySuggestion$outboundSchema.optional(),
|
|
63
65
|
file: chatfile_js_1.ChatFile$outboundSchema.optional(),
|
|
64
66
|
action: toolinfo_js_1.ToolInfo$outboundSchema.optional(),
|
|
67
|
+
citation: chatmessagecitation_js_1.ChatMessageCitation$outboundSchema.optional(),
|
|
65
68
|
});
|
|
66
69
|
/**
|
|
67
70
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatmessagefragment.js","sourceRoot":"","sources":["../../../../src/models/components/chatmessagefragment.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"chatmessagefragment.js","sourceRoot":"","sources":["../../../../src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mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,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
|
/**
|
|
@@ -96,7 +96,7 @@ export type DocumentDefinition = {
|
|
|
96
96
|
*/
|
|
97
97
|
comments?: Array<CommentDefinition> | undefined;
|
|
98
98
|
/**
|
|
99
|
-
* Additional metadata properties of the document. These can surface as [facets and operators](https://developers.glean.com/
|
|
99
|
+
* Additional metadata properties of the document. These can surface as [facets and operators](https://developers.glean.com/indexing/datasource/custom-properties/operators_and_facets).
|
|
100
100
|
*/
|
|
101
101
|
customProperties?: Array<CustomProperty> | undefined;
|
|
102
102
|
};
|