@gleanwork/api-client 0.4.4 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -45
- package/dist/commonjs/__tests__/agents.test.js +3 -1
- package/dist/commonjs/__tests__/agents.test.js.map +1 -1
- package/dist/commonjs/funcs/clientAgentsList.d.ts +2 -2
- package/dist/commonjs/funcs/clientAgentsList.js +2 -2
- package/dist/commonjs/funcs/clientAgentsRetrieve.d.ts +2 -2
- package/dist/commonjs/funcs/clientAgentsRetrieve.js +2 -2
- package/dist/commonjs/funcs/clientAgentsRetrieveSchemas.d.ts +2 -2
- package/dist/commonjs/funcs/clientAgentsRetrieveSchemas.js +2 -2
- package/dist/commonjs/funcs/clientAgentsRun.d.ts +2 -2
- package/dist/commonjs/funcs/clientAgentsRun.js +2 -2
- package/dist/commonjs/funcs/clientAgentsRunStream.d.ts +2 -2
- package/dist/commonjs/funcs/clientAgentsRunStream.js +2 -2
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesCreate.d.ts +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesCreate.js +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesDownload.d.ts +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesDownload.js +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesList.d.ts +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesList.js +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesRetrieve.d.ts +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesRetrieve.js +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesUpdate.d.ts +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataPoliciesUpdate.js +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataReportsCreate.d.ts +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataReportsCreate.js +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataReportsDownload.d.ts +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataReportsDownload.js +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataReportsStatus.d.ts +1 -1
- package/dist/commonjs/funcs/clientGovernanceDataReportsStatus.js +1 -1
- package/dist/commonjs/funcs/clientGovernanceDocumentsVisibilityoverridesCreate.d.ts +1 -1
- package/dist/commonjs/funcs/clientGovernanceDocumentsVisibilityoverridesCreate.js +1 -1
- package/dist/commonjs/funcs/clientGovernanceDocumentsVisibilityoverridesList.d.ts +1 -1
- package/dist/commonjs/funcs/clientGovernanceDocumentsVisibilityoverridesList.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/agent.d.ts +16 -6
- package/dist/commonjs/models/components/agent.d.ts.map +1 -1
- package/dist/commonjs/models/components/agent.js.map +1 -1
- package/dist/commonjs/models/components/agentrun.d.ts +2 -2
- package/dist/commonjs/models/components/agentrun.d.ts.map +1 -1
- package/dist/commonjs/models/components/agentrun.js +2 -2
- package/dist/commonjs/models/components/agentrun.js.map +1 -1
- package/dist/commonjs/models/components/agentruncreate.d.ts +2 -2
- package/dist/commonjs/models/components/agentruncreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/agentruncreate.js +2 -2
- package/dist/commonjs/models/components/agentruncreate.js.map +1 -1
- package/dist/commonjs/models/components/agentschemas.d.ts +4 -4
- package/dist/commonjs/models/components/chatrequest.d.ts +3 -0
- package/dist/commonjs/models/components/chatrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/chatrequest.js +3 -0
- package/dist/commonjs/models/components/chatrequest.js.map +1 -1
- package/dist/commonjs/models/components/searchagentsrequest.d.ts +1 -1
- package/dist/commonjs/models/components/workflow.d.ts +5 -5
- package/dist/commonjs/models/components/workflow.d.ts.map +1 -1
- package/dist/commonjs/models/components/workflow.js +2 -2
- package/dist/commonjs/models/components/workflow.js.map +1 -1
- package/dist/commonjs/react-query/clientAgentsList.d.ts +2 -2
- package/dist/commonjs/react-query/clientAgentsList.js +2 -2
- package/dist/commonjs/react-query/clientAgentsRetrieve.d.ts +4 -4
- package/dist/commonjs/react-query/clientAgentsRetrieve.js +4 -4
- package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.d.ts +4 -4
- package/dist/commonjs/react-query/clientAgentsRetrieveSchemas.js +4 -4
- package/dist/commonjs/react-query/clientAgentsRun.d.ts +2 -2
- package/dist/commonjs/react-query/clientAgentsRun.js +2 -2
- package/dist/commonjs/react-query/clientAgentsRunStream.d.ts +2 -2
- package/dist/commonjs/react-query/clientAgentsRunStream.js +2 -2
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesCreate.d.ts +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesCreate.js +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.d.ts +2 -2
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesDownload.js +2 -2
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.d.ts +2 -2
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesList.js +2 -2
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.d.ts +2 -2
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesRetrieve.js +2 -2
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesUpdate.d.ts +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataPoliciesUpdate.js +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataReportsCreate.d.ts +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataReportsCreate.js +1 -1
- package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.d.ts +2 -2
- package/dist/commonjs/react-query/clientGovernanceDataReportsDownload.js +2 -2
- package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.d.ts +2 -2
- package/dist/commonjs/react-query/clientGovernanceDataReportsStatus.js +2 -2
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesCreate.d.ts +1 -1
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesCreate.js +1 -1
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.d.ts +2 -2
- package/dist/commonjs/react-query/clientGovernanceDocumentsVisibilityoverridesList.js +2 -2
- package/dist/commonjs/sdk/agents.d.ts +10 -10
- package/dist/commonjs/sdk/agents.js +10 -10
- package/dist/commonjs/sdk/policies.d.ts +5 -5
- package/dist/commonjs/sdk/policies.js +5 -5
- package/dist/commonjs/sdk/reports.d.ts +3 -3
- package/dist/commonjs/sdk/reports.js +3 -3
- package/dist/commonjs/sdk/visibilityoverrides.d.ts +2 -2
- package/dist/commonjs/sdk/visibilityoverrides.js +2 -2
- package/dist/esm/__tests__/agents.test.js +3 -1
- package/dist/esm/__tests__/agents.test.js.map +1 -1
- package/dist/esm/funcs/clientAgentsList.d.ts +2 -2
- package/dist/esm/funcs/clientAgentsList.js +2 -2
- package/dist/esm/funcs/clientAgentsRetrieve.d.ts +2 -2
- package/dist/esm/funcs/clientAgentsRetrieve.js +2 -2
- package/dist/esm/funcs/clientAgentsRetrieveSchemas.d.ts +2 -2
- package/dist/esm/funcs/clientAgentsRetrieveSchemas.js +2 -2
- package/dist/esm/funcs/clientAgentsRun.d.ts +2 -2
- package/dist/esm/funcs/clientAgentsRun.js +2 -2
- package/dist/esm/funcs/clientAgentsRunStream.d.ts +2 -2
- package/dist/esm/funcs/clientAgentsRunStream.js +2 -2
- package/dist/esm/funcs/clientGovernanceDataPoliciesCreate.d.ts +1 -1
- package/dist/esm/funcs/clientGovernanceDataPoliciesCreate.js +1 -1
- package/dist/esm/funcs/clientGovernanceDataPoliciesDownload.d.ts +1 -1
- package/dist/esm/funcs/clientGovernanceDataPoliciesDownload.js +1 -1
- package/dist/esm/funcs/clientGovernanceDataPoliciesList.d.ts +1 -1
- package/dist/esm/funcs/clientGovernanceDataPoliciesList.js +1 -1
- package/dist/esm/funcs/clientGovernanceDataPoliciesRetrieve.d.ts +1 -1
- package/dist/esm/funcs/clientGovernanceDataPoliciesRetrieve.js +1 -1
- package/dist/esm/funcs/clientGovernanceDataPoliciesUpdate.d.ts +1 -1
- package/dist/esm/funcs/clientGovernanceDataPoliciesUpdate.js +1 -1
- package/dist/esm/funcs/clientGovernanceDataReportsCreate.d.ts +1 -1
- package/dist/esm/funcs/clientGovernanceDataReportsCreate.js +1 -1
- package/dist/esm/funcs/clientGovernanceDataReportsDownload.d.ts +1 -1
- package/dist/esm/funcs/clientGovernanceDataReportsDownload.js +1 -1
- package/dist/esm/funcs/clientGovernanceDataReportsStatus.d.ts +1 -1
- package/dist/esm/funcs/clientGovernanceDataReportsStatus.js +1 -1
- package/dist/esm/funcs/clientGovernanceDocumentsVisibilityoverridesCreate.d.ts +1 -1
- package/dist/esm/funcs/clientGovernanceDocumentsVisibilityoverridesCreate.js +1 -1
- package/dist/esm/funcs/clientGovernanceDocumentsVisibilityoverridesList.d.ts +1 -1
- package/dist/esm/funcs/clientGovernanceDocumentsVisibilityoverridesList.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/agent.d.ts +16 -6
- package/dist/esm/models/components/agent.d.ts.map +1 -1
- package/dist/esm/models/components/agent.js.map +1 -1
- package/dist/esm/models/components/agentrun.d.ts +2 -2
- package/dist/esm/models/components/agentrun.d.ts.map +1 -1
- package/dist/esm/models/components/agentrun.js +2 -2
- package/dist/esm/models/components/agentrun.js.map +1 -1
- package/dist/esm/models/components/agentruncreate.d.ts +2 -2
- package/dist/esm/models/components/agentruncreate.d.ts.map +1 -1
- package/dist/esm/models/components/agentruncreate.js +2 -2
- package/dist/esm/models/components/agentruncreate.js.map +1 -1
- package/dist/esm/models/components/agentschemas.d.ts +4 -4
- package/dist/esm/models/components/chatrequest.d.ts +3 -0
- package/dist/esm/models/components/chatrequest.d.ts.map +1 -1
- package/dist/esm/models/components/chatrequest.js +3 -0
- package/dist/esm/models/components/chatrequest.js.map +1 -1
- package/dist/esm/models/components/searchagentsrequest.d.ts +1 -1
- package/dist/esm/models/components/workflow.d.ts +5 -5
- package/dist/esm/models/components/workflow.d.ts.map +1 -1
- package/dist/esm/models/components/workflow.js +2 -2
- package/dist/esm/models/components/workflow.js.map +1 -1
- package/dist/esm/react-query/clientAgentsList.d.ts +2 -2
- package/dist/esm/react-query/clientAgentsList.js +2 -2
- package/dist/esm/react-query/clientAgentsRetrieve.d.ts +4 -4
- package/dist/esm/react-query/clientAgentsRetrieve.js +4 -4
- package/dist/esm/react-query/clientAgentsRetrieveSchemas.d.ts +4 -4
- package/dist/esm/react-query/clientAgentsRetrieveSchemas.js +4 -4
- package/dist/esm/react-query/clientAgentsRun.d.ts +2 -2
- package/dist/esm/react-query/clientAgentsRun.js +2 -2
- package/dist/esm/react-query/clientAgentsRunStream.d.ts +2 -2
- package/dist/esm/react-query/clientAgentsRunStream.js +2 -2
- package/dist/esm/react-query/clientGovernanceDataPoliciesCreate.d.ts +1 -1
- package/dist/esm/react-query/clientGovernanceDataPoliciesCreate.js +1 -1
- package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.d.ts +2 -2
- package/dist/esm/react-query/clientGovernanceDataPoliciesDownload.js +2 -2
- package/dist/esm/react-query/clientGovernanceDataPoliciesList.d.ts +2 -2
- package/dist/esm/react-query/clientGovernanceDataPoliciesList.js +2 -2
- package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.d.ts +2 -2
- package/dist/esm/react-query/clientGovernanceDataPoliciesRetrieve.js +2 -2
- package/dist/esm/react-query/clientGovernanceDataPoliciesUpdate.d.ts +1 -1
- package/dist/esm/react-query/clientGovernanceDataPoliciesUpdate.js +1 -1
- package/dist/esm/react-query/clientGovernanceDataReportsCreate.d.ts +1 -1
- package/dist/esm/react-query/clientGovernanceDataReportsCreate.js +1 -1
- package/dist/esm/react-query/clientGovernanceDataReportsDownload.d.ts +2 -2
- package/dist/esm/react-query/clientGovernanceDataReportsDownload.js +2 -2
- package/dist/esm/react-query/clientGovernanceDataReportsStatus.d.ts +2 -2
- package/dist/esm/react-query/clientGovernanceDataReportsStatus.js +2 -2
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesCreate.d.ts +1 -1
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesCreate.js +1 -1
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.d.ts +2 -2
- package/dist/esm/react-query/clientGovernanceDocumentsVisibilityoverridesList.js +2 -2
- package/dist/esm/sdk/agents.d.ts +10 -10
- package/dist/esm/sdk/agents.js +10 -10
- package/dist/esm/sdk/policies.d.ts +5 -5
- package/dist/esm/sdk/policies.js +5 -5
- package/dist/esm/sdk/reports.d.ts +3 -3
- package/dist/esm/sdk/reports.js +3 -3
- package/dist/esm/sdk/visibilityoverrides.d.ts +2 -2
- package/dist/esm/sdk/visibilityoverrides.js +2 -2
- package/docs/sdks/agents/README.md +28 -16
- package/docs/sdks/policies/README.md +5 -5
- package/docs/sdks/reports/README.md +3 -3
- package/docs/sdks/visibilityoverrides/README.md +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/agents.test.ts +3 -1
- package/src/funcs/clientAgentsList.ts +2 -2
- package/src/funcs/clientAgentsRetrieve.ts +2 -2
- package/src/funcs/clientAgentsRetrieveSchemas.ts +2 -2
- package/src/funcs/clientAgentsRun.ts +2 -2
- package/src/funcs/clientAgentsRunStream.ts +2 -2
- package/src/funcs/clientGovernanceDataPoliciesCreate.ts +1 -1
- package/src/funcs/clientGovernanceDataPoliciesDownload.ts +1 -1
- package/src/funcs/clientGovernanceDataPoliciesList.ts +1 -1
- package/src/funcs/clientGovernanceDataPoliciesRetrieve.ts +1 -1
- package/src/funcs/clientGovernanceDataPoliciesUpdate.ts +1 -1
- package/src/funcs/clientGovernanceDataReportsCreate.ts +1 -1
- package/src/funcs/clientGovernanceDataReportsDownload.ts +1 -1
- package/src/funcs/clientGovernanceDataReportsStatus.ts +1 -1
- package/src/funcs/clientGovernanceDocumentsVisibilityoverridesCreate.ts +1 -1
- package/src/funcs/clientGovernanceDocumentsVisibilityoverridesList.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/agent.ts +16 -6
- package/src/models/components/agentrun.ts +4 -4
- package/src/models/components/agentruncreate.ts +4 -4
- package/src/models/components/agentschemas.ts +4 -4
- package/src/models/components/chatrequest.ts +10 -0
- package/src/models/components/searchagentsrequest.ts +1 -1
- package/src/models/components/workflow.ts +7 -7
- package/src/react-query/clientAgentsList.ts +2 -2
- package/src/react-query/clientAgentsRetrieve.ts +4 -4
- package/src/react-query/clientAgentsRetrieveSchemas.ts +4 -4
- package/src/react-query/clientAgentsRun.ts +2 -2
- package/src/react-query/clientAgentsRunStream.ts +2 -2
- package/src/react-query/clientGovernanceDataPoliciesCreate.ts +1 -1
- package/src/react-query/clientGovernanceDataPoliciesDownload.ts +2 -2
- package/src/react-query/clientGovernanceDataPoliciesList.ts +2 -2
- package/src/react-query/clientGovernanceDataPoliciesRetrieve.ts +2 -2
- package/src/react-query/clientGovernanceDataPoliciesUpdate.ts +1 -1
- package/src/react-query/clientGovernanceDataReportsCreate.ts +1 -1
- package/src/react-query/clientGovernanceDataReportsDownload.ts +2 -2
- package/src/react-query/clientGovernanceDataReportsStatus.ts +2 -2
- package/src/react-query/clientGovernanceDocumentsVisibilityoverridesCreate.ts +1 -1
- package/src/react-query/clientGovernanceDocumentsVisibilityoverridesList.ts +2 -2
- package/src/sdk/agents.ts +10 -10
- package/src/sdk/policies.ts +5 -5
- package/src/sdk/reports.ts +3 -3
- package/src/sdk/visibilityoverrides.ts +2 -2
|
@@ -5,14 +5,14 @@ import * as components from "../models/components/index.js";
|
|
|
5
5
|
import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
|
|
6
6
|
export type ClientGovernanceDataPoliciesListQueryData = components.ListDlpReportsResponse;
|
|
7
7
|
/**
|
|
8
|
-
* Lists policies
|
|
8
|
+
* Lists policies
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
11
|
* Lists policies with filtering.
|
|
12
12
|
*/
|
|
13
13
|
export declare function useClientGovernanceDataPoliciesList(autoHide?: boolean | undefined, frequency?: string | undefined, options?: QueryHookOptions<ClientGovernanceDataPoliciesListQueryData>): UseQueryResult<ClientGovernanceDataPoliciesListQueryData, Error>;
|
|
14
14
|
/**
|
|
15
|
-
* Lists policies
|
|
15
|
+
* Lists policies
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Lists policies with filtering.
|
|
@@ -17,7 +17,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
17
17
|
const fp_js_1 = require("../types/fp.js");
|
|
18
18
|
const _context_js_1 = require("./_context.js");
|
|
19
19
|
/**
|
|
20
|
-
* Lists policies
|
|
20
|
+
* Lists policies
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
23
|
* Lists policies with filtering.
|
|
@@ -30,7 +30,7 @@ function useClientGovernanceDataPoliciesList(autoHide, frequency, options) {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* Lists policies
|
|
33
|
+
* Lists policies
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
36
|
* Lists policies with filtering.
|
|
@@ -5,14 +5,14 @@ import * as components from "../models/components/index.js";
|
|
|
5
5
|
import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
|
|
6
6
|
export type ClientGovernanceDataPoliciesRetrieveQueryData = components.GetDlpReportResponse;
|
|
7
7
|
/**
|
|
8
|
-
* Gets specified
|
|
8
|
+
* Gets specified policy
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
11
|
* Fetches the specified policy version, or the latest if no version is provided.
|
|
12
12
|
*/
|
|
13
13
|
export declare function useClientGovernanceDataPoliciesRetrieve(id: string, version?: number | undefined, options?: QueryHookOptions<ClientGovernanceDataPoliciesRetrieveQueryData>): UseQueryResult<ClientGovernanceDataPoliciesRetrieveQueryData, Error>;
|
|
14
14
|
/**
|
|
15
|
-
* Gets specified
|
|
15
|
+
* Gets specified policy
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Fetches the specified policy version, or the latest if no version is provided.
|
|
@@ -17,7 +17,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
17
17
|
const fp_js_1 = require("../types/fp.js");
|
|
18
18
|
const _context_js_1 = require("./_context.js");
|
|
19
19
|
/**
|
|
20
|
-
* Gets specified
|
|
20
|
+
* Gets specified policy
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
23
|
* Fetches the specified policy version, or the latest if no version is provided.
|
|
@@ -30,7 +30,7 @@ function useClientGovernanceDataPoliciesRetrieve(id, version, options) {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* Gets specified
|
|
33
|
+
* Gets specified policy
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
36
|
* Fetches the specified policy version, or the latest if no version is provided.
|
|
@@ -10,7 +10,7 @@ export type ClientGovernanceDataPoliciesUpdateMutationVariables = {
|
|
|
10
10
|
};
|
|
11
11
|
export type ClientGovernanceDataPoliciesUpdateMutationData = components.UpdateDlpReportResponse;
|
|
12
12
|
/**
|
|
13
|
-
* Updates an existing policy
|
|
13
|
+
* Updates an existing policy
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
16
|
* Updates an existing policy.
|
|
@@ -12,7 +12,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
12
12
|
const fp_js_1 = require("../types/fp.js");
|
|
13
13
|
const _context_js_1 = require("./_context.js");
|
|
14
14
|
/**
|
|
15
|
-
* Updates an existing policy
|
|
15
|
+
* Updates an existing policy
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Updates an existing policy.
|
|
@@ -9,7 +9,7 @@ export type ClientGovernanceDataReportsCreateMutationVariables = {
|
|
|
9
9
|
};
|
|
10
10
|
export type ClientGovernanceDataReportsCreateMutationData = components.UpdateDlpConfigResponse;
|
|
11
11
|
/**
|
|
12
|
-
* Creates new one-time report
|
|
12
|
+
* Creates new one-time report
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* Creates a new one-time report and executes its batch job.
|
|
@@ -12,7 +12,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
12
12
|
const fp_js_1 = require("../types/fp.js");
|
|
13
13
|
const _context_js_1 = require("./_context.js");
|
|
14
14
|
/**
|
|
15
|
-
* Creates new one-time report
|
|
15
|
+
* Creates new one-time report
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Creates a new one-time report and executes its batch job.
|
|
@@ -4,14 +4,14 @@ import { RequestOptions } from "../lib/sdks.js";
|
|
|
4
4
|
import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
|
|
5
5
|
export type ClientGovernanceDataReportsDownloadQueryData = string;
|
|
6
6
|
/**
|
|
7
|
-
* Downloads violations CSV for report
|
|
7
|
+
* Downloads violations CSV for report
|
|
8
8
|
*
|
|
9
9
|
* @remarks
|
|
10
10
|
* Downloads CSV violations report for a specific report id.
|
|
11
11
|
*/
|
|
12
12
|
export declare function useClientGovernanceDataReportsDownload(id: string, options?: QueryHookOptions<ClientGovernanceDataReportsDownloadQueryData>): UseQueryResult<ClientGovernanceDataReportsDownloadQueryData, Error>;
|
|
13
13
|
/**
|
|
14
|
-
* Downloads violations CSV for report
|
|
14
|
+
* Downloads violations CSV for report
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
17
|
* Downloads CSV violations report for a specific report id.
|
|
@@ -17,7 +17,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
17
17
|
const fp_js_1 = require("../types/fp.js");
|
|
18
18
|
const _context_js_1 = require("./_context.js");
|
|
19
19
|
/**
|
|
20
|
-
* Downloads violations CSV for report
|
|
20
|
+
* Downloads violations CSV for report
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
23
|
* Downloads CSV violations report for a specific report id.
|
|
@@ -30,7 +30,7 @@ function useClientGovernanceDataReportsDownload(id, options) {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* Downloads violations CSV for report
|
|
33
|
+
* Downloads violations CSV for report
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
36
|
* Downloads CSV violations report for a specific report id.
|
|
@@ -5,14 +5,14 @@ import * as components from "../models/components/index.js";
|
|
|
5
5
|
import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
|
|
6
6
|
export type ClientGovernanceDataReportsStatusQueryData = components.ReportStatusResponse;
|
|
7
7
|
/**
|
|
8
|
-
* Fetches report run status
|
|
8
|
+
* Fetches report run status
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
11
|
* Fetches the status of the run corresponding to the report-id.
|
|
12
12
|
*/
|
|
13
13
|
export declare function useClientGovernanceDataReportsStatus(id: string, options?: QueryHookOptions<ClientGovernanceDataReportsStatusQueryData>): UseQueryResult<ClientGovernanceDataReportsStatusQueryData, Error>;
|
|
14
14
|
/**
|
|
15
|
-
* Fetches report run status
|
|
15
|
+
* Fetches report run status
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Fetches the status of the run corresponding to the report-id.
|
|
@@ -17,7 +17,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
17
17
|
const fp_js_1 = require("../types/fp.js");
|
|
18
18
|
const _context_js_1 = require("./_context.js");
|
|
19
19
|
/**
|
|
20
|
-
* Fetches report run status
|
|
20
|
+
* Fetches report run status
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
23
|
* Fetches the status of the run corresponding to the report-id.
|
|
@@ -30,7 +30,7 @@ function useClientGovernanceDataReportsStatus(id, options) {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* Fetches report run status
|
|
33
|
+
* Fetches report run status
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
36
|
* Fetches the status of the run corresponding to the report-id.
|
|
@@ -9,7 +9,7 @@ export type ClientGovernanceDocumentsVisibilityoverridesCreateMutationVariables
|
|
|
9
9
|
};
|
|
10
10
|
export type ClientGovernanceDocumentsVisibilityoverridesCreateMutationData = components.UpdateDocumentVisibilityOverridesResponse;
|
|
11
11
|
/**
|
|
12
|
-
* Hide
|
|
12
|
+
* Hide or unhide docs
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* Sets the visibility-override state of the documents specified, effectively hiding or un-hiding documents.
|
|
@@ -12,7 +12,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
12
12
|
const fp_js_1 = require("../types/fp.js");
|
|
13
13
|
const _context_js_1 = require("./_context.js");
|
|
14
14
|
/**
|
|
15
|
-
* Hide
|
|
15
|
+
* Hide or unhide docs
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Sets the visibility-override state of the documents specified, effectively hiding or un-hiding documents.
|
|
@@ -5,14 +5,14 @@ import * as components from "../models/components/index.js";
|
|
|
5
5
|
import { QueryHookOptions, SuspenseQueryHookOptions, TupleToPrefixes } from "./_types.js";
|
|
6
6
|
export type ClientGovernanceDocumentsVisibilityoverridesListQueryData = components.GetDocumentVisibilityOverridesResponse;
|
|
7
7
|
/**
|
|
8
|
-
* Fetches documents visibility
|
|
8
|
+
* Fetches documents visibility
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
11
|
* Fetches the visibility override status of the documents passed.
|
|
12
12
|
*/
|
|
13
13
|
export declare function useClientGovernanceDocumentsVisibilityoverridesList(docIds?: Array<string> | undefined, options?: QueryHookOptions<ClientGovernanceDocumentsVisibilityoverridesListQueryData>): UseQueryResult<ClientGovernanceDocumentsVisibilityoverridesListQueryData, Error>;
|
|
14
14
|
/**
|
|
15
|
-
* Fetches documents visibility
|
|
15
|
+
* Fetches documents visibility
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
18
|
* Fetches the visibility override status of the documents passed.
|
|
@@ -17,7 +17,7 @@ const primitives_js_1 = require("../lib/primitives.js");
|
|
|
17
17
|
const fp_js_1 = require("../types/fp.js");
|
|
18
18
|
const _context_js_1 = require("./_context.js");
|
|
19
19
|
/**
|
|
20
|
-
* Fetches documents visibility
|
|
20
|
+
* Fetches documents visibility
|
|
21
21
|
*
|
|
22
22
|
* @remarks
|
|
23
23
|
* Fetches the visibility override status of the documents passed.
|
|
@@ -30,7 +30,7 @@ function useClientGovernanceDocumentsVisibilityoverridesList(docIds, options) {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* Fetches documents visibility
|
|
33
|
+
* Fetches documents visibility
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
36
|
* Fetches the visibility override status of the documents passed.
|
|
@@ -2,38 +2,38 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
|
2
2
|
import * as components from "../models/components/index.js";
|
|
3
3
|
export declare class Agents extends ClientSDK {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Retrieve an agent
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
|
|
9
9
|
*/
|
|
10
10
|
retrieve(agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): Promise<components.Agent>;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* List an agent's schemas
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure.
|
|
16
16
|
*/
|
|
17
17
|
retrieveSchemas(agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): Promise<components.AgentSchemas>;
|
|
18
18
|
/**
|
|
19
|
-
* Search
|
|
19
|
+
* Search agents
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
|
-
*
|
|
22
|
+
* Search for [agents](https://developers.glean.com/agents/agents-api) by agent name.
|
|
23
23
|
*/
|
|
24
24
|
list(request: components.SearchAgentsRequest, options?: RequestOptions): Promise<components.SearchAgentsResponse>;
|
|
25
25
|
/**
|
|
26
|
-
* Create
|
|
26
|
+
* Create an agent run and stream the response
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
|
-
*
|
|
29
|
+
* Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE).
|
|
30
30
|
*/
|
|
31
31
|
runStream(request: components.AgentRunCreate, options?: RequestOptions): Promise<string>;
|
|
32
32
|
/**
|
|
33
|
-
* Create
|
|
33
|
+
* Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
|
-
*
|
|
36
|
+
* Executes an agent run and returns the final response.
|
|
37
37
|
*/
|
|
38
38
|
run(request: components.AgentRunCreate, options?: RequestOptions): Promise<components.AgentRunWaitResponse>;
|
|
39
39
|
}
|
|
@@ -13,46 +13,46 @@ const sdks_js_1 = require("../lib/sdks.js");
|
|
|
13
13
|
const fp_js_1 = require("../types/fp.js");
|
|
14
14
|
class Agents extends sdks_js_1.ClientSDK {
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Retrieve an agent
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
|
-
*
|
|
19
|
+
* Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
|
|
20
20
|
*/
|
|
21
21
|
async retrieve(agentId, timezoneOffset, options) {
|
|
22
22
|
return (0, fp_js_1.unwrapAsync)((0, clientAgentsRetrieve_js_1.clientAgentsRetrieve)(this, agentId, timezoneOffset, options));
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* List an agent's schemas
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
|
-
*
|
|
28
|
+
* Return [agent](https://developers.glean.com/agents/agents-api)'s input and output schemas. You can use these schemas to detect changes to an agent's input or output structure.
|
|
29
29
|
*/
|
|
30
30
|
async retrieveSchemas(agentId, timezoneOffset, options) {
|
|
31
31
|
return (0, fp_js_1.unwrapAsync)((0, clientAgentsRetrieveSchemas_js_1.clientAgentsRetrieveSchemas)(this, agentId, timezoneOffset, options));
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* Search
|
|
34
|
+
* Search agents
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
*
|
|
37
|
+
* Search for [agents](https://developers.glean.com/agents/agents-api) by agent name.
|
|
38
38
|
*/
|
|
39
39
|
async list(request, options) {
|
|
40
40
|
return (0, fp_js_1.unwrapAsync)((0, clientAgentsList_js_1.clientAgentsList)(this, request, options));
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
* Create
|
|
43
|
+
* Create an agent run and stream the response
|
|
44
44
|
*
|
|
45
45
|
* @remarks
|
|
46
|
-
*
|
|
46
|
+
* Executes an [agent](https://developers.glean.com/agents/agents-api) run and returns the result as a stream of server-sent events (SSE).
|
|
47
47
|
*/
|
|
48
48
|
async runStream(request, options) {
|
|
49
49
|
return (0, fp_js_1.unwrapAsync)((0, clientAgentsRunStream_js_1.clientAgentsRunStream)(this, request, options));
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* Create
|
|
52
|
+
* Create an [agent](https://developers.glean.com/agents/agents-api) run and wait for the response
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
|
-
*
|
|
55
|
+
* Executes an agent run and returns the final response.
|
|
56
56
|
*/
|
|
57
57
|
async run(request, options) {
|
|
58
58
|
return (0, fp_js_1.unwrapAsync)((0, clientAgentsRun_js_1.clientAgentsRun)(this, request, options));
|
|
@@ -2,35 +2,35 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
|
2
2
|
import * as components from "../models/components/index.js";
|
|
3
3
|
export declare class Policies extends ClientSDK {
|
|
4
4
|
/**
|
|
5
|
-
* Gets specified
|
|
5
|
+
* Gets specified policy
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
8
|
* Fetches the specified policy version, or the latest if no version is provided.
|
|
9
9
|
*/
|
|
10
10
|
retrieve(id: string, version?: number | undefined, options?: RequestOptions): Promise<components.GetDlpReportResponse>;
|
|
11
11
|
/**
|
|
12
|
-
* Updates an existing policy
|
|
12
|
+
* Updates an existing policy
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* Updates an existing policy.
|
|
16
16
|
*/
|
|
17
17
|
update(updateDlpReportRequest: components.UpdateDlpReportRequest, id: string, options?: RequestOptions): Promise<components.UpdateDlpReportResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* Lists policies
|
|
19
|
+
* Lists policies
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Lists policies with filtering.
|
|
23
23
|
*/
|
|
24
24
|
list(autoHide?: boolean | undefined, frequency?: string | undefined, options?: RequestOptions): Promise<components.ListDlpReportsResponse>;
|
|
25
25
|
/**
|
|
26
|
-
* Creates new policy
|
|
26
|
+
* Creates new policy
|
|
27
27
|
*
|
|
28
28
|
* @remarks
|
|
29
29
|
* Creates a new policy with specified specifications and returns its id.
|
|
30
30
|
*/
|
|
31
31
|
create(request: components.CreateDlpReportRequest, options?: RequestOptions): Promise<components.CreateDlpReportResponse>;
|
|
32
32
|
/**
|
|
33
|
-
* Downloads violations CSV for policy
|
|
33
|
+
* Downloads violations CSV for policy
|
|
34
34
|
*
|
|
35
35
|
* @remarks
|
|
36
36
|
* Downloads CSV violations report for a specific policy id. This does not support continuous policies.
|
|
@@ -13,7 +13,7 @@ const sdks_js_1 = require("../lib/sdks.js");
|
|
|
13
13
|
const fp_js_1 = require("../types/fp.js");
|
|
14
14
|
class Policies extends sdks_js_1.ClientSDK {
|
|
15
15
|
/**
|
|
16
|
-
* Gets specified
|
|
16
|
+
* Gets specified policy
|
|
17
17
|
*
|
|
18
18
|
* @remarks
|
|
19
19
|
* Fetches the specified policy version, or the latest if no version is provided.
|
|
@@ -22,7 +22,7 @@ class Policies extends sdks_js_1.ClientSDK {
|
|
|
22
22
|
return (0, fp_js_1.unwrapAsync)((0, clientGovernanceDataPoliciesRetrieve_js_1.clientGovernanceDataPoliciesRetrieve)(this, id, version, options));
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* Updates an existing policy
|
|
25
|
+
* Updates an existing policy
|
|
26
26
|
*
|
|
27
27
|
* @remarks
|
|
28
28
|
* Updates an existing policy.
|
|
@@ -31,7 +31,7 @@ class Policies extends sdks_js_1.ClientSDK {
|
|
|
31
31
|
return (0, fp_js_1.unwrapAsync)((0, clientGovernanceDataPoliciesUpdate_js_1.clientGovernanceDataPoliciesUpdate)(this, updateDlpReportRequest, id, options));
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* Lists policies
|
|
34
|
+
* Lists policies
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
37
|
* Lists policies with filtering.
|
|
@@ -40,7 +40,7 @@ class Policies extends sdks_js_1.ClientSDK {
|
|
|
40
40
|
return (0, fp_js_1.unwrapAsync)((0, clientGovernanceDataPoliciesList_js_1.clientGovernanceDataPoliciesList)(this, autoHide, frequency, options));
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
* Creates new policy
|
|
43
|
+
* Creates new policy
|
|
44
44
|
*
|
|
45
45
|
* @remarks
|
|
46
46
|
* Creates a new policy with specified specifications and returns its id.
|
|
@@ -49,7 +49,7 @@ class Policies extends sdks_js_1.ClientSDK {
|
|
|
49
49
|
return (0, fp_js_1.unwrapAsync)((0, clientGovernanceDataPoliciesCreate_js_1.clientGovernanceDataPoliciesCreate)(this, request, options));
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
* Downloads violations CSV for policy
|
|
52
|
+
* Downloads violations CSV for policy
|
|
53
53
|
*
|
|
54
54
|
* @remarks
|
|
55
55
|
* Downloads CSV violations report for a specific policy id. This does not support continuous policies.
|
|
@@ -2,21 +2,21 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
|
2
2
|
import * as components from "../models/components/index.js";
|
|
3
3
|
export declare class Reports extends ClientSDK {
|
|
4
4
|
/**
|
|
5
|
-
* Creates new one-time report
|
|
5
|
+
* Creates new one-time report
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
8
|
* Creates a new one-time report and executes its batch job.
|
|
9
9
|
*/
|
|
10
10
|
create(request: components.UpdateDlpConfigRequest, options?: RequestOptions): Promise<components.UpdateDlpConfigResponse>;
|
|
11
11
|
/**
|
|
12
|
-
* Downloads violations CSV for report
|
|
12
|
+
* Downloads violations CSV for report
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* Downloads CSV violations report for a specific report id.
|
|
16
16
|
*/
|
|
17
17
|
download(id: string, options?: RequestOptions): Promise<string>;
|
|
18
18
|
/**
|
|
19
|
-
* Fetches report run status
|
|
19
|
+
* Fetches report run status
|
|
20
20
|
*
|
|
21
21
|
* @remarks
|
|
22
22
|
* Fetches the status of the run corresponding to the report-id.
|
|
@@ -11,7 +11,7 @@ const sdks_js_1 = require("../lib/sdks.js");
|
|
|
11
11
|
const fp_js_1 = require("../types/fp.js");
|
|
12
12
|
class Reports extends sdks_js_1.ClientSDK {
|
|
13
13
|
/**
|
|
14
|
-
* Creates new one-time report
|
|
14
|
+
* Creates new one-time report
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
17
|
* Creates a new one-time report and executes its batch job.
|
|
@@ -20,7 +20,7 @@ class Reports extends sdks_js_1.ClientSDK {
|
|
|
20
20
|
return (0, fp_js_1.unwrapAsync)((0, clientGovernanceDataReportsCreate_js_1.clientGovernanceDataReportsCreate)(this, request, options));
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Downloads violations CSV for report
|
|
23
|
+
* Downloads violations CSV for report
|
|
24
24
|
*
|
|
25
25
|
* @remarks
|
|
26
26
|
* Downloads CSV violations report for a specific report id.
|
|
@@ -29,7 +29,7 @@ class Reports extends sdks_js_1.ClientSDK {
|
|
|
29
29
|
return (0, fp_js_1.unwrapAsync)((0, clientGovernanceDataReportsDownload_js_1.clientGovernanceDataReportsDownload)(this, id, options));
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* Fetches report run status
|
|
32
|
+
* Fetches report run status
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
35
|
* Fetches the status of the run corresponding to the report-id.
|
|
@@ -2,14 +2,14 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
|
2
2
|
import * as components from "../models/components/index.js";
|
|
3
3
|
export declare class Visibilityoverrides extends ClientSDK {
|
|
4
4
|
/**
|
|
5
|
-
* Fetches documents visibility
|
|
5
|
+
* Fetches documents visibility
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
8
|
* Fetches the visibility override status of the documents passed.
|
|
9
9
|
*/
|
|
10
10
|
list(docIds?: Array<string> | undefined, options?: RequestOptions): Promise<components.GetDocumentVisibilityOverridesResponse>;
|
|
11
11
|
/**
|
|
12
|
-
* Hide
|
|
12
|
+
* Hide or unhide docs
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* Sets the visibility-override state of the documents specified, effectively hiding or un-hiding documents.
|
|
@@ -10,7 +10,7 @@ const sdks_js_1 = require("../lib/sdks.js");
|
|
|
10
10
|
const fp_js_1 = require("../types/fp.js");
|
|
11
11
|
class Visibilityoverrides extends sdks_js_1.ClientSDK {
|
|
12
12
|
/**
|
|
13
|
-
* Fetches documents visibility
|
|
13
|
+
* Fetches documents visibility
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
16
|
* Fetches the visibility override status of the documents passed.
|
|
@@ -19,7 +19,7 @@ class Visibilityoverrides extends sdks_js_1.ClientSDK {
|
|
|
19
19
|
return (0, fp_js_1.unwrapAsync)((0, clientGovernanceDocumentsVisibilityoverridesList_js_1.clientGovernanceDocumentsVisibilityoverridesList)(this, docIds, options));
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* Hide
|
|
22
|
+
* Hide or unhide docs
|
|
23
23
|
*
|
|
24
24
|
* @remarks
|
|
25
25
|
* Sets the visibility-override state of the documents specified, effectively hiding or un-hiding documents.
|
|
@@ -53,7 +53,9 @@ test("Agents Create And Wait Run", async () => {
|
|
|
53
53
|
httpClient: testHttpClient,
|
|
54
54
|
apiToken: process.env["GLEAN_API_TOKEN"] ?? "value",
|
|
55
55
|
});
|
|
56
|
-
const result = await glean.client.agents.run({
|
|
56
|
+
const result = await glean.client.agents.run({
|
|
57
|
+
agentId: "<id>",
|
|
58
|
+
});
|
|
57
59
|
expect(result).toBeDefined();
|
|
58
60
|
});
|
|
59
61
|
//# sourceMappingURL=agents.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.test.js","sourceRoot":"","sources":["../../../src/__tests__/agents.test.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,EAAE,CAAC,IAAI,CAAC,iBAAiB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,CAAC,IAAI,CACT,8JAA8J,CAC/J,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,IAAI,CAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;IACtC,MAAM,CAAC,IAAI,CACT,kKAAkK,CACnK,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,IAAI,CAAC,uBAAuB,EAAE,KAAK,IAAI,EAAE;IA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MAAM,CAAC,MAAM,CAAC,GAAG,CAAC;QAC3C,OAAO,EAAE,MAAM;KAChB,CAAC,CAAC;IACH,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
|
|
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
7
7
|
import { APIPromise } from "../types/async.js";
|
|
8
8
|
import { Result } from "../types/fp.js";
|
|
9
9
|
/**
|
|
10
|
-
* Search
|
|
10
|
+
* Search agents
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* Search for [agents](https://developers.glean.com/agents/agents-api) by agent name.
|
|
14
14
|
*/
|
|
15
15
|
export declare function clientAgentsList(client: GleanCore, request: components.SearchAgentsRequest, options?: RequestOptions): APIPromise<Result<components.SearchAgentsResponse, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=clientAgentsList.d.ts.map
|
|
@@ -10,10 +10,10 @@ import { pathToFunc } from "../lib/url.js";
|
|
|
10
10
|
import * as components from "../models/components/index.js";
|
|
11
11
|
import { APIPromise } from "../types/async.js";
|
|
12
12
|
/**
|
|
13
|
-
* Search
|
|
13
|
+
* Search agents
|
|
14
14
|
*
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Search for [agents](https://developers.glean.com/agents/agents-api) by agent name.
|
|
17
17
|
*/
|
|
18
18
|
export function clientAgentsList(client, request, options) {
|
|
19
19
|
return new APIPromise($do(client, request, options));
|
|
@@ -7,10 +7,10 @@ import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
|
7
7
|
import { APIPromise } from "../types/async.js";
|
|
8
8
|
import { Result } from "../types/fp.js";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Retrieve an agent
|
|
11
11
|
*
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
|
|
14
14
|
*/
|
|
15
15
|
export declare function clientAgentsRetrieve(client: GleanCore, agentId: string, timezoneOffset?: number | undefined, options?: RequestOptions): APIPromise<Result<components.Agent, GleanError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
16
16
|
//# sourceMappingURL=clientAgentsRetrieve.d.ts.map
|
|
@@ -11,10 +11,10 @@ import * as components from "../models/components/index.js";
|
|
|
11
11
|
import * as operations from "../models/operations/index.js";
|
|
12
12
|
import { APIPromise } from "../types/async.js";
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Retrieve an agent
|
|
15
15
|
*
|
|
16
16
|
* @remarks
|
|
17
|
-
*
|
|
17
|
+
* Returns details of an [agent](https://developers.glean.com/agents/agents-api) created in the Agent Builder.
|
|
18
18
|
*/
|
|
19
19
|
export function clientAgentsRetrieve(client, agentId, timezoneOffset, options) {
|
|
20
20
|
return new APIPromise($do(client, agentId, timezoneOffset, options));
|