@constructive-sdk/cli 0.25.16 → 0.25.17

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 (830) hide show
  1. package/README.md +2 -0
  2. package/admin/orm/models/appAdminGrant.js +1 -1
  3. package/admin/orm/models/appClaimedInvite.js +1 -1
  4. package/admin/orm/models/appGrant.js +1 -1
  5. package/admin/orm/models/appInvite.js +1 -1
  6. package/admin/orm/models/appMembership.js +1 -1
  7. package/admin/orm/models/appMembershipDefault.js +1 -1
  8. package/admin/orm/models/appOwnerGrant.js +1 -1
  9. package/admin/orm/models/appPermission.js +1 -1
  10. package/admin/orm/models/appPermissionDefault.js +1 -1
  11. package/admin/orm/models/appPermissionDefaultGrant.js +1 -1
  12. package/admin/orm/models/appPermissionDefaultPermission.js +1 -1
  13. package/admin/orm/models/membershipType.js +1 -1
  14. package/admin/orm/models/orgAdminGrant.js +1 -1
  15. package/admin/orm/models/orgChartEdge.js +1 -1
  16. package/admin/orm/models/orgChartEdgeGrant.js +1 -1
  17. package/admin/orm/models/orgClaimedInvite.js +1 -1
  18. package/admin/orm/models/orgGrant.js +1 -1
  19. package/admin/orm/models/orgInvite.js +1 -1
  20. package/admin/orm/models/orgMember.js +1 -1
  21. package/admin/orm/models/orgMemberProfile.js +1 -1
  22. package/admin/orm/models/orgMembership.js +1 -1
  23. package/admin/orm/models/orgMembershipDefault.js +1 -1
  24. package/admin/orm/models/orgMembershipSetting.js +1 -1
  25. package/admin/orm/models/orgOwnerGrant.js +1 -1
  26. package/admin/orm/models/orgPermission.js +1 -1
  27. package/admin/orm/models/orgPermissionDefault.js +1 -1
  28. package/admin/orm/models/orgPermissionDefaultGrant.js +1 -1
  29. package/admin/orm/models/orgPermissionDefaultPermission.js +1 -1
  30. package/admin/orm/query-builder.d.ts +1 -1
  31. package/admin/orm/query-builder.js +2 -1
  32. package/agent/orm/input-types.d.ts +14 -2
  33. package/agent/orm/models/agent.js +1 -1
  34. package/agent/orm/models/agentMessage.js +1 -1
  35. package/agent/orm/models/agentPersona.js +1 -1
  36. package/agent/orm/models/agentPlan.js +1 -1
  37. package/agent/orm/models/agentPrompt.js +1 -1
  38. package/agent/orm/models/agentResource.js +1 -1
  39. package/agent/orm/models/agentResourceChunk.js +1 -1
  40. package/agent/orm/models/agentTask.js +1 -1
  41. package/agent/orm/models/agentThread.js +1 -1
  42. package/agent/orm/query-builder.d.ts +1 -1
  43. package/agent/orm/query-builder.js +2 -1
  44. package/api/cli/commands/schema.js +22 -0
  45. package/api/orm/input-types.d.ts +36 -1
  46. package/api/orm/models/api.js +1 -1
  47. package/api/orm/models/apiModule.js +1 -1
  48. package/api/orm/models/apiSchema.js +1 -1
  49. package/api/orm/models/apiSetting.js +1 -1
  50. package/api/orm/models/app.js +1 -1
  51. package/api/orm/models/checkConstraint.js +1 -1
  52. package/api/orm/models/compositeType.js +1 -1
  53. package/api/orm/models/corsSetting.js +1 -1
  54. package/api/orm/models/database.js +1 -1
  55. package/api/orm/models/databaseSetting.js +1 -1
  56. package/api/orm/models/databaseTransfer.js +1 -1
  57. package/api/orm/models/defaultPrivilege.js +1 -1
  58. package/api/orm/models/domain.js +1 -1
  59. package/api/orm/models/embeddingChunk.js +1 -1
  60. package/api/orm/models/enum.js +1 -1
  61. package/api/orm/models/field.js +1 -1
  62. package/api/orm/models/foreignKeyConstraint.js +1 -1
  63. package/api/orm/models/fullTextSearch.js +1 -1
  64. package/api/orm/models/function.js +1 -1
  65. package/api/orm/models/indexModel.js +1 -1
  66. package/api/orm/models/nodeTypeRegistry.js +1 -1
  67. package/api/orm/models/partition.js +1 -1
  68. package/api/orm/models/policy.js +1 -1
  69. package/api/orm/models/primaryKeyConstraint.js +1 -1
  70. package/api/orm/models/pubkeySetting.js +1 -1
  71. package/api/orm/models/rlsSetting.js +1 -1
  72. package/api/orm/models/schema.js +1 -1
  73. package/api/orm/models/schemaGrant.js +1 -1
  74. package/api/orm/models/site.js +1 -1
  75. package/api/orm/models/siteMetadatum.js +1 -1
  76. package/api/orm/models/siteModule.js +1 -1
  77. package/api/orm/models/siteTheme.js +1 -1
  78. package/api/orm/models/spatialRelation.js +1 -1
  79. package/api/orm/models/table.js +1 -1
  80. package/api/orm/models/tableGrant.js +1 -1
  81. package/api/orm/models/trigger.js +1 -1
  82. package/api/orm/models/triggerFunction.js +1 -1
  83. package/api/orm/models/uniqueConstraint.js +1 -1
  84. package/api/orm/models/view.js +1 -1
  85. package/api/orm/models/viewGrant.js +1 -1
  86. package/api/orm/models/viewRule.js +1 -1
  87. package/api/orm/models/viewTable.js +1 -1
  88. package/api/orm/models/webauthnSetting.js +1 -1
  89. package/api/orm/query-builder.d.ts +1 -1
  90. package/api/orm/query-builder.js +2 -1
  91. package/auth/cli/commands/audit-log-auth.js +14 -0
  92. package/auth/orm/input-types.d.ts +4 -2
  93. package/auth/orm/models/auditLogAuth.d.ts +2 -0
  94. package/auth/orm/models/auditLogAuth.js +4 -1
  95. package/auth/orm/models/cryptoAddress.js +1 -1
  96. package/auth/orm/models/email.js +1 -1
  97. package/auth/orm/models/phoneNumber.js +1 -1
  98. package/auth/orm/models/roleType.js +1 -1
  99. package/auth/orm/models/user.js +1 -1
  100. package/auth/orm/models/webauthnCredential.js +1 -1
  101. package/auth/orm/query-builder.d.ts +1 -1
  102. package/auth/orm/query-builder.js +2 -1
  103. package/cli-commands.js +6 -6
  104. package/compute/cli/commands/add-edge-and-save.d.ts +8 -0
  105. package/compute/cli/commands/add-edge-and-save.js +36 -0
  106. package/compute/cli/commands/add-edge.d.ts +8 -0
  107. package/compute/cli/commands/add-edge.js +36 -0
  108. package/compute/cli/commands/add-node-and-save.d.ts +8 -0
  109. package/compute/cli/commands/add-node-and-save.js +36 -0
  110. package/compute/cli/commands/add-node.d.ts +8 -0
  111. package/compute/cli/commands/add-node.js +36 -0
  112. package/compute/cli/commands/auth.d.ts +8 -0
  113. package/compute/cli/commands/auth.js +107 -0
  114. package/compute/cli/commands/context.d.ts +8 -0
  115. package/compute/cli/commands/context.js +158 -0
  116. package/compute/cli/commands/copy-graph.d.ts +8 -0
  117. package/compute/cli/commands/copy-graph.js +36 -0
  118. package/compute/cli/commands/function-api-binding.d.ts +8 -0
  119. package/compute/cli/commands/function-api-binding.js +294 -0
  120. package/compute/cli/commands/function-definition.d.ts +8 -0
  121. package/compute/cli/commands/function-definition.js +788 -0
  122. package/compute/cli/commands/function-deployment-event.d.ts +8 -0
  123. package/compute/cli/commands/function-deployment-event.js +356 -0
  124. package/compute/cli/commands/function-deployment.d.ts +8 -0
  125. package/compute/cli/commands/function-deployment.js +612 -0
  126. package/compute/cli/commands/function-execution-log.d.ts +8 -0
  127. package/compute/cli/commands/function-execution-log.js +380 -0
  128. package/compute/cli/commands/function-graph-commit.d.ts +8 -0
  129. package/compute/cli/commands/function-graph-commit.js +389 -0
  130. package/compute/cli/commands/function-graph-execution-node-state.d.ts +8 -0
  131. package/compute/cli/commands/function-graph-execution-node-state.js +444 -0
  132. package/compute/cli/commands/function-graph-execution-output.d.ts +8 -0
  133. package/compute/cli/commands/function-graph-execution-output.js +290 -0
  134. package/compute/cli/commands/function-graph-execution.d.ts +8 -0
  135. package/compute/cli/commands/function-graph-execution.js +716 -0
  136. package/compute/cli/commands/function-graph-object.d.ts +8 -0
  137. package/compute/cli/commands/function-graph-object.js +309 -0
  138. package/compute/cli/commands/function-graph-ref.d.ts +8 -0
  139. package/compute/cli/commands/function-graph-ref.js +299 -0
  140. package/compute/cli/commands/function-graph-store.d.ts +8 -0
  141. package/compute/cli/commands/function-graph-store.js +278 -0
  142. package/compute/cli/commands/function-graph.d.ts +8 -0
  143. package/compute/cli/commands/function-graph.js +422 -0
  144. package/compute/cli/commands/function-invocation.d.ts +8 -0
  145. package/compute/cli/commands/function-invocation.js +512 -0
  146. package/compute/cli/commands/get-all-record.d.ts +8 -0
  147. package/compute/cli/commands/get-all-record.js +126 -0
  148. package/compute/cli/commands/import-definitions.d.ts +8 -0
  149. package/compute/cli/commands/import-definitions.js +36 -0
  150. package/compute/cli/commands/import-graph-json.d.ts +8 -0
  151. package/compute/cli/commands/import-graph-json.js +36 -0
  152. package/compute/cli/commands/init-empty-repo.d.ts +8 -0
  153. package/compute/cli/commands/init-empty-repo.js +36 -0
  154. package/compute/cli/commands/insert-node-at-path.d.ts +8 -0
  155. package/compute/cli/commands/insert-node-at-path.js +36 -0
  156. package/compute/cli/commands/org-function-execution-log.d.ts +8 -0
  157. package/compute/cli/commands/org-function-execution-log.js +360 -0
  158. package/compute/cli/commands/org-function-invocation.d.ts +8 -0
  159. package/compute/cli/commands/org-function-invocation.js +492 -0
  160. package/compute/cli/commands/provision-bucket.d.ts +8 -0
  161. package/compute/cli/commands/provision-bucket.js +36 -0
  162. package/compute/cli/commands/read-function-graph.d.ts +8 -0
  163. package/compute/cli/commands/read-function-graph.js +30 -0
  164. package/compute/cli/commands/save-graph.d.ts +8 -0
  165. package/compute/cli/commands/save-graph.js +36 -0
  166. package/compute/cli/commands/secret-definition.d.ts +8 -0
  167. package/compute/cli/commands/secret-definition.js +350 -0
  168. package/compute/cli/commands/set-data-at-path.d.ts +8 -0
  169. package/compute/cli/commands/set-data-at-path.js +36 -0
  170. package/compute/cli/commands/start-execution.d.ts +8 -0
  171. package/compute/cli/commands/start-execution.js +36 -0
  172. package/compute/cli/commands/validate-function-graph.d.ts +8 -0
  173. package/compute/cli/commands/validate-function-graph.js +36 -0
  174. package/compute/cli/commands.d.ts +7 -0
  175. package/compute/cli/commands.js +114 -0
  176. package/compute/cli/executor.d.ts +100 -0
  177. package/compute/cli/executor.js +40 -0
  178. package/compute/cli/index.d.ts +1 -0
  179. package/compute/cli/index.js +26 -0
  180. package/compute/cli/utils.d.ts +88 -0
  181. package/compute/cli/utils.js +297 -0
  182. package/compute/index.d.ts +6 -0
  183. package/compute/index.js +22 -0
  184. package/compute/orm/client.d.ts +97 -0
  185. package/compute/orm/client.js +152 -0
  186. package/compute/orm/index.d.ts +148 -0
  187. package/compute/orm/index.js +103 -0
  188. package/compute/orm/input-types.d.ts +4243 -0
  189. package/compute/orm/input-types.js +10 -0
  190. package/compute/orm/models/functionApiBinding.d.ts +54 -0
  191. package/compute/orm/models/functionApiBinding.js +104 -0
  192. package/compute/orm/models/functionDefinition.d.ts +54 -0
  193. package/compute/orm/models/functionDefinition.js +104 -0
  194. package/compute/orm/models/functionDeployment.d.ts +54 -0
  195. package/compute/orm/models/functionDeployment.js +104 -0
  196. package/compute/orm/models/functionDeploymentEvent.d.ts +56 -0
  197. package/compute/orm/models/functionDeploymentEvent.js +107 -0
  198. package/compute/orm/models/functionExecutionLog.d.ts +56 -0
  199. package/compute/orm/models/functionExecutionLog.js +107 -0
  200. package/compute/orm/models/functionGraph.d.ts +54 -0
  201. package/compute/orm/models/functionGraph.js +104 -0
  202. package/compute/orm/models/functionGraphCommit.d.ts +56 -0
  203. package/compute/orm/models/functionGraphCommit.js +107 -0
  204. package/compute/orm/models/functionGraphExecution.d.ts +56 -0
  205. package/compute/orm/models/functionGraphExecution.js +107 -0
  206. package/compute/orm/models/functionGraphExecutionNodeState.d.ts +56 -0
  207. package/compute/orm/models/functionGraphExecutionNodeState.js +107 -0
  208. package/compute/orm/models/functionGraphExecutionOutput.d.ts +56 -0
  209. package/compute/orm/models/functionGraphExecutionOutput.js +107 -0
  210. package/compute/orm/models/functionGraphObject.d.ts +56 -0
  211. package/compute/orm/models/functionGraphObject.js +97 -0
  212. package/compute/orm/models/functionGraphRef.d.ts +56 -0
  213. package/compute/orm/models/functionGraphRef.js +107 -0
  214. package/compute/orm/models/functionGraphStore.d.ts +54 -0
  215. package/compute/orm/models/functionGraphStore.js +104 -0
  216. package/compute/orm/models/functionInvocation.d.ts +56 -0
  217. package/compute/orm/models/functionInvocation.js +107 -0
  218. package/compute/orm/models/getAllRecord.d.ts +30 -0
  219. package/compute/orm/models/getAllRecord.js +59 -0
  220. package/compute/orm/models/index.d.ts +23 -0
  221. package/compute/orm/models/index.js +44 -0
  222. package/compute/orm/models/orgFunctionExecutionLog.d.ts +56 -0
  223. package/compute/orm/models/orgFunctionExecutionLog.js +107 -0
  224. package/compute/orm/models/orgFunctionInvocation.d.ts +56 -0
  225. package/compute/orm/models/orgFunctionInvocation.js +107 -0
  226. package/compute/orm/models/secretDefinition.d.ts +54 -0
  227. package/compute/orm/models/secretDefinition.js +104 -0
  228. package/compute/orm/mutation/index.d.ts +130 -0
  229. package/compute/orm/mutation/index.js +177 -0
  230. package/compute/orm/query/index.d.ts +17 -0
  231. package/compute/orm/query/index.js +21 -0
  232. package/compute/orm/query-builder.d.ts +110 -0
  233. package/compute/orm/query-builder.js +757 -0
  234. package/compute/orm/realtime.d.ts +142 -0
  235. package/compute/orm/realtime.js +104 -0
  236. package/compute/orm/select-types.d.ts +125 -0
  237. package/compute/orm/select-types.js +2 -0
  238. package/compute/orm/types.d.ts +6 -0
  239. package/compute/orm/types.js +23 -0
  240. package/config/cli/commands/auth.d.ts +8 -0
  241. package/config/cli/commands/auth.js +107 -0
  242. package/config/cli/commands/context.d.ts +8 -0
  243. package/config/cli/commands/context.js +158 -0
  244. package/config/cli/commands/org-secrets-del.d.ts +8 -0
  245. package/config/cli/commands/org-secrets-del.js +36 -0
  246. package/config/cli/commands/org-secrets-remove-array.d.ts +8 -0
  247. package/config/cli/commands/org-secrets-remove-array.js +36 -0
  248. package/config/cli/commands/org-secrets-rotate.d.ts +8 -0
  249. package/config/cli/commands/org-secrets-rotate.js +36 -0
  250. package/config/cli/commands/org-secrets-set.d.ts +8 -0
  251. package/config/cli/commands/org-secrets-set.js +36 -0
  252. package/config/cli/commands/platform-config-definition.d.ts +8 -0
  253. package/config/cli/commands/platform-config-definition.js +352 -0
  254. package/config/cli/commands/platform-config.d.ts +8 -0
  255. package/config/cli/commands/platform-config.js +372 -0
  256. package/config/cli/commands/platform-secrets-del.d.ts +8 -0
  257. package/config/cli/commands/platform-secrets-del.js +36 -0
  258. package/config/cli/commands/platform-secrets-remove-array.d.ts +8 -0
  259. package/config/cli/commands/platform-secrets-remove-array.js +36 -0
  260. package/config/cli/commands/platform-secrets-rotate.d.ts +8 -0
  261. package/config/cli/commands/platform-secrets-rotate.js +36 -0
  262. package/config/cli/commands/platform-secrets-set.d.ts +8 -0
  263. package/config/cli/commands/platform-secrets-set.js +36 -0
  264. package/config/cli/commands/provision-bucket.d.ts +8 -0
  265. package/config/cli/commands/provision-bucket.js +36 -0
  266. package/config/cli/commands.d.ts +7 -0
  267. package/config/cli/commands.js +70 -0
  268. package/config/cli/executor.d.ts +52 -0
  269. package/config/cli/executor.js +40 -0
  270. package/config/cli/index.d.ts +1 -0
  271. package/config/cli/index.js +26 -0
  272. package/config/cli/utils.d.ts +88 -0
  273. package/config/cli/utils.js +297 -0
  274. package/config/index.d.ts +6 -2
  275. package/config/index.js +20 -4
  276. package/config/orm/client.d.ts +97 -0
  277. package/config/orm/client.js +152 -0
  278. package/config/orm/index.d.ts +83 -0
  279. package/config/orm/index.js +67 -0
  280. package/config/orm/input-types.d.ts +719 -0
  281. package/config/orm/input-types.js +5 -0
  282. package/config/orm/models/index.d.ts +7 -0
  283. package/config/orm/models/index.js +12 -0
  284. package/config/orm/models/platformConfig.d.ts +54 -0
  285. package/config/orm/models/platformConfig.js +104 -0
  286. package/config/orm/models/platformConfigDefinition.d.ts +54 -0
  287. package/config/orm/models/platformConfigDefinition.js +104 -0
  288. package/config/orm/mutation/index.d.ts +90 -0
  289. package/config/orm/mutation/index.js +117 -0
  290. package/config/orm/query-builder.d.ts +110 -0
  291. package/config/orm/query-builder.js +757 -0
  292. package/config/orm/realtime.d.ts +142 -0
  293. package/config/orm/realtime.js +104 -0
  294. package/config/orm/select-types.d.ts +125 -0
  295. package/config/orm/select-types.js +2 -0
  296. package/config/orm/types.d.ts +6 -0
  297. package/config/orm/types.js +23 -0
  298. package/config-store.d.ts +28 -0
  299. package/config-store.js +149 -0
  300. package/esm/admin/orm/models/appAdminGrant.js +1 -1
  301. package/esm/admin/orm/models/appClaimedInvite.js +1 -1
  302. package/esm/admin/orm/models/appGrant.js +1 -1
  303. package/esm/admin/orm/models/appInvite.js +1 -1
  304. package/esm/admin/orm/models/appMembership.js +1 -1
  305. package/esm/admin/orm/models/appMembershipDefault.js +1 -1
  306. package/esm/admin/orm/models/appOwnerGrant.js +1 -1
  307. package/esm/admin/orm/models/appPermission.js +1 -1
  308. package/esm/admin/orm/models/appPermissionDefault.js +1 -1
  309. package/esm/admin/orm/models/appPermissionDefaultGrant.js +1 -1
  310. package/esm/admin/orm/models/appPermissionDefaultPermission.js +1 -1
  311. package/esm/admin/orm/models/membershipType.js +1 -1
  312. package/esm/admin/orm/models/orgAdminGrant.js +1 -1
  313. package/esm/admin/orm/models/orgChartEdge.js +1 -1
  314. package/esm/admin/orm/models/orgChartEdgeGrant.js +1 -1
  315. package/esm/admin/orm/models/orgClaimedInvite.js +1 -1
  316. package/esm/admin/orm/models/orgGrant.js +1 -1
  317. package/esm/admin/orm/models/orgInvite.js +1 -1
  318. package/esm/admin/orm/models/orgMember.js +1 -1
  319. package/esm/admin/orm/models/orgMemberProfile.js +1 -1
  320. package/esm/admin/orm/models/orgMembership.js +1 -1
  321. package/esm/admin/orm/models/orgMembershipDefault.js +1 -1
  322. package/esm/admin/orm/models/orgMembershipSetting.js +1 -1
  323. package/esm/admin/orm/models/orgOwnerGrant.js +1 -1
  324. package/esm/admin/orm/models/orgPermission.js +1 -1
  325. package/esm/admin/orm/models/orgPermissionDefault.js +1 -1
  326. package/esm/admin/orm/models/orgPermissionDefaultGrant.js +1 -1
  327. package/esm/admin/orm/models/orgPermissionDefaultPermission.js +1 -1
  328. package/esm/admin/orm/query-builder.d.ts +1 -1
  329. package/esm/admin/orm/query-builder.js +2 -1
  330. package/esm/agent/orm/input-types.d.ts +14 -2
  331. package/esm/agent/orm/models/agent.js +1 -1
  332. package/esm/agent/orm/models/agentMessage.js +1 -1
  333. package/esm/agent/orm/models/agentPersona.js +1 -1
  334. package/esm/agent/orm/models/agentPlan.js +1 -1
  335. package/esm/agent/orm/models/agentPrompt.js +1 -1
  336. package/esm/agent/orm/models/agentResource.js +1 -1
  337. package/esm/agent/orm/models/agentResourceChunk.js +1 -1
  338. package/esm/agent/orm/models/agentTask.js +1 -1
  339. package/esm/agent/orm/models/agentThread.js +1 -1
  340. package/esm/agent/orm/query-builder.d.ts +1 -1
  341. package/esm/agent/orm/query-builder.js +2 -1
  342. package/esm/api/cli/commands/schema.js +22 -0
  343. package/esm/api/orm/input-types.d.ts +36 -1
  344. package/esm/api/orm/models/api.js +1 -1
  345. package/esm/api/orm/models/apiModule.js +1 -1
  346. package/esm/api/orm/models/apiSchema.js +1 -1
  347. package/esm/api/orm/models/apiSetting.js +1 -1
  348. package/esm/api/orm/models/app.js +1 -1
  349. package/esm/api/orm/models/checkConstraint.js +1 -1
  350. package/esm/api/orm/models/compositeType.js +1 -1
  351. package/esm/api/orm/models/corsSetting.js +1 -1
  352. package/esm/api/orm/models/database.js +1 -1
  353. package/esm/api/orm/models/databaseSetting.js +1 -1
  354. package/esm/api/orm/models/databaseTransfer.js +1 -1
  355. package/esm/api/orm/models/defaultPrivilege.js +1 -1
  356. package/esm/api/orm/models/domain.js +1 -1
  357. package/esm/api/orm/models/embeddingChunk.js +1 -1
  358. package/esm/api/orm/models/enum.js +1 -1
  359. package/esm/api/orm/models/field.js +1 -1
  360. package/esm/api/orm/models/foreignKeyConstraint.js +1 -1
  361. package/esm/api/orm/models/fullTextSearch.js +1 -1
  362. package/esm/api/orm/models/function.js +1 -1
  363. package/esm/api/orm/models/indexModel.js +1 -1
  364. package/esm/api/orm/models/nodeTypeRegistry.js +1 -1
  365. package/esm/api/orm/models/partition.js +1 -1
  366. package/esm/api/orm/models/policy.js +1 -1
  367. package/esm/api/orm/models/primaryKeyConstraint.js +1 -1
  368. package/esm/api/orm/models/pubkeySetting.js +1 -1
  369. package/esm/api/orm/models/rlsSetting.js +1 -1
  370. package/esm/api/orm/models/schema.js +1 -1
  371. package/esm/api/orm/models/schemaGrant.js +1 -1
  372. package/esm/api/orm/models/site.js +1 -1
  373. package/esm/api/orm/models/siteMetadatum.js +1 -1
  374. package/esm/api/orm/models/siteModule.js +1 -1
  375. package/esm/api/orm/models/siteTheme.js +1 -1
  376. package/esm/api/orm/models/spatialRelation.js +1 -1
  377. package/esm/api/orm/models/table.js +1 -1
  378. package/esm/api/orm/models/tableGrant.js +1 -1
  379. package/esm/api/orm/models/trigger.js +1 -1
  380. package/esm/api/orm/models/triggerFunction.js +1 -1
  381. package/esm/api/orm/models/uniqueConstraint.js +1 -1
  382. package/esm/api/orm/models/view.js +1 -1
  383. package/esm/api/orm/models/viewGrant.js +1 -1
  384. package/esm/api/orm/models/viewRule.js +1 -1
  385. package/esm/api/orm/models/viewTable.js +1 -1
  386. package/esm/api/orm/models/webauthnSetting.js +1 -1
  387. package/esm/api/orm/query-builder.d.ts +1 -1
  388. package/esm/api/orm/query-builder.js +2 -1
  389. package/esm/auth/cli/commands/audit-log-auth.js +14 -0
  390. package/esm/auth/orm/input-types.d.ts +4 -2
  391. package/esm/auth/orm/models/auditLogAuth.d.ts +2 -0
  392. package/esm/auth/orm/models/auditLogAuth.js +4 -1
  393. package/esm/auth/orm/models/cryptoAddress.js +1 -1
  394. package/esm/auth/orm/models/email.js +1 -1
  395. package/esm/auth/orm/models/phoneNumber.js +1 -1
  396. package/esm/auth/orm/models/roleType.js +1 -1
  397. package/esm/auth/orm/models/user.js +1 -1
  398. package/esm/auth/orm/models/webauthnCredential.js +1 -1
  399. package/esm/auth/orm/query-builder.d.ts +1 -1
  400. package/esm/auth/orm/query-builder.js +2 -1
  401. package/esm/cli-commands.js +1 -1
  402. package/esm/compute/cli/commands/add-edge-and-save.d.ts +8 -0
  403. package/esm/compute/cli/commands/add-edge-and-save.js +34 -0
  404. package/esm/compute/cli/commands/add-edge.d.ts +8 -0
  405. package/esm/compute/cli/commands/add-edge.js +34 -0
  406. package/esm/compute/cli/commands/add-node-and-save.d.ts +8 -0
  407. package/esm/compute/cli/commands/add-node-and-save.js +34 -0
  408. package/esm/compute/cli/commands/add-node.d.ts +8 -0
  409. package/esm/compute/cli/commands/add-node.js +34 -0
  410. package/esm/compute/cli/commands/auth.d.ts +8 -0
  411. package/esm/compute/cli/commands/auth.js +105 -0
  412. package/esm/compute/cli/commands/context.d.ts +8 -0
  413. package/esm/compute/cli/commands/context.js +156 -0
  414. package/esm/compute/cli/commands/copy-graph.d.ts +8 -0
  415. package/esm/compute/cli/commands/copy-graph.js +34 -0
  416. package/esm/compute/cli/commands/function-api-binding.d.ts +8 -0
  417. package/esm/compute/cli/commands/function-api-binding.js +292 -0
  418. package/esm/compute/cli/commands/function-definition.d.ts +8 -0
  419. package/esm/compute/cli/commands/function-definition.js +786 -0
  420. package/esm/compute/cli/commands/function-deployment-event.d.ts +8 -0
  421. package/esm/compute/cli/commands/function-deployment-event.js +354 -0
  422. package/esm/compute/cli/commands/function-deployment.d.ts +8 -0
  423. package/esm/compute/cli/commands/function-deployment.js +610 -0
  424. package/esm/compute/cli/commands/function-execution-log.d.ts +8 -0
  425. package/esm/compute/cli/commands/function-execution-log.js +378 -0
  426. package/esm/compute/cli/commands/function-graph-commit.d.ts +8 -0
  427. package/esm/compute/cli/commands/function-graph-commit.js +387 -0
  428. package/esm/compute/cli/commands/function-graph-execution-node-state.d.ts +8 -0
  429. package/esm/compute/cli/commands/function-graph-execution-node-state.js +442 -0
  430. package/esm/compute/cli/commands/function-graph-execution-output.d.ts +8 -0
  431. package/esm/compute/cli/commands/function-graph-execution-output.js +288 -0
  432. package/esm/compute/cli/commands/function-graph-execution.d.ts +8 -0
  433. package/esm/compute/cli/commands/function-graph-execution.js +714 -0
  434. package/esm/compute/cli/commands/function-graph-object.d.ts +8 -0
  435. package/esm/compute/cli/commands/function-graph-object.js +307 -0
  436. package/esm/compute/cli/commands/function-graph-ref.d.ts +8 -0
  437. package/esm/compute/cli/commands/function-graph-ref.js +297 -0
  438. package/esm/compute/cli/commands/function-graph-store.d.ts +8 -0
  439. package/esm/compute/cli/commands/function-graph-store.js +276 -0
  440. package/esm/compute/cli/commands/function-graph.d.ts +8 -0
  441. package/esm/compute/cli/commands/function-graph.js +420 -0
  442. package/esm/compute/cli/commands/function-invocation.d.ts +8 -0
  443. package/esm/compute/cli/commands/function-invocation.js +510 -0
  444. package/esm/compute/cli/commands/get-all-record.d.ts +8 -0
  445. package/esm/compute/cli/commands/get-all-record.js +124 -0
  446. package/esm/compute/cli/commands/import-definitions.d.ts +8 -0
  447. package/esm/compute/cli/commands/import-definitions.js +34 -0
  448. package/esm/compute/cli/commands/import-graph-json.d.ts +8 -0
  449. package/esm/compute/cli/commands/import-graph-json.js +34 -0
  450. package/esm/compute/cli/commands/init-empty-repo.d.ts +8 -0
  451. package/esm/compute/cli/commands/init-empty-repo.js +34 -0
  452. package/esm/compute/cli/commands/insert-node-at-path.d.ts +8 -0
  453. package/esm/compute/cli/commands/insert-node-at-path.js +34 -0
  454. package/esm/compute/cli/commands/org-function-execution-log.d.ts +8 -0
  455. package/esm/compute/cli/commands/org-function-execution-log.js +358 -0
  456. package/esm/compute/cli/commands/org-function-invocation.d.ts +8 -0
  457. package/esm/compute/cli/commands/org-function-invocation.js +490 -0
  458. package/esm/compute/cli/commands/provision-bucket.d.ts +8 -0
  459. package/esm/compute/cli/commands/provision-bucket.js +34 -0
  460. package/esm/compute/cli/commands/read-function-graph.d.ts +8 -0
  461. package/esm/compute/cli/commands/read-function-graph.js +28 -0
  462. package/esm/compute/cli/commands/save-graph.d.ts +8 -0
  463. package/esm/compute/cli/commands/save-graph.js +34 -0
  464. package/esm/compute/cli/commands/secret-definition.d.ts +8 -0
  465. package/esm/compute/cli/commands/secret-definition.js +348 -0
  466. package/esm/compute/cli/commands/set-data-at-path.d.ts +8 -0
  467. package/esm/compute/cli/commands/set-data-at-path.js +34 -0
  468. package/esm/compute/cli/commands/start-execution.d.ts +8 -0
  469. package/esm/compute/cli/commands/start-execution.js +34 -0
  470. package/esm/compute/cli/commands/validate-function-graph.d.ts +8 -0
  471. package/esm/compute/cli/commands/validate-function-graph.js +34 -0
  472. package/esm/compute/cli/commands.d.ts +7 -0
  473. package/esm/compute/cli/commands.js +107 -0
  474. package/esm/compute/cli/executor.d.ts +100 -0
  475. package/esm/compute/cli/executor.js +35 -0
  476. package/esm/compute/cli/index.d.ts +1 -0
  477. package/esm/compute/cli/index.js +24 -0
  478. package/esm/compute/cli/utils.d.ts +88 -0
  479. package/esm/compute/cli/utils.js +281 -0
  480. package/esm/compute/index.d.ts +6 -0
  481. package/esm/compute/index.js +6 -0
  482. package/esm/compute/orm/client.d.ts +97 -0
  483. package/esm/compute/orm/client.js +145 -0
  484. package/esm/compute/orm/index.d.ts +148 -0
  485. package/esm/compute/orm/index.js +80 -0
  486. package/esm/compute/orm/input-types.d.ts +4243 -0
  487. package/esm/compute/orm/input-types.js +7 -0
  488. package/esm/compute/orm/models/functionApiBinding.d.ts +54 -0
  489. package/esm/compute/orm/models/functionApiBinding.js +100 -0
  490. package/esm/compute/orm/models/functionDefinition.d.ts +54 -0
  491. package/esm/compute/orm/models/functionDefinition.js +100 -0
  492. package/esm/compute/orm/models/functionDeployment.d.ts +54 -0
  493. package/esm/compute/orm/models/functionDeployment.js +100 -0
  494. package/esm/compute/orm/models/functionDeploymentEvent.d.ts +56 -0
  495. package/esm/compute/orm/models/functionDeploymentEvent.js +103 -0
  496. package/esm/compute/orm/models/functionExecutionLog.d.ts +56 -0
  497. package/esm/compute/orm/models/functionExecutionLog.js +103 -0
  498. package/esm/compute/orm/models/functionGraph.d.ts +54 -0
  499. package/esm/compute/orm/models/functionGraph.js +100 -0
  500. package/esm/compute/orm/models/functionGraphCommit.d.ts +56 -0
  501. package/esm/compute/orm/models/functionGraphCommit.js +103 -0
  502. package/esm/compute/orm/models/functionGraphExecution.d.ts +56 -0
  503. package/esm/compute/orm/models/functionGraphExecution.js +103 -0
  504. package/esm/compute/orm/models/functionGraphExecutionNodeState.d.ts +56 -0
  505. package/esm/compute/orm/models/functionGraphExecutionNodeState.js +103 -0
  506. package/esm/compute/orm/models/functionGraphExecutionOutput.d.ts +56 -0
  507. package/esm/compute/orm/models/functionGraphExecutionOutput.js +103 -0
  508. package/esm/compute/orm/models/functionGraphObject.d.ts +56 -0
  509. package/esm/compute/orm/models/functionGraphObject.js +93 -0
  510. package/esm/compute/orm/models/functionGraphRef.d.ts +56 -0
  511. package/esm/compute/orm/models/functionGraphRef.js +103 -0
  512. package/esm/compute/orm/models/functionGraphStore.d.ts +54 -0
  513. package/esm/compute/orm/models/functionGraphStore.js +100 -0
  514. package/esm/compute/orm/models/functionInvocation.d.ts +56 -0
  515. package/esm/compute/orm/models/functionInvocation.js +103 -0
  516. package/esm/compute/orm/models/getAllRecord.d.ts +30 -0
  517. package/esm/compute/orm/models/getAllRecord.js +55 -0
  518. package/esm/compute/orm/models/index.d.ts +23 -0
  519. package/esm/compute/orm/models/index.js +23 -0
  520. package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +56 -0
  521. package/esm/compute/orm/models/orgFunctionExecutionLog.js +103 -0
  522. package/esm/compute/orm/models/orgFunctionInvocation.d.ts +56 -0
  523. package/esm/compute/orm/models/orgFunctionInvocation.js +103 -0
  524. package/esm/compute/orm/models/secretDefinition.d.ts +54 -0
  525. package/esm/compute/orm/models/secretDefinition.js +100 -0
  526. package/esm/compute/orm/mutation/index.d.ts +130 -0
  527. package/esm/compute/orm/mutation/index.js +174 -0
  528. package/esm/compute/orm/query/index.d.ts +17 -0
  529. package/esm/compute/orm/query/index.js +18 -0
  530. package/esm/compute/orm/query-builder.d.ts +110 -0
  531. package/esm/compute/orm/query-builder.js +705 -0
  532. package/esm/compute/orm/realtime.d.ts +142 -0
  533. package/esm/compute/orm/realtime.js +100 -0
  534. package/esm/compute/orm/select-types.d.ts +125 -0
  535. package/esm/compute/orm/select-types.js +1 -0
  536. package/esm/compute/orm/types.d.ts +6 -0
  537. package/esm/compute/orm/types.js +7 -0
  538. package/esm/config/cli/commands/auth.d.ts +8 -0
  539. package/esm/config/cli/commands/auth.js +105 -0
  540. package/esm/config/cli/commands/context.d.ts +8 -0
  541. package/esm/config/cli/commands/context.js +156 -0
  542. package/esm/config/cli/commands/org-secrets-del.d.ts +8 -0
  543. package/esm/config/cli/commands/org-secrets-del.js +34 -0
  544. package/esm/config/cli/commands/org-secrets-remove-array.d.ts +8 -0
  545. package/esm/config/cli/commands/org-secrets-remove-array.js +34 -0
  546. package/esm/config/cli/commands/org-secrets-rotate.d.ts +8 -0
  547. package/esm/config/cli/commands/org-secrets-rotate.js +34 -0
  548. package/esm/config/cli/commands/org-secrets-set.d.ts +8 -0
  549. package/esm/config/cli/commands/org-secrets-set.js +34 -0
  550. package/esm/config/cli/commands/platform-config-definition.d.ts +8 -0
  551. package/esm/config/cli/commands/platform-config-definition.js +350 -0
  552. package/esm/config/cli/commands/platform-config.d.ts +8 -0
  553. package/esm/config/cli/commands/platform-config.js +370 -0
  554. package/esm/config/cli/commands/platform-secrets-del.d.ts +8 -0
  555. package/esm/config/cli/commands/platform-secrets-del.js +34 -0
  556. package/esm/config/cli/commands/platform-secrets-remove-array.d.ts +8 -0
  557. package/esm/config/cli/commands/platform-secrets-remove-array.js +34 -0
  558. package/esm/config/cli/commands/platform-secrets-rotate.d.ts +8 -0
  559. package/esm/config/cli/commands/platform-secrets-rotate.js +34 -0
  560. package/esm/config/cli/commands/platform-secrets-set.d.ts +8 -0
  561. package/esm/config/cli/commands/platform-secrets-set.js +34 -0
  562. package/esm/config/cli/commands/provision-bucket.d.ts +8 -0
  563. package/esm/config/cli/commands/provision-bucket.js +34 -0
  564. package/esm/config/cli/commands.d.ts +7 -0
  565. package/esm/config/cli/commands.js +63 -0
  566. package/esm/config/cli/executor.d.ts +52 -0
  567. package/esm/config/cli/executor.js +35 -0
  568. package/esm/config/cli/index.d.ts +1 -0
  569. package/esm/config/cli/index.js +24 -0
  570. package/esm/config/cli/utils.d.ts +88 -0
  571. package/esm/config/cli/utils.js +281 -0
  572. package/esm/config/index.d.ts +6 -2
  573. package/esm/config/index.js +6 -1
  574. package/esm/config/orm/client.d.ts +97 -0
  575. package/esm/config/orm/client.js +145 -0
  576. package/esm/config/orm/index.d.ts +83 -0
  577. package/esm/config/orm/index.js +45 -0
  578. package/esm/config/orm/input-types.d.ts +719 -0
  579. package/esm/config/orm/input-types.js +2 -0
  580. package/esm/config/orm/models/index.d.ts +7 -0
  581. package/esm/config/orm/models/index.js +7 -0
  582. package/esm/config/orm/models/platformConfig.d.ts +54 -0
  583. package/esm/config/orm/models/platformConfig.js +100 -0
  584. package/esm/config/orm/models/platformConfigDefinition.d.ts +54 -0
  585. package/esm/config/orm/models/platformConfigDefinition.js +100 -0
  586. package/esm/config/orm/mutation/index.d.ts +90 -0
  587. package/esm/config/orm/mutation/index.js +114 -0
  588. package/esm/config/orm/query-builder.d.ts +110 -0
  589. package/esm/config/orm/query-builder.js +705 -0
  590. package/esm/config/orm/realtime.d.ts +142 -0
  591. package/esm/config/orm/realtime.js +100 -0
  592. package/esm/config/orm/select-types.d.ts +125 -0
  593. package/esm/config/orm/select-types.js +1 -0
  594. package/esm/config/orm/types.d.ts +6 -0
  595. package/esm/config/orm/types.js +7 -0
  596. package/esm/config-store.d.ts +28 -0
  597. package/esm/config-store.js +113 -0
  598. package/esm/index.d.ts +2 -0
  599. package/esm/index.js +2 -0
  600. package/esm/modules/cli/commands/function-deployment-module.d.ts +8 -0
  601. package/esm/modules/cli/commands/function-deployment-module.js +624 -0
  602. package/esm/modules/cli/commands/graph-execution-module.d.ts +8 -0
  603. package/esm/modules/cli/commands/graph-execution-module.js +650 -0
  604. package/esm/modules/cli/commands/graph-module.js +0 -44
  605. package/esm/modules/cli/commands/namespace-module.js +22 -0
  606. package/esm/modules/cli/commands.js +7 -3
  607. package/esm/modules/cli/executor.d.ts +3 -1
  608. package/esm/modules/orm/index.d.ts +6 -2
  609. package/esm/modules/orm/index.js +6 -2
  610. package/esm/modules/orm/input-types.d.ts +722 -239
  611. package/esm/modules/orm/models/agentModule.js +1 -1
  612. package/esm/modules/orm/models/billingModule.js +1 -1
  613. package/esm/modules/orm/models/billingProviderModule.js +1 -1
  614. package/esm/modules/orm/models/blueprint.js +1 -1
  615. package/esm/modules/orm/models/blueprintConstruction.js +1 -1
  616. package/esm/modules/orm/models/blueprintTemplate.js +1 -1
  617. package/esm/modules/orm/models/computeLogModule.js +1 -1
  618. package/esm/modules/orm/models/configSecretsModule.js +1 -1
  619. package/esm/modules/orm/models/configSecretsOrgModule.js +1 -1
  620. package/esm/modules/orm/models/configSecretsUserModule.js +1 -1
  621. package/esm/modules/orm/models/connectedAccountsModule.js +1 -1
  622. package/esm/modules/orm/models/cryptoAddressesModule.js +1 -1
  623. package/esm/modules/orm/models/cryptoAuthModule.js +1 -1
  624. package/esm/modules/orm/models/databaseProvisionModule.js +1 -1
  625. package/esm/modules/orm/models/dbUsageModule.js +1 -1
  626. package/esm/modules/orm/models/defaultIdsModule.js +1 -1
  627. package/esm/modules/orm/models/denormalizedTableField.js +1 -1
  628. package/esm/modules/orm/models/devicesModule.js +1 -1
  629. package/esm/modules/orm/models/emailsModule.js +1 -1
  630. package/esm/modules/orm/models/entityTypeProvision.js +1 -1
  631. package/esm/modules/orm/models/eventsModule.js +1 -1
  632. package/esm/modules/orm/models/functionDeploymentModule.d.ts +54 -0
  633. package/esm/modules/orm/models/functionDeploymentModule.js +100 -0
  634. package/esm/modules/orm/models/functionInvocationModule.js +1 -1
  635. package/esm/modules/orm/models/functionModule.js +1 -1
  636. package/esm/modules/orm/models/graphExecutionModule.d.ts +54 -0
  637. package/esm/modules/orm/models/graphExecutionModule.js +100 -0
  638. package/esm/modules/orm/models/graphModule.js +1 -1
  639. package/esm/modules/orm/models/hierarchyModule.js +1 -1
  640. package/esm/modules/orm/models/i18NModule.js +1 -1
  641. package/esm/modules/orm/models/identityProvidersModule.js +1 -1
  642. package/esm/modules/orm/models/index.d.ts +3 -1
  643. package/esm/modules/orm/models/index.js +3 -1
  644. package/esm/modules/orm/models/inferenceLogModule.js +1 -1
  645. package/esm/modules/orm/models/invitesModule.js +1 -1
  646. package/esm/modules/orm/models/limitsModule.js +1 -1
  647. package/esm/modules/orm/models/membershipTypesModule.js +1 -1
  648. package/esm/modules/orm/models/membershipsModule.js +1 -1
  649. package/esm/modules/orm/models/merkleStoreModule.js +1 -1
  650. package/esm/modules/orm/models/namespaceModule.js +1 -1
  651. package/esm/modules/orm/models/notificationsModule.js +1 -1
  652. package/esm/modules/orm/models/permissionsModule.js +1 -1
  653. package/esm/modules/orm/models/phoneNumbersModule.js +1 -1
  654. package/esm/modules/orm/models/plansModule.js +1 -1
  655. package/esm/modules/orm/models/profilesModule.js +1 -1
  656. package/esm/modules/orm/models/rateLimitMetersModule.js +1 -1
  657. package/esm/modules/orm/models/rateLimitsModule.js +1 -1
  658. package/esm/modules/orm/models/realtimeModule.js +1 -1
  659. package/esm/modules/orm/models/relationProvision.js +1 -1
  660. package/esm/modules/orm/models/rlsModule.js +1 -1
  661. package/esm/modules/orm/models/secureTableProvision.js +1 -1
  662. package/esm/modules/orm/models/sessionSecretsModule.js +1 -1
  663. package/esm/modules/orm/models/sessionsModule.js +1 -1
  664. package/esm/modules/orm/models/storageLogModule.js +1 -1
  665. package/esm/modules/orm/models/storageModule.js +1 -1
  666. package/esm/modules/orm/models/transferLogModule.js +1 -1
  667. package/esm/modules/orm/models/userAuthModule.js +1 -1
  668. package/esm/modules/orm/models/userCredentialsModule.js +1 -1
  669. package/esm/modules/orm/models/userSettingsModule.js +1 -1
  670. package/esm/modules/orm/models/userStateModule.js +1 -1
  671. package/esm/modules/orm/models/usersModule.js +1 -1
  672. package/esm/modules/orm/models/webauthnAuthModule.js +1 -1
  673. package/esm/modules/orm/models/webauthnCredentialsModule.js +1 -1
  674. package/esm/modules/orm/query-builder.d.ts +1 -1
  675. package/esm/modules/orm/query-builder.js +2 -1
  676. package/esm/objects/cli/commands/commit.js +14 -7
  677. package/esm/objects/cli/commands/object.js +9 -2
  678. package/esm/objects/cli/commands/ref.js +13 -6
  679. package/esm/objects/orm/models/commit.d.ts +2 -0
  680. package/esm/objects/orm/models/commit.js +4 -1
  681. package/esm/objects/orm/models/object.d.ts +2 -0
  682. package/esm/objects/orm/models/object.js +4 -1
  683. package/esm/objects/orm/models/ref.d.ts +2 -0
  684. package/esm/objects/orm/models/ref.js +4 -1
  685. package/esm/objects/orm/models/store.js +1 -1
  686. package/esm/objects/orm/query-builder.d.ts +1 -1
  687. package/esm/objects/orm/query-builder.js +2 -1
  688. package/esm/usage/cli/commands/app-limit-event.js +14 -0
  689. package/esm/usage/cli/commands/org-limit-event.js +14 -0
  690. package/esm/usage/orm/models/appLimit.js +1 -1
  691. package/esm/usage/orm/models/appLimitCap.js +1 -1
  692. package/esm/usage/orm/models/appLimitCapsDefault.js +1 -1
  693. package/esm/usage/orm/models/appLimitCredit.js +1 -1
  694. package/esm/usage/orm/models/appLimitCreditCode.js +1 -1
  695. package/esm/usage/orm/models/appLimitCreditCodeItem.js +1 -1
  696. package/esm/usage/orm/models/appLimitCreditRedemption.js +1 -1
  697. package/esm/usage/orm/models/appLimitDefault.js +1 -1
  698. package/esm/usage/orm/models/appLimitEvent.d.ts +2 -0
  699. package/esm/usage/orm/models/appLimitEvent.js +4 -1
  700. package/esm/usage/orm/models/appLimitWarning.js +1 -1
  701. package/esm/usage/orm/models/orgLimit.js +1 -1
  702. package/esm/usage/orm/models/orgLimitAggregate.js +1 -1
  703. package/esm/usage/orm/models/orgLimitCap.js +1 -1
  704. package/esm/usage/orm/models/orgLimitCapsDefault.js +1 -1
  705. package/esm/usage/orm/models/orgLimitCredit.js +1 -1
  706. package/esm/usage/orm/models/orgLimitDefault.js +1 -1
  707. package/esm/usage/orm/models/orgLimitEvent.d.ts +2 -0
  708. package/esm/usage/orm/models/orgLimitEvent.js +4 -1
  709. package/esm/usage/orm/models/orgLimitWarning.js +1 -1
  710. package/esm/usage/orm/query-builder.d.ts +1 -1
  711. package/esm/usage/orm/query-builder.js +2 -1
  712. package/index.d.ts +2 -0
  713. package/index.js +3 -1
  714. package/modules/cli/commands/function-deployment-module.d.ts +8 -0
  715. package/modules/cli/commands/function-deployment-module.js +626 -0
  716. package/modules/cli/commands/graph-execution-module.d.ts +8 -0
  717. package/modules/cli/commands/graph-execution-module.js +652 -0
  718. package/modules/cli/commands/graph-module.js +0 -44
  719. package/modules/cli/commands/namespace-module.js +22 -0
  720. package/modules/cli/commands.js +7 -3
  721. package/modules/cli/executor.d.ts +3 -1
  722. package/modules/orm/index.d.ts +6 -2
  723. package/modules/orm/index.js +6 -2
  724. package/modules/orm/input-types.d.ts +722 -239
  725. package/modules/orm/models/agentModule.js +1 -1
  726. package/modules/orm/models/billingModule.js +1 -1
  727. package/modules/orm/models/billingProviderModule.js +1 -1
  728. package/modules/orm/models/blueprint.js +1 -1
  729. package/modules/orm/models/blueprintConstruction.js +1 -1
  730. package/modules/orm/models/blueprintTemplate.js +1 -1
  731. package/modules/orm/models/computeLogModule.js +1 -1
  732. package/modules/orm/models/configSecretsModule.js +1 -1
  733. package/modules/orm/models/configSecretsOrgModule.js +1 -1
  734. package/modules/orm/models/configSecretsUserModule.js +1 -1
  735. package/modules/orm/models/connectedAccountsModule.js +1 -1
  736. package/modules/orm/models/cryptoAddressesModule.js +1 -1
  737. package/modules/orm/models/cryptoAuthModule.js +1 -1
  738. package/modules/orm/models/databaseProvisionModule.js +1 -1
  739. package/modules/orm/models/dbUsageModule.js +1 -1
  740. package/modules/orm/models/defaultIdsModule.js +1 -1
  741. package/modules/orm/models/denormalizedTableField.js +1 -1
  742. package/modules/orm/models/devicesModule.js +1 -1
  743. package/modules/orm/models/emailsModule.js +1 -1
  744. package/modules/orm/models/entityTypeProvision.js +1 -1
  745. package/modules/orm/models/eventsModule.js +1 -1
  746. package/modules/orm/models/functionDeploymentModule.d.ts +54 -0
  747. package/modules/orm/models/functionDeploymentModule.js +104 -0
  748. package/modules/orm/models/functionInvocationModule.js +1 -1
  749. package/modules/orm/models/functionModule.js +1 -1
  750. package/modules/orm/models/graphExecutionModule.d.ts +54 -0
  751. package/modules/orm/models/graphExecutionModule.js +104 -0
  752. package/modules/orm/models/graphModule.js +1 -1
  753. package/modules/orm/models/hierarchyModule.js +1 -1
  754. package/modules/orm/models/i18NModule.js +1 -1
  755. package/modules/orm/models/identityProvidersModule.js +1 -1
  756. package/modules/orm/models/index.d.ts +3 -1
  757. package/modules/orm/models/index.js +8 -4
  758. package/modules/orm/models/inferenceLogModule.js +1 -1
  759. package/modules/orm/models/invitesModule.js +1 -1
  760. package/modules/orm/models/limitsModule.js +1 -1
  761. package/modules/orm/models/membershipTypesModule.js +1 -1
  762. package/modules/orm/models/membershipsModule.js +1 -1
  763. package/modules/orm/models/merkleStoreModule.js +1 -1
  764. package/modules/orm/models/namespaceModule.js +1 -1
  765. package/modules/orm/models/notificationsModule.js +1 -1
  766. package/modules/orm/models/permissionsModule.js +1 -1
  767. package/modules/orm/models/phoneNumbersModule.js +1 -1
  768. package/modules/orm/models/plansModule.js +1 -1
  769. package/modules/orm/models/profilesModule.js +1 -1
  770. package/modules/orm/models/rateLimitMetersModule.js +1 -1
  771. package/modules/orm/models/rateLimitsModule.js +1 -1
  772. package/modules/orm/models/realtimeModule.js +1 -1
  773. package/modules/orm/models/relationProvision.js +1 -1
  774. package/modules/orm/models/rlsModule.js +1 -1
  775. package/modules/orm/models/secureTableProvision.js +1 -1
  776. package/modules/orm/models/sessionSecretsModule.js +1 -1
  777. package/modules/orm/models/sessionsModule.js +1 -1
  778. package/modules/orm/models/storageLogModule.js +1 -1
  779. package/modules/orm/models/storageModule.js +1 -1
  780. package/modules/orm/models/transferLogModule.js +1 -1
  781. package/modules/orm/models/userAuthModule.js +1 -1
  782. package/modules/orm/models/userCredentialsModule.js +1 -1
  783. package/modules/orm/models/userSettingsModule.js +1 -1
  784. package/modules/orm/models/userStateModule.js +1 -1
  785. package/modules/orm/models/usersModule.js +1 -1
  786. package/modules/orm/models/webauthnAuthModule.js +1 -1
  787. package/modules/orm/models/webauthnCredentialsModule.js +1 -1
  788. package/modules/orm/query-builder.d.ts +1 -1
  789. package/modules/orm/query-builder.js +2 -1
  790. package/objects/cli/commands/commit.js +14 -7
  791. package/objects/cli/commands/object.js +9 -2
  792. package/objects/cli/commands/ref.js +13 -6
  793. package/objects/orm/models/commit.d.ts +2 -0
  794. package/objects/orm/models/commit.js +4 -1
  795. package/objects/orm/models/object.d.ts +2 -0
  796. package/objects/orm/models/object.js +4 -1
  797. package/objects/orm/models/ref.d.ts +2 -0
  798. package/objects/orm/models/ref.js +4 -1
  799. package/objects/orm/models/store.js +1 -1
  800. package/objects/orm/query-builder.d.ts +1 -1
  801. package/objects/orm/query-builder.js +2 -1
  802. package/package.json +3 -3
  803. package/usage/cli/commands/app-limit-event.js +14 -0
  804. package/usage/cli/commands/org-limit-event.js +14 -0
  805. package/usage/orm/models/appLimit.js +1 -1
  806. package/usage/orm/models/appLimitCap.js +1 -1
  807. package/usage/orm/models/appLimitCapsDefault.js +1 -1
  808. package/usage/orm/models/appLimitCredit.js +1 -1
  809. package/usage/orm/models/appLimitCreditCode.js +1 -1
  810. package/usage/orm/models/appLimitCreditCodeItem.js +1 -1
  811. package/usage/orm/models/appLimitCreditRedemption.js +1 -1
  812. package/usage/orm/models/appLimitDefault.js +1 -1
  813. package/usage/orm/models/appLimitEvent.d.ts +2 -0
  814. package/usage/orm/models/appLimitEvent.js +4 -1
  815. package/usage/orm/models/appLimitWarning.js +1 -1
  816. package/usage/orm/models/orgLimit.js +1 -1
  817. package/usage/orm/models/orgLimitAggregate.js +1 -1
  818. package/usage/orm/models/orgLimitCap.js +1 -1
  819. package/usage/orm/models/orgLimitCapsDefault.js +1 -1
  820. package/usage/orm/models/orgLimitCredit.js +1 -1
  821. package/usage/orm/models/orgLimitDefault.js +1 -1
  822. package/usage/orm/models/orgLimitEvent.d.ts +2 -0
  823. package/usage/orm/models/orgLimitEvent.js +4 -1
  824. package/usage/orm/models/orgLimitWarning.js +1 -1
  825. package/usage/orm/query-builder.d.ts +1 -1
  826. package/usage/orm/query-builder.js +2 -1
  827. package/config/app-dirs.d.ts +0 -31
  828. package/config/app-dirs.js +0 -33
  829. package/esm/config/app-dirs.d.ts +0 -31
  830. package/esm/config/app-dirs.js +0 -29
@@ -0,0 +1,4243 @@
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
+ export type Base64EncodedBinary = unknown;
233
+ export type FunctionRequirement = unknown;
234
+ export interface GetAllRecord {
235
+ path?: string[] | null;
236
+ data?: Record<string, unknown> | null;
237
+ }
238
+ /** Join table binding function definitions to API endpoints with per-binding alias and config */
239
+ export interface FunctionApiBinding {
240
+ id: string;
241
+ /** Function definition this binding belongs to */
242
+ functionDefinitionId?: string | null;
243
+ /** API endpoint this function is bound to */
244
+ apiId?: string | null;
245
+ /** Binding alias (e.g. default, staging, production) */
246
+ alias?: string | null;
247
+ /** Per-binding configuration (overrides, routing rules, etc.) */
248
+ config?: Record<string, unknown> | null;
249
+ }
250
+ /** Function deployment bindings — ties a function definition to a namespace for Knative provisioning and routing */
251
+ export interface FunctionDeployment {
252
+ id: string;
253
+ createdAt?: string | null;
254
+ updatedAt?: string | null;
255
+ /** Function definition being deployed to this namespace */
256
+ functionDefinitionId?: string | null;
257
+ /** Target namespace for this deployment (maps to a K8s namespace) */
258
+ namespaceId?: string | null;
259
+ /** Deployment lifecycle status: pending, provisioning, active, failed, scaled_to_zero, deactivated */
260
+ status?: string | null;
261
+ /** Knative service URL (http://{service-name}.{namespace}.svc.cluster.local) — populated after provisioning */
262
+ serviceUrl?: string | null;
263
+ /** Knative service name — derived from task_identifier at provision time */
264
+ serviceName?: string | null;
265
+ /** Deployment revision number (incremented on each redeployment) */
266
+ revision?: number | null;
267
+ /** Container image override (NULL = inherit from function definition) */
268
+ image?: string | null;
269
+ /** Max concurrent requests per pod (NULL = inherit from definition) */
270
+ concurrency?: number | null;
271
+ /** Minimum replica count (NULL = inherit from definition or Knative default) */
272
+ scaleMin?: number | null;
273
+ /** Maximum replica count (NULL = inherit from definition or Knative default) */
274
+ scaleMax?: number | null;
275
+ /** Request timeout override in seconds (NULL = inherit from definition) */
276
+ timeoutSeconds?: number | null;
277
+ /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */
278
+ resources?: Record<string, unknown> | null;
279
+ /** Most recent provisioning or runtime error message */
280
+ lastError?: string | null;
281
+ /** Timestamp of the most recent error */
282
+ lastErrorAt?: string | null;
283
+ /** Cumulative error count for this deployment */
284
+ errorCount?: number | null;
285
+ /** Key/value pairs for selecting and filtering deployments */
286
+ labels?: Record<string, unknown> | null;
287
+ /** Freeform metadata for tooling and operational notes */
288
+ annotations?: Record<string, unknown> | null;
289
+ /** Database that owns this resource (database-scoped isolation) */
290
+ databaseId?: string | null;
291
+ }
292
+ /** Branch heads — mutable pointers into the commit chain */
293
+ export interface FunctionGraphRef {
294
+ /** Unique ref identifier */
295
+ id: string;
296
+ /** Ref name (e.g. HEAD, main) */
297
+ name?: string | null;
298
+ /** Database scope for multi-tenant isolation */
299
+ databaseId?: string | null;
300
+ /** Store this ref belongs to */
301
+ storeId?: string | null;
302
+ /** Commit this ref points to */
303
+ commitId?: string | null;
304
+ }
305
+ /** Named stores — one per version-controlled tree (e.g. one graph, one definition set) */
306
+ export interface FunctionGraphStore {
307
+ /** Unique store identifier */
308
+ id: string;
309
+ /** Human-readable store name */
310
+ name?: string | null;
311
+ /** Database scope for multi-tenant isolation */
312
+ databaseId?: string | null;
313
+ /** Current root object hash of this store */
314
+ hash?: string | null;
315
+ /** Timestamp of store creation */
316
+ createdAt?: string | null;
317
+ }
318
+ /** Content-addressed Merkle tree objects keyed by UUID v5 hash of data + children */
319
+ export interface FunctionGraphObject {
320
+ /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
321
+ id: string;
322
+ /** Database scope for multi-tenant isolation */
323
+ databaseId?: string | null;
324
+ /** Ordered array of child object IDs */
325
+ kids?: string[] | null;
326
+ /** Ordered array of child path names (parallel to kids) */
327
+ ktree?: string[] | null;
328
+ /** Payload data for this object node */
329
+ data?: Record<string, unknown> | null;
330
+ /** Timestamp of object creation */
331
+ createdAt?: string | null;
332
+ }
333
+ /** Deployment lifecycle events — audit log of provisioning, scaling, and failure events */
334
+ export interface FunctionDeploymentEvent {
335
+ /** Event timestamp (partition key) */
336
+ createdAt?: string | null;
337
+ /** Unique event identifier */
338
+ id: string;
339
+ /** Deployment this event belongs to */
340
+ deploymentId?: string | null;
341
+ /** Event type: provisioned, scaled, failed, deactivated, redeployed, health_check */
342
+ eventType?: string | null;
343
+ /** User who triggered this event (NULL for system/automated) */
344
+ actorId?: string | null;
345
+ /** Human-readable description of the event */
346
+ message?: string | null;
347
+ /** Structured context (old/new values, error details, etc.) */
348
+ metadata?: Record<string, unknown> | null;
349
+ /** Database that owns this resource (database-scoped isolation) */
350
+ databaseId?: string | null;
351
+ }
352
+ /** Function execution logs — structured console output per invocation */
353
+ export interface OrgFunctionExecutionLog {
354
+ /** Log entry timestamp (partition key) */
355
+ createdAt?: string | null;
356
+ /** Unique log entry identifier */
357
+ id: string;
358
+ /** Invocation this log entry belongs to (NULL for standalone job logs) */
359
+ invocationId?: string | null;
360
+ /** Function routing key (NULL for generic job logs) */
361
+ taskIdentifier?: string | null;
362
+ /** Log severity: debug, info, warn, error */
363
+ logLevel?: string | null;
364
+ /** Log message text */
365
+ message?: string | null;
366
+ /** Structured context (labels, trace data, extra fields) */
367
+ metadata?: Record<string, unknown> | null;
368
+ /** User who triggered the execution (NULL for system/cron) */
369
+ actorId?: string | null;
370
+ }
371
+ /** Content-addressed store for execution outputs — hash-referenced from node_outputs */
372
+ export interface FunctionGraphExecutionOutput {
373
+ /** Timestamp of output creation */
374
+ createdAt?: string | null;
375
+ /** Unique execution output identifier */
376
+ id: string;
377
+ /** Scope for multi-tenant isolation */
378
+ databaseId?: string | null;
379
+ /** SHA-256 hash of the data JSONB — content-addressed deduplication */
380
+ hash?: Base64EncodedBinary | null;
381
+ /** The actual output payload from a completed node */
382
+ data?: Record<string, unknown> | null;
383
+ }
384
+ /** Commit history — each commit snapshots a tree root for a store */
385
+ export interface FunctionGraphCommit {
386
+ /** Unique commit identifier */
387
+ id: string;
388
+ /** Optional commit message */
389
+ message?: string | null;
390
+ /** Database scope for multi-tenant isolation */
391
+ databaseId?: string | null;
392
+ /** Store this commit belongs to */
393
+ storeId?: string | null;
394
+ /** Parent commit IDs (supports merge commits) */
395
+ parentIds?: string[] | null;
396
+ /** User who authored the changes */
397
+ authorId?: string | null;
398
+ /** User who committed (may differ from author) */
399
+ committerId?: string | null;
400
+ /** Root object ID of the tree snapshot at this commit */
401
+ treeId?: string | null;
402
+ /** Commit timestamp */
403
+ date?: string | null;
404
+ }
405
+ /** Global secret name registry — declares which secrets the platform recognizes. Actual values live in app_secrets. */
406
+ export interface SecretDefinition {
407
+ id: string;
408
+ createdAt?: string | null;
409
+ updatedAt?: string | null;
410
+ /** Secret name (must match app_secrets.name for resolution) */
411
+ name?: string | null;
412
+ /** Human-readable description of what this secret is used for */
413
+ description?: string | null;
414
+ /** Whether this row was seeded as a built-in secret definition. Built-in rows are immutable. */
415
+ isBuiltIn?: boolean | null;
416
+ /** Key-value metadata for filtering and grouping secret definitions */
417
+ labels?: Record<string, unknown> | null;
418
+ /** Freeform metadata annotations for secret definitions */
419
+ annotations?: Record<string, unknown> | null;
420
+ /** Database that owns this resource (database-scoped isolation) */
421
+ databaseId?: string | null;
422
+ }
423
+ /** Function execution logs — structured console output per invocation */
424
+ export interface FunctionExecutionLog {
425
+ /** Log entry timestamp (partition key) */
426
+ createdAt?: string | null;
427
+ /** Unique log entry identifier */
428
+ id: string;
429
+ /** Invocation this log entry belongs to (NULL for standalone job logs) */
430
+ invocationId?: string | null;
431
+ /** Function routing key (NULL for generic job logs) */
432
+ taskIdentifier?: string | null;
433
+ /** Log severity: debug, info, warn, error */
434
+ logLevel?: string | null;
435
+ /** Log message text */
436
+ message?: string | null;
437
+ /** Structured context (labels, trace data, extra fields) */
438
+ metadata?: Record<string, unknown> | null;
439
+ /** User who triggered the execution (NULL for system/cron) */
440
+ actorId?: string | null;
441
+ /** Database that owns this resource (database-scoped isolation) */
442
+ databaseId?: string | null;
443
+ }
444
+ /** Per-node execution state — tracks individual node lifecycle for debugging */
445
+ export interface FunctionGraphExecutionNodeState {
446
+ /** Timestamp of node state creation (partition key) */
447
+ createdAt?: string | null;
448
+ /** Unique node state identifier */
449
+ id: string;
450
+ /** FK to the parent graph execution */
451
+ executionId?: string | null;
452
+ /** Scope for multi-tenant isolation */
453
+ databaseId?: string | null;
454
+ /** Name of the node within the graph (e.g. send-email1) */
455
+ nodeName?: string | null;
456
+ /** Full merkle tree path to this node (e.g. {function,graphs,myflow,nodes,send-email1}) — enables subnet hierarchy tracking */
457
+ nodePath?: string[] | null;
458
+ /** Node lifecycle: pending → queued → running → completed/failed */
459
+ status?: string | null;
460
+ /** Timestamp when the node began executing */
461
+ startedAt?: string | null;
462
+ /** Timestamp when the node finished (success or failure) */
463
+ completedAt?: string | null;
464
+ /** Machine-readable error code when status = failed */
465
+ errorCode?: string | null;
466
+ /** Human-readable error description when status = failed */
467
+ errorMessage?: string | null;
468
+ /** FK to execution_outputs — content-addressed output blob for this node */
469
+ outputId?: string | null;
470
+ }
471
+ /** Flow graph definitions — FBP graphs stored in the dedicated graph Merkle store */
472
+ export interface FunctionGraph {
473
+ /** Unique graph identifier */
474
+ id: string;
475
+ /** Database scope for multi-tenant isolation */
476
+ databaseId?: string | null;
477
+ /** Graph store (Merkle store) holding the graph definition */
478
+ storeId?: string | null;
479
+ /** Entity context (org/team) for scoped billing */
480
+ entityId?: string | null;
481
+ /** Evaluator/runtime context (function, js, sql, system) */
482
+ context?: string | null;
483
+ /** Graph name (unique per database) */
484
+ name?: string | null;
485
+ /** Human-readable description of the graph */
486
+ description?: string | null;
487
+ /** Pinned definitions store commit for deterministic evaluation */
488
+ definitionsCommitId?: string | null;
489
+ /** Whether graph passes structural validation */
490
+ isValid?: boolean | null;
491
+ /** Array of validation error objects when is_valid = false */
492
+ validationErrors?: Record<string, unknown> | null;
493
+ /** Actor who created this graph */
494
+ createdBy?: string | null;
495
+ /** Timestamp of graph creation */
496
+ createdAt?: string | null;
497
+ /** Timestamp of last modification */
498
+ updatedAt?: string | null;
499
+ }
500
+ /** Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string. */
501
+ export interface OrgFunctionInvocation {
502
+ /** Invocation creation timestamp (partition key) */
503
+ createdAt?: string | null;
504
+ /** Unique invocation identifier */
505
+ id: string;
506
+ /** Who triggered the invocation (NULL for system/cron) */
507
+ actorId?: string | null;
508
+ /** Function routing slug (scope:name). Links to function_definitions.task_identifier by convention — no FK. */
509
+ taskIdentifier?: string | null;
510
+ /** Function input payload */
511
+ payload?: Record<string, unknown> | null;
512
+ /** Lifecycle: pending → running → completed/failed/cancelled */
513
+ status?: string | null;
514
+ /** Function return value (success) or structured error (failure) */
515
+ result?: Record<string, unknown> | null;
516
+ /** Error message when status is failed */
517
+ error?: string | null;
518
+ /** Wall-clock execution time in milliseconds */
519
+ durationMs?: number | null;
520
+ /** FK to app_jobs.jobs — the underlying transport */
521
+ jobId?: string | null;
522
+ /** When execution started */
523
+ startedAt?: string | null;
524
+ /** When execution completed */
525
+ completedAt?: string | null;
526
+ /** Parent invocation when this is a child node of a flow graph execution */
527
+ parentInvocationId?: string | null;
528
+ /** Groups all node invocations from a single flow graph execution */
529
+ graphExecutionId?: string | null;
530
+ }
531
+ /** Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string. */
532
+ export interface FunctionInvocation {
533
+ /** Invocation creation timestamp (partition key) */
534
+ createdAt?: string | null;
535
+ /** Unique invocation identifier */
536
+ id: string;
537
+ /** Who triggered the invocation (NULL for system/cron) */
538
+ actorId?: string | null;
539
+ /** Database that owns this resource (database-scoped isolation) */
540
+ databaseId?: string | null;
541
+ /** Function routing slug (scope:name). Links to function_definitions.task_identifier by convention — no FK. */
542
+ taskIdentifier?: string | null;
543
+ /** Function input payload */
544
+ payload?: Record<string, unknown> | null;
545
+ /** Lifecycle: pending → running → completed/failed/cancelled */
546
+ status?: string | null;
547
+ /** Function return value (success) or structured error (failure) */
548
+ result?: Record<string, unknown> | null;
549
+ /** Error message when status is failed */
550
+ error?: string | null;
551
+ /** Wall-clock execution time in milliseconds */
552
+ durationMs?: number | null;
553
+ /** FK to app_jobs.jobs — the underlying transport */
554
+ jobId?: string | null;
555
+ /** When execution started */
556
+ startedAt?: string | null;
557
+ /** When execution completed */
558
+ completedAt?: string | null;
559
+ /** Parent invocation when this is a child node of a flow graph execution */
560
+ parentInvocationId?: string | null;
561
+ /** Groups all node invocations from a single flow graph execution */
562
+ graphExecutionId?: string | null;
563
+ }
564
+ /** Ephemeral execution state for flow graph evaluation */
565
+ export interface FunctionGraphExecution {
566
+ /** Execution start timestamp */
567
+ startedAt?: string | null;
568
+ /** Unique execution identifier */
569
+ id: string;
570
+ /** FK to the graph definition being executed */
571
+ graphId?: string | null;
572
+ /** Parent function_invocations row (for metering) */
573
+ invocationId?: string | null;
574
+ /** Scope for multi-tenant isolation */
575
+ databaseId?: string | null;
576
+ /** Entity context (org/team) for scoped billing */
577
+ entityId?: string | null;
578
+ /** Target output boundary node name to resolve */
579
+ outputNode?: string | null;
580
+ /** Target output port name (default: value) */
581
+ outputPort?: string | null;
582
+ /** Lifecycle: pending → running → completed/failed/cancelled */
583
+ status?: string | null;
584
+ /** Initial inputs provided at invocation time */
585
+ inputPayload?: Record<string, unknown> | null;
586
+ /** Final result extracted from terminal output node */
587
+ outputPayload?: Record<string, unknown> | null;
588
+ /** Map of node_name → execution output id (content-addressed hash reference) */
589
+ nodeOutputs?: Record<string, unknown> | null;
590
+ /** Pre-computed topological sort as array of wave objects */
591
+ executionPlan?: Record<string, unknown> | null;
592
+ /** Index into execution_plan — tick only processes this wave */
593
+ currentWave?: number | null;
594
+ /** Parent execution when this is a sub-execution */
595
+ parentExecutionId?: string | null;
596
+ /** Node name in parent execution that spawned this sub-execution */
597
+ parentNodeName?: string | null;
598
+ /** Pinned definitions store commit for deterministic evaluation */
599
+ definitionsCommitId?: string | null;
600
+ /** Number of evaluate_step ticks executed */
601
+ tickCount?: number | null;
602
+ /** Execution completion timestamp */
603
+ completedAt?: string | null;
604
+ /** Maximum ticks before execution is failed (default 100) */
605
+ maxTicks?: number | null;
606
+ /** Maximum pending jobs before execution is failed (default 50) */
607
+ maxPendingJobs?: number | null;
608
+ /** Absolute deadline — execution fails if still running after this time */
609
+ timeoutAt?: string | null;
610
+ /** Machine-readable error code when status = failed */
611
+ errorCode?: string | null;
612
+ /** Human-readable error description when status = failed */
613
+ errorMessage?: string | null;
614
+ }
615
+ /** Function definitions — registered cloud functions with routing, queue, and retry configuration */
616
+ export interface FunctionDefinition {
617
+ id: string;
618
+ createdAt?: string | null;
619
+ updatedAt?: string | null;
620
+ /** Function grouping scope (e.g. email, embed, chunk, custom) */
621
+ scope?: string | null;
622
+ /** Function name within scope (e.g. send_verification_link, process_file_embedding) */
623
+ name?: string | null;
624
+ /** Computed routing slug: scope:name (used by Knative job worker for dispatch) */
625
+ taskIdentifier?: string | null;
626
+ /** Human-readable description of what this function does */
627
+ description?: string | null;
628
+ /** Whether this function can be called via function_invocations (public API). Default false = internal-only via add_job() */
629
+ isInvocable?: boolean | null;
630
+ /** Maximum retry attempts for the underlying job */
631
+ maxAttempts?: number | null;
632
+ /** Job priority (lower = higher priority) */
633
+ priority?: number | null;
634
+ /** Job queue name for serialization (e.g. email, ai, default) */
635
+ queueName?: string | null;
636
+ /** Execution mode: http (Knative Service dispatch) or inline (in-process in compute worker) */
637
+ runtime?: string | null;
638
+ /** Docker image reference (e.g. ghcr.io/constructive-io/email-send-fn:latest). Required when runtime=http. NULL for inline functions. */
639
+ image?: string | null;
640
+ /** Knative containerConcurrency — max concurrent requests per pod instance */
641
+ concurrency?: number | null;
642
+ /** Minimum pod count for Knative autoscaling (minScale) */
643
+ scaleMin?: number | null;
644
+ /** Maximum pod count for Knative autoscaling (maxScale) */
645
+ scaleMax?: number | null;
646
+ /** Knative request timeout in seconds */
647
+ timeoutSeconds?: number | null;
648
+ /** Container resource requests and limits: {requests: {memory, cpu}, limits: {memory, cpu}} */
649
+ resources?: Record<string, unknown> | null;
650
+ /** Whether this function is a built-in platform function (synced from platform) vs user-created */
651
+ isBuiltIn?: boolean | null;
652
+ /** Embedded secret requirements: array of (name, required) tuples */
653
+ requiredSecrets?: FunctionRequirement[] | null;
654
+ /** Embedded config requirements: array of (name, required) tuples */
655
+ requiredConfigs?: FunctionRequirement[] | null;
656
+ /** Bucket keys this function needs (e.g. uploads, exports). Empty = no bucket requirements. */
657
+ requiredBuckets?: string[] | null;
658
+ /** Inference model whitelist (e.g. gpt-4o, claude-3). Empty = no model requirements. */
659
+ requiredModels?: string[] | null;
660
+ /** Data input ports: [{name, type, description?, optional?, multi?, schema?}] */
661
+ inputs?: Record<string, unknown> | null;
662
+ /** Data output ports: [{name, type, description?, optional?, multi?, schema?}] */
663
+ outputs?: Record<string, unknown> | null;
664
+ /** Configuration properties: [{name, type, default?, description?, required?, schema?}] */
665
+ props?: Record<string, unknown> | null;
666
+ /** Whether this function has side effects and cannot be cached or memoized */
667
+ volatile?: boolean | null;
668
+ /** Icon identifier for UI palette rendering (e.g. mail, database, code) */
669
+ icon?: string | null;
670
+ /** Palette grouping category (e.g. email, data, ai, custom) */
671
+ category?: string | null;
672
+ }
673
+ export interface ConnectionResult<T> {
674
+ nodes: T[];
675
+ totalCount: number;
676
+ pageInfo: PageInfo;
677
+ }
678
+ export interface PageInfo {
679
+ hasNextPage: boolean;
680
+ hasPreviousPage: boolean;
681
+ startCursor?: string | null;
682
+ endCursor?: string | null;
683
+ }
684
+ export interface GetAllRecordRelations {
685
+ }
686
+ export interface FunctionApiBindingRelations {
687
+ functionDefinition?: FunctionDefinition | null;
688
+ }
689
+ export interface FunctionDeploymentRelations {
690
+ functionDefinition?: FunctionDefinition | null;
691
+ }
692
+ export interface FunctionGraphRefRelations {
693
+ }
694
+ export interface FunctionGraphStoreRelations {
695
+ }
696
+ export interface FunctionGraphObjectRelations {
697
+ }
698
+ export interface FunctionDeploymentEventRelations {
699
+ }
700
+ export interface OrgFunctionExecutionLogRelations {
701
+ }
702
+ export interface FunctionGraphExecutionOutputRelations {
703
+ }
704
+ export interface FunctionGraphCommitRelations {
705
+ }
706
+ export interface SecretDefinitionRelations {
707
+ }
708
+ export interface FunctionExecutionLogRelations {
709
+ }
710
+ export interface FunctionGraphExecutionNodeStateRelations {
711
+ }
712
+ export interface FunctionGraphRelations {
713
+ }
714
+ export interface OrgFunctionInvocationRelations {
715
+ }
716
+ export interface FunctionInvocationRelations {
717
+ }
718
+ export interface FunctionGraphExecutionRelations {
719
+ graph?: FunctionGraph | null;
720
+ }
721
+ export interface FunctionDefinitionRelations {
722
+ functionApiBindings?: ConnectionResult<FunctionApiBinding>;
723
+ functionDeployments?: ConnectionResult<FunctionDeployment>;
724
+ }
725
+ export type GetAllRecordWithRelations = GetAllRecord & GetAllRecordRelations;
726
+ export type FunctionApiBindingWithRelations = FunctionApiBinding & FunctionApiBindingRelations;
727
+ export type FunctionDeploymentWithRelations = FunctionDeployment & FunctionDeploymentRelations;
728
+ export type FunctionGraphRefWithRelations = FunctionGraphRef & FunctionGraphRefRelations;
729
+ export type FunctionGraphStoreWithRelations = FunctionGraphStore & FunctionGraphStoreRelations;
730
+ export type FunctionGraphObjectWithRelations = FunctionGraphObject & FunctionGraphObjectRelations;
731
+ export type FunctionDeploymentEventWithRelations = FunctionDeploymentEvent & FunctionDeploymentEventRelations;
732
+ export type OrgFunctionExecutionLogWithRelations = OrgFunctionExecutionLog & OrgFunctionExecutionLogRelations;
733
+ export type FunctionGraphExecutionOutputWithRelations = FunctionGraphExecutionOutput & FunctionGraphExecutionOutputRelations;
734
+ export type FunctionGraphCommitWithRelations = FunctionGraphCommit & FunctionGraphCommitRelations;
735
+ export type SecretDefinitionWithRelations = SecretDefinition & SecretDefinitionRelations;
736
+ export type FunctionExecutionLogWithRelations = FunctionExecutionLog & FunctionExecutionLogRelations;
737
+ export type FunctionGraphExecutionNodeStateWithRelations = FunctionGraphExecutionNodeState & FunctionGraphExecutionNodeStateRelations;
738
+ export type FunctionGraphWithRelations = FunctionGraph & FunctionGraphRelations;
739
+ export type OrgFunctionInvocationWithRelations = OrgFunctionInvocation & OrgFunctionInvocationRelations;
740
+ export type FunctionInvocationWithRelations = FunctionInvocation & FunctionInvocationRelations;
741
+ export type FunctionGraphExecutionWithRelations = FunctionGraphExecution & FunctionGraphExecutionRelations;
742
+ export type FunctionDefinitionWithRelations = FunctionDefinition & FunctionDefinitionRelations;
743
+ export type GetAllRecordSelect = {
744
+ path?: boolean;
745
+ data?: boolean;
746
+ };
747
+ export type FunctionApiBindingSelect = {
748
+ id?: boolean;
749
+ functionDefinitionId?: boolean;
750
+ apiId?: boolean;
751
+ alias?: boolean;
752
+ config?: boolean;
753
+ functionDefinition?: {
754
+ select: FunctionDefinitionSelect;
755
+ };
756
+ };
757
+ export type FunctionDeploymentSelect = {
758
+ id?: boolean;
759
+ createdAt?: boolean;
760
+ updatedAt?: boolean;
761
+ functionDefinitionId?: boolean;
762
+ namespaceId?: boolean;
763
+ status?: boolean;
764
+ serviceUrl?: boolean;
765
+ serviceName?: boolean;
766
+ revision?: boolean;
767
+ image?: boolean;
768
+ concurrency?: boolean;
769
+ scaleMin?: boolean;
770
+ scaleMax?: boolean;
771
+ timeoutSeconds?: boolean;
772
+ resources?: boolean;
773
+ lastError?: boolean;
774
+ lastErrorAt?: boolean;
775
+ errorCount?: boolean;
776
+ labels?: boolean;
777
+ annotations?: boolean;
778
+ databaseId?: boolean;
779
+ functionDefinition?: {
780
+ select: FunctionDefinitionSelect;
781
+ };
782
+ };
783
+ export type FunctionGraphRefSelect = {
784
+ id?: boolean;
785
+ name?: boolean;
786
+ databaseId?: boolean;
787
+ storeId?: boolean;
788
+ commitId?: boolean;
789
+ };
790
+ export type FunctionGraphStoreSelect = {
791
+ id?: boolean;
792
+ name?: boolean;
793
+ databaseId?: boolean;
794
+ hash?: boolean;
795
+ createdAt?: boolean;
796
+ };
797
+ export type FunctionGraphObjectSelect = {
798
+ id?: boolean;
799
+ databaseId?: boolean;
800
+ kids?: boolean;
801
+ ktree?: boolean;
802
+ data?: boolean;
803
+ createdAt?: boolean;
804
+ };
805
+ export type FunctionDeploymentEventSelect = {
806
+ createdAt?: boolean;
807
+ id?: boolean;
808
+ deploymentId?: boolean;
809
+ eventType?: boolean;
810
+ actorId?: boolean;
811
+ message?: boolean;
812
+ metadata?: boolean;
813
+ databaseId?: boolean;
814
+ };
815
+ export type OrgFunctionExecutionLogSelect = {
816
+ createdAt?: boolean;
817
+ id?: boolean;
818
+ invocationId?: boolean;
819
+ taskIdentifier?: boolean;
820
+ logLevel?: boolean;
821
+ message?: boolean;
822
+ metadata?: boolean;
823
+ actorId?: boolean;
824
+ };
825
+ export type FunctionGraphExecutionOutputSelect = {
826
+ createdAt?: boolean;
827
+ id?: boolean;
828
+ databaseId?: boolean;
829
+ hash?: boolean;
830
+ data?: boolean;
831
+ };
832
+ export type FunctionGraphCommitSelect = {
833
+ id?: boolean;
834
+ message?: boolean;
835
+ databaseId?: boolean;
836
+ storeId?: boolean;
837
+ parentIds?: boolean;
838
+ authorId?: boolean;
839
+ committerId?: boolean;
840
+ treeId?: boolean;
841
+ date?: boolean;
842
+ };
843
+ export type SecretDefinitionSelect = {
844
+ id?: boolean;
845
+ createdAt?: boolean;
846
+ updatedAt?: boolean;
847
+ name?: boolean;
848
+ description?: boolean;
849
+ isBuiltIn?: boolean;
850
+ labels?: boolean;
851
+ annotations?: boolean;
852
+ databaseId?: boolean;
853
+ };
854
+ export type FunctionExecutionLogSelect = {
855
+ createdAt?: boolean;
856
+ id?: boolean;
857
+ invocationId?: boolean;
858
+ taskIdentifier?: boolean;
859
+ logLevel?: boolean;
860
+ message?: boolean;
861
+ metadata?: boolean;
862
+ actorId?: boolean;
863
+ databaseId?: boolean;
864
+ };
865
+ export type FunctionGraphExecutionNodeStateSelect = {
866
+ createdAt?: boolean;
867
+ id?: boolean;
868
+ executionId?: boolean;
869
+ databaseId?: boolean;
870
+ nodeName?: boolean;
871
+ nodePath?: boolean;
872
+ status?: boolean;
873
+ startedAt?: boolean;
874
+ completedAt?: boolean;
875
+ errorCode?: boolean;
876
+ errorMessage?: boolean;
877
+ outputId?: boolean;
878
+ };
879
+ export type FunctionGraphSelect = {
880
+ id?: boolean;
881
+ databaseId?: boolean;
882
+ storeId?: boolean;
883
+ entityId?: boolean;
884
+ context?: boolean;
885
+ name?: boolean;
886
+ description?: boolean;
887
+ definitionsCommitId?: boolean;
888
+ isValid?: boolean;
889
+ validationErrors?: boolean;
890
+ createdBy?: boolean;
891
+ createdAt?: boolean;
892
+ updatedAt?: boolean;
893
+ };
894
+ export type OrgFunctionInvocationSelect = {
895
+ createdAt?: boolean;
896
+ id?: boolean;
897
+ actorId?: boolean;
898
+ taskIdentifier?: boolean;
899
+ payload?: boolean;
900
+ status?: boolean;
901
+ result?: boolean;
902
+ error?: boolean;
903
+ durationMs?: boolean;
904
+ jobId?: boolean;
905
+ startedAt?: boolean;
906
+ completedAt?: boolean;
907
+ parentInvocationId?: boolean;
908
+ graphExecutionId?: boolean;
909
+ };
910
+ export type FunctionInvocationSelect = {
911
+ createdAt?: boolean;
912
+ id?: boolean;
913
+ actorId?: boolean;
914
+ databaseId?: boolean;
915
+ taskIdentifier?: boolean;
916
+ payload?: boolean;
917
+ status?: boolean;
918
+ result?: boolean;
919
+ error?: boolean;
920
+ durationMs?: boolean;
921
+ jobId?: boolean;
922
+ startedAt?: boolean;
923
+ completedAt?: boolean;
924
+ parentInvocationId?: boolean;
925
+ graphExecutionId?: boolean;
926
+ };
927
+ export type FunctionGraphExecutionSelect = {
928
+ startedAt?: boolean;
929
+ id?: boolean;
930
+ graphId?: boolean;
931
+ invocationId?: boolean;
932
+ databaseId?: boolean;
933
+ entityId?: boolean;
934
+ outputNode?: boolean;
935
+ outputPort?: boolean;
936
+ status?: boolean;
937
+ inputPayload?: boolean;
938
+ outputPayload?: boolean;
939
+ nodeOutputs?: boolean;
940
+ executionPlan?: boolean;
941
+ currentWave?: boolean;
942
+ parentExecutionId?: boolean;
943
+ parentNodeName?: boolean;
944
+ definitionsCommitId?: boolean;
945
+ tickCount?: boolean;
946
+ completedAt?: boolean;
947
+ maxTicks?: boolean;
948
+ maxPendingJobs?: boolean;
949
+ timeoutAt?: boolean;
950
+ errorCode?: boolean;
951
+ errorMessage?: boolean;
952
+ graph?: {
953
+ select: FunctionGraphSelect;
954
+ };
955
+ };
956
+ export type FunctionDefinitionSelect = {
957
+ id?: boolean;
958
+ createdAt?: boolean;
959
+ updatedAt?: boolean;
960
+ scope?: boolean;
961
+ name?: boolean;
962
+ taskIdentifier?: boolean;
963
+ description?: boolean;
964
+ isInvocable?: boolean;
965
+ maxAttempts?: boolean;
966
+ priority?: boolean;
967
+ queueName?: boolean;
968
+ runtime?: boolean;
969
+ image?: boolean;
970
+ concurrency?: boolean;
971
+ scaleMin?: boolean;
972
+ scaleMax?: boolean;
973
+ timeoutSeconds?: boolean;
974
+ resources?: boolean;
975
+ isBuiltIn?: boolean;
976
+ requiredSecrets?: boolean;
977
+ requiredConfigs?: boolean;
978
+ requiredBuckets?: boolean;
979
+ requiredModels?: boolean;
980
+ inputs?: boolean;
981
+ outputs?: boolean;
982
+ props?: boolean;
983
+ volatile?: boolean;
984
+ icon?: boolean;
985
+ category?: boolean;
986
+ functionApiBindings?: {
987
+ select: FunctionApiBindingSelect;
988
+ first?: number;
989
+ filter?: FunctionApiBindingFilter;
990
+ orderBy?: FunctionApiBindingOrderBy[];
991
+ };
992
+ functionDeployments?: {
993
+ select: FunctionDeploymentSelect;
994
+ first?: number;
995
+ filter?: FunctionDeploymentFilter;
996
+ orderBy?: FunctionDeploymentOrderBy[];
997
+ };
998
+ };
999
+ export interface GetAllRecordFilter {
1000
+ path?: StringListFilter;
1001
+ data?: JSONFilter;
1002
+ and?: GetAllRecordFilter[];
1003
+ or?: GetAllRecordFilter[];
1004
+ not?: GetAllRecordFilter;
1005
+ }
1006
+ export interface FunctionApiBindingFilter {
1007
+ /** Filter by the object’s `id` field. */
1008
+ id?: UUIDFilter;
1009
+ /** Filter by the object’s `functionDefinitionId` field. */
1010
+ functionDefinitionId?: UUIDFilter;
1011
+ /** Filter by the object’s `apiId` field. */
1012
+ apiId?: UUIDFilter;
1013
+ /** Filter by the object’s `alias` field. */
1014
+ alias?: StringFilter;
1015
+ /** Filter by the object’s `config` field. */
1016
+ config?: JSONFilter;
1017
+ /** Checks for all expressions in this list. */
1018
+ and?: FunctionApiBindingFilter[];
1019
+ /** Checks for any expressions in this list. */
1020
+ or?: FunctionApiBindingFilter[];
1021
+ /** Negates the expression. */
1022
+ not?: FunctionApiBindingFilter;
1023
+ /** Filter by the object’s `functionDefinition` relation. */
1024
+ functionDefinition?: FunctionDefinitionFilter;
1025
+ }
1026
+ export interface FunctionDeploymentFilter {
1027
+ /** Filter by the object’s `id` field. */
1028
+ id?: UUIDFilter;
1029
+ /** Filter by the object’s `createdAt` field. */
1030
+ createdAt?: DatetimeFilter;
1031
+ /** Filter by the object’s `updatedAt` field. */
1032
+ updatedAt?: DatetimeFilter;
1033
+ /** Filter by the object’s `functionDefinitionId` field. */
1034
+ functionDefinitionId?: UUIDFilter;
1035
+ /** Filter by the object’s `namespaceId` field. */
1036
+ namespaceId?: UUIDFilter;
1037
+ /** Filter by the object’s `status` field. */
1038
+ status?: StringFilter;
1039
+ /** Filter by the object’s `serviceUrl` field. */
1040
+ serviceUrl?: StringFilter;
1041
+ /** Filter by the object’s `serviceName` field. */
1042
+ serviceName?: StringFilter;
1043
+ /** Filter by the object’s `revision` field. */
1044
+ revision?: IntFilter;
1045
+ /** Filter by the object’s `image` field. */
1046
+ image?: StringFilter;
1047
+ /** Filter by the object’s `concurrency` field. */
1048
+ concurrency?: IntFilter;
1049
+ /** Filter by the object’s `scaleMin` field. */
1050
+ scaleMin?: IntFilter;
1051
+ /** Filter by the object’s `scaleMax` field. */
1052
+ scaleMax?: IntFilter;
1053
+ /** Filter by the object’s `timeoutSeconds` field. */
1054
+ timeoutSeconds?: IntFilter;
1055
+ /** Filter by the object’s `resources` field. */
1056
+ resources?: JSONFilter;
1057
+ /** Filter by the object’s `lastError` field. */
1058
+ lastError?: StringFilter;
1059
+ /** Filter by the object’s `lastErrorAt` field. */
1060
+ lastErrorAt?: DatetimeFilter;
1061
+ /** Filter by the object’s `errorCount` field. */
1062
+ errorCount?: IntFilter;
1063
+ /** Filter by the object’s `labels` field. */
1064
+ labels?: JSONFilter;
1065
+ /** Filter by the object’s `annotations` field. */
1066
+ annotations?: JSONFilter;
1067
+ /** Filter by the object’s `databaseId` field. */
1068
+ databaseId?: UUIDFilter;
1069
+ /** Checks for all expressions in this list. */
1070
+ and?: FunctionDeploymentFilter[];
1071
+ /** Checks for any expressions in this list. */
1072
+ or?: FunctionDeploymentFilter[];
1073
+ /** Negates the expression. */
1074
+ not?: FunctionDeploymentFilter;
1075
+ /** Filter by the object’s `functionDefinition` relation. */
1076
+ functionDefinition?: FunctionDefinitionFilter;
1077
+ }
1078
+ export interface FunctionGraphRefFilter {
1079
+ /** Filter by the object’s `id` field. */
1080
+ id?: UUIDFilter;
1081
+ /** Filter by the object’s `name` field. */
1082
+ name?: StringFilter;
1083
+ /** Filter by the object’s `databaseId` field. */
1084
+ databaseId?: UUIDFilter;
1085
+ /** Filter by the object’s `storeId` field. */
1086
+ storeId?: UUIDFilter;
1087
+ /** Filter by the object’s `commitId` field. */
1088
+ commitId?: UUIDFilter;
1089
+ /** Checks for all expressions in this list. */
1090
+ and?: FunctionGraphRefFilter[];
1091
+ /** Checks for any expressions in this list. */
1092
+ or?: FunctionGraphRefFilter[];
1093
+ /** Negates the expression. */
1094
+ not?: FunctionGraphRefFilter;
1095
+ }
1096
+ export interface FunctionGraphStoreFilter {
1097
+ /** Filter by the object’s `id` field. */
1098
+ id?: UUIDFilter;
1099
+ /** Filter by the object’s `name` field. */
1100
+ name?: StringFilter;
1101
+ /** Filter by the object’s `databaseId` field. */
1102
+ databaseId?: UUIDFilter;
1103
+ /** Filter by the object’s `hash` field. */
1104
+ hash?: UUIDFilter;
1105
+ /** Filter by the object’s `createdAt` field. */
1106
+ createdAt?: DatetimeFilter;
1107
+ /** Checks for all expressions in this list. */
1108
+ and?: FunctionGraphStoreFilter[];
1109
+ /** Checks for any expressions in this list. */
1110
+ or?: FunctionGraphStoreFilter[];
1111
+ /** Negates the expression. */
1112
+ not?: FunctionGraphStoreFilter;
1113
+ }
1114
+ export interface FunctionGraphObjectFilter {
1115
+ /** Filter by the object’s `id` field. */
1116
+ id?: UUIDFilter;
1117
+ /** Filter by the object’s `databaseId` field. */
1118
+ databaseId?: UUIDFilter;
1119
+ /** Filter by the object’s `kids` field. */
1120
+ kids?: UUIDListFilter;
1121
+ /** Filter by the object’s `ktree` field. */
1122
+ ktree?: StringListFilter;
1123
+ /** Filter by the object’s `data` field. */
1124
+ data?: JSONFilter;
1125
+ /** Filter by the object’s `createdAt` field. */
1126
+ createdAt?: DatetimeFilter;
1127
+ /** Checks for all expressions in this list. */
1128
+ and?: FunctionGraphObjectFilter[];
1129
+ /** Checks for any expressions in this list. */
1130
+ or?: FunctionGraphObjectFilter[];
1131
+ /** Negates the expression. */
1132
+ not?: FunctionGraphObjectFilter;
1133
+ }
1134
+ export interface FunctionDeploymentEventFilter {
1135
+ /** Filter by the object’s `createdAt` field. */
1136
+ createdAt?: DatetimeFilter;
1137
+ /** Filter by the object’s `id` field. */
1138
+ id?: UUIDFilter;
1139
+ /** Filter by the object’s `deploymentId` field. */
1140
+ deploymentId?: UUIDFilter;
1141
+ /** Filter by the object’s `eventType` field. */
1142
+ eventType?: StringFilter;
1143
+ /** Filter by the object’s `actorId` field. */
1144
+ actorId?: UUIDFilter;
1145
+ /** Filter by the object’s `message` field. */
1146
+ message?: StringFilter;
1147
+ /** Filter by the object’s `metadata` field. */
1148
+ metadata?: JSONFilter;
1149
+ /** Filter by the object’s `databaseId` field. */
1150
+ databaseId?: UUIDFilter;
1151
+ /** Checks for all expressions in this list. */
1152
+ and?: FunctionDeploymentEventFilter[];
1153
+ /** Checks for any expressions in this list. */
1154
+ or?: FunctionDeploymentEventFilter[];
1155
+ /** Negates the expression. */
1156
+ not?: FunctionDeploymentEventFilter;
1157
+ }
1158
+ export interface OrgFunctionExecutionLogFilter {
1159
+ /** Filter by the object’s `createdAt` field. */
1160
+ createdAt?: DatetimeFilter;
1161
+ /** Filter by the object’s `id` field. */
1162
+ id?: UUIDFilter;
1163
+ /** Filter by the object’s `invocationId` field. */
1164
+ invocationId?: UUIDFilter;
1165
+ /** Filter by the object’s `taskIdentifier` field. */
1166
+ taskIdentifier?: StringFilter;
1167
+ /** Filter by the object’s `logLevel` field. */
1168
+ logLevel?: StringFilter;
1169
+ /** Filter by the object’s `message` field. */
1170
+ message?: StringFilter;
1171
+ /** Filter by the object’s `metadata` field. */
1172
+ metadata?: JSONFilter;
1173
+ /** Filter by the object’s `actorId` field. */
1174
+ actorId?: UUIDFilter;
1175
+ /** Checks for all expressions in this list. */
1176
+ and?: OrgFunctionExecutionLogFilter[];
1177
+ /** Checks for any expressions in this list. */
1178
+ or?: OrgFunctionExecutionLogFilter[];
1179
+ /** Negates the expression. */
1180
+ not?: OrgFunctionExecutionLogFilter;
1181
+ }
1182
+ export interface FunctionGraphExecutionOutputFilter {
1183
+ /** Filter by the object’s `createdAt` field. */
1184
+ createdAt?: DatetimeFilter;
1185
+ /** Filter by the object’s `id` field. */
1186
+ id?: UUIDFilter;
1187
+ /** Filter by the object’s `databaseId` field. */
1188
+ databaseId?: UUIDFilter;
1189
+ /** Filter by the object’s `hash` field. */
1190
+ hash?: Base64EncodedBinaryFilter;
1191
+ /** Filter by the object’s `data` field. */
1192
+ data?: JSONFilter;
1193
+ /** Checks for all expressions in this list. */
1194
+ and?: FunctionGraphExecutionOutputFilter[];
1195
+ /** Checks for any expressions in this list. */
1196
+ or?: FunctionGraphExecutionOutputFilter[];
1197
+ /** Negates the expression. */
1198
+ not?: FunctionGraphExecutionOutputFilter;
1199
+ }
1200
+ export interface FunctionGraphCommitFilter {
1201
+ /** Filter by the object’s `id` field. */
1202
+ id?: UUIDFilter;
1203
+ /** Filter by the object’s `message` field. */
1204
+ message?: StringFilter;
1205
+ /** Filter by the object’s `databaseId` field. */
1206
+ databaseId?: UUIDFilter;
1207
+ /** Filter by the object’s `storeId` field. */
1208
+ storeId?: UUIDFilter;
1209
+ /** Filter by the object’s `parentIds` field. */
1210
+ parentIds?: UUIDListFilter;
1211
+ /** Filter by the object’s `authorId` field. */
1212
+ authorId?: UUIDFilter;
1213
+ /** Filter by the object’s `committerId` field. */
1214
+ committerId?: UUIDFilter;
1215
+ /** Filter by the object’s `treeId` field. */
1216
+ treeId?: UUIDFilter;
1217
+ /** Filter by the object’s `date` field. */
1218
+ date?: DatetimeFilter;
1219
+ /** Checks for all expressions in this list. */
1220
+ and?: FunctionGraphCommitFilter[];
1221
+ /** Checks for any expressions in this list. */
1222
+ or?: FunctionGraphCommitFilter[];
1223
+ /** Negates the expression. */
1224
+ not?: FunctionGraphCommitFilter;
1225
+ }
1226
+ export interface SecretDefinitionFilter {
1227
+ /** Filter by the object’s `id` field. */
1228
+ id?: UUIDFilter;
1229
+ /** Filter by the object’s `createdAt` field. */
1230
+ createdAt?: DatetimeFilter;
1231
+ /** Filter by the object’s `updatedAt` field. */
1232
+ updatedAt?: DatetimeFilter;
1233
+ /** Filter by the object’s `name` field. */
1234
+ name?: StringFilter;
1235
+ /** Filter by the object’s `description` field. */
1236
+ description?: StringFilter;
1237
+ /** Filter by the object’s `isBuiltIn` field. */
1238
+ isBuiltIn?: BooleanFilter;
1239
+ /** Filter by the object’s `labels` field. */
1240
+ labels?: JSONFilter;
1241
+ /** Filter by the object’s `annotations` field. */
1242
+ annotations?: JSONFilter;
1243
+ /** Filter by the object’s `databaseId` field. */
1244
+ databaseId?: UUIDFilter;
1245
+ /** Checks for all expressions in this list. */
1246
+ and?: SecretDefinitionFilter[];
1247
+ /** Checks for any expressions in this list. */
1248
+ or?: SecretDefinitionFilter[];
1249
+ /** Negates the expression. */
1250
+ not?: SecretDefinitionFilter;
1251
+ }
1252
+ export interface FunctionExecutionLogFilter {
1253
+ /** Filter by the object’s `createdAt` field. */
1254
+ createdAt?: DatetimeFilter;
1255
+ /** Filter by the object’s `id` field. */
1256
+ id?: UUIDFilter;
1257
+ /** Filter by the object’s `invocationId` field. */
1258
+ invocationId?: UUIDFilter;
1259
+ /** Filter by the object’s `taskIdentifier` field. */
1260
+ taskIdentifier?: StringFilter;
1261
+ /** Filter by the object’s `logLevel` field. */
1262
+ logLevel?: StringFilter;
1263
+ /** Filter by the object’s `message` field. */
1264
+ message?: StringFilter;
1265
+ /** Filter by the object’s `metadata` field. */
1266
+ metadata?: JSONFilter;
1267
+ /** Filter by the object’s `actorId` field. */
1268
+ actorId?: UUIDFilter;
1269
+ /** Filter by the object’s `databaseId` field. */
1270
+ databaseId?: UUIDFilter;
1271
+ /** Checks for all expressions in this list. */
1272
+ and?: FunctionExecutionLogFilter[];
1273
+ /** Checks for any expressions in this list. */
1274
+ or?: FunctionExecutionLogFilter[];
1275
+ /** Negates the expression. */
1276
+ not?: FunctionExecutionLogFilter;
1277
+ }
1278
+ export interface FunctionGraphExecutionNodeStateFilter {
1279
+ /** Filter by the object’s `createdAt` field. */
1280
+ createdAt?: DatetimeFilter;
1281
+ /** Filter by the object’s `id` field. */
1282
+ id?: UUIDFilter;
1283
+ /** Filter by the object’s `executionId` field. */
1284
+ executionId?: UUIDFilter;
1285
+ /** Filter by the object’s `databaseId` field. */
1286
+ databaseId?: UUIDFilter;
1287
+ /** Filter by the object’s `nodeName` field. */
1288
+ nodeName?: StringFilter;
1289
+ /** Filter by the object’s `nodePath` field. */
1290
+ nodePath?: StringListFilter;
1291
+ /** Filter by the object’s `status` field. */
1292
+ status?: StringFilter;
1293
+ /** Filter by the object’s `startedAt` field. */
1294
+ startedAt?: DatetimeFilter;
1295
+ /** Filter by the object’s `completedAt` field. */
1296
+ completedAt?: DatetimeFilter;
1297
+ /** Filter by the object’s `errorCode` field. */
1298
+ errorCode?: StringFilter;
1299
+ /** Filter by the object’s `errorMessage` field. */
1300
+ errorMessage?: StringFilter;
1301
+ /** Filter by the object’s `outputId` field. */
1302
+ outputId?: UUIDFilter;
1303
+ /** Checks for all expressions in this list. */
1304
+ and?: FunctionGraphExecutionNodeStateFilter[];
1305
+ /** Checks for any expressions in this list. */
1306
+ or?: FunctionGraphExecutionNodeStateFilter[];
1307
+ /** Negates the expression. */
1308
+ not?: FunctionGraphExecutionNodeStateFilter;
1309
+ }
1310
+ export interface FunctionGraphFilter {
1311
+ /** Filter by the object’s `id` field. */
1312
+ id?: UUIDFilter;
1313
+ /** Filter by the object’s `databaseId` field. */
1314
+ databaseId?: UUIDFilter;
1315
+ /** Filter by the object’s `storeId` field. */
1316
+ storeId?: UUIDFilter;
1317
+ /** Filter by the object’s `entityId` field. */
1318
+ entityId?: UUIDFilter;
1319
+ /** Filter by the object’s `context` field. */
1320
+ context?: StringFilter;
1321
+ /** Filter by the object’s `name` field. */
1322
+ name?: StringFilter;
1323
+ /** Filter by the object’s `description` field. */
1324
+ description?: StringFilter;
1325
+ /** Filter by the object’s `definitionsCommitId` field. */
1326
+ definitionsCommitId?: UUIDFilter;
1327
+ /** Filter by the object’s `isValid` field. */
1328
+ isValid?: BooleanFilter;
1329
+ /** Filter by the object’s `validationErrors` field. */
1330
+ validationErrors?: JSONFilter;
1331
+ /** Filter by the object’s `createdBy` field. */
1332
+ createdBy?: UUIDFilter;
1333
+ /** Filter by the object’s `createdAt` field. */
1334
+ createdAt?: DatetimeFilter;
1335
+ /** Filter by the object’s `updatedAt` field. */
1336
+ updatedAt?: DatetimeFilter;
1337
+ /** Checks for all expressions in this list. */
1338
+ and?: FunctionGraphFilter[];
1339
+ /** Checks for any expressions in this list. */
1340
+ or?: FunctionGraphFilter[];
1341
+ /** Negates the expression. */
1342
+ not?: FunctionGraphFilter;
1343
+ }
1344
+ export interface OrgFunctionInvocationFilter {
1345
+ /** Filter by the object’s `createdAt` field. */
1346
+ createdAt?: DatetimeFilter;
1347
+ /** Filter by the object’s `id` field. */
1348
+ id?: UUIDFilter;
1349
+ /** Filter by the object’s `actorId` field. */
1350
+ actorId?: UUIDFilter;
1351
+ /** Filter by the object’s `taskIdentifier` field. */
1352
+ taskIdentifier?: StringFilter;
1353
+ /** Filter by the object’s `payload` field. */
1354
+ payload?: JSONFilter;
1355
+ /** Filter by the object’s `status` field. */
1356
+ status?: StringFilter;
1357
+ /** Filter by the object’s `result` field. */
1358
+ result?: JSONFilter;
1359
+ /** Filter by the object’s `error` field. */
1360
+ error?: StringFilter;
1361
+ /** Filter by the object’s `durationMs` field. */
1362
+ durationMs?: IntFilter;
1363
+ /** Filter by the object’s `jobId` field. */
1364
+ jobId?: BigIntFilter;
1365
+ /** Filter by the object’s `startedAt` field. */
1366
+ startedAt?: DatetimeFilter;
1367
+ /** Filter by the object’s `completedAt` field. */
1368
+ completedAt?: DatetimeFilter;
1369
+ /** Filter by the object’s `parentInvocationId` field. */
1370
+ parentInvocationId?: UUIDFilter;
1371
+ /** Filter by the object’s `graphExecutionId` field. */
1372
+ graphExecutionId?: UUIDFilter;
1373
+ /** Checks for all expressions in this list. */
1374
+ and?: OrgFunctionInvocationFilter[];
1375
+ /** Checks for any expressions in this list. */
1376
+ or?: OrgFunctionInvocationFilter[];
1377
+ /** Negates the expression. */
1378
+ not?: OrgFunctionInvocationFilter;
1379
+ }
1380
+ export interface FunctionInvocationFilter {
1381
+ /** Filter by the object’s `createdAt` field. */
1382
+ createdAt?: DatetimeFilter;
1383
+ /** Filter by the object’s `id` field. */
1384
+ id?: UUIDFilter;
1385
+ /** Filter by the object’s `actorId` field. */
1386
+ actorId?: UUIDFilter;
1387
+ /** Filter by the object’s `databaseId` field. */
1388
+ databaseId?: UUIDFilter;
1389
+ /** Filter by the object’s `taskIdentifier` field. */
1390
+ taskIdentifier?: StringFilter;
1391
+ /** Filter by the object’s `payload` field. */
1392
+ payload?: JSONFilter;
1393
+ /** Filter by the object’s `status` field. */
1394
+ status?: StringFilter;
1395
+ /** Filter by the object’s `result` field. */
1396
+ result?: JSONFilter;
1397
+ /** Filter by the object’s `error` field. */
1398
+ error?: StringFilter;
1399
+ /** Filter by the object’s `durationMs` field. */
1400
+ durationMs?: IntFilter;
1401
+ /** Filter by the object’s `jobId` field. */
1402
+ jobId?: BigIntFilter;
1403
+ /** Filter by the object’s `startedAt` field. */
1404
+ startedAt?: DatetimeFilter;
1405
+ /** Filter by the object’s `completedAt` field. */
1406
+ completedAt?: DatetimeFilter;
1407
+ /** Filter by the object’s `parentInvocationId` field. */
1408
+ parentInvocationId?: UUIDFilter;
1409
+ /** Filter by the object’s `graphExecutionId` field. */
1410
+ graphExecutionId?: UUIDFilter;
1411
+ /** Checks for all expressions in this list. */
1412
+ and?: FunctionInvocationFilter[];
1413
+ /** Checks for any expressions in this list. */
1414
+ or?: FunctionInvocationFilter[];
1415
+ /** Negates the expression. */
1416
+ not?: FunctionInvocationFilter;
1417
+ }
1418
+ export interface FunctionGraphExecutionFilter {
1419
+ /** Filter by the object’s `startedAt` field. */
1420
+ startedAt?: DatetimeFilter;
1421
+ /** Filter by the object’s `id` field. */
1422
+ id?: UUIDFilter;
1423
+ /** Filter by the object’s `graphId` field. */
1424
+ graphId?: UUIDFilter;
1425
+ /** Filter by the object’s `invocationId` field. */
1426
+ invocationId?: UUIDFilter;
1427
+ /** Filter by the object’s `databaseId` field. */
1428
+ databaseId?: UUIDFilter;
1429
+ /** Filter by the object’s `entityId` field. */
1430
+ entityId?: UUIDFilter;
1431
+ /** Filter by the object’s `outputNode` field. */
1432
+ outputNode?: StringFilter;
1433
+ /** Filter by the object’s `outputPort` field. */
1434
+ outputPort?: StringFilter;
1435
+ /** Filter by the object’s `status` field. */
1436
+ status?: StringFilter;
1437
+ /** Filter by the object’s `inputPayload` field. */
1438
+ inputPayload?: JSONFilter;
1439
+ /** Filter by the object’s `outputPayload` field. */
1440
+ outputPayload?: JSONFilter;
1441
+ /** Filter by the object’s `nodeOutputs` field. */
1442
+ nodeOutputs?: JSONFilter;
1443
+ /** Filter by the object’s `executionPlan` field. */
1444
+ executionPlan?: JSONFilter;
1445
+ /** Filter by the object’s `currentWave` field. */
1446
+ currentWave?: IntFilter;
1447
+ /** Filter by the object’s `parentExecutionId` field. */
1448
+ parentExecutionId?: UUIDFilter;
1449
+ /** Filter by the object’s `parentNodeName` field. */
1450
+ parentNodeName?: StringFilter;
1451
+ /** Filter by the object’s `definitionsCommitId` field. */
1452
+ definitionsCommitId?: UUIDFilter;
1453
+ /** Filter by the object’s `tickCount` field. */
1454
+ tickCount?: IntFilter;
1455
+ /** Filter by the object’s `completedAt` field. */
1456
+ completedAt?: DatetimeFilter;
1457
+ /** Filter by the object’s `maxTicks` field. */
1458
+ maxTicks?: IntFilter;
1459
+ /** Filter by the object’s `maxPendingJobs` field. */
1460
+ maxPendingJobs?: IntFilter;
1461
+ /** Filter by the object’s `timeoutAt` field. */
1462
+ timeoutAt?: DatetimeFilter;
1463
+ /** Filter by the object’s `errorCode` field. */
1464
+ errorCode?: StringFilter;
1465
+ /** Filter by the object’s `errorMessage` field. */
1466
+ errorMessage?: StringFilter;
1467
+ /** Checks for all expressions in this list. */
1468
+ and?: FunctionGraphExecutionFilter[];
1469
+ /** Checks for any expressions in this list. */
1470
+ or?: FunctionGraphExecutionFilter[];
1471
+ /** Negates the expression. */
1472
+ not?: FunctionGraphExecutionFilter;
1473
+ /** Filter by the object’s `graph` relation. */
1474
+ graph?: FunctionGraphFilter;
1475
+ }
1476
+ export interface FunctionDefinitionFilter {
1477
+ /** Filter by the object’s `id` field. */
1478
+ id?: UUIDFilter;
1479
+ /** Filter by the object’s `createdAt` field. */
1480
+ createdAt?: DatetimeFilter;
1481
+ /** Filter by the object’s `updatedAt` field. */
1482
+ updatedAt?: DatetimeFilter;
1483
+ /** Filter by the object’s `scope` field. */
1484
+ scope?: StringFilter;
1485
+ /** Filter by the object’s `name` field. */
1486
+ name?: StringFilter;
1487
+ /** Filter by the object’s `taskIdentifier` field. */
1488
+ taskIdentifier?: StringFilter;
1489
+ /** Filter by the object’s `description` field. */
1490
+ description?: StringFilter;
1491
+ /** Filter by the object’s `isInvocable` field. */
1492
+ isInvocable?: BooleanFilter;
1493
+ /** Filter by the object’s `maxAttempts` field. */
1494
+ maxAttempts?: IntFilter;
1495
+ /** Filter by the object’s `priority` field. */
1496
+ priority?: IntFilter;
1497
+ /** Filter by the object’s `queueName` field. */
1498
+ queueName?: StringFilter;
1499
+ /** Filter by the object’s `runtime` field. */
1500
+ runtime?: StringFilter;
1501
+ /** Filter by the object’s `image` field. */
1502
+ image?: StringFilter;
1503
+ /** Filter by the object’s `concurrency` field. */
1504
+ concurrency?: IntFilter;
1505
+ /** Filter by the object’s `scaleMin` field. */
1506
+ scaleMin?: IntFilter;
1507
+ /** Filter by the object’s `scaleMax` field. */
1508
+ scaleMax?: IntFilter;
1509
+ /** Filter by the object’s `timeoutSeconds` field. */
1510
+ timeoutSeconds?: IntFilter;
1511
+ /** Filter by the object’s `resources` field. */
1512
+ resources?: JSONFilter;
1513
+ /** Filter by the object’s `isBuiltIn` field. */
1514
+ isBuiltIn?: BooleanFilter;
1515
+ /** Filter by the object’s `requiredBuckets` field. */
1516
+ requiredBuckets?: StringListFilter;
1517
+ /** Filter by the object’s `requiredModels` field. */
1518
+ requiredModels?: StringListFilter;
1519
+ /** Filter by the object’s `inputs` field. */
1520
+ inputs?: JSONFilter;
1521
+ /** Filter by the object’s `outputs` field. */
1522
+ outputs?: JSONFilter;
1523
+ /** Filter by the object’s `props` field. */
1524
+ props?: JSONFilter;
1525
+ /** Filter by the object’s `volatile` field. */
1526
+ volatile?: BooleanFilter;
1527
+ /** Filter by the object’s `icon` field. */
1528
+ icon?: StringFilter;
1529
+ /** Filter by the object’s `category` field. */
1530
+ category?: StringFilter;
1531
+ /** Checks for all expressions in this list. */
1532
+ and?: FunctionDefinitionFilter[];
1533
+ /** Checks for any expressions in this list. */
1534
+ or?: FunctionDefinitionFilter[];
1535
+ /** Negates the expression. */
1536
+ not?: FunctionDefinitionFilter;
1537
+ /** Filter by the object’s `functionApiBindings` relation. */
1538
+ functionApiBindings?: FunctionDefinitionToManyFunctionApiBindingFilter;
1539
+ /** `functionApiBindings` exist. */
1540
+ functionApiBindingsExist?: boolean;
1541
+ /** Filter by the object’s `functionDeployments` relation. */
1542
+ functionDeployments?: FunctionDefinitionToManyFunctionDeploymentFilter;
1543
+ /** `functionDeployments` exist. */
1544
+ functionDeploymentsExist?: boolean;
1545
+ }
1546
+ export type GetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'PATH_ASC' | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC';
1547
+ export type FunctionApiBindingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'ALIAS_ASC' | 'ALIAS_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC';
1548
+ export type FunctionDeploymentOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'SERVICE_URL_ASC' | 'SERVICE_URL_DESC' | 'SERVICE_NAME_ASC' | 'SERVICE_NAME_DESC' | 'REVISION_ASC' | 'REVISION_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'CONCURRENCY_ASC' | 'CONCURRENCY_DESC' | 'SCALE_MIN_ASC' | 'SCALE_MIN_DESC' | 'SCALE_MAX_ASC' | 'SCALE_MAX_DESC' | 'TIMEOUT_SECONDS_ASC' | 'TIMEOUT_SECONDS_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'LAST_ERROR_AT_ASC' | 'LAST_ERROR_AT_DESC' | 'ERROR_COUNT_ASC' | 'ERROR_COUNT_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1549
+ export type FunctionGraphRefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC';
1550
+ export type FunctionGraphStoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
1551
+ export type FunctionGraphObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
1552
+ export type FunctionDeploymentEventOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'DEPLOYMENT_ID_ASC' | 'DEPLOYMENT_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1553
+ export type OrgFunctionExecutionLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'LOG_LEVEL_ASC' | 'LOG_LEVEL_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
1554
+ export type FunctionGraphExecutionOutputOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'DATA_ASC' | 'DATA_DESC';
1555
+ export type FunctionGraphCommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' | 'DATE_DESC';
1556
+ export type SecretDefinitionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_BUILT_IN_ASC' | 'IS_BUILT_IN_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1557
+ export type FunctionExecutionLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'LOG_LEVEL_ASC' | 'LOG_LEVEL_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1558
+ export type FunctionGraphExecutionNodeStateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'EXECUTION_ID_ASC' | 'EXECUTION_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NODE_NAME_ASC' | 'NODE_NAME_DESC' | 'NODE_PATH_ASC' | 'NODE_PATH_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'ERROR_CODE_ASC' | 'ERROR_CODE_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC' | 'OUTPUT_ID_ASC' | 'OUTPUT_ID_DESC';
1559
+ export type FunctionGraphOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CONTEXT_ASC' | 'CONTEXT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DEFINITIONS_COMMIT_ID_ASC' | 'DEFINITIONS_COMMIT_ID_DESC' | 'IS_VALID_ASC' | 'IS_VALID_DESC' | 'VALIDATION_ERRORS_ASC' | 'VALIDATION_ERRORS_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1560
+ export type OrgFunctionInvocationOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'RESULT_ASC' | 'RESULT_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'JOB_ID_ASC' | 'JOB_ID_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'PARENT_INVOCATION_ID_ASC' | 'PARENT_INVOCATION_ID_DESC' | 'GRAPH_EXECUTION_ID_ASC' | 'GRAPH_EXECUTION_ID_DESC';
1561
+ export type FunctionInvocationOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'RESULT_ASC' | 'RESULT_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'JOB_ID_ASC' | 'JOB_ID_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'PARENT_INVOCATION_ID_ASC' | 'PARENT_INVOCATION_ID_DESC' | 'GRAPH_EXECUTION_ID_ASC' | 'GRAPH_EXECUTION_ID_DESC';
1562
+ export type FunctionGraphExecutionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'GRAPH_ID_ASC' | 'GRAPH_ID_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'OUTPUT_NODE_ASC' | 'OUTPUT_NODE_DESC' | 'OUTPUT_PORT_ASC' | 'OUTPUT_PORT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'INPUT_PAYLOAD_ASC' | 'INPUT_PAYLOAD_DESC' | 'OUTPUT_PAYLOAD_ASC' | 'OUTPUT_PAYLOAD_DESC' | 'NODE_OUTPUTS_ASC' | 'NODE_OUTPUTS_DESC' | 'EXECUTION_PLAN_ASC' | 'EXECUTION_PLAN_DESC' | 'CURRENT_WAVE_ASC' | 'CURRENT_WAVE_DESC' | 'PARENT_EXECUTION_ID_ASC' | 'PARENT_EXECUTION_ID_DESC' | 'PARENT_NODE_NAME_ASC' | 'PARENT_NODE_NAME_DESC' | 'DEFINITIONS_COMMIT_ID_ASC' | 'DEFINITIONS_COMMIT_ID_DESC' | 'TICK_COUNT_ASC' | 'TICK_COUNT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'MAX_TICKS_ASC' | 'MAX_TICKS_DESC' | 'MAX_PENDING_JOBS_ASC' | 'MAX_PENDING_JOBS_DESC' | 'TIMEOUT_AT_ASC' | 'TIMEOUT_AT_DESC' | 'ERROR_CODE_ASC' | 'ERROR_CODE_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC';
1563
+ export type FunctionDefinitionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_INVOCABLE_ASC' | 'IS_INVOCABLE_DESC' | 'MAX_ATTEMPTS_ASC' | 'MAX_ATTEMPTS_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'QUEUE_NAME_ASC' | 'QUEUE_NAME_DESC' | 'RUNTIME_ASC' | 'RUNTIME_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'CONCURRENCY_ASC' | 'CONCURRENCY_DESC' | 'SCALE_MIN_ASC' | 'SCALE_MIN_DESC' | 'SCALE_MAX_ASC' | 'SCALE_MAX_DESC' | 'TIMEOUT_SECONDS_ASC' | 'TIMEOUT_SECONDS_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'IS_BUILT_IN_ASC' | 'IS_BUILT_IN_DESC' | 'REQUIRED_SECRETS_ASC' | 'REQUIRED_SECRETS_DESC' | 'REQUIRED_CONFIGS_ASC' | 'REQUIRED_CONFIGS_DESC' | 'REQUIRED_BUCKETS_ASC' | 'REQUIRED_BUCKETS_DESC' | 'REQUIRED_MODELS_ASC' | 'REQUIRED_MODELS_DESC' | 'INPUTS_ASC' | 'INPUTS_DESC' | 'OUTPUTS_ASC' | 'OUTPUTS_DESC' | 'PROPS_ASC' | 'PROPS_DESC' | 'VOLATILE_ASC' | 'VOLATILE_DESC' | 'ICON_ASC' | 'ICON_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC';
1564
+ export interface CreateGetAllRecordInput {
1565
+ clientMutationId?: string;
1566
+ getAllRecord: {
1567
+ path?: string[];
1568
+ data?: Record<string, unknown>;
1569
+ };
1570
+ }
1571
+ export interface GetAllRecordPatch {
1572
+ path?: string[] | null;
1573
+ data?: Record<string, unknown> | null;
1574
+ }
1575
+ export interface UpdateGetAllRecordInput {
1576
+ clientMutationId?: string;
1577
+ id: string;
1578
+ getAllRecordPatch: GetAllRecordPatch;
1579
+ }
1580
+ export interface DeleteGetAllRecordInput {
1581
+ clientMutationId?: string;
1582
+ id: string;
1583
+ }
1584
+ export interface CreateFunctionApiBindingInput {
1585
+ clientMutationId?: string;
1586
+ functionApiBinding: {
1587
+ functionDefinitionId: string;
1588
+ apiId: string;
1589
+ alias?: string;
1590
+ config?: Record<string, unknown>;
1591
+ };
1592
+ }
1593
+ export interface FunctionApiBindingPatch {
1594
+ functionDefinitionId?: string | null;
1595
+ apiId?: string | null;
1596
+ alias?: string | null;
1597
+ config?: Record<string, unknown> | null;
1598
+ }
1599
+ export interface UpdateFunctionApiBindingInput {
1600
+ clientMutationId?: string;
1601
+ id: string;
1602
+ functionApiBindingPatch: FunctionApiBindingPatch;
1603
+ }
1604
+ export interface DeleteFunctionApiBindingInput {
1605
+ clientMutationId?: string;
1606
+ id: string;
1607
+ }
1608
+ export interface CreateFunctionDeploymentInput {
1609
+ clientMutationId?: string;
1610
+ functionDeployment: {
1611
+ functionDefinitionId: string;
1612
+ namespaceId: string;
1613
+ status?: string;
1614
+ serviceUrl?: string;
1615
+ serviceName?: string;
1616
+ revision?: number;
1617
+ image?: string;
1618
+ concurrency?: number;
1619
+ scaleMin?: number;
1620
+ scaleMax?: number;
1621
+ timeoutSeconds?: number;
1622
+ resources?: Record<string, unknown>;
1623
+ lastError?: string;
1624
+ lastErrorAt?: string;
1625
+ errorCount?: number;
1626
+ labels?: Record<string, unknown>;
1627
+ annotations?: Record<string, unknown>;
1628
+ databaseId: string;
1629
+ };
1630
+ }
1631
+ export interface FunctionDeploymentPatch {
1632
+ functionDefinitionId?: string | null;
1633
+ namespaceId?: string | null;
1634
+ status?: string | null;
1635
+ serviceUrl?: string | null;
1636
+ serviceName?: string | null;
1637
+ revision?: number | null;
1638
+ image?: string | null;
1639
+ concurrency?: number | null;
1640
+ scaleMin?: number | null;
1641
+ scaleMax?: number | null;
1642
+ timeoutSeconds?: number | null;
1643
+ resources?: Record<string, unknown> | null;
1644
+ lastError?: string | null;
1645
+ lastErrorAt?: string | null;
1646
+ errorCount?: number | null;
1647
+ labels?: Record<string, unknown> | null;
1648
+ annotations?: Record<string, unknown> | null;
1649
+ databaseId?: string | null;
1650
+ }
1651
+ export interface UpdateFunctionDeploymentInput {
1652
+ clientMutationId?: string;
1653
+ id: string;
1654
+ functionDeploymentPatch: FunctionDeploymentPatch;
1655
+ }
1656
+ export interface DeleteFunctionDeploymentInput {
1657
+ clientMutationId?: string;
1658
+ id: string;
1659
+ }
1660
+ export interface CreateFunctionGraphRefInput {
1661
+ clientMutationId?: string;
1662
+ functionGraphRef: {
1663
+ name: string;
1664
+ databaseId: string;
1665
+ storeId: string;
1666
+ commitId?: string;
1667
+ };
1668
+ }
1669
+ export interface FunctionGraphRefPatch {
1670
+ name?: string | null;
1671
+ databaseId?: string | null;
1672
+ storeId?: string | null;
1673
+ commitId?: string | null;
1674
+ }
1675
+ export interface UpdateFunctionGraphRefInput {
1676
+ clientMutationId?: string;
1677
+ id: string;
1678
+ functionGraphRefPatch: FunctionGraphRefPatch;
1679
+ }
1680
+ export interface DeleteFunctionGraphRefInput {
1681
+ clientMutationId?: string;
1682
+ id: string;
1683
+ }
1684
+ export interface CreateFunctionGraphStoreInput {
1685
+ clientMutationId?: string;
1686
+ functionGraphStore: {
1687
+ name: string;
1688
+ databaseId: string;
1689
+ hash?: string;
1690
+ };
1691
+ }
1692
+ export interface FunctionGraphStorePatch {
1693
+ name?: string | null;
1694
+ databaseId?: string | null;
1695
+ hash?: string | null;
1696
+ }
1697
+ export interface UpdateFunctionGraphStoreInput {
1698
+ clientMutationId?: string;
1699
+ id: string;
1700
+ functionGraphStorePatch: FunctionGraphStorePatch;
1701
+ }
1702
+ export interface DeleteFunctionGraphStoreInput {
1703
+ clientMutationId?: string;
1704
+ id: string;
1705
+ }
1706
+ export interface CreateFunctionGraphObjectInput {
1707
+ clientMutationId?: string;
1708
+ functionGraphObject: {
1709
+ databaseId: string;
1710
+ kids?: string[];
1711
+ ktree?: string[];
1712
+ data?: Record<string, unknown>;
1713
+ };
1714
+ }
1715
+ export interface FunctionGraphObjectPatch {
1716
+ databaseId?: string | null;
1717
+ kids?: string[] | null;
1718
+ ktree?: string[] | null;
1719
+ data?: Record<string, unknown> | null;
1720
+ }
1721
+ export interface UpdateFunctionGraphObjectInput {
1722
+ clientMutationId?: string;
1723
+ id: string;
1724
+ functionGraphObjectPatch: FunctionGraphObjectPatch;
1725
+ }
1726
+ export interface DeleteFunctionGraphObjectInput {
1727
+ clientMutationId?: string;
1728
+ id: string;
1729
+ }
1730
+ export interface CreateFunctionDeploymentEventInput {
1731
+ clientMutationId?: string;
1732
+ functionDeploymentEvent: {
1733
+ deploymentId: string;
1734
+ eventType: string;
1735
+ actorId?: string;
1736
+ message?: string;
1737
+ metadata?: Record<string, unknown>;
1738
+ databaseId: string;
1739
+ };
1740
+ }
1741
+ export interface FunctionDeploymentEventPatch {
1742
+ deploymentId?: string | null;
1743
+ eventType?: string | null;
1744
+ actorId?: string | null;
1745
+ message?: string | null;
1746
+ metadata?: Record<string, unknown> | null;
1747
+ databaseId?: string | null;
1748
+ }
1749
+ export interface UpdateFunctionDeploymentEventInput {
1750
+ clientMutationId?: string;
1751
+ id: string;
1752
+ functionDeploymentEventPatch: FunctionDeploymentEventPatch;
1753
+ }
1754
+ export interface DeleteFunctionDeploymentEventInput {
1755
+ clientMutationId?: string;
1756
+ id: string;
1757
+ }
1758
+ export interface CreateOrgFunctionExecutionLogInput {
1759
+ clientMutationId?: string;
1760
+ orgFunctionExecutionLog: {
1761
+ invocationId?: string;
1762
+ taskIdentifier?: string;
1763
+ logLevel?: string;
1764
+ message: string;
1765
+ metadata?: Record<string, unknown>;
1766
+ actorId?: string;
1767
+ };
1768
+ }
1769
+ export interface OrgFunctionExecutionLogPatch {
1770
+ invocationId?: string | null;
1771
+ taskIdentifier?: string | null;
1772
+ logLevel?: string | null;
1773
+ message?: string | null;
1774
+ metadata?: Record<string, unknown> | null;
1775
+ actorId?: string | null;
1776
+ }
1777
+ export interface UpdateOrgFunctionExecutionLogInput {
1778
+ clientMutationId?: string;
1779
+ id: string;
1780
+ orgFunctionExecutionLogPatch: OrgFunctionExecutionLogPatch;
1781
+ }
1782
+ export interface DeleteOrgFunctionExecutionLogInput {
1783
+ clientMutationId?: string;
1784
+ id: string;
1785
+ }
1786
+ export interface CreateFunctionGraphExecutionOutputInput {
1787
+ clientMutationId?: string;
1788
+ functionGraphExecutionOutput: {
1789
+ databaseId: string;
1790
+ hash: Base64EncodedBinary;
1791
+ data: Record<string, unknown>;
1792
+ };
1793
+ }
1794
+ export interface FunctionGraphExecutionOutputPatch {
1795
+ databaseId?: string | null;
1796
+ hash?: Base64EncodedBinary | null;
1797
+ data?: Record<string, unknown> | null;
1798
+ }
1799
+ export interface UpdateFunctionGraphExecutionOutputInput {
1800
+ clientMutationId?: string;
1801
+ id: string;
1802
+ functionGraphExecutionOutputPatch: FunctionGraphExecutionOutputPatch;
1803
+ }
1804
+ export interface DeleteFunctionGraphExecutionOutputInput {
1805
+ clientMutationId?: string;
1806
+ id: string;
1807
+ }
1808
+ export interface CreateFunctionGraphCommitInput {
1809
+ clientMutationId?: string;
1810
+ functionGraphCommit: {
1811
+ message?: string;
1812
+ databaseId: string;
1813
+ storeId: string;
1814
+ parentIds?: string[];
1815
+ authorId?: string;
1816
+ committerId?: string;
1817
+ treeId?: string;
1818
+ date?: string;
1819
+ };
1820
+ }
1821
+ export interface FunctionGraphCommitPatch {
1822
+ message?: string | null;
1823
+ databaseId?: string | null;
1824
+ storeId?: string | null;
1825
+ parentIds?: string[] | null;
1826
+ authorId?: string | null;
1827
+ committerId?: string | null;
1828
+ treeId?: string | null;
1829
+ date?: string | null;
1830
+ }
1831
+ export interface UpdateFunctionGraphCommitInput {
1832
+ clientMutationId?: string;
1833
+ id: string;
1834
+ functionGraphCommitPatch: FunctionGraphCommitPatch;
1835
+ }
1836
+ export interface DeleteFunctionGraphCommitInput {
1837
+ clientMutationId?: string;
1838
+ id: string;
1839
+ }
1840
+ export interface CreateSecretDefinitionInput {
1841
+ clientMutationId?: string;
1842
+ secretDefinition: {
1843
+ name: string;
1844
+ description?: string;
1845
+ isBuiltIn?: boolean;
1846
+ labels?: Record<string, unknown>;
1847
+ annotations?: Record<string, unknown>;
1848
+ databaseId: string;
1849
+ };
1850
+ }
1851
+ export interface SecretDefinitionPatch {
1852
+ name?: string | null;
1853
+ description?: string | null;
1854
+ isBuiltIn?: boolean | null;
1855
+ labels?: Record<string, unknown> | null;
1856
+ annotations?: Record<string, unknown> | null;
1857
+ databaseId?: string | null;
1858
+ }
1859
+ export interface UpdateSecretDefinitionInput {
1860
+ clientMutationId?: string;
1861
+ id: string;
1862
+ secretDefinitionPatch: SecretDefinitionPatch;
1863
+ }
1864
+ export interface DeleteSecretDefinitionInput {
1865
+ clientMutationId?: string;
1866
+ id: string;
1867
+ }
1868
+ export interface CreateFunctionExecutionLogInput {
1869
+ clientMutationId?: string;
1870
+ functionExecutionLog: {
1871
+ invocationId?: string;
1872
+ taskIdentifier?: string;
1873
+ logLevel?: string;
1874
+ message: string;
1875
+ metadata?: Record<string, unknown>;
1876
+ actorId?: string;
1877
+ databaseId: string;
1878
+ };
1879
+ }
1880
+ export interface FunctionExecutionLogPatch {
1881
+ invocationId?: string | null;
1882
+ taskIdentifier?: string | null;
1883
+ logLevel?: string | null;
1884
+ message?: string | null;
1885
+ metadata?: Record<string, unknown> | null;
1886
+ actorId?: string | null;
1887
+ databaseId?: string | null;
1888
+ }
1889
+ export interface UpdateFunctionExecutionLogInput {
1890
+ clientMutationId?: string;
1891
+ id: string;
1892
+ functionExecutionLogPatch: FunctionExecutionLogPatch;
1893
+ }
1894
+ export interface DeleteFunctionExecutionLogInput {
1895
+ clientMutationId?: string;
1896
+ id: string;
1897
+ }
1898
+ export interface CreateFunctionGraphExecutionNodeStateInput {
1899
+ clientMutationId?: string;
1900
+ functionGraphExecutionNodeState: {
1901
+ executionId: string;
1902
+ databaseId: string;
1903
+ nodeName: string;
1904
+ nodePath?: string[];
1905
+ status?: string;
1906
+ startedAt?: string;
1907
+ completedAt?: string;
1908
+ errorCode?: string;
1909
+ errorMessage?: string;
1910
+ outputId?: string;
1911
+ };
1912
+ }
1913
+ export interface FunctionGraphExecutionNodeStatePatch {
1914
+ executionId?: string | null;
1915
+ databaseId?: string | null;
1916
+ nodeName?: string | null;
1917
+ nodePath?: string[] | null;
1918
+ status?: string | null;
1919
+ startedAt?: string | null;
1920
+ completedAt?: string | null;
1921
+ errorCode?: string | null;
1922
+ errorMessage?: string | null;
1923
+ outputId?: string | null;
1924
+ }
1925
+ export interface UpdateFunctionGraphExecutionNodeStateInput {
1926
+ clientMutationId?: string;
1927
+ id: string;
1928
+ functionGraphExecutionNodeStatePatch: FunctionGraphExecutionNodeStatePatch;
1929
+ }
1930
+ export interface DeleteFunctionGraphExecutionNodeStateInput {
1931
+ clientMutationId?: string;
1932
+ id: string;
1933
+ }
1934
+ export interface CreateFunctionGraphInput {
1935
+ clientMutationId?: string;
1936
+ functionGraph: {
1937
+ databaseId: string;
1938
+ storeId: string;
1939
+ entityId: string;
1940
+ context?: string;
1941
+ name?: string;
1942
+ description?: string;
1943
+ definitionsCommitId: string;
1944
+ isValid?: boolean;
1945
+ validationErrors?: Record<string, unknown>;
1946
+ createdBy?: string;
1947
+ };
1948
+ }
1949
+ export interface FunctionGraphPatch {
1950
+ databaseId?: string | null;
1951
+ storeId?: string | null;
1952
+ entityId?: string | null;
1953
+ context?: string | null;
1954
+ name?: string | null;
1955
+ description?: string | null;
1956
+ definitionsCommitId?: string | null;
1957
+ isValid?: boolean | null;
1958
+ validationErrors?: Record<string, unknown> | null;
1959
+ createdBy?: string | null;
1960
+ }
1961
+ export interface UpdateFunctionGraphInput {
1962
+ clientMutationId?: string;
1963
+ id: string;
1964
+ functionGraphPatch: FunctionGraphPatch;
1965
+ }
1966
+ export interface DeleteFunctionGraphInput {
1967
+ clientMutationId?: string;
1968
+ id: string;
1969
+ }
1970
+ export interface CreateOrgFunctionInvocationInput {
1971
+ clientMutationId?: string;
1972
+ orgFunctionInvocation: {
1973
+ actorId?: string;
1974
+ taskIdentifier: string;
1975
+ payload?: Record<string, unknown>;
1976
+ status?: string;
1977
+ result?: Record<string, unknown>;
1978
+ error?: string;
1979
+ durationMs?: number;
1980
+ jobId?: string;
1981
+ startedAt?: string;
1982
+ completedAt?: string;
1983
+ parentInvocationId?: string;
1984
+ graphExecutionId?: string;
1985
+ };
1986
+ }
1987
+ export interface OrgFunctionInvocationPatch {
1988
+ actorId?: string | null;
1989
+ taskIdentifier?: string | null;
1990
+ payload?: Record<string, unknown> | null;
1991
+ status?: string | null;
1992
+ result?: Record<string, unknown> | null;
1993
+ error?: string | null;
1994
+ durationMs?: number | null;
1995
+ jobId?: string | null;
1996
+ startedAt?: string | null;
1997
+ completedAt?: string | null;
1998
+ parentInvocationId?: string | null;
1999
+ graphExecutionId?: string | null;
2000
+ }
2001
+ export interface UpdateOrgFunctionInvocationInput {
2002
+ clientMutationId?: string;
2003
+ id: string;
2004
+ orgFunctionInvocationPatch: OrgFunctionInvocationPatch;
2005
+ }
2006
+ export interface DeleteOrgFunctionInvocationInput {
2007
+ clientMutationId?: string;
2008
+ id: string;
2009
+ }
2010
+ export interface CreateFunctionInvocationInput {
2011
+ clientMutationId?: string;
2012
+ functionInvocation: {
2013
+ actorId?: string;
2014
+ databaseId: string;
2015
+ taskIdentifier: string;
2016
+ payload?: Record<string, unknown>;
2017
+ status?: string;
2018
+ result?: Record<string, unknown>;
2019
+ error?: string;
2020
+ durationMs?: number;
2021
+ jobId?: string;
2022
+ startedAt?: string;
2023
+ completedAt?: string;
2024
+ parentInvocationId?: string;
2025
+ graphExecutionId?: string;
2026
+ };
2027
+ }
2028
+ export interface FunctionInvocationPatch {
2029
+ actorId?: string | null;
2030
+ databaseId?: string | null;
2031
+ taskIdentifier?: string | null;
2032
+ payload?: Record<string, unknown> | null;
2033
+ status?: string | null;
2034
+ result?: Record<string, unknown> | null;
2035
+ error?: string | null;
2036
+ durationMs?: number | null;
2037
+ jobId?: string | null;
2038
+ startedAt?: string | null;
2039
+ completedAt?: string | null;
2040
+ parentInvocationId?: string | null;
2041
+ graphExecutionId?: string | null;
2042
+ }
2043
+ export interface UpdateFunctionInvocationInput {
2044
+ clientMutationId?: string;
2045
+ id: string;
2046
+ functionInvocationPatch: FunctionInvocationPatch;
2047
+ }
2048
+ export interface DeleteFunctionInvocationInput {
2049
+ clientMutationId?: string;
2050
+ id: string;
2051
+ }
2052
+ export interface CreateFunctionGraphExecutionInput {
2053
+ clientMutationId?: string;
2054
+ functionGraphExecution: {
2055
+ startedAt?: string;
2056
+ graphId: string;
2057
+ invocationId?: string;
2058
+ databaseId: string;
2059
+ entityId?: string;
2060
+ outputNode: string;
2061
+ outputPort?: string;
2062
+ status?: string;
2063
+ inputPayload?: Record<string, unknown>;
2064
+ outputPayload?: Record<string, unknown>;
2065
+ nodeOutputs?: Record<string, unknown>;
2066
+ executionPlan?: Record<string, unknown>;
2067
+ currentWave?: number;
2068
+ parentExecutionId?: string;
2069
+ parentNodeName?: string;
2070
+ definitionsCommitId?: string;
2071
+ tickCount?: number;
2072
+ completedAt?: string;
2073
+ maxTicks?: number;
2074
+ maxPendingJobs?: number;
2075
+ timeoutAt?: string;
2076
+ errorCode?: string;
2077
+ errorMessage?: string;
2078
+ };
2079
+ }
2080
+ export interface FunctionGraphExecutionPatch {
2081
+ startedAt?: string | null;
2082
+ graphId?: string | null;
2083
+ invocationId?: string | null;
2084
+ databaseId?: string | null;
2085
+ entityId?: string | null;
2086
+ outputNode?: string | null;
2087
+ outputPort?: string | null;
2088
+ status?: string | null;
2089
+ inputPayload?: Record<string, unknown> | null;
2090
+ outputPayload?: Record<string, unknown> | null;
2091
+ nodeOutputs?: Record<string, unknown> | null;
2092
+ executionPlan?: Record<string, unknown> | null;
2093
+ currentWave?: number | null;
2094
+ parentExecutionId?: string | null;
2095
+ parentNodeName?: string | null;
2096
+ definitionsCommitId?: string | null;
2097
+ tickCount?: number | null;
2098
+ completedAt?: string | null;
2099
+ maxTicks?: number | null;
2100
+ maxPendingJobs?: number | null;
2101
+ timeoutAt?: string | null;
2102
+ errorCode?: string | null;
2103
+ errorMessage?: string | null;
2104
+ }
2105
+ export interface UpdateFunctionGraphExecutionInput {
2106
+ clientMutationId?: string;
2107
+ id: string;
2108
+ functionGraphExecutionPatch: FunctionGraphExecutionPatch;
2109
+ }
2110
+ export interface DeleteFunctionGraphExecutionInput {
2111
+ clientMutationId?: string;
2112
+ id: string;
2113
+ }
2114
+ export interface CreateFunctionDefinitionInput {
2115
+ clientMutationId?: string;
2116
+ functionDefinition: {
2117
+ scope: string;
2118
+ name: string;
2119
+ taskIdentifier: string;
2120
+ description?: string;
2121
+ isInvocable?: boolean;
2122
+ maxAttempts?: number;
2123
+ priority?: number;
2124
+ queueName?: string;
2125
+ runtime?: string;
2126
+ image?: string;
2127
+ concurrency?: number;
2128
+ scaleMin?: number;
2129
+ scaleMax?: number;
2130
+ timeoutSeconds?: number;
2131
+ resources?: Record<string, unknown>;
2132
+ isBuiltIn?: boolean;
2133
+ requiredSecrets?: FunctionRequirementInput[];
2134
+ requiredConfigs?: FunctionRequirementInput[];
2135
+ requiredBuckets?: string[];
2136
+ requiredModels?: string[];
2137
+ inputs?: Record<string, unknown>;
2138
+ outputs?: Record<string, unknown>;
2139
+ props?: Record<string, unknown>;
2140
+ volatile?: boolean;
2141
+ icon?: string;
2142
+ category?: string;
2143
+ };
2144
+ }
2145
+ export interface FunctionDefinitionPatch {
2146
+ scope?: string | null;
2147
+ name?: string | null;
2148
+ taskIdentifier?: string | null;
2149
+ description?: string | null;
2150
+ isInvocable?: boolean | null;
2151
+ maxAttempts?: number | null;
2152
+ priority?: number | null;
2153
+ queueName?: string | null;
2154
+ runtime?: string | null;
2155
+ image?: string | null;
2156
+ concurrency?: number | null;
2157
+ scaleMin?: number | null;
2158
+ scaleMax?: number | null;
2159
+ timeoutSeconds?: number | null;
2160
+ resources?: Record<string, unknown> | null;
2161
+ isBuiltIn?: boolean | null;
2162
+ requiredSecrets?: FunctionRequirementInput[] | null;
2163
+ requiredConfigs?: FunctionRequirementInput[] | null;
2164
+ requiredBuckets?: string[] | null;
2165
+ requiredModels?: string[] | null;
2166
+ inputs?: Record<string, unknown> | null;
2167
+ outputs?: Record<string, unknown> | null;
2168
+ props?: Record<string, unknown> | null;
2169
+ volatile?: boolean | null;
2170
+ icon?: string | null;
2171
+ category?: string | null;
2172
+ }
2173
+ export interface UpdateFunctionDefinitionInput {
2174
+ clientMutationId?: string;
2175
+ id: string;
2176
+ functionDefinitionPatch: FunctionDefinitionPatch;
2177
+ }
2178
+ export interface DeleteFunctionDefinitionInput {
2179
+ clientMutationId?: string;
2180
+ id: string;
2181
+ }
2182
+ export declare const connectionFieldsMap: Record<string, Record<string, string>>;
2183
+ export interface ValidateFunctionGraphInput {
2184
+ clientMutationId?: string;
2185
+ graphId?: string;
2186
+ }
2187
+ export interface InitEmptyRepoInput {
2188
+ clientMutationId?: string;
2189
+ sId?: string;
2190
+ storeId?: string;
2191
+ }
2192
+ export interface SetDataAtPathInput {
2193
+ clientMutationId?: string;
2194
+ sId?: string;
2195
+ root?: string;
2196
+ path?: string[];
2197
+ data?: Record<string, unknown>;
2198
+ }
2199
+ export interface ImportDefinitionsInput {
2200
+ clientMutationId?: string;
2201
+ graphId?: string;
2202
+ sourceScopeId?: string;
2203
+ sourceCommitId?: string;
2204
+ contexts?: string[];
2205
+ }
2206
+ export interface CopyGraphInput {
2207
+ clientMutationId?: string;
2208
+ databaseId?: string;
2209
+ graphId?: string;
2210
+ name?: string;
2211
+ }
2212
+ export interface SaveGraphInput {
2213
+ clientMutationId?: string;
2214
+ graphId?: string;
2215
+ rootHash?: string;
2216
+ message?: string;
2217
+ }
2218
+ export interface AddEdgeAndSaveInput {
2219
+ clientMutationId?: string;
2220
+ graphId?: string;
2221
+ srcNode?: string;
2222
+ srcPort?: string;
2223
+ dstNode?: string;
2224
+ dstPort?: string;
2225
+ message?: string;
2226
+ }
2227
+ export interface AddNodeAndSaveInput {
2228
+ clientMutationId?: string;
2229
+ graphId?: string;
2230
+ nodeName?: string;
2231
+ nodeType?: string;
2232
+ props?: Record<string, unknown>;
2233
+ meta?: Record<string, unknown>;
2234
+ message?: string;
2235
+ }
2236
+ export interface AddEdgeInput {
2237
+ clientMutationId?: string;
2238
+ databaseId?: string;
2239
+ rootHash?: string;
2240
+ srcNode?: string;
2241
+ srcPort?: string;
2242
+ dstNode?: string;
2243
+ dstPort?: string;
2244
+ context?: string;
2245
+ graphName?: string;
2246
+ }
2247
+ export interface AddNodeInput {
2248
+ clientMutationId?: string;
2249
+ databaseId?: string;
2250
+ rootHash?: string;
2251
+ nodeName?: string;
2252
+ nodeType?: string;
2253
+ context?: string;
2254
+ graphName?: string;
2255
+ props?: Record<string, unknown>;
2256
+ meta?: Record<string, unknown>;
2257
+ }
2258
+ export interface ImportGraphJsonInput {
2259
+ clientMutationId?: string;
2260
+ databaseId?: string;
2261
+ name?: string;
2262
+ graphJson?: Record<string, unknown>;
2263
+ context?: string;
2264
+ description?: string;
2265
+ entityId?: string;
2266
+ createdBy?: string;
2267
+ definitionsCommitId?: string;
2268
+ }
2269
+ export interface InsertNodeAtPathInput {
2270
+ clientMutationId?: string;
2271
+ sId?: string;
2272
+ root?: string;
2273
+ path?: string[];
2274
+ data?: Record<string, unknown>;
2275
+ kids?: string[];
2276
+ ktree?: string[];
2277
+ }
2278
+ export interface StartExecutionInput {
2279
+ clientMutationId?: string;
2280
+ graphId?: string;
2281
+ inputPayload?: Record<string, unknown>;
2282
+ outputNode?: string;
2283
+ outputPort?: string;
2284
+ maxTicks?: number;
2285
+ maxPendingJobs?: number;
2286
+ timeoutInterval?: IntervalInput;
2287
+ parentExecutionId?: string;
2288
+ parentNodeName?: string;
2289
+ }
2290
+ export interface ProvisionBucketInput {
2291
+ /** The logical bucket key (e.g., "public", "private") */
2292
+ bucketKey: string;
2293
+ /**
2294
+ * Owner entity ID for entity-scoped bucket provisioning.
2295
+ * Omit for app-level (database-wide) storage.
2296
+ */
2297
+ ownerId?: string;
2298
+ }
2299
+ /** A filter to be used against Base64EncodedBinary fields. All fields are combined with a logical ‘and.’ */
2300
+ export interface Base64EncodedBinaryFilter {
2301
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
2302
+ isNull?: boolean;
2303
+ /** Equal to the specified value. */
2304
+ equalTo?: Base64EncodedBinary;
2305
+ /** Not equal to the specified value. */
2306
+ notEqualTo?: Base64EncodedBinary;
2307
+ /** Not equal to the specified value, treating null like an ordinary value. */
2308
+ distinctFrom?: Base64EncodedBinary;
2309
+ /** Equal to the specified value, treating null like an ordinary value. */
2310
+ notDistinctFrom?: Base64EncodedBinary;
2311
+ /** Included in the specified list. */
2312
+ in?: Base64EncodedBinary[];
2313
+ /** Not included in the specified list. */
2314
+ notIn?: Base64EncodedBinary[];
2315
+ }
2316
+ /** A filter to be used against many `FunctionApiBinding` object types. All fields are combined with a logical ‘and.’ */
2317
+ export interface FunctionDefinitionToManyFunctionApiBindingFilter {
2318
+ /** Filters to entities where at least one related entity matches. */
2319
+ some?: FunctionApiBindingFilter;
2320
+ /** Filters to entities where every related entity matches. */
2321
+ every?: FunctionApiBindingFilter;
2322
+ /** Filters to entities where no related entity matches. */
2323
+ none?: FunctionApiBindingFilter;
2324
+ }
2325
+ /** A filter to be used against many `FunctionDeployment` object types. All fields are combined with a logical ‘and.’ */
2326
+ export interface FunctionDefinitionToManyFunctionDeploymentFilter {
2327
+ /** Filters to entities where at least one related entity matches. */
2328
+ some?: FunctionDeploymentFilter;
2329
+ /** Filters to entities where every related entity matches. */
2330
+ every?: FunctionDeploymentFilter;
2331
+ /** Filters to entities where no related entity matches. */
2332
+ none?: FunctionDeploymentFilter;
2333
+ }
2334
+ /** An input for mutations affecting `FunctionApiBinding` */
2335
+ export interface FunctionApiBindingInput {
2336
+ id?: string;
2337
+ /** Function definition this binding belongs to */
2338
+ functionDefinitionId: string;
2339
+ /** API endpoint this function is bound to */
2340
+ apiId: string;
2341
+ /** Binding alias (e.g. default, staging, production) */
2342
+ alias?: string;
2343
+ /** Per-binding configuration (overrides, routing rules, etc.) */
2344
+ config?: Record<string, unknown>;
2345
+ }
2346
+ /** An input for mutations affecting `FunctionDeployment` */
2347
+ export interface FunctionDeploymentInput {
2348
+ id?: string;
2349
+ createdAt?: string;
2350
+ updatedAt?: string;
2351
+ /** Function definition being deployed to this namespace */
2352
+ functionDefinitionId: string;
2353
+ /** Target namespace for this deployment (maps to a K8s namespace) */
2354
+ namespaceId: string;
2355
+ /** Deployment lifecycle status: pending, provisioning, active, failed, scaled_to_zero, deactivated */
2356
+ status?: string;
2357
+ /** Knative service URL (http://{service-name}.{namespace}.svc.cluster.local) — populated after provisioning */
2358
+ serviceUrl?: string;
2359
+ /** Knative service name — derived from task_identifier at provision time */
2360
+ serviceName?: string;
2361
+ /** Deployment revision number (incremented on each redeployment) */
2362
+ revision?: number;
2363
+ /** Container image override (NULL = inherit from function definition) */
2364
+ image?: string;
2365
+ /** Max concurrent requests per pod (NULL = inherit from definition) */
2366
+ concurrency?: number;
2367
+ /** Minimum replica count (NULL = inherit from definition or Knative default) */
2368
+ scaleMin?: number;
2369
+ /** Maximum replica count (NULL = inherit from definition or Knative default) */
2370
+ scaleMax?: number;
2371
+ /** Request timeout override in seconds (NULL = inherit from definition) */
2372
+ timeoutSeconds?: number;
2373
+ /** K8s resource spec override: {"requests":{"cpu":"100m","memory":"128Mi"},"limits":{...}} */
2374
+ resources?: Record<string, unknown>;
2375
+ /** Most recent provisioning or runtime error message */
2376
+ lastError?: string;
2377
+ /** Timestamp of the most recent error */
2378
+ lastErrorAt?: string;
2379
+ /** Cumulative error count for this deployment */
2380
+ errorCount?: number;
2381
+ /** Key/value pairs for selecting and filtering deployments */
2382
+ labels?: Record<string, unknown>;
2383
+ /** Freeform metadata for tooling and operational notes */
2384
+ annotations?: Record<string, unknown>;
2385
+ /** Database that owns this resource (database-scoped isolation) */
2386
+ databaseId: string;
2387
+ }
2388
+ /** An input for mutations affecting `FunctionGraphRef` */
2389
+ export interface FunctionGraphRefInput {
2390
+ /** Unique ref identifier */
2391
+ id?: string;
2392
+ /** Ref name (e.g. HEAD, main) */
2393
+ name: string;
2394
+ /** Database scope for multi-tenant isolation */
2395
+ databaseId: string;
2396
+ /** Store this ref belongs to */
2397
+ storeId: string;
2398
+ /** Commit this ref points to */
2399
+ commitId?: string;
2400
+ }
2401
+ /** An input for mutations affecting `FunctionGraphStore` */
2402
+ export interface FunctionGraphStoreInput {
2403
+ /** Unique store identifier */
2404
+ id?: string;
2405
+ /** Human-readable store name */
2406
+ name: string;
2407
+ /** Database scope for multi-tenant isolation */
2408
+ databaseId: string;
2409
+ /** Current root object hash of this store */
2410
+ hash?: string;
2411
+ /** Timestamp of store creation */
2412
+ createdAt?: string;
2413
+ }
2414
+ /** An input for mutations affecting `FunctionGraphObject` */
2415
+ export interface FunctionGraphObjectInput {
2416
+ /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
2417
+ id: string;
2418
+ /** Database scope for multi-tenant isolation */
2419
+ databaseId: string;
2420
+ /** Ordered array of child object IDs */
2421
+ kids?: string[];
2422
+ /** Ordered array of child path names (parallel to kids) */
2423
+ ktree?: string[];
2424
+ /** Payload data for this object node */
2425
+ data?: Record<string, unknown>;
2426
+ /** Timestamp of object creation */
2427
+ createdAt?: string;
2428
+ }
2429
+ /** An input for mutations affecting `FunctionDeploymentEvent` */
2430
+ export interface FunctionDeploymentEventInput {
2431
+ /** Event timestamp (partition key) */
2432
+ createdAt?: string;
2433
+ /** Unique event identifier */
2434
+ id?: string;
2435
+ /** Deployment this event belongs to */
2436
+ deploymentId: string;
2437
+ /** Event type: provisioned, scaled, failed, deactivated, redeployed, health_check */
2438
+ eventType: string;
2439
+ /** User who triggered this event (NULL for system/automated) */
2440
+ actorId?: string;
2441
+ /** Human-readable description of the event */
2442
+ message?: string;
2443
+ /** Structured context (old/new values, error details, etc.) */
2444
+ metadata?: Record<string, unknown>;
2445
+ /** Database that owns this resource (database-scoped isolation) */
2446
+ databaseId: string;
2447
+ }
2448
+ /** An input for mutations affecting `OrgFunctionExecutionLog` */
2449
+ export interface OrgFunctionExecutionLogInput {
2450
+ /** Log entry timestamp (partition key) */
2451
+ createdAt?: string;
2452
+ /** Unique log entry identifier */
2453
+ id?: string;
2454
+ /** Invocation this log entry belongs to (NULL for standalone job logs) */
2455
+ invocationId?: string;
2456
+ /** Function routing key (NULL for generic job logs) */
2457
+ taskIdentifier?: string;
2458
+ /** Log severity: debug, info, warn, error */
2459
+ logLevel?: string;
2460
+ /** Log message text */
2461
+ message: string;
2462
+ /** Structured context (labels, trace data, extra fields) */
2463
+ metadata?: Record<string, unknown>;
2464
+ /** User who triggered the execution (NULL for system/cron) */
2465
+ actorId?: string;
2466
+ }
2467
+ /** An input for mutations affecting `FunctionGraphExecutionOutput` */
2468
+ export interface FunctionGraphExecutionOutputInput {
2469
+ /** Timestamp of output creation */
2470
+ createdAt?: string;
2471
+ /** Unique execution output identifier */
2472
+ id?: string;
2473
+ /** Scope for multi-tenant isolation */
2474
+ databaseId: string;
2475
+ /** SHA-256 hash of the data JSONB — content-addressed deduplication */
2476
+ hash: Base64EncodedBinary;
2477
+ /** The actual output payload from a completed node */
2478
+ data: Record<string, unknown>;
2479
+ }
2480
+ /** An input for mutations affecting `FunctionGraphCommit` */
2481
+ export interface FunctionGraphCommitInput {
2482
+ /** Unique commit identifier */
2483
+ id?: string;
2484
+ /** Optional commit message */
2485
+ message?: string;
2486
+ /** Database scope for multi-tenant isolation */
2487
+ databaseId: string;
2488
+ /** Store this commit belongs to */
2489
+ storeId: string;
2490
+ /** Parent commit IDs (supports merge commits) */
2491
+ parentIds?: string[];
2492
+ /** User who authored the changes */
2493
+ authorId?: string;
2494
+ /** User who committed (may differ from author) */
2495
+ committerId?: string;
2496
+ /** Root object ID of the tree snapshot at this commit */
2497
+ treeId?: string;
2498
+ /** Commit timestamp */
2499
+ date?: string;
2500
+ }
2501
+ /** An input for mutations affecting `SecretDefinition` */
2502
+ export interface SecretDefinitionInput {
2503
+ id?: string;
2504
+ createdAt?: string;
2505
+ updatedAt?: string;
2506
+ /** Secret name (must match app_secrets.name for resolution) */
2507
+ name: string;
2508
+ /** Human-readable description of what this secret is used for */
2509
+ description?: string;
2510
+ /** Whether this row was seeded as a built-in secret definition. Built-in rows are immutable. */
2511
+ isBuiltIn?: boolean;
2512
+ /** Key-value metadata for filtering and grouping secret definitions */
2513
+ labels?: Record<string, unknown>;
2514
+ /** Freeform metadata annotations for secret definitions */
2515
+ annotations?: Record<string, unknown>;
2516
+ /** Database that owns this resource (database-scoped isolation) */
2517
+ databaseId: string;
2518
+ }
2519
+ /** An input for mutations affecting `FunctionExecutionLog` */
2520
+ export interface FunctionExecutionLogInput {
2521
+ /** Log entry timestamp (partition key) */
2522
+ createdAt?: string;
2523
+ /** Unique log entry identifier */
2524
+ id?: string;
2525
+ /** Invocation this log entry belongs to (NULL for standalone job logs) */
2526
+ invocationId?: string;
2527
+ /** Function routing key (NULL for generic job logs) */
2528
+ taskIdentifier?: string;
2529
+ /** Log severity: debug, info, warn, error */
2530
+ logLevel?: string;
2531
+ /** Log message text */
2532
+ message: string;
2533
+ /** Structured context (labels, trace data, extra fields) */
2534
+ metadata?: Record<string, unknown>;
2535
+ /** User who triggered the execution (NULL for system/cron) */
2536
+ actorId?: string;
2537
+ /** Database that owns this resource (database-scoped isolation) */
2538
+ databaseId: string;
2539
+ }
2540
+ /** An input for mutations affecting `FunctionGraphExecutionNodeState` */
2541
+ export interface FunctionGraphExecutionNodeStateInput {
2542
+ /** Timestamp of node state creation (partition key) */
2543
+ createdAt?: string;
2544
+ /** Unique node state identifier */
2545
+ id?: string;
2546
+ /** FK to the parent graph execution */
2547
+ executionId: string;
2548
+ /** Scope for multi-tenant isolation */
2549
+ databaseId: string;
2550
+ /** Name of the node within the graph (e.g. send-email1) */
2551
+ nodeName: string;
2552
+ /** Full merkle tree path to this node (e.g. {function,graphs,myflow,nodes,send-email1}) — enables subnet hierarchy tracking */
2553
+ nodePath?: string[];
2554
+ /** Node lifecycle: pending → queued → running → completed/failed */
2555
+ status?: string;
2556
+ /** Timestamp when the node began executing */
2557
+ startedAt?: string;
2558
+ /** Timestamp when the node finished (success or failure) */
2559
+ completedAt?: string;
2560
+ /** Machine-readable error code when status = failed */
2561
+ errorCode?: string;
2562
+ /** Human-readable error description when status = failed */
2563
+ errorMessage?: string;
2564
+ /** FK to execution_outputs — content-addressed output blob for this node */
2565
+ outputId?: string;
2566
+ }
2567
+ /** An input for mutations affecting `OrgFunctionInvocation` */
2568
+ export interface OrgFunctionInvocationInput {
2569
+ /** Invocation creation timestamp (partition key) */
2570
+ createdAt?: string;
2571
+ /** Unique invocation identifier */
2572
+ id?: string;
2573
+ /** Who triggered the invocation (NULL for system/cron) */
2574
+ actorId?: string;
2575
+ /** Function routing slug (scope:name). Links to function_definitions.task_identifier by convention — no FK. */
2576
+ taskIdentifier: string;
2577
+ /** Function input payload */
2578
+ payload?: Record<string, unknown>;
2579
+ /** Lifecycle: pending → running → completed/failed/cancelled */
2580
+ status?: string;
2581
+ /** Function return value (success) or structured error (failure) */
2582
+ result?: Record<string, unknown>;
2583
+ /** Error message when status is failed */
2584
+ error?: string;
2585
+ /** Wall-clock execution time in milliseconds */
2586
+ durationMs?: number;
2587
+ /** FK to app_jobs.jobs — the underlying transport */
2588
+ jobId?: string;
2589
+ /** When execution started */
2590
+ startedAt?: string;
2591
+ /** When execution completed */
2592
+ completedAt?: string;
2593
+ /** Parent invocation when this is a child node of a flow graph execution */
2594
+ parentInvocationId?: string;
2595
+ /** Groups all node invocations from a single flow graph execution */
2596
+ graphExecutionId?: string;
2597
+ }
2598
+ /** An input for mutations affecting `FunctionInvocation` */
2599
+ export interface FunctionInvocationInput {
2600
+ /** Invocation creation timestamp (partition key) */
2601
+ createdAt?: string;
2602
+ /** Unique invocation identifier */
2603
+ id?: string;
2604
+ /** Who triggered the invocation (NULL for system/cron) */
2605
+ actorId?: string;
2606
+ /** Database that owns this resource (database-scoped isolation) */
2607
+ databaseId: string;
2608
+ /** Function routing slug (scope:name). Links to function_definitions.task_identifier by convention — no FK. */
2609
+ taskIdentifier: string;
2610
+ /** Function input payload */
2611
+ payload?: Record<string, unknown>;
2612
+ /** Lifecycle: pending → running → completed/failed/cancelled */
2613
+ status?: string;
2614
+ /** Function return value (success) or structured error (failure) */
2615
+ result?: Record<string, unknown>;
2616
+ /** Error message when status is failed */
2617
+ error?: string;
2618
+ /** Wall-clock execution time in milliseconds */
2619
+ durationMs?: number;
2620
+ /** FK to app_jobs.jobs — the underlying transport */
2621
+ jobId?: string;
2622
+ /** When execution started */
2623
+ startedAt?: string;
2624
+ /** When execution completed */
2625
+ completedAt?: string;
2626
+ /** Parent invocation when this is a child node of a flow graph execution */
2627
+ parentInvocationId?: string;
2628
+ /** Groups all node invocations from a single flow graph execution */
2629
+ graphExecutionId?: string;
2630
+ }
2631
+ /** An input for mutations affecting `FunctionGraphExecution` */
2632
+ export interface FunctionGraphExecutionInput {
2633
+ /** Execution start timestamp */
2634
+ startedAt?: string;
2635
+ /** Unique execution identifier */
2636
+ id?: string;
2637
+ /** FK to the graph definition being executed */
2638
+ graphId: string;
2639
+ /** Parent function_invocations row (for metering) */
2640
+ invocationId?: string;
2641
+ /** Scope for multi-tenant isolation */
2642
+ databaseId: string;
2643
+ /** Entity context (org/team) for scoped billing */
2644
+ entityId?: string;
2645
+ /** Target output boundary node name to resolve */
2646
+ outputNode: string;
2647
+ /** Target output port name (default: value) */
2648
+ outputPort?: string;
2649
+ /** Lifecycle: pending → running → completed/failed/cancelled */
2650
+ status?: string;
2651
+ /** Initial inputs provided at invocation time */
2652
+ inputPayload?: Record<string, unknown>;
2653
+ /** Final result extracted from terminal output node */
2654
+ outputPayload?: Record<string, unknown>;
2655
+ /** Map of node_name → execution output id (content-addressed hash reference) */
2656
+ nodeOutputs?: Record<string, unknown>;
2657
+ /** Pre-computed topological sort as array of wave objects */
2658
+ executionPlan?: Record<string, unknown>;
2659
+ /** Index into execution_plan — tick only processes this wave */
2660
+ currentWave?: number;
2661
+ /** Parent execution when this is a sub-execution */
2662
+ parentExecutionId?: string;
2663
+ /** Node name in parent execution that spawned this sub-execution */
2664
+ parentNodeName?: string;
2665
+ /** Pinned definitions store commit for deterministic evaluation */
2666
+ definitionsCommitId?: string;
2667
+ /** Number of evaluate_step ticks executed */
2668
+ tickCount?: number;
2669
+ /** Execution completion timestamp */
2670
+ completedAt?: string;
2671
+ /** Maximum ticks before execution is failed (default 100) */
2672
+ maxTicks?: number;
2673
+ /** Maximum pending jobs before execution is failed (default 50) */
2674
+ maxPendingJobs?: number;
2675
+ /** Absolute deadline — execution fails if still running after this time */
2676
+ timeoutAt?: string;
2677
+ /** Machine-readable error code when status = failed */
2678
+ errorCode?: string;
2679
+ /** Human-readable error description when status = failed */
2680
+ errorMessage?: string;
2681
+ }
2682
+ /** An input for mutations affecting `FunctionDefinition` */
2683
+ export interface FunctionDefinitionInput {
2684
+ id?: string;
2685
+ createdAt?: string;
2686
+ updatedAt?: string;
2687
+ /** Function grouping scope (e.g. email, embed, chunk, custom) */
2688
+ scope: string;
2689
+ /** Function name within scope (e.g. send_verification_link, process_file_embedding) */
2690
+ name: string;
2691
+ /** Computed routing slug: scope:name (used by Knative job worker for dispatch) */
2692
+ taskIdentifier: string;
2693
+ /** Human-readable description of what this function does */
2694
+ description?: string;
2695
+ /** Whether this function can be called via function_invocations (public API). Default false = internal-only via add_job() */
2696
+ isInvocable?: boolean;
2697
+ /** Maximum retry attempts for the underlying job */
2698
+ maxAttempts?: number;
2699
+ /** Job priority (lower = higher priority) */
2700
+ priority?: number;
2701
+ /** Job queue name for serialization (e.g. email, ai, default) */
2702
+ queueName?: string;
2703
+ /** Execution mode: http (Knative Service dispatch) or inline (in-process in compute worker) */
2704
+ runtime?: string;
2705
+ /** Docker image reference (e.g. ghcr.io/constructive-io/email-send-fn:latest). Required when runtime=http. NULL for inline functions. */
2706
+ image?: string;
2707
+ /** Knative containerConcurrency — max concurrent requests per pod instance */
2708
+ concurrency?: number;
2709
+ /** Minimum pod count for Knative autoscaling (minScale) */
2710
+ scaleMin?: number;
2711
+ /** Maximum pod count for Knative autoscaling (maxScale) */
2712
+ scaleMax?: number;
2713
+ /** Knative request timeout in seconds */
2714
+ timeoutSeconds?: number;
2715
+ /** Container resource requests and limits: {requests: {memory, cpu}, limits: {memory, cpu}} */
2716
+ resources?: Record<string, unknown>;
2717
+ /** Whether this function is a built-in platform function (synced from platform) vs user-created */
2718
+ isBuiltIn?: boolean;
2719
+ /** Embedded secret requirements: array of (name, required) tuples */
2720
+ requiredSecrets?: FunctionRequirementInput[];
2721
+ /** Embedded config requirements: array of (name, required) tuples */
2722
+ requiredConfigs?: FunctionRequirementInput[];
2723
+ /** Bucket keys this function needs (e.g. uploads, exports). Empty = no bucket requirements. */
2724
+ requiredBuckets?: string[];
2725
+ /** Inference model whitelist (e.g. gpt-4o, claude-3). Empty = no model requirements. */
2726
+ requiredModels?: string[];
2727
+ /** Data input ports: [{name, type, description?, optional?, multi?, schema?}] */
2728
+ inputs?: Record<string, unknown>;
2729
+ /** Data output ports: [{name, type, description?, optional?, multi?, schema?}] */
2730
+ outputs?: Record<string, unknown>;
2731
+ /** Configuration properties: [{name, type, default?, description?, required?, schema?}] */
2732
+ props?: Record<string, unknown>;
2733
+ /** Whether this function has side effects and cannot be cached or memoized */
2734
+ volatile?: boolean;
2735
+ /** Icon identifier for UI palette rendering (e.g. mail, database, code) */
2736
+ icon?: string;
2737
+ /** Palette grouping category (e.g. email, data, ai, custom) */
2738
+ category?: string;
2739
+ }
2740
+ /** An input for mutations affecting `FunctionRequirement` */
2741
+ export interface FunctionRequirementInput {
2742
+ name?: string;
2743
+ required?: boolean;
2744
+ }
2745
+ /** An interval of time that has passed where the smallest distinct unit is a second. */
2746
+ export interface IntervalInput {
2747
+ /**
2748
+ * A quantity of seconds. This is the only non-integer field, as all the other
2749
+ * fields will dump their overflow into a smaller unit of time. Intervals don’t
2750
+ * have a smaller unit than seconds.
2751
+ */
2752
+ seconds?: number;
2753
+ /** A quantity of minutes. */
2754
+ minutes?: number;
2755
+ /** A quantity of hours. */
2756
+ hours?: number;
2757
+ /** A quantity of days. */
2758
+ days?: number;
2759
+ /** A quantity of months. */
2760
+ months?: number;
2761
+ /** A quantity of years. */
2762
+ years?: number;
2763
+ }
2764
+ /** A filter to be used against `FunctionApiBinding` object types. All fields are combined with a logical ‘and.’ */
2765
+ export interface FunctionApiBindingFilter {
2766
+ /** Filter by the object’s `id` field. */
2767
+ id?: UUIDFilter;
2768
+ /** Filter by the object’s `functionDefinitionId` field. */
2769
+ functionDefinitionId?: UUIDFilter;
2770
+ /** Filter by the object’s `apiId` field. */
2771
+ apiId?: UUIDFilter;
2772
+ /** Filter by the object’s `alias` field. */
2773
+ alias?: StringFilter;
2774
+ /** Filter by the object’s `config` field. */
2775
+ config?: JSONFilter;
2776
+ /** Checks for all expressions in this list. */
2777
+ and?: FunctionApiBindingFilter[];
2778
+ /** Checks for any expressions in this list. */
2779
+ or?: FunctionApiBindingFilter[];
2780
+ /** Negates the expression. */
2781
+ not?: FunctionApiBindingFilter;
2782
+ /** Filter by the object’s `functionDefinition` relation. */
2783
+ functionDefinition?: FunctionDefinitionFilter;
2784
+ }
2785
+ /** A filter to be used against `FunctionDeployment` object types. All fields are combined with a logical ‘and.’ */
2786
+ export interface FunctionDeploymentFilter {
2787
+ /** Filter by the object’s `id` field. */
2788
+ id?: UUIDFilter;
2789
+ /** Filter by the object’s `createdAt` field. */
2790
+ createdAt?: DatetimeFilter;
2791
+ /** Filter by the object’s `updatedAt` field. */
2792
+ updatedAt?: DatetimeFilter;
2793
+ /** Filter by the object’s `functionDefinitionId` field. */
2794
+ functionDefinitionId?: UUIDFilter;
2795
+ /** Filter by the object’s `namespaceId` field. */
2796
+ namespaceId?: UUIDFilter;
2797
+ /** Filter by the object’s `status` field. */
2798
+ status?: StringFilter;
2799
+ /** Filter by the object’s `serviceUrl` field. */
2800
+ serviceUrl?: StringFilter;
2801
+ /** Filter by the object’s `serviceName` field. */
2802
+ serviceName?: StringFilter;
2803
+ /** Filter by the object’s `revision` field. */
2804
+ revision?: IntFilter;
2805
+ /** Filter by the object’s `image` field. */
2806
+ image?: StringFilter;
2807
+ /** Filter by the object’s `concurrency` field. */
2808
+ concurrency?: IntFilter;
2809
+ /** Filter by the object’s `scaleMin` field. */
2810
+ scaleMin?: IntFilter;
2811
+ /** Filter by the object’s `scaleMax` field. */
2812
+ scaleMax?: IntFilter;
2813
+ /** Filter by the object’s `timeoutSeconds` field. */
2814
+ timeoutSeconds?: IntFilter;
2815
+ /** Filter by the object’s `resources` field. */
2816
+ resources?: JSONFilter;
2817
+ /** Filter by the object’s `lastError` field. */
2818
+ lastError?: StringFilter;
2819
+ /** Filter by the object’s `lastErrorAt` field. */
2820
+ lastErrorAt?: DatetimeFilter;
2821
+ /** Filter by the object’s `errorCount` field. */
2822
+ errorCount?: IntFilter;
2823
+ /** Filter by the object’s `labels` field. */
2824
+ labels?: JSONFilter;
2825
+ /** Filter by the object’s `annotations` field. */
2826
+ annotations?: JSONFilter;
2827
+ /** Filter by the object’s `databaseId` field. */
2828
+ databaseId?: UUIDFilter;
2829
+ /** Checks for all expressions in this list. */
2830
+ and?: FunctionDeploymentFilter[];
2831
+ /** Checks for any expressions in this list. */
2832
+ or?: FunctionDeploymentFilter[];
2833
+ /** Negates the expression. */
2834
+ not?: FunctionDeploymentFilter;
2835
+ /** Filter by the object’s `functionDefinition` relation. */
2836
+ functionDefinition?: FunctionDefinitionFilter;
2837
+ }
2838
+ /** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
2839
+ export interface UUIDFilter {
2840
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
2841
+ isNull?: boolean;
2842
+ /** Equal to the specified value. */
2843
+ equalTo?: string;
2844
+ /** Not equal to the specified value. */
2845
+ notEqualTo?: string;
2846
+ /** Not equal to the specified value, treating null like an ordinary value. */
2847
+ distinctFrom?: string;
2848
+ /** Equal to the specified value, treating null like an ordinary value. */
2849
+ notDistinctFrom?: string;
2850
+ /** Included in the specified list. */
2851
+ in?: string[];
2852
+ /** Not included in the specified list. */
2853
+ notIn?: string[];
2854
+ /** Less than the specified value. */
2855
+ lessThan?: string;
2856
+ /** Less than or equal to the specified value. */
2857
+ lessThanOrEqualTo?: string;
2858
+ /** Greater than the specified value. */
2859
+ greaterThan?: string;
2860
+ /** Greater than or equal to the specified value. */
2861
+ greaterThanOrEqualTo?: string;
2862
+ }
2863
+ /** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
2864
+ export interface StringFilter {
2865
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
2866
+ isNull?: boolean;
2867
+ /** Equal to the specified value. */
2868
+ equalTo?: string;
2869
+ /** Not equal to the specified value. */
2870
+ notEqualTo?: string;
2871
+ /** Not equal to the specified value, treating null like an ordinary value. */
2872
+ distinctFrom?: string;
2873
+ /** Equal to the specified value, treating null like an ordinary value. */
2874
+ notDistinctFrom?: string;
2875
+ /** Included in the specified list. */
2876
+ in?: string[];
2877
+ /** Not included in the specified list. */
2878
+ notIn?: string[];
2879
+ /** Less than the specified value. */
2880
+ lessThan?: string;
2881
+ /** Less than or equal to the specified value. */
2882
+ lessThanOrEqualTo?: string;
2883
+ /** Greater than the specified value. */
2884
+ greaterThan?: string;
2885
+ /** Greater than or equal to the specified value. */
2886
+ greaterThanOrEqualTo?: string;
2887
+ /** Contains the specified string (case-sensitive). */
2888
+ includes?: string;
2889
+ /** Does not contain the specified string (case-sensitive). */
2890
+ notIncludes?: string;
2891
+ /** Contains the specified string (case-insensitive). */
2892
+ includesInsensitive?: string;
2893
+ /** Does not contain the specified string (case-insensitive). */
2894
+ notIncludesInsensitive?: string;
2895
+ /** Starts with the specified string (case-sensitive). */
2896
+ startsWith?: string;
2897
+ /** Does not start with the specified string (case-sensitive). */
2898
+ notStartsWith?: string;
2899
+ /** Starts with the specified string (case-insensitive). */
2900
+ startsWithInsensitive?: string;
2901
+ /** Does not start with the specified string (case-insensitive). */
2902
+ notStartsWithInsensitive?: string;
2903
+ /** Ends with the specified string (case-sensitive). */
2904
+ endsWith?: string;
2905
+ /** Does not end with the specified string (case-sensitive). */
2906
+ notEndsWith?: string;
2907
+ /** Ends with the specified string (case-insensitive). */
2908
+ endsWithInsensitive?: string;
2909
+ /** Does not end with the specified string (case-insensitive). */
2910
+ notEndsWithInsensitive?: string;
2911
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
2912
+ like?: string;
2913
+ /** 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. */
2914
+ notLike?: string;
2915
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
2916
+ likeInsensitive?: string;
2917
+ /** 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. */
2918
+ notLikeInsensitive?: string;
2919
+ /** Equal to the specified value (case-insensitive). */
2920
+ equalToInsensitive?: string;
2921
+ /** Not equal to the specified value (case-insensitive). */
2922
+ notEqualToInsensitive?: string;
2923
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
2924
+ distinctFromInsensitive?: string;
2925
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
2926
+ notDistinctFromInsensitive?: string;
2927
+ /** Included in the specified list (case-insensitive). */
2928
+ inInsensitive?: string[];
2929
+ /** Not included in the specified list (case-insensitive). */
2930
+ notInInsensitive?: string[];
2931
+ /** Less than the specified value (case-insensitive). */
2932
+ lessThanInsensitive?: string;
2933
+ /** Less than or equal to the specified value (case-insensitive). */
2934
+ lessThanOrEqualToInsensitive?: string;
2935
+ /** Greater than the specified value (case-insensitive). */
2936
+ greaterThanInsensitive?: string;
2937
+ /** Greater than or equal to the specified value (case-insensitive). */
2938
+ greaterThanOrEqualToInsensitive?: string;
2939
+ }
2940
+ /** A filter to be used against JSON fields. All fields are combined with a logical ‘and.’ */
2941
+ export interface JSONFilter {
2942
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
2943
+ isNull?: boolean;
2944
+ /** Equal to the specified value. */
2945
+ equalTo?: Record<string, unknown>;
2946
+ /** Not equal to the specified value. */
2947
+ notEqualTo?: Record<string, unknown>;
2948
+ /** Not equal to the specified value, treating null like an ordinary value. */
2949
+ distinctFrom?: Record<string, unknown>;
2950
+ /** Equal to the specified value, treating null like an ordinary value. */
2951
+ notDistinctFrom?: Record<string, unknown>;
2952
+ /** Included in the specified list. */
2953
+ in?: Record<string, unknown>[];
2954
+ /** Not included in the specified list. */
2955
+ notIn?: Record<string, unknown>[];
2956
+ /** Less than the specified value. */
2957
+ lessThan?: Record<string, unknown>;
2958
+ /** Less than or equal to the specified value. */
2959
+ lessThanOrEqualTo?: Record<string, unknown>;
2960
+ /** Greater than the specified value. */
2961
+ greaterThan?: Record<string, unknown>;
2962
+ /** Greater than or equal to the specified value. */
2963
+ greaterThanOrEqualTo?: Record<string, unknown>;
2964
+ /** Contains the specified JSON. */
2965
+ contains?: Record<string, unknown>;
2966
+ /** Contains the specified key. */
2967
+ containsKey?: string;
2968
+ /** Contains all of the specified keys. */
2969
+ containsAllKeys?: string[];
2970
+ /** Contains any of the specified keys. */
2971
+ containsAnyKeys?: string[];
2972
+ /** Contained by the specified JSON. */
2973
+ containedBy?: Record<string, unknown>;
2974
+ }
2975
+ /** A filter to be used against `FunctionDefinition` object types. All fields are combined with a logical ‘and.’ */
2976
+ export interface FunctionDefinitionFilter {
2977
+ /** Filter by the object’s `id` field. */
2978
+ id?: UUIDFilter;
2979
+ /** Filter by the object’s `createdAt` field. */
2980
+ createdAt?: DatetimeFilter;
2981
+ /** Filter by the object’s `updatedAt` field. */
2982
+ updatedAt?: DatetimeFilter;
2983
+ /** Filter by the object’s `scope` field. */
2984
+ scope?: StringFilter;
2985
+ /** Filter by the object’s `name` field. */
2986
+ name?: StringFilter;
2987
+ /** Filter by the object’s `taskIdentifier` field. */
2988
+ taskIdentifier?: StringFilter;
2989
+ /** Filter by the object’s `description` field. */
2990
+ description?: StringFilter;
2991
+ /** Filter by the object’s `isInvocable` field. */
2992
+ isInvocable?: BooleanFilter;
2993
+ /** Filter by the object’s `maxAttempts` field. */
2994
+ maxAttempts?: IntFilter;
2995
+ /** Filter by the object’s `priority` field. */
2996
+ priority?: IntFilter;
2997
+ /** Filter by the object’s `queueName` field. */
2998
+ queueName?: StringFilter;
2999
+ /** Filter by the object’s `runtime` field. */
3000
+ runtime?: StringFilter;
3001
+ /** Filter by the object’s `image` field. */
3002
+ image?: StringFilter;
3003
+ /** Filter by the object’s `concurrency` field. */
3004
+ concurrency?: IntFilter;
3005
+ /** Filter by the object’s `scaleMin` field. */
3006
+ scaleMin?: IntFilter;
3007
+ /** Filter by the object’s `scaleMax` field. */
3008
+ scaleMax?: IntFilter;
3009
+ /** Filter by the object’s `timeoutSeconds` field. */
3010
+ timeoutSeconds?: IntFilter;
3011
+ /** Filter by the object’s `resources` field. */
3012
+ resources?: JSONFilter;
3013
+ /** Filter by the object’s `isBuiltIn` field. */
3014
+ isBuiltIn?: BooleanFilter;
3015
+ /** Filter by the object’s `requiredBuckets` field. */
3016
+ requiredBuckets?: StringListFilter;
3017
+ /** Filter by the object’s `requiredModels` field. */
3018
+ requiredModels?: StringListFilter;
3019
+ /** Filter by the object’s `inputs` field. */
3020
+ inputs?: JSONFilter;
3021
+ /** Filter by the object’s `outputs` field. */
3022
+ outputs?: JSONFilter;
3023
+ /** Filter by the object’s `props` field. */
3024
+ props?: JSONFilter;
3025
+ /** Filter by the object’s `volatile` field. */
3026
+ volatile?: BooleanFilter;
3027
+ /** Filter by the object’s `icon` field. */
3028
+ icon?: StringFilter;
3029
+ /** Filter by the object’s `category` field. */
3030
+ category?: StringFilter;
3031
+ /** Checks for all expressions in this list. */
3032
+ and?: FunctionDefinitionFilter[];
3033
+ /** Checks for any expressions in this list. */
3034
+ or?: FunctionDefinitionFilter[];
3035
+ /** Negates the expression. */
3036
+ not?: FunctionDefinitionFilter;
3037
+ /** Filter by the object’s `functionApiBindings` relation. */
3038
+ functionApiBindings?: FunctionDefinitionToManyFunctionApiBindingFilter;
3039
+ /** `functionApiBindings` exist. */
3040
+ functionApiBindingsExist?: boolean;
3041
+ /** Filter by the object’s `functionDeployments` relation. */
3042
+ functionDeployments?: FunctionDefinitionToManyFunctionDeploymentFilter;
3043
+ /** `functionDeployments` exist. */
3044
+ functionDeploymentsExist?: boolean;
3045
+ }
3046
+ /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
3047
+ export interface DatetimeFilter {
3048
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3049
+ isNull?: boolean;
3050
+ /** Equal to the specified value. */
3051
+ equalTo?: string;
3052
+ /** Not equal to the specified value. */
3053
+ notEqualTo?: string;
3054
+ /** Not equal to the specified value, treating null like an ordinary value. */
3055
+ distinctFrom?: string;
3056
+ /** Equal to the specified value, treating null like an ordinary value. */
3057
+ notDistinctFrom?: string;
3058
+ /** Included in the specified list. */
3059
+ in?: string[];
3060
+ /** Not included in the specified list. */
3061
+ notIn?: string[];
3062
+ /** Less than the specified value. */
3063
+ lessThan?: string;
3064
+ /** Less than or equal to the specified value. */
3065
+ lessThanOrEqualTo?: string;
3066
+ /** Greater than the specified value. */
3067
+ greaterThan?: string;
3068
+ /** Greater than or equal to the specified value. */
3069
+ greaterThanOrEqualTo?: string;
3070
+ }
3071
+ /** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
3072
+ export interface IntFilter {
3073
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3074
+ isNull?: boolean;
3075
+ /** Equal to the specified value. */
3076
+ equalTo?: number;
3077
+ /** Not equal to the specified value. */
3078
+ notEqualTo?: number;
3079
+ /** Not equal to the specified value, treating null like an ordinary value. */
3080
+ distinctFrom?: number;
3081
+ /** Equal to the specified value, treating null like an ordinary value. */
3082
+ notDistinctFrom?: number;
3083
+ /** Included in the specified list. */
3084
+ in?: number[];
3085
+ /** Not included in the specified list. */
3086
+ notIn?: number[];
3087
+ /** Less than the specified value. */
3088
+ lessThan?: number;
3089
+ /** Less than or equal to the specified value. */
3090
+ lessThanOrEqualTo?: number;
3091
+ /** Greater than the specified value. */
3092
+ greaterThan?: number;
3093
+ /** Greater than or equal to the specified value. */
3094
+ greaterThanOrEqualTo?: number;
3095
+ }
3096
+ /** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
3097
+ export interface BooleanFilter {
3098
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3099
+ isNull?: boolean;
3100
+ /** Equal to the specified value. */
3101
+ equalTo?: boolean;
3102
+ /** Not equal to the specified value. */
3103
+ notEqualTo?: boolean;
3104
+ /** Not equal to the specified value, treating null like an ordinary value. */
3105
+ distinctFrom?: boolean;
3106
+ /** Equal to the specified value, treating null like an ordinary value. */
3107
+ notDistinctFrom?: boolean;
3108
+ /** Included in the specified list. */
3109
+ in?: boolean[];
3110
+ /** Not included in the specified list. */
3111
+ notIn?: boolean[];
3112
+ /** Less than the specified value. */
3113
+ lessThan?: boolean;
3114
+ /** Less than or equal to the specified value. */
3115
+ lessThanOrEqualTo?: boolean;
3116
+ /** Greater than the specified value. */
3117
+ greaterThan?: boolean;
3118
+ /** Greater than or equal to the specified value. */
3119
+ greaterThanOrEqualTo?: boolean;
3120
+ }
3121
+ /** A filter to be used against String List fields. All fields are combined with a logical ‘and.’ */
3122
+ export interface StringListFilter {
3123
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3124
+ isNull?: boolean;
3125
+ /** Equal to the specified value. */
3126
+ equalTo?: string[];
3127
+ /** Not equal to the specified value. */
3128
+ notEqualTo?: string[];
3129
+ /** Not equal to the specified value, treating null like an ordinary value. */
3130
+ distinctFrom?: string[];
3131
+ /** Equal to the specified value, treating null like an ordinary value. */
3132
+ notDistinctFrom?: string[];
3133
+ /** Less than the specified value. */
3134
+ lessThan?: string[];
3135
+ /** Less than or equal to the specified value. */
3136
+ lessThanOrEqualTo?: string[];
3137
+ /** Greater than the specified value. */
3138
+ greaterThan?: string[];
3139
+ /** Greater than or equal to the specified value. */
3140
+ greaterThanOrEqualTo?: string[];
3141
+ /** Contains the specified list of values. */
3142
+ contains?: string[];
3143
+ /** Contained by the specified list of values. */
3144
+ containedBy?: string[];
3145
+ /** Overlaps the specified list of values. */
3146
+ overlaps?: string[];
3147
+ /** Any array item is equal to the specified value. */
3148
+ anyEqualTo?: string;
3149
+ /** Any array item is not equal to the specified value. */
3150
+ anyNotEqualTo?: string;
3151
+ /** Any array item is less than the specified value. */
3152
+ anyLessThan?: string;
3153
+ /** Any array item is less than or equal to the specified value. */
3154
+ anyLessThanOrEqualTo?: string;
3155
+ /** Any array item is greater than the specified value. */
3156
+ anyGreaterThan?: string;
3157
+ /** Any array item is greater than or equal to the specified value. */
3158
+ anyGreaterThanOrEqualTo?: string;
3159
+ }
3160
+ export interface ValidateFunctionGraphPayload {
3161
+ clientMutationId?: string | null;
3162
+ result?: boolean | null;
3163
+ }
3164
+ export type ValidateFunctionGraphPayloadSelect = {
3165
+ clientMutationId?: boolean;
3166
+ result?: boolean;
3167
+ };
3168
+ export interface InitEmptyRepoPayload {
3169
+ clientMutationId?: string | null;
3170
+ }
3171
+ export type InitEmptyRepoPayloadSelect = {
3172
+ clientMutationId?: boolean;
3173
+ };
3174
+ export interface SetDataAtPathPayload {
3175
+ clientMutationId?: string | null;
3176
+ result?: string | null;
3177
+ }
3178
+ export type SetDataAtPathPayloadSelect = {
3179
+ clientMutationId?: boolean;
3180
+ result?: boolean;
3181
+ };
3182
+ export interface ImportDefinitionsPayload {
3183
+ clientMutationId?: string | null;
3184
+ }
3185
+ export type ImportDefinitionsPayloadSelect = {
3186
+ clientMutationId?: boolean;
3187
+ };
3188
+ export interface CopyGraphPayload {
3189
+ clientMutationId?: string | null;
3190
+ result?: string | null;
3191
+ }
3192
+ export type CopyGraphPayloadSelect = {
3193
+ clientMutationId?: boolean;
3194
+ result?: boolean;
3195
+ };
3196
+ export interface SaveGraphPayload {
3197
+ clientMutationId?: string | null;
3198
+ result?: string | null;
3199
+ }
3200
+ export type SaveGraphPayloadSelect = {
3201
+ clientMutationId?: boolean;
3202
+ result?: boolean;
3203
+ };
3204
+ export interface AddEdgeAndSavePayload {
3205
+ clientMutationId?: string | null;
3206
+ result?: string | null;
3207
+ }
3208
+ export type AddEdgeAndSavePayloadSelect = {
3209
+ clientMutationId?: boolean;
3210
+ result?: boolean;
3211
+ };
3212
+ export interface AddNodeAndSavePayload {
3213
+ clientMutationId?: string | null;
3214
+ result?: string | null;
3215
+ }
3216
+ export type AddNodeAndSavePayloadSelect = {
3217
+ clientMutationId?: boolean;
3218
+ result?: boolean;
3219
+ };
3220
+ export interface AddEdgePayload {
3221
+ clientMutationId?: string | null;
3222
+ result?: string | null;
3223
+ }
3224
+ export type AddEdgePayloadSelect = {
3225
+ clientMutationId?: boolean;
3226
+ result?: boolean;
3227
+ };
3228
+ export interface AddNodePayload {
3229
+ clientMutationId?: string | null;
3230
+ result?: string | null;
3231
+ }
3232
+ export type AddNodePayloadSelect = {
3233
+ clientMutationId?: boolean;
3234
+ result?: boolean;
3235
+ };
3236
+ export interface ImportGraphJsonPayload {
3237
+ clientMutationId?: string | null;
3238
+ result?: string | null;
3239
+ }
3240
+ export type ImportGraphJsonPayloadSelect = {
3241
+ clientMutationId?: boolean;
3242
+ result?: boolean;
3243
+ };
3244
+ export interface InsertNodeAtPathPayload {
3245
+ clientMutationId?: string | null;
3246
+ result?: string | null;
3247
+ }
3248
+ export type InsertNodeAtPathPayloadSelect = {
3249
+ clientMutationId?: boolean;
3250
+ result?: boolean;
3251
+ };
3252
+ export interface StartExecutionPayload {
3253
+ clientMutationId?: string | null;
3254
+ result?: string | null;
3255
+ }
3256
+ export type StartExecutionPayloadSelect = {
3257
+ clientMutationId?: boolean;
3258
+ result?: boolean;
3259
+ };
3260
+ export interface ProvisionBucketPayload {
3261
+ /** Whether provisioning succeeded */
3262
+ success: boolean;
3263
+ /** The S3 bucket name that was provisioned */
3264
+ bucketName: string;
3265
+ /** The access type applied */
3266
+ accessType: string;
3267
+ /** The storage provider used */
3268
+ provider: string;
3269
+ /** The S3 endpoint (null for AWS S3 default) */
3270
+ endpoint?: string | null;
3271
+ /** Error message if provisioning failed */
3272
+ error?: string | null;
3273
+ }
3274
+ export type ProvisionBucketPayloadSelect = {
3275
+ success?: boolean;
3276
+ bucketName?: boolean;
3277
+ accessType?: boolean;
3278
+ provider?: boolean;
3279
+ endpoint?: boolean;
3280
+ error?: boolean;
3281
+ };
3282
+ export interface CreateFunctionApiBindingPayload {
3283
+ clientMutationId?: string | null;
3284
+ /** The `FunctionApiBinding` that was created by this mutation. */
3285
+ functionApiBinding?: FunctionApiBinding | null;
3286
+ functionApiBindingEdge?: FunctionApiBindingEdge | null;
3287
+ }
3288
+ export type CreateFunctionApiBindingPayloadSelect = {
3289
+ clientMutationId?: boolean;
3290
+ functionApiBinding?: {
3291
+ select: FunctionApiBindingSelect;
3292
+ };
3293
+ functionApiBindingEdge?: {
3294
+ select: FunctionApiBindingEdgeSelect;
3295
+ };
3296
+ };
3297
+ export interface UpdateFunctionApiBindingPayload {
3298
+ clientMutationId?: string | null;
3299
+ /** The `FunctionApiBinding` that was updated by this mutation. */
3300
+ functionApiBinding?: FunctionApiBinding | null;
3301
+ functionApiBindingEdge?: FunctionApiBindingEdge | null;
3302
+ }
3303
+ export type UpdateFunctionApiBindingPayloadSelect = {
3304
+ clientMutationId?: boolean;
3305
+ functionApiBinding?: {
3306
+ select: FunctionApiBindingSelect;
3307
+ };
3308
+ functionApiBindingEdge?: {
3309
+ select: FunctionApiBindingEdgeSelect;
3310
+ };
3311
+ };
3312
+ export interface DeleteFunctionApiBindingPayload {
3313
+ clientMutationId?: string | null;
3314
+ /** The `FunctionApiBinding` that was deleted by this mutation. */
3315
+ functionApiBinding?: FunctionApiBinding | null;
3316
+ functionApiBindingEdge?: FunctionApiBindingEdge | null;
3317
+ }
3318
+ export type DeleteFunctionApiBindingPayloadSelect = {
3319
+ clientMutationId?: boolean;
3320
+ functionApiBinding?: {
3321
+ select: FunctionApiBindingSelect;
3322
+ };
3323
+ functionApiBindingEdge?: {
3324
+ select: FunctionApiBindingEdgeSelect;
3325
+ };
3326
+ };
3327
+ export interface CreateFunctionDeploymentPayload {
3328
+ clientMutationId?: string | null;
3329
+ /** The `FunctionDeployment` that was created by this mutation. */
3330
+ functionDeployment?: FunctionDeployment | null;
3331
+ functionDeploymentEdge?: FunctionDeploymentEdge | null;
3332
+ }
3333
+ export type CreateFunctionDeploymentPayloadSelect = {
3334
+ clientMutationId?: boolean;
3335
+ functionDeployment?: {
3336
+ select: FunctionDeploymentSelect;
3337
+ };
3338
+ functionDeploymentEdge?: {
3339
+ select: FunctionDeploymentEdgeSelect;
3340
+ };
3341
+ };
3342
+ export interface UpdateFunctionDeploymentPayload {
3343
+ clientMutationId?: string | null;
3344
+ /** The `FunctionDeployment` that was updated by this mutation. */
3345
+ functionDeployment?: FunctionDeployment | null;
3346
+ functionDeploymentEdge?: FunctionDeploymentEdge | null;
3347
+ }
3348
+ export type UpdateFunctionDeploymentPayloadSelect = {
3349
+ clientMutationId?: boolean;
3350
+ functionDeployment?: {
3351
+ select: FunctionDeploymentSelect;
3352
+ };
3353
+ functionDeploymentEdge?: {
3354
+ select: FunctionDeploymentEdgeSelect;
3355
+ };
3356
+ };
3357
+ export interface DeleteFunctionDeploymentPayload {
3358
+ clientMutationId?: string | null;
3359
+ /** The `FunctionDeployment` that was deleted by this mutation. */
3360
+ functionDeployment?: FunctionDeployment | null;
3361
+ functionDeploymentEdge?: FunctionDeploymentEdge | null;
3362
+ }
3363
+ export type DeleteFunctionDeploymentPayloadSelect = {
3364
+ clientMutationId?: boolean;
3365
+ functionDeployment?: {
3366
+ select: FunctionDeploymentSelect;
3367
+ };
3368
+ functionDeploymentEdge?: {
3369
+ select: FunctionDeploymentEdgeSelect;
3370
+ };
3371
+ };
3372
+ export interface CreateFunctionGraphRefPayload {
3373
+ clientMutationId?: string | null;
3374
+ /** The `FunctionGraphRef` that was created by this mutation. */
3375
+ functionGraphRef?: FunctionGraphRef | null;
3376
+ functionGraphRefEdge?: FunctionGraphRefEdge | null;
3377
+ }
3378
+ export type CreateFunctionGraphRefPayloadSelect = {
3379
+ clientMutationId?: boolean;
3380
+ functionGraphRef?: {
3381
+ select: FunctionGraphRefSelect;
3382
+ };
3383
+ functionGraphRefEdge?: {
3384
+ select: FunctionGraphRefEdgeSelect;
3385
+ };
3386
+ };
3387
+ export interface UpdateFunctionGraphRefPayload {
3388
+ clientMutationId?: string | null;
3389
+ /** The `FunctionGraphRef` that was updated by this mutation. */
3390
+ functionGraphRef?: FunctionGraphRef | null;
3391
+ functionGraphRefEdge?: FunctionGraphRefEdge | null;
3392
+ }
3393
+ export type UpdateFunctionGraphRefPayloadSelect = {
3394
+ clientMutationId?: boolean;
3395
+ functionGraphRef?: {
3396
+ select: FunctionGraphRefSelect;
3397
+ };
3398
+ functionGraphRefEdge?: {
3399
+ select: FunctionGraphRefEdgeSelect;
3400
+ };
3401
+ };
3402
+ export interface DeleteFunctionGraphRefPayload {
3403
+ clientMutationId?: string | null;
3404
+ /** The `FunctionGraphRef` that was deleted by this mutation. */
3405
+ functionGraphRef?: FunctionGraphRef | null;
3406
+ functionGraphRefEdge?: FunctionGraphRefEdge | null;
3407
+ }
3408
+ export type DeleteFunctionGraphRefPayloadSelect = {
3409
+ clientMutationId?: boolean;
3410
+ functionGraphRef?: {
3411
+ select: FunctionGraphRefSelect;
3412
+ };
3413
+ functionGraphRefEdge?: {
3414
+ select: FunctionGraphRefEdgeSelect;
3415
+ };
3416
+ };
3417
+ export interface CreateFunctionGraphStorePayload {
3418
+ clientMutationId?: string | null;
3419
+ /** The `FunctionGraphStore` that was created by this mutation. */
3420
+ functionGraphStore?: FunctionGraphStore | null;
3421
+ functionGraphStoreEdge?: FunctionGraphStoreEdge | null;
3422
+ }
3423
+ export type CreateFunctionGraphStorePayloadSelect = {
3424
+ clientMutationId?: boolean;
3425
+ functionGraphStore?: {
3426
+ select: FunctionGraphStoreSelect;
3427
+ };
3428
+ functionGraphStoreEdge?: {
3429
+ select: FunctionGraphStoreEdgeSelect;
3430
+ };
3431
+ };
3432
+ export interface UpdateFunctionGraphStorePayload {
3433
+ clientMutationId?: string | null;
3434
+ /** The `FunctionGraphStore` that was updated by this mutation. */
3435
+ functionGraphStore?: FunctionGraphStore | null;
3436
+ functionGraphStoreEdge?: FunctionGraphStoreEdge | null;
3437
+ }
3438
+ export type UpdateFunctionGraphStorePayloadSelect = {
3439
+ clientMutationId?: boolean;
3440
+ functionGraphStore?: {
3441
+ select: FunctionGraphStoreSelect;
3442
+ };
3443
+ functionGraphStoreEdge?: {
3444
+ select: FunctionGraphStoreEdgeSelect;
3445
+ };
3446
+ };
3447
+ export interface DeleteFunctionGraphStorePayload {
3448
+ clientMutationId?: string | null;
3449
+ /** The `FunctionGraphStore` that was deleted by this mutation. */
3450
+ functionGraphStore?: FunctionGraphStore | null;
3451
+ functionGraphStoreEdge?: FunctionGraphStoreEdge | null;
3452
+ }
3453
+ export type DeleteFunctionGraphStorePayloadSelect = {
3454
+ clientMutationId?: boolean;
3455
+ functionGraphStore?: {
3456
+ select: FunctionGraphStoreSelect;
3457
+ };
3458
+ functionGraphStoreEdge?: {
3459
+ select: FunctionGraphStoreEdgeSelect;
3460
+ };
3461
+ };
3462
+ export interface CreateFunctionGraphObjectPayload {
3463
+ clientMutationId?: string | null;
3464
+ /** The `FunctionGraphObject` that was created by this mutation. */
3465
+ functionGraphObject?: FunctionGraphObject | null;
3466
+ functionGraphObjectEdge?: FunctionGraphObjectEdge | null;
3467
+ }
3468
+ export type CreateFunctionGraphObjectPayloadSelect = {
3469
+ clientMutationId?: boolean;
3470
+ functionGraphObject?: {
3471
+ select: FunctionGraphObjectSelect;
3472
+ };
3473
+ functionGraphObjectEdge?: {
3474
+ select: FunctionGraphObjectEdgeSelect;
3475
+ };
3476
+ };
3477
+ export interface UpdateFunctionGraphObjectPayload {
3478
+ clientMutationId?: string | null;
3479
+ /** The `FunctionGraphObject` that was updated by this mutation. */
3480
+ functionGraphObject?: FunctionGraphObject | null;
3481
+ functionGraphObjectEdge?: FunctionGraphObjectEdge | null;
3482
+ }
3483
+ export type UpdateFunctionGraphObjectPayloadSelect = {
3484
+ clientMutationId?: boolean;
3485
+ functionGraphObject?: {
3486
+ select: FunctionGraphObjectSelect;
3487
+ };
3488
+ functionGraphObjectEdge?: {
3489
+ select: FunctionGraphObjectEdgeSelect;
3490
+ };
3491
+ };
3492
+ export interface DeleteFunctionGraphObjectPayload {
3493
+ clientMutationId?: string | null;
3494
+ /** The `FunctionGraphObject` that was deleted by this mutation. */
3495
+ functionGraphObject?: FunctionGraphObject | null;
3496
+ functionGraphObjectEdge?: FunctionGraphObjectEdge | null;
3497
+ }
3498
+ export type DeleteFunctionGraphObjectPayloadSelect = {
3499
+ clientMutationId?: boolean;
3500
+ functionGraphObject?: {
3501
+ select: FunctionGraphObjectSelect;
3502
+ };
3503
+ functionGraphObjectEdge?: {
3504
+ select: FunctionGraphObjectEdgeSelect;
3505
+ };
3506
+ };
3507
+ export interface CreateFunctionDeploymentEventPayload {
3508
+ clientMutationId?: string | null;
3509
+ /** The `FunctionDeploymentEvent` that was created by this mutation. */
3510
+ functionDeploymentEvent?: FunctionDeploymentEvent | null;
3511
+ functionDeploymentEventEdge?: FunctionDeploymentEventEdge | null;
3512
+ }
3513
+ export type CreateFunctionDeploymentEventPayloadSelect = {
3514
+ clientMutationId?: boolean;
3515
+ functionDeploymentEvent?: {
3516
+ select: FunctionDeploymentEventSelect;
3517
+ };
3518
+ functionDeploymentEventEdge?: {
3519
+ select: FunctionDeploymentEventEdgeSelect;
3520
+ };
3521
+ };
3522
+ export interface UpdateFunctionDeploymentEventPayload {
3523
+ clientMutationId?: string | null;
3524
+ /** The `FunctionDeploymentEvent` that was updated by this mutation. */
3525
+ functionDeploymentEvent?: FunctionDeploymentEvent | null;
3526
+ functionDeploymentEventEdge?: FunctionDeploymentEventEdge | null;
3527
+ }
3528
+ export type UpdateFunctionDeploymentEventPayloadSelect = {
3529
+ clientMutationId?: boolean;
3530
+ functionDeploymentEvent?: {
3531
+ select: FunctionDeploymentEventSelect;
3532
+ };
3533
+ functionDeploymentEventEdge?: {
3534
+ select: FunctionDeploymentEventEdgeSelect;
3535
+ };
3536
+ };
3537
+ export interface DeleteFunctionDeploymentEventPayload {
3538
+ clientMutationId?: string | null;
3539
+ /** The `FunctionDeploymentEvent` that was deleted by this mutation. */
3540
+ functionDeploymentEvent?: FunctionDeploymentEvent | null;
3541
+ functionDeploymentEventEdge?: FunctionDeploymentEventEdge | null;
3542
+ }
3543
+ export type DeleteFunctionDeploymentEventPayloadSelect = {
3544
+ clientMutationId?: boolean;
3545
+ functionDeploymentEvent?: {
3546
+ select: FunctionDeploymentEventSelect;
3547
+ };
3548
+ functionDeploymentEventEdge?: {
3549
+ select: FunctionDeploymentEventEdgeSelect;
3550
+ };
3551
+ };
3552
+ export interface CreateOrgFunctionExecutionLogPayload {
3553
+ clientMutationId?: string | null;
3554
+ /** The `OrgFunctionExecutionLog` that was created by this mutation. */
3555
+ orgFunctionExecutionLog?: OrgFunctionExecutionLog | null;
3556
+ orgFunctionExecutionLogEdge?: OrgFunctionExecutionLogEdge | null;
3557
+ }
3558
+ export type CreateOrgFunctionExecutionLogPayloadSelect = {
3559
+ clientMutationId?: boolean;
3560
+ orgFunctionExecutionLog?: {
3561
+ select: OrgFunctionExecutionLogSelect;
3562
+ };
3563
+ orgFunctionExecutionLogEdge?: {
3564
+ select: OrgFunctionExecutionLogEdgeSelect;
3565
+ };
3566
+ };
3567
+ export interface UpdateOrgFunctionExecutionLogPayload {
3568
+ clientMutationId?: string | null;
3569
+ /** The `OrgFunctionExecutionLog` that was updated by this mutation. */
3570
+ orgFunctionExecutionLog?: OrgFunctionExecutionLog | null;
3571
+ orgFunctionExecutionLogEdge?: OrgFunctionExecutionLogEdge | null;
3572
+ }
3573
+ export type UpdateOrgFunctionExecutionLogPayloadSelect = {
3574
+ clientMutationId?: boolean;
3575
+ orgFunctionExecutionLog?: {
3576
+ select: OrgFunctionExecutionLogSelect;
3577
+ };
3578
+ orgFunctionExecutionLogEdge?: {
3579
+ select: OrgFunctionExecutionLogEdgeSelect;
3580
+ };
3581
+ };
3582
+ export interface DeleteOrgFunctionExecutionLogPayload {
3583
+ clientMutationId?: string | null;
3584
+ /** The `OrgFunctionExecutionLog` that was deleted by this mutation. */
3585
+ orgFunctionExecutionLog?: OrgFunctionExecutionLog | null;
3586
+ orgFunctionExecutionLogEdge?: OrgFunctionExecutionLogEdge | null;
3587
+ }
3588
+ export type DeleteOrgFunctionExecutionLogPayloadSelect = {
3589
+ clientMutationId?: boolean;
3590
+ orgFunctionExecutionLog?: {
3591
+ select: OrgFunctionExecutionLogSelect;
3592
+ };
3593
+ orgFunctionExecutionLogEdge?: {
3594
+ select: OrgFunctionExecutionLogEdgeSelect;
3595
+ };
3596
+ };
3597
+ export interface CreateFunctionGraphExecutionOutputPayload {
3598
+ clientMutationId?: string | null;
3599
+ /** The `FunctionGraphExecutionOutput` that was created by this mutation. */
3600
+ functionGraphExecutionOutput?: FunctionGraphExecutionOutput | null;
3601
+ functionGraphExecutionOutputEdge?: FunctionGraphExecutionOutputEdge | null;
3602
+ }
3603
+ export type CreateFunctionGraphExecutionOutputPayloadSelect = {
3604
+ clientMutationId?: boolean;
3605
+ functionGraphExecutionOutput?: {
3606
+ select: FunctionGraphExecutionOutputSelect;
3607
+ };
3608
+ functionGraphExecutionOutputEdge?: {
3609
+ select: FunctionGraphExecutionOutputEdgeSelect;
3610
+ };
3611
+ };
3612
+ export interface UpdateFunctionGraphExecutionOutputPayload {
3613
+ clientMutationId?: string | null;
3614
+ /** The `FunctionGraphExecutionOutput` that was updated by this mutation. */
3615
+ functionGraphExecutionOutput?: FunctionGraphExecutionOutput | null;
3616
+ functionGraphExecutionOutputEdge?: FunctionGraphExecutionOutputEdge | null;
3617
+ }
3618
+ export type UpdateFunctionGraphExecutionOutputPayloadSelect = {
3619
+ clientMutationId?: boolean;
3620
+ functionGraphExecutionOutput?: {
3621
+ select: FunctionGraphExecutionOutputSelect;
3622
+ };
3623
+ functionGraphExecutionOutputEdge?: {
3624
+ select: FunctionGraphExecutionOutputEdgeSelect;
3625
+ };
3626
+ };
3627
+ export interface DeleteFunctionGraphExecutionOutputPayload {
3628
+ clientMutationId?: string | null;
3629
+ /** The `FunctionGraphExecutionOutput` that was deleted by this mutation. */
3630
+ functionGraphExecutionOutput?: FunctionGraphExecutionOutput | null;
3631
+ functionGraphExecutionOutputEdge?: FunctionGraphExecutionOutputEdge | null;
3632
+ }
3633
+ export type DeleteFunctionGraphExecutionOutputPayloadSelect = {
3634
+ clientMutationId?: boolean;
3635
+ functionGraphExecutionOutput?: {
3636
+ select: FunctionGraphExecutionOutputSelect;
3637
+ };
3638
+ functionGraphExecutionOutputEdge?: {
3639
+ select: FunctionGraphExecutionOutputEdgeSelect;
3640
+ };
3641
+ };
3642
+ export interface CreateFunctionGraphCommitPayload {
3643
+ clientMutationId?: string | null;
3644
+ /** The `FunctionGraphCommit` that was created by this mutation. */
3645
+ functionGraphCommit?: FunctionGraphCommit | null;
3646
+ functionGraphCommitEdge?: FunctionGraphCommitEdge | null;
3647
+ }
3648
+ export type CreateFunctionGraphCommitPayloadSelect = {
3649
+ clientMutationId?: boolean;
3650
+ functionGraphCommit?: {
3651
+ select: FunctionGraphCommitSelect;
3652
+ };
3653
+ functionGraphCommitEdge?: {
3654
+ select: FunctionGraphCommitEdgeSelect;
3655
+ };
3656
+ };
3657
+ export interface UpdateFunctionGraphCommitPayload {
3658
+ clientMutationId?: string | null;
3659
+ /** The `FunctionGraphCommit` that was updated by this mutation. */
3660
+ functionGraphCommit?: FunctionGraphCommit | null;
3661
+ functionGraphCommitEdge?: FunctionGraphCommitEdge | null;
3662
+ }
3663
+ export type UpdateFunctionGraphCommitPayloadSelect = {
3664
+ clientMutationId?: boolean;
3665
+ functionGraphCommit?: {
3666
+ select: FunctionGraphCommitSelect;
3667
+ };
3668
+ functionGraphCommitEdge?: {
3669
+ select: FunctionGraphCommitEdgeSelect;
3670
+ };
3671
+ };
3672
+ export interface DeleteFunctionGraphCommitPayload {
3673
+ clientMutationId?: string | null;
3674
+ /** The `FunctionGraphCommit` that was deleted by this mutation. */
3675
+ functionGraphCommit?: FunctionGraphCommit | null;
3676
+ functionGraphCommitEdge?: FunctionGraphCommitEdge | null;
3677
+ }
3678
+ export type DeleteFunctionGraphCommitPayloadSelect = {
3679
+ clientMutationId?: boolean;
3680
+ functionGraphCommit?: {
3681
+ select: FunctionGraphCommitSelect;
3682
+ };
3683
+ functionGraphCommitEdge?: {
3684
+ select: FunctionGraphCommitEdgeSelect;
3685
+ };
3686
+ };
3687
+ export interface CreateSecretDefinitionPayload {
3688
+ clientMutationId?: string | null;
3689
+ /** The `SecretDefinition` that was created by this mutation. */
3690
+ secretDefinition?: SecretDefinition | null;
3691
+ secretDefinitionEdge?: SecretDefinitionEdge | null;
3692
+ }
3693
+ export type CreateSecretDefinitionPayloadSelect = {
3694
+ clientMutationId?: boolean;
3695
+ secretDefinition?: {
3696
+ select: SecretDefinitionSelect;
3697
+ };
3698
+ secretDefinitionEdge?: {
3699
+ select: SecretDefinitionEdgeSelect;
3700
+ };
3701
+ };
3702
+ export interface UpdateSecretDefinitionPayload {
3703
+ clientMutationId?: string | null;
3704
+ /** The `SecretDefinition` that was updated by this mutation. */
3705
+ secretDefinition?: SecretDefinition | null;
3706
+ secretDefinitionEdge?: SecretDefinitionEdge | null;
3707
+ }
3708
+ export type UpdateSecretDefinitionPayloadSelect = {
3709
+ clientMutationId?: boolean;
3710
+ secretDefinition?: {
3711
+ select: SecretDefinitionSelect;
3712
+ };
3713
+ secretDefinitionEdge?: {
3714
+ select: SecretDefinitionEdgeSelect;
3715
+ };
3716
+ };
3717
+ export interface DeleteSecretDefinitionPayload {
3718
+ clientMutationId?: string | null;
3719
+ /** The `SecretDefinition` that was deleted by this mutation. */
3720
+ secretDefinition?: SecretDefinition | null;
3721
+ secretDefinitionEdge?: SecretDefinitionEdge | null;
3722
+ }
3723
+ export type DeleteSecretDefinitionPayloadSelect = {
3724
+ clientMutationId?: boolean;
3725
+ secretDefinition?: {
3726
+ select: SecretDefinitionSelect;
3727
+ };
3728
+ secretDefinitionEdge?: {
3729
+ select: SecretDefinitionEdgeSelect;
3730
+ };
3731
+ };
3732
+ export interface CreateFunctionExecutionLogPayload {
3733
+ clientMutationId?: string | null;
3734
+ /** The `FunctionExecutionLog` that was created by this mutation. */
3735
+ functionExecutionLog?: FunctionExecutionLog | null;
3736
+ functionExecutionLogEdge?: FunctionExecutionLogEdge | null;
3737
+ }
3738
+ export type CreateFunctionExecutionLogPayloadSelect = {
3739
+ clientMutationId?: boolean;
3740
+ functionExecutionLog?: {
3741
+ select: FunctionExecutionLogSelect;
3742
+ };
3743
+ functionExecutionLogEdge?: {
3744
+ select: FunctionExecutionLogEdgeSelect;
3745
+ };
3746
+ };
3747
+ export interface UpdateFunctionExecutionLogPayload {
3748
+ clientMutationId?: string | null;
3749
+ /** The `FunctionExecutionLog` that was updated by this mutation. */
3750
+ functionExecutionLog?: FunctionExecutionLog | null;
3751
+ functionExecutionLogEdge?: FunctionExecutionLogEdge | null;
3752
+ }
3753
+ export type UpdateFunctionExecutionLogPayloadSelect = {
3754
+ clientMutationId?: boolean;
3755
+ functionExecutionLog?: {
3756
+ select: FunctionExecutionLogSelect;
3757
+ };
3758
+ functionExecutionLogEdge?: {
3759
+ select: FunctionExecutionLogEdgeSelect;
3760
+ };
3761
+ };
3762
+ export interface DeleteFunctionExecutionLogPayload {
3763
+ clientMutationId?: string | null;
3764
+ /** The `FunctionExecutionLog` that was deleted by this mutation. */
3765
+ functionExecutionLog?: FunctionExecutionLog | null;
3766
+ functionExecutionLogEdge?: FunctionExecutionLogEdge | null;
3767
+ }
3768
+ export type DeleteFunctionExecutionLogPayloadSelect = {
3769
+ clientMutationId?: boolean;
3770
+ functionExecutionLog?: {
3771
+ select: FunctionExecutionLogSelect;
3772
+ };
3773
+ functionExecutionLogEdge?: {
3774
+ select: FunctionExecutionLogEdgeSelect;
3775
+ };
3776
+ };
3777
+ export interface CreateFunctionGraphExecutionNodeStatePayload {
3778
+ clientMutationId?: string | null;
3779
+ /** The `FunctionGraphExecutionNodeState` that was created by this mutation. */
3780
+ functionGraphExecutionNodeState?: FunctionGraphExecutionNodeState | null;
3781
+ functionGraphExecutionNodeStateEdge?: FunctionGraphExecutionNodeStateEdge | null;
3782
+ }
3783
+ export type CreateFunctionGraphExecutionNodeStatePayloadSelect = {
3784
+ clientMutationId?: boolean;
3785
+ functionGraphExecutionNodeState?: {
3786
+ select: FunctionGraphExecutionNodeStateSelect;
3787
+ };
3788
+ functionGraphExecutionNodeStateEdge?: {
3789
+ select: FunctionGraphExecutionNodeStateEdgeSelect;
3790
+ };
3791
+ };
3792
+ export interface UpdateFunctionGraphExecutionNodeStatePayload {
3793
+ clientMutationId?: string | null;
3794
+ /** The `FunctionGraphExecutionNodeState` that was updated by this mutation. */
3795
+ functionGraphExecutionNodeState?: FunctionGraphExecutionNodeState | null;
3796
+ functionGraphExecutionNodeStateEdge?: FunctionGraphExecutionNodeStateEdge | null;
3797
+ }
3798
+ export type UpdateFunctionGraphExecutionNodeStatePayloadSelect = {
3799
+ clientMutationId?: boolean;
3800
+ functionGraphExecutionNodeState?: {
3801
+ select: FunctionGraphExecutionNodeStateSelect;
3802
+ };
3803
+ functionGraphExecutionNodeStateEdge?: {
3804
+ select: FunctionGraphExecutionNodeStateEdgeSelect;
3805
+ };
3806
+ };
3807
+ export interface DeleteFunctionGraphExecutionNodeStatePayload {
3808
+ clientMutationId?: string | null;
3809
+ /** The `FunctionGraphExecutionNodeState` that was deleted by this mutation. */
3810
+ functionGraphExecutionNodeState?: FunctionGraphExecutionNodeState | null;
3811
+ functionGraphExecutionNodeStateEdge?: FunctionGraphExecutionNodeStateEdge | null;
3812
+ }
3813
+ export type DeleteFunctionGraphExecutionNodeStatePayloadSelect = {
3814
+ clientMutationId?: boolean;
3815
+ functionGraphExecutionNodeState?: {
3816
+ select: FunctionGraphExecutionNodeStateSelect;
3817
+ };
3818
+ functionGraphExecutionNodeStateEdge?: {
3819
+ select: FunctionGraphExecutionNodeStateEdgeSelect;
3820
+ };
3821
+ };
3822
+ export interface CreateFunctionGraphPayload {
3823
+ clientMutationId?: string | null;
3824
+ result?: string | null;
3825
+ }
3826
+ export type CreateFunctionGraphPayloadSelect = {
3827
+ clientMutationId?: boolean;
3828
+ result?: boolean;
3829
+ };
3830
+ export interface UpdateFunctionGraphPayload {
3831
+ clientMutationId?: string | null;
3832
+ /** The `FunctionGraph` that was updated by this mutation. */
3833
+ functionGraph?: FunctionGraph | null;
3834
+ functionGraphEdge?: FunctionGraphEdge | null;
3835
+ }
3836
+ export type UpdateFunctionGraphPayloadSelect = {
3837
+ clientMutationId?: boolean;
3838
+ functionGraph?: {
3839
+ select: FunctionGraphSelect;
3840
+ };
3841
+ functionGraphEdge?: {
3842
+ select: FunctionGraphEdgeSelect;
3843
+ };
3844
+ };
3845
+ export interface DeleteFunctionGraphPayload {
3846
+ clientMutationId?: string | null;
3847
+ /** The `FunctionGraph` that was deleted by this mutation. */
3848
+ functionGraph?: FunctionGraph | null;
3849
+ functionGraphEdge?: FunctionGraphEdge | null;
3850
+ }
3851
+ export type DeleteFunctionGraphPayloadSelect = {
3852
+ clientMutationId?: boolean;
3853
+ functionGraph?: {
3854
+ select: FunctionGraphSelect;
3855
+ };
3856
+ functionGraphEdge?: {
3857
+ select: FunctionGraphEdgeSelect;
3858
+ };
3859
+ };
3860
+ export interface CreateOrgFunctionInvocationPayload {
3861
+ clientMutationId?: string | null;
3862
+ /** The `OrgFunctionInvocation` that was created by this mutation. */
3863
+ orgFunctionInvocation?: OrgFunctionInvocation | null;
3864
+ orgFunctionInvocationEdge?: OrgFunctionInvocationEdge | null;
3865
+ }
3866
+ export type CreateOrgFunctionInvocationPayloadSelect = {
3867
+ clientMutationId?: boolean;
3868
+ orgFunctionInvocation?: {
3869
+ select: OrgFunctionInvocationSelect;
3870
+ };
3871
+ orgFunctionInvocationEdge?: {
3872
+ select: OrgFunctionInvocationEdgeSelect;
3873
+ };
3874
+ };
3875
+ export interface UpdateOrgFunctionInvocationPayload {
3876
+ clientMutationId?: string | null;
3877
+ /** The `OrgFunctionInvocation` that was updated by this mutation. */
3878
+ orgFunctionInvocation?: OrgFunctionInvocation | null;
3879
+ orgFunctionInvocationEdge?: OrgFunctionInvocationEdge | null;
3880
+ }
3881
+ export type UpdateOrgFunctionInvocationPayloadSelect = {
3882
+ clientMutationId?: boolean;
3883
+ orgFunctionInvocation?: {
3884
+ select: OrgFunctionInvocationSelect;
3885
+ };
3886
+ orgFunctionInvocationEdge?: {
3887
+ select: OrgFunctionInvocationEdgeSelect;
3888
+ };
3889
+ };
3890
+ export interface DeleteOrgFunctionInvocationPayload {
3891
+ clientMutationId?: string | null;
3892
+ /** The `OrgFunctionInvocation` that was deleted by this mutation. */
3893
+ orgFunctionInvocation?: OrgFunctionInvocation | null;
3894
+ orgFunctionInvocationEdge?: OrgFunctionInvocationEdge | null;
3895
+ }
3896
+ export type DeleteOrgFunctionInvocationPayloadSelect = {
3897
+ clientMutationId?: boolean;
3898
+ orgFunctionInvocation?: {
3899
+ select: OrgFunctionInvocationSelect;
3900
+ };
3901
+ orgFunctionInvocationEdge?: {
3902
+ select: OrgFunctionInvocationEdgeSelect;
3903
+ };
3904
+ };
3905
+ export interface CreateFunctionInvocationPayload {
3906
+ clientMutationId?: string | null;
3907
+ /** The `FunctionInvocation` that was created by this mutation. */
3908
+ functionInvocation?: FunctionInvocation | null;
3909
+ functionInvocationEdge?: FunctionInvocationEdge | null;
3910
+ }
3911
+ export type CreateFunctionInvocationPayloadSelect = {
3912
+ clientMutationId?: boolean;
3913
+ functionInvocation?: {
3914
+ select: FunctionInvocationSelect;
3915
+ };
3916
+ functionInvocationEdge?: {
3917
+ select: FunctionInvocationEdgeSelect;
3918
+ };
3919
+ };
3920
+ export interface UpdateFunctionInvocationPayload {
3921
+ clientMutationId?: string | null;
3922
+ /** The `FunctionInvocation` that was updated by this mutation. */
3923
+ functionInvocation?: FunctionInvocation | null;
3924
+ functionInvocationEdge?: FunctionInvocationEdge | null;
3925
+ }
3926
+ export type UpdateFunctionInvocationPayloadSelect = {
3927
+ clientMutationId?: boolean;
3928
+ functionInvocation?: {
3929
+ select: FunctionInvocationSelect;
3930
+ };
3931
+ functionInvocationEdge?: {
3932
+ select: FunctionInvocationEdgeSelect;
3933
+ };
3934
+ };
3935
+ export interface DeleteFunctionInvocationPayload {
3936
+ clientMutationId?: string | null;
3937
+ /** The `FunctionInvocation` that was deleted by this mutation. */
3938
+ functionInvocation?: FunctionInvocation | null;
3939
+ functionInvocationEdge?: FunctionInvocationEdge | null;
3940
+ }
3941
+ export type DeleteFunctionInvocationPayloadSelect = {
3942
+ clientMutationId?: boolean;
3943
+ functionInvocation?: {
3944
+ select: FunctionInvocationSelect;
3945
+ };
3946
+ functionInvocationEdge?: {
3947
+ select: FunctionInvocationEdgeSelect;
3948
+ };
3949
+ };
3950
+ export interface CreateFunctionGraphExecutionPayload {
3951
+ clientMutationId?: string | null;
3952
+ /** The `FunctionGraphExecution` that was created by this mutation. */
3953
+ functionGraphExecution?: FunctionGraphExecution | null;
3954
+ functionGraphExecutionEdge?: FunctionGraphExecutionEdge | null;
3955
+ }
3956
+ export type CreateFunctionGraphExecutionPayloadSelect = {
3957
+ clientMutationId?: boolean;
3958
+ functionGraphExecution?: {
3959
+ select: FunctionGraphExecutionSelect;
3960
+ };
3961
+ functionGraphExecutionEdge?: {
3962
+ select: FunctionGraphExecutionEdgeSelect;
3963
+ };
3964
+ };
3965
+ export interface UpdateFunctionGraphExecutionPayload {
3966
+ clientMutationId?: string | null;
3967
+ /** The `FunctionGraphExecution` that was updated by this mutation. */
3968
+ functionGraphExecution?: FunctionGraphExecution | null;
3969
+ functionGraphExecutionEdge?: FunctionGraphExecutionEdge | null;
3970
+ }
3971
+ export type UpdateFunctionGraphExecutionPayloadSelect = {
3972
+ clientMutationId?: boolean;
3973
+ functionGraphExecution?: {
3974
+ select: FunctionGraphExecutionSelect;
3975
+ };
3976
+ functionGraphExecutionEdge?: {
3977
+ select: FunctionGraphExecutionEdgeSelect;
3978
+ };
3979
+ };
3980
+ export interface DeleteFunctionGraphExecutionPayload {
3981
+ clientMutationId?: string | null;
3982
+ /** The `FunctionGraphExecution` that was deleted by this mutation. */
3983
+ functionGraphExecution?: FunctionGraphExecution | null;
3984
+ functionGraphExecutionEdge?: FunctionGraphExecutionEdge | null;
3985
+ }
3986
+ export type DeleteFunctionGraphExecutionPayloadSelect = {
3987
+ clientMutationId?: boolean;
3988
+ functionGraphExecution?: {
3989
+ select: FunctionGraphExecutionSelect;
3990
+ };
3991
+ functionGraphExecutionEdge?: {
3992
+ select: FunctionGraphExecutionEdgeSelect;
3993
+ };
3994
+ };
3995
+ export interface CreateFunctionDefinitionPayload {
3996
+ clientMutationId?: string | null;
3997
+ /** The `FunctionDefinition` that was created by this mutation. */
3998
+ functionDefinition?: FunctionDefinition | null;
3999
+ functionDefinitionEdge?: FunctionDefinitionEdge | null;
4000
+ }
4001
+ export type CreateFunctionDefinitionPayloadSelect = {
4002
+ clientMutationId?: boolean;
4003
+ functionDefinition?: {
4004
+ select: FunctionDefinitionSelect;
4005
+ };
4006
+ functionDefinitionEdge?: {
4007
+ select: FunctionDefinitionEdgeSelect;
4008
+ };
4009
+ };
4010
+ export interface UpdateFunctionDefinitionPayload {
4011
+ clientMutationId?: string | null;
4012
+ /** The `FunctionDefinition` that was updated by this mutation. */
4013
+ functionDefinition?: FunctionDefinition | null;
4014
+ functionDefinitionEdge?: FunctionDefinitionEdge | null;
4015
+ }
4016
+ export type UpdateFunctionDefinitionPayloadSelect = {
4017
+ clientMutationId?: boolean;
4018
+ functionDefinition?: {
4019
+ select: FunctionDefinitionSelect;
4020
+ };
4021
+ functionDefinitionEdge?: {
4022
+ select: FunctionDefinitionEdgeSelect;
4023
+ };
4024
+ };
4025
+ export interface DeleteFunctionDefinitionPayload {
4026
+ clientMutationId?: string | null;
4027
+ /** The `FunctionDefinition` that was deleted by this mutation. */
4028
+ functionDefinition?: FunctionDefinition | null;
4029
+ functionDefinitionEdge?: FunctionDefinitionEdge | null;
4030
+ }
4031
+ export type DeleteFunctionDefinitionPayloadSelect = {
4032
+ clientMutationId?: boolean;
4033
+ functionDefinition?: {
4034
+ select: FunctionDefinitionSelect;
4035
+ };
4036
+ functionDefinitionEdge?: {
4037
+ select: FunctionDefinitionEdgeSelect;
4038
+ };
4039
+ };
4040
+ /** A `FunctionApiBinding` edge in the connection. */
4041
+ export interface FunctionApiBindingEdge {
4042
+ cursor?: string | null;
4043
+ /** The `FunctionApiBinding` at the end of the edge. */
4044
+ node?: FunctionApiBinding | null;
4045
+ }
4046
+ export type FunctionApiBindingEdgeSelect = {
4047
+ cursor?: boolean;
4048
+ node?: {
4049
+ select: FunctionApiBindingSelect;
4050
+ };
4051
+ };
4052
+ /** A `FunctionDeployment` edge in the connection. */
4053
+ export interface FunctionDeploymentEdge {
4054
+ cursor?: string | null;
4055
+ /** The `FunctionDeployment` at the end of the edge. */
4056
+ node?: FunctionDeployment | null;
4057
+ }
4058
+ export type FunctionDeploymentEdgeSelect = {
4059
+ cursor?: boolean;
4060
+ node?: {
4061
+ select: FunctionDeploymentSelect;
4062
+ };
4063
+ };
4064
+ /** A `FunctionGraphRef` edge in the connection. */
4065
+ export interface FunctionGraphRefEdge {
4066
+ cursor?: string | null;
4067
+ /** The `FunctionGraphRef` at the end of the edge. */
4068
+ node?: FunctionGraphRef | null;
4069
+ }
4070
+ export type FunctionGraphRefEdgeSelect = {
4071
+ cursor?: boolean;
4072
+ node?: {
4073
+ select: FunctionGraphRefSelect;
4074
+ };
4075
+ };
4076
+ /** A `FunctionGraphStore` edge in the connection. */
4077
+ export interface FunctionGraphStoreEdge {
4078
+ cursor?: string | null;
4079
+ /** The `FunctionGraphStore` at the end of the edge. */
4080
+ node?: FunctionGraphStore | null;
4081
+ }
4082
+ export type FunctionGraphStoreEdgeSelect = {
4083
+ cursor?: boolean;
4084
+ node?: {
4085
+ select: FunctionGraphStoreSelect;
4086
+ };
4087
+ };
4088
+ /** A `FunctionGraphObject` edge in the connection. */
4089
+ export interface FunctionGraphObjectEdge {
4090
+ cursor?: string | null;
4091
+ /** The `FunctionGraphObject` at the end of the edge. */
4092
+ node?: FunctionGraphObject | null;
4093
+ }
4094
+ export type FunctionGraphObjectEdgeSelect = {
4095
+ cursor?: boolean;
4096
+ node?: {
4097
+ select: FunctionGraphObjectSelect;
4098
+ };
4099
+ };
4100
+ /** A `FunctionDeploymentEvent` edge in the connection. */
4101
+ export interface FunctionDeploymentEventEdge {
4102
+ cursor?: string | null;
4103
+ /** The `FunctionDeploymentEvent` at the end of the edge. */
4104
+ node?: FunctionDeploymentEvent | null;
4105
+ }
4106
+ export type FunctionDeploymentEventEdgeSelect = {
4107
+ cursor?: boolean;
4108
+ node?: {
4109
+ select: FunctionDeploymentEventSelect;
4110
+ };
4111
+ };
4112
+ /** A `OrgFunctionExecutionLog` edge in the connection. */
4113
+ export interface OrgFunctionExecutionLogEdge {
4114
+ cursor?: string | null;
4115
+ /** The `OrgFunctionExecutionLog` at the end of the edge. */
4116
+ node?: OrgFunctionExecutionLog | null;
4117
+ }
4118
+ export type OrgFunctionExecutionLogEdgeSelect = {
4119
+ cursor?: boolean;
4120
+ node?: {
4121
+ select: OrgFunctionExecutionLogSelect;
4122
+ };
4123
+ };
4124
+ /** A `FunctionGraphExecutionOutput` edge in the connection. */
4125
+ export interface FunctionGraphExecutionOutputEdge {
4126
+ cursor?: string | null;
4127
+ /** The `FunctionGraphExecutionOutput` at the end of the edge. */
4128
+ node?: FunctionGraphExecutionOutput | null;
4129
+ }
4130
+ export type FunctionGraphExecutionOutputEdgeSelect = {
4131
+ cursor?: boolean;
4132
+ node?: {
4133
+ select: FunctionGraphExecutionOutputSelect;
4134
+ };
4135
+ };
4136
+ /** A `FunctionGraphCommit` edge in the connection. */
4137
+ export interface FunctionGraphCommitEdge {
4138
+ cursor?: string | null;
4139
+ /** The `FunctionGraphCommit` at the end of the edge. */
4140
+ node?: FunctionGraphCommit | null;
4141
+ }
4142
+ export type FunctionGraphCommitEdgeSelect = {
4143
+ cursor?: boolean;
4144
+ node?: {
4145
+ select: FunctionGraphCommitSelect;
4146
+ };
4147
+ };
4148
+ /** A `SecretDefinition` edge in the connection. */
4149
+ export interface SecretDefinitionEdge {
4150
+ cursor?: string | null;
4151
+ /** The `SecretDefinition` at the end of the edge. */
4152
+ node?: SecretDefinition | null;
4153
+ }
4154
+ export type SecretDefinitionEdgeSelect = {
4155
+ cursor?: boolean;
4156
+ node?: {
4157
+ select: SecretDefinitionSelect;
4158
+ };
4159
+ };
4160
+ /** A `FunctionExecutionLog` edge in the connection. */
4161
+ export interface FunctionExecutionLogEdge {
4162
+ cursor?: string | null;
4163
+ /** The `FunctionExecutionLog` at the end of the edge. */
4164
+ node?: FunctionExecutionLog | null;
4165
+ }
4166
+ export type FunctionExecutionLogEdgeSelect = {
4167
+ cursor?: boolean;
4168
+ node?: {
4169
+ select: FunctionExecutionLogSelect;
4170
+ };
4171
+ };
4172
+ /** A `FunctionGraphExecutionNodeState` edge in the connection. */
4173
+ export interface FunctionGraphExecutionNodeStateEdge {
4174
+ cursor?: string | null;
4175
+ /** The `FunctionGraphExecutionNodeState` at the end of the edge. */
4176
+ node?: FunctionGraphExecutionNodeState | null;
4177
+ }
4178
+ export type FunctionGraphExecutionNodeStateEdgeSelect = {
4179
+ cursor?: boolean;
4180
+ node?: {
4181
+ select: FunctionGraphExecutionNodeStateSelect;
4182
+ };
4183
+ };
4184
+ /** A `FunctionGraph` edge in the connection. */
4185
+ export interface FunctionGraphEdge {
4186
+ cursor?: string | null;
4187
+ /** The `FunctionGraph` at the end of the edge. */
4188
+ node?: FunctionGraph | null;
4189
+ }
4190
+ export type FunctionGraphEdgeSelect = {
4191
+ cursor?: boolean;
4192
+ node?: {
4193
+ select: FunctionGraphSelect;
4194
+ };
4195
+ };
4196
+ /** A `OrgFunctionInvocation` edge in the connection. */
4197
+ export interface OrgFunctionInvocationEdge {
4198
+ cursor?: string | null;
4199
+ /** The `OrgFunctionInvocation` at the end of the edge. */
4200
+ node?: OrgFunctionInvocation | null;
4201
+ }
4202
+ export type OrgFunctionInvocationEdgeSelect = {
4203
+ cursor?: boolean;
4204
+ node?: {
4205
+ select: OrgFunctionInvocationSelect;
4206
+ };
4207
+ };
4208
+ /** A `FunctionInvocation` edge in the connection. */
4209
+ export interface FunctionInvocationEdge {
4210
+ cursor?: string | null;
4211
+ /** The `FunctionInvocation` at the end of the edge. */
4212
+ node?: FunctionInvocation | null;
4213
+ }
4214
+ export type FunctionInvocationEdgeSelect = {
4215
+ cursor?: boolean;
4216
+ node?: {
4217
+ select: FunctionInvocationSelect;
4218
+ };
4219
+ };
4220
+ /** A `FunctionGraphExecution` edge in the connection. */
4221
+ export interface FunctionGraphExecutionEdge {
4222
+ cursor?: string | null;
4223
+ /** The `FunctionGraphExecution` at the end of the edge. */
4224
+ node?: FunctionGraphExecution | null;
4225
+ }
4226
+ export type FunctionGraphExecutionEdgeSelect = {
4227
+ cursor?: boolean;
4228
+ node?: {
4229
+ select: FunctionGraphExecutionSelect;
4230
+ };
4231
+ };
4232
+ /** A `FunctionDefinition` edge in the connection. */
4233
+ export interface FunctionDefinitionEdge {
4234
+ cursor?: string | null;
4235
+ /** The `FunctionDefinition` at the end of the edge. */
4236
+ node?: FunctionDefinition | null;
4237
+ }
4238
+ export type FunctionDefinitionEdgeSelect = {
4239
+ cursor?: boolean;
4240
+ node?: {
4241
+ select: FunctionDefinitionSelect;
4242
+ };
4243
+ };