@constructive-io/react 1.21.34 → 1.21.35

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 (729) hide show
  1. package/admin/hooks/mutations/index.d.ts +0 -4
  2. package/admin/hooks/mutations/index.js +0 -4
  3. package/admin/orm/input-types.d.ts +32 -32
  4. package/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
  5. package/admin/orm/models/myPendingAppInvitesRecord.js +0 -11
  6. package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
  7. package/admin/orm/models/myPendingOrgInvitesRecord.js +0 -11
  8. package/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
  9. package/admin/orm/models/orgGetManagersRecord.js +0 -11
  10. package/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
  11. package/admin/orm/models/orgGetSubordinatesRecord.js +0 -11
  12. package/admin/orm/query-builder.js +1 -3
  13. package/admin/orm/select-types.d.ts +1 -1
  14. package/admin/schema-types.d.ts +54 -19
  15. package/admin/types.d.ts +3 -0
  16. package/agent/orm/input-types.d.ts +36 -8
  17. package/agent/orm/query-builder.js +1 -3
  18. package/agent/orm/select-types.d.ts +1 -1
  19. package/agent/schema-types.d.ts +76 -29
  20. package/agent/types.d.ts +4 -0
  21. package/api/hooks/index.d.ts +1 -1
  22. package/api/hooks/index.js +1 -1
  23. package/api/hooks/invalidation.d.ts +6 -0
  24. package/api/hooks/invalidation.js +16 -0
  25. package/api/hooks/mutation-keys.d.ts +12 -0
  26. package/api/hooks/mutation-keys.js +12 -2
  27. package/api/hooks/mutations/index.d.ts +3 -5
  28. package/api/hooks/mutations/index.js +3 -5
  29. package/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
  30. package/{admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +6 -6
  31. package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
  32. package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js +39 -0
  33. package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
  34. package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js +40 -0
  35. package/api/hooks/queries/index.d.ts +2 -4
  36. package/api/hooks/queries/index.js +2 -4
  37. package/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
  38. package/api/hooks/queries/usePlatformReservedSubdomainQuery.js +53 -0
  39. package/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
  40. package/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +38 -0
  41. package/api/hooks/query-keys.d.ts +14 -8
  42. package/api/hooks/query-keys.js +10 -6
  43. package/api/orm/index.d.ts +2 -20
  44. package/api/orm/index.js +2 -0
  45. package/api/orm/input-types.d.ts +281 -159
  46. package/api/orm/models/astMigration.d.ts +2 -9
  47. package/api/orm/models/astMigration.js +0 -11
  48. package/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
  49. package/api/orm/models/getSitePreviewsRecord.js +0 -11
  50. package/api/orm/models/index.d.ts +1 -0
  51. package/api/orm/models/index.js +4 -2
  52. package/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
  53. package/api/orm/models/listSuspendedDatabasesRecord.js +0 -11
  54. package/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
  55. package/api/orm/models/platformGetSitePreviewsRecord.js +0 -11
  56. package/api/orm/models/platformReservedSubdomain.d.ts +54 -0
  57. package/api/orm/models/platformReservedSubdomain.js +104 -0
  58. package/api/orm/models/sqlAction.d.ts +2 -9
  59. package/api/orm/models/sqlAction.js +0 -11
  60. package/api/orm/query/index.d.ts +0 -37
  61. package/api/orm/query/index.js +0 -60
  62. package/api/orm/query-builder.js +1 -3
  63. package/api/orm/select-types.d.ts +1 -1
  64. package/api/schema-types.d.ts +161 -88
  65. package/api/types.d.ts +29 -5
  66. package/auth/hooks/mutation-keys.d.ts +8 -0
  67. package/auth/hooks/mutation-keys.js +12 -0
  68. package/auth/hooks/mutations/index.d.ts +4 -6
  69. package/auth/hooks/mutations/index.js +4 -6
  70. package/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
  71. package/auth/hooks/mutations/useCreatePrincipalMutation.js +4 -12
  72. package/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
  73. package/{config/hooks/mutations/useCreateSecretMutation.js → auth/hooks/mutations/useEnsureAuthCsrfMutation.js} +6 -14
  74. package/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
  75. package/{api/hooks/mutations/useCreateSqlActionMutation.js → auth/hooks/mutations/useExchangeNativeHandoffMutation.js} +6 -14
  76. package/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
  77. package/{api/hooks/mutations/useCreateAstMigrationMutation.js → auth/hooks/mutations/useRequestDeviceApprovalMutation.js} +6 -14
  78. package/auth/hooks/queries/index.d.ts +1 -0
  79. package/auth/hooks/queries/index.js +1 -0
  80. package/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
  81. package/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +15 -19
  82. package/auth/hooks/query-keys.d.ts +2 -0
  83. package/auth/hooks/query-keys.js +1 -0
  84. package/auth/orm/index.d.ts +25 -0
  85. package/auth/orm/input-types.d.ts +159 -78
  86. package/auth/orm/models/identityProvider.d.ts +2 -9
  87. package/auth/orm/models/identityProvider.js +0 -11
  88. package/auth/orm/models/orgApiKeyList.d.ts +2 -9
  89. package/auth/orm/models/orgApiKeyList.js +0 -11
  90. package/auth/orm/models/principal.d.ts +2 -9
  91. package/auth/orm/models/principal.js +0 -11
  92. package/auth/orm/models/principalEntity.d.ts +2 -9
  93. package/auth/orm/models/principalEntity.js +0 -11
  94. package/auth/orm/models/principalScopeOverride.d.ts +2 -9
  95. package/auth/orm/models/principalScopeOverride.js +0 -11
  96. package/auth/orm/models/userConnectedAccount.d.ts +2 -9
  97. package/auth/orm/models/userConnectedAccount.js +0 -11
  98. package/auth/orm/mutation/index.d.ts +37 -1
  99. package/auth/orm/mutation/index.js +48 -0
  100. package/auth/orm/query/index.d.ts +6 -1
  101. package/auth/orm/query/index.js +7 -0
  102. package/auth/orm/query-builder.js +1 -3
  103. package/auth/orm/select-types.d.ts +1 -1
  104. package/auth/schema-types.d.ts +119 -20
  105. package/auth/types.d.ts +3 -0
  106. package/compute/hooks/index.d.ts +1 -1
  107. package/compute/hooks/index.js +1 -1
  108. package/compute/hooks/invalidation.d.ts +12 -12
  109. package/compute/hooks/invalidation.js +32 -32
  110. package/compute/hooks/mutation-keys.d.ts +26 -24
  111. package/compute/hooks/mutation-keys.js +23 -20
  112. package/compute/hooks/mutations/index.d.ts +7 -24
  113. package/compute/hooks/mutations/index.js +7 -24
  114. package/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
  115. package/compute/hooks/mutations/useCreateFunctionGraphMutation.js +4 -12
  116. package/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
  117. package/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +6 -6
  118. package/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
  119. package/compute/hooks/mutations/{useCreateBuilderBindingMutation.js → useCreateServiceBindingMutation.js} +6 -6
  120. package/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
  121. package/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +7 -7
  122. package/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
  123. package/compute/hooks/mutations/{useDeleteBuilderBindingMutation.js → useDeleteServiceBindingMutation.js} +7 -7
  124. package/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
  125. package/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +9 -9
  126. package/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
  127. package/compute/hooks/mutations/{useUpdateBuilderBindingMutation.js → useUpdateServiceBindingMutation.js} +9 -9
  128. package/compute/hooks/queries/index.d.ts +4 -4
  129. package/compute/hooks/queries/index.js +4 -4
  130. package/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
  131. package/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +14 -14
  132. package/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
  133. package/compute/hooks/queries/usePlatformServiceBindingsQuery.js +38 -0
  134. package/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
  135. package/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +14 -14
  136. package/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
  137. package/compute/hooks/queries/{useBuilderBindingsQuery.js → useServiceBindingsQuery.js} +14 -14
  138. package/compute/hooks/query-keys.d.ts +28 -28
  139. package/compute/hooks/query-keys.js +19 -19
  140. package/compute/orm/index.d.ts +9 -4
  141. package/compute/orm/index.js +4 -4
  142. package/compute/orm/input-types.d.ts +965 -1025
  143. package/compute/orm/input-types.js +8 -8
  144. package/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
  145. package/compute/orm/models/databaseFunctionGraph.js +0 -11
  146. package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
  147. package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +0 -11
  148. package/compute/orm/models/functionGraph.d.ts +2 -9
  149. package/compute/orm/models/functionGraph.js +0 -11
  150. package/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
  151. package/compute/orm/models/getAllTreeNodesRecord.js +0 -11
  152. package/compute/orm/models/index.d.ts +2 -2
  153. package/compute/orm/models/index.js +7 -7
  154. package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
  155. package/compute/orm/models/infraGetAllTreeNodesRecord.js +0 -11
  156. package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
  157. package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
  158. package/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
  159. package/compute/orm/models/platformResourceDeclaredCapacity.js +0 -11
  160. package/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
  161. package/compute/orm/models/platformResourceObservedStorage.js +0 -11
  162. package/compute/orm/models/platformResourceUtilization.d.ts +2 -9
  163. package/compute/orm/models/platformResourceUtilization.js +0 -11
  164. package/compute/orm/models/platformResourcesHealth.d.ts +2 -9
  165. package/compute/orm/models/platformResourcesHealth.js +0 -11
  166. package/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
  167. package/compute/orm/models/platformResourcesRequirementsState.js +0 -11
  168. package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
  169. package/compute/orm/models/platformResourcesResolvedRequirement.js +0 -11
  170. package/compute/orm/models/platformServiceBinding.d.ts +54 -0
  171. package/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +27 -27
  172. package/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
  173. package/compute/orm/models/resourceDeclaredCapacity.js +0 -11
  174. package/compute/orm/models/resourceObservedStorage.d.ts +2 -9
  175. package/compute/orm/models/resourceObservedStorage.js +0 -11
  176. package/compute/orm/models/resourceUtilization.d.ts +2 -9
  177. package/compute/orm/models/resourceUtilization.js +0 -11
  178. package/compute/orm/models/resourcesHealth.d.ts +2 -9
  179. package/compute/orm/models/resourcesHealth.js +0 -11
  180. package/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
  181. package/compute/orm/models/resourcesRequirementsState.js +0 -11
  182. package/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
  183. package/compute/orm/models/resourcesResolvedRequirement.js +0 -11
  184. package/compute/orm/models/serviceBinding.d.ts +54 -0
  185. package/compute/orm/models/{builderBinding.js → serviceBinding.js} +27 -27
  186. package/compute/orm/mutation/index.d.ts +9 -1
  187. package/compute/orm/mutation/index.js +12 -0
  188. package/compute/orm/query-builder.js +1 -3
  189. package/compute/orm/select-types.d.ts +1 -1
  190. package/compute/schema-types.d.ts +467 -386
  191. package/compute/types.d.ts +60 -33
  192. package/config/hooks/mutations/index.d.ts +0 -5
  193. package/config/hooks/mutations/index.js +0 -5
  194. package/config/orm/input-types.d.ts +0 -66
  195. package/config/orm/models/appInternalSecret.d.ts +2 -9
  196. package/config/orm/models/appInternalSecret.js +0 -11
  197. package/config/orm/models/internalSecret.d.ts +2 -9
  198. package/config/orm/models/internalSecret.js +0 -11
  199. package/config/orm/models/platformInternalSecret.d.ts +2 -9
  200. package/config/orm/models/platformInternalSecret.js +0 -11
  201. package/config/orm/models/platformSecret.d.ts +2 -9
  202. package/config/orm/models/platformSecret.js +0 -11
  203. package/config/orm/models/secret.d.ts +2 -9
  204. package/config/orm/models/secret.js +0 -11
  205. package/config/orm/query-builder.js +1 -3
  206. package/config/orm/select-types.d.ts +1 -1
  207. package/config/schema-types.d.ts +54 -17
  208. package/esm/admin/hooks/mutations/index.d.ts +0 -4
  209. package/esm/admin/hooks/mutations/index.js +0 -4
  210. package/esm/admin/orm/input-types.d.ts +32 -32
  211. package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
  212. package/esm/admin/orm/models/myPendingAppInvitesRecord.js +1 -12
  213. package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
  214. package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +1 -12
  215. package/esm/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
  216. package/esm/admin/orm/models/orgGetManagersRecord.js +1 -12
  217. package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
  218. package/esm/admin/orm/models/orgGetSubordinatesRecord.js +1 -12
  219. package/esm/admin/orm/query-builder.js +1 -3
  220. package/esm/admin/orm/select-types.d.ts +1 -1
  221. package/esm/admin/schema-types.d.ts +54 -19
  222. package/esm/admin/types.d.ts +3 -0
  223. package/esm/agent/orm/input-types.d.ts +36 -8
  224. package/esm/agent/orm/query-builder.js +1 -3
  225. package/esm/agent/orm/select-types.d.ts +1 -1
  226. package/esm/agent/schema-types.d.ts +76 -29
  227. package/esm/agent/types.d.ts +4 -0
  228. package/esm/api/hooks/index.d.ts +1 -1
  229. package/esm/api/hooks/index.js +1 -1
  230. package/esm/api/hooks/invalidation.d.ts +6 -0
  231. package/esm/api/hooks/invalidation.js +17 -1
  232. package/esm/api/hooks/mutation-keys.d.ts +12 -0
  233. package/esm/api/hooks/mutation-keys.js +10 -0
  234. package/esm/api/hooks/mutations/index.d.ts +3 -5
  235. package/esm/api/hooks/mutations/index.js +3 -5
  236. package/esm/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
  237. package/esm/{admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +7 -7
  238. package/esm/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
  239. package/esm/{compute/hooks/mutations/useDeleteBuilderBindingMutation.js → api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js} +8 -8
  240. package/esm/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
  241. package/esm/{compute/hooks/mutations/useUpdateBuilderBindingMutation.js → api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js} +10 -10
  242. package/esm/api/hooks/queries/index.d.ts +2 -4
  243. package/esm/api/hooks/queries/index.js +2 -4
  244. package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
  245. package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.js +47 -0
  246. package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
  247. package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +32 -0
  248. package/esm/api/hooks/query-keys.d.ts +14 -8
  249. package/esm/api/hooks/query-keys.js +8 -4
  250. package/esm/api/orm/index.d.ts +2 -20
  251. package/esm/api/orm/index.js +2 -0
  252. package/esm/api/orm/input-types.d.ts +281 -159
  253. package/esm/api/orm/models/astMigration.d.ts +2 -9
  254. package/esm/api/orm/models/astMigration.js +1 -12
  255. package/esm/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
  256. package/esm/api/orm/models/getSitePreviewsRecord.js +1 -12
  257. package/esm/api/orm/models/index.d.ts +1 -0
  258. package/esm/api/orm/models/index.js +1 -0
  259. package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
  260. package/esm/api/orm/models/listSuspendedDatabasesRecord.js +1 -12
  261. package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
  262. package/esm/api/orm/models/platformGetSitePreviewsRecord.js +1 -12
  263. package/esm/api/orm/models/platformReservedSubdomain.d.ts +54 -0
  264. package/esm/api/orm/models/platformReservedSubdomain.js +100 -0
  265. package/esm/api/orm/models/sqlAction.d.ts +2 -9
  266. package/esm/api/orm/models/sqlAction.js +1 -12
  267. package/esm/api/orm/query/index.d.ts +0 -37
  268. package/esm/api/orm/query/index.js +0 -60
  269. package/esm/api/orm/query-builder.js +1 -3
  270. package/esm/api/orm/select-types.d.ts +1 -1
  271. package/esm/api/schema-types.d.ts +161 -88
  272. package/esm/api/types.d.ts +29 -5
  273. package/esm/auth/hooks/mutation-keys.d.ts +8 -0
  274. package/esm/auth/hooks/mutation-keys.js +12 -0
  275. package/esm/auth/hooks/mutations/index.d.ts +4 -6
  276. package/esm/auth/hooks/mutations/index.js +4 -6
  277. package/esm/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
  278. package/esm/auth/hooks/mutations/useCreatePrincipalMutation.js +6 -14
  279. package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
  280. package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.js +23 -0
  281. package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
  282. package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.js +23 -0
  283. package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
  284. package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.js +23 -0
  285. package/esm/auth/hooks/queries/index.d.ts +1 -0
  286. package/esm/auth/hooks/queries/index.js +1 -0
  287. package/esm/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
  288. package/esm/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +11 -15
  289. package/esm/auth/hooks/query-keys.d.ts +2 -0
  290. package/esm/auth/hooks/query-keys.js +1 -0
  291. package/esm/auth/orm/index.d.ts +25 -0
  292. package/esm/auth/orm/input-types.d.ts +159 -78
  293. package/esm/auth/orm/models/identityProvider.d.ts +2 -9
  294. package/esm/auth/orm/models/identityProvider.js +1 -12
  295. package/esm/auth/orm/models/orgApiKeyList.d.ts +2 -9
  296. package/esm/auth/orm/models/orgApiKeyList.js +1 -12
  297. package/esm/auth/orm/models/principal.d.ts +2 -9
  298. package/esm/auth/orm/models/principal.js +1 -12
  299. package/esm/auth/orm/models/principalEntity.d.ts +2 -9
  300. package/esm/auth/orm/models/principalEntity.js +1 -12
  301. package/esm/auth/orm/models/principalScopeOverride.d.ts +2 -9
  302. package/esm/auth/orm/models/principalScopeOverride.js +1 -12
  303. package/esm/auth/orm/models/userConnectedAccount.d.ts +2 -9
  304. package/esm/auth/orm/models/userConnectedAccount.js +1 -12
  305. package/esm/auth/orm/mutation/index.d.ts +37 -1
  306. package/esm/auth/orm/mutation/index.js +48 -0
  307. package/esm/auth/orm/query/index.d.ts +6 -1
  308. package/esm/auth/orm/query/index.js +7 -0
  309. package/esm/auth/orm/query-builder.js +1 -3
  310. package/esm/auth/orm/select-types.d.ts +1 -1
  311. package/esm/auth/schema-types.d.ts +119 -20
  312. package/esm/auth/types.d.ts +3 -0
  313. package/esm/compute/hooks/index.d.ts +1 -1
  314. package/esm/compute/hooks/index.js +1 -1
  315. package/esm/compute/hooks/invalidation.d.ts +12 -12
  316. package/esm/compute/hooks/invalidation.js +33 -33
  317. package/esm/compute/hooks/mutation-keys.d.ts +26 -24
  318. package/esm/compute/hooks/mutation-keys.js +20 -17
  319. package/esm/compute/hooks/mutations/index.d.ts +7 -24
  320. package/esm/compute/hooks/mutations/index.js +7 -24
  321. package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
  322. package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.js +6 -14
  323. package/esm/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
  324. package/esm/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +7 -7
  325. package/esm/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
  326. package/esm/{api/hooks/mutations/useCreateSqlActionMutation.js → compute/hooks/mutations/useCreateServiceBindingMutation.js} +7 -7
  327. package/esm/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
  328. package/esm/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +8 -8
  329. package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
  330. package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.js +36 -0
  331. package/esm/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
  332. package/esm/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +10 -10
  333. package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
  334. package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.js +37 -0
  335. package/esm/compute/hooks/queries/index.d.ts +4 -4
  336. package/esm/compute/hooks/queries/index.js +4 -4
  337. package/esm/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
  338. package/esm/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +11 -11
  339. package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
  340. package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.js +32 -0
  341. package/esm/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
  342. package/esm/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +11 -11
  343. package/esm/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
  344. package/esm/compute/hooks/queries/useServiceBindingsQuery.js +32 -0
  345. package/esm/compute/hooks/query-keys.d.ts +28 -28
  346. package/esm/compute/hooks/query-keys.js +16 -16
  347. package/esm/compute/orm/index.d.ts +9 -4
  348. package/esm/compute/orm/index.js +4 -4
  349. package/esm/compute/orm/input-types.d.ts +965 -1025
  350. package/esm/compute/orm/input-types.js +8 -8
  351. package/esm/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
  352. package/esm/compute/orm/models/databaseFunctionGraph.js +1 -12
  353. package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
  354. package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +1 -12
  355. package/esm/compute/orm/models/functionGraph.d.ts +2 -9
  356. package/esm/compute/orm/models/functionGraph.js +1 -12
  357. package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
  358. package/esm/compute/orm/models/getAllTreeNodesRecord.js +1 -12
  359. package/esm/compute/orm/models/index.d.ts +2 -2
  360. package/esm/compute/orm/models/index.js +2 -2
  361. package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
  362. package/esm/compute/orm/models/infraGetAllTreeNodesRecord.js +1 -12
  363. package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
  364. package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
  365. package/esm/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
  366. package/esm/compute/orm/models/platformResourceDeclaredCapacity.js +1 -12
  367. package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
  368. package/esm/compute/orm/models/platformResourceObservedStorage.js +1 -12
  369. package/esm/compute/orm/models/platformResourceUtilization.d.ts +2 -9
  370. package/esm/compute/orm/models/platformResourceUtilization.js +1 -12
  371. package/esm/compute/orm/models/platformResourcesHealth.d.ts +2 -9
  372. package/esm/compute/orm/models/platformResourcesHealth.js +1 -12
  373. package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
  374. package/esm/compute/orm/models/platformResourcesRequirementsState.js +1 -12
  375. package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
  376. package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +1 -12
  377. package/esm/compute/orm/models/platformServiceBinding.d.ts +54 -0
  378. package/esm/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +25 -25
  379. package/esm/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
  380. package/esm/compute/orm/models/resourceDeclaredCapacity.js +1 -12
  381. package/esm/compute/orm/models/resourceObservedStorage.d.ts +2 -9
  382. package/esm/compute/orm/models/resourceObservedStorage.js +1 -12
  383. package/esm/compute/orm/models/resourceUtilization.d.ts +2 -9
  384. package/esm/compute/orm/models/resourceUtilization.js +1 -12
  385. package/esm/compute/orm/models/resourcesHealth.d.ts +2 -9
  386. package/esm/compute/orm/models/resourcesHealth.js +1 -12
  387. package/esm/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
  388. package/esm/compute/orm/models/resourcesRequirementsState.js +1 -12
  389. package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
  390. package/esm/compute/orm/models/resourcesResolvedRequirement.js +1 -12
  391. package/esm/compute/orm/models/serviceBinding.d.ts +54 -0
  392. package/esm/compute/orm/models/{builderBinding.js → serviceBinding.js} +25 -25
  393. package/esm/compute/orm/mutation/index.d.ts +9 -1
  394. package/esm/compute/orm/mutation/index.js +12 -0
  395. package/esm/compute/orm/query-builder.js +1 -3
  396. package/esm/compute/orm/select-types.d.ts +1 -1
  397. package/esm/compute/schema-types.d.ts +467 -386
  398. package/esm/compute/types.d.ts +60 -33
  399. package/esm/config/hooks/mutations/index.d.ts +0 -5
  400. package/esm/config/hooks/mutations/index.js +0 -5
  401. package/esm/config/orm/input-types.d.ts +0 -66
  402. package/esm/config/orm/models/appInternalSecret.d.ts +2 -9
  403. package/esm/config/orm/models/appInternalSecret.js +1 -12
  404. package/esm/config/orm/models/internalSecret.d.ts +2 -9
  405. package/esm/config/orm/models/internalSecret.js +1 -12
  406. package/esm/config/orm/models/platformInternalSecret.d.ts +2 -9
  407. package/esm/config/orm/models/platformInternalSecret.js +1 -12
  408. package/esm/config/orm/models/platformSecret.d.ts +2 -9
  409. package/esm/config/orm/models/platformSecret.js +1 -12
  410. package/esm/config/orm/models/secret.d.ts +2 -9
  411. package/esm/config/orm/models/secret.js +1 -12
  412. package/esm/config/orm/query-builder.js +1 -3
  413. package/esm/config/orm/select-types.d.ts +1 -1
  414. package/esm/config/schema-types.d.ts +54 -17
  415. package/esm/infra/hooks/mutations/index.d.ts +0 -1
  416. package/esm/infra/hooks/mutations/index.js +0 -1
  417. package/esm/infra/orm/input-types.d.ts +0 -7
  418. package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
  419. package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
  420. package/esm/infra/orm/query-builder.js +1 -3
  421. package/esm/infra/orm/select-types.d.ts +1 -1
  422. package/esm/infra/schema-types.d.ts +54 -17
  423. package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
  424. package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
  425. package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
  426. package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
  427. package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
  428. package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
  429. package/esm/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
  430. package/esm/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
  431. package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
  432. package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
  433. package/esm/modules/orm/input-types.d.ts +95 -38
  434. package/esm/modules/orm/mutation/index.d.ts +1 -1
  435. package/esm/modules/orm/query-builder.js +1 -3
  436. package/esm/modules/orm/select-types.d.ts +1 -1
  437. package/esm/modules/schema-types.d.ts +104 -39
  438. package/esm/modules/types.d.ts +10 -3
  439. package/esm/objects/hooks/mutations/index.d.ts +0 -1
  440. package/esm/objects/hooks/mutations/index.js +0 -1
  441. package/esm/objects/orm/input-types.d.ts +0 -7
  442. package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
  443. package/esm/objects/orm/models/getAllTreeNodesRecord.js +1 -12
  444. package/esm/objects/orm/query-builder.js +1 -3
  445. package/esm/objects/orm/select-types.d.ts +1 -1
  446. package/esm/objects/schema-types.d.ts +54 -17
  447. package/esm/remote/hooks/queries/index.d.ts +1 -0
  448. package/esm/remote/hooks/queries/index.js +1 -0
  449. package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
  450. package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.js +43 -0
  451. package/esm/remote/hooks/query-keys.d.ts +6 -0
  452. package/esm/remote/hooks/query-keys.js +7 -0
  453. package/esm/remote/orm/index.d.ts +8 -0
  454. package/esm/remote/orm/index.js +3 -0
  455. package/esm/remote/orm/query/index.d.ts +14 -0
  456. package/esm/remote/orm/query/index.js +13 -0
  457. package/esm/remote/orm/query-builder.js +1 -3
  458. package/esm/remote/orm/select-types.d.ts +1 -1
  459. package/esm/remote/schema-types.d.ts +54 -17
  460. package/esm/storage/hooks/mutations/index.d.ts +0 -2
  461. package/esm/storage/hooks/mutations/index.js +0 -2
  462. package/esm/storage/orm/input-types.d.ts +84 -139
  463. package/esm/storage/orm/models/file.d.ts +2 -9
  464. package/esm/storage/orm/models/file.js +1 -12
  465. package/esm/storage/orm/models/platformFile.d.ts +2 -9
  466. package/esm/storage/orm/models/platformFile.js +1 -12
  467. package/esm/storage/orm/query-builder.js +1 -3
  468. package/esm/storage/orm/select-types.d.ts +1 -1
  469. package/esm/storage/schema-types.d.ts +79 -112
  470. package/esm/storage/types.d.ts +7 -0
  471. package/esm/usage/orm/query-builder.js +1 -3
  472. package/esm/usage/orm/select-types.d.ts +1 -1
  473. package/esm/usage/schema-types.d.ts +54 -17
  474. package/infra/hooks/mutations/index.d.ts +0 -1
  475. package/infra/hooks/mutations/index.js +0 -1
  476. package/infra/orm/input-types.d.ts +0 -7
  477. package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
  478. package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
  479. package/infra/orm/query-builder.js +1 -3
  480. package/infra/orm/select-types.d.ts +1 -1
  481. package/infra/schema-types.d.ts +54 -17
  482. package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
  483. package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
  484. package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
  485. package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
  486. package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
  487. package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
  488. package/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
  489. package/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
  490. package/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
  491. package/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
  492. package/modules/orm/input-types.d.ts +95 -38
  493. package/modules/orm/mutation/index.d.ts +1 -1
  494. package/modules/orm/query-builder.js +1 -3
  495. package/modules/orm/select-types.d.ts +1 -1
  496. package/modules/schema-types.d.ts +104 -39
  497. package/modules/types.d.ts +10 -3
  498. package/objects/hooks/mutations/index.d.ts +0 -1
  499. package/objects/hooks/mutations/index.js +0 -1
  500. package/objects/orm/input-types.d.ts +0 -7
  501. package/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
  502. package/objects/orm/models/getAllTreeNodesRecord.js +0 -11
  503. package/objects/orm/query-builder.js +1 -3
  504. package/objects/orm/select-types.d.ts +1 -1
  505. package/objects/schema-types.d.ts +54 -17
  506. package/package.json +5 -5
  507. package/remote/hooks/queries/index.d.ts +1 -0
  508. package/remote/hooks/queries/index.js +1 -0
  509. package/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
  510. package/remote/hooks/queries/useCurrentDatabaseIdQuery.js +49 -0
  511. package/remote/hooks/query-keys.d.ts +6 -0
  512. package/remote/hooks/query-keys.js +8 -1
  513. package/remote/orm/index.d.ts +8 -0
  514. package/remote/orm/index.js +5 -1
  515. package/remote/orm/query/index.d.ts +14 -0
  516. package/remote/orm/query/index.js +16 -0
  517. package/remote/orm/query-builder.js +1 -3
  518. package/remote/orm/select-types.d.ts +1 -1
  519. package/remote/schema-types.d.ts +54 -17
  520. package/storage/hooks/mutations/index.d.ts +0 -2
  521. package/storage/hooks/mutations/index.js +0 -2
  522. package/storage/orm/input-types.d.ts +84 -139
  523. package/storage/orm/models/file.d.ts +2 -9
  524. package/storage/orm/models/file.js +0 -11
  525. package/storage/orm/models/platformFile.d.ts +2 -9
  526. package/storage/orm/models/platformFile.js +0 -11
  527. package/storage/orm/query-builder.js +1 -3
  528. package/storage/orm/select-types.d.ts +1 -1
  529. package/storage/schema-types.d.ts +79 -112
  530. package/storage/types.d.ts +7 -0
  531. package/usage/orm/query-builder.js +1 -3
  532. package/usage/orm/select-types.d.ts +1 -1
  533. package/usage/schema-types.d.ts +54 -17
  534. package/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
  535. package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
  536. package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js +0 -34
  537. package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
  538. package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -34
  539. package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
  540. package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -34
  541. package/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
  542. package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
  543. package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -34
  544. package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
  545. package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -34
  546. package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
  547. package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -34
  548. package/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
  549. package/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
  550. package/api/hooks/queries/useApiSchemaNamesQuery.js +0 -53
  551. package/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
  552. package/api/hooks/queries/useResolveDeepLinkQuery.js +0 -53
  553. package/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
  554. package/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
  555. package/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -53
  556. package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
  557. package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -34
  558. package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
  559. package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -34
  560. package/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
  561. package/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -34
  562. package/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
  563. package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
  564. package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -34
  565. package/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
  566. package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
  567. package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -34
  568. package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
  569. package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -34
  570. package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
  571. package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
  572. package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  573. package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -34
  574. package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
  575. package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -34
  576. package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  577. package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
  578. package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
  579. package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -34
  580. package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
  581. package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -34
  582. package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
  583. package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -34
  584. package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
  585. package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -34
  586. package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
  587. package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -34
  588. package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
  589. package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -34
  590. package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
  591. package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -34
  592. package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
  593. package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -34
  594. package/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
  595. package/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -34
  596. package/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
  597. package/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -34
  598. package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
  599. package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -34
  600. package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
  601. package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -34
  602. package/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
  603. package/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
  604. package/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
  605. package/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
  606. package/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
  607. package/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
  608. package/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
  609. package/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
  610. package/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -38
  611. package/compute/orm/models/builderBinding.d.ts +0 -54
  612. package/compute/orm/models/platformBuilderBinding.d.ts +0 -54
  613. package/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
  614. package/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -34
  615. package/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
  616. package/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -34
  617. package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
  618. package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -34
  619. package/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
  620. package/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -34
  621. package/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
  622. package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
  623. package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js +0 -31
  624. package/esm/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
  625. package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
  626. package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -31
  627. package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
  628. package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -31
  629. package/esm/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
  630. package/esm/api/hooks/mutations/useCreateAstMigrationMutation.js +0 -31
  631. package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
  632. package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -31
  633. package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
  634. package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -31
  635. package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
  636. package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -31
  637. package/esm/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
  638. package/esm/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
  639. package/esm/api/hooks/queries/useApiSchemaNamesQuery.js +0 -47
  640. package/esm/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
  641. package/esm/api/hooks/queries/useResolveDeepLinkQuery.js +0 -47
  642. package/esm/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
  643. package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
  644. package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -47
  645. package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
  646. package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -31
  647. package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
  648. package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -31
  649. package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
  650. package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -31
  651. package/esm/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
  652. package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
  653. package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -31
  654. package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
  655. package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.js +0 -31
  656. package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
  657. package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -31
  658. package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
  659. package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -31
  660. package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
  661. package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
  662. package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  663. package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -31
  664. package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
  665. package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -31
  666. package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  667. package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
  668. package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
  669. package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -31
  670. package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
  671. package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -31
  672. package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
  673. package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -31
  674. package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
  675. package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -31
  676. package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
  677. package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -31
  678. package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
  679. package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -31
  680. package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
  681. package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -31
  682. package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
  683. package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -31
  684. package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
  685. package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -31
  686. package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
  687. package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -31
  688. package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
  689. package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -31
  690. package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
  691. package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -31
  692. package/esm/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
  693. package/esm/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
  694. package/esm/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
  695. package/esm/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
  696. package/esm/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
  697. package/esm/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
  698. package/esm/compute/hooks/queries/useBuilderBindingsQuery.js +0 -32
  699. package/esm/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
  700. package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
  701. package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -32
  702. package/esm/compute/orm/models/builderBinding.d.ts +0 -54
  703. package/esm/compute/orm/models/platformBuilderBinding.d.ts +0 -54
  704. package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
  705. package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -31
  706. package/esm/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
  707. package/esm/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -31
  708. package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
  709. package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -31
  710. package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
  711. package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -31
  712. package/esm/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
  713. package/esm/config/hooks/mutations/useCreateSecretMutation.js +0 -31
  714. package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  715. package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
  716. package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
  717. package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
  718. package/esm/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
  719. package/esm/storage/hooks/mutations/useCreateFileMutation.js +0 -31
  720. package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
  721. package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -31
  722. package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
  723. package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
  724. package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
  725. package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
  726. package/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
  727. package/storage/hooks/mutations/useCreateFileMutation.js +0 -34
  728. package/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
  729. package/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -34
@@ -1585,8 +1585,6 @@ export interface OrgMemberProfilePatch {
1585
1585
  membershipId?: string;
1586
1586
  /** Profile picture visible to other entity members */
1587
1587
  profilePicture?: ConstructiveInternalTypeImage;
1588
- /** Upload for Profile picture visible to other entity members */
1589
- profilePictureUpload?: File;
1590
1588
  /** Job title or role description visible to other entity members */
1591
1589
  title?: string;
1592
1590
  updatedAt?: string;
@@ -2788,21 +2786,27 @@ export interface UpdateOrgOwnerGrantPayload {
2788
2786
  /** Information about a database table */
2789
2787
  export interface MetaTable {
2790
2788
  constraints: MetaConstraints;
2789
+ /** Description written for this table, or null */
2790
+ description?: string | null;
2791
2791
  fields: MetaField[];
2792
2792
  foreignKeyConstraints: MetaForeignKeyConstraint[];
2793
- /** i18n metadata (null if no @i18n tag) */
2793
+ /** i18n metadata (null if the table is not translatable) */
2794
2794
  i18n?: MetaI18n | null;
2795
2795
  indexes: MetaIndex[];
2796
2796
  inflection: MetaInflection;
2797
+ /** Whether this table only links rows of two other tables; the link appears in their manyToMany relations */
2798
+ isJunction: boolean;
2799
+ /** 'table' when rows are stored in this table, 'view' when they come from a view of other tables */
2800
+ kind: string;
2797
2801
  /** Final GraphQL output type name */
2798
2802
  name: string;
2799
2803
  primaryKeyConstraints: MetaPrimaryKeyConstraint[];
2800
2804
  query: MetaQuery;
2801
- /** Realtime metadata (null if no @realtime tag) */
2805
+ /** Realtime metadata (null if the table has no change subscriptions) */
2802
2806
  realtime?: MetaRealtime | null;
2803
2807
  relations: MetaRelations;
2804
2808
  schemaName: string;
2805
- /** Provisioning scope metadata (null if no @scope tag) */
2809
+ /** Provisioning scope metadata (null if the table has no scope) */
2806
2810
  scope?: MetaScope | null;
2807
2811
  /** Search metadata (null if no search configured) */
2808
2812
  search?: MetaSearch | null;
@@ -3027,15 +3031,27 @@ export interface MetaConstraints {
3027
3031
  }
3028
3032
  /** Information about a table field/column */
3029
3033
  export interface MetaField {
3034
+ /** Values this field accepts, when the set is fixed; null otherwise. Set on a table's own fields only. */
3035
+ allowedValues?: string[] | null;
3030
3036
  /** PostgreSQL column name */
3031
3037
  columnName: string;
3032
3038
  description?: string | null;
3033
3039
  /** Enum metadata if this field has an enum type */
3034
3040
  enumValues?: MetaEnum | null;
3041
+ /** Set when the field holds files; null otherwise. Set on a table's own fields only. */
3042
+ file?: MetaFileField | null;
3035
3043
  hasDefault: boolean;
3044
+ /** Whether the value is always computed and cannot be written, even when a create or update input offers the field. Set on a table's own fields only. */
3045
+ isComputed?: boolean | null;
3036
3046
  isForeignKey: boolean;
3037
3047
  isNotNull: boolean;
3038
3048
  isPrimaryKey: boolean;
3049
+ /** Whether a create must provide this field. Set on a table's own fields only. */
3050
+ isRequiredOnCreate?: boolean | null;
3051
+ /** Whether a create may set this field. Set on a table's own fields only. */
3052
+ isWritableOnCreate?: boolean | null;
3053
+ /** Whether an update may change this field. Set on a table's own fields only. */
3054
+ isWritableOnUpdate?: boolean | null;
3039
3055
  /** Final GraphQL field name */
3040
3056
  name: string;
3041
3057
  type: MetaType;
@@ -3049,7 +3065,7 @@ export interface MetaForeignKeyConstraint {
3049
3065
  referencedFields: string[];
3050
3066
  referencedTable: string;
3051
3067
  }
3052
- /** i18n metadata for a table with @i18n tag */
3068
+ /** i18n metadata for a translatable table */
3053
3069
  export interface MetaI18n {
3054
3070
  /** Fields that are translatable */
3055
3071
  translatableFields: MetaI18nField[];
@@ -3064,7 +3080,7 @@ export interface MetaIndex {
3064
3080
  isUnique: boolean;
3065
3081
  name: string;
3066
3082
  }
3067
- /** Table inflection names */
3083
+ /** Type and field names generated for this table */
3068
3084
  export interface MetaInflection {
3069
3085
  allRows: string;
3070
3086
  conditionType: string;
@@ -3092,7 +3108,7 @@ export interface MetaQuery {
3092
3108
  one?: string | null;
3093
3109
  update?: string | null;
3094
3110
  }
3095
- /** Realtime metadata for a table with @realtime tag */
3111
+ /** Realtime metadata for a table with change subscriptions */
3096
3112
  export interface MetaRealtime {
3097
3113
  /** The generated subscription field name (e.g. onPostChanged) */
3098
3114
  subscriptionFieldName: string;
@@ -3107,13 +3123,13 @@ export interface MetaRelations {
3107
3123
  }
3108
3124
  /** Provisioning scope metadata for a table */
3109
3125
  export interface MetaScope {
3110
- /** SQL name of the entity table for entity scopes, else null */
3126
+ /** Name of the entity table for entity scopes, else null */
3111
3127
  entityTable?: string | null;
3112
- /** Inflected scope key column (e.g. databaseId, orgId), null for global tiers */
3128
+ /** Field name of the scope key (e.g. databaseId, orgId), null for global tiers */
3113
3129
  keyColumn?: string | null;
3114
3130
  /** Provisioning scope: 'platform', 'app', 'database', or an entity scope (e.g. 'org') */
3115
3131
  scope: string;
3116
- /** Provenance of the scope metadata (always 'smartTag') */
3132
+ /** Where this scope metadata comes from */
3117
3133
  source: string;
3118
3134
  /** Coarse bucket: 'global', 'database', or 'entity' */
3119
3135
  tier: string;
@@ -3131,17 +3147,17 @@ export interface MetaSearch {
3131
3147
  }
3132
3148
  /** Storage metadata for a table */
3133
3149
  export interface MetaStorage {
3134
- /** GraphQL type name of the plane's buckets table */
3150
+ /** GraphQL type name of the paired buckets table */
3135
3151
  bucketsType: string;
3136
3152
  /** Computed download-URL field on the files type; null on the buckets side */
3137
3153
  downloadUrlField?: string | null;
3138
- /** GraphQL type name of the plane's files table */
3154
+ /** GraphQL type name of the paired files table */
3139
3155
  filesType: string;
3140
3156
  /** Whether this table is a storage buckets table */
3141
3157
  isBucketsTable: boolean;
3142
3158
  /** Whether this table is a storage files table */
3143
3159
  isFilesTable: boolean;
3144
- /** The plane's GraphQL upload surface */
3160
+ /** Upload mutations and types for this storage */
3145
3161
  upload: MetaStorageUpload;
3146
3162
  }
3147
3163
  /** Information about a unique constraint */
@@ -3156,6 +3172,15 @@ export interface MetaEnum {
3156
3172
  /** Allowed values for this enum */
3157
3173
  values: string[];
3158
3174
  }
3175
+ /** How a field holds files */
3176
+ export interface MetaFileField {
3177
+ /** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
3178
+ filesType?: string | null;
3179
+ /** Whether the field holds a list of files */
3180
+ isMultiple: boolean;
3181
+ /** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
3182
+ kind: string;
3183
+ }
3159
3184
  /** Information about a PostgreSQL type */
3160
3185
  export interface MetaType {
3161
3186
  /** Scalar serialization contract (null for plain scalars) */
@@ -3164,7 +3189,13 @@ export interface MetaType {
3164
3189
  hasDefault?: boolean | null;
3165
3190
  isArray: boolean;
3166
3191
  isNotNull?: boolean | null;
3192
+ /** Most characters a text value may hold, or most bits a bit string may hold; for a list, each item. Null when unbounded. */
3193
+ maxLength?: number | null;
3167
3194
  pgType: string;
3195
+ /** Most significant digits a decimal number may hold. Null when unbounded. */
3196
+ precision?: number | null;
3197
+ /** Digits a decimal number keeps after the decimal point. Null when unbounded. */
3198
+ scale?: number | null;
3168
3199
  subtype?: string | null;
3169
3200
  }
3170
3201
  /** Reference to a related table */
@@ -3183,6 +3214,8 @@ export interface MetaBelongsToRelation {
3183
3214
  fieldName?: string | null;
3184
3215
  isUnique: boolean;
3185
3216
  keys: MetaField[];
3217
+ /** Fields on the referenced table that keys point at, in the same order as keys */
3218
+ refKeys: MetaField[];
3186
3219
  references: MetaRefTable;
3187
3220
  type?: string | null;
3188
3221
  }
@@ -3192,6 +3225,8 @@ export interface MetaHasRelation {
3192
3225
  isUnique: boolean;
3193
3226
  keys: MetaField[];
3194
3227
  referencedBy: MetaRefTable;
3228
+ /** Fields on the related table that point at this table, in the same order as keys */
3229
+ remoteKeys: MetaField[];
3195
3230
  type?: string | null;
3196
3231
  }
3197
3232
  /** A many-to-many relation via junction table */
@@ -3214,7 +3249,7 @@ export interface MetaSearchColumn {
3214
3249
  /** Column name (camelCase) */
3215
3250
  name: string;
3216
3251
  }
3217
- /** Per-table search configuration from @searchConfig smart tag */
3252
+ /** Per-table search configuration */
3218
3253
  export interface MetaSearchConfig {
3219
3254
  /** Exponential decay factor per day */
3220
3255
  boostRecencyDecay?: number | null;
@@ -3225,7 +3260,7 @@ export interface MetaSearchConfig {
3225
3260
  /** JSON-encoded per-adapter score weights */
3226
3261
  weights?: string | null;
3227
3262
  }
3228
- /** The GraphQL upload surface of a storage plane, derived from the registry facts the presigned-url plugin emits from */
3263
+ /** The upload mutations and types for a storage table pair */
3229
3264
  export interface MetaStorageUpload {
3230
3265
  /** Per-file input type inside the bulk input */
3231
3266
  bulkFileInputType: string;
@@ -3243,14 +3278,14 @@ export interface MetaStorageUpload {
3243
3278
  mutation: string;
3244
3279
  /** Payload type of the single upload mutation */
3245
3280
  payloadType: string;
3246
- /** Whether the upload input requires ownerId (entity-keyed plane) */
3281
+ /** Whether the upload input requires ownerId */
3247
3282
  requiresOwnerId: boolean;
3248
3283
  }
3249
- /** How a client must serialize/parse a scalar — the one field-type detail standard GraphQL introspection cannot describe. Null for plain scalars whose wire format is obvious from gqlType. */
3284
+ /** How a client must serialize and parse a scalar whose wire format gqlType alone does not settle. Null for plain scalars whose wire format is obvious from gqlType. */
3250
3285
  export interface MetaScalarEncoding {
3251
3286
  /** For 'vector': declared length, else null. */
3252
3287
  dimensions?: number | null;
3253
- /** For 'ltree': values are dot-separated path strings. */
3288
+ /** For 'ltree': true when values are dot-separated paths ('a.b.c'), false when they are slash-separated paths ('/a/b/c'). */
3254
3289
  dotPath?: boolean | null;
3255
3290
  /** For 'vector': element scalar (e.g. 'float'). */
3256
3291
  elementType?: string | null;
@@ -5,6 +5,7 @@
5
5
  */
6
6
  export type ConstructiveInternalTypeEmail = unknown;
7
7
  export type ConstructiveInternalTypeImage = unknown;
8
+ export type FileVersion = unknown;
8
9
  export interface AppAdminGrant {
9
10
  actorId: string | null;
10
11
  createdAt: string | null;
@@ -232,6 +233,8 @@ export interface OrgMemberProfile {
232
233
  id: string | null;
233
234
  membershipId: string | null;
234
235
  profilePicture: ConstructiveInternalTypeImage | null;
236
+ profilePictureUrl: string | null;
237
+ profilePictureVersions: FileVersion[] | null;
235
238
  title: string | null;
236
239
  updatedAt: string | null;
237
240
  }
@@ -405,6 +405,9 @@ export interface AgentResource {
405
405
  /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
406
406
  descriptionTrgmSimilarity?: number | null;
407
407
  embedding?: number[] | null;
408
+ embeddingModel?: string | null;
409
+ /** TRGM similarity when searching `embeddingModel`. Returns null when no trgm search filter is active. */
410
+ embeddingModelTrgmSimilarity?: number | null;
408
411
  embeddingUpdatedAt?: string | null;
409
412
  /** VECTOR distance when searching `embedding`. Returns null when no vector search filter is active. */
410
413
  embeddingVectorDistance?: number | null;
@@ -756,6 +759,9 @@ export interface PlatformAgentResource {
756
759
  /** TRGM similarity when searching `description`. Returns null when no trgm search filter is active. */
757
760
  descriptionTrgmSimilarity?: number | null;
758
761
  embedding?: number[] | null;
762
+ embeddingModel?: string | null;
763
+ /** TRGM similarity when searching `embeddingModel`. Returns null when no trgm search filter is active. */
764
+ embeddingModelTrgmSimilarity?: number | null;
759
765
  embeddingUpdatedAt?: string | null;
760
766
  /** VECTOR distance when searching `embedding`. Returns null when no vector search filter is active. */
761
767
  embeddingVectorDistance?: number | null;
@@ -1251,6 +1257,8 @@ export type AgentResourceSelect = {
1251
1257
  description?: boolean;
1252
1258
  descriptionTrgmSimilarity?: boolean;
1253
1259
  embedding?: boolean;
1260
+ embeddingModel?: boolean;
1261
+ embeddingModelTrgmSimilarity?: boolean;
1254
1262
  embeddingUpdatedAt?: boolean;
1255
1263
  embeddingVectorDistance?: boolean;
1256
1264
  id?: boolean;
@@ -1587,6 +1595,8 @@ export type PlatformAgentResourceSelect = {
1587
1595
  description?: boolean;
1588
1596
  descriptionTrgmSimilarity?: boolean;
1589
1597
  embedding?: boolean;
1598
+ embeddingModel?: boolean;
1599
+ embeddingModelTrgmSimilarity?: boolean;
1590
1600
  embeddingUpdatedAt?: boolean;
1591
1601
  embeddingVectorDistance?: boolean;
1592
1602
  id?: boolean;
@@ -2054,6 +2064,8 @@ export interface AgentResourceFilter {
2054
2064
  description?: StringTrgmFilter;
2055
2065
  /** Filter by the object’s `embedding` field. */
2056
2066
  embedding?: VectorFilter;
2067
+ /** Filter by the object’s `embeddingModel` field. */
2068
+ embeddingModel?: StringTrgmFilter;
2057
2069
  /** Filter by the object’s `embeddingUpdatedAt` field. */
2058
2070
  embeddingUpdatedAt?: DatetimeFilter;
2059
2071
  /** Filter by the object’s `id` field. */
@@ -2082,6 +2094,8 @@ export interface AgentResourceFilter {
2082
2094
  trgmBody?: TrgmSearchInput;
2083
2095
  /** TRGM search on the `description` column. */
2084
2096
  trgmDescription?: TrgmSearchInput;
2097
+ /** TRGM search on the `embedding_model` column. */
2098
+ trgmEmbeddingModel?: TrgmSearchInput;
2085
2099
  /** TRGM search on the `kind` column. */
2086
2100
  trgmKind?: TrgmSearchInput;
2087
2101
  /** TRGM search on the `title` column. */
@@ -2620,6 +2634,8 @@ export interface PlatformAgentResourceFilter {
2620
2634
  description?: StringTrgmFilter;
2621
2635
  /** Filter by the object’s `embedding` field. */
2622
2636
  embedding?: VectorFilter;
2637
+ /** Filter by the object’s `embeddingModel` field. */
2638
+ embeddingModel?: StringTrgmFilter;
2623
2639
  /** Filter by the object’s `embeddingUpdatedAt` field. */
2624
2640
  embeddingUpdatedAt?: DatetimeFilter;
2625
2641
  /** Filter by the object’s `id` field. */
@@ -2652,6 +2668,8 @@ export interface PlatformAgentResourceFilter {
2652
2668
  trgmBody?: TrgmSearchInput;
2653
2669
  /** TRGM search on the `description` column. */
2654
2670
  trgmDescription?: TrgmSearchInput;
2671
+ /** TRGM search on the `embedding_model` column. */
2672
+ trgmEmbeddingModel?: TrgmSearchInput;
2655
2673
  /** TRGM search on the `kind` column. */
2656
2674
  trgmKind?: TrgmSearchInput;
2657
2675
  /** TRGM search on the `title` column. */
@@ -2914,7 +2932,7 @@ export type AgentPersonaOrderBy = 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATED_AT_ASC
2914
2932
  export type AgentPlanOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
2915
2933
  export type AgentPromptOrderBy = 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_DEFAULT_ASC' | 'IS_DEFAULT_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
2916
2934
  export type AgentResourceChunkOrderBy = 'AGENT_RESOURCE_ID_ASC' | 'AGENT_RESOURCE_ID_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'CHUNK_INDEX_ASC' | 'CHUNK_INDEX_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'ID_ASC' | 'ID_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
2917
- export type AgentResourceOrderBy = 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'BODY_TRGM_SIMILARITY_ASC' | 'BODY_TRGM_SIMILARITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_UPDATED_AT_ASC' | 'EMBEDDING_UPDATED_AT_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'KEYWORDS_ASC' | 'KEYWORDS_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'KIND_TRGM_SIMILARITY_ASC' | 'KIND_TRGM_SIMILARITY_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_ASC' | 'SEARCH_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'TITLE_TRGM_SIMILARITY_ASC' | 'TITLE_TRGM_SIMILARITY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
2935
+ export type AgentResourceOrderBy = 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'BODY_TRGM_SIMILARITY_ASC' | 'BODY_TRGM_SIMILARITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_MODEL_ASC' | 'EMBEDDING_MODEL_DESC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_ASC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_DESC' | 'EMBEDDING_UPDATED_AT_ASC' | 'EMBEDDING_UPDATED_AT_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'KEYWORDS_ASC' | 'KEYWORDS_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'KIND_TRGM_SIMILARITY_ASC' | 'KIND_TRGM_SIMILARITY_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_ASC' | 'SEARCH_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'TITLE_TRGM_SIMILARITY_ASC' | 'TITLE_TRGM_SIMILARITY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
2918
2936
  export type AgentRunOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ARTIFACTS_ASC' | 'ARTIFACTS_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'BASE_COMMIT_ASC' | 'BASE_COMMIT_DESC' | 'BRANCH_ASC' | 'BRANCH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEADLINE_AT_ASC' | 'DEADLINE_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'EXECUTION_ID_ASC' | 'EXECUTION_ID_DESC' | 'FINISHED_AT_ASC' | 'FINISHED_AT_DESC' | 'HEAD_COMMIT_ASC' | 'HEAD_COMMIT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_EVENT_SEQ_ASC' | 'LAST_EVENT_SEQ_DESC' | 'NATURAL' | 'PARENT_RUN_ID_ASC' | 'PARENT_RUN_ID_DESC' | 'PLACEMENT_ASC' | 'PLACEMENT_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REPO_URL_ASC' | 'REPO_URL_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TOKEN_USAGE_ASC' | 'TOKEN_USAGE_DESC' | 'TOTAL_COST_ASC' | 'TOTAL_COST_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
2919
2937
  export type AgentRunWorkspaceOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ARTIFACTS_ASC' | 'ARTIFACTS_DESC' | 'BASE_BRANCH_ASC' | 'BASE_BRANCH_DESC' | 'BASE_COMMIT_ASC' | 'BASE_COMMIT_DESC' | 'BRANCH_ASC' | 'BRANCH_DESC' | 'CLONED_AT_ASC' | 'CLONED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'HEAD_COMMIT_ASC' | 'HEAD_COMMIT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'NATURAL' | 'ORDINAL_ASC' | 'ORDINAL_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'PUBLICATION_ASC' | 'PUBLICATION_DESC' | 'REPOSITORY_ID_ASC' | 'REPOSITORY_ID_DESC' | 'REPO_ASC' | 'REPO_DESC' | 'RUN_ID_ASC' | 'RUN_ID_DESC' | 'STATE_ASC' | 'STATE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
2920
2938
  export type AgentTaskOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'APPROVAL_FEEDBACK_ASC' | 'APPROVAL_FEEDBACK_DESC' | 'APPROVAL_STATUS_ASC' | 'APPROVAL_STATUS_DESC' | 'APPROVED_AT_ASC' | 'APPROVED_AT_DESC' | 'APPROVED_BY_ASC' | 'APPROVED_BY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'ORDER_INDEX_ASC' | 'ORDER_INDEX_DESC' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REQUIRES_APPROVAL_ASC' | 'REQUIRES_APPROVAL_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
@@ -2926,7 +2944,7 @@ export type PlatformAgentPersonaOrderBy = 'CONFIG_ASC' | 'CONFIG_DESC' | 'CREATE
2926
2944
  export type PlatformAgentPlanOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
2927
2945
  export type PlatformAgentPromptOrderBy = 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_DEFAULT_ASC' | 'IS_DEFAULT_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
2928
2946
  export type PlatformAgentResourceChunkOrderBy = 'BODY_ASC' | 'BODY_DESC' | 'CHUNK_INDEX_ASC' | 'CHUNK_INDEX_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'ID_ASC' | 'ID_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PLATFORM_AGENT_RESOURCE_ID_ASC' | 'PLATFORM_AGENT_RESOURCE_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
2929
- export type PlatformAgentResourceOrderBy = 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'BODY_TRGM_SIMILARITY_ASC' | 'BODY_TRGM_SIMILARITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_UPDATED_AT_ASC' | 'EMBEDDING_UPDATED_AT_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'KEYWORDS_ASC' | 'KEYWORDS_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'KIND_TRGM_SIMILARITY_ASC' | 'KIND_TRGM_SIMILARITY_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_ASC' | 'SEARCH_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'TITLE_TRGM_SIMILARITY_ASC' | 'TITLE_TRGM_SIMILARITY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
2947
+ export type PlatformAgentResourceOrderBy = 'ARCHIVED_AT_ASC' | 'ARCHIVED_AT_DESC' | 'BODY_ASC' | 'BODY_DESC' | 'BODY_TRGM_SIMILARITY_ASC' | 'BODY_TRGM_SIMILARITY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREATED_BY_ASC' | 'CREATED_BY_DESC' | 'CREATED_BY_PRINCIPAL_ASC' | 'CREATED_BY_PRINCIPAL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESCRIPTION_TRGM_SIMILARITY_ASC' | 'DESCRIPTION_TRGM_SIMILARITY_DESC' | 'EMBEDDING_ASC' | 'EMBEDDING_DESC' | 'EMBEDDING_MODEL_ASC' | 'EMBEDDING_MODEL_DESC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_ASC' | 'EMBEDDING_MODEL_TRGM_SIMILARITY_DESC' | 'EMBEDDING_UPDATED_AT_ASC' | 'EMBEDDING_UPDATED_AT_DESC' | 'EMBEDDING_VECTOR_DISTANCE_ASC' | 'EMBEDDING_VECTOR_DISTANCE_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_ARCHIVED_ASC' | 'IS_ARCHIVED_DESC' | 'KEYWORDS_ASC' | 'KEYWORDS_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'KIND_TRGM_SIMILARITY_ASC' | 'KIND_TRGM_SIMILARITY_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SEARCH_ASC' | 'SEARCH_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'TITLE_TRGM_SIMILARITY_ASC' | 'TITLE_TRGM_SIMILARITY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPDATED_BY_ASC' | 'UPDATED_BY_DESC' | 'UPDATED_BY_PRINCIPAL_ASC' | 'UPDATED_BY_PRINCIPAL_DESC';
2930
2948
  export type PlatformAgentRunOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ARTIFACTS_ASC' | 'ARTIFACTS_DESC' | 'ATTEMPT_ASC' | 'ATTEMPT_DESC' | 'BASE_COMMIT_ASC' | 'BASE_COMMIT_DESC' | 'BRANCH_ASC' | 'BRANCH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEADLINE_AT_ASC' | 'DEADLINE_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'EXECUTION_ID_ASC' | 'EXECUTION_ID_DESC' | 'FINISHED_AT_ASC' | 'FINISHED_AT_DESC' | 'HEAD_COMMIT_ASC' | 'HEAD_COMMIT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_EVENT_SEQ_ASC' | 'LAST_EVENT_SEQ_DESC' | 'NATURAL' | 'PARENT_RUN_ID_ASC' | 'PARENT_RUN_ID_DESC' | 'PLACEMENT_ASC' | 'PLACEMENT_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REPO_URL_ASC' | 'REPO_URL_DESC' | 'STARTED_AT_ASC' | 'STARTED_AT_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'THREAD_ID_ASC' | 'THREAD_ID_DESC' | 'TOKEN_USAGE_ASC' | 'TOKEN_USAGE_DESC' | 'TOTAL_COST_ASC' | 'TOTAL_COST_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
2931
2949
  export type PlatformAgentRunWorkspaceOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ARTIFACTS_ASC' | 'ARTIFACTS_DESC' | 'BASE_BRANCH_ASC' | 'BASE_BRANCH_DESC' | 'BASE_COMMIT_ASC' | 'BASE_COMMIT_DESC' | 'BRANCH_ASC' | 'BRANCH_DESC' | 'CLONED_AT_ASC' | 'CLONED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'HEAD_COMMIT_ASC' | 'HEAD_COMMIT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'NATURAL' | 'ORDINAL_ASC' | 'ORDINAL_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'PUBLICATION_ASC' | 'PUBLICATION_DESC' | 'REPOSITORY_ID_ASC' | 'REPOSITORY_ID_DESC' | 'REPO_ASC' | 'REPO_DESC' | 'RUN_ID_ASC' | 'RUN_ID_DESC' | 'STATE_ASC' | 'STATE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
2932
2950
  export type PlatformAgentTaskOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'APPROVAL_FEEDBACK_ASC' | 'APPROVAL_FEEDBACK_DESC' | 'APPROVAL_STATUS_ASC' | 'APPROVAL_STATUS_DESC' | 'APPROVED_AT_ASC' | 'APPROVED_AT_DESC' | 'APPROVED_BY_ASC' | 'APPROVED_BY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ERROR_ASC' | 'ERROR_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'ORDER_INDEX_ASC' | 'ORDER_INDEX_DESC' | 'PLAN_ID_ASC' | 'PLAN_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'REQUIRES_APPROVAL_ASC' | 'REQUIRES_APPROVAL_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC';
@@ -3939,10 +3957,12 @@ export interface VectorNearbyInput {
3939
3957
  includeChunks?: boolean;
3940
3958
  /** Similarity metric to use (default: COSINE). */
3941
3959
  metric?: VectorMetric;
3942
- /** Natural language text to embed server-side for similarity search. Mutually exclusive with `vector` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
3960
+ /** The model that produced `vector`. On a column that records the model of each row's vector, only rows embedded with this model are compared; vectors of two models are not comparable. Filled in server-side when `text` is embedded. */
3961
+ model?: string;
3962
+ /** Natural language text to embed server-side for similarity search. Provide exactly one of `text` or `vector`; sending both or neither is an error. Blank text on its own counts as not given. Requires the LLM plugin to be configured with an embedding provider. */
3943
3963
  text?: string;
3944
3964
  /** Query vector for similarity search. */
3945
- vector: number[];
3965
+ vector?: number[];
3946
3966
  }
3947
3967
  /** A filter to be used against many `AgentResourceChunk` object types. All fields are combined with a logical ‘and.’ */
3948
3968
  export interface AgentResourceToManyAgentResourceChunkFilter {
@@ -4367,7 +4387,7 @@ export interface AgentResourceChunkInput {
4367
4387
  /** Policy-required field derived from source table (used by AuthzRelatedEntityMembership) */
4368
4388
  databaseId?: string;
4369
4389
  embedding?: number[];
4370
- /** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
4390
+ /** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
4371
4391
  embeddingText?: string;
4372
4392
  id?: string;
4373
4393
  metadata?: Record<string, unknown>;
@@ -4387,7 +4407,7 @@ export interface AgentResourceInput {
4387
4407
  /** Brief description of this resource */
4388
4408
  description?: string;
4389
4409
  embedding?: number[];
4390
- /** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
4410
+ /** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
4391
4411
  embeddingText?: string;
4392
4412
  id?: string;
4393
4413
  /** Whether this resource is active and retrievable */
@@ -4682,7 +4702,7 @@ export interface PlatformAgentResourceChunkInput {
4682
4702
  chunkIndex?: number;
4683
4703
  createdAt?: string;
4684
4704
  embedding?: number[];
4685
- /** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
4705
+ /** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
4686
4706
  embeddingText?: string;
4687
4707
  id?: string;
4688
4708
  metadata?: Record<string, unknown>;
@@ -4701,7 +4721,7 @@ export interface PlatformAgentResourceInput {
4701
4721
  /** Brief description of this resource */
4702
4722
  description?: string;
4703
4723
  embedding?: number[];
4704
- /** Natural language text to embed server-side into the `embedding` vector column. Mutually exclusive with `embedding` — provide one or the other. Requires the LLM plugin to be configured with an embedding provider. */
4724
+ /** Natural language text to embed server-side into the `embedding` vector column. Provide exactly one of `embedding` or `embeddingText`; sending both is an error. Requires the LLM plugin to be configured with an embedding provider. */
4705
4725
  embeddingText?: string;
4706
4726
  id?: string;
4707
4727
  /** Whether this resource is active and retrievable */
@@ -6093,6 +6113,8 @@ export interface AgentResourceFilter {
6093
6113
  description?: StringTrgmFilter;
6094
6114
  /** Filter by the object’s `embedding` field. */
6095
6115
  embedding?: VectorFilter;
6116
+ /** Filter by the object’s `embeddingModel` field. */
6117
+ embeddingModel?: StringTrgmFilter;
6096
6118
  /** Filter by the object’s `embeddingUpdatedAt` field. */
6097
6119
  embeddingUpdatedAt?: DatetimeFilter;
6098
6120
  /** Filter by the object’s `id` field. */
@@ -6121,6 +6143,8 @@ export interface AgentResourceFilter {
6121
6143
  trgmBody?: TrgmSearchInput;
6122
6144
  /** TRGM search on the `description` column. */
6123
6145
  trgmDescription?: TrgmSearchInput;
6146
+ /** TRGM search on the `embedding_model` column. */
6147
+ trgmEmbeddingModel?: TrgmSearchInput;
6124
6148
  /** TRGM search on the `kind` column. */
6125
6149
  trgmKind?: TrgmSearchInput;
6126
6150
  /** TRGM search on the `title` column. */
@@ -6282,6 +6306,8 @@ export interface PlatformAgentResourceFilter {
6282
6306
  description?: StringTrgmFilter;
6283
6307
  /** Filter by the object’s `embedding` field. */
6284
6308
  embedding?: VectorFilter;
6309
+ /** Filter by the object’s `embeddingModel` field. */
6310
+ embeddingModel?: StringTrgmFilter;
6285
6311
  /** Filter by the object’s `embeddingUpdatedAt` field. */
6286
6312
  embeddingUpdatedAt?: DatetimeFilter;
6287
6313
  /** Filter by the object’s `id` field. */
@@ -6314,6 +6340,8 @@ export interface PlatformAgentResourceFilter {
6314
6340
  trgmBody?: TrgmSearchInput;
6315
6341
  /** TRGM search on the `description` column. */
6316
6342
  trgmDescription?: TrgmSearchInput;
6343
+ /** TRGM search on the `embedding_model` column. */
6344
+ trgmEmbeddingModel?: TrgmSearchInput;
6317
6345
  /** TRGM search on the `kind` column. */
6318
6346
  trgmKind?: TrgmSearchInput;
6319
6347
  /** TRGM search on the `title` column. */
@@ -94,9 +94,7 @@ export function buildSelections(select, connectionFieldsMap, entityType) {
94
94
  const fieldArgs = Object.entries(nested.args).map(([argName, argValue]) => t.argument({ name: argName, value: buildValueAst(argValue) }));
95
95
  const nestedSelect = nested.select;
96
96
  if (nestedSelect && typeof nestedSelect === 'object') {
97
- const subSelections = Object.entries(nestedSelect)
98
- .filter(([, v]) => v)
99
- .map(([name]) => t.field({ name }));
97
+ const subSelections = buildSelections(nestedSelect, connectionFieldsMap);
100
98
  fields.push(t.field({
101
99
  name: key,
102
100
  args: fieldArgs.length ? fieldArgs : undefined,
@@ -120,6 +120,6 @@ export type HookStrictSelect<S, Shape> = S extends DeepExact<S, Shape, 5> ? {} :
120
120
  export type InferSelectResult<TEntity, TSelect> = TSelect extends undefined ? TEntity : {
121
121
  [K in keyof TSelect as TSelect[K] extends false | undefined ? never : K]: TSelect[K] extends true ? K extends keyof TEntity ? TEntity[K] : never : TSelect[K] extends {
122
122
  select: infer NestedSelect;
123
- } ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
123
+ } ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : NonNullable<TEntity[K]> extends readonly (infer Item)[] ? InferSelectResult<NonNullable<Item>, NestedSelect>[] | (null extends TEntity[K] ? null : never) : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
124
124
  };
125
125
  export {};