@lucern/sdk 0.2.0-alpha.6 → 0.2.0-alpha.7

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.
Files changed (206) hide show
  1. package/.turbo/turbo-build.log +7 -0
  2. package/.turbo/turbo-typecheck.log +4 -0
  3. package/CHANGELOG.md +13 -0
  4. package/examples/README.md +69 -0
  5. package/examples/contradiction.ts +94 -0
  6. package/examples/investigation-context.ts +118 -0
  7. package/examples/questions-and-tasks.ts +55 -0
  8. package/examples/quickstart.ts +97 -0
  9. package/examples/shared.ts +318 -0
  10. package/examples/strict-public-types.ts +143 -0
  11. package/examples/worktree-lifecycle.ts +79 -0
  12. package/package.json +16 -58
  13. package/src/README.md +6 -0
  14. package/src/adminClient.ts +789 -0
  15. package/{dist/lib/platform/sdk/answersClient.d.ts → src/answersClient.ts} +17 -4
  16. package/src/audiencesClient.ts +209 -0
  17. package/src/auditClient.ts +50 -0
  18. package/src/beliefsClient.ts +319 -0
  19. package/src/client.ts +2647 -0
  20. package/src/contextClient.ts +130 -0
  21. package/{dist/lib/platform/sdk/contextFacade.d.ts → src/contextFacade.ts} +6 -1
  22. package/src/contextPackCompiler.ts +828 -0
  23. package/src/contextPackSchema.ts +251 -0
  24. package/src/contextTypes.ts +153 -0
  25. package/src/contracts/api-enums.contract.ts +202 -0
  26. package/src/contracts/auth-session.contract.ts +109 -0
  27. package/src/contracts/context-pack.contract.ts +700 -0
  28. package/src/contracts/contextPack.ts +1 -0
  29. package/src/contracts/index.ts +10 -0
  30. package/src/contracts/lens-filter.contract.ts +183 -0
  31. package/src/contracts/lens-workflow.contract.ts +162 -0
  32. package/src/contracts/lensFilter.ts +1 -0
  33. package/src/contracts/lensWorkflow.ts +1 -0
  34. package/src/contracts/mcp-tools.contract.ts +3636 -0
  35. package/src/contracts/mcpTools.ts +1 -0
  36. package/src/contracts/prompt.contract.ts +50 -0
  37. package/src/contracts/prompt.ts +1 -0
  38. package/src/contracts/sdk-tools.contract.ts +1457 -0
  39. package/src/contracts/sdkTools.ts +1 -0
  40. package/src/contracts/workflow-runtime.contract.ts +440 -0
  41. package/src/contracts/workflowRuntime.ts +1 -0
  42. package/src/controlObjectOwnership.ts +286 -0
  43. package/src/coreClient.ts +570 -0
  44. package/src/customTools.ts +398 -0
  45. package/src/decisionsClient.ts +286 -0
  46. package/src/domainContext.ts +15 -0
  47. package/src/events.ts +531 -0
  48. package/src/eventsCore.ts +168 -0
  49. package/src/facade/beliefs.ts +83 -0
  50. package/src/facade/context.ts +110 -0
  51. package/src/facade/contradictions.ts +29 -0
  52. package/src/facade/edges.ts +30 -0
  53. package/src/facade/events.ts +23 -0
  54. package/src/facade/evidence.ts +41 -0
  55. package/src/facade/graph.ts +38 -0
  56. package/src/facade/identity.ts +16 -0
  57. package/src/facade/ontologies.ts +34 -0
  58. package/src/facade/questions.ts +59 -0
  59. package/src/facade/search.ts +16 -0
  60. package/src/facade/tasks.ts +37 -0
  61. package/src/facade/topics.ts +42 -0
  62. package/src/facade/webhooks.ts +58 -0
  63. package/src/facade/worktrees.ts +51 -0
  64. package/src/gatewayFacades.ts +1666 -0
  65. package/src/graphClient.ts +529 -0
  66. package/src/harnessClient.ts +585 -0
  67. package/src/identityClient.ts +278 -0
  68. package/src/learningClient.ts +95 -0
  69. package/src/mcpParityClient.ts +240 -0
  70. package/src/mcpParitySurface.ts +70 -0
  71. package/src/ontologyClient.ts +275 -0
  72. package/src/packRuntime.ts +3 -0
  73. package/src/packsClient.ts +260 -0
  74. package/src/policyClient.ts +572 -0
  75. package/src/realtime/index.ts +51 -0
  76. package/src/realtime/refs.ts +17 -0
  77. package/src/reportsClient.ts +99 -0
  78. package/src/schemaClient.ts +129 -0
  79. package/src/sdkSurface.ts +190 -0
  80. package/src/topicsClient.ts +243 -0
  81. package/src/types.ts +807 -0
  82. package/src/workflowClient.ts +826 -0
  83. package/tsconfig.json +9 -0
  84. package/dist/.generated +0 -2
  85. package/dist/index.d.ts +0 -3
  86. package/dist/index.js +0 -3
  87. package/dist/lib/platform/auth/credentials.d.ts +0 -5
  88. package/dist/lib/platform/auth/credentials.js +0 -40
  89. package/dist/lib/platform/sdk/adminClient.d.ts +0 -404
  90. package/dist/lib/platform/sdk/adminClient.js +0 -384
  91. package/dist/lib/platform/sdk/answersClient.js +0 -21
  92. package/dist/lib/platform/sdk/audiencesClient.d.ts +0 -93
  93. package/dist/lib/platform/sdk/audiencesClient.js +0 -111
  94. package/dist/lib/platform/sdk/auditClient.d.ts +0 -24
  95. package/dist/lib/platform/sdk/auditClient.js +0 -21
  96. package/dist/lib/platform/sdk/beliefsClient.d.ts +0 -157
  97. package/dist/lib/platform/sdk/beliefsClient.js +0 -124
  98. package/dist/lib/platform/sdk/client.d.ts +0 -2369
  99. package/dist/lib/platform/sdk/client.js +0 -1831
  100. package/dist/lib/platform/sdk/contextClient.d.ts +0 -21
  101. package/dist/lib/platform/sdk/contextClient.js +0 -86
  102. package/dist/lib/platform/sdk/contextFacade.js +0 -10
  103. package/dist/lib/platform/sdk/contextPackCompiler.d.ts +0 -100
  104. package/dist/lib/platform/sdk/contextPackCompiler.js +0 -534
  105. package/dist/lib/platform/sdk/contextTypes.d.ts +0 -133
  106. package/dist/lib/platform/sdk/contextTypes.js +0 -1
  107. package/dist/lib/platform/sdk/controlObjectOwnership.d.ts +0 -308
  108. package/dist/lib/platform/sdk/controlObjectOwnership.js +0 -220
  109. package/dist/lib/platform/sdk/coreClient.d.ts +0 -139
  110. package/dist/lib/platform/sdk/coreClient.js +0 -366
  111. package/dist/lib/platform/sdk/customTools.d.ts +0 -83
  112. package/dist/lib/platform/sdk/customTools.js +0 -247
  113. package/dist/lib/platform/sdk/decisionsClient.d.ts +0 -106
  114. package/dist/lib/platform/sdk/decisionsClient.js +0 -129
  115. package/dist/lib/platform/sdk/domainContext.d.ts +0 -1
  116. package/dist/lib/platform/sdk/domainContext.js +0 -1
  117. package/dist/lib/platform/sdk/events.d.ts +0 -176
  118. package/dist/lib/platform/sdk/events.js +0 -261
  119. package/dist/lib/platform/sdk/eventsCore.d.ts +0 -13
  120. package/dist/lib/platform/sdk/eventsCore.js +0 -13
  121. package/dist/lib/platform/sdk/gatewayFacades.d.ts +0 -586
  122. package/dist/lib/platform/sdk/gatewayFacades.js +0 -845
  123. package/dist/lib/platform/sdk/graphClient.d.ts +0 -266
  124. package/dist/lib/platform/sdk/graphClient.js +0 -235
  125. package/dist/lib/platform/sdk/harnessClient.d.ts +0 -309
  126. package/dist/lib/platform/sdk/harnessClient.js +0 -219
  127. package/dist/lib/platform/sdk/identityClient.d.ts +0 -134
  128. package/dist/lib/platform/sdk/identityClient.js +0 -131
  129. package/dist/lib/platform/sdk/index.js +0 -49
  130. package/dist/lib/platform/sdk/learningClient.d.ts +0 -40
  131. package/dist/lib/platform/sdk/learningClient.js +0 -53
  132. package/dist/lib/platform/sdk/mcpParityClient.d.ts +0 -69
  133. package/dist/lib/platform/sdk/mcpParityClient.js +0 -196
  134. package/dist/lib/platform/sdk/mcpParitySurface.d.ts +0 -10
  135. package/dist/lib/platform/sdk/mcpParitySurface.js +0 -57
  136. package/dist/lib/platform/sdk/ontologyClient.d.ts +0 -131
  137. package/dist/lib/platform/sdk/ontologyClient.js +0 -161
  138. package/dist/lib/platform/sdk/packRuntime.d.ts +0 -1
  139. package/dist/lib/platform/sdk/packRuntime.js +0 -1
  140. package/dist/lib/platform/sdk/packsClient.d.ts +0 -126
  141. package/dist/lib/platform/sdk/packsClient.js +0 -157
  142. package/dist/lib/platform/sdk/policyClient.d.ts +0 -293
  143. package/dist/lib/platform/sdk/policyClient.js +0 -277
  144. package/dist/lib/platform/sdk/promptCatalog.js +0 -1
  145. package/dist/lib/platform/sdk/reportsClient.d.ts +0 -34
  146. package/dist/lib/platform/sdk/reportsClient.js +0 -64
  147. package/dist/lib/platform/sdk/schemaClient.d.ts +0 -59
  148. package/dist/lib/platform/sdk/schemaClient.js +0 -71
  149. package/dist/lib/platform/sdk/sdkSurface.d.ts +0 -56
  150. package/dist/lib/platform/sdk/sdkSurface.js +0 -140
  151. package/dist/lib/platform/sdk/topicsClient.d.ts +0 -78
  152. package/dist/lib/platform/sdk/topicsClient.js +0 -118
  153. package/dist/lib/platform/sdk/types.d.ts +0 -692
  154. package/dist/lib/platform/sdk/types.js +0 -1
  155. package/dist/lib/platform/sdk/version.d.ts +0 -2
  156. package/dist/lib/platform/sdk/workflowClient.d.ts +0 -313
  157. package/dist/lib/platform/sdk/workflowClient.js +0 -366
  158. package/dist/lucern/contracts/src/api-enums.contract.d.ts +0 -58
  159. package/dist/lucern/contracts/src/api-enums.contract.js +0 -147
  160. package/dist/lucern/contracts/src/auth-context.contract.d.ts +0 -8
  161. package/dist/lucern/contracts/src/auth-context.contract.js +0 -8
  162. package/dist/lucern/contracts/src/auth-session.contract.d.ts +0 -8
  163. package/dist/lucern/contracts/src/auth-session.contract.js +0 -8
  164. package/dist/lucern/contracts/src/auth.contract.d.ts +0 -88
  165. package/dist/lucern/contracts/src/auth.contract.js +0 -57
  166. package/dist/lucern/contracts/src/context-pack.contract.d.ts +0 -494
  167. package/dist/lucern/contracts/src/context-pack.contract.js +0 -169
  168. package/dist/lucern/contracts/src/convex-admin.contract.d.ts +0 -5
  169. package/dist/lucern/contracts/src/convex-admin.contract.js +0 -1
  170. package/dist/lucern/contracts/src/events-types.contract.d.ts +0 -8
  171. package/dist/lucern/contracts/src/events-types.contract.js +0 -8
  172. package/dist/lucern/contracts/src/events.contract.d.ts +0 -176
  173. package/dist/lucern/contracts/src/events.contract.js +0 -159
  174. package/dist/lucern/contracts/src/gateway.contract.d.ts +0 -74
  175. package/dist/lucern/contracts/src/gateway.contract.js +0 -19
  176. package/dist/lucern/contracts/src/ids.contract.d.ts +0 -7
  177. package/dist/lucern/contracts/src/ids.contract.js +0 -24
  178. package/dist/lucern/contracts/src/index.d.ts +0 -29
  179. package/dist/lucern/contracts/src/index.js +0 -29
  180. package/dist/lucern/contracts/src/lens-filter.contract.d.ts +0 -70
  181. package/dist/lucern/contracts/src/lens-filter.contract.js +0 -95
  182. package/dist/lucern/contracts/src/lens-workflow.contract.d.ts +0 -84
  183. package/dist/lucern/contracts/src/lens-workflow.contract.js +0 -54
  184. package/dist/lucern/contracts/src/mcp-tools.contract.d.ts +0 -151
  185. package/dist/lucern/contracts/src/mcp-tools.contract.js +0 -3281
  186. package/dist/lucern/contracts/src/ontology-matching.contract.d.ts +0 -8
  187. package/dist/lucern/contracts/src/ontology-matching.contract.js +0 -8
  188. package/dist/lucern/contracts/src/prompt.contract.d.ts +0 -24
  189. package/dist/lucern/contracts/src/prompt.contract.js +0 -24
  190. package/dist/lucern/contracts/src/sdk-methods.contract.d.ts +0 -358
  191. package/dist/lucern/contracts/src/sdk-methods.contract.js +0 -19
  192. package/dist/lucern/contracts/src/sdk-tools.contract.d.ts +0 -92
  193. package/dist/lucern/contracts/src/sdk-tools.contract.js +0 -1398
  194. package/dist/lucern/contracts/src/text-matching.contract.d.ts +0 -53
  195. package/dist/lucern/contracts/src/text-matching.contract.js +0 -277
  196. package/dist/lucern/contracts/src/topic-scope.contract.d.ts +0 -8
  197. package/dist/lucern/contracts/src/topic-scope.contract.js +0 -8
  198. package/dist/lucern/contracts/src/workflow-runtime.contract.d.ts +0 -161
  199. package/dist/lucern/contracts/src/workflow-runtime.contract.js +0 -257
  200. package/dist/realtime-refs.d.ts +0 -1
  201. package/dist/realtime-refs.js +0 -1
  202. package/dist/realtime.d.ts +0 -1
  203. package/dist/realtime.js +0 -1
  204. /package/{dist/lib/platform/sdk/index.d.ts → src/index.ts} +0 -0
  205. /package/{dist/lib/platform/sdk/promptCatalog.d.ts → src/promptCatalog.ts} +0 -0
  206. /package/{dist/lib/platform/sdk/version.js → src/version.ts} +0 -0
@@ -1,2369 +0,0 @@
1
- import { type AdminClientConfig } from "./adminClient";
2
- import { type AnswersClientConfig } from "./answersClient";
3
- import { type AudiencesClientConfig } from "./audiencesClient";
4
- import { type AuditClientConfig } from "./auditClient";
5
- import { type BeliefsClientConfig } from "./beliefsClient";
6
- import { type PlatformGatewaySuccess } from "./coreClient";
7
- import { type CustomToolRegistration } from "./customTools";
8
- import { type DecisionsClientConfig, type RecordJudgmentInput } from "./decisionsClient";
9
- import { type ContextClientConfig } from "./contextClient";
10
- import { type GraphClientConfig } from "./graphClient";
11
- import { type HarnessClientConfig } from "./harnessClient";
12
- import { type IdentityClientConfig } from "./identityClient";
13
- import { type LearningClientConfig } from "./learningClient";
14
- import { type McpParityClientConfig } from "./mcpParityClient";
15
- import { type OntologyClientConfig } from "./ontologyClient";
16
- import { type PacksClientConfig } from "./packsClient";
17
- import { type PolicyClientConfig } from "./policyClient";
18
- import { type ReportsClientConfig } from "./reportsClient";
19
- import { type SchemaClientConfig } from "./schemaClient";
20
- import { type TopicsClientConfig } from "./topicsClient";
21
- import type { JsonObject, PlatformGraphEdge, PlatformGraphNode } from "./types";
22
- import { type AddWorktreeInput, type CompleteTaskInput, type CreateTaskInput, type MergeInput, type UpdateTaskInput, type WorkflowClientConfig } from "./workflowClient";
23
- type ClientConfig = BeliefsClientConfig | GraphClientConfig | DecisionsClientConfig | AnswersClientConfig | ContextClientConfig | WorkflowClientConfig | AuditClientConfig | AdminClientConfig | IdentityClientConfig | PolicyClientConfig | PacksClientConfig | ReportsClientConfig | LearningClientConfig | McpParityClientConfig | OntologyClientConfig | HarnessClientConfig | SchemaClientConfig | AudiencesClientConfig | TopicsClientConfig;
24
- type CustomToolInput = JsonObject;
25
- type CustomToolInvoker = (input?: CustomToolInput) => Promise<unknown>;
26
- type CustomToolNamespace = Record<string, CustomToolInvoker>;
27
- type GatewayDataEnvelope<T extends Record<string, unknown>> = PlatformGatewaySuccess<T> & T;
28
- type BeliefsCompatCreateInput = {
29
- topicId?: string;
30
- text?: string;
31
- canonicalText?: string;
32
- formulation?: string;
33
- rationale?: string;
34
- worktreeId?: string;
35
- pillar?: string;
36
- sourceBeliefIds?: string[];
37
- sourceType?: string;
38
- beliefType?: string;
39
- reversibility?: string;
40
- predictionMeta?: JsonObject;
41
- metadata?: JsonObject;
42
- };
43
- type BeliefsCompatForkInput = {
44
- text?: string;
45
- newFormulation?: string;
46
- formulation?: string;
47
- forkReason?: "refinement" | "contradiction_response" | "scope_change" | "confidence_collapse" | "manual";
48
- rationale?: string;
49
- };
50
- type BeliefsCompatUpdateConfidenceInput = {
51
- confidence: number;
52
- trigger?: "evidence_added" | "evidence_removed" | "contradiction_detected" | "contradiction_resolved" | "manual" | "decay" | "agent_assessment" | "merge_outcome" | "worktree_outcome" | "worktree_completed";
53
- rationale: string;
54
- certainty?: number;
55
- maxInlinePropagationTargets?: number;
56
- };
57
- /**
58
- * Configuration for the high-level Lucern SDK client.
59
- *
60
- * At minimum, provide `apiKey` and `baseUrl`. The SDK handles
61
- * authentication, retries, and idempotency automatically.
62
- */
63
- export type LucernClientConfig = ClientConfig & {
64
- /** API key for authenticating with the Lucern platform. */
65
- apiKey?: string;
66
- /**
67
- * Optional Clerk JWT for per-user identity and RBAC.
68
- * When present, the SDK operates in user-scoped mode with
69
- * pack-aware tool filtering. When absent, operates in agent mode.
70
- */
71
- userToken?: string;
72
- /**
73
- * Optional pack key for auto-install convenience.
74
- * When set, the SDK will call `packs.install()` on first use
75
- * to ensure the pack is available in the workspace.
76
- */
77
- packKey?: string;
78
- /** Target environment. Defaults to production if not specified. */
79
- environment?: "sandbox" | "production";
80
- };
81
- /**
82
- * Create the high-level Lucern SDK client with all domain namespaces.
83
- *
84
- * @param config - Client configuration with API key, base URL, and optional settings.
85
- * @returns The Lucern client with namespaced methods for beliefs, topics, evidence, decisions, and more.
86
- */
87
- export declare function createLucernClient(config?: LucernClientConfig): {
88
- config: LucernClientConfig;
89
- version: string;
90
- search(query: string, options?: {
91
- topicId?: string;
92
- types?: string[];
93
- status?: string;
94
- minConfidence?: number;
95
- limit?: number;
96
- cursor?: string;
97
- }): Promise<GatewayDataEnvelope<{
98
- [x: string]: unknown;
99
- } & {
100
- cursor?: string;
101
- total?: number;
102
- } & {
103
- beliefs?: {
104
- [x: string]: unknown;
105
- }[];
106
- results?: {
107
- [x: string]: unknown;
108
- }[];
109
- }>>;
110
- events: {
111
- list(query?: Parameters<(query?: {
112
- topicId?: string;
113
- after?: string;
114
- types?: string[];
115
- startTime?: number;
116
- endTime?: number;
117
- limit?: number;
118
- }) => Promise<PlatformGatewaySuccess<{
119
- [x: string]: unknown;
120
- } & {
121
- cursor?: string;
122
- total?: number;
123
- } & {
124
- events?: {
125
- [x: string]: unknown;
126
- }[];
127
- }>>>[0]): Promise<GatewayDataEnvelope<{
128
- [x: string]: unknown;
129
- } & {
130
- cursor?: string;
131
- total?: number;
132
- } & {
133
- events?: {
134
- [x: string]: unknown;
135
- }[];
136
- }>>;
137
- replay(input: Parameters<(input: {
138
- [x: string]: unknown;
139
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
140
- [x: string]: unknown;
141
- }>>>[0]): Promise<GatewayDataEnvelope<{
142
- [x: string]: unknown;
143
- }>>;
144
- };
145
- beliefs: {
146
- create(input: BeliefsCompatCreateInput): Promise<GatewayDataEnvelope<{
147
- [x: string]: unknown;
148
- } & {
149
- id?: string;
150
- beliefId?: string;
151
- nodeId?: string;
152
- }>>;
153
- get(nodeId: string): Promise<GatewayDataEnvelope<{
154
- [x: string]: unknown;
155
- } & {
156
- id?: string;
157
- beliefId?: string;
158
- nodeId?: string;
159
- }>>;
160
- refine(nodeId: string, textOrInput: string | {
161
- text: string;
162
- rationale?: string;
163
- }, rationale?: string): Promise<GatewayDataEnvelope<{
164
- [x: string]: unknown;
165
- } & {
166
- id?: string;
167
- beliefId?: string;
168
- nodeId?: string;
169
- }>>;
170
- updateConfidence(nodeId: string, input: BeliefsCompatUpdateConfidenceInput): Promise<GatewayDataEnvelope<{
171
- [x: string]: unknown;
172
- }>>;
173
- modulateConfidence(nodeId: string, input: BeliefsCompatUpdateConfidenceInput): Promise<GatewayDataEnvelope<{
174
- [x: string]: unknown;
175
- }>>;
176
- updateStatus(input: Parameters<(input: {
177
- id?: string;
178
- nodeId?: string;
179
- beliefId?: string;
180
- status: "active" | "superseded" | "archived";
181
- reason?: string;
182
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
183
- [x: string]: unknown;
184
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
185
- [x: string]: unknown;
186
- }>>;
187
- updateRationale(input: Parameters<(input: {
188
- id?: string;
189
- nodeId?: string;
190
- beliefId?: string;
191
- rationale?: string;
192
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
193
- [x: string]: unknown;
194
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
195
- [x: string]: unknown;
196
- }>>;
197
- linkBeliefs(input: Parameters<(input: {
198
- fromNodeId: string;
199
- toNodeId: string;
200
- edgeType: string;
201
- weight?: number;
202
- context?: string;
203
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
204
- [x: string]: unknown;
205
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
206
- [x: string]: unknown;
207
- }>>;
208
- unlinkEvidence(input: Parameters<(input: {
209
- beliefNodeId?: string;
210
- beliefId?: string;
211
- insightId?: string;
212
- evidenceId?: string;
213
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
214
- [x: string]: unknown;
215
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
216
- [x: string]: unknown;
217
- }>>;
218
- updateCriticality(input: Parameters<(input: {
219
- id?: string;
220
- nodeId?: string;
221
- beliefId?: string;
222
- criticality: string;
223
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
224
- [x: string]: unknown;
225
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
226
- [x: string]: unknown;
227
- }>>;
228
- batchUpdateCriticality(input: Parameters<(input: {
229
- updates: {
230
- [x: string]: unknown;
231
- }[];
232
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
233
- [x: string]: unknown;
234
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
235
- [x: string]: unknown;
236
- }>>;
237
- reassignTopic(input: Parameters<(input: {
238
- beliefNodeIds?: string[];
239
- beliefIds?: string[];
240
- targetTopicId: string;
241
- reason?: string;
242
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
243
- [x: string]: unknown;
244
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
245
- [x: string]: unknown;
246
- }>>;
247
- fork(nodeId: string, input: BeliefsCompatForkInput): Promise<GatewayDataEnvelope<{
248
- [x: string]: unknown;
249
- } & {
250
- id?: string;
251
- beliefId?: string;
252
- nodeId?: string;
253
- }>>;
254
- archive(nodeId: string, input?: string | {
255
- reason?: string;
256
- rationale?: string;
257
- }): Promise<GatewayDataEnvelope<{
258
- [x: string]: unknown;
259
- }>>;
260
- list(args: {
261
- topicId?: string;
262
- worktreeId?: string;
263
- status?: string;
264
- minConfidence?: number;
265
- limit?: number;
266
- cursor?: string;
267
- }): Promise<GatewayDataEnvelope<{
268
- [x: string]: unknown;
269
- } & {
270
- cursor?: string;
271
- total?: number;
272
- } & {
273
- beliefs?: ({
274
- [x: string]: unknown;
275
- } & {
276
- id?: string;
277
- beliefId?: string;
278
- nodeId?: string;
279
- })[];
280
- }>>;
281
- search: (args: {
282
- query: string;
283
- topicId?: string;
284
- status?: string;
285
- minConfidence?: number;
286
- limit?: number;
287
- }) => Promise<{
288
- results: Record<string, unknown>[];
289
- }>;
290
- lineage(nodeId: string): Promise<GatewayDataEnvelope<{
291
- [x: string]: unknown;
292
- } & {
293
- beliefId?: string;
294
- lineage?: {
295
- [x: string]: unknown;
296
- }[];
297
- }>>;
298
- confidenceHistory(nodeId: string): Promise<GatewayDataEnvelope<{
299
- [x: string]: unknown;
300
- }>>;
301
- createContract(nodeId: string, input: Parameters<(id: string, input: {
302
- [x: string]: unknown;
303
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
304
- [x: string]: unknown;
305
- }>>>[1]): Promise<GatewayDataEnvelope<{
306
- [x: string]: unknown;
307
- }>>;
308
- bisect(nodeId: string, input: Parameters<(id: string, input: {
309
- expectedDirection: "overconfident" | "underconfident";
310
- timeRange?: {
311
- start: number;
312
- end: number;
313
- };
314
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
315
- [x: string]: unknown;
316
- }>>>[1]): Promise<GatewayDataEnvelope<{
317
- [x: string]: unknown;
318
- }>>;
319
- };
320
- webhooks: {
321
- create(input: Parameters<(input: {
322
- [x: string]: unknown;
323
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
324
- [x: string]: unknown;
325
- }>>>[0]): Promise<GatewayDataEnvelope<{
326
- [x: string]: unknown;
327
- }>>;
328
- list(query?: Parameters<(query?: {
329
- topicId?: string;
330
- }) => Promise<PlatformGatewaySuccess<{
331
- [x: string]: unknown;
332
- } & {
333
- cursor?: string;
334
- total?: number;
335
- } & {
336
- webhooks?: {
337
- [x: string]: unknown;
338
- }[];
339
- }>>>[0]): Promise<GatewayDataEnvelope<{
340
- [x: string]: unknown;
341
- } & {
342
- cursor?: string;
343
- total?: number;
344
- } & {
345
- webhooks?: {
346
- [x: string]: unknown;
347
- }[];
348
- }>>;
349
- get(id: string): Promise<GatewayDataEnvelope<{
350
- [x: string]: unknown;
351
- }>>;
352
- update(id: string, input: Parameters<(id: string, input: {
353
- [x: string]: unknown;
354
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
355
- [x: string]: unknown;
356
- }>>>[1]): Promise<GatewayDataEnvelope<{
357
- [x: string]: unknown;
358
- }>>;
359
- delete(id: string): Promise<GatewayDataEnvelope<{
360
- [x: string]: unknown;
361
- }>>;
362
- test(id: string, input?: Parameters<(id: string, input?: {
363
- topicId?: string;
364
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
365
- [x: string]: unknown;
366
- }>>>[1]): Promise<GatewayDataEnvelope<{
367
- [x: string]: unknown;
368
- }>>;
369
- deliveries(id: string, query?: Parameters<(id: string, query?: {
370
- limit?: number;
371
- }) => Promise<PlatformGatewaySuccess<{
372
- [x: string]: unknown;
373
- }>>>[1]): Promise<GatewayDataEnvelope<{
374
- [x: string]: unknown;
375
- }>>;
376
- health(id: string): Promise<GatewayDataEnvelope<{
377
- [x: string]: unknown;
378
- }>>;
379
- };
380
- edges: {
381
- create(args: {
382
- sourceId: string;
383
- targetId: string;
384
- edgeType: string;
385
- topicId?: string;
386
- confidence?: number;
387
- weight?: number;
388
- context?: string;
389
- reasoning?: string;
390
- }): Promise<GatewayDataEnvelope<{
391
- [x: string]: unknown;
392
- }>>;
393
- update(input: Parameters<(input: {
394
- edgeId: string;
395
- weight?: number;
396
- confidence?: number;
397
- context?: string;
398
- derivationType?: string;
399
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
400
- [x: string]: unknown;
401
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
402
- [x: string]: unknown;
403
- }>>;
404
- remove(input: Parameters<(input: {
405
- edgeId: string;
406
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
407
- [x: string]: unknown;
408
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
409
- [x: string]: unknown;
410
- }>>;
411
- removeBetween(input: Parameters<(input: {
412
- fromNodeId: string;
413
- toNodeId: string;
414
- edgeType?: string;
415
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
416
- [x: string]: unknown;
417
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
418
- [x: string]: unknown;
419
- }>>;
420
- batchCreate(input: Parameters<(input: {
421
- edges: {
422
- [x: string]: unknown;
423
- }[];
424
- skipLayerValidation?: boolean;
425
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
426
- [x: string]: unknown;
427
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
428
- [x: string]: unknown;
429
- }>>;
430
- delete(input: Parameters<(input: {
431
- edgeIds: string[];
432
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
433
- [x: string]: unknown;
434
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
435
- [x: string]: unknown;
436
- }>>;
437
- list(args: {
438
- sourceId: string;
439
- edgeType?: string;
440
- limit?: number;
441
- cursor?: string;
442
- }): Promise<GatewayDataEnvelope<{
443
- [x: string]: unknown;
444
- } & {
445
- cursor?: string;
446
- total?: number;
447
- }>>;
448
- traverse(args: {
449
- startNode: string;
450
- direction?: string;
451
- maxDepth?: number;
452
- topicId?: string;
453
- }): Promise<GatewayDataEnvelope<{
454
- [x: string]: unknown;
455
- }>>;
456
- };
457
- evidence: {
458
- create(args: {
459
- text?: string;
460
- canonicalText?: string;
461
- topicId?: string;
462
- source?: string;
463
- sourceUrl?: string;
464
- targetId?: string;
465
- weight?: number;
466
- metadata?: JsonObject;
467
- title?: string;
468
- content?: string;
469
- contentType?: string;
470
- kind?: string;
471
- supports?: {
472
- nodeId: string;
473
- weight: number;
474
- reasoning?: string;
475
- };
476
- }): Promise<GatewayDataEnvelope<{
477
- [x: string]: unknown;
478
- } & {
479
- id?: string;
480
- }>>;
481
- add: (args: {
482
- text?: string;
483
- canonicalText?: string;
484
- topicId?: string;
485
- source?: string;
486
- sourceUrl?: string;
487
- targetId?: string;
488
- weight?: number;
489
- metadata?: JsonObject;
490
- title?: string;
491
- content?: string;
492
- contentType?: string;
493
- kind?: string;
494
- supports?: {
495
- nodeId: string;
496
- weight: number;
497
- reasoning?: string;
498
- };
499
- }) => Promise<{
500
- [x: string]: unknown;
501
- } & {
502
- id?: string;
503
- }>;
504
- get(evidenceId: string): Promise<GatewayDataEnvelope<{
505
- [x: string]: unknown;
506
- }>>;
507
- list(args: {
508
- topicId?: string;
509
- targetId?: string;
510
- limit?: number;
511
- cursor?: string;
512
- }): Promise<GatewayDataEnvelope<{
513
- [x: string]: unknown;
514
- } & {
515
- cursor?: string;
516
- total?: number;
517
- }>>;
518
- search(args: {
519
- q?: string;
520
- query?: string;
521
- topicId?: string;
522
- targetId?: string;
523
- methodology?: string;
524
- limit?: number;
525
- cursor?: string;
526
- }): Promise<GatewayDataEnvelope<{
527
- [x: string]: unknown;
528
- } & {
529
- cursor?: string;
530
- total?: number;
531
- }>>;
532
- link(args: {
533
- evidenceId: string;
534
- targetId?: string;
535
- beliefId?: string;
536
- questionId?: string;
537
- targetType?: "belief" | "question" | string;
538
- weight?: number;
539
- rationale?: string;
540
- }): Promise<GatewayDataEnvelope<{
541
- [x: string]: unknown;
542
- } & {
543
- edgeId?: string;
544
- }>>;
545
- linkToBelief(args: {
546
- evidenceId: string;
547
- beliefId: string;
548
- weight: number;
549
- rationale?: string;
550
- }): Promise<{
551
- beliefId: string;
552
- edgeId?: string;
553
- }>;
554
- updateStatus(input: Parameters<(input: {
555
- [x: string]: unknown;
556
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
557
- [x: string]: unknown;
558
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
559
- [x: string]: unknown;
560
- }>>;
561
- update(input: Parameters<(input: {
562
- [x: string]: unknown;
563
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
564
- [x: string]: unknown;
565
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
566
- [x: string]: unknown;
567
- }>>;
568
- flagIncorrect(input: Parameters<(input: {
569
- [x: string]: unknown;
570
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
571
- [x: string]: unknown;
572
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
573
- [x: string]: unknown;
574
- }>>;
575
- remove(input: Parameters<(input: {
576
- [x: string]: unknown;
577
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
578
- [x: string]: unknown;
579
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
580
- [x: string]: unknown;
581
- }>>;
582
- updateVerificationStatus(input: Parameters<(input: {
583
- [x: string]: unknown;
584
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
585
- [x: string]: unknown;
586
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
587
- [x: string]: unknown;
588
- }>>;
589
- };
590
- questions: {
591
- create(args: {
592
- text: string;
593
- topicId?: string;
594
- priority?: string;
595
- linkedBeliefId?: string;
596
- metadata?: JsonObject;
597
- }): Promise<GatewayDataEnvelope<{
598
- [x: string]: unknown;
599
- }>>;
600
- get(questionId: string): Promise<GatewayDataEnvelope<{
601
- [x: string]: unknown;
602
- }>>;
603
- refine(questionId: string, text: string, refinementReason?: string): Promise<GatewayDataEnvelope<{
604
- [x: string]: unknown;
605
- }>>;
606
- list(args: {
607
- topicId?: string;
608
- status?: string;
609
- priority?: string;
610
- worktreeId?: string;
611
- limit?: number;
612
- cursor?: string;
613
- }): Promise<GatewayDataEnvelope<{
614
- [x: string]: unknown;
615
- } & {
616
- cursor?: string;
617
- total?: number;
618
- } & {
619
- questions?: Array<{
620
- [x: string]: unknown;
621
- } & {
622
- priority?: string;
623
- }>;
624
- }>>;
625
- updateStatus(questionId: string, status: string, rationale?: string): Promise<GatewayDataEnvelope<{
626
- [x: string]: unknown;
627
- }>>;
628
- batchCreate(input: Parameters<(input: {
629
- [x: string]: unknown;
630
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
631
- [x: string]: unknown;
632
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
633
- [x: string]: unknown;
634
- }>>;
635
- add(input: Parameters<(input: {
636
- [x: string]: unknown;
637
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
638
- [x: string]: unknown;
639
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
640
- [x: string]: unknown;
641
- }>>;
642
- updatePriority(input: Parameters<(input: {
643
- [x: string]: unknown;
644
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
645
- [x: string]: unknown;
646
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
647
- [x: string]: unknown;
648
- }>>;
649
- advanceToConviction(input: Parameters<(input: {
650
- [x: string]: unknown;
651
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
652
- [x: string]: unknown;
653
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
654
- [x: string]: unknown;
655
- }>>;
656
- updateConviction(input: Parameters<(input: {
657
- [x: string]: unknown;
658
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
659
- [x: string]: unknown;
660
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
661
- [x: string]: unknown;
662
- }>>;
663
- finalizeConviction(input: Parameters<(input: {
664
- [x: string]: unknown;
665
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
666
- [x: string]: unknown;
667
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
668
- [x: string]: unknown;
669
- }>>;
670
- update(input: Parameters<(input: {
671
- [x: string]: unknown;
672
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
673
- [x: string]: unknown;
674
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
675
- [x: string]: unknown;
676
- }>>;
677
- delete(input: Parameters<(input: {
678
- [x: string]: unknown;
679
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
680
- [x: string]: unknown;
681
- }>>>[0], idempotencyKey?: string): Promise<GatewayDataEnvelope<{
682
- [x: string]: unknown;
683
- }>>;
684
- answer(questionId: string, input: {
685
- text: string;
686
- confidence?: string;
687
- evidenceIds?: string[];
688
- rationale?: string;
689
- }): Promise<GatewayDataEnvelope<{
690
- [x: string]: unknown;
691
- }>>;
692
- archive(questionId: string, reason?: string): Promise<GatewayDataEnvelope<{
693
- [x: string]: unknown;
694
- }>>;
695
- linkEvidence(args: {
696
- evidenceId: string;
697
- questionId: string;
698
- relevance?: number;
699
- weight?: number;
700
- rationale?: string;
701
- }): Promise<{
702
- questionId: string;
703
- relevance: number | undefined;
704
- edgeId?: string;
705
- }>;
706
- getHighPriority(args: {
707
- topicId?: string;
708
- limit?: number;
709
- includeAnswered?: boolean;
710
- }): Promise<{
711
- questions: ({
712
- priority?: string;
713
- } & Record<string, unknown>)[];
714
- }>;
715
- findMissing(args: {
716
- topicId?: string;
717
- minConfidence?: number;
718
- }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
719
- };
720
- graph: {
721
- nodes: {
722
- list(query: Parameters<(query: import("./graphClient").ListNodesInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
723
- get(input: string | Parameters<(query: import("./graphClient").GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
724
- create(input: Parameters<(input: import("./graphClient").CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
725
- update(input: Parameters<(input: import("./graphClient").UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
726
- batchCreate(input: Parameters<(input: import("./graphClient").BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
727
- supersede(input: Parameters<(input: import("./graphClient").SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
728
- verify(input: Parameters<(input: import("./graphClient").VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
729
- hardDelete(input: Parameters<(input: import("./graphClient").HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
730
- };
731
- createEdge(input: Parameters<(input: import("./graphClient").CreateEdgeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphEdge>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphEdge>>;
732
- neighborhood(args: Parameters<(query: import("./graphClient").NeighborhoodInput) => Promise<PlatformGatewaySuccess<import("./types").GraphNeighborhoodResponse>>>[0]): Promise<GatewayDataEnvelope<import("./types").GraphNeighborhoodResponse>>;
733
- queryLineage: (nodeId: string, depth?: number) => Promise<{
734
- chain: {
735
- nodeId: {};
736
- relation: string;
737
- }[];
738
- forkTree: {
739
- nodeId: string;
740
- parentCount: number;
741
- childCount: number;
742
- children: never[];
743
- };
744
- depth: number;
745
- beliefId: string | undefined;
746
- lineage: {
747
- [x: string]: unknown;
748
- }[];
749
- }>;
750
- getConfidenceHistory: (nodeId: string) => Promise<GatewayDataEnvelope<{
751
- [x: string]: unknown;
752
- }>>;
753
- getAuditTrail: (nodeId: string, limit?: number) => Promise<{
754
- entries: {
755
- action: string;
756
- actor: string;
757
- timestamp: number;
758
- rationale: string;
759
- before: string | number | boolean | import("./types").JsonArray | JsonObject | null;
760
- after: string | number | boolean | import("./types").JsonArray | JsonObject | null;
761
- }[];
762
- }>;
763
- traverse(args: {
764
- startNode: string;
765
- direction?: string;
766
- maxDepth?: number;
767
- topicId?: string;
768
- }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
769
- analyze(args: {
770
- topicId?: string;
771
- limit?: number;
772
- metric?: string;
773
- }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
774
- bias(args: {
775
- topicId?: string;
776
- threshold?: number;
777
- limit?: number;
778
- }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
779
- gaps(args: {
780
- topicId?: string;
781
- minConfidence?: number;
782
- }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
783
- falsify(args: {
784
- topicId?: string;
785
- beliefId?: string;
786
- beliefIds?: string[];
787
- minConfidence?: number;
788
- }): Promise<GatewayDataEnvelope<{
789
- [x: string]: unknown;
790
- }>>;
791
- traceEntityImpact(args: {
792
- nodeId: string;
793
- topicId?: string;
794
- }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
795
- searchBeliefs: (args: {
796
- query: string;
797
- topicId?: string;
798
- status?: string;
799
- minConfidence?: number;
800
- limit?: number;
801
- }) => Promise<{
802
- results: Record<string, unknown>[];
803
- }>;
804
- findContradictions: (args: {
805
- topicId?: string;
806
- nodeId?: string;
807
- status?: string;
808
- }) => Promise<{
809
- contradictions: {
810
- beliefA: string;
811
- beliefB: string;
812
- description: string;
813
- severity: string;
814
- status: string;
815
- defeatType: string;
816
- }[];
817
- }>;
818
- bisectConfidence: (nodeId: string, args: {
819
- expectedDirection: "overconfident" | "underconfident";
820
- }) => Promise<GatewayDataEnvelope<{
821
- [x: string]: unknown;
822
- }>>;
823
- listBeliefs: (args: {
824
- topicId?: string;
825
- worktreeId?: string;
826
- status?: string;
827
- minConfidence?: number;
828
- limit?: number;
829
- cursor?: string;
830
- }) => Promise<({
831
- [x: string]: unknown;
832
- } & {
833
- id?: string;
834
- beliefId?: string;
835
- nodeId?: string;
836
- })[]>;
837
- detectConfirmationBias(topicId: string, threshold?: number): Promise<{
838
- topicId: string;
839
- threshold: number;
840
- success: true;
841
- data: Record<string, unknown>;
842
- correlationId: string;
843
- policyTraceId: string | null;
844
- idempotentReplay: boolean;
845
- }>;
846
- getStructureAnalysis(topicId: string): Promise<{
847
- topicId: string;
848
- success: true;
849
- data: Record<string, unknown>;
850
- correlationId: string;
851
- policyTraceId: string | null;
852
- idempotentReplay: boolean;
853
- }>;
854
- getFalsificationQuestions(topicId: string, beliefIds?: string[]): Promise<{
855
- topicId: string;
856
- questions: unknown;
857
- }>;
858
- };
859
- judgments: {
860
- create(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentResponse>>;
861
- record(input: RecordJudgmentInput): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentResponse>>;
862
- list(query: Parameters<(query: import("./decisionsClient").ListJudgmentsInput) => Promise<PlatformGatewaySuccess<import("./types").ListJudgmentsResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListJudgmentsResponse>>;
863
- get(judgmentId: string): Promise<PlatformGatewaySuccess<import("./types").GetJudgmentResponse>>;
864
- recordOutcome(judgmentId: string, input: Parameters<(judgmentId: string, input: import("./decisionsClient").RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>;
865
- updateOutcome(judgmentId: string, input: Parameters<(judgmentId: string, input: import("./decisionsClient").RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>;
866
- readiness(topicId: string): Promise<PlatformGatewaySuccess<import("./types").JudgmentReadinessResponse>>;
867
- calibration(topicId: string): Promise<PlatformGatewaySuccess<import("./types").JudgmentCalibrationResponse>>;
868
- pendingOutcomeReview(topicId: string): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").PendingJudgmentOutcomeRecord, "reviews">>>;
869
- transitionAuditIntegrity(args: {
870
- topicId?: string;
871
- judgmentId?: string;
872
- includePassing?: boolean;
873
- }): Promise<PlatformGatewaySuccess<import("./types").JudgmentTransitionAuditIntegrityResponse>>;
874
- };
875
- worktrees: {
876
- createBranch(input: Parameters<(input: {
877
- name: string;
878
- topicId?: string;
879
- description?: string;
880
- metadata?: JsonObject;
881
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowBranchRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").WorkflowBranchRecord>>;
882
- createLens(input: Parameters<(input: {
883
- name: string;
884
- workspaceId?: string;
885
- topicId?: string;
886
- description?: string;
887
- perspectiveType: import("./workflowClient").WorkflowLensPerspectiveType;
888
- promptTemplates?: import(".").LensPromptTemplateReference[];
889
- workflowTemplates?: import(".").LensWorkflowTemplate[];
890
- taskTemplates?: import(".").LensTaskTemplate[];
891
- filterCriteria?: JsonObject;
892
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowLensRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensRecord>>;
893
- listLenses(query: Parameters<(query: {
894
- workspaceId?: string;
895
- topicId?: string;
896
- status?: import("./workflowClient").WorkflowLensStatus;
897
- perspectiveType?: import("./workflowClient").WorkflowLensPerspectiveType;
898
- } & import("./types").TopicIdentifierInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowLensRecord, "lenses">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowLensRecord, "lenses">>>;
899
- applyLensToTopic(input: Parameters<(input: {
900
- lensId: string;
901
- topicId?: string;
902
- metadata?: JsonObject;
903
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
904
- removeLensFromTopic(input: Parameters<(input: {
905
- lensId: string;
906
- topicId?: string;
907
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
908
- create(input: AddWorktreeInput): Promise<PlatformGatewaySuccess<{
909
- [x: string]: unknown;
910
- }>>;
911
- add(input: AddWorktreeInput): Promise<PlatformGatewaySuccess<{
912
- [x: string]: unknown;
913
- }>>;
914
- list(query: Parameters<(query: {
915
- topicId?: string;
916
- branchId?: string;
917
- status?: import("./workflowClient").WorkflowWorktreeStatus;
918
- track?: string;
919
- executionBand?: number;
920
- limit?: number;
921
- } & import("./types").TopicIdentifierInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowWorktreeRecord, "worktrees">>>>[0]): Promise<PlatformGatewaySuccess<{
922
- [x: string]: unknown;
923
- } & {
924
- cursor?: string;
925
- total?: number;
926
- } & {
927
- worktrees?: {
928
- [x: string]: unknown;
929
- }[];
930
- }>>;
931
- activate(worktreeId: string): Promise<PlatformGatewaySuccess<{
932
- [x: string]: unknown;
933
- }>>;
934
- updateMetadata(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<{
935
- [x: string]: unknown;
936
- }>>;
937
- update(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<{
938
- [x: string]: unknown;
939
- }>>;
940
- updateTargets(input: Parameters<(input: import("./workflowClient").UpdateWorktreeTargetsInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>>[0]): Promise<PlatformGatewaySuccess<{
941
- [x: string]: unknown;
942
- }>>;
943
- listAll(query?: Parameters<(query?: {
944
- status?: import("./workflowClient").WorkflowWorktreeStatus;
945
- track?: string;
946
- executionBand?: number;
947
- limit?: number;
948
- }) => Promise<PlatformGatewaySuccess<import("./types").ListWorktreesResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListWorktreesResponse>>;
949
- merge(worktreeId: string, input: MergeInput): Promise<PlatformGatewaySuccess<{
950
- [x: string]: unknown;
951
- }>>;
952
- push(worktreeId: string, input: Parameters<(worktreeId: string, input: {
953
- targetContext: string;
954
- beliefIds?: string[];
955
- metadata?: JsonObject;
956
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").PushWorktreeResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").PushWorktreeResponse>>;
957
- openPullRequest(worktreeId: string, input: Parameters<(worktreeId: string, input: {
958
- summary: string;
959
- reviewers?: string[];
960
- status?: "pending_review" | "changes_requested" | "approved" | "blocked";
961
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>;
962
- pipelineSnapshot(topicId: string): Promise<PlatformGatewaySuccess<unknown>>;
963
- complete(input: Parameters<(input: {
964
- worktreeId: string;
965
- keyFindings?: string[];
966
- decisionsReached?: string[];
967
- nextSteps?: string[];
968
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
969
- [x: string]: unknown;
970
- }>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
971
- [x: string]: unknown;
972
- }>>;
973
- advancePhase(worktreeId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
974
- [x: string]: unknown;
975
- }>>;
976
- setPhase(worktreeId: string, phase: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
977
- [x: string]: unknown;
978
- }>>;
979
- patchState(input: Parameters<(input: {
980
- worktreeId: string;
981
- patch: {
982
- [x: string]: unknown;
983
- };
984
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
985
- [x: string]: unknown;
986
- }>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
987
- [x: string]: unknown;
988
- }>>;
989
- bulkCreate(input: Parameters<(input: {
990
- worktrees: unknown[];
991
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
992
- [x: string]: unknown;
993
- }>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
994
- [x: string]: unknown;
995
- }>>;
996
- };
997
- context: {
998
- listTopics(query?: Parameters<(query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
999
- compile(topicId: string, input?: Parameters<(topicId: string, input?: import("./contextTypes").CompileContextInput) => Promise<PlatformGatewaySuccess<import("./contextTypes").PublicCompiledContext>>>[1]): Promise<PlatformGatewaySuccess<import("./contextTypes").PublicCompiledContext>>;
1000
- recordScopeLearning(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1001
- discover(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1002
- analyzeTopicDensity(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1003
- applyAutoBranching(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1004
- seedBeliefLattice(input?: Parameters<(args?: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1005
- getLatticeCoverage(input?: Parameters<(args?: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1006
- matchEntityType(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<{
1007
- [x: string]: unknown;
1008
- }>>;
1009
- discoverEntityConnections(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1010
- triggerBeliefReview(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1011
- };
1012
- tasks: {
1013
- create(input: CreateTaskInput): Promise<PlatformGatewaySuccess<{
1014
- [x: string]: unknown;
1015
- }>>;
1016
- complete(taskId: string, input: CompleteTaskInput): Promise<PlatformGatewaySuccess<{
1017
- [x: string]: unknown;
1018
- }>>;
1019
- update(taskId: string, input: UpdateTaskInput): Promise<PlatformGatewaySuccess<{
1020
- [x: string]: unknown;
1021
- }>>;
1022
- list(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<{
1023
- [x: string]: unknown;
1024
- } & {
1025
- cursor?: string;
1026
- total?: number;
1027
- } & {
1028
- tasks?: {
1029
- [x: string]: unknown;
1030
- }[];
1031
- }>>;
1032
- };
1033
- topics: {
1034
- list(input?: Parameters<(query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>>[0]): Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
1035
- get(topicId: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
1036
- create(input: Parameters<(input: import("./topicsClient").TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>>[0]): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
1037
- update(topicId: string, input: Parameters<(topicId: string, input: import("./topicsClient").TopicUpdateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>>[1]): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
1038
- tree(topicId: string, query?: Parameters<(topicId: string, query?: import("./topicsClient").TopicTreeQuery) => Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
1039
- getTree(input: {
1040
- rootId: string;
1041
- maxDepth?: number;
1042
- }): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
1043
- coverage(topicId: string, query?: Parameters<(topicId: string, query?: import("./topicsClient").TopicCoverageQuery) => Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>>[1]): Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>;
1044
- remove(topicId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1045
- bulkCreate(input: Parameters<(input: import("./topicsClient").TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1046
- };
1047
- answers: {
1048
- create(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<{
1049
- [x: string]: unknown;
1050
- }>>;
1051
- get(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1052
- };
1053
- contradictions: {
1054
- flag(args: {
1055
- beliefA: string;
1056
- beliefB: string;
1057
- description: string;
1058
- topicId?: string;
1059
- severity?: string;
1060
- defeatType?: string;
1061
- }): Promise<GatewayDataEnvelope<{
1062
- [x: string]: unknown;
1063
- }>>;
1064
- list(args: {
1065
- topicId?: string;
1066
- status?: string;
1067
- limit?: number;
1068
- cursor?: string;
1069
- }): Promise<GatewayDataEnvelope<{
1070
- [x: string]: unknown;
1071
- } & {
1072
- cursor?: string;
1073
- total?: number;
1074
- } & {
1075
- contradictions?: {
1076
- [x: string]: unknown;
1077
- }[];
1078
- }>>;
1079
- get(contradictionId: string): Promise<GatewayDataEnvelope<{
1080
- [x: string]: unknown;
1081
- }>>;
1082
- find: (args: {
1083
- topicId?: string;
1084
- nodeId?: string;
1085
- status?: string;
1086
- }) => Promise<{
1087
- contradictions: {
1088
- beliefA: string;
1089
- beliefB: string;
1090
- description: string;
1091
- severity: string;
1092
- status: string;
1093
- defeatType: string;
1094
- }[];
1095
- }>;
1096
- };
1097
- ontologies: {
1098
- list(input?: {
1099
- tenantId?: string;
1100
- tier?: string;
1101
- status?: string;
1102
- }): Promise<GatewayDataEnvelope<{
1103
- ontologies: any[];
1104
- total: number;
1105
- items: any[];
1106
- definitions: any[];
1107
- }>>;
1108
- get(ontologyId: string): Promise<GatewayDataEnvelope<{
1109
- [x: string]: unknown;
1110
- }>>;
1111
- bind(input: Parameters<(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
1112
- [x: string]: unknown;
1113
- }>>>[0], idempotencyKey?: Parameters<(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
1114
- [x: string]: unknown;
1115
- }>>>[1]): Promise<GatewayDataEnvelope<{
1116
- [x: string]: unknown;
1117
- }>>;
1118
- match(input: Parameters<(input: {
1119
- [x: string]: unknown;
1120
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
1121
- [x: string]: unknown;
1122
- }>>>[0], idempotencyKey?: Parameters<(input: {
1123
- [x: string]: unknown;
1124
- }, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<{
1125
- [x: string]: unknown;
1126
- }>>>[1]): Promise<GatewayDataEnvelope<{
1127
- [x: string]: unknown;
1128
- }>>;
1129
- create(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
1130
- update(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
1131
- archive(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
1132
- createVersion(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
1133
- publishVersion(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1134
- deprecateVersion(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1135
- resolveEffective(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1136
- raw: {
1137
- list(filters?: import("./coreClient").GatewayScope & {
1138
- tenantId?: string;
1139
- tier?: string;
1140
- status?: string;
1141
- }): Promise<PlatformGatewaySuccess<{
1142
- ontologies: any[];
1143
- total: number;
1144
- items: any[];
1145
- definitions: any[];
1146
- }>>;
1147
- get(id: string): Promise<PlatformGatewaySuccess<unknown>>;
1148
- bind(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1149
- listDefinitions(filters?: import("./coreClient").GatewayScope & {
1150
- tenantId?: string;
1151
- tier?: string;
1152
- status?: string;
1153
- }): Promise<PlatformGatewaySuccess<{
1154
- ontologies: any[];
1155
- total: number;
1156
- items: any[];
1157
- definitions: any[];
1158
- }>>;
1159
- getDefinition(id: string): Promise<PlatformGatewaySuccess<unknown>>;
1160
- createDefinition(input: import("./ontologyClient").OntologyDefinitionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1161
- updateDefinition(id: string, input: import("./ontologyClient").OntologyDefinitionUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1162
- archiveDefinition(id: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1163
- listVersions(ontologyId: string, filters?: import("./coreClient").GatewayScope & {
1164
- status?: string;
1165
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "versions">>>;
1166
- createVersion(ontologyId: string, input: import("./ontologyClient").OntologyVersionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1167
- publishVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1168
- deprecateVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1169
- listTopics(ontologyId: string): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "topics">>>;
1170
- listTopicsByOntology(ontologyId: string): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "topics">>>;
1171
- };
1172
- };
1173
- coordination: {
1174
- registerSession(input?: Parameters<(args?: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1175
- heartbeatSession(input?: Parameters<(args?: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1176
- endSession(input?: Parameters<(args?: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1177
- listActiveSessions(input?: Parameters<(args?: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1178
- sendAgentMessage(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1179
- broadcastMessage(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1180
- getInbox(input?: Parameters<(args?: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1181
- claimFiles(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1182
- };
1183
- policy: {
1184
- checkPermission(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<import("./policyClient").PermissionDecision>>;
1185
- listAccessibleTopics(input?: Parameters<(query?: import("./coreClient").GatewayScope & {
1186
- permission?: import("./policyClient").PermissionKind;
1187
- includeShared?: boolean;
1188
- principal?: string;
1189
- principalId?: string;
1190
- limit?: number;
1191
- }) => Promise<{
1192
- data: {
1193
- permission: import("./policyClient").PermissionKind;
1194
- topics: {
1195
- [key: string]: unknown;
1196
- topicId?: string;
1197
- name?: string;
1198
- type?: string;
1199
- isOwner?: boolean;
1200
- }[];
1201
- total: number;
1202
- deniedTopics: {
1203
- topicId: string;
1204
- reasonCode: string;
1205
- }[];
1206
- };
1207
- success: true;
1208
- correlationId: string;
1209
- policyTraceId: string | null;
1210
- idempotentReplay: boolean;
1211
- }>>[0]): Promise<{
1212
- data: {
1213
- permission: import("./policyClient").PermissionKind;
1214
- topics: {
1215
- [key: string]: unknown;
1216
- topicId?: string;
1217
- name?: string;
1218
- type?: string;
1219
- isOwner?: boolean;
1220
- }[];
1221
- total: number;
1222
- deniedTopics: {
1223
- topicId: string;
1224
- reasonCode: string;
1225
- }[];
1226
- };
1227
- success: true;
1228
- correlationId: string;
1229
- policyTraceId: string | null;
1230
- idempotentReplay: boolean;
1231
- }>;
1232
- filterByPermission(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<{
1233
- success: boolean;
1234
- data: {
1235
- permission: import("./policyClient").PermissionKind;
1236
- allowedTopicIds: string[];
1237
- deniedTopics: {
1238
- topicId: string;
1239
- reasonCode: string;
1240
- }[];
1241
- count: number;
1242
- };
1243
- }>;
1244
- manageWritePolicy(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1245
- raw: {
1246
- listDecisions(query?: import("./coreClient").GatewayScope & {
1247
- action?: string;
1248
- decision?: string;
1249
- traceId?: string;
1250
- principalId?: string;
1251
- topicId?: string;
1252
- limit?: number;
1253
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "decisions">>>;
1254
- grant(input: import("./coreClient").GatewayScope & {
1255
- topicId: string;
1256
- permission: import("./policyClient").PermissionKind;
1257
- principal?: string;
1258
- principalId?: string;
1259
- groupId?: string;
1260
- beliefClusterId?: string;
1261
- expiresAt?: number;
1262
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1263
- revoke(input: import("./coreClient").GatewayScope & {
1264
- topicId: string;
1265
- principal?: string;
1266
- principalId?: string;
1267
- groupId?: string;
1268
- beliefClusterId?: string;
1269
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1270
- listWritePolicies(query?: import("./coreClient").GatewayScope & {
1271
- topicId?: string;
1272
- role?: string;
1273
- toolCategory?: string;
1274
- enabled?: boolean;
1275
- }): Promise<{
1276
- data: {
1277
- policies: import("./policyClient").WritePolicyRecord[];
1278
- };
1279
- success: true;
1280
- correlationId: string;
1281
- policyTraceId: string | null;
1282
- idempotentReplay: boolean;
1283
- }>;
1284
- createWritePolicy(input: import("./policyClient").WritePolicyCreateInput, idempotencyKey?: string): Promise<{
1285
- data: {
1286
- id: string | undefined;
1287
- created: boolean;
1288
- policy: import("./policyClient").WritePolicyRecord | null;
1289
- };
1290
- success: true;
1291
- correlationId: string;
1292
- policyTraceId: string | null;
1293
- idempotentReplay: boolean;
1294
- }>;
1295
- updateWritePolicy(id: string, input: import("./policyClient").WritePolicyUpdateInput, idempotencyKey?: string): Promise<{
1296
- data: {
1297
- id: string | undefined;
1298
- updated: boolean;
1299
- policy: import("./policyClient").WritePolicyRecord | null;
1300
- };
1301
- success: true;
1302
- correlationId: string;
1303
- policyTraceId: string | null;
1304
- idempotentReplay: boolean;
1305
- }>;
1306
- deleteWritePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
1307
- id?: string;
1308
- deleted?: boolean;
1309
- }>>;
1310
- listRolePolicies(query?: import("./coreClient").GatewayScope): Promise<{
1311
- data: {
1312
- policies: import("./policyClient").TenantPolicyRecord[];
1313
- };
1314
- success: true;
1315
- correlationId: string;
1316
- policyTraceId: string | null;
1317
- idempotentReplay: boolean;
1318
- }>;
1319
- createRolePolicy(input: import("./coreClient").GatewayScope & {
1320
- roleName: string;
1321
- description?: string;
1322
- permissions: import("./policyClient").TenantPolicyPermission[];
1323
- groupBindings?: string[];
1324
- }, idempotencyKey?: string): Promise<{
1325
- data: {
1326
- policy: import("./policyClient").TenantPolicyRecord | null;
1327
- };
1328
- success: true;
1329
- correlationId: string;
1330
- policyTraceId: string | null;
1331
- idempotentReplay: boolean;
1332
- }>;
1333
- updateRolePolicy(id: string, input: import("./coreClient").GatewayScope & {
1334
- roleName: string;
1335
- description?: string;
1336
- permissions: import("./policyClient").TenantPolicyPermission[];
1337
- groupBindings?: string[];
1338
- }, idempotencyKey?: string): Promise<{
1339
- data: {
1340
- policy: import("./policyClient").TenantPolicyRecord | null;
1341
- };
1342
- success: true;
1343
- correlationId: string;
1344
- policyTraceId: string | null;
1345
- idempotentReplay: boolean;
1346
- }>;
1347
- deleteRolePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1348
- checkPermission(query: import("./coreClient").GatewayScope & {
1349
- topicId?: string;
1350
- permission?: import("./policyClient").PermissionKind;
1351
- principal?: string;
1352
- principalId?: string;
1353
- beliefClusterId?: string;
1354
- }): Promise<PlatformGatewaySuccess<import("./policyClient").PermissionDecision>>;
1355
- listAccessibleTopics(query?: import("./coreClient").GatewayScope & {
1356
- permission?: import("./policyClient").PermissionKind;
1357
- includeShared?: boolean;
1358
- principal?: string;
1359
- principalId?: string;
1360
- limit?: number;
1361
- }): Promise<{
1362
- data: {
1363
- permission: import("./policyClient").PermissionKind;
1364
- topics: {
1365
- [key: string]: unknown;
1366
- topicId?: string;
1367
- name?: string;
1368
- type?: string;
1369
- isOwner?: boolean;
1370
- }[];
1371
- total: number;
1372
- deniedTopics: {
1373
- topicId: string;
1374
- reasonCode: string;
1375
- }[];
1376
- };
1377
- success: true;
1378
- correlationId: string;
1379
- policyTraceId: string | null;
1380
- idempotentReplay: boolean;
1381
- }>;
1382
- filterByPermission(input: import("./coreClient").GatewayScope & {
1383
- topicIds?: string[];
1384
- permission?: import("./policyClient").PermissionKind;
1385
- principal?: string;
1386
- principalId?: string;
1387
- }): Promise<{
1388
- success: boolean;
1389
- data: {
1390
- permission: import("./policyClient").PermissionKind;
1391
- allowedTopicIds: string[];
1392
- deniedTopics: {
1393
- topicId: string;
1394
- reasonCode: string;
1395
- }[];
1396
- count: number;
1397
- };
1398
- }>;
1399
- };
1400
- };
1401
- observations: {
1402
- ingest(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1403
- getContext(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1404
- };
1405
- coding: {
1406
- getCodeContext(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1407
- getChangeHistory(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1408
- recordAttempt(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1409
- getFailureLog(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1410
- };
1411
- contracts: {
1412
- create(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1413
- list(input?: {
1414
- beliefNodeId?: string;
1415
- contractId?: string;
1416
- status?: string;
1417
- }): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1418
- evaluate(input: Parameters<(args: JsonObject, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1419
- getStatus(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<GatewayDataEnvelope<Record<string, unknown>>>;
1420
- };
1421
- bootstrap: {
1422
- generateSessionHandoff(input: Parameters<(args: JsonObject) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1423
- };
1424
- research: {
1425
- searchSources(args: {
1426
- query: string;
1427
- topicId?: string;
1428
- sources?: string[];
1429
- }): Promise<{
1430
- results: {
1431
- title: string;
1432
- url: string;
1433
- snippet: string;
1434
- relevanceScore: number;
1435
- suggestedEvidence: string;
1436
- }[];
1437
- }>;
1438
- executeDeepResearch(args: {
1439
- query: string;
1440
- topicId?: string;
1441
- depth?: "quick" | "standard" | "deep";
1442
- }): Promise<{
1443
- report: {
1444
- summary: string;
1445
- findings: {
1446
- title: string;
1447
- summary: string;
1448
- sourceUrl: string;
1449
- }[];
1450
- sources: {
1451
- title: string;
1452
- url: string;
1453
- }[];
1454
- linkedEvidence: never[];
1455
- linkedQuestions: never[];
1456
- };
1457
- }>;
1458
- };
1459
- tools: {
1460
- register(registration: CustomToolRegistration): import("./customTools").RegisteredCustomTool;
1461
- unregister(fullName: string): boolean;
1462
- list(): import("./customTools").RegisteredCustomTool[];
1463
- clear(): void;
1464
- invoke(name: string, input?: CustomToolInput): Promise<unknown>;
1465
- namespace(namespace: string): CustomToolNamespace;
1466
- };
1467
- packs: {
1468
- /**
1469
- * Ensure the configured packKey is installed.
1470
- * No-op if no packKey was provided or if the pack is already installed.
1471
- * Called automatically on first API use when packKey is set.
1472
- */
1473
- ensurePack: () => Promise<void>;
1474
- /**
1475
- * Check if the configured pack has been installed in this session.
1476
- */
1477
- readonly isInstalled: boolean;
1478
- listCatalog(): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
1479
- catalog(): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
1480
- listStates(scope?: Parameters<(query?: import("./coreClient").GatewayScope) => Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
1481
- states(scope?: Parameters<(query?: import("./coreClient").GatewayScope) => Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
1482
- install(input: Parameters<(input: import("./packsClient").PackInstallInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1483
- enable(input: Parameters<(input: import("./packsClient").PackEnableInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1484
- disable(input: Parameters<(input: import("./packsClient").PackDisableInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<unknown>>>[0]): Promise<PlatformGatewaySuccess<unknown>>;
1485
- };
1486
- nodes: {
1487
- list(query: Parameters<(query: import("./graphClient").ListNodesInput) => Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>>[0]): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
1488
- get(input: string | Parameters<(query: import("./graphClient").GetNodeInput) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0]): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1489
- create(input: Parameters<(input: import("./graphClient").CreateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1490
- update(input: Parameters<(input: import("./graphClient").UpdateNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<PlatformGraphNode>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1491
- batchCreate(input: Parameters<(input: import("./graphClient").BatchCreateNodesInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1492
- supersede(input: Parameters<(input: import("./graphClient").SupersedeNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1493
- verify(input: Parameters<(input: import("./graphClient").VerifyNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1494
- hardDelete(input: Parameters<(input: import("./graphClient").HardDeleteNodeInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>>[0], idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1495
- };
1496
- identity: {
1497
- whoami(): Promise<PlatformGatewaySuccess<{
1498
- principalId: string;
1499
- principalType: "user" | "human" | "service" | "group" | "external_viewer" | "agent";
1500
- tenantId: string | null;
1501
- workspaceId: string | null;
1502
- scopes: string[];
1503
- roles: string[];
1504
- isPlatformAdmin: boolean;
1505
- isTenantAdmin: boolean;
1506
- isWorkspaceAdmin: boolean;
1507
- authMode: string | undefined;
1508
- sessionId: string | undefined;
1509
- delegatedBy: string | undefined;
1510
- expiresAt: number | undefined;
1511
- }> & {
1512
- principalId: string;
1513
- principalType: "user" | "human" | "service" | "group" | "external_viewer" | "agent";
1514
- tenantId: string | null;
1515
- workspaceId: string | null;
1516
- scopes: string[];
1517
- roles: string[];
1518
- isPlatformAdmin: boolean;
1519
- isTenantAdmin: boolean;
1520
- isWorkspaceAdmin: boolean;
1521
- authMode: string | undefined;
1522
- sessionId: string | undefined;
1523
- delegatedBy: string | undefined;
1524
- expiresAt: number | undefined;
1525
- }>;
1526
- };
1527
- custom: CustomToolNamespace;
1528
- extensions: Record<string, CustomToolNamespace>;
1529
- raw: {
1530
- beliefs: {
1531
- createBelief(input: import("./beliefsClient").CreateBeliefInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").PlatformBeliefRecord>>;
1532
- modulateConfidence(beliefId: string, input: import("./beliefsClient").ModulateConfidenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").ModulateConfidenceResponse>>;
1533
- forkBelief(beliefId: string, input: import("./beliefsClient").ForkBeliefInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").ForkBeliefResponse>>;
1534
- updateBeliefStatus(input: import("./beliefsClient").UpdateBeliefStatusInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1535
- updateBeliefRationale(input: import("./beliefsClient").UpdateBeliefRationaleInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1536
- linkBeliefs(input: import("./beliefsClient").LinkBeliefsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1537
- unlinkBeliefEvidence(input: import("./beliefsClient").UnlinkBeliefEvidenceInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1538
- updateBeliefCriticality(input: import("./beliefsClient").UpdateBeliefCriticalityInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1539
- batchUpdateBeliefCriticality(input: import("./beliefsClient").BatchUpdateBeliefCriticalityInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1540
- reassignBeliefsTopic(input: import("./beliefsClient").ReassignBeliefsTopicInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1541
- };
1542
- graph: {
1543
- listNodes(query: import("./graphClient").ListNodesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
1544
- queryNodes(query: import("./graphClient").QueryNodesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphNode, "nodes">>>;
1545
- getNode(query: import("./graphClient").GetNodeInput): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1546
- createNode(input: import("./graphClient").CreateNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1547
- updateNode(input: import("./graphClient").UpdateNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphNode>>;
1548
- batchCreateNodes(input: import("./graphClient").BatchCreateNodesInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1549
- supersedeNode(input: import("./graphClient").SupersedeNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1550
- verifyNode(input: import("./graphClient").VerifyNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1551
- hardDeleteNode(input: import("./graphClient").HardDeleteNodeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1552
- listEdges(query: import("./graphClient").ListEdgesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphEdge, "edges">>>;
1553
- queryEdges(query: import("./graphClient").QueryEdgesInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<PlatformGraphEdge, "edges">>>;
1554
- createEdge(input: import("./graphClient").CreateEdgeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<PlatformGraphEdge>>;
1555
- deleteEdge(query: import("./graphClient").DeleteEdgeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").DeleteEdgeResponse>>;
1556
- neighborhood(query: import("./graphClient").NeighborhoodInput): Promise<PlatformGatewaySuccess<import("./types").GraphNeighborhoodResponse>>;
1557
- traverse(query: import("./graphClient").TraverseInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1558
- analyze(query?: import("./graphClient").AnalyzeInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1559
- bias(query?: import("./graphClient").BiasInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1560
- gaps(query: import("./graphClient").GapsInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1561
- search(query: import("./graphClient").SearchInput): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1562
- getNeighborhood(query: import("./graphClient").NeighborhoodInput): Promise<PlatformGatewaySuccess<import("./types").GraphNeighborhoodResponse>>;
1563
- getPath(query: import("./graphClient").PathInput): Promise<PlatformGatewaySuccess<import("./types").GraphPathResponse>>;
1564
- getAnalytics(query?: import("./graphClient").AnalyticsInput): Promise<PlatformGatewaySuccess<import("./types").GraphAnalyticsResponse>>;
1565
- };
1566
- decisions: {
1567
- listJudgments(query: import("./decisionsClient").ListJudgmentsInput): Promise<PlatformGatewaySuccess<import("./types").ListJudgmentsResponse>>;
1568
- getJudgment(judgmentId: string): Promise<PlatformGatewaySuccess<import("./types").GetJudgmentResponse>>;
1569
- getJudgmentReadiness(query: {
1570
- topicId?: string;
1571
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").JudgmentReadinessResponse>>;
1572
- getJudgmentCalibration(query: import("./decisionsClient").GetJudgmentCalibrationInput): Promise<PlatformGatewaySuccess<import("./types").JudgmentCalibrationResponse>>;
1573
- listPendingOutcomeReviews(query: import("./decisionsClient").ListPendingJudgmentOutcomeReviewInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").PendingJudgmentOutcomeRecord, "reviews">>>;
1574
- listPendingJudgmentOutcomeReview(query: import("./decisionsClient").ListPendingJudgmentOutcomeReviewInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").PendingJudgmentOutcomeRecord, "reviews">>>;
1575
- getJudgmentTransitionAuditIntegrity(query: import("./decisionsClient").GetJudgmentTransitionAuditIntegrityInput): Promise<PlatformGatewaySuccess<import("./types").JudgmentTransitionAuditIntegrityResponse>>;
1576
- createJudgment(input: RecordJudgmentInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentResponse>>;
1577
- recordJudgment(input: RecordJudgmentInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentResponse>>;
1578
- updateJudgmentOutcome(judgmentId: string, input: import("./decisionsClient").RecordJudgmentOutcomeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>;
1579
- recordJudgmentOutcome(judgmentId: string, input: import("./decisionsClient").RecordJudgmentOutcomeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>;
1580
- };
1581
- workflow: {
1582
- listBranches(query: {
1583
- topicId?: string;
1584
- status?: import("./workflowClient").WorkflowBranchStatus;
1585
- limit?: number;
1586
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowBranchRecord, "branches">>>;
1587
- createBranch(input: {
1588
- name: string;
1589
- topicId?: string;
1590
- description?: string;
1591
- metadata?: JsonObject;
1592
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowBranchRecord>>;
1593
- listLenses(query: {
1594
- workspaceId?: string;
1595
- topicId?: string;
1596
- status?: import("./workflowClient").WorkflowLensStatus;
1597
- perspectiveType?: import("./workflowClient").WorkflowLensPerspectiveType;
1598
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowLensRecord, "lenses">>>;
1599
- createLens(input: {
1600
- name: string;
1601
- workspaceId?: string;
1602
- topicId?: string;
1603
- description?: string;
1604
- perspectiveType: import("./workflowClient").WorkflowLensPerspectiveType;
1605
- promptTemplates?: import(".").LensPromptTemplateReference[];
1606
- workflowTemplates?: import(".").LensWorkflowTemplate[];
1607
- taskTemplates?: import(".").LensTaskTemplate[];
1608
- filterCriteria?: JsonObject;
1609
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensRecord>>;
1610
- applyLensToTopic(input: {
1611
- lensId: string;
1612
- topicId?: string;
1613
- metadata?: JsonObject;
1614
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
1615
- removeLensFromTopic(input: {
1616
- lensId: string;
1617
- topicId?: string;
1618
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
1619
- listWorktrees(query: {
1620
- topicId?: string;
1621
- branchId?: string;
1622
- status?: import("./workflowClient").WorkflowWorktreeStatus;
1623
- track?: string;
1624
- executionBand?: number;
1625
- limit?: number;
1626
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowWorktreeRecord, "worktrees">>>;
1627
- listAllWorktrees(query?: {
1628
- status?: import("./workflowClient").WorkflowWorktreeStatus;
1629
- track?: string;
1630
- executionBand?: number;
1631
- limit?: number;
1632
- }): Promise<PlatformGatewaySuccess<import("./types").ListWorktreesResponse>>;
1633
- createWorktree(input: AddWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
1634
- addWorktree(input: AddWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
1635
- merge(worktreeId: string, input: MergeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").MergeWorktreeResponse>>;
1636
- activateWorktree(worktreeId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
1637
- updateWorktreeTargets(input: import("./workflowClient").UpdateWorktreeTargetsInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
1638
- completeWorktree(input: import("./workflowClient").CompleteWorktreeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1639
- advanceWorktreePhase(input: import("./workflowClient").AdvanceWorktreePhaseInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1640
- setWorktreePhase(input: import("./workflowClient").SetWorktreePhaseInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1641
- patchWorktreeState(input: import("./workflowClient").PatchWorktreeStateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1642
- bulkCreateWorktrees(input: import("./workflowClient").BulkCreateWorktreesInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
1643
- openPullRequest(worktreeId: string, input: {
1644
- summary: string;
1645
- reviewers?: string[];
1646
- status?: "pending_review" | "changes_requested" | "approved" | "blocked";
1647
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>;
1648
- push(worktreeId: string, input: {
1649
- targetContext: string;
1650
- beliefIds?: string[];
1651
- metadata?: JsonObject;
1652
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").PushWorktreeResponse>>;
1653
- listTopics(query?: import("./workflowClient").ListTopicsInput): Promise<PlatformGatewaySuccess<import("./types").ListTopicsResponse>>;
1654
- switchTopicContext(input: import("./workflowClient").SwitchTopicContextInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").SwitchTopicContextResponse>>;
1655
- createTask(input: CreateTaskInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").CreateTaskResponse>>;
1656
- completeTask(taskId: string, input: CompleteTaskInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").CompleteTaskResponse>>;
1657
- updateTask(taskId: string, input: UpdateTaskInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").UpdateTaskResponse>>;
1658
- createPillar(input: {
1659
- name: string;
1660
- topicId?: string;
1661
- description?: string;
1662
- metadata?: JsonObject;
1663
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowBranchRecord>>;
1664
- createSprint(input: {
1665
- title: string;
1666
- topicId?: string;
1667
- branchId?: string;
1668
- hypothesis?: string;
1669
- beliefIds?: string[];
1670
- } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
1671
- completeSprint(worktreeId: string, input: MergeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").MergeWorktreeResponse>>;
1672
- requestReview(worktreeId: string, input: {
1673
- summary: string;
1674
- reviewers?: string[];
1675
- status?: "pending_review" | "changes_requested" | "approved" | "blocked";
1676
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>;
1677
- publishFindings(worktreeId: string, input: {
1678
- targetContext: string;
1679
- beliefIds?: string[];
1680
- metadata?: JsonObject;
1681
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").PushWorktreeResponse>>;
1682
- };
1683
- audit: {
1684
- listEvents(query?: import("./coreClient").GatewayScope & {
1685
- action?: string;
1686
- decision?: string;
1687
- traceId?: string;
1688
- principalId?: string;
1689
- topicId?: string;
1690
- limit?: number;
1691
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "events">>>;
1692
- };
1693
- admin: {
1694
- listTenants(query?: {
1695
- status?: "active" | "disabled" | "archived";
1696
- limit?: number;
1697
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "tenants">>>;
1698
- createTenant(input: {
1699
- key: string;
1700
- slug?: string;
1701
- name: string;
1702
- status?: "active" | "disabled" | "archived";
1703
- metadata?: JsonObject;
1704
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1705
- getControlObjectOwnership(): Promise<PlatformGatewaySuccess<import("./controlObjectOwnership").ControlObjectOwnershipContract>>;
1706
- getControlObjectOwnershipContract(): Promise<PlatformGatewaySuccess<import("./controlObjectOwnership").ControlObjectOwnershipContract>>;
1707
- listWorkspaces(query?: import("./coreClient").GatewayScope & {
1708
- status?: "active" | "archived";
1709
- limit?: number;
1710
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "workspaces">>>;
1711
- createWorkspace(input: import("./coreClient").GatewayScope & {
1712
- workspaceId?: string;
1713
- key?: string;
1714
- slug?: string;
1715
- name?: string;
1716
- status?: "active" | "archived";
1717
- defaultProjectVisibility?: "private" | "team" | "firm" | "external" | "public";
1718
- restore?: boolean;
1719
- metadata?: JsonObject;
1720
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1721
- listMemberships(query?: import("./coreClient").GatewayScope & {
1722
- principalId?: string;
1723
- status?: "active" | "revoked" | "expired";
1724
- limit?: number;
1725
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "memberships">>>;
1726
- createMembership(input: import("./coreClient").GatewayScope & {
1727
- membershipId?: string;
1728
- principalId: string;
1729
- role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
1730
- status?: "active" | "revoked" | "expired";
1731
- source?: "bootstrap" | "manual" | "sync" | "invitation";
1732
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1733
- updateMembership(input: import("./coreClient").GatewayScope & {
1734
- membershipId?: string;
1735
- principalId: string;
1736
- role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
1737
- status?: "active" | "revoked" | "expired";
1738
- source?: "bootstrap" | "manual" | "sync" | "invitation";
1739
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1740
- upsertMembership(input: import("./coreClient").GatewayScope & {
1741
- membershipId?: string;
1742
- principalId: string;
1743
- role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
1744
- status?: "active" | "revoked" | "expired";
1745
- source?: "bootstrap" | "manual" | "sync" | "invitation";
1746
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1747
- listTenantApiKeys(scope: import("./coreClient").GatewayScope & {
1748
- status?: "active" | "revoked" | "expired";
1749
- }): Promise<{
1750
- data: {
1751
- keys: import("./adminClient").TenantApiKeyRecord[];
1752
- };
1753
- success: true;
1754
- correlationId: string;
1755
- policyTraceId: string | null;
1756
- idempotentReplay: boolean;
1757
- }>;
1758
- createTenantApiKey(input: import("./coreClient").GatewayScope & {
1759
- label?: string;
1760
- scopes: string[];
1761
- expiresAt?: number;
1762
- }, idempotencyKey?: string): Promise<{
1763
- data: {
1764
- key: import("./adminClient").TenantApiKeyRecord | null;
1765
- plaintextKey: string | undefined;
1766
- };
1767
- success: true;
1768
- correlationId: string;
1769
- policyTraceId: string | null;
1770
- idempotentReplay: boolean;
1771
- }>;
1772
- revokeTenantApiKey(keyId: string, input?: import("./coreClient").GatewayScope & {
1773
- reason?: string;
1774
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1775
- listTenantVaultSecrets(scope: import("./coreClient").GatewayScope): Promise<{
1776
- data: {
1777
- secrets: import("./adminClient").TenantVaultSecretRecord[];
1778
- };
1779
- success: true;
1780
- correlationId: string;
1781
- policyTraceId: string | null;
1782
- idempotentReplay: boolean;
1783
- }>;
1784
- createTenantVaultSecret(input: import("./coreClient").GatewayScope & {
1785
- name: string;
1786
- description?: string;
1787
- value: string;
1788
- }, idempotencyKey?: string): Promise<{
1789
- data: {
1790
- secret: import("./adminClient").TenantVaultSecretRecord | null;
1791
- };
1792
- success: true;
1793
- correlationId: string;
1794
- policyTraceId: string | null;
1795
- idempotentReplay: boolean;
1796
- }>;
1797
- updateTenantVaultSecret(secretId: string, input: import("./coreClient").GatewayScope & {
1798
- name: string;
1799
- description?: string;
1800
- value?: string;
1801
- }, idempotencyKey?: string): Promise<{
1802
- data: {
1803
- secret: import("./adminClient").TenantVaultSecretRecord | null;
1804
- };
1805
- success: true;
1806
- correlationId: string;
1807
- policyTraceId: string | null;
1808
- idempotentReplay: boolean;
1809
- }>;
1810
- deleteTenantVaultSecret(secretId: string, scope: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1811
- listTenantSecrets(scope: import("./coreClient").GatewayScope & {
1812
- providerId?: string;
1813
- status?: "active" | "revoked";
1814
- }): Promise<PlatformGatewaySuccess<unknown>>;
1815
- upsertTenantSecret(input: import("./coreClient").GatewayScope & {
1816
- providerId: string;
1817
- apiKey: string;
1818
- label?: string;
1819
- modelSlotIds?: string[];
1820
- passThroughOnly?: boolean;
1821
- metadata?: JsonObject;
1822
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1823
- revokeTenantSecret(secretRef: string, input: import("./coreClient").GatewayScope & {
1824
- reason?: string;
1825
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1826
- getTenantConfig(scope: import("./coreClient").GatewayScope & {
1827
- tenantId: string;
1828
- }): Promise<PlatformGatewaySuccess<import("./adminClient").TenantConfigRecord>>;
1829
- getTenantModelRouting(scope: import("./coreClient").GatewayScope & {
1830
- tenantId: string;
1831
- }): Promise<PlatformGatewaySuccess<import("./adminClient").TenantModelRoutingSnapshot>>;
1832
- upsertTenantConfig(input: import("./coreClient").GatewayScope & Omit<import("./adminClient").TenantConfigRecord, "updatedAt" | "updatedBy">, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./adminClient").TenantConfigRecord>>;
1833
- listGroups(scope?: import("./coreClient").GatewayScope & {
1834
- limit?: number;
1835
- }): Promise<PlatformGatewaySuccess<unknown>>;
1836
- createGroup(input: import("./coreClient").GatewayScope & {
1837
- name: string;
1838
- groupKey?: string;
1839
- groupType?: string;
1840
- description?: string;
1841
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1842
- updateGroup(groupId: string, input: import("./coreClient").GatewayScope & {
1843
- name?: string;
1844
- description?: string;
1845
- workspaceId?: string;
1846
- clearWorkspaceId?: boolean;
1847
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1848
- deleteGroup(groupId: string, input?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1849
- listGroupMembers(query: import("./coreClient").GatewayScope & {
1850
- groupId: string;
1851
- }): Promise<PlatformGatewaySuccess<unknown>>;
1852
- addGroupMember(input: import("./coreClient").GatewayScope & {
1853
- groupId: string;
1854
- principalId: string;
1855
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1856
- removeGroupMember(input: import("./coreClient").GatewayScope & {
1857
- groupId: string;
1858
- principalId: string;
1859
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1860
- listPackGroupAssignments(query?: import("./coreClient").GatewayScope & {
1861
- groupId?: string;
1862
- status?: string;
1863
- }): Promise<PlatformGatewaySuccess<unknown>>;
1864
- assignPackToGroup(input: import("./coreClient").GatewayScope & {
1865
- groupId: string;
1866
- packKey: string;
1867
- packVersion?: string;
1868
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1869
- removePackFromGroup(input: import("./coreClient").GatewayScope & {
1870
- groupId: string;
1871
- packKey: string;
1872
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1873
- };
1874
- identity: {
1875
- whoami(): Promise<PlatformGatewaySuccess<{
1876
- principalId: string;
1877
- principalType: "user" | "human" | "service" | "group" | "external_viewer" | "agent";
1878
- tenantId: string | null;
1879
- workspaceId: string | null;
1880
- scopes: string[];
1881
- roles: string[];
1882
- isPlatformAdmin: boolean;
1883
- isTenantAdmin: boolean;
1884
- isWorkspaceAdmin: boolean;
1885
- authMode: string | undefined;
1886
- sessionId: string | undefined;
1887
- delegatedBy: string | undefined;
1888
- expiresAt: number | undefined;
1889
- }>>;
1890
- listPrincipals(query?: import("./coreClient").GatewayScope & {
1891
- status?: string;
1892
- principalType?: string;
1893
- query?: string;
1894
- limit?: number;
1895
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "principals">>>;
1896
- createPrincipal(input: import("./coreClient").GatewayScope & {
1897
- principalId: string;
1898
- principalType: "user" | "group" | "service" | "external_viewer";
1899
- clerkId?: string;
1900
- email?: string;
1901
- displayName?: string;
1902
- status?: "active" | "disabled" | "revoked";
1903
- metadata?: JsonObject;
1904
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1905
- updatePrincipal(input: import("./coreClient").GatewayScope & {
1906
- principalId: string;
1907
- principalType: "user" | "group" | "service" | "external_viewer";
1908
- clerkId?: string;
1909
- email?: string;
1910
- displayName?: string;
1911
- status?: "active" | "disabled" | "revoked";
1912
- metadata?: JsonObject;
1913
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1914
- upsertPrincipal(input: import("./coreClient").GatewayScope & {
1915
- principalId: string;
1916
- principalType: "user" | "group" | "service" | "external_viewer";
1917
- clerkId?: string;
1918
- email?: string;
1919
- displayName?: string;
1920
- status?: "active" | "disabled" | "revoked";
1921
- metadata?: JsonObject;
1922
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1923
- listKeys(query?: import("./coreClient").GatewayScope & {
1924
- principalId?: string;
1925
- status?: string;
1926
- limit?: number;
1927
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "keys">>>;
1928
- createKey(input: import("./coreClient").GatewayScope & {
1929
- principalId: string;
1930
- keyId?: string;
1931
- token?: string;
1932
- scopes?: string[];
1933
- environment?: "sandbox" | "production";
1934
- expiresInDays?: number;
1935
- rateLimitTier?: "free" | "developer" | "partner";
1936
- metadata?: JsonObject;
1937
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1938
- rotateKey(keyId: string, input?: {
1939
- replacementKeyId?: string;
1940
- replacementToken?: string;
1941
- replacementExpiresInDays?: number;
1942
- gracePeriodHours?: number;
1943
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1944
- deleteKey(keyId: string, input?: {
1945
- reason?: string;
1946
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1947
- revokeKey(keyId: string, input?: {
1948
- reason?: string;
1949
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1950
- searchClerkUsers(q: string): Promise<PlatformGatewaySuccess<import("./identityClient").ClerkUserSearchResult[]>>;
1951
- };
1952
- policy: {
1953
- listDecisions(query?: import("./coreClient").GatewayScope & {
1954
- action?: string;
1955
- decision?: string;
1956
- traceId?: string;
1957
- principalId?: string;
1958
- topicId?: string;
1959
- limit?: number;
1960
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "decisions">>>;
1961
- grant(input: import("./coreClient").GatewayScope & {
1962
- topicId: string;
1963
- permission: import("./policyClient").PermissionKind;
1964
- principal?: string;
1965
- principalId?: string;
1966
- groupId?: string;
1967
- beliefClusterId?: string;
1968
- expiresAt?: number;
1969
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1970
- revoke(input: import("./coreClient").GatewayScope & {
1971
- topicId: string;
1972
- principal?: string;
1973
- principalId?: string;
1974
- groupId?: string;
1975
- beliefClusterId?: string;
1976
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
1977
- listWritePolicies(query?: import("./coreClient").GatewayScope & {
1978
- topicId?: string;
1979
- role?: string;
1980
- toolCategory?: string;
1981
- enabled?: boolean;
1982
- }): Promise<{
1983
- data: {
1984
- policies: import("./policyClient").WritePolicyRecord[];
1985
- };
1986
- success: true;
1987
- correlationId: string;
1988
- policyTraceId: string | null;
1989
- idempotentReplay: boolean;
1990
- }>;
1991
- createWritePolicy(input: import("./policyClient").WritePolicyCreateInput, idempotencyKey?: string): Promise<{
1992
- data: {
1993
- id: string | undefined;
1994
- created: boolean;
1995
- policy: import("./policyClient").WritePolicyRecord | null;
1996
- };
1997
- success: true;
1998
- correlationId: string;
1999
- policyTraceId: string | null;
2000
- idempotentReplay: boolean;
2001
- }>;
2002
- updateWritePolicy(id: string, input: import("./policyClient").WritePolicyUpdateInput, idempotencyKey?: string): Promise<{
2003
- data: {
2004
- id: string | undefined;
2005
- updated: boolean;
2006
- policy: import("./policyClient").WritePolicyRecord | null;
2007
- };
2008
- success: true;
2009
- correlationId: string;
2010
- policyTraceId: string | null;
2011
- idempotentReplay: boolean;
2012
- }>;
2013
- deleteWritePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<{
2014
- id?: string;
2015
- deleted?: boolean;
2016
- }>>;
2017
- listRolePolicies(query?: import("./coreClient").GatewayScope): Promise<{
2018
- data: {
2019
- policies: import("./policyClient").TenantPolicyRecord[];
2020
- };
2021
- success: true;
2022
- correlationId: string;
2023
- policyTraceId: string | null;
2024
- idempotentReplay: boolean;
2025
- }>;
2026
- createRolePolicy(input: import("./coreClient").GatewayScope & {
2027
- roleName: string;
2028
- description?: string;
2029
- permissions: import("./policyClient").TenantPolicyPermission[];
2030
- groupBindings?: string[];
2031
- }, idempotencyKey?: string): Promise<{
2032
- data: {
2033
- policy: import("./policyClient").TenantPolicyRecord | null;
2034
- };
2035
- success: true;
2036
- correlationId: string;
2037
- policyTraceId: string | null;
2038
- idempotentReplay: boolean;
2039
- }>;
2040
- updateRolePolicy(id: string, input: import("./coreClient").GatewayScope & {
2041
- roleName: string;
2042
- description?: string;
2043
- permissions: import("./policyClient").TenantPolicyPermission[];
2044
- groupBindings?: string[];
2045
- }, idempotencyKey?: string): Promise<{
2046
- data: {
2047
- policy: import("./policyClient").TenantPolicyRecord | null;
2048
- };
2049
- success: true;
2050
- correlationId: string;
2051
- policyTraceId: string | null;
2052
- idempotentReplay: boolean;
2053
- }>;
2054
- deleteRolePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2055
- checkPermission(query: import("./coreClient").GatewayScope & {
2056
- topicId?: string;
2057
- permission?: import("./policyClient").PermissionKind;
2058
- principal?: string;
2059
- principalId?: string;
2060
- beliefClusterId?: string;
2061
- }): Promise<PlatformGatewaySuccess<import("./policyClient").PermissionDecision>>;
2062
- listAccessibleTopics(query?: import("./coreClient").GatewayScope & {
2063
- permission?: import("./policyClient").PermissionKind;
2064
- includeShared?: boolean;
2065
- principal?: string;
2066
- principalId?: string;
2067
- limit?: number;
2068
- }): Promise<{
2069
- data: {
2070
- permission: import("./policyClient").PermissionKind;
2071
- topics: {
2072
- [key: string]: unknown;
2073
- topicId?: string;
2074
- name?: string;
2075
- type?: string;
2076
- isOwner?: boolean;
2077
- }[];
2078
- total: number;
2079
- deniedTopics: {
2080
- topicId: string;
2081
- reasonCode: string;
2082
- }[];
2083
- };
2084
- success: true;
2085
- correlationId: string;
2086
- policyTraceId: string | null;
2087
- idempotentReplay: boolean;
2088
- }>;
2089
- filterByPermission(input: import("./coreClient").GatewayScope & {
2090
- topicIds?: string[];
2091
- permission?: import("./policyClient").PermissionKind;
2092
- principal?: string;
2093
- principalId?: string;
2094
- }): Promise<{
2095
- success: boolean;
2096
- data: {
2097
- permission: import("./policyClient").PermissionKind;
2098
- allowedTopicIds: string[];
2099
- deniedTopics: {
2100
- topicId: string;
2101
- reasonCode: string;
2102
- }[];
2103
- count: number;
2104
- };
2105
- }>;
2106
- };
2107
- answers: {
2108
- get(questionId: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
2109
- };
2110
- ontology: {
2111
- list(filters?: import("./coreClient").GatewayScope & {
2112
- tenantId?: string;
2113
- tier?: string;
2114
- status?: string;
2115
- }): Promise<PlatformGatewaySuccess<{
2116
- ontologies: any[];
2117
- total: number;
2118
- items: any[];
2119
- definitions: any[];
2120
- }>>;
2121
- get(id: string): Promise<PlatformGatewaySuccess<unknown>>;
2122
- bind(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2123
- listDefinitions(filters?: import("./coreClient").GatewayScope & {
2124
- tenantId?: string;
2125
- tier?: string;
2126
- status?: string;
2127
- }): Promise<PlatformGatewaySuccess<{
2128
- ontologies: any[];
2129
- total: number;
2130
- items: any[];
2131
- definitions: any[];
2132
- }>>;
2133
- getDefinition(id: string): Promise<PlatformGatewaySuccess<unknown>>;
2134
- createDefinition(input: import("./ontologyClient").OntologyDefinitionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2135
- updateDefinition(id: string, input: import("./ontologyClient").OntologyDefinitionUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2136
- archiveDefinition(id: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2137
- listVersions(ontologyId: string, filters?: import("./coreClient").GatewayScope & {
2138
- status?: string;
2139
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "versions">>>;
2140
- createVersion(ontologyId: string, input: import("./ontologyClient").OntologyVersionInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2141
- publishVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2142
- deprecateVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2143
- listTopics(ontologyId: string): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "topics">>>;
2144
- listTopicsByOntology(ontologyId: string): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "topics">>>;
2145
- };
2146
- mcpParity: {
2147
- sessionId: `${string}-${string}-${string}-${string}-${string}`;
2148
- listTopics(args?: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2149
- createTopic(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2150
- getTopic(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2151
- getTopicTree(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2152
- activateWorktree(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2153
- updateWorktreeMetadata(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2154
- updateWorktreeTargets(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2155
- listAllWorktrees(args?: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2156
- pipelineSnapshot(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2157
- recordScopeLearning(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2158
- discover(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2159
- analyzeTopicDensity(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2160
- applyAutoBranching(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2161
- seedBeliefLattice(args?: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2162
- getLatticeCoverage(args?: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2163
- matchEntityType(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2164
- discoverEntityConnections(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2165
- triggerBeliefReview(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2166
- listOntologies(args?: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2167
- getOntology(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2168
- applyOntology(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2169
- createOntology(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2170
- updateOntology(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2171
- archiveOntology(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2172
- createOntologyVersion(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2173
- publishOntologyVersion(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2174
- deprecateOntologyVersion(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2175
- resolveEffectiveOntology(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2176
- registerSession(args?: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2177
- heartbeatSession(args?: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2178
- endSession(args?: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2179
- listActiveSessions(args?: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2180
- sendAgentMessage(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2181
- broadcastMessage(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2182
- getAgentInbox(args?: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2183
- claimFiles(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2184
- listTasks(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2185
- createAnswer(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2186
- getAnswer(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2187
- flagContradiction(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2188
- ingestObservation(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2189
- getObservationContext(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2190
- getCodeContext(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2191
- getChangeHistory(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2192
- recordAttempt(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2193
- getFailureLog(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2194
- createEpistemicContract(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2195
- evaluateContract(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2196
- getContractStatus(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2197
- checkPermission(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2198
- filterByPermission(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2199
- manageWritePolicy(args: JsonObject, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2200
- generateSessionHandoff(args: JsonObject): Promise<PlatformGatewaySuccess<unknown>>;
2201
- };
2202
- packs: {
2203
- listCatalog(): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
2204
- getCatalog(): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
2205
- getDiscoveryCatalog(): Promise<PlatformGatewaySuccess<unknown>>;
2206
- getDiscoveryDetail(packKey: string): Promise<PlatformGatewaySuccess<unknown>>;
2207
- listStates(query?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
2208
- getStates(query?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
2209
- getHealth(packKey: string, query?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2210
- listTelemetry(query?: import("./coreClient").GatewayScope & {
2211
- lookbackHours?: number;
2212
- limit?: number;
2213
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "telemetry">>>;
2214
- getTelemetry(query?: import("./coreClient").GatewayScope & {
2215
- lookbackHours?: number;
2216
- limit?: number;
2217
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "telemetry">>>;
2218
- createEntitlement(input: import("./packsClient").PackEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2219
- updateEntitlement(input: import("./packsClient").PackEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2220
- upsertEntitlement(input: import("./packsClient").PackEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2221
- install(input: import("./packsClient").PackInstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2222
- enable(input: import("./packsClient").PackEnableInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2223
- disable(input: import("./packsClient").PackDisableInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2224
- uninstall(input: import("./packsClient").PackUninstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2225
- upgrade(input: import("./packsClient").PackUpgradeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2226
- };
2227
- reports: {
2228
- listTemplates(args?: {
2229
- slug?: string;
2230
- }): Promise<PlatformGatewaySuccess<import("./types").ReportTemplatesResponse>>;
2231
- getTemplates(args?: {
2232
- slug?: string;
2233
- }): Promise<PlatformGatewaySuccess<import("./types").ReportTemplatesResponse>>;
2234
- listReports(input: import("./types").TopicIdentifierInput, args?: {
2235
- summary?: boolean;
2236
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "reports">>>;
2237
- getReport(reportId: string): Promise<PlatformGatewaySuccess<import("./types").ReportWithSectionsResponse>>;
2238
- };
2239
- learning: {
2240
- listRecentExecutions(args?: {
2241
- namespace?: string;
2242
- topicId?: string;
2243
- audienceMode?: string;
2244
- success?: boolean;
2245
- limit?: number;
2246
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "executions">>>;
2247
- getRecentExecutions(args?: {
2248
- namespace?: string;
2249
- topicId?: string;
2250
- audienceMode?: string;
2251
- success?: boolean;
2252
- limit?: number;
2253
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "executions">>>;
2254
- getExecutionStats(args?: {
2255
- namespace?: string;
2256
- topicId?: string;
2257
- audienceMode?: string;
2258
- hours?: number;
2259
- } & import("./types").TopicIdentifierInput): Promise<PlatformGatewaySuccess<unknown>>;
2260
- };
2261
- harness: {
2262
- listAgentDefinitions(scope?: import("./coreClient").GatewayScope & {
2263
- status?: string;
2264
- limit?: number;
2265
- cursor?: string;
2266
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "agents">>>;
2267
- getAgentDefinition(agentId: string, scope?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2268
- createAgentDefinition(input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2269
- registerAgentDefinition(input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2270
- updateAgentDefinition(agentId: string, input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2271
- invokeManagedAgentDefinition(agentId: string, input: Omit<import("./harnessClient").HarnessInvokeManagedAgentInput, "agentDefinitionId">, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2272
- listAgentRuns(agentId: string, scope?: import("./coreClient").GatewayScope & {
2273
- status?: string;
2274
- limit?: number;
2275
- cursor?: string;
2276
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
2277
- listRunsForAgent(agentId: string, scope?: import("./coreClient").GatewayScope & {
2278
- status?: string;
2279
- limit?: number;
2280
- cursor?: string;
2281
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
2282
- listToolDefinitions(scope?: import("./coreClient").GatewayScope & {
2283
- status?: string;
2284
- limit?: number;
2285
- cursor?: string;
2286
- gateClassification?: string;
2287
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "tools">>>;
2288
- getToolDefinition(toolId: string, scope?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2289
- createToolDefinition(input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2290
- registerToolDefinition(input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2291
- updateToolDefinition(toolId: string, input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2292
- executeToolDefinition(toolId: string, input?: import("./harnessClient").HarnessExecuteToolInput): Promise<PlatformGatewaySuccess<import("./harnessClient").HarnessExecuteToolResult>>;
2293
- listRunEntries(scope?: import("./coreClient").GatewayScope & {
2294
- status?: string;
2295
- limit?: number;
2296
- cursor?: string;
2297
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
2298
- listRunLedgerEntries(scope?: import("./coreClient").GatewayScope & {
2299
- status?: string;
2300
- limit?: number;
2301
- cursor?: string;
2302
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
2303
- startHarnessRun(input: import("./harnessClient").HarnessStartRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2304
- getRunLedgerEntry(runId: string): Promise<PlatformGatewaySuccess<unknown>>;
2305
- reportHarnessRunEvent(runId: string, input: import("./harnessClient").HarnessRunReportInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2306
- heartbeatHarnessRun(runId: string, input: {
2307
- reportingToken: string;
2308
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2309
- completeHarnessRun(runId: string, input: import("./harnessClient").HarnessCompleteRunInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2310
- listPromptResolutions(query?: {
2311
- runId?: string;
2312
- promptName?: string;
2313
- limit?: number;
2314
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "prompts">>>;
2315
- getScopeTaxonomy(): Promise<PlatformGatewaySuccess<unknown>>;
2316
- };
2317
- schema: {
2318
- listPacks(scope?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "packs">>>;
2319
- installPack(input: import("./schemaClient").SchemaPackInstallInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2320
- getPack(packId: string, scope?: import("./coreClient").GatewayScope): Promise<PlatformGatewaySuccess<unknown>>;
2321
- listEntitlements(scope?: import("./coreClient").GatewayScope & {
2322
- packKey?: string;
2323
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "entitlements">>>;
2324
- createEntitlement(input: import("./schemaClient").SchemaEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2325
- updateEntitlement(input: import("./schemaClient").SchemaEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2326
- upsertEntitlement(input: import("./schemaClient").SchemaEntitlementInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2327
- };
2328
- audiences: {
2329
- listRegistry(query?: import("./coreClient").GatewayScope & {
2330
- effective?: boolean;
2331
- status?: "active" | "disabled" | "archived";
2332
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "registryEntries">>>;
2333
- getRegistry(query?: import("./coreClient").GatewayScope & {
2334
- effective?: boolean;
2335
- status?: "active" | "disabled" | "archived";
2336
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "registryEntries">>>;
2337
- createRegistryEntry(input: import("./audiencesClient").AudienceRegistryInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2338
- updateRegistryEntry(input: import("./audiencesClient").AudienceRegistryInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2339
- upsertRegistry(input: import("./audiencesClient").AudienceRegistryInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2340
- listGrants(query?: import("./coreClient").GatewayScope & {
2341
- audienceKey?: string;
2342
- principalId?: string;
2343
- groupId?: string;
2344
- status?: "active" | "revoked" | "expired";
2345
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "grants">>>;
2346
- getGrants(query?: import("./coreClient").GatewayScope & {
2347
- audienceKey?: string;
2348
- principalId?: string;
2349
- groupId?: string;
2350
- status?: "active" | "revoked" | "expired";
2351
- }): Promise<PlatformGatewaySuccess<import("./types").ListResult<any, "grants">>>;
2352
- createGrant(input: import("./audiencesClient").AudienceGrantInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2353
- grant(input: import("./audiencesClient").AudienceGrantInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2354
- deleteGrant(input: import("./audiencesClient").AudienceGrantRevokeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2355
- revokeGrant(input: import("./audiencesClient").AudienceGrantRevokeInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<unknown>>;
2356
- };
2357
- topics: {
2358
- list(query?: import("./topicsClient").TopicListInput): Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
2359
- get(topicId: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
2360
- create(input: import("./topicsClient").TopicCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
2361
- update(topicId: string, input: import("./topicsClient").TopicUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
2362
- getTree(topicId: string, query?: import("./topicsClient").TopicTreeQuery): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
2363
- getCoverage(topicId: string, query?: import("./topicsClient").TopicCoverageQuery): Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>;
2364
- remove(topicId: string, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
2365
- bulkCreate(input: import("./topicsClient").TopicBulkCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
2366
- };
2367
- };
2368
- };
2369
- export {};