@lucern/sdk 0.2.0-alpha.10 → 0.2.0-alpha.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/dist/audience/index.d.ts +38 -0
- package/dist/audience/index.js +110 -0
- package/dist/audience/index.js.map +1 -0
- package/dist/beliefs/index.d.ts +465 -0
- package/dist/beliefs/index.js +6433 -0
- package/dist/beliefs/index.js.map +1 -0
- package/dist/beliefs/lifecycle.d.ts +24 -0
- package/dist/beliefs/lifecycle.js +98 -0
- package/dist/beliefs/lifecycle.js.map +1 -0
- package/dist/beliefsClient.d.ts +2 -3
- package/dist/beliefsClient.js +40 -10
- package/dist/beliefsClient.js.map +1 -1
- package/dist/client.d.ts +3 -3
- package/dist/client.js +42 -9
- package/dist/client.js.map +1 -1
- package/dist/contradictions/index.d.ts +158 -0
- package/dist/contradictions/index.js +6427 -0
- package/dist/contradictions/index.js.map +1 -0
- package/dist/decisions/index.d.ts +68 -0
- package/dist/decisions/index.js +6429 -0
- package/dist/decisions/index.js.map +1 -0
- package/dist/edges/index.d.ts +204 -0
- package/dist/edges/index.js +6428 -0
- package/dist/edges/index.js.map +1 -0
- package/dist/events.js +7 -5
- package/dist/events.js.map +1 -1
- package/dist/evidence/index.d.ts +295 -0
- package/dist/evidence/index.js +6428 -0
- package/dist/evidence/index.js.map +1 -0
- package/dist/gatewayFacades.d.ts +1 -1
- package/dist/gatewayFacades.js +32 -2
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +55 -23
- package/dist/index.js.map +1 -1
- package/dist/lenses/index.d.ts +194 -0
- package/dist/lenses/index.js +6427 -0
- package/dist/lenses/index.js.map +1 -0
- package/dist/nodes/index.d.ts +62 -0
- package/dist/nodes/index.js +6429 -0
- package/dist/nodes/index.js.map +1 -0
- package/dist/ontologies/index.d.ts +178 -0
- package/dist/ontologies/index.js +6430 -0
- package/dist/ontologies/index.js.map +1 -0
- package/dist/opinion.d.ts +11 -0
- package/dist/opinion.js +35 -0
- package/dist/opinion.js.map +1 -0
- package/dist/questions/index.d.ts +297 -0
- package/dist/questions/index.js +6430 -0
- package/dist/questions/index.js.map +1 -0
- package/dist/topics/index.d.ts +68 -0
- package/dist/topics/index.js +6428 -0
- package/dist/topics/index.js.map +1 -0
- package/dist/worktrees/index.d.ts +210 -0
- package/dist/worktrees/index.js +6430 -0
- package/dist/worktrees/index.js.map +1 -0
- package/package.json +53 -2
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { OntologyBindingInput, OntologyDefinitionInput, OntologyDefinitionUpdateInput, OntologyVersionInput } from '../ontologyClient.js';
|
|
2
|
+
import { PlatformGatewaySuccess, GatewayScope } from '../coreClient.js';
|
|
3
|
+
import { JsonObject, ListResult } from '../types.js';
|
|
4
|
+
import { LucernClientConfig } from '../client.js';
|
|
5
|
+
import * as v1 from '@lucern/contracts/ontologies/v1';
|
|
6
|
+
export { v1 as ontologiesContracts };
|
|
7
|
+
import * as ontologyMatching_contract from '@lucern/contracts/ontology-matching.contract';
|
|
8
|
+
export { ontologyMatching_contract as ontologyMatchingContracts };
|
|
9
|
+
import * as mcpTools_contract from '@lucern/contracts/mcp-tools.contract';
|
|
10
|
+
export { mcpTools_contract as toolSchemas };
|
|
11
|
+
import '../contracts/workflow-runtime.contract.js';
|
|
12
|
+
import '../contracts/lens-workflow.contract.js';
|
|
13
|
+
import '../contracts/lens-filter.contract.js';
|
|
14
|
+
import '../audiencesClient.js';
|
|
15
|
+
import '../schemaClient.js';
|
|
16
|
+
import '../harnessClient.js';
|
|
17
|
+
import '../identityClient.js';
|
|
18
|
+
import '../adminClient.js';
|
|
19
|
+
import '../controlObjectOwnership.js';
|
|
20
|
+
import '../beliefsClient.js';
|
|
21
|
+
import '../opinion.js';
|
|
22
|
+
import '../packsClient.js';
|
|
23
|
+
import '../customTools.js';
|
|
24
|
+
import 'zod';
|
|
25
|
+
import '../mcpTools-DPZxowDX.js';
|
|
26
|
+
import '../policyClient.js';
|
|
27
|
+
import '../contextTypes.js';
|
|
28
|
+
import '../topicsClient.js';
|
|
29
|
+
import '../answersClient.js';
|
|
30
|
+
import '../auditClient.js';
|
|
31
|
+
import '../contextClient.js';
|
|
32
|
+
import '../decisionsClient.js';
|
|
33
|
+
import '../evidenceClient.js';
|
|
34
|
+
import '../graphClient.js';
|
|
35
|
+
import '../learningClient.js';
|
|
36
|
+
import '../mcpParityClient.js';
|
|
37
|
+
import '../reportsClient.js';
|
|
38
|
+
import '../sourcesClient.js';
|
|
39
|
+
import '../workflowClient.js';
|
|
40
|
+
|
|
41
|
+
type OntologiesClientConfig = LucernClientConfig;
|
|
42
|
+
type OntologiesClient = ReturnType<typeof createOntologiesClient>;
|
|
43
|
+
declare function createOntologiesClient(config?: OntologiesClientConfig): {
|
|
44
|
+
createOntology: (input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]) => Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
45
|
+
getOntology: (ontologyId: string) => Promise<PlatformGatewaySuccess<{
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
}> & {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
}>;
|
|
50
|
+
listOntologies: (input?: {
|
|
51
|
+
tenantId?: string;
|
|
52
|
+
tier?: string;
|
|
53
|
+
status?: string;
|
|
54
|
+
}) => Promise<PlatformGatewaySuccess<{
|
|
55
|
+
ontologies: any[];
|
|
56
|
+
total: number;
|
|
57
|
+
items: any[];
|
|
58
|
+
definitions: any[];
|
|
59
|
+
}> & {
|
|
60
|
+
ontologies: any[];
|
|
61
|
+
total: number;
|
|
62
|
+
items: any[];
|
|
63
|
+
definitions: any[];
|
|
64
|
+
}>;
|
|
65
|
+
bindOntology: (input: Parameters<(input: OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
66
|
+
[x: string]: unknown;
|
|
67
|
+
}>>>[0], idempotencyKey?: Parameters<(input: OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
}>>>[1]) => Promise<PlatformGatewaySuccess<{
|
|
70
|
+
[x: string]: unknown;
|
|
71
|
+
}> & {
|
|
72
|
+
[x: string]: unknown;
|
|
73
|
+
}>;
|
|
74
|
+
matchOntology: (input: Parameters<(input: {
|
|
75
|
+
[x: string]: unknown;
|
|
76
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
77
|
+
[x: string]: unknown;
|
|
78
|
+
}>>>[0], idempotencyKey?: Parameters<(input: {
|
|
79
|
+
[x: string]: unknown;
|
|
80
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
81
|
+
[x: string]: unknown;
|
|
82
|
+
}>>>[1]) => Promise<PlatformGatewaySuccess<{
|
|
83
|
+
[x: string]: unknown;
|
|
84
|
+
}> & {
|
|
85
|
+
[x: string]: unknown;
|
|
86
|
+
}>;
|
|
87
|
+
updateOntology: (input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]) => Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
88
|
+
archiveOntology: (input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]) => Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
89
|
+
raw: {
|
|
90
|
+
list(input?: {
|
|
91
|
+
tenantId?: string;
|
|
92
|
+
tier?: string;
|
|
93
|
+
status?: string;
|
|
94
|
+
}): Promise<PlatformGatewaySuccess<{
|
|
95
|
+
ontologies: any[];
|
|
96
|
+
total: number;
|
|
97
|
+
items: any[];
|
|
98
|
+
definitions: any[];
|
|
99
|
+
}> & {
|
|
100
|
+
ontologies: any[];
|
|
101
|
+
total: number;
|
|
102
|
+
items: any[];
|
|
103
|
+
definitions: any[];
|
|
104
|
+
}>;
|
|
105
|
+
get(ontologyId: string): Promise<PlatformGatewaySuccess<{
|
|
106
|
+
[x: string]: unknown;
|
|
107
|
+
}> & {
|
|
108
|
+
[x: string]: unknown;
|
|
109
|
+
}>;
|
|
110
|
+
bind(input: Parameters<(input: OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
111
|
+
[x: string]: unknown;
|
|
112
|
+
}>>>[0], idempotencyKey?: Parameters<(input: OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
113
|
+
[x: string]: unknown;
|
|
114
|
+
}>>>[1]): Promise<PlatformGatewaySuccess<{
|
|
115
|
+
[x: string]: unknown;
|
|
116
|
+
}> & {
|
|
117
|
+
[x: string]: unknown;
|
|
118
|
+
}>;
|
|
119
|
+
match(input: Parameters<(input: {
|
|
120
|
+
[x: string]: unknown;
|
|
121
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
122
|
+
[x: string]: unknown;
|
|
123
|
+
}>>>[0], idempotencyKey?: Parameters<(input: {
|
|
124
|
+
[x: string]: unknown;
|
|
125
|
+
}, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
|
|
126
|
+
[x: string]: unknown;
|
|
127
|
+
}>>>[1]): Promise<PlatformGatewaySuccess<{
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
}> & {
|
|
130
|
+
[x: string]: unknown;
|
|
131
|
+
}>;
|
|
132
|
+
create(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
133
|
+
update(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
134
|
+
archive(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
135
|
+
createVersion(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
136
|
+
publishVersion(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
137
|
+
deprecateVersion(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
138
|
+
resolveEffective(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
|
|
139
|
+
raw: {
|
|
140
|
+
list(filters?: GatewayScope & {
|
|
141
|
+
tenantId?: string;
|
|
142
|
+
tier?: string;
|
|
143
|
+
status?: string;
|
|
144
|
+
}): Promise<PlatformGatewaySuccess<{
|
|
145
|
+
ontologies: any[];
|
|
146
|
+
total: number;
|
|
147
|
+
items: any[];
|
|
148
|
+
definitions: any[];
|
|
149
|
+
}>>;
|
|
150
|
+
get(id: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
151
|
+
bind(input: OntologyBindingInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
152
|
+
listDefinitions(filters?: GatewayScope & {
|
|
153
|
+
tenantId?: string;
|
|
154
|
+
tier?: string;
|
|
155
|
+
status?: string;
|
|
156
|
+
}): Promise<PlatformGatewaySuccess<{
|
|
157
|
+
ontologies: any[];
|
|
158
|
+
total: number;
|
|
159
|
+
items: any[];
|
|
160
|
+
definitions: any[];
|
|
161
|
+
}>>;
|
|
162
|
+
getDefinition(id: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
163
|
+
createDefinition(input: OntologyDefinitionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
164
|
+
updateDefinition(id: string, input: OntologyDefinitionUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
165
|
+
archiveDefinition(id: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
166
|
+
listVersions(ontologyId: string, filters?: GatewayScope & {
|
|
167
|
+
status?: string;
|
|
168
|
+
}): Promise<PlatformGatewaySuccess<ListResult<any, "versions">>>;
|
|
169
|
+
createVersion(ontologyId: string, input: OntologyVersionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
170
|
+
publishVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
171
|
+
deprecateVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
|
|
172
|
+
listTopics(ontologyId: string): Promise<PlatformGatewaySuccess<ListResult<any, "topics">>>;
|
|
173
|
+
listTopicsByOntology(ontologyId: string): Promise<PlatformGatewaySuccess<ListResult<any, "topics">>>;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export { type OntologiesClient, type OntologiesClientConfig, createOntologiesClient };
|