@lucern/sdk 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (331) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +35 -0
  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 +15 -67
  21. package/dist/beliefs/index.js +17 -10172
  22. package/dist/beliefs/lifecycle.d.ts +10 -11
  23. package/dist/beliefs/lifecycle.js +78 -80
  24. package/dist/beliefsClient.d.ts +26 -32
  25. package/dist/beliefsClient.js +250 -990
  26. package/dist/boundaryClientSurface.d.ts +11 -16
  27. package/dist/boundaryClientSurface.js +49 -68
  28. package/dist/client.d.ts +73 -112
  29. package/dist/client.js +232 -10146
  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 +7 -14
  35. package/dist/clientEvidenceCompat.js +50 -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 +6 -53
  41. package/dist/clientKnowledgeNamespaces.js +502 -506
  42. package/dist/clientLocalHelpers.d.ts +11 -56
  43. package/dist/clientLocalHelpers.js +503 -732
  44. package/dist/clientPlatformNamespaces.d.ts +14 -53
  45. package/dist/clientPlatformNamespaces.js +229 -314
  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 -10166
  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 -10168
  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 -10167
  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 +9 -60
  123. package/dist/evidence/index.js +13 -10167
  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 +79 -296
  133. package/dist/gatewayFacades.factories.d.ts +209 -14
  134. package/dist/gatewayFacades.factories.js +561 -2227
  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 -13304
  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 -10166
  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 -10168
  170. package/dist/ontologies/index.d.ts +21 -73
  171. package/dist/ontologies/index.js +14 -10169
  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 -10169
  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 -10169
  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 -10169
  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,19 +135,19 @@ 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;
@@ -170,13 +160,13 @@ type EvidenceCreateInput = {
170
160
  contentType?: string;
171
161
  kind?: string;
172
162
  };
173
- type EvidenceListQuery = {
163
+ export type EvidenceListQuery = {
174
164
  topicId?: string;
175
165
  targetId?: string;
176
166
  limit?: number;
177
167
  cursor?: string;
178
168
  };
179
- type EvidenceSearchInput = {
169
+ export type EvidenceSearchInput = {
180
170
  q: string;
181
171
  topicId?: string;
182
172
  targetId?: string;
@@ -184,14 +174,14 @@ type EvidenceSearchInput = {
184
174
  limit?: number;
185
175
  cursor?: string;
186
176
  };
187
- type EvidenceLinkInput = {
177
+ export type EvidenceLinkInput = {
188
178
  evidenceId: string;
189
179
  targetId: string;
190
180
  targetType?: "belief" | "question";
191
181
  weight?: number;
192
182
  rationale?: string;
193
183
  };
194
- type QuestionsListQuery = {
184
+ export type QuestionsListQuery = {
195
185
  topicId?: string;
196
186
  status?: string;
197
187
  priority?: string;
@@ -199,32 +189,32 @@ type QuestionsListQuery = {
199
189
  limit?: number;
200
190
  cursor?: string;
201
191
  };
202
- type QuestionCreateInput = {
192
+ export type QuestionCreateInput = {
203
193
  topicId?: string;
204
194
  text: string;
205
195
  priority?: string;
206
196
  linkedBeliefId?: string;
207
197
  metadata?: JsonObject;
208
198
  };
209
- type QuestionAnswerInput = {
199
+ export type QuestionAnswerInput = {
210
200
  text: string;
211
201
  confidence?: string;
212
202
  evidenceIds?: string[];
213
203
  rationale?: string;
214
204
  };
215
- type QuestionRefineInput = {
205
+ export type QuestionRefineInput = {
216
206
  text: string;
217
207
  rationale?: string;
218
208
  };
219
- type QuestionArchiveInput = {
209
+ export type QuestionArchiveInput = {
220
210
  reason?: string;
221
211
  rationale?: string;
222
212
  };
223
- type QuestionStatusInput = {
213
+ export type QuestionStatusInput = {
224
214
  status: string;
225
215
  rationale?: string;
226
216
  };
227
- type SearchQueryInput = {
217
+ export type SearchQueryInput = {
228
218
  q?: string;
229
219
  query?: string;
230
220
  topicId?: string;
@@ -234,7 +224,7 @@ type SearchQueryInput = {
234
224
  limit?: number;
235
225
  cursor?: string;
236
226
  };
237
- type TaskCreateInput = {
227
+ export type TaskCreateInput = {
238
228
  topicId?: string;
239
229
  title: string;
240
230
  description?: string;
@@ -244,7 +234,7 @@ type TaskCreateInput = {
244
234
  linkedQuestionId?: string;
245
235
  linkedWorktreeId?: string;
246
236
  };
247
- type TaskUpdateInput = {
237
+ export type TaskUpdateInput = {
248
238
  id: string;
249
239
  title?: string;
250
240
  description?: string;
@@ -257,17 +247,17 @@ type TaskUpdateInput = {
257
247
  linkedWorktreeId?: string;
258
248
  metadata?: JsonObject;
259
249
  };
260
- type TaskCompleteInput = {
250
+ export type TaskCompleteInput = {
261
251
  id: string;
262
252
  outputSummary: string;
263
253
  };
264
- type TaskListQuery = {
254
+ export type TaskListQuery = {
265
255
  topicId?: string;
266
256
  worktreeId?: string;
267
257
  status?: string;
268
258
  limit?: number;
269
259
  };
270
- type WorktreeCreateInput = {
260
+ export type WorktreeCreateInput = {
271
261
  title: string;
272
262
  topicId?: string;
273
263
  objective?: string;
@@ -320,7 +310,7 @@ type WorktreeCreateInput = {
320
310
  autoFixPolicy?: unknown;
321
311
  lensId?: string;
322
312
  };
323
- type WorktreeListQuery = {
313
+ export type WorktreeListQuery = {
324
314
  topicId?: string;
325
315
  status?: string;
326
316
  groupBy?: "campaign" | "lane" | "flat";
@@ -328,10 +318,10 @@ type WorktreeListQuery = {
328
318
  campaign?: number;
329
319
  limit?: number;
330
320
  };
331
- type WorktreeActivateInput = {
321
+ export type WorktreeActivateInput = {
332
322
  id: string;
333
323
  };
334
- type WorktreeUpdateInput = {
324
+ export type WorktreeUpdateInput = {
335
325
  id: string;
336
326
  objective?: string;
337
327
  hypothesis?: string;
@@ -352,7 +342,7 @@ type WorktreeUpdateInput = {
352
342
  autoFixPolicy?: unknown;
353
343
  lensId?: string;
354
344
  };
355
- type WorktreeMergeInput = {
345
+ export type WorktreeMergeInput = {
356
346
  id: string;
357
347
  summary?: string;
358
348
  outcomes: Array<string | {
@@ -361,31 +351,31 @@ type WorktreeMergeInput = {
361
351
  rationale: string;
362
352
  }>;
363
353
  };
364
- type WorktreeTargetsInput = {
354
+ export type WorktreeTargetsInput = {
365
355
  id: string;
366
356
  addBeliefIds?: string[];
367
357
  addQuestionIds?: string[];
368
358
  removeBeliefIds?: string[];
369
359
  removeQuestionIds?: string[];
370
360
  };
371
- type OntologyListInput = {
361
+ export type OntologyListInput = {
372
362
  tenantId?: string;
373
363
  tier?: string;
374
364
  status?: string;
375
365
  };
376
- type OntologyMatchInput = GatewayRecord;
377
- type WebhookCreateInput = GatewayRecord;
378
- type WebhookUpdateInput = GatewayRecord;
379
- type WebhookListQuery = {
366
+ export type OntologyMatchInput = GatewayRecord;
367
+ export type WebhookCreateInput = GatewayRecord;
368
+ export type WebhookUpdateInput = GatewayRecord;
369
+ export type WebhookListQuery = {
380
370
  topicId?: string;
381
371
  };
382
- type WebhookTestInput = {
372
+ export type WebhookTestInput = {
383
373
  topicId?: string;
384
374
  };
385
- type WebhookDeliveriesQuery = {
375
+ export type WebhookDeliveriesQuery = {
386
376
  limit?: number;
387
377
  };
388
- type EventsListQuery = {
378
+ export type EventsListQuery = {
389
379
  topicId?: string;
390
380
  after?: string;
391
381
  types?: string[];
@@ -393,34 +383,34 @@ type EventsListQuery = {
393
383
  endTime?: number;
394
384
  limit?: number;
395
385
  };
396
- type ReplayEventsInput = GatewayRecord;
397
-
398
- declare function createSearchFacade(config?: GatewayClientConfig): {
386
+ export type ReplayEventsInput = GatewayRecord;
387
+ export { createBeliefsFacade, createContradictionsFacade, createEdgesFacade, createEvidenceFacade, createEventsFacade, createGraphFacade, createIdentityFacade, createOntologiesFacade, createQuestionsFacade } from "./gatewayFacades.factories";
388
+ export declare function createSearchFacade(config?: GatewayClientConfig): {
399
389
  query(input: SearchQueryInput): Promise<PlatformGatewaySuccess<SearchResult>>;
400
390
  };
401
- declare function createTasksFacade(config?: GatewayClientConfig): {
391
+ export declare function createTasksFacade(config?: GatewayClientConfig): {
402
392
  create(input: TaskCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
403
393
  update(input: TaskUpdateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
404
394
  complete(input: TaskCompleteInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
405
395
  list(query: TaskListQuery): Promise<PlatformGatewaySuccess<TaskListResult>>;
406
396
  };
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>>;
397
+ export declare function createTopicsFacade(config?: GatewayClientConfig): {
398
+ create: (input: import("./topicsClient").TopicCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
399
+ get: (topicId: string) => Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
400
+ list: (query?: import("./topicsClient").TopicListInput) => Promise<PlatformGatewaySuccess<import("./types").TopicListResponse>>;
411
401
  update(input: TopicUpdateInput & {
412
402
  id: string;
413
- }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<TopicRecord>>;
403
+ }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<import("./types").TopicRecord>>;
414
404
  tree(input: TopicTreeQuery & {
415
405
  id: string;
416
- }): Promise<PlatformGatewaySuccess<TopicTreeResponse>>;
406
+ }): Promise<PlatformGatewaySuccess<import("./types").TopicTreeResponse>>;
417
407
  coverage(input: TopicCoverageQuery & {
418
408
  id: string;
419
- }): Promise<PlatformGatewaySuccess<TopicCoverageResponse>>;
409
+ }): Promise<PlatformGatewaySuccess<import("./types").TopicCoverageResponse>>;
420
410
  remove: (topicId: string, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
421
- bulkCreate: (input: TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
411
+ bulkCreate: (input: import("./topicsClient").TopicBulkCreateInput, idempotencyKey?: string) => Promise<PlatformGatewaySuccess<Record<string, unknown>>>;
422
412
  };
423
- declare function createWebhooksFacade(config?: GatewayClientConfig): {
413
+ export declare function createWebhooksFacade(config?: GatewayClientConfig): {
424
414
  create(input: WebhookCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
425
415
  list(query?: WebhookListQuery): Promise<PlatformGatewaySuccess<WebhooksListResult>>;
426
416
  get(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
@@ -430,7 +420,7 @@ declare function createWebhooksFacade(config?: GatewayClientConfig): {
430
420
  deliveries(id: string, query?: WebhookDeliveriesQuery): Promise<PlatformGatewaySuccess<GatewayRecord>>;
431
421
  health(id: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
432
422
  };
433
- declare function createWorktreesFacade(config?: GatewayClientConfig): {
423
+ export declare function createWorktreesFacade(config?: GatewayClientConfig): {
434
424
  create(input: WorktreeCreateInput, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
435
425
  list(query: WorktreeListQuery): Promise<PlatformGatewaySuccess<WorktreesListResult>>;
436
426
  listCampaigns(query?: {
@@ -463,211 +453,4 @@ declare function createWorktreesFacade(config?: GatewayClientConfig): {
463
453
  worktrees: unknown[];
464
454
  }, idempotencyKey?: string): Promise<PlatformGatewaySuccess<GatewayRecord>>;
465
455
  };
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 };
456
+ //# sourceMappingURL=gatewayFacades.d.ts.map