@lucern/sdk 1.0.11 → 1.0.12
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/CHANGELOG.md +3 -0
- package/dist/.generated +2 -0
- package/dist/accessControl.d.ts +19 -26
- package/dist/accessControl.js +195 -1423
- package/dist/adminClient.d.ts +52 -59
- package/dist/adminClient.js +364 -1142
- package/dist/answersClient.d.ts +5 -14
- package/dist/answersClient.js +19 -737
- package/dist/audience/index.d.ts +18 -18
- package/dist/audience/index.js +87 -90
- package/dist/audiencesClient.d.ts +19 -27
- package/dist/audiencesClient.js +107 -868
- package/dist/auditClient.d.ts +8 -15
- package/dist/auditClient.js +18 -791
- package/dist/authContext.d.ts +11 -16
- package/dist/authContext.js +122 -154
- package/dist/authDeviceClient.d.ts +8 -17
- package/dist/authDeviceClient.js +113 -102
- package/dist/beliefs/index.d.ts +15 -67
- package/dist/beliefs/index.js +17 -10181
- package/dist/beliefs/lifecycle.d.ts +10 -11
- package/dist/beliefs/lifecycle.js +78 -80
- package/dist/beliefsClient.d.ts +26 -32
- package/dist/beliefsClient.js +250 -990
- package/dist/boundaryClientSurface.d.ts +11 -16
- package/dist/boundaryClientSurface.js +49 -68
- package/dist/client.d.ts +64 -112
- package/dist/client.js +232 -10155
- package/dist/clientAssemblyTypes.d.ts +3 -3
- package/dist/clientAssemblyTypes.js +1 -2
- package/dist/clientConfig.d.ts +45 -59
- package/dist/clientConfig.js +1 -2
- package/dist/clientEvidenceCompat.d.ts +7 -14
- package/dist/clientEvidenceCompat.js +50 -64
- package/dist/clientGraphNamespaces.d.ts +3 -5
- package/dist/clientGraphNamespaces.js +170 -245
- package/dist/clientHelpers.d.ts +20 -25
- package/dist/clientHelpers.js +104 -127
- package/dist/clientKnowledgeNamespaces.d.ts +6 -53
- package/dist/clientKnowledgeNamespaces.js +502 -506
- package/dist/clientLocalHelpers.d.ts +11 -56
- package/dist/clientLocalHelpers.js +503 -732
- package/dist/clientPlatformNamespaces.d.ts +5 -53
- package/dist/clientPlatformNamespaces.js +229 -323
- package/dist/clientRuntime.d.ts +5 -53
- package/dist/clientRuntime.js +26 -30
- package/dist/clientWorkflowNamespaces.d.ts +6 -15
- package/dist/clientWorkflowNamespaces.js +529 -596
- package/dist/contextClient.d.ts +9 -17
- package/dist/contextClient.js +92 -805
- package/dist/contextFacade.d.ts +11 -2
- package/dist/contextFacade.js +10 -81
- package/dist/contextPackCompiler.d.ts +10 -11
- package/dist/contextPackCompiler.js +494 -1040
- package/dist/contextPackPolicy.d.ts +14 -15
- package/dist/contextPackPolicy.js +227 -305
- package/dist/contextPackSchema.d.ts +3 -3
- package/dist/contextPackSchema.js +169 -176
- package/dist/contextTypes.d.ts +14 -15
- package/dist/contextTypes.js +1 -2
- package/dist/contracts/api-enums.contract.d.ts +29 -30
- package/dist/contracts/api-enums.contract.js +162 -88
- package/dist/contracts/auth-session.contract.d.ts +13 -14
- package/dist/contracts/auth-session.contract.js +55 -52
- package/dist/contracts/context-pack.contract.d.ts +54 -55
- package/dist/contracts/context-pack.contract.js +160 -88
- package/dist/contracts/contextPack.d.ts +2 -1
- package/dist/contracts/contextPack.js +1 -97
- package/dist/contracts/index.d.ts +11 -12
- package/dist/contracts/index.js +10 -854
- package/dist/contracts/lens-filter.contract.d.ts +9 -10
- package/dist/contracts/lens-filter.contract.js +82 -58
- package/dist/contracts/lens-workflow.contract.d.ts +21 -23
- package/dist/contracts/lens-workflow.contract.js +48 -117
- package/dist/contracts/lensFilter.d.ts +2 -1
- package/dist/contracts/lensFilter.js +1 -71
- package/dist/contracts/lensWorkflow.d.ts +2 -2
- package/dist/contracts/lensWorkflow.js +1 -123
- package/dist/contracts/mcpTools.d.ts +16 -18
- package/dist/contracts/mcpTools.js +89 -123
- package/dist/contracts/prompt.contract.d.ts +4 -5
- package/dist/contracts/prompt.contract.js +23 -10
- package/dist/contracts/prompt.d.ts +2 -1
- package/dist/contracts/prompt.js +1 -11
- package/dist/contracts/sdk-tools.contract.d.ts +2 -1
- package/dist/contracts/sdk-tools.contract.js +1 -2
- package/dist/contracts/sdkTools.d.ts +2 -1
- package/dist/contracts/sdkTools.js +1 -26
- package/dist/contracts/tool-contracts.d.ts +2 -1
- package/dist/contracts/tool-contracts.js +1 -2
- package/dist/contracts/workflow-runtime.contract.d.ts +45 -46
- package/dist/contracts/workflow-runtime.contract.js +241 -228
- package/dist/contracts/workflowRuntime.d.ts +2 -1
- package/dist/contracts/workflowRuntime.js +1 -244
- package/dist/contradictions/index.d.ts +8 -60
- package/dist/contradictions/index.js +11 -10175
- package/dist/control-plane.d.ts +17 -24
- package/dist/control-plane.js +124 -840
- package/dist/controlObjectOwnership.d.ts +19 -20
- package/dist/controlObjectOwnership.js +207 -201
- package/dist/coreClient.d.ts +23 -28
- package/dist/coreClient.js +567 -692
- package/dist/customTools.d.ts +17 -21
- package/dist/customTools.js +221 -221
- package/dist/decisions/index.d.ts +7 -58
- package/dist/decisions/index.js +14 -10177
- package/dist/decisionsClient.d.ts +25 -32
- package/dist/decisionsClient.js +113 -913
- package/dist/domainContext.d.ts +2 -1
- package/dist/domainContext.js +1 -2
- package/dist/edges/index.d.ts +21 -73
- package/dist/edges/index.js +12 -10176
- package/dist/embeddingsClient.d.ts +22 -30
- package/dist/embeddingsClient.js +73 -922
- package/dist/eventingClient.d.ts +23 -31
- package/dist/eventingClient.js +89 -918
- package/dist/events.d.ts +48 -49
- package/dist/events.js +257 -241
- package/dist/eventsCore.d.ts +20 -29
- package/dist/eventsCore.js +86 -830
- package/dist/evidence/index.d.ts +9 -60
- package/dist/evidence/index.js +13 -10176
- package/dist/evidenceClient.d.ts +13 -22
- package/dist/evidenceClient.js +34 -751
- package/dist/facade/context.d.ts +7 -8
- package/dist/facade/context.js +73 -72
- package/dist/functionSurface.d.ts +2 -156
- package/dist/functionSurface.js +1 -1460
- package/dist/functionSurfaceClient.d.ts +2 -9
- package/dist/functionSurfaceClient.js +1 -1460
- package/dist/gatewayFacades.d.ts +79 -296
- package/dist/gatewayFacades.factories.d.ts +209 -14
- package/dist/gatewayFacades.factories.js +561 -2227
- package/dist/gatewayFacades.js +284 -2627
- package/dist/generated/functionSurface.d.ts +149 -0
- package/dist/generated/functionSurface.js +749 -0
- package/dist/graphAnalysisClient.d.ts +41 -49
- package/dist/graphAnalysisClient.js +185 -974
- package/dist/graphClient.d.ts +53 -60
- package/dist/graphClient.js +219 -1090
- package/dist/graphIntel.d.ts +2 -4
- package/dist/graphIntel.js +1 -2
- package/dist/graphIntelligence.d.ts +4 -2
- package/dist/graphIntelligence.js +2 -46
- package/dist/graphRecommendationsClient.d.ts +15 -23
- package/dist/graphRecommendationsClient.js +70 -849
- package/dist/graphStateClassifierClient.d.ts +17 -25
- package/dist/graphStateClassifierClient.js +67 -908
- package/dist/harnessClient.d.ts +40 -47
- package/dist/harnessClient.js +198 -993
- package/dist/identityClient.d.ts +25 -33
- package/dist/identityClient.js +245 -1186
- package/dist/index.d.ts +73 -69
- package/dist/index.js +72 -13313
- package/dist/infisicalRuntime.d.ts +12 -14
- package/dist/infisicalRuntime.js +290 -297
- package/dist/jobsClient.d.ts +24 -32
- package/dist/jobsClient.js +101 -916
- package/dist/learningClient.d.ts +8 -16
- package/dist/learningClient.js +45 -809
- package/dist/lenses/index.d.ts +13 -65
- package/dist/lenses/index.js +11 -10175
- package/dist/mcpClient.d.ts +14 -23
- package/dist/mcpClient.js +115 -856
- package/dist/modelRuntimeClient.d.ts +18 -26
- package/dist/modelRuntimeClient.js +74 -894
- package/dist/nodes/index.d.ts +7 -58
- package/dist/nodes/index.js +14 -10177
- package/dist/ontologies/index.d.ts +21 -73
- package/dist/ontologies/index.js +14 -10178
- package/dist/ontologyClient.d.ts +23 -31
- package/dist/ontologyClient.js +138 -924
- package/dist/ontologyLinksClient.d.ts +16 -24
- package/dist/ontologyLinksClient.js +76 -886
- package/dist/opinion.d.ts +5 -6
- package/dist/opinion.js +21 -25
- package/dist/orgGraphSearchClient.d.ts +19 -27
- package/dist/orgGraphSearchClient.js +89 -857
- package/dist/packRuntime.d.ts +2 -2
- package/dist/packRuntime.js +1 -2
- package/dist/packsClient.d.ts +30 -37
- package/dist/packsClient.js +131 -906
- package/dist/policyClient.d.ts +21 -29
- package/dist/policyClient.js +267 -1026
- package/dist/proof-attestation.json +1 -1
- package/dist/questions/index.d.ts +9 -60
- package/dist/questions/index.js +15 -10178
- package/dist/realtime/index.d.ts +20 -16
- package/dist/realtime/index.js +30 -19
- package/dist/realtime/refs.d.ts +4 -6
- package/dist/realtime/refs.js +12 -7
- package/dist/realtime-refs.d.ts +1 -0
- package/dist/realtime-refs.js +1 -0
- package/dist/realtime.d.ts +1 -0
- package/dist/realtime.js +1 -0
- package/dist/reportsClient.d.ts +10 -19
- package/dist/reportsClient.js +48 -836
- package/dist/schemaClient.d.ts +16 -23
- package/dist/schemaClient.js +62 -832
- package/dist/sdkSurface.d.ts +18 -25
- package/dist/sdkSurface.js +135 -106
- package/dist/secrets.d.ts +2 -1
- package/dist/secrets.js +1 -2
- package/dist/sourcesClient.d.ts +11 -18
- package/dist/sourcesClient.js +18 -741
- package/dist/telemetryClient.d.ts +22 -30
- package/dist/telemetryClient.js +107 -931
- package/dist/toolRegistryClient.d.ts +27 -35
- package/dist/toolRegistryClient.js +116 -954
- package/dist/topics/index.d.ts +13 -64
- package/dist/topics/index.js +15 -10178
- package/dist/topicsClient.d.ts +19 -27
- package/dist/topicsClient.js +106 -894
- package/dist/types.d.ts +84 -87
- package/dist/types.js +1 -2
- package/dist/version.d.ts +2 -3
- package/dist/version.js +2 -5
- package/dist/workflowClient.d.ts +60 -65
- package/dist/workflowClient.js +343 -1219
- package/dist/worktrees/index.d.ts +16 -68
- package/dist/worktrees/index.js +14 -10178
- package/package.json +6 -6
- package/dist/accessControl.js.map +0 -1
- package/dist/adminClient.js.map +0 -1
- package/dist/answersClient.js.map +0 -1
- package/dist/audience/index.js.map +0 -1
- package/dist/audiencesClient.js.map +0 -1
- package/dist/auditClient.js.map +0 -1
- package/dist/authContext.js.map +0 -1
- package/dist/authDeviceClient.js.map +0 -1
- package/dist/beliefs/index.js.map +0 -1
- package/dist/beliefs/lifecycle.js.map +0 -1
- package/dist/beliefsClient.js.map +0 -1
- package/dist/boundaryClientSurface.js.map +0 -1
- package/dist/client.js.map +0 -1
- package/dist/clientAssemblyTypes.js.map +0 -1
- package/dist/clientConfig.js.map +0 -1
- package/dist/clientEvidenceCompat.js.map +0 -1
- package/dist/clientGraphNamespaces.js.map +0 -1
- package/dist/clientHelpers.js.map +0 -1
- package/dist/clientKnowledgeNamespaces.js.map +0 -1
- package/dist/clientLocalHelpers.js.map +0 -1
- package/dist/clientPlatformNamespaces.js.map +0 -1
- package/dist/clientRuntime.js.map +0 -1
- package/dist/clientWorkflowNamespaces.js.map +0 -1
- package/dist/contextClient.js.map +0 -1
- package/dist/contextFacade.js.map +0 -1
- package/dist/contextPackCompiler.js.map +0 -1
- package/dist/contextPackPolicy.js.map +0 -1
- package/dist/contextPackSchema.js.map +0 -1
- package/dist/contextTypes.js.map +0 -1
- package/dist/contracts/api-enums.contract.js.map +0 -1
- package/dist/contracts/auth-session.contract.js.map +0 -1
- package/dist/contracts/context-pack.contract.js.map +0 -1
- package/dist/contracts/contextPack.js.map +0 -1
- package/dist/contracts/index.js.map +0 -1
- package/dist/contracts/lens-filter.contract.js.map +0 -1
- package/dist/contracts/lens-workflow.contract.js.map +0 -1
- package/dist/contracts/lensFilter.js.map +0 -1
- package/dist/contracts/lensWorkflow.js.map +0 -1
- package/dist/contracts/mcpTools.js.map +0 -1
- package/dist/contracts/prompt.contract.js.map +0 -1
- package/dist/contracts/prompt.js.map +0 -1
- package/dist/contracts/sdk-tools.contract.js.map +0 -1
- package/dist/contracts/sdkTools.js.map +0 -1
- package/dist/contracts/tool-contracts.js.map +0 -1
- package/dist/contracts/workflow-runtime.contract.js.map +0 -1
- package/dist/contracts/workflowRuntime.js.map +0 -1
- package/dist/contradictions/index.js.map +0 -1
- package/dist/control-plane.js.map +0 -1
- package/dist/controlObjectOwnership.js.map +0 -1
- package/dist/coreClient.js.map +0 -1
- package/dist/customTools.js.map +0 -1
- package/dist/decisions/index.js.map +0 -1
- package/dist/decisionsClient.js.map +0 -1
- package/dist/domainContext.js.map +0 -1
- package/dist/edges/index.js.map +0 -1
- package/dist/embeddingsClient.js.map +0 -1
- package/dist/eventingClient.js.map +0 -1
- package/dist/events.js.map +0 -1
- package/dist/eventsCore.js.map +0 -1
- package/dist/evidence/index.js.map +0 -1
- package/dist/evidenceClient.js.map +0 -1
- package/dist/facade/context.js.map +0 -1
- package/dist/functionSurface.js.map +0 -1
- package/dist/functionSurfaceClient.js.map +0 -1
- package/dist/gatewayFacades.factories.js.map +0 -1
- package/dist/gatewayFacades.js.map +0 -1
- package/dist/graphAnalysisClient.js.map +0 -1
- package/dist/graphClient.js.map +0 -1
- package/dist/graphIntel.js.map +0 -1
- package/dist/graphIntelligence.js.map +0 -1
- package/dist/graphRecommendationsClient.js.map +0 -1
- package/dist/graphStateClassifierClient.js.map +0 -1
- package/dist/harnessClient.js.map +0 -1
- package/dist/identityClient.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/infisicalRuntime.js.map +0 -1
- package/dist/jobsClient.js.map +0 -1
- package/dist/learningClient.js.map +0 -1
- package/dist/lenses/index.js.map +0 -1
- package/dist/mcpClient.js.map +0 -1
- package/dist/modelRuntimeClient.js.map +0 -1
- package/dist/nodes/index.js.map +0 -1
- package/dist/ontologies/index.js.map +0 -1
- package/dist/ontologyClient.js.map +0 -1
- package/dist/ontologyLinksClient.js.map +0 -1
- package/dist/opinion.js.map +0 -1
- package/dist/orgGraphSearchClient.js.map +0 -1
- package/dist/packRuntime.js.map +0 -1
- package/dist/packsClient.js.map +0 -1
- package/dist/policyClient.js.map +0 -1
- package/dist/questions/index.js.map +0 -1
- package/dist/realtime/index.js.map +0 -1
- package/dist/realtime/refs.js.map +0 -1
- package/dist/reportsClient.js.map +0 -1
- package/dist/schemaClient.js.map +0 -1
- package/dist/sdk-tools.contract-B4c1Zr1o.d.ts +0 -22
- package/dist/sdkSurface.js.map +0 -1
- package/dist/secrets.js.map +0 -1
- package/dist/sourcesClient.js.map +0 -1
- package/dist/telemetryClient.js.map +0 -1
- package/dist/tool-contracts-BUiL9P6z.d.ts +0 -22
- package/dist/toolRegistryClient.js.map +0 -1
- package/dist/topics/index.js.map +0 -1
- package/dist/topicsClient.js.map +0 -1
- package/dist/types.js.map +0 -1
- package/dist/version.js.map +0 -1
- package/dist/workflowClient.js.map +0 -1
- package/dist/worktrees/index.js.map +0 -1
package/dist/gatewayFacades.d.ts
CHANGED
|
@@ -1,96 +1,86 @@
|
|
|
1
|
-
import { GatewayClientConfig, PlatformGatewaySuccess
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import '@lucern/transport-core';
|
|
8
|
-
import './authContext.js';
|
|
9
|
-
import './contracts/auth-session.contract.js';
|
|
10
|
-
import './contracts/workflow-runtime.contract.js';
|
|
11
|
-
import './contracts/lens-workflow.contract.js';
|
|
12
|
-
import './contracts/lens-filter.contract.js';
|
|
13
|
-
import './opinion.js';
|
|
14
|
-
|
|
15
|
-
type GatewayRecord = Record<string, unknown>;
|
|
16
|
-
type GatewayList = GatewayRecord & {
|
|
1
|
+
import { type GatewayClientConfig, type PlatformGatewaySuccess } from "./coreClient";
|
|
2
|
+
import type { ModulateConfidenceInput } from "./beliefsClient";
|
|
3
|
+
import { type TopicCoverageQuery, type TopicTreeQuery, type TopicUpdateInput } from "./topicsClient";
|
|
4
|
+
import type { GraphAnalyticsMetric, JsonObject } from "./types";
|
|
5
|
+
export type GatewayRecord = Record<string, unknown>;
|
|
6
|
+
export type GatewayList = GatewayRecord & {
|
|
17
7
|
cursor?: string;
|
|
18
8
|
total?: number;
|
|
19
9
|
};
|
|
20
|
-
type BeliefRecord = GatewayRecord & {
|
|
10
|
+
export type BeliefRecord = GatewayRecord & {
|
|
21
11
|
id?: string;
|
|
22
12
|
beliefId?: string;
|
|
23
13
|
nodeId?: string;
|
|
24
14
|
};
|
|
25
|
-
type BeliefsListResult = GatewayList & {
|
|
15
|
+
export type BeliefsListResult = GatewayList & {
|
|
26
16
|
beliefs?: BeliefRecord[];
|
|
27
17
|
};
|
|
28
|
-
type BeliefsLineageResult = GatewayRecord & {
|
|
18
|
+
export type BeliefsLineageResult = GatewayRecord & {
|
|
29
19
|
beliefId?: string;
|
|
30
20
|
lineage?: GatewayRecord[];
|
|
31
21
|
};
|
|
32
|
-
type SearchResult = GatewayList & {
|
|
22
|
+
export type SearchResult = GatewayList & {
|
|
33
23
|
beliefs?: GatewayRecord[];
|
|
34
24
|
results?: GatewayRecord[];
|
|
35
25
|
};
|
|
36
|
-
type GraphNeighborhoodInput = {
|
|
26
|
+
export type GraphNeighborhoodInput = {
|
|
37
27
|
globalId?: string;
|
|
38
28
|
globalIds?: string | string[];
|
|
39
29
|
maxDepth?: number;
|
|
40
30
|
};
|
|
41
|
-
type GraphTraverseInput = {
|
|
31
|
+
export type GraphTraverseInput = {
|
|
42
32
|
startNode: string;
|
|
43
33
|
direction?: string;
|
|
44
34
|
maxDepth?: number;
|
|
45
35
|
topicId?: string;
|
|
46
36
|
};
|
|
47
|
-
type GraphAnalyzeInput = {
|
|
37
|
+
export type GraphAnalyzeInput = {
|
|
48
38
|
topicId?: string;
|
|
49
39
|
metric?: GraphAnalyticsMetric;
|
|
50
40
|
limit?: number;
|
|
51
41
|
};
|
|
52
|
-
type GraphBiasInput = {
|
|
42
|
+
export type GraphBiasInput = {
|
|
53
43
|
topicId?: string;
|
|
54
44
|
threshold?: number;
|
|
55
45
|
limit?: number;
|
|
56
46
|
};
|
|
57
|
-
type GraphGapsInput = {
|
|
47
|
+
export type GraphGapsInput = {
|
|
58
48
|
topicId?: string;
|
|
59
49
|
minConfidence?: number;
|
|
60
50
|
};
|
|
61
|
-
type GraphFalsifyInput = {
|
|
51
|
+
export type GraphFalsifyInput = {
|
|
62
52
|
topicId?: string;
|
|
63
53
|
beliefId?: string;
|
|
64
54
|
beliefIds?: string[];
|
|
65
55
|
minConfidence?: number;
|
|
66
56
|
};
|
|
67
|
-
type EventsListResult = GatewayList & {
|
|
57
|
+
export type EventsListResult = GatewayList & {
|
|
68
58
|
events?: GatewayRecord[];
|
|
69
59
|
};
|
|
70
|
-
type WebhooksListResult = GatewayList & {
|
|
60
|
+
export type WebhooksListResult = GatewayList & {
|
|
71
61
|
webhooks?: GatewayRecord[];
|
|
72
62
|
};
|
|
73
|
-
type QuestionsListResult = GatewayList & {
|
|
63
|
+
export type QuestionsListResult = GatewayList & {
|
|
74
64
|
questions?: Array<GatewayRecord & {
|
|
75
65
|
priority?: string;
|
|
76
66
|
}>;
|
|
77
67
|
};
|
|
78
|
-
type ContradictionsListResult = GatewayList & {
|
|
68
|
+
export type ContradictionsListResult = GatewayList & {
|
|
79
69
|
contradictions?: GatewayRecord[];
|
|
80
70
|
};
|
|
81
|
-
type WorktreesListResult = GatewayList & {
|
|
71
|
+
export type WorktreesListResult = GatewayList & {
|
|
82
72
|
worktrees?: GatewayRecord[];
|
|
83
73
|
};
|
|
84
|
-
type TaskListResult = GatewayList & {
|
|
74
|
+
export type TaskListResult = GatewayList & {
|
|
85
75
|
tasks?: GatewayRecord[];
|
|
86
76
|
};
|
|
87
|
-
type EvidenceCreateResult = GatewayRecord & {
|
|
77
|
+
export type EvidenceCreateResult = GatewayRecord & {
|
|
88
78
|
id?: string;
|
|
89
79
|
};
|
|
90
|
-
type EvidenceLinkResult = GatewayRecord & {
|
|
80
|
+
export type EvidenceLinkResult = GatewayRecord & {
|
|
91
81
|
edgeId?: string;
|
|
92
82
|
};
|
|
93
|
-
type BeliefCreateInput = {
|
|
83
|
+
export type BeliefCreateInput = {
|
|
94
84
|
topicId?: string;
|
|
95
85
|
text: string;
|
|
96
86
|
baseRate?: number;
|
|
@@ -104,7 +94,7 @@ type BeliefCreateInput = {
|
|
|
104
94
|
predictionMeta?: JsonObject;
|
|
105
95
|
metadata?: JsonObject;
|
|
106
96
|
};
|
|
107
|
-
type BeliefsListQuery = {
|
|
97
|
+
export type BeliefsListQuery = {
|
|
108
98
|
topicId?: string;
|
|
109
99
|
status?: string;
|
|
110
100
|
worktreeId?: string;
|
|
@@ -112,29 +102,29 @@ type BeliefsListQuery = {
|
|
|
112
102
|
limit?: number;
|
|
113
103
|
cursor?: string;
|
|
114
104
|
};
|
|
115
|
-
type BeliefRefineInput = {
|
|
105
|
+
export type BeliefRefineInput = {
|
|
116
106
|
text: string;
|
|
117
107
|
rationale?: string;
|
|
118
108
|
};
|
|
119
|
-
type BeliefForkInput = {
|
|
109
|
+
export type BeliefForkInput = {
|
|
120
110
|
text: string;
|
|
121
111
|
forkReason?: string;
|
|
122
112
|
rationale?: string;
|
|
123
113
|
};
|
|
124
|
-
type BeliefConfidenceInput = ModulateConfidenceInput;
|
|
125
|
-
type BeliefArchiveInput = {
|
|
114
|
+
export type BeliefConfidenceInput = ModulateConfidenceInput;
|
|
115
|
+
export type BeliefArchiveInput = {
|
|
126
116
|
reason?: string;
|
|
127
117
|
rationale?: string;
|
|
128
118
|
};
|
|
129
|
-
type BeliefContractInput = GatewayRecord;
|
|
130
|
-
type BeliefBisectInput = {
|
|
119
|
+
export type BeliefContractInput = GatewayRecord;
|
|
120
|
+
export type BeliefBisectInput = {
|
|
131
121
|
expectedDirection: "overconfident" | "underconfident";
|
|
132
122
|
timeRange?: {
|
|
133
123
|
start: number;
|
|
134
124
|
end: number;
|
|
135
125
|
};
|
|
136
126
|
};
|
|
137
|
-
type EdgeCreateInput = {
|
|
127
|
+
export type EdgeCreateInput = {
|
|
138
128
|
sourceId: string;
|
|
139
129
|
targetId: string;
|
|
140
130
|
edgeType: string;
|
|
@@ -145,19 +135,19 @@ type EdgeCreateInput = {
|
|
|
145
135
|
reasoning?: string;
|
|
146
136
|
reasoningMethod?: string;
|
|
147
137
|
};
|
|
148
|
-
type EdgeListQuery = {
|
|
138
|
+
export type EdgeListQuery = {
|
|
149
139
|
sourceId?: string;
|
|
150
140
|
edgeType?: string;
|
|
151
141
|
limit?: number;
|
|
152
142
|
cursor?: string;
|
|
153
143
|
};
|
|
154
|
-
type EdgeTraverseInput = {
|
|
144
|
+
export type EdgeTraverseInput = {
|
|
155
145
|
startNode: string;
|
|
156
146
|
direction?: string;
|
|
157
147
|
maxDepth?: number;
|
|
158
148
|
topicId?: string;
|
|
159
149
|
};
|
|
160
|
-
type EvidenceCreateInput = {
|
|
150
|
+
export type EvidenceCreateInput = {
|
|
161
151
|
topicId?: string;
|
|
162
152
|
text: string;
|
|
163
153
|
source?: string;
|
|
@@ -170,13 +160,13 @@ type EvidenceCreateInput = {
|
|
|
170
160
|
contentType?: string;
|
|
171
161
|
kind?: string;
|
|
172
162
|
};
|
|
173
|
-
type EvidenceListQuery = {
|
|
163
|
+
export type EvidenceListQuery = {
|
|
174
164
|
topicId?: string;
|
|
175
165
|
targetId?: string;
|
|
176
166
|
limit?: number;
|
|
177
167
|
cursor?: string;
|
|
178
168
|
};
|
|
179
|
-
type EvidenceSearchInput = {
|
|
169
|
+
export type EvidenceSearchInput = {
|
|
180
170
|
q: string;
|
|
181
171
|
topicId?: string;
|
|
182
172
|
targetId?: string;
|
|
@@ -184,14 +174,14 @@ type EvidenceSearchInput = {
|
|
|
184
174
|
limit?: number;
|
|
185
175
|
cursor?: string;
|
|
186
176
|
};
|
|
187
|
-
type EvidenceLinkInput = {
|
|
177
|
+
export type EvidenceLinkInput = {
|
|
188
178
|
evidenceId: string;
|
|
189
179
|
targetId: string;
|
|
190
180
|
targetType?: "belief" | "question";
|
|
191
181
|
weight?: number;
|
|
192
182
|
rationale?: string;
|
|
193
183
|
};
|
|
194
|
-
type QuestionsListQuery = {
|
|
184
|
+
export type QuestionsListQuery = {
|
|
195
185
|
topicId?: string;
|
|
196
186
|
status?: string;
|
|
197
187
|
priority?: string;
|
|
@@ -199,32 +189,32 @@ type QuestionsListQuery = {
|
|
|
199
189
|
limit?: number;
|
|
200
190
|
cursor?: string;
|
|
201
191
|
};
|
|
202
|
-
type QuestionCreateInput = {
|
|
192
|
+
export type QuestionCreateInput = {
|
|
203
193
|
topicId?: string;
|
|
204
194
|
text: string;
|
|
205
195
|
priority?: string;
|
|
206
196
|
linkedBeliefId?: string;
|
|
207
197
|
metadata?: JsonObject;
|
|
208
198
|
};
|
|
209
|
-
type QuestionAnswerInput = {
|
|
199
|
+
export type QuestionAnswerInput = {
|
|
210
200
|
text: string;
|
|
211
201
|
confidence?: string;
|
|
212
202
|
evidenceIds?: string[];
|
|
213
203
|
rationale?: string;
|
|
214
204
|
};
|
|
215
|
-
type QuestionRefineInput = {
|
|
205
|
+
export type QuestionRefineInput = {
|
|
216
206
|
text: string;
|
|
217
207
|
rationale?: string;
|
|
218
208
|
};
|
|
219
|
-
type QuestionArchiveInput = {
|
|
209
|
+
export type QuestionArchiveInput = {
|
|
220
210
|
reason?: string;
|
|
221
211
|
rationale?: string;
|
|
222
212
|
};
|
|
223
|
-
type QuestionStatusInput = {
|
|
213
|
+
export type QuestionStatusInput = {
|
|
224
214
|
status: string;
|
|
225
215
|
rationale?: string;
|
|
226
216
|
};
|
|
227
|
-
type SearchQueryInput = {
|
|
217
|
+
export type SearchQueryInput = {
|
|
228
218
|
q?: string;
|
|
229
219
|
query?: string;
|
|
230
220
|
topicId?: string;
|
|
@@ -234,7 +224,7 @@ type SearchQueryInput = {
|
|
|
234
224
|
limit?: number;
|
|
235
225
|
cursor?: string;
|
|
236
226
|
};
|
|
237
|
-
type TaskCreateInput = {
|
|
227
|
+
export type TaskCreateInput = {
|
|
238
228
|
topicId?: string;
|
|
239
229
|
title: string;
|
|
240
230
|
description?: string;
|
|
@@ -244,7 +234,7 @@ type TaskCreateInput = {
|
|
|
244
234
|
linkedQuestionId?: string;
|
|
245
235
|
linkedWorktreeId?: string;
|
|
246
236
|
};
|
|
247
|
-
type TaskUpdateInput = {
|
|
237
|
+
export type TaskUpdateInput = {
|
|
248
238
|
id: string;
|
|
249
239
|
title?: string;
|
|
250
240
|
description?: string;
|
|
@@ -257,17 +247,17 @@ type TaskUpdateInput = {
|
|
|
257
247
|
linkedWorktreeId?: string;
|
|
258
248
|
metadata?: JsonObject;
|
|
259
249
|
};
|
|
260
|
-
type TaskCompleteInput = {
|
|
250
|
+
export type TaskCompleteInput = {
|
|
261
251
|
id: string;
|
|
262
252
|
outputSummary: string;
|
|
263
253
|
};
|
|
264
|
-
type TaskListQuery = {
|
|
254
|
+
export type TaskListQuery = {
|
|
265
255
|
topicId?: string;
|
|
266
256
|
worktreeId?: string;
|
|
267
257
|
status?: string;
|
|
268
258
|
limit?: number;
|
|
269
259
|
};
|
|
270
|
-
type WorktreeCreateInput = {
|
|
260
|
+
export type WorktreeCreateInput = {
|
|
271
261
|
title: string;
|
|
272
262
|
topicId?: string;
|
|
273
263
|
objective?: string;
|
|
@@ -320,7 +310,7 @@ type WorktreeCreateInput = {
|
|
|
320
310
|
autoFixPolicy?: unknown;
|
|
321
311
|
lensId?: string;
|
|
322
312
|
};
|
|
323
|
-
type WorktreeListQuery = {
|
|
313
|
+
export type WorktreeListQuery = {
|
|
324
314
|
topicId?: string;
|
|
325
315
|
status?: string;
|
|
326
316
|
groupBy?: "campaign" | "lane" | "flat";
|
|
@@ -328,10 +318,10 @@ type WorktreeListQuery = {
|
|
|
328
318
|
campaign?: number;
|
|
329
319
|
limit?: number;
|
|
330
320
|
};
|
|
331
|
-
type WorktreeActivateInput = {
|
|
321
|
+
export type WorktreeActivateInput = {
|
|
332
322
|
id: string;
|
|
333
323
|
};
|
|
334
|
-
type WorktreeUpdateInput = {
|
|
324
|
+
export type WorktreeUpdateInput = {
|
|
335
325
|
id: string;
|
|
336
326
|
objective?: string;
|
|
337
327
|
hypothesis?: string;
|
|
@@ -352,7 +342,7 @@ type WorktreeUpdateInput = {
|
|
|
352
342
|
autoFixPolicy?: unknown;
|
|
353
343
|
lensId?: string;
|
|
354
344
|
};
|
|
355
|
-
type WorktreeMergeInput = {
|
|
345
|
+
export type WorktreeMergeInput = {
|
|
356
346
|
id: string;
|
|
357
347
|
summary?: string;
|
|
358
348
|
outcomes: Array<string | {
|
|
@@ -361,31 +351,31 @@ type WorktreeMergeInput = {
|
|
|
361
351
|
rationale: string;
|
|
362
352
|
}>;
|
|
363
353
|
};
|
|
364
|
-
type WorktreeTargetsInput = {
|
|
354
|
+
export type WorktreeTargetsInput = {
|
|
365
355
|
id: string;
|
|
366
356
|
addBeliefIds?: string[];
|
|
367
357
|
addQuestionIds?: string[];
|
|
368
358
|
removeBeliefIds?: string[];
|
|
369
359
|
removeQuestionIds?: string[];
|
|
370
360
|
};
|
|
371
|
-
type OntologyListInput = {
|
|
361
|
+
export type OntologyListInput = {
|
|
372
362
|
tenantId?: string;
|
|
373
363
|
tier?: string;
|
|
374
364
|
status?: string;
|
|
375
365
|
};
|
|
376
|
-
type OntologyMatchInput = GatewayRecord;
|
|
377
|
-
type WebhookCreateInput = GatewayRecord;
|
|
378
|
-
type WebhookUpdateInput = GatewayRecord;
|
|
379
|
-
type WebhookListQuery = {
|
|
366
|
+
export type OntologyMatchInput = GatewayRecord;
|
|
367
|
+
export type WebhookCreateInput = GatewayRecord;
|
|
368
|
+
export type WebhookUpdateInput = GatewayRecord;
|
|
369
|
+
export type WebhookListQuery = {
|
|
380
370
|
topicId?: string;
|
|
381
371
|
};
|
|
382
|
-
type WebhookTestInput = {
|
|
372
|
+
export type WebhookTestInput = {
|
|
383
373
|
topicId?: string;
|
|
384
374
|
};
|
|
385
|
-
type WebhookDeliveriesQuery = {
|
|
375
|
+
export type WebhookDeliveriesQuery = {
|
|
386
376
|
limit?: number;
|
|
387
377
|
};
|
|
388
|
-
type EventsListQuery = {
|
|
378
|
+
export type EventsListQuery = {
|
|
389
379
|
topicId?: string;
|
|
390
380
|
after?: string;
|
|
391
381
|
types?: string[];
|
|
@@ -393,34 +383,34 @@ type EventsListQuery = {
|
|
|
393
383
|
endTime?: number;
|
|
394
384
|
limit?: number;
|
|
395
385
|
};
|
|
396
|
-
type ReplayEventsInput = GatewayRecord;
|
|
397
|
-
|
|
398
|
-
declare function createSearchFacade(config?: GatewayClientConfig): {
|
|
386
|
+
export type ReplayEventsInput = GatewayRecord;
|
|
387
|
+
export { createBeliefsFacade, createContradictionsFacade, createEdgesFacade, createEvidenceFacade, createEventsFacade, createGraphFacade, createIdentityFacade, createOntologiesFacade, createQuestionsFacade } from "./gatewayFacades.factories";
|
|
388
|
+
export declare function createSearchFacade(config?: GatewayClientConfig): {
|
|
399
389
|
query(input: SearchQueryInput): Promise<PlatformGatewaySuccess<SearchResult>>;
|
|
400
390
|
};
|
|
401
|
-
declare function createTasksFacade(config?: GatewayClientConfig): {
|
|
391
|
+
export declare function createTasksFacade(config?: GatewayClientConfig): {
|
|
402
392
|
create(input: TaskCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
403
393
|
update(input: TaskUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
404
394
|
complete(input: TaskCompleteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
405
395
|
list(query: TaskListQuery): Promise<PlatformGatewaySuccess<TaskListResult>>;
|
|
406
396
|
};
|
|
407
|
-
declare function createTopicsFacade(config?: GatewayClientConfig): {
|
|
408
|
-
create: (input: TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<TopicRecord>>;
|
|
409
|
-
get: (topicId: string) => Promise<PlatformGatewaySuccess<TopicRecord>>;
|
|
410
|
-
list: (query?: TopicListInput) => Promise<PlatformGatewaySuccess<TopicListResponse>>;
|
|
397
|
+
export declare function createTopicsFacade(config?: GatewayClientConfig): {
|
|
398
|
+
create: (input: import("./topicsClient").TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
|
|
399
|
+
get: (topicId: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
|
|
400
|
+
list: (query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
|
|
411
401
|
update(input: TopicUpdateInput & {
|
|
412
402
|
id: string;
|
|
413
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TopicRecord>>;
|
|
403
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
|
|
414
404
|
tree(input: TopicTreeQuery & {
|
|
415
405
|
id: string;
|
|
416
|
-
}): Promise<PlatformGatewaySuccess<TopicTreeResponse>>;
|
|
406
|
+
}): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
|
|
417
407
|
coverage(input: TopicCoverageQuery & {
|
|
418
408
|
id: string;
|
|
419
|
-
}): Promise<PlatformGatewaySuccess<TopicCoverageResponse>>;
|
|
409
|
+
}): Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>;
|
|
420
410
|
remove: (topicId: string, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
421
|
-
bulkCreate: (input: TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
411
|
+
bulkCreate: (input: import("./topicsClient").TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
422
412
|
};
|
|
423
|
-
declare function createWebhooksFacade(config?: GatewayClientConfig): {
|
|
413
|
+
export declare function createWebhooksFacade(config?: GatewayClientConfig): {
|
|
424
414
|
create(input: WebhookCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
425
415
|
list(query?: WebhookListQuery): Promise<PlatformGatewaySuccess<WebhooksListResult>>;
|
|
426
416
|
get(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
@@ -430,7 +420,7 @@ declare function createWebhooksFacade(config?: GatewayClientConfig): {
|
|
|
430
420
|
deliveries(id: string, query?: WebhookDeliveriesQuery): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
431
421
|
health(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
432
422
|
};
|
|
433
|
-
declare function createWorktreesFacade(config?: GatewayClientConfig): {
|
|
423
|
+
export declare function createWorktreesFacade(config?: GatewayClientConfig): {
|
|
434
424
|
create(input: WorktreeCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
435
425
|
list(query: WorktreeListQuery): Promise<PlatformGatewaySuccess<WorktreesListResult>>;
|
|
436
426
|
listCampaigns(query?: {
|
|
@@ -463,211 +453,4 @@ declare function createWorktreesFacade(config?: GatewayClientConfig): {
|
|
|
463
453
|
worktrees: unknown[];
|
|
464
454
|
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
465
455
|
};
|
|
466
|
-
|
|
467
|
-
declare function createBeliefsFacade(config?: GatewayClientConfig): {
|
|
468
|
-
create(input: BeliefCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<BeliefRecord>>;
|
|
469
|
-
get(id: string): Promise<PlatformGatewaySuccess<BeliefRecord>>;
|
|
470
|
-
list(query: BeliefsListQuery): Promise<PlatformGatewaySuccess<BeliefsListResult>>;
|
|
471
|
-
refine(id: string, input: BeliefRefineInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<BeliefRecord>>;
|
|
472
|
-
fork(id: string, input: BeliefForkInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<BeliefRecord>>;
|
|
473
|
-
updateConfidence(id: string, input: BeliefConfidenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
474
|
-
updateStatus(input: {
|
|
475
|
-
id?: string;
|
|
476
|
-
nodeId?: string;
|
|
477
|
-
beliefId?: string;
|
|
478
|
-
status: "active" | "superseded" | "archived";
|
|
479
|
-
reason?: string;
|
|
480
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
481
|
-
updateRationale(input: {
|
|
482
|
-
id?: string;
|
|
483
|
-
nodeId?: string;
|
|
484
|
-
beliefId?: string;
|
|
485
|
-
rationale?: string;
|
|
486
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
487
|
-
linkBeliefs(input: {
|
|
488
|
-
fromNodeId: string;
|
|
489
|
-
toNodeId: string;
|
|
490
|
-
edgeType: string;
|
|
491
|
-
weight?: number;
|
|
492
|
-
context?: string;
|
|
493
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
494
|
-
unlinkEvidence(input: {
|
|
495
|
-
beliefNodeId?: string;
|
|
496
|
-
beliefId?: string;
|
|
497
|
-
insightId?: string;
|
|
498
|
-
evidenceId?: string;
|
|
499
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
500
|
-
updateCriticality(input: {
|
|
501
|
-
id?: string;
|
|
502
|
-
nodeId?: string;
|
|
503
|
-
beliefId?: string;
|
|
504
|
-
criticality: string;
|
|
505
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
506
|
-
batchUpdateCriticality(input: {
|
|
507
|
-
updates: GatewayRecord[];
|
|
508
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
509
|
-
reassignTopic(input: {
|
|
510
|
-
beliefNodeIds?: string[];
|
|
511
|
-
beliefIds?: string[];
|
|
512
|
-
targetTopicId: string;
|
|
513
|
-
reason?: string;
|
|
514
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
515
|
-
archive(id: string, input?: BeliefArchiveInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
516
|
-
lineage(id: string): Promise<PlatformGatewaySuccess<BeliefsLineageResult>>;
|
|
517
|
-
confidenceHistory(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
518
|
-
opinionHistory(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
519
|
-
createContract(id: string, input: BeliefContractInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
520
|
-
bisect(id: string, input: BeliefBisectInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
521
|
-
};
|
|
522
|
-
declare function createContradictionsFacade(config?: GatewayClientConfig): {
|
|
523
|
-
flag(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
524
|
-
list(query: {
|
|
525
|
-
topicId?: string;
|
|
526
|
-
status?: string;
|
|
527
|
-
limit?: number;
|
|
528
|
-
cursor?: string;
|
|
529
|
-
}): Promise<PlatformGatewaySuccess<ContradictionsListResult>>;
|
|
530
|
-
get(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
531
|
-
};
|
|
532
|
-
declare function createEdgesFacade(config?: GatewayClientConfig): {
|
|
533
|
-
create(input: EdgeCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
534
|
-
list(query: EdgeListQuery): Promise<PlatformGatewaySuccess<GatewayList>>;
|
|
535
|
-
traverse(input: EdgeTraverseInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
536
|
-
update(input: {
|
|
537
|
-
edgeId: string;
|
|
538
|
-
weight?: number;
|
|
539
|
-
confidence?: number;
|
|
540
|
-
context?: string;
|
|
541
|
-
derivationType?: string;
|
|
542
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
543
|
-
remove(input: {
|
|
544
|
-
edgeId: string;
|
|
545
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
546
|
-
removeBetween(input: {
|
|
547
|
-
fromNodeId: string;
|
|
548
|
-
toNodeId: string;
|
|
549
|
-
edgeType?: string;
|
|
550
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
551
|
-
batchCreate(input: {
|
|
552
|
-
edges: GatewayRecord[];
|
|
553
|
-
skipLayerValidation?: boolean;
|
|
554
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
555
|
-
delete(input: {
|
|
556
|
-
edgeIds: string[];
|
|
557
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
558
|
-
};
|
|
559
|
-
declare function createEvidenceFacade(config?: GatewayClientConfig): {
|
|
560
|
-
create(input: EvidenceCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<EvidenceCreateResult>>;
|
|
561
|
-
get(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
562
|
-
list(query: EvidenceListQuery): Promise<PlatformGatewaySuccess<GatewayList>>;
|
|
563
|
-
link(input: EvidenceLinkInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<EvidenceLinkResult>>;
|
|
564
|
-
search(query: EvidenceSearchInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayList>>;
|
|
565
|
-
updateStatus(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
566
|
-
update(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
567
|
-
flagIncorrect(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
568
|
-
remove(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
569
|
-
updateVerificationStatus(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
570
|
-
};
|
|
571
|
-
declare function createEventsFacade(config?: GatewayClientConfig): {
|
|
572
|
-
list(query?: EventsListQuery): Promise<PlatformGatewaySuccess<EventsListResult>>;
|
|
573
|
-
replay(input: ReplayEventsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
574
|
-
};
|
|
575
|
-
declare function createGraphFacade(config?: GatewayClientConfig): {
|
|
576
|
-
neighborhood(input: GraphNeighborhoodInput): Promise<PlatformGatewaySuccess<GraphNeighborhoodResponse>>;
|
|
577
|
-
falsify(input: GraphFalsifyInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
578
|
-
} & {
|
|
579
|
-
traverse: (query: TraverseInput) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
580
|
-
analyze: (query?: AnalyzeInput) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
581
|
-
bias: (query?: BiasInput) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
582
|
-
gaps: (query: GapsInput) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
583
|
-
};
|
|
584
|
-
declare function createIdentityFacade(config?: GatewayClientConfig): {
|
|
585
|
-
whoami(): Promise<PlatformGatewaySuccess<{
|
|
586
|
-
principalId: string;
|
|
587
|
-
principalType: "human" | "service" | "agent" | "group" | "external_viewer" | "user";
|
|
588
|
-
clerkId: string | undefined;
|
|
589
|
-
tenantId: string | null;
|
|
590
|
-
workspaceId: string | null;
|
|
591
|
-
scopes: string[];
|
|
592
|
-
roles: string[];
|
|
593
|
-
groupIds: string[];
|
|
594
|
-
permittedToolNames: string[];
|
|
595
|
-
permittedPackKeys: string[];
|
|
596
|
-
principalStatus: string | undefined;
|
|
597
|
-
tenantStatus: string | undefined;
|
|
598
|
-
workspaceStatus: string | undefined;
|
|
599
|
-
isPlatformAdmin: boolean;
|
|
600
|
-
isTenantAdmin: boolean;
|
|
601
|
-
isWorkspaceAdmin: boolean;
|
|
602
|
-
permit: {
|
|
603
|
-
subject: string;
|
|
604
|
-
tenant: string;
|
|
605
|
-
workspace?: string;
|
|
606
|
-
} | undefined;
|
|
607
|
-
authMode: string | undefined;
|
|
608
|
-
sessionId: string | undefined;
|
|
609
|
-
delegatedBy: string | undefined;
|
|
610
|
-
expiresAt: number | undefined;
|
|
611
|
-
}> & {
|
|
612
|
-
principalId: string;
|
|
613
|
-
principalType: "human" | "service" | "agent" | "group" | "external_viewer" | "user";
|
|
614
|
-
clerkId: string | undefined;
|
|
615
|
-
tenantId: string | null;
|
|
616
|
-
workspaceId: string | null;
|
|
617
|
-
scopes: string[];
|
|
618
|
-
roles: string[];
|
|
619
|
-
groupIds: string[];
|
|
620
|
-
permittedToolNames: string[];
|
|
621
|
-
permittedPackKeys: string[];
|
|
622
|
-
principalStatus: string | undefined;
|
|
623
|
-
tenantStatus: string | undefined;
|
|
624
|
-
workspaceStatus: string | undefined;
|
|
625
|
-
isPlatformAdmin: boolean;
|
|
626
|
-
isTenantAdmin: boolean;
|
|
627
|
-
isWorkspaceAdmin: boolean;
|
|
628
|
-
permit: {
|
|
629
|
-
subject: string;
|
|
630
|
-
tenant: string;
|
|
631
|
-
workspace?: string;
|
|
632
|
-
} | undefined;
|
|
633
|
-
authMode: string | undefined;
|
|
634
|
-
sessionId: string | undefined;
|
|
635
|
-
delegatedBy: string | undefined;
|
|
636
|
-
expiresAt: number | undefined;
|
|
637
|
-
}>;
|
|
638
|
-
};
|
|
639
|
-
declare function createOntologiesFacade(config?: GatewayClientConfig): {
|
|
640
|
-
get(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
641
|
-
bind(input: OntologyBindingInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
642
|
-
match(input: OntologyMatchInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
643
|
-
} & {
|
|
644
|
-
list: (filters?: GatewayScope & {
|
|
645
|
-
tenantId?: string;
|
|
646
|
-
tier?: string;
|
|
647
|
-
status?: string;
|
|
648
|
-
}) => Promise<PlatformGatewaySuccess<{
|
|
649
|
-
ontologies: unknown[];
|
|
650
|
-
total: number;
|
|
651
|
-
items: unknown[];
|
|
652
|
-
definitions: unknown[];
|
|
653
|
-
}>>;
|
|
654
|
-
};
|
|
655
|
-
declare function createQuestionsFacade(config?: GatewayClientConfig): {
|
|
656
|
-
create(input: QuestionCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
657
|
-
get(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
658
|
-
list(query: QuestionsListQuery): Promise<PlatformGatewaySuccess<QuestionsListResult>>;
|
|
659
|
-
answer(id: string, input: QuestionAnswerInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
660
|
-
refine(id: string, input: QuestionRefineInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
661
|
-
archive(id: string, input?: QuestionArchiveInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
662
|
-
updateStatus(id: string, input: QuestionStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
663
|
-
batchCreate(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
664
|
-
add(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
665
|
-
updatePriority(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
666
|
-
advanceToConviction(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
667
|
-
updateConviction(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
668
|
-
finalizeConviction(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
669
|
-
update(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
670
|
-
delete(input: GatewayRecord, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
671
|
-
};
|
|
672
|
-
|
|
673
|
-
export { type BeliefArchiveInput, type BeliefBisectInput, type BeliefConfidenceInput, type BeliefContractInput, type BeliefCreateInput, type BeliefForkInput, type BeliefRecord, type BeliefRefineInput, type BeliefsLineageResult, type BeliefsListQuery, type BeliefsListResult, type ContradictionsListResult, type EdgeCreateInput, type EdgeListQuery, type EdgeTraverseInput, type EventsListQuery, type EventsListResult, type EvidenceCreateInput, type EvidenceCreateResult, type EvidenceLinkInput, type EvidenceLinkResult, type EvidenceListQuery, type EvidenceSearchInput, type GatewayList, type GatewayRecord, type GraphAnalyzeInput, type GraphBiasInput, type GraphFalsifyInput, type GraphGapsInput, type GraphNeighborhoodInput, type GraphTraverseInput, type OntologyListInput, type OntologyMatchInput, type QuestionAnswerInput, type QuestionArchiveInput, type QuestionCreateInput, type QuestionRefineInput, type QuestionStatusInput, type QuestionsListQuery, type QuestionsListResult, type ReplayEventsInput, type SearchQueryInput, type SearchResult, type TaskCompleteInput, type TaskCreateInput, type TaskListQuery, type TaskListResult, type TaskUpdateInput, type WebhookCreateInput, type WebhookDeliveriesQuery, type WebhookListQuery, type WebhookTestInput, type WebhookUpdateInput, type WebhooksListResult, type WorktreeActivateInput, type WorktreeCreateInput, type WorktreeListQuery, type WorktreeMergeInput, type WorktreeTargetsInput, type WorktreeUpdateInput, type WorktreesListResult, createBeliefsFacade, createContradictionsFacade, createEdgesFacade, createEventsFacade, createEvidenceFacade, createGraphFacade, createIdentityFacade, createOntologiesFacade, createQuestionsFacade, createSearchFacade, createTasksFacade, createTopicsFacade, createWebhooksFacade, createWorktreesFacade };
|
|
456
|
+
//# sourceMappingURL=gatewayFacades.d.ts.map
|