@constructive-sdk/cli 0.32.2 → 0.32.4

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 (536) hide show
  1. package/agent/orm/input-types.d.ts +24 -0
  2. package/agent/orm/input-types.js +3 -0
  3. package/api/cli/commands/ast-migration.js +20 -31
  4. package/{esm/infra/cli/commands/infra-ref.d.ts → api/cli/commands/http-route.d.ts} +1 -1
  5. package/api/cli/commands/http-route.js +434 -0
  6. package/{esm/compute/cli/commands/get-all-record.d.ts → api/cli/commands/managed-domain.d.ts} +1 -1
  7. package/api/cli/commands/managed-domain.js +382 -0
  8. package/api/cli/commands/resolve-http-route.d.ts +8 -0
  9. package/api/cli/commands/resolve-http-route.js +44 -0
  10. package/api/cli/commands/sql-action.js +20 -31
  11. package/api/cli/commands.js +7 -3
  12. package/api/cli/executor.d.ts +7 -1
  13. package/api/orm/index.d.ts +9 -2
  14. package/api/orm/index.js +4 -2
  15. package/api/orm/input-types.d.ts +498 -143
  16. package/api/orm/input-types.js +4 -0
  17. package/api/orm/models/httpRoute.d.ts +54 -0
  18. package/{infra/orm/models/infraRef.js → api/orm/models/httpRoute.js} +27 -30
  19. package/api/orm/models/index.d.ts +2 -1
  20. package/api/orm/models/index.js +5 -3
  21. package/api/orm/models/managedDomain.d.ts +54 -0
  22. package/{infra/orm/models/infraCommit.js → api/orm/models/managedDomain.js} +27 -30
  23. package/api/orm/query/index.d.ts +12 -0
  24. package/api/orm/query/index.js +20 -0
  25. package/auth/cli/commands/identity-provider.js +4 -8
  26. package/auth/cli/commands/org-api-key-list.js +9 -18
  27. package/auth/cli/commands/user-connected-account.js +5 -10
  28. package/auth/orm/input-types.d.ts +155 -182
  29. package/auth/orm/input-types.js +4 -0
  30. package/compute/cli/commands/declared-capacity.d.ts +8 -0
  31. package/compute/cli/commands/declared-capacity.js +247 -0
  32. package/compute/cli/commands/function-definition.js +48 -0
  33. package/compute/cli/commands/function-graph-execution-node-state.js +66 -0
  34. package/compute/cli/commands/function-graph-execution.js +176 -0
  35. package/compute/cli/commands/function-invocation.js +66 -0
  36. package/compute/cli/commands/get-all-tree-nodes-record.d.ts +8 -0
  37. package/compute/cli/commands/{get-all-record.js → get-all-tree-nodes-record.js} +5 -5
  38. package/compute/cli/commands/infra-commit.js +19 -19
  39. package/compute/cli/commands/infra-get-all-tree-nodes-record.d.ts +8 -0
  40. package/{api/cli/commands/migrate-file.js → compute/cli/commands/infra-get-all-tree-nodes-record.js} +22 -28
  41. package/compute/cli/commands/infra-object.js +19 -19
  42. package/compute/cli/commands/infra-ref.js +17 -17
  43. package/compute/cli/commands/infra-store.js +20 -20
  44. package/compute/cli/commands/namespace-event.js +0 -154
  45. package/compute/cli/commands/platform-declared-capacity.d.ts +8 -0
  46. package/compute/cli/commands/platform-declared-capacity.js +247 -0
  47. package/compute/cli/commands/platform-function-definition.js +48 -0
  48. package/compute/cli/commands/platform-function-invocation.js +66 -0
  49. package/compute/cli/commands/platform-infra-commit.d.ts +8 -0
  50. package/{infra/cli/commands/infra-commit.js → compute/cli/commands/platform-infra-commit.js} +8 -8
  51. package/compute/cli/commands/platform-infra-get-all-tree-nodes-record.d.ts +8 -0
  52. package/compute/cli/commands/{infra-get-all-record.js → platform-infra-get-all-tree-nodes-record.js} +7 -5
  53. package/compute/cli/commands/platform-infra-init-empty-repo.d.ts +8 -0
  54. package/{infra/cli/commands/infra-init-empty-repo.js → compute/cli/commands/platform-infra-init-empty-repo.js} +3 -3
  55. package/compute/cli/commands/platform-infra-insert-node-at-path.d.ts +8 -0
  56. package/compute/cli/commands/platform-infra-insert-node-at-path.js +36 -0
  57. package/compute/cli/commands/platform-infra-object.d.ts +8 -0
  58. package/{infra/cli/commands/infra-object.js → compute/cli/commands/platform-infra-object.js} +8 -8
  59. package/compute/cli/commands/platform-infra-ref.d.ts +8 -0
  60. package/{infra/cli/commands/infra-ref.js → compute/cli/commands/platform-infra-ref.js} +8 -8
  61. package/compute/cli/commands/platform-infra-set-data-at-path.d.ts +8 -0
  62. package/{infra/cli/commands/infra-set-data-at-path.js → compute/cli/commands/platform-infra-set-data-at-path.js} +3 -3
  63. package/compute/cli/commands/{infra-get-all-record.d.ts → platform-infra-store.d.ts} +1 -1
  64. package/{infra/cli/commands/infra-store.js → compute/cli/commands/platform-infra-store.js} +8 -8
  65. package/compute/cli/commands/platform-namespace-event.js +0 -154
  66. package/compute/cli/commands/platform-resource-installation.d.ts +8 -0
  67. package/compute/cli/commands/platform-resource-installation.js +436 -0
  68. package/compute/cli/commands/platform-resource-installations-install.d.ts +8 -0
  69. package/compute/cli/commands/platform-resource-installations-install.js +36 -0
  70. package/compute/cli/commands/platform-resource-installations-rollback.d.ts +8 -0
  71. package/compute/cli/commands/platform-resource-installations-rollback.js +36 -0
  72. package/compute/cli/commands/platform-resource-installations-uninstall.d.ts +8 -0
  73. package/compute/cli/commands/platform-resource-installations-uninstall.js +36 -0
  74. package/compute/cli/commands/platform-resource-installations-upgrade.d.ts +8 -0
  75. package/compute/cli/commands/platform-resource-installations-upgrade.js +36 -0
  76. package/compute/cli/commands/platform-resource-usage-log.d.ts +8 -0
  77. package/compute/cli/commands/platform-resource-usage-log.js +386 -0
  78. package/compute/cli/commands/platform-resource-usage-summary.d.ts +8 -0
  79. package/compute/cli/commands/platform-resource-usage-summary.js +389 -0
  80. package/compute/cli/commands/platform-resource-utilization-daily.d.ts +8 -0
  81. package/compute/cli/commands/platform-resource-utilization-daily.js +313 -0
  82. package/compute/cli/commands/platform-resource.js +51 -0
  83. package/compute/cli/commands/platform-resources-health.d.ts +8 -0
  84. package/compute/cli/commands/platform-resources-health.js +413 -0
  85. package/compute/cli/commands/platform-webhook-endpoint.d.ts +8 -0
  86. package/compute/cli/commands/platform-webhook-endpoint.js +432 -0
  87. package/compute/cli/commands/platform-webhook-event.d.ts +8 -0
  88. package/compute/cli/commands/platform-webhook-event.js +414 -0
  89. package/compute/cli/commands/resource-installation.d.ts +8 -0
  90. package/compute/cli/commands/resource-installation.js +456 -0
  91. package/compute/cli/commands/resource-installations-install.d.ts +8 -0
  92. package/compute/cli/commands/resource-installations-install.js +36 -0
  93. package/compute/cli/commands/resource-installations-rollback.d.ts +8 -0
  94. package/compute/cli/commands/resource-installations-rollback.js +36 -0
  95. package/compute/cli/commands/resource-installations-uninstall.d.ts +8 -0
  96. package/compute/cli/commands/resource-installations-uninstall.js +36 -0
  97. package/compute/cli/commands/resource-installations-upgrade.d.ts +8 -0
  98. package/compute/cli/commands/resource-installations-upgrade.js +36 -0
  99. package/compute/cli/commands/resource-usage-log.d.ts +8 -0
  100. package/compute/cli/commands/resource-usage-log.js +406 -0
  101. package/compute/cli/commands/resource-usage-summary.d.ts +8 -0
  102. package/compute/cli/commands/resource-usage-summary.js +409 -0
  103. package/compute/cli/commands/resource-utilization-daily.d.ts +8 -0
  104. package/compute/cli/commands/resource-utilization-daily.js +313 -0
  105. package/compute/cli/commands/resource.js +51 -0
  106. package/compute/cli/commands/resources-health.d.ts +8 -0
  107. package/compute/cli/commands/resources-health.js +424 -0
  108. package/compute/cli/commands/webhook-endpoint.d.ts +8 -0
  109. package/compute/cli/commands/webhook-endpoint.js +452 -0
  110. package/{api/cli/commands/migrate-file.d.ts → compute/cli/commands/webhook-event.d.ts} +1 -1
  111. package/compute/cli/commands/webhook-event.js +434 -0
  112. package/compute/cli/commands.js +69 -5
  113. package/compute/cli/executor.d.ts +78 -2
  114. package/compute/orm/index.d.ts +101 -4
  115. package/compute/orm/index.js +46 -4
  116. package/compute/orm/input-types.d.ts +5356 -772
  117. package/compute/orm/input-types.js +34 -2
  118. package/compute/orm/models/declaredCapacity.d.ts +30 -0
  119. package/compute/orm/models/{infraGetAllRecord.js → declaredCapacity.js} +15 -15
  120. package/compute/orm/models/getAllTreeNodesRecord.d.ts +30 -0
  121. package/compute/orm/models/{getAllRecord.js → getAllTreeNodesRecord.js} +15 -15
  122. package/compute/orm/models/index.d.ts +23 -2
  123. package/compute/orm/models/index.js +48 -5
  124. package/compute/orm/models/infraCommit.d.ts +2 -2
  125. package/compute/orm/models/infraCommit.js +2 -2
  126. package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +30 -0
  127. package/compute/orm/models/infraGetAllTreeNodesRecord.js +59 -0
  128. package/compute/orm/models/infraObject.d.ts +2 -2
  129. package/compute/orm/models/infraObject.js +2 -2
  130. package/compute/orm/models/infraRef.d.ts +2 -2
  131. package/compute/orm/models/infraRef.js +2 -2
  132. package/compute/orm/models/platformDeclaredCapacity.d.ts +30 -0
  133. package/{objects/orm/models/getAllRecord.js → compute/orm/models/platformDeclaredCapacity.js} +15 -15
  134. package/compute/orm/models/platformInfraCommit.d.ts +56 -0
  135. package/compute/orm/models/platformInfraCommit.js +107 -0
  136. package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
  137. package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +59 -0
  138. package/compute/orm/models/platformInfraObject.d.ts +56 -0
  139. package/{infra/orm/models/infraObject.js → compute/orm/models/platformInfraObject.js} +25 -25
  140. package/compute/orm/models/platformInfraRef.d.ts +56 -0
  141. package/compute/orm/models/platformInfraRef.js +107 -0
  142. package/compute/orm/models/platformInfraStore.d.ts +54 -0
  143. package/compute/orm/models/platformInfraStore.js +104 -0
  144. package/compute/orm/models/platformResourceInstallation.d.ts +54 -0
  145. package/compute/orm/models/platformResourceInstallation.js +104 -0
  146. package/compute/orm/models/platformResourceUsageLog.d.ts +56 -0
  147. package/compute/orm/models/platformResourceUsageLog.js +107 -0
  148. package/compute/orm/models/platformResourceUsageSummary.d.ts +56 -0
  149. package/compute/orm/models/platformResourceUsageSummary.js +107 -0
  150. package/compute/orm/models/platformResourceUtilizationDaily.d.ts +30 -0
  151. package/compute/orm/models/platformResourceUtilizationDaily.js +59 -0
  152. package/compute/orm/models/platformResourcesHealth.d.ts +36 -0
  153. package/compute/orm/models/platformResourcesHealth.js +80 -0
  154. package/compute/orm/models/platformWebhookEndpoint.d.ts +54 -0
  155. package/compute/orm/models/platformWebhookEndpoint.js +104 -0
  156. package/compute/orm/models/platformWebhookEvent.d.ts +54 -0
  157. package/compute/orm/models/platformWebhookEvent.js +104 -0
  158. package/compute/orm/models/resourceInstallation.d.ts +54 -0
  159. package/compute/orm/models/resourceInstallation.js +104 -0
  160. package/compute/orm/models/resourceUsageLog.d.ts +56 -0
  161. package/compute/orm/models/resourceUsageLog.js +107 -0
  162. package/compute/orm/models/resourceUsageSummary.d.ts +56 -0
  163. package/compute/orm/models/resourceUsageSummary.js +107 -0
  164. package/compute/orm/models/resourceUtilizationDaily.d.ts +30 -0
  165. package/compute/orm/models/resourceUtilizationDaily.js +59 -0
  166. package/compute/orm/models/resourcesHealth.d.ts +36 -0
  167. package/{api/orm/models/migrateFile.js → compute/orm/models/resourcesHealth.js} +20 -20
  168. package/compute/orm/models/webhookEndpoint.d.ts +54 -0
  169. package/compute/orm/models/webhookEndpoint.js +104 -0
  170. package/compute/orm/models/webhookEvent.d.ts +54 -0
  171. package/{infra/orm/models/infraStore.js → compute/orm/models/webhookEvent.js} +27 -27
  172. package/compute/orm/mutation/index.d.ts +89 -1
  173. package/compute/orm/mutation/index.js +132 -0
  174. package/config/cli/commands/platform-internal-secret.js +7 -14
  175. package/config/cli/commands/platform-secret.js +8 -16
  176. package/config/cli/commands/secret.js +9 -18
  177. package/config/orm/input-types.d.ts +4 -79
  178. package/esm/agent/orm/input-types.d.ts +24 -0
  179. package/esm/agent/orm/input-types.js +3 -0
  180. package/esm/api/cli/commands/ast-migration.js +20 -31
  181. package/{infra/cli/commands/infra-ref.d.ts → esm/api/cli/commands/http-route.d.ts} +1 -1
  182. package/esm/api/cli/commands/http-route.js +432 -0
  183. package/esm/api/cli/commands/{migrate-file.d.ts → managed-domain.d.ts} +1 -1
  184. package/esm/api/cli/commands/managed-domain.js +380 -0
  185. package/esm/api/cli/commands/resolve-http-route.d.ts +8 -0
  186. package/esm/api/cli/commands/resolve-http-route.js +42 -0
  187. package/esm/api/cli/commands/sql-action.js +20 -31
  188. package/esm/api/cli/commands.js +7 -3
  189. package/esm/api/cli/executor.d.ts +7 -1
  190. package/esm/api/orm/index.d.ts +9 -2
  191. package/esm/api/orm/index.js +4 -2
  192. package/esm/api/orm/input-types.d.ts +498 -143
  193. package/esm/api/orm/input-types.js +4 -0
  194. package/esm/api/orm/models/httpRoute.d.ts +54 -0
  195. package/esm/{infra/orm/models/infraRef.js → api/orm/models/httpRoute.js} +25 -28
  196. package/esm/api/orm/models/index.d.ts +2 -1
  197. package/esm/api/orm/models/index.js +2 -1
  198. package/esm/api/orm/models/managedDomain.d.ts +54 -0
  199. package/esm/{infra/orm/models/infraCommit.js → api/orm/models/managedDomain.js} +25 -28
  200. package/esm/api/orm/query/index.d.ts +12 -0
  201. package/esm/api/orm/query/index.js +20 -0
  202. package/esm/auth/cli/commands/identity-provider.js +4 -8
  203. package/esm/auth/cli/commands/org-api-key-list.js +9 -18
  204. package/esm/auth/cli/commands/user-connected-account.js +5 -10
  205. package/esm/auth/orm/input-types.d.ts +155 -182
  206. package/esm/auth/orm/input-types.js +4 -0
  207. package/esm/compute/cli/commands/declared-capacity.d.ts +8 -0
  208. package/esm/compute/cli/commands/declared-capacity.js +245 -0
  209. package/esm/compute/cli/commands/function-definition.js +48 -0
  210. package/esm/compute/cli/commands/function-graph-execution-node-state.js +66 -0
  211. package/esm/compute/cli/commands/function-graph-execution.js +176 -0
  212. package/esm/compute/cli/commands/function-invocation.js +66 -0
  213. package/esm/compute/cli/commands/get-all-tree-nodes-record.d.ts +8 -0
  214. package/esm/{infra/cli/commands/infra-get-all-record.js → compute/cli/commands/get-all-tree-nodes-record.js} +5 -5
  215. package/esm/compute/cli/commands/infra-commit.js +19 -19
  216. package/esm/compute/cli/commands/infra-get-all-tree-nodes-record.d.ts +8 -0
  217. package/esm/{api/cli/commands/migrate-file.js → compute/cli/commands/infra-get-all-tree-nodes-record.js} +22 -28
  218. package/esm/compute/cli/commands/infra-object.js +19 -19
  219. package/esm/compute/cli/commands/infra-ref.js +17 -17
  220. package/esm/compute/cli/commands/infra-store.js +20 -20
  221. package/esm/compute/cli/commands/namespace-event.js +0 -154
  222. package/esm/compute/cli/commands/platform-declared-capacity.d.ts +8 -0
  223. package/esm/compute/cli/commands/platform-declared-capacity.js +245 -0
  224. package/esm/compute/cli/commands/platform-function-definition.js +48 -0
  225. package/esm/compute/cli/commands/platform-function-invocation.js +66 -0
  226. package/esm/compute/cli/commands/platform-infra-commit.d.ts +8 -0
  227. package/esm/{infra/cli/commands/infra-commit.js → compute/cli/commands/platform-infra-commit.js} +8 -8
  228. package/esm/compute/cli/commands/platform-infra-get-all-tree-nodes-record.d.ts +8 -0
  229. package/esm/compute/cli/commands/{infra-get-all-record.js → platform-infra-get-all-tree-nodes-record.js} +7 -5
  230. package/esm/compute/cli/commands/platform-infra-init-empty-repo.d.ts +8 -0
  231. package/esm/{infra/cli/commands/infra-insert-node-at-path.js → compute/cli/commands/platform-infra-init-empty-repo.js} +3 -3
  232. package/esm/compute/cli/commands/platform-infra-insert-node-at-path.d.ts +8 -0
  233. package/esm/compute/cli/commands/platform-infra-insert-node-at-path.js +34 -0
  234. package/esm/compute/cli/commands/platform-infra-object.d.ts +8 -0
  235. package/esm/{infra/cli/commands/infra-object.js → compute/cli/commands/platform-infra-object.js} +8 -8
  236. package/esm/compute/cli/commands/platform-infra-ref.d.ts +8 -0
  237. package/esm/{infra/cli/commands/infra-ref.js → compute/cli/commands/platform-infra-ref.js} +8 -8
  238. package/esm/compute/cli/commands/platform-infra-set-data-at-path.d.ts +8 -0
  239. package/esm/{infra/cli/commands/infra-set-data-at-path.js → compute/cli/commands/platform-infra-set-data-at-path.js} +3 -3
  240. package/esm/compute/cli/commands/platform-infra-store.d.ts +8 -0
  241. package/esm/{infra/cli/commands/infra-store.js → compute/cli/commands/platform-infra-store.js} +8 -8
  242. package/esm/compute/cli/commands/platform-namespace-event.js +0 -154
  243. package/esm/compute/cli/commands/platform-resource-installation.d.ts +8 -0
  244. package/esm/compute/cli/commands/platform-resource-installation.js +434 -0
  245. package/esm/compute/cli/commands/platform-resource-installations-install.d.ts +8 -0
  246. package/esm/compute/cli/commands/platform-resource-installations-install.js +34 -0
  247. package/esm/compute/cli/commands/platform-resource-installations-rollback.d.ts +8 -0
  248. package/esm/compute/cli/commands/platform-resource-installations-rollback.js +34 -0
  249. package/esm/compute/cli/commands/platform-resource-installations-uninstall.d.ts +8 -0
  250. package/esm/compute/cli/commands/platform-resource-installations-uninstall.js +34 -0
  251. package/esm/compute/cli/commands/platform-resource-installations-upgrade.d.ts +8 -0
  252. package/esm/compute/cli/commands/platform-resource-installations-upgrade.js +34 -0
  253. package/esm/compute/cli/commands/platform-resource-usage-log.d.ts +8 -0
  254. package/esm/compute/cli/commands/platform-resource-usage-log.js +384 -0
  255. package/esm/compute/cli/commands/platform-resource-usage-summary.d.ts +8 -0
  256. package/esm/compute/cli/commands/platform-resource-usage-summary.js +387 -0
  257. package/esm/compute/cli/commands/platform-resource-utilization-daily.d.ts +8 -0
  258. package/esm/compute/cli/commands/platform-resource-utilization-daily.js +311 -0
  259. package/esm/compute/cli/commands/platform-resource.js +51 -0
  260. package/esm/compute/cli/commands/platform-resources-health.d.ts +8 -0
  261. package/esm/compute/cli/commands/platform-resources-health.js +411 -0
  262. package/esm/compute/cli/commands/platform-webhook-endpoint.d.ts +8 -0
  263. package/esm/compute/cli/commands/platform-webhook-endpoint.js +430 -0
  264. package/esm/compute/cli/commands/platform-webhook-event.d.ts +8 -0
  265. package/esm/compute/cli/commands/platform-webhook-event.js +412 -0
  266. package/esm/compute/cli/commands/resource-installation.d.ts +8 -0
  267. package/esm/compute/cli/commands/resource-installation.js +454 -0
  268. package/esm/compute/cli/commands/resource-installations-install.d.ts +8 -0
  269. package/esm/compute/cli/commands/resource-installations-install.js +34 -0
  270. package/esm/compute/cli/commands/resource-installations-rollback.d.ts +8 -0
  271. package/esm/compute/cli/commands/resource-installations-rollback.js +34 -0
  272. package/esm/compute/cli/commands/resource-installations-uninstall.d.ts +8 -0
  273. package/esm/compute/cli/commands/resource-installations-uninstall.js +34 -0
  274. package/esm/compute/cli/commands/resource-installations-upgrade.d.ts +8 -0
  275. package/esm/compute/cli/commands/resource-installations-upgrade.js +34 -0
  276. package/esm/compute/cli/commands/resource-usage-log.d.ts +8 -0
  277. package/esm/compute/cli/commands/resource-usage-log.js +404 -0
  278. package/esm/compute/cli/commands/resource-usage-summary.d.ts +8 -0
  279. package/esm/compute/cli/commands/resource-usage-summary.js +407 -0
  280. package/esm/compute/cli/commands/resource-utilization-daily.d.ts +8 -0
  281. package/esm/compute/cli/commands/resource-utilization-daily.js +311 -0
  282. package/esm/compute/cli/commands/resource.js +51 -0
  283. package/esm/compute/cli/commands/resources-health.d.ts +8 -0
  284. package/esm/compute/cli/commands/resources-health.js +422 -0
  285. package/esm/compute/cli/commands/webhook-endpoint.d.ts +8 -0
  286. package/esm/compute/cli/commands/webhook-endpoint.js +450 -0
  287. package/{compute/cli/commands/get-all-record.d.ts → esm/compute/cli/commands/webhook-event.d.ts} +1 -1
  288. package/esm/compute/cli/commands/webhook-event.js +432 -0
  289. package/esm/compute/cli/commands.js +69 -5
  290. package/esm/compute/cli/executor.d.ts +78 -2
  291. package/esm/compute/orm/index.d.ts +101 -4
  292. package/esm/compute/orm/index.js +46 -4
  293. package/esm/compute/orm/input-types.d.ts +5356 -772
  294. package/esm/compute/orm/input-types.js +34 -2
  295. package/esm/compute/orm/models/declaredCapacity.d.ts +30 -0
  296. package/esm/{infra/orm/models/infraGetAllRecord.js → compute/orm/models/declaredCapacity.js} +13 -13
  297. package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +30 -0
  298. package/esm/{objects/orm/models/getAllRecord.js → compute/orm/models/getAllTreeNodesRecord.js} +13 -13
  299. package/esm/compute/orm/models/index.d.ts +23 -2
  300. package/esm/compute/orm/models/index.js +23 -2
  301. package/esm/compute/orm/models/infraCommit.d.ts +2 -2
  302. package/esm/compute/orm/models/infraCommit.js +2 -2
  303. package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +30 -0
  304. package/esm/compute/orm/models/{infraGetAllRecord.js → infraGetAllTreeNodesRecord.js} +13 -13
  305. package/esm/compute/orm/models/infraObject.d.ts +2 -2
  306. package/esm/compute/orm/models/infraObject.js +2 -2
  307. package/esm/compute/orm/models/infraRef.d.ts +2 -2
  308. package/esm/compute/orm/models/infraRef.js +2 -2
  309. package/esm/compute/orm/models/platformDeclaredCapacity.d.ts +30 -0
  310. package/esm/compute/orm/models/platformDeclaredCapacity.js +55 -0
  311. package/esm/compute/orm/models/platformInfraCommit.d.ts +56 -0
  312. package/esm/compute/orm/models/platformInfraCommit.js +103 -0
  313. package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
  314. package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +55 -0
  315. package/esm/compute/orm/models/platformInfraObject.d.ts +56 -0
  316. package/esm/{infra/orm/models/infraObject.js → compute/orm/models/platformInfraObject.js} +23 -23
  317. package/esm/compute/orm/models/platformInfraRef.d.ts +56 -0
  318. package/esm/compute/orm/models/platformInfraRef.js +103 -0
  319. package/esm/compute/orm/models/platformInfraStore.d.ts +54 -0
  320. package/esm/compute/orm/models/platformInfraStore.js +100 -0
  321. package/esm/compute/orm/models/platformResourceInstallation.d.ts +54 -0
  322. package/esm/compute/orm/models/platformResourceInstallation.js +100 -0
  323. package/esm/compute/orm/models/platformResourceUsageLog.d.ts +56 -0
  324. package/esm/compute/orm/models/platformResourceUsageLog.js +103 -0
  325. package/esm/compute/orm/models/platformResourceUsageSummary.d.ts +56 -0
  326. package/esm/compute/orm/models/platformResourceUsageSummary.js +103 -0
  327. package/esm/compute/orm/models/platformResourceUtilizationDaily.d.ts +30 -0
  328. package/esm/compute/orm/models/platformResourceUtilizationDaily.js +55 -0
  329. package/esm/compute/orm/models/platformResourcesHealth.d.ts +36 -0
  330. package/esm/compute/orm/models/platformResourcesHealth.js +76 -0
  331. package/esm/compute/orm/models/platformWebhookEndpoint.d.ts +54 -0
  332. package/esm/compute/orm/models/platformWebhookEndpoint.js +100 -0
  333. package/esm/compute/orm/models/platformWebhookEvent.d.ts +54 -0
  334. package/esm/compute/orm/models/platformWebhookEvent.js +100 -0
  335. package/esm/compute/orm/models/resourceInstallation.d.ts +54 -0
  336. package/esm/compute/orm/models/resourceInstallation.js +100 -0
  337. package/esm/compute/orm/models/resourceUsageLog.d.ts +56 -0
  338. package/esm/compute/orm/models/resourceUsageLog.js +103 -0
  339. package/esm/compute/orm/models/resourceUsageSummary.d.ts +56 -0
  340. package/esm/compute/orm/models/resourceUsageSummary.js +103 -0
  341. package/esm/compute/orm/models/resourceUtilizationDaily.d.ts +30 -0
  342. package/esm/compute/orm/models/resourceUtilizationDaily.js +55 -0
  343. package/esm/compute/orm/models/resourcesHealth.d.ts +36 -0
  344. package/esm/{api/orm/models/migrateFile.js → compute/orm/models/resourcesHealth.js} +18 -18
  345. package/esm/compute/orm/models/webhookEndpoint.d.ts +54 -0
  346. package/esm/compute/orm/models/webhookEndpoint.js +100 -0
  347. package/esm/compute/orm/models/webhookEvent.d.ts +54 -0
  348. package/esm/{infra/orm/models/infraStore.js → compute/orm/models/webhookEvent.js} +25 -25
  349. package/esm/compute/orm/mutation/index.d.ts +89 -1
  350. package/esm/compute/orm/mutation/index.js +132 -0
  351. package/esm/config/cli/commands/platform-internal-secret.js +7 -14
  352. package/esm/config/cli/commands/platform-secret.js +8 -16
  353. package/esm/config/cli/commands/secret.js +9 -18
  354. package/esm/config/orm/input-types.d.ts +4 -79
  355. package/esm/infra/cli/commands/namespace-event.js +0 -154
  356. package/esm/infra/cli/commands/platform-infra-commit.d.ts +8 -0
  357. package/esm/infra/cli/commands/platform-infra-commit.js +387 -0
  358. package/esm/infra/cli/commands/platform-infra-get-all-tree-nodes-record.d.ts +8 -0
  359. package/esm/{objects/cli/commands/get-all-record.js → infra/cli/commands/platform-infra-get-all-tree-nodes-record.js} +7 -5
  360. package/esm/infra/cli/commands/platform-infra-init-empty-repo.d.ts +8 -0
  361. package/esm/infra/cli/commands/{infra-init-empty-repo.js → platform-infra-init-empty-repo.js} +3 -3
  362. package/esm/infra/cli/commands/platform-infra-insert-node-at-path.d.ts +8 -0
  363. package/esm/infra/cli/commands/platform-infra-insert-node-at-path.js +34 -0
  364. package/esm/infra/cli/commands/platform-infra-object.d.ts +8 -0
  365. package/esm/infra/cli/commands/platform-infra-object.js +307 -0
  366. package/esm/infra/cli/commands/platform-infra-ref.d.ts +8 -0
  367. package/esm/infra/cli/commands/platform-infra-ref.js +297 -0
  368. package/esm/infra/cli/commands/platform-infra-set-data-at-path.d.ts +8 -0
  369. package/esm/infra/cli/commands/platform-infra-set-data-at-path.js +34 -0
  370. package/esm/infra/cli/commands/platform-infra-store.d.ts +8 -0
  371. package/esm/infra/cli/commands/platform-infra-store.js +276 -0
  372. package/esm/infra/cli/commands/platform-namespace-event.js +0 -154
  373. package/esm/infra/cli/commands.js +17 -17
  374. package/esm/infra/cli/executor.d.ts +14 -14
  375. package/esm/infra/orm/index.d.ts +19 -19
  376. package/esm/infra/orm/index.js +10 -10
  377. package/esm/infra/orm/input-types.d.ts +542 -668
  378. package/esm/infra/orm/models/index.d.ts +5 -5
  379. package/esm/infra/orm/models/index.js +5 -5
  380. package/esm/infra/orm/models/platformInfraCommit.d.ts +56 -0
  381. package/esm/infra/orm/models/platformInfraCommit.js +103 -0
  382. package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
  383. package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +55 -0
  384. package/esm/infra/orm/models/platformInfraObject.d.ts +56 -0
  385. package/esm/infra/orm/models/platformInfraObject.js +93 -0
  386. package/esm/infra/orm/models/platformInfraRef.d.ts +56 -0
  387. package/esm/infra/orm/models/platformInfraRef.js +103 -0
  388. package/esm/infra/orm/models/platformInfraStore.d.ts +54 -0
  389. package/esm/infra/orm/models/platformInfraStore.js +100 -0
  390. package/esm/infra/orm/mutation/index.d.ts +16 -16
  391. package/esm/infra/orm/mutation/index.js +18 -18
  392. package/esm/modules/cli/commands/compute-log-module.js +24 -24
  393. package/esm/modules/cli/commands/db-usage-module.js +88 -88
  394. package/esm/modules/cli/commands/devices-module.js +32 -32
  395. package/esm/modules/cli/commands/function-module.js +44 -0
  396. package/esm/modules/cli/commands/http-route-module.d.ts +8 -0
  397. package/esm/modules/cli/commands/http-route-module.js +646 -0
  398. package/esm/modules/cli/commands/inference-log-module.js +24 -24
  399. package/esm/modules/cli/commands/rate-limits-module.js +46 -46
  400. package/esm/modules/cli/commands/resource-module.js +220 -0
  401. package/esm/modules/cli/commands/sessions-module.js +48 -48
  402. package/esm/modules/cli/commands/storage-log-module.js +24 -24
  403. package/esm/modules/cli/commands/transfer-log-module.js +24 -24
  404. package/esm/modules/cli/commands/webhook-module.d.ts +8 -0
  405. package/esm/modules/cli/commands/webhook-module.js +690 -0
  406. package/esm/modules/cli/commands.js +5 -1
  407. package/esm/modules/cli/executor.d.ts +2 -0
  408. package/esm/modules/orm/index.d.ts +4 -0
  409. package/esm/modules/orm/index.js +4 -0
  410. package/esm/modules/orm/input-types.d.ts +802 -166
  411. package/esm/modules/orm/models/httpRouteModule.d.ts +54 -0
  412. package/esm/modules/orm/models/httpRouteModule.js +100 -0
  413. package/esm/modules/orm/models/index.d.ts +2 -0
  414. package/esm/modules/orm/models/index.js +2 -0
  415. package/esm/modules/orm/models/webhookModule.d.ts +54 -0
  416. package/esm/modules/orm/models/webhookModule.js +100 -0
  417. package/esm/objects/cli/commands/get-all-tree-nodes-record.d.ts +8 -0
  418. package/esm/{compute/cli/commands/get-all-record.js → objects/cli/commands/get-all-tree-nodes-record.js} +5 -5
  419. package/esm/objects/cli/commands.js +3 -3
  420. package/esm/objects/cli/executor.d.ts +1 -1
  421. package/esm/objects/orm/index.d.ts +2 -2
  422. package/esm/objects/orm/index.js +2 -2
  423. package/esm/objects/orm/input-types.d.ts +15 -15
  424. package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +30 -0
  425. package/esm/{compute/orm/models/getAllRecord.js → objects/orm/models/getAllTreeNodesRecord.js} +13 -13
  426. package/esm/objects/orm/models/index.d.ts +1 -1
  427. package/esm/objects/orm/models/index.js +1 -1
  428. package/infra/cli/commands/namespace-event.js +0 -154
  429. package/infra/cli/commands/platform-infra-commit.d.ts +8 -0
  430. package/infra/cli/commands/platform-infra-commit.js +389 -0
  431. package/infra/cli/commands/platform-infra-get-all-tree-nodes-record.d.ts +8 -0
  432. package/infra/cli/commands/{infra-get-all-record.js → platform-infra-get-all-tree-nodes-record.js} +7 -5
  433. package/infra/cli/commands/platform-infra-init-empty-repo.d.ts +8 -0
  434. package/infra/cli/commands/{infra-insert-node-at-path.js → platform-infra-init-empty-repo.js} +3 -3
  435. package/infra/cli/commands/platform-infra-insert-node-at-path.d.ts +8 -0
  436. package/infra/cli/commands/platform-infra-insert-node-at-path.js +36 -0
  437. package/infra/cli/commands/platform-infra-object.d.ts +8 -0
  438. package/infra/cli/commands/platform-infra-object.js +309 -0
  439. package/infra/cli/commands/platform-infra-ref.d.ts +8 -0
  440. package/infra/cli/commands/platform-infra-ref.js +299 -0
  441. package/infra/cli/commands/platform-infra-set-data-at-path.d.ts +8 -0
  442. package/infra/cli/commands/platform-infra-set-data-at-path.js +36 -0
  443. package/infra/cli/commands/platform-infra-store.d.ts +8 -0
  444. package/infra/cli/commands/platform-infra-store.js +278 -0
  445. package/infra/cli/commands/platform-namespace-event.js +0 -154
  446. package/infra/cli/commands.js +17 -17
  447. package/infra/cli/executor.d.ts +14 -14
  448. package/infra/orm/index.d.ts +19 -19
  449. package/infra/orm/index.js +10 -10
  450. package/infra/orm/input-types.d.ts +542 -668
  451. package/infra/orm/models/index.d.ts +5 -5
  452. package/infra/orm/models/index.js +11 -11
  453. package/infra/orm/models/platformInfraCommit.d.ts +56 -0
  454. package/infra/orm/models/platformInfraCommit.js +107 -0
  455. package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +30 -0
  456. package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +59 -0
  457. package/infra/orm/models/platformInfraObject.d.ts +56 -0
  458. package/infra/orm/models/platformInfraObject.js +97 -0
  459. package/infra/orm/models/platformInfraRef.d.ts +56 -0
  460. package/infra/orm/models/platformInfraRef.js +107 -0
  461. package/infra/orm/models/platformInfraStore.d.ts +54 -0
  462. package/infra/orm/models/platformInfraStore.js +104 -0
  463. package/infra/orm/mutation/index.d.ts +16 -16
  464. package/infra/orm/mutation/index.js +18 -18
  465. package/modules/cli/commands/compute-log-module.js +24 -24
  466. package/modules/cli/commands/db-usage-module.js +88 -88
  467. package/modules/cli/commands/devices-module.js +32 -32
  468. package/modules/cli/commands/function-module.js +44 -0
  469. package/modules/cli/commands/http-route-module.d.ts +8 -0
  470. package/modules/cli/commands/http-route-module.js +648 -0
  471. package/modules/cli/commands/inference-log-module.js +24 -24
  472. package/modules/cli/commands/rate-limits-module.js +46 -46
  473. package/modules/cli/commands/resource-module.js +220 -0
  474. package/modules/cli/commands/sessions-module.js +48 -48
  475. package/modules/cli/commands/storage-log-module.js +24 -24
  476. package/modules/cli/commands/transfer-log-module.js +24 -24
  477. package/modules/cli/commands/webhook-module.d.ts +8 -0
  478. package/modules/cli/commands/webhook-module.js +692 -0
  479. package/modules/cli/commands.js +5 -1
  480. package/modules/cli/executor.d.ts +2 -0
  481. package/modules/orm/index.d.ts +4 -0
  482. package/modules/orm/index.js +4 -0
  483. package/modules/orm/input-types.d.ts +802 -166
  484. package/modules/orm/models/httpRouteModule.d.ts +54 -0
  485. package/modules/orm/models/httpRouteModule.js +104 -0
  486. package/modules/orm/models/index.d.ts +2 -0
  487. package/modules/orm/models/index.js +6 -2
  488. package/modules/orm/models/webhookModule.d.ts +54 -0
  489. package/modules/orm/models/webhookModule.js +104 -0
  490. package/objects/cli/commands/get-all-tree-nodes-record.d.ts +8 -0
  491. package/objects/cli/commands/{get-all-record.js → get-all-tree-nodes-record.js} +5 -5
  492. package/objects/cli/commands.js +3 -3
  493. package/objects/cli/executor.d.ts +1 -1
  494. package/objects/orm/index.d.ts +2 -2
  495. package/objects/orm/index.js +2 -2
  496. package/objects/orm/input-types.d.ts +15 -15
  497. package/objects/orm/models/getAllTreeNodesRecord.d.ts +30 -0
  498. package/{infra/orm/models/infraGetAllRecord.js → objects/orm/models/getAllTreeNodesRecord.js} +15 -15
  499. package/objects/orm/models/index.d.ts +1 -1
  500. package/objects/orm/models/index.js +3 -3
  501. package/package.json +5 -5
  502. package/api/orm/models/migrateFile.d.ts +0 -36
  503. package/compute/orm/models/getAllRecord.d.ts +0 -30
  504. package/compute/orm/models/infraGetAllRecord.d.ts +0 -30
  505. package/esm/api/orm/models/migrateFile.d.ts +0 -36
  506. package/esm/compute/cli/commands/infra-get-all-record.d.ts +0 -8
  507. package/esm/compute/orm/models/getAllRecord.d.ts +0 -30
  508. package/esm/compute/orm/models/infraGetAllRecord.d.ts +0 -30
  509. package/esm/infra/cli/commands/infra-commit.d.ts +0 -8
  510. package/esm/infra/cli/commands/infra-get-all-record.d.ts +0 -8
  511. package/esm/infra/cli/commands/infra-init-empty-repo.d.ts +0 -8
  512. package/esm/infra/cli/commands/infra-insert-node-at-path.d.ts +0 -8
  513. package/esm/infra/cli/commands/infra-object.d.ts +0 -8
  514. package/esm/infra/cli/commands/infra-set-data-at-path.d.ts +0 -8
  515. package/esm/infra/cli/commands/infra-store.d.ts +0 -8
  516. package/esm/infra/orm/models/infraCommit.d.ts +0 -56
  517. package/esm/infra/orm/models/infraGetAllRecord.d.ts +0 -30
  518. package/esm/infra/orm/models/infraObject.d.ts +0 -56
  519. package/esm/infra/orm/models/infraRef.d.ts +0 -56
  520. package/esm/infra/orm/models/infraStore.d.ts +0 -54
  521. package/esm/objects/cli/commands/get-all-record.d.ts +0 -8
  522. package/esm/objects/orm/models/getAllRecord.d.ts +0 -30
  523. package/infra/cli/commands/infra-commit.d.ts +0 -8
  524. package/infra/cli/commands/infra-get-all-record.d.ts +0 -8
  525. package/infra/cli/commands/infra-init-empty-repo.d.ts +0 -8
  526. package/infra/cli/commands/infra-insert-node-at-path.d.ts +0 -8
  527. package/infra/cli/commands/infra-object.d.ts +0 -8
  528. package/infra/cli/commands/infra-set-data-at-path.d.ts +0 -8
  529. package/infra/cli/commands/infra-store.d.ts +0 -8
  530. package/infra/orm/models/infraCommit.d.ts +0 -56
  531. package/infra/orm/models/infraGetAllRecord.d.ts +0 -30
  532. package/infra/orm/models/infraObject.d.ts +0 -56
  533. package/infra/orm/models/infraRef.d.ts +0 -56
  534. package/infra/orm/models/infraStore.d.ts +0 -54
  535. package/objects/cli/commands/get-all-record.d.ts +0 -8
  536. package/objects/orm/models/getAllRecord.d.ts +0 -30
@@ -7,25 +7,33 @@ import { extractFirst } from 'inquirerer';
7
7
  import { getClient } from '../executor';
8
8
  import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
9
9
  const fieldSchema = {
10
+ actorId: 'uuid',
10
11
  completedAt: 'string',
11
12
  currentWave: 'int',
12
13
  definitionsCommitId: 'uuid',
14
+ entityId: 'uuid',
15
+ entityType: 'string',
13
16
  errorCode: 'string',
14
17
  errorMessage: 'string',
15
18
  executionPlan: 'json',
16
19
  graphId: 'uuid',
17
20
  id: 'uuid',
18
21
  inputPayload: 'json',
22
+ invocationCreatedAt: 'string',
19
23
  invocationId: 'uuid',
20
24
  lastProgressAt: 'string',
21
25
  maxPendingJobs: 'int',
22
26
  maxTicks: 'int',
23
27
  nodeOutputs: 'json',
28
+ organizationId: 'uuid',
29
+ outputNames: 'string',
24
30
  outputNode: 'string',
25
31
  outputPayload: 'json',
26
32
  outputPort: 'string',
27
33
  parentExecutionId: 'uuid',
34
+ parentInvocationId: 'uuid',
28
35
  parentNodeName: 'string',
36
+ principalId: 'uuid',
29
37
  scopeId: 'uuid',
30
38
  startedAt: 'string',
31
39
  status: 'string',
@@ -74,25 +82,33 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
74
82
  async function handleList(argv, _prompter) {
75
83
  try {
76
84
  const defaultSelect = {
85
+ actorId: true,
77
86
  completedAt: true,
78
87
  currentWave: true,
79
88
  definitionsCommitId: true,
89
+ entityId: true,
90
+ entityType: true,
80
91
  errorCode: true,
81
92
  errorMessage: true,
82
93
  executionPlan: true,
83
94
  graphId: true,
84
95
  id: true,
85
96
  inputPayload: true,
97
+ invocationCreatedAt: true,
86
98
  invocationId: true,
87
99
  lastProgressAt: true,
88
100
  maxPendingJobs: true,
89
101
  maxTicks: true,
90
102
  nodeOutputs: true,
103
+ organizationId: true,
104
+ outputNames: true,
91
105
  outputNode: true,
92
106
  outputPayload: true,
93
107
  outputPort: true,
94
108
  parentExecutionId: true,
109
+ parentInvocationId: true,
95
110
  parentNodeName: true,
111
+ principalId: true,
96
112
  scopeId: true,
97
113
  startedAt: true,
98
114
  status: true,
@@ -115,25 +131,33 @@ async function handleList(argv, _prompter) {
115
131
  async function handleFindFirst(argv, _prompter) {
116
132
  try {
117
133
  const defaultSelect = {
134
+ actorId: true,
118
135
  completedAt: true,
119
136
  currentWave: true,
120
137
  definitionsCommitId: true,
138
+ entityId: true,
139
+ entityType: true,
121
140
  errorCode: true,
122
141
  errorMessage: true,
123
142
  executionPlan: true,
124
143
  graphId: true,
125
144
  id: true,
126
145
  inputPayload: true,
146
+ invocationCreatedAt: true,
127
147
  invocationId: true,
128
148
  lastProgressAt: true,
129
149
  maxPendingJobs: true,
130
150
  maxTicks: true,
131
151
  nodeOutputs: true,
152
+ organizationId: true,
153
+ outputNames: true,
132
154
  outputNode: true,
133
155
  outputPayload: true,
134
156
  outputPort: true,
135
157
  parentExecutionId: true,
158
+ parentInvocationId: true,
136
159
  parentNodeName: true,
160
+ principalId: true,
137
161
  scopeId: true,
138
162
  startedAt: true,
139
163
  status: true,
@@ -168,25 +192,33 @@ async function handleGet(argv, prompter) {
168
192
  .findOne({
169
193
  id: answers.id,
170
194
  select: {
195
+ actorId: true,
171
196
  completedAt: true,
172
197
  currentWave: true,
173
198
  definitionsCommitId: true,
199
+ entityId: true,
200
+ entityType: true,
174
201
  errorCode: true,
175
202
  errorMessage: true,
176
203
  executionPlan: true,
177
204
  graphId: true,
178
205
  id: true,
179
206
  inputPayload: true,
207
+ invocationCreatedAt: true,
180
208
  invocationId: true,
181
209
  lastProgressAt: true,
182
210
  maxPendingJobs: true,
183
211
  maxTicks: true,
184
212
  nodeOutputs: true,
213
+ organizationId: true,
214
+ outputNames: true,
185
215
  outputNode: true,
186
216
  outputPayload: true,
187
217
  outputPort: true,
188
218
  parentExecutionId: true,
219
+ parentInvocationId: true,
189
220
  parentNodeName: true,
221
+ principalId: true,
190
222
  scopeId: true,
191
223
  startedAt: true,
192
224
  status: true,
@@ -208,6 +240,13 @@ async function handleGet(argv, prompter) {
208
240
  async function handleCreate(argv, prompter) {
209
241
  try {
210
242
  const rawAnswers = await prompter.prompt(argv, [
243
+ {
244
+ type: 'text',
245
+ name: 'actorId',
246
+ message: 'actorId',
247
+ required: false,
248
+ skipPrompt: true,
249
+ },
211
250
  {
212
251
  type: 'text',
213
252
  name: 'completedAt',
@@ -229,6 +268,20 @@ async function handleCreate(argv, prompter) {
229
268
  required: false,
230
269
  skipPrompt: true,
231
270
  },
271
+ {
272
+ type: 'text',
273
+ name: 'entityId',
274
+ message: 'entityId',
275
+ required: false,
276
+ skipPrompt: true,
277
+ },
278
+ {
279
+ type: 'text',
280
+ name: 'entityType',
281
+ message: 'entityType',
282
+ required: false,
283
+ skipPrompt: true,
284
+ },
232
285
  {
233
286
  type: 'text',
234
287
  name: 'errorCode',
@@ -263,6 +316,13 @@ async function handleCreate(argv, prompter) {
263
316
  required: false,
264
317
  skipPrompt: true,
265
318
  },
319
+ {
320
+ type: 'text',
321
+ name: 'invocationCreatedAt',
322
+ message: 'invocationCreatedAt',
323
+ required: false,
324
+ skipPrompt: true,
325
+ },
266
326
  {
267
327
  type: 'text',
268
328
  name: 'invocationId',
@@ -298,6 +358,20 @@ async function handleCreate(argv, prompter) {
298
358
  required: false,
299
359
  skipPrompt: true,
300
360
  },
361
+ {
362
+ type: 'text',
363
+ name: 'organizationId',
364
+ message: 'organizationId',
365
+ required: false,
366
+ skipPrompt: true,
367
+ },
368
+ {
369
+ type: 'text',
370
+ name: 'outputNames',
371
+ message: 'outputNames',
372
+ required: false,
373
+ skipPrompt: true,
374
+ },
301
375
  {
302
376
  type: 'text',
303
377
  name: 'outputNode',
@@ -326,6 +400,13 @@ async function handleCreate(argv, prompter) {
326
400
  required: false,
327
401
  skipPrompt: true,
328
402
  },
403
+ {
404
+ type: 'text',
405
+ name: 'parentInvocationId',
406
+ message: 'parentInvocationId',
407
+ required: false,
408
+ skipPrompt: true,
409
+ },
329
410
  {
330
411
  type: 'text',
331
412
  name: 'parentNodeName',
@@ -333,6 +414,13 @@ async function handleCreate(argv, prompter) {
333
414
  required: false,
334
415
  skipPrompt: true,
335
416
  },
417
+ {
418
+ type: 'text',
419
+ name: 'principalId',
420
+ message: 'principalId',
421
+ required: false,
422
+ skipPrompt: true,
423
+ },
336
424
  {
337
425
  type: 'text',
338
426
  name: 'scopeId',
@@ -374,24 +462,32 @@ async function handleCreate(argv, prompter) {
374
462
  const result = await client.functionGraphExecution
375
463
  .create({
376
464
  data: {
465
+ actorId: cleanedData.actorId,
377
466
  completedAt: cleanedData.completedAt,
378
467
  currentWave: cleanedData.currentWave,
379
468
  definitionsCommitId: cleanedData.definitionsCommitId,
469
+ entityId: cleanedData.entityId,
470
+ entityType: cleanedData.entityType,
380
471
  errorCode: cleanedData.errorCode,
381
472
  errorMessage: cleanedData.errorMessage,
382
473
  executionPlan: cleanedData.executionPlan,
383
474
  graphId: cleanedData.graphId,
384
475
  inputPayload: cleanedData.inputPayload,
476
+ invocationCreatedAt: cleanedData.invocationCreatedAt,
385
477
  invocationId: cleanedData.invocationId,
386
478
  lastProgressAt: cleanedData.lastProgressAt,
387
479
  maxPendingJobs: cleanedData.maxPendingJobs,
388
480
  maxTicks: cleanedData.maxTicks,
389
481
  nodeOutputs: cleanedData.nodeOutputs,
482
+ organizationId: cleanedData.organizationId,
483
+ outputNames: cleanedData.outputNames,
390
484
  outputNode: cleanedData.outputNode,
391
485
  outputPayload: cleanedData.outputPayload,
392
486
  outputPort: cleanedData.outputPort,
393
487
  parentExecutionId: cleanedData.parentExecutionId,
488
+ parentInvocationId: cleanedData.parentInvocationId,
394
489
  parentNodeName: cleanedData.parentNodeName,
490
+ principalId: cleanedData.principalId,
395
491
  scopeId: cleanedData.scopeId,
396
492
  startedAt: cleanedData.startedAt,
397
493
  status: cleanedData.status,
@@ -399,25 +495,33 @@ async function handleCreate(argv, prompter) {
399
495
  timeoutAt: cleanedData.timeoutAt,
400
496
  },
401
497
  select: {
498
+ actorId: true,
402
499
  completedAt: true,
403
500
  currentWave: true,
404
501
  definitionsCommitId: true,
502
+ entityId: true,
503
+ entityType: true,
405
504
  errorCode: true,
406
505
  errorMessage: true,
407
506
  executionPlan: true,
408
507
  graphId: true,
409
508
  id: true,
410
509
  inputPayload: true,
510
+ invocationCreatedAt: true,
411
511
  invocationId: true,
412
512
  lastProgressAt: true,
413
513
  maxPendingJobs: true,
414
514
  maxTicks: true,
415
515
  nodeOutputs: true,
516
+ organizationId: true,
517
+ outputNames: true,
416
518
  outputNode: true,
417
519
  outputPayload: true,
418
520
  outputPort: true,
419
521
  parentExecutionId: true,
522
+ parentInvocationId: true,
420
523
  parentNodeName: true,
524
+ principalId: true,
421
525
  scopeId: true,
422
526
  startedAt: true,
423
527
  status: true,
@@ -451,6 +555,13 @@ async function handleUpdate(argv, prompter) {
451
555
  message: 'startedAt',
452
556
  required: true,
453
557
  },
558
+ {
559
+ type: 'text',
560
+ name: 'actorId',
561
+ message: 'actorId',
562
+ required: false,
563
+ skipPrompt: true,
564
+ },
454
565
  {
455
566
  type: 'text',
456
567
  name: 'completedAt',
@@ -472,6 +583,20 @@ async function handleUpdate(argv, prompter) {
472
583
  required: false,
473
584
  skipPrompt: true,
474
585
  },
586
+ {
587
+ type: 'text',
588
+ name: 'entityId',
589
+ message: 'entityId',
590
+ required: false,
591
+ skipPrompt: true,
592
+ },
593
+ {
594
+ type: 'text',
595
+ name: 'entityType',
596
+ message: 'entityType',
597
+ required: false,
598
+ skipPrompt: true,
599
+ },
475
600
  {
476
601
  type: 'text',
477
602
  name: 'errorCode',
@@ -506,6 +631,13 @@ async function handleUpdate(argv, prompter) {
506
631
  required: false,
507
632
  skipPrompt: true,
508
633
  },
634
+ {
635
+ type: 'text',
636
+ name: 'invocationCreatedAt',
637
+ message: 'invocationCreatedAt',
638
+ required: false,
639
+ skipPrompt: true,
640
+ },
509
641
  {
510
642
  type: 'text',
511
643
  name: 'invocationId',
@@ -541,6 +673,20 @@ async function handleUpdate(argv, prompter) {
541
673
  required: false,
542
674
  skipPrompt: true,
543
675
  },
676
+ {
677
+ type: 'text',
678
+ name: 'organizationId',
679
+ message: 'organizationId',
680
+ required: false,
681
+ skipPrompt: true,
682
+ },
683
+ {
684
+ type: 'text',
685
+ name: 'outputNames',
686
+ message: 'outputNames',
687
+ required: false,
688
+ skipPrompt: true,
689
+ },
544
690
  {
545
691
  type: 'text',
546
692
  name: 'outputNode',
@@ -569,6 +715,13 @@ async function handleUpdate(argv, prompter) {
569
715
  required: false,
570
716
  skipPrompt: true,
571
717
  },
718
+ {
719
+ type: 'text',
720
+ name: 'parentInvocationId',
721
+ message: 'parentInvocationId',
722
+ required: false,
723
+ skipPrompt: true,
724
+ },
572
725
  {
573
726
  type: 'text',
574
727
  name: 'parentNodeName',
@@ -576,6 +729,13 @@ async function handleUpdate(argv, prompter) {
576
729
  required: false,
577
730
  skipPrompt: true,
578
731
  },
732
+ {
733
+ type: 'text',
734
+ name: 'principalId',
735
+ message: 'principalId',
736
+ required: false,
737
+ skipPrompt: true,
738
+ },
579
739
  {
580
740
  type: 'text',
581
741
  name: 'scopeId',
@@ -614,49 +774,65 @@ async function handleUpdate(argv, prompter) {
614
774
  startedAt: answers.startedAt,
615
775
  },
616
776
  data: {
777
+ actorId: cleanedData.actorId,
617
778
  completedAt: cleanedData.completedAt,
618
779
  currentWave: cleanedData.currentWave,
619
780
  definitionsCommitId: cleanedData.definitionsCommitId,
781
+ entityId: cleanedData.entityId,
782
+ entityType: cleanedData.entityType,
620
783
  errorCode: cleanedData.errorCode,
621
784
  errorMessage: cleanedData.errorMessage,
622
785
  executionPlan: cleanedData.executionPlan,
623
786
  graphId: cleanedData.graphId,
624
787
  inputPayload: cleanedData.inputPayload,
788
+ invocationCreatedAt: cleanedData.invocationCreatedAt,
625
789
  invocationId: cleanedData.invocationId,
626
790
  lastProgressAt: cleanedData.lastProgressAt,
627
791
  maxPendingJobs: cleanedData.maxPendingJobs,
628
792
  maxTicks: cleanedData.maxTicks,
629
793
  nodeOutputs: cleanedData.nodeOutputs,
794
+ organizationId: cleanedData.organizationId,
795
+ outputNames: cleanedData.outputNames,
630
796
  outputNode: cleanedData.outputNode,
631
797
  outputPayload: cleanedData.outputPayload,
632
798
  outputPort: cleanedData.outputPort,
633
799
  parentExecutionId: cleanedData.parentExecutionId,
800
+ parentInvocationId: cleanedData.parentInvocationId,
634
801
  parentNodeName: cleanedData.parentNodeName,
802
+ principalId: cleanedData.principalId,
635
803
  scopeId: cleanedData.scopeId,
636
804
  status: cleanedData.status,
637
805
  tickCount: cleanedData.tickCount,
638
806
  timeoutAt: cleanedData.timeoutAt,
639
807
  },
640
808
  select: {
809
+ actorId: true,
641
810
  completedAt: true,
642
811
  currentWave: true,
643
812
  definitionsCommitId: true,
813
+ entityId: true,
814
+ entityType: true,
644
815
  errorCode: true,
645
816
  errorMessage: true,
646
817
  executionPlan: true,
647
818
  graphId: true,
648
819
  id: true,
649
820
  inputPayload: true,
821
+ invocationCreatedAt: true,
650
822
  invocationId: true,
651
823
  lastProgressAt: true,
652
824
  maxPendingJobs: true,
653
825
  maxTicks: true,
654
826
  nodeOutputs: true,
827
+ organizationId: true,
828
+ outputNames: true,
655
829
  outputNode: true,
656
830
  outputPayload: true,
657
831
  outputPort: true,
658
832
  parentExecutionId: true,
833
+ parentInvocationId: true,
659
834
  parentNodeName: true,
835
+ principalId: true,
660
836
  scopeId: true,
661
837
  startedAt: true,
662
838
  status: true,
@@ -9,9 +9,11 @@ import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined }
9
9
  const fieldSchema = {
10
10
  actorId: 'uuid',
11
11
  apiBindingId: 'uuid',
12
+ channel: 'string',
12
13
  completedAt: 'string',
13
14
  createdAt: 'string',
14
15
  databaseId: 'uuid',
16
+ definitionScope: 'string',
15
17
  durationMs: 'int',
16
18
  error: 'string',
17
19
  functionDefinitionId: 'uuid',
@@ -20,6 +22,7 @@ const fieldSchema = {
20
22
  jobId: 'int',
21
23
  parentInvocationId: 'uuid',
22
24
  payload: 'json',
25
+ provenance: 'json',
23
26
  result: 'json',
24
27
  startedAt: 'string',
25
28
  status: 'string',
@@ -69,9 +72,11 @@ async function handleList(argv, _prompter) {
69
72
  const defaultSelect = {
70
73
  actorId: true,
71
74
  apiBindingId: true,
75
+ channel: true,
72
76
  completedAt: true,
73
77
  createdAt: true,
74
78
  databaseId: true,
79
+ definitionScope: true,
75
80
  durationMs: true,
76
81
  error: true,
77
82
  functionDefinitionId: true,
@@ -80,6 +85,7 @@ async function handleList(argv, _prompter) {
80
85
  jobId: true,
81
86
  parentInvocationId: true,
82
87
  payload: true,
88
+ provenance: true,
83
89
  result: true,
84
90
  startedAt: true,
85
91
  status: true,
@@ -103,9 +109,11 @@ async function handleFindFirst(argv, _prompter) {
103
109
  const defaultSelect = {
104
110
  actorId: true,
105
111
  apiBindingId: true,
112
+ channel: true,
106
113
  completedAt: true,
107
114
  createdAt: true,
108
115
  databaseId: true,
116
+ definitionScope: true,
109
117
  durationMs: true,
110
118
  error: true,
111
119
  functionDefinitionId: true,
@@ -114,6 +122,7 @@ async function handleFindFirst(argv, _prompter) {
114
122
  jobId: true,
115
123
  parentInvocationId: true,
116
124
  payload: true,
125
+ provenance: true,
117
126
  result: true,
118
127
  startedAt: true,
119
128
  status: true,
@@ -149,9 +158,11 @@ async function handleGet(argv, prompter) {
149
158
  select: {
150
159
  actorId: true,
151
160
  apiBindingId: true,
161
+ channel: true,
152
162
  completedAt: true,
153
163
  createdAt: true,
154
164
  databaseId: true,
165
+ definitionScope: true,
155
166
  durationMs: true,
156
167
  error: true,
157
168
  functionDefinitionId: true,
@@ -160,6 +171,7 @@ async function handleGet(argv, prompter) {
160
171
  jobId: true,
161
172
  parentInvocationId: true,
162
173
  payload: true,
174
+ provenance: true,
163
175
  result: true,
164
176
  startedAt: true,
165
177
  status: true,
@@ -194,6 +206,13 @@ async function handleCreate(argv, prompter) {
194
206
  required: false,
195
207
  skipPrompt: true,
196
208
  },
209
+ {
210
+ type: 'text',
211
+ name: 'channel',
212
+ message: 'channel',
213
+ required: false,
214
+ skipPrompt: true,
215
+ },
197
216
  {
198
217
  type: 'text',
199
218
  name: 'completedAt',
@@ -207,6 +226,13 @@ async function handleCreate(argv, prompter) {
207
226
  message: 'databaseId',
208
227
  required: true,
209
228
  },
229
+ {
230
+ type: 'text',
231
+ name: 'definitionScope',
232
+ message: 'definitionScope',
233
+ required: false,
234
+ skipPrompt: true,
235
+ },
210
236
  {
211
237
  type: 'text',
212
238
  name: 'durationMs',
@@ -256,6 +282,13 @@ async function handleCreate(argv, prompter) {
256
282
  required: false,
257
283
  skipPrompt: true,
258
284
  },
285
+ {
286
+ type: 'json',
287
+ name: 'provenance',
288
+ message: 'provenance',
289
+ required: false,
290
+ skipPrompt: true,
291
+ },
259
292
  {
260
293
  type: 'json',
261
294
  name: 'result',
@@ -292,8 +325,10 @@ async function handleCreate(argv, prompter) {
292
325
  data: {
293
326
  actorId: cleanedData.actorId,
294
327
  apiBindingId: cleanedData.apiBindingId,
328
+ channel: cleanedData.channel,
295
329
  completedAt: cleanedData.completedAt,
296
330
  databaseId: cleanedData.databaseId,
331
+ definitionScope: cleanedData.definitionScope,
297
332
  durationMs: cleanedData.durationMs,
298
333
  error: cleanedData.error,
299
334
  functionDefinitionId: cleanedData.functionDefinitionId,
@@ -301,6 +336,7 @@ async function handleCreate(argv, prompter) {
301
336
  jobId: cleanedData.jobId,
302
337
  parentInvocationId: cleanedData.parentInvocationId,
303
338
  payload: cleanedData.payload,
339
+ provenance: cleanedData.provenance,
304
340
  result: cleanedData.result,
305
341
  startedAt: cleanedData.startedAt,
306
342
  status: cleanedData.status,
@@ -309,9 +345,11 @@ async function handleCreate(argv, prompter) {
309
345
  select: {
310
346
  actorId: true,
311
347
  apiBindingId: true,
348
+ channel: true,
312
349
  completedAt: true,
313
350
  createdAt: true,
314
351
  databaseId: true,
352
+ definitionScope: true,
315
353
  durationMs: true,
316
354
  error: true,
317
355
  functionDefinitionId: true,
@@ -320,6 +358,7 @@ async function handleCreate(argv, prompter) {
320
358
  jobId: true,
321
359
  parentInvocationId: true,
322
360
  payload: true,
361
+ provenance: true,
323
362
  result: true,
324
363
  startedAt: true,
325
364
  status: true,
@@ -366,6 +405,13 @@ async function handleUpdate(argv, prompter) {
366
405
  required: false,
367
406
  skipPrompt: true,
368
407
  },
408
+ {
409
+ type: 'text',
410
+ name: 'channel',
411
+ message: 'channel',
412
+ required: false,
413
+ skipPrompt: true,
414
+ },
369
415
  {
370
416
  type: 'text',
371
417
  name: 'completedAt',
@@ -379,6 +425,13 @@ async function handleUpdate(argv, prompter) {
379
425
  message: 'databaseId',
380
426
  required: false,
381
427
  },
428
+ {
429
+ type: 'text',
430
+ name: 'definitionScope',
431
+ message: 'definitionScope',
432
+ required: false,
433
+ skipPrompt: true,
434
+ },
382
435
  {
383
436
  type: 'text',
384
437
  name: 'durationMs',
@@ -428,6 +481,13 @@ async function handleUpdate(argv, prompter) {
428
481
  required: false,
429
482
  skipPrompt: true,
430
483
  },
484
+ {
485
+ type: 'json',
486
+ name: 'provenance',
487
+ message: 'provenance',
488
+ required: false,
489
+ skipPrompt: true,
490
+ },
431
491
  {
432
492
  type: 'json',
433
493
  name: 'result',
@@ -468,8 +528,10 @@ async function handleUpdate(argv, prompter) {
468
528
  data: {
469
529
  actorId: cleanedData.actorId,
470
530
  apiBindingId: cleanedData.apiBindingId,
531
+ channel: cleanedData.channel,
471
532
  completedAt: cleanedData.completedAt,
472
533
  databaseId: cleanedData.databaseId,
534
+ definitionScope: cleanedData.definitionScope,
473
535
  durationMs: cleanedData.durationMs,
474
536
  error: cleanedData.error,
475
537
  functionDefinitionId: cleanedData.functionDefinitionId,
@@ -477,6 +539,7 @@ async function handleUpdate(argv, prompter) {
477
539
  jobId: cleanedData.jobId,
478
540
  parentInvocationId: cleanedData.parentInvocationId,
479
541
  payload: cleanedData.payload,
542
+ provenance: cleanedData.provenance,
480
543
  result: cleanedData.result,
481
544
  startedAt: cleanedData.startedAt,
482
545
  status: cleanedData.status,
@@ -485,9 +548,11 @@ async function handleUpdate(argv, prompter) {
485
548
  select: {
486
549
  actorId: true,
487
550
  apiBindingId: true,
551
+ channel: true,
488
552
  completedAt: true,
489
553
  createdAt: true,
490
554
  databaseId: true,
555
+ definitionScope: true,
491
556
  durationMs: true,
492
557
  error: true,
493
558
  functionDefinitionId: true,
@@ -496,6 +561,7 @@ async function handleUpdate(argv, prompter) {
496
561
  jobId: true,
497
562
  parentInvocationId: true,
498
563
  payload: true,
564
+ provenance: true,
499
565
  result: true,
500
566
  startedAt: true,
501
567
  status: true,
@@ -0,0 +1,8 @@
1
+ /**
2
+ * CLI commands for GetAllTreeNodesRecord
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { CLIOptions, Inquirerer } from 'inquirerer';
7
+ declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
8
+ export default _default;