@lucern/sdk 1.0.11 → 1.0.13
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 +10 -0
- package/README.md +24 -27
- 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 +16 -67
- package/dist/beliefs/index.js +20 -10181
- package/dist/beliefs/lifecycle.d.ts +10 -11
- package/dist/beliefs/lifecycle.js +78 -80
- package/dist/beliefsClient.d.ts +30 -35
- package/dist/beliefsClient.js +238 -994
- package/dist/boundaryClientSurface.d.ts +11 -16
- package/dist/boundaryClientSurface.js +49 -68
- package/dist/client.d.ts +82 -113
- 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 +24 -14
- package/dist/clientEvidenceCompat.js +56 -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 +24 -54
- package/dist/clientKnowledgeNamespaces.js +506 -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 +42 -61
- 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 +93 -296
- package/dist/gatewayFacades.factories.d.ts +209 -14
- package/dist/gatewayFacades.factories.js +545 -2228
- 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,24 +135,36 @@ 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;
|
|
164
154
|
targetId?: string;
|
|
165
155
|
weight?: number;
|
|
156
|
+
evidenceRelation?: "supports" | "contradicts";
|
|
157
|
+
confidence?: number;
|
|
158
|
+
beliefRelations?: Array<{
|
|
159
|
+
beliefId?: string;
|
|
160
|
+
beliefNodeId?: string;
|
|
161
|
+
targetId?: string;
|
|
162
|
+
relation?: "supports" | "contradicts" | "supporting" | "contradicting";
|
|
163
|
+
evidenceRelation?: "supports" | "contradicts";
|
|
164
|
+
confidence?: number;
|
|
165
|
+
weight?: number;
|
|
166
|
+
rationale?: string;
|
|
167
|
+
}>;
|
|
166
168
|
rationale: string;
|
|
167
169
|
metadata?: JsonObject;
|
|
168
170
|
title?: string;
|
|
@@ -170,13 +172,13 @@ type EvidenceCreateInput = {
|
|
|
170
172
|
contentType?: string;
|
|
171
173
|
kind?: string;
|
|
172
174
|
};
|
|
173
|
-
type EvidenceListQuery = {
|
|
175
|
+
export type EvidenceListQuery = {
|
|
174
176
|
topicId?: string;
|
|
175
177
|
targetId?: string;
|
|
176
178
|
limit?: number;
|
|
177
179
|
cursor?: string;
|
|
178
180
|
};
|
|
179
|
-
type EvidenceSearchInput = {
|
|
181
|
+
export type EvidenceSearchInput = {
|
|
180
182
|
q: string;
|
|
181
183
|
topicId?: string;
|
|
182
184
|
targetId?: string;
|
|
@@ -184,14 +186,16 @@ type EvidenceSearchInput = {
|
|
|
184
186
|
limit?: number;
|
|
185
187
|
cursor?: string;
|
|
186
188
|
};
|
|
187
|
-
type EvidenceLinkInput = {
|
|
189
|
+
export type EvidenceLinkInput = {
|
|
188
190
|
evidenceId: string;
|
|
189
191
|
targetId: string;
|
|
190
192
|
targetType?: "belief" | "question";
|
|
191
193
|
weight?: number;
|
|
194
|
+
evidenceRelation?: "supports" | "contradicts";
|
|
195
|
+
confidence?: number;
|
|
192
196
|
rationale?: string;
|
|
193
197
|
};
|
|
194
|
-
type QuestionsListQuery = {
|
|
198
|
+
export type QuestionsListQuery = {
|
|
195
199
|
topicId?: string;
|
|
196
200
|
status?: string;
|
|
197
201
|
priority?: string;
|
|
@@ -199,32 +203,32 @@ type QuestionsListQuery = {
|
|
|
199
203
|
limit?: number;
|
|
200
204
|
cursor?: string;
|
|
201
205
|
};
|
|
202
|
-
type QuestionCreateInput = {
|
|
206
|
+
export type QuestionCreateInput = {
|
|
203
207
|
topicId?: string;
|
|
204
208
|
text: string;
|
|
205
209
|
priority?: string;
|
|
206
210
|
linkedBeliefId?: string;
|
|
207
211
|
metadata?: JsonObject;
|
|
208
212
|
};
|
|
209
|
-
type QuestionAnswerInput = {
|
|
213
|
+
export type QuestionAnswerInput = {
|
|
210
214
|
text: string;
|
|
211
215
|
confidence?: string;
|
|
212
216
|
evidenceIds?: string[];
|
|
213
217
|
rationale?: string;
|
|
214
218
|
};
|
|
215
|
-
type QuestionRefineInput = {
|
|
219
|
+
export type QuestionRefineInput = {
|
|
216
220
|
text: string;
|
|
217
221
|
rationale?: string;
|
|
218
222
|
};
|
|
219
|
-
type QuestionArchiveInput = {
|
|
223
|
+
export type QuestionArchiveInput = {
|
|
220
224
|
reason?: string;
|
|
221
225
|
rationale?: string;
|
|
222
226
|
};
|
|
223
|
-
type QuestionStatusInput = {
|
|
227
|
+
export type QuestionStatusInput = {
|
|
224
228
|
status: string;
|
|
225
229
|
rationale?: string;
|
|
226
230
|
};
|
|
227
|
-
type SearchQueryInput = {
|
|
231
|
+
export type SearchQueryInput = {
|
|
228
232
|
q?: string;
|
|
229
233
|
query?: string;
|
|
230
234
|
topicId?: string;
|
|
@@ -234,7 +238,7 @@ type SearchQueryInput = {
|
|
|
234
238
|
limit?: number;
|
|
235
239
|
cursor?: string;
|
|
236
240
|
};
|
|
237
|
-
type TaskCreateInput = {
|
|
241
|
+
export type TaskCreateInput = {
|
|
238
242
|
topicId?: string;
|
|
239
243
|
title: string;
|
|
240
244
|
description?: string;
|
|
@@ -244,7 +248,7 @@ type TaskCreateInput = {
|
|
|
244
248
|
linkedQuestionId?: string;
|
|
245
249
|
linkedWorktreeId?: string;
|
|
246
250
|
};
|
|
247
|
-
type TaskUpdateInput = {
|
|
251
|
+
export type TaskUpdateInput = {
|
|
248
252
|
id: string;
|
|
249
253
|
title?: string;
|
|
250
254
|
description?: string;
|
|
@@ -257,17 +261,17 @@ type TaskUpdateInput = {
|
|
|
257
261
|
linkedWorktreeId?: string;
|
|
258
262
|
metadata?: JsonObject;
|
|
259
263
|
};
|
|
260
|
-
type TaskCompleteInput = {
|
|
264
|
+
export type TaskCompleteInput = {
|
|
261
265
|
id: string;
|
|
262
266
|
outputSummary: string;
|
|
263
267
|
};
|
|
264
|
-
type TaskListQuery = {
|
|
268
|
+
export type TaskListQuery = {
|
|
265
269
|
topicId?: string;
|
|
266
270
|
worktreeId?: string;
|
|
267
271
|
status?: string;
|
|
268
272
|
limit?: number;
|
|
269
273
|
};
|
|
270
|
-
type WorktreeCreateInput = {
|
|
274
|
+
export type WorktreeCreateInput = {
|
|
271
275
|
title: string;
|
|
272
276
|
topicId?: string;
|
|
273
277
|
objective?: string;
|
|
@@ -320,7 +324,7 @@ type WorktreeCreateInput = {
|
|
|
320
324
|
autoFixPolicy?: unknown;
|
|
321
325
|
lensId?: string;
|
|
322
326
|
};
|
|
323
|
-
type WorktreeListQuery = {
|
|
327
|
+
export type WorktreeListQuery = {
|
|
324
328
|
topicId?: string;
|
|
325
329
|
status?: string;
|
|
326
330
|
groupBy?: "campaign" | "lane" | "flat";
|
|
@@ -328,10 +332,10 @@ type WorktreeListQuery = {
|
|
|
328
332
|
campaign?: number;
|
|
329
333
|
limit?: number;
|
|
330
334
|
};
|
|
331
|
-
type WorktreeActivateInput = {
|
|
335
|
+
export type WorktreeActivateInput = {
|
|
332
336
|
id: string;
|
|
333
337
|
};
|
|
334
|
-
type WorktreeUpdateInput = {
|
|
338
|
+
export type WorktreeUpdateInput = {
|
|
335
339
|
id: string;
|
|
336
340
|
objective?: string;
|
|
337
341
|
hypothesis?: string;
|
|
@@ -352,7 +356,7 @@ type WorktreeUpdateInput = {
|
|
|
352
356
|
autoFixPolicy?: unknown;
|
|
353
357
|
lensId?: string;
|
|
354
358
|
};
|
|
355
|
-
type WorktreeMergeInput = {
|
|
359
|
+
export type WorktreeMergeInput = {
|
|
356
360
|
id: string;
|
|
357
361
|
summary?: string;
|
|
358
362
|
outcomes: Array<string | {
|
|
@@ -361,31 +365,31 @@ type WorktreeMergeInput = {
|
|
|
361
365
|
rationale: string;
|
|
362
366
|
}>;
|
|
363
367
|
};
|
|
364
|
-
type WorktreeTargetsInput = {
|
|
368
|
+
export type WorktreeTargetsInput = {
|
|
365
369
|
id: string;
|
|
366
370
|
addBeliefIds?: string[];
|
|
367
371
|
addQuestionIds?: string[];
|
|
368
372
|
removeBeliefIds?: string[];
|
|
369
373
|
removeQuestionIds?: string[];
|
|
370
374
|
};
|
|
371
|
-
type OntologyListInput = {
|
|
375
|
+
export type OntologyListInput = {
|
|
372
376
|
tenantId?: string;
|
|
373
377
|
tier?: string;
|
|
374
378
|
status?: string;
|
|
375
379
|
};
|
|
376
|
-
type OntologyMatchInput = GatewayRecord;
|
|
377
|
-
type WebhookCreateInput = GatewayRecord;
|
|
378
|
-
type WebhookUpdateInput = GatewayRecord;
|
|
379
|
-
type WebhookListQuery = {
|
|
380
|
+
export type OntologyMatchInput = GatewayRecord;
|
|
381
|
+
export type WebhookCreateInput = GatewayRecord;
|
|
382
|
+
export type WebhookUpdateInput = GatewayRecord;
|
|
383
|
+
export type WebhookListQuery = {
|
|
380
384
|
topicId?: string;
|
|
381
385
|
};
|
|
382
|
-
type WebhookTestInput = {
|
|
386
|
+
export type WebhookTestInput = {
|
|
383
387
|
topicId?: string;
|
|
384
388
|
};
|
|
385
|
-
type WebhookDeliveriesQuery = {
|
|
389
|
+
export type WebhookDeliveriesQuery = {
|
|
386
390
|
limit?: number;
|
|
387
391
|
};
|
|
388
|
-
type EventsListQuery = {
|
|
392
|
+
export type EventsListQuery = {
|
|
389
393
|
topicId?: string;
|
|
390
394
|
after?: string;
|
|
391
395
|
types?: string[];
|
|
@@ -393,34 +397,34 @@ type EventsListQuery = {
|
|
|
393
397
|
endTime?: number;
|
|
394
398
|
limit?: number;
|
|
395
399
|
};
|
|
396
|
-
type ReplayEventsInput = GatewayRecord;
|
|
397
|
-
|
|
398
|
-
declare function createSearchFacade(config?: GatewayClientConfig): {
|
|
400
|
+
export type ReplayEventsInput = GatewayRecord;
|
|
401
|
+
export { createBeliefsFacade, createContradictionsFacade, createEdgesFacade, createEvidenceFacade, createEventsFacade, createGraphFacade, createIdentityFacade, createOntologiesFacade, createQuestionsFacade } from "./gatewayFacades.factories";
|
|
402
|
+
export declare function createSearchFacade(config?: GatewayClientConfig): {
|
|
399
403
|
query(input: SearchQueryInput): Promise<PlatformGatewaySuccess<SearchResult>>;
|
|
400
404
|
};
|
|
401
|
-
declare function createTasksFacade(config?: GatewayClientConfig): {
|
|
405
|
+
export declare function createTasksFacade(config?: GatewayClientConfig): {
|
|
402
406
|
create(input: TaskCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
403
407
|
update(input: TaskUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
404
408
|
complete(input: TaskCompleteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
405
409
|
list(query: TaskListQuery): Promise<PlatformGatewaySuccess<TaskListResult>>;
|
|
406
410
|
};
|
|
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>>;
|
|
411
|
+
export declare function createTopicsFacade(config?: GatewayClientConfig): {
|
|
412
|
+
create: (input: import("./topicsClient").TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
|
|
413
|
+
get: (topicId: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
|
|
414
|
+
list: (query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
|
|
411
415
|
update(input: TopicUpdateInput & {
|
|
412
416
|
id: string;
|
|
413
|
-
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TopicRecord>>;
|
|
417
|
+
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
|
|
414
418
|
tree(input: TopicTreeQuery & {
|
|
415
419
|
id: string;
|
|
416
|
-
}): Promise<PlatformGatewaySuccess<TopicTreeResponse>>;
|
|
420
|
+
}): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
|
|
417
421
|
coverage(input: TopicCoverageQuery & {
|
|
418
422
|
id: string;
|
|
419
|
-
}): Promise<PlatformGatewaySuccess<TopicCoverageResponse>>;
|
|
423
|
+
}): Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>;
|
|
420
424
|
remove: (topicId: string, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
421
|
-
bulkCreate: (input: TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
425
|
+
bulkCreate: (input: import("./topicsClient").TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
|
|
422
426
|
};
|
|
423
|
-
declare function createWebhooksFacade(config?: GatewayClientConfig): {
|
|
427
|
+
export declare function createWebhooksFacade(config?: GatewayClientConfig): {
|
|
424
428
|
create(input: WebhookCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
425
429
|
list(query?: WebhookListQuery): Promise<PlatformGatewaySuccess<WebhooksListResult>>;
|
|
426
430
|
get(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
@@ -430,7 +434,7 @@ declare function createWebhooksFacade(config?: GatewayClientConfig): {
|
|
|
430
434
|
deliveries(id: string, query?: WebhookDeliveriesQuery): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
431
435
|
health(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
432
436
|
};
|
|
433
|
-
declare function createWorktreesFacade(config?: GatewayClientConfig): {
|
|
437
|
+
export declare function createWorktreesFacade(config?: GatewayClientConfig): {
|
|
434
438
|
create(input: WorktreeCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
435
439
|
list(query: WorktreeListQuery): Promise<PlatformGatewaySuccess<WorktreesListResult>>;
|
|
436
440
|
listCampaigns(query?: {
|
|
@@ -463,211 +467,4 @@ declare function createWorktreesFacade(config?: GatewayClientConfig): {
|
|
|
463
467
|
worktrees: unknown[];
|
|
464
468
|
}, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
|
|
465
469
|
};
|
|
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 };
|
|
470
|
+
//# sourceMappingURL=gatewayFacades.d.ts.map
|