@lucern/sdk 1.0.11 → 1.0.13

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