@constructive-io/react 0.27.1 → 0.27.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/api/orm/input-types.d.ts +144 -171
  2. package/api/schema-types.d.ts +676 -678
  3. package/api/types.d.ts +9 -14
  4. package/auth/hooks/index.d.ts +1 -1
  5. package/auth/hooks/index.js +1 -1
  6. package/auth/hooks/invalidation.d.ts +24 -0
  7. package/auth/hooks/invalidation.js +64 -0
  8. package/auth/hooks/mutation-keys.d.ts +56 -0
  9. package/auth/hooks/mutation-keys.js +44 -1
  10. package/auth/hooks/mutations/index.d.ts +11 -0
  11. package/auth/hooks/mutations/index.js +11 -0
  12. package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +34 -0
  13. package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +34 -0
  14. package/auth/hooks/mutations/useCreateOrgApiKeyMutation.d.ts +20 -0
  15. package/auth/hooks/mutations/useCreateOrgApiKeyMutation.js +26 -0
  16. package/auth/hooks/mutations/useCreateOrgPrincipalMutation.d.ts +20 -0
  17. package/auth/hooks/mutations/useCreateOrgPrincipalMutation.js +26 -0
  18. package/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +34 -0
  19. package/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +34 -0
  20. package/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +34 -0
  21. package/auth/hooks/mutations/useCreatePrincipalMutation.js +34 -0
  22. package/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +34 -0
  23. package/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js +34 -0
  24. package/auth/hooks/mutations/useDeleteOrgPrincipalMutation.d.ts +20 -0
  25. package/auth/hooks/mutations/useDeleteOrgPrincipalMutation.js +26 -0
  26. package/auth/hooks/mutations/useDeletePrincipalEntityMutation.d.ts +38 -0
  27. package/auth/hooks/mutations/useDeletePrincipalEntityMutation.js +39 -0
  28. package/auth/hooks/mutations/useDeletePrincipalMutation.d.ts +38 -0
  29. package/auth/hooks/mutations/useDeletePrincipalMutation.js +39 -0
  30. package/auth/hooks/mutations/useRevokeOrgApiKeyMutation.d.ts +20 -0
  31. package/auth/hooks/mutations/useRevokeOrgApiKeyMutation.js +26 -0
  32. package/auth/hooks/mutations/useUpdatePrincipalEntityMutation.d.ts +40 -0
  33. package/auth/hooks/mutations/useUpdatePrincipalEntityMutation.js +40 -0
  34. package/auth/hooks/queries/index.d.ts +9 -1
  35. package/auth/hooks/queries/index.js +9 -1
  36. package/auth/hooks/queries/useOrgApiKeyListQuery.d.ts +65 -0
  37. package/auth/hooks/queries/useOrgApiKeyListQuery.js +53 -0
  38. package/auth/hooks/queries/useOrgApiKeyListsQuery.d.ts +69 -0
  39. package/auth/hooks/queries/useOrgApiKeyListsQuery.js +38 -0
  40. package/auth/hooks/queries/usePrincipalEntitiesQuery.d.ts +69 -0
  41. package/auth/hooks/queries/usePrincipalEntitiesQuery.js +38 -0
  42. package/auth/hooks/queries/usePrincipalEntityQuery.d.ts +65 -0
  43. package/auth/hooks/queries/usePrincipalEntityQuery.js +53 -0
  44. package/auth/hooks/queries/usePrincipalQuery.d.ts +65 -0
  45. package/auth/hooks/queries/usePrincipalQuery.js +53 -0
  46. package/auth/hooks/queries/usePrincipalScopeOverrideQuery.d.ts +65 -0
  47. package/auth/hooks/queries/usePrincipalScopeOverrideQuery.js +53 -0
  48. package/auth/hooks/queries/usePrincipalScopeOverridesQuery.d.ts +69 -0
  49. package/auth/hooks/queries/usePrincipalScopeOverridesQuery.js +38 -0
  50. package/auth/hooks/queries/usePrincipalsQuery.d.ts +69 -0
  51. package/auth/hooks/queries/usePrincipalsQuery.js +38 -0
  52. package/auth/hooks/query-keys.d.ts +58 -2
  53. package/auth/hooks/query-keys.js +34 -2
  54. package/auth/orm/index.d.ts +32 -4
  55. package/auth/orm/index.js +8 -0
  56. package/auth/orm/input-types.d.ts +915 -145
  57. package/auth/orm/input-types.js +7 -0
  58. package/auth/orm/models/index.d.ts +4 -0
  59. package/auth/orm/models/index.js +9 -1
  60. package/auth/orm/models/orgApiKeyList.d.ts +36 -0
  61. package/auth/orm/models/orgApiKeyList.js +80 -0
  62. package/auth/orm/models/principal.d.ts +45 -0
  63. package/auth/orm/models/principal.js +93 -0
  64. package/auth/orm/models/principalEntity.d.ts +54 -0
  65. package/auth/orm/models/principalEntity.js +104 -0
  66. package/auth/orm/models/principalScopeOverride.d.ts +36 -0
  67. package/auth/orm/models/principalScopeOverride.js +80 -0
  68. package/auth/orm/mutation/index.d.ts +33 -1
  69. package/auth/orm/mutation/index.js +48 -0
  70. package/auth/orm/query/index.d.ts +4 -4
  71. package/auth/orm/query/index.js +7 -7
  72. package/auth/schema-types.d.ts +477 -93
  73. package/auth/types.d.ts +43 -0
  74. package/compute/hooks/index.d.ts +1 -1
  75. package/compute/hooks/index.js +1 -1
  76. package/compute/hooks/invalidation.d.ts +29 -5
  77. package/compute/hooks/invalidation.js +73 -9
  78. package/compute/hooks/mutation-keys.d.ts +60 -12
  79. package/compute/hooks/mutation-keys.js +41 -10
  80. package/compute/hooks/mutations/index.d.ts +16 -4
  81. package/compute/hooks/mutations/index.js +16 -4
  82. package/compute/hooks/mutations/useCreatePlatformNamespaceEventMutation.d.ts +34 -0
  83. package/compute/hooks/mutations/useCreatePlatformNamespaceEventMutation.js +34 -0
  84. package/compute/hooks/mutations/useCreatePlatformNamespaceMutation.d.ts +34 -0
  85. package/compute/hooks/mutations/useCreatePlatformNamespaceMutation.js +34 -0
  86. package/compute/hooks/mutations/useCreateResourceEventMutation.d.ts +34 -0
  87. package/compute/hooks/mutations/useCreateResourceEventMutation.js +34 -0
  88. package/compute/hooks/mutations/useCreateResourceMutation.d.ts +34 -0
  89. package/compute/hooks/mutations/useCreateResourceMutation.js +34 -0
  90. package/compute/hooks/mutations/useDeletePlatformNamespaceEventMutation.d.ts +40 -0
  91. package/compute/hooks/mutations/useDeletePlatformNamespaceEventMutation.js +40 -0
  92. package/compute/hooks/mutations/useDeletePlatformNamespaceMutation.d.ts +38 -0
  93. package/compute/hooks/mutations/useDeletePlatformNamespaceMutation.js +39 -0
  94. package/compute/hooks/mutations/useDeleteResourceEventMutation.d.ts +40 -0
  95. package/compute/hooks/mutations/useDeleteResourceEventMutation.js +40 -0
  96. package/compute/hooks/mutations/useDeleteResourceMutation.d.ts +38 -0
  97. package/compute/hooks/mutations/useDeleteResourceMutation.js +39 -0
  98. package/compute/hooks/mutations/useUpdatePlatformNamespaceEventMutation.d.ts +42 -0
  99. package/compute/hooks/mutations/useUpdatePlatformNamespaceEventMutation.js +41 -0
  100. package/compute/hooks/mutations/useUpdatePlatformNamespaceMutation.d.ts +40 -0
  101. package/compute/hooks/mutations/useUpdatePlatformNamespaceMutation.js +40 -0
  102. package/compute/hooks/mutations/useUpdateResourceEventMutation.d.ts +42 -0
  103. package/compute/hooks/mutations/useUpdateResourceEventMutation.js +41 -0
  104. package/compute/hooks/mutations/useUpdateResourceMutation.d.ts +40 -0
  105. package/compute/hooks/mutations/useUpdateResourceMutation.js +40 -0
  106. package/compute/hooks/queries/index.d.ts +10 -2
  107. package/compute/hooks/queries/index.js +10 -2
  108. package/compute/hooks/queries/usePlatformNamespaceEventQuery.d.ts +65 -0
  109. package/compute/hooks/queries/usePlatformNamespaceEventQuery.js +53 -0
  110. package/compute/hooks/queries/usePlatformNamespaceEventsQuery.d.ts +69 -0
  111. package/compute/hooks/queries/usePlatformNamespaceEventsQuery.js +38 -0
  112. package/compute/hooks/queries/usePlatformNamespaceQuery.d.ts +65 -0
  113. package/compute/hooks/queries/usePlatformNamespaceQuery.js +53 -0
  114. package/compute/hooks/queries/usePlatformNamespacesQuery.d.ts +69 -0
  115. package/compute/hooks/queries/usePlatformNamespacesQuery.js +38 -0
  116. package/compute/hooks/queries/useResourceEventQuery.d.ts +65 -0
  117. package/compute/hooks/queries/useResourceEventQuery.js +53 -0
  118. package/compute/hooks/queries/useResourceEventsQuery.d.ts +69 -0
  119. package/compute/hooks/queries/useResourceEventsQuery.js +38 -0
  120. package/compute/hooks/queries/useResourceQuery.d.ts +65 -0
  121. package/compute/hooks/queries/useResourceQuery.js +53 -0
  122. package/compute/hooks/queries/useResourcesQuery.d.ts +69 -0
  123. package/compute/hooks/queries/useResourcesQuery.js +38 -0
  124. package/compute/hooks/query-keys.d.ts +68 -12
  125. package/compute/hooks/query-keys.js +40 -8
  126. package/compute/orm/index.d.ts +15 -7
  127. package/compute/orm/index.js +10 -2
  128. package/compute/orm/input-types.d.ts +1159 -221
  129. package/compute/orm/input-types.js +4 -0
  130. package/compute/orm/models/index.d.ts +5 -1
  131. package/compute/orm/models/index.js +11 -3
  132. package/compute/orm/models/platformNamespace.d.ts +54 -0
  133. package/compute/orm/models/platformNamespace.js +104 -0
  134. package/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
  135. package/compute/orm/models/platformNamespaceEvent.js +107 -0
  136. package/compute/orm/models/resource.d.ts +54 -0
  137. package/compute/orm/models/resource.js +104 -0
  138. package/compute/orm/models/resourceEvent.d.ts +56 -0
  139. package/compute/orm/models/resourceEvent.js +107 -0
  140. package/compute/orm/mutation/index.d.ts +9 -9
  141. package/compute/orm/mutation/index.js +12 -12
  142. package/compute/schema-types.d.ts +691 -107
  143. package/compute/types.d.ts +71 -12
  144. package/esm/api/orm/input-types.d.ts +144 -171
  145. package/esm/api/schema-types.d.ts +676 -678
  146. package/esm/api/types.d.ts +9 -14
  147. package/esm/auth/hooks/index.d.ts +1 -1
  148. package/esm/auth/hooks/index.js +1 -1
  149. package/esm/auth/hooks/invalidation.d.ts +24 -0
  150. package/esm/auth/hooks/invalidation.js +65 -1
  151. package/esm/auth/hooks/mutation-keys.d.ts +56 -0
  152. package/esm/auth/hooks/mutation-keys.js +43 -0
  153. package/esm/auth/hooks/mutations/index.d.ts +11 -0
  154. package/esm/auth/hooks/mutations/index.js +11 -0
  155. package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +34 -0
  156. package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +31 -0
  157. package/esm/auth/hooks/mutations/useCreateOrgApiKeyMutation.d.ts +20 -0
  158. package/esm/auth/hooks/mutations/useCreateOrgApiKeyMutation.js +23 -0
  159. package/esm/auth/hooks/mutations/useCreateOrgPrincipalMutation.d.ts +20 -0
  160. package/esm/auth/hooks/mutations/useCreateOrgPrincipalMutation.js +23 -0
  161. package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +34 -0
  162. package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +31 -0
  163. package/esm/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +34 -0
  164. package/esm/auth/hooks/mutations/useCreatePrincipalMutation.js +31 -0
  165. package/esm/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +34 -0
  166. package/esm/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js +31 -0
  167. package/esm/auth/hooks/mutations/useDeleteOrgPrincipalMutation.d.ts +20 -0
  168. package/esm/auth/hooks/mutations/useDeleteOrgPrincipalMutation.js +23 -0
  169. package/esm/auth/hooks/mutations/useDeletePrincipalEntityMutation.d.ts +38 -0
  170. package/esm/auth/hooks/mutations/useDeletePrincipalEntityMutation.js +36 -0
  171. package/esm/auth/hooks/mutations/useDeletePrincipalMutation.d.ts +38 -0
  172. package/esm/auth/hooks/mutations/useDeletePrincipalMutation.js +36 -0
  173. package/esm/auth/hooks/mutations/useRevokeOrgApiKeyMutation.d.ts +20 -0
  174. package/esm/auth/hooks/mutations/useRevokeOrgApiKeyMutation.js +23 -0
  175. package/esm/auth/hooks/mutations/useUpdatePrincipalEntityMutation.d.ts +40 -0
  176. package/esm/auth/hooks/mutations/useUpdatePrincipalEntityMutation.js +37 -0
  177. package/esm/auth/hooks/queries/index.d.ts +9 -1
  178. package/esm/auth/hooks/queries/index.js +9 -1
  179. package/esm/auth/hooks/queries/useOrgApiKeyListQuery.d.ts +65 -0
  180. package/esm/auth/hooks/queries/useOrgApiKeyListQuery.js +47 -0
  181. package/esm/auth/hooks/queries/useOrgApiKeyListsQuery.d.ts +69 -0
  182. package/esm/auth/hooks/queries/useOrgApiKeyListsQuery.js +32 -0
  183. package/esm/auth/hooks/queries/usePrincipalEntitiesQuery.d.ts +69 -0
  184. package/esm/auth/hooks/queries/usePrincipalEntitiesQuery.js +32 -0
  185. package/esm/auth/hooks/queries/usePrincipalEntityQuery.d.ts +65 -0
  186. package/esm/auth/hooks/queries/usePrincipalEntityQuery.js +47 -0
  187. package/esm/auth/hooks/queries/usePrincipalQuery.d.ts +65 -0
  188. package/esm/auth/hooks/queries/usePrincipalQuery.js +47 -0
  189. package/esm/auth/hooks/queries/usePrincipalScopeOverrideQuery.d.ts +65 -0
  190. package/esm/auth/hooks/queries/usePrincipalScopeOverrideQuery.js +47 -0
  191. package/esm/auth/hooks/queries/usePrincipalScopeOverridesQuery.d.ts +69 -0
  192. package/esm/auth/hooks/queries/usePrincipalScopeOverridesQuery.js +32 -0
  193. package/esm/auth/hooks/queries/usePrincipalsQuery.d.ts +69 -0
  194. package/esm/auth/hooks/queries/usePrincipalsQuery.js +32 -0
  195. package/esm/auth/hooks/query-keys.d.ts +58 -2
  196. package/esm/auth/hooks/query-keys.js +33 -1
  197. package/esm/auth/orm/index.d.ts +32 -4
  198. package/esm/auth/orm/index.js +8 -0
  199. package/esm/auth/orm/input-types.d.ts +915 -145
  200. package/esm/auth/orm/input-types.js +7 -0
  201. package/esm/auth/orm/models/index.d.ts +4 -0
  202. package/esm/auth/orm/models/index.js +4 -0
  203. package/esm/auth/orm/models/orgApiKeyList.d.ts +36 -0
  204. package/esm/auth/orm/models/orgApiKeyList.js +76 -0
  205. package/esm/auth/orm/models/principal.d.ts +45 -0
  206. package/esm/auth/orm/models/principal.js +89 -0
  207. package/esm/auth/orm/models/principalEntity.d.ts +54 -0
  208. package/esm/auth/orm/models/principalEntity.js +100 -0
  209. package/esm/auth/orm/models/principalScopeOverride.d.ts +36 -0
  210. package/esm/auth/orm/models/principalScopeOverride.js +76 -0
  211. package/esm/auth/orm/mutation/index.d.ts +33 -1
  212. package/esm/auth/orm/mutation/index.js +48 -0
  213. package/esm/auth/orm/query/index.d.ts +4 -4
  214. package/esm/auth/orm/query/index.js +7 -7
  215. package/esm/auth/schema-types.d.ts +477 -93
  216. package/esm/auth/types.d.ts +43 -0
  217. package/esm/compute/hooks/index.d.ts +1 -1
  218. package/esm/compute/hooks/index.js +1 -1
  219. package/esm/compute/hooks/invalidation.d.ts +29 -5
  220. package/esm/compute/hooks/invalidation.js +74 -10
  221. package/esm/compute/hooks/mutation-keys.d.ts +60 -12
  222. package/esm/compute/hooks/mutation-keys.js +40 -9
  223. package/esm/compute/hooks/mutations/index.d.ts +16 -4
  224. package/esm/compute/hooks/mutations/index.js +16 -4
  225. package/esm/compute/hooks/mutations/useCreatePlatformNamespaceEventMutation.d.ts +34 -0
  226. package/esm/compute/hooks/mutations/useCreatePlatformNamespaceEventMutation.js +31 -0
  227. package/esm/compute/hooks/mutations/useCreatePlatformNamespaceMutation.d.ts +34 -0
  228. package/esm/compute/hooks/mutations/useCreatePlatformNamespaceMutation.js +31 -0
  229. package/esm/compute/hooks/mutations/useCreateResourceEventMutation.d.ts +34 -0
  230. package/esm/compute/hooks/mutations/useCreateResourceEventMutation.js +31 -0
  231. package/esm/compute/hooks/mutations/useCreateResourceMutation.d.ts +34 -0
  232. package/esm/compute/hooks/mutations/useCreateResourceMutation.js +31 -0
  233. package/esm/compute/hooks/mutations/useDeletePlatformNamespaceEventMutation.d.ts +40 -0
  234. package/esm/compute/hooks/mutations/useDeletePlatformNamespaceEventMutation.js +37 -0
  235. package/esm/compute/hooks/mutations/useDeletePlatformNamespaceMutation.d.ts +38 -0
  236. package/esm/compute/hooks/mutations/useDeletePlatformNamespaceMutation.js +36 -0
  237. package/esm/compute/hooks/mutations/useDeleteResourceEventMutation.d.ts +40 -0
  238. package/esm/compute/hooks/mutations/useDeleteResourceEventMutation.js +37 -0
  239. package/esm/compute/hooks/mutations/useDeleteResourceMutation.d.ts +38 -0
  240. package/esm/compute/hooks/mutations/useDeleteResourceMutation.js +36 -0
  241. package/esm/compute/hooks/mutations/useUpdatePlatformNamespaceEventMutation.d.ts +42 -0
  242. package/esm/compute/hooks/mutations/useUpdatePlatformNamespaceEventMutation.js +38 -0
  243. package/esm/compute/hooks/mutations/useUpdatePlatformNamespaceMutation.d.ts +40 -0
  244. package/esm/compute/hooks/mutations/useUpdatePlatformNamespaceMutation.js +37 -0
  245. package/esm/compute/hooks/mutations/useUpdateResourceEventMutation.d.ts +42 -0
  246. package/esm/compute/hooks/mutations/useUpdateResourceEventMutation.js +38 -0
  247. package/esm/compute/hooks/mutations/useUpdateResourceMutation.d.ts +40 -0
  248. package/esm/compute/hooks/mutations/useUpdateResourceMutation.js +37 -0
  249. package/esm/compute/hooks/queries/index.d.ts +10 -2
  250. package/esm/compute/hooks/queries/index.js +10 -2
  251. package/esm/compute/hooks/queries/usePlatformNamespaceEventQuery.d.ts +65 -0
  252. package/esm/compute/hooks/queries/usePlatformNamespaceEventQuery.js +47 -0
  253. package/esm/compute/hooks/queries/usePlatformNamespaceEventsQuery.d.ts +69 -0
  254. package/esm/compute/hooks/queries/usePlatformNamespaceEventsQuery.js +32 -0
  255. package/esm/compute/hooks/queries/usePlatformNamespaceQuery.d.ts +65 -0
  256. package/esm/compute/hooks/queries/usePlatformNamespaceQuery.js +47 -0
  257. package/esm/compute/hooks/queries/usePlatformNamespacesQuery.d.ts +69 -0
  258. package/esm/compute/hooks/queries/usePlatformNamespacesQuery.js +32 -0
  259. package/esm/compute/hooks/queries/useResourceEventQuery.d.ts +65 -0
  260. package/esm/compute/hooks/queries/useResourceEventQuery.js +47 -0
  261. package/esm/compute/hooks/queries/useResourceEventsQuery.d.ts +69 -0
  262. package/esm/compute/hooks/queries/useResourceEventsQuery.js +32 -0
  263. package/esm/compute/hooks/queries/useResourceQuery.d.ts +65 -0
  264. package/esm/compute/hooks/queries/useResourceQuery.js +47 -0
  265. package/esm/compute/hooks/queries/useResourcesQuery.d.ts +69 -0
  266. package/esm/compute/hooks/queries/useResourcesQuery.js +32 -0
  267. package/esm/compute/hooks/query-keys.d.ts +68 -12
  268. package/esm/compute/hooks/query-keys.js +39 -7
  269. package/esm/compute/orm/index.d.ts +15 -7
  270. package/esm/compute/orm/index.js +10 -2
  271. package/esm/compute/orm/input-types.d.ts +1159 -221
  272. package/esm/compute/orm/input-types.js +4 -0
  273. package/esm/compute/orm/models/index.d.ts +5 -1
  274. package/esm/compute/orm/models/index.js +5 -1
  275. package/esm/compute/orm/models/platformNamespace.d.ts +54 -0
  276. package/esm/compute/orm/models/platformNamespace.js +100 -0
  277. package/esm/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
  278. package/esm/compute/orm/models/platformNamespaceEvent.js +103 -0
  279. package/esm/compute/orm/models/resource.d.ts +54 -0
  280. package/esm/compute/orm/models/resource.js +100 -0
  281. package/esm/compute/orm/models/resourceEvent.d.ts +56 -0
  282. package/esm/compute/orm/models/resourceEvent.js +103 -0
  283. package/esm/compute/orm/mutation/index.d.ts +9 -9
  284. package/esm/compute/orm/mutation/index.js +12 -12
  285. package/esm/compute/schema-types.d.ts +691 -107
  286. package/esm/compute/types.d.ts +71 -12
  287. package/esm/modules/hooks/index.d.ts +1 -1
  288. package/esm/modules/hooks/index.js +1 -1
  289. package/esm/modules/hooks/invalidation.d.ts +24 -12
  290. package/esm/modules/hooks/invalidation.js +63 -31
  291. package/esm/modules/hooks/mutation-keys.d.ts +48 -24
  292. package/esm/modules/hooks/mutation-keys.js +28 -14
  293. package/esm/modules/hooks/mutations/index.d.ts +12 -6
  294. package/esm/modules/hooks/mutations/index.js +12 -6
  295. package/esm/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.d.ts +34 -0
  296. package/esm/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.js +31 -0
  297. package/esm/modules/hooks/mutations/useCreateResourceModuleMutation.d.ts +34 -0
  298. package/esm/modules/hooks/mutations/useCreateResourceModuleMutation.js +31 -0
  299. package/esm/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.d.ts +38 -0
  300. package/esm/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.js +36 -0
  301. package/esm/modules/hooks/mutations/useDeleteResourceModuleMutation.d.ts +38 -0
  302. package/esm/modules/hooks/mutations/useDeleteResourceModuleMutation.js +36 -0
  303. package/esm/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.d.ts +40 -0
  304. package/esm/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.js +37 -0
  305. package/esm/modules/hooks/mutations/useUpdateResourceModuleMutation.d.ts +40 -0
  306. package/esm/modules/hooks/mutations/useUpdateResourceModuleMutation.js +37 -0
  307. package/esm/modules/hooks/queries/index.d.ts +8 -4
  308. package/esm/modules/hooks/queries/index.js +8 -4
  309. package/esm/modules/hooks/queries/usePrincipalAuthModuleQuery.d.ts +65 -0
  310. package/esm/modules/hooks/queries/usePrincipalAuthModuleQuery.js +47 -0
  311. package/esm/modules/hooks/queries/usePrincipalAuthModulesQuery.d.ts +69 -0
  312. package/esm/modules/hooks/queries/usePrincipalAuthModulesQuery.js +32 -0
  313. package/esm/modules/hooks/queries/useResourceModuleQuery.d.ts +65 -0
  314. package/esm/modules/hooks/queries/useResourceModuleQuery.js +47 -0
  315. package/esm/modules/hooks/queries/useResourceModulesQuery.d.ts +69 -0
  316. package/esm/modules/hooks/queries/useResourceModulesQuery.js +32 -0
  317. package/esm/modules/hooks/query-keys.d.ts +56 -28
  318. package/esm/modules/hooks/query-keys.js +32 -16
  319. package/esm/modules/orm/index.d.ts +8 -4
  320. package/esm/modules/orm/index.js +8 -4
  321. package/esm/modules/orm/input-types.d.ts +868 -411
  322. package/esm/modules/orm/models/index.d.ts +4 -2
  323. package/esm/modules/orm/models/index.js +4 -2
  324. package/esm/modules/orm/models/principalAuthModule.d.ts +54 -0
  325. package/esm/modules/orm/models/principalAuthModule.js +100 -0
  326. package/esm/modules/orm/models/resourceModule.d.ts +54 -0
  327. package/esm/modules/orm/models/resourceModule.js +100 -0
  328. package/esm/modules/schema-types.d.ts +451 -169
  329. package/esm/modules/types.d.ts +75 -33
  330. package/modules/hooks/index.d.ts +1 -1
  331. package/modules/hooks/index.js +1 -1
  332. package/modules/hooks/invalidation.d.ts +24 -12
  333. package/modules/hooks/invalidation.js +62 -30
  334. package/modules/hooks/mutation-keys.d.ts +48 -24
  335. package/modules/hooks/mutation-keys.js +30 -16
  336. package/modules/hooks/mutations/index.d.ts +12 -6
  337. package/modules/hooks/mutations/index.js +12 -6
  338. package/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.d.ts +34 -0
  339. package/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.js +34 -0
  340. package/modules/hooks/mutations/useCreateResourceModuleMutation.d.ts +34 -0
  341. package/modules/hooks/mutations/useCreateResourceModuleMutation.js +34 -0
  342. package/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.d.ts +38 -0
  343. package/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.js +39 -0
  344. package/modules/hooks/mutations/useDeleteResourceModuleMutation.d.ts +38 -0
  345. package/modules/hooks/mutations/useDeleteResourceModuleMutation.js +39 -0
  346. package/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.d.ts +40 -0
  347. package/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.js +40 -0
  348. package/modules/hooks/mutations/useUpdateResourceModuleMutation.d.ts +40 -0
  349. package/modules/hooks/mutations/useUpdateResourceModuleMutation.js +40 -0
  350. package/modules/hooks/queries/index.d.ts +8 -4
  351. package/modules/hooks/queries/index.js +8 -4
  352. package/modules/hooks/queries/usePrincipalAuthModuleQuery.d.ts +65 -0
  353. package/modules/hooks/queries/usePrincipalAuthModuleQuery.js +53 -0
  354. package/modules/hooks/queries/usePrincipalAuthModulesQuery.d.ts +69 -0
  355. package/modules/hooks/queries/usePrincipalAuthModulesQuery.js +38 -0
  356. package/modules/hooks/queries/useResourceModuleQuery.d.ts +65 -0
  357. package/modules/hooks/queries/useResourceModuleQuery.js +53 -0
  358. package/modules/hooks/queries/useResourceModulesQuery.d.ts +69 -0
  359. package/modules/hooks/queries/useResourceModulesQuery.js +38 -0
  360. package/modules/hooks/query-keys.d.ts +56 -28
  361. package/modules/hooks/query-keys.js +34 -18
  362. package/modules/orm/index.d.ts +8 -4
  363. package/modules/orm/index.js +8 -4
  364. package/modules/orm/input-types.d.ts +868 -411
  365. package/modules/orm/models/index.d.ts +4 -2
  366. package/modules/orm/models/index.js +10 -6
  367. package/modules/orm/models/principalAuthModule.d.ts +54 -0
  368. package/modules/orm/models/principalAuthModule.js +104 -0
  369. package/modules/orm/models/resourceModule.d.ts +54 -0
  370. package/modules/orm/models/resourceModule.js +104 -0
  371. package/modules/schema-types.d.ts +451 -169
  372. package/modules/types.d.ts +75 -33
  373. package/package.json +5 -5
@@ -289,6 +289,38 @@ export interface FunctionDeployment {
289
289
  /** Database that owns this resource (database-scoped isolation) */
290
290
  databaseId?: string | null;
291
291
  }
292
+ /** Unified K8s resource declarations — stores desired state (spec) and observed state (status) for all resource kinds within a namespace */
293
+ export interface Resource {
294
+ id: string;
295
+ createdAt?: string | null;
296
+ updatedAt?: string | null;
297
+ createdBy?: string | null;
298
+ updatedBy?: string | null;
299
+ /** Namespace this resource belongs to (security boundary, maps to K8s namespace) */
300
+ namespaceId?: string | null;
301
+ /** Resource kind: Deployment, StatefulSet, Service, Ingress, Certificate */
302
+ kind?: string | null;
303
+ /** Human-readable resource name */
304
+ name?: string | null;
305
+ /** URL-safe identifier, unique within (namespace_id, kind) */
306
+ slug?: string | null;
307
+ /** Desired state — kind-specific configuration (image, ports, resources, etc.). Opaque to DB; validated by K8s. */
308
+ spec?: Record<string, unknown> | null;
309
+ /** Resource lifecycle status: pending, provisioning, active, failed, draining, deleting */
310
+ status?: string | null;
311
+ /** Observed state from K8s — populated by handlers after reconciliation (service_url, clone_url, replicas, etc.) */
312
+ statusObserved?: Record<string, unknown> | null;
313
+ /** Most recent provisioning or runtime error message */
314
+ lastError?: string | null;
315
+ /** Cumulative error count for this resource */
316
+ errorCount?: number | null;
317
+ /** Key/value pairs for selecting and filtering resources */
318
+ labels?: Record<string, unknown> | null;
319
+ /** Freeform metadata for tooling and operational notes */
320
+ annotations?: Record<string, unknown> | null;
321
+ /** Database that owns this resource (database-scoped isolation) */
322
+ databaseId?: string | null;
323
+ }
292
324
  /** Branch heads — mutable pointers into the commit chain */
293
325
  export interface FunctionGraphRef {
294
326
  /** Unique ref identifier */
@@ -368,6 +400,25 @@ export interface OrgFunctionExecutionLog {
368
400
  /** User who triggered the execution (NULL for system/cron) */
369
401
  actorId?: string | null;
370
402
  }
403
+ /** Resource lifecycle events — audit log of provisioning, updates, and failure events */
404
+ export interface ResourceEvent {
405
+ /** Event timestamp (partition key) */
406
+ createdAt?: string | null;
407
+ /** Unique event identifier */
408
+ id: string;
409
+ /** Resource this event belongs to */
410
+ resourceId?: string | null;
411
+ /** Event type: provisioned, provisioning, updated, failed, deprovisioned, health_check */
412
+ eventType?: string | null;
413
+ /** User who triggered this event (NULL for system/automated) */
414
+ actorId?: string | null;
415
+ /** Human-readable description of the event */
416
+ message?: string | null;
417
+ /** Structured context (old/new values, error details, etc.) */
418
+ metadata?: Record<string, unknown> | null;
419
+ /** Database that owns this resource (database-scoped isolation) */
420
+ databaseId?: string | null;
421
+ }
371
422
  /** Content-addressed store for execution outputs — hash-referenced from node_outputs */
372
423
  export interface FunctionGraphExecutionOutput {
373
424
  /** Timestamp of output creation */
@@ -441,6 +492,33 @@ export interface FunctionExecutionLog {
441
492
  /** Database that owns this resource (database-scoped isolation) */
442
493
  databaseId?: string | null;
443
494
  }
495
+ /** Flow graph definitions — FBP graphs stored in the dedicated graph Merkle store */
496
+ export interface FunctionGraph {
497
+ /** Unique graph identifier */
498
+ id: string;
499
+ /** Database scope for multi-tenant isolation */
500
+ databaseId?: string | null;
501
+ /** Graph store (Merkle store) holding the graph definition */
502
+ storeId?: string | null;
503
+ /** Evaluator/runtime context (function, js, sql, system) */
504
+ context?: string | null;
505
+ /** Graph name (unique per database) */
506
+ name?: string | null;
507
+ /** Human-readable description of the graph */
508
+ description?: string | null;
509
+ /** Pinned definitions store commit for deterministic evaluation */
510
+ definitionsCommitId?: string | null;
511
+ /** Whether graph passes structural validation */
512
+ isValid?: boolean | null;
513
+ /** Array of validation error objects when is_valid = false */
514
+ validationErrors?: Record<string, unknown> | null;
515
+ /** Actor who created this graph */
516
+ createdBy?: string | null;
517
+ /** Timestamp of graph creation */
518
+ createdAt?: string | null;
519
+ /** Timestamp of last modification */
520
+ updatedAt?: string | null;
521
+ }
444
522
  /** Per-node execution state — tracks individual node lifecycle for debugging */
445
523
  export interface FunctionGraphExecutionNodeState {
446
524
  /** Timestamp of node state creation (partition key) */
@@ -468,34 +546,31 @@ export interface FunctionGraphExecutionNodeState {
468
546
  /** FK to execution_outputs — content-addressed output blob for this node */
469
547
  outputId?: string | null;
470
548
  }
471
- /** Flow graph definitions FBP graphs stored in the dedicated graph Merkle store */
472
- export interface FunctionGraph {
473
- /** Unique graph identifier */
549
+ /** Logical namespace containers for grouping secrets, config, functions, and other resources */
550
+ export interface PlatformNamespace {
474
551
  id: string;
475
- /** Database scope for multi-tenant isolation */
476
- databaseId?: string | null;
477
- /** Graph store (Merkle store) holding the graph definition */
478
- storeId?: string | null;
479
- /** Entity context (org/team) for scoped billing */
480
- entityId?: string | null;
481
- /** Evaluator/runtime context (function, js, sql, system) */
482
- context?: string | null;
483
- /** Graph name (unique per database) */
484
- name?: string | null;
485
- /** Human-readable description of the graph */
486
- description?: string | null;
487
- /** Pinned definitions store commit for deterministic evaluation */
488
- definitionsCommitId?: string | null;
489
- /** Whether graph passes structural validation */
490
- isValid?: boolean | null;
491
- /** Array of validation error objects when is_valid = false */
492
- validationErrors?: Record<string, unknown> | null;
493
- /** Actor who created this graph */
494
- createdBy?: string | null;
495
- /** Timestamp of graph creation */
496
552
  createdAt?: string | null;
497
- /** Timestamp of last modification */
498
553
  updatedAt?: string | null;
554
+ /** Human-readable namespace name (e.g. default, production, oauth) */
555
+ name?: string | null;
556
+ /** Globally unique computed namespace identifier via inflection.underscore */
557
+ namespaceName?: string | null;
558
+ /** Optional human-readable description of this namespace */
559
+ description?: string | null;
560
+ /** Whether this namespace is active (soft-disable for filtering) */
561
+ isActive?: boolean | null;
562
+ /** Key/value pairs for selecting and filtering namespaces */
563
+ labels?: Record<string, unknown> | null;
564
+ /** Freeform metadata for tooling and operational notes */
565
+ annotations?: Record<string, unknown> | null;
566
+ /** Database that owns this resource (database-scoped isolation) */
567
+ databaseId?: string | null;
568
+ /** Database that created this namespace (NULL for platform-native namespaces) */
569
+ sourceDatabaseId?: string | null;
570
+ /** Origin scope: platform, org, app — indicates where this namespace was created */
571
+ sourceScope?: string | null;
572
+ /** true = created by a child scope mirror trigger, false = platform-native */
573
+ isManaged?: boolean | null;
499
574
  }
500
575
  /** Function invocation log — INSERT to call a function (business-layer, metered). Linked to definitions by task_identifier string. */
501
576
  export interface OrgFunctionInvocation {
@@ -561,6 +636,39 @@ export interface FunctionInvocation {
561
636
  /** Groups all node invocations from a single flow graph execution */
562
637
  graphExecutionId?: string | null;
563
638
  }
639
+ /** Namespace lifecycle events — audit log of creation, activation, deactivation, label changes */
640
+ export interface PlatformNamespaceEvent {
641
+ /** Event timestamp (partition key) */
642
+ createdAt?: string | null;
643
+ /** Unique event identifier */
644
+ id: string;
645
+ /** Namespace this event belongs to */
646
+ namespaceId?: string | null;
647
+ /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
648
+ eventType?: string | null;
649
+ /** User who triggered this event (NULL for system/automated) */
650
+ actorId?: string | null;
651
+ /** Human-readable description of the event */
652
+ message?: string | null;
653
+ /** Structured context (old/new values, labels diff, etc.) */
654
+ metadata?: Record<string, unknown> | null;
655
+ /** CPU usage in millicores at time of event */
656
+ cpuMillicores?: number | null;
657
+ /** Memory usage in bytes at time of event */
658
+ memoryBytes?: string | null;
659
+ /** Storage usage in bytes at time of event */
660
+ storageBytes?: string | null;
661
+ /** Network ingress in bytes during event window */
662
+ networkIngressBytes?: string | null;
663
+ /** Network egress in bytes during event window */
664
+ networkEgressBytes?: string | null;
665
+ /** Number of active pods in the namespace at time of event */
666
+ podCount?: number | null;
667
+ /** Additional resource metrics (gpu, replicas, quotas, etc.) */
668
+ metrics?: Record<string, unknown> | null;
669
+ /** Database that owns this resource (database-scoped isolation) */
670
+ databaseId?: string | null;
671
+ }
564
672
  /** Ephemeral execution state for flow graph evaluation */
565
673
  export interface FunctionGraphExecution {
566
674
  /** Execution start timestamp */
@@ -573,8 +681,6 @@ export interface FunctionGraphExecution {
573
681
  invocationId?: string | null;
574
682
  /** Scope for multi-tenant isolation */
575
683
  databaseId?: string | null;
576
- /** Entity context (org/team) for scoped billing */
577
- entityId?: string | null;
578
684
  /** Target output boundary node name to resolve */
579
685
  outputNode?: string | null;
580
686
  /** Target output port name (default: value) */
@@ -688,6 +794,10 @@ export interface FunctionApiBindingRelations {
688
794
  }
689
795
  export interface FunctionDeploymentRelations {
690
796
  functionDefinition?: FunctionDefinition | null;
797
+ namespace?: PlatformNamespace | null;
798
+ }
799
+ export interface ResourceRelations {
800
+ namespace?: PlatformNamespace | null;
691
801
  }
692
802
  export interface FunctionGraphRefRelations {
693
803
  }
@@ -699,6 +809,8 @@ export interface FunctionDeploymentEventRelations {
699
809
  }
700
810
  export interface OrgFunctionExecutionLogRelations {
701
811
  }
812
+ export interface ResourceEventRelations {
813
+ }
702
814
  export interface FunctionGraphExecutionOutputRelations {
703
815
  }
704
816
  export interface FunctionGraphCommitRelations {
@@ -707,14 +819,20 @@ export interface SecretDefinitionRelations {
707
819
  }
708
820
  export interface FunctionExecutionLogRelations {
709
821
  }
822
+ export interface FunctionGraphRelations {
823
+ }
710
824
  export interface FunctionGraphExecutionNodeStateRelations {
711
825
  }
712
- export interface FunctionGraphRelations {
826
+ export interface PlatformNamespaceRelations {
827
+ functionDeploymentsByNamespaceId?: ConnectionResult<FunctionDeployment>;
828
+ resourcesByNamespaceId?: ConnectionResult<Resource>;
713
829
  }
714
830
  export interface OrgFunctionInvocationRelations {
715
831
  }
716
832
  export interface FunctionInvocationRelations {
717
833
  }
834
+ export interface PlatformNamespaceEventRelations {
835
+ }
718
836
  export interface FunctionGraphExecutionRelations {
719
837
  graph?: FunctionGraph | null;
720
838
  }
@@ -725,19 +843,23 @@ export interface FunctionDefinitionRelations {
725
843
  export type GetAllRecordWithRelations = GetAllRecord & GetAllRecordRelations;
726
844
  export type FunctionApiBindingWithRelations = FunctionApiBinding & FunctionApiBindingRelations;
727
845
  export type FunctionDeploymentWithRelations = FunctionDeployment & FunctionDeploymentRelations;
846
+ export type ResourceWithRelations = Resource & ResourceRelations;
728
847
  export type FunctionGraphRefWithRelations = FunctionGraphRef & FunctionGraphRefRelations;
729
848
  export type FunctionGraphStoreWithRelations = FunctionGraphStore & FunctionGraphStoreRelations;
730
849
  export type FunctionGraphObjectWithRelations = FunctionGraphObject & FunctionGraphObjectRelations;
731
850
  export type FunctionDeploymentEventWithRelations = FunctionDeploymentEvent & FunctionDeploymentEventRelations;
732
851
  export type OrgFunctionExecutionLogWithRelations = OrgFunctionExecutionLog & OrgFunctionExecutionLogRelations;
852
+ export type ResourceEventWithRelations = ResourceEvent & ResourceEventRelations;
733
853
  export type FunctionGraphExecutionOutputWithRelations = FunctionGraphExecutionOutput & FunctionGraphExecutionOutputRelations;
734
854
  export type FunctionGraphCommitWithRelations = FunctionGraphCommit & FunctionGraphCommitRelations;
735
855
  export type SecretDefinitionWithRelations = SecretDefinition & SecretDefinitionRelations;
736
856
  export type FunctionExecutionLogWithRelations = FunctionExecutionLog & FunctionExecutionLogRelations;
737
- export type FunctionGraphExecutionNodeStateWithRelations = FunctionGraphExecutionNodeState & FunctionGraphExecutionNodeStateRelations;
738
857
  export type FunctionGraphWithRelations = FunctionGraph & FunctionGraphRelations;
858
+ export type FunctionGraphExecutionNodeStateWithRelations = FunctionGraphExecutionNodeState & FunctionGraphExecutionNodeStateRelations;
859
+ export type PlatformNamespaceWithRelations = PlatformNamespace & PlatformNamespaceRelations;
739
860
  export type OrgFunctionInvocationWithRelations = OrgFunctionInvocation & OrgFunctionInvocationRelations;
740
861
  export type FunctionInvocationWithRelations = FunctionInvocation & FunctionInvocationRelations;
862
+ export type PlatformNamespaceEventWithRelations = PlatformNamespaceEvent & PlatformNamespaceEventRelations;
741
863
  export type FunctionGraphExecutionWithRelations = FunctionGraphExecution & FunctionGraphExecutionRelations;
742
864
  export type FunctionDefinitionWithRelations = FunctionDefinition & FunctionDefinitionRelations;
743
865
  export type GetAllRecordSelect = {
@@ -779,6 +901,31 @@ export type FunctionDeploymentSelect = {
779
901
  functionDefinition?: {
780
902
  select: FunctionDefinitionSelect;
781
903
  };
904
+ namespace?: {
905
+ select: PlatformNamespaceSelect;
906
+ };
907
+ };
908
+ export type ResourceSelect = {
909
+ id?: boolean;
910
+ createdAt?: boolean;
911
+ updatedAt?: boolean;
912
+ createdBy?: boolean;
913
+ updatedBy?: boolean;
914
+ namespaceId?: boolean;
915
+ kind?: boolean;
916
+ name?: boolean;
917
+ slug?: boolean;
918
+ spec?: boolean;
919
+ status?: boolean;
920
+ statusObserved?: boolean;
921
+ lastError?: boolean;
922
+ errorCount?: boolean;
923
+ labels?: boolean;
924
+ annotations?: boolean;
925
+ databaseId?: boolean;
926
+ namespace?: {
927
+ select: PlatformNamespaceSelect;
928
+ };
782
929
  };
783
930
  export type FunctionGraphRefSelect = {
784
931
  id?: boolean;
@@ -822,6 +969,16 @@ export type OrgFunctionExecutionLogSelect = {
822
969
  metadata?: boolean;
823
970
  actorId?: boolean;
824
971
  };
972
+ export type ResourceEventSelect = {
973
+ createdAt?: boolean;
974
+ id?: boolean;
975
+ resourceId?: boolean;
976
+ eventType?: boolean;
977
+ actorId?: boolean;
978
+ message?: boolean;
979
+ metadata?: boolean;
980
+ databaseId?: boolean;
981
+ };
825
982
  export type FunctionGraphExecutionOutputSelect = {
826
983
  createdAt?: boolean;
827
984
  id?: boolean;
@@ -862,6 +1019,20 @@ export type FunctionExecutionLogSelect = {
862
1019
  actorId?: boolean;
863
1020
  databaseId?: boolean;
864
1021
  };
1022
+ export type FunctionGraphSelect = {
1023
+ id?: boolean;
1024
+ databaseId?: boolean;
1025
+ storeId?: boolean;
1026
+ context?: boolean;
1027
+ name?: boolean;
1028
+ description?: boolean;
1029
+ definitionsCommitId?: boolean;
1030
+ isValid?: boolean;
1031
+ validationErrors?: boolean;
1032
+ createdBy?: boolean;
1033
+ createdAt?: boolean;
1034
+ updatedAt?: boolean;
1035
+ };
865
1036
  export type FunctionGraphExecutionNodeStateSelect = {
866
1037
  createdAt?: boolean;
867
1038
  id?: boolean;
@@ -876,20 +1047,32 @@ export type FunctionGraphExecutionNodeStateSelect = {
876
1047
  errorMessage?: boolean;
877
1048
  outputId?: boolean;
878
1049
  };
879
- export type FunctionGraphSelect = {
1050
+ export type PlatformNamespaceSelect = {
880
1051
  id?: boolean;
881
- databaseId?: boolean;
882
- storeId?: boolean;
883
- entityId?: boolean;
884
- context?: boolean;
885
- name?: boolean;
886
- description?: boolean;
887
- definitionsCommitId?: boolean;
888
- isValid?: boolean;
889
- validationErrors?: boolean;
890
- createdBy?: boolean;
891
1052
  createdAt?: boolean;
892
1053
  updatedAt?: boolean;
1054
+ name?: boolean;
1055
+ namespaceName?: boolean;
1056
+ description?: boolean;
1057
+ isActive?: boolean;
1058
+ labels?: boolean;
1059
+ annotations?: boolean;
1060
+ databaseId?: boolean;
1061
+ sourceDatabaseId?: boolean;
1062
+ sourceScope?: boolean;
1063
+ isManaged?: boolean;
1064
+ functionDeploymentsByNamespaceId?: {
1065
+ select: FunctionDeploymentSelect;
1066
+ first?: number;
1067
+ filter?: FunctionDeploymentFilter;
1068
+ orderBy?: FunctionDeploymentOrderBy[];
1069
+ };
1070
+ resourcesByNamespaceId?: {
1071
+ select: ResourceSelect;
1072
+ first?: number;
1073
+ filter?: ResourceFilter;
1074
+ orderBy?: ResourceOrderBy[];
1075
+ };
893
1076
  };
894
1077
  export type OrgFunctionInvocationSelect = {
895
1078
  createdAt?: boolean;
@@ -924,13 +1107,29 @@ export type FunctionInvocationSelect = {
924
1107
  parentInvocationId?: boolean;
925
1108
  graphExecutionId?: boolean;
926
1109
  };
1110
+ export type PlatformNamespaceEventSelect = {
1111
+ createdAt?: boolean;
1112
+ id?: boolean;
1113
+ namespaceId?: boolean;
1114
+ eventType?: boolean;
1115
+ actorId?: boolean;
1116
+ message?: boolean;
1117
+ metadata?: boolean;
1118
+ cpuMillicores?: boolean;
1119
+ memoryBytes?: boolean;
1120
+ storageBytes?: boolean;
1121
+ networkIngressBytes?: boolean;
1122
+ networkEgressBytes?: boolean;
1123
+ podCount?: boolean;
1124
+ metrics?: boolean;
1125
+ databaseId?: boolean;
1126
+ };
927
1127
  export type FunctionGraphExecutionSelect = {
928
1128
  startedAt?: boolean;
929
1129
  id?: boolean;
930
1130
  graphId?: boolean;
931
1131
  invocationId?: boolean;
932
1132
  databaseId?: boolean;
933
- entityId?: boolean;
934
1133
  outputNode?: boolean;
935
1134
  outputPort?: boolean;
936
1135
  status?: boolean;
@@ -1074,6 +1273,52 @@ export interface FunctionDeploymentFilter {
1074
1273
  not?: FunctionDeploymentFilter;
1075
1274
  /** Filter by the object’s `functionDefinition` relation. */
1076
1275
  functionDefinition?: FunctionDefinitionFilter;
1276
+ /** Filter by the object’s `namespace` relation. */
1277
+ namespace?: PlatformNamespaceFilter;
1278
+ }
1279
+ export interface ResourceFilter {
1280
+ /** Filter by the object’s `id` field. */
1281
+ id?: UUIDFilter;
1282
+ /** Filter by the object’s `createdAt` field. */
1283
+ createdAt?: DatetimeFilter;
1284
+ /** Filter by the object’s `updatedAt` field. */
1285
+ updatedAt?: DatetimeFilter;
1286
+ /** Filter by the object’s `createdBy` field. */
1287
+ createdBy?: UUIDFilter;
1288
+ /** Filter by the object’s `updatedBy` field. */
1289
+ updatedBy?: UUIDFilter;
1290
+ /** Filter by the object’s `namespaceId` field. */
1291
+ namespaceId?: UUIDFilter;
1292
+ /** Filter by the object’s `kind` field. */
1293
+ kind?: StringFilter;
1294
+ /** Filter by the object’s `name` field. */
1295
+ name?: StringFilter;
1296
+ /** Filter by the object’s `slug` field. */
1297
+ slug?: StringFilter;
1298
+ /** Filter by the object’s `spec` field. */
1299
+ spec?: JSONFilter;
1300
+ /** Filter by the object’s `status` field. */
1301
+ status?: StringFilter;
1302
+ /** Filter by the object’s `statusObserved` field. */
1303
+ statusObserved?: JSONFilter;
1304
+ /** Filter by the object’s `lastError` field. */
1305
+ lastError?: StringFilter;
1306
+ /** Filter by the object’s `errorCount` field. */
1307
+ errorCount?: IntFilter;
1308
+ /** Filter by the object’s `labels` field. */
1309
+ labels?: JSONFilter;
1310
+ /** Filter by the object’s `annotations` field. */
1311
+ annotations?: JSONFilter;
1312
+ /** Filter by the object’s `databaseId` field. */
1313
+ databaseId?: UUIDFilter;
1314
+ /** Checks for all expressions in this list. */
1315
+ and?: ResourceFilter[];
1316
+ /** Checks for any expressions in this list. */
1317
+ or?: ResourceFilter[];
1318
+ /** Negates the expression. */
1319
+ not?: ResourceFilter;
1320
+ /** Filter by the object’s `namespace` relation. */
1321
+ namespace?: PlatformNamespaceFilter;
1077
1322
  }
1078
1323
  export interface FunctionGraphRefFilter {
1079
1324
  /** Filter by the object’s `id` field. */
@@ -1179,6 +1424,30 @@ export interface OrgFunctionExecutionLogFilter {
1179
1424
  /** Negates the expression. */
1180
1425
  not?: OrgFunctionExecutionLogFilter;
1181
1426
  }
1427
+ export interface ResourceEventFilter {
1428
+ /** Filter by the object’s `createdAt` field. */
1429
+ createdAt?: DatetimeFilter;
1430
+ /** Filter by the object’s `id` field. */
1431
+ id?: UUIDFilter;
1432
+ /** Filter by the object’s `resourceId` field. */
1433
+ resourceId?: UUIDFilter;
1434
+ /** Filter by the object’s `eventType` field. */
1435
+ eventType?: StringFilter;
1436
+ /** Filter by the object’s `actorId` field. */
1437
+ actorId?: UUIDFilter;
1438
+ /** Filter by the object’s `message` field. */
1439
+ message?: StringFilter;
1440
+ /** Filter by the object’s `metadata` field. */
1441
+ metadata?: JSONFilter;
1442
+ /** Filter by the object’s `databaseId` field. */
1443
+ databaseId?: UUIDFilter;
1444
+ /** Checks for all expressions in this list. */
1445
+ and?: ResourceEventFilter[];
1446
+ /** Checks for any expressions in this list. */
1447
+ or?: ResourceEventFilter[];
1448
+ /** Negates the expression. */
1449
+ not?: ResourceEventFilter;
1450
+ }
1182
1451
  export interface FunctionGraphExecutionOutputFilter {
1183
1452
  /** Filter by the object’s `createdAt` field. */
1184
1453
  createdAt?: DatetimeFilter;
@@ -1275,6 +1544,38 @@ export interface FunctionExecutionLogFilter {
1275
1544
  /** Negates the expression. */
1276
1545
  not?: FunctionExecutionLogFilter;
1277
1546
  }
1547
+ export interface FunctionGraphFilter {
1548
+ /** Filter by the object’s `id` field. */
1549
+ id?: UUIDFilter;
1550
+ /** Filter by the object’s `databaseId` field. */
1551
+ databaseId?: UUIDFilter;
1552
+ /** Filter by the object’s `storeId` field. */
1553
+ storeId?: UUIDFilter;
1554
+ /** Filter by the object’s `context` field. */
1555
+ context?: StringFilter;
1556
+ /** Filter by the object’s `name` field. */
1557
+ name?: StringFilter;
1558
+ /** Filter by the object’s `description` field. */
1559
+ description?: StringFilter;
1560
+ /** Filter by the object’s `definitionsCommitId` field. */
1561
+ definitionsCommitId?: UUIDFilter;
1562
+ /** Filter by the object’s `isValid` field. */
1563
+ isValid?: BooleanFilter;
1564
+ /** Filter by the object’s `validationErrors` field. */
1565
+ validationErrors?: JSONFilter;
1566
+ /** Filter by the object’s `createdBy` field. */
1567
+ createdBy?: UUIDFilter;
1568
+ /** Filter by the object’s `createdAt` field. */
1569
+ createdAt?: DatetimeFilter;
1570
+ /** Filter by the object’s `updatedAt` field. */
1571
+ updatedAt?: DatetimeFilter;
1572
+ /** Checks for all expressions in this list. */
1573
+ and?: FunctionGraphFilter[];
1574
+ /** Checks for any expressions in this list. */
1575
+ or?: FunctionGraphFilter[];
1576
+ /** Negates the expression. */
1577
+ not?: FunctionGraphFilter;
1578
+ }
1278
1579
  export interface FunctionGraphExecutionNodeStateFilter {
1279
1580
  /** Filter by the object’s `createdAt` field. */
1280
1581
  createdAt?: DatetimeFilter;
@@ -1307,39 +1608,47 @@ export interface FunctionGraphExecutionNodeStateFilter {
1307
1608
  /** Negates the expression. */
1308
1609
  not?: FunctionGraphExecutionNodeStateFilter;
1309
1610
  }
1310
- export interface FunctionGraphFilter {
1611
+ export interface PlatformNamespaceFilter {
1311
1612
  /** Filter by the object’s `id` field. */
1312
1613
  id?: UUIDFilter;
1313
- /** Filter by the object’s `databaseId` field. */
1314
- databaseId?: UUIDFilter;
1315
- /** Filter by the object’s `storeId` field. */
1316
- storeId?: UUIDFilter;
1317
- /** Filter by the object’s `entityId` field. */
1318
- entityId?: UUIDFilter;
1319
- /** Filter by the object’s `context` field. */
1320
- context?: StringFilter;
1321
- /** Filter by the object’s `name` field. */
1322
- name?: StringFilter;
1323
- /** Filter by the object’s `description` field. */
1324
- description?: StringFilter;
1325
- /** Filter by the object’s `definitionsCommitId` field. */
1326
- definitionsCommitId?: UUIDFilter;
1327
- /** Filter by the object’s `isValid` field. */
1328
- isValid?: BooleanFilter;
1329
- /** Filter by the object’s `validationErrors` field. */
1330
- validationErrors?: JSONFilter;
1331
- /** Filter by the object’s `createdBy` field. */
1332
- createdBy?: UUIDFilter;
1333
1614
  /** Filter by the object’s `createdAt` field. */
1334
1615
  createdAt?: DatetimeFilter;
1335
1616
  /** Filter by the object’s `updatedAt` field. */
1336
1617
  updatedAt?: DatetimeFilter;
1618
+ /** Filter by the object’s `name` field. */
1619
+ name?: StringFilter;
1620
+ /** Filter by the object’s `namespaceName` field. */
1621
+ namespaceName?: StringFilter;
1622
+ /** Filter by the object’s `description` field. */
1623
+ description?: StringFilter;
1624
+ /** Filter by the object’s `isActive` field. */
1625
+ isActive?: BooleanFilter;
1626
+ /** Filter by the object’s `labels` field. */
1627
+ labels?: JSONFilter;
1628
+ /** Filter by the object’s `annotations` field. */
1629
+ annotations?: JSONFilter;
1630
+ /** Filter by the object’s `databaseId` field. */
1631
+ databaseId?: UUIDFilter;
1632
+ /** Filter by the object’s `sourceDatabaseId` field. */
1633
+ sourceDatabaseId?: UUIDFilter;
1634
+ /** Filter by the object’s `sourceScope` field. */
1635
+ sourceScope?: StringFilter;
1636
+ /** Filter by the object’s `isManaged` field. */
1637
+ isManaged?: BooleanFilter;
1337
1638
  /** Checks for all expressions in this list. */
1338
- and?: FunctionGraphFilter[];
1639
+ and?: PlatformNamespaceFilter[];
1339
1640
  /** Checks for any expressions in this list. */
1340
- or?: FunctionGraphFilter[];
1641
+ or?: PlatformNamespaceFilter[];
1341
1642
  /** Negates the expression. */
1342
- not?: FunctionGraphFilter;
1643
+ not?: PlatformNamespaceFilter;
1644
+ /** Filter by the object’s `functionDeploymentsByNamespaceId` relation. */
1645
+ functionDeploymentsByNamespaceId?: PlatformNamespaceToManyFunctionDeploymentFilter;
1646
+ /** `functionDeploymentsByNamespaceId` exist. */
1647
+ functionDeploymentsByNamespaceIdExist?: boolean;
1648
+ /** Filter by the object’s `resourcesByNamespaceId` relation. */
1649
+ resourcesByNamespaceId?: PlatformNamespaceToManyResourceFilter;
1650
+ /** `resourcesByNamespaceId` exist. */
1651
+ resourcesByNamespaceIdExist?: boolean;
1343
1652
  }
1344
1653
  export interface OrgFunctionInvocationFilter {
1345
1654
  /** Filter by the object’s `createdAt` field. */
@@ -1415,6 +1724,44 @@ export interface FunctionInvocationFilter {
1415
1724
  /** Negates the expression. */
1416
1725
  not?: FunctionInvocationFilter;
1417
1726
  }
1727
+ export interface PlatformNamespaceEventFilter {
1728
+ /** Filter by the object’s `createdAt` field. */
1729
+ createdAt?: DatetimeFilter;
1730
+ /** Filter by the object’s `id` field. */
1731
+ id?: UUIDFilter;
1732
+ /** Filter by the object’s `namespaceId` field. */
1733
+ namespaceId?: UUIDFilter;
1734
+ /** Filter by the object’s `eventType` field. */
1735
+ eventType?: StringFilter;
1736
+ /** Filter by the object’s `actorId` field. */
1737
+ actorId?: UUIDFilter;
1738
+ /** Filter by the object’s `message` field. */
1739
+ message?: StringFilter;
1740
+ /** Filter by the object’s `metadata` field. */
1741
+ metadata?: JSONFilter;
1742
+ /** Filter by the object’s `cpuMillicores` field. */
1743
+ cpuMillicores?: IntFilter;
1744
+ /** Filter by the object’s `memoryBytes` field. */
1745
+ memoryBytes?: BigIntFilter;
1746
+ /** Filter by the object’s `storageBytes` field. */
1747
+ storageBytes?: BigIntFilter;
1748
+ /** Filter by the object’s `networkIngressBytes` field. */
1749
+ networkIngressBytes?: BigIntFilter;
1750
+ /** Filter by the object’s `networkEgressBytes` field. */
1751
+ networkEgressBytes?: BigIntFilter;
1752
+ /** Filter by the object’s `podCount` field. */
1753
+ podCount?: IntFilter;
1754
+ /** Filter by the object’s `metrics` field. */
1755
+ metrics?: JSONFilter;
1756
+ /** Filter by the object’s `databaseId` field. */
1757
+ databaseId?: UUIDFilter;
1758
+ /** Checks for all expressions in this list. */
1759
+ and?: PlatformNamespaceEventFilter[];
1760
+ /** Checks for any expressions in this list. */
1761
+ or?: PlatformNamespaceEventFilter[];
1762
+ /** Negates the expression. */
1763
+ not?: PlatformNamespaceEventFilter;
1764
+ }
1418
1765
  export interface FunctionGraphExecutionFilter {
1419
1766
  /** Filter by the object’s `startedAt` field. */
1420
1767
  startedAt?: DatetimeFilter;
@@ -1426,8 +1773,6 @@ export interface FunctionGraphExecutionFilter {
1426
1773
  invocationId?: UUIDFilter;
1427
1774
  /** Filter by the object’s `databaseId` field. */
1428
1775
  databaseId?: UUIDFilter;
1429
- /** Filter by the object’s `entityId` field. */
1430
- entityId?: UUIDFilter;
1431
1776
  /** Filter by the object’s `outputNode` field. */
1432
1777
  outputNode?: StringFilter;
1433
1778
  /** Filter by the object’s `outputPort` field. */
@@ -1546,20 +1891,24 @@ export interface FunctionDefinitionFilter {
1546
1891
  export type GetAllRecordsOrderBy = 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'NATURAL' | 'PATH_ASC' | 'PATH_DESC' | 'DATA_ASC' | 'DATA_DESC';
1547
1892
  export type FunctionApiBindingOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'API_ID_ASC' | 'API_ID_DESC' | 'ALIAS_ASC' | 'ALIAS_DESC' | 'CONFIG_ASC' | 'CONFIG_DESC';
1548
1893
  export type FunctionDeploymentOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'FUNCTION_DEFINITION_ID_ASC' | 'FUNCTION_DEFINITION_ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'SERVICE_URL_ASC' | 'SERVICE_URL_DESC' | 'SERVICE_NAME_ASC' | 'SERVICE_NAME_DESC' | 'REVISION_ASC' | 'REVISION_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'CONCURRENCY_ASC' | 'CONCURRENCY_DESC' | 'SCALE_MIN_ASC' | 'SCALE_MIN_DESC' | 'SCALE_MAX_ASC' | 'SCALE_MAX_DESC' | 'TIMEOUT_SECONDS_ASC' | 'TIMEOUT_SECONDS_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'LAST_ERROR_AT_ASC' | 'LAST_ERROR_AT_DESC' | 'ERROR_COUNT_ASC' | 'ERROR_COUNT_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1894
+ export type ResourceOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'SPEC_ASC' | 'SPEC_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'STATUS_OBSERVED_ASC' | 'STATUS_OBSERVED_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'ERROR_COUNT_ASC' | 'ERROR_COUNT_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1549
1895
  export type FunctionGraphRefOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC';
1550
1896
  export type FunctionGraphStoreOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
1551
1897
  export type FunctionGraphObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
1552
1898
  export type FunctionDeploymentEventOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'DEPLOYMENT_ID_ASC' | 'DEPLOYMENT_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1553
1899
  export type OrgFunctionExecutionLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'LOG_LEVEL_ASC' | 'LOG_LEVEL_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
1900
+ export type ResourceEventOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'RESOURCE_ID_ASC' | 'RESOURCE_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1554
1901
  export type FunctionGraphExecutionOutputOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'DATA_ASC' | 'DATA_DESC';
1555
1902
  export type FunctionGraphCommitOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC' | 'DATE_ASC' | 'DATE_DESC';
1556
1903
  export type SecretDefinitionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_BUILT_IN_ASC' | 'IS_BUILT_IN_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1557
1904
  export type FunctionExecutionLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'LOG_LEVEL_ASC' | 'LOG_LEVEL_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1905
+ export type FunctionGraphOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'CONTEXT_ASC' | 'CONTEXT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DEFINITIONS_COMMIT_ID_ASC' | 'DEFINITIONS_COMMIT_ID_DESC' | 'IS_VALID_ASC' | 'IS_VALID_DESC' | 'VALIDATION_ERRORS_ASC' | 'VALIDATION_ERRORS_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1558
1906
  export type FunctionGraphExecutionNodeStateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'EXECUTION_ID_ASC' | 'EXECUTION_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NODE_NAME_ASC' | 'NODE_NAME_DESC' | 'NODE_PATH_ASC' | 'NODE_PATH_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'ERROR_CODE_ASC' | 'ERROR_CODE_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC' | 'OUTPUT_ID_ASC' | 'OUTPUT_ID_DESC';
1559
- export type FunctionGraphOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CONTEXT_ASC' | 'CONTEXT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DEFINITIONS_COMMIT_ID_ASC' | 'DEFINITIONS_COMMIT_ID_DESC' | 'IS_VALID_ASC' | 'IS_VALID_DESC' | 'VALIDATION_ERRORS_ASC' | 'VALIDATION_ERRORS_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
1907
+ export type PlatformNamespaceOrderBy = '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' | 'NAMESPACE_NAME_ASC' | 'NAMESPACE_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SOURCE_DATABASE_ID_ASC' | 'SOURCE_DATABASE_ID_DESC' | 'SOURCE_SCOPE_ASC' | 'SOURCE_SCOPE_DESC' | 'IS_MANAGED_ASC' | 'IS_MANAGED_DESC';
1560
1908
  export type OrgFunctionInvocationOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'RESULT_ASC' | 'RESULT_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'JOB_ID_ASC' | 'JOB_ID_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'PARENT_INVOCATION_ID_ASC' | 'PARENT_INVOCATION_ID_DESC' | 'GRAPH_EXECUTION_ID_ASC' | 'GRAPH_EXECUTION_ID_DESC';
1561
1909
  export type FunctionInvocationOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'RESULT_ASC' | 'RESULT_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'DURATION_MS_ASC' | 'DURATION_MS_DESC' | 'JOB_ID_ASC' | 'JOB_ID_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'PARENT_INVOCATION_ID_ASC' | 'PARENT_INVOCATION_ID_DESC' | 'GRAPH_EXECUTION_ID_ASC' | 'GRAPH_EXECUTION_ID_DESC';
1562
- export type FunctionGraphExecutionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'GRAPH_ID_ASC' | 'GRAPH_ID_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'OUTPUT_NODE_ASC' | 'OUTPUT_NODE_DESC' | 'OUTPUT_PORT_ASC' | 'OUTPUT_PORT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'INPUT_PAYLOAD_ASC' | 'INPUT_PAYLOAD_DESC' | 'OUTPUT_PAYLOAD_ASC' | 'OUTPUT_PAYLOAD_DESC' | 'NODE_OUTPUTS_ASC' | 'NODE_OUTPUTS_DESC' | 'EXECUTION_PLAN_ASC' | 'EXECUTION_PLAN_DESC' | 'CURRENT_WAVE_ASC' | 'CURRENT_WAVE_DESC' | 'PARENT_EXECUTION_ID_ASC' | 'PARENT_EXECUTION_ID_DESC' | 'PARENT_NODE_NAME_ASC' | 'PARENT_NODE_NAME_DESC' | 'DEFINITIONS_COMMIT_ID_ASC' | 'DEFINITIONS_COMMIT_ID_DESC' | 'TICK_COUNT_ASC' | 'TICK_COUNT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'MAX_TICKS_ASC' | 'MAX_TICKS_DESC' | 'MAX_PENDING_JOBS_ASC' | 'MAX_PENDING_JOBS_DESC' | 'TIMEOUT_AT_ASC' | 'TIMEOUT_AT_DESC' | 'ERROR_CODE_ASC' | 'ERROR_CODE_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC';
1910
+ export type PlatformNamespaceEventOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'CPU_MILLICORES_ASC' | 'CPU_MILLICORES_DESC' | 'MEMORY_BYTES_ASC' | 'MEMORY_BYTES_DESC' | 'STORAGE_BYTES_ASC' | 'STORAGE_BYTES_DESC' | 'NETWORK_INGRESS_BYTES_ASC' | 'NETWORK_INGRESS_BYTES_DESC' | 'NETWORK_EGRESS_BYTES_ASC' | 'NETWORK_EGRESS_BYTES_DESC' | 'POD_COUNT_ASC' | 'POD_COUNT_DESC' | 'METRICS_ASC' | 'METRICS_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC';
1911
+ export type FunctionGraphExecutionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'GRAPH_ID_ASC' | 'GRAPH_ID_DESC' | 'INVOCATION_ID_ASC' | 'INVOCATION_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'OUTPUT_NODE_ASC' | 'OUTPUT_NODE_DESC' | 'OUTPUT_PORT_ASC' | 'OUTPUT_PORT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'INPUT_PAYLOAD_ASC' | 'INPUT_PAYLOAD_DESC' | 'OUTPUT_PAYLOAD_ASC' | 'OUTPUT_PAYLOAD_DESC' | 'NODE_OUTPUTS_ASC' | 'NODE_OUTPUTS_DESC' | 'EXECUTION_PLAN_ASC' | 'EXECUTION_PLAN_DESC' | 'CURRENT_WAVE_ASC' | 'CURRENT_WAVE_DESC' | 'PARENT_EXECUTION_ID_ASC' | 'PARENT_EXECUTION_ID_DESC' | 'PARENT_NODE_NAME_ASC' | 'PARENT_NODE_NAME_DESC' | 'DEFINITIONS_COMMIT_ID_ASC' | 'DEFINITIONS_COMMIT_ID_DESC' | 'TICK_COUNT_ASC' | 'TICK_COUNT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC' | 'MAX_TICKS_ASC' | 'MAX_TICKS_DESC' | 'MAX_PENDING_JOBS_ASC' | 'MAX_PENDING_JOBS_DESC' | 'TIMEOUT_AT_ASC' | 'TIMEOUT_AT_DESC' | 'ERROR_CODE_ASC' | 'ERROR_CODE_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC';
1563
1912
  export type FunctionDefinitionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TASK_IDENTIFIER_ASC' | 'TASK_IDENTIFIER_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'IS_INVOCABLE_ASC' | 'IS_INVOCABLE_DESC' | 'MAX_ATTEMPTS_ASC' | 'MAX_ATTEMPTS_DESC' | 'PRIORITY_ASC' | 'PRIORITY_DESC' | 'QUEUE_NAME_ASC' | 'QUEUE_NAME_DESC' | 'RUNTIME_ASC' | 'RUNTIME_DESC' | 'IMAGE_ASC' | 'IMAGE_DESC' | 'CONCURRENCY_ASC' | 'CONCURRENCY_DESC' | 'SCALE_MIN_ASC' | 'SCALE_MIN_DESC' | 'SCALE_MAX_ASC' | 'SCALE_MAX_DESC' | 'TIMEOUT_SECONDS_ASC' | 'TIMEOUT_SECONDS_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'IS_BUILT_IN_ASC' | 'IS_BUILT_IN_DESC' | 'REQUIRED_SECRETS_ASC' | 'REQUIRED_SECRETS_DESC' | 'REQUIRED_CONFIGS_ASC' | 'REQUIRED_CONFIGS_DESC' | 'REQUIRED_BUCKETS_ASC' | 'REQUIRED_BUCKETS_DESC' | 'REQUIRED_MODELS_ASC' | 'REQUIRED_MODELS_DESC' | 'INPUTS_ASC' | 'INPUTS_DESC' | 'OUTPUTS_ASC' | 'OUTPUTS_DESC' | 'PROPS_ASC' | 'PROPS_DESC' | 'VOLATILE_ASC' | 'VOLATILE_DESC' | 'ICON_ASC' | 'ICON_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC';
1564
1913
  export interface CreateGetAllRecordInput {
1565
1914
  clientMutationId?: string;
@@ -1657,6 +2006,50 @@ export interface DeleteFunctionDeploymentInput {
1657
2006
  clientMutationId?: string;
1658
2007
  id: string;
1659
2008
  }
2009
+ export interface CreateResourceInput {
2010
+ clientMutationId?: string;
2011
+ resource: {
2012
+ createdBy?: string;
2013
+ updatedBy?: string;
2014
+ namespaceId: string;
2015
+ kind: string;
2016
+ name: string;
2017
+ slug: string;
2018
+ spec?: Record<string, unknown>;
2019
+ status?: string;
2020
+ statusObserved?: Record<string, unknown>;
2021
+ lastError?: string;
2022
+ errorCount?: number;
2023
+ labels?: Record<string, unknown>;
2024
+ annotations?: Record<string, unknown>;
2025
+ databaseId: string;
2026
+ };
2027
+ }
2028
+ export interface ResourcePatch {
2029
+ createdBy?: string | null;
2030
+ updatedBy?: string | null;
2031
+ namespaceId?: string | null;
2032
+ kind?: string | null;
2033
+ name?: string | null;
2034
+ slug?: string | null;
2035
+ spec?: Record<string, unknown> | null;
2036
+ status?: string | null;
2037
+ statusObserved?: Record<string, unknown> | null;
2038
+ lastError?: string | null;
2039
+ errorCount?: number | null;
2040
+ labels?: Record<string, unknown> | null;
2041
+ annotations?: Record<string, unknown> | null;
2042
+ databaseId?: string | null;
2043
+ }
2044
+ export interface UpdateResourceInput {
2045
+ clientMutationId?: string;
2046
+ id: string;
2047
+ resourcePatch: ResourcePatch;
2048
+ }
2049
+ export interface DeleteResourceInput {
2050
+ clientMutationId?: string;
2051
+ id: string;
2052
+ }
1660
2053
  export interface CreateFunctionGraphRefInput {
1661
2054
  clientMutationId?: string;
1662
2055
  functionGraphRef: {
@@ -1783,6 +2176,34 @@ export interface DeleteOrgFunctionExecutionLogInput {
1783
2176
  clientMutationId?: string;
1784
2177
  id: string;
1785
2178
  }
2179
+ export interface CreateResourceEventInput {
2180
+ clientMutationId?: string;
2181
+ resourceEvent: {
2182
+ resourceId: string;
2183
+ eventType: string;
2184
+ actorId?: string;
2185
+ message?: string;
2186
+ metadata?: Record<string, unknown>;
2187
+ databaseId: string;
2188
+ };
2189
+ }
2190
+ export interface ResourceEventPatch {
2191
+ resourceId?: string | null;
2192
+ eventType?: string | null;
2193
+ actorId?: string | null;
2194
+ message?: string | null;
2195
+ metadata?: Record<string, unknown> | null;
2196
+ databaseId?: string | null;
2197
+ }
2198
+ export interface UpdateResourceEventInput {
2199
+ clientMutationId?: string;
2200
+ id: string;
2201
+ resourceEventPatch: ResourceEventPatch;
2202
+ }
2203
+ export interface DeleteResourceEventInput {
2204
+ clientMutationId?: string;
2205
+ id: string;
2206
+ }
1786
2207
  export interface CreateFunctionGraphExecutionOutputInput {
1787
2208
  clientMutationId?: string;
1788
2209
  functionGraphExecutionOutput: {
@@ -1877,21 +2298,55 @@ export interface CreateFunctionExecutionLogInput {
1877
2298
  databaseId: string;
1878
2299
  };
1879
2300
  }
1880
- export interface FunctionExecutionLogPatch {
1881
- invocationId?: string | null;
1882
- taskIdentifier?: string | null;
1883
- logLevel?: string | null;
1884
- message?: string | null;
1885
- metadata?: Record<string, unknown> | null;
1886
- actorId?: string | null;
2301
+ export interface FunctionExecutionLogPatch {
2302
+ invocationId?: string | null;
2303
+ taskIdentifier?: string | null;
2304
+ logLevel?: string | null;
2305
+ message?: string | null;
2306
+ metadata?: Record<string, unknown> | null;
2307
+ actorId?: string | null;
2308
+ databaseId?: string | null;
2309
+ }
2310
+ export interface UpdateFunctionExecutionLogInput {
2311
+ clientMutationId?: string;
2312
+ id: string;
2313
+ functionExecutionLogPatch: FunctionExecutionLogPatch;
2314
+ }
2315
+ export interface DeleteFunctionExecutionLogInput {
2316
+ clientMutationId?: string;
2317
+ id: string;
2318
+ }
2319
+ export interface CreateFunctionGraphInput {
2320
+ clientMutationId?: string;
2321
+ functionGraph: {
2322
+ databaseId: string;
2323
+ storeId: string;
2324
+ context?: string;
2325
+ name?: string;
2326
+ description?: string;
2327
+ definitionsCommitId: string;
2328
+ isValid?: boolean;
2329
+ validationErrors?: Record<string, unknown>;
2330
+ createdBy?: string;
2331
+ };
2332
+ }
2333
+ export interface FunctionGraphPatch {
1887
2334
  databaseId?: string | null;
2335
+ storeId?: string | null;
2336
+ context?: string | null;
2337
+ name?: string | null;
2338
+ description?: string | null;
2339
+ definitionsCommitId?: string | null;
2340
+ isValid?: boolean | null;
2341
+ validationErrors?: Record<string, unknown> | null;
2342
+ createdBy?: string | null;
1888
2343
  }
1889
- export interface UpdateFunctionExecutionLogInput {
2344
+ export interface UpdateFunctionGraphInput {
1890
2345
  clientMutationId?: string;
1891
2346
  id: string;
1892
- functionExecutionLogPatch: FunctionExecutionLogPatch;
2347
+ functionGraphPatch: FunctionGraphPatch;
1893
2348
  }
1894
- export interface DeleteFunctionExecutionLogInput {
2349
+ export interface DeleteFunctionGraphInput {
1895
2350
  clientMutationId?: string;
1896
2351
  id: string;
1897
2352
  }
@@ -1931,39 +2386,39 @@ export interface DeleteFunctionGraphExecutionNodeStateInput {
1931
2386
  clientMutationId?: string;
1932
2387
  id: string;
1933
2388
  }
1934
- export interface CreateFunctionGraphInput {
2389
+ export interface CreatePlatformNamespaceInput {
1935
2390
  clientMutationId?: string;
1936
- functionGraph: {
1937
- databaseId: string;
1938
- storeId: string;
1939
- entityId: string;
1940
- context?: string;
1941
- name?: string;
2391
+ platformNamespace: {
2392
+ name: string;
2393
+ namespaceName: string;
1942
2394
  description?: string;
1943
- definitionsCommitId: string;
1944
- isValid?: boolean;
1945
- validationErrors?: Record<string, unknown>;
1946
- createdBy?: string;
2395
+ isActive?: boolean;
2396
+ labels?: Record<string, unknown>;
2397
+ annotations?: Record<string, unknown>;
2398
+ databaseId: string;
2399
+ sourceDatabaseId?: string;
2400
+ sourceScope?: string;
2401
+ isManaged?: boolean;
1947
2402
  };
1948
2403
  }
1949
- export interface FunctionGraphPatch {
1950
- databaseId?: string | null;
1951
- storeId?: string | null;
1952
- entityId?: string | null;
1953
- context?: string | null;
2404
+ export interface PlatformNamespacePatch {
1954
2405
  name?: string | null;
2406
+ namespaceName?: string | null;
1955
2407
  description?: string | null;
1956
- definitionsCommitId?: string | null;
1957
- isValid?: boolean | null;
1958
- validationErrors?: Record<string, unknown> | null;
1959
- createdBy?: string | null;
2408
+ isActive?: boolean | null;
2409
+ labels?: Record<string, unknown> | null;
2410
+ annotations?: Record<string, unknown> | null;
2411
+ databaseId?: string | null;
2412
+ sourceDatabaseId?: string | null;
2413
+ sourceScope?: string | null;
2414
+ isManaged?: boolean | null;
1960
2415
  }
1961
- export interface UpdateFunctionGraphInput {
2416
+ export interface UpdatePlatformNamespaceInput {
1962
2417
  clientMutationId?: string;
1963
2418
  id: string;
1964
- functionGraphPatch: FunctionGraphPatch;
2419
+ platformNamespacePatch: PlatformNamespacePatch;
1965
2420
  }
1966
- export interface DeleteFunctionGraphInput {
2421
+ export interface DeletePlatformNamespaceInput {
1967
2422
  clientMutationId?: string;
1968
2423
  id: string;
1969
2424
  }
@@ -2049,6 +2504,48 @@ export interface DeleteFunctionInvocationInput {
2049
2504
  clientMutationId?: string;
2050
2505
  id: string;
2051
2506
  }
2507
+ export interface CreatePlatformNamespaceEventInput {
2508
+ clientMutationId?: string;
2509
+ platformNamespaceEvent: {
2510
+ namespaceId: string;
2511
+ eventType: string;
2512
+ actorId?: string;
2513
+ message?: string;
2514
+ metadata?: Record<string, unknown>;
2515
+ cpuMillicores?: number;
2516
+ memoryBytes?: string;
2517
+ storageBytes?: string;
2518
+ networkIngressBytes?: string;
2519
+ networkEgressBytes?: string;
2520
+ podCount?: number;
2521
+ metrics?: Record<string, unknown>;
2522
+ databaseId: string;
2523
+ };
2524
+ }
2525
+ export interface PlatformNamespaceEventPatch {
2526
+ namespaceId?: string | null;
2527
+ eventType?: string | null;
2528
+ actorId?: string | null;
2529
+ message?: string | null;
2530
+ metadata?: Record<string, unknown> | null;
2531
+ cpuMillicores?: number | null;
2532
+ memoryBytes?: string | null;
2533
+ storageBytes?: string | null;
2534
+ networkIngressBytes?: string | null;
2535
+ networkEgressBytes?: string | null;
2536
+ podCount?: number | null;
2537
+ metrics?: Record<string, unknown> | null;
2538
+ databaseId?: string | null;
2539
+ }
2540
+ export interface UpdatePlatformNamespaceEventInput {
2541
+ clientMutationId?: string;
2542
+ id: string;
2543
+ platformNamespaceEventPatch: PlatformNamespaceEventPatch;
2544
+ }
2545
+ export interface DeletePlatformNamespaceEventInput {
2546
+ clientMutationId?: string;
2547
+ id: string;
2548
+ }
2052
2549
  export interface CreateFunctionGraphExecutionInput {
2053
2550
  clientMutationId?: string;
2054
2551
  functionGraphExecution: {
@@ -2056,7 +2553,6 @@ export interface CreateFunctionGraphExecutionInput {
2056
2553
  graphId: string;
2057
2554
  invocationId?: string;
2058
2555
  databaseId: string;
2059
- entityId?: string;
2060
2556
  outputNode: string;
2061
2557
  outputPort?: string;
2062
2558
  status?: string;
@@ -2082,7 +2578,6 @@ export interface FunctionGraphExecutionPatch {
2082
2578
  graphId?: string | null;
2083
2579
  invocationId?: string | null;
2084
2580
  databaseId?: string | null;
2085
- entityId?: string | null;
2086
2581
  outputNode?: string | null;
2087
2582
  outputPort?: string | null;
2088
2583
  status?: string | null;
@@ -2233,6 +2728,16 @@ export interface AddNodeAndSaveInput {
2233
2728
  meta?: Record<string, unknown>;
2234
2729
  message?: string;
2235
2730
  }
2731
+ export interface ImportGraphJsonInput {
2732
+ clientMutationId?: string;
2733
+ databaseId?: string;
2734
+ name?: string;
2735
+ graphJson?: Record<string, unknown>;
2736
+ context?: string;
2737
+ description?: string;
2738
+ createdBy?: string;
2739
+ definitionsCommitId?: string;
2740
+ }
2236
2741
  export interface AddEdgeInput {
2237
2742
  clientMutationId?: string;
2238
2743
  databaseId?: string;
@@ -2255,17 +2760,6 @@ export interface AddNodeInput {
2255
2760
  props?: Record<string, unknown>;
2256
2761
  meta?: Record<string, unknown>;
2257
2762
  }
2258
- export interface ImportGraphJsonInput {
2259
- clientMutationId?: string;
2260
- databaseId?: string;
2261
- name?: string;
2262
- graphJson?: Record<string, unknown>;
2263
- context?: string;
2264
- description?: string;
2265
- entityId?: string;
2266
- createdBy?: string;
2267
- definitionsCommitId?: string;
2268
- }
2269
2763
  export interface InsertNodeAtPathInput {
2270
2764
  clientMutationId?: string;
2271
2765
  sId?: string;
@@ -2313,6 +2807,24 @@ export interface Base64EncodedBinaryFilter {
2313
2807
  /** Not included in the specified list. */
2314
2808
  notIn?: Base64EncodedBinary[];
2315
2809
  }
2810
+ /** A filter to be used against many `FunctionDeployment` object types. All fields are combined with a logical ‘and.’ */
2811
+ export interface PlatformNamespaceToManyFunctionDeploymentFilter {
2812
+ /** Filters to entities where at least one related entity matches. */
2813
+ some?: FunctionDeploymentFilter;
2814
+ /** Filters to entities where every related entity matches. */
2815
+ every?: FunctionDeploymentFilter;
2816
+ /** Filters to entities where no related entity matches. */
2817
+ none?: FunctionDeploymentFilter;
2818
+ }
2819
+ /** A filter to be used against many `Resource` object types. All fields are combined with a logical ‘and.’ */
2820
+ export interface PlatformNamespaceToManyResourceFilter {
2821
+ /** Filters to entities where at least one related entity matches. */
2822
+ some?: ResourceFilter;
2823
+ /** Filters to entities where every related entity matches. */
2824
+ every?: ResourceFilter;
2825
+ /** Filters to entities where no related entity matches. */
2826
+ none?: ResourceFilter;
2827
+ }
2316
2828
  /** A filter to be used against many `FunctionApiBinding` object types. All fields are combined with a logical ‘and.’ */
2317
2829
  export interface FunctionDefinitionToManyFunctionApiBindingFilter {
2318
2830
  /** Filters to entities where at least one related entity matches. */
@@ -2385,6 +2897,38 @@ export interface FunctionDeploymentInput {
2385
2897
  /** Database that owns this resource (database-scoped isolation) */
2386
2898
  databaseId: string;
2387
2899
  }
2900
+ /** An input for mutations affecting `Resource` */
2901
+ export interface ResourceInput {
2902
+ id?: string;
2903
+ createdAt?: string;
2904
+ updatedAt?: string;
2905
+ createdBy?: string;
2906
+ updatedBy?: string;
2907
+ /** Namespace this resource belongs to (security boundary, maps to K8s namespace) */
2908
+ namespaceId: string;
2909
+ /** Resource kind: Deployment, StatefulSet, Service, Ingress, Certificate */
2910
+ kind: string;
2911
+ /** Human-readable resource name */
2912
+ name: string;
2913
+ /** URL-safe identifier, unique within (namespace_id, kind) */
2914
+ slug: string;
2915
+ /** Desired state — kind-specific configuration (image, ports, resources, etc.). Opaque to DB; validated by K8s. */
2916
+ spec?: Record<string, unknown>;
2917
+ /** Resource lifecycle status: pending, provisioning, active, failed, draining, deleting */
2918
+ status?: string;
2919
+ /** Observed state from K8s — populated by handlers after reconciliation (service_url, clone_url, replicas, etc.) */
2920
+ statusObserved?: Record<string, unknown>;
2921
+ /** Most recent provisioning or runtime error message */
2922
+ lastError?: string;
2923
+ /** Cumulative error count for this resource */
2924
+ errorCount?: number;
2925
+ /** Key/value pairs for selecting and filtering resources */
2926
+ labels?: Record<string, unknown>;
2927
+ /** Freeform metadata for tooling and operational notes */
2928
+ annotations?: Record<string, unknown>;
2929
+ /** Database that owns this resource (database-scoped isolation) */
2930
+ databaseId: string;
2931
+ }
2388
2932
  /** An input for mutations affecting `FunctionGraphRef` */
2389
2933
  export interface FunctionGraphRefInput {
2390
2934
  /** Unique ref identifier */
@@ -2464,6 +3008,25 @@ export interface OrgFunctionExecutionLogInput {
2464
3008
  /** User who triggered the execution (NULL for system/cron) */
2465
3009
  actorId?: string;
2466
3010
  }
3011
+ /** An input for mutations affecting `ResourceEvent` */
3012
+ export interface ResourceEventInput {
3013
+ /** Event timestamp (partition key) */
3014
+ createdAt?: string;
3015
+ /** Unique event identifier */
3016
+ id?: string;
3017
+ /** Resource this event belongs to */
3018
+ resourceId: string;
3019
+ /** Event type: provisioned, provisioning, updated, failed, deprovisioned, health_check */
3020
+ eventType: string;
3021
+ /** User who triggered this event (NULL for system/automated) */
3022
+ actorId?: string;
3023
+ /** Human-readable description of the event */
3024
+ message?: string;
3025
+ /** Structured context (old/new values, error details, etc.) */
3026
+ metadata?: Record<string, unknown>;
3027
+ /** Database that owns this resource (database-scoped isolation) */
3028
+ databaseId: string;
3029
+ }
2467
3030
  /** An input for mutations affecting `FunctionGraphExecutionOutput` */
2468
3031
  export interface FunctionGraphExecutionOutputInput {
2469
3032
  /** Timestamp of output creation */
@@ -2564,6 +3127,32 @@ export interface FunctionGraphExecutionNodeStateInput {
2564
3127
  /** FK to execution_outputs — content-addressed output blob for this node */
2565
3128
  outputId?: string;
2566
3129
  }
3130
+ /** An input for mutations affecting `PlatformNamespace` */
3131
+ export interface PlatformNamespaceInput {
3132
+ id?: string;
3133
+ createdAt?: string;
3134
+ updatedAt?: string;
3135
+ /** Human-readable namespace name (e.g. default, production, oauth) */
3136
+ name: string;
3137
+ /** Globally unique computed namespace identifier via inflection.underscore */
3138
+ namespaceName: string;
3139
+ /** Optional human-readable description of this namespace */
3140
+ description?: string;
3141
+ /** Whether this namespace is active (soft-disable for filtering) */
3142
+ isActive?: boolean;
3143
+ /** Key/value pairs for selecting and filtering namespaces */
3144
+ labels?: Record<string, unknown>;
3145
+ /** Freeform metadata for tooling and operational notes */
3146
+ annotations?: Record<string, unknown>;
3147
+ /** Database that owns this resource (database-scoped isolation) */
3148
+ databaseId: string;
3149
+ /** Database that created this namespace (NULL for platform-native namespaces) */
3150
+ sourceDatabaseId?: string;
3151
+ /** Origin scope: platform, org, app — indicates where this namespace was created */
3152
+ sourceScope?: string;
3153
+ /** true = created by a child scope mirror trigger, false = platform-native */
3154
+ isManaged?: boolean;
3155
+ }
2567
3156
  /** An input for mutations affecting `OrgFunctionInvocation` */
2568
3157
  export interface OrgFunctionInvocationInput {
2569
3158
  /** Invocation creation timestamp (partition key) */
@@ -2628,6 +3217,39 @@ export interface FunctionInvocationInput {
2628
3217
  /** Groups all node invocations from a single flow graph execution */
2629
3218
  graphExecutionId?: string;
2630
3219
  }
3220
+ /** An input for mutations affecting `PlatformNamespaceEvent` */
3221
+ export interface PlatformNamespaceEventInput {
3222
+ /** Event timestamp (partition key) */
3223
+ createdAt?: string;
3224
+ /** Unique event identifier */
3225
+ id?: string;
3226
+ /** Namespace this event belongs to */
3227
+ namespaceId: string;
3228
+ /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
3229
+ eventType: string;
3230
+ /** User who triggered this event (NULL for system/automated) */
3231
+ actorId?: string;
3232
+ /** Human-readable description of the event */
3233
+ message?: string;
3234
+ /** Structured context (old/new values, labels diff, etc.) */
3235
+ metadata?: Record<string, unknown>;
3236
+ /** CPU usage in millicores at time of event */
3237
+ cpuMillicores?: number;
3238
+ /** Memory usage in bytes at time of event */
3239
+ memoryBytes?: string;
3240
+ /** Storage usage in bytes at time of event */
3241
+ storageBytes?: string;
3242
+ /** Network ingress in bytes during event window */
3243
+ networkIngressBytes?: string;
3244
+ /** Network egress in bytes during event window */
3245
+ networkEgressBytes?: string;
3246
+ /** Number of active pods in the namespace at time of event */
3247
+ podCount?: number;
3248
+ /** Additional resource metrics (gpu, replicas, quotas, etc.) */
3249
+ metrics?: Record<string, unknown>;
3250
+ /** Database that owns this resource (database-scoped isolation) */
3251
+ databaseId: string;
3252
+ }
2631
3253
  /** An input for mutations affecting `FunctionGraphExecution` */
2632
3254
  export interface FunctionGraphExecutionInput {
2633
3255
  /** Execution start timestamp */
@@ -2640,8 +3262,6 @@ export interface FunctionGraphExecutionInput {
2640
3262
  invocationId?: string;
2641
3263
  /** Scope for multi-tenant isolation */
2642
3264
  databaseId: string;
2643
- /** Entity context (org/team) for scoped billing */
2644
- entityId?: string;
2645
3265
  /** Target output boundary node name to resolve */
2646
3266
  outputNode: string;
2647
3267
  /** Target output port name (default: value) */
@@ -2761,27 +3381,6 @@ export interface IntervalInput {
2761
3381
  /** A quantity of years. */
2762
3382
  years?: number;
2763
3383
  }
2764
- /** A filter to be used against `FunctionApiBinding` object types. All fields are combined with a logical ‘and.’ */
2765
- export interface FunctionApiBindingFilter {
2766
- /** Filter by the object’s `id` field. */
2767
- id?: UUIDFilter;
2768
- /** Filter by the object’s `functionDefinitionId` field. */
2769
- functionDefinitionId?: UUIDFilter;
2770
- /** Filter by the object’s `apiId` field. */
2771
- apiId?: UUIDFilter;
2772
- /** Filter by the object’s `alias` field. */
2773
- alias?: StringFilter;
2774
- /** Filter by the object’s `config` field. */
2775
- config?: JSONFilter;
2776
- /** Checks for all expressions in this list. */
2777
- and?: FunctionApiBindingFilter[];
2778
- /** Checks for any expressions in this list. */
2779
- or?: FunctionApiBindingFilter[];
2780
- /** Negates the expression. */
2781
- not?: FunctionApiBindingFilter;
2782
- /** Filter by the object’s `functionDefinition` relation. */
2783
- functionDefinition?: FunctionDefinitionFilter;
2784
- }
2785
3384
  /** A filter to be used against `FunctionDeployment` object types. All fields are combined with a logical ‘and.’ */
2786
3385
  export interface FunctionDeploymentFilter {
2787
3386
  /** Filter by the object’s `id` field. */
@@ -2834,6 +3433,74 @@ export interface FunctionDeploymentFilter {
2834
3433
  not?: FunctionDeploymentFilter;
2835
3434
  /** Filter by the object’s `functionDefinition` relation. */
2836
3435
  functionDefinition?: FunctionDefinitionFilter;
3436
+ /** Filter by the object’s `namespace` relation. */
3437
+ namespace?: PlatformNamespaceFilter;
3438
+ }
3439
+ /** A filter to be used against `Resource` object types. All fields are combined with a logical ‘and.’ */
3440
+ export interface ResourceFilter {
3441
+ /** Filter by the object’s `id` field. */
3442
+ id?: UUIDFilter;
3443
+ /** Filter by the object’s `createdAt` field. */
3444
+ createdAt?: DatetimeFilter;
3445
+ /** Filter by the object’s `updatedAt` field. */
3446
+ updatedAt?: DatetimeFilter;
3447
+ /** Filter by the object’s `createdBy` field. */
3448
+ createdBy?: UUIDFilter;
3449
+ /** Filter by the object’s `updatedBy` field. */
3450
+ updatedBy?: UUIDFilter;
3451
+ /** Filter by the object’s `namespaceId` field. */
3452
+ namespaceId?: UUIDFilter;
3453
+ /** Filter by the object’s `kind` field. */
3454
+ kind?: StringFilter;
3455
+ /** Filter by the object’s `name` field. */
3456
+ name?: StringFilter;
3457
+ /** Filter by the object’s `slug` field. */
3458
+ slug?: StringFilter;
3459
+ /** Filter by the object’s `spec` field. */
3460
+ spec?: JSONFilter;
3461
+ /** Filter by the object’s `status` field. */
3462
+ status?: StringFilter;
3463
+ /** Filter by the object’s `statusObserved` field. */
3464
+ statusObserved?: JSONFilter;
3465
+ /** Filter by the object’s `lastError` field. */
3466
+ lastError?: StringFilter;
3467
+ /** Filter by the object’s `errorCount` field. */
3468
+ errorCount?: IntFilter;
3469
+ /** Filter by the object’s `labels` field. */
3470
+ labels?: JSONFilter;
3471
+ /** Filter by the object’s `annotations` field. */
3472
+ annotations?: JSONFilter;
3473
+ /** Filter by the object’s `databaseId` field. */
3474
+ databaseId?: UUIDFilter;
3475
+ /** Checks for all expressions in this list. */
3476
+ and?: ResourceFilter[];
3477
+ /** Checks for any expressions in this list. */
3478
+ or?: ResourceFilter[];
3479
+ /** Negates the expression. */
3480
+ not?: ResourceFilter;
3481
+ /** Filter by the object’s `namespace` relation. */
3482
+ namespace?: PlatformNamespaceFilter;
3483
+ }
3484
+ /** A filter to be used against `FunctionApiBinding` object types. All fields are combined with a logical ‘and.’ */
3485
+ export interface FunctionApiBindingFilter {
3486
+ /** Filter by the object’s `id` field. */
3487
+ id?: UUIDFilter;
3488
+ /** Filter by the object’s `functionDefinitionId` field. */
3489
+ functionDefinitionId?: UUIDFilter;
3490
+ /** Filter by the object’s `apiId` field. */
3491
+ apiId?: UUIDFilter;
3492
+ /** Filter by the object’s `alias` field. */
3493
+ alias?: StringFilter;
3494
+ /** Filter by the object’s `config` field. */
3495
+ config?: JSONFilter;
3496
+ /** Checks for all expressions in this list. */
3497
+ and?: FunctionApiBindingFilter[];
3498
+ /** Checks for any expressions in this list. */
3499
+ or?: FunctionApiBindingFilter[];
3500
+ /** Negates the expression. */
3501
+ not?: FunctionApiBindingFilter;
3502
+ /** Filter by the object’s `functionDefinition` relation. */
3503
+ functionDefinition?: FunctionDefinitionFilter;
2837
3504
  }
2838
3505
  /** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
2839
3506
  export interface UUIDFilter {
@@ -2860,6 +3527,31 @@ export interface UUIDFilter {
2860
3527
  /** Greater than or equal to the specified value. */
2861
3528
  greaterThanOrEqualTo?: string;
2862
3529
  }
3530
+ /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
3531
+ export interface DatetimeFilter {
3532
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3533
+ isNull?: boolean;
3534
+ /** Equal to the specified value. */
3535
+ equalTo?: string;
3536
+ /** Not equal to the specified value. */
3537
+ notEqualTo?: string;
3538
+ /** Not equal to the specified value, treating null like an ordinary value. */
3539
+ distinctFrom?: string;
3540
+ /** Equal to the specified value, treating null like an ordinary value. */
3541
+ notDistinctFrom?: string;
3542
+ /** Included in the specified list. */
3543
+ in?: string[];
3544
+ /** Not included in the specified list. */
3545
+ notIn?: string[];
3546
+ /** Less than the specified value. */
3547
+ lessThan?: string;
3548
+ /** Less than or equal to the specified value. */
3549
+ lessThanOrEqualTo?: string;
3550
+ /** Greater than the specified value. */
3551
+ greaterThan?: string;
3552
+ /** Greater than or equal to the specified value. */
3553
+ greaterThanOrEqualTo?: string;
3554
+ }
2863
3555
  /** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
2864
3556
  export interface StringFilter {
2865
3557
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
@@ -2937,6 +3629,31 @@ export interface StringFilter {
2937
3629
  /** Greater than or equal to the specified value (case-insensitive). */
2938
3630
  greaterThanOrEqualToInsensitive?: string;
2939
3631
  }
3632
+ /** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
3633
+ export interface IntFilter {
3634
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3635
+ isNull?: boolean;
3636
+ /** Equal to the specified value. */
3637
+ equalTo?: number;
3638
+ /** Not equal to the specified value. */
3639
+ notEqualTo?: number;
3640
+ /** Not equal to the specified value, treating null like an ordinary value. */
3641
+ distinctFrom?: number;
3642
+ /** Equal to the specified value, treating null like an ordinary value. */
3643
+ notDistinctFrom?: number;
3644
+ /** Included in the specified list. */
3645
+ in?: number[];
3646
+ /** Not included in the specified list. */
3647
+ notIn?: number[];
3648
+ /** Less than the specified value. */
3649
+ lessThan?: number;
3650
+ /** Less than or equal to the specified value. */
3651
+ lessThanOrEqualTo?: number;
3652
+ /** Greater than the specified value. */
3653
+ greaterThan?: number;
3654
+ /** Greater than or equal to the specified value. */
3655
+ greaterThanOrEqualTo?: number;
3656
+ }
2940
3657
  /** A filter to be used against JSON fields. All fields are combined with a logical ‘and.’ */
2941
3658
  export interface JSONFilter {
2942
3659
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
@@ -3043,55 +3760,48 @@ export interface FunctionDefinitionFilter {
3043
3760
  /** `functionDeployments` exist. */
3044
3761
  functionDeploymentsExist?: boolean;
3045
3762
  }
3046
- /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
3047
- export interface DatetimeFilter {
3048
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3049
- isNull?: boolean;
3050
- /** Equal to the specified value. */
3051
- equalTo?: string;
3052
- /** Not equal to the specified value. */
3053
- notEqualTo?: string;
3054
- /** Not equal to the specified value, treating null like an ordinary value. */
3055
- distinctFrom?: string;
3056
- /** Equal to the specified value, treating null like an ordinary value. */
3057
- notDistinctFrom?: string;
3058
- /** Included in the specified list. */
3059
- in?: string[];
3060
- /** Not included in the specified list. */
3061
- notIn?: string[];
3062
- /** Less than the specified value. */
3063
- lessThan?: string;
3064
- /** Less than or equal to the specified value. */
3065
- lessThanOrEqualTo?: string;
3066
- /** Greater than the specified value. */
3067
- greaterThan?: string;
3068
- /** Greater than or equal to the specified value. */
3069
- greaterThanOrEqualTo?: string;
3070
- }
3071
- /** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
3072
- export interface IntFilter {
3073
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
3074
- isNull?: boolean;
3075
- /** Equal to the specified value. */
3076
- equalTo?: number;
3077
- /** Not equal to the specified value. */
3078
- notEqualTo?: number;
3079
- /** Not equal to the specified value, treating null like an ordinary value. */
3080
- distinctFrom?: number;
3081
- /** Equal to the specified value, treating null like an ordinary value. */
3082
- notDistinctFrom?: number;
3083
- /** Included in the specified list. */
3084
- in?: number[];
3085
- /** Not included in the specified list. */
3086
- notIn?: number[];
3087
- /** Less than the specified value. */
3088
- lessThan?: number;
3089
- /** Less than or equal to the specified value. */
3090
- lessThanOrEqualTo?: number;
3091
- /** Greater than the specified value. */
3092
- greaterThan?: number;
3093
- /** Greater than or equal to the specified value. */
3094
- greaterThanOrEqualTo?: number;
3763
+ /** A filter to be used against `PlatformNamespace` object types. All fields are combined with a logical ‘and.’ */
3764
+ export interface PlatformNamespaceFilter {
3765
+ /** Filter by the object’s `id` field. */
3766
+ id?: UUIDFilter;
3767
+ /** Filter by the object’s `createdAt` field. */
3768
+ createdAt?: DatetimeFilter;
3769
+ /** Filter by the object’s `updatedAt` field. */
3770
+ updatedAt?: DatetimeFilter;
3771
+ /** Filter by the object’s `name` field. */
3772
+ name?: StringFilter;
3773
+ /** Filter by the object’s `namespaceName` field. */
3774
+ namespaceName?: StringFilter;
3775
+ /** Filter by the object’s `description` field. */
3776
+ description?: StringFilter;
3777
+ /** Filter by the object’s `isActive` field. */
3778
+ isActive?: BooleanFilter;
3779
+ /** Filter by the object’s `labels` field. */
3780
+ labels?: JSONFilter;
3781
+ /** Filter by the object’s `annotations` field. */
3782
+ annotations?: JSONFilter;
3783
+ /** Filter by the object’s `databaseId` field. */
3784
+ databaseId?: UUIDFilter;
3785
+ /** Filter by the object’s `sourceDatabaseId` field. */
3786
+ sourceDatabaseId?: UUIDFilter;
3787
+ /** Filter by the object’s `sourceScope` field. */
3788
+ sourceScope?: StringFilter;
3789
+ /** Filter by the object’s `isManaged` field. */
3790
+ isManaged?: BooleanFilter;
3791
+ /** Checks for all expressions in this list. */
3792
+ and?: PlatformNamespaceFilter[];
3793
+ /** Checks for any expressions in this list. */
3794
+ or?: PlatformNamespaceFilter[];
3795
+ /** Negates the expression. */
3796
+ not?: PlatformNamespaceFilter;
3797
+ /** Filter by the object’s `functionDeploymentsByNamespaceId` relation. */
3798
+ functionDeploymentsByNamespaceId?: PlatformNamespaceToManyFunctionDeploymentFilter;
3799
+ /** `functionDeploymentsByNamespaceId` exist. */
3800
+ functionDeploymentsByNamespaceIdExist?: boolean;
3801
+ /** Filter by the object’s `resourcesByNamespaceId` relation. */
3802
+ resourcesByNamespaceId?: PlatformNamespaceToManyResourceFilter;
3803
+ /** `resourcesByNamespaceId` exist. */
3804
+ resourcesByNamespaceIdExist?: boolean;
3095
3805
  }
3096
3806
  /** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
3097
3807
  export interface BooleanFilter {
@@ -3217,27 +3927,27 @@ export type AddNodeAndSavePayloadSelect = {
3217
3927
  clientMutationId?: boolean;
3218
3928
  result?: boolean;
3219
3929
  };
3220
- export interface AddEdgePayload {
3930
+ export interface ImportGraphJsonPayload {
3221
3931
  clientMutationId?: string | null;
3222
3932
  result?: string | null;
3223
3933
  }
3224
- export type AddEdgePayloadSelect = {
3934
+ export type ImportGraphJsonPayloadSelect = {
3225
3935
  clientMutationId?: boolean;
3226
3936
  result?: boolean;
3227
3937
  };
3228
- export interface AddNodePayload {
3938
+ export interface AddEdgePayload {
3229
3939
  clientMutationId?: string | null;
3230
3940
  result?: string | null;
3231
3941
  }
3232
- export type AddNodePayloadSelect = {
3942
+ export type AddEdgePayloadSelect = {
3233
3943
  clientMutationId?: boolean;
3234
3944
  result?: boolean;
3235
3945
  };
3236
- export interface ImportGraphJsonPayload {
3946
+ export interface AddNodePayload {
3237
3947
  clientMutationId?: string | null;
3238
3948
  result?: string | null;
3239
3949
  }
3240
- export type ImportGraphJsonPayloadSelect = {
3950
+ export type AddNodePayloadSelect = {
3241
3951
  clientMutationId?: boolean;
3242
3952
  result?: boolean;
3243
3953
  };
@@ -3369,6 +4079,51 @@ export type DeleteFunctionDeploymentPayloadSelect = {
3369
4079
  select: FunctionDeploymentEdgeSelect;
3370
4080
  };
3371
4081
  };
4082
+ export interface CreateResourcePayload {
4083
+ clientMutationId?: string | null;
4084
+ /** The `Resource` that was created by this mutation. */
4085
+ resource?: Resource | null;
4086
+ resourceEdge?: ResourceEdge | null;
4087
+ }
4088
+ export type CreateResourcePayloadSelect = {
4089
+ clientMutationId?: boolean;
4090
+ resource?: {
4091
+ select: ResourceSelect;
4092
+ };
4093
+ resourceEdge?: {
4094
+ select: ResourceEdgeSelect;
4095
+ };
4096
+ };
4097
+ export interface UpdateResourcePayload {
4098
+ clientMutationId?: string | null;
4099
+ /** The `Resource` that was updated by this mutation. */
4100
+ resource?: Resource | null;
4101
+ resourceEdge?: ResourceEdge | null;
4102
+ }
4103
+ export type UpdateResourcePayloadSelect = {
4104
+ clientMutationId?: boolean;
4105
+ resource?: {
4106
+ select: ResourceSelect;
4107
+ };
4108
+ resourceEdge?: {
4109
+ select: ResourceEdgeSelect;
4110
+ };
4111
+ };
4112
+ export interface DeleteResourcePayload {
4113
+ clientMutationId?: string | null;
4114
+ /** The `Resource` that was deleted by this mutation. */
4115
+ resource?: Resource | null;
4116
+ resourceEdge?: ResourceEdge | null;
4117
+ }
4118
+ export type DeleteResourcePayloadSelect = {
4119
+ clientMutationId?: boolean;
4120
+ resource?: {
4121
+ select: ResourceSelect;
4122
+ };
4123
+ resourceEdge?: {
4124
+ select: ResourceEdgeSelect;
4125
+ };
4126
+ };
3372
4127
  export interface CreateFunctionGraphRefPayload {
3373
4128
  clientMutationId?: string | null;
3374
4129
  /** The `FunctionGraphRef` that was created by this mutation. */
@@ -3594,6 +4349,51 @@ export type DeleteOrgFunctionExecutionLogPayloadSelect = {
3594
4349
  select: OrgFunctionExecutionLogEdgeSelect;
3595
4350
  };
3596
4351
  };
4352
+ export interface CreateResourceEventPayload {
4353
+ clientMutationId?: string | null;
4354
+ /** The `ResourceEvent` that was created by this mutation. */
4355
+ resourceEvent?: ResourceEvent | null;
4356
+ resourceEventEdge?: ResourceEventEdge | null;
4357
+ }
4358
+ export type CreateResourceEventPayloadSelect = {
4359
+ clientMutationId?: boolean;
4360
+ resourceEvent?: {
4361
+ select: ResourceEventSelect;
4362
+ };
4363
+ resourceEventEdge?: {
4364
+ select: ResourceEventEdgeSelect;
4365
+ };
4366
+ };
4367
+ export interface UpdateResourceEventPayload {
4368
+ clientMutationId?: string | null;
4369
+ /** The `ResourceEvent` that was updated by this mutation. */
4370
+ resourceEvent?: ResourceEvent | null;
4371
+ resourceEventEdge?: ResourceEventEdge | null;
4372
+ }
4373
+ export type UpdateResourceEventPayloadSelect = {
4374
+ clientMutationId?: boolean;
4375
+ resourceEvent?: {
4376
+ select: ResourceEventSelect;
4377
+ };
4378
+ resourceEventEdge?: {
4379
+ select: ResourceEventEdgeSelect;
4380
+ };
4381
+ };
4382
+ export interface DeleteResourceEventPayload {
4383
+ clientMutationId?: string | null;
4384
+ /** The `ResourceEvent` that was deleted by this mutation. */
4385
+ resourceEvent?: ResourceEvent | null;
4386
+ resourceEventEdge?: ResourceEventEdge | null;
4387
+ }
4388
+ export type DeleteResourceEventPayloadSelect = {
4389
+ clientMutationId?: boolean;
4390
+ resourceEvent?: {
4391
+ select: ResourceEventSelect;
4392
+ };
4393
+ resourceEventEdge?: {
4394
+ select: ResourceEventEdgeSelect;
4395
+ };
4396
+ };
3597
4397
  export interface CreateFunctionGraphExecutionOutputPayload {
3598
4398
  clientMutationId?: string | null;
3599
4399
  /** The `FunctionGraphExecutionOutput` that was created by this mutation. */
@@ -3774,6 +4574,44 @@ export type DeleteFunctionExecutionLogPayloadSelect = {
3774
4574
  select: FunctionExecutionLogEdgeSelect;
3775
4575
  };
3776
4576
  };
4577
+ export interface CreateFunctionGraphPayload {
4578
+ clientMutationId?: string | null;
4579
+ result?: string | null;
4580
+ }
4581
+ export type CreateFunctionGraphPayloadSelect = {
4582
+ clientMutationId?: boolean;
4583
+ result?: boolean;
4584
+ };
4585
+ export interface UpdateFunctionGraphPayload {
4586
+ clientMutationId?: string | null;
4587
+ /** The `FunctionGraph` that was updated by this mutation. */
4588
+ functionGraph?: FunctionGraph | null;
4589
+ functionGraphEdge?: FunctionGraphEdge | null;
4590
+ }
4591
+ export type UpdateFunctionGraphPayloadSelect = {
4592
+ clientMutationId?: boolean;
4593
+ functionGraph?: {
4594
+ select: FunctionGraphSelect;
4595
+ };
4596
+ functionGraphEdge?: {
4597
+ select: FunctionGraphEdgeSelect;
4598
+ };
4599
+ };
4600
+ export interface DeleteFunctionGraphPayload {
4601
+ clientMutationId?: string | null;
4602
+ /** The `FunctionGraph` that was deleted by this mutation. */
4603
+ functionGraph?: FunctionGraph | null;
4604
+ functionGraphEdge?: FunctionGraphEdge | null;
4605
+ }
4606
+ export type DeleteFunctionGraphPayloadSelect = {
4607
+ clientMutationId?: boolean;
4608
+ functionGraph?: {
4609
+ select: FunctionGraphSelect;
4610
+ };
4611
+ functionGraphEdge?: {
4612
+ select: FunctionGraphEdgeSelect;
4613
+ };
4614
+ };
3777
4615
  export interface CreateFunctionGraphExecutionNodeStatePayload {
3778
4616
  clientMutationId?: string | null;
3779
4617
  /** The `FunctionGraphExecutionNodeState` that was created by this mutation. */
@@ -3819,42 +4657,49 @@ export type DeleteFunctionGraphExecutionNodeStatePayloadSelect = {
3819
4657
  select: FunctionGraphExecutionNodeStateEdgeSelect;
3820
4658
  };
3821
4659
  };
3822
- export interface CreateFunctionGraphPayload {
4660
+ export interface CreatePlatformNamespacePayload {
3823
4661
  clientMutationId?: string | null;
3824
- result?: string | null;
4662
+ /** The `PlatformNamespace` that was created by this mutation. */
4663
+ platformNamespace?: PlatformNamespace | null;
4664
+ platformNamespaceEdge?: PlatformNamespaceEdge | null;
3825
4665
  }
3826
- export type CreateFunctionGraphPayloadSelect = {
4666
+ export type CreatePlatformNamespacePayloadSelect = {
3827
4667
  clientMutationId?: boolean;
3828
- result?: boolean;
4668
+ platformNamespace?: {
4669
+ select: PlatformNamespaceSelect;
4670
+ };
4671
+ platformNamespaceEdge?: {
4672
+ select: PlatformNamespaceEdgeSelect;
4673
+ };
3829
4674
  };
3830
- export interface UpdateFunctionGraphPayload {
4675
+ export interface UpdatePlatformNamespacePayload {
3831
4676
  clientMutationId?: string | null;
3832
- /** The `FunctionGraph` that was updated by this mutation. */
3833
- functionGraph?: FunctionGraph | null;
3834
- functionGraphEdge?: FunctionGraphEdge | null;
4677
+ /** The `PlatformNamespace` that was updated by this mutation. */
4678
+ platformNamespace?: PlatformNamespace | null;
4679
+ platformNamespaceEdge?: PlatformNamespaceEdge | null;
3835
4680
  }
3836
- export type UpdateFunctionGraphPayloadSelect = {
4681
+ export type UpdatePlatformNamespacePayloadSelect = {
3837
4682
  clientMutationId?: boolean;
3838
- functionGraph?: {
3839
- select: FunctionGraphSelect;
4683
+ platformNamespace?: {
4684
+ select: PlatformNamespaceSelect;
3840
4685
  };
3841
- functionGraphEdge?: {
3842
- select: FunctionGraphEdgeSelect;
4686
+ platformNamespaceEdge?: {
4687
+ select: PlatformNamespaceEdgeSelect;
3843
4688
  };
3844
4689
  };
3845
- export interface DeleteFunctionGraphPayload {
4690
+ export interface DeletePlatformNamespacePayload {
3846
4691
  clientMutationId?: string | null;
3847
- /** The `FunctionGraph` that was deleted by this mutation. */
3848
- functionGraph?: FunctionGraph | null;
3849
- functionGraphEdge?: FunctionGraphEdge | null;
4692
+ /** The `PlatformNamespace` that was deleted by this mutation. */
4693
+ platformNamespace?: PlatformNamespace | null;
4694
+ platformNamespaceEdge?: PlatformNamespaceEdge | null;
3850
4695
  }
3851
- export type DeleteFunctionGraphPayloadSelect = {
4696
+ export type DeletePlatformNamespacePayloadSelect = {
3852
4697
  clientMutationId?: boolean;
3853
- functionGraph?: {
3854
- select: FunctionGraphSelect;
4698
+ platformNamespace?: {
4699
+ select: PlatformNamespaceSelect;
3855
4700
  };
3856
- functionGraphEdge?: {
3857
- select: FunctionGraphEdgeSelect;
4701
+ platformNamespaceEdge?: {
4702
+ select: PlatformNamespaceEdgeSelect;
3858
4703
  };
3859
4704
  };
3860
4705
  export interface CreateOrgFunctionInvocationPayload {
@@ -3947,6 +4792,51 @@ export type DeleteFunctionInvocationPayloadSelect = {
3947
4792
  select: FunctionInvocationEdgeSelect;
3948
4793
  };
3949
4794
  };
4795
+ export interface CreatePlatformNamespaceEventPayload {
4796
+ clientMutationId?: string | null;
4797
+ /** The `PlatformNamespaceEvent` that was created by this mutation. */
4798
+ platformNamespaceEvent?: PlatformNamespaceEvent | null;
4799
+ platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
4800
+ }
4801
+ export type CreatePlatformNamespaceEventPayloadSelect = {
4802
+ clientMutationId?: boolean;
4803
+ platformNamespaceEvent?: {
4804
+ select: PlatformNamespaceEventSelect;
4805
+ };
4806
+ platformNamespaceEventEdge?: {
4807
+ select: PlatformNamespaceEventEdgeSelect;
4808
+ };
4809
+ };
4810
+ export interface UpdatePlatformNamespaceEventPayload {
4811
+ clientMutationId?: string | null;
4812
+ /** The `PlatformNamespaceEvent` that was updated by this mutation. */
4813
+ platformNamespaceEvent?: PlatformNamespaceEvent | null;
4814
+ platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
4815
+ }
4816
+ export type UpdatePlatformNamespaceEventPayloadSelect = {
4817
+ clientMutationId?: boolean;
4818
+ platformNamespaceEvent?: {
4819
+ select: PlatformNamespaceEventSelect;
4820
+ };
4821
+ platformNamespaceEventEdge?: {
4822
+ select: PlatformNamespaceEventEdgeSelect;
4823
+ };
4824
+ };
4825
+ export interface DeletePlatformNamespaceEventPayload {
4826
+ clientMutationId?: string | null;
4827
+ /** The `PlatformNamespaceEvent` that was deleted by this mutation. */
4828
+ platformNamespaceEvent?: PlatformNamespaceEvent | null;
4829
+ platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
4830
+ }
4831
+ export type DeletePlatformNamespaceEventPayloadSelect = {
4832
+ clientMutationId?: boolean;
4833
+ platformNamespaceEvent?: {
4834
+ select: PlatformNamespaceEventSelect;
4835
+ };
4836
+ platformNamespaceEventEdge?: {
4837
+ select: PlatformNamespaceEventEdgeSelect;
4838
+ };
4839
+ };
3950
4840
  export interface CreateFunctionGraphExecutionPayload {
3951
4841
  clientMutationId?: string | null;
3952
4842
  /** The `FunctionGraphExecution` that was created by this mutation. */
@@ -4061,6 +4951,18 @@ export type FunctionDeploymentEdgeSelect = {
4061
4951
  select: FunctionDeploymentSelect;
4062
4952
  };
4063
4953
  };
4954
+ /** A `Resource` edge in the connection. */
4955
+ export interface ResourceEdge {
4956
+ cursor?: string | null;
4957
+ /** The `Resource` at the end of the edge. */
4958
+ node?: Resource | null;
4959
+ }
4960
+ export type ResourceEdgeSelect = {
4961
+ cursor?: boolean;
4962
+ node?: {
4963
+ select: ResourceSelect;
4964
+ };
4965
+ };
4064
4966
  /** A `FunctionGraphRef` edge in the connection. */
4065
4967
  export interface FunctionGraphRefEdge {
4066
4968
  cursor?: string | null;
@@ -4121,6 +5023,18 @@ export type OrgFunctionExecutionLogEdgeSelect = {
4121
5023
  select: OrgFunctionExecutionLogSelect;
4122
5024
  };
4123
5025
  };
5026
+ /** A `ResourceEvent` edge in the connection. */
5027
+ export interface ResourceEventEdge {
5028
+ cursor?: string | null;
5029
+ /** The `ResourceEvent` at the end of the edge. */
5030
+ node?: ResourceEvent | null;
5031
+ }
5032
+ export type ResourceEventEdgeSelect = {
5033
+ cursor?: boolean;
5034
+ node?: {
5035
+ select: ResourceEventSelect;
5036
+ };
5037
+ };
4124
5038
  /** A `FunctionGraphExecutionOutput` edge in the connection. */
4125
5039
  export interface FunctionGraphExecutionOutputEdge {
4126
5040
  cursor?: string | null;
@@ -4169,6 +5083,18 @@ export type FunctionExecutionLogEdgeSelect = {
4169
5083
  select: FunctionExecutionLogSelect;
4170
5084
  };
4171
5085
  };
5086
+ /** A `FunctionGraph` edge in the connection. */
5087
+ export interface FunctionGraphEdge {
5088
+ cursor?: string | null;
5089
+ /** The `FunctionGraph` at the end of the edge. */
5090
+ node?: FunctionGraph | null;
5091
+ }
5092
+ export type FunctionGraphEdgeSelect = {
5093
+ cursor?: boolean;
5094
+ node?: {
5095
+ select: FunctionGraphSelect;
5096
+ };
5097
+ };
4172
5098
  /** A `FunctionGraphExecutionNodeState` edge in the connection. */
4173
5099
  export interface FunctionGraphExecutionNodeStateEdge {
4174
5100
  cursor?: string | null;
@@ -4181,16 +5107,16 @@ export type FunctionGraphExecutionNodeStateEdgeSelect = {
4181
5107
  select: FunctionGraphExecutionNodeStateSelect;
4182
5108
  };
4183
5109
  };
4184
- /** A `FunctionGraph` edge in the connection. */
4185
- export interface FunctionGraphEdge {
5110
+ /** A `PlatformNamespace` edge in the connection. */
5111
+ export interface PlatformNamespaceEdge {
4186
5112
  cursor?: string | null;
4187
- /** The `FunctionGraph` at the end of the edge. */
4188
- node?: FunctionGraph | null;
5113
+ /** The `PlatformNamespace` at the end of the edge. */
5114
+ node?: PlatformNamespace | null;
4189
5115
  }
4190
- export type FunctionGraphEdgeSelect = {
5116
+ export type PlatformNamespaceEdgeSelect = {
4191
5117
  cursor?: boolean;
4192
5118
  node?: {
4193
- select: FunctionGraphSelect;
5119
+ select: PlatformNamespaceSelect;
4194
5120
  };
4195
5121
  };
4196
5122
  /** A `OrgFunctionInvocation` edge in the connection. */
@@ -4217,6 +5143,18 @@ export type FunctionInvocationEdgeSelect = {
4217
5143
  select: FunctionInvocationSelect;
4218
5144
  };
4219
5145
  };
5146
+ /** A `PlatformNamespaceEvent` edge in the connection. */
5147
+ export interface PlatformNamespaceEventEdge {
5148
+ cursor?: string | null;
5149
+ /** The `PlatformNamespaceEvent` at the end of the edge. */
5150
+ node?: PlatformNamespaceEvent | null;
5151
+ }
5152
+ export type PlatformNamespaceEventEdgeSelect = {
5153
+ cursor?: boolean;
5154
+ node?: {
5155
+ select: PlatformNamespaceEventSelect;
5156
+ };
5157
+ };
4220
5158
  /** A `FunctionGraphExecution` edge in the connection. */
4221
5159
  export interface FunctionGraphExecutionEdge {
4222
5160
  cursor?: string | null;