@constructive-io/sdk 1.19.2 → 1.19.3

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 (723) hide show
  1. package/README.md +2 -0
  2. package/admin/orm/index.d.ts +36 -69
  3. package/admin/orm/index.js +4 -32
  4. package/admin/orm/input-types.d.ts +426 -3916
  5. package/admin/orm/input-types.js +1 -37
  6. package/admin/orm/models/index.d.ts +2 -16
  7. package/admin/orm/models/index.js +5 -33
  8. package/admin/orm/models/myPendingAppInvitesRecord.d.ts +36 -0
  9. package/admin/orm/models/myPendingAppInvitesRecord.js +80 -0
  10. package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +36 -0
  11. package/admin/orm/models/myPendingOrgInvitesRecord.js +80 -0
  12. package/admin/orm/mutation/index.d.ts +54 -5
  13. package/admin/orm/mutation/index.js +72 -0
  14. package/admin/orm/query/index.d.ts +5 -79
  15. package/admin/orm/query/index.js +8 -112
  16. package/agent/orm/index.d.ts +30 -0
  17. package/agent/orm/index.js +30 -0
  18. package/agent/orm/input-types.d.ts +6040 -1415
  19. package/agent/orm/input-types.js +34 -0
  20. package/agent/orm/models/agentEvent.d.ts +54 -0
  21. package/{admin/orm/models/orgProfile.js → agent/orm/models/agentEvent.js} +27 -27
  22. package/agent/orm/models/agentRun.d.ts +54 -0
  23. package/{usage/orm/models/appLevel.js → agent/orm/models/agentRun.js} +27 -27
  24. package/agent/orm/models/agentRunWorkspace.d.ts +54 -0
  25. package/{usage/orm/models/appEventAggregate.js → agent/orm/models/agentRunWorkspace.js} +27 -27
  26. package/agent/orm/models/index.d.ts +15 -0
  27. package/agent/orm/models/index.js +31 -1
  28. package/agent/orm/models/platformAgent.d.ts +54 -0
  29. package/{usage/orm/models/appLevelGrant.js → agent/orm/models/platformAgent.js} +27 -27
  30. package/agent/orm/models/platformAgentEvent.d.ts +54 -0
  31. package/{admin/orm/models/orgProfileTemplate.js → agent/orm/models/platformAgentEvent.js} +27 -27
  32. package/agent/orm/models/platformAgentMessage.d.ts +54 -0
  33. package/{admin/orm/models/appMembershipProfile.js → agent/orm/models/platformAgentMessage.js} +27 -27
  34. package/agent/orm/models/platformAgentPersona.d.ts +54 -0
  35. package/{admin/orm/models/orgCapabilityDefault.js → agent/orm/models/platformAgentPersona.js} +27 -27
  36. package/agent/orm/models/platformAgentPlan.d.ts +54 -0
  37. package/agent/orm/models/platformAgentPlan.js +104 -0
  38. package/agent/orm/models/platformAgentPrompt.d.ts +54 -0
  39. package/{usage/orm/models/appLevelRequirement.js → agent/orm/models/platformAgentPrompt.js} +27 -27
  40. package/agent/orm/models/platformAgentResource.d.ts +54 -0
  41. package/agent/orm/models/platformAgentResource.js +104 -0
  42. package/agent/orm/models/platformAgentResourceChunk.d.ts +54 -0
  43. package/agent/orm/models/platformAgentResourceChunk.js +104 -0
  44. package/agent/orm/models/platformAgentRun.d.ts +54 -0
  45. package/agent/orm/models/platformAgentRun.js +104 -0
  46. package/agent/orm/models/platformAgentRunWorkspace.d.ts +54 -0
  47. package/{admin/orm/models/appProfileDefinitionGrant.js → agent/orm/models/platformAgentRunWorkspace.js} +27 -27
  48. package/agent/orm/models/platformAgentTask.d.ts +54 -0
  49. package/agent/orm/models/platformAgentTask.js +104 -0
  50. package/agent/orm/models/platformAgentThread.d.ts +54 -0
  51. package/{usage/orm/models/billingUsageSummary.js → agent/orm/models/platformAgentThread.js} +27 -27
  52. package/agent/orm/mutation/index.d.ts +5 -4
  53. package/api/orm/index.d.ts +177 -22
  54. package/api/orm/index.js +16 -6
  55. package/api/orm/input-types.d.ts +2520 -1059
  56. package/api/orm/input-types.js +7 -4
  57. package/api/orm/models/astMigration.d.ts +36 -0
  58. package/api/orm/models/astMigration.js +80 -0
  59. package/api/orm/models/getSitePreviewsRecord.d.ts +30 -0
  60. package/api/orm/models/getSitePreviewsRecord.js +59 -0
  61. package/api/orm/models/identityProviderRegistry.d.ts +54 -0
  62. package/api/orm/models/identityProviderRegistry.js +104 -0
  63. package/api/orm/models/index.d.ts +8 -3
  64. package/api/orm/models/index.js +18 -8
  65. package/api/orm/models/platformGetSitePreviewsRecord.d.ts +30 -0
  66. package/api/orm/models/platformGetSitePreviewsRecord.js +59 -0
  67. package/api/orm/models/platformSiteRelease.d.ts +54 -0
  68. package/api/orm/models/platformSiteRelease.js +104 -0
  69. package/api/orm/models/redirect.d.ts +54 -0
  70. package/{usage/orm/models/appEvent.js → api/orm/models/redirect.js} +27 -30
  71. package/api/orm/models/siteRelease.d.ts +54 -0
  72. package/{usage/orm/models/meterSource.js → api/orm/models/siteRelease.js} +27 -27
  73. package/api/orm/models/sqlAction.d.ts +36 -0
  74. package/api/orm/models/sqlAction.js +80 -0
  75. package/api/orm/mutation/index.d.ts +170 -24
  76. package/api/orm/mutation/index.js +240 -24
  77. package/api/orm/query/index.d.ts +107 -11
  78. package/api/orm/query/index.js +177 -13
  79. package/auth/orm/index.d.ts +104 -0
  80. package/auth/orm/index.js +4 -0
  81. package/auth/orm/input-types.d.ts +1017 -238
  82. package/auth/orm/input-types.js +1 -0
  83. package/auth/orm/models/index.d.ts +2 -0
  84. package/auth/orm/models/index.js +5 -1
  85. package/auth/orm/models/principalEntity.d.ts +2 -20
  86. package/auth/orm/models/principalEntity.js +0 -24
  87. package/auth/orm/models/userSetting.d.ts +54 -0
  88. package/{usage/orm/models/meterCredit.js → auth/orm/models/userSetting.js} +27 -27
  89. package/auth/orm/models/userSettingsSecurity.d.ts +54 -0
  90. package/{admin/orm/models/appProfileCapability.js → auth/orm/models/userSettingsSecurity.js} +27 -27
  91. package/auth/orm/mutation/index.d.ts +158 -5
  92. package/auth/orm/mutation/index.js +228 -0
  93. package/auth/orm/query/index.d.ts +6 -1
  94. package/auth/orm/query/index.js +7 -0
  95. package/compute/orm/index.d.ts +208 -0
  96. package/compute/orm/index.js +98 -0
  97. package/compute/orm/input-types.d.ts +23534 -8853
  98. package/compute/orm/input-types.js +78 -0
  99. package/compute/orm/models/build.d.ts +54 -0
  100. package/{usage/orm/models/meter.js → compute/orm/models/build.js} +27 -27
  101. package/compute/orm/models/buildStep.d.ts +56 -0
  102. package/{usage/orm/models/planLimit.js → compute/orm/models/buildStep.js} +30 -27
  103. package/compute/orm/models/builderBinding.d.ts +54 -0
  104. package/{usage/orm/models/planMeterLimit.js → compute/orm/models/builderBinding.js} +27 -27
  105. package/compute/orm/models/databaseFunctionGraph.d.ts +54 -0
  106. package/compute/orm/models/databaseFunctionGraph.js +104 -0
  107. package/compute/orm/models/databaseFunctionGraphExecution.d.ts +56 -0
  108. package/compute/orm/models/databaseFunctionGraphExecution.js +107 -0
  109. package/compute/orm/models/databaseFunctionGraphExecutionNodeState.d.ts +56 -0
  110. package/compute/orm/models/databaseFunctionGraphExecutionNodeState.js +107 -0
  111. package/compute/orm/models/databaseFunctionGraphExecutionOutput.d.ts +56 -0
  112. package/compute/orm/models/databaseFunctionGraphExecutionOutput.js +107 -0
  113. package/compute/orm/models/databaseGraphCommit.d.ts +56 -0
  114. package/compute/orm/models/databaseGraphCommit.js +107 -0
  115. package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +30 -0
  116. package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +59 -0
  117. package/compute/orm/models/databaseGraphObject.d.ts +56 -0
  118. package/compute/orm/models/databaseGraphObject.js +97 -0
  119. package/compute/orm/models/databaseGraphRef.d.ts +56 -0
  120. package/compute/orm/models/databaseGraphRef.js +107 -0
  121. package/compute/orm/models/databaseGraphStore.d.ts +54 -0
  122. package/{admin/orm/models/appProfileTemplate.js → compute/orm/models/databaseGraphStore.js} +27 -27
  123. package/compute/orm/models/image.d.ts +54 -0
  124. package/{api/orm/models/app.js → compute/orm/models/image.js} +27 -27
  125. package/compute/orm/models/imageGrant.d.ts +54 -0
  126. package/{admin/orm/models/appProfile.js → compute/orm/models/imageGrant.js} +27 -27
  127. package/compute/orm/models/index.d.ts +49 -0
  128. package/compute/orm/models/index.js +101 -2
  129. package/compute/orm/models/platformBuild.d.ts +54 -0
  130. package/{admin/orm/models/appCapability.js → compute/orm/models/platformBuild.js} +27 -27
  131. package/compute/orm/models/platformBuildStep.d.ts +56 -0
  132. package/compute/orm/models/platformBuildStep.js +107 -0
  133. package/compute/orm/models/platformBuilderBinding.d.ts +54 -0
  134. package/{admin/orm/models/appCapabilityDefault.js → compute/orm/models/platformBuilderBinding.js} +27 -27
  135. package/compute/orm/models/platformImage.d.ts +54 -0
  136. package/{admin/orm/models/orgCapability.js → compute/orm/models/platformImage.js} +27 -27
  137. package/compute/orm/models/platformImageGrant.d.ts +54 -0
  138. package/compute/orm/models/platformImageGrant.js +104 -0
  139. package/compute/orm/models/platformK8sResourceKind.d.ts +54 -0
  140. package/{modules/orm/models/configSecretsUserModule.js → compute/orm/models/platformK8sResourceKind.js} +27 -27
  141. package/compute/orm/models/platformK8sSpecRule.d.ts +54 -0
  142. package/compute/orm/models/platformK8sSpecRule.js +104 -0
  143. package/compute/orm/models/platformProposal.d.ts +54 -0
  144. package/compute/orm/models/platformProposal.js +104 -0
  145. package/compute/orm/models/platformProposalComment.d.ts +54 -0
  146. package/compute/orm/models/platformProposalComment.js +104 -0
  147. package/compute/orm/models/platformProposalFileView.d.ts +54 -0
  148. package/compute/orm/models/platformProposalFileView.js +104 -0
  149. package/compute/orm/models/platformProposalReaction.d.ts +54 -0
  150. package/compute/orm/models/platformProposalReaction.js +104 -0
  151. package/compute/orm/models/platformProposalReview.d.ts +54 -0
  152. package/compute/orm/models/platformProposalReview.js +104 -0
  153. package/compute/orm/models/platformProposalsChunk.d.ts +54 -0
  154. package/compute/orm/models/platformProposalsChunk.js +104 -0
  155. package/compute/orm/models/platformRegistry.d.ts +54 -0
  156. package/compute/orm/models/platformRegistry.js +104 -0
  157. package/compute/orm/models/platformRegistryBinding.d.ts +54 -0
  158. package/compute/orm/models/platformRegistryBinding.js +104 -0
  159. package/compute/orm/models/platformRegistryGrant.d.ts +54 -0
  160. package/compute/orm/models/platformRegistryGrant.js +104 -0
  161. package/compute/orm/models/platformRepository.d.ts +54 -0
  162. package/compute/orm/models/platformRepository.js +104 -0
  163. package/compute/orm/models/platformRepositoryEvent.d.ts +54 -0
  164. package/compute/orm/models/platformRepositoryEvent.js +104 -0
  165. package/compute/orm/models/platformRepositoryRequiredCheck.d.ts +54 -0
  166. package/compute/orm/models/platformRepositoryRequiredCheck.js +104 -0
  167. package/compute/orm/models/platformRepositoryWorkflow.d.ts +54 -0
  168. package/compute/orm/models/platformRepositoryWorkflow.js +104 -0
  169. package/compute/orm/models/platformResourceObservedStorage.d.ts +30 -0
  170. package/compute/orm/models/platformResourceObservedStorage.js +59 -0
  171. package/compute/orm/models/proposal.d.ts +54 -0
  172. package/compute/orm/models/proposal.js +104 -0
  173. package/compute/orm/models/proposalComment.d.ts +54 -0
  174. package/{admin/orm/models/appProfileGrant.js → compute/orm/models/proposalComment.js} +27 -27
  175. package/compute/orm/models/proposalFileView.d.ts +54 -0
  176. package/compute/orm/models/proposalFileView.js +104 -0
  177. package/compute/orm/models/proposalReaction.d.ts +54 -0
  178. package/{usage/orm/models/planSubscription.js → compute/orm/models/proposalReaction.js} +27 -27
  179. package/compute/orm/models/proposalReview.d.ts +54 -0
  180. package/compute/orm/models/proposalReview.js +104 -0
  181. package/compute/orm/models/proposalsChunk.d.ts +54 -0
  182. package/compute/orm/models/proposalsChunk.js +104 -0
  183. package/compute/orm/models/registry.d.ts +54 -0
  184. package/compute/orm/models/registry.js +104 -0
  185. package/compute/orm/models/registryBinding.d.ts +54 -0
  186. package/{modules/orm/models/httpRouteModule.js → compute/orm/models/registryBinding.js} +27 -27
  187. package/compute/orm/models/registryGrant.d.ts +54 -0
  188. package/{usage/orm/models/appEventType.js → compute/orm/models/registryGrant.js} +27 -27
  189. package/compute/orm/models/repository.d.ts +54 -0
  190. package/{api/orm/models/httpRoute.js → compute/orm/models/repository.js} +27 -27
  191. package/compute/orm/models/repositoryEvent.d.ts +54 -0
  192. package/{admin/orm/models/orgProfileGrant.js → compute/orm/models/repositoryEvent.js} +27 -27
  193. package/compute/orm/models/repositoryRequiredCheck.d.ts +54 -0
  194. package/compute/orm/models/repositoryRequiredCheck.js +104 -0
  195. package/compute/orm/models/repositoryWorkflow.d.ts +54 -0
  196. package/compute/orm/models/repositoryWorkflow.js +104 -0
  197. package/compute/orm/models/resourceObservedStorage.d.ts +30 -0
  198. package/compute/orm/models/resourceObservedStorage.js +59 -0
  199. package/compute/orm/mutation/index.d.ts +174 -5
  200. package/compute/orm/mutation/index.js +252 -0
  201. package/compute/orm/query/index.d.ts +8 -0
  202. package/compute/orm/query/index.js +12 -0
  203. package/config/orm/index.d.ts +48 -0
  204. package/config/orm/index.js +8 -0
  205. package/config/orm/input-types.d.ts +711 -41
  206. package/config/orm/models/appInternalSecret.d.ts +36 -0
  207. package/config/orm/models/appInternalSecret.js +80 -0
  208. package/config/orm/models/index.d.ts +4 -0
  209. package/config/orm/models/index.js +9 -1
  210. package/config/orm/models/internalConfig.d.ts +54 -0
  211. package/config/orm/models/internalConfig.js +104 -0
  212. package/config/orm/models/internalSecret.d.ts +36 -0
  213. package/config/orm/models/internalSecret.js +80 -0
  214. package/config/orm/models/platformInternalConfig.d.ts +54 -0
  215. package/config/orm/models/platformInternalConfig.js +104 -0
  216. package/config/orm/mutation/index.d.ts +70 -5
  217. package/config/orm/mutation/index.js +96 -0
  218. package/esm/admin/orm/index.d.ts +36 -69
  219. package/esm/admin/orm/index.js +4 -32
  220. package/esm/admin/orm/input-types.d.ts +426 -3916
  221. package/esm/admin/orm/input-types.js +1 -37
  222. package/esm/admin/orm/models/index.d.ts +2 -16
  223. package/esm/admin/orm/models/index.js +2 -16
  224. package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +36 -0
  225. package/esm/admin/orm/models/myPendingAppInvitesRecord.js +76 -0
  226. package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +36 -0
  227. package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +76 -0
  228. package/esm/admin/orm/mutation/index.d.ts +54 -5
  229. package/esm/admin/orm/mutation/index.js +72 -0
  230. package/esm/admin/orm/query/index.d.ts +5 -79
  231. package/esm/admin/orm/query/index.js +8 -112
  232. package/esm/agent/orm/index.d.ts +30 -0
  233. package/esm/agent/orm/index.js +30 -0
  234. package/esm/agent/orm/input-types.d.ts +6040 -1415
  235. package/esm/agent/orm/input-types.js +34 -0
  236. package/esm/agent/orm/models/agentEvent.d.ts +54 -0
  237. package/esm/{admin/orm/models/appProfile.js → agent/orm/models/agentEvent.js} +25 -25
  238. package/esm/agent/orm/models/agentRun.d.ts +54 -0
  239. package/esm/{usage/orm/models/appLevel.js → agent/orm/models/agentRun.js} +25 -25
  240. package/esm/agent/orm/models/agentRunWorkspace.d.ts +54 -0
  241. package/esm/{usage/orm/models/appEventAggregate.js → agent/orm/models/agentRunWorkspace.js} +25 -25
  242. package/esm/agent/orm/models/index.d.ts +15 -0
  243. package/esm/agent/orm/models/index.js +15 -0
  244. package/esm/agent/orm/models/platformAgent.d.ts +54 -0
  245. package/esm/{usage/orm/models/planLimit.js → agent/orm/models/platformAgent.js} +25 -25
  246. package/esm/agent/orm/models/platformAgentEvent.d.ts +54 -0
  247. package/esm/agent/orm/models/platformAgentEvent.js +100 -0
  248. package/esm/agent/orm/models/platformAgentMessage.d.ts +54 -0
  249. package/esm/{admin/orm/models/appMembershipProfile.js → agent/orm/models/platformAgentMessage.js} +25 -25
  250. package/esm/agent/orm/models/platformAgentPersona.d.ts +54 -0
  251. package/esm/{admin/orm/models/appCapabilityDefault.js → agent/orm/models/platformAgentPersona.js} +25 -25
  252. package/esm/agent/orm/models/platformAgentPlan.d.ts +54 -0
  253. package/esm/agent/orm/models/platformAgentPlan.js +100 -0
  254. package/esm/agent/orm/models/platformAgentPrompt.d.ts +54 -0
  255. package/esm/agent/orm/models/platformAgentPrompt.js +100 -0
  256. package/esm/agent/orm/models/platformAgentResource.d.ts +54 -0
  257. package/esm/agent/orm/models/platformAgentResource.js +100 -0
  258. package/esm/agent/orm/models/platformAgentResourceChunk.d.ts +54 -0
  259. package/esm/agent/orm/models/platformAgentResourceChunk.js +100 -0
  260. package/esm/agent/orm/models/platformAgentRun.d.ts +54 -0
  261. package/esm/{usage/orm/models/planSubscription.js → agent/orm/models/platformAgentRun.js} +25 -25
  262. package/esm/agent/orm/models/platformAgentRunWorkspace.d.ts +54 -0
  263. package/esm/agent/orm/models/platformAgentRunWorkspace.js +100 -0
  264. package/esm/agent/orm/models/platformAgentTask.d.ts +54 -0
  265. package/esm/agent/orm/models/platformAgentTask.js +100 -0
  266. package/esm/agent/orm/models/platformAgentThread.d.ts +54 -0
  267. package/esm/agent/orm/models/platformAgentThread.js +100 -0
  268. package/esm/agent/orm/mutation/index.d.ts +5 -4
  269. package/esm/api/orm/index.d.ts +177 -22
  270. package/esm/api/orm/index.js +16 -6
  271. package/esm/api/orm/input-types.d.ts +2520 -1059
  272. package/esm/api/orm/input-types.js +7 -4
  273. package/esm/api/orm/models/astMigration.d.ts +36 -0
  274. package/esm/api/orm/models/astMigration.js +76 -0
  275. package/esm/api/orm/models/getSitePreviewsRecord.d.ts +30 -0
  276. package/esm/api/orm/models/getSitePreviewsRecord.js +55 -0
  277. package/esm/api/orm/models/identityProviderRegistry.d.ts +54 -0
  278. package/esm/api/orm/models/identityProviderRegistry.js +100 -0
  279. package/esm/api/orm/models/index.d.ts +8 -3
  280. package/esm/api/orm/models/index.js +8 -3
  281. package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +30 -0
  282. package/esm/api/orm/models/platformGetSitePreviewsRecord.js +55 -0
  283. package/esm/api/orm/models/platformSiteRelease.d.ts +54 -0
  284. package/esm/api/orm/models/platformSiteRelease.js +100 -0
  285. package/esm/api/orm/models/redirect.d.ts +54 -0
  286. package/esm/api/orm/models/redirect.js +100 -0
  287. package/esm/api/orm/models/siteRelease.d.ts +54 -0
  288. package/esm/{usage/orm/models/planPricing.js → api/orm/models/siteRelease.js} +25 -25
  289. package/esm/api/orm/models/sqlAction.d.ts +36 -0
  290. package/esm/api/orm/models/sqlAction.js +76 -0
  291. package/esm/api/orm/mutation/index.d.ts +170 -24
  292. package/esm/api/orm/mutation/index.js +240 -24
  293. package/esm/api/orm/query/index.d.ts +107 -11
  294. package/esm/api/orm/query/index.js +177 -13
  295. package/esm/auth/orm/index.d.ts +104 -0
  296. package/esm/auth/orm/index.js +4 -0
  297. package/esm/auth/orm/input-types.d.ts +1017 -238
  298. package/esm/auth/orm/input-types.js +1 -0
  299. package/esm/auth/orm/models/index.d.ts +2 -0
  300. package/esm/auth/orm/models/index.js +2 -0
  301. package/esm/auth/orm/models/principalEntity.d.ts +2 -20
  302. package/esm/auth/orm/models/principalEntity.js +1 -25
  303. package/esm/auth/orm/models/userSetting.d.ts +54 -0
  304. package/esm/auth/orm/models/userSetting.js +100 -0
  305. package/esm/auth/orm/models/userSettingsSecurity.d.ts +54 -0
  306. package/esm/{admin/orm/models/orgProfileCapability.js → auth/orm/models/userSettingsSecurity.js} +25 -25
  307. package/esm/auth/orm/mutation/index.d.ts +158 -5
  308. package/esm/auth/orm/mutation/index.js +228 -0
  309. package/esm/auth/orm/query/index.d.ts +6 -1
  310. package/esm/auth/orm/query/index.js +7 -0
  311. package/esm/compute/orm/index.d.ts +208 -0
  312. package/esm/compute/orm/index.js +98 -0
  313. package/esm/compute/orm/input-types.d.ts +23534 -8853
  314. package/esm/compute/orm/input-types.js +78 -0
  315. package/esm/compute/orm/models/build.d.ts +54 -0
  316. package/esm/{api/orm/models/app.js → compute/orm/models/build.js} +25 -25
  317. package/esm/compute/orm/models/buildStep.d.ts +56 -0
  318. package/esm/{api/orm/models/httpRoute.js → compute/orm/models/buildStep.js} +28 -25
  319. package/esm/compute/orm/models/builderBinding.d.ts +54 -0
  320. package/esm/{usage/orm/models/billingUsageSummary.js → compute/orm/models/builderBinding.js} +25 -25
  321. package/esm/compute/orm/models/databaseFunctionGraph.d.ts +54 -0
  322. package/esm/{admin/orm/models/orgProfileGrant.js → compute/orm/models/databaseFunctionGraph.js} +25 -25
  323. package/esm/compute/orm/models/databaseFunctionGraphExecution.d.ts +56 -0
  324. package/esm/compute/orm/models/databaseFunctionGraphExecution.js +103 -0
  325. package/esm/compute/orm/models/databaseFunctionGraphExecutionNodeState.d.ts +56 -0
  326. package/esm/compute/orm/models/databaseFunctionGraphExecutionNodeState.js +103 -0
  327. package/esm/compute/orm/models/databaseFunctionGraphExecutionOutput.d.ts +56 -0
  328. package/esm/compute/orm/models/databaseFunctionGraphExecutionOutput.js +103 -0
  329. package/esm/compute/orm/models/databaseGraphCommit.d.ts +56 -0
  330. package/esm/{usage/orm/models/appLevelRequirement.js → compute/orm/models/databaseGraphCommit.js} +28 -25
  331. package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +30 -0
  332. package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +55 -0
  333. package/esm/compute/orm/models/databaseGraphObject.d.ts +56 -0
  334. package/esm/compute/orm/models/databaseGraphObject.js +93 -0
  335. package/esm/compute/orm/models/databaseGraphRef.d.ts +56 -0
  336. package/esm/{usage/orm/models/appEvent.js → compute/orm/models/databaseGraphRef.js} +27 -27
  337. package/esm/compute/orm/models/databaseGraphStore.d.ts +54 -0
  338. package/esm/{admin/orm/models/orgProfileTemplate.js → compute/orm/models/databaseGraphStore.js} +25 -25
  339. package/esm/compute/orm/models/image.d.ts +54 -0
  340. package/esm/compute/orm/models/image.js +100 -0
  341. package/esm/compute/orm/models/imageGrant.d.ts +54 -0
  342. package/esm/{admin/orm/models/orgProfile.js → compute/orm/models/imageGrant.js} +25 -25
  343. package/esm/compute/orm/models/index.d.ts +49 -0
  344. package/esm/compute/orm/models/index.js +49 -0
  345. package/esm/compute/orm/models/platformBuild.d.ts +54 -0
  346. package/esm/compute/orm/models/platformBuild.js +100 -0
  347. package/esm/compute/orm/models/platformBuildStep.d.ts +56 -0
  348. package/esm/compute/orm/models/platformBuildStep.js +103 -0
  349. package/esm/compute/orm/models/platformBuilderBinding.d.ts +54 -0
  350. package/esm/compute/orm/models/platformBuilderBinding.js +100 -0
  351. package/esm/compute/orm/models/platformImage.d.ts +54 -0
  352. package/esm/compute/orm/models/platformImage.js +100 -0
  353. package/esm/compute/orm/models/platformImageGrant.d.ts +54 -0
  354. package/esm/compute/orm/models/platformImageGrant.js +100 -0
  355. package/esm/compute/orm/models/platformK8sResourceKind.d.ts +54 -0
  356. package/esm/compute/orm/models/platformK8sResourceKind.js +100 -0
  357. package/esm/compute/orm/models/platformK8sSpecRule.d.ts +54 -0
  358. package/esm/compute/orm/models/platformK8sSpecRule.js +100 -0
  359. package/esm/compute/orm/models/platformProposal.d.ts +54 -0
  360. package/esm/compute/orm/models/platformProposal.js +100 -0
  361. package/esm/compute/orm/models/platformProposalComment.d.ts +54 -0
  362. package/esm/compute/orm/models/platformProposalComment.js +100 -0
  363. package/esm/compute/orm/models/platformProposalFileView.d.ts +54 -0
  364. package/esm/compute/orm/models/platformProposalFileView.js +100 -0
  365. package/esm/compute/orm/models/platformProposalReaction.d.ts +54 -0
  366. package/esm/compute/orm/models/platformProposalReaction.js +100 -0
  367. package/esm/compute/orm/models/platformProposalReview.d.ts +54 -0
  368. package/esm/compute/orm/models/platformProposalReview.js +100 -0
  369. package/esm/compute/orm/models/platformProposalsChunk.d.ts +54 -0
  370. package/esm/compute/orm/models/platformProposalsChunk.js +100 -0
  371. package/esm/compute/orm/models/platformRegistry.d.ts +54 -0
  372. package/esm/compute/orm/models/platformRegistry.js +100 -0
  373. package/esm/compute/orm/models/platformRegistryBinding.d.ts +54 -0
  374. package/esm/compute/orm/models/platformRegistryBinding.js +100 -0
  375. package/esm/compute/orm/models/platformRegistryGrant.d.ts +54 -0
  376. package/esm/compute/orm/models/platformRegistryGrant.js +100 -0
  377. package/esm/compute/orm/models/platformRepository.d.ts +54 -0
  378. package/esm/compute/orm/models/platformRepository.js +100 -0
  379. package/esm/compute/orm/models/platformRepositoryEvent.d.ts +54 -0
  380. package/esm/compute/orm/models/platformRepositoryEvent.js +100 -0
  381. package/esm/compute/orm/models/platformRepositoryRequiredCheck.d.ts +54 -0
  382. package/esm/compute/orm/models/platformRepositoryRequiredCheck.js +100 -0
  383. package/esm/compute/orm/models/platformRepositoryWorkflow.d.ts +54 -0
  384. package/esm/compute/orm/models/platformRepositoryWorkflow.js +100 -0
  385. package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +30 -0
  386. package/esm/compute/orm/models/platformResourceObservedStorage.js +55 -0
  387. package/esm/compute/orm/models/proposal.d.ts +54 -0
  388. package/esm/{usage/orm/models/planCap.js → compute/orm/models/proposal.js} +25 -25
  389. package/esm/compute/orm/models/proposalComment.d.ts +54 -0
  390. package/esm/compute/orm/models/proposalComment.js +100 -0
  391. package/esm/compute/orm/models/proposalFileView.d.ts +54 -0
  392. package/esm/compute/orm/models/proposalFileView.js +100 -0
  393. package/esm/compute/orm/models/proposalReaction.d.ts +54 -0
  394. package/esm/compute/orm/models/proposalReaction.js +100 -0
  395. package/esm/compute/orm/models/proposalReview.d.ts +54 -0
  396. package/esm/compute/orm/models/proposalReview.js +100 -0
  397. package/esm/compute/orm/models/proposalsChunk.d.ts +54 -0
  398. package/esm/compute/orm/models/proposalsChunk.js +100 -0
  399. package/esm/compute/orm/models/registry.d.ts +54 -0
  400. package/esm/compute/orm/models/registry.js +100 -0
  401. package/esm/compute/orm/models/registryBinding.d.ts +54 -0
  402. package/esm/{modules/orm/models/httpRouteModule.js → compute/orm/models/registryBinding.js} +25 -25
  403. package/esm/compute/orm/models/registryGrant.d.ts +54 -0
  404. package/esm/{usage/orm/models/appLevelGrant.js → compute/orm/models/registryGrant.js} +25 -25
  405. package/esm/compute/orm/models/repository.d.ts +54 -0
  406. package/esm/{usage/orm/models/ledger.js → compute/orm/models/repository.js} +25 -28
  407. package/esm/compute/orm/models/repositoryEvent.d.ts +54 -0
  408. package/esm/{admin/orm/models/appProfileGrant.js → compute/orm/models/repositoryEvent.js} +25 -25
  409. package/esm/compute/orm/models/repositoryRequiredCheck.d.ts +54 -0
  410. package/esm/{modules/orm/models/configSecretsUserModule.js → compute/orm/models/repositoryRequiredCheck.js} +25 -25
  411. package/esm/compute/orm/models/repositoryWorkflow.d.ts +54 -0
  412. package/esm/{admin/orm/models/appProfileTemplate.js → compute/orm/models/repositoryWorkflow.js} +25 -25
  413. package/esm/compute/orm/models/resourceObservedStorage.d.ts +30 -0
  414. package/esm/compute/orm/models/resourceObservedStorage.js +55 -0
  415. package/esm/compute/orm/mutation/index.d.ts +174 -5
  416. package/esm/compute/orm/mutation/index.js +252 -0
  417. package/esm/compute/orm/query/index.d.ts +8 -0
  418. package/esm/compute/orm/query/index.js +12 -0
  419. package/esm/config/orm/index.d.ts +48 -0
  420. package/esm/config/orm/index.js +8 -0
  421. package/esm/config/orm/input-types.d.ts +711 -41
  422. package/esm/config/orm/models/appInternalSecret.d.ts +36 -0
  423. package/esm/config/orm/models/appInternalSecret.js +76 -0
  424. package/esm/config/orm/models/index.d.ts +4 -0
  425. package/esm/config/orm/models/index.js +4 -0
  426. package/esm/config/orm/models/internalConfig.d.ts +54 -0
  427. package/esm/config/orm/models/internalConfig.js +100 -0
  428. package/esm/config/orm/models/internalSecret.d.ts +36 -0
  429. package/esm/config/orm/models/internalSecret.js +76 -0
  430. package/esm/config/orm/models/platformInternalConfig.d.ts +54 -0
  431. package/esm/config/orm/models/platformInternalConfig.js +100 -0
  432. package/esm/config/orm/mutation/index.d.ts +70 -5
  433. package/esm/config/orm/mutation/index.js +96 -0
  434. package/esm/index.d.ts +2 -0
  435. package/esm/index.js +2 -0
  436. package/esm/infra/orm/index.d.ts +17 -0
  437. package/esm/infra/orm/index.js +2 -0
  438. package/esm/infra/orm/input-types.d.ts +297 -36
  439. package/esm/infra/orm/models/contentPreset.d.ts +54 -0
  440. package/esm/{admin/orm/models/appCapability.js → infra/orm/models/contentPreset.js} +25 -25
  441. package/esm/infra/orm/models/index.d.ts +1 -0
  442. package/esm/infra/orm/models/index.js +1 -0
  443. package/esm/infra/orm/mutation/index.d.ts +30 -5
  444. package/esm/infra/orm/mutation/index.js +36 -0
  445. package/esm/modules/orm/index.d.ts +14 -4
  446. package/esm/modules/orm/index.js +14 -4
  447. package/esm/modules/orm/input-types.d.ts +2752 -747
  448. package/esm/modules/orm/input-types.js +1 -5
  449. package/esm/modules/orm/models/clusterModule.d.ts +54 -0
  450. package/esm/{admin/orm/models/orgCapability.js → modules/orm/models/clusterModule.js} +25 -25
  451. package/esm/modules/orm/models/imageModule.d.ts +54 -0
  452. package/esm/modules/orm/models/imageModule.js +100 -0
  453. package/esm/modules/orm/models/index.d.ts +7 -2
  454. package/esm/modules/orm/models/index.js +7 -2
  455. package/esm/modules/orm/models/internalConfigModule.d.ts +54 -0
  456. package/esm/{admin/orm/models/orgMembershipProfile.js → modules/orm/models/internalConfigModule.js} +25 -25
  457. package/esm/modules/orm/models/k8sAdmissionModule.d.ts +54 -0
  458. package/esm/modules/orm/models/k8sAdmissionModule.js +100 -0
  459. package/esm/modules/orm/models/machineModule.d.ts +54 -0
  460. package/esm/{usage/orm/models/meterCredit.js → modules/orm/models/machineModule.js} +25 -25
  461. package/esm/modules/orm/models/refusalLogModule.d.ts +54 -0
  462. package/esm/modules/orm/models/refusalLogModule.js +100 -0
  463. package/esm/modules/orm/models/repositoryModule.d.ts +54 -0
  464. package/esm/modules/orm/models/repositoryModule.js +100 -0
  465. package/esm/modules/orm/mutation/index.d.ts +6 -5
  466. package/esm/objects/orm/input-types.d.ts +11 -18
  467. package/esm/objects/orm/mutation/index.d.ts +5 -4
  468. package/esm/remote/index.d.ts +5 -0
  469. package/esm/remote/index.js +5 -0
  470. package/esm/remote/orm/client.d.ts +97 -0
  471. package/esm/remote/orm/client.js +155 -0
  472. package/esm/remote/orm/index.d.ts +50 -0
  473. package/esm/remote/orm/index.js +47 -0
  474. package/esm/remote/orm/input-types.d.ts +1482 -0
  475. package/esm/remote/orm/input-types.js +9 -0
  476. package/esm/remote/orm/models/index.d.ts +8 -0
  477. package/esm/remote/orm/models/index.js +8 -0
  478. package/esm/remote/orm/models/machine.d.ts +54 -0
  479. package/esm/{usage/orm/models/meter.js → remote/orm/models/machine.js} +25 -25
  480. package/esm/remote/orm/models/machineMessage.d.ts +56 -0
  481. package/esm/{usage/orm/models/meterDefault.js → remote/orm/models/machineMessage.js} +28 -25
  482. package/esm/remote/orm/models/machineSession.d.ts +54 -0
  483. package/esm/{usage/orm/models/meterSource.js → remote/orm/models/machineSession.js} +25 -25
  484. package/esm/remote/orm/mutation/index.d.ts +35 -0
  485. package/esm/remote/orm/mutation/index.js +30 -0
  486. package/esm/remote/orm/query-builder.d.ts +110 -0
  487. package/esm/remote/orm/query-builder.js +705 -0
  488. package/esm/remote/orm/realtime.d.ts +142 -0
  489. package/esm/remote/orm/realtime.js +100 -0
  490. package/esm/remote/orm/select-types.d.ts +125 -0
  491. package/esm/remote/orm/select-types.js +1 -0
  492. package/esm/remote/orm/types.d.ts +6 -0
  493. package/esm/remote/orm/types.js +7 -0
  494. package/esm/storage/index.d.ts +5 -0
  495. package/esm/storage/index.js +5 -0
  496. package/esm/storage/orm/client.d.ts +97 -0
  497. package/esm/storage/orm/client.js +155 -0
  498. package/esm/storage/orm/index.d.ts +77 -0
  499. package/esm/storage/orm/index.js +49 -0
  500. package/esm/storage/orm/input-types.d.ts +2076 -0
  501. package/esm/storage/orm/input-types.js +11 -0
  502. package/esm/storage/orm/models/bucket.d.ts +54 -0
  503. package/esm/storage/orm/models/bucket.js +100 -0
  504. package/esm/storage/orm/models/file.d.ts +54 -0
  505. package/esm/{usage/orm/models/plan.js → storage/orm/models/file.js} +25 -25
  506. package/esm/storage/orm/models/index.d.ts +9 -0
  507. package/esm/storage/orm/models/index.js +9 -0
  508. package/esm/storage/orm/models/platformBucket.d.ts +54 -0
  509. package/esm/{usage/orm/models/planMeterLimit.js → storage/orm/models/platformBucket.js} +25 -25
  510. package/esm/storage/orm/models/platformFile.d.ts +54 -0
  511. package/esm/{usage/orm/models/planOverride.js → storage/orm/models/platformFile.js} +25 -25
  512. package/esm/storage/orm/mutation/index.d.ts +91 -0
  513. package/esm/storage/orm/mutation/index.js +90 -0
  514. package/esm/storage/orm/query-builder.d.ts +110 -0
  515. package/esm/storage/orm/query-builder.js +705 -0
  516. package/esm/storage/orm/realtime.d.ts +142 -0
  517. package/esm/storage/orm/realtime.js +100 -0
  518. package/esm/storage/orm/select-types.d.ts +125 -0
  519. package/esm/storage/orm/select-types.js +1 -0
  520. package/esm/storage/orm/types.d.ts +6 -0
  521. package/esm/storage/orm/types.js +7 -0
  522. package/esm/usage/orm/index.d.ts +0 -85
  523. package/esm/usage/orm/index.js +0 -40
  524. package/esm/usage/orm/input-types.d.ts +130 -3767
  525. package/esm/usage/orm/input-types.js +0 -10
  526. package/esm/usage/orm/models/index.d.ts +0 -20
  527. package/esm/usage/orm/models/index.js +0 -20
  528. package/esm/usage/orm/mutation/index.d.ts +6 -53
  529. package/esm/usage/orm/mutation/index.js +0 -72
  530. package/esm/usage/orm/query/index.d.ts +0 -33
  531. package/esm/usage/orm/query/index.js +0 -51
  532. package/index.d.ts +2 -0
  533. package/index.js +3 -1
  534. package/infra/orm/index.d.ts +17 -0
  535. package/infra/orm/index.js +2 -0
  536. package/infra/orm/input-types.d.ts +297 -36
  537. package/infra/orm/models/contentPreset.d.ts +54 -0
  538. package/infra/orm/models/contentPreset.js +104 -0
  539. package/infra/orm/models/index.d.ts +1 -0
  540. package/infra/orm/models/index.js +3 -1
  541. package/infra/orm/mutation/index.d.ts +30 -5
  542. package/infra/orm/mutation/index.js +36 -0
  543. package/modules/orm/index.d.ts +14 -4
  544. package/modules/orm/index.js +14 -4
  545. package/modules/orm/input-types.d.ts +2752 -747
  546. package/modules/orm/input-types.js +1 -5
  547. package/modules/orm/models/clusterModule.d.ts +54 -0
  548. package/modules/orm/models/clusterModule.js +104 -0
  549. package/modules/orm/models/imageModule.d.ts +54 -0
  550. package/{usage/orm/models/planPricing.js → modules/orm/models/imageModule.js} +27 -27
  551. package/modules/orm/models/index.d.ts +7 -2
  552. package/modules/orm/models/index.js +16 -6
  553. package/modules/orm/models/internalConfigModule.d.ts +54 -0
  554. package/{admin/orm/models/orgMembershipProfile.js → modules/orm/models/internalConfigModule.js} +27 -27
  555. package/modules/orm/models/k8sAdmissionModule.d.ts +54 -0
  556. package/modules/orm/models/k8sAdmissionModule.js +104 -0
  557. package/modules/orm/models/machineModule.d.ts +54 -0
  558. package/modules/orm/models/machineModule.js +104 -0
  559. package/modules/orm/models/refusalLogModule.d.ts +54 -0
  560. package/modules/orm/models/refusalLogModule.js +104 -0
  561. package/modules/orm/models/repositoryModule.d.ts +54 -0
  562. package/modules/orm/models/repositoryModule.js +104 -0
  563. package/modules/orm/mutation/index.d.ts +6 -5
  564. package/objects/orm/input-types.d.ts +11 -18
  565. package/objects/orm/mutation/index.d.ts +5 -4
  566. package/package.json +5 -5
  567. package/remote/index.d.ts +5 -0
  568. package/remote/index.js +21 -0
  569. package/remote/orm/client.d.ts +97 -0
  570. package/remote/orm/client.js +162 -0
  571. package/remote/orm/index.d.ts +50 -0
  572. package/remote/orm/index.js +69 -0
  573. package/remote/orm/input-types.d.ts +1482 -0
  574. package/remote/orm/input-types.js +12 -0
  575. package/remote/orm/models/index.d.ts +8 -0
  576. package/remote/orm/models/index.js +14 -0
  577. package/remote/orm/models/machine.d.ts +54 -0
  578. package/{usage/orm/models/planCap.js → remote/orm/models/machine.js} +27 -27
  579. package/remote/orm/models/machineMessage.d.ts +56 -0
  580. package/remote/orm/models/machineMessage.js +107 -0
  581. package/remote/orm/models/machineSession.d.ts +54 -0
  582. package/{usage/orm/models/meterDefault.js → remote/orm/models/machineSession.js} +27 -27
  583. package/remote/orm/mutation/index.d.ts +35 -0
  584. package/remote/orm/mutation/index.js +33 -0
  585. package/remote/orm/query-builder.d.ts +110 -0
  586. package/remote/orm/query-builder.js +757 -0
  587. package/remote/orm/realtime.d.ts +142 -0
  588. package/remote/orm/realtime.js +104 -0
  589. package/remote/orm/select-types.d.ts +125 -0
  590. package/remote/orm/select-types.js +2 -0
  591. package/remote/orm/types.d.ts +6 -0
  592. package/remote/orm/types.js +23 -0
  593. package/storage/index.d.ts +5 -0
  594. package/storage/index.js +21 -0
  595. package/storage/orm/client.d.ts +97 -0
  596. package/storage/orm/client.js +162 -0
  597. package/storage/orm/index.d.ts +77 -0
  598. package/storage/orm/index.js +71 -0
  599. package/storage/orm/input-types.d.ts +2076 -0
  600. package/storage/orm/input-types.js +14 -0
  601. package/storage/orm/models/bucket.d.ts +54 -0
  602. package/{usage/orm/models/ledger.js → storage/orm/models/bucket.js} +27 -30
  603. package/storage/orm/models/file.d.ts +54 -0
  604. package/{usage/orm/models/plan.js → storage/orm/models/file.js} +27 -27
  605. package/storage/orm/models/index.d.ts +9 -0
  606. package/storage/orm/models/index.js +16 -0
  607. package/storage/orm/models/platformBucket.d.ts +54 -0
  608. package/storage/orm/models/platformBucket.js +104 -0
  609. package/storage/orm/models/platformFile.d.ts +54 -0
  610. package/{api/orm/models/appComponent.js → storage/orm/models/platformFile.js} +27 -27
  611. package/storage/orm/mutation/index.d.ts +91 -0
  612. package/storage/orm/mutation/index.js +93 -0
  613. package/storage/orm/query-builder.d.ts +110 -0
  614. package/storage/orm/query-builder.js +757 -0
  615. package/storage/orm/realtime.d.ts +142 -0
  616. package/storage/orm/realtime.js +104 -0
  617. package/storage/orm/select-types.d.ts +125 -0
  618. package/storage/orm/select-types.js +2 -0
  619. package/storage/orm/types.d.ts +6 -0
  620. package/storage/orm/types.js +23 -0
  621. package/usage/orm/index.d.ts +0 -85
  622. package/usage/orm/index.js +0 -40
  623. package/usage/orm/input-types.d.ts +130 -3767
  624. package/usage/orm/input-types.js +0 -10
  625. package/usage/orm/models/index.d.ts +0 -20
  626. package/usage/orm/models/index.js +1 -41
  627. package/usage/orm/mutation/index.d.ts +6 -53
  628. package/usage/orm/mutation/index.js +0 -72
  629. package/usage/orm/query/index.d.ts +0 -33
  630. package/usage/orm/query/index.js +0 -51
  631. package/admin/orm/models/appCapability.d.ts +0 -54
  632. package/admin/orm/models/appCapabilityDefault.d.ts +0 -54
  633. package/admin/orm/models/appMembershipProfile.d.ts +0 -54
  634. package/admin/orm/models/appProfile.d.ts +0 -54
  635. package/admin/orm/models/appProfileCapability.d.ts +0 -54
  636. package/admin/orm/models/appProfileDefinitionGrant.d.ts +0 -54
  637. package/admin/orm/models/appProfileGrant.d.ts +0 -54
  638. package/admin/orm/models/appProfileTemplate.d.ts +0 -54
  639. package/admin/orm/models/orgCapability.d.ts +0 -54
  640. package/admin/orm/models/orgCapabilityDefault.d.ts +0 -54
  641. package/admin/orm/models/orgMembershipProfile.d.ts +0 -54
  642. package/admin/orm/models/orgProfile.d.ts +0 -54
  643. package/admin/orm/models/orgProfileCapability.d.ts +0 -54
  644. package/admin/orm/models/orgProfileCapability.js +0 -104
  645. package/admin/orm/models/orgProfileDefinitionGrant.d.ts +0 -54
  646. package/admin/orm/models/orgProfileDefinitionGrant.js +0 -104
  647. package/admin/orm/models/orgProfileGrant.d.ts +0 -54
  648. package/admin/orm/models/orgProfileTemplate.d.ts +0 -54
  649. package/api/orm/models/app.d.ts +0 -54
  650. package/api/orm/models/appComponent.d.ts +0 -54
  651. package/api/orm/models/httpRoute.d.ts +0 -54
  652. package/esm/admin/orm/models/appCapability.d.ts +0 -54
  653. package/esm/admin/orm/models/appCapabilityDefault.d.ts +0 -54
  654. package/esm/admin/orm/models/appMembershipProfile.d.ts +0 -54
  655. package/esm/admin/orm/models/appProfile.d.ts +0 -54
  656. package/esm/admin/orm/models/appProfileCapability.d.ts +0 -54
  657. package/esm/admin/orm/models/appProfileCapability.js +0 -100
  658. package/esm/admin/orm/models/appProfileDefinitionGrant.d.ts +0 -54
  659. package/esm/admin/orm/models/appProfileDefinitionGrant.js +0 -100
  660. package/esm/admin/orm/models/appProfileGrant.d.ts +0 -54
  661. package/esm/admin/orm/models/appProfileTemplate.d.ts +0 -54
  662. package/esm/admin/orm/models/orgCapability.d.ts +0 -54
  663. package/esm/admin/orm/models/orgCapabilityDefault.d.ts +0 -54
  664. package/esm/admin/orm/models/orgCapabilityDefault.js +0 -100
  665. package/esm/admin/orm/models/orgMembershipProfile.d.ts +0 -54
  666. package/esm/admin/orm/models/orgProfile.d.ts +0 -54
  667. package/esm/admin/orm/models/orgProfileCapability.d.ts +0 -54
  668. package/esm/admin/orm/models/orgProfileDefinitionGrant.d.ts +0 -54
  669. package/esm/admin/orm/models/orgProfileDefinitionGrant.js +0 -100
  670. package/esm/admin/orm/models/orgProfileGrant.d.ts +0 -54
  671. package/esm/admin/orm/models/orgProfileTemplate.d.ts +0 -54
  672. package/esm/api/orm/models/app.d.ts +0 -54
  673. package/esm/api/orm/models/appComponent.d.ts +0 -54
  674. package/esm/api/orm/models/appComponent.js +0 -100
  675. package/esm/api/orm/models/httpRoute.d.ts +0 -54
  676. package/esm/modules/orm/models/configSecretsUserModule.d.ts +0 -54
  677. package/esm/modules/orm/models/httpRouteModule.d.ts +0 -54
  678. package/esm/usage/orm/models/appAchievementReward.d.ts +0 -54
  679. package/esm/usage/orm/models/appAchievementReward.js +0 -100
  680. package/esm/usage/orm/models/appEvent.d.ts +0 -56
  681. package/esm/usage/orm/models/appEventAggregate.d.ts +0 -54
  682. package/esm/usage/orm/models/appEventType.d.ts +0 -54
  683. package/esm/usage/orm/models/appEventType.js +0 -100
  684. package/esm/usage/orm/models/appLevel.d.ts +0 -54
  685. package/esm/usage/orm/models/appLevelGrant.d.ts +0 -54
  686. package/esm/usage/orm/models/appLevelRequirement.d.ts +0 -54
  687. package/esm/usage/orm/models/billingUsageSummary.d.ts +0 -54
  688. package/esm/usage/orm/models/ledger.d.ts +0 -56
  689. package/esm/usage/orm/models/meter.d.ts +0 -54
  690. package/esm/usage/orm/models/meterCredit.d.ts +0 -54
  691. package/esm/usage/orm/models/meterDefault.d.ts +0 -54
  692. package/esm/usage/orm/models/meterSource.d.ts +0 -54
  693. package/esm/usage/orm/models/plan.d.ts +0 -54
  694. package/esm/usage/orm/models/planCap.d.ts +0 -54
  695. package/esm/usage/orm/models/planLimit.d.ts +0 -54
  696. package/esm/usage/orm/models/planMeterLimit.d.ts +0 -54
  697. package/esm/usage/orm/models/planOverride.d.ts +0 -54
  698. package/esm/usage/orm/models/planPricing.d.ts +0 -54
  699. package/esm/usage/orm/models/planSubscription.d.ts +0 -54
  700. package/modules/orm/models/configSecretsUserModule.d.ts +0 -54
  701. package/modules/orm/models/httpRouteModule.d.ts +0 -54
  702. package/usage/orm/models/appAchievementReward.d.ts +0 -54
  703. package/usage/orm/models/appAchievementReward.js +0 -104
  704. package/usage/orm/models/appEvent.d.ts +0 -56
  705. package/usage/orm/models/appEventAggregate.d.ts +0 -54
  706. package/usage/orm/models/appEventType.d.ts +0 -54
  707. package/usage/orm/models/appLevel.d.ts +0 -54
  708. package/usage/orm/models/appLevelGrant.d.ts +0 -54
  709. package/usage/orm/models/appLevelRequirement.d.ts +0 -54
  710. package/usage/orm/models/billingUsageSummary.d.ts +0 -54
  711. package/usage/orm/models/ledger.d.ts +0 -56
  712. package/usage/orm/models/meter.d.ts +0 -54
  713. package/usage/orm/models/meterCredit.d.ts +0 -54
  714. package/usage/orm/models/meterDefault.d.ts +0 -54
  715. package/usage/orm/models/meterSource.d.ts +0 -54
  716. package/usage/orm/models/plan.d.ts +0 -54
  717. package/usage/orm/models/planCap.d.ts +0 -54
  718. package/usage/orm/models/planLimit.d.ts +0 -54
  719. package/usage/orm/models/planMeterLimit.d.ts +0 -54
  720. package/usage/orm/models/planOverride.d.ts +0 -54
  721. package/usage/orm/models/planOverride.js +0 -104
  722. package/usage/orm/models/planPricing.d.ts +0 -54
  723. package/usage/orm/models/planSubscription.d.ts +0 -54
@@ -0,0 +1,1482 @@
1
+ /**
2
+ * GraphQL types for ORM client
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ export interface StringFilter {
7
+ isNull?: boolean;
8
+ equalTo?: string;
9
+ notEqualTo?: string;
10
+ distinctFrom?: string;
11
+ notDistinctFrom?: string;
12
+ in?: string[];
13
+ notIn?: string[];
14
+ lessThan?: string;
15
+ lessThanOrEqualTo?: string;
16
+ greaterThan?: string;
17
+ greaterThanOrEqualTo?: string;
18
+ includes?: string;
19
+ notIncludes?: string;
20
+ includesInsensitive?: string;
21
+ notIncludesInsensitive?: string;
22
+ startsWith?: string;
23
+ notStartsWith?: string;
24
+ startsWithInsensitive?: string;
25
+ notStartsWithInsensitive?: string;
26
+ endsWith?: string;
27
+ notEndsWith?: string;
28
+ endsWithInsensitive?: string;
29
+ notEndsWithInsensitive?: string;
30
+ like?: string;
31
+ notLike?: string;
32
+ likeInsensitive?: string;
33
+ notLikeInsensitive?: string;
34
+ }
35
+ export interface IntFilter {
36
+ isNull?: boolean;
37
+ equalTo?: number;
38
+ notEqualTo?: number;
39
+ distinctFrom?: number;
40
+ notDistinctFrom?: number;
41
+ in?: number[];
42
+ notIn?: number[];
43
+ lessThan?: number;
44
+ lessThanOrEqualTo?: number;
45
+ greaterThan?: number;
46
+ greaterThanOrEqualTo?: number;
47
+ }
48
+ export interface FloatFilter {
49
+ isNull?: boolean;
50
+ equalTo?: number;
51
+ notEqualTo?: number;
52
+ distinctFrom?: number;
53
+ notDistinctFrom?: number;
54
+ in?: number[];
55
+ notIn?: number[];
56
+ lessThan?: number;
57
+ lessThanOrEqualTo?: number;
58
+ greaterThan?: number;
59
+ greaterThanOrEqualTo?: number;
60
+ }
61
+ export interface BooleanFilter {
62
+ isNull?: boolean;
63
+ equalTo?: boolean;
64
+ notEqualTo?: boolean;
65
+ }
66
+ export interface UUIDFilter {
67
+ isNull?: boolean;
68
+ equalTo?: string;
69
+ notEqualTo?: string;
70
+ distinctFrom?: string;
71
+ notDistinctFrom?: string;
72
+ in?: string[];
73
+ notIn?: string[];
74
+ }
75
+ export interface DatetimeFilter {
76
+ isNull?: boolean;
77
+ equalTo?: string;
78
+ notEqualTo?: string;
79
+ distinctFrom?: string;
80
+ notDistinctFrom?: string;
81
+ in?: string[];
82
+ notIn?: string[];
83
+ lessThan?: string;
84
+ lessThanOrEqualTo?: string;
85
+ greaterThan?: string;
86
+ greaterThanOrEqualTo?: string;
87
+ }
88
+ export interface DateFilter {
89
+ isNull?: boolean;
90
+ equalTo?: string;
91
+ notEqualTo?: string;
92
+ distinctFrom?: string;
93
+ notDistinctFrom?: string;
94
+ in?: string[];
95
+ notIn?: string[];
96
+ lessThan?: string;
97
+ lessThanOrEqualTo?: string;
98
+ greaterThan?: string;
99
+ greaterThanOrEqualTo?: string;
100
+ }
101
+ export interface JSONFilter {
102
+ isNull?: boolean;
103
+ equalTo?: Record<string, unknown>;
104
+ notEqualTo?: Record<string, unknown>;
105
+ distinctFrom?: Record<string, unknown>;
106
+ notDistinctFrom?: Record<string, unknown>;
107
+ contains?: Record<string, unknown>;
108
+ containedBy?: Record<string, unknown>;
109
+ containsKey?: string;
110
+ containsAllKeys?: string[];
111
+ containsAnyKeys?: string[];
112
+ }
113
+ export interface BigIntFilter {
114
+ isNull?: boolean;
115
+ equalTo?: string;
116
+ notEqualTo?: string;
117
+ distinctFrom?: string;
118
+ notDistinctFrom?: string;
119
+ in?: string[];
120
+ notIn?: string[];
121
+ lessThan?: string;
122
+ lessThanOrEqualTo?: string;
123
+ greaterThan?: string;
124
+ greaterThanOrEqualTo?: string;
125
+ }
126
+ export interface BigFloatFilter {
127
+ isNull?: boolean;
128
+ equalTo?: string;
129
+ notEqualTo?: string;
130
+ distinctFrom?: string;
131
+ notDistinctFrom?: string;
132
+ in?: string[];
133
+ notIn?: string[];
134
+ lessThan?: string;
135
+ lessThanOrEqualTo?: string;
136
+ greaterThan?: string;
137
+ greaterThanOrEqualTo?: string;
138
+ }
139
+ export interface BitStringFilter {
140
+ isNull?: boolean;
141
+ equalTo?: string;
142
+ notEqualTo?: string;
143
+ }
144
+ export interface InternetAddressFilter {
145
+ isNull?: boolean;
146
+ equalTo?: string;
147
+ notEqualTo?: string;
148
+ distinctFrom?: string;
149
+ notDistinctFrom?: string;
150
+ in?: string[];
151
+ notIn?: string[];
152
+ lessThan?: string;
153
+ lessThanOrEqualTo?: string;
154
+ greaterThan?: string;
155
+ greaterThanOrEqualTo?: string;
156
+ contains?: string;
157
+ containsOrEqualTo?: string;
158
+ containedBy?: string;
159
+ containedByOrEqualTo?: string;
160
+ containsOrContainedBy?: string;
161
+ }
162
+ export interface FullTextFilter {
163
+ matches?: string;
164
+ }
165
+ export interface VectorFilter {
166
+ isNull?: boolean;
167
+ equalTo?: number[];
168
+ notEqualTo?: number[];
169
+ distinctFrom?: number[];
170
+ notDistinctFrom?: number[];
171
+ }
172
+ export interface StringListFilter {
173
+ isNull?: boolean;
174
+ equalTo?: string[];
175
+ notEqualTo?: string[];
176
+ distinctFrom?: string[];
177
+ notDistinctFrom?: string[];
178
+ lessThan?: string[];
179
+ lessThanOrEqualTo?: string[];
180
+ greaterThan?: string[];
181
+ greaterThanOrEqualTo?: string[];
182
+ contains?: string[];
183
+ containedBy?: string[];
184
+ overlaps?: string[];
185
+ anyEqualTo?: string;
186
+ anyNotEqualTo?: string;
187
+ anyLessThan?: string;
188
+ anyLessThanOrEqualTo?: string;
189
+ anyGreaterThan?: string;
190
+ anyGreaterThanOrEqualTo?: string;
191
+ }
192
+ export interface IntListFilter {
193
+ isNull?: boolean;
194
+ equalTo?: number[];
195
+ notEqualTo?: number[];
196
+ distinctFrom?: number[];
197
+ notDistinctFrom?: number[];
198
+ lessThan?: number[];
199
+ lessThanOrEqualTo?: number[];
200
+ greaterThan?: number[];
201
+ greaterThanOrEqualTo?: number[];
202
+ contains?: number[];
203
+ containedBy?: number[];
204
+ overlaps?: number[];
205
+ anyEqualTo?: number;
206
+ anyNotEqualTo?: number;
207
+ anyLessThan?: number;
208
+ anyLessThanOrEqualTo?: number;
209
+ anyGreaterThan?: number;
210
+ anyGreaterThanOrEqualTo?: number;
211
+ }
212
+ export interface UUIDListFilter {
213
+ isNull?: boolean;
214
+ equalTo?: string[];
215
+ notEqualTo?: string[];
216
+ distinctFrom?: string[];
217
+ notDistinctFrom?: string[];
218
+ lessThan?: string[];
219
+ lessThanOrEqualTo?: string[];
220
+ greaterThan?: string[];
221
+ greaterThanOrEqualTo?: string[];
222
+ contains?: string[];
223
+ containedBy?: string[];
224
+ overlaps?: string[];
225
+ anyEqualTo?: string;
226
+ anyNotEqualTo?: string;
227
+ anyLessThan?: string;
228
+ anyLessThanOrEqualTo?: string;
229
+ anyGreaterThan?: string;
230
+ anyGreaterThanOrEqualTo?: string;
231
+ }
232
+ /** Computers enrolled for remote control, one row per database enrollment */
233
+ export interface Machine {
234
+ createdAt?: string | null;
235
+ createdBy?: string | null;
236
+ createdByPrincipal?: string | null;
237
+ /** Entity that owns this machine (a personal entity for my own laptop, an org for a shared box) */
238
+ entityId?: string | null;
239
+ /** What the runner advertises: os, arch, hostname, shells, pty, installed agents, max_sessions */
240
+ facts?: Record<string, unknown> | null;
241
+ id: string;
242
+ /** Whether this machine is a shared runner anyone with the session capability may use (false: owner only) */
243
+ isShared?: boolean | null;
244
+ /** Human-readable machine name (dan-macbook) */
245
+ label?: string | null;
246
+ /** Last heartbeat from the runner; online is derived from this */
247
+ lastSeenAt?: string | null;
248
+ /** User who enrolled this machine */
249
+ ownerId?: string | null;
250
+ /** Server-side copy of the local policy: mode, approved commands, allowed cwds and env keys */
251
+ policy?: Record<string, unknown> | null;
252
+ /** Principal this machine acts as (set with the row by <machines_table>_enroll) */
253
+ principalId?: string | null;
254
+ /** When enrollment was revoked; the relay refuses a revoked machine */
255
+ revokedAt?: string | null;
256
+ /** Hash of the enrollment credential the runner presents */
257
+ tokenHash?: string | null;
258
+ updatedAt?: string | null;
259
+ updatedBy?: string | null;
260
+ updatedByPrincipal?: string | null;
261
+ }
262
+ /** Partitioned append-only ledger of session input, output and lifecycle */
263
+ export interface MachineMessage {
264
+ /** Who produced this message: the user, or the machine acting as its principal */
265
+ actorId?: string | null;
266
+ /** Body of the message; its shape follows the kind */
267
+ content?: Record<string, unknown> | null;
268
+ /** Acting principal (agent, API key, or user) who created this record */
269
+ createdByPrincipal?: string | null;
270
+ /** Entity that owns the machine this message was exchanged with */
271
+ entityId?: string | null;
272
+ /** Unique identifier (uuidv7 provides temporal ordering) */
273
+ id: string;
274
+ /** What this message is. Process kinds: command, stdin, signal, resize, stdout, stderr, cwd, exit, state, policy. Agent kinds (agent_mode sessions): prompt, assistant, tool_call, tool_result, approval, result, agent_session */
275
+ kind?: string | null;
276
+ /** User who owns the session this message belongs to (inherited) */
277
+ ownerId?: string | null;
278
+ /** When the message was recorded (partition key) */
279
+ recordedAt?: string | null;
280
+ /** Position in the session's ledger, monotonically increasing */
281
+ seq?: string | null;
282
+ /** Session this message belongs to */
283
+ sessionId?: string | null;
284
+ }
285
+ /** Command or terminal sessions running on an enrolled machine */
286
+ export interface MachineSession {
287
+ /** How a bound session runs the agent: cli (the user's installed CLI) or embedded (our loop) */
288
+ agentMode?: string | null;
289
+ /** The CLI's own resumable session identifier (agent_mode = cli) */
290
+ agentSessionRef?: string | null;
291
+ /** Arguments the command is spawned with */
292
+ args?: string[] | null;
293
+ /** Terminal width, preserved across reattach */
294
+ cols?: number | null;
295
+ /** Program the runner spawns for this session */
296
+ command?: string | null;
297
+ createdAt?: string | null;
298
+ createdBy?: string | null;
299
+ createdByPrincipal?: string | null;
300
+ /** Working directory the runner last reported */
301
+ cwd?: string | null;
302
+ /** When the session reached a terminal state */
303
+ endedAt?: string | null;
304
+ /** Entity that owns the machine this session runs on */
305
+ entityId?: string | null;
306
+ /** Non-secret environment variables for the process; policy gates which keys are allowed */
307
+ env?: Record<string, unknown> | null;
308
+ /** Process exit status, once it ended */
309
+ exitCode?: number | null;
310
+ id: string;
311
+ /** Whether raw PTY bytes ride the socket (interactive) or every command is a ledger row */
312
+ interactive?: boolean | null;
313
+ /** Last time bytes moved in either direction */
314
+ lastActivityAt?: string | null;
315
+ /** Highest ledger sequence recorded for this session */
316
+ lastSeq?: string | null;
317
+ /** Machine this session runs on */
318
+ machineId?: string | null;
319
+ /** Session detail (client, shell integration, scrollback pointer) */
320
+ metadata?: Record<string, unknown> | null;
321
+ /** User who opened this session */
322
+ ownerId?: string | null;
323
+ /** Process id on the machine, while it is running */
324
+ pid?: number | null;
325
+ /** Agent run this session executes locally (NULL for a plain terminal) */
326
+ runId?: string | null;
327
+ /** When the process was spawned */
328
+ startedAt?: string | null;
329
+ /** Lifecycle: pending, running, detached, exited, killed, failed */
330
+ state?: string | null;
331
+ /** Terminal height, preserved across reattach */
332
+ termRows?: number | null;
333
+ updatedAt?: string | null;
334
+ updatedBy?: string | null;
335
+ updatedByPrincipal?: string | null;
336
+ }
337
+ export interface ConnectionResult<T> {
338
+ nodes: T[];
339
+ totalCount: number;
340
+ pageInfo: PageInfo;
341
+ }
342
+ export interface PageInfo {
343
+ hasNextPage: boolean;
344
+ hasPreviousPage: boolean;
345
+ startCursor?: string | null;
346
+ endCursor?: string | null;
347
+ }
348
+ export interface MachineRelations {
349
+ machineSessions?: ConnectionResult<MachineSession>;
350
+ }
351
+ export interface MachineMessageRelations {
352
+ session?: MachineSession | null;
353
+ }
354
+ export interface MachineSessionRelations {
355
+ machine?: Machine | null;
356
+ machineMessagesBySessionId?: ConnectionResult<MachineMessage>;
357
+ }
358
+ export type MachineWithRelations = Machine & MachineRelations;
359
+ export type MachineMessageWithRelations = MachineMessage & MachineMessageRelations;
360
+ export type MachineSessionWithRelations = MachineSession & MachineSessionRelations;
361
+ export type MachineSelect = {
362
+ createdAt?: boolean;
363
+ createdBy?: boolean;
364
+ createdByPrincipal?: boolean;
365
+ entityId?: boolean;
366
+ facts?: boolean;
367
+ id?: boolean;
368
+ isShared?: boolean;
369
+ label?: boolean;
370
+ lastSeenAt?: boolean;
371
+ ownerId?: boolean;
372
+ policy?: boolean;
373
+ principalId?: boolean;
374
+ revokedAt?: boolean;
375
+ tokenHash?: boolean;
376
+ updatedAt?: boolean;
377
+ updatedBy?: boolean;
378
+ updatedByPrincipal?: boolean;
379
+ machineSessions?: {
380
+ select: MachineSessionSelect;
381
+ first?: number;
382
+ filter?: MachineSessionFilter;
383
+ orderBy?: MachineSessionOrderBy[];
384
+ };
385
+ };
386
+ export type MachineMessageSelect = {
387
+ actorId?: boolean;
388
+ content?: boolean;
389
+ createdByPrincipal?: boolean;
390
+ entityId?: boolean;
391
+ id?: boolean;
392
+ kind?: boolean;
393
+ ownerId?: boolean;
394
+ recordedAt?: boolean;
395
+ seq?: boolean;
396
+ sessionId?: boolean;
397
+ session?: {
398
+ select: MachineSessionSelect;
399
+ };
400
+ };
401
+ export type MachineSessionSelect = {
402
+ agentMode?: boolean;
403
+ agentSessionRef?: boolean;
404
+ args?: boolean;
405
+ cols?: boolean;
406
+ command?: boolean;
407
+ createdAt?: boolean;
408
+ createdBy?: boolean;
409
+ createdByPrincipal?: boolean;
410
+ cwd?: boolean;
411
+ endedAt?: boolean;
412
+ entityId?: boolean;
413
+ env?: boolean;
414
+ exitCode?: boolean;
415
+ id?: boolean;
416
+ interactive?: boolean;
417
+ lastActivityAt?: boolean;
418
+ lastSeq?: boolean;
419
+ machineId?: boolean;
420
+ metadata?: boolean;
421
+ ownerId?: boolean;
422
+ pid?: boolean;
423
+ runId?: boolean;
424
+ startedAt?: boolean;
425
+ state?: boolean;
426
+ termRows?: boolean;
427
+ updatedAt?: boolean;
428
+ updatedBy?: boolean;
429
+ updatedByPrincipal?: boolean;
430
+ machine?: {
431
+ select: MachineSelect;
432
+ };
433
+ machineMessagesBySessionId?: {
434
+ select: MachineMessageSelect;
435
+ first?: number;
436
+ filter?: MachineMessageFilter;
437
+ orderBy?: MachineMessageOrderBy[];
438
+ };
439
+ };
440
+ export interface MachineFilter {
441
+ /** Checks for all expressions in this list. */
442
+ and?: MachineFilter[];
443
+ /** Filter by the object’s `createdAt` field. */
444
+ createdAt?: DatetimeFilter;
445
+ /** Filter by the object’s `createdBy` field. */
446
+ createdBy?: UUIDFilter;
447
+ /** Filter by the object’s `createdByPrincipal` field. */
448
+ createdByPrincipal?: UUIDFilter;
449
+ /** Filter by the object’s `entityId` field. */
450
+ entityId?: UUIDFilter;
451
+ /** Filter by the object’s `facts` field. */
452
+ facts?: JSONFilter;
453
+ /** Filter by the object’s `id` field. */
454
+ id?: UUIDFilter;
455
+ /** Filter by the object’s `isShared` field. */
456
+ isShared?: BooleanFilter;
457
+ /** Filter by the object’s `label` field. */
458
+ label?: StringFilter;
459
+ /** Filter by the object’s `lastSeenAt` field. */
460
+ lastSeenAt?: DatetimeFilter;
461
+ /** Filter by the object’s `machineSessions` relation. */
462
+ machineSessions?: MachineToManyMachineSessionFilter;
463
+ /** `machineSessions` exist. */
464
+ machineSessionsExist?: boolean;
465
+ /** Negates the expression. */
466
+ not?: MachineFilter;
467
+ /** Checks for any expressions in this list. */
468
+ or?: MachineFilter[];
469
+ /** Filter by the object’s `ownerId` field. */
470
+ ownerId?: UUIDFilter;
471
+ /** Filter by the object’s `policy` field. */
472
+ policy?: JSONFilter;
473
+ /** Filter by the object’s `principalId` field. */
474
+ principalId?: UUIDFilter;
475
+ /** Filter by the object’s `revokedAt` field. */
476
+ revokedAt?: DatetimeFilter;
477
+ /** Filter by the object’s `tokenHash` field. */
478
+ tokenHash?: StringFilter;
479
+ /** Filter by the object’s `updatedAt` field. */
480
+ updatedAt?: DatetimeFilter;
481
+ /** Filter by the object’s `updatedBy` field. */
482
+ updatedBy?: UUIDFilter;
483
+ /** Filter by the object’s `updatedByPrincipal` field. */
484
+ updatedByPrincipal?: UUIDFilter;
485
+ }
486
+ export interface MachineMessageFilter {
487
+ /** Filter by the object’s `actorId` field. */
488
+ actorId?: UUIDFilter;
489
+ /** Checks for all expressions in this list. */
490
+ and?: MachineMessageFilter[];
491
+ /** Filter by the object’s `content` field. */
492
+ content?: JSONFilter;
493
+ /** Filter by the object’s `createdByPrincipal` field. */
494
+ createdByPrincipal?: UUIDFilter;
495
+ /** Filter by the object’s `entityId` field. */
496
+ entityId?: UUIDFilter;
497
+ /** Filter by the object’s `id` field. */
498
+ id?: UUIDFilter;
499
+ /** Filter by the object’s `kind` field. */
500
+ kind?: StringFilter;
501
+ /** Negates the expression. */
502
+ not?: MachineMessageFilter;
503
+ /** Checks for any expressions in this list. */
504
+ or?: MachineMessageFilter[];
505
+ /** Filter by the object’s `ownerId` field. */
506
+ ownerId?: UUIDFilter;
507
+ /** Filter by the object’s `recordedAt` field. */
508
+ recordedAt?: DatetimeFilter;
509
+ /** Filter by the object’s `seq` field. */
510
+ seq?: BigIntFilter;
511
+ /** Filter by the object’s `session` relation. */
512
+ session?: MachineSessionFilter;
513
+ /** Filter by the object’s `sessionId` field. */
514
+ sessionId?: UUIDFilter;
515
+ }
516
+ export interface MachineSessionFilter {
517
+ /** Filter by the object’s `agentMode` field. */
518
+ agentMode?: StringFilter;
519
+ /** Filter by the object’s `agentSessionRef` field. */
520
+ agentSessionRef?: StringFilter;
521
+ /** Checks for all expressions in this list. */
522
+ and?: MachineSessionFilter[];
523
+ /** Filter by the object’s `args` field. */
524
+ args?: StringListFilter;
525
+ /** Filter by the object’s `cols` field. */
526
+ cols?: IntFilter;
527
+ /** Filter by the object’s `command` field. */
528
+ command?: StringFilter;
529
+ /** Filter by the object’s `createdAt` field. */
530
+ createdAt?: DatetimeFilter;
531
+ /** Filter by the object’s `createdBy` field. */
532
+ createdBy?: UUIDFilter;
533
+ /** Filter by the object’s `createdByPrincipal` field. */
534
+ createdByPrincipal?: UUIDFilter;
535
+ /** Filter by the object’s `cwd` field. */
536
+ cwd?: StringFilter;
537
+ /** Filter by the object’s `endedAt` field. */
538
+ endedAt?: DatetimeFilter;
539
+ /** Filter by the object’s `entityId` field. */
540
+ entityId?: UUIDFilter;
541
+ /** Filter by the object’s `env` field. */
542
+ env?: JSONFilter;
543
+ /** Filter by the object’s `exitCode` field. */
544
+ exitCode?: IntFilter;
545
+ /** Filter by the object’s `id` field. */
546
+ id?: UUIDFilter;
547
+ /** Filter by the object’s `interactive` field. */
548
+ interactive?: BooleanFilter;
549
+ /** Filter by the object’s `lastActivityAt` field. */
550
+ lastActivityAt?: DatetimeFilter;
551
+ /** Filter by the object’s `lastSeq` field. */
552
+ lastSeq?: BigIntFilter;
553
+ /** Filter by the object’s `machine` relation. */
554
+ machine?: MachineFilter;
555
+ /** Filter by the object’s `machineId` field. */
556
+ machineId?: UUIDFilter;
557
+ /** Filter by the object’s `machineMessagesBySessionId` relation. */
558
+ machineMessagesBySessionId?: MachineSessionToManyMachineMessageFilter;
559
+ /** `machineMessagesBySessionId` exist. */
560
+ machineMessagesBySessionIdExist?: boolean;
561
+ /** Filter by the object’s `metadata` field. */
562
+ metadata?: JSONFilter;
563
+ /** Negates the expression. */
564
+ not?: MachineSessionFilter;
565
+ /** Checks for any expressions in this list. */
566
+ or?: MachineSessionFilter[];
567
+ /** Filter by the object’s `ownerId` field. */
568
+ ownerId?: UUIDFilter;
569
+ /** Filter by the object’s `pid` field. */
570
+ pid?: IntFilter;
571
+ /** Filter by the object’s `runId` field. */
572
+ runId?: UUIDFilter;
573
+ /** Filter by the object’s `startedAt` field. */
574
+ startedAt?: DatetimeFilter;
575
+ /** Filter by the object’s `state` field. */
576
+ state?: StringFilter;
577
+ /** Filter by the object’s `termRows` field. */
578
+ termRows?: IntFilter;
579
+ /** Filter by the object’s `updatedAt` field. */
580
+ updatedAt?: DatetimeFilter;
581
+ /** Filter by the object’s `updatedBy` field. */
582
+ updatedBy?: UUIDFilter;
583
+ /** Filter by the object’s `updatedByPrincipal` field. */
584
+ updatedByPrincipal?: UUIDFilter;
585
+ }
586
+ export type MachineOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'FACTS_ASC' | 'FACTS_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_SHARED_ASC' | 'IS_SHARED_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'LAST_SEEN_AT_ASC' | 'LAST_SEEN_AT_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'POLICY_ASC' | 'POLICY_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'TOKEN_HASH_ASC' | 'TOKEN_HASH_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
587
+ export type MachineMessageOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RECORDED_AT_ASC' | 'RECORDED_AT_DESC' | 'SEQ_ASC' | 'SEQ_DESC' | 'SESSION_ID_ASC' | 'SESSION_ID_DESC';
588
+ export type MachineSessionOrderBy = 'AGENT_MODE_ASC' | 'AGENT_MODE_DESC' | 'AGENT_SESSION_REF_ASC' | 'AGENT_SESSION_REF_DESC' | 'ARGS_ASC' | 'ARGS_DESC' | 'COLS_ASC' | 'COLS_DESC' | 'COMMAND_ASC' | 'COMMAND_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'CWD_ASC' | 'CWD_DESC' | 'ENDED_AT_ASC' | 'ENDED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ENV_ASC' | 'ENV_DESC' | 'EXIT_CODE_ASC' | 'EXIT_CODE_DESC' | 'ID_ASC' | 'ID_DESC' | 'INTERACTIVE_ASC' | 'INTERACTIVE_DESC' | 'LAST_ACTIVITY_AT_ASC' | 'LAST_ACTIVITY_AT_DESC' | 'LAST_SEQ_ASC' | 'LAST_SEQ_DESC' | 'MACHINE_ID_ASC' | 'MACHINE_ID_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PID_ASC' | 'PID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'RUN_ID_ASC' | 'RUN_ID_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATE_ASC' | 'STATE_DESC' | 'TERM_ROWS_ASC' | 'TERM_ROWS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
589
+ export interface CreateMachineInput {
590
+ clientMutationId?: string;
591
+ machine: {
592
+ createdBy?: string;
593
+ createdByPrincipal?: string;
594
+ entityId: string;
595
+ facts?: Record<string, unknown>;
596
+ isShared?: boolean;
597
+ label: string;
598
+ lastSeenAt?: string;
599
+ ownerId: string;
600
+ policy?: Record<string, unknown>;
601
+ principalId?: string;
602
+ revokedAt?: string;
603
+ tokenHash: string;
604
+ updatedBy?: string;
605
+ updatedByPrincipal?: string;
606
+ };
607
+ }
608
+ export interface MachinePatch {
609
+ createdBy?: string | null;
610
+ createdByPrincipal?: string | null;
611
+ entityId?: string | null;
612
+ facts?: Record<string, unknown> | null;
613
+ isShared?: boolean | null;
614
+ label?: string | null;
615
+ lastSeenAt?: string | null;
616
+ ownerId?: string | null;
617
+ policy?: Record<string, unknown> | null;
618
+ principalId?: string | null;
619
+ revokedAt?: string | null;
620
+ tokenHash?: string | null;
621
+ updatedBy?: string | null;
622
+ updatedByPrincipal?: string | null;
623
+ }
624
+ export interface UpdateMachineInput {
625
+ clientMutationId?: string;
626
+ id: string;
627
+ machinePatch: MachinePatch;
628
+ }
629
+ export interface DeleteMachineInput {
630
+ clientMutationId?: string;
631
+ id: string;
632
+ }
633
+ export interface CreateMachineMessageInput {
634
+ clientMutationId?: string;
635
+ machineMessage: {
636
+ actorId: string;
637
+ content?: Record<string, unknown>;
638
+ createdByPrincipal?: string;
639
+ kind: string;
640
+ recordedAt?: string;
641
+ seq: string;
642
+ sessionId: string;
643
+ };
644
+ }
645
+ export interface MachineMessagePatch {
646
+ actorId?: string | null;
647
+ content?: Record<string, unknown> | null;
648
+ createdByPrincipal?: string | null;
649
+ entityId?: string | null;
650
+ kind?: string | null;
651
+ ownerId?: string | null;
652
+ recordedAt?: string | null;
653
+ seq?: string | null;
654
+ sessionId?: string | null;
655
+ }
656
+ export interface UpdateMachineMessageInput {
657
+ clientMutationId?: string;
658
+ id: string;
659
+ machineMessagePatch: MachineMessagePatch;
660
+ }
661
+ export interface DeleteMachineMessageInput {
662
+ clientMutationId?: string;
663
+ id: string;
664
+ }
665
+ export interface CreateMachineSessionInput {
666
+ clientMutationId?: string;
667
+ machineSession: {
668
+ agentMode?: string;
669
+ agentSessionRef?: string;
670
+ args?: string[];
671
+ cols?: number;
672
+ command?: string;
673
+ createdBy?: string;
674
+ createdByPrincipal?: string;
675
+ cwd?: string;
676
+ endedAt?: string;
677
+ env?: Record<string, unknown>;
678
+ exitCode?: number;
679
+ interactive?: boolean;
680
+ lastActivityAt?: string;
681
+ lastSeq?: string;
682
+ machineId: string;
683
+ metadata?: Record<string, unknown>;
684
+ ownerId: string;
685
+ pid?: number;
686
+ runId?: string;
687
+ startedAt?: string;
688
+ state?: string;
689
+ termRows?: number;
690
+ updatedBy?: string;
691
+ updatedByPrincipal?: string;
692
+ };
693
+ }
694
+ export interface MachineSessionPatch {
695
+ agentMode?: string | null;
696
+ agentSessionRef?: string | null;
697
+ args?: string[] | null;
698
+ cols?: number | null;
699
+ command?: string | null;
700
+ createdBy?: string | null;
701
+ createdByPrincipal?: string | null;
702
+ cwd?: string | null;
703
+ endedAt?: string | null;
704
+ entityId?: string | null;
705
+ env?: Record<string, unknown> | null;
706
+ exitCode?: number | null;
707
+ interactive?: boolean | null;
708
+ lastActivityAt?: string | null;
709
+ lastSeq?: string | null;
710
+ machineId?: string | null;
711
+ metadata?: Record<string, unknown> | null;
712
+ ownerId?: string | null;
713
+ pid?: number | null;
714
+ runId?: string | null;
715
+ startedAt?: string | null;
716
+ state?: string | null;
717
+ termRows?: number | null;
718
+ updatedBy?: string | null;
719
+ updatedByPrincipal?: string | null;
720
+ }
721
+ export interface UpdateMachineSessionInput {
722
+ clientMutationId?: string;
723
+ id: string;
724
+ machineSessionPatch: MachineSessionPatch;
725
+ }
726
+ export interface DeleteMachineSessionInput {
727
+ clientMutationId?: string;
728
+ id: string;
729
+ }
730
+ export declare const connectionFieldsMap: Record<string, Record<string, string>>;
731
+ export interface MachinesEnrollInput {
732
+ clientMutationId?: string;
733
+ entityId?: string;
734
+ isShared?: boolean;
735
+ label?: string;
736
+ tokenHash?: string;
737
+ }
738
+ export interface ProvisionBucketInput {
739
+ /** The logical bucket key (e.g., "public", "private") */
740
+ bucketKey: string;
741
+ /**
742
+ * Owner entity ID for entity-scoped bucket provisioning.
743
+ * Omit for app-level (database-wide) storage.
744
+ */
745
+ ownerId?: string;
746
+ }
747
+ /** A filter to be used against many `MachineSession` object types. All fields are combined with a logical ‘and.’ */
748
+ export interface MachineToManyMachineSessionFilter {
749
+ /** Filters to entities where every related entity matches. */
750
+ every?: MachineSessionFilter;
751
+ /** Filters to entities where no related entity matches. */
752
+ none?: MachineSessionFilter;
753
+ /** Filters to entities where at least one related entity matches. */
754
+ some?: MachineSessionFilter;
755
+ }
756
+ /** A filter to be used against many `MachineMessage` object types. All fields are combined with a logical ‘and.’ */
757
+ export interface MachineSessionToManyMachineMessageFilter {
758
+ /** Filters to entities where every related entity matches. */
759
+ every?: MachineMessageFilter;
760
+ /** Filters to entities where no related entity matches. */
761
+ none?: MachineMessageFilter;
762
+ /** Filters to entities where at least one related entity matches. */
763
+ some?: MachineMessageFilter;
764
+ }
765
+ /** An input for mutations affecting `Machine` */
766
+ export interface MachineInput {
767
+ createdAt?: string;
768
+ createdBy?: string;
769
+ createdByPrincipal?: string;
770
+ /** Entity that owns this machine (a personal entity for my own laptop, an org for a shared box) */
771
+ entityId: string;
772
+ /** What the runner advertises: os, arch, hostname, shells, pty, installed agents, max_sessions */
773
+ facts?: Record<string, unknown>;
774
+ id?: string;
775
+ /** Whether this machine is a shared runner anyone with the session capability may use (false: owner only) */
776
+ isShared?: boolean;
777
+ /** Human-readable machine name (dan-macbook) */
778
+ label: string;
779
+ /** Last heartbeat from the runner; online is derived from this */
780
+ lastSeenAt?: string;
781
+ /** User who enrolled this machine */
782
+ ownerId: string;
783
+ /** Server-side copy of the local policy: mode, approved commands, allowed cwds and env keys */
784
+ policy?: Record<string, unknown>;
785
+ /** Principal this machine acts as (set with the row by <machines_table>_enroll) */
786
+ principalId?: string;
787
+ /** When enrollment was revoked; the relay refuses a revoked machine */
788
+ revokedAt?: string;
789
+ /** Hash of the enrollment credential the runner presents */
790
+ tokenHash: string;
791
+ updatedAt?: string;
792
+ updatedBy?: string;
793
+ updatedByPrincipal?: string;
794
+ }
795
+ /** An input for mutations affecting `MachineMessage` */
796
+ export interface MachineMessageInput {
797
+ /** Who produced this message: the user, or the machine acting as its principal */
798
+ actorId: string;
799
+ /** Body of the message; its shape follows the kind */
800
+ content?: Record<string, unknown>;
801
+ /** Acting principal (agent, API key, or user) who created this record */
802
+ createdByPrincipal?: string;
803
+ /** Unique identifier (uuidv7 provides temporal ordering) */
804
+ id?: string;
805
+ /** What this message is. Process kinds: command, stdin, signal, resize, stdout, stderr, cwd, exit, state, policy. Agent kinds (agent_mode sessions): prompt, assistant, tool_call, tool_result, approval, result, agent_session */
806
+ kind: string;
807
+ /** When the message was recorded (partition key) */
808
+ recordedAt?: string;
809
+ /** Position in the session's ledger, monotonically increasing */
810
+ seq: string;
811
+ /** Session this message belongs to */
812
+ sessionId: string;
813
+ }
814
+ /** An input for mutations affecting `MachineSession` */
815
+ export interface MachineSessionInput {
816
+ /** How a bound session runs the agent: cli (the user's installed CLI) or embedded (our loop) */
817
+ agentMode?: string;
818
+ /** The CLI's own resumable session identifier (agent_mode = cli) */
819
+ agentSessionRef?: string;
820
+ /** Arguments the command is spawned with */
821
+ args?: string[];
822
+ /** Terminal width, preserved across reattach */
823
+ cols?: number;
824
+ /** Program the runner spawns for this session */
825
+ command?: string;
826
+ createdAt?: string;
827
+ createdBy?: string;
828
+ createdByPrincipal?: string;
829
+ /** Working directory the runner last reported */
830
+ cwd?: string;
831
+ /** When the session reached a terminal state */
832
+ endedAt?: string;
833
+ /** Non-secret environment variables for the process; policy gates which keys are allowed */
834
+ env?: Record<string, unknown>;
835
+ /** Process exit status, once it ended */
836
+ exitCode?: number;
837
+ id?: string;
838
+ /** Whether raw PTY bytes ride the socket (interactive) or every command is a ledger row */
839
+ interactive?: boolean;
840
+ /** Last time bytes moved in either direction */
841
+ lastActivityAt?: string;
842
+ /** Highest ledger sequence recorded for this session */
843
+ lastSeq?: string;
844
+ /** Machine this session runs on */
845
+ machineId: string;
846
+ /** Session detail (client, shell integration, scrollback pointer) */
847
+ metadata?: Record<string, unknown>;
848
+ /** User who opened this session */
849
+ ownerId: string;
850
+ /** Process id on the machine, while it is running */
851
+ pid?: number;
852
+ /** Agent run this session executes locally (NULL for a plain terminal) */
853
+ runId?: string;
854
+ /** When the process was spawned */
855
+ startedAt?: string;
856
+ /** Lifecycle: pending, running, detached, exited, killed, failed */
857
+ state?: string;
858
+ /** Terminal height, preserved across reattach */
859
+ termRows?: number;
860
+ updatedAt?: string;
861
+ updatedBy?: string;
862
+ updatedByPrincipal?: string;
863
+ }
864
+ /** A filter to be used against `MachineSession` object types. All fields are combined with a logical ‘and.’ */
865
+ export interface MachineSessionFilter {
866
+ /** Filter by the object’s `agentMode` field. */
867
+ agentMode?: StringFilter;
868
+ /** Filter by the object’s `agentSessionRef` field. */
869
+ agentSessionRef?: StringFilter;
870
+ /** Checks for all expressions in this list. */
871
+ and?: MachineSessionFilter[];
872
+ /** Filter by the object’s `args` field. */
873
+ args?: StringListFilter;
874
+ /** Filter by the object’s `cols` field. */
875
+ cols?: IntFilter;
876
+ /** Filter by the object’s `command` field. */
877
+ command?: StringFilter;
878
+ /** Filter by the object’s `createdAt` field. */
879
+ createdAt?: DatetimeFilter;
880
+ /** Filter by the object’s `createdBy` field. */
881
+ createdBy?: UUIDFilter;
882
+ /** Filter by the object’s `createdByPrincipal` field. */
883
+ createdByPrincipal?: UUIDFilter;
884
+ /** Filter by the object’s `cwd` field. */
885
+ cwd?: StringFilter;
886
+ /** Filter by the object’s `endedAt` field. */
887
+ endedAt?: DatetimeFilter;
888
+ /** Filter by the object’s `entityId` field. */
889
+ entityId?: UUIDFilter;
890
+ /** Filter by the object’s `env` field. */
891
+ env?: JSONFilter;
892
+ /** Filter by the object’s `exitCode` field. */
893
+ exitCode?: IntFilter;
894
+ /** Filter by the object’s `id` field. */
895
+ id?: UUIDFilter;
896
+ /** Filter by the object’s `interactive` field. */
897
+ interactive?: BooleanFilter;
898
+ /** Filter by the object’s `lastActivityAt` field. */
899
+ lastActivityAt?: DatetimeFilter;
900
+ /** Filter by the object’s `lastSeq` field. */
901
+ lastSeq?: BigIntFilter;
902
+ /** Filter by the object’s `machine` relation. */
903
+ machine?: MachineFilter;
904
+ /** Filter by the object’s `machineId` field. */
905
+ machineId?: UUIDFilter;
906
+ /** Filter by the object’s `machineMessagesBySessionId` relation. */
907
+ machineMessagesBySessionId?: MachineSessionToManyMachineMessageFilter;
908
+ /** `machineMessagesBySessionId` exist. */
909
+ machineMessagesBySessionIdExist?: boolean;
910
+ /** Filter by the object’s `metadata` field. */
911
+ metadata?: JSONFilter;
912
+ /** Negates the expression. */
913
+ not?: MachineSessionFilter;
914
+ /** Checks for any expressions in this list. */
915
+ or?: MachineSessionFilter[];
916
+ /** Filter by the object’s `ownerId` field. */
917
+ ownerId?: UUIDFilter;
918
+ /** Filter by the object’s `pid` field. */
919
+ pid?: IntFilter;
920
+ /** Filter by the object’s `runId` field. */
921
+ runId?: UUIDFilter;
922
+ /** Filter by the object’s `startedAt` field. */
923
+ startedAt?: DatetimeFilter;
924
+ /** Filter by the object’s `state` field. */
925
+ state?: StringFilter;
926
+ /** Filter by the object’s `termRows` field. */
927
+ termRows?: IntFilter;
928
+ /** Filter by the object’s `updatedAt` field. */
929
+ updatedAt?: DatetimeFilter;
930
+ /** Filter by the object’s `updatedBy` field. */
931
+ updatedBy?: UUIDFilter;
932
+ /** Filter by the object’s `updatedByPrincipal` field. */
933
+ updatedByPrincipal?: UUIDFilter;
934
+ }
935
+ /** A filter to be used against `MachineMessage` object types. All fields are combined with a logical ‘and.’ */
936
+ export interface MachineMessageFilter {
937
+ /** Filter by the object’s `actorId` field. */
938
+ actorId?: UUIDFilter;
939
+ /** Checks for all expressions in this list. */
940
+ and?: MachineMessageFilter[];
941
+ /** Filter by the object’s `content` field. */
942
+ content?: JSONFilter;
943
+ /** Filter by the object’s `createdByPrincipal` field. */
944
+ createdByPrincipal?: UUIDFilter;
945
+ /** Filter by the object’s `entityId` field. */
946
+ entityId?: UUIDFilter;
947
+ /** Filter by the object’s `id` field. */
948
+ id?: UUIDFilter;
949
+ /** Filter by the object’s `kind` field. */
950
+ kind?: StringFilter;
951
+ /** Negates the expression. */
952
+ not?: MachineMessageFilter;
953
+ /** Checks for any expressions in this list. */
954
+ or?: MachineMessageFilter[];
955
+ /** Filter by the object’s `ownerId` field. */
956
+ ownerId?: UUIDFilter;
957
+ /** Filter by the object’s `recordedAt` field. */
958
+ recordedAt?: DatetimeFilter;
959
+ /** Filter by the object’s `seq` field. */
960
+ seq?: BigIntFilter;
961
+ /** Filter by the object’s `session` relation. */
962
+ session?: MachineSessionFilter;
963
+ /** Filter by the object’s `sessionId` field. */
964
+ sessionId?: UUIDFilter;
965
+ }
966
+ /** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
967
+ export interface StringFilter {
968
+ /** Not equal to the specified value, treating null like an ordinary value. */
969
+ distinctFrom?: string;
970
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
971
+ distinctFromInsensitive?: string;
972
+ /** Ends with the specified string (case-sensitive). */
973
+ endsWith?: string;
974
+ /** Ends with the specified string (case-insensitive). */
975
+ endsWithInsensitive?: string;
976
+ /** Equal to the specified value. */
977
+ equalTo?: string;
978
+ /** Equal to the specified value (case-insensitive). */
979
+ equalToInsensitive?: string;
980
+ /** Greater than the specified value. */
981
+ greaterThan?: string;
982
+ /** Greater than the specified value (case-insensitive). */
983
+ greaterThanInsensitive?: string;
984
+ /** Greater than or equal to the specified value. */
985
+ greaterThanOrEqualTo?: string;
986
+ /** Greater than or equal to the specified value (case-insensitive). */
987
+ greaterThanOrEqualToInsensitive?: string;
988
+ /** Included in the specified list. */
989
+ in?: string[];
990
+ /** Included in the specified list (case-insensitive). */
991
+ inInsensitive?: string[];
992
+ /** Contains the specified string (case-sensitive). */
993
+ includes?: string;
994
+ /** Contains the specified string (case-insensitive). */
995
+ includesInsensitive?: string;
996
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
997
+ isNull?: boolean;
998
+ /** Less than the specified value. */
999
+ lessThan?: string;
1000
+ /** Less than the specified value (case-insensitive). */
1001
+ lessThanInsensitive?: string;
1002
+ /** Less than or equal to the specified value. */
1003
+ lessThanOrEqualTo?: string;
1004
+ /** Less than or equal to the specified value (case-insensitive). */
1005
+ lessThanOrEqualToInsensitive?: string;
1006
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1007
+ like?: string;
1008
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1009
+ likeInsensitive?: string;
1010
+ /** Equal to the specified value, treating null like an ordinary value. */
1011
+ notDistinctFrom?: string;
1012
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
1013
+ notDistinctFromInsensitive?: string;
1014
+ /** Does not end with the specified string (case-sensitive). */
1015
+ notEndsWith?: string;
1016
+ /** Does not end with the specified string (case-insensitive). */
1017
+ notEndsWithInsensitive?: string;
1018
+ /** Not equal to the specified value. */
1019
+ notEqualTo?: string;
1020
+ /** Not equal to the specified value (case-insensitive). */
1021
+ notEqualToInsensitive?: string;
1022
+ /** Not included in the specified list. */
1023
+ notIn?: string[];
1024
+ /** Not included in the specified list (case-insensitive). */
1025
+ notInInsensitive?: string[];
1026
+ /** Does not contain the specified string (case-sensitive). */
1027
+ notIncludes?: string;
1028
+ /** Does not contain the specified string (case-insensitive). */
1029
+ notIncludesInsensitive?: string;
1030
+ /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1031
+ notLike?: string;
1032
+ /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1033
+ notLikeInsensitive?: string;
1034
+ /** Does not start with the specified string (case-sensitive). */
1035
+ notStartsWith?: string;
1036
+ /** Does not start with the specified string (case-insensitive). */
1037
+ notStartsWithInsensitive?: string;
1038
+ /** Starts with the specified string (case-sensitive). */
1039
+ startsWith?: string;
1040
+ /** Starts with the specified string (case-insensitive). */
1041
+ startsWithInsensitive?: string;
1042
+ }
1043
+ /** A filter to be used against String List fields. All fields are combined with a logical ‘and.’ */
1044
+ export interface StringListFilter {
1045
+ /** Any array item is equal to the specified value. */
1046
+ anyEqualTo?: string;
1047
+ /** Any array item is greater than the specified value. */
1048
+ anyGreaterThan?: string;
1049
+ /** Any array item is greater than or equal to the specified value. */
1050
+ anyGreaterThanOrEqualTo?: string;
1051
+ /** Any array item is less than the specified value. */
1052
+ anyLessThan?: string;
1053
+ /** Any array item is less than or equal to the specified value. */
1054
+ anyLessThanOrEqualTo?: string;
1055
+ /** Any array item is not equal to the specified value. */
1056
+ anyNotEqualTo?: string;
1057
+ /** Contained by the specified list of values. */
1058
+ containedBy?: string[];
1059
+ /** Contains the specified list of values. */
1060
+ contains?: string[];
1061
+ /** Not equal to the specified value, treating null like an ordinary value. */
1062
+ distinctFrom?: string[];
1063
+ /** Equal to the specified value. */
1064
+ equalTo?: string[];
1065
+ /** Greater than the specified value. */
1066
+ greaterThan?: string[];
1067
+ /** Greater than or equal to the specified value. */
1068
+ greaterThanOrEqualTo?: string[];
1069
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1070
+ isNull?: boolean;
1071
+ /** Less than the specified value. */
1072
+ lessThan?: string[];
1073
+ /** Less than or equal to the specified value. */
1074
+ lessThanOrEqualTo?: string[];
1075
+ /** Equal to the specified value, treating null like an ordinary value. */
1076
+ notDistinctFrom?: string[];
1077
+ /** Not equal to the specified value. */
1078
+ notEqualTo?: string[];
1079
+ /** Overlaps the specified list of values. */
1080
+ overlaps?: string[];
1081
+ }
1082
+ /** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
1083
+ export interface IntFilter {
1084
+ /** Not equal to the specified value, treating null like an ordinary value. */
1085
+ distinctFrom?: number;
1086
+ /** Equal to the specified value. */
1087
+ equalTo?: number;
1088
+ /** Greater than the specified value. */
1089
+ greaterThan?: number;
1090
+ /** Greater than or equal to the specified value. */
1091
+ greaterThanOrEqualTo?: number;
1092
+ /** Included in the specified list. */
1093
+ in?: number[];
1094
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1095
+ isNull?: boolean;
1096
+ /** Less than the specified value. */
1097
+ lessThan?: number;
1098
+ /** Less than or equal to the specified value. */
1099
+ lessThanOrEqualTo?: number;
1100
+ /** Equal to the specified value, treating null like an ordinary value. */
1101
+ notDistinctFrom?: number;
1102
+ /** Not equal to the specified value. */
1103
+ notEqualTo?: number;
1104
+ /** Not included in the specified list. */
1105
+ notIn?: number[];
1106
+ }
1107
+ /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
1108
+ export interface DatetimeFilter {
1109
+ /** Not equal to the specified value, treating null like an ordinary value. */
1110
+ distinctFrom?: string;
1111
+ /** Equal to the specified value. */
1112
+ equalTo?: string;
1113
+ /** Greater than the specified value. */
1114
+ greaterThan?: string;
1115
+ /** Greater than or equal to the specified value. */
1116
+ greaterThanOrEqualTo?: string;
1117
+ /** Included in the specified list. */
1118
+ in?: string[];
1119
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1120
+ isNull?: boolean;
1121
+ /** Less than the specified value. */
1122
+ lessThan?: string;
1123
+ /** Less than or equal to the specified value. */
1124
+ lessThanOrEqualTo?: string;
1125
+ /** Equal to the specified value, treating null like an ordinary value. */
1126
+ notDistinctFrom?: string;
1127
+ /** Not equal to the specified value. */
1128
+ notEqualTo?: string;
1129
+ /** Not included in the specified list. */
1130
+ notIn?: string[];
1131
+ }
1132
+ /** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
1133
+ export interface UUIDFilter {
1134
+ /** Not equal to the specified value, treating null like an ordinary value. */
1135
+ distinctFrom?: string;
1136
+ /** Equal to the specified value. */
1137
+ equalTo?: string;
1138
+ /** Greater than the specified value. */
1139
+ greaterThan?: string;
1140
+ /** Greater than or equal to the specified value. */
1141
+ greaterThanOrEqualTo?: string;
1142
+ /** Included in the specified list. */
1143
+ in?: string[];
1144
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1145
+ isNull?: boolean;
1146
+ /** Less than the specified value. */
1147
+ lessThan?: string;
1148
+ /** Less than or equal to the specified value. */
1149
+ lessThanOrEqualTo?: string;
1150
+ /** Equal to the specified value, treating null like an ordinary value. */
1151
+ notDistinctFrom?: string;
1152
+ /** Not equal to the specified value. */
1153
+ notEqualTo?: string;
1154
+ /** Not included in the specified list. */
1155
+ notIn?: string[];
1156
+ }
1157
+ /** A filter to be used against JSON fields. All fields are combined with a logical ‘and.’ */
1158
+ export interface JSONFilter {
1159
+ /** Contained by the specified JSON. */
1160
+ containedBy?: Record<string, unknown>;
1161
+ /** Contains the specified JSON. */
1162
+ contains?: Record<string, unknown>;
1163
+ /** Contains all of the specified keys. */
1164
+ containsAllKeys?: string[];
1165
+ /** Contains any of the specified keys. */
1166
+ containsAnyKeys?: string[];
1167
+ /** Contains the specified key. */
1168
+ containsKey?: string;
1169
+ /** Not equal to the specified value, treating null like an ordinary value. */
1170
+ distinctFrom?: Record<string, unknown>;
1171
+ /** Equal to the specified value. */
1172
+ equalTo?: Record<string, unknown>;
1173
+ /** Greater than the specified value. */
1174
+ greaterThan?: Record<string, unknown>;
1175
+ /** Greater than or equal to the specified value. */
1176
+ greaterThanOrEqualTo?: Record<string, unknown>;
1177
+ /** Included in the specified list. */
1178
+ in?: Record<string, unknown>[];
1179
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1180
+ isNull?: boolean;
1181
+ /** Less than the specified value. */
1182
+ lessThan?: Record<string, unknown>;
1183
+ /** Less than or equal to the specified value. */
1184
+ lessThanOrEqualTo?: Record<string, unknown>;
1185
+ /** Equal to the specified value, treating null like an ordinary value. */
1186
+ notDistinctFrom?: Record<string, unknown>;
1187
+ /** Not equal to the specified value. */
1188
+ notEqualTo?: Record<string, unknown>;
1189
+ /** Not included in the specified list. */
1190
+ notIn?: Record<string, unknown>[];
1191
+ }
1192
+ /** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
1193
+ export interface BooleanFilter {
1194
+ /** Not equal to the specified value, treating null like an ordinary value. */
1195
+ distinctFrom?: boolean;
1196
+ /** Equal to the specified value. */
1197
+ equalTo?: boolean;
1198
+ /** Greater than the specified value. */
1199
+ greaterThan?: boolean;
1200
+ /** Greater than or equal to the specified value. */
1201
+ greaterThanOrEqualTo?: boolean;
1202
+ /** Included in the specified list. */
1203
+ in?: boolean[];
1204
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1205
+ isNull?: boolean;
1206
+ /** Less than the specified value. */
1207
+ lessThan?: boolean;
1208
+ /** Less than or equal to the specified value. */
1209
+ lessThanOrEqualTo?: boolean;
1210
+ /** Equal to the specified value, treating null like an ordinary value. */
1211
+ notDistinctFrom?: boolean;
1212
+ /** Not equal to the specified value. */
1213
+ notEqualTo?: boolean;
1214
+ /** Not included in the specified list. */
1215
+ notIn?: boolean[];
1216
+ }
1217
+ /** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */
1218
+ export interface BigIntFilter {
1219
+ /** Not equal to the specified value, treating null like an ordinary value. */
1220
+ distinctFrom?: string;
1221
+ /** Equal to the specified value. */
1222
+ equalTo?: string;
1223
+ /** Greater than the specified value. */
1224
+ greaterThan?: string;
1225
+ /** Greater than or equal to the specified value. */
1226
+ greaterThanOrEqualTo?: string;
1227
+ /** Included in the specified list. */
1228
+ in?: string[];
1229
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1230
+ isNull?: boolean;
1231
+ /** Less than the specified value. */
1232
+ lessThan?: string;
1233
+ /** Less than or equal to the specified value. */
1234
+ lessThanOrEqualTo?: string;
1235
+ /** Equal to the specified value, treating null like an ordinary value. */
1236
+ notDistinctFrom?: string;
1237
+ /** Not equal to the specified value. */
1238
+ notEqualTo?: string;
1239
+ /** Not included in the specified list. */
1240
+ notIn?: string[];
1241
+ }
1242
+ /** A filter to be used against `Machine` object types. All fields are combined with a logical ‘and.’ */
1243
+ export interface MachineFilter {
1244
+ /** Checks for all expressions in this list. */
1245
+ and?: MachineFilter[];
1246
+ /** Filter by the object’s `createdAt` field. */
1247
+ createdAt?: DatetimeFilter;
1248
+ /** Filter by the object’s `createdBy` field. */
1249
+ createdBy?: UUIDFilter;
1250
+ /** Filter by the object’s `createdByPrincipal` field. */
1251
+ createdByPrincipal?: UUIDFilter;
1252
+ /** Filter by the object’s `entityId` field. */
1253
+ entityId?: UUIDFilter;
1254
+ /** Filter by the object’s `facts` field. */
1255
+ facts?: JSONFilter;
1256
+ /** Filter by the object’s `id` field. */
1257
+ id?: UUIDFilter;
1258
+ /** Filter by the object’s `isShared` field. */
1259
+ isShared?: BooleanFilter;
1260
+ /** Filter by the object’s `label` field. */
1261
+ label?: StringFilter;
1262
+ /** Filter by the object’s `lastSeenAt` field. */
1263
+ lastSeenAt?: DatetimeFilter;
1264
+ /** Filter by the object’s `machineSessions` relation. */
1265
+ machineSessions?: MachineToManyMachineSessionFilter;
1266
+ /** `machineSessions` exist. */
1267
+ machineSessionsExist?: boolean;
1268
+ /** Negates the expression. */
1269
+ not?: MachineFilter;
1270
+ /** Checks for any expressions in this list. */
1271
+ or?: MachineFilter[];
1272
+ /** Filter by the object’s `ownerId` field. */
1273
+ ownerId?: UUIDFilter;
1274
+ /** Filter by the object’s `policy` field. */
1275
+ policy?: JSONFilter;
1276
+ /** Filter by the object’s `principalId` field. */
1277
+ principalId?: UUIDFilter;
1278
+ /** Filter by the object’s `revokedAt` field. */
1279
+ revokedAt?: DatetimeFilter;
1280
+ /** Filter by the object’s `tokenHash` field. */
1281
+ tokenHash?: StringFilter;
1282
+ /** Filter by the object’s `updatedAt` field. */
1283
+ updatedAt?: DatetimeFilter;
1284
+ /** Filter by the object’s `updatedBy` field. */
1285
+ updatedBy?: UUIDFilter;
1286
+ /** Filter by the object’s `updatedByPrincipal` field. */
1287
+ updatedByPrincipal?: UUIDFilter;
1288
+ }
1289
+ export interface MachinesEnrollPayload {
1290
+ clientMutationId?: string | null;
1291
+ result?: string | null;
1292
+ }
1293
+ export type MachinesEnrollPayloadSelect = {
1294
+ clientMutationId?: boolean;
1295
+ result?: boolean;
1296
+ };
1297
+ export interface ProvisionBucketPayload {
1298
+ /** The logical bucket row that was queued for reconciliation. */
1299
+ bucketId: string;
1300
+ bucketKey: string;
1301
+ /** The reconciler job enqueued to provision this bucket. */
1302
+ jobId: string;
1303
+ /** The physical bucket name already recorded, or null when reconciliation has not completed. */
1304
+ physicalName?: string | null;
1305
+ }
1306
+ export type ProvisionBucketPayloadSelect = {
1307
+ bucketId?: boolean;
1308
+ bucketKey?: boolean;
1309
+ jobId?: boolean;
1310
+ physicalName?: boolean;
1311
+ };
1312
+ export interface CreateMachinePayload {
1313
+ clientMutationId?: string | null;
1314
+ /** The `Machine` that was created by this mutation. */
1315
+ machine?: Machine | null;
1316
+ machineEdge?: MachineEdge | null;
1317
+ }
1318
+ export type CreateMachinePayloadSelect = {
1319
+ clientMutationId?: boolean;
1320
+ machine?: {
1321
+ select: MachineSelect;
1322
+ };
1323
+ machineEdge?: {
1324
+ select: MachineEdgeSelect;
1325
+ };
1326
+ };
1327
+ export interface UpdateMachinePayload {
1328
+ clientMutationId?: string | null;
1329
+ /** The `Machine` that was updated by this mutation. */
1330
+ machine?: Machine | null;
1331
+ machineEdge?: MachineEdge | null;
1332
+ }
1333
+ export type UpdateMachinePayloadSelect = {
1334
+ clientMutationId?: boolean;
1335
+ machine?: {
1336
+ select: MachineSelect;
1337
+ };
1338
+ machineEdge?: {
1339
+ select: MachineEdgeSelect;
1340
+ };
1341
+ };
1342
+ export interface DeleteMachinePayload {
1343
+ clientMutationId?: string | null;
1344
+ /** The `Machine` that was deleted by this mutation. */
1345
+ machine?: Machine | null;
1346
+ machineEdge?: MachineEdge | null;
1347
+ }
1348
+ export type DeleteMachinePayloadSelect = {
1349
+ clientMutationId?: boolean;
1350
+ machine?: {
1351
+ select: MachineSelect;
1352
+ };
1353
+ machineEdge?: {
1354
+ select: MachineEdgeSelect;
1355
+ };
1356
+ };
1357
+ export interface CreateMachineMessagePayload {
1358
+ clientMutationId?: string | null;
1359
+ /** The `MachineMessage` that was created by this mutation. */
1360
+ machineMessage?: MachineMessage | null;
1361
+ machineMessageEdge?: MachineMessageEdge | null;
1362
+ }
1363
+ export type CreateMachineMessagePayloadSelect = {
1364
+ clientMutationId?: boolean;
1365
+ machineMessage?: {
1366
+ select: MachineMessageSelect;
1367
+ };
1368
+ machineMessageEdge?: {
1369
+ select: MachineMessageEdgeSelect;
1370
+ };
1371
+ };
1372
+ export interface UpdateMachineMessagePayload {
1373
+ clientMutationId?: string | null;
1374
+ /** The `MachineMessage` that was updated by this mutation. */
1375
+ machineMessage?: MachineMessage | null;
1376
+ machineMessageEdge?: MachineMessageEdge | null;
1377
+ }
1378
+ export type UpdateMachineMessagePayloadSelect = {
1379
+ clientMutationId?: boolean;
1380
+ machineMessage?: {
1381
+ select: MachineMessageSelect;
1382
+ };
1383
+ machineMessageEdge?: {
1384
+ select: MachineMessageEdgeSelect;
1385
+ };
1386
+ };
1387
+ export interface DeleteMachineMessagePayload {
1388
+ clientMutationId?: string | null;
1389
+ /** The `MachineMessage` that was deleted by this mutation. */
1390
+ machineMessage?: MachineMessage | null;
1391
+ machineMessageEdge?: MachineMessageEdge | null;
1392
+ }
1393
+ export type DeleteMachineMessagePayloadSelect = {
1394
+ clientMutationId?: boolean;
1395
+ machineMessage?: {
1396
+ select: MachineMessageSelect;
1397
+ };
1398
+ machineMessageEdge?: {
1399
+ select: MachineMessageEdgeSelect;
1400
+ };
1401
+ };
1402
+ export interface CreateMachineSessionPayload {
1403
+ clientMutationId?: string | null;
1404
+ /** The `MachineSession` that was created by this mutation. */
1405
+ machineSession?: MachineSession | null;
1406
+ machineSessionEdge?: MachineSessionEdge | null;
1407
+ }
1408
+ export type CreateMachineSessionPayloadSelect = {
1409
+ clientMutationId?: boolean;
1410
+ machineSession?: {
1411
+ select: MachineSessionSelect;
1412
+ };
1413
+ machineSessionEdge?: {
1414
+ select: MachineSessionEdgeSelect;
1415
+ };
1416
+ };
1417
+ export interface UpdateMachineSessionPayload {
1418
+ clientMutationId?: string | null;
1419
+ /** The `MachineSession` that was updated by this mutation. */
1420
+ machineSession?: MachineSession | null;
1421
+ machineSessionEdge?: MachineSessionEdge | null;
1422
+ }
1423
+ export type UpdateMachineSessionPayloadSelect = {
1424
+ clientMutationId?: boolean;
1425
+ machineSession?: {
1426
+ select: MachineSessionSelect;
1427
+ };
1428
+ machineSessionEdge?: {
1429
+ select: MachineSessionEdgeSelect;
1430
+ };
1431
+ };
1432
+ export interface DeleteMachineSessionPayload {
1433
+ clientMutationId?: string | null;
1434
+ /** The `MachineSession` that was deleted by this mutation. */
1435
+ machineSession?: MachineSession | null;
1436
+ machineSessionEdge?: MachineSessionEdge | null;
1437
+ }
1438
+ export type DeleteMachineSessionPayloadSelect = {
1439
+ clientMutationId?: boolean;
1440
+ machineSession?: {
1441
+ select: MachineSessionSelect;
1442
+ };
1443
+ machineSessionEdge?: {
1444
+ select: MachineSessionEdgeSelect;
1445
+ };
1446
+ };
1447
+ /** A `Machine` edge in the connection. */
1448
+ export interface MachineEdge {
1449
+ cursor?: string | null;
1450
+ /** The `Machine` at the end of the edge. */
1451
+ node?: Machine | null;
1452
+ }
1453
+ export type MachineEdgeSelect = {
1454
+ cursor?: boolean;
1455
+ node?: {
1456
+ select: MachineSelect;
1457
+ };
1458
+ };
1459
+ /** A `MachineMessage` edge in the connection. */
1460
+ export interface MachineMessageEdge {
1461
+ cursor?: string | null;
1462
+ /** The `MachineMessage` at the end of the edge. */
1463
+ node?: MachineMessage | null;
1464
+ }
1465
+ export type MachineMessageEdgeSelect = {
1466
+ cursor?: boolean;
1467
+ node?: {
1468
+ select: MachineMessageSelect;
1469
+ };
1470
+ };
1471
+ /** A `MachineSession` edge in the connection. */
1472
+ export interface MachineSessionEdge {
1473
+ cursor?: string | null;
1474
+ /** The `MachineSession` at the end of the edge. */
1475
+ node?: MachineSession | null;
1476
+ }
1477
+ export type MachineSessionEdgeSelect = {
1478
+ cursor?: boolean;
1479
+ node?: {
1480
+ select: MachineSessionSelect;
1481
+ };
1482
+ };