@lucern/sdk 1.0.29 → 1.0.30

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 (191) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/accessControl.d.ts +31 -31
  3. package/dist/accessControl.js +1 -0
  4. package/dist/adminClient.d.ts +74 -74
  5. package/dist/adminClient.js +38 -30
  6. package/dist/{answersClient.d.ts → answers-client.d.ts} +1 -1
  7. package/dist/{answersClient.js → answers-client.js} +2 -2
  8. package/dist/audience/index.d.ts +12 -12
  9. package/dist/{audiencesClient.d.ts → audiences-client.d.ts} +1 -1
  10. package/dist/audiences-client.js +107 -0
  11. package/dist/{auditClient.d.ts → audit-client.d.ts} +2 -3
  12. package/dist/{auditClient.js → audit-client.js} +8 -7
  13. package/dist/authContext.d.ts +26 -26
  14. package/dist/authDeviceClient.d.ts +11 -11
  15. package/dist/authDeviceClient.js +4 -6
  16. package/dist/beliefs/index.d.ts +56 -28
  17. package/dist/beliefs/index.js +2 -1
  18. package/dist/beliefsClient.d.ts +71 -63
  19. package/dist/beliefsClient.js +90 -67
  20. package/dist/{boundaryClientSurface.d.ts → boundary-client-surface.d.ts} +4 -4
  21. package/dist/{boundaryClientSurface.js → boundary-client-surface.js} +9 -7
  22. package/dist/client-assembly-types.d.ts +219 -0
  23. package/dist/client-assembly-types.js +2 -0
  24. package/dist/{clientConfig.d.ts → client-config.d.ts} +16 -32
  25. package/dist/client-config.js +2 -0
  26. package/dist/{clientEvidenceCompat.d.ts → client-evidence-compat.d.ts} +24 -24
  27. package/dist/{clientEvidenceCompat.js → client-evidence-compat.js} +2 -2
  28. package/dist/client.d.ts +1906 -352
  29. package/dist/client.js +34 -30
  30. package/dist/clientGraphNamespaces.d.ts +35 -25
  31. package/dist/clientGraphNamespaces.js +11 -5
  32. package/dist/clientHelpers.js +8 -5
  33. package/dist/clientKnowledgeNamespaces.d.ts +124 -84
  34. package/dist/clientKnowledgeNamespaces.js +35 -34
  35. package/dist/clientLocalHelpers.d.ts +81 -52
  36. package/dist/clientLocalHelpers.js +193 -43
  37. package/dist/clientPlatformNamespaces.d.ts +1541 -150
  38. package/dist/clientPlatformNamespaces.js +10 -5
  39. package/dist/clientRuntime.d.ts +1 -1
  40. package/dist/clientRuntime.js +1 -1
  41. package/dist/clientWorkflowNamespaces.d.ts +211 -97
  42. package/dist/clientWorkflowNamespaces.js +22 -19
  43. package/dist/contextClient.d.ts +2 -2
  44. package/dist/contextClient.js +79 -50
  45. package/dist/contextFacade.d.ts +1 -1
  46. package/dist/contextFacade.js +2 -0
  47. package/dist/contextPackCompiler.d.ts +52 -52
  48. package/dist/contextPackCompiler.js +192 -122
  49. package/dist/contextPackPolicy.d.ts +22 -22
  50. package/dist/contextPackPolicy.js +21 -9
  51. package/dist/contextPackSchema.d.ts +3 -3
  52. package/dist/contextPackSchema.js +1 -0
  53. package/dist/contextTypes.d.ts +155 -155
  54. package/dist/contracts/api-enums.contract.js +2 -11
  55. package/dist/contracts/auth-session.contract.d.ts +16 -16
  56. package/dist/contracts/auth-session.contract.js +3 -2
  57. package/dist/contracts/context-pack.contract.d.ts +216 -216
  58. package/dist/contracts/contextPack.js +2 -0
  59. package/dist/contracts/index.d.ts +1 -1
  60. package/dist/contracts/index.js +2 -1
  61. package/dist/contracts/lens-filter.contract.d.ts +8 -8
  62. package/dist/contracts/lens-filter.contract.js +10 -10
  63. package/dist/contracts/lens-workflow.contract.d.ts +32 -32
  64. package/dist/contracts/lens-workflow.contract.js +2 -1
  65. package/dist/contracts/lensFilter.js +2 -0
  66. package/dist/contracts/lensWorkflow.js +2 -0
  67. package/dist/contracts/mcpTools.d.ts +19 -19
  68. package/dist/contracts/mcpTools.js +3 -1
  69. package/dist/contracts/prompt.contract.d.ts +12 -12
  70. package/dist/contracts/prompt.js +1 -0
  71. package/dist/contracts/sdk-tools.contract.js +1 -0
  72. package/dist/contracts/sdkTools.js +2 -0
  73. package/dist/contracts/tool-contracts.js +1 -0
  74. package/dist/contracts/workflow-runtime.contract.d.ts +45 -45
  75. package/dist/contracts/workflow-runtime.contract.js +1 -5
  76. package/dist/contracts/workflowRuntime.js +2 -0
  77. package/dist/contradictions/index.d.ts +8 -8
  78. package/dist/contradictions/index.js +1 -0
  79. package/dist/control-plane.d.ts +10 -10
  80. package/dist/control-plane.js +2 -2
  81. package/dist/controlObjectOwnership.d.ts +11 -11
  82. package/dist/controlObjectOwnership.js +1 -0
  83. package/dist/coreClient.d.ts +51 -51
  84. package/dist/coreClient.js +269 -101
  85. package/dist/customTools.d.ts +19 -19
  86. package/dist/customTools.js +4 -2
  87. package/dist/decisions/index.d.ts +18 -18
  88. package/dist/decisions/index.js +1 -0
  89. package/dist/decisionsClient.d.ts +4 -4
  90. package/dist/decisionsClient.js +36 -27
  91. package/dist/edges/index.d.ts +20 -18
  92. package/dist/edges/index.js +1 -0
  93. package/dist/embeddingsClient.d.ts +29 -29
  94. package/dist/embeddingsClient.js +15 -8
  95. package/dist/eventingClient.d.ts +27 -27
  96. package/dist/eventingClient.js +10 -5
  97. package/dist/events.d.ts +83 -83
  98. package/dist/events.js +19 -15
  99. package/dist/eventsCore.d.ts +7 -7
  100. package/dist/eventsCore.js +11 -10
  101. package/dist/evidence/index.d.ts +23 -21
  102. package/dist/evidence/index.js +1 -0
  103. package/dist/evidenceClient.d.ts +23 -23
  104. package/dist/evidenceClient.js +10 -6
  105. package/dist/facade/context.d.ts +9 -9
  106. package/dist/facade/context.js +67 -41
  107. package/dist/functionSurface.js +2 -0
  108. package/dist/functionSurfaceClient.js +2 -0
  109. package/dist/gatewayFacades.d.ts +215 -215
  110. package/dist/gatewayFacades.factories.d.ts +23 -44
  111. package/dist/gatewayFacades.factories.js +63 -62
  112. package/dist/gatewayFacades.js +31 -32
  113. package/dist/graphAnalysisClient.d.ts +60 -60
  114. package/dist/graphAnalysisClient.js +19 -18
  115. package/dist/graphClient.d.ts +34 -34
  116. package/dist/graphClient.js +56 -35
  117. package/dist/graphIntel.js +2 -0
  118. package/dist/graphIntelligence.d.ts +2 -2
  119. package/dist/graphIntelligence.js +1 -1
  120. package/dist/graphRecommendationsClient.d.ts +24 -24
  121. package/dist/graphRecommendationsClient.js +12 -7
  122. package/dist/graphStateClassifierClient.d.ts +13 -13
  123. package/dist/graphStateClassifierClient.js +10 -5
  124. package/dist/harnessClient.d.ts +61 -61
  125. package/dist/harnessClient.js +44 -31
  126. package/dist/identityClient.d.ts +33 -59
  127. package/dist/identityClient.js +126 -98
  128. package/dist/index.d.ts +20 -20
  129. package/dist/index.js +20 -19
  130. package/dist/infisicalRuntime.d.ts +11 -11
  131. package/dist/infisicalRuntime.js +20 -14
  132. package/dist/jobsClient.d.ts +28 -28
  133. package/dist/jobsClient.js +6 -3
  134. package/dist/learningClient.js +13 -8
  135. package/dist/lenses/index.d.ts +124 -28
  136. package/dist/lenses/index.js +1 -0
  137. package/dist/mcpClient.d.ts +1 -1
  138. package/dist/mcpClient.js +3 -3
  139. package/dist/modelRuntimeClient.d.ts +27 -27
  140. package/dist/modelRuntimeClient.js +10 -5
  141. package/dist/nodes/index.d.ts +9 -9
  142. package/dist/nodes/index.js +1 -0
  143. package/dist/ontologies/index.d.ts +68 -22
  144. package/dist/ontologies/index.js +1 -0
  145. package/dist/ontologyClient.js +24 -17
  146. package/dist/ontologyLinksClient.d.ts +35 -35
  147. package/dist/ontologyLinksClient.js +9 -6
  148. package/dist/opinion.d.ts +3 -3
  149. package/dist/opinion.js +12 -5
  150. package/dist/orgGraphSearchClient.d.ts +39 -39
  151. package/dist/orgGraphSearchClient.js +22 -13
  152. package/dist/packsClient.d.ts +1 -1
  153. package/dist/packsClient.js +28 -19
  154. package/dist/policyClient.d.ts +79 -68
  155. package/dist/policyClient.js +18 -12
  156. package/dist/proof-attestation.json +1 -1
  157. package/dist/questions/index.d.ts +38 -27
  158. package/dist/questions/index.js +1 -0
  159. package/dist/realtime/index.d.ts +3 -3
  160. package/dist/realtime/index.js +1 -0
  161. package/dist/realtime/refs.d.ts +2 -2
  162. package/dist/{reportsClient.d.ts → reports-client.d.ts} +2 -2
  163. package/dist/{reportsClient.js → reports-client.js} +19 -13
  164. package/dist/{schemaClient.d.ts → schema-client.d.ts} +2 -3
  165. package/dist/{schemaClient.js → schema-client.js} +14 -11
  166. package/dist/sdkSurface.d.ts +12 -12
  167. package/dist/sdkSurface.js +14 -10
  168. package/dist/secrets.d.ts +1 -1
  169. package/dist/secrets.js +2 -1
  170. package/dist/{sourcesClient.d.ts → sources-client.d.ts} +8 -9
  171. package/dist/{sourcesClient.js → sources-client.js} +4 -5
  172. package/dist/{telemetryClient.d.ts → telemetry-client.d.ts} +14 -14
  173. package/dist/{telemetryClient.js → telemetry-client.js} +6 -4
  174. package/dist/toolRegistryClient.d.ts +46 -46
  175. package/dist/toolRegistryClient.js +22 -11
  176. package/dist/topics/index.d.ts +23 -23
  177. package/dist/topics/index.js +2 -1
  178. package/dist/topicsClient.d.ts +6 -6
  179. package/dist/topicsClient.js +29 -18
  180. package/dist/types.d.ts +356 -355
  181. package/dist/version.d.ts +1 -1
  182. package/dist/version.js +1 -1
  183. package/dist/workflowClient.d.ts +36 -35
  184. package/dist/workflowClient.js +88 -60
  185. package/dist/worktrees/index.d.ts +118 -32
  186. package/dist/worktrees/index.js +2 -1
  187. package/package.json +45 -5
  188. package/dist/audiencesClient.js +0 -115
  189. package/dist/clientAssemblyTypes.d.ts +0 -33
  190. package/dist/clientAssemblyTypes.js +0 -2
  191. package/dist/clientConfig.js +0 -2
@@ -1,92 +1,348 @@
1
- import type { ClientNamespaceContext } from "./clientAssemblyTypes";
2
- import type { CustomToolInput } from "./clientConfig";
1
+ import type { ClientNamespaceContext } from "./client-assembly-types";
2
+ import type { CustomToolInput } from "./client-config";
3
3
  import type { FunctionSurfaceInput } from "./generated/functionSurface";
4
+ import type { JsonObject } from "./types";
4
5
  export declare function createClientPlatformNamespaces(ctx: ClientNamespaceContext): {
5
6
  coordination: {
6
- registerSession: any;
7
- heartbeatSession: any;
8
- endSession: any;
9
- listActiveSessions: any;
10
- sendAgentMessage: any;
11
- broadcastMessage: any;
12
- getInbox: any;
13
- getAgentInbox: any;
14
- claimFiles: any;
7
+ registerSession: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
8
+ heartbeatSession: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
9
+ endSession: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
10
+ listActiveSessions: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
11
+ sendAgentMessage: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
12
+ broadcastMessage: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
13
+ getInbox: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
14
+ getAgentInbox: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
15
+ claimFiles: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
15
16
  };
16
17
  policy: {
17
- checkPermission(input: FunctionSurfaceInput): any;
18
- listAccessibleTopics(input?: Parameters<(...args: any[]) => any>[0]): any;
19
- filterByPermission(input: FunctionSurfaceInput): any;
20
- compileCapabilitySlice(input: Parameters<any>[0], idempotencyKey?: string): any;
21
- manageWritePolicy(input: FunctionSurfaceInput, idempotencyKey?: string): any;
22
- raw: Record<string, (...args: any[]) => any> & {
23
- create: (...args: any[]) => any;
24
- link: (...args: any[]) => any;
18
+ checkPermission(input: FunctionSurfaceInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./policyClient").PermissionDecision>>;
19
+ listAccessibleTopics(input?: Parameters<(query?: import("./coreClient").GatewayScope & {
20
+ permission?: import("./policyClient").PermissionKind;
21
+ includeShared?: boolean;
22
+ principal?: string;
23
+ principalId?: string;
24
+ limit?: number;
25
+ }) => Promise<{
26
+ data: {
27
+ permission: import("./policyClient").PermissionKind;
28
+ topics: import("./policyClient").PolicyTopicRecord[];
29
+ total: number;
30
+ deniedTopics: {
31
+ topicId: string;
32
+ reasonCode: string;
33
+ }[];
34
+ };
35
+ correlationId: string;
36
+ idempotentReplay: boolean;
37
+ policyTraceId: string | null;
38
+ success: true;
39
+ }>>[0]): Promise<{
40
+ data: {
41
+ permission: import("./policyClient").PermissionKind;
42
+ topics: import("./policyClient").PolicyTopicRecord[];
43
+ total: number;
44
+ deniedTopics: {
45
+ topicId: string;
46
+ reasonCode: string;
47
+ }[];
48
+ };
49
+ correlationId: string;
50
+ idempotentReplay: boolean;
51
+ policyTraceId: string | null;
52
+ success: true;
53
+ }>;
54
+ filterByPermission(input: FunctionSurfaceInput): Promise<{
55
+ success: true;
56
+ data: import("./policyClient").FilterByPermissionResponse;
57
+ }>;
58
+ compileCapabilitySlice(input: Parameters<(input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>>[0], idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
59
+ manageWritePolicy(input: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
60
+ raw: {
61
+ listDecisions(query?: import("./coreClient").GatewayScope & {
62
+ action?: string;
63
+ decision?: string;
64
+ traceId?: string;
65
+ principalId?: string;
66
+ topicId?: string;
67
+ limit?: number;
68
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "decisions">>>;
69
+ grant(input: import("./coreClient").GatewayScope & {
70
+ topicId: string;
71
+ permission: import("./policyClient").PermissionKind;
72
+ principal?: string;
73
+ principalId?: string;
74
+ groupId?: string;
75
+ beliefClusterId?: string;
76
+ expiresAt?: number;
77
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
78
+ revoke(input: import("./coreClient").GatewayScope & {
79
+ topicId: string;
80
+ principal?: string;
81
+ principalId?: string;
82
+ groupId?: string;
83
+ beliefClusterId?: string;
84
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
85
+ listWritePolicies(query?: import("./coreClient").GatewayScope & {
86
+ topicId?: string;
87
+ role?: string;
88
+ toolCategory?: string;
89
+ enabled?: boolean;
90
+ }): Promise<{
91
+ data: {
92
+ policies: import("./policyClient").WritePolicyRecord[];
93
+ };
94
+ correlationId: string;
95
+ idempotentReplay: boolean;
96
+ policyTraceId: string | null;
97
+ success: true;
98
+ }>;
99
+ createWritePolicy(input: import("./policyClient").WritePolicyCreateInput, idempotencyKey?: string): Promise<{
100
+ data: {
101
+ id: string | undefined;
102
+ created: boolean;
103
+ policy: import("./policyClient").WritePolicyRecord | null;
104
+ };
105
+ correlationId: string;
106
+ idempotentReplay: boolean;
107
+ policyTraceId: string | null;
108
+ success: true;
109
+ }>;
110
+ updateWritePolicy(id: string, input: import("./policyClient").WritePolicyUpdateInput, idempotencyKey?: string): Promise<{
111
+ data: {
112
+ id: string | undefined;
113
+ updated: boolean;
114
+ policy: import("./policyClient").WritePolicyRecord | null;
115
+ };
116
+ correlationId: string;
117
+ idempotentReplay: boolean;
118
+ policyTraceId: string | null;
119
+ success: true;
120
+ }>;
121
+ deleteWritePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
122
+ id?: string;
123
+ deleted?: boolean;
124
+ }>>;
125
+ listRolePolicies(query?: import("./coreClient").GatewayScope): Promise<{
126
+ data: {
127
+ policies: import("./policyClient").TenantPolicyRecord[];
128
+ };
129
+ correlationId: string;
130
+ idempotentReplay: boolean;
131
+ policyTraceId: string | null;
132
+ success: true;
133
+ }>;
134
+ createRolePolicy(input: import("./coreClient").GatewayScope & import("./policyClient").TenantPolicyClassificationFields & {
135
+ roleName: string;
136
+ description?: string;
137
+ permissions: import("./policyClient").TenantPolicyPermission[];
138
+ groupBindings?: string[];
139
+ }, idempotencyKey?: string): Promise<{
140
+ data: {
141
+ policy: import("./policyClient").TenantPolicyRecord | null;
142
+ };
143
+ correlationId: string;
144
+ idempotentReplay: boolean;
145
+ policyTraceId: string | null;
146
+ success: true;
147
+ }>;
148
+ updateRolePolicy(id: string, input: import("./coreClient").GatewayScope & import("./policyClient").TenantPolicyClassificationFields & {
149
+ roleName: string;
150
+ description?: string;
151
+ permissions: import("./policyClient").TenantPolicyPermission[];
152
+ groupBindings?: string[];
153
+ }, idempotencyKey?: string): Promise<{
154
+ data: {
155
+ policy: import("./policyClient").TenantPolicyRecord | null;
156
+ };
157
+ correlationId: string;
158
+ idempotentReplay: boolean;
159
+ policyTraceId: string | null;
160
+ success: true;
161
+ }>;
162
+ deleteRolePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
163
+ checkPermission(query: import("./coreClient").GatewayScope & {
164
+ topicId?: string;
165
+ permission?: import("./policyClient").PermissionKind;
166
+ principal?: string;
167
+ principalId?: string;
168
+ beliefClusterId?: string;
169
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./policyClient").PermissionDecision>>;
170
+ listAccessibleTopics(query?: import("./coreClient").GatewayScope & {
171
+ permission?: import("./policyClient").PermissionKind;
172
+ includeShared?: boolean;
173
+ principal?: string;
174
+ principalId?: string;
175
+ limit?: number;
176
+ }): Promise<{
177
+ data: {
178
+ permission: import("./policyClient").PermissionKind;
179
+ topics: import("./policyClient").PolicyTopicRecord[];
180
+ total: number;
181
+ deniedTopics: {
182
+ topicId: string;
183
+ reasonCode: string;
184
+ }[];
185
+ };
186
+ correlationId: string;
187
+ idempotentReplay: boolean;
188
+ policyTraceId: string | null;
189
+ success: true;
190
+ }>;
191
+ filterByPermission(input: import("./coreClient").GatewayScope & {
192
+ topicIds?: string[];
193
+ permission?: import("./policyClient").PermissionKind;
194
+ principal?: string;
195
+ principalId?: string;
196
+ }): Promise<{
197
+ success: true;
198
+ data: import("./policyClient").FilterByPermissionResponse;
199
+ }>;
25
200
  };
26
201
  };
27
202
  observations: {
28
- ingest: any;
29
- ingestObservation: any;
30
- getContext: any;
31
- getObservationContext: any;
203
+ ingest: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
204
+ ingestObservation: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
205
+ getContext: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
206
+ getObservationContext: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
32
207
  };
33
208
  coding: {
34
- getCodeContext: any;
35
- getChangeHistory: any;
36
- recordAttempt: any;
37
- getFailureLog: any;
209
+ getCodeContext: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
210
+ getChangeHistory: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
211
+ recordAttempt: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
212
+ getFailureLog: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
38
213
  };
39
214
  contracts: {
40
- create(input: FunctionSurfaceInput): any;
41
- createEpistemicContract(input: FunctionSurfaceInput): any;
215
+ create(input: FunctionSurfaceInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
216
+ createEpistemicContract(input: FunctionSurfaceInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
42
217
  list(input?: {
43
218
  beliefNodeId?: string;
44
219
  contractId?: string;
45
220
  status?: string;
46
- }): any;
47
- evaluate(input: FunctionSurfaceInput): any;
48
- evaluateContract(input: FunctionSurfaceInput): any;
49
- getStatus(input: FunctionSurfaceInput): any;
50
- getContractStatus(input: FunctionSurfaceInput): any;
221
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
222
+ evaluate(input: FunctionSurfaceInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
223
+ evaluateContract(input: FunctionSurfaceInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
224
+ getStatus(input: FunctionSurfaceInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
225
+ getContractStatus(input: FunctionSurfaceInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>> & Record<string, unknown>>;
51
226
  };
52
227
  bootstrap: {
53
- generateSessionHandoff: any;
228
+ generateSessionHandoff: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
54
229
  };
55
230
  hybrid: {
56
- discover: any;
57
- hybridDiscover: any;
58
- resolveTopicSemantic: any;
59
- expandGraphNeighborhood: any;
60
- findRelatedNodes: any;
61
- analyzeGraphImpact: any;
62
- detectGraphDrift: any;
63
- };
64
- embeddings: any;
65
- graphAnalysis: any;
66
- graphRecommendations: any;
67
- orgGraphSearch: any;
68
- ontologyLinks: Record<string, (...args: any[]) => any>;
69
- graphStateClassifier: any;
70
- modelRuntime: any;
71
- jobs: any;
72
- telemetry: any;
73
- publication: Record<string, (...args: any[]) => any>;
74
- contentPublication: Record<string, (...args: any[]) => any>;
231
+ discover: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
232
+ hybridDiscover: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
233
+ resolveTopicSemantic: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
234
+ expandGraphNeighborhood: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
235
+ findRelatedNodes: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
236
+ analyzeGraphImpact: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
237
+ detectGraphDrift: (input?: FunctionSurfaceInput, idempotencyKey?: string) => import("./functionSurface").FunctionSurfaceResult<unknown>;
238
+ };
239
+ embeddings: {
240
+ getByNodeIds(input: import("./embeddingsClient").GetEmbeddingsByNodeIdsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./embeddingsClient").EmbeddingRecord, "embeddings">>>;
241
+ listMissingForTopic(input: import("./embeddingsClient").ListMissingEmbeddingsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./embeddingsClient").MissingEmbeddingCandidate, "nodes">>>;
242
+ vectorSearchByTopic(input: import("./embeddingsClient").VectorSearchByTopicInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./embeddingsClient").VectorSearchMatch, "results">>>;
243
+ markEmbeddingBackfillQueued(input: import("./embeddingsClient").MarkEmbeddingBackfillQueuedInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
244
+ queued: number;
245
+ topicId: string;
246
+ workspaceId: string;
247
+ nodeIds: string[];
248
+ }>>;
249
+ };
250
+ graphAnalysis: {
251
+ listGraphIntelligenceQueries(input?: import("./graphAnalysisClient").ListGraphIntelligenceQueriesInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphIntelligenceQueryCatalogResponse>>;
252
+ runGraphIntelligenceQuery(input: import("./graphAnalysisClient").RunGraphIntelligenceQueryInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphIntelligenceQueryRunResponse>>;
253
+ saveAnalysis(input: import("./graphAnalysisClient").SaveGraphAnalysisInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphAnalysisRecord>>;
254
+ listAnalyses(input: import("./graphAnalysisClient").ListGraphAnalysesInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphAnalysisClient").GraphAnalysisRecord, "analyses">>>;
255
+ getLatestAnalysis(input: import("./graphAnalysisClient").GetLatestGraphAnalysisInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphAnalysisRecord>>;
256
+ saveSuggestions(input: import("./graphAnalysisClient").SaveGraphSuggestionsInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphAnalysisSuggestionsResponse>>;
257
+ updateSuggestionStatus(input: import("./graphAnalysisClient").UpdateGraphSuggestionStatusInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphAnalysisSuggestion>>;
258
+ listSuggestions(input: import("./graphAnalysisClient").ListGraphSuggestionsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphAnalysisClient").GraphAnalysisSuggestion, "suggestions">>>;
259
+ listGraphChanges(input: import("./graphAnalysisClient").ListGraphChangesInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphAnalysisClient").GraphAnalysisChangeRecord, "changes">>>;
260
+ computeOrRequestAnalysis(input: import("./graphAnalysisClient").ComputeOrRequestGraphAnalysisInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphAnalysisRecord>>;
261
+ };
262
+ graphRecommendations: {
263
+ listForTopic(input: import("./graphRecommendationsClient").GraphRecommendationListInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphRecommendationsClient").GraphRecommendationRecord, "recommendations">>>;
264
+ getRecommendation(recommendationId: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphRecommendationsClient").GraphRecommendationRecord>>;
265
+ markRecommendationStatus(input: import("./graphRecommendationsClient").MarkGraphRecommendationStatusInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphRecommendationsClient").GraphRecommendationRecord>>;
266
+ };
267
+ orgGraphSearch: {
268
+ search(input: import("./orgGraphSearchClient").OrgGraphSearchInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./orgGraphSearchClient").OrgGraphSearchResponse>>;
269
+ getNode(input: import("./orgGraphSearchClient").GetOrgGraphNodeInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./orgGraphSearchClient").OrgGraphSearchResult>>;
270
+ listByProvenance(input: import("./orgGraphSearchClient").ListOrgGraphByProvenanceInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./orgGraphSearchClient").OrgGraphSearchResponse>>;
271
+ listPublishedFromWorkspace(input: import("./orgGraphSearchClient").ListPublishedFromWorkspaceInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./orgGraphSearchClient").OrgGraphSearchResponse>>;
272
+ };
273
+ ontologyLinks: {
274
+ [methodName: string]: unknown;
275
+ };
276
+ graphStateClassifier: {
277
+ classifyNode(input: import("./graphStateClassifierClient").ClassifyNodeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphStateClassifierClient").GraphStateClassification>>;
278
+ classifyTopic(input: import("./graphStateClassifierClient").ClassifyTopicInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphStateClassifierClient").GraphStateClassification, "classifications">>>;
279
+ listClassifications(input: import("./graphStateClassifierClient").ListGraphStateClassificationsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphStateClassifierClient").GraphStateClassification, "classifications">>>;
280
+ recordClassification(input: import("./graphStateClassifierClient").RecordGraphStateClassificationInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphStateClassifierClient").GraphStateClassification>>;
281
+ };
282
+ modelRuntime: {
283
+ listModels(input: import("./modelRuntimeClient").ModelRuntimeScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./modelRuntimeClient").ModelRegistryRecord, "models">>>;
284
+ getModel(input: import("./modelRuntimeClient").ModelRuntimeScope & {
285
+ modelId: string;
286
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./modelRuntimeClient").ModelRegistryRecord>>;
287
+ listFunctionSlots(input: import("./modelRuntimeClient").ModelRuntimeScope & {
288
+ functionName?: string;
289
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./modelRuntimeClient").ModelFunctionSlot, "slots">>>;
290
+ resolveSlot(input: import("./modelRuntimeClient").ResolveModelSlotInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./modelRuntimeClient").ModelFunctionSlot>>;
291
+ updateSlotConfig(input: import("./modelRuntimeClient").UpdateModelSlotConfigInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./modelRuntimeClient").ModelFunctionSlot>>;
292
+ };
293
+ jobs: {
294
+ enqueue(input: import("./jobsClient").EnqueueJobInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRecord>>;
295
+ list(input: import("./jobsClient").JobsScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./jobsClient").JobRecord, "jobs">>>;
296
+ claim(input: import("./jobsClient").ClaimJobInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRecord>>;
297
+ updateStatus(input: import("./jobsClient").UpdateJobStatusInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRecord>>;
298
+ retry(input: import("./jobsClient").RetryJobInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRecord>>;
299
+ recordRunStart(input: import("./jobsClient").RecordJobRunStartInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRunRecord>>;
300
+ recordRunFinish(input: import("./jobsClient").RecordJobRunFinishInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRunRecord>>;
301
+ };
302
+ telemetry: {
303
+ logSystemEvent(input: import("./telemetry-client").LogSystemEventInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
304
+ eventId?: string;
305
+ recorded: boolean;
306
+ }>>;
307
+ logToolCallsBatch(input: import("./telemetry-client").LogToolCallsBatchInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
308
+ recorded: number;
309
+ }>>;
310
+ recordEpistemicAudit(input: import("./telemetry-client").RecordEpistemicAuditInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
311
+ auditId?: string;
312
+ recorded: boolean;
313
+ }>>;
314
+ recordPolicyDecision(input: import("./telemetry-client").RecordTelemetryPolicyDecisionInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
315
+ decisionId?: string;
316
+ recorded: boolean;
317
+ }>>;
318
+ startRun(input: import("./telemetry-client").StartTelemetryRunInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./telemetry-client").TelemetryRunRecord>>;
319
+ finishRun(input: import("./telemetry-client").FinishTelemetryRunInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./telemetry-client").TelemetryRunRecord>>;
320
+ listRuns(input: import("./telemetry-client").TelemetryScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./telemetry-client").TelemetryRunRecord, "runs">>>;
321
+ };
322
+ publication: {
323
+ [methodName: string]: unknown;
324
+ };
325
+ contentPublication: {
326
+ [methodName: string]: unknown;
327
+ };
75
328
  tools: {
76
- listCatalog: any;
77
- listExecutable: any;
78
- listEffectiveTools: any;
79
- upsertCoreTools: any;
80
- setPackToolsStatus: any;
81
- createAcl: any;
82
- deleteAcl: any;
83
- registerCustomTool: any;
84
- register: any;
85
- unregister: any;
86
- list: any;
87
- clear: any;
88
- invoke(name: string, input?: CustomToolInput): any;
89
- namespace: any;
329
+ listCatalog: (input: import("./toolRegistryClient").ToolRegistryQuery) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./toolRegistryClient").ToolCatalogEntry, "tools">>>;
330
+ listExecutable: (input: import("./toolRegistryClient").ToolRegistryQuery) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./toolRegistryClient").ToolCatalogEntry, "tools">>>;
331
+ listEffectiveTools: (input: import("./toolRegistryClient").EffectiveToolsQuery) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./toolRegistryClient").ToolCatalogEntry, "tools">>>;
332
+ upsertCoreTools: (input: import("./toolRegistryClient").UpsertCoreToolsInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./toolRegistryClient").ToolCatalogEntry, "tools">>>;
333
+ setPackToolsStatus: (input: import("./toolRegistryClient").SetPackToolsStatusInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./toolRegistryClient").ToolCatalogEntry, "tools">>>;
334
+ createAcl: (input: import("./toolRegistryClient").CreateToolAclInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./toolRegistryClient").ToolAclRecord>>;
335
+ deleteAcl: (input: import("./toolRegistryClient").DeleteToolAclInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<{
336
+ aclId: string;
337
+ deleted: boolean;
338
+ }>>;
339
+ registerCustomTool: (input: import("./toolRegistryClient").RegisterCustomToolInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./toolRegistryClient").ToolCatalogEntry>>;
340
+ register: typeof import("./customTools").registerCustomTool;
341
+ unregister: typeof import("./customTools").unregisterCustomTool;
342
+ list: typeof import("./customTools").listRegisteredCustomTools;
343
+ clear: typeof import("./customTools").clearRegisteredCustomTools;
344
+ invoke(name: string, input?: CustomToolInput): Promise<unknown>;
345
+ namespace: (namespace: string) => import("./client-config").CustomToolNamespace;
90
346
  };
91
347
  packs: {
92
348
  /**
@@ -94,104 +350,1239 @@ export declare function createClientPlatformNamespaces(ctx: ClientNamespaceConte
94
350
  * No-op if no packKey was provided or if the pack is already installed.
95
351
  * Called automatically on first API use when packKey is set.
96
352
  */
97
- ensurePack: any;
353
+ ensurePack: () => Promise<void>;
98
354
  /**
99
355
  * Check if the configured pack has been installed in this session.
100
356
  */
101
- readonly isInstalled: any;
102
- listCatalog: (...args: any[]) => any;
103
- catalog: (...args: any[]) => any;
104
- listStates: (...args: any[]) => any;
105
- states: (...args: any[]) => any;
106
- install: (...args: any[]) => any;
107
- enable: (...args: any[]) => any;
108
- disable: (...args: any[]) => any;
109
- };
110
- nodes: Record<string, any>;
357
+ readonly isInstalled: boolean;
358
+ listCatalog: () => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
359
+ catalog: () => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
360
+ listStates: (query?: import("./coreClient").GatewayScope) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
361
+ states: (query?: import("./coreClient").GatewayScope) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
362
+ install: (input: import("./packsClient").PackInstallInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
363
+ enable: (input: import("./packsClient").PackEnableInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
364
+ disable: (input: import("./packsClient").PackDisableInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
365
+ };
366
+ nodes: import("./client-assembly-types").ClientNodesNamespace;
111
367
  controlPlane: {
112
368
  identity: {
113
- resolveInteractivePrincipal: any;
369
+ resolveInteractivePrincipal: (input: import("./control-plane").ResolveInteractivePrincipalInput) => Promise<import("./control-plane").ResolveInteractivePrincipalResponse>;
370
+ };
371
+ raw: {
372
+ identity: {
373
+ resolveInteractivePrincipal(input: import("./control-plane").ResolveInteractivePrincipalInput): Promise<import("./control-plane").ResolveInteractivePrincipalResponse>;
374
+ };
114
375
  };
115
- raw: any;
116
376
  };
117
377
  identity: {
118
- access: any;
119
- resolveInteractivePrincipal: any;
120
- evaluatePolicy: any;
121
- recordPolicyDecision: any;
122
- putSecretReference: any;
123
- createPrincipal: any;
124
- updatePrincipal: any;
125
- raw: any;
126
- whoami: any;
378
+ access: {
379
+ normalizePrincipal: typeof import("./accessControl").normalizeCanonicalPrincipalIdentity;
380
+ checkAccess: (input: import("./accessControl").RequireAccessInput, idempotencyKey?: string) => Promise<import("./accessControl").AccessCheckResult>;
381
+ requireAccess: (input: import("./accessControl").RequireAccessInput, idempotencyKey?: string) => Promise<import("./accessControl").AccessCheckResult>;
382
+ canAccess: (input: import("./accessControl").RequireAccessInput, idempotencyKey?: string) => Promise<boolean>;
383
+ };
384
+ resolveInteractivePrincipal: (input: import("./control-plane").ResolveInteractivePrincipalInput) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./control-plane").ResolvedInteractivePrincipalContext>>;
385
+ evaluatePolicy: (input: import("./identityClient").PolicyEvaluationInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").PolicyDecisionRecord>>;
386
+ recordPolicyDecision: (input: import("./identityClient").RecordPolicyDecisionInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").PolicyDecisionRecord>>;
387
+ putSecretReference: (input: import("./identityClient").PutTenantSecretReferenceInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").TenantSecretReference>>;
388
+ createPrincipal: (input: import("./coreClient").GatewayScope & {
389
+ principalId: string;
390
+ principalType: "user" | "group" | "service" | "external_viewer";
391
+ clerkId?: string;
392
+ email?: string;
393
+ displayName?: string;
394
+ status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
395
+ metadata?: JsonObject;
396
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
397
+ updatePrincipal: (input: import("./coreClient").GatewayScope & {
398
+ principalId: string;
399
+ principalType: "user" | "group" | "service" | "external_viewer";
400
+ clerkId?: string;
401
+ email?: string;
402
+ displayName?: string;
403
+ status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
404
+ metadata?: JsonObject;
405
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
406
+ raw: {
407
+ whoami(): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").SdkPrincipalContext>>;
408
+ resolveInteractivePrincipal(input: import("./control-plane").ResolveInteractivePrincipalInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./control-plane").ResolvedInteractivePrincipalContext>>;
409
+ listPrincipals(query?: import("./coreClient").GatewayScope & {
410
+ status?: string;
411
+ principalType?: string;
412
+ query?: string;
413
+ limit?: number;
414
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "principals">>>;
415
+ createPrincipal(input: import("./coreClient").GatewayScope & {
416
+ principalId: string;
417
+ principalType: "user" | "group" | "service" | "external_viewer";
418
+ clerkId?: string;
419
+ email?: string;
420
+ displayName?: string;
421
+ status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
422
+ metadata?: JsonObject;
423
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
424
+ updatePrincipal: (input: import("./coreClient").GatewayScope & {
425
+ principalId: string;
426
+ principalType: "user" | "group" | "service" | "external_viewer";
427
+ clerkId?: string;
428
+ email?: string;
429
+ displayName?: string;
430
+ status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
431
+ metadata?: JsonObject;
432
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
433
+ upsertPrincipal: (input: import("./coreClient").GatewayScope & {
434
+ principalId: string;
435
+ principalType: "user" | "group" | "service" | "external_viewer";
436
+ clerkId?: string;
437
+ email?: string;
438
+ displayName?: string;
439
+ status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
440
+ metadata?: JsonObject;
441
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
442
+ listKeys(query?: import("./coreClient").GatewayScope & {
443
+ principalId?: string;
444
+ status?: string;
445
+ limit?: number;
446
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "keys">>>;
447
+ createKey(input: import("./coreClient").GatewayScope & {
448
+ principalId: string;
449
+ keyId?: string;
450
+ token?: string;
451
+ scopes?: string[];
452
+ environment?: "sandbox" | "production";
453
+ expiresInDays?: number;
454
+ rateLimitTier?: "free" | "developer" | "partner";
455
+ metadata?: JsonObject;
456
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
457
+ rotateKey(keyId: string, input?: {
458
+ replacementKeyId?: string;
459
+ replacementToken?: string;
460
+ replacementExpiresInDays?: number;
461
+ gracePeriodHours?: number;
462
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
463
+ deleteKey: (keyId: string, input?: {
464
+ reason?: string;
465
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
466
+ revokeKey: (keyId: string, input?: {
467
+ reason?: string;
468
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
469
+ searchClerkUsers(q: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").ClerkUserSearchResult[]>>;
470
+ getTenantConfig(input: import("./identityClient").TenantIdentityScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").TenantIdentityConfigRecord>>;
471
+ updateTenantConfig(input: import("./identityClient").UpdateTenantConfigInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").TenantIdentityConfigRecord>>;
472
+ listIntegrations(input: import("./identityClient").TenantIdentityScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./identityClient").TenantIntegrationRecord, "integrations">>>;
473
+ upsertIntegration(input: import("./identityClient").UpsertTenantIntegrationInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").TenantIntegrationRecord>>;
474
+ listSecrets(input: import("./identityClient").TenantIdentityScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./identityClient").TenantSecretReference, "secrets">>>;
475
+ putSecretReference(input: import("./identityClient").PutTenantSecretReferenceInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").TenantSecretReference>>;
476
+ evaluatePolicy(input: import("./identityClient").PolicyEvaluationInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").PolicyDecisionRecord>>;
477
+ recordPolicyDecision(input: import("./identityClient").RecordPolicyDecisionInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").PolicyDecisionRecord>>;
478
+ };
479
+ whoami(): Promise<{
480
+ authMode?: string;
481
+ clerkId?: string;
482
+ delegatedBy?: string;
483
+ expiresAt?: number;
484
+ groupIds?: string[];
485
+ isPlatformAdmin: boolean;
486
+ isTenantAdmin: boolean;
487
+ isWorkspaceAdmin: boolean;
488
+ permit?: {
489
+ subject: string;
490
+ tenant: string;
491
+ workspace?: string;
492
+ };
493
+ permittedPackKeys?: string[];
494
+ permittedToolNames?: string[];
495
+ principalId: string;
496
+ principalStatus?: string;
497
+ principalType: "user" | "human" | "service" | "group" | "external_viewer" | "agent";
498
+ roles: string[];
499
+ scopes: string[];
500
+ sessionId?: string;
501
+ tenantId: string | null;
502
+ tenantStatus?: string;
503
+ workspaceId: string | null;
504
+ workspaceStatus?: string;
505
+ correlationId: string;
506
+ data: import("./types").SdkPrincipalContext;
507
+ idempotentReplay: boolean;
508
+ policyTraceId: string | null;
509
+ success: true;
510
+ }>;
127
511
  };
128
512
  mcp: {
129
- bootstrapSession: any;
130
- checkWritePolicy: any;
131
- beginBuildSession: any;
132
- evaluateEngineeringContract: any;
133
- evaluateResearchContract: any;
513
+ bootstrapSession: (input?: import("./mcpClient").McpBootstrapSessionInput) => Promise<import("./mcpClient").McpBootstrapSessionResponse>;
514
+ checkWritePolicy: (input: import("./mcpClient").McpCheckWritePolicyInput) => Promise<import("./mcpClient").McpCheckWritePolicyResponse>;
515
+ beginBuildSession: (input: import("./mcpClient").McpBeginBuildSessionInput) => Promise<import("./mcpClient").McpBeginBuildSessionResponse>;
516
+ evaluateEngineeringContract: (input: import("./mcpClient").McpEvaluateEngineeringContractInput) => Promise<import("./mcpClient").McpContractEvaluationResponse>;
517
+ evaluateResearchContract: (input: import("./mcpClient").McpEvaluateResearchContractInput) => Promise<import("./mcpClient").McpContractEvaluationResponse>;
134
518
  };
135
519
  auth: {
136
520
  device: {
137
- createCode: any;
138
- pollToken: any;
521
+ createCode: (input?: import("./authDeviceClient").DeviceCodeInput) => Promise<import("./authDeviceClient").DeviceCodeResponse>;
522
+ pollToken: (deviceCode: string) => Promise<import("./authDeviceClient").DeviceTokenResponse>;
139
523
  };
140
524
  };
141
- custom: any;
142
- extensions: any;
525
+ custom: import("./client-config").CustomToolNamespace;
526
+ extensions: Record<string, import("./client-config").CustomToolNamespace>;
143
527
  raw: {
144
- beliefs: any;
145
- sources: any;
146
- evidence: any;
147
- embeddings: any;
148
- eventing: any;
149
- graph: Record<string, (...args: any[]) => any> & {
150
- create: (...args: any[]) => any;
151
- link: (...args: any[]) => any;
152
- };
153
- graphAnalysis: any;
154
- graphRecommendations: any;
155
- graphStateClassifier: any;
156
- decisions: any;
157
- workflow: Record<string, (...args: any[]) => any> & {
158
- create: (...args: any[]) => any;
159
- link: (...args: any[]) => any;
160
- };
161
- audit: any;
162
- authDevice: any;
163
- admin: any;
164
- identity: any;
165
- policy: Record<string, (...args: any[]) => any> & {
166
- create: (...args: any[]) => any;
167
- link: (...args: any[]) => any;
168
- };
169
- answers: any;
170
- ontology: any;
171
- ontologyLinks: Record<string, (...args: any[]) => any> & {
172
- create: (...args: any[]) => any;
173
- link: (...args: any[]) => any;
174
- };
175
- orgGraphSearch: any;
176
- functionSurface: any;
177
- controlPlane: any;
178
- toolRegistry: any;
179
- modelRuntime: any;
180
- packs: Record<string, (...args: any[]) => any> & {
181
- create: (...args: any[]) => any;
182
- link: (...args: any[]) => any;
183
- };
184
- reports: any;
185
- learning: any;
186
- mcp: any;
187
- jobs: any;
188
- telemetry: any;
189
- harness: any;
190
- schema: any;
191
- audiences: any;
192
- topics: Record<string, (...args: any[]) => any> & {
193
- create: (...args: any[]) => any;
194
- link: (...args: any[]) => any;
528
+ beliefs: {
529
+ createBelief(input: import("./beliefsClient").CreateBeliefInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").PlatformBeliefRecord>>;
530
+ refineBelief(beliefId: string, input: import("./beliefsClient").RefineBeliefInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").PlatformBeliefRecord>>;
531
+ getOpinionHistory: (beliefId: string) => Promise<import("./beliefsClient").OpinionHistoryEntry[]>;
532
+ getConfidenceHistory: (beliefId: string) => Promise<import("./beliefsClient").OpinionHistoryEntry[]>;
533
+ forkBelief(beliefId: string, input: import("./beliefsClient").ForkBeliefInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ForkBeliefResponse>>;
534
+ updateBeliefRationale(input: import("./beliefsClient").UpdateBeliefRationaleInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
535
+ linkBeliefs(input: import("./beliefsClient").LinkBeliefsInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
536
+ unlinkBeliefEvidence(input: import("./beliefsClient").UnlinkBeliefEvidenceInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
537
+ updateBeliefCriticality(input: import("./beliefsClient").UpdateBeliefCriticalityInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
538
+ batchUpdateBeliefCriticality(input: import("./beliefsClient").BatchUpdateBeliefCriticalityInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
539
+ reassignBeliefsTopic(input: import("./beliefsClient").ReassignBeliefsTopicInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
540
+ };
541
+ sources: {
542
+ upsert(spec: import("./sources-client").UpsertSourceSpec, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").PlatformSourceRecord>>;
543
+ get(sourceId: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").PlatformSourceRecord>>;
544
+ };
545
+ evidence: {
546
+ classifyEvidence(beliefId: string, evidenceId: string, classificationConfig?: import("./evidenceClient").EvidenceClassificationRequestConfig, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./evidenceClient").ClassifyEvidenceResult>>;
547
+ classifyEvidenceBatch(beliefId: string, evidence: import("./evidenceClient").ClassifyEvidenceBatchItem[], classificationConfig?: import("./evidenceClient").EvidenceClassificationRequestConfig, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./evidenceClient").ClassifyEvidenceBatchResult>>;
548
+ };
549
+ embeddings: {
550
+ getByNodeIds(input: import("./embeddingsClient").GetEmbeddingsByNodeIdsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./embeddingsClient").EmbeddingRecord, "embeddings">>>;
551
+ listMissingForTopic(input: import("./embeddingsClient").ListMissingEmbeddingsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./embeddingsClient").MissingEmbeddingCandidate, "nodes">>>;
552
+ vectorSearchByTopic(input: import("./embeddingsClient").VectorSearchByTopicInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./embeddingsClient").VectorSearchMatch, "results">>>;
553
+ markEmbeddingBackfillQueued(input: import("./embeddingsClient").MarkEmbeddingBackfillQueuedInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
554
+ queued: number;
555
+ topicId: string;
556
+ workspaceId: string;
557
+ nodeIds: string[];
558
+ }>>;
559
+ };
560
+ eventing: {
561
+ recordEvent(input: import("./eventingClient").RecordEventInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./eventingClient").EventingRecord>>;
562
+ listEvents(input: import("./eventingClient").EventingScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./eventingClient").EventingRecord, "events">>>;
563
+ listWebhooks(input: import("./eventingClient").EventingScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./eventingClient").EventingWebhookRecord, "webhooks">>>;
564
+ enqueueDelivery(input: import("./eventingClient").EnqueueDeliveryInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./eventingClient").EventingDeliveryRecord>>;
565
+ recordDeliveryAttempt(input: import("./eventingClient").RecordDeliveryAttemptInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./eventingClient").EventingDeliveryRecord>>;
566
+ updateDeliveryStatus(input: import("./eventingClient").UpdateDeliveryStatusInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./eventingClient").EventingDeliveryRecord>>;
567
+ };
568
+ graph: {
569
+ listNodes(query: import("./graphClient").ListNodesInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./types").PlatformGraphNode, "nodes">>>;
570
+ getNode(query: import("./graphClient").GetNodeInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").PlatformGraphNode>>;
571
+ createNode(input: import("./graphClient").CreateNodeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").PlatformGraphNode>>;
572
+ updateNode(input: import("./graphClient").UpdateNodeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").PlatformGraphNode>>;
573
+ batchCreateNodes(input: import("./graphClient").BatchCreateNodesInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
574
+ supersedeNode(input: import("./graphClient").SupersedeNodeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
575
+ verifyNode(input: import("./graphClient").VerifyNodeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
576
+ hardDeleteNode(input: import("./graphClient").HardDeleteNodeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
577
+ listEdges(query: import("./graphClient").ListEdgesInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./types").PlatformGraphEdge, "edges">>>;
578
+ createEdge(input: import("./graphClient").CreateEdgeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").PlatformGraphEdge>>;
579
+ deleteEdge(query: import("./graphClient").DeleteEdgeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").DeleteEdgeResponse>>;
580
+ neighborhood(query: import("./graphClient").NeighborhoodInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").GraphNeighborhoodResponse>>;
581
+ traverse(query: import("./graphClient").TraverseInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
582
+ analyze(query?: import("./graphClient").AnalyzeInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
583
+ bias(query?: import("./graphClient").BiasInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
584
+ gaps(query: import("./graphClient").GapsInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
585
+ search(query: import("./graphClient").SearchInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
586
+ getPath(query: import("./graphClient").PathInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").GraphPathResponse>>;
587
+ getAnalytics(query?: import("./graphClient").AnalyticsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").GraphAnalyticsResponse<import("./types").GraphAnalyticsMetric>>>;
588
+ } & {
589
+ queryNodes: (query: import("./graphClient").ListNodesInput) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./types").PlatformGraphNode, "nodes">>>;
590
+ queryEdges: (query: import("./graphClient").ListEdgesInput) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./types").PlatformGraphEdge, "edges">>>;
591
+ getNeighborhood: (query: import("./graphClient").NeighborhoodInput) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").GraphNeighborhoodResponse>>;
592
+ };
593
+ graphAnalysis: {
594
+ listGraphIntelligenceQueries(input?: import("./graphAnalysisClient").ListGraphIntelligenceQueriesInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphIntelligenceQueryCatalogResponse>>;
595
+ runGraphIntelligenceQuery(input: import("./graphAnalysisClient").RunGraphIntelligenceQueryInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphIntelligenceQueryRunResponse>>;
596
+ saveAnalysis(input: import("./graphAnalysisClient").SaveGraphAnalysisInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphAnalysisRecord>>;
597
+ listAnalyses(input: import("./graphAnalysisClient").ListGraphAnalysesInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphAnalysisClient").GraphAnalysisRecord, "analyses">>>;
598
+ getLatestAnalysis(input: import("./graphAnalysisClient").GetLatestGraphAnalysisInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphAnalysisRecord>>;
599
+ saveSuggestions(input: import("./graphAnalysisClient").SaveGraphSuggestionsInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphAnalysisSuggestionsResponse>>;
600
+ updateSuggestionStatus(input: import("./graphAnalysisClient").UpdateGraphSuggestionStatusInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphAnalysisSuggestion>>;
601
+ listSuggestions(input: import("./graphAnalysisClient").ListGraphSuggestionsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphAnalysisClient").GraphAnalysisSuggestion, "suggestions">>>;
602
+ listGraphChanges(input: import("./graphAnalysisClient").ListGraphChangesInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphAnalysisClient").GraphAnalysisChangeRecord, "changes">>>;
603
+ computeOrRequestAnalysis(input: import("./graphAnalysisClient").ComputeOrRequestGraphAnalysisInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphAnalysisClient").GraphAnalysisRecord>>;
604
+ };
605
+ graphRecommendations: {
606
+ listForTopic(input: import("./graphRecommendationsClient").GraphRecommendationListInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphRecommendationsClient").GraphRecommendationRecord, "recommendations">>>;
607
+ getRecommendation(recommendationId: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphRecommendationsClient").GraphRecommendationRecord>>;
608
+ markRecommendationStatus(input: import("./graphRecommendationsClient").MarkGraphRecommendationStatusInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphRecommendationsClient").GraphRecommendationRecord>>;
609
+ };
610
+ graphStateClassifier: {
611
+ classifyNode(input: import("./graphStateClassifierClient").ClassifyNodeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphStateClassifierClient").GraphStateClassification>>;
612
+ classifyTopic(input: import("./graphStateClassifierClient").ClassifyTopicInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphStateClassifierClient").GraphStateClassification, "classifications">>>;
613
+ listClassifications(input: import("./graphStateClassifierClient").ListGraphStateClassificationsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./graphStateClassifierClient").GraphStateClassification, "classifications">>>;
614
+ recordClassification(input: import("./graphStateClassifierClient").RecordGraphStateClassificationInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./graphStateClassifierClient").GraphStateClassification>>;
615
+ };
616
+ decisions: {
617
+ listJudgments(query: import("./decisionsClient").ListJudgmentsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListJudgmentsResponse>>;
618
+ getJudgment(judgmentId: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").GetJudgmentResponse>>;
619
+ getJudgmentReadiness(query: {
620
+ topicId?: string;
621
+ } & import("./types").TopicIdentifierInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").JudgmentReadinessResponse>>;
622
+ getJudgmentCalibration(query: import("./decisionsClient").GetJudgmentCalibrationInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").JudgmentCalibrationResponse>>;
623
+ listPendingOutcomeReviews(query: import("./decisionsClient").ListPendingJudgmentOutcomeReviewInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./types").PendingJudgmentOutcomeRecord, "reviews">>>;
624
+ getJudgmentTransitionAuditIntegrity(query: import("./decisionsClient").GetJudgmentTransitionAuditIntegrityInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").JudgmentTransitionAuditIntegrityResponse>>;
625
+ createJudgment(input: import("./decisionsClient").RecordJudgmentInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").RecordJudgmentResponse>>;
626
+ updateJudgmentOutcome(judgmentId: string, input: import("./decisionsClient").RecordJudgmentOutcomeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>;
627
+ } & {
628
+ listPendingJudgmentOutcomeReview: (query: import("./decisionsClient").ListPendingJudgmentOutcomeReviewInput) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./types").PendingJudgmentOutcomeRecord, "reviews">>>;
629
+ recordJudgment: (input: import("./decisionsClient").RecordJudgmentInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").RecordJudgmentResponse>>;
630
+ recordJudgmentOutcome: (judgmentId: string, input: import("./decisionsClient").RecordJudgmentOutcomeInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").RecordJudgmentOutcomeResponse>>;
631
+ };
632
+ workflow: {
633
+ listBranches(query: {
634
+ topicId?: string;
635
+ status?: import("./workflowClient").WorkflowBranchStatus;
636
+ limit?: number;
637
+ } & import("./types").TopicIdentifierInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowBranchRecord, "branches">>>;
638
+ createBranch(input: {
639
+ name: string;
640
+ topicId?: string;
641
+ description?: string;
642
+ metadata?: JsonObject;
643
+ } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").WorkflowBranchRecord>>;
644
+ listLenses(query: {
645
+ workspaceId?: string;
646
+ topicId?: string;
647
+ status?: import("./workflowClient").WorkflowLensStatus;
648
+ perspectiveType?: import("./workflowClient").WorkflowLensPerspectiveType;
649
+ } & import("./types").TopicIdentifierInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowLensRecord, "lenses">>>;
650
+ createLens(input: {
651
+ name: string;
652
+ workspaceId?: string;
653
+ topicId?: string;
654
+ description?: string;
655
+ perspectiveType: import("./workflowClient").WorkflowLensPerspectiveType;
656
+ promptTemplates?: import(".").LensPromptTemplateReference[];
657
+ workflowTemplates?: import(".").LensWorkflowTemplate[];
658
+ taskTemplates?: import(".").LensTaskTemplate[];
659
+ questionTemplates?: import(".").LensQuestionTemplate[];
660
+ filterCriteria?: JsonObject;
661
+ } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").WorkflowLensRecord>>;
662
+ applyLensToTopic(input: {
663
+ lensId: string;
664
+ topicId?: string;
665
+ metadata?: JsonObject;
666
+ } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
667
+ removeLensFromTopic(input: {
668
+ lensId: string;
669
+ topicId?: string;
670
+ } & import("./types").TopicIdentifierInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").WorkflowLensBindingRecord>>;
671
+ listWorktrees(query: {
672
+ topicId?: string;
673
+ branchId?: string;
674
+ status?: import("./workflowClient").WorkflowWorktreeStatus;
675
+ groupBy?: "campaign" | "lane" | "flat";
676
+ lane?: string;
677
+ campaign?: number;
678
+ limit?: number;
679
+ } & import("./types").TopicIdentifierInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./types").WorkflowWorktreeRecord, "worktrees">>>;
680
+ listAllWorktrees(query?: {
681
+ status?: import("./workflowClient").WorkflowWorktreeStatus;
682
+ groupBy?: "campaign" | "lane" | "flat";
683
+ lane?: string;
684
+ campaign?: number;
685
+ limit?: number;
686
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListWorktreesResponse>>;
687
+ listCampaigns(query?: {
688
+ topicId?: string;
689
+ status?: import("./workflowClient").WorkflowWorktreeStatus;
690
+ limit?: number;
691
+ } & import("./types").TopicIdentifierInput): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
692
+ createWorktree(input: import("./workflowClient").AddWorktreeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
693
+ merge(worktreeId: string, input: import("./workflowClient").MergeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").MergeWorktreeResponse>>;
694
+ activateWorktree(worktreeId: string, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
695
+ updateWorktreeTargets(input: import("./workflowClient").UpdateWorktreeTargetsInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
696
+ completeWorktree(input: import("./workflowClient").CompleteWorktreeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
697
+ advanceWorktreePhase(input: import("./workflowClient").AdvanceWorktreePhaseInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
698
+ setWorktreePhase(input: import("./workflowClient").SetWorktreePhaseInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
699
+ patchWorktreeState(input: import("./workflowClient").PatchWorktreeStateInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
700
+ bulkCreateWorktrees(input: import("./workflowClient").BulkCreateWorktreesInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
701
+ openPullRequest(worktreeId: string, input: {
702
+ summary: string;
703
+ reviewers?: string[];
704
+ status?: "pending_review" | "changes_requested" | "approved" | "blocked";
705
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>;
706
+ push(worktreeId: string, input: {
707
+ targetContext: string;
708
+ beliefIds?: string[];
709
+ metadata?: JsonObject;
710
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").PushWorktreeResponse>>;
711
+ listTopics(query?: import("./workflowClient").ListTopicsInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListTopicsResponse>>;
712
+ switchTopicContext(input: import("./workflowClient").SwitchTopicContextInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").SwitchTopicContextResponse>>;
713
+ createTask(input: import("./workflowClient").CreateTaskInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").CreateTaskResponse>>;
714
+ completeTask(taskId: string, input: import("./workflowClient").CompleteTaskInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").CompleteTaskResponse>>;
715
+ updateTask(taskId: string, input: import("./workflowClient").UpdateTaskInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").UpdateTaskResponse>>;
716
+ } & {
717
+ addWorktree: (input: import("./workflowClient").AddWorktreeInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
718
+ createPillar: (input: {
719
+ name: string;
720
+ topicId?: string;
721
+ description?: string;
722
+ metadata?: JsonObject;
723
+ } & import("./types").TopicIdentifierInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").WorkflowBranchRecord>>;
724
+ createSprint: (input: import("./workflowClient").AddWorktreeInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").WorkflowWorktreeRecord>>;
725
+ completeSprint: (worktreeId: string, input: import("./workflowClient").MergeInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").MergeWorktreeResponse>>;
726
+ requestReview: (worktreeId: string, input: {
727
+ summary: string;
728
+ reviewers?: string[];
729
+ status?: "pending_review" | "changes_requested" | "approved" | "blocked";
730
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").OpenPullRequestResponse>>;
731
+ publishFindings: (worktreeId: string, input: {
732
+ targetContext: string;
733
+ beliefIds?: string[];
734
+ metadata?: JsonObject;
735
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").PushWorktreeResponse>>;
736
+ };
737
+ audit: {
738
+ listEvents(query?: import("./coreClient").GatewayScope & {
739
+ action?: string;
740
+ decision?: string;
741
+ traceId?: string;
742
+ principalId?: string;
743
+ topicId?: string;
744
+ limit?: number;
745
+ } & import("./types").TopicIdentifierInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "events">>>;
746
+ };
747
+ authDevice: {
748
+ createDeviceCode(input?: import("./authDeviceClient").DeviceCodeInput): Promise<import("./authDeviceClient").DeviceCodeResponse>;
749
+ pollDeviceToken(deviceCode: string): Promise<import("./authDeviceClient").DeviceTokenResponse>;
750
+ };
751
+ admin: {
752
+ listTenants(query?: {
753
+ status?: "provisioning" | "active" | "disabled" | "suspended" | "archived";
754
+ limit?: number;
755
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "tenants">>>;
756
+ createTenant(input: {
757
+ key: string;
758
+ slug?: string;
759
+ name: string;
760
+ tier?: "free" | "developer" | "team" | "enterprise";
761
+ status?: "provisioning" | "active" | "disabled" | "suspended" | "archived";
762
+ ownerClerkId?: string;
763
+ ownerEmail?: string;
764
+ lucernDeploymentUrl?: string;
765
+ appDeploymentUrl?: string;
766
+ metadata?: JsonObject;
767
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
768
+ getControlObjectOwnership: () => Promise<import("./coreClient").PlatformGatewaySuccess<import("./controlObjectOwnership").ControlObjectOwnershipContract>>;
769
+ getControlObjectOwnershipContract: () => Promise<import("./coreClient").PlatformGatewaySuccess<import("./controlObjectOwnership").ControlObjectOwnershipContract>>;
770
+ listWorkspaces(query?: import("./coreClient").GatewayScope & {
771
+ status?: "active" | "archived";
772
+ limit?: number;
773
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "workspaces">>>;
774
+ createWorkspace(input: import("./coreClient").GatewayScope & {
775
+ workspaceId?: string;
776
+ key?: string;
777
+ slug?: string;
778
+ name?: string;
779
+ status?: "active" | "archived";
780
+ defaultProjectVisibility?: "private" | "team" | "firm" | "external" | "public";
781
+ restore?: boolean;
782
+ metadata?: JsonObject;
783
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
784
+ listMemberships(query?: import("./coreClient").GatewayScope & {
785
+ principalId?: string;
786
+ status?: "active" | "invited" | "revoked" | "expired";
787
+ role?: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
788
+ limit?: number;
789
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "memberships">>>;
790
+ createMembership: (input: import("./coreClient").GatewayScope & {
791
+ membershipId?: string;
792
+ principalId: string;
793
+ role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
794
+ status?: "active" | "invited" | "revoked" | "expired";
795
+ source?: "bootstrap" | "manual" | "sync" | "sso" | "api" | "scim" | "invitation";
796
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
797
+ updateMembership: (input: import("./coreClient").GatewayScope & {
798
+ membershipId?: string;
799
+ principalId: string;
800
+ role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
801
+ status?: "active" | "invited" | "revoked" | "expired";
802
+ source?: "bootstrap" | "manual" | "sync" | "sso" | "api" | "scim" | "invitation";
803
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
804
+ upsertMembership: (input: import("./coreClient").GatewayScope & {
805
+ membershipId?: string;
806
+ principalId: string;
807
+ role: "platform_admin" | "tenant_admin" | "workspace_admin" | "editor" | "viewer" | "auditor" | "service_agent";
808
+ status?: "active" | "invited" | "revoked" | "expired";
809
+ source?: "bootstrap" | "manual" | "sync" | "sso" | "api" | "scim" | "invitation";
810
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
811
+ listTenantApiKeys(scope: import("./coreClient").GatewayScope & {
812
+ status?: "active" | "revoked" | "expired";
813
+ }): Promise<{
814
+ data: {
815
+ keys: import("./adminClient").TenantApiKeyRecord[];
816
+ };
817
+ correlationId: string;
818
+ idempotentReplay: boolean;
819
+ policyTraceId: string | null;
820
+ success: true;
821
+ }>;
822
+ createTenantApiKey(input: import("./coreClient").GatewayScope & {
823
+ label?: string;
824
+ scopes: string[];
825
+ expiresAt?: number;
826
+ }, idempotencyKey?: string): Promise<{
827
+ data: {
828
+ key: import("./adminClient").TenantApiKeyRecord | null;
829
+ plaintextKey: string | undefined;
830
+ };
831
+ correlationId: string;
832
+ idempotentReplay: boolean;
833
+ policyTraceId: string | null;
834
+ success: true;
835
+ }>;
836
+ revokeTenantApiKey(keyId: string, input?: import("./coreClient").GatewayScope & {
837
+ reason?: string;
838
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
839
+ listTenantVaultSecrets(scope: import("./coreClient").GatewayScope): Promise<{
840
+ data: {
841
+ secrets: import("./adminClient").TenantVaultSecretRecord[];
842
+ };
843
+ correlationId: string;
844
+ idempotentReplay: boolean;
845
+ policyTraceId: string | null;
846
+ success: true;
847
+ }>;
848
+ createTenantVaultSecret(input: import("./coreClient").GatewayScope & {
849
+ name: string;
850
+ description?: string;
851
+ value: string;
852
+ }, idempotencyKey?: string): Promise<{
853
+ data: {
854
+ secret: import("./adminClient").TenantVaultSecretRecord | null;
855
+ };
856
+ correlationId: string;
857
+ idempotentReplay: boolean;
858
+ policyTraceId: string | null;
859
+ success: true;
860
+ }>;
861
+ updateTenantVaultSecret(secretId: string, input: import("./coreClient").GatewayScope & {
862
+ name: string;
863
+ description?: string;
864
+ value?: string;
865
+ }, idempotencyKey?: string): Promise<{
866
+ data: {
867
+ secret: import("./adminClient").TenantVaultSecretRecord | null;
868
+ };
869
+ correlationId: string;
870
+ idempotentReplay: boolean;
871
+ policyTraceId: string | null;
872
+ success: true;
873
+ }>;
874
+ deleteTenantVaultSecret(secretId: string, scope: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
875
+ listTenantSecrets(scope: import("./coreClient").GatewayScope & {
876
+ providerId?: string;
877
+ status?: "active" | "revoked";
878
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
879
+ upsertTenantSecret(input: import("./coreClient").GatewayScope & {
880
+ providerId: string;
881
+ apiKey: string;
882
+ label?: string;
883
+ modelSlotIds?: string[];
884
+ passThroughOnly?: boolean;
885
+ metadata?: JsonObject;
886
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
887
+ revokeTenantSecret(secretRef: string, input: import("./coreClient").GatewayScope & {
888
+ reason?: string;
889
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
890
+ getTenantConfig(scope: import("./coreClient").GatewayScope & {
891
+ tenantId: string;
892
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./adminClient").TenantConfigRecord>>;
893
+ getTenantModelRouting(scope: import("./coreClient").GatewayScope & {
894
+ tenantId: string;
895
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./adminClient").TenantModelRoutingSnapshot>>;
896
+ upsertTenantConfig(input: import("./coreClient").GatewayScope & Omit<import("./adminClient").TenantConfigRecord, "updatedAt" | "updatedBy">, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./adminClient").TenantConfigRecord>>;
897
+ listGroups(scope?: import("./coreClient").GatewayScope & {
898
+ limit?: number;
899
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
900
+ createGroup(input: import("./coreClient").GatewayScope & {
901
+ name: string;
902
+ groupKey?: string;
903
+ groupType?: string;
904
+ description?: string;
905
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
906
+ updateGroup(groupId: string, input: import("./coreClient").GatewayScope & {
907
+ name?: string;
908
+ description?: string;
909
+ workspaceId?: string;
910
+ clearWorkspaceId?: boolean;
911
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
912
+ deleteGroup(groupId: string, input?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
913
+ listGroupMembers(query: import("./coreClient").GatewayScope & {
914
+ groupId: string;
915
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
916
+ addGroupMember(input: import("./coreClient").GatewayScope & {
917
+ groupId: string;
918
+ principalId: string;
919
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
920
+ removeGroupMember(input: import("./coreClient").GatewayScope & {
921
+ groupId: string;
922
+ principalId: string;
923
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
924
+ listPackGroupAssignments(query?: import("./coreClient").GatewayScope & {
925
+ groupId?: string;
926
+ status?: string;
927
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
928
+ assignPackToGroup(input: import("./coreClient").GatewayScope & {
929
+ groupId: string;
930
+ packKey: string;
931
+ packVersion?: string;
932
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
933
+ removePackFromGroup(input: import("./coreClient").GatewayScope & {
934
+ groupId: string;
935
+ packKey: string;
936
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
937
+ };
938
+ identity: {
939
+ whoami(): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").SdkPrincipalContext>>;
940
+ resolveInteractivePrincipal(input: import("./control-plane").ResolveInteractivePrincipalInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./control-plane").ResolvedInteractivePrincipalContext>>;
941
+ listPrincipals(query?: import("./coreClient").GatewayScope & {
942
+ status?: string;
943
+ principalType?: string;
944
+ query?: string;
945
+ limit?: number;
946
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "principals">>>;
947
+ createPrincipal(input: import("./coreClient").GatewayScope & {
948
+ principalId: string;
949
+ principalType: "user" | "group" | "service" | "external_viewer";
950
+ clerkId?: string;
951
+ email?: string;
952
+ displayName?: string;
953
+ status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
954
+ metadata?: JsonObject;
955
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
956
+ updatePrincipal: (input: import("./coreClient").GatewayScope & {
957
+ principalId: string;
958
+ principalType: "user" | "group" | "service" | "external_viewer";
959
+ clerkId?: string;
960
+ email?: string;
961
+ displayName?: string;
962
+ status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
963
+ metadata?: JsonObject;
964
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
965
+ upsertPrincipal: (input: import("./coreClient").GatewayScope & {
966
+ principalId: string;
967
+ principalType: "user" | "group" | "service" | "external_viewer";
968
+ clerkId?: string;
969
+ email?: string;
970
+ displayName?: string;
971
+ status?: "active" | "invited" | "suspended" | "disabled" | "revoked";
972
+ metadata?: JsonObject;
973
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
974
+ listKeys(query?: import("./coreClient").GatewayScope & {
975
+ principalId?: string;
976
+ status?: string;
977
+ limit?: number;
978
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "keys">>>;
979
+ createKey(input: import("./coreClient").GatewayScope & {
980
+ principalId: string;
981
+ keyId?: string;
982
+ token?: string;
983
+ scopes?: string[];
984
+ environment?: "sandbox" | "production";
985
+ expiresInDays?: number;
986
+ rateLimitTier?: "free" | "developer" | "partner";
987
+ metadata?: JsonObject;
988
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
989
+ rotateKey(keyId: string, input?: {
990
+ replacementKeyId?: string;
991
+ replacementToken?: string;
992
+ replacementExpiresInDays?: number;
993
+ gracePeriodHours?: number;
994
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
995
+ deleteKey: (keyId: string, input?: {
996
+ reason?: string;
997
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
998
+ revokeKey: (keyId: string, input?: {
999
+ reason?: string;
1000
+ }, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1001
+ searchClerkUsers(q: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").ClerkUserSearchResult[]>>;
1002
+ getTenantConfig(input: import("./identityClient").TenantIdentityScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").TenantIdentityConfigRecord>>;
1003
+ updateTenantConfig(input: import("./identityClient").UpdateTenantConfigInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").TenantIdentityConfigRecord>>;
1004
+ listIntegrations(input: import("./identityClient").TenantIdentityScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./identityClient").TenantIntegrationRecord, "integrations">>>;
1005
+ upsertIntegration(input: import("./identityClient").UpsertTenantIntegrationInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").TenantIntegrationRecord>>;
1006
+ listSecrets(input: import("./identityClient").TenantIdentityScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./identityClient").TenantSecretReference, "secrets">>>;
1007
+ putSecretReference(input: import("./identityClient").PutTenantSecretReferenceInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").TenantSecretReference>>;
1008
+ evaluatePolicy(input: import("./identityClient").PolicyEvaluationInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").PolicyDecisionRecord>>;
1009
+ recordPolicyDecision(input: import("./identityClient").RecordPolicyDecisionInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./identityClient").PolicyDecisionRecord>>;
1010
+ };
1011
+ policy: {
1012
+ listDecisions(query?: import("./coreClient").GatewayScope & {
1013
+ action?: string;
1014
+ decision?: string;
1015
+ traceId?: string;
1016
+ principalId?: string;
1017
+ topicId?: string;
1018
+ limit?: number;
1019
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "decisions">>>;
1020
+ grant(input: import("./coreClient").GatewayScope & {
1021
+ topicId: string;
1022
+ permission: import("./policyClient").PermissionKind;
1023
+ principal?: string;
1024
+ principalId?: string;
1025
+ groupId?: string;
1026
+ beliefClusterId?: string;
1027
+ expiresAt?: number;
1028
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1029
+ revoke(input: import("./coreClient").GatewayScope & {
1030
+ topicId: string;
1031
+ principal?: string;
1032
+ principalId?: string;
1033
+ groupId?: string;
1034
+ beliefClusterId?: string;
1035
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1036
+ listWritePolicies(query?: import("./coreClient").GatewayScope & {
1037
+ topicId?: string;
1038
+ role?: string;
1039
+ toolCategory?: string;
1040
+ enabled?: boolean;
1041
+ }): Promise<{
1042
+ data: {
1043
+ policies: import("./policyClient").WritePolicyRecord[];
1044
+ };
1045
+ correlationId: string;
1046
+ idempotentReplay: boolean;
1047
+ policyTraceId: string | null;
1048
+ success: true;
1049
+ }>;
1050
+ createWritePolicy(input: import("./policyClient").WritePolicyCreateInput, idempotencyKey?: string): Promise<{
1051
+ data: {
1052
+ id: string | undefined;
1053
+ created: boolean;
1054
+ policy: import("./policyClient").WritePolicyRecord | null;
1055
+ };
1056
+ correlationId: string;
1057
+ idempotentReplay: boolean;
1058
+ policyTraceId: string | null;
1059
+ success: true;
1060
+ }>;
1061
+ updateWritePolicy(id: string, input: import("./policyClient").WritePolicyUpdateInput, idempotencyKey?: string): Promise<{
1062
+ data: {
1063
+ id: string | undefined;
1064
+ updated: boolean;
1065
+ policy: import("./policyClient").WritePolicyRecord | null;
1066
+ };
1067
+ correlationId: string;
1068
+ idempotentReplay: boolean;
1069
+ policyTraceId: string | null;
1070
+ success: true;
1071
+ }>;
1072
+ deleteWritePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
1073
+ id?: string;
1074
+ deleted?: boolean;
1075
+ }>>;
1076
+ listRolePolicies(query?: import("./coreClient").GatewayScope): Promise<{
1077
+ data: {
1078
+ policies: import("./policyClient").TenantPolicyRecord[];
1079
+ };
1080
+ correlationId: string;
1081
+ idempotentReplay: boolean;
1082
+ policyTraceId: string | null;
1083
+ success: true;
1084
+ }>;
1085
+ createRolePolicy(input: import("./coreClient").GatewayScope & import("./policyClient").TenantPolicyClassificationFields & {
1086
+ roleName: string;
1087
+ description?: string;
1088
+ permissions: import("./policyClient").TenantPolicyPermission[];
1089
+ groupBindings?: string[];
1090
+ }, idempotencyKey?: string): Promise<{
1091
+ data: {
1092
+ policy: import("./policyClient").TenantPolicyRecord | null;
1093
+ };
1094
+ correlationId: string;
1095
+ idempotentReplay: boolean;
1096
+ policyTraceId: string | null;
1097
+ success: true;
1098
+ }>;
1099
+ updateRolePolicy(id: string, input: import("./coreClient").GatewayScope & import("./policyClient").TenantPolicyClassificationFields & {
1100
+ roleName: string;
1101
+ description?: string;
1102
+ permissions: import("./policyClient").TenantPolicyPermission[];
1103
+ groupBindings?: string[];
1104
+ }, idempotencyKey?: string): Promise<{
1105
+ data: {
1106
+ policy: import("./policyClient").TenantPolicyRecord | null;
1107
+ };
1108
+ correlationId: string;
1109
+ idempotentReplay: boolean;
1110
+ policyTraceId: string | null;
1111
+ success: true;
1112
+ }>;
1113
+ deleteRolePolicy(id: string, scope?: import("./coreClient").GatewayScope, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1114
+ checkPermission(query: import("./coreClient").GatewayScope & {
1115
+ topicId?: string;
1116
+ permission?: import("./policyClient").PermissionKind;
1117
+ principal?: string;
1118
+ principalId?: string;
1119
+ beliefClusterId?: string;
1120
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./policyClient").PermissionDecision>>;
1121
+ listAccessibleTopics(query?: import("./coreClient").GatewayScope & {
1122
+ permission?: import("./policyClient").PermissionKind;
1123
+ includeShared?: boolean;
1124
+ principal?: string;
1125
+ principalId?: string;
1126
+ limit?: number;
1127
+ }): Promise<{
1128
+ data: {
1129
+ permission: import("./policyClient").PermissionKind;
1130
+ topics: import("./policyClient").PolicyTopicRecord[];
1131
+ total: number;
1132
+ deniedTopics: {
1133
+ topicId: string;
1134
+ reasonCode: string;
1135
+ }[];
1136
+ };
1137
+ correlationId: string;
1138
+ idempotentReplay: boolean;
1139
+ policyTraceId: string | null;
1140
+ success: true;
1141
+ }>;
1142
+ filterByPermission(input: import("./coreClient").GatewayScope & {
1143
+ topicIds?: string[];
1144
+ permission?: import("./policyClient").PermissionKind;
1145
+ principal?: string;
1146
+ principalId?: string;
1147
+ }): Promise<{
1148
+ success: true;
1149
+ data: import("./policyClient").FilterByPermissionResponse;
1150
+ }>;
1151
+ };
1152
+ answers: {
1153
+ get(questionId: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
1154
+ };
1155
+ ontology: {
1156
+ list(filters?: import("./coreClient").GatewayScope & {
1157
+ tenantId?: string;
1158
+ tier?: string;
1159
+ status?: string;
1160
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<{
1161
+ ontologies: unknown[];
1162
+ total: number;
1163
+ items: unknown[];
1164
+ definitions: unknown[];
1165
+ }>>;
1166
+ get(id: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1167
+ bind(input: import("./ontologyClient").OntologyBindingInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1168
+ createDefinition(input: import("./ontologyClient").OntologyDefinitionInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1169
+ updateDefinition(id: string, input: import("./ontologyClient").OntologyDefinitionUpdateInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1170
+ archiveDefinition(id: string, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1171
+ listVersions(ontologyId: string, filters?: import("./coreClient").GatewayScope & {
1172
+ status?: string;
1173
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<unknown, "versions">>>;
1174
+ createVersion(ontologyId: string, input: import("./ontologyClient").OntologyVersionInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1175
+ publishVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1176
+ deprecateVersion(ontologyId: string, versionId: string, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1177
+ listTopics(ontologyId: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "topics">>>;
1178
+ } & {
1179
+ listDefinitions: (filters?: import("./coreClient").GatewayScope & {
1180
+ tenantId?: string;
1181
+ tier?: string;
1182
+ status?: string;
1183
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<{
1184
+ ontologies: unknown[];
1185
+ total: number;
1186
+ items: unknown[];
1187
+ definitions: unknown[];
1188
+ }>>;
1189
+ getDefinition: (id: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1190
+ listTopicsByOntology: (ontologyId: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "topics">>>;
1191
+ };
1192
+ ontologyLinks: {
1193
+ createLink(input: import("./ontologyLinksClient").OntologyLinkWriteInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./ontologyLinksClient").OntologyLinkRecord>>;
1194
+ upsertLink(input: import("./ontologyLinksClient").OntologyLinkWriteInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./ontologyLinksClient").OntologyLinkRecord>>;
1195
+ listLinksForNode(input: import("./ontologyLinksClient").ListOntologyLinksForNodeInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./ontologyLinksClient").OntologyLinkRecord, "links">>>;
1196
+ updateLinkStatus(input: import("./ontologyLinksClient").UpdateOntologyLinkStatusInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./ontologyLinksClient").OntologyLinkRecord>>;
1197
+ };
1198
+ orgGraphSearch: {
1199
+ search(input: import("./orgGraphSearchClient").OrgGraphSearchInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./orgGraphSearchClient").OrgGraphSearchResponse>>;
1200
+ getNode(input: import("./orgGraphSearchClient").GetOrgGraphNodeInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./orgGraphSearchClient").OrgGraphSearchResult>>;
1201
+ listByProvenance(input: import("./orgGraphSearchClient").ListOrgGraphByProvenanceInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./orgGraphSearchClient").OrgGraphSearchResponse>>;
1202
+ listPublishedFromWorkspace(input: import("./orgGraphSearchClient").ListPublishedFromWorkspaceInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./orgGraphSearchClient").OrgGraphSearchResponse>>;
1203
+ };
1204
+ functionSurface: {
1205
+ sessionId: string;
1206
+ activateWorktree(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1207
+ addEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1208
+ addWorktree(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1209
+ analyzeGraphImpact(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1210
+ analyzeTopicDensity(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1211
+ answerQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1212
+ appendSlScoring(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1213
+ applyAutoBranching(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1214
+ applyLensToTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1215
+ applyOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1216
+ archiveBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1217
+ archiveEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1218
+ archiveEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1219
+ archiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1220
+ archiveQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1221
+ batchCreateEdges(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1222
+ batchCreateEpistemicNodes(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1223
+ beginBuildSession(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1224
+ bisectConfidence(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1225
+ broadcastMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1226
+ checkPermission(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1227
+ claimFiles(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1228
+ compileCapabilitySlice(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1229
+ compileContext(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1230
+ completeTask(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1231
+ createAnswer(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1232
+ createBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1233
+ createEdge(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1234
+ createEpistemicContract(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1235
+ createEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1236
+ createEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1237
+ createLens(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1238
+ createOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1239
+ createOntologyVersion(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1240
+ createQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1241
+ createTask(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1242
+ createTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1243
+ deprecateOntologyVersion(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1244
+ detectConfirmationBias(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1245
+ detectGraphDrift(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1246
+ discover(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1247
+ discoverEntityConnections(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1248
+ endSession(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1249
+ evaluateContract(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1250
+ expandGraphNeighborhood(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1251
+ expandNarrative(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1252
+ filterByPermission(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1253
+ findContradictions(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1254
+ findMissingQuestions(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1255
+ findRelatedNodes(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1256
+ flagContradiction(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1257
+ forkBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1258
+ generateSessionHandoff(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1259
+ getAgentInbox(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1260
+ getAnswer(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1261
+ getAuditTrail(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1262
+ getBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1263
+ getCampaignContext(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1264
+ getChangeHistory(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1265
+ getCodeContext(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1266
+ getConfidenceHistory(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1267
+ getContractStatus(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1268
+ getByNodeIds(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1269
+ getEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1270
+ getEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1271
+ getFailureLog(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1272
+ getFalsificationQuestions(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1273
+ getGraphGaps(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1274
+ getGraphNeighborhood(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1275
+ getGraphStructureAnalysis(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1276
+ getHighPriorityQuestions(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1277
+ getLatticeCoverage(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1278
+ getLoadBearingNodes(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1279
+ getObservationContext(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1280
+ getOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1281
+ getOperatorGauntlet(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1282
+ getQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1283
+ getReasoningExemplars(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1284
+ getTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1285
+ getTopicCoverage(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1286
+ getTopicGraphSpine(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1287
+ getTopicTree(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1288
+ getWorktree(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1289
+ heartbeatSession(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1290
+ hybridDiscover(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1291
+ whoami(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1292
+ ingestObservation(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1293
+ linkEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1294
+ linkEvidenceToBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1295
+ linkEvidenceToQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1296
+ listActiveSessions(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1297
+ listAllWorktrees(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1298
+ listBeliefs(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1299
+ listCampaigns(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1300
+ listEpistemicNodes(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1301
+ listEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1302
+ listGraphIntelligenceQueries(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1303
+ listLenses(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1304
+ listMissingForTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1305
+ listOntologies(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1306
+ listQuestions(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1307
+ listTasks(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1308
+ listTopics(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1309
+ listWorktrees(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1310
+ listWorktreesByBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1311
+ lucernOrient(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1312
+ manageWritePolicy(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1313
+ matchEntityType(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1314
+ materializeTopicGraph(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1315
+ merge(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1316
+ openPullRequest(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1317
+ pipelineSnapshot(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1318
+ publishOntologyVersion(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1319
+ push(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1320
+ queryAnchorHistory(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1321
+ queryLineage(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1322
+ markEmbeddingBackfillQueued(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1323
+ recordAttempt(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1324
+ recordJudgment(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1325
+ recordScopeLearning(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1326
+ refineBelief(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1327
+ refineQuestion(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1328
+ registerSession(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1329
+ removeEdge(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1330
+ removeEdgesBetween(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1331
+ removeLensFromTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1332
+ resolveEffectiveOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1333
+ resolveInteractivePrincipal(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1334
+ resolveTopicSemantic(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1335
+ runGraphIntelligenceQuery(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1336
+ searchBeliefs(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1337
+ vectorSearchByTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1338
+ searchEvidence(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1339
+ seedBeliefLattice(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1340
+ sendAgentMessage(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1341
+ supersedeEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1342
+ traceEntityImpact(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1343
+ traverseGraph(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1344
+ triggerBeliefReview(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1345
+ updateEdge(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1346
+ updateEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1347
+ updateOntology(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1348
+ updateQuestionStatus(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1349
+ updateTask(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1350
+ updateTopic(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1351
+ updateWorktreeMetadata(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1352
+ updateWorktreeTargets(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1353
+ verifyEpistemicNode(input?: FunctionSurfaceInput, idempotencyKey?: string): import("./functionSurface").FunctionSurfaceResult<unknown>;
1354
+ };
1355
+ controlPlane: {
1356
+ identity: {
1357
+ resolveInteractivePrincipal(input: import("./control-plane").ResolveInteractivePrincipalInput): Promise<import("./control-plane").ResolveInteractivePrincipalResponse>;
1358
+ };
1359
+ };
1360
+ toolRegistry: {
1361
+ listCatalog(input: import("./toolRegistryClient").ToolRegistryQuery): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./toolRegistryClient").ToolCatalogEntry, "tools">>>;
1362
+ listExecutable(input: import("./toolRegistryClient").ToolRegistryQuery): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./toolRegistryClient").ToolCatalogEntry, "tools">>>;
1363
+ listEffectiveTools(input: import("./toolRegistryClient").EffectiveToolsQuery): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./toolRegistryClient").ToolCatalogEntry, "tools">>>;
1364
+ upsertCoreTools(input: import("./toolRegistryClient").UpsertCoreToolsInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./toolRegistryClient").ToolCatalogEntry, "tools">>>;
1365
+ setPackToolsStatus(input: import("./toolRegistryClient").SetPackToolsStatusInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./toolRegistryClient").ToolCatalogEntry, "tools">>>;
1366
+ createAcl(input: import("./toolRegistryClient").CreateToolAclInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./toolRegistryClient").ToolAclRecord>>;
1367
+ deleteAcl(input: import("./toolRegistryClient").DeleteToolAclInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
1368
+ aclId: string;
1369
+ deleted: boolean;
1370
+ }>>;
1371
+ registerCustomTool(input: import("./toolRegistryClient").RegisterCustomToolInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./toolRegistryClient").ToolCatalogEntry>>;
1372
+ };
1373
+ modelRuntime: {
1374
+ listModels(input: import("./modelRuntimeClient").ModelRuntimeScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./modelRuntimeClient").ModelRegistryRecord, "models">>>;
1375
+ getModel(input: import("./modelRuntimeClient").ModelRuntimeScope & {
1376
+ modelId: string;
1377
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./modelRuntimeClient").ModelRegistryRecord>>;
1378
+ listFunctionSlots(input: import("./modelRuntimeClient").ModelRuntimeScope & {
1379
+ functionName?: string;
1380
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./modelRuntimeClient").ModelFunctionSlot, "slots">>>;
1381
+ resolveSlot(input: import("./modelRuntimeClient").ResolveModelSlotInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./modelRuntimeClient").ModelFunctionSlot>>;
1382
+ updateSlotConfig(input: import("./modelRuntimeClient").UpdateModelSlotConfigInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./modelRuntimeClient").ModelFunctionSlot>>;
1383
+ };
1384
+ packs: {
1385
+ listCatalog(): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
1386
+ getDiscoveryCatalog(): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1387
+ getDiscoveryDetail(packKey: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1388
+ listStates(query?: import("./coreClient").GatewayScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
1389
+ getHealth(packKey: string, query?: import("./coreClient").GatewayScope): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1390
+ listTelemetry(query?: import("./coreClient").GatewayScope & {
1391
+ lookbackHours?: number;
1392
+ limit?: number;
1393
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "telemetry">>>;
1394
+ createEntitlement(input: import("./packsClient").PackEntitlementInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1395
+ install(input: import("./packsClient").PackInstallInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1396
+ enable(input: import("./packsClient").PackEnableInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1397
+ disable(input: import("./packsClient").PackDisableInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1398
+ uninstall(input: import("./packsClient").PackUninstallInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1399
+ upgrade(input: import("./packsClient").PackUpgradeInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1400
+ } & {
1401
+ getCatalog: () => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "catalog">>>;
1402
+ getStates: (query?: import("./coreClient").GatewayScope) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "states">>>;
1403
+ getTelemetry: (query?: import("./coreClient").GatewayScope & {
1404
+ lookbackHours?: number;
1405
+ limit?: number;
1406
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "telemetry">>>;
1407
+ updateEntitlement: (input: import("./packsClient").PackEntitlementInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1408
+ upsertEntitlement: (input: import("./packsClient").PackEntitlementInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1409
+ };
1410
+ reports: {
1411
+ listTemplates: (args?: {
1412
+ slug?: string;
1413
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ReportTemplatesResponse>>;
1414
+ getTemplates: (args?: {
1415
+ slug?: string;
1416
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ReportTemplatesResponse>>;
1417
+ listReports: (input: import("./types").TopicIdentifierInput, args?: {
1418
+ summary?: boolean;
1419
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "reports">>>;
1420
+ getReport: (reportId: string) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ReportWithSectionsResponse>>;
1421
+ };
1422
+ learning: {
1423
+ listRecentExecutions: (args?: {
1424
+ namespace?: string;
1425
+ topicId?: string;
1426
+ audienceMode?: string;
1427
+ success?: boolean;
1428
+ limit?: number;
1429
+ } & import("./types").TopicIdentifierInput) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "executions">>>;
1430
+ getRecentExecutions: (args?: {
1431
+ namespace?: string;
1432
+ topicId?: string;
1433
+ audienceMode?: string;
1434
+ success?: boolean;
1435
+ limit?: number;
1436
+ } & import("./types").TopicIdentifierInput) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "executions">>>;
1437
+ getExecutionStats: (args?: {
1438
+ namespace?: string;
1439
+ topicId?: string;
1440
+ audienceMode?: string;
1441
+ hours?: number;
1442
+ } & import("./types").TopicIdentifierInput) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1443
+ };
1444
+ mcp: {
1445
+ bootstrapSession(input?: import("./mcpClient").McpBootstrapSessionInput): Promise<import("./mcpClient").McpBootstrapSessionResponse>;
1446
+ checkWritePolicy(input: import("./mcpClient").McpCheckWritePolicyInput): Promise<import("./mcpClient").McpCheckWritePolicyResponse>;
1447
+ beginBuildSession(input: import("./mcpClient").McpBeginBuildSessionInput): Promise<import("./mcpClient").McpBeginBuildSessionResponse>;
1448
+ evaluateEngineeringContract(input: import("./mcpClient").McpEvaluateEngineeringContractInput): Promise<import("./mcpClient").McpContractEvaluationResponse>;
1449
+ evaluateResearchContract(input: import("./mcpClient").McpEvaluateResearchContractInput): Promise<import("./mcpClient").McpContractEvaluationResponse>;
1450
+ };
1451
+ jobs: {
1452
+ enqueue(input: import("./jobsClient").EnqueueJobInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRecord>>;
1453
+ list(input: import("./jobsClient").JobsScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./jobsClient").JobRecord, "jobs">>>;
1454
+ claim(input: import("./jobsClient").ClaimJobInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRecord>>;
1455
+ updateStatus(input: import("./jobsClient").UpdateJobStatusInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRecord>>;
1456
+ retry(input: import("./jobsClient").RetryJobInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRecord>>;
1457
+ recordRunStart(input: import("./jobsClient").RecordJobRunStartInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRunRecord>>;
1458
+ recordRunFinish(input: import("./jobsClient").RecordJobRunFinishInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./jobsClient").JobRunRecord>>;
1459
+ };
1460
+ telemetry: {
1461
+ logSystemEvent(input: import("./telemetry-client").LogSystemEventInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
1462
+ eventId?: string;
1463
+ recorded: boolean;
1464
+ }>>;
1465
+ logToolCallsBatch(input: import("./telemetry-client").LogToolCallsBatchInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
1466
+ recorded: number;
1467
+ }>>;
1468
+ recordEpistemicAudit(input: import("./telemetry-client").RecordEpistemicAuditInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
1469
+ auditId?: string;
1470
+ recorded: boolean;
1471
+ }>>;
1472
+ recordPolicyDecision(input: import("./telemetry-client").RecordTelemetryPolicyDecisionInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<{
1473
+ decisionId?: string;
1474
+ recorded: boolean;
1475
+ }>>;
1476
+ startRun(input: import("./telemetry-client").StartTelemetryRunInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./telemetry-client").TelemetryRunRecord>>;
1477
+ finishRun(input: import("./telemetry-client").FinishTelemetryRunInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./telemetry-client").TelemetryRunRecord>>;
1478
+ listRuns(input: import("./telemetry-client").TelemetryScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<import("./telemetry-client").TelemetryRunRecord, "runs">>>;
1479
+ };
1480
+ harness: {
1481
+ listAgentDefinitions(scope?: import("./coreClient").GatewayScope & {
1482
+ status?: string;
1483
+ limit?: number;
1484
+ cursor?: string;
1485
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "agents">>>;
1486
+ getAgentDefinition(agentId: string, scope?: import("./coreClient").GatewayScope): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1487
+ createAgentDefinition(input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1488
+ updateAgentDefinition(agentId: string, input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1489
+ invokeManagedAgentDefinition(agentId: string, input: Omit<import("./harnessClient").HarnessInvokeManagedAgentInput, "agentDefinitionId">, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1490
+ listAgentRuns(agentId: string, scope?: import("./coreClient").GatewayScope & {
1491
+ status?: string;
1492
+ limit?: number;
1493
+ cursor?: string;
1494
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
1495
+ listToolDefinitions(scope?: import("./coreClient").GatewayScope & {
1496
+ status?: string;
1497
+ limit?: number;
1498
+ cursor?: string;
1499
+ gateClassification?: string;
1500
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "tools">>>;
1501
+ getToolDefinition(toolId: string, scope?: import("./coreClient").GatewayScope): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1502
+ createToolDefinition(input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1503
+ updateToolDefinition(toolId: string, input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1504
+ executeToolDefinition(toolId: string, input?: import("./harnessClient").HarnessExecuteToolInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./harnessClient").HarnessExecuteToolResult>>;
1505
+ listRunEntries(scope?: import("./coreClient").GatewayScope & {
1506
+ status?: string;
1507
+ limit?: number;
1508
+ cursor?: string;
1509
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
1510
+ startHarnessRun(input: import("./harnessClient").HarnessStartRunInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1511
+ getRunLedgerEntry(runId: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1512
+ reportHarnessRunEvent(runId: string, input: import("./harnessClient").HarnessRunReportInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1513
+ heartbeatHarnessRun(runId: string, input: {
1514
+ reportingToken: string;
1515
+ }, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1516
+ completeHarnessRun(runId: string, input: import("./harnessClient").HarnessCompleteRunInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1517
+ listPromptResolutions(query?: {
1518
+ runId?: string;
1519
+ promptName?: string;
1520
+ limit?: number;
1521
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "prompts">>>;
1522
+ getScopeTaxonomy(): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1523
+ } & {
1524
+ registerAgentDefinition: (input: import("./harnessClient").HarnessAgentWriteInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1525
+ listRunsForAgent: (agentId: string, scope?: import("./coreClient").GatewayScope & {
1526
+ status?: string;
1527
+ limit?: number;
1528
+ cursor?: string;
1529
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
1530
+ registerToolDefinition: (input: import("./harnessClient").HarnessToolWriteInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1531
+ listRunLedgerEntries: (scope?: import("./coreClient").GatewayScope & {
1532
+ status?: string;
1533
+ limit?: number;
1534
+ cursor?: string;
1535
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "runs">>>;
1536
+ };
1537
+ schema: {
1538
+ listPacks(scope?: import("./coreClient").GatewayScope): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "packs">>>;
1539
+ installPack(input: import("./schema-client").SchemaPackInstallInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1540
+ getPack(packId: string, scope?: import("./coreClient").GatewayScope): Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1541
+ listEntitlements(scope?: import("./coreClient").GatewayScope & {
1542
+ packKey?: string;
1543
+ }): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "entitlements">>>;
1544
+ createEntitlement: (input: import("./schema-client").SchemaEntitlementInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1545
+ updateEntitlement: (input: import("./schema-client").SchemaEntitlementInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1546
+ upsertEntitlement: (input: import("./schema-client").SchemaEntitlementInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1547
+ };
1548
+ audiences: {
1549
+ listRegistry: (query?: import("./coreClient").GatewayScope & {
1550
+ effective?: boolean;
1551
+ status?: "active" | "disabled" | "archived";
1552
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "registryEntries">>>;
1553
+ getRegistry: (query?: import("./coreClient").GatewayScope & {
1554
+ effective?: boolean;
1555
+ status?: "active" | "disabled" | "archived";
1556
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "registryEntries">>>;
1557
+ createRegistryEntry: (input: import("./audiences-client").AudienceRegistryInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1558
+ updateRegistryEntry: (input: import("./audiences-client").AudienceRegistryInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1559
+ upsertRegistry: (input: import("./audiences-client").AudienceRegistryInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1560
+ listGrants: (query?: import("./coreClient").GatewayScope & {
1561
+ audienceKey?: string;
1562
+ principalId?: string;
1563
+ groupId?: string;
1564
+ status?: "active" | "revoked" | "expired";
1565
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "grants">>>;
1566
+ getGrants: (query?: import("./coreClient").GatewayScope & {
1567
+ audienceKey?: string;
1568
+ principalId?: string;
1569
+ groupId?: string;
1570
+ status?: "active" | "revoked" | "expired";
1571
+ }) => Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").ListResult<any, "grants">>>;
1572
+ createGrant: (input: import("./audiences-client").AudienceGrantInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1573
+ grant: (input: import("./audiences-client").AudienceGrantInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1574
+ deleteGrant: (input: import("./audiences-client").AudienceGrantRevokeInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1575
+ revokeGrant: (input: import("./audiences-client").AudienceGrantRevokeInput, idempotencyKey?: string) => Promise<import("./coreClient").PlatformGatewaySuccess<unknown>>;
1576
+ };
1577
+ topics: {
1578
+ list(query?: import("./topicsClient").TopicListInput): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").TopicListResponse>>;
1579
+ get(topicId: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").TopicRecord>>;
1580
+ create(input: import("./topicsClient").TopicCreateInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").TopicRecord>>;
1581
+ update(topicId: string, input: import("./topicsClient").TopicUpdateInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").TopicRecord>>;
1582
+ getTree(topicId: string, query?: import("./topicsClient").TopicTreeQuery): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
1583
+ getCoverage(topicId: string, query?: import("./topicsClient").TopicCoverageQuery): Promise<import("./coreClient").PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>;
1584
+ remove(topicId: string, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
1585
+ bulkCreate(input: import("./topicsClient").TopicBulkCreateInput, idempotencyKey?: string): Promise<import("./coreClient").PlatformGatewaySuccess<Record<string, unknown>>>;
195
1586
  };
196
1587
  };
197
1588
  };