@coasys/ad4m 0.13.0-test-flows-1 → 0.13.1-staging.2

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 (958) hide show
  1. package/README.md +1 -0
  2. package/lib/index.cjs +9613 -7069
  3. package/lib/index.js +7367 -4840
  4. package/lib/src/Ad4mClient.d.ts +12 -4
  5. package/lib/src/Ad4mClient.js +15 -11
  6. package/lib/src/Literal.js +3 -3
  7. package/lib/src/agent/Agent.d.ts +4 -1
  8. package/lib/src/agent/Agent.js +6 -0
  9. package/lib/src/agent/AgentClient.d.ts +9 -23
  10. package/lib/src/agent/AgentClient.js +68 -148
  11. package/lib/src/ai/AIClient.d.ts +10 -6
  12. package/lib/src/ai/AIClient.js +29 -27
  13. package/lib/src/apiClient.d.ts +54 -42
  14. package/lib/src/apiClient.js +279 -252
  15. package/lib/src/expression/Expression.d.ts +13 -4
  16. package/lib/src/expression/Expression.js +0 -1
  17. package/lib/src/expression/ExpressionClient.js +1 -1
  18. package/lib/src/generated/api/AIPromptExamples.d.ts +4 -0
  19. package/lib/src/generated/api/AIPromptExamples.js +2 -0
  20. package/lib/src/generated/api/AIPromptExamplesInput.d.ts +4 -0
  21. package/lib/src/generated/api/AIPromptExamplesInput.js +2 -0
  22. package/lib/src/generated/api/AITask.d.ts +11 -0
  23. package/lib/src/generated/api/AITaskInput.d.ts +8 -0
  24. package/lib/src/generated/api/AddAgentInfosRequest.d.ts +3 -0
  25. package/lib/src/generated/api/AddAgentInfosRequest.js +2 -0
  26. package/lib/src/generated/api/AddLinkExpressionRequest.d.ts +2 -2
  27. package/lib/src/generated/api/AddLinkRequest.d.ts +2 -2
  28. package/lib/src/generated/api/AddLinksBulkRequest.d.ts +2 -2
  29. package/lib/src/generated/api/AddSdnaRequest.d.ts +2 -2
  30. package/lib/src/generated/api/Agent.d.ts +6 -0
  31. package/lib/src/generated/api/AgentAddEntanglementProofsParams.d.ts +9 -0
  32. package/lib/src/generated/api/AgentByDidParams.d.ts +3 -0
  33. package/lib/src/generated/api/AgentByDidParams.js +2 -0
  34. package/lib/src/generated/api/AgentRemoveAppParams.d.ts +3 -0
  35. package/lib/src/generated/api/AgentRemoveAppParams.js +2 -0
  36. package/lib/src/generated/api/AgentRevokeTokenParams.d.ts +3 -0
  37. package/lib/src/generated/api/AgentRevokeTokenParams.js +2 -0
  38. package/lib/src/generated/api/AgentSignature.d.ts +4 -0
  39. package/lib/src/generated/api/AgentSignature.js +2 -0
  40. package/lib/src/generated/api/AgentStatus.d.ts +8 -0
  41. package/lib/src/generated/api/AgentStatusChangedEvent.d.ts +7 -0
  42. package/lib/src/generated/api/AgentUpdatedEvent.d.ts +7 -0
  43. package/lib/src/generated/api/AgentsByDidsRequest.d.ts +3 -0
  44. package/lib/src/generated/api/AgentsByDidsRequest.js +2 -0
  45. package/lib/src/generated/api/AiAddModelParams.d.ts +4 -0
  46. package/lib/src/generated/api/AiAddTaskParams.d.ts +4 -0
  47. package/lib/src/generated/api/AiDiscoverModelsParams.d.ts +8 -0
  48. package/lib/src/generated/api/AiDiscoverModelsParams.js +2 -0
  49. package/lib/src/generated/api/AiGetDefaultModelParams.d.ts +4 -0
  50. package/lib/src/generated/api/AiIdParams.d.ts +3 -0
  51. package/lib/src/generated/api/AiIdParams.js +2 -0
  52. package/lib/src/generated/api/AiModelLoadingStatusParams.d.ts +7 -0
  53. package/lib/src/generated/api/AiModelLoadingStatusParams.js +2 -0
  54. package/lib/src/generated/api/AiSetDefaultModelParams.d.ts +5 -0
  55. package/lib/src/generated/api/AiSetDefaultModelParams.js +1 -0
  56. package/lib/src/generated/api/AiTranscriptionCloseParams.d.ts +3 -0
  57. package/lib/src/generated/api/AiTranscriptionCloseParams.js +2 -0
  58. package/lib/src/generated/api/AiTranscriptionOpenParams.d.ts +5 -0
  59. package/lib/src/generated/api/AiTranscriptionOpenParams.js +1 -0
  60. package/lib/src/generated/api/AiUpdateModelParams.d.ts +5 -0
  61. package/lib/src/generated/api/AiUpdateModelParams.js +1 -0
  62. package/lib/src/generated/api/AiUpdateTaskParams.d.ts +4 -0
  63. package/lib/src/generated/api/AiUpdateTaskParams.js +1 -0
  64. package/lib/src/generated/api/Apps.d.ts +7 -0
  65. package/lib/src/generated/api/Apps.js +1 -0
  66. package/lib/src/generated/api/AuthInfo.d.ts +10 -0
  67. package/lib/src/generated/api/AuthInfo.js +1 -0
  68. package/lib/src/generated/api/AuthInfoInput.d.ts +4 -4
  69. package/lib/src/generated/api/AutoProcessorEvent.d.ts +89 -0
  70. package/lib/src/generated/api/AutoProcessorEvent.js +1 -0
  71. package/lib/src/generated/api/AutoProcessorNeighbourhoodState.d.ts +32 -0
  72. package/lib/src/generated/api/AutoProcessorNeighbourhoodState.js +1 -0
  73. package/lib/src/generated/api/AutoProcessorStep.d.ts +7 -0
  74. package/lib/src/generated/api/AutoProcessorStep.js +2 -0
  75. package/lib/src/generated/api/BroadcastRequest.d.ts +5 -0
  76. package/lib/src/generated/api/BroadcastRequest.js +2 -0
  77. package/lib/src/generated/api/CallSessionInfo.d.ts +23 -0
  78. package/lib/src/generated/api/CallSessionInfo.js +2 -0
  79. package/lib/src/generated/api/Capability.d.ts +5 -0
  80. package/lib/src/generated/api/Capability.js +1 -0
  81. package/lib/src/generated/api/CreateSubjectRequest.d.ts +2 -2
  82. package/lib/src/generated/api/CreateUserRequest.d.ts +4 -0
  83. package/lib/src/generated/api/CreateUserRequest.js +2 -0
  84. package/lib/src/generated/api/DateTime.d.ts +1 -0
  85. package/lib/src/generated/api/DateTime.js +2 -0
  86. package/lib/src/generated/api/DecoratedExpressionProof.d.ts +6 -0
  87. package/lib/src/generated/api/DecoratedExpressionProof.js +2 -0
  88. package/lib/src/generated/api/DecoratedLinkExpression.d.ts +10 -0
  89. package/lib/src/generated/api/DecoratedLinkExpression.js +1 -0
  90. package/lib/src/generated/api/DecoratedNeighbourhoodExpression.d.ts +8 -0
  91. package/lib/src/generated/api/DecoratedNeighbourhoodExpression.js +1 -0
  92. package/lib/src/generated/api/DecoratedPerspective.d.ts +4 -0
  93. package/lib/src/generated/api/DecoratedPerspective.js +1 -0
  94. package/lib/src/generated/api/DiscardBatchRequest.d.ts +3 -0
  95. package/lib/src/generated/api/DiscardBatchRequest.js +2 -0
  96. package/lib/src/generated/api/DisposeQueryRequest.d.ts +3 -0
  97. package/lib/src/generated/api/DisposeQueryRequest.js +2 -0
  98. package/lib/src/generated/api/EntanglementProof.d.ts +8 -0
  99. package/lib/src/generated/api/EntanglementProof.js +2 -0
  100. package/lib/src/generated/api/EntanglementProofInput.d.ts +1 -1
  101. package/lib/src/generated/api/EntanglementProofPreflightRequest.d.ts +4 -0
  102. package/lib/src/generated/api/EntanglementProofPreflightRequest.js +2 -0
  103. package/lib/src/generated/api/EntanglementProofsWrapper.d.ts +7 -0
  104. package/lib/src/generated/api/EntanglementProofsWrapper.js +1 -0
  105. package/lib/src/generated/api/Events.d.ts +56 -0
  106. package/lib/src/generated/api/Events.js +18 -0
  107. package/lib/src/generated/api/ExceptionInfo.d.ts +7 -0
  108. package/lib/src/generated/api/ExceptionInfo.js +1 -0
  109. package/lib/src/generated/api/ExceptionOccurredEvent.d.ts +7 -0
  110. package/lib/src/generated/api/ExceptionOccurredEvent.js +1 -0
  111. package/lib/src/generated/api/ExceptionType.d.ts +1 -0
  112. package/lib/src/generated/api/ExceptionType.js +2 -0
  113. package/lib/src/generated/api/ExecuteCommandsRequest.d.ts +4 -2
  114. package/lib/src/generated/api/ExportRequest.d.ts +1 -1
  115. package/lib/src/generated/api/ExpressionInteractRequest.d.ts +5 -0
  116. package/lib/src/generated/api/ExpressionInteractRequest.js +1 -0
  117. package/lib/src/generated/api/ExpressionProofInput.d.ts +4 -4
  118. package/lib/src/generated/api/ExpressionRendered.d.ts +11 -0
  119. package/lib/src/generated/api/ExpressionRendered.js +1 -0
  120. package/lib/src/generated/api/ExpressionUrlRequest.d.ts +3 -0
  121. package/lib/src/generated/api/ExpressionUrlRequest.js +2 -0
  122. package/lib/src/generated/api/FireOutcome.d.ts +14 -0
  123. package/lib/src/generated/api/FireOutcome.js +2 -0
  124. package/lib/src/generated/api/FlowStateChangedEvent.d.ts +38 -0
  125. package/lib/src/generated/api/FlowStateChangedEvent.js +2 -0
  126. package/lib/src/generated/api/FlowStateEntry.d.ts +18 -0
  127. package/lib/src/generated/api/FlowStateEntry.js +2 -0
  128. package/lib/src/generated/api/FriendSendMessageRequest.d.ts +1 -1
  129. package/lib/src/generated/api/HostRate.d.ts +7 -0
  130. package/lib/src/generated/api/HostRate.js +2 -0
  131. package/lib/src/generated/api/HostingInfoResult.d.ts +13 -0
  132. package/lib/src/generated/api/HostingInfoResult.js +1 -0
  133. package/lib/src/generated/api/HostingInfoUser.d.ts +9 -0
  134. package/lib/src/generated/api/HostingInfoUser.js +2 -0
  135. package/lib/src/generated/api/HostingRequestPaymentResult.d.ts +4 -0
  136. package/lib/src/generated/api/HostingRequestPaymentResult.js +2 -0
  137. package/lib/src/generated/api/HostingUserInfo.d.ts +6 -0
  138. package/lib/src/generated/api/HostingUserInfo.js +2 -0
  139. package/lib/src/generated/api/HostingVersionInfo.d.ts +7 -0
  140. package/lib/src/generated/api/HostingVersionInfo.js +2 -0
  141. package/lib/src/generated/api/HostingWalletResult.d.ts +8 -0
  142. package/lib/src/generated/api/HostingWalletResult.js +1 -0
  143. package/lib/src/generated/api/IceServer.d.ts +18 -0
  144. package/lib/src/generated/api/IceServer.js +2 -0
  145. package/lib/src/generated/api/Icon.d.ts +3 -0
  146. package/lib/src/generated/api/Icon.js +2 -0
  147. package/lib/src/generated/api/ImportResult.d.ts +15 -0
  148. package/lib/src/generated/api/ImportResult.js +1 -0
  149. package/lib/src/generated/api/ImportStats.d.ts +7 -0
  150. package/lib/src/generated/api/ImportStats.js +2 -0
  151. package/lib/src/generated/api/InteractionCall.d.ts +4 -0
  152. package/lib/src/generated/api/InteractionCall.js +2 -0
  153. package/lib/src/generated/api/InteractionCallWrapper.d.ts +6 -0
  154. package/lib/src/generated/api/InteractionCallWrapper.js +2 -0
  155. package/lib/src/generated/api/InteractionMeta.d.ts +6 -0
  156. package/lib/src/generated/api/InteractionMeta.js +1 -0
  157. package/lib/src/generated/api/InteractionParameter.d.ts +4 -0
  158. package/lib/src/generated/api/InteractionParameter.js +2 -0
  159. package/lib/src/generated/api/LanguageAddressParams.d.ts +3 -0
  160. package/lib/src/generated/api/LanguageAddressParams.js +2 -0
  161. package/lib/src/generated/api/LanguageHandle.d.ts +9 -0
  162. package/lib/src/generated/api/LanguageHandle.js +1 -0
  163. package/lib/src/generated/api/LanguageListParams.d.ts +3 -0
  164. package/lib/src/generated/api/LanguageListParams.js +2 -0
  165. package/lib/src/generated/api/LanguageMeta.d.ts +11 -0
  166. package/lib/src/generated/api/LanguageMeta.js +2 -0
  167. package/lib/src/generated/api/LanguageMetaInput.d.ts +2 -2
  168. package/lib/src/generated/api/LanguageRef.d.ts +4 -0
  169. package/lib/src/generated/api/LanguageRef.js +2 -0
  170. package/lib/src/generated/api/LanguageSettingsWrapper.d.ts +6 -0
  171. package/lib/src/generated/api/LanguageSettingsWrapper.js +2 -0
  172. package/lib/src/generated/api/LanguageWriteSettingsParams.d.ts +4 -0
  173. package/lib/src/generated/api/LanguageWriteSettingsParams.js +2 -0
  174. package/lib/src/generated/api/LinkExpressionInput.d.ts +1 -1
  175. package/lib/src/generated/api/LinkInput.d.ts +1 -1
  176. package/lib/src/generated/api/LinkMutationRequest.d.ts +12 -0
  177. package/lib/src/generated/api/LinkMutationRequest.js +1 -0
  178. package/lib/src/generated/api/LinkMutationsRequest.d.ts +5 -0
  179. package/lib/src/generated/api/LinkMutationsRequest.js +1 -0
  180. package/lib/src/generated/api/LinkStatus.d.ts +1 -1
  181. package/lib/src/generated/api/LinkUpdateInput.d.ts +5 -0
  182. package/lib/src/generated/api/LinkUpdateInput.js +1 -0
  183. package/lib/src/generated/api/LocalModel.d.ts +7 -0
  184. package/lib/src/generated/api/LocalModel.js +1 -0
  185. package/lib/src/generated/api/LocalModelInput.d.ts +7 -0
  186. package/lib/src/generated/api/LocalModelInput.js +1 -0
  187. package/lib/src/generated/api/MessageReceivedEvent.d.ts +7 -0
  188. package/lib/src/generated/api/MessageReceivedEvent.js +1 -0
  189. package/lib/src/generated/api/Model.d.ts +10 -0
  190. package/lib/src/generated/api/Model.js +1 -0
  191. package/lib/src/generated/api/ModelApi.d.ts +17 -0
  192. package/lib/src/generated/api/ModelApi.js +1 -0
  193. package/lib/src/generated/api/ModelApiInput.d.ts +11 -0
  194. package/lib/src/generated/api/ModelApiInput.js +2 -0
  195. package/lib/src/generated/api/ModelApiType.d.ts +1 -0
  196. package/lib/src/generated/api/ModelApiType.js +2 -0
  197. package/lib/src/generated/api/ModelInput.d.ts +9 -0
  198. package/lib/src/generated/api/ModelInput.js +1 -0
  199. package/lib/src/generated/api/ModelType.d.ts +1 -1
  200. package/lib/src/generated/api/Neighbourhood.d.ts +5 -0
  201. package/lib/src/generated/api/Neighbourhood.js +1 -0
  202. package/lib/src/generated/api/NeighbourhoodBroadcastParams.d.ts +7 -0
  203. package/lib/src/generated/api/NeighbourhoodBroadcastParams.js +1 -0
  204. package/lib/src/generated/api/NeighbourhoodOnlineStatusParams.d.ts +6 -0
  205. package/lib/src/generated/api/NeighbourhoodOnlineStatusParams.js +1 -0
  206. package/lib/src/generated/api/NeighbourhoodPerspectivePayload.d.ts +7 -0
  207. package/lib/src/generated/api/NeighbourhoodPerspectivePayload.js +1 -0
  208. package/lib/src/generated/api/NeighbourhoodPhase.d.ts +6 -0
  209. package/lib/src/generated/api/NeighbourhoodPhase.js +2 -0
  210. package/lib/src/generated/api/NeighbourhoodSignalFilter.d.ts +8 -0
  211. package/lib/src/generated/api/NeighbourhoodSignalFilter.js +1 -0
  212. package/lib/src/generated/api/NeighbourhoodSignalParams.d.ts +7 -0
  213. package/lib/src/generated/api/NeighbourhoodSignalParams.js +1 -0
  214. package/lib/src/generated/api/NeighbourhoodSignedPerspective.d.ts +8 -0
  215. package/lib/src/generated/api/NeighbourhoodSignedPerspective.js +1 -0
  216. package/lib/src/generated/api/NeighbourhoodUuidParams.d.ts +3 -0
  217. package/lib/src/generated/api/NeighbourhoodUuidParams.js +2 -0
  218. package/lib/src/generated/api/Notification.d.ts +16 -0
  219. package/lib/src/generated/api/Notification.js +2 -0
  220. package/lib/src/generated/api/NotificationGrantRequest.d.ts +6 -0
  221. package/lib/src/generated/api/NotificationGrantRequest.js +2 -0
  222. package/lib/src/generated/api/NotificationInput.d.ts +1 -1
  223. package/lib/src/generated/api/NotificationTriggeredEvent.d.ts +9 -0
  224. package/lib/src/generated/api/NotificationTriggeredEvent.js +1 -0
  225. package/lib/src/generated/api/OnlineAgent.d.ts +9 -0
  226. package/lib/src/generated/api/OnlineAgent.js +1 -0
  227. package/lib/src/generated/api/OutputRef.d.ts +12 -0
  228. package/lib/src/generated/api/OutputRef.js +2 -0
  229. package/lib/src/generated/api/OverlayView.d.ts +24 -0
  230. package/lib/src/generated/api/OverlayView.js +1 -0
  231. package/lib/src/generated/api/Perspective.d.ts +4 -0
  232. package/lib/src/generated/api/Perspective.js +1 -0
  233. package/lib/src/generated/api/PerspectiveAddAutoProcessorParams.d.ts +26 -0
  234. package/lib/src/generated/api/PerspectiveAddAutoProcessorParams.js +2 -0
  235. package/lib/src/generated/api/PerspectiveAddLinkExpressionParams.d.ts +7 -0
  236. package/lib/src/generated/api/PerspectiveAddLinkExpressionParams.js +1 -0
  237. package/lib/src/generated/api/PerspectiveAddLinkParams.d.ts +7 -0
  238. package/lib/src/generated/api/PerspectiveAddLinkParams.js +1 -0
  239. package/lib/src/generated/api/PerspectiveAddLinksParams.d.ts +7 -0
  240. package/lib/src/generated/api/PerspectiveAddLinksParams.js +1 -0
  241. package/lib/src/generated/api/PerspectiveAddSdnaParams.d.ts +14 -0
  242. package/lib/src/generated/api/PerspectiveAddSdnaParams.js +1 -0
  243. package/lib/src/generated/api/PerspectiveAddSdnaResult.d.ts +4 -0
  244. package/lib/src/generated/api/PerspectiveAddSdnaResult.js +2 -0
  245. package/lib/src/generated/api/PerspectiveCommitBatchParams.d.ts +4 -0
  246. package/lib/src/generated/api/PerspectiveCommitBatchParams.js +2 -0
  247. package/lib/src/generated/api/PerspectiveCreateSubjectParams.d.ts +7 -0
  248. package/lib/src/generated/api/PerspectiveCreateSubjectParams.js +2 -0
  249. package/lib/src/generated/api/PerspectiveDiscardBatchParams.d.ts +4 -0
  250. package/lib/src/generated/api/PerspectiveDiscardBatchParams.js +2 -0
  251. package/lib/src/generated/api/PerspectiveEvaluateGettersParams.d.ts +9 -0
  252. package/lib/src/generated/api/PerspectiveEvaluateGettersParams.js +2 -0
  253. package/lib/src/generated/api/PerspectiveExecuteCommandsParams.d.ts +7 -0
  254. package/lib/src/generated/api/PerspectiveExecuteCommandsParams.js +2 -0
  255. package/lib/src/generated/api/PerspectiveExpression.d.ts +8 -0
  256. package/lib/src/generated/api/PerspectiveExpression.js +1 -0
  257. package/lib/src/generated/api/PerspectiveFlowFiredParams.d.ts +8 -0
  258. package/lib/src/generated/api/PerspectiveFlowFiredParams.js +2 -0
  259. package/lib/src/generated/api/PerspectiveFlowProposalParams.d.ts +4 -0
  260. package/lib/src/generated/api/PerspectiveFlowProposalParams.js +2 -0
  261. package/lib/src/generated/api/PerspectiveFlowReceiptVerdict.d.ts +12 -0
  262. package/lib/src/generated/api/PerspectiveFlowReceiptVerdict.js +1 -0
  263. package/lib/src/generated/api/PerspectiveFlowStatesParams.d.ts +11 -0
  264. package/lib/src/generated/api/PerspectiveFlowStatesParams.js +2 -0
  265. package/lib/src/generated/api/PerspectiveFlowValidOutputsParams.d.ts +8 -0
  266. package/lib/src/generated/api/PerspectiveFlowValidOutputsParams.js +2 -0
  267. package/lib/src/generated/api/PerspectiveGetAllShaclParams.d.ts +7 -0
  268. package/lib/src/generated/api/PerspectiveGetAllShaclParams.js +2 -0
  269. package/lib/src/generated/api/PerspectiveGetSubjectDataParams.d.ts +5 -0
  270. package/lib/src/generated/api/PerspectiveGetSubjectDataParams.js +2 -0
  271. package/lib/src/generated/api/PerspectiveHandle.d.ts +10 -0
  272. package/lib/src/generated/api/PerspectiveHandle.js +1 -0
  273. package/lib/src/generated/api/PerspectiveLinkDiff.d.ts +9 -0
  274. package/lib/src/generated/api/PerspectiveLinkDiff.js +1 -0
  275. package/lib/src/generated/api/PerspectiveLinkMutationsParams.d.ts +6 -0
  276. package/lib/src/generated/api/PerspectiveLinkMutationsParams.js +1 -0
  277. package/lib/src/generated/api/PerspectiveLinkUpdatedWithOwner.d.ts +7 -0
  278. package/lib/src/generated/api/PerspectiveLinkUpdatedWithOwner.js +1 -0
  279. package/lib/src/generated/api/PerspectiveLinkWithOwner.d.ts +6 -0
  280. package/lib/src/generated/api/PerspectiveLinkWithOwner.js +1 -0
  281. package/lib/src/generated/api/PerspectiveMintFlowReceiptParams.d.ts +4 -0
  282. package/lib/src/generated/api/PerspectiveMintFlowReceiptParams.js +2 -0
  283. package/lib/src/generated/api/PerspectiveMintFlowReceiptResult.d.ts +9 -0
  284. package/lib/src/generated/api/PerspectiveMintFlowReceiptResult.js +1 -0
  285. package/lib/src/generated/api/PerspectiveModelQueryParams.d.ts +13 -0
  286. package/lib/src/generated/api/PerspectiveModelQueryParams.js +2 -0
  287. package/lib/src/generated/api/PerspectiveNamedShacl.d.ts +6 -0
  288. package/lib/src/generated/api/PerspectiveNamedShacl.js +1 -0
  289. package/lib/src/generated/api/PerspectiveProposeFlowTransitionParams.d.ts +8 -0
  290. package/lib/src/generated/api/PerspectiveProposeFlowTransitionParams.js +1 -0
  291. package/lib/src/generated/api/PerspectiveQueryLinksParams.d.ts +15 -0
  292. package/lib/src/generated/api/PerspectiveQueryLinksParams.js +2 -0
  293. package/lib/src/generated/api/PerspectiveQueryParams.d.ts +4 -0
  294. package/lib/src/generated/api/PerspectiveQueryParams.js +2 -0
  295. package/lib/src/generated/api/PerspectiveReceiptOutcome.d.ts +1 -0
  296. package/lib/src/generated/api/PerspectiveReceiptOutcome.js +2 -0
  297. package/lib/src/generated/api/PerspectiveRejectFlowProposalResult.d.ts +3 -0
  298. package/lib/src/generated/api/PerspectiveRejectFlowProposalResult.js +2 -0
  299. package/lib/src/generated/api/PerspectiveRemoveAutoProcessorParams.d.ts +4 -0
  300. package/lib/src/generated/api/PerspectiveRemoveAutoProcessorParams.js +2 -0
  301. package/lib/src/generated/api/PerspectiveRemoveLinkParams.d.ts +6 -0
  302. package/lib/src/generated/api/PerspectiveRemoveLinkParams.js +1 -0
  303. package/lib/src/generated/api/PerspectiveRemoveLinksParams.d.ts +6 -0
  304. package/lib/src/generated/api/PerspectiveRemoveLinksParams.js +1 -0
  305. package/lib/src/generated/api/PerspectiveRemoveSubjectParams.d.ts +6 -0
  306. package/lib/src/generated/api/PerspectiveRemoveSubjectParams.js +2 -0
  307. package/lib/src/generated/api/PerspectiveRemovedWithOwner.d.ts +5 -0
  308. package/lib/src/generated/api/PerspectiveRemovedWithOwner.js +2 -0
  309. package/lib/src/generated/api/PerspectiveResolveInterpretationParams.d.ts +8 -0
  310. package/lib/src/generated/api/PerspectiveResolveInterpretationParams.js +2 -0
  311. package/lib/src/generated/api/PerspectiveResynced.d.ts +8 -0
  312. package/lib/src/generated/api/PerspectiveResynced.js +2 -0
  313. package/lib/src/generated/api/PerspectiveShacl.d.ts +5 -0
  314. package/lib/src/generated/api/PerspectiveShacl.js +1 -0
  315. package/lib/src/generated/api/PerspectiveShaclNameParams.d.ts +4 -0
  316. package/lib/src/generated/api/PerspectiveShaclNameParams.js +2 -0
  317. package/lib/src/generated/api/PerspectiveSparqlParams.d.ts +8 -0
  318. package/lib/src/generated/api/PerspectiveSparqlParams.js +2 -0
  319. package/lib/src/generated/api/PerspectiveState.d.ts +1 -0
  320. package/lib/src/generated/api/PerspectiveState.js +2 -0
  321. package/lib/src/generated/api/PerspectiveStateFilter.d.ts +7 -0
  322. package/lib/src/generated/api/PerspectiveStateFilter.js +1 -0
  323. package/lib/src/generated/api/PerspectiveSubjectClassesOfParams.d.ts +4 -0
  324. package/lib/src/generated/api/PerspectiveSubjectClassesOfParams.js +2 -0
  325. package/lib/src/generated/api/PerspectiveSubscribed.d.ts +10 -0
  326. package/lib/src/generated/api/PerspectiveSubscribed.js +2 -0
  327. package/lib/src/generated/api/PerspectiveSubscriptionParams.d.ts +4 -0
  328. package/lib/src/generated/api/PerspectiveSubscriptionParams.js +2 -0
  329. package/lib/src/generated/api/PerspectiveUnsignedInput.d.ts +4 -0
  330. package/lib/src/generated/api/PerspectiveUnsignedInput.js +1 -0
  331. package/lib/src/generated/api/PerspectiveUpdateLinkParams.d.ts +8 -0
  332. package/lib/src/generated/api/PerspectiveUpdateLinkParams.js +1 -0
  333. package/lib/src/generated/api/PerspectiveUpdateParams.d.ts +4 -0
  334. package/lib/src/generated/api/PerspectiveUpdateParams.js +2 -0
  335. package/lib/src/generated/api/PerspectiveUpdateSubjectParams.d.ts +10 -0
  336. package/lib/src/generated/api/PerspectiveUpdateSubjectParams.js +2 -0
  337. package/lib/src/generated/api/PerspectiveUuidParams.d.ts +3 -0
  338. package/lib/src/generated/api/PerspectiveUuidParams.js +2 -0
  339. package/lib/src/generated/api/PerspectiveVerifyFlowReceiptParams.d.ts +9 -0
  340. package/lib/src/generated/api/PerspectiveVerifyFlowReceiptParams.js +1 -0
  341. package/lib/src/generated/api/PerspectiveWithOwner.d.ts +6 -0
  342. package/lib/src/generated/api/PerspectiveWithOwner.js +1 -0
  343. package/lib/src/generated/api/ProposeOutcome.d.ts +45 -0
  344. package/lib/src/generated/api/ProposeOutcome.js +1 -0
  345. package/lib/src/generated/api/PublicPerspectiveInput.d.ts +4 -0
  346. package/lib/src/generated/api/PublicPerspectiveInput.js +1 -0
  347. package/lib/src/generated/api/PublishNeighbourhoodRequest.d.ts +2 -2
  348. package/lib/src/generated/api/QuerySubscriptionUpdate.d.ts +19 -0
  349. package/lib/src/generated/api/QuerySubscriptionUpdate.js +2 -0
  350. package/lib/src/generated/api/QuerySubscriptionUpdateEvent.d.ts +7 -0
  351. package/lib/src/generated/api/QuerySubscriptionUpdateEvent.js +1 -0
  352. package/lib/src/generated/api/QueryUpdatesLagged.d.ts +7 -0
  353. package/lib/src/generated/api/QueryUpdatesLagged.js +2 -0
  354. package/lib/src/generated/api/RemoveLinkRequest.d.ts +1 -1
  355. package/lib/src/generated/api/RemoveLinksBulkRequest.d.ts +1 -1
  356. package/lib/src/generated/api/RemoveSubjectRequest.d.ts +9 -0
  357. package/lib/src/generated/api/RemoveSubjectRequest.js +2 -0
  358. package/lib/src/generated/api/RequestCapabilityRequest.d.ts +4 -0
  359. package/lib/src/generated/api/RequestCapabilityRequest.js +1 -0
  360. package/lib/src/generated/api/RequestPaymentRequest.d.ts +3 -0
  361. package/lib/src/generated/api/RequestPaymentRequest.js +2 -0
  362. package/lib/src/generated/api/Resource.d.ts +4 -0
  363. package/lib/src/generated/api/Resource.js +2 -0
  364. package/lib/src/generated/api/ResyncSubscriptionRequest.d.ts +3 -0
  365. package/lib/src/generated/api/ResyncSubscriptionRequest.js +2 -0
  366. package/lib/src/generated/api/RpcMethods.d.ts +961 -0
  367. package/lib/src/generated/api/RpcMethods.js +98 -0
  368. package/lib/src/generated/api/RunInterpretationRequest.d.ts +27 -1
  369. package/lib/src/generated/api/RunInterpretationWithHarnessRequest.d.ts +52 -0
  370. package/lib/src/generated/api/RunInterpretationWithHarnessRequest.js +1 -0
  371. package/lib/src/generated/api/RuntimeComputeLogParams.d.ts +14 -0
  372. package/lib/src/generated/api/RuntimeComputeLogParams.js +2 -0
  373. package/lib/src/generated/api/RuntimeFriendStatusParams.d.ts +3 -0
  374. package/lib/src/generated/api/RuntimeFriendStatusParams.js +2 -0
  375. package/lib/src/generated/api/RuntimeGrantNotificationParams.d.ts +4 -0
  376. package/lib/src/generated/api/RuntimeGrantNotificationParams.js +2 -0
  377. package/lib/src/generated/api/RuntimeImportPerspectiveResult.d.ts +4 -0
  378. package/lib/src/generated/api/RuntimeImportPerspectiveResult.js +2 -0
  379. package/lib/src/generated/api/RuntimeImportResult.d.ts +6 -0
  380. package/lib/src/generated/api/RuntimeImportResult.js +1 -0
  381. package/lib/src/generated/api/RuntimeInfo.d.ts +5 -0
  382. package/lib/src/generated/api/RuntimeInfo.js +2 -0
  383. package/lib/src/generated/api/RuntimeNotificationIdParams.d.ts +3 -0
  384. package/lib/src/generated/api/RuntimeNotificationIdParams.js +2 -0
  385. package/lib/src/generated/api/RuntimeSendFriendMessageParams.d.ts +8 -0
  386. package/lib/src/generated/api/RuntimeSendFriendMessageParams.js +1 -0
  387. package/lib/src/generated/api/RuntimeSetFreeHostingEnabledParams.d.ts +3 -0
  388. package/lib/src/generated/api/RuntimeSetFreeHostingEnabledParams.js +2 -0
  389. package/lib/src/generated/api/RuntimeUnytSendHotParams.d.ts +4 -0
  390. package/lib/src/generated/api/RuntimeUnytSendHotParams.js +2 -0
  391. package/lib/src/generated/api/RuntimeUnytWalletHistoryParams.d.ts +4 -0
  392. package/lib/src/generated/api/RuntimeUnytWalletHistoryParams.js +2 -0
  393. package/lib/src/generated/api/RuntimeUpdateNotificationParams.d.ts +11 -0
  394. package/lib/src/generated/api/RuntimeUpdateNotificationParams.js +2 -0
  395. package/lib/src/generated/api/SentMessage.d.ts +5 -0
  396. package/lib/src/generated/api/SentMessage.js +1 -0
  397. package/lib/src/generated/api/SetHostRatesRequest.d.ts +4 -0
  398. package/lib/src/generated/api/SetHostRatesRequest.js +1 -0
  399. package/lib/src/generated/api/SetHotWalletAddressRequest.d.ts +3 -0
  400. package/lib/src/generated/api/SetHotWalletAddressRequest.js +2 -0
  401. package/lib/src/generated/api/SetOnlineStatusRequest.d.ts +4 -0
  402. package/lib/src/generated/api/SetOnlineStatusRequest.js +2 -0
  403. package/lib/src/generated/api/SetUnytMembraneProofRequest.d.ts +6 -0
  404. package/lib/src/generated/api/SetUnytMembraneProofRequest.js +2 -0
  405. package/lib/src/generated/api/SetUserFreeAccessRequest.d.ts +4 -0
  406. package/lib/src/generated/api/SetUserFreeAccessRequest.js +2 -0
  407. package/lib/src/generated/api/SfuAddIceCandidateParams.d.ts +8 -0
  408. package/lib/src/generated/api/SfuAddIceCandidateParams.js +2 -0
  409. package/lib/src/generated/api/SfuAnswerServerOfferParams.d.ts +8 -0
  410. package/lib/src/generated/api/SfuAnswerServerOfferParams.js +2 -0
  411. package/lib/src/generated/api/SfuCallJoinParams.d.ts +14 -0
  412. package/lib/src/generated/api/SfuCallJoinParams.js +2 -0
  413. package/lib/src/generated/api/SfuCallRenegotiationOffer.d.ts +30 -0
  414. package/lib/src/generated/api/SfuCallRenegotiationOffer.js +1 -0
  415. package/lib/src/generated/api/SfuCascadePipe.d.ts +4 -0
  416. package/lib/src/generated/api/SfuCascadePipe.js +2 -0
  417. package/lib/src/generated/api/SfuCascadeStatus.d.ts +8 -0
  418. package/lib/src/generated/api/SfuCascadeStatus.js +1 -0
  419. package/lib/src/generated/api/SfuConfig.d.ts +52 -0
  420. package/lib/src/generated/api/SfuConfig.js +1 -0
  421. package/lib/src/generated/api/SfuDataMessage.d.ts +24 -0
  422. package/lib/src/generated/api/SfuDataMessage.js +2 -0
  423. package/lib/src/generated/api/SfuEnsureMembershipParams.d.ts +4 -0
  424. package/lib/src/generated/api/SfuEnsureMembershipParams.js +2 -0
  425. package/lib/src/generated/api/SfuMigrateEvent.d.ts +21 -0
  426. package/lib/src/generated/api/SfuMigrateEvent.js +2 -0
  427. package/lib/src/generated/api/SfuNeighbourhoodParams.d.ts +3 -0
  428. package/lib/src/generated/api/SfuNeighbourhoodParams.js +2 -0
  429. package/lib/src/generated/api/SfuParticipantQualityPreference.d.ts +7 -0
  430. package/lib/src/generated/api/SfuParticipantQualityPreference.js +2 -0
  431. package/lib/src/generated/api/SfuPerspectiveParams.d.ts +6 -0
  432. package/lib/src/generated/api/SfuPerspectiveParams.js +2 -0
  433. package/lib/src/generated/api/SfuQualityPreferenceParams.d.ts +8 -0
  434. package/lib/src/generated/api/SfuQualityPreferenceParams.js +2 -0
  435. package/lib/src/generated/api/SfuRoomInfo.d.ts +11 -0
  436. package/lib/src/generated/api/SfuRoomInfo.js +1 -0
  437. package/lib/src/generated/api/SfuRoomParams.d.ts +4 -0
  438. package/lib/src/generated/api/SfuRoomParams.js +2 -0
  439. package/lib/src/generated/api/SfuRoomParticipantInfo.d.ts +11 -0
  440. package/lib/src/generated/api/SfuRoomParticipantInfo.js +2 -0
  441. package/lib/src/generated/api/SfuRoomRoster.d.ts +13 -0
  442. package/lib/src/generated/api/SfuRoomRoster.js +2 -0
  443. package/lib/src/generated/api/SfuSendDataParams.d.ts +10 -0
  444. package/lib/src/generated/api/SfuSendDataParams.js +2 -0
  445. package/lib/src/generated/api/SfuSetConfigParams.d.ts +5 -0
  446. package/lib/src/generated/api/SfuSetConfigParams.js +1 -0
  447. package/lib/src/generated/api/SfuStatus.d.ts +24 -0
  448. package/lib/src/generated/api/SfuStatus.js +2 -0
  449. package/lib/src/generated/api/ShaclLinkTriple.d.ts +10 -0
  450. package/lib/src/generated/api/ShaclLinkTriple.js +2 -0
  451. package/lib/src/generated/api/SignalRequest.d.ts +5 -0
  452. package/lib/src/generated/api/SignalRequest.js +2 -0
  453. package/lib/src/generated/api/SubscribeQueryRequest.d.ts +3 -0
  454. package/lib/src/generated/api/SubscribeQueryRequest.js +2 -0
  455. package/lib/src/generated/api/TokenizerSource.d.ts +5 -0
  456. package/lib/src/generated/api/TokenizerSource.js +2 -0
  457. package/lib/src/generated/api/TokenizerSourceInput.d.ts +5 -0
  458. package/lib/src/generated/api/TokenizerSourceInput.js +2 -0
  459. package/lib/src/generated/api/TrackMapEntry.d.ts +17 -0
  460. package/lib/src/generated/api/TrackMapEntry.js +2 -0
  461. package/lib/src/generated/api/TranscriptionTextFilter.d.ts +5 -0
  462. package/lib/src/generated/api/TranscriptionTextFilter.js +2 -0
  463. package/lib/src/generated/api/TriggeredNotification.d.ts +6 -0
  464. package/lib/src/generated/api/TriggeredNotification.js +1 -0
  465. package/lib/src/generated/api/TrustedAgentsWrapper.d.ts +6 -0
  466. package/lib/src/generated/api/TrustedAgentsWrapper.js +2 -0
  467. package/lib/src/generated/api/UnlockAgentRequest.d.ts +1 -1
  468. package/lib/src/generated/api/UnytVersionInfo.d.ts +19 -0
  469. package/lib/src/generated/api/UnytVersionInfo.js +2 -0
  470. package/lib/src/generated/api/UpdateLinkRequest.d.ts +1 -1
  471. package/lib/src/generated/api/UpdateProfileRequest.d.ts +5 -0
  472. package/lib/src/generated/api/UpdateProfileRequest.js +1 -0
  473. package/lib/src/generated/api/UpdateSubjectRequest.d.ts +12 -0
  474. package/lib/src/generated/api/UpdateSubjectRequest.js +2 -0
  475. package/lib/src/generated/api/UserCreationResult.d.ts +5 -0
  476. package/lib/src/generated/api/UserCreationResult.js +2 -0
  477. package/lib/src/generated/api/UserStatistics.d.ts +2 -1
  478. package/lib/src/generated/api/UserStatistics.js +0 -1
  479. package/lib/src/generated/api/UsersAppInfo.d.ts +6 -0
  480. package/lib/src/generated/api/UsersAppInfo.js +2 -0
  481. package/lib/src/generated/api/UsersEmailParams.d.ts +3 -0
  482. package/lib/src/generated/api/UsersEmailParams.js +2 -0
  483. package/lib/src/generated/api/UsersEmailTestAction.d.ts +1 -0
  484. package/lib/src/generated/api/UsersEmailTestAction.js +2 -0
  485. package/lib/src/generated/api/UsersEmailTestParams.d.ts +14 -0
  486. package/lib/src/generated/api/UsersEmailTestParams.js +1 -0
  487. package/lib/src/generated/api/UsersEmailTestResult.d.ts +5 -0
  488. package/lib/src/generated/api/UsersEmailTestResult.js +2 -0
  489. package/lib/src/generated/api/UsersLoginParams.d.ts +8 -0
  490. package/lib/src/generated/api/UsersLoginParams.js +2 -0
  491. package/lib/src/generated/api/UsersRequestVerificationParams.d.ts +5 -0
  492. package/lib/src/generated/api/UsersRequestVerificationParams.js +1 -0
  493. package/lib/src/generated/api/UsersSetCreditsParams.d.ts +4 -0
  494. package/lib/src/generated/api/UsersSetCreditsParams.js +2 -0
  495. package/lib/src/generated/api/UsersVerifyEmailParams.d.ts +12 -0
  496. package/lib/src/generated/api/UsersVerifyEmailParams.js +2 -0
  497. package/lib/src/generated/api/ValidOutput.d.ts +29 -0
  498. package/lib/src/generated/api/ValidOutput.js +1 -0
  499. package/lib/src/generated/api/VoiceActivityParamsInput.d.ts +7 -0
  500. package/lib/src/generated/api/VoiceActivityParamsInput.js +2 -0
  501. package/lib/src/generated/api/index.d.ts +11 -0
  502. package/lib/src/generated/api/index.js +5 -3
  503. package/lib/src/generated/api/serde_json/JsonValue.d.ts +3 -0
  504. package/lib/src/generated/api/serde_json/JsonValue.js +2 -0
  505. package/lib/src/index.d.ts +9 -3
  506. package/lib/src/index.js +5 -3
  507. package/lib/src/language/LanguageClient.d.ts +3 -3
  508. package/lib/src/language/LanguageClient.js +6 -6
  509. package/lib/src/language/LanguageMeta.d.ts +1 -1
  510. package/lib/src/links/Links.d.ts +16 -5
  511. package/lib/src/links/Links.js +34 -0
  512. package/lib/src/model/Ad4mModel.d.ts +84 -0
  513. package/lib/src/model/Ad4mModel.js +365 -72
  514. package/lib/src/model/ModelQueryBuilder.d.ts +15 -13
  515. package/lib/src/model/ModelQueryBuilder.js +78 -221
  516. package/lib/src/model/decorators.d.ts +52 -2
  517. package/lib/src/model/decorators.js +83 -8
  518. package/lib/src/model/query-sparql.js +2 -3
  519. package/lib/src/model/shacl-gen.d.ts +3 -1
  520. package/lib/src/model/shacl-gen.js +40 -10
  521. package/lib/src/model/types.d.ts +19 -0
  522. package/lib/src/neighbourhood/MeshManager.d.ts +384 -0
  523. package/lib/src/neighbourhood/MeshManager.js +1144 -0
  524. package/lib/src/neighbourhood/Neighbourhood.d.ts +1 -1
  525. package/lib/src/neighbourhood/NeighbourhoodClient.d.ts +96 -5
  526. package/lib/src/neighbourhood/NeighbourhoodClient.js +211 -15
  527. package/lib/src/neighbourhood/NeighbourhoodProxy.d.ts +55 -1
  528. package/lib/src/neighbourhood/NeighbourhoodProxy.js +170 -3
  529. package/lib/src/neighbourhood/Session.d.ts +105 -0
  530. package/lib/src/neighbourhood/Session.js +412 -0
  531. package/lib/src/neighbourhood/SfuManager.d.ts +174 -0
  532. package/lib/src/neighbourhood/SfuManager.js +619 -0
  533. package/lib/src/neighbourhood/SfuTypes.d.ts +35 -0
  534. package/lib/src/neighbourhood/SfuTypes.js +8 -0
  535. package/lib/src/notifyListeners.d.ts +2 -0
  536. package/lib/src/notifyListeners.js +12 -0
  537. package/lib/src/perspectives/AutoProcessor.d.ts +12 -80
  538. package/lib/src/perspectives/FlowInstance.d.ts +73 -26
  539. package/lib/src/perspectives/FlowInstance.js +96 -31
  540. package/lib/src/perspectives/FlowModels.d.ts +30 -9
  541. package/lib/src/perspectives/FlowModels.js +43 -14
  542. package/lib/src/perspectives/InterpretationModels.d.ts +2 -0
  543. package/lib/src/perspectives/InterpretationModels.js +6 -0
  544. package/lib/src/perspectives/LiveQuery.d.ts +49 -0
  545. package/lib/src/perspectives/LiveQuery.js +169 -0
  546. package/lib/src/perspectives/Perspective.d.ts +8 -1
  547. package/lib/src/perspectives/Perspective.js +11 -0
  548. package/lib/src/perspectives/PerspectiveClient.d.ts +38 -65
  549. package/lib/src/perspectives/PerspectiveClient.js +87 -257
  550. package/lib/src/perspectives/PerspectiveDiff.d.ts +1 -1
  551. package/lib/src/perspectives/PerspectiveHandle.d.ts +15 -8
  552. package/lib/src/perspectives/PerspectiveHandle.js +25 -9
  553. package/lib/src/perspectives/PerspectiveProxy.d.ts +102 -228
  554. package/lib/src/perspectives/PerspectiveProxy.js +247 -673
  555. package/lib/src/perspectives/TextContent.d.ts +31 -0
  556. package/lib/src/perspectives/TextContent.js +52 -0
  557. package/lib/src/perspectives/WakerSubscriptionManager.d.ts +23 -0
  558. package/lib/src/perspectives/WakerSubscriptionManager.js +58 -21
  559. package/lib/src/runtime/RuntimeClient.d.ts +15 -27
  560. package/lib/src/runtime/RuntimeClient.js +57 -113
  561. package/lib/src/runtime/RuntimeTypes.d.ts +2 -2
  562. package/lib/src/runtime/RuntimeTypes.js +2 -2
  563. package/lib/src/shacl/SHACLFlow.d.ts +34 -6
  564. package/lib/src/shacl/SHACLFlow.js +62 -15
  565. package/lib/src/shacl/SHACLShape.d.ts +12 -0
  566. package/lib/src/shacl/SHACLShape.js +206 -321
  567. package/package.json +15 -16
  568. package/pnpm-workspace.yaml +4 -1
  569. package/src/Ad4mClient.test.ts +481 -144
  570. package/src/Ad4mClient.ts +16 -12
  571. package/src/Literal.test.ts +32 -0
  572. package/src/Literal.ts +3 -3
  573. package/src/agent/Agent.ts +8 -0
  574. package/src/agent/AgentClient.ts +87 -195
  575. package/src/agent/mutatePublicPerspective.test.ts +110 -0
  576. package/src/ai/AIClient.ts +40 -43
  577. package/src/ai/transcription-stream.test.ts +54 -0
  578. package/src/apiClient.test.ts +613 -185
  579. package/src/apiClient.ts +282 -288
  580. package/src/cache/cache.test.ts +7 -8
  581. package/src/expression/Expression.ts +12 -3
  582. package/src/expression/ExpressionClient.ts +6 -7
  583. package/src/generated/api/AIPromptExamples.ts +3 -0
  584. package/src/generated/api/AIPromptExamplesInput.ts +3 -0
  585. package/src/generated/api/AITask.ts +4 -0
  586. package/src/generated/api/AITaskInput.ts +4 -0
  587. package/src/generated/api/AddAgentInfosRequest.ts +3 -0
  588. package/src/generated/api/AddLinkExpressionRequest.ts +1 -1
  589. package/src/generated/api/AddLinkRequest.ts +1 -1
  590. package/src/generated/api/AddLinksBulkRequest.ts +1 -1
  591. package/src/generated/api/AddSdnaRequest.ts +1 -1
  592. package/src/generated/api/Agent.ts +4 -0
  593. package/src/generated/api/AgentAddEntanglementProofsParams.ts +8 -0
  594. package/src/generated/api/AgentByDidParams.ts +3 -0
  595. package/src/generated/api/AgentRemoveAppParams.ts +3 -0
  596. package/src/generated/api/AgentRevokeTokenParams.ts +3 -0
  597. package/src/generated/api/AgentSignature.ts +3 -0
  598. package/src/generated/api/AgentStatus.ts +4 -0
  599. package/src/generated/api/AgentStatusChangedEvent.ts +7 -0
  600. package/src/generated/api/AgentUpdatedEvent.ts +7 -0
  601. package/src/generated/api/AgentsByDidsRequest.ts +3 -0
  602. package/src/generated/api/AiAddModelParams.ts +4 -0
  603. package/src/generated/api/AiAddTaskParams.ts +4 -0
  604. package/src/generated/api/AiDiscoverModelsParams.ts +7 -0
  605. package/src/generated/api/AiGetDefaultModelParams.ts +4 -0
  606. package/src/generated/api/AiIdParams.ts +3 -0
  607. package/src/generated/api/AiModelLoadingStatusParams.ts +6 -0
  608. package/src/generated/api/AiSetDefaultModelParams.ts +4 -0
  609. package/src/generated/api/AiTranscriptionCloseParams.ts +3 -0
  610. package/src/generated/api/AiTranscriptionOpenParams.ts +4 -0
  611. package/src/generated/api/AiUpdateModelParams.ts +4 -0
  612. package/src/generated/api/AiUpdateTaskParams.ts +4 -0
  613. package/src/generated/api/Apps.ts +4 -0
  614. package/src/generated/api/AuthInfo.ts +4 -0
  615. package/src/generated/api/AuthInfoInput.ts +1 -1
  616. package/src/generated/api/AutoProcessorEvent.ts +90 -0
  617. package/src/generated/api/AutoProcessorNeighbourhoodState.ts +33 -0
  618. package/src/generated/api/AutoProcessorStep.ts +9 -0
  619. package/src/generated/api/BroadcastRequest.ts +3 -0
  620. package/src/generated/api/CallSessionInfo.ts +20 -0
  621. package/src/generated/api/Capability.ts +4 -0
  622. package/src/generated/api/CreateSubjectRequest.ts +1 -1
  623. package/src/generated/api/CreateUserRequest.ts +3 -0
  624. package/src/generated/api/DateTime.ts +3 -0
  625. package/src/generated/api/DecoratedExpressionProof.ts +3 -0
  626. package/src/generated/api/DecoratedLinkExpression.ts +6 -0
  627. package/src/generated/api/DecoratedNeighbourhoodExpression.ts +5 -0
  628. package/src/generated/api/DecoratedPerspective.ts +4 -0
  629. package/src/generated/api/DiscardBatchRequest.ts +3 -0
  630. package/src/generated/api/DisposeQueryRequest.ts +3 -0
  631. package/src/generated/api/EntanglementProof.ts +3 -0
  632. package/src/generated/api/EntanglementProofInput.ts +1 -1
  633. package/src/generated/api/EntanglementProofPreflightRequest.ts +3 -0
  634. package/src/generated/api/EntanglementProofsWrapper.ts +7 -0
  635. package/src/generated/api/Events.ts +77 -0
  636. package/src/generated/api/ExceptionInfo.ts +4 -0
  637. package/src/generated/api/ExceptionOccurredEvent.ts +7 -0
  638. package/src/generated/api/ExceptionType.ts +3 -0
  639. package/src/generated/api/ExecuteCommandsRequest.ts +1 -1
  640. package/src/generated/api/ExportRequest.ts +1 -1
  641. package/src/generated/api/ExpressionInteractRequest.ts +4 -0
  642. package/src/generated/api/ExpressionProofInput.ts +1 -1
  643. package/src/generated/api/ExpressionRendered.ts +6 -0
  644. package/src/generated/api/ExpressionUrlRequest.ts +3 -0
  645. package/src/generated/api/FireOutcome.ts +11 -0
  646. package/src/generated/api/FlowStateChangedEvent.ts +36 -0
  647. package/src/generated/api/FlowStateEntry.ts +18 -0
  648. package/src/generated/api/FriendSendMessageRequest.ts +1 -1
  649. package/src/generated/api/HostRate.ts +6 -0
  650. package/src/generated/api/HostingInfoResult.ts +13 -0
  651. package/src/generated/api/HostingInfoUser.ts +7 -0
  652. package/src/generated/api/HostingRequestPaymentResult.ts +3 -0
  653. package/src/generated/api/HostingUserInfo.ts +3 -0
  654. package/src/generated/api/HostingVersionInfo.ts +7 -0
  655. package/src/generated/api/HostingWalletResult.ts +8 -0
  656. package/src/generated/api/IceServer.ts +19 -0
  657. package/src/generated/api/Icon.ts +3 -0
  658. package/src/generated/api/ImportResult.ts +4 -0
  659. package/src/generated/api/ImportStats.ts +3 -0
  660. package/src/generated/api/InteractionCall.ts +3 -0
  661. package/src/generated/api/InteractionCallWrapper.ts +6 -0
  662. package/src/generated/api/InteractionMeta.ts +4 -0
  663. package/src/generated/api/InteractionParameter.ts +3 -0
  664. package/src/generated/api/LanguageAddressParams.ts +3 -0
  665. package/src/generated/api/LanguageHandle.ts +4 -0
  666. package/src/generated/api/LanguageListParams.ts +3 -0
  667. package/src/generated/api/LanguageMeta.ts +3 -0
  668. package/src/generated/api/LanguageMetaInput.ts +1 -1
  669. package/src/generated/api/LanguageRef.ts +3 -0
  670. package/src/generated/api/LanguageSettingsWrapper.ts +6 -0
  671. package/src/generated/api/LanguageWriteSettingsParams.ts +3 -0
  672. package/src/generated/api/LinkExpressionInput.ts +1 -1
  673. package/src/generated/api/LinkInput.ts +1 -1
  674. package/src/generated/api/LinkMutationRequest.ts +8 -0
  675. package/src/generated/api/LinkMutationsRequest.ts +4 -0
  676. package/src/generated/api/LinkStatus.ts +1 -1
  677. package/src/generated/api/LinkUpdateInput.ts +4 -0
  678. package/src/generated/api/LocalModel.ts +4 -0
  679. package/src/generated/api/LocalModelInput.ts +4 -0
  680. package/src/generated/api/MessageReceivedEvent.ts +7 -0
  681. package/src/generated/api/Model.ts +6 -0
  682. package/src/generated/api/ModelApi.ts +14 -0
  683. package/src/generated/api/ModelApiInput.ts +8 -0
  684. package/src/generated/api/ModelApiType.ts +3 -0
  685. package/src/generated/api/ModelInput.ts +6 -0
  686. package/src/generated/api/ModelType.ts +1 -1
  687. package/src/generated/api/Neighbourhood.ts +4 -0
  688. package/src/generated/api/NeighbourhoodBroadcastParams.ts +4 -0
  689. package/src/generated/api/NeighbourhoodOnlineStatusParams.ts +4 -0
  690. package/src/generated/api/NeighbourhoodPerspectivePayload.ts +9 -0
  691. package/src/generated/api/NeighbourhoodPhase.ts +8 -0
  692. package/src/generated/api/NeighbourhoodSignalFilter.ts +5 -0
  693. package/src/generated/api/NeighbourhoodSignalParams.ts +4 -0
  694. package/src/generated/api/NeighbourhoodSignedPerspective.ts +8 -0
  695. package/src/generated/api/NeighbourhoodUuidParams.ts +3 -0
  696. package/src/generated/api/Notification.ts +7 -0
  697. package/src/generated/api/NotificationGrantRequest.ts +6 -0
  698. package/src/generated/api/NotificationInput.ts +1 -1
  699. package/src/generated/api/NotificationTriggeredEvent.ts +8 -0
  700. package/src/generated/api/OnlineAgent.ts +9 -0
  701. package/src/generated/api/OutputRef.ts +11 -0
  702. package/src/generated/api/OverlayView.ts +25 -0
  703. package/src/generated/api/Perspective.ts +4 -0
  704. package/src/generated/api/PerspectiveAddAutoProcessorParams.ts +11 -0
  705. package/src/generated/api/PerspectiveAddLinkExpressionParams.ts +4 -0
  706. package/src/generated/api/PerspectiveAddLinkParams.ts +4 -0
  707. package/src/generated/api/PerspectiveAddLinksParams.ts +4 -0
  708. package/src/generated/api/PerspectiveAddSdnaParams.ts +7 -0
  709. package/src/generated/api/PerspectiveAddSdnaResult.ts +6 -0
  710. package/src/generated/api/PerspectiveCommitBatchParams.ts +3 -0
  711. package/src/generated/api/PerspectiveCreateSubjectParams.ts +3 -0
  712. package/src/generated/api/PerspectiveDiscardBatchParams.ts +3 -0
  713. package/src/generated/api/PerspectiveEvaluateGettersParams.ts +6 -0
  714. package/src/generated/api/PerspectiveExecuteCommandsParams.ts +3 -0
  715. package/src/generated/api/PerspectiveExpression.ts +5 -0
  716. package/src/generated/api/PerspectiveFlowFiredParams.ts +7 -0
  717. package/src/generated/api/PerspectiveFlowProposalParams.ts +3 -0
  718. package/src/generated/api/PerspectiveFlowReceiptVerdict.ts +8 -0
  719. package/src/generated/api/PerspectiveFlowStatesParams.ts +11 -0
  720. package/src/generated/api/PerspectiveFlowValidOutputsParams.ts +7 -0
  721. package/src/generated/api/PerspectiveGetAllShaclParams.ts +6 -0
  722. package/src/generated/api/PerspectiveGetSubjectDataParams.ts +3 -0
  723. package/src/generated/api/PerspectiveHandle.ts +5 -0
  724. package/src/generated/api/PerspectiveLinkDiff.ts +7 -0
  725. package/src/generated/api/PerspectiveLinkMutationsParams.ts +4 -0
  726. package/src/generated/api/PerspectiveLinkUpdatedWithOwner.ts +4 -0
  727. package/src/generated/api/PerspectiveLinkWithOwner.ts +4 -0
  728. package/src/generated/api/PerspectiveMintFlowReceiptParams.ts +3 -0
  729. package/src/generated/api/PerspectiveMintFlowReceiptResult.ts +9 -0
  730. package/src/generated/api/PerspectiveModelQueryParams.ts +10 -0
  731. package/src/generated/api/PerspectiveNamedShacl.ts +4 -0
  732. package/src/generated/api/PerspectiveProposeFlowTransitionParams.ts +4 -0
  733. package/src/generated/api/PerspectiveQueryLinksParams.ts +11 -0
  734. package/src/generated/api/PerspectiveQueryParams.ts +3 -0
  735. package/src/generated/api/PerspectiveReceiptOutcome.ts +3 -0
  736. package/src/generated/api/PerspectiveRejectFlowProposalResult.ts +3 -0
  737. package/src/generated/api/PerspectiveRemoveAutoProcessorParams.ts +3 -0
  738. package/src/generated/api/PerspectiveRemoveLinkParams.ts +4 -0
  739. package/src/generated/api/PerspectiveRemoveLinksParams.ts +4 -0
  740. package/src/generated/api/PerspectiveRemoveSubjectParams.ts +3 -0
  741. package/src/generated/api/PerspectiveRemovedWithOwner.ts +3 -0
  742. package/src/generated/api/PerspectiveResolveInterpretationParams.ts +6 -0
  743. package/src/generated/api/PerspectiveResynced.ts +7 -0
  744. package/src/generated/api/PerspectiveShacl.ts +4 -0
  745. package/src/generated/api/PerspectiveShaclNameParams.ts +3 -0
  746. package/src/generated/api/PerspectiveSparqlParams.ts +7 -0
  747. package/src/generated/api/PerspectiveState.ts +3 -0
  748. package/src/generated/api/PerspectiveStateFilter.ts +5 -0
  749. package/src/generated/api/PerspectiveSubjectClassesOfParams.ts +3 -0
  750. package/src/generated/api/PerspectiveSubscribed.ts +8 -0
  751. package/src/generated/api/PerspectiveSubscriptionParams.ts +3 -0
  752. package/src/generated/api/PerspectiveUnsignedInput.ts +4 -0
  753. package/src/generated/api/PerspectiveUpdateLinkParams.ts +5 -0
  754. package/src/generated/api/PerspectiveUpdateParams.ts +3 -0
  755. package/src/generated/api/PerspectiveUpdateSubjectParams.ts +7 -0
  756. package/src/generated/api/PerspectiveUuidParams.ts +3 -0
  757. package/src/generated/api/PerspectiveVerifyFlowReceiptParams.ts +9 -0
  758. package/src/generated/api/PerspectiveWithOwner.ts +4 -0
  759. package/src/generated/api/ProposeOutcome.ts +46 -0
  760. package/src/generated/api/PublicPerspectiveInput.ts +4 -0
  761. package/src/generated/api/PublishNeighbourhoodRequest.ts +2 -2
  762. package/src/generated/api/QuerySubscriptionUpdate.ts +10 -0
  763. package/src/generated/api/QuerySubscriptionUpdateEvent.ts +9 -0
  764. package/src/generated/api/QueryUpdatesLagged.ts +7 -0
  765. package/src/generated/api/RemoveLinkRequest.ts +1 -1
  766. package/src/generated/api/RemoveLinksBulkRequest.ts +1 -1
  767. package/src/generated/api/RemoveSubjectRequest.ts +7 -0
  768. package/src/generated/api/RequestCapabilityRequest.ts +4 -0
  769. package/src/generated/api/RequestPaymentRequest.ts +3 -0
  770. package/src/generated/api/Resource.ts +3 -0
  771. package/src/generated/api/ResyncSubscriptionRequest.ts +3 -0
  772. package/src/generated/api/RpcMethods.ts +479 -0
  773. package/src/generated/api/RunInterpretationRequest.ts +28 -2
  774. package/src/generated/api/RunInterpretationWithHarnessRequest.ts +51 -0
  775. package/src/generated/api/RuntimeComputeLogParams.ts +15 -0
  776. package/src/generated/api/RuntimeFriendStatusParams.ts +3 -0
  777. package/src/generated/api/RuntimeGrantNotificationParams.ts +3 -0
  778. package/src/generated/api/RuntimeImportPerspectiveResult.ts +3 -0
  779. package/src/generated/api/RuntimeImportResult.ts +8 -0
  780. package/src/generated/api/RuntimeInfo.ts +3 -0
  781. package/src/generated/api/RuntimeNotificationIdParams.ts +3 -0
  782. package/src/generated/api/RuntimeSendFriendMessageParams.ts +8 -0
  783. package/src/generated/api/RuntimeSetFreeHostingEnabledParams.ts +3 -0
  784. package/src/generated/api/RuntimeUnytSendHotParams.ts +3 -0
  785. package/src/generated/api/RuntimeUnytWalletHistoryParams.ts +3 -0
  786. package/src/generated/api/RuntimeUpdateNotificationParams.ts +3 -0
  787. package/src/generated/api/SentMessage.ts +4 -0
  788. package/src/generated/api/SetHostRatesRequest.ts +4 -0
  789. package/src/generated/api/SetHotWalletAddressRequest.ts +3 -0
  790. package/src/generated/api/SetOnlineStatusRequest.ts +3 -0
  791. package/src/generated/api/SetUnytMembraneProofRequest.ts +7 -0
  792. package/src/generated/api/SetUserFreeAccessRequest.ts +3 -0
  793. package/src/generated/api/SfuAddIceCandidateParams.ts +7 -0
  794. package/src/generated/api/SfuAnswerServerOfferParams.ts +7 -0
  795. package/src/generated/api/SfuCallJoinParams.ts +13 -0
  796. package/src/generated/api/SfuCallRenegotiationOffer.ts +29 -0
  797. package/src/generated/api/SfuCascadePipe.ts +3 -0
  798. package/src/generated/api/SfuCascadeStatus.ts +7 -0
  799. package/src/generated/api/SfuConfig.ts +53 -0
  800. package/src/generated/api/SfuDataMessage.ts +23 -0
  801. package/src/generated/api/SfuEnsureMembershipParams.ts +3 -0
  802. package/src/generated/api/SfuMigrateEvent.ts +20 -0
  803. package/src/generated/api/SfuNeighbourhoodParams.ts +3 -0
  804. package/src/generated/api/SfuParticipantQualityPreference.ts +6 -0
  805. package/src/generated/api/SfuPerspectiveParams.ts +6 -0
  806. package/src/generated/api/SfuQualityPreferenceParams.ts +7 -0
  807. package/src/generated/api/SfuRoomInfo.ts +7 -0
  808. package/src/generated/api/SfuRoomParams.ts +3 -0
  809. package/src/generated/api/SfuRoomParticipantInfo.ts +8 -0
  810. package/src/generated/api/SfuRoomRoster.ts +12 -0
  811. package/src/generated/api/SfuSendDataParams.ts +7 -0
  812. package/src/generated/api/SfuSetConfigParams.ts +4 -0
  813. package/src/generated/api/SfuStatus.ts +24 -0
  814. package/src/generated/api/ShaclLinkTriple.ts +8 -0
  815. package/src/generated/api/SignalRequest.ts +3 -0
  816. package/src/generated/api/SubscribeQueryRequest.ts +3 -0
  817. package/src/generated/api/TokenizerSource.ts +3 -0
  818. package/src/generated/api/TokenizerSourceInput.ts +3 -0
  819. package/src/generated/api/TrackMapEntry.ts +18 -0
  820. package/src/generated/api/TranscriptionTextFilter.ts +3 -0
  821. package/src/generated/api/TriggeredNotification.ts +4 -0
  822. package/src/generated/api/TrustedAgentsWrapper.ts +6 -0
  823. package/src/generated/api/UnlockAgentRequest.ts +1 -1
  824. package/src/generated/api/UnytVersionInfo.ts +20 -0
  825. package/src/generated/api/UpdateLinkRequest.ts +1 -1
  826. package/src/generated/api/UpdateProfileRequest.ts +4 -0
  827. package/src/generated/api/UpdateSubjectRequest.ts +10 -0
  828. package/src/generated/api/UserCreationResult.ts +3 -0
  829. package/src/generated/api/UserStatistics.ts +2 -1
  830. package/src/generated/api/UsersAppInfo.ts +6 -0
  831. package/src/generated/api/UsersEmailParams.ts +3 -0
  832. package/src/generated/api/UsersEmailTestAction.ts +3 -0
  833. package/src/generated/api/UsersEmailTestParams.ts +12 -0
  834. package/src/generated/api/UsersEmailTestResult.ts +7 -0
  835. package/src/generated/api/UsersLoginParams.ts +7 -0
  836. package/src/generated/api/UsersRequestVerificationParams.ts +4 -0
  837. package/src/generated/api/UsersSetCreditsParams.ts +3 -0
  838. package/src/generated/api/UsersVerifyEmailParams.ts +11 -0
  839. package/src/generated/api/ValidOutput.ts +30 -0
  840. package/src/generated/api/VoiceActivityParamsInput.ts +3 -0
  841. package/src/generated/api/index.ts +14 -2
  842. package/src/generated/api/serde_json/JsonValue.ts +3 -0
  843. package/src/index.ts +9 -3
  844. package/src/language/LanguageClient.ts +12 -13
  845. package/src/links/Links.ts +49 -3
  846. package/src/model/Ad4mModel.test.ts +480 -173
  847. package/src/model/Ad4mModel.ts +407 -77
  848. package/src/model/ModelQueryBuilder.ts +95 -255
  849. package/src/model/abstract-classes.test.ts +225 -0
  850. package/src/model/decorators.ts +145 -9
  851. package/src/model/query-sparql.ts +2 -3
  852. package/src/model/relation-filtering.test.ts +191 -0
  853. package/src/model/shacl-gen.ts +32 -9
  854. package/src/model/shacl-roundtrip.test.ts +52 -0
  855. package/src/model/types.ts +19 -0
  856. package/src/neighbourhood/MeshManager.test.ts +2640 -0
  857. package/src/neighbourhood/MeshManager.ts +1350 -0
  858. package/src/neighbourhood/NeighbourhoodClient.test.ts +60 -0
  859. package/src/neighbourhood/NeighbourhoodClient.ts +298 -27
  860. package/src/neighbourhood/NeighbourhoodProxy.test.ts +37 -9
  861. package/src/neighbourhood/NeighbourhoodProxy.ts +247 -1
  862. package/src/neighbourhood/Session.test.ts +800 -0
  863. package/src/neighbourhood/Session.ts +525 -0
  864. package/src/neighbourhood/SfuManager.test.ts +677 -0
  865. package/src/neighbourhood/SfuManager.ts +803 -0
  866. package/src/neighbourhood/SfuTypes.ts +40 -0
  867. package/src/notifyListeners.test.ts +19 -0
  868. package/src/notifyListeners.ts +10 -0
  869. package/src/perspectives/AutoProcessor.ts +13 -82
  870. package/src/perspectives/FlowInstance.ts +136 -32
  871. package/src/perspectives/FlowModels.ts +46 -11
  872. package/src/perspectives/InterpretationModels.ts +4 -0
  873. package/src/perspectives/LiveQuery.test.ts +197 -0
  874. package/src/perspectives/LiveQuery.ts +189 -0
  875. package/src/perspectives/Perspective.ts +18 -2
  876. package/src/perspectives/PerspectiveClient.test.ts +122 -45
  877. package/src/perspectives/PerspectiveClient.ts +146 -343
  878. package/src/perspectives/PerspectiveHandle.ts +32 -9
  879. package/src/perspectives/PerspectiveProxy.test.ts +216 -528
  880. package/src/perspectives/PerspectiveProxy.ts +259 -736
  881. package/src/perspectives/TextContent.test.ts +123 -0
  882. package/src/perspectives/TextContent.ts +36 -0
  883. package/src/perspectives/WakerSubscriptionManager.test.ts +136 -1
  884. package/src/perspectives/WakerSubscriptionManager.ts +69 -22
  885. package/src/perspectives/link-updated-type.test.ts +55 -0
  886. package/src/perspectives/listener-leaks.test.ts +204 -0
  887. package/src/perspectives/shacl-rpc.test.ts +22 -27
  888. package/src/runtime/RuntimeClient.ts +75 -157
  889. package/src/runtime/RuntimeTypes.ts +3 -3
  890. package/src/shacl/SHACLFlow.test.ts +49 -1
  891. package/src/shacl/SHACLFlow.ts +73 -15
  892. package/src/shacl/SHACLShape.test.ts +161 -16
  893. package/src/shacl/SHACLShape.ts +210 -439
  894. package/lib/shims/reflect-metadata.d.ts +0 -0
  895. package/lib/shims/reflect-metadata.js +0 -0
  896. package/lib/shims/type-graphql.d.ts +0 -32
  897. package/lib/shims/type-graphql.js +0 -70
  898. package/lib/src/PubSub.d.ts +0 -17
  899. package/lib/src/PubSub.js +0 -17
  900. package/lib/src/agent/AgentResolver.d.ts +0 -30
  901. package/lib/src/agent/AgentResolver.js +0 -325
  902. package/lib/src/ai/AIResolver.d.ts +0 -75
  903. package/lib/src/ai/AIResolver.js +0 -455
  904. package/lib/src/buildSchema.d.ts +0 -1
  905. package/lib/src/buildSchema.js +0 -38
  906. package/lib/src/expression/ExpressionResolver.d.ts +0 -10
  907. package/lib/src/expression/ExpressionResolver.js +0 -106
  908. package/lib/src/language/LanguageContext.d.ts +0 -37
  909. package/lib/src/language/LanguageContext.js +0 -2
  910. package/lib/src/language/LanguageResolver.d.ts +0 -19
  911. package/lib/src/language/LanguageResolver.js +0 -143
  912. package/lib/src/links/Links.test.js +0 -33
  913. package/lib/src/model/Ad4mModel.test.js +0 -2055
  914. package/lib/src/model/Subject.d.ts +0 -25
  915. package/lib/src/model/Subject.js +0 -164
  916. package/lib/src/model/hydration-batch.d.ts +0 -34
  917. package/lib/src/model/hydration-batch.js +0 -147
  918. package/lib/src/model/hydration-batching.test.d.ts +0 -7
  919. package/lib/src/model/hydration-batching.test.js +0 -456
  920. package/lib/src/model/model-manifest.d.ts +0 -41
  921. package/lib/src/model/model-manifest.js +0 -11
  922. package/lib/src/model/prolog-facts.d.ts +0 -37
  923. package/lib/src/model/prolog-facts.js +0 -134
  924. package/lib/src/model/query-cache.test.js +0 -43
  925. package/lib/src/model/query-prolog.d.ts +0 -15
  926. package/lib/src/model/query-prolog.js +0 -140
  927. package/lib/src/model/query-sparql-batch.d.ts +0 -17
  928. package/lib/src/model/query-sparql-batch.js +0 -260
  929. package/lib/src/model/query-sparql.test.js +0 -312
  930. package/lib/src/model/relation-filtering.test.js +0 -838
  931. package/lib/src/model/subscription-delta.test.d.ts +0 -24
  932. package/lib/src/model/subscription-delta.test.js +0 -180
  933. package/lib/src/model/subscription-pool.d.ts +0 -39
  934. package/lib/src/model/subscription-pool.js +0 -165
  935. package/lib/src/neighbourhood/NeighbourhoodProxy.test.js +0 -73
  936. package/lib/src/neighbourhood/NeighbourhoodResolver.d.ts +0 -24
  937. package/lib/src/neighbourhood/NeighbourhoodResolver.js +0 -182
  938. package/lib/src/perspectives/Perspective.test.js +0 -20
  939. package/lib/src/perspectives/PerspectiveClient.test.js +0 -224
  940. package/lib/src/perspectives/PerspectiveResolver.d.ts +0 -56
  941. package/lib/src/perspectives/PerspectiveResolver.js +0 -519
  942. package/lib/src/runtime/RuntimeResolver.d.ts +0 -173
  943. package/lib/src/runtime/RuntimeResolver.js +0 -1122
  944. package/lib/src/schema.gql +0 -631
  945. package/lib/src/shacl/SHACLFlow.test.js +0 -205
  946. package/lib/src/shacl/SHACLShape.test.js +0 -418
  947. package/lib/src/unwrapApolloResult.d.ts +0 -2
  948. package/lib/src/unwrapApolloResult.js +0 -14
  949. /package/lib/src/{links/Links.test.d.ts → generated/api/AITask.js} +0 -0
  950. /package/lib/src/{model/Ad4mModel.test.d.ts → generated/api/AITaskInput.js} +0 -0
  951. /package/lib/src/{model/query-cache.test.d.ts → generated/api/Agent.js} +0 -0
  952. /package/lib/src/{model/query-sparql.test.d.ts → generated/api/AgentAddEntanglementProofsParams.js} +0 -0
  953. /package/lib/src/{model/relation-filtering.test.d.ts → generated/api/AgentStatus.js} +0 -0
  954. /package/lib/src/{neighbourhood/NeighbourhoodProxy.test.d.ts → generated/api/AgentStatusChangedEvent.js} +0 -0
  955. /package/lib/src/{perspectives/Perspective.test.d.ts → generated/api/AgentUpdatedEvent.js} +0 -0
  956. /package/lib/src/{perspectives/PerspectiveClient.test.d.ts → generated/api/AiAddModelParams.js} +0 -0
  957. /package/lib/src/{shacl/SHACLFlow.test.d.ts → generated/api/AiAddTaskParams.js} +0 -0
  958. /package/lib/src/{shacl/SHACLShape.test.d.ts → generated/api/AiGetDefaultModelParams.js} +0 -0
@@ -1,1122 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- var __param = (this && this.__param) || function (paramIndex, decorator) {
11
- return function (target, key) { decorator(target, key, paramIndex); }
12
- };
13
- import { Arg, Mutation, Resolver, Query, Subscription, ObjectType, Field, Int, InputType } from "type-graphql";
14
- import { Perspective, PerspectiveExpression, PerspectiveInput } from "../perspectives/Perspective";
15
- import { ExpressionProof } from "../expression/Expression";
16
- import { LinkExpression } from "../links/Links";
17
- import { ExceptionType } from "../Exception";
18
- import { RUNTIME_MESSAGED_RECEIVED_TOPIC, EXCEPTION_OCCURRED_TOPIC, RUNTIME_NOTIFICATION_TRIGGERED_TOPIC } from '../PubSub';
19
- import { UserCreationResult, AuthInfoInput } from "../agent/Agent";
20
- const testLink = new LinkExpression();
21
- testLink.author = "did:ad4m:test";
22
- testLink.timestamp = Date.now();
23
- testLink.data = {
24
- source: 'root',
25
- target: 'neighbourhood://Qm12345'
26
- };
27
- testLink.proof = {
28
- signature: '',
29
- key: '',
30
- valid: true
31
- };
32
- const testPerspectiveExpression = new PerspectiveExpression();
33
- testPerspectiveExpression.author = 'did:ad4m:test';
34
- testPerspectiveExpression.timestamp = Date.now().toString();
35
- testPerspectiveExpression.proof = new ExpressionProof('', '');
36
- testPerspectiveExpression.data = new Perspective([testLink]);
37
- let SentMessage = class SentMessage {
38
- };
39
- __decorate([
40
- Field(),
41
- __metadata("design:type", String)
42
- ], SentMessage.prototype, "recipient", void 0);
43
- __decorate([
44
- Field(),
45
- __metadata("design:type", PerspectiveExpression)
46
- ], SentMessage.prototype, "message", void 0);
47
- SentMessage = __decorate([
48
- ObjectType()
49
- ], SentMessage);
50
- export { SentMessage };
51
- let RuntimeInfo = class RuntimeInfo {
52
- };
53
- __decorate([
54
- Field(),
55
- __metadata("design:type", String)
56
- ], RuntimeInfo.prototype, "ad4mExecutorVersion", void 0);
57
- __decorate([
58
- Field(),
59
- __metadata("design:type", Boolean)
60
- ], RuntimeInfo.prototype, "isInitialized", void 0);
61
- __decorate([
62
- Field(),
63
- __metadata("design:type", Boolean)
64
- ], RuntimeInfo.prototype, "isUnlocked", void 0);
65
- RuntimeInfo = __decorate([
66
- ObjectType()
67
- ], RuntimeInfo);
68
- export { RuntimeInfo };
69
- let ExceptionInfo = class ExceptionInfo {
70
- };
71
- __decorate([
72
- Field(),
73
- __metadata("design:type", String)
74
- ], ExceptionInfo.prototype, "title", void 0);
75
- __decorate([
76
- Field(),
77
- __metadata("design:type", String)
78
- ], ExceptionInfo.prototype, "message", void 0);
79
- __decorate([
80
- Field(type => Int),
81
- __metadata("design:type", String)
82
- ], ExceptionInfo.prototype, "type", void 0);
83
- __decorate([
84
- Field({ nullable: true }),
85
- __metadata("design:type", String)
86
- ], ExceptionInfo.prototype, "addon", void 0);
87
- ExceptionInfo = __decorate([
88
- ObjectType()
89
- ], ExceptionInfo);
90
- export { ExceptionInfo };
91
- // This class defines a Notification and is what an app provides
92
- // when registering and installing a notification.
93
- let NotificationInput = class NotificationInput {
94
- };
95
- __decorate([
96
- Field(),
97
- __metadata("design:type", String)
98
- ], NotificationInput.prototype, "description", void 0);
99
- __decorate([
100
- Field(),
101
- __metadata("design:type", String)
102
- ], NotificationInput.prototype, "appName", void 0);
103
- __decorate([
104
- Field(),
105
- __metadata("design:type", String)
106
- ], NotificationInput.prototype, "appUrl", void 0);
107
- __decorate([
108
- Field(),
109
- __metadata("design:type", String)
110
- ], NotificationInput.prototype, "appIconPath", void 0);
111
- __decorate([
112
- Field(),
113
- __metadata("design:type", String)
114
- ], NotificationInput.prototype, "trigger", void 0);
115
- __decorate([
116
- Field(type => [String]),
117
- __metadata("design:type", Array)
118
- ], NotificationInput.prototype, "perspectiveIds", void 0);
119
- __decorate([
120
- Field(),
121
- __metadata("design:type", String)
122
- ], NotificationInput.prototype, "webhookUrl", void 0);
123
- __decorate([
124
- Field(),
125
- __metadata("design:type", String)
126
- ], NotificationInput.prototype, "webhookAuth", void 0);
127
- NotificationInput = __decorate([
128
- InputType()
129
- ], NotificationInput);
130
- export { NotificationInput };
131
- // This is a notification as it is stored in the runtime.
132
- // Above definition plus ID and granted flag.
133
- let Notification = class Notification {
134
- };
135
- __decorate([
136
- Field(),
137
- __metadata("design:type", String)
138
- ], Notification.prototype, "id", void 0);
139
- __decorate([
140
- Field(),
141
- __metadata("design:type", Boolean)
142
- ], Notification.prototype, "granted", void 0);
143
- __decorate([
144
- Field(),
145
- __metadata("design:type", String)
146
- ], Notification.prototype, "description", void 0);
147
- __decorate([
148
- Field(),
149
- __metadata("design:type", String)
150
- ], Notification.prototype, "appName", void 0);
151
- __decorate([
152
- Field(),
153
- __metadata("design:type", String)
154
- ], Notification.prototype, "appUrl", void 0);
155
- __decorate([
156
- Field(),
157
- __metadata("design:type", String)
158
- ], Notification.prototype, "appIconPath", void 0);
159
- __decorate([
160
- Field(),
161
- __metadata("design:type", String)
162
- ], Notification.prototype, "trigger", void 0);
163
- __decorate([
164
- Field(type => [String]),
165
- __metadata("design:type", Array)
166
- ], Notification.prototype, "perspectiveIds", void 0);
167
- __decorate([
168
- Field(),
169
- __metadata("design:type", String)
170
- ], Notification.prototype, "webhookUrl", void 0);
171
- __decorate([
172
- Field(),
173
- __metadata("design:type", String)
174
- ], Notification.prototype, "webhookAuth", void 0);
175
- Notification = __decorate([
176
- ObjectType()
177
- ], Notification);
178
- export { Notification };
179
- // This is what is sent to the launcher and the webhook.
180
- let TriggeredNotification = class TriggeredNotification {
181
- };
182
- __decorate([
183
- Field(),
184
- __metadata("design:type", Notification)
185
- ], TriggeredNotification.prototype, "notification", void 0);
186
- __decorate([
187
- Field(),
188
- __metadata("design:type", String)
189
- ], TriggeredNotification.prototype, "perspectiveId", void 0);
190
- __decorate([
191
- Field(),
192
- __metadata("design:type", String)
193
- ], TriggeredNotification.prototype, "triggerMatch", void 0);
194
- TriggeredNotification = __decorate([
195
- ObjectType()
196
- ], TriggeredNotification);
197
- export { TriggeredNotification };
198
- let ImportStats = class ImportStats {
199
- };
200
- __decorate([
201
- Field(),
202
- __metadata("design:type", Number)
203
- ], ImportStats.prototype, "total", void 0);
204
- __decorate([
205
- Field(),
206
- __metadata("design:type", Number)
207
- ], ImportStats.prototype, "imported", void 0);
208
- __decorate([
209
- Field(),
210
- __metadata("design:type", Number)
211
- ], ImportStats.prototype, "failed", void 0);
212
- __decorate([
213
- Field(),
214
- __metadata("design:type", Number)
215
- ], ImportStats.prototype, "omitted", void 0);
216
- __decorate([
217
- Field(type => [String]),
218
- __metadata("design:type", Array)
219
- ], ImportStats.prototype, "errors", void 0);
220
- ImportStats = __decorate([
221
- ObjectType()
222
- ], ImportStats);
223
- export { ImportStats };
224
- let ImportResult = class ImportResult {
225
- };
226
- __decorate([
227
- Field(),
228
- __metadata("design:type", ImportStats)
229
- ], ImportResult.prototype, "perspectives", void 0);
230
- __decorate([
231
- Field(),
232
- __metadata("design:type", ImportStats)
233
- ], ImportResult.prototype, "links", void 0);
234
- __decorate([
235
- Field(),
236
- __metadata("design:type", ImportStats)
237
- ], ImportResult.prototype, "expressions", void 0);
238
- __decorate([
239
- Field(),
240
- __metadata("design:type", ImportStats)
241
- ], ImportResult.prototype, "perspectiveDiffs", void 0);
242
- __decorate([
243
- Field(),
244
- __metadata("design:type", ImportStats)
245
- ], ImportResult.prototype, "notifications", void 0);
246
- __decorate([
247
- Field(),
248
- __metadata("design:type", ImportStats)
249
- ], ImportResult.prototype, "models", void 0);
250
- __decorate([
251
- Field(),
252
- __metadata("design:type", ImportStats)
253
- ], ImportResult.prototype, "defaultModels", void 0);
254
- __decorate([
255
- Field(),
256
- __metadata("design:type", ImportStats)
257
- ], ImportResult.prototype, "tasks", void 0);
258
- __decorate([
259
- Field(),
260
- __metadata("design:type", ImportStats)
261
- ], ImportResult.prototype, "friends", void 0);
262
- __decorate([
263
- Field(),
264
- __metadata("design:type", ImportStats)
265
- ], ImportResult.prototype, "trustedAgents", void 0);
266
- __decorate([
267
- Field(),
268
- __metadata("design:type", ImportStats)
269
- ], ImportResult.prototype, "knownLinkLanguages", void 0);
270
- ImportResult = __decorate([
271
- ObjectType()
272
- ], ImportResult);
273
- export { ImportResult };
274
- let UserStatistics = class UserStatistics {
275
- };
276
- __decorate([
277
- Field(),
278
- __metadata("design:type", String)
279
- ], UserStatistics.prototype, "email", void 0);
280
- __decorate([
281
- Field(),
282
- __metadata("design:type", String)
283
- ], UserStatistics.prototype, "did", void 0);
284
- __decorate([
285
- Field({ nullable: true }),
286
- __metadata("design:type", String)
287
- ], UserStatistics.prototype, "lastSeen", void 0);
288
- __decorate([
289
- Field(type => Int),
290
- __metadata("design:type", Number)
291
- ], UserStatistics.prototype, "perspectiveCount", void 0);
292
- __decorate([
293
- Field(),
294
- __metadata("design:type", String)
295
- ], UserStatistics.prototype, "remainingCredits", void 0);
296
- __decorate([
297
- Field(),
298
- __metadata("design:type", Boolean)
299
- ], UserStatistics.prototype, "freeAccess", void 0);
300
- __decorate([
301
- Field({ nullable: true }),
302
- __metadata("design:type", String)
303
- ], UserStatistics.prototype, "hotWalletAddress", void 0);
304
- UserStatistics = __decorate([
305
- ObjectType()
306
- ], UserStatistics);
307
- export { UserStatistics };
308
- let VerificationRequestResult = class VerificationRequestResult {
309
- };
310
- __decorate([
311
- Field(),
312
- __metadata("design:type", Boolean)
313
- ], VerificationRequestResult.prototype, "success", void 0);
314
- __decorate([
315
- Field(),
316
- __metadata("design:type", String)
317
- ], VerificationRequestResult.prototype, "message", void 0);
318
- __decorate([
319
- Field(),
320
- __metadata("design:type", Boolean)
321
- ], VerificationRequestResult.prototype, "requiresPassword", void 0);
322
- __decorate([
323
- Field(),
324
- __metadata("design:type", Boolean)
325
- ], VerificationRequestResult.prototype, "isExistingUser", void 0);
326
- VerificationRequestResult = __decorate([
327
- ObjectType()
328
- ], VerificationRequestResult);
329
- export { VerificationRequestResult };
330
- let HostingUserInfo = class HostingUserInfo {
331
- constructor(email, remainingCredits, hotWalletAddress, freeAccess = false) {
332
- this.email = email;
333
- this.remainingCredits = remainingCredits;
334
- this.hotWalletAddress = hotWalletAddress;
335
- this.freeAccess = freeAccess;
336
- }
337
- };
338
- __decorate([
339
- Field(),
340
- __metadata("design:type", String)
341
- ], HostingUserInfo.prototype, "email", void 0);
342
- __decorate([
343
- Field(),
344
- __metadata("design:type", String)
345
- ], HostingUserInfo.prototype, "remainingCredits", void 0);
346
- __decorate([
347
- Field({ nullable: true }),
348
- __metadata("design:type", String)
349
- ], HostingUserInfo.prototype, "hotWalletAddress", void 0);
350
- __decorate([
351
- Field(),
352
- __metadata("design:type", Boolean)
353
- ], HostingUserInfo.prototype, "freeAccess", void 0);
354
- HostingUserInfo = __decorate([
355
- ObjectType(),
356
- __metadata("design:paramtypes", [String, String, String, Boolean])
357
- ], HostingUserInfo);
358
- export { HostingUserInfo };
359
- let PaymentRequestResult = class PaymentRequestResult {
360
- constructor(success, message) {
361
- this.success = success;
362
- this.message = message;
363
- }
364
- };
365
- __decorate([
366
- Field(),
367
- __metadata("design:type", Boolean)
368
- ], PaymentRequestResult.prototype, "success", void 0);
369
- __decorate([
370
- Field(),
371
- __metadata("design:type", String)
372
- ], PaymentRequestResult.prototype, "message", void 0);
373
- PaymentRequestResult = __decorate([
374
- ObjectType(),
375
- __metadata("design:paramtypes", [Boolean, String])
376
- ], PaymentRequestResult);
377
- export { PaymentRequestResult };
378
- let ComputeLogEntry = class ComputeLogEntry {
379
- constructor(id, userEmail, timestamp, operation, cost, creditsAfter, summary) {
380
- this.id = id;
381
- this.userEmail = userEmail;
382
- this.timestamp = timestamp;
383
- this.operation = operation;
384
- this.cost = cost;
385
- this.creditsAfter = creditsAfter;
386
- this.summary = summary;
387
- }
388
- };
389
- __decorate([
390
- Field(),
391
- __metadata("design:type", Number)
392
- ], ComputeLogEntry.prototype, "id", void 0);
393
- __decorate([
394
- Field(),
395
- __metadata("design:type", String)
396
- ], ComputeLogEntry.prototype, "userEmail", void 0);
397
- __decorate([
398
- Field(),
399
- __metadata("design:type", String)
400
- ], ComputeLogEntry.prototype, "timestamp", void 0);
401
- __decorate([
402
- Field(),
403
- __metadata("design:type", String)
404
- ], ComputeLogEntry.prototype, "operation", void 0);
405
- __decorate([
406
- Field({ nullable: true }),
407
- __metadata("design:type", String)
408
- ], ComputeLogEntry.prototype, "summary", void 0);
409
- __decorate([
410
- Field(),
411
- __metadata("design:type", Number)
412
- ], ComputeLogEntry.prototype, "cost", void 0);
413
- __decorate([
414
- Field(),
415
- __metadata("design:type", Number)
416
- ], ComputeLogEntry.prototype, "creditsAfter", void 0);
417
- ComputeLogEntry = __decorate([
418
- ObjectType(),
419
- __metadata("design:paramtypes", [Number, String, String, String, Number, Number, String])
420
- ], ComputeLogEntry);
421
- export { ComputeLogEntry };
422
- /**
423
- * Resolver classes are used here to define the GraphQL schema
424
- * (through the type-graphql annotations)
425
- * and are spawned in the client tests in Ad4mClient.test.ts.
426
- * For the latter, they return test fixtures.
427
- */
428
- let RuntimeResolver = class RuntimeResolver {
429
- runtimeQuit() {
430
- return true;
431
- }
432
- runtimeOpenLink(url) {
433
- return true;
434
- }
435
- runtimeInfo() {
436
- return {
437
- ad4mExecutorVersion: "x.x.x",
438
- isInitialized: true,
439
- isUnlocked: true
440
- };
441
- }
442
- addTrustedAgents(agents) {
443
- return agents;
444
- }
445
- deleteTrustedAgents(agents) {
446
- return [];
447
- }
448
- getTrustedAgents() {
449
- return ["agentPubKey"];
450
- }
451
- runtimeKnownLinkLanguageTemplates() {
452
- return ["Qm12345abcdef"];
453
- }
454
- runtimeAddKnownLinkLanguageTemplates(addresses) {
455
- return addresses;
456
- }
457
- runtimeRemoveKnownLinkLanguageTemplates(addresses) {
458
- return [];
459
- }
460
- runtimeFriends() {
461
- return ["did:test:friend"];
462
- }
463
- runtimeAddFriends(dids) {
464
- return dids;
465
- }
466
- runtimeRemoveFriends(dids) {
467
- return [];
468
- }
469
- runtimeHcAgentInfos() {
470
- return JSON.stringify([{ "agent": { "type": "Buffer", "data": [9, 191, 231, 58, 255, 107, 202, 55, 206, 57, 9, 103, 17, 34, 206, 195, 207, 114, 5, 73, 77, 198, 56, 136, 17, 227, 242, 231, 194, 135, 128, 48, 170, 189, 119, 186] }, "signature": { "type": "Buffer", "data": [195, 143, 170, 36, 234, 123, 255, 85, 188, 138, 124, 2, 91, 18, 53, 231, 44, 41, 240, 8, 80, 131, 100, 150, 165, 125, 146, 90, 17, 200, 190, 129, 114, 211, 11, 146, 150, 128, 198, 199, 79, 118, 157, 101, 194, 68, 58, 245, 98, 182, 79, 139, 140, 41, 143, 129, 8, 136, 87, 77, 180, 231, 218, 11] }, "agent_info": { "type": "Buffer", "data": [134, 165, 115, 112, 97, 99, 101, 196, 36, 203, 165, 212, 173, 24, 215, 165, 196, 25, 145, 248, 113, 246, 139, 205, 182, 241, 138, 57, 0, 26, 8, 217, 179, 23, 126, 59, 136, 128, 213, 110, 225, 173, 72, 197, 95, 165, 97, 103, 101, 110, 116, 196, 36, 9, 191, 231, 58, 255, 107, 202, 55, 206, 57, 9, 103, 17, 34, 206, 195, 207, 114, 5, 73, 77, 198, 56, 136, 17, 227, 242, 231, 194, 135, 128, 48, 170, 189, 119, 186, 164, 117, 114, 108, 115, 145, 217, 99, 107, 105, 116, 115, 117, 110, 101, 45, 112, 114, 111, 120, 121, 58, 47, 47, 101, 83, 52, 86, 112, 54, 109, 118, 80, 48, 122, 116, 85, 101, 104, 114, 117, 113, 89, 52, 102, 66, 53, 101, 69, 98, 121, 48, 69, 66, 100, 89, 84, 50, 95, 67, 48, 69, 112, 77, 111, 76, 111, 47, 107, 105, 116, 115, 117, 110, 101, 45, 113, 117, 105, 99, 47, 104, 47, 49, 57, 50, 46, 49, 54, 56, 46, 49, 55, 56, 46, 54, 48, 47, 112, 47, 55, 55, 52, 52, 47, 45, 45, 172, 115, 105, 103, 110, 101, 100, 95, 97, 116, 95, 109, 115, 207, 0, 0, 1, 123, 233, 104, 189, 50, 176, 101, 120, 112, 105, 114, 101, 115, 95, 97, 102, 116, 101, 114, 95, 109, 115, 206, 0, 18, 79, 128, 169, 109, 101, 116, 97, 95, 105, 110, 102, 111, 196, 34, 129, 187, 100, 104, 116, 95, 115, 116, 111, 114, 97, 103, 101, 95, 97, 114, 99, 95, 104, 97, 108, 102, 95, 108, 101, 110, 103, 116, 104, 206, 128, 0, 0, 1] } }, { "agent": { "type": "Buffer", "data": [98, 187, 145, 48, 115, 209, 94, 143, 31, 153, 102, 69, 138, 29, 133, 213, 34, 52, 39, 164, 157, 139, 178, 111, 23, 33, 118, 250, 28, 155, 78, 246, 128, 49, 179, 38] }, "signature": { "type": "Buffer", "data": [233, 192, 38, 3, 59, 248, 124, 231, 57, 255, 40, 154, 50, 60, 119, 252, 68, 198, 154, 109, 175, 155, 106, 217, 211, 155, 109, 223, 249, 91, 221, 210, 17, 132, 72, 230, 11, 230, 247, 119, 72, 244, 145, 91, 75, 7, 67, 5, 130, 151, 44, 231, 52, 220, 28, 154, 212, 82, 58, 90, 203, 211, 236, 4] }, "agent_info": { "type": "Buffer", "data": [134, 165, 115, 112, 97, 99, 101, 196, 36, 203, 165, 212, 173, 24, 215, 165, 196, 25, 145, 248, 113, 246, 139, 205, 182, 241, 138, 57, 0, 26, 8, 217, 179, 23, 126, 59, 136, 128, 213, 110, 225, 173, 72, 197, 95, 165, 97, 103, 101, 110, 116, 196, 36, 98, 187, 145, 48, 115, 209, 94, 143, 31, 153, 102, 69, 138, 29, 133, 213, 34, 52, 39, 164, 157, 139, 178, 111, 23, 33, 118, 250, 28, 155, 78, 246, 128, 49, 179, 38, 164, 117, 114, 108, 115, 145, 217, 99, 107, 105, 116, 115, 117, 110, 101, 45, 112, 114, 111, 120, 121, 58, 47, 47, 55, 101, 77, 106, 48, 73, 83, 72, 56, 56, 81, 56, 45, 89, 51, 74, 89, 70, 53, 76, 72, 57, 83, 54, 68, 119, 71, 73, 49, 88, 45, 115, 87, 53, 68, 104, 66, 87, 121, 71, 119, 78, 115, 47, 107, 105, 116, 115, 117, 110, 101, 45, 113, 117, 105, 99, 47, 104, 47, 49, 57, 50, 46, 49, 54, 56, 46, 49, 55, 56, 46, 54, 48, 47, 112, 47, 55, 55, 52, 52, 47, 45, 45, 172, 115, 105, 103, 110, 101, 100, 95, 97, 116, 95, 109, 115, 207, 0, 0, 1, 123, 233, 103, 45, 197, 176, 101, 120, 112, 105, 114, 101, 115, 95, 97, 102, 116, 101, 114, 95, 109, 115, 206, 0, 18, 79, 128, 169, 109, 101, 116, 97, 95, 105, 110, 102, 111, 196, 34, 129, 187, 100, 104, 116, 95, 115, 116, 111, 114, 97, 103, 101, 95, 97, 114, 99, 95, 104, 97, 108, 102, 95, 108, 101, 110, 103, 116, 104, 206, 128, 0, 0, 1] } }, { "agent": { "type": "Buffer", "data": [181, 101, 115, 45, 214, 127, 198, 153, 159, 184, 30, 87, 67, 224, 208, 184, 203, 176, 130, 158, 236, 127, 153, 125, 243, 183, 188, 167, 154, 25, 118, 254, 101, 145, 210, 109] }, "signature": { "type": "Buffer", "data": [88, 189, 229, 122, 44, 171, 194, 156, 90, 79, 148, 49, 207, 224, 34, 199, 219, 88, 24, 243, 103, 127, 123, 41, 87, 171, 127, 92, 6, 216, 198, 171, 26, 226, 237, 217, 122, 78, 98, 146, 55, 255, 68, 240, 202, 83, 58, 140, 147, 185, 3, 66, 15, 216, 210, 22, 99, 197, 73, 234, 120, 17, 74, 1] }, "agent_info": { "type": "Buffer", "data": [134, 165, 115, 112, 97, 99, 101, 196, 36, 203, 165, 212, 173, 24, 215, 165, 196, 25, 145, 248, 113, 246, 139, 205, 182, 241, 138, 57, 0, 26, 8, 217, 179, 23, 126, 59, 136, 128, 213, 110, 225, 173, 72, 197, 95, 165, 97, 103, 101, 110, 116, 196, 36, 181, 101, 115, 45, 214, 127, 198, 153, 159, 184, 30, 87, 67, 224, 208, 184, 203, 176, 130, 158, 236, 127, 153, 125, 243, 183, 188, 167, 154, 25, 118, 254, 101, 145, 210, 109, 164, 117, 114, 108, 115, 145, 217, 99, 107, 105, 116, 115, 117, 110, 101, 45, 112, 114, 111, 120, 121, 58, 47, 47, 114, 70, 71, 83, 100, 113, 104, 101, 68, 107, 70, 70, 56, 69, 102, 109, 45, 69, 116, 55, 119, 81, 101, 120, 83, 88, 55, 65, 112, 69, 51, 89, 86, 99, 45, 120, 102, 52, 104, 106, 77, 115, 77, 47, 107, 105, 116, 115, 117, 110, 101, 45, 113, 117, 105, 99, 47, 104, 47, 49, 57, 50, 46, 49, 54, 56, 46, 49, 55, 56, 46, 54, 48, 47, 112, 47, 55, 55, 52, 52, 47, 45, 45, 172, 115, 105, 103, 110, 101, 100, 95, 97, 116, 95, 109, 115, 207, 0, 0, 1, 123, 233, 113, 23, 220, 176, 101, 120, 112, 105, 114, 101, 115, 95, 97, 102, 116, 101, 114, 95, 109, 115, 206, 0, 18, 79, 128, 169, 109, 101, 116, 97, 95, 105, 110, 102, 111, 196, 34, 129, 187, 100, 104, 116, 95, 115, 116, 111, 114, 97, 103, 101, 95, 97, 114, 99, 95, 104, 97, 108, 102, 95, 108, 101, 110, 103, 116, 104, 206, 128, 0, 0, 1] } }, { "agent": { "type": "Buffer", "data": [3, 171, 237, 107, 186, 245, 165, 47, 237, 235, 211, 49, 245, 62, 113, 53, 255, 252, 223, 226, 75, 118, 148, 187, 23, 53, 70, 174, 160, 184, 64, 63, 94, 210, 227, 56] }, "signature": { "type": "Buffer", "data": [129, 12, 55, 104, 239, 121, 138, 2, 86, 106, 136, 51, 219, 79, 170, 8, 195, 69, 81, 188, 225, 192, 247, 196, 54, 39, 164, 110, 75, 39, 240, 56, 245, 189, 154, 77, 72, 11, 97, 250, 202, 149, 242, 97, 128, 28, 47, 164, 236, 104, 136, 82, 212, 246, 44, 143, 132, 119, 255, 135, 112, 11, 20, 13] }, "agent_info": { "type": "Buffer", "data": [134, 165, 115, 112, 97, 99, 101, 196, 36, 203, 165, 212, 173, 24, 215, 165, 196, 25, 145, 248, 113, 246, 139, 205, 182, 241, 138, 57, 0, 26, 8, 217, 179, 23, 126, 59, 136, 128, 213, 110, 225, 173, 72, 197, 95, 165, 97, 103, 101, 110, 116, 196, 36, 3, 171, 237, 107, 186, 245, 165, 47, 237, 235, 211, 49, 245, 62, 113, 53, 255, 252, 223, 226, 75, 118, 148, 187, 23, 53, 70, 174, 160, 184, 64, 63, 94, 210, 227, 56, 164, 117, 114, 108, 115, 145, 217, 97, 107, 105, 116, 115, 117, 110, 101, 45, 112, 114, 111, 120, 121, 58, 47, 47, 104, 121, 112, 115, 86, 121, 103, 117, 80, 84, 115, 53, 118, 73, 80, 65, 102, 97, 112, 90, 88, 113, 117, 84, 115, 79, 80, 100, 67, 81, 79, 79, 117, 103, 57, 51, 82, 103, 106, 95, 114, 85, 73, 47, 107, 105, 116, 115, 117, 110, 101, 45, 113, 117, 105, 99, 47, 104, 47, 49, 54, 53, 46, 50, 50, 46, 51, 50, 46, 49, 49, 47, 112, 47, 53, 55, 55, 57, 47, 45, 45, 172, 115, 105, 103, 110, 101, 100, 95, 97, 116, 95, 109, 115, 207, 0, 0, 1, 123, 233, 113, 188, 123, 176, 101, 120, 112, 105, 114, 101, 115, 95, 97, 102, 116, 101, 114, 95, 109, 115, 206, 0, 18, 79, 128, 169, 109, 101, 116, 97, 95, 105, 110, 102, 111, 196, 34, 129, 187, 100, 104, 116, 95, 115, 116, 111, 114, 97, 103, 101, 95, 97, 114, 99, 95, 104, 97, 108, 102, 95, 108, 101, 110, 103, 116, 104, 206, 128, 0, 0, 1] } }]);
471
- }
472
- runtimeGetNetworkMetrics() {
473
- return JSON.stringify({
474
- "metrics": {},
475
- "stats": {}
476
- });
477
- }
478
- runtimeRestartHolochain() {
479
- return true;
480
- }
481
- runtimeHcAddAgentInfos(agentInfos) {
482
- return true;
483
- }
484
- runtimeVerifyStringSignedByDid(did, didSigningKeyId, data, signedData) {
485
- return true;
486
- }
487
- runtimeSetStatus(status) {
488
- return true;
489
- }
490
- runtimeFriendStatus(did) {
491
- return testPerspectiveExpression;
492
- }
493
- runtimeFriendSendMessage(did, message) {
494
- return true;
495
- }
496
- runtimeMessageInbox(filter) {
497
- return [testPerspectiveExpression];
498
- }
499
- runtimeMessageOutbox(filter) {
500
- return [{
501
- recipient: "did:test:recipient",
502
- message: testPerspectiveExpression
503
- }];
504
- }
505
- runtimeMessageReceived() {
506
- return testPerspectiveExpression;
507
- }
508
- exceptionOccurred() {
509
- return {
510
- title: "Test title",
511
- message: "Test message",
512
- type: ExceptionType.LanguageIsNotLoaded,
513
- };
514
- }
515
- runtimeRequestInstallNotification(notification) {
516
- return "new-notification-id";
517
- }
518
- runtimeNotifications() {
519
- return [{
520
- id: "test-id",
521
- granted: false,
522
- description: "Test description",
523
- appName: "Test app name",
524
- appUrl: "https://example.com",
525
- appIconPath: "https://fluxsocial.io/favicon",
526
- trigger: "triple(X, ad4m://has_type, flux://message)",
527
- perspectiveIds: ["u983ud-jdhh38d"],
528
- webhookUrl: "https://example.com/webhook",
529
- webhookAuth: "test-auth",
530
- }];
531
- }
532
- runtimeUpdateNotification(id, notification) {
533
- return true;
534
- }
535
- runtimeRemoveNotification(id) {
536
- return true;
537
- }
538
- runtimeGrantNotification(id) {
539
- return true;
540
- }
541
- runtimeNotificationTriggered() {
542
- return {
543
- perspectiveId: "test-perspective-id",
544
- triggerMatch: "test-trigger-match",
545
- notification: {
546
- id: "test-id",
547
- granted: false,
548
- description: "Test description",
549
- appName: "Test app name",
550
- appUrl: "https://example.com",
551
- appIconPath: "https://fluxsocial.io/favicon",
552
- trigger: "triple(X, ad4m://has_type, flux://message)",
553
- perspectiveIds: ["u983ud-jdhh38d"],
554
- webhookUrl: "https://example.com/webhook",
555
- webhookAuth: "test-auth",
556
- }
557
- };
558
- }
559
- runtimeExportDb(filePath) {
560
- return true;
561
- }
562
- runtimeImportDb(filePath) {
563
- return true;
564
- }
565
- runtimeExportPerspective(perspectiveUuid, filePath) {
566
- return true;
567
- }
568
- runtimeImportPerspective(filePath) {
569
- return true;
570
- }
571
- runtimeMultiUserEnabled() {
572
- return false;
573
- }
574
- runtimeSetMultiUserEnabled(enabled) {
575
- return enabled;
576
- }
577
- runtimeFreeHostingEnabled() {
578
- return true;
579
- }
580
- runtimeSetFreeHostingEnabled(enabled) {
581
- return enabled;
582
- }
583
- runtimeListUsers() {
584
- return [{
585
- email: "test@example.com",
586
- did: "did:key:test123",
587
- lastSeen: new Date().toISOString(),
588
- perspectiveCount: 5,
589
- remainingCredits: "0",
590
- freeAccess: false
591
- }];
592
- }
593
- runtimeRequestLoginVerification(email, appInfo) {
594
- // For testing: simulate existing user
595
- return {
596
- success: true,
597
- message: "Verification email sent",
598
- requiresPassword: false,
599
- isExistingUser: true
600
- };
601
- }
602
- runtimeVerifyEmailCode(email, code, verificationType) {
603
- // For testing: return a test JWT token
604
- return "test-jwt-token-from-email-verification";
605
- }
606
- runtimeTestEmail(to) {
607
- // For testing: simulate successful email send
608
- return true;
609
- }
610
- runtimeCreateUser(email, password, appInfo) {
611
- // For testing: simulate successful user creation (email verification flow)
612
- return new UserCreationResult("did:key:test123", true);
613
- }
614
- runtimeLoginUser(email, password) {
615
- // For testing: return a test JWT token
616
- return "test-jwt-token-from-password-login";
617
- }
618
- runtimeEmailTestModeEnable() {
619
- // For testing: enable test mode
620
- return true;
621
- }
622
- runtimeEmailTestModeDisable() {
623
- // For testing: disable test mode
624
- return true;
625
- }
626
- runtimeEmailTestGetCode(email) {
627
- // For testing: return a mock code
628
- return "123456";
629
- }
630
- runtimeEmailTestClearCodes() {
631
- // For testing: clear codes
632
- return true;
633
- }
634
- runtimeEmailTestSetExpiry(email, verificationType, expiresAt) {
635
- // For testing: simulate setting expiry (no-op in mock)
636
- return true;
637
- }
638
- // Hosting mutations & queries
639
- runtimeHostingUserInfo() {
640
- return new HostingUserInfo("test@example.com", "100000000", null, false);
641
- }
642
- runtimeComputeLog(since, limit, userEmail) {
643
- return [];
644
- }
645
- runtimeSetHotWalletAddress(address) {
646
- return true;
647
- }
648
- runtimeRequestPayment(amountHOT) {
649
- return new PaymentRequestResult(true, "Mock payment of " + amountHOT + " base units credited");
650
- }
651
- runtimeSetUserCredits(email, amount) {
652
- return true;
653
- }
654
- runtimeSetUserFreeAccess(email, enabled) {
655
- return true;
656
- }
657
- runtimeReinstallUnytDna() {
658
- return new PaymentRequestResult(true, "");
659
- }
660
- runtimeSendHot(recipient, amount) {
661
- return new PaymentRequestResult(true, "");
662
- }
663
- runtimeSetUnytMembraneProof(proof) {
664
- return new PaymentRequestResult(true, "");
665
- }
666
- runtimeHotWalletBalance() {
667
- return "";
668
- }
669
- runtimeHotWalletHistory(page, perPage) {
670
- return "";
671
- }
672
- runtimeHotAgentPubkey() {
673
- return "";
674
- }
675
- runtimeUnytAgentKey() {
676
- return "";
677
- }
678
- runtimeUnytVersionInfo() {
679
- return "";
680
- }
681
- };
682
- __decorate([
683
- Mutation(returns => Boolean),
684
- __metadata("design:type", Function),
685
- __metadata("design:paramtypes", []),
686
- __metadata("design:returntype", Boolean)
687
- ], RuntimeResolver.prototype, "runtimeQuit", null);
688
- __decorate([
689
- Mutation(returns => Boolean),
690
- __param(0, Arg('url')),
691
- __metadata("design:type", Function),
692
- __metadata("design:paramtypes", [String]),
693
- __metadata("design:returntype", Boolean)
694
- ], RuntimeResolver.prototype, "runtimeOpenLink", null);
695
- __decorate([
696
- Query(returns => RuntimeInfo),
697
- __metadata("design:type", Function),
698
- __metadata("design:paramtypes", []),
699
- __metadata("design:returntype", RuntimeInfo)
700
- ], RuntimeResolver.prototype, "runtimeInfo", null);
701
- __decorate([
702
- Mutation(returns => [String]),
703
- __param(0, Arg("agents", type => [String])),
704
- __metadata("design:type", Function),
705
- __metadata("design:paramtypes", [Array]),
706
- __metadata("design:returntype", Array)
707
- ], RuntimeResolver.prototype, "addTrustedAgents", null);
708
- __decorate([
709
- Mutation(returns => [String]),
710
- __param(0, Arg("agents", type => [String])),
711
- __metadata("design:type", Function),
712
- __metadata("design:paramtypes", [Array]),
713
- __metadata("design:returntype", Array)
714
- ], RuntimeResolver.prototype, "deleteTrustedAgents", null);
715
- __decorate([
716
- Query(returns => [String]),
717
- __metadata("design:type", Function),
718
- __metadata("design:paramtypes", []),
719
- __metadata("design:returntype", Array)
720
- ], RuntimeResolver.prototype, "getTrustedAgents", null);
721
- __decorate([
722
- Query(returns => [String]),
723
- __metadata("design:type", Function),
724
- __metadata("design:paramtypes", []),
725
- __metadata("design:returntype", Array)
726
- ], RuntimeResolver.prototype, "runtimeKnownLinkLanguageTemplates", null);
727
- __decorate([
728
- Mutation(returns => [String]),
729
- __param(0, Arg("addresses", type => [String])),
730
- __metadata("design:type", Function),
731
- __metadata("design:paramtypes", [Array]),
732
- __metadata("design:returntype", Array)
733
- ], RuntimeResolver.prototype, "runtimeAddKnownLinkLanguageTemplates", null);
734
- __decorate([
735
- Mutation(returns => [String]),
736
- __param(0, Arg("addresses", type => [String])),
737
- __metadata("design:type", Function),
738
- __metadata("design:paramtypes", [Array]),
739
- __metadata("design:returntype", Array)
740
- ], RuntimeResolver.prototype, "runtimeRemoveKnownLinkLanguageTemplates", null);
741
- __decorate([
742
- Query(returns => [String]),
743
- __metadata("design:type", Function),
744
- __metadata("design:paramtypes", []),
745
- __metadata("design:returntype", Array)
746
- ], RuntimeResolver.prototype, "runtimeFriends", null);
747
- __decorate([
748
- Mutation(returns => [String]),
749
- __param(0, Arg("dids", type => [String])),
750
- __metadata("design:type", Function),
751
- __metadata("design:paramtypes", [Array]),
752
- __metadata("design:returntype", Array)
753
- ], RuntimeResolver.prototype, "runtimeAddFriends", null);
754
- __decorate([
755
- Mutation(returns => [String]),
756
- __param(0, Arg("dids", type => [String])),
757
- __metadata("design:type", Function),
758
- __metadata("design:paramtypes", [Array]),
759
- __metadata("design:returntype", Array)
760
- ], RuntimeResolver.prototype, "runtimeRemoveFriends", null);
761
- __decorate([
762
- Query(),
763
- __metadata("design:type", Function),
764
- __metadata("design:paramtypes", []),
765
- __metadata("design:returntype", String)
766
- ], RuntimeResolver.prototype, "runtimeHcAgentInfos", null);
767
- __decorate([
768
- Query(),
769
- __metadata("design:type", Function),
770
- __metadata("design:paramtypes", []),
771
- __metadata("design:returntype", String)
772
- ], RuntimeResolver.prototype, "runtimeGetNetworkMetrics", null);
773
- __decorate([
774
- Mutation(returns => Boolean),
775
- __metadata("design:type", Function),
776
- __metadata("design:paramtypes", []),
777
- __metadata("design:returntype", Boolean)
778
- ], RuntimeResolver.prototype, "runtimeRestartHolochain", null);
779
- __decorate([
780
- Mutation(returns => Boolean),
781
- __param(0, Arg("agentInfos", type => String)),
782
- __metadata("design:type", Function),
783
- __metadata("design:paramtypes", [Object]),
784
- __metadata("design:returntype", Boolean)
785
- ], RuntimeResolver.prototype, "runtimeHcAddAgentInfos", null);
786
- __decorate([
787
- Query(returns => Boolean),
788
- __param(0, Arg("did", type => String)),
789
- __param(1, Arg("didSigningKeyId", type => String)),
790
- __param(2, Arg("data", type => String)),
791
- __param(3, Arg("signedData", type => String)),
792
- __metadata("design:type", Function),
793
- __metadata("design:paramtypes", [String, String, String, String]),
794
- __metadata("design:returntype", void 0)
795
- ], RuntimeResolver.prototype, "runtimeVerifyStringSignedByDid", null);
796
- __decorate([
797
- Mutation(),
798
- __param(0, Arg("status", type => PerspectiveInput)),
799
- __metadata("design:type", Function),
800
- __metadata("design:paramtypes", [Perspective]),
801
- __metadata("design:returntype", Boolean)
802
- ], RuntimeResolver.prototype, "runtimeSetStatus", null);
803
- __decorate([
804
- Query({ nullable: true }),
805
- __param(0, Arg("did", type => String)),
806
- __metadata("design:type", Function),
807
- __metadata("design:paramtypes", [String]),
808
- __metadata("design:returntype", PerspectiveExpression)
809
- ], RuntimeResolver.prototype, "runtimeFriendStatus", null);
810
- __decorate([
811
- Mutation(),
812
- __param(0, Arg("did", type => String)),
813
- __param(1, Arg("message", type => PerspectiveInput)),
814
- __metadata("design:type", Function),
815
- __metadata("design:paramtypes", [String, PerspectiveInput]),
816
- __metadata("design:returntype", Boolean)
817
- ], RuntimeResolver.prototype, "runtimeFriendSendMessage", null);
818
- __decorate([
819
- Query(returns => [PerspectiveExpression]),
820
- __param(0, Arg("filter", type => String, { nullable: true })),
821
- __metadata("design:type", Function),
822
- __metadata("design:paramtypes", [String]),
823
- __metadata("design:returntype", Array)
824
- ], RuntimeResolver.prototype, "runtimeMessageInbox", null);
825
- __decorate([
826
- Query(returns => [SentMessage]),
827
- __param(0, Arg("filter", type => String, { nullable: true })),
828
- __metadata("design:type", Function),
829
- __metadata("design:paramtypes", [String]),
830
- __metadata("design:returntype", Array)
831
- ], RuntimeResolver.prototype, "runtimeMessageOutbox", null);
832
- __decorate([
833
- Subscription({ topics: RUNTIME_MESSAGED_RECEIVED_TOPIC, nullable: true }),
834
- __metadata("design:type", Function),
835
- __metadata("design:paramtypes", []),
836
- __metadata("design:returntype", PerspectiveExpression)
837
- ], RuntimeResolver.prototype, "runtimeMessageReceived", null);
838
- __decorate([
839
- Subscription({ topics: EXCEPTION_OCCURRED_TOPIC, nullable: true }),
840
- __metadata("design:type", Function),
841
- __metadata("design:paramtypes", []),
842
- __metadata("design:returntype", ExceptionInfo)
843
- ], RuntimeResolver.prototype, "exceptionOccurred", null);
844
- __decorate([
845
- Mutation(),
846
- __param(0, Arg("notification", type => NotificationInput)),
847
- __metadata("design:type", Function),
848
- __metadata("design:paramtypes", [NotificationInput]),
849
- __metadata("design:returntype", String)
850
- ], RuntimeResolver.prototype, "runtimeRequestInstallNotification", null);
851
- __decorate([
852
- Query(returns => [Notification]),
853
- __metadata("design:type", Function),
854
- __metadata("design:paramtypes", []),
855
- __metadata("design:returntype", Array)
856
- ], RuntimeResolver.prototype, "runtimeNotifications", null);
857
- __decorate([
858
- Mutation(),
859
- __param(0, Arg("id", type => String)),
860
- __param(1, Arg("notification", type => NotificationInput)),
861
- __metadata("design:type", Function),
862
- __metadata("design:paramtypes", [String, NotificationInput]),
863
- __metadata("design:returntype", Boolean)
864
- ], RuntimeResolver.prototype, "runtimeUpdateNotification", null);
865
- __decorate([
866
- Mutation(),
867
- __param(0, Arg("id", type => String)),
868
- __metadata("design:type", Function),
869
- __metadata("design:paramtypes", [String]),
870
- __metadata("design:returntype", Boolean)
871
- ], RuntimeResolver.prototype, "runtimeRemoveNotification", null);
872
- __decorate([
873
- Mutation(),
874
- __param(0, Arg("id", type => String)),
875
- __metadata("design:type", Function),
876
- __metadata("design:paramtypes", [String]),
877
- __metadata("design:returntype", Boolean)
878
- ], RuntimeResolver.prototype, "runtimeGrantNotification", null);
879
- __decorate([
880
- Subscription({ topics: RUNTIME_NOTIFICATION_TRIGGERED_TOPIC, nullable: true }),
881
- __metadata("design:type", Function),
882
- __metadata("design:paramtypes", []),
883
- __metadata("design:returntype", TriggeredNotification)
884
- ], RuntimeResolver.prototype, "runtimeNotificationTriggered", null);
885
- __decorate([
886
- Mutation(),
887
- __param(0, Arg("filePath", type => String)),
888
- __metadata("design:type", Function),
889
- __metadata("design:paramtypes", [String]),
890
- __metadata("design:returntype", Boolean)
891
- ], RuntimeResolver.prototype, "runtimeExportDb", null);
892
- __decorate([
893
- Mutation(),
894
- __param(0, Arg("filePath", type => String)),
895
- __metadata("design:type", Function),
896
- __metadata("design:paramtypes", [String]),
897
- __metadata("design:returntype", Boolean)
898
- ], RuntimeResolver.prototype, "runtimeImportDb", null);
899
- __decorate([
900
- Mutation(),
901
- __param(0, Arg("perspectiveUuid", type => String)),
902
- __param(1, Arg("filePath", type => String)),
903
- __metadata("design:type", Function),
904
- __metadata("design:paramtypes", [String, String]),
905
- __metadata("design:returntype", Boolean)
906
- ], RuntimeResolver.prototype, "runtimeExportPerspective", null);
907
- __decorate([
908
- Mutation(),
909
- __param(0, Arg("filePath", type => String)),
910
- __metadata("design:type", Function),
911
- __metadata("design:paramtypes", [String]),
912
- __metadata("design:returntype", Boolean)
913
- ], RuntimeResolver.prototype, "runtimeImportPerspective", null);
914
- __decorate([
915
- Query(returns => Boolean),
916
- __metadata("design:type", Function),
917
- __metadata("design:paramtypes", []),
918
- __metadata("design:returntype", Boolean)
919
- ], RuntimeResolver.prototype, "runtimeMultiUserEnabled", null);
920
- __decorate([
921
- Mutation(returns => Boolean),
922
- __param(0, Arg("enabled")),
923
- __metadata("design:type", Function),
924
- __metadata("design:paramtypes", [Boolean]),
925
- __metadata("design:returntype", Boolean)
926
- ], RuntimeResolver.prototype, "runtimeSetMultiUserEnabled", null);
927
- __decorate([
928
- Query(returns => Boolean),
929
- __metadata("design:type", Function),
930
- __metadata("design:paramtypes", []),
931
- __metadata("design:returntype", Boolean)
932
- ], RuntimeResolver.prototype, "runtimeFreeHostingEnabled", null);
933
- __decorate([
934
- Mutation(returns => Boolean),
935
- __param(0, Arg("enabled")),
936
- __metadata("design:type", Function),
937
- __metadata("design:paramtypes", [Boolean]),
938
- __metadata("design:returntype", Boolean)
939
- ], RuntimeResolver.prototype, "runtimeSetFreeHostingEnabled", null);
940
- __decorate([
941
- Query(returns => [UserStatistics]),
942
- __metadata("design:type", Function),
943
- __metadata("design:paramtypes", []),
944
- __metadata("design:returntype", Array)
945
- ], RuntimeResolver.prototype, "runtimeListUsers", null);
946
- __decorate([
947
- Mutation(returns => VerificationRequestResult),
948
- __param(0, Arg("email")),
949
- __param(1, Arg("appInfo", { nullable: true })),
950
- __metadata("design:type", Function),
951
- __metadata("design:paramtypes", [String, AuthInfoInput]),
952
- __metadata("design:returntype", VerificationRequestResult)
953
- ], RuntimeResolver.prototype, "runtimeRequestLoginVerification", null);
954
- __decorate([
955
- Mutation(returns => String),
956
- __param(0, Arg("email")),
957
- __param(1, Arg("code")),
958
- __param(2, Arg("verificationType")),
959
- __metadata("design:type", Function),
960
- __metadata("design:paramtypes", [String, String, String]),
961
- __metadata("design:returntype", String)
962
- ], RuntimeResolver.prototype, "runtimeVerifyEmailCode", null);
963
- __decorate([
964
- Mutation(returns => Boolean),
965
- __param(0, Arg("to")),
966
- __metadata("design:type", Function),
967
- __metadata("design:paramtypes", [String]),
968
- __metadata("design:returntype", Boolean)
969
- ], RuntimeResolver.prototype, "runtimeTestEmail", null);
970
- __decorate([
971
- Mutation(returns => UserCreationResult),
972
- __param(0, Arg("email")),
973
- __param(1, Arg("password")),
974
- __param(2, Arg("appInfo", { nullable: true })),
975
- __metadata("design:type", Function),
976
- __metadata("design:paramtypes", [String, String, AuthInfoInput]),
977
- __metadata("design:returntype", UserCreationResult)
978
- ], RuntimeResolver.prototype, "runtimeCreateUser", null);
979
- __decorate([
980
- Mutation(returns => String),
981
- __param(0, Arg("email")),
982
- __param(1, Arg("password")),
983
- __metadata("design:type", Function),
984
- __metadata("design:paramtypes", [String, String]),
985
- __metadata("design:returntype", String)
986
- ], RuntimeResolver.prototype, "runtimeLoginUser", null);
987
- __decorate([
988
- Mutation(returns => Boolean),
989
- __metadata("design:type", Function),
990
- __metadata("design:paramtypes", []),
991
- __metadata("design:returntype", Boolean)
992
- ], RuntimeResolver.prototype, "runtimeEmailTestModeEnable", null);
993
- __decorate([
994
- Mutation(returns => Boolean),
995
- __metadata("design:type", Function),
996
- __metadata("design:paramtypes", []),
997
- __metadata("design:returntype", Boolean)
998
- ], RuntimeResolver.prototype, "runtimeEmailTestModeDisable", null);
999
- __decorate([
1000
- Mutation(returns => String, { nullable: true }),
1001
- __param(0, Arg("email")),
1002
- __metadata("design:type", Function),
1003
- __metadata("design:paramtypes", [String]),
1004
- __metadata("design:returntype", String)
1005
- ], RuntimeResolver.prototype, "runtimeEmailTestGetCode", null);
1006
- __decorate([
1007
- Mutation(returns => Boolean),
1008
- __metadata("design:type", Function),
1009
- __metadata("design:paramtypes", []),
1010
- __metadata("design:returntype", Boolean)
1011
- ], RuntimeResolver.prototype, "runtimeEmailTestClearCodes", null);
1012
- __decorate([
1013
- Mutation(returns => Boolean),
1014
- __param(0, Arg("email")),
1015
- __param(1, Arg("verificationType")),
1016
- __param(2, Arg("expiresAt")),
1017
- __metadata("design:type", Function),
1018
- __metadata("design:paramtypes", [String, String, Number]),
1019
- __metadata("design:returntype", Boolean)
1020
- ], RuntimeResolver.prototype, "runtimeEmailTestSetExpiry", null);
1021
- __decorate([
1022
- Query(returns => HostingUserInfo),
1023
- __metadata("design:type", Function),
1024
- __metadata("design:paramtypes", []),
1025
- __metadata("design:returntype", HostingUserInfo)
1026
- ], RuntimeResolver.prototype, "runtimeHostingUserInfo", null);
1027
- __decorate([
1028
- Query(returns => [ComputeLogEntry]),
1029
- __param(0, Arg("since", { nullable: true })),
1030
- __param(1, Arg("limit", { nullable: true })),
1031
- __param(2, Arg("userEmail", { nullable: true })),
1032
- __metadata("design:type", Function),
1033
- __metadata("design:paramtypes", [String, Number, String]),
1034
- __metadata("design:returntype", Array)
1035
- ], RuntimeResolver.prototype, "runtimeComputeLog", null);
1036
- __decorate([
1037
- Mutation(returns => Boolean),
1038
- __param(0, Arg("address")),
1039
- __metadata("design:type", Function),
1040
- __metadata("design:paramtypes", [String]),
1041
- __metadata("design:returntype", Boolean)
1042
- ], RuntimeResolver.prototype, "runtimeSetHotWalletAddress", null);
1043
- __decorate([
1044
- Mutation(returns => PaymentRequestResult),
1045
- __param(0, Arg("amountHOT")),
1046
- __metadata("design:type", Function),
1047
- __metadata("design:paramtypes", [String]),
1048
- __metadata("design:returntype", PaymentRequestResult)
1049
- ], RuntimeResolver.prototype, "runtimeRequestPayment", null);
1050
- __decorate([
1051
- Mutation(returns => Boolean),
1052
- __param(0, Arg("email")),
1053
- __param(1, Arg("amount")),
1054
- __metadata("design:type", Function),
1055
- __metadata("design:paramtypes", [String, Number]),
1056
- __metadata("design:returntype", Boolean)
1057
- ], RuntimeResolver.prototype, "runtimeSetUserCredits", null);
1058
- __decorate([
1059
- Mutation(returns => Boolean),
1060
- __param(0, Arg("email")),
1061
- __param(1, Arg("enabled")),
1062
- __metadata("design:type", Function),
1063
- __metadata("design:paramtypes", [String, Boolean]),
1064
- __metadata("design:returntype", Boolean)
1065
- ], RuntimeResolver.prototype, "runtimeSetUserFreeAccess", null);
1066
- __decorate([
1067
- Mutation(returns => PaymentRequestResult),
1068
- __metadata("design:type", Function),
1069
- __metadata("design:paramtypes", []),
1070
- __metadata("design:returntype", PaymentRequestResult)
1071
- ], RuntimeResolver.prototype, "runtimeReinstallUnytDna", null);
1072
- __decorate([
1073
- Mutation(returns => PaymentRequestResult),
1074
- __param(0, Arg("recipient")),
1075
- __param(1, Arg("amount")),
1076
- __metadata("design:type", Function),
1077
- __metadata("design:paramtypes", [String, String]),
1078
- __metadata("design:returntype", PaymentRequestResult)
1079
- ], RuntimeResolver.prototype, "runtimeSendHot", null);
1080
- __decorate([
1081
- Mutation(returns => PaymentRequestResult),
1082
- __param(0, Arg("proof")),
1083
- __metadata("design:type", Function),
1084
- __metadata("design:paramtypes", [String]),
1085
- __metadata("design:returntype", PaymentRequestResult)
1086
- ], RuntimeResolver.prototype, "runtimeSetUnytMembraneProof", null);
1087
- __decorate([
1088
- Query(returns => String),
1089
- __metadata("design:type", Function),
1090
- __metadata("design:paramtypes", []),
1091
- __metadata("design:returntype", String)
1092
- ], RuntimeResolver.prototype, "runtimeHotWalletBalance", null);
1093
- __decorate([
1094
- Query(returns => String),
1095
- __param(0, Arg("page", { nullable: true })),
1096
- __param(1, Arg("perPage", { nullable: true })),
1097
- __metadata("design:type", Function),
1098
- __metadata("design:paramtypes", [Number, Number]),
1099
- __metadata("design:returntype", String)
1100
- ], RuntimeResolver.prototype, "runtimeHotWalletHistory", null);
1101
- __decorate([
1102
- Query(returns => String),
1103
- __metadata("design:type", Function),
1104
- __metadata("design:paramtypes", []),
1105
- __metadata("design:returntype", String)
1106
- ], RuntimeResolver.prototype, "runtimeHotAgentPubkey", null);
1107
- __decorate([
1108
- Query(returns => String),
1109
- __metadata("design:type", Function),
1110
- __metadata("design:paramtypes", []),
1111
- __metadata("design:returntype", String)
1112
- ], RuntimeResolver.prototype, "runtimeUnytAgentKey", null);
1113
- __decorate([
1114
- Query(returns => String),
1115
- __metadata("design:type", Function),
1116
- __metadata("design:paramtypes", []),
1117
- __metadata("design:returntype", String)
1118
- ], RuntimeResolver.prototype, "runtimeUnytVersionInfo", null);
1119
- RuntimeResolver = __decorate([
1120
- Resolver()
1121
- ], RuntimeResolver);
1122
- export default RuntimeResolver;