@constructive-sdk/cli 0.30.0 → 0.30.1

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 (756) hide show
  1. package/README.md +1 -0
  2. package/agent/cli/commands/agent-message.js +20 -0
  3. package/agent/cli/commands/agent-persona.js +20 -0
  4. package/agent/cli/commands/agent-plan.js +20 -0
  5. package/agent/cli/commands/agent-prompt.js +20 -0
  6. package/agent/cli/commands/agent-resource.js +21 -0
  7. package/agent/cli/commands/agent-task.js +20 -0
  8. package/agent/cli/commands/agent-thread.js +20 -0
  9. package/agent/cli/commands/agent.js +20 -0
  10. package/agent/orm/input-types.d.ts +96 -8
  11. package/api/cli/commands/database.js +22 -0
  12. package/api/cli/commands/field.js +44 -0
  13. package/api/cli/commands/policy.js +22 -0
  14. package/{compute/cli/commands/org-function-execution-log.d.ts → api/cli/commands/request-database.d.ts} +1 -1
  15. package/api/cli/commands/request-database.js +36 -0
  16. package/api/cli/commands/table.js +22 -0
  17. package/api/cli/commands.js +5 -9
  18. package/api/cli/executor.d.ts +4 -14
  19. package/api/orm/index.d.ts +5 -15
  20. package/api/orm/index.js +2 -2
  21. package/api/orm/input-types.d.ts +250 -231
  22. package/api/orm/models/index.d.ts +1 -1
  23. package/api/orm/models/index.js +3 -3
  24. package/api/orm/mutation/index.d.ts +11 -36
  25. package/api/orm/mutation/index.js +6 -30
  26. package/auth/cli/commands/delete-principal.d.ts +8 -0
  27. package/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
  28. package/auth/cli/commands/principal-scope-override.js +18 -7
  29. package/auth/cli/commands/principal.d.ts +1 -1
  30. package/auth/cli/commands/principal.js +75 -64
  31. package/auth/cli/commands.js +5 -3
  32. package/auth/cli/executor.d.ts +10 -5
  33. package/auth/orm/index.d.ts +10 -5
  34. package/auth/orm/input-types.d.ts +54 -45
  35. package/auth/orm/models/principal.d.ts +1 -10
  36. package/auth/orm/models/principal.js +0 -13
  37. package/auth/orm/mutation/index.d.ts +17 -9
  38. package/auth/orm/mutation/index.js +24 -12
  39. package/{esm/compute/cli/commands/secret-definition.d.ts → compute/cli/commands/db-preset.d.ts} +1 -1
  40. package/compute/cli/commands/db-preset.js +394 -0
  41. package/compute/cli/commands/function-definition.js +208 -12
  42. package/compute/cli/commands/function-deployment.js +42 -20
  43. package/compute/cli/commands/function-graph-commit.js +15 -15
  44. package/compute/cli/commands/function-graph-execution-node-state.js +12 -12
  45. package/compute/cli/commands/function-graph-execution-output.js +12 -12
  46. package/compute/cli/commands/function-graph-execution.js +37 -13
  47. package/compute/cli/commands/function-graph-object.js +15 -15
  48. package/compute/cli/commands/function-graph-ref.js +15 -15
  49. package/compute/cli/commands/function-graph-store.js +12 -12
  50. package/compute/cli/commands/function-graph.js +12 -12
  51. package/compute/cli/commands/{secret-definition.d.ts → infra-commit.d.ts} +1 -1
  52. package/compute/cli/commands/infra-commit.js +389 -0
  53. package/{esm/modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-get-all-record.d.ts} +1 -1
  54. package/compute/cli/commands/infra-get-all-record.js +126 -0
  55. package/{api/cli/commands/create-user-database.d.ts → compute/cli/commands/infra-init-empty-repo.d.ts} +1 -1
  56. package/compute/cli/commands/infra-init-empty-repo.js +36 -0
  57. package/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
  58. package/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
  59. package/{modules/cli/commands/config-secrets-module.d.ts → compute/cli/commands/infra-object.d.ts} +1 -1
  60. package/compute/cli/commands/infra-object.js +309 -0
  61. package/compute/cli/commands/infra-ref.d.ts +8 -0
  62. package/compute/cli/commands/infra-ref.js +299 -0
  63. package/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
  64. package/compute/cli/commands/infra-set-data-at-path.js +36 -0
  65. package/compute/cli/commands/infra-store.d.ts +8 -0
  66. package/compute/cli/commands/infra-store.js +278 -0
  67. package/compute/cli/commands/integration-provider.d.ts +8 -0
  68. package/compute/cli/commands/integration-provider.js +416 -0
  69. package/compute/cli/commands/namespace-event.d.ts +8 -0
  70. package/compute/cli/commands/namespace-event.js +510 -0
  71. package/compute/cli/commands/namespace.d.ts +8 -0
  72. package/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
  73. package/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
  74. package/compute/cli/commands/platform-function-api-binding.js +294 -0
  75. package/compute/cli/commands/platform-function-definition.d.ts +8 -0
  76. package/compute/cli/commands/platform-function-definition.js +964 -0
  77. package/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
  78. package/compute/cli/commands/platform-function-deployment-event.js +336 -0
  79. package/compute/cli/commands/platform-function-deployment.d.ts +8 -0
  80. package/compute/cli/commands/platform-function-deployment.js +614 -0
  81. package/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
  82. package/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
  83. package/compute/cli/commands/platform-function-invocation.d.ts +8 -0
  84. package/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
  85. package/compute/cli/commands/platform-namespace-event.js +0 -20
  86. package/compute/cli/commands/platform-namespace.js +40 -60
  87. package/compute/cli/commands/platform-resource-definition.d.ts +8 -0
  88. package/compute/cli/commands/platform-resource-definition.js +522 -0
  89. package/{api/cli/commands/bootstrap-user.d.ts → compute/cli/commands/platform-resource-event.d.ts} +1 -1
  90. package/compute/cli/commands/platform-resource-event.js +336 -0
  91. package/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
  92. package/compute/cli/commands/platform-resource-status-check.js +340 -0
  93. package/compute/cli/commands/platform-resource.d.ts +8 -0
  94. package/compute/cli/commands/platform-resource.js +588 -0
  95. package/{api/cli/commands/provision-database-with-user.d.ts → compute/cli/commands/platform-resources-requirements-state.d.ts} +1 -1
  96. package/compute/cli/commands/platform-resources-requirements-state.js +183 -0
  97. package/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
  98. package/compute/cli/commands/platform-resources-resolved-requirement.js +218 -0
  99. package/compute/cli/commands/resource-definition.d.ts +8 -0
  100. package/compute/cli/commands/resource-definition.js +542 -0
  101. package/compute/cli/commands/resource-status-check.d.ts +8 -0
  102. package/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
  103. package/compute/cli/commands/resource.js +88 -0
  104. package/compute/cli/commands/resources-requirements-state.d.ts +8 -0
  105. package/compute/cli/commands/resources-requirements-state.js +181 -0
  106. package/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
  107. package/compute/cli/commands/resources-resolved-requirement.js +214 -0
  108. package/compute/cli/commands.js +65 -15
  109. package/compute/cli/executor.d.ts +48 -11
  110. package/compute/orm/index.d.ts +76 -17
  111. package/compute/orm/index.js +56 -12
  112. package/compute/orm/input-types.d.ts +5893 -1343
  113. package/compute/orm/input-types.js +17 -3
  114. package/compute/orm/models/dbPreset.d.ts +54 -0
  115. package/compute/orm/models/dbPreset.js +104 -0
  116. package/compute/orm/models/functionGraphCommit.d.ts +2 -2
  117. package/compute/orm/models/functionGraphCommit.js +2 -2
  118. package/compute/orm/models/functionGraphObject.d.ts +2 -2
  119. package/compute/orm/models/functionGraphObject.js +2 -2
  120. package/compute/orm/models/functionGraphRef.d.ts +2 -2
  121. package/compute/orm/models/functionGraphRef.js +2 -2
  122. package/compute/orm/models/index.d.ts +28 -6
  123. package/compute/orm/models/index.js +57 -13
  124. package/compute/orm/models/infraCommit.d.ts +56 -0
  125. package/compute/orm/models/infraCommit.js +107 -0
  126. package/compute/orm/models/infraGetAllRecord.d.ts +30 -0
  127. package/compute/orm/models/infraGetAllRecord.js +59 -0
  128. package/compute/orm/models/infraObject.d.ts +56 -0
  129. package/compute/orm/models/infraObject.js +97 -0
  130. package/compute/orm/models/infraRef.d.ts +56 -0
  131. package/compute/orm/models/infraRef.js +107 -0
  132. package/compute/orm/models/infraStore.d.ts +54 -0
  133. package/compute/orm/models/infraStore.js +104 -0
  134. package/compute/orm/models/integrationProvider.d.ts +54 -0
  135. package/{modules/orm/models/configSecretsModule.js → compute/orm/models/integrationProvider.js} +27 -27
  136. package/compute/orm/models/namespace.d.ts +54 -0
  137. package/compute/orm/models/namespace.js +104 -0
  138. package/compute/orm/models/namespaceEvent.d.ts +56 -0
  139. package/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +27 -27
  140. package/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
  141. package/compute/orm/models/platformFunctionApiBinding.js +104 -0
  142. package/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
  143. package/compute/orm/models/platformFunctionDefinition.js +104 -0
  144. package/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
  145. package/compute/orm/models/platformFunctionDeployment.js +104 -0
  146. package/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
  147. package/compute/orm/models/platformFunctionDeploymentEvent.js +107 -0
  148. package/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
  149. package/compute/orm/models/platformFunctionExecutionLog.js +107 -0
  150. package/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
  151. package/compute/orm/models/platformFunctionInvocation.js +107 -0
  152. package/compute/orm/models/platformResource.d.ts +54 -0
  153. package/compute/orm/models/{secretDefinition.js → platformResource.js} +27 -27
  154. package/compute/orm/models/platformResourceDefinition.d.ts +54 -0
  155. package/compute/orm/models/platformResourceDefinition.js +104 -0
  156. package/compute/orm/models/platformResourceEvent.d.ts +56 -0
  157. package/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +27 -27
  158. package/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
  159. package/compute/orm/models/platformResourceStatusCheck.js +104 -0
  160. package/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
  161. package/compute/orm/models/platformResourcesRequirementsState.js +59 -0
  162. package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
  163. package/compute/orm/models/platformResourcesResolvedRequirement.js +59 -0
  164. package/compute/orm/models/resourceDefinition.d.ts +54 -0
  165. package/compute/orm/models/resourceDefinition.js +104 -0
  166. package/compute/orm/models/resourceStatusCheck.d.ts +54 -0
  167. package/compute/orm/models/resourceStatusCheck.js +104 -0
  168. package/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
  169. package/compute/orm/models/resourcesRequirementsState.js +59 -0
  170. package/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
  171. package/compute/orm/models/resourcesResolvedRequirement.js +59 -0
  172. package/compute/orm/mutation/index.d.ts +33 -9
  173. package/compute/orm/mutation/index.js +48 -12
  174. package/config/cli/commands/config.d.ts +8 -0
  175. package/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
  176. package/config/cli/commands/platform-config.js +22 -0
  177. package/config/cli/commands/platform-internal-secret.d.ts +8 -0
  178. package/config/cli/commands/platform-internal-secret.js +200 -0
  179. package/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
  180. package/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
  181. package/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
  182. package/config/cli/commands/platform-internal-secrets-remove-array.js +36 -0
  183. package/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
  184. package/config/cli/commands/platform-internal-secrets-rotate.js +36 -0
  185. package/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
  186. package/config/cli/commands/platform-internal-secrets-set.js +36 -0
  187. package/config/cli/commands/platform-secret.d.ts +8 -0
  188. package/config/cli/commands/platform-secret.js +212 -0
  189. package/config/cli/commands/secret.d.ts +8 -0
  190. package/config/cli/commands/secret.js +224 -0
  191. package/config/cli/commands/secrets-del.d.ts +8 -0
  192. package/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
  193. package/config/cli/commands/secrets-remove-array.d.ts +8 -0
  194. package/config/cli/commands/secrets-remove-array.js +36 -0
  195. package/config/cli/commands/secrets-rotate.d.ts +8 -0
  196. package/config/cli/commands/{org-secrets-set.js → secrets-rotate.js} +3 -3
  197. package/config/cli/commands/secrets-set.d.ts +8 -0
  198. package/config/cli/commands/{org-secrets-del.js → secrets-set.js} +3 -3
  199. package/config/cli/commands.js +25 -11
  200. package/config/cli/executor.d.ts +38 -15
  201. package/config/orm/index.d.ts +42 -16
  202. package/config/orm/index.js +8 -2
  203. package/config/orm/input-types.d.ts +595 -154
  204. package/config/orm/models/config.d.ts +54 -0
  205. package/{modules/orm/models/configSecretsOrgModule.js → config/orm/models/config.js} +27 -27
  206. package/config/orm/models/index.d.ts +4 -1
  207. package/config/orm/models/index.js +9 -3
  208. package/config/orm/models/platformInternalSecret.d.ts +36 -0
  209. package/config/orm/models/platformInternalSecret.js +80 -0
  210. package/config/orm/models/platformSecret.d.ts +36 -0
  211. package/config/orm/models/platformSecret.js +80 -0
  212. package/config/orm/models/secret.d.ts +36 -0
  213. package/config/orm/models/secret.js +80 -0
  214. package/config/orm/mutation/index.d.ts +56 -24
  215. package/config/orm/mutation/index.js +78 -30
  216. package/esm/agent/cli/commands/agent-message.js +20 -0
  217. package/esm/agent/cli/commands/agent-persona.js +20 -0
  218. package/esm/agent/cli/commands/agent-plan.js +20 -0
  219. package/esm/agent/cli/commands/agent-prompt.js +20 -0
  220. package/esm/agent/cli/commands/agent-resource.js +21 -0
  221. package/esm/agent/cli/commands/agent-task.js +20 -0
  222. package/esm/agent/cli/commands/agent-thread.js +20 -0
  223. package/esm/agent/cli/commands/agent.js +20 -0
  224. package/esm/agent/orm/input-types.d.ts +96 -8
  225. package/esm/api/cli/commands/database.js +22 -0
  226. package/esm/api/cli/commands/field.js +44 -0
  227. package/esm/api/cli/commands/policy.js +22 -0
  228. package/esm/api/cli/commands/request-database.d.ts +8 -0
  229. package/esm/api/cli/commands/request-database.js +34 -0
  230. package/esm/api/cli/commands/table.js +22 -0
  231. package/esm/api/cli/commands.js +5 -9
  232. package/esm/api/cli/executor.d.ts +4 -14
  233. package/esm/api/orm/index.d.ts +5 -15
  234. package/esm/api/orm/index.js +2 -2
  235. package/esm/api/orm/input-types.d.ts +250 -231
  236. package/esm/api/orm/models/index.d.ts +1 -1
  237. package/esm/api/orm/models/index.js +1 -1
  238. package/esm/api/orm/mutation/index.d.ts +11 -36
  239. package/esm/api/orm/mutation/index.js +6 -30
  240. package/esm/auth/cli/commands/delete-principal.d.ts +8 -0
  241. package/esm/{config/cli/commands/org-secrets-rotate.js → auth/cli/commands/delete-principal.js} +3 -3
  242. package/esm/auth/cli/commands/principal-scope-override.js +18 -7
  243. package/esm/auth/cli/commands/principal.d.ts +1 -1
  244. package/esm/auth/cli/commands/principal.js +78 -67
  245. package/esm/auth/cli/commands.js +5 -3
  246. package/esm/auth/cli/executor.d.ts +10 -5
  247. package/esm/auth/orm/index.d.ts +10 -5
  248. package/esm/auth/orm/input-types.d.ts +54 -45
  249. package/esm/auth/orm/models/principal.d.ts +1 -10
  250. package/esm/auth/orm/models/principal.js +1 -14
  251. package/esm/auth/orm/mutation/index.d.ts +17 -9
  252. package/esm/auth/orm/mutation/index.js +24 -12
  253. package/esm/compute/cli/commands/db-preset.d.ts +8 -0
  254. package/esm/compute/cli/commands/db-preset.js +392 -0
  255. package/esm/compute/cli/commands/function-definition.js +208 -12
  256. package/esm/compute/cli/commands/function-deployment.js +42 -20
  257. package/esm/compute/cli/commands/function-graph-commit.js +15 -15
  258. package/esm/compute/cli/commands/function-graph-execution-node-state.js +12 -12
  259. package/esm/compute/cli/commands/function-graph-execution-output.js +12 -12
  260. package/esm/compute/cli/commands/function-graph-execution.js +37 -13
  261. package/esm/compute/cli/commands/function-graph-object.js +15 -15
  262. package/esm/compute/cli/commands/function-graph-ref.js +15 -15
  263. package/esm/compute/cli/commands/function-graph-store.js +12 -12
  264. package/esm/compute/cli/commands/function-graph.js +12 -12
  265. package/esm/compute/cli/commands/infra-commit.d.ts +8 -0
  266. package/esm/compute/cli/commands/infra-commit.js +387 -0
  267. package/esm/compute/cli/commands/infra-get-all-record.d.ts +8 -0
  268. package/esm/compute/cli/commands/infra-get-all-record.js +124 -0
  269. package/esm/compute/cli/commands/infra-init-empty-repo.d.ts +8 -0
  270. package/esm/compute/cli/commands/infra-init-empty-repo.js +34 -0
  271. package/esm/compute/cli/commands/infra-insert-node-at-path.d.ts +8 -0
  272. package/esm/{config/cli/commands/org-secrets-remove-array.js → compute/cli/commands/infra-insert-node-at-path.js} +3 -3
  273. package/esm/compute/cli/commands/infra-object.d.ts +8 -0
  274. package/esm/compute/cli/commands/infra-object.js +307 -0
  275. package/esm/compute/cli/commands/infra-ref.d.ts +8 -0
  276. package/esm/compute/cli/commands/infra-ref.js +297 -0
  277. package/esm/compute/cli/commands/infra-set-data-at-path.d.ts +8 -0
  278. package/esm/compute/cli/commands/infra-set-data-at-path.js +34 -0
  279. package/esm/compute/cli/commands/infra-store.d.ts +8 -0
  280. package/esm/compute/cli/commands/infra-store.js +276 -0
  281. package/esm/compute/cli/commands/integration-provider.d.ts +8 -0
  282. package/esm/compute/cli/commands/integration-provider.js +414 -0
  283. package/esm/compute/cli/commands/namespace-event.d.ts +8 -0
  284. package/esm/compute/cli/commands/namespace-event.js +508 -0
  285. package/esm/compute/cli/commands/namespace.d.ts +8 -0
  286. package/esm/compute/cli/commands/{secret-definition.js → namespace.js} +106 -20
  287. package/esm/compute/cli/commands/platform-function-api-binding.d.ts +8 -0
  288. package/esm/compute/cli/commands/platform-function-api-binding.js +292 -0
  289. package/esm/compute/cli/commands/platform-function-definition.d.ts +8 -0
  290. package/esm/compute/cli/commands/platform-function-definition.js +962 -0
  291. package/esm/compute/cli/commands/platform-function-deployment-event.d.ts +8 -0
  292. package/esm/compute/cli/commands/platform-function-deployment-event.js +334 -0
  293. package/esm/compute/cli/commands/platform-function-deployment.d.ts +8 -0
  294. package/esm/compute/cli/commands/platform-function-deployment.js +612 -0
  295. package/esm/compute/cli/commands/platform-function-execution-log.d.ts +8 -0
  296. package/esm/compute/cli/commands/{org-function-execution-log.js → platform-function-execution-log.js} +8 -8
  297. package/esm/compute/cli/commands/platform-function-invocation.d.ts +8 -0
  298. package/esm/compute/cli/commands/{org-function-invocation.js → platform-function-invocation.js} +8 -8
  299. package/esm/compute/cli/commands/platform-namespace-event.js +0 -20
  300. package/esm/compute/cli/commands/platform-namespace.js +40 -60
  301. package/esm/compute/cli/commands/platform-resource-definition.d.ts +8 -0
  302. package/esm/compute/cli/commands/platform-resource-definition.js +520 -0
  303. package/{compute/cli/commands/org-function-invocation.d.ts → esm/compute/cli/commands/platform-resource-event.d.ts} +1 -1
  304. package/esm/compute/cli/commands/platform-resource-event.js +334 -0
  305. package/esm/compute/cli/commands/platform-resource-status-check.d.ts +8 -0
  306. package/esm/compute/cli/commands/platform-resource-status-check.js +338 -0
  307. package/esm/compute/cli/commands/platform-resource.d.ts +8 -0
  308. package/esm/compute/cli/commands/platform-resource.js +586 -0
  309. package/esm/compute/cli/commands/platform-resources-requirements-state.d.ts +8 -0
  310. package/esm/compute/cli/commands/platform-resources-requirements-state.js +181 -0
  311. package/esm/compute/cli/commands/platform-resources-resolved-requirement.d.ts +8 -0
  312. package/esm/compute/cli/commands/platform-resources-resolved-requirement.js +216 -0
  313. package/esm/compute/cli/commands/resource-definition.d.ts +8 -0
  314. package/esm/compute/cli/commands/resource-definition.js +540 -0
  315. package/esm/compute/cli/commands/resource-status-check.d.ts +8 -0
  316. package/esm/{modules/cli/commands/config-secrets-org-module.js → compute/cli/commands/resource-status-check.js} +90 -70
  317. package/esm/compute/cli/commands/resource.js +88 -0
  318. package/esm/compute/cli/commands/resources-requirements-state.d.ts +8 -0
  319. package/esm/compute/cli/commands/resources-requirements-state.js +179 -0
  320. package/esm/compute/cli/commands/resources-resolved-requirement.d.ts +8 -0
  321. package/esm/compute/cli/commands/resources-resolved-requirement.js +212 -0
  322. package/esm/compute/cli/commands.js +65 -15
  323. package/esm/compute/cli/executor.d.ts +48 -11
  324. package/esm/compute/orm/index.d.ts +76 -17
  325. package/esm/compute/orm/index.js +56 -12
  326. package/esm/compute/orm/input-types.d.ts +5893 -1343
  327. package/esm/compute/orm/input-types.js +17 -3
  328. package/esm/compute/orm/models/dbPreset.d.ts +54 -0
  329. package/esm/compute/orm/models/dbPreset.js +100 -0
  330. package/esm/compute/orm/models/functionGraphCommit.d.ts +2 -2
  331. package/esm/compute/orm/models/functionGraphCommit.js +2 -2
  332. package/esm/compute/orm/models/functionGraphObject.d.ts +2 -2
  333. package/esm/compute/orm/models/functionGraphObject.js +2 -2
  334. package/esm/compute/orm/models/functionGraphRef.d.ts +2 -2
  335. package/esm/compute/orm/models/functionGraphRef.js +2 -2
  336. package/esm/compute/orm/models/index.d.ts +28 -6
  337. package/esm/compute/orm/models/index.js +28 -6
  338. package/esm/compute/orm/models/infraCommit.d.ts +56 -0
  339. package/esm/compute/orm/models/infraCommit.js +103 -0
  340. package/esm/compute/orm/models/infraGetAllRecord.d.ts +30 -0
  341. package/esm/compute/orm/models/infraGetAllRecord.js +55 -0
  342. package/esm/compute/orm/models/infraObject.d.ts +56 -0
  343. package/esm/compute/orm/models/infraObject.js +93 -0
  344. package/esm/compute/orm/models/infraRef.d.ts +56 -0
  345. package/esm/compute/orm/models/infraRef.js +103 -0
  346. package/esm/compute/orm/models/infraStore.d.ts +54 -0
  347. package/esm/compute/orm/models/infraStore.js +100 -0
  348. package/esm/compute/orm/models/integrationProvider.d.ts +54 -0
  349. package/esm/compute/orm/models/integrationProvider.js +100 -0
  350. package/esm/compute/orm/models/namespace.d.ts +54 -0
  351. package/esm/compute/orm/models/namespace.js +100 -0
  352. package/esm/compute/orm/models/namespaceEvent.d.ts +56 -0
  353. package/esm/compute/orm/models/{orgFunctionExecutionLog.js → namespaceEvent.js} +25 -25
  354. package/esm/compute/orm/models/platformFunctionApiBinding.d.ts +54 -0
  355. package/esm/compute/orm/models/platformFunctionApiBinding.js +100 -0
  356. package/esm/compute/orm/models/platformFunctionDefinition.d.ts +54 -0
  357. package/esm/compute/orm/models/platformFunctionDefinition.js +100 -0
  358. package/esm/compute/orm/models/platformFunctionDeployment.d.ts +54 -0
  359. package/esm/compute/orm/models/platformFunctionDeployment.js +100 -0
  360. package/esm/compute/orm/models/platformFunctionDeploymentEvent.d.ts +56 -0
  361. package/esm/compute/orm/models/platformFunctionDeploymentEvent.js +103 -0
  362. package/esm/compute/orm/models/platformFunctionExecutionLog.d.ts +56 -0
  363. package/esm/compute/orm/models/platformFunctionExecutionLog.js +103 -0
  364. package/esm/compute/orm/models/platformFunctionInvocation.d.ts +56 -0
  365. package/esm/compute/orm/models/platformFunctionInvocation.js +103 -0
  366. package/esm/compute/orm/models/platformResource.d.ts +54 -0
  367. package/esm/compute/orm/models/{secretDefinition.js → platformResource.js} +25 -25
  368. package/esm/compute/orm/models/platformResourceDefinition.d.ts +54 -0
  369. package/esm/compute/orm/models/platformResourceDefinition.js +100 -0
  370. package/esm/compute/orm/models/platformResourceEvent.d.ts +56 -0
  371. package/esm/compute/orm/models/{orgFunctionInvocation.js → platformResourceEvent.js} +25 -25
  372. package/esm/compute/orm/models/platformResourceStatusCheck.d.ts +54 -0
  373. package/esm/compute/orm/models/platformResourceStatusCheck.js +100 -0
  374. package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +30 -0
  375. package/esm/compute/orm/models/platformResourcesRequirementsState.js +55 -0
  376. package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +30 -0
  377. package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +55 -0
  378. package/esm/compute/orm/models/resourceDefinition.d.ts +54 -0
  379. package/esm/{modules/orm/models/configSecretsOrgModule.js → compute/orm/models/resourceDefinition.js} +25 -25
  380. package/esm/compute/orm/models/resourceStatusCheck.d.ts +54 -0
  381. package/esm/compute/orm/models/resourceStatusCheck.js +100 -0
  382. package/esm/compute/orm/models/resourcesRequirementsState.d.ts +30 -0
  383. package/esm/compute/orm/models/resourcesRequirementsState.js +55 -0
  384. package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +30 -0
  385. package/esm/compute/orm/models/resourcesResolvedRequirement.js +55 -0
  386. package/esm/compute/orm/mutation/index.d.ts +33 -9
  387. package/esm/compute/orm/mutation/index.js +48 -12
  388. package/esm/config/cli/commands/config.d.ts +8 -0
  389. package/esm/config/cli/commands/{platform-config-definition.js → config.js} +127 -65
  390. package/esm/config/cli/commands/platform-config.js +22 -0
  391. package/esm/config/cli/commands/platform-internal-secret.d.ts +8 -0
  392. package/esm/config/cli/commands/platform-internal-secret.js +198 -0
  393. package/esm/config/cli/commands/platform-internal-secrets-del.d.ts +8 -0
  394. package/esm/{api/cli/commands/provision-database-with-user.js → config/cli/commands/platform-internal-secrets-del.js} +3 -3
  395. package/esm/config/cli/commands/platform-internal-secrets-remove-array.d.ts +8 -0
  396. package/esm/config/cli/commands/platform-internal-secrets-remove-array.js +34 -0
  397. package/esm/config/cli/commands/platform-internal-secrets-rotate.d.ts +8 -0
  398. package/esm/config/cli/commands/platform-internal-secrets-rotate.js +34 -0
  399. package/esm/config/cli/commands/platform-internal-secrets-set.d.ts +8 -0
  400. package/esm/config/cli/commands/platform-internal-secrets-set.js +34 -0
  401. package/esm/config/cli/commands/platform-secret.d.ts +8 -0
  402. package/esm/config/cli/commands/platform-secret.js +210 -0
  403. package/esm/config/cli/commands/secret.d.ts +8 -0
  404. package/esm/config/cli/commands/secret.js +222 -0
  405. package/esm/config/cli/commands/secrets-del.d.ts +8 -0
  406. package/esm/{api/cli/commands/bootstrap-user.js → config/cli/commands/secrets-del.js} +3 -3
  407. package/esm/config/cli/commands/secrets-remove-array.d.ts +8 -0
  408. package/esm/config/cli/commands/secrets-remove-array.js +34 -0
  409. package/esm/config/cli/commands/secrets-rotate.d.ts +8 -0
  410. package/esm/config/cli/commands/{org-secrets-del.js → secrets-rotate.js} +3 -3
  411. package/esm/config/cli/commands/secrets-set.d.ts +8 -0
  412. package/esm/config/cli/commands/{org-secrets-set.js → secrets-set.js} +3 -3
  413. package/esm/config/cli/commands.js +25 -11
  414. package/esm/config/cli/executor.d.ts +38 -15
  415. package/esm/config/orm/index.d.ts +42 -16
  416. package/esm/config/orm/index.js +8 -2
  417. package/esm/config/orm/input-types.d.ts +595 -154
  418. package/esm/config/orm/models/config.d.ts +54 -0
  419. package/esm/{modules/orm/models/configSecretsModule.js → config/orm/models/config.js} +25 -25
  420. package/esm/config/orm/models/index.d.ts +4 -1
  421. package/esm/config/orm/models/index.js +4 -1
  422. package/esm/config/orm/models/platformInternalSecret.d.ts +36 -0
  423. package/esm/config/orm/models/platformInternalSecret.js +76 -0
  424. package/esm/config/orm/models/platformSecret.d.ts +36 -0
  425. package/esm/config/orm/models/platformSecret.js +76 -0
  426. package/esm/config/orm/models/secret.d.ts +36 -0
  427. package/esm/config/orm/models/secret.js +76 -0
  428. package/esm/config/orm/mutation/index.d.ts +56 -24
  429. package/esm/config/orm/mutation/index.js +78 -30
  430. package/esm/index.d.ts +1 -0
  431. package/esm/index.js +1 -0
  432. package/esm/infra/cli/commands/auth.d.ts +8 -0
  433. package/esm/infra/cli/commands/auth.js +105 -0
  434. package/esm/infra/cli/commands/context.d.ts +8 -0
  435. package/esm/infra/cli/commands/context.js +156 -0
  436. package/esm/infra/cli/commands/db-preset.d.ts +8 -0
  437. package/esm/infra/cli/commands/db-preset.js +392 -0
  438. package/esm/infra/cli/commands/infra-commit.d.ts +8 -0
  439. package/esm/infra/cli/commands/infra-commit.js +387 -0
  440. package/esm/infra/cli/commands/infra-get-all-record.d.ts +8 -0
  441. package/esm/infra/cli/commands/infra-get-all-record.js +124 -0
  442. package/esm/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
  443. package/esm/infra/cli/commands/infra-init-empty-repo.js +34 -0
  444. package/esm/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
  445. package/esm/infra/cli/commands/infra-insert-node-at-path.js +34 -0
  446. package/esm/infra/cli/commands/infra-object.d.ts +8 -0
  447. package/esm/infra/cli/commands/infra-object.js +307 -0
  448. package/esm/infra/cli/commands/infra-ref.d.ts +8 -0
  449. package/esm/infra/cli/commands/infra-ref.js +297 -0
  450. package/esm/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
  451. package/esm/infra/cli/commands/infra-set-data-at-path.js +34 -0
  452. package/esm/infra/cli/commands/infra-store.d.ts +8 -0
  453. package/esm/infra/cli/commands/infra-store.js +276 -0
  454. package/esm/infra/cli/commands/namespace-event.d.ts +8 -0
  455. package/esm/infra/cli/commands/namespace-event.js +508 -0
  456. package/esm/infra/cli/commands/namespace.d.ts +8 -0
  457. package/esm/infra/cli/commands/namespace.js +434 -0
  458. package/esm/infra/cli/commands/platform-namespace-event.d.ts +8 -0
  459. package/esm/infra/cli/commands/platform-namespace-event.js +488 -0
  460. package/esm/infra/cli/commands/platform-namespace.d.ts +8 -0
  461. package/esm/infra/cli/commands/platform-namespace.js +414 -0
  462. package/esm/infra/cli/commands/provision-bucket.d.ts +8 -0
  463. package/esm/infra/cli/commands/provision-bucket.js +34 -0
  464. package/esm/infra/cli/commands.d.ts +7 -0
  465. package/esm/infra/cli/commands.js +69 -0
  466. package/esm/infra/cli/executor.d.ts +35 -0
  467. package/esm/infra/cli/executor.js +35 -0
  468. package/esm/infra/cli/index.d.ts +1 -0
  469. package/esm/infra/cli/index.js +24 -0
  470. package/esm/infra/cli/utils.d.ts +88 -0
  471. package/esm/infra/cli/utils.js +281 -0
  472. package/esm/infra/index.d.ts +6 -0
  473. package/esm/infra/index.js +6 -0
  474. package/esm/infra/orm/client.d.ts +97 -0
  475. package/esm/infra/orm/client.js +145 -0
  476. package/esm/infra/orm/index.d.ts +74 -0
  477. package/esm/infra/orm/index.js +61 -0
  478. package/esm/infra/orm/input-types.d.ts +1953 -0
  479. package/esm/infra/orm/input-types.js +2 -0
  480. package/esm/infra/orm/models/dbPreset.d.ts +54 -0
  481. package/esm/infra/orm/models/dbPreset.js +100 -0
  482. package/esm/infra/orm/models/index.d.ts +15 -0
  483. package/esm/infra/orm/models/index.js +15 -0
  484. package/esm/infra/orm/models/infraCommit.d.ts +56 -0
  485. package/esm/infra/orm/models/infraCommit.js +103 -0
  486. package/esm/infra/orm/models/infraGetAllRecord.d.ts +30 -0
  487. package/esm/infra/orm/models/infraGetAllRecord.js +55 -0
  488. package/esm/infra/orm/models/infraObject.d.ts +56 -0
  489. package/esm/infra/orm/models/infraObject.js +93 -0
  490. package/esm/infra/orm/models/infraRef.d.ts +56 -0
  491. package/esm/infra/orm/models/infraRef.js +103 -0
  492. package/esm/infra/orm/models/infraStore.d.ts +54 -0
  493. package/esm/infra/orm/models/infraStore.js +100 -0
  494. package/esm/infra/orm/models/namespace.d.ts +54 -0
  495. package/esm/infra/orm/models/namespace.js +100 -0
  496. package/esm/infra/orm/models/namespaceEvent.d.ts +56 -0
  497. package/esm/infra/orm/models/namespaceEvent.js +103 -0
  498. package/esm/infra/orm/models/platformNamespace.d.ts +54 -0
  499. package/esm/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespace.js} +25 -25
  500. package/esm/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
  501. package/esm/infra/orm/models/platformNamespaceEvent.js +103 -0
  502. package/esm/infra/orm/mutation/index.d.ts +50 -0
  503. package/esm/infra/orm/mutation/index.js +54 -0
  504. package/esm/infra/orm/query-builder.d.ts +110 -0
  505. package/esm/infra/orm/query-builder.js +705 -0
  506. package/esm/infra/orm/realtime.d.ts +142 -0
  507. package/esm/infra/orm/realtime.js +100 -0
  508. package/esm/infra/orm/select-types.d.ts +125 -0
  509. package/esm/infra/orm/select-types.js +1 -0
  510. package/esm/infra/orm/types.d.ts +6 -0
  511. package/esm/infra/orm/types.js +7 -0
  512. package/esm/modules/cli/commands/agent-module.js +22 -0
  513. package/esm/modules/cli/commands/billing-module.js +44 -0
  514. package/esm/modules/cli/commands/compute-log-module.js +22 -0
  515. package/esm/modules/cli/commands/config-secrets-user-module.js +22 -22
  516. package/esm/modules/cli/commands/database-provision-module.js +88 -0
  517. package/esm/modules/cli/commands/db-pool-config.d.ts +8 -0
  518. package/esm/modules/cli/commands/db-pool-config.js +368 -0
  519. package/esm/modules/cli/commands/db-pool.d.ts +8 -0
  520. package/esm/modules/cli/commands/db-pool.js +438 -0
  521. package/esm/modules/cli/commands/db-preset-module.d.ts +8 -0
  522. package/esm/modules/cli/commands/db-preset-module.js +534 -0
  523. package/esm/modules/cli/commands/db-usage-module.js +110 -0
  524. package/esm/modules/cli/commands/entity-type-provision.js +0 -22
  525. package/esm/modules/cli/commands/events-module.js +22 -22
  526. package/esm/modules/cli/commands/function-deployment-module.js +22 -0
  527. package/esm/modules/cli/commands/function-invocation-module.js +22 -0
  528. package/esm/modules/cli/commands/function-module.js +22 -44
  529. package/esm/modules/cli/commands/graph-execution-module.js +22 -0
  530. package/esm/modules/cli/commands/graph-module.js +22 -0
  531. package/esm/modules/cli/commands/hierarchy-module.js +22 -0
  532. package/esm/modules/cli/commands/identity-providers-module.js +22 -0
  533. package/esm/modules/cli/commands/inference-log-module.js +22 -0
  534. package/esm/modules/cli/commands/infra-config-module.d.ts +8 -0
  535. package/esm/modules/cli/commands/infra-config-module.js +536 -0
  536. package/esm/modules/cli/commands/infra-secrets-module.d.ts +8 -0
  537. package/esm/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
  538. package/esm/modules/cli/commands/integration-providers-module.d.ts +8 -0
  539. package/esm/modules/cli/commands/integration-providers-module.js +492 -0
  540. package/{config/cli/commands/org-secrets-del.d.ts → esm/modules/cli/commands/internal-secrets-module.d.ts} +1 -1
  541. package/esm/modules/cli/commands/internal-secrets-module.js +536 -0
  542. package/esm/modules/cli/commands/invites-module.js +22 -0
  543. package/esm/modules/cli/commands/limits-module.js +22 -0
  544. package/esm/modules/cli/commands/memberships-module.js +22 -0
  545. package/esm/modules/cli/commands/merkle-store-module.js +22 -0
  546. package/esm/modules/cli/commands/namespace-module.js +22 -22
  547. package/esm/modules/cli/commands/notifications-module.js +22 -0
  548. package/esm/modules/cli/commands/permissions-module.js +22 -0
  549. package/esm/modules/cli/commands/profiles-module.js +22 -0
  550. package/esm/modules/cli/commands/resource-module.js +154 -0
  551. package/esm/modules/cli/commands/storage-log-module.js +22 -0
  552. package/esm/modules/cli/commands/storage-module.js +22 -0
  553. package/esm/modules/cli/commands/transfer-log-module.js +22 -0
  554. package/esm/modules/cli/commands/user-credentials-module.js +22 -22
  555. package/esm/modules/cli/commands/user-state-module.js +22 -0
  556. package/esm/modules/cli/commands.js +49 -39
  557. package/esm/modules/cli/executor.d.ts +24 -19
  558. package/esm/modules/orm/index.d.ts +48 -38
  559. package/esm/modules/orm/index.js +48 -38
  560. package/esm/modules/orm/input-types.d.ts +5378 -4022
  561. package/esm/modules/orm/input-types.js +1 -0
  562. package/esm/modules/orm/models/dbPool.d.ts +54 -0
  563. package/esm/modules/orm/models/dbPool.js +100 -0
  564. package/esm/modules/orm/models/dbPoolConfig.d.ts +54 -0
  565. package/esm/modules/orm/models/dbPoolConfig.js +100 -0
  566. package/esm/modules/orm/models/dbPresetModule.d.ts +54 -0
  567. package/esm/modules/orm/models/dbPresetModule.js +100 -0
  568. package/esm/modules/orm/models/index.d.ts +24 -19
  569. package/esm/modules/orm/models/index.js +24 -19
  570. package/esm/modules/orm/models/infraConfigModule.d.ts +54 -0
  571. package/esm/modules/orm/models/infraConfigModule.js +100 -0
  572. package/esm/modules/orm/models/infraSecretsModule.d.ts +54 -0
  573. package/esm/modules/orm/models/infraSecretsModule.js +100 -0
  574. package/esm/modules/orm/models/integrationProvidersModule.d.ts +54 -0
  575. package/esm/modules/orm/models/integrationProvidersModule.js +100 -0
  576. package/esm/modules/orm/models/internalSecretsModule.d.ts +54 -0
  577. package/esm/modules/orm/models/internalSecretsModule.js +100 -0
  578. package/index.d.ts +1 -0
  579. package/index.js +2 -1
  580. package/infra/cli/commands/auth.d.ts +8 -0
  581. package/infra/cli/commands/auth.js +107 -0
  582. package/infra/cli/commands/context.d.ts +8 -0
  583. package/infra/cli/commands/context.js +158 -0
  584. package/infra/cli/commands/db-preset.d.ts +8 -0
  585. package/infra/cli/commands/db-preset.js +394 -0
  586. package/infra/cli/commands/infra-commit.d.ts +8 -0
  587. package/infra/cli/commands/infra-commit.js +389 -0
  588. package/infra/cli/commands/infra-get-all-record.d.ts +8 -0
  589. package/infra/cli/commands/infra-get-all-record.js +126 -0
  590. package/infra/cli/commands/infra-init-empty-repo.d.ts +8 -0
  591. package/infra/cli/commands/infra-init-empty-repo.js +36 -0
  592. package/infra/cli/commands/infra-insert-node-at-path.d.ts +8 -0
  593. package/infra/cli/commands/infra-insert-node-at-path.js +36 -0
  594. package/infra/cli/commands/infra-object.d.ts +8 -0
  595. package/infra/cli/commands/infra-object.js +309 -0
  596. package/infra/cli/commands/infra-ref.d.ts +8 -0
  597. package/infra/cli/commands/infra-ref.js +299 -0
  598. package/infra/cli/commands/infra-set-data-at-path.d.ts +8 -0
  599. package/infra/cli/commands/infra-set-data-at-path.js +36 -0
  600. package/infra/cli/commands/infra-store.d.ts +8 -0
  601. package/infra/cli/commands/infra-store.js +278 -0
  602. package/infra/cli/commands/namespace-event.d.ts +8 -0
  603. package/infra/cli/commands/namespace-event.js +510 -0
  604. package/infra/cli/commands/namespace.d.ts +8 -0
  605. package/infra/cli/commands/namespace.js +436 -0
  606. package/infra/cli/commands/platform-namespace-event.d.ts +8 -0
  607. package/infra/cli/commands/platform-namespace-event.js +490 -0
  608. package/infra/cli/commands/platform-namespace.d.ts +8 -0
  609. package/infra/cli/commands/platform-namespace.js +416 -0
  610. package/infra/cli/commands/provision-bucket.d.ts +8 -0
  611. package/infra/cli/commands/provision-bucket.js +36 -0
  612. package/infra/cli/commands.d.ts +7 -0
  613. package/infra/cli/commands.js +76 -0
  614. package/infra/cli/executor.d.ts +35 -0
  615. package/infra/cli/executor.js +40 -0
  616. package/infra/cli/index.d.ts +1 -0
  617. package/infra/cli/index.js +26 -0
  618. package/infra/cli/utils.d.ts +88 -0
  619. package/infra/cli/utils.js +297 -0
  620. package/infra/index.d.ts +6 -0
  621. package/infra/index.js +22 -0
  622. package/infra/orm/client.d.ts +97 -0
  623. package/infra/orm/client.js +152 -0
  624. package/infra/orm/index.d.ts +74 -0
  625. package/infra/orm/index.js +83 -0
  626. package/infra/orm/input-types.d.ts +1953 -0
  627. package/infra/orm/input-types.js +5 -0
  628. package/infra/orm/models/dbPreset.d.ts +54 -0
  629. package/infra/orm/models/dbPreset.js +104 -0
  630. package/infra/orm/models/index.d.ts +15 -0
  631. package/infra/orm/models/index.js +28 -0
  632. package/infra/orm/models/infraCommit.d.ts +56 -0
  633. package/infra/orm/models/infraCommit.js +107 -0
  634. package/infra/orm/models/infraGetAllRecord.d.ts +30 -0
  635. package/infra/orm/models/infraGetAllRecord.js +59 -0
  636. package/infra/orm/models/infraObject.d.ts +56 -0
  637. package/infra/orm/models/infraObject.js +97 -0
  638. package/infra/orm/models/infraRef.d.ts +56 -0
  639. package/infra/orm/models/infraRef.js +107 -0
  640. package/infra/orm/models/infraStore.d.ts +54 -0
  641. package/infra/orm/models/infraStore.js +104 -0
  642. package/infra/orm/models/namespace.d.ts +54 -0
  643. package/infra/orm/models/namespace.js +104 -0
  644. package/infra/orm/models/namespaceEvent.d.ts +56 -0
  645. package/infra/orm/models/namespaceEvent.js +107 -0
  646. package/infra/orm/models/platformNamespace.d.ts +54 -0
  647. package/infra/orm/models/platformNamespace.js +104 -0
  648. package/infra/orm/models/platformNamespaceEvent.d.ts +56 -0
  649. package/{config/orm/models/platformConfigDefinition.js → infra/orm/models/platformNamespaceEvent.js} +30 -27
  650. package/infra/orm/mutation/index.d.ts +50 -0
  651. package/infra/orm/mutation/index.js +57 -0
  652. package/infra/orm/query-builder.d.ts +110 -0
  653. package/infra/orm/query-builder.js +757 -0
  654. package/infra/orm/realtime.d.ts +142 -0
  655. package/infra/orm/realtime.js +104 -0
  656. package/infra/orm/select-types.d.ts +125 -0
  657. package/infra/orm/select-types.js +2 -0
  658. package/infra/orm/types.d.ts +6 -0
  659. package/infra/orm/types.js +23 -0
  660. package/modules/cli/commands/agent-module.js +22 -0
  661. package/modules/cli/commands/billing-module.js +44 -0
  662. package/modules/cli/commands/compute-log-module.js +22 -0
  663. package/modules/cli/commands/config-secrets-user-module.js +22 -22
  664. package/modules/cli/commands/database-provision-module.js +88 -0
  665. package/modules/cli/commands/db-pool-config.d.ts +8 -0
  666. package/modules/cli/commands/db-pool-config.js +370 -0
  667. package/modules/cli/commands/db-pool.d.ts +8 -0
  668. package/modules/cli/commands/db-pool.js +440 -0
  669. package/modules/cli/commands/db-preset-module.d.ts +8 -0
  670. package/modules/cli/commands/db-preset-module.js +536 -0
  671. package/modules/cli/commands/db-usage-module.js +110 -0
  672. package/modules/cli/commands/entity-type-provision.js +0 -22
  673. package/modules/cli/commands/events-module.js +22 -22
  674. package/modules/cli/commands/function-deployment-module.js +22 -0
  675. package/modules/cli/commands/function-invocation-module.js +22 -0
  676. package/modules/cli/commands/function-module.js +22 -44
  677. package/modules/cli/commands/graph-execution-module.js +22 -0
  678. package/modules/cli/commands/graph-module.js +22 -0
  679. package/modules/cli/commands/hierarchy-module.js +22 -0
  680. package/modules/cli/commands/identity-providers-module.js +22 -0
  681. package/modules/cli/commands/inference-log-module.js +22 -0
  682. package/modules/cli/commands/infra-config-module.d.ts +8 -0
  683. package/modules/cli/commands/infra-config-module.js +538 -0
  684. package/modules/cli/commands/infra-secrets-module.d.ts +8 -0
  685. package/modules/cli/commands/{config-secrets-module.js → infra-secrets-module.js} +54 -76
  686. package/modules/cli/commands/integration-providers-module.d.ts +8 -0
  687. package/modules/cli/commands/integration-providers-module.js +494 -0
  688. package/modules/cli/commands/internal-secrets-module.d.ts +8 -0
  689. package/modules/cli/commands/internal-secrets-module.js +538 -0
  690. package/modules/cli/commands/invites-module.js +22 -0
  691. package/modules/cli/commands/limits-module.js +22 -0
  692. package/modules/cli/commands/memberships-module.js +22 -0
  693. package/modules/cli/commands/merkle-store-module.js +22 -0
  694. package/modules/cli/commands/namespace-module.js +22 -22
  695. package/modules/cli/commands/notifications-module.js +22 -0
  696. package/modules/cli/commands/permissions-module.js +22 -0
  697. package/modules/cli/commands/profiles-module.js +22 -0
  698. package/modules/cli/commands/resource-module.js +154 -0
  699. package/modules/cli/commands/storage-log-module.js +22 -0
  700. package/modules/cli/commands/storage-module.js +22 -0
  701. package/modules/cli/commands/transfer-log-module.js +22 -0
  702. package/modules/cli/commands/user-credentials-module.js +22 -22
  703. package/modules/cli/commands/user-state-module.js +22 -0
  704. package/modules/cli/commands.js +49 -39
  705. package/modules/cli/executor.d.ts +24 -19
  706. package/modules/orm/index.d.ts +48 -38
  707. package/modules/orm/index.js +48 -38
  708. package/modules/orm/input-types.d.ts +5378 -4022
  709. package/modules/orm/input-types.js +1 -0
  710. package/modules/orm/models/dbPool.d.ts +54 -0
  711. package/modules/orm/models/dbPool.js +104 -0
  712. package/modules/orm/models/dbPoolConfig.d.ts +54 -0
  713. package/modules/orm/models/dbPoolConfig.js +104 -0
  714. package/modules/orm/models/dbPresetModule.d.ts +54 -0
  715. package/modules/orm/models/dbPresetModule.js +104 -0
  716. package/modules/orm/models/index.d.ts +24 -19
  717. package/modules/orm/models/index.js +50 -40
  718. package/modules/orm/models/infraConfigModule.d.ts +54 -0
  719. package/modules/orm/models/infraConfigModule.js +104 -0
  720. package/modules/orm/models/infraSecretsModule.d.ts +54 -0
  721. package/modules/orm/models/infraSecretsModule.js +104 -0
  722. package/modules/orm/models/integrationProvidersModule.d.ts +54 -0
  723. package/modules/orm/models/integrationProvidersModule.js +104 -0
  724. package/modules/orm/models/internalSecretsModule.d.ts +54 -0
  725. package/modules/orm/models/internalSecretsModule.js +104 -0
  726. package/package.json +4 -4
  727. package/api/cli/commands/create-user-database.js +0 -36
  728. package/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
  729. package/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
  730. package/compute/orm/models/secretDefinition.d.ts +0 -54
  731. package/config/cli/commands/org-secrets-remove-array.d.ts +0 -8
  732. package/config/cli/commands/org-secrets-rotate.d.ts +0 -8
  733. package/config/cli/commands/org-secrets-set.d.ts +0 -8
  734. package/config/cli/commands/platform-config-definition.d.ts +0 -8
  735. package/config/orm/models/platformConfigDefinition.d.ts +0 -54
  736. package/esm/api/cli/commands/bootstrap-user.d.ts +0 -8
  737. package/esm/api/cli/commands/create-user-database.d.ts +0 -8
  738. package/esm/api/cli/commands/create-user-database.js +0 -34
  739. package/esm/api/cli/commands/provision-database-with-user.d.ts +0 -8
  740. package/esm/compute/cli/commands/org-function-execution-log.d.ts +0 -8
  741. package/esm/compute/cli/commands/org-function-invocation.d.ts +0 -8
  742. package/esm/compute/orm/models/orgFunctionExecutionLog.d.ts +0 -56
  743. package/esm/compute/orm/models/orgFunctionInvocation.d.ts +0 -56
  744. package/esm/compute/orm/models/secretDefinition.d.ts +0 -54
  745. package/esm/config/cli/commands/org-secrets-del.d.ts +0 -8
  746. package/esm/config/cli/commands/org-secrets-remove-array.d.ts +0 -8
  747. package/esm/config/cli/commands/org-secrets-rotate.d.ts +0 -8
  748. package/esm/config/cli/commands/org-secrets-set.d.ts +0 -8
  749. package/esm/config/cli/commands/platform-config-definition.d.ts +0 -8
  750. package/esm/config/orm/models/platformConfigDefinition.d.ts +0 -54
  751. package/esm/modules/cli/commands/config-secrets-org-module.d.ts +0 -8
  752. package/esm/modules/orm/models/configSecretsModule.d.ts +0 -54
  753. package/esm/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
  754. package/modules/cli/commands/config-secrets-org-module.d.ts +0 -8
  755. package/modules/orm/models/configSecretsModule.d.ts +0 -54
  756. package/modules/orm/models/configSecretsOrgModule.d.ts +0 -54
@@ -229,33 +229,41 @@ export interface UUIDListFilter {
229
229
  anyGreaterThan?: string;
230
230
  anyGreaterThanOrEqualTo?: string;
231
231
  }
232
- /** Registry of valid config keys declares which config entries the platform recognizes */
233
- export interface PlatformConfigDefinition {
234
- /** Unique identifier for this config definition */
232
+ /** Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed */
233
+ export interface PlatformConfig {
234
+ /** Unique identifier for this config entry */
235
235
  id: string;
236
- createdAt?: string | null;
237
- updatedAt?: string | null;
238
- /** Config key name (must match config table name for resolution) */
236
+ /** FK to namespaces — logical grouping for config entries */
237
+ namespaceId?: string | null;
238
+ /** Key name identifying the config entry */
239
239
  name?: string | null;
240
- /** Human-readable description of what this config key controls */
241
- description?: string | null;
242
- /** Default value used when no config entry exists for a namespace */
243
- defaultValue?: string | null;
244
- /** Whether this row was seeded as a built-in config definition */
245
- isBuiltIn?: boolean | null;
246
- /** Key-value metadata for filtering and grouping config definitions */
240
+ /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
241
+ provider?: string | null;
242
+ /** Plaintext config value */
243
+ value?: string | null;
244
+ /** Key/value pairs for selecting/filtering config entries */
247
245
  labels?: Record<string, unknown> | null;
248
- /** Freeform metadata annotations for config definitions */
246
+ /** Freeform metadata for tooling and operational notes */
249
247
  annotations?: Record<string, unknown> | null;
248
+ /** Human-readable note about this config entry */
249
+ description?: string | null;
250
+ createdAt?: string | null;
251
+ updatedAt?: string | null;
252
+ /** Optional expiration timestamp for time-limited config entries */
253
+ expiresAt?: string | null;
250
254
  }
251
- /** App-level plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed */
252
- export interface PlatformConfig {
255
+ /** Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed */
256
+ export interface Config {
253
257
  /** Unique identifier for this config entry */
254
258
  id: string;
255
259
  /** FK to namespaces — logical grouping for config entries */
256
260
  namespaceId?: string | null;
261
+ /** Database that owns this resource (database-scoped isolation) */
262
+ databaseId?: string | null;
257
263
  /** Key name identifying the config entry */
258
264
  name?: string | null;
265
+ /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
266
+ provider?: string | null;
259
267
  /** Plaintext config value */
260
268
  value?: string | null;
261
269
  /** Key/value pairs for selecting/filtering config entries */
@@ -269,6 +277,45 @@ export interface PlatformConfig {
269
277
  /** Optional expiration timestamp for time-limited config entries */
270
278
  expiresAt?: string | null;
271
279
  }
280
+ export interface PlatformInternalSecret {
281
+ id: string;
282
+ name?: string | null;
283
+ namespaceId?: string | null;
284
+ description?: string | null;
285
+ labels?: Record<string, unknown> | null;
286
+ annotations?: Record<string, unknown> | null;
287
+ createdAt?: string | null;
288
+ updatedAt?: string | null;
289
+ rotatedAt?: string | null;
290
+ retiredAt?: string | null;
291
+ }
292
+ export interface PlatformSecret {
293
+ id: string;
294
+ name?: string | null;
295
+ provider?: string | null;
296
+ namespaceId?: string | null;
297
+ description?: string | null;
298
+ labels?: Record<string, unknown> | null;
299
+ annotations?: Record<string, unknown> | null;
300
+ createdAt?: string | null;
301
+ updatedAt?: string | null;
302
+ rotatedAt?: string | null;
303
+ retiredAt?: string | null;
304
+ }
305
+ export interface Secret {
306
+ databaseId?: string | null;
307
+ id: string;
308
+ name?: string | null;
309
+ provider?: string | null;
310
+ namespaceId?: string | null;
311
+ description?: string | null;
312
+ labels?: Record<string, unknown> | null;
313
+ annotations?: Record<string, unknown> | null;
314
+ createdAt?: string | null;
315
+ updatedAt?: string | null;
316
+ rotatedAt?: string | null;
317
+ retiredAt?: string | null;
318
+ }
272
319
  export interface ConnectionResult<T> {
273
320
  nodes: T[];
274
321
  totalCount: number;
@@ -280,27 +327,40 @@ export interface PageInfo {
280
327
  startCursor?: string | null;
281
328
  endCursor?: string | null;
282
329
  }
283
- export interface PlatformConfigDefinitionRelations {
284
- }
285
330
  export interface PlatformConfigRelations {
286
331
  }
287
- export type PlatformConfigDefinitionWithRelations = PlatformConfigDefinition & PlatformConfigDefinitionRelations;
332
+ export interface ConfigRelations {
333
+ }
334
+ export interface PlatformInternalSecretRelations {
335
+ }
336
+ export interface PlatformSecretRelations {
337
+ }
338
+ export interface SecretRelations {
339
+ }
288
340
  export type PlatformConfigWithRelations = PlatformConfig & PlatformConfigRelations;
289
- export type PlatformConfigDefinitionSelect = {
341
+ export type ConfigWithRelations = Config & ConfigRelations;
342
+ export type PlatformInternalSecretWithRelations = PlatformInternalSecret & PlatformInternalSecretRelations;
343
+ export type PlatformSecretWithRelations = PlatformSecret & PlatformSecretRelations;
344
+ export type SecretWithRelations = Secret & SecretRelations;
345
+ export type PlatformConfigSelect = {
290
346
  id?: boolean;
291
- createdAt?: boolean;
292
- updatedAt?: boolean;
347
+ namespaceId?: boolean;
293
348
  name?: boolean;
294
- description?: boolean;
295
- defaultValue?: boolean;
296
- isBuiltIn?: boolean;
349
+ provider?: boolean;
350
+ value?: boolean;
297
351
  labels?: boolean;
298
352
  annotations?: boolean;
353
+ description?: boolean;
354
+ createdAt?: boolean;
355
+ updatedAt?: boolean;
356
+ expiresAt?: boolean;
299
357
  };
300
- export type PlatformConfigSelect = {
358
+ export type ConfigSelect = {
301
359
  id?: boolean;
302
360
  namespaceId?: boolean;
361
+ databaseId?: boolean;
303
362
  name?: boolean;
363
+ provider?: boolean;
304
364
  value?: boolean;
305
365
  labels?: boolean;
306
366
  annotations?: boolean;
@@ -309,39 +369,86 @@ export type PlatformConfigSelect = {
309
369
  updatedAt?: boolean;
310
370
  expiresAt?: boolean;
311
371
  };
312
- export interface PlatformConfigDefinitionFilter {
372
+ export type PlatformInternalSecretSelect = {
373
+ id?: boolean;
374
+ name?: boolean;
375
+ namespaceId?: boolean;
376
+ description?: boolean;
377
+ labels?: boolean;
378
+ annotations?: boolean;
379
+ createdAt?: boolean;
380
+ updatedAt?: boolean;
381
+ rotatedAt?: boolean;
382
+ retiredAt?: boolean;
383
+ };
384
+ export type PlatformSecretSelect = {
385
+ id?: boolean;
386
+ name?: boolean;
387
+ provider?: boolean;
388
+ namespaceId?: boolean;
389
+ description?: boolean;
390
+ labels?: boolean;
391
+ annotations?: boolean;
392
+ createdAt?: boolean;
393
+ updatedAt?: boolean;
394
+ rotatedAt?: boolean;
395
+ retiredAt?: boolean;
396
+ };
397
+ export type SecretSelect = {
398
+ databaseId?: boolean;
399
+ id?: boolean;
400
+ name?: boolean;
401
+ provider?: boolean;
402
+ namespaceId?: boolean;
403
+ description?: boolean;
404
+ labels?: boolean;
405
+ annotations?: boolean;
406
+ createdAt?: boolean;
407
+ updatedAt?: boolean;
408
+ rotatedAt?: boolean;
409
+ retiredAt?: boolean;
410
+ };
411
+ export interface PlatformConfigFilter {
313
412
  /** Filter by the object’s `id` field. */
314
413
  id?: UUIDFilter;
315
- /** Filter by the object’s `createdAt` field. */
316
- createdAt?: DatetimeFilter;
317
- /** Filter by the object’s `updatedAt` field. */
318
- updatedAt?: DatetimeFilter;
414
+ /** Filter by the object’s `namespaceId` field. */
415
+ namespaceId?: UUIDFilter;
319
416
  /** Filter by the object’s `name` field. */
320
417
  name?: StringFilter;
321
- /** Filter by the object’s `description` field. */
322
- description?: StringFilter;
323
- /** Filter by the object’s `defaultValue` field. */
324
- defaultValue?: StringFilter;
325
- /** Filter by the object’s `isBuiltIn` field. */
326
- isBuiltIn?: BooleanFilter;
418
+ /** Filter by the object’s `provider` field. */
419
+ provider?: StringFilter;
420
+ /** Filter by the object’s `value` field. */
421
+ value?: StringFilter;
327
422
  /** Filter by the object’s `labels` field. */
328
423
  labels?: JSONFilter;
329
424
  /** Filter by the object’s `annotations` field. */
330
425
  annotations?: JSONFilter;
426
+ /** Filter by the object’s `description` field. */
427
+ description?: StringFilter;
428
+ /** Filter by the object’s `createdAt` field. */
429
+ createdAt?: DatetimeFilter;
430
+ /** Filter by the object’s `updatedAt` field. */
431
+ updatedAt?: DatetimeFilter;
432
+ /** Filter by the object’s `expiresAt` field. */
433
+ expiresAt?: DatetimeFilter;
331
434
  /** Checks for all expressions in this list. */
332
- and?: PlatformConfigDefinitionFilter[];
435
+ and?: PlatformConfigFilter[];
333
436
  /** Checks for any expressions in this list. */
334
- or?: PlatformConfigDefinitionFilter[];
437
+ or?: PlatformConfigFilter[];
335
438
  /** Negates the expression. */
336
- not?: PlatformConfigDefinitionFilter;
439
+ not?: PlatformConfigFilter;
337
440
  }
338
- export interface PlatformConfigFilter {
441
+ export interface ConfigFilter {
339
442
  /** Filter by the object’s `id` field. */
340
443
  id?: UUIDFilter;
341
444
  /** Filter by the object’s `namespaceId` field. */
342
445
  namespaceId?: UUIDFilter;
446
+ /** Filter by the object’s `databaseId` field. */
447
+ databaseId?: UUIDFilter;
343
448
  /** Filter by the object’s `name` field. */
344
449
  name?: StringFilter;
450
+ /** Filter by the object’s `provider` field. */
451
+ provider?: StringFilter;
345
452
  /** Filter by the object’s `value` field. */
346
453
  value?: StringFilter;
347
454
  /** Filter by the object’s `labels` field. */
@@ -357,47 +464,146 @@ export interface PlatformConfigFilter {
357
464
  /** Filter by the object’s `expiresAt` field. */
358
465
  expiresAt?: DatetimeFilter;
359
466
  /** Checks for all expressions in this list. */
360
- and?: PlatformConfigFilter[];
467
+ and?: ConfigFilter[];
361
468
  /** Checks for any expressions in this list. */
362
- or?: PlatformConfigFilter[];
469
+ or?: ConfigFilter[];
363
470
  /** Negates the expression. */
364
- not?: PlatformConfigFilter;
471
+ not?: ConfigFilter;
472
+ }
473
+ export interface PlatformInternalSecretFilter {
474
+ /** Filter by the object’s `id` field. */
475
+ id?: UUIDFilter;
476
+ /** Filter by the object’s `name` field. */
477
+ name?: StringFilter;
478
+ /** Filter by the object’s `namespaceId` field. */
479
+ namespaceId?: UUIDFilter;
480
+ /** Filter by the object’s `description` field. */
481
+ description?: StringFilter;
482
+ /** Filter by the object’s `labels` field. */
483
+ labels?: JSONFilter;
484
+ /** Filter by the object’s `annotations` field. */
485
+ annotations?: JSONFilter;
486
+ /** Filter by the object’s `createdAt` field. */
487
+ createdAt?: DatetimeFilter;
488
+ /** Filter by the object’s `updatedAt` field. */
489
+ updatedAt?: DatetimeFilter;
490
+ /** Filter by the object’s `rotatedAt` field. */
491
+ rotatedAt?: DatetimeFilter;
492
+ /** Filter by the object’s `retiredAt` field. */
493
+ retiredAt?: DatetimeFilter;
494
+ /** Checks for all expressions in this list. */
495
+ and?: PlatformInternalSecretFilter[];
496
+ /** Checks for any expressions in this list. */
497
+ or?: PlatformInternalSecretFilter[];
498
+ /** Negates the expression. */
499
+ not?: PlatformInternalSecretFilter;
500
+ }
501
+ export interface PlatformSecretFilter {
502
+ /** Filter by the object’s `id` field. */
503
+ id?: UUIDFilter;
504
+ /** Filter by the object’s `name` field. */
505
+ name?: StringFilter;
506
+ /** Filter by the object’s `provider` field. */
507
+ provider?: StringFilter;
508
+ /** Filter by the object’s `namespaceId` field. */
509
+ namespaceId?: UUIDFilter;
510
+ /** Filter by the object’s `description` field. */
511
+ description?: StringFilter;
512
+ /** Filter by the object’s `labels` field. */
513
+ labels?: JSONFilter;
514
+ /** Filter by the object’s `annotations` field. */
515
+ annotations?: JSONFilter;
516
+ /** Filter by the object’s `createdAt` field. */
517
+ createdAt?: DatetimeFilter;
518
+ /** Filter by the object’s `updatedAt` field. */
519
+ updatedAt?: DatetimeFilter;
520
+ /** Filter by the object’s `rotatedAt` field. */
521
+ rotatedAt?: DatetimeFilter;
522
+ /** Filter by the object’s `retiredAt` field. */
523
+ retiredAt?: DatetimeFilter;
524
+ /** Checks for all expressions in this list. */
525
+ and?: PlatformSecretFilter[];
526
+ /** Checks for any expressions in this list. */
527
+ or?: PlatformSecretFilter[];
528
+ /** Negates the expression. */
529
+ not?: PlatformSecretFilter;
530
+ }
531
+ export interface SecretFilter {
532
+ /** Filter by the object’s `databaseId` field. */
533
+ databaseId?: UUIDFilter;
534
+ /** Filter by the object’s `id` field. */
535
+ id?: UUIDFilter;
536
+ /** Filter by the object’s `name` field. */
537
+ name?: StringFilter;
538
+ /** Filter by the object’s `provider` field. */
539
+ provider?: StringFilter;
540
+ /** Filter by the object’s `namespaceId` field. */
541
+ namespaceId?: UUIDFilter;
542
+ /** Filter by the object’s `description` field. */
543
+ description?: StringFilter;
544
+ /** Filter by the object’s `labels` field. */
545
+ labels?: JSONFilter;
546
+ /** Filter by the object’s `annotations` field. */
547
+ annotations?: JSONFilter;
548
+ /** Filter by the object’s `createdAt` field. */
549
+ createdAt?: DatetimeFilter;
550
+ /** Filter by the object’s `updatedAt` field. */
551
+ updatedAt?: DatetimeFilter;
552
+ /** Filter by the object’s `rotatedAt` field. */
553
+ rotatedAt?: DatetimeFilter;
554
+ /** Filter by the object’s `retiredAt` field. */
555
+ retiredAt?: DatetimeFilter;
556
+ /** Checks for all expressions in this list. */
557
+ and?: SecretFilter[];
558
+ /** Checks for any expressions in this list. */
559
+ or?: SecretFilter[];
560
+ /** Negates the expression. */
561
+ not?: SecretFilter;
365
562
  }
366
- export type PlatformConfigDefinitionOrderBy = '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' | 'DEFAULT_VALUE_ASC' | 'DEFAULT_VALUE_DESC' | 'IS_BUILT_IN_ASC' | 'IS_BUILT_IN_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC';
367
- export type PlatformConfigOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'VALUE_ASC' | 'VALUE_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC';
368
- export interface CreatePlatformConfigDefinitionInput {
563
+ export type PlatformConfigOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'VALUE_ASC' | 'VALUE_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC';
564
+ export type ConfigOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'VALUE_ASC' | 'VALUE_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC';
565
+ export type PlatformInternalSecretOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC';
566
+ export type PlatformSecretOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC';
567
+ export type SecretOrderBy = 'NATURAL' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC';
568
+ export interface CreatePlatformConfigInput {
369
569
  clientMutationId?: string;
370
- platformConfigDefinition: {
570
+ platformConfig: {
571
+ namespaceId: string;
371
572
  name: string;
372
- description?: string;
373
- defaultValue?: string;
374
- isBuiltIn?: boolean;
573
+ provider?: string;
574
+ value?: string;
375
575
  labels?: Record<string, unknown>;
376
576
  annotations?: Record<string, unknown>;
577
+ description?: string;
578
+ expiresAt?: string;
377
579
  };
378
580
  }
379
- export interface PlatformConfigDefinitionPatch {
581
+ export interface PlatformConfigPatch {
582
+ namespaceId?: string | null;
380
583
  name?: string | null;
381
- description?: string | null;
382
- defaultValue?: string | null;
383
- isBuiltIn?: boolean | null;
584
+ provider?: string | null;
585
+ value?: string | null;
384
586
  labels?: Record<string, unknown> | null;
385
587
  annotations?: Record<string, unknown> | null;
588
+ description?: string | null;
589
+ expiresAt?: string | null;
386
590
  }
387
- export interface UpdatePlatformConfigDefinitionInput {
591
+ export interface UpdatePlatformConfigInput {
388
592
  clientMutationId?: string;
389
593
  id: string;
390
- platformConfigDefinitionPatch: PlatformConfigDefinitionPatch;
594
+ platformConfigPatch: PlatformConfigPatch;
391
595
  }
392
- export interface DeletePlatformConfigDefinitionInput {
596
+ export interface DeletePlatformConfigInput {
393
597
  clientMutationId?: string;
394
598
  id: string;
395
599
  }
396
- export interface CreatePlatformConfigInput {
600
+ export interface CreateConfigInput {
397
601
  clientMutationId?: string;
398
- platformConfig: {
602
+ config: {
399
603
  namespaceId: string;
604
+ databaseId: string;
400
605
  name: string;
606
+ provider?: string;
401
607
  value?: string;
402
608
  labels?: Record<string, unknown>;
403
609
  annotations?: Record<string, unknown>;
@@ -405,76 +611,200 @@ export interface CreatePlatformConfigInput {
405
611
  expiresAt?: string;
406
612
  };
407
613
  }
408
- export interface PlatformConfigPatch {
614
+ export interface ConfigPatch {
409
615
  namespaceId?: string | null;
616
+ databaseId?: string | null;
410
617
  name?: string | null;
618
+ provider?: string | null;
411
619
  value?: string | null;
412
620
  labels?: Record<string, unknown> | null;
413
621
  annotations?: Record<string, unknown> | null;
414
622
  description?: string | null;
415
623
  expiresAt?: string | null;
416
624
  }
417
- export interface UpdatePlatformConfigInput {
625
+ export interface UpdateConfigInput {
418
626
  clientMutationId?: string;
419
627
  id: string;
420
- platformConfigPatch: PlatformConfigPatch;
628
+ configPatch: ConfigPatch;
421
629
  }
422
- export interface DeletePlatformConfigInput {
630
+ export interface DeleteConfigInput {
631
+ clientMutationId?: string;
632
+ id: string;
633
+ }
634
+ export interface CreatePlatformInternalSecretInput {
635
+ clientMutationId?: string;
636
+ platformInternalSecret: {
637
+ name?: string;
638
+ namespaceId?: string;
639
+ description?: string;
640
+ labels?: Record<string, unknown>;
641
+ annotations?: Record<string, unknown>;
642
+ rotatedAt?: string;
643
+ retiredAt?: string;
644
+ };
645
+ }
646
+ export interface PlatformInternalSecretPatch {
647
+ name?: string | null;
648
+ namespaceId?: string | null;
649
+ description?: string | null;
650
+ labels?: Record<string, unknown> | null;
651
+ annotations?: Record<string, unknown> | null;
652
+ rotatedAt?: string | null;
653
+ retiredAt?: string | null;
654
+ }
655
+ export interface UpdatePlatformInternalSecretInput {
656
+ clientMutationId?: string;
657
+ id: string;
658
+ platformInternalSecretPatch: PlatformInternalSecretPatch;
659
+ }
660
+ export interface DeletePlatformInternalSecretInput {
661
+ clientMutationId?: string;
662
+ id: string;
663
+ }
664
+ export interface CreatePlatformSecretInput {
665
+ clientMutationId?: string;
666
+ platformSecret: {
667
+ name?: string;
668
+ provider?: string;
669
+ namespaceId?: string;
670
+ description?: string;
671
+ labels?: Record<string, unknown>;
672
+ annotations?: Record<string, unknown>;
673
+ rotatedAt?: string;
674
+ retiredAt?: string;
675
+ };
676
+ }
677
+ export interface PlatformSecretPatch {
678
+ name?: string | null;
679
+ provider?: string | null;
680
+ namespaceId?: string | null;
681
+ description?: string | null;
682
+ labels?: Record<string, unknown> | null;
683
+ annotations?: Record<string, unknown> | null;
684
+ rotatedAt?: string | null;
685
+ retiredAt?: string | null;
686
+ }
687
+ export interface UpdatePlatformSecretInput {
688
+ clientMutationId?: string;
689
+ id: string;
690
+ platformSecretPatch: PlatformSecretPatch;
691
+ }
692
+ export interface DeletePlatformSecretInput {
693
+ clientMutationId?: string;
694
+ id: string;
695
+ }
696
+ export interface CreateSecretInput {
697
+ clientMutationId?: string;
698
+ secret: {
699
+ databaseId?: string;
700
+ name?: string;
701
+ provider?: string;
702
+ namespaceId?: string;
703
+ description?: string;
704
+ labels?: Record<string, unknown>;
705
+ annotations?: Record<string, unknown>;
706
+ rotatedAt?: string;
707
+ retiredAt?: string;
708
+ };
709
+ }
710
+ export interface SecretPatch {
711
+ databaseId?: string | null;
712
+ name?: string | null;
713
+ provider?: string | null;
714
+ namespaceId?: string | null;
715
+ description?: string | null;
716
+ labels?: Record<string, unknown> | null;
717
+ annotations?: Record<string, unknown> | null;
718
+ rotatedAt?: string | null;
719
+ retiredAt?: string | null;
720
+ }
721
+ export interface UpdateSecretInput {
722
+ clientMutationId?: string;
723
+ id: string;
724
+ secretPatch: SecretPatch;
725
+ }
726
+ export interface DeleteSecretInput {
423
727
  clientMutationId?: string;
424
728
  id: string;
425
729
  }
426
730
  export declare const connectionFieldsMap: Record<string, Record<string, string>>;
731
+ export interface PlatformInternalSecretsDelInput {
732
+ clientMutationId?: string;
733
+ secretName?: string;
734
+ namespaceId?: string;
735
+ }
427
736
  export interface PlatformSecretsDelInput {
428
737
  clientMutationId?: string;
429
738
  secretName?: string;
430
739
  namespaceId?: string;
431
740
  }
432
- export interface OrgSecretsDelInput {
741
+ export interface _SecretsDelInput {
433
742
  clientMutationId?: string;
434
- ownerId?: string;
743
+ databaseId?: string;
435
744
  secretName?: string;
436
745
  namespaceId?: string;
437
746
  }
747
+ export interface PlatformInternalSecretsRemoveArrayInput {
748
+ clientMutationId?: string;
749
+ secretNames?: string[];
750
+ namespaceId?: string;
751
+ }
438
752
  export interface PlatformSecretsRemoveArrayInput {
439
753
  clientMutationId?: string;
440
754
  secretNames?: string[];
441
755
  namespaceId?: string;
442
756
  }
443
- export interface OrgSecretsRemoveArrayInput {
757
+ export interface _SecretsRemoveArrayInput {
444
758
  clientMutationId?: string;
445
- ownerId?: string;
759
+ databaseId?: string;
446
760
  secretNames?: string[];
447
761
  namespaceId?: string;
448
762
  }
449
- export interface PlatformSecretsRotateInput {
763
+ export interface PlatformInternalSecretsRotateInput {
450
764
  clientMutationId?: string;
451
765
  secretName?: string;
452
766
  secretValue?: string;
453
767
  namespaceId?: string;
454
768
  algo?: string;
455
769
  }
456
- export interface PlatformSecretsSetInput {
770
+ export interface PlatformInternalSecretsSetInput {
457
771
  clientMutationId?: string;
458
772
  secretName?: string;
459
773
  secretValue?: string;
460
774
  secretNamespaceId?: string;
461
775
  algo?: string;
462
776
  }
463
- export interface OrgSecretsRotateInput {
777
+ export interface PlatformSecretsRotateInput {
778
+ clientMutationId?: string;
779
+ secretName?: string;
780
+ secretValue?: string;
781
+ namespaceId?: string;
782
+ algo?: string;
783
+ }
784
+ export interface _SecretsRotateInput {
464
785
  clientMutationId?: string;
465
- ownerId?: string;
786
+ databaseId?: string;
466
787
  secretName?: string;
467
788
  secretValue?: string;
468
789
  namespaceId?: string;
469
790
  algo?: string;
470
791
  }
471
- export interface OrgSecretsSetInput {
792
+ export interface PlatformSecretsSetInput {
472
793
  clientMutationId?: string;
473
- scopeOwnerId?: string;
474
794
  secretName?: string;
475
795
  secretValue?: string;
476
796
  secretNamespaceId?: string;
477
797
  algo?: string;
798
+ provider?: string;
799
+ }
800
+ export interface _SecretsSetInput {
801
+ clientMutationId?: string;
802
+ scopeDatabaseId?: string;
803
+ secretName?: string;
804
+ secretValue?: string;
805
+ secretNamespaceId?: string;
806
+ algo?: string;
807
+ provider?: string;
478
808
  }
479
809
  export interface ProvisionBucketInput {
480
810
  /** The logical bucket key (e.g., "public", "private") */
@@ -485,33 +815,41 @@ export interface ProvisionBucketInput {
485
815
  */
486
816
  ownerId?: string;
487
817
  }
488
- /** An input for mutations affecting `PlatformConfigDefinition` */
489
- export interface PlatformConfigDefinitionInput {
490
- /** Unique identifier for this config definition */
818
+ /** An input for mutations affecting `PlatformConfig` */
819
+ export interface PlatformConfigInput {
820
+ /** Unique identifier for this config entry */
491
821
  id?: string;
492
- createdAt?: string;
493
- updatedAt?: string;
494
- /** Config key name (must match config table name for resolution) */
822
+ /** FK to namespaces — logical grouping for config entries */
823
+ namespaceId: string;
824
+ /** Key name identifying the config entry */
495
825
  name: string;
496
- /** Human-readable description of what this config key controls */
497
- description?: string;
498
- /** Default value used when no config entry exists for a namespace */
499
- defaultValue?: string;
500
- /** Whether this row was seeded as a built-in config definition */
501
- isBuiltIn?: boolean;
502
- /** Key-value metadata for filtering and grouping config definitions */
826
+ /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
827
+ provider?: string;
828
+ /** Plaintext config value */
829
+ value?: string;
830
+ /** Key/value pairs for selecting/filtering config entries */
503
831
  labels?: Record<string, unknown>;
504
- /** Freeform metadata annotations for config definitions */
832
+ /** Freeform metadata for tooling and operational notes */
505
833
  annotations?: Record<string, unknown>;
834
+ /** Human-readable note about this config entry */
835
+ description?: string;
836
+ createdAt?: string;
837
+ updatedAt?: string;
838
+ /** Optional expiration timestamp for time-limited config entries */
839
+ expiresAt?: string;
506
840
  }
507
- /** An input for mutations affecting `PlatformConfig` */
508
- export interface PlatformConfigInput {
841
+ /** An input for mutations affecting `Config` */
842
+ export interface ConfigInput {
509
843
  /** Unique identifier for this config entry */
510
844
  id?: string;
511
845
  /** FK to namespaces — logical grouping for config entries */
512
846
  namespaceId: string;
847
+ /** Database that owns this resource (database-scoped isolation) */
848
+ databaseId: string;
513
849
  /** Key name identifying the config entry */
514
850
  name: string;
851
+ /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
852
+ provider?: string;
515
853
  /** Plaintext config value */
516
854
  value?: string;
517
855
  /** Key/value pairs for selecting/filtering config entries */
@@ -525,16 +863,70 @@ export interface PlatformConfigInput {
525
863
  /** Optional expiration timestamp for time-limited config entries */
526
864
  expiresAt?: string;
527
865
  }
866
+ /** An input for mutations affecting `PlatformInternalSecret` */
867
+ export interface PlatformInternalSecretInput {
868
+ id?: string;
869
+ name?: string;
870
+ namespaceId?: string;
871
+ description?: string;
872
+ labels?: Record<string, unknown>;
873
+ annotations?: Record<string, unknown>;
874
+ createdAt?: string;
875
+ updatedAt?: string;
876
+ rotatedAt?: string;
877
+ retiredAt?: string;
878
+ }
879
+ /** An input for mutations affecting `PlatformSecret` */
880
+ export interface PlatformSecretInput {
881
+ id?: string;
882
+ name?: string;
883
+ provider?: string;
884
+ namespaceId?: string;
885
+ description?: string;
886
+ labels?: Record<string, unknown>;
887
+ annotations?: Record<string, unknown>;
888
+ createdAt?: string;
889
+ updatedAt?: string;
890
+ rotatedAt?: string;
891
+ retiredAt?: string;
892
+ }
893
+ /** An input for mutations affecting `Secret` */
894
+ export interface SecretInput {
895
+ databaseId?: string;
896
+ id?: string;
897
+ name?: string;
898
+ provider?: string;
899
+ namespaceId?: string;
900
+ description?: string;
901
+ labels?: Record<string, unknown>;
902
+ annotations?: Record<string, unknown>;
903
+ createdAt?: string;
904
+ updatedAt?: string;
905
+ rotatedAt?: string;
906
+ retiredAt?: string;
907
+ }
908
+ export interface PlatformInternalSecretsDelPayload {
909
+ clientMutationId?: string | null;
910
+ }
911
+ export type PlatformInternalSecretsDelPayloadSelect = {
912
+ clientMutationId?: boolean;
913
+ };
528
914
  export interface PlatformSecretsDelPayload {
529
915
  clientMutationId?: string | null;
530
916
  }
531
917
  export type PlatformSecretsDelPayloadSelect = {
532
918
  clientMutationId?: boolean;
533
919
  };
534
- export interface OrgSecretsDelPayload {
920
+ export interface _SecretsDelPayload {
535
921
  clientMutationId?: string | null;
536
922
  }
537
- export type OrgSecretsDelPayloadSelect = {
923
+ export type _SecretsDelPayloadSelect = {
924
+ clientMutationId?: boolean;
925
+ };
926
+ export interface PlatformInternalSecretsRemoveArrayPayload {
927
+ clientMutationId?: string | null;
928
+ }
929
+ export type PlatformInternalSecretsRemoveArrayPayloadSelect = {
538
930
  clientMutationId?: boolean;
539
931
  };
540
932
  export interface PlatformSecretsRemoveArrayPayload {
@@ -543,12 +935,28 @@ export interface PlatformSecretsRemoveArrayPayload {
543
935
  export type PlatformSecretsRemoveArrayPayloadSelect = {
544
936
  clientMutationId?: boolean;
545
937
  };
546
- export interface OrgSecretsRemoveArrayPayload {
938
+ export interface _SecretsRemoveArrayPayload {
547
939
  clientMutationId?: string | null;
548
940
  }
549
- export type OrgSecretsRemoveArrayPayloadSelect = {
941
+ export type _SecretsRemoveArrayPayloadSelect = {
550
942
  clientMutationId?: boolean;
551
943
  };
944
+ export interface PlatformInternalSecretsRotatePayload {
945
+ clientMutationId?: string | null;
946
+ result?: boolean | null;
947
+ }
948
+ export type PlatformInternalSecretsRotatePayloadSelect = {
949
+ clientMutationId?: boolean;
950
+ result?: boolean;
951
+ };
952
+ export interface PlatformInternalSecretsSetPayload {
953
+ clientMutationId?: string | null;
954
+ result?: boolean | null;
955
+ }
956
+ export type PlatformInternalSecretsSetPayloadSelect = {
957
+ clientMutationId?: boolean;
958
+ result?: boolean;
959
+ };
552
960
  export interface PlatformSecretsRotatePayload {
553
961
  clientMutationId?: string | null;
554
962
  result?: boolean | null;
@@ -557,27 +965,27 @@ export type PlatformSecretsRotatePayloadSelect = {
557
965
  clientMutationId?: boolean;
558
966
  result?: boolean;
559
967
  };
560
- export interface PlatformSecretsSetPayload {
968
+ export interface _SecretsRotatePayload {
561
969
  clientMutationId?: string | null;
562
970
  result?: boolean | null;
563
971
  }
564
- export type PlatformSecretsSetPayloadSelect = {
972
+ export type _SecretsRotatePayloadSelect = {
565
973
  clientMutationId?: boolean;
566
974
  result?: boolean;
567
975
  };
568
- export interface OrgSecretsRotatePayload {
976
+ export interface PlatformSecretsSetPayload {
569
977
  clientMutationId?: string | null;
570
978
  result?: boolean | null;
571
979
  }
572
- export type OrgSecretsRotatePayloadSelect = {
980
+ export type PlatformSecretsSetPayloadSelect = {
573
981
  clientMutationId?: boolean;
574
982
  result?: boolean;
575
983
  };
576
- export interface OrgSecretsSetPayload {
984
+ export interface _SecretsSetPayload {
577
985
  clientMutationId?: string | null;
578
986
  result?: boolean | null;
579
987
  }
580
- export type OrgSecretsSetPayloadSelect = {
988
+ export type _SecretsSetPayloadSelect = {
581
989
  clientMutationId?: boolean;
582
990
  result?: boolean;
583
991
  };
@@ -603,51 +1011,6 @@ export type ProvisionBucketPayloadSelect = {
603
1011
  endpoint?: boolean;
604
1012
  error?: boolean;
605
1013
  };
606
- export interface CreatePlatformConfigDefinitionPayload {
607
- clientMutationId?: string | null;
608
- /** The `PlatformConfigDefinition` that was created by this mutation. */
609
- platformConfigDefinition?: PlatformConfigDefinition | null;
610
- platformConfigDefinitionEdge?: PlatformConfigDefinitionEdge | null;
611
- }
612
- export type CreatePlatformConfigDefinitionPayloadSelect = {
613
- clientMutationId?: boolean;
614
- platformConfigDefinition?: {
615
- select: PlatformConfigDefinitionSelect;
616
- };
617
- platformConfigDefinitionEdge?: {
618
- select: PlatformConfigDefinitionEdgeSelect;
619
- };
620
- };
621
- export interface UpdatePlatformConfigDefinitionPayload {
622
- clientMutationId?: string | null;
623
- /** The `PlatformConfigDefinition` that was updated by this mutation. */
624
- platformConfigDefinition?: PlatformConfigDefinition | null;
625
- platformConfigDefinitionEdge?: PlatformConfigDefinitionEdge | null;
626
- }
627
- export type UpdatePlatformConfigDefinitionPayloadSelect = {
628
- clientMutationId?: boolean;
629
- platformConfigDefinition?: {
630
- select: PlatformConfigDefinitionSelect;
631
- };
632
- platformConfigDefinitionEdge?: {
633
- select: PlatformConfigDefinitionEdgeSelect;
634
- };
635
- };
636
- export interface DeletePlatformConfigDefinitionPayload {
637
- clientMutationId?: string | null;
638
- /** The `PlatformConfigDefinition` that was deleted by this mutation. */
639
- platformConfigDefinition?: PlatformConfigDefinition | null;
640
- platformConfigDefinitionEdge?: PlatformConfigDefinitionEdge | null;
641
- }
642
- export type DeletePlatformConfigDefinitionPayloadSelect = {
643
- clientMutationId?: boolean;
644
- platformConfigDefinition?: {
645
- select: PlatformConfigDefinitionSelect;
646
- };
647
- platformConfigDefinitionEdge?: {
648
- select: PlatformConfigDefinitionEdgeSelect;
649
- };
650
- };
651
1014
  export interface CreatePlatformConfigPayload {
652
1015
  clientMutationId?: string | null;
653
1016
  /** The `PlatformConfig` that was created by this mutation. */
@@ -693,16 +1056,82 @@ export type DeletePlatformConfigPayloadSelect = {
693
1056
  select: PlatformConfigEdgeSelect;
694
1057
  };
695
1058
  };
696
- /** A `PlatformConfigDefinition` edge in the connection. */
697
- export interface PlatformConfigDefinitionEdge {
698
- cursor?: string | null;
699
- /** The `PlatformConfigDefinition` at the end of the edge. */
700
- node?: PlatformConfigDefinition | null;
1059
+ export interface CreateConfigPayload {
1060
+ clientMutationId?: string | null;
1061
+ /** The `Config` that was created by this mutation. */
1062
+ config?: Config | null;
1063
+ configEdge?: ConfigEdge | null;
701
1064
  }
702
- export type PlatformConfigDefinitionEdgeSelect = {
703
- cursor?: boolean;
704
- node?: {
705
- select: PlatformConfigDefinitionSelect;
1065
+ export type CreateConfigPayloadSelect = {
1066
+ clientMutationId?: boolean;
1067
+ config?: {
1068
+ select: ConfigSelect;
1069
+ };
1070
+ configEdge?: {
1071
+ select: ConfigEdgeSelect;
1072
+ };
1073
+ };
1074
+ export interface UpdateConfigPayload {
1075
+ clientMutationId?: string | null;
1076
+ /** The `Config` that was updated by this mutation. */
1077
+ config?: Config | null;
1078
+ configEdge?: ConfigEdge | null;
1079
+ }
1080
+ export type UpdateConfigPayloadSelect = {
1081
+ clientMutationId?: boolean;
1082
+ config?: {
1083
+ select: ConfigSelect;
1084
+ };
1085
+ configEdge?: {
1086
+ select: ConfigEdgeSelect;
1087
+ };
1088
+ };
1089
+ export interface DeleteConfigPayload {
1090
+ clientMutationId?: string | null;
1091
+ /** The `Config` that was deleted by this mutation. */
1092
+ config?: Config | null;
1093
+ configEdge?: ConfigEdge | null;
1094
+ }
1095
+ export type DeleteConfigPayloadSelect = {
1096
+ clientMutationId?: boolean;
1097
+ config?: {
1098
+ select: ConfigSelect;
1099
+ };
1100
+ configEdge?: {
1101
+ select: ConfigEdgeSelect;
1102
+ };
1103
+ };
1104
+ export interface CreatePlatformInternalSecretPayload {
1105
+ clientMutationId?: string | null;
1106
+ /** The `PlatformInternalSecret` that was created by this mutation. */
1107
+ platformInternalSecret?: PlatformInternalSecret | null;
1108
+ }
1109
+ export type CreatePlatformInternalSecretPayloadSelect = {
1110
+ clientMutationId?: boolean;
1111
+ platformInternalSecret?: {
1112
+ select: PlatformInternalSecretSelect;
1113
+ };
1114
+ };
1115
+ export interface CreatePlatformSecretPayload {
1116
+ clientMutationId?: string | null;
1117
+ /** The `PlatformSecret` that was created by this mutation. */
1118
+ platformSecret?: PlatformSecret | null;
1119
+ }
1120
+ export type CreatePlatformSecretPayloadSelect = {
1121
+ clientMutationId?: boolean;
1122
+ platformSecret?: {
1123
+ select: PlatformSecretSelect;
1124
+ };
1125
+ };
1126
+ export interface CreateSecretPayload {
1127
+ clientMutationId?: string | null;
1128
+ /** The `Secret` that was created by this mutation. */
1129
+ secret?: Secret | null;
1130
+ }
1131
+ export type CreateSecretPayloadSelect = {
1132
+ clientMutationId?: boolean;
1133
+ secret?: {
1134
+ select: SecretSelect;
706
1135
  };
707
1136
  };
708
1137
  /** A `PlatformConfig` edge in the connection. */
@@ -717,3 +1146,15 @@ export type PlatformConfigEdgeSelect = {
717
1146
  select: PlatformConfigSelect;
718
1147
  };
719
1148
  };
1149
+ /** A `Config` edge in the connection. */
1150
+ export interface ConfigEdge {
1151
+ cursor?: string | null;
1152
+ /** The `Config` at the end of the edge. */
1153
+ node?: Config | null;
1154
+ }
1155
+ export type ConfigEdgeSelect = {
1156
+ cursor?: boolean;
1157
+ node?: {
1158
+ select: ConfigSelect;
1159
+ };
1160
+ };