@constructive-io/react 0.11.4 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/admin/hooks/index.d.ts +1 -1
  2. package/admin/hooks/index.js +1 -1
  3. package/admin/hooks/invalidation.d.ts +18 -12
  4. package/admin/hooks/invalidation.js +48 -32
  5. package/admin/hooks/mutation-keys.d.ts +36 -24
  6. package/admin/hooks/mutation-keys.js +22 -15
  7. package/admin/hooks/mutations/index.d.ts +9 -6
  8. package/admin/hooks/mutations/index.js +9 -6
  9. package/admin/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
  10. package/admin/hooks/mutations/useCreateOrgMemberProfileMutation.js +34 -0
  11. package/admin/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
  12. package/{public/hooks/mutations/useDeleteConnectedAccountMutation.js → admin/hooks/mutations/useDeleteOrgMemberProfileMutation.js} +7 -7
  13. package/admin/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
  14. package/{auth/hooks/mutations/useUpdateConnectedAccountMutation.js → admin/hooks/mutations/useUpdateOrgMemberProfileMutation.js} +9 -9
  15. package/admin/hooks/queries/index.d.ts +6 -4
  16. package/admin/hooks/queries/index.js +6 -4
  17. package/admin/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
  18. package/{public/hooks/queries/useConnectedAccountQuery.js → admin/hooks/queries/useOrgMemberProfileQuery.js} +14 -14
  19. package/admin/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
  20. package/admin/hooks/queries/useOrgMemberProfilesQuery.js +38 -0
  21. package/admin/hooks/query-keys.d.ts +42 -28
  22. package/admin/hooks/query-keys.js +25 -17
  23. package/admin/orm/index.d.ts +6 -4
  24. package/admin/orm/index.js +6 -4
  25. package/admin/orm/input-types.d.ts +503 -295
  26. package/admin/orm/models/index.d.ts +3 -2
  27. package/admin/orm/models/index.js +7 -5
  28. package/admin/orm/models/orgMemberProfile.d.ts +56 -0
  29. package/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +26 -26
  30. package/admin/schema-types.d.ts +449 -288
  31. package/admin/types.d.ts +40 -22
  32. package/auth/hooks/index.d.ts +1 -1
  33. package/auth/hooks/index.js +1 -1
  34. package/auth/hooks/invalidation.d.ts +6 -6
  35. package/auth/hooks/invalidation.js +16 -16
  36. package/auth/hooks/mutation-keys.d.ts +28 -18
  37. package/auth/hooks/mutation-keys.js +30 -15
  38. package/auth/hooks/mutations/index.d.ts +9 -6
  39. package/auth/hooks/mutations/index.js +9 -6
  40. package/auth/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
  41. package/auth/hooks/mutations/{useOneTimeTokenMutation.js → useCreateApiKeyMutation.js} +5 -5
  42. package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
  43. package/auth/hooks/mutations/{useCreateConnectedAccountMutation.js → useCreateUserConnectedAccountMutation.js} +6 -6
  44. package/auth/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
  45. package/auth/hooks/mutations/{useSignInOneTimeTokenMutation.js → useDisconnectAccountMutation.js} +5 -5
  46. package/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
  47. package/{public/hooks/mutations/useSignInOneTimeTokenMutation.js → auth/hooks/mutations/useProvisionNewUserMutation.js} +5 -5
  48. package/auth/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
  49. package/auth/hooks/mutations/useRequestCrossOriginTokenMutation.js +26 -0
  50. package/auth/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
  51. package/{public/hooks/mutations/useOneTimeTokenMutation.js → auth/hooks/mutations/useRevokeApiKeyMutation.js} +5 -5
  52. package/auth/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
  53. package/auth/hooks/mutations/useRevokeSessionMutation.js +26 -0
  54. package/auth/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
  55. package/auth/hooks/mutations/useSignInCrossOriginMutation.js +26 -0
  56. package/auth/hooks/queries/index.d.ts +4 -3
  57. package/auth/hooks/queries/index.js +4 -3
  58. package/auth/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
  59. package/auth/hooks/queries/useRequireStepUpQuery.js +53 -0
  60. package/auth/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
  61. package/auth/hooks/queries/useUserConnectedAccountQuery.js +53 -0
  62. package/auth/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
  63. package/auth/hooks/queries/useUserConnectedAccountsQuery.js +38 -0
  64. package/auth/hooks/query-keys.d.ts +18 -16
  65. package/auth/hooks/query-keys.js +11 -10
  66. package/auth/orm/index.d.ts +45 -15
  67. package/auth/orm/index.js +2 -2
  68. package/auth/orm/input-types.d.ts +186 -251
  69. package/auth/orm/input-types.js +0 -1
  70. package/auth/orm/models/index.d.ts +1 -1
  71. package/auth/orm/models/index.js +3 -3
  72. package/auth/orm/models/userConnectedAccount.d.ts +38 -0
  73. package/auth/orm/models/userConnectedAccount.js +76 -0
  74. package/auth/orm/mutation/index.d.ts +56 -16
  75. package/auth/orm/mutation/index.js +78 -18
  76. package/auth/orm/query/index.d.ts +12 -4
  77. package/auth/orm/query/index.js +19 -7
  78. package/auth/schema-types.d.ts +112 -119
  79. package/auth/types.d.ts +10 -10
  80. package/esm/admin/hooks/index.d.ts +1 -1
  81. package/esm/admin/hooks/index.js +1 -1
  82. package/esm/admin/hooks/invalidation.d.ts +18 -12
  83. package/esm/admin/hooks/invalidation.js +49 -33
  84. package/esm/admin/hooks/mutation-keys.d.ts +36 -24
  85. package/esm/admin/hooks/mutation-keys.js +21 -14
  86. package/esm/admin/hooks/mutations/index.d.ts +9 -6
  87. package/esm/admin/hooks/mutations/index.js +9 -6
  88. package/esm/admin/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
  89. package/esm/admin/hooks/mutations/useCreateOrgMemberProfileMutation.js +31 -0
  90. package/esm/admin/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
  91. package/esm/{public/hooks/mutations/useDeleteConnectedAccountMutation.js → admin/hooks/mutations/useDeleteOrgMemberProfileMutation.js} +8 -8
  92. package/esm/admin/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
  93. package/esm/{public/hooks/mutations/useUpdateConnectedAccountMutation.js → admin/hooks/mutations/useUpdateOrgMemberProfileMutation.js} +10 -10
  94. package/esm/admin/hooks/queries/index.d.ts +6 -4
  95. package/esm/admin/hooks/queries/index.js +6 -4
  96. package/esm/admin/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
  97. package/esm/admin/hooks/queries/useOrgMemberProfileQuery.js +47 -0
  98. package/esm/admin/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
  99. package/esm/{public/hooks/queries/useConnectedAccountsQuery.js → admin/hooks/queries/useOrgMemberProfilesQuery.js} +11 -11
  100. package/esm/admin/hooks/query-keys.d.ts +42 -28
  101. package/esm/admin/hooks/query-keys.js +24 -16
  102. package/esm/admin/orm/index.d.ts +6 -4
  103. package/esm/admin/orm/index.js +6 -4
  104. package/esm/admin/orm/input-types.d.ts +503 -295
  105. package/esm/admin/orm/models/index.d.ts +3 -2
  106. package/esm/admin/orm/models/index.js +3 -2
  107. package/esm/admin/orm/models/orgMemberProfile.d.ts +56 -0
  108. package/esm/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +24 -24
  109. package/esm/admin/schema-types.d.ts +449 -288
  110. package/esm/admin/types.d.ts +40 -22
  111. package/esm/auth/hooks/index.d.ts +1 -1
  112. package/esm/auth/hooks/index.js +1 -1
  113. package/esm/auth/hooks/invalidation.d.ts +6 -6
  114. package/esm/auth/hooks/invalidation.js +17 -17
  115. package/esm/auth/hooks/mutation-keys.d.ts +28 -18
  116. package/esm/auth/hooks/mutation-keys.js +29 -14
  117. package/esm/auth/hooks/mutations/index.d.ts +9 -6
  118. package/esm/auth/hooks/mutations/index.js +9 -6
  119. package/esm/auth/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
  120. package/esm/auth/hooks/mutations/{useOneTimeTokenMutation.js → useCreateApiKeyMutation.js} +4 -4
  121. package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
  122. package/esm/{public/hooks/mutations/useCreateConnectedAccountMutation.js → auth/hooks/mutations/useCreateUserConnectedAccountMutation.js} +7 -7
  123. package/esm/auth/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
  124. package/esm/{public/hooks/mutations/useSignInOneTimeTokenMutation.js → auth/hooks/mutations/useDisconnectAccountMutation.js} +4 -4
  125. package/esm/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
  126. package/esm/auth/hooks/mutations/{useSignInOneTimeTokenMutation.js → useProvisionNewUserMutation.js} +4 -4
  127. package/esm/auth/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
  128. package/esm/auth/hooks/mutations/useRequestCrossOriginTokenMutation.js +23 -0
  129. package/esm/auth/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
  130. package/esm/{public/hooks/mutations/useOneTimeTokenMutation.js → auth/hooks/mutations/useRevokeApiKeyMutation.js} +4 -4
  131. package/esm/auth/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
  132. package/esm/auth/hooks/mutations/useRevokeSessionMutation.js +23 -0
  133. package/esm/auth/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
  134. package/esm/auth/hooks/mutations/useSignInCrossOriginMutation.js +23 -0
  135. package/esm/auth/hooks/queries/index.d.ts +4 -3
  136. package/esm/auth/hooks/queries/index.js +4 -3
  137. package/esm/auth/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
  138. package/esm/auth/hooks/queries/useRequireStepUpQuery.js +47 -0
  139. package/esm/auth/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
  140. package/esm/{public/hooks/queries/useTableTemplateModuleQuery.js → auth/hooks/queries/useUserConnectedAccountQuery.js} +11 -11
  141. package/esm/auth/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
  142. package/esm/auth/hooks/queries/useUserConnectedAccountsQuery.js +32 -0
  143. package/esm/auth/hooks/query-keys.d.ts +18 -16
  144. package/esm/auth/hooks/query-keys.js +10 -9
  145. package/esm/auth/orm/index.d.ts +45 -15
  146. package/esm/auth/orm/index.js +2 -2
  147. package/esm/auth/orm/input-types.d.ts +186 -251
  148. package/esm/auth/orm/input-types.js +0 -1
  149. package/esm/auth/orm/models/index.d.ts +1 -1
  150. package/esm/auth/orm/models/index.js +1 -1
  151. package/esm/auth/orm/models/userConnectedAccount.d.ts +38 -0
  152. package/esm/auth/orm/models/userConnectedAccount.js +72 -0
  153. package/esm/auth/orm/mutation/index.d.ts +56 -16
  154. package/esm/auth/orm/mutation/index.js +78 -18
  155. package/esm/auth/orm/query/index.d.ts +12 -4
  156. package/esm/auth/orm/query/index.js +19 -7
  157. package/esm/auth/schema-types.d.ts +112 -119
  158. package/esm/auth/types.d.ts +10 -10
  159. package/esm/public/hooks/index.d.ts +1 -1
  160. package/esm/public/hooks/index.js +1 -1
  161. package/esm/public/hooks/invalidation.d.ts +47 -17
  162. package/esm/public/hooks/invalidation.js +122 -42
  163. package/esm/public/hooks/mutation-keys.d.ts +112 -40
  164. package/esm/public/hooks/mutation-keys.js +83 -27
  165. package/esm/public/hooks/mutations/index.d.ts +31 -12
  166. package/esm/public/hooks/mutations/index.js +31 -12
  167. package/esm/public/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
  168. package/esm/public/hooks/mutations/useCreateApiKeyMutation.js +23 -0
  169. package/esm/public/hooks/mutations/useCreateDevicesModuleMutation.d.ts +34 -0
  170. package/esm/public/hooks/mutations/{useCreateTableTemplateModuleMutation.js → useCreateDevicesModuleMutation.js} +7 -7
  171. package/esm/public/hooks/mutations/useCreateEntityTypeProvisionMutation.d.ts +48 -0
  172. package/esm/public/hooks/mutations/useCreateEntityTypeProvisionMutation.js +38 -0
  173. package/esm/public/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
  174. package/esm/public/hooks/mutations/useCreateOrgMemberProfileMutation.js +31 -0
  175. package/esm/public/hooks/mutations/useCreateSessionSecretsModuleMutation.d.ts +34 -0
  176. package/esm/public/hooks/mutations/useCreateSessionSecretsModuleMutation.js +31 -0
  177. package/esm/public/hooks/mutations/useCreateSpatialRelationMutation.d.ts +34 -0
  178. package/esm/{auth/hooks/mutations/useCreateConnectedAccountMutation.js → public/hooks/mutations/useCreateSpatialRelationMutation.js} +7 -7
  179. package/esm/public/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
  180. package/esm/public/hooks/mutations/useCreateUserConnectedAccountMutation.js +31 -0
  181. package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +34 -0
  182. package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +31 -0
  183. package/esm/public/hooks/mutations/useDeleteDevicesModuleMutation.d.ts +38 -0
  184. package/esm/public/hooks/mutations/{useDeleteTableTemplateModuleMutation.js → useDeleteDevicesModuleMutation.js} +8 -8
  185. package/esm/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.d.ts +52 -0
  186. package/esm/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.js +43 -0
  187. package/esm/public/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
  188. package/esm/public/hooks/mutations/useDeleteOrgMemberProfileMutation.js +36 -0
  189. package/esm/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.d.ts +38 -0
  190. package/esm/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.js +36 -0
  191. package/esm/public/hooks/mutations/useDeleteSpatialRelationMutation.d.ts +38 -0
  192. package/esm/{auth/hooks/mutations/useDeleteConnectedAccountMutation.js → public/hooks/mutations/useDeleteSpatialRelationMutation.js} +8 -8
  193. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +38 -0
  194. package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +36 -0
  195. package/esm/public/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
  196. package/esm/public/hooks/mutations/useDisconnectAccountMutation.js +23 -0
  197. package/esm/public/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
  198. package/esm/public/hooks/mutations/useProvisionNewUserMutation.js +23 -0
  199. package/esm/public/hooks/mutations/useProvisionSpatialRelationMutation.d.ts +20 -0
  200. package/esm/public/hooks/mutations/useProvisionSpatialRelationMutation.js +23 -0
  201. package/esm/public/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
  202. package/esm/public/hooks/mutations/useRequestCrossOriginTokenMutation.js +23 -0
  203. package/esm/public/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
  204. package/esm/public/hooks/mutations/useRevokeApiKeyMutation.js +23 -0
  205. package/esm/public/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
  206. package/esm/public/hooks/mutations/useRevokeSessionMutation.js +23 -0
  207. package/esm/public/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
  208. package/esm/public/hooks/mutations/useSignInCrossOriginMutation.js +23 -0
  209. package/esm/public/hooks/mutations/useUpdateDevicesModuleMutation.d.ts +40 -0
  210. package/esm/public/hooks/mutations/{useUpdateTableTemplateModuleMutation.js → useUpdateDevicesModuleMutation.js} +10 -10
  211. package/esm/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.d.ts +54 -0
  212. package/esm/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.js +44 -0
  213. package/esm/public/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
  214. package/esm/public/hooks/mutations/useUpdateOrgMemberProfileMutation.js +37 -0
  215. package/esm/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.d.ts +40 -0
  216. package/esm/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.js +37 -0
  217. package/esm/public/hooks/mutations/useUpdateSpatialRelationMutation.d.ts +40 -0
  218. package/esm/{auth/hooks/mutations/useUpdateConnectedAccountMutation.js → public/hooks/mutations/useUpdateSpatialRelationMutation.js} +10 -10
  219. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +40 -0
  220. package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +37 -0
  221. package/esm/public/hooks/queries/index.d.ts +19 -7
  222. package/esm/public/hooks/queries/index.js +19 -7
  223. package/esm/public/hooks/queries/useDevicesModuleQuery.d.ts +65 -0
  224. package/esm/{auth/hooks/queries/useConnectedAccountQuery.js → public/hooks/queries/useDevicesModuleQuery.js} +11 -11
  225. package/esm/public/hooks/queries/useDevicesModulesQuery.d.ts +69 -0
  226. package/esm/public/hooks/queries/useDevicesModulesQuery.js +32 -0
  227. package/esm/public/hooks/queries/useEntityTypeProvisionQuery.d.ts +93 -0
  228. package/esm/public/hooks/queries/useEntityTypeProvisionQuery.js +54 -0
  229. package/esm/public/hooks/queries/useEntityTypeProvisionsQuery.d.ts +97 -0
  230. package/esm/public/hooks/queries/useEntityTypeProvisionsQuery.js +39 -0
  231. package/esm/public/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
  232. package/esm/public/hooks/queries/useOrgMemberProfileQuery.js +47 -0
  233. package/esm/public/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
  234. package/esm/{auth/hooks/queries/useConnectedAccountsQuery.js → public/hooks/queries/useOrgMemberProfilesQuery.js} +11 -11
  235. package/esm/public/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
  236. package/esm/public/hooks/queries/useRequireStepUpQuery.js +47 -0
  237. package/esm/public/hooks/queries/useResolveBlueprintFieldQuery.d.ts +53 -0
  238. package/esm/public/hooks/queries/useResolveBlueprintFieldQuery.js +47 -0
  239. package/esm/public/hooks/queries/useSessionSecretsModuleQuery.d.ts +65 -0
  240. package/esm/public/hooks/queries/useSessionSecretsModuleQuery.js +47 -0
  241. package/esm/public/hooks/queries/useSessionSecretsModulesQuery.d.ts +69 -0
  242. package/esm/public/hooks/queries/useSessionSecretsModulesQuery.js +32 -0
  243. package/esm/public/hooks/queries/useSpatialRelationQuery.d.ts +65 -0
  244. package/esm/public/hooks/queries/{useConnectedAccountQuery.js → useSpatialRelationQuery.js} +11 -11
  245. package/esm/public/hooks/queries/useSpatialRelationsQuery.d.ts +69 -0
  246. package/esm/public/hooks/queries/useSpatialRelationsQuery.js +32 -0
  247. package/esm/public/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
  248. package/esm/public/hooks/queries/useUserConnectedAccountQuery.js +47 -0
  249. package/esm/public/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
  250. package/esm/public/hooks/queries/useUserConnectedAccountsQuery.js +32 -0
  251. package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +65 -0
  252. package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +47 -0
  253. package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +69 -0
  254. package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +32 -0
  255. package/esm/public/hooks/query-keys.d.ts +116 -42
  256. package/esm/public/hooks/query-keys.js +66 -24
  257. package/esm/public/orm/index.d.ts +69 -19
  258. package/esm/public/orm/index.js +16 -6
  259. package/esm/public/orm/input-types.d.ts +2047 -640
  260. package/esm/public/orm/input-types.js +15 -6
  261. package/esm/public/orm/models/devicesModule.d.ts +56 -0
  262. package/esm/public/orm/models/devicesModule.js +96 -0
  263. package/esm/public/orm/models/entityTypeProvision.d.ts +56 -0
  264. package/esm/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +24 -24
  265. package/esm/public/orm/models/index.d.ts +8 -3
  266. package/esm/public/orm/models/index.js +8 -3
  267. package/esm/public/orm/models/orgMemberProfile.d.ts +56 -0
  268. package/esm/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +24 -24
  269. package/esm/public/orm/models/sessionSecretsModule.d.ts +56 -0
  270. package/esm/public/orm/models/sessionSecretsModule.js +96 -0
  271. package/esm/public/orm/models/spatialRelation.d.ts +56 -0
  272. package/esm/public/orm/models/spatialRelation.js +96 -0
  273. package/esm/public/orm/models/userConnectedAccount.d.ts +38 -0
  274. package/esm/public/orm/models/userConnectedAccount.js +72 -0
  275. package/esm/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
  276. package/esm/public/orm/models/webauthnCredentialsModule.js +96 -0
  277. package/esm/public/orm/mutation/index.d.ts +72 -20
  278. package/esm/public/orm/mutation/index.js +96 -24
  279. package/esm/public/orm/query/index.d.ts +24 -2
  280. package/esm/public/orm/query/index.js +36 -4
  281. package/esm/public/schema-types.d.ts +1550 -611
  282. package/esm/public/types.d.ts +98 -28
  283. package/package.json +5 -5
  284. package/public/hooks/index.d.ts +1 -1
  285. package/public/hooks/index.js +1 -1
  286. package/public/hooks/invalidation.d.ts +47 -17
  287. package/public/hooks/invalidation.js +121 -41
  288. package/public/hooks/mutation-keys.d.ts +112 -40
  289. package/public/hooks/mutation-keys.js +86 -30
  290. package/public/hooks/mutations/index.d.ts +31 -12
  291. package/public/hooks/mutations/index.js +31 -12
  292. package/public/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
  293. package/public/hooks/mutations/useCreateApiKeyMutation.js +26 -0
  294. package/public/hooks/mutations/useCreateDevicesModuleMutation.d.ts +34 -0
  295. package/public/hooks/mutations/{useCreateTableTemplateModuleMutation.js → useCreateDevicesModuleMutation.js} +6 -6
  296. package/public/hooks/mutations/useCreateEntityTypeProvisionMutation.d.ts +48 -0
  297. package/public/hooks/mutations/useCreateEntityTypeProvisionMutation.js +41 -0
  298. package/public/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
  299. package/public/hooks/mutations/useCreateOrgMemberProfileMutation.js +34 -0
  300. package/public/hooks/mutations/useCreateSessionSecretsModuleMutation.d.ts +34 -0
  301. package/public/hooks/mutations/useCreateSessionSecretsModuleMutation.js +34 -0
  302. package/public/hooks/mutations/useCreateSpatialRelationMutation.d.ts +34 -0
  303. package/public/hooks/mutations/{useCreateConnectedAccountMutation.js → useCreateSpatialRelationMutation.js} +6 -6
  304. package/public/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
  305. package/public/hooks/mutations/useCreateUserConnectedAccountMutation.js +34 -0
  306. package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +34 -0
  307. package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +34 -0
  308. package/public/hooks/mutations/useDeleteDevicesModuleMutation.d.ts +38 -0
  309. package/public/hooks/mutations/{useDeleteTableTemplateModuleMutation.js → useDeleteDevicesModuleMutation.js} +7 -7
  310. package/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.d.ts +52 -0
  311. package/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.js +46 -0
  312. package/public/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
  313. package/{auth/hooks/mutations/useDeleteConnectedAccountMutation.js → public/hooks/mutations/useDeleteOrgMemberProfileMutation.js} +7 -7
  314. package/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.d.ts +38 -0
  315. package/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.js +39 -0
  316. package/public/hooks/mutations/useDeleteSpatialRelationMutation.d.ts +38 -0
  317. package/public/hooks/mutations/useDeleteSpatialRelationMutation.js +39 -0
  318. package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +38 -0
  319. package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +39 -0
  320. package/public/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
  321. package/public/hooks/mutations/useDisconnectAccountMutation.js +26 -0
  322. package/public/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
  323. package/public/hooks/mutations/useProvisionNewUserMutation.js +26 -0
  324. package/public/hooks/mutations/useProvisionSpatialRelationMutation.d.ts +20 -0
  325. package/public/hooks/mutations/useProvisionSpatialRelationMutation.js +26 -0
  326. package/public/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
  327. package/public/hooks/mutations/useRequestCrossOriginTokenMutation.js +26 -0
  328. package/public/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
  329. package/public/hooks/mutations/useRevokeApiKeyMutation.js +26 -0
  330. package/public/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
  331. package/public/hooks/mutations/useRevokeSessionMutation.js +26 -0
  332. package/public/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
  333. package/public/hooks/mutations/useSignInCrossOriginMutation.js +26 -0
  334. package/public/hooks/mutations/useUpdateDevicesModuleMutation.d.ts +40 -0
  335. package/public/hooks/mutations/{useUpdateTableTemplateModuleMutation.js → useUpdateDevicesModuleMutation.js} +9 -9
  336. package/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.d.ts +54 -0
  337. package/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.js +47 -0
  338. package/public/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
  339. package/public/hooks/mutations/{useUpdateConnectedAccountMutation.js → useUpdateOrgMemberProfileMutation.js} +9 -9
  340. package/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.d.ts +40 -0
  341. package/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.js +40 -0
  342. package/public/hooks/mutations/useUpdateSpatialRelationMutation.d.ts +40 -0
  343. package/public/hooks/mutations/useUpdateSpatialRelationMutation.js +40 -0
  344. package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +40 -0
  345. package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +40 -0
  346. package/public/hooks/queries/index.d.ts +19 -7
  347. package/public/hooks/queries/index.js +19 -7
  348. package/public/hooks/queries/useDevicesModuleQuery.d.ts +65 -0
  349. package/public/hooks/queries/{useTableTemplateModuleQuery.js → useDevicesModuleQuery.js} +14 -14
  350. package/public/hooks/queries/useDevicesModulesQuery.d.ts +69 -0
  351. package/public/hooks/queries/useDevicesModulesQuery.js +38 -0
  352. package/public/hooks/queries/useEntityTypeProvisionQuery.d.ts +93 -0
  353. package/public/hooks/queries/useEntityTypeProvisionQuery.js +60 -0
  354. package/public/hooks/queries/useEntityTypeProvisionsQuery.d.ts +97 -0
  355. package/public/hooks/queries/useEntityTypeProvisionsQuery.js +45 -0
  356. package/public/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
  357. package/{auth/hooks/queries/useConnectedAccountQuery.js → public/hooks/queries/useOrgMemberProfileQuery.js} +14 -14
  358. package/public/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
  359. package/public/hooks/queries/useOrgMemberProfilesQuery.js +38 -0
  360. package/public/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
  361. package/public/hooks/queries/useRequireStepUpQuery.js +53 -0
  362. package/public/hooks/queries/useResolveBlueprintFieldQuery.d.ts +53 -0
  363. package/public/hooks/queries/useResolveBlueprintFieldQuery.js +53 -0
  364. package/public/hooks/queries/useSessionSecretsModuleQuery.d.ts +65 -0
  365. package/public/hooks/queries/useSessionSecretsModuleQuery.js +53 -0
  366. package/public/hooks/queries/useSessionSecretsModulesQuery.d.ts +69 -0
  367. package/public/hooks/queries/useSessionSecretsModulesQuery.js +38 -0
  368. package/public/hooks/queries/useSpatialRelationQuery.d.ts +65 -0
  369. package/public/hooks/queries/useSpatialRelationQuery.js +53 -0
  370. package/public/hooks/queries/useSpatialRelationsQuery.d.ts +69 -0
  371. package/public/hooks/queries/useSpatialRelationsQuery.js +38 -0
  372. package/public/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
  373. package/public/hooks/queries/useUserConnectedAccountQuery.js +53 -0
  374. package/public/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
  375. package/public/hooks/queries/useUserConnectedAccountsQuery.js +38 -0
  376. package/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +65 -0
  377. package/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +53 -0
  378. package/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +69 -0
  379. package/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +38 -0
  380. package/public/hooks/query-keys.d.ts +116 -42
  381. package/public/hooks/query-keys.js +69 -27
  382. package/public/orm/index.d.ts +69 -19
  383. package/public/orm/index.js +16 -6
  384. package/public/orm/input-types.d.ts +2047 -640
  385. package/public/orm/input-types.js +15 -6
  386. package/public/orm/models/devicesModule.d.ts +56 -0
  387. package/public/orm/models/devicesModule.js +100 -0
  388. package/public/orm/models/entityTypeProvision.d.ts +56 -0
  389. package/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +26 -26
  390. package/public/orm/models/index.d.ts +8 -3
  391. package/public/orm/models/index.js +19 -9
  392. package/public/orm/models/orgMemberProfile.d.ts +56 -0
  393. package/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +26 -26
  394. package/public/orm/models/sessionSecretsModule.d.ts +56 -0
  395. package/public/orm/models/sessionSecretsModule.js +100 -0
  396. package/public/orm/models/spatialRelation.d.ts +56 -0
  397. package/public/orm/models/spatialRelation.js +100 -0
  398. package/public/orm/models/userConnectedAccount.d.ts +38 -0
  399. package/public/orm/models/userConnectedAccount.js +76 -0
  400. package/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
  401. package/public/orm/models/webauthnCredentialsModule.js +100 -0
  402. package/public/orm/mutation/index.d.ts +72 -20
  403. package/public/orm/mutation/index.js +96 -24
  404. package/public/orm/query/index.d.ts +24 -2
  405. package/public/orm/query/index.js +36 -4
  406. package/public/schema-types.d.ts +1550 -611
  407. package/public/types.d.ts +98 -28
  408. package/auth/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
  409. package/auth/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
  410. package/auth/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
  411. package/auth/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
  412. package/auth/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
  413. package/auth/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
  414. package/auth/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
  415. package/auth/hooks/queries/useConnectedAccountsQuery.js +0 -38
  416. package/auth/orm/models/connectedAccount.d.ts +0 -56
  417. package/esm/auth/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
  418. package/esm/auth/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
  419. package/esm/auth/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
  420. package/esm/auth/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
  421. package/esm/auth/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
  422. package/esm/auth/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
  423. package/esm/auth/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
  424. package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
  425. package/esm/public/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
  426. package/esm/public/hooks/mutations/useCreateTableTemplateModuleMutation.d.ts +0 -34
  427. package/esm/public/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
  428. package/esm/public/hooks/mutations/useDeleteTableTemplateModuleMutation.d.ts +0 -38
  429. package/esm/public/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
  430. package/esm/public/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
  431. package/esm/public/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
  432. package/esm/public/hooks/mutations/useUpdateTableTemplateModuleMutation.d.ts +0 -40
  433. package/esm/public/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
  434. package/esm/public/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
  435. package/esm/public/hooks/queries/useTableTemplateModuleQuery.d.ts +0 -65
  436. package/esm/public/hooks/queries/useTableTemplateModulesQuery.d.ts +0 -69
  437. package/esm/public/hooks/queries/useTableTemplateModulesQuery.js +0 -32
  438. package/esm/public/orm/models/connectedAccount.d.ts +0 -56
  439. package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
  440. package/public/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
  441. package/public/hooks/mutations/useCreateTableTemplateModuleMutation.d.ts +0 -34
  442. package/public/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
  443. package/public/hooks/mutations/useDeleteTableTemplateModuleMutation.d.ts +0 -38
  444. package/public/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
  445. package/public/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
  446. package/public/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
  447. package/public/hooks/mutations/useUpdateTableTemplateModuleMutation.d.ts +0 -40
  448. package/public/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
  449. package/public/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
  450. package/public/hooks/queries/useConnectedAccountsQuery.js +0 -38
  451. package/public/hooks/queries/useTableTemplateModuleQuery.d.ts +0 -65
  452. package/public/hooks/queries/useTableTemplateModulesQuery.d.ts +0 -69
  453. package/public/hooks/queries/useTableTemplateModulesQuery.js +0 -38
  454. package/public/orm/models/connectedAccount.d.ts +0 -56
  455. package/public/orm/models/tableTemplateModule.d.ts +0 -56
@@ -388,6 +388,23 @@ export interface Field {
388
388
  createdAt?: string | null;
389
389
  updatedAt?: string | null;
390
390
  }
391
+ export interface SpatialRelation {
392
+ id: string;
393
+ databaseId?: string | null;
394
+ tableId?: string | null;
395
+ fieldId?: string | null;
396
+ refTableId?: string | null;
397
+ refFieldId?: string | null;
398
+ name?: string | null;
399
+ operator?: string | null;
400
+ paramName?: string | null;
401
+ category?: ObjectCategory | null;
402
+ module?: string | null;
403
+ scope?: number | null;
404
+ tags?: string[] | null;
405
+ createdAt?: string | null;
406
+ updatedAt?: string | null;
407
+ }
391
408
  export interface ForeignKeyConstraint {
392
409
  id: string;
393
410
  databaseId?: string | null;
@@ -581,17 +598,6 @@ export interface EmbeddingChunk {
581
598
  createdAt?: string | null;
582
599
  updatedAt?: string | null;
583
600
  }
584
- export interface TableTemplateModule {
585
- id: string;
586
- databaseId?: string | null;
587
- schemaId?: string | null;
588
- privateSchemaId?: string | null;
589
- tableId?: string | null;
590
- ownerTableId?: string | null;
591
- tableName?: string | null;
592
- nodeType?: string | null;
593
- data?: Record<string, unknown> | null;
594
- }
595
601
  /** Provisions security, fields, grants, and policies onto a table. Each row can independently: (1) create fields via nodes[] array (supporting multiple Data* modules per row), (2) grant privileges via grant_privileges, (3) create RLS policies via policy_type. Multiple rows can target the same table to compose different concerns. All three concerns are optional and independent. */
596
602
  export interface SecureTableProvision {
597
603
  /** Unique identifier for this provision row. */
@@ -781,6 +787,16 @@ export interface RelationProvision {
781
787
  /** Output column for RelationManyToMany: the UUID of the FK field on the junction table referencing the target table. Populated by the trigger. NULL for RelationBelongsTo/RelationHasOne. Callers should not set this directly. */
782
788
  outTargetFieldId?: string | null;
783
789
  }
790
+ /** Config row for the session_secrets_module, which provisions a DB-private, session-scoped ephemeral key-value store for challenges, nonces, and one-time tokens that must never be readable by end users. */
791
+ export interface SessionSecretsModule {
792
+ id: string;
793
+ databaseId?: string | null;
794
+ schemaId?: string | null;
795
+ tableId?: string | null;
796
+ tableName?: string | null;
797
+ /** Resolved reference to sessions_module.sessions_table, used to FK session_secrets.session_id with ON DELETE CASCADE. */
798
+ sessionsTableId?: string | null;
799
+ }
784
800
  export interface SchemaGrant {
785
801
  id: string;
786
802
  databaseId?: string | null;
@@ -1145,6 +1161,7 @@ export interface MembershipsModule {
1145
1161
  entityIdsByMask?: string | null;
1146
1162
  entityIdsByPerm?: string | null;
1147
1163
  entityIdsFunction?: string | null;
1164
+ memberProfilesTableId?: string | null;
1148
1165
  }
1149
1166
  export interface PermissionsModule {
1150
1167
  id: string;
@@ -1238,8 +1255,8 @@ export interface UserAuthModule {
1238
1255
  checkPasswordFunction?: string | null;
1239
1256
  sendAccountDeletionEmailFunction?: string | null;
1240
1257
  deleteAccountFunction?: string | null;
1241
- signInOneTimeTokenFunction?: string | null;
1242
- oneTimeTokenFunction?: string | null;
1258
+ signInCrossOriginFunction?: string | null;
1259
+ requestCrossOriginTokenFunction?: string | null;
1243
1260
  extendTokenExpires?: string | null;
1244
1261
  }
1245
1262
  export interface UsersModule {
@@ -1368,6 +1385,153 @@ export interface StorageModule {
1368
1385
  maxFilenameLength?: number | null;
1369
1386
  cacheTtlSeconds?: number | null;
1370
1387
  }
1388
+ /**
1389
+ * Provisions a new membership entity type. Each INSERT creates an entity table, registers a membership type,
1390
+ * and installs the required modules (permissions, memberships, limits) plus optional modules (profiles, levels, invites).
1391
+ * Uses provision_membership_table() internally. Graceful: duplicate (database_id, prefix) pairs are silently skipped
1392
+ * via the unique constraint (use INSERT ... ON CONFLICT DO NOTHING).
1393
+ * Policy behavior: by default the five entity-table RLS policies are applied (gated by is_visible).
1394
+ * Set table_provision to a single jsonb object (using the same shape as provision_table() /
1395
+ * blueprint tables[] entries) to replace the defaults with your own; set skip_entity_policies=true
1396
+ * as an escape hatch to apply zero policies.
1397
+ */
1398
+ export interface EntityTypeProvision {
1399
+ /** Unique identifier for this provision row. */
1400
+ id: string;
1401
+ /** The database to provision this entity type in. Required. */
1402
+ databaseId?: string | null;
1403
+ /**
1404
+ * Human-readable name for this membership type, e.g. 'Data Room Member', 'Team Channel Member'. Required.
1405
+ * Stored in the membership_types registry table.
1406
+ */
1407
+ name?: string | null;
1408
+ /**
1409
+ * SQL prefix used for table and module naming, e.g. 'data_room', 'team_channel'. Required.
1410
+ * Drives entity table name (prefix || 's' by default), module labels (permissions_module:prefix),
1411
+ * and membership table names (prefix_memberships, prefix_members, etc.).
1412
+ * Must be unique per database — the (database_id, prefix) constraint ensures graceful ON CONFLICT DO NOTHING.
1413
+ */
1414
+ prefix?: string | null;
1415
+ /** Description of this membership type. Stored in the membership_types registry table. Defaults to empty string. */
1416
+ description?: string | null;
1417
+ /**
1418
+ * Prefix of the parent entity type. The trigger resolves this to a membership_type integer
1419
+ * by looking up memberships_module WHERE prefix = parent_entity.
1420
+ * Defaults to 'org' (the organization-level type). For nested types, set to the parent's prefix
1421
+ * (e.g. 'data_room' for a team_channel nested under data_room).
1422
+ * The parent type must already be provisioned before this INSERT.
1423
+ */
1424
+ parentEntity?: string | null;
1425
+ /**
1426
+ * Override the entity table name. When NULL (default), the table name is derived as prefix || 's'
1427
+ * (e.g. prefix 'data_room' produces table 'data_rooms').
1428
+ * Set this when the pluralization rule doesn't apply (e.g. prefix 'staff' should produce 'staff' not 'staffs').
1429
+ */
1430
+ tableName?: string | null;
1431
+ /**
1432
+ * Whether members of the parent entity can see child entities. Defaults to true.
1433
+ * When true: a SELECT policy allows parent members to list child entities (e.g. org members can see all data rooms).
1434
+ * When false: only direct members of the entity itself can see it (private entity mode).
1435
+ * Controls whether the parent_member SELECT policy is created on the entity table.
1436
+ * Only meaningful on the defaults path — ignored (no-op) when table_provision is non-NULL or
1437
+ * skip_entity_policies=true, since no default policies are being applied in those cases.
1438
+ */
1439
+ isVisible?: boolean | null;
1440
+ /**
1441
+ * Whether to apply limits_module security for this type. Defaults to false.
1442
+ * The limits_module table structure is always created (memberships_module requires it),
1443
+ * but when false, no RLS policies are applied to the limits tables.
1444
+ * Set to true if this entity type needs configurable resource limits per membership.
1445
+ */
1446
+ hasLimits?: boolean | null;
1447
+ /**
1448
+ * Whether to provision profiles_module for this type. Defaults to false.
1449
+ * Profiles provide named permission roles (e.g. 'Editor', 'Viewer') with pre-configured permission bitmasks.
1450
+ * When true, creates profile tables and applies profiles security.
1451
+ */
1452
+ hasProfiles?: boolean | null;
1453
+ /**
1454
+ * Whether to provision levels_module for this type. Defaults to false.
1455
+ * Levels provide gamification/achievement tracking for members.
1456
+ * When true, creates level steps, achievements, and level tables with security.
1457
+ */
1458
+ hasLevels?: boolean | null;
1459
+ /**
1460
+ * Escape hatch: when true, apply zero RLS policies to the entity table. Defaults to false.
1461
+ * Use this only when you want the entity table provisioned with zero policies (e.g. because you
1462
+ * plan to insert secure_table_provision rows yourself later). In most cases, prefer leaving this
1463
+ * false and either accepting the five defaults (table_provision=NULL) or overriding them via
1464
+ * table_provision.
1465
+ * Defaults (applied when table_provision IS NULL and skip_entity_policies=false):
1466
+ * - SELECT (parent_member): parent entity members can see child entities (only when is_visible=true)
1467
+ * - SELECT (self_member): direct members of the entity can see it
1468
+ * - INSERT: create_entity permission on the parent entity
1469
+ * - UPDATE: admin_entity permission on the entity itself
1470
+ * - DELETE: owner of the entity can delete it
1471
+ */
1472
+ skipEntityPolicies?: boolean | null;
1473
+ /**
1474
+ * Single jsonb object describing the full security setup to apply to the entity table.
1475
+ * Uses the same vocabulary as metaschema_modules_public.provision_table() and blueprint tables[]
1476
+ * entries, so an entity table is configured the same way an ordinary blueprint table is.
1477
+ * Defaults to NULL; when non-NULL, the five default policies are implicitly replaced by
1478
+ * table_provision.policies[] (is_visible becomes a no-op on this path).
1479
+ * Recognized keys (all optional):
1480
+ * - use_rls (boolean, default true)
1481
+ * - nodes (jsonb array of {"$type","data"} Data* module entries)
1482
+ * - fields (jsonb array of field objects: name,type,is_required,default,min,max,regexp,index)
1483
+ * - grant_privileges (jsonb array of [privilege, columns] tuples)
1484
+ * - grant_roles (jsonb array of role names; defaults to ["authenticated"])
1485
+ * - policies (jsonb array of policy objects; each with $type, privileges, data, name, role, permissive)
1486
+ * The trigger fans policies[] into N secure_table_provision rows against the newly created entity table,
1487
+ * with table-level setup (nodes/fields/grants) attached to the first row.
1488
+ * Example — override with two SELECT policies:
1489
+ * table_provision := jsonb_build_object(
1490
+ * 'policies', jsonb_build_array(
1491
+ * jsonb_build_object(
1492
+ * '$type', 'AuthzEntityMembership',
1493
+ * 'privileges', jsonb_build_array('select'),
1494
+ * 'data', jsonb_build_object('entity_field', 'id', 'membership_type', 3),
1495
+ * 'name', 'self_member'
1496
+ * ),
1497
+ * jsonb_build_object(
1498
+ * '$type', 'AuthzDirectOwner',
1499
+ * 'privileges', jsonb_build_array('select', 'update'),
1500
+ * 'data', jsonb_build_object('owner_field', 'owner_id')
1501
+ * )
1502
+ * )
1503
+ * )
1504
+ */
1505
+ tableProvision?: Record<string, unknown> | null;
1506
+ /**
1507
+ * Output: the auto-assigned integer membership type ID. Populated by the trigger after successful provisioning.
1508
+ * This is the ID used in membership_types, memberships_module, and all module tables.
1509
+ */
1510
+ outMembershipType?: number | null;
1511
+ /**
1512
+ * Output: the UUID of the created entity table. Populated by the trigger.
1513
+ * Use this to reference the entity table in subsequent relation_provision or secure_table_provision rows.
1514
+ */
1515
+ outEntityTableId?: string | null;
1516
+ /** Output: the name of the created entity table (e.g. 'data_rooms'). Populated by the trigger. */
1517
+ outEntityTableName?: string | null;
1518
+ /**
1519
+ * Output: array of installed module labels (e.g. ARRAY['permissions_module:data_room', 'memberships_module:data_room', 'invites_module:data_room']).
1520
+ * Populated by the trigger. Useful for verifying which modules were provisioned.
1521
+ */
1522
+ outInstalledModules?: string[] | null;
1523
+ }
1524
+ /** Config row for the webauthn_credentials_module, which provisions the per-user WebAuthn/passkey credentials table (public key, counter, transports, device type, backup state) mirroring crypto_addresses_module. The sibling webauthn_auth_module (RP config, sign-in/sign-up function names) lands later; Phase 11a is credentials only. */
1525
+ export interface WebauthnCredentialsModule {
1526
+ id: string;
1527
+ databaseId?: string | null;
1528
+ schemaId?: string | null;
1529
+ /** Reserved for future SECURITY DEFINER helpers on webauthn_credentials; unused in Phase 11a. */
1530
+ privateSchemaId?: string | null;
1531
+ tableId?: string | null;
1532
+ ownerTableId?: string | null;
1533
+ tableName?: string | null;
1534
+ }
1371
1535
  /** Tracks database provisioning requests and their status. The BEFORE INSERT trigger creates the database and sets database_id before RLS policies are evaluated. */
1372
1536
  export interface DatabaseProvisionModule {
1373
1537
  id: string;
@@ -1444,6 +1608,8 @@ export interface OrgMembership {
1444
1608
  isDisabled?: boolean | null;
1445
1609
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
1446
1610
  isActive?: boolean | null;
1611
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
1612
+ isExternal?: boolean | null;
1447
1613
  /** Whether the actor is the owner of this entity */
1448
1614
  isOwner?: boolean | null;
1449
1615
  /** Whether the actor has admin privileges on this entity */
@@ -1456,6 +1622,8 @@ export interface OrgMembership {
1456
1622
  actorId?: string | null;
1457
1623
  /** References the entity (org or group) this membership belongs to */
1458
1624
  entityId?: string | null;
1625
+ /** Whether this member has read-only access (blocks mutations when true) */
1626
+ isReadOnly?: boolean | null;
1459
1627
  profileId?: string | null;
1460
1628
  }
1461
1629
  /** Simplified view of active members in an entity, used for listing who belongs to an org or group */
@@ -1494,6 +1662,28 @@ export interface OrgOwnerGrant {
1494
1662
  createdAt?: string | null;
1495
1663
  updatedAt?: string | null;
1496
1664
  }
1665
+ /** Per-membership profile information visible to other entity members (display name, email, title, bio, avatar) */
1666
+ export interface OrgMemberProfile {
1667
+ id: string;
1668
+ createdAt?: string | null;
1669
+ updatedAt?: string | null;
1670
+ /** References the membership this profile belongs to (1:1) */
1671
+ membershipId?: string | null;
1672
+ /** References the entity this profile belongs to (used for RLS lookups) */
1673
+ entityId?: string | null;
1674
+ /** References the user who owns this profile (for self-edit RLS) */
1675
+ actorId?: string | null;
1676
+ /** Display name shown to other entity members */
1677
+ displayName?: string | null;
1678
+ /** Email address visible to other entity members (auto-populated from verified primary email) */
1679
+ email?: string | null;
1680
+ /** Job title or role description visible to other entity members */
1681
+ title?: string | null;
1682
+ /** Short biography visible to other entity members */
1683
+ bio?: string | null;
1684
+ /** Profile picture visible to other entity members */
1685
+ profilePicture?: ConstructiveInternalTypeImage | null;
1686
+ }
1497
1687
  /** Records of individual permission grants and revocations for members via bitmask */
1498
1688
  export interface OrgGrant {
1499
1689
  id: string;
@@ -1655,21 +1845,6 @@ export interface CryptoAddress {
1655
1845
  createdAt?: string | null;
1656
1846
  updatedAt?: string | null;
1657
1847
  }
1658
- /** OAuth and social login connections linking external service accounts to users */
1659
- export interface ConnectedAccount {
1660
- id: string;
1661
- ownerId?: string | null;
1662
- /** The service used, e.g. `twitter` or `github`. */
1663
- service?: string | null;
1664
- /** A unique identifier for the user within the service */
1665
- identifier?: string | null;
1666
- /** Additional profile details extracted from this login method */
1667
- details?: Record<string, unknown> | null;
1668
- /** Whether this connected account has been verified */
1669
- isVerified?: boolean | null;
1670
- createdAt?: string | null;
1671
- updatedAt?: string | null;
1672
- }
1673
1848
  /** Invitation records sent to prospective members via email, with token-based redemption and expiration */
1674
1849
  export interface AppInvite {
1675
1850
  id: string;
@@ -1817,16 +1992,24 @@ export interface OrgLimitDefault {
1817
1992
  /** Default maximum usage allowed for this limit */
1818
1993
  max?: number | null;
1819
1994
  }
1820
- /** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */
1821
- export interface MembershipType {
1822
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
1823
- id: number;
1824
- /** Human-readable name of the membership type */
1825
- name?: string | null;
1826
- /** Description of what this membership type represents */
1827
- description?: string | null;
1828
- /** Short prefix used to namespace tables and functions for this membership scope */
1829
- prefix?: string | null;
1995
+ export interface DevicesModule {
1996
+ id: string;
1997
+ databaseId?: string | null;
1998
+ schemaId?: string | null;
1999
+ userDevicesTableId?: string | null;
2000
+ deviceSettingsTableId?: string | null;
2001
+ userDevicesTable?: string | null;
2002
+ deviceSettingsTable?: string | null;
2003
+ }
2004
+ export interface UserConnectedAccount {
2005
+ id: string;
2006
+ ownerId?: string | null;
2007
+ service?: string | null;
2008
+ identifier?: string | null;
2009
+ details?: Record<string, unknown> | null;
2010
+ isVerified?: boolean | null;
2011
+ createdAt?: string | null;
2012
+ updatedAt?: string | null;
1830
2013
  }
1831
2014
  /** Default membership settings per entity, controlling initial approval and verification state for new members */
1832
2015
  export interface AppMembershipDefault {
@@ -1870,6 +2053,21 @@ export interface RateLimitsModule {
1870
2053
  ipRateLimitsTable?: string | null;
1871
2054
  rateLimitsTable?: string | null;
1872
2055
  }
2056
+ /** Defines the different scopes of membership (e.g. App Member, Organization Member, Group Member) */
2057
+ export interface MembershipType {
2058
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
2059
+ id: number;
2060
+ /** Human-readable name of the membership type */
2061
+ name?: string | null;
2062
+ /** Description of what this membership type represents */
2063
+ description?: string | null;
2064
+ /** Short prefix used to namespace tables and functions for this membership scope */
2065
+ prefix?: string | null;
2066
+ /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
2067
+ parentMembershipType?: number | null;
2068
+ /** When true, entities of this membership type get a one-to-one ID in the users table and a corresponding role_type entry, enabling them to own resources via owner_id FKs */
2069
+ hasUsersTableEntry?: boolean | null;
2070
+ }
1873
2071
  /** Default membership settings per entity, controlling initial approval and verification state for new members */
1874
2072
  export interface OrgMembershipDefault {
1875
2073
  id: string;
@@ -1962,6 +2160,8 @@ export interface AppMembership {
1962
2160
  isVerified?: boolean | null;
1963
2161
  /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
1964
2162
  isActive?: boolean | null;
2163
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
2164
+ isExternal?: boolean | null;
1965
2165
  /** Whether the actor is the owner of this entity */
1966
2166
  isOwner?: boolean | null;
1967
2167
  /** Whether the actor has admin privileges on this entity */
@@ -2026,6 +2226,7 @@ export interface DatabaseRelations {
2026
2226
  rlsModule?: RlsModule | null;
2027
2227
  hierarchyModule?: HierarchyModule | null;
2028
2228
  rateLimitsModule?: RateLimitsModule | null;
2229
+ devicesModule?: DevicesModule | null;
2029
2230
  schemas?: ConnectionResult<Schema>;
2030
2231
  tables?: ConnectionResult<Table>;
2031
2232
  checkConstraints?: ConnectionResult<CheckConstraint>;
@@ -2046,6 +2247,7 @@ export interface DatabaseRelations {
2046
2247
  defaultPrivileges?: ConnectionResult<DefaultPrivilege>;
2047
2248
  enums?: ConnectionResult<Enum>;
2048
2249
  embeddingChunks?: ConnectionResult<EmbeddingChunk>;
2250
+ spatialRelations?: ConnectionResult<SpatialRelation>;
2049
2251
  databaseTransfers?: ConnectionResult<DatabaseTransfer>;
2050
2252
  apis?: ConnectionResult<Api>;
2051
2253
  apiModules?: ConnectionResult<ApiModule>;
@@ -2075,12 +2277,14 @@ export interface DatabaseRelations {
2075
2277
  sessionsModules?: ConnectionResult<SessionsModule>;
2076
2278
  userAuthModules?: ConnectionResult<UserAuthModule>;
2077
2279
  usersModules?: ConnectionResult<UsersModule>;
2078
- tableTemplateModules?: ConnectionResult<TableTemplateModule>;
2079
2280
  secureTableProvisions?: ConnectionResult<SecureTableProvision>;
2080
2281
  relationProvisions?: ConnectionResult<RelationProvision>;
2081
2282
  blueprints?: ConnectionResult<Blueprint>;
2082
2283
  blueprintConstructions?: ConnectionResult<BlueprintConstruction>;
2083
2284
  storageModules?: ConnectionResult<StorageModule>;
2285
+ entityTypeProvisions?: ConnectionResult<EntityTypeProvision>;
2286
+ sessionSecretsModules?: ConnectionResult<SessionSecretsModule>;
2287
+ webauthnCredentialsModules?: ConnectionResult<WebauthnCredentialsModule>;
2084
2288
  databaseProvisionModules?: ConnectionResult<DatabaseProvisionModule>;
2085
2289
  }
2086
2290
  export interface SchemaRelations {
@@ -2091,8 +2295,7 @@ export interface SchemaRelations {
2091
2295
  defaultPrivileges?: ConnectionResult<DefaultPrivilege>;
2092
2296
  enums?: ConnectionResult<Enum>;
2093
2297
  apiSchemas?: ConnectionResult<ApiSchema>;
2094
- tableTemplateModulesByPrivateSchemaId?: ConnectionResult<TableTemplateModule>;
2095
- tableTemplateModules?: ConnectionResult<TableTemplateModule>;
2298
+ sessionSecretsModules?: ConnectionResult<SessionSecretsModule>;
2096
2299
  }
2097
2300
  export interface TableRelations {
2098
2301
  database?: Database | null;
@@ -2112,11 +2315,13 @@ export interface TableRelations {
2112
2315
  viewTables?: ConnectionResult<ViewTable>;
2113
2316
  embeddingChunksByChunksTableId?: ConnectionResult<EmbeddingChunk>;
2114
2317
  embeddingChunks?: ConnectionResult<EmbeddingChunk>;
2115
- tableTemplateModulesByOwnerTableId?: ConnectionResult<TableTemplateModule>;
2116
- tableTemplateModules?: ConnectionResult<TableTemplateModule>;
2318
+ spatialRelationsByRefTableId?: ConnectionResult<SpatialRelation>;
2319
+ spatialRelations?: ConnectionResult<SpatialRelation>;
2117
2320
  secureTableProvisions?: ConnectionResult<SecureTableProvision>;
2118
2321
  relationProvisionsBySourceTableId?: ConnectionResult<RelationProvision>;
2119
2322
  relationProvisionsByTargetTableId?: ConnectionResult<RelationProvision>;
2323
+ sessionSecretsModulesBySessionsTableId?: ConnectionResult<SessionSecretsModule>;
2324
+ sessionSecretsModules?: ConnectionResult<SessionSecretsModule>;
2120
2325
  }
2121
2326
  export interface CheckConstraintRelations {
2122
2327
  database?: Database | null;
@@ -2125,6 +2330,15 @@ export interface CheckConstraintRelations {
2125
2330
  export interface FieldRelations {
2126
2331
  database?: Database | null;
2127
2332
  table?: Table | null;
2333
+ spatialRelations?: ConnectionResult<SpatialRelation>;
2334
+ spatialRelationsByRefFieldId?: ConnectionResult<SpatialRelation>;
2335
+ }
2336
+ export interface SpatialRelationRelations {
2337
+ database?: Database | null;
2338
+ field?: Field | null;
2339
+ refField?: Field | null;
2340
+ refTable?: Table | null;
2341
+ table?: Table | null;
2128
2342
  }
2129
2343
  export interface ForeignKeyConstraintRelations {
2130
2344
  database?: Database | null;
@@ -2186,13 +2400,6 @@ export interface EmbeddingChunkRelations {
2186
2400
  parentFkField?: Field | null;
2187
2401
  table?: Table | null;
2188
2402
  }
2189
- export interface TableTemplateModuleRelations {
2190
- database?: Database | null;
2191
- ownerTable?: Table | null;
2192
- privateSchema?: Schema | null;
2193
- schema?: Schema | null;
2194
- table?: Table | null;
2195
- }
2196
2403
  export interface SecureTableProvisionRelations {
2197
2404
  database?: Database | null;
2198
2405
  schema?: Schema | null;
@@ -2203,6 +2410,12 @@ export interface RelationProvisionRelations {
2203
2410
  sourceTable?: Table | null;
2204
2411
  targetTable?: Table | null;
2205
2412
  }
2413
+ export interface SessionSecretsModuleRelations {
2414
+ database?: Database | null;
2415
+ schema?: Schema | null;
2416
+ sessionsTable?: Table | null;
2417
+ table?: Table | null;
2418
+ }
2206
2419
  export interface SchemaGrantRelations {
2207
2420
  database?: Database | null;
2208
2421
  schema?: Schema | null;
@@ -2442,6 +2655,16 @@ export interface StorageModuleRelations {
2442
2655
  schema?: Schema | null;
2443
2656
  uploadRequestsTable?: Table | null;
2444
2657
  }
2658
+ export interface EntityTypeProvisionRelations {
2659
+ database?: Database | null;
2660
+ }
2661
+ export interface WebauthnCredentialsModuleRelations {
2662
+ database?: Database | null;
2663
+ ownerTable?: Table | null;
2664
+ privateSchema?: Schema | null;
2665
+ schema?: Schema | null;
2666
+ table?: Table | null;
2667
+ }
2445
2668
  export interface DatabaseProvisionModuleRelations {
2446
2669
  database?: Database | null;
2447
2670
  }
@@ -2460,6 +2683,7 @@ export interface AppGrantRelations {
2460
2683
  export interface OrgMembershipRelations {
2461
2684
  actor?: User | null;
2462
2685
  entity?: User | null;
2686
+ orgMemberProfileByMembershipId?: OrgMemberProfile | null;
2463
2687
  }
2464
2688
  export interface OrgMemberRelations {
2465
2689
  actor?: User | null;
@@ -2475,6 +2699,11 @@ export interface OrgOwnerGrantRelations {
2475
2699
  entity?: User | null;
2476
2700
  grantor?: User | null;
2477
2701
  }
2702
+ export interface OrgMemberProfileRelations {
2703
+ actor?: User | null;
2704
+ entity?: User | null;
2705
+ membership?: OrgMembership | null;
2706
+ }
2478
2707
  export interface OrgGrantRelations {
2479
2708
  actor?: User | null;
2480
2709
  entity?: User | null;
@@ -2519,9 +2748,6 @@ export interface PhoneNumberRelations {
2519
2748
  export interface CryptoAddressRelations {
2520
2749
  owner?: User | null;
2521
2750
  }
2522
- export interface ConnectedAccountRelations {
2523
- owner?: User | null;
2524
- }
2525
2751
  export interface AppInviteRelations {
2526
2752
  sender?: User | null;
2527
2753
  }
@@ -2556,7 +2782,13 @@ export interface AppLimitDefaultRelations {
2556
2782
  }
2557
2783
  export interface OrgLimitDefaultRelations {
2558
2784
  }
2559
- export interface MembershipTypeRelations {
2785
+ export interface DevicesModuleRelations {
2786
+ database?: Database | null;
2787
+ deviceSettingsTableByDeviceSettingsTableId?: Table | null;
2788
+ schema?: Schema | null;
2789
+ userDevicesTableByUserDevicesTableId?: Table | null;
2790
+ }
2791
+ export interface UserConnectedAccountRelations {
2560
2792
  }
2561
2793
  export interface AppMembershipDefaultRelations {
2562
2794
  }
@@ -2569,6 +2801,8 @@ export interface RateLimitsModuleRelations {
2569
2801
  rateLimitsTableByRateLimitsTableId?: Table | null;
2570
2802
  schema?: Schema | null;
2571
2803
  }
2804
+ export interface MembershipTypeRelations {
2805
+ }
2572
2806
  export interface OrgMembershipDefaultRelations {
2573
2807
  entity?: User | null;
2574
2808
  }
@@ -2603,6 +2837,8 @@ export interface UserRelations {
2603
2837
  orgOwnerGrantsByActorId?: ConnectionResult<OrgOwnerGrant>;
2604
2838
  orgOwnerGrantsByEntityId?: ConnectionResult<OrgOwnerGrant>;
2605
2839
  orgOwnerGrantsByGrantorId?: ConnectionResult<OrgOwnerGrant>;
2840
+ orgMemberProfilesByActorId?: ConnectionResult<OrgMemberProfile>;
2841
+ orgMemberProfilesByEntityId?: ConnectionResult<OrgMemberProfile>;
2606
2842
  orgGrantsByActorId?: ConnectionResult<OrgGrant>;
2607
2843
  orgGrantsByEntityId?: ConnectionResult<OrgGrant>;
2608
2844
  orgGrantsByGrantorId?: ConnectionResult<OrgGrant>;
@@ -2623,7 +2859,6 @@ export interface UserRelations {
2623
2859
  ownedEmails?: ConnectionResult<Email>;
2624
2860
  ownedPhoneNumbers?: ConnectionResult<PhoneNumber>;
2625
2861
  ownedCryptoAddresses?: ConnectionResult<CryptoAddress>;
2626
- ownedConnectedAccounts?: ConnectionResult<ConnectedAccount>;
2627
2862
  appInvitesBySenderId?: ConnectionResult<AppInvite>;
2628
2863
  appClaimedInvitesByReceiverId?: ConnectionResult<AppClaimedInvite>;
2629
2864
  appClaimedInvitesBySenderId?: ConnectionResult<AppClaimedInvite>;
@@ -2662,6 +2897,7 @@ export type SchemaWithRelations = Schema & SchemaRelations;
2662
2897
  export type TableWithRelations = Table & TableRelations;
2663
2898
  export type CheckConstraintWithRelations = CheckConstraint & CheckConstraintRelations;
2664
2899
  export type FieldWithRelations = Field & FieldRelations;
2900
+ export type SpatialRelationWithRelations = SpatialRelation & SpatialRelationRelations;
2665
2901
  export type ForeignKeyConstraintWithRelations = ForeignKeyConstraint & ForeignKeyConstraintRelations;
2666
2902
  export type FullTextSearchWithRelations = FullTextSearch & FullTextSearchRelations;
2667
2903
  export type IndexWithRelations = Index & IndexRelations;
@@ -2675,9 +2911,9 @@ export type ViewTableWithRelations = ViewTable & ViewTableRelations;
2675
2911
  export type ViewGrantWithRelations = ViewGrant & ViewGrantRelations;
2676
2912
  export type ViewRuleWithRelations = ViewRule & ViewRuleRelations;
2677
2913
  export type EmbeddingChunkWithRelations = EmbeddingChunk & EmbeddingChunkRelations;
2678
- export type TableTemplateModuleWithRelations = TableTemplateModule & TableTemplateModuleRelations;
2679
2914
  export type SecureTableProvisionWithRelations = SecureTableProvision & SecureTableProvisionRelations;
2680
2915
  export type RelationProvisionWithRelations = RelationProvision & RelationProvisionRelations;
2916
+ export type SessionSecretsModuleWithRelations = SessionSecretsModule & SessionSecretsModuleRelations;
2681
2917
  export type SchemaGrantWithRelations = SchemaGrant & SchemaGrantRelations;
2682
2918
  export type DefaultPrivilegeWithRelations = DefaultPrivilege & DefaultPrivilegeRelations;
2683
2919
  export type EnumWithRelations = Enum & EnumRelations;
@@ -2715,6 +2951,8 @@ export type BlueprintWithRelations = Blueprint & BlueprintRelations;
2715
2951
  export type BlueprintTemplateWithRelations = BlueprintTemplate & BlueprintTemplateRelations;
2716
2952
  export type BlueprintConstructionWithRelations = BlueprintConstruction & BlueprintConstructionRelations;
2717
2953
  export type StorageModuleWithRelations = StorageModule & StorageModuleRelations;
2954
+ export type EntityTypeProvisionWithRelations = EntityTypeProvision & EntityTypeProvisionRelations;
2955
+ export type WebauthnCredentialsModuleWithRelations = WebauthnCredentialsModule & WebauthnCredentialsModuleRelations;
2718
2956
  export type DatabaseProvisionModuleWithRelations = DatabaseProvisionModule & DatabaseProvisionModuleRelations;
2719
2957
  export type AppAdminGrantWithRelations = AppAdminGrant & AppAdminGrantRelations;
2720
2958
  export type AppOwnerGrantWithRelations = AppOwnerGrant & AppOwnerGrantRelations;
@@ -2723,6 +2961,7 @@ export type OrgMembershipWithRelations = OrgMembership & OrgMembershipRelations;
2723
2961
  export type OrgMemberWithRelations = OrgMember & OrgMemberRelations;
2724
2962
  export type OrgAdminGrantWithRelations = OrgAdminGrant & OrgAdminGrantRelations;
2725
2963
  export type OrgOwnerGrantWithRelations = OrgOwnerGrant & OrgOwnerGrantRelations;
2964
+ export type OrgMemberProfileWithRelations = OrgMemberProfile & OrgMemberProfileRelations;
2726
2965
  export type OrgGrantWithRelations = OrgGrant & OrgGrantRelations;
2727
2966
  export type OrgChartEdgeWithRelations = OrgChartEdge & OrgChartEdgeRelations;
2728
2967
  export type OrgChartEdgeGrantWithRelations = OrgChartEdgeGrant & OrgChartEdgeGrantRelations;
@@ -2735,7 +2974,6 @@ export type AppLevelWithRelations = AppLevel & AppLevelRelations;
2735
2974
  export type EmailWithRelations = Email & EmailRelations;
2736
2975
  export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations;
2737
2976
  export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations;
2738
- export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations;
2739
2977
  export type AppInviteWithRelations = AppInvite & AppInviteRelations;
2740
2978
  export type AppClaimedInviteWithRelations = AppClaimedInvite & AppClaimedInviteRelations;
2741
2979
  export type OrgInviteWithRelations = OrgInvite & OrgInviteRelations;
@@ -2748,10 +2986,12 @@ export type RoleTypeWithRelations = RoleType & RoleTypeRelations;
2748
2986
  export type MigrateFileWithRelations = MigrateFile & MigrateFileRelations;
2749
2987
  export type AppLimitDefaultWithRelations = AppLimitDefault & AppLimitDefaultRelations;
2750
2988
  export type OrgLimitDefaultWithRelations = OrgLimitDefault & OrgLimitDefaultRelations;
2751
- export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations;
2989
+ export type DevicesModuleWithRelations = DevicesModule & DevicesModuleRelations;
2990
+ export type UserConnectedAccountWithRelations = UserConnectedAccount & UserConnectedAccountRelations;
2752
2991
  export type AppMembershipDefaultWithRelations = AppMembershipDefault & AppMembershipDefaultRelations;
2753
2992
  export type CommitWithRelations = Commit & CommitRelations;
2754
2993
  export type RateLimitsModuleWithRelations = RateLimitsModule & RateLimitsModuleRelations;
2994
+ export type MembershipTypeWithRelations = MembershipType & MembershipTypeRelations;
2755
2995
  export type OrgMembershipDefaultWithRelations = OrgMembershipDefault & OrgMembershipDefaultRelations;
2756
2996
  export type RlsModuleWithRelations = RlsModule & RlsModuleRelations;
2757
2997
  export type SqlActionWithRelations = SqlAction & SqlActionRelations;
@@ -2826,6 +3066,9 @@ export type DatabaseSelect = {
2826
3066
  rateLimitsModule?: {
2827
3067
  select: RateLimitsModuleSelect;
2828
3068
  };
3069
+ devicesModule?: {
3070
+ select: DevicesModuleSelect;
3071
+ };
2829
3072
  schemas?: {
2830
3073
  select: SchemaSelect;
2831
3074
  first?: number;
@@ -2946,6 +3189,12 @@ export type DatabaseSelect = {
2946
3189
  filter?: EmbeddingChunkFilter;
2947
3190
  orderBy?: EmbeddingChunkOrderBy[];
2948
3191
  };
3192
+ spatialRelations?: {
3193
+ select: SpatialRelationSelect;
3194
+ first?: number;
3195
+ filter?: SpatialRelationFilter;
3196
+ orderBy?: SpatialRelationOrderBy[];
3197
+ };
2949
3198
  databaseTransfers?: {
2950
3199
  select: DatabaseTransferSelect;
2951
3200
  first?: number;
@@ -3120,12 +3369,6 @@ export type DatabaseSelect = {
3120
3369
  filter?: UsersModuleFilter;
3121
3370
  orderBy?: UsersModuleOrderBy[];
3122
3371
  };
3123
- tableTemplateModules?: {
3124
- select: TableTemplateModuleSelect;
3125
- first?: number;
3126
- filter?: TableTemplateModuleFilter;
3127
- orderBy?: TableTemplateModuleOrderBy[];
3128
- };
3129
3372
  secureTableProvisions?: {
3130
3373
  select: SecureTableProvisionSelect;
3131
3374
  first?: number;
@@ -3156,6 +3399,24 @@ export type DatabaseSelect = {
3156
3399
  filter?: StorageModuleFilter;
3157
3400
  orderBy?: StorageModuleOrderBy[];
3158
3401
  };
3402
+ entityTypeProvisions?: {
3403
+ select: EntityTypeProvisionSelect;
3404
+ first?: number;
3405
+ filter?: EntityTypeProvisionFilter;
3406
+ orderBy?: EntityTypeProvisionOrderBy[];
3407
+ };
3408
+ sessionSecretsModules?: {
3409
+ select: SessionSecretsModuleSelect;
3410
+ first?: number;
3411
+ filter?: SessionSecretsModuleFilter;
3412
+ orderBy?: SessionSecretsModuleOrderBy[];
3413
+ };
3414
+ webauthnCredentialsModules?: {
3415
+ select: WebauthnCredentialsModuleSelect;
3416
+ first?: number;
3417
+ filter?: WebauthnCredentialsModuleFilter;
3418
+ orderBy?: WebauthnCredentialsModuleOrderBy[];
3419
+ };
3159
3420
  databaseProvisionModules?: {
3160
3421
  select: DatabaseProvisionModuleSelect;
3161
3422
  first?: number;
@@ -3217,17 +3478,11 @@ export type SchemaSelect = {
3217
3478
  filter?: ApiSchemaFilter;
3218
3479
  orderBy?: ApiSchemaOrderBy[];
3219
3480
  };
3220
- tableTemplateModulesByPrivateSchemaId?: {
3221
- select: TableTemplateModuleSelect;
3481
+ sessionSecretsModules?: {
3482
+ select: SessionSecretsModuleSelect;
3222
3483
  first?: number;
3223
- filter?: TableTemplateModuleFilter;
3224
- orderBy?: TableTemplateModuleOrderBy[];
3225
- };
3226
- tableTemplateModules?: {
3227
- select: TableTemplateModuleSelect;
3228
- first?: number;
3229
- filter?: TableTemplateModuleFilter;
3230
- orderBy?: TableTemplateModuleOrderBy[];
3484
+ filter?: SessionSecretsModuleFilter;
3485
+ orderBy?: SessionSecretsModuleOrderBy[];
3231
3486
  };
3232
3487
  };
3233
3488
  export type TableSelect = {
@@ -3343,17 +3598,17 @@ export type TableSelect = {
3343
3598
  filter?: EmbeddingChunkFilter;
3344
3599
  orderBy?: EmbeddingChunkOrderBy[];
3345
3600
  };
3346
- tableTemplateModulesByOwnerTableId?: {
3347
- select: TableTemplateModuleSelect;
3601
+ spatialRelationsByRefTableId?: {
3602
+ select: SpatialRelationSelect;
3348
3603
  first?: number;
3349
- filter?: TableTemplateModuleFilter;
3350
- orderBy?: TableTemplateModuleOrderBy[];
3604
+ filter?: SpatialRelationFilter;
3605
+ orderBy?: SpatialRelationOrderBy[];
3351
3606
  };
3352
- tableTemplateModules?: {
3353
- select: TableTemplateModuleSelect;
3607
+ spatialRelations?: {
3608
+ select: SpatialRelationSelect;
3354
3609
  first?: number;
3355
- filter?: TableTemplateModuleFilter;
3356
- orderBy?: TableTemplateModuleOrderBy[];
3610
+ filter?: SpatialRelationFilter;
3611
+ orderBy?: SpatialRelationOrderBy[];
3357
3612
  };
3358
3613
  secureTableProvisions?: {
3359
3614
  select: SecureTableProvisionSelect;
@@ -3373,6 +3628,18 @@ export type TableSelect = {
3373
3628
  filter?: RelationProvisionFilter;
3374
3629
  orderBy?: RelationProvisionOrderBy[];
3375
3630
  };
3631
+ sessionSecretsModulesBySessionsTableId?: {
3632
+ select: SessionSecretsModuleSelect;
3633
+ first?: number;
3634
+ filter?: SessionSecretsModuleFilter;
3635
+ orderBy?: SessionSecretsModuleOrderBy[];
3636
+ };
3637
+ sessionSecretsModules?: {
3638
+ select: SessionSecretsModuleSelect;
3639
+ first?: number;
3640
+ filter?: SessionSecretsModuleFilter;
3641
+ orderBy?: SessionSecretsModuleOrderBy[];
3642
+ };
3376
3643
  };
3377
3644
  export type CheckConstraintSelect = {
3378
3645
  id?: boolean;
@@ -3427,6 +3694,50 @@ export type FieldSelect = {
3427
3694
  table?: {
3428
3695
  select: TableSelect;
3429
3696
  };
3697
+ spatialRelations?: {
3698
+ select: SpatialRelationSelect;
3699
+ first?: number;
3700
+ filter?: SpatialRelationFilter;
3701
+ orderBy?: SpatialRelationOrderBy[];
3702
+ };
3703
+ spatialRelationsByRefFieldId?: {
3704
+ select: SpatialRelationSelect;
3705
+ first?: number;
3706
+ filter?: SpatialRelationFilter;
3707
+ orderBy?: SpatialRelationOrderBy[];
3708
+ };
3709
+ };
3710
+ export type SpatialRelationSelect = {
3711
+ id?: boolean;
3712
+ databaseId?: boolean;
3713
+ tableId?: boolean;
3714
+ fieldId?: boolean;
3715
+ refTableId?: boolean;
3716
+ refFieldId?: boolean;
3717
+ name?: boolean;
3718
+ operator?: boolean;
3719
+ paramName?: boolean;
3720
+ category?: boolean;
3721
+ module?: boolean;
3722
+ scope?: boolean;
3723
+ tags?: boolean;
3724
+ createdAt?: boolean;
3725
+ updatedAt?: boolean;
3726
+ database?: {
3727
+ select: DatabaseSelect;
3728
+ };
3729
+ field?: {
3730
+ select: FieldSelect;
3731
+ };
3732
+ refField?: {
3733
+ select: FieldSelect;
3734
+ };
3735
+ refTable?: {
3736
+ select: TableSelect;
3737
+ };
3738
+ table?: {
3739
+ select: TableSelect;
3740
+ };
3430
3741
  };
3431
3742
  export type ForeignKeyConstraintSelect = {
3432
3743
  id?: boolean;
@@ -3728,32 +4039,6 @@ export type EmbeddingChunkSelect = {
3728
4039
  select: TableSelect;
3729
4040
  };
3730
4041
  };
3731
- export type TableTemplateModuleSelect = {
3732
- id?: boolean;
3733
- databaseId?: boolean;
3734
- schemaId?: boolean;
3735
- privateSchemaId?: boolean;
3736
- tableId?: boolean;
3737
- ownerTableId?: boolean;
3738
- tableName?: boolean;
3739
- nodeType?: boolean;
3740
- data?: boolean;
3741
- database?: {
3742
- select: DatabaseSelect;
3743
- };
3744
- ownerTable?: {
3745
- select: TableSelect;
3746
- };
3747
- privateSchema?: {
3748
- select: SchemaSelect;
3749
- };
3750
- schema?: {
3751
- select: SchemaSelect;
3752
- };
3753
- table?: {
3754
- select: TableSelect;
3755
- };
3756
- };
3757
4042
  export type SecureTableProvisionSelect = {
3758
4043
  id?: boolean;
3759
4044
  databaseId?: boolean;
@@ -3823,6 +4108,26 @@ export type RelationProvisionSelect = {
3823
4108
  select: TableSelect;
3824
4109
  };
3825
4110
  };
4111
+ export type SessionSecretsModuleSelect = {
4112
+ id?: boolean;
4113
+ databaseId?: boolean;
4114
+ schemaId?: boolean;
4115
+ tableId?: boolean;
4116
+ tableName?: boolean;
4117
+ sessionsTableId?: boolean;
4118
+ database?: {
4119
+ select: DatabaseSelect;
4120
+ };
4121
+ schema?: {
4122
+ select: SchemaSelect;
4123
+ };
4124
+ sessionsTable?: {
4125
+ select: TableSelect;
4126
+ };
4127
+ table?: {
4128
+ select: TableSelect;
4129
+ };
4130
+ };
3826
4131
  export type SchemaGrantSelect = {
3827
4132
  id?: boolean;
3828
4133
  databaseId?: boolean;
@@ -4417,6 +4722,7 @@ export type MembershipsModuleSelect = {
4417
4722
  entityIdsByMask?: boolean;
4418
4723
  entityIdsByPerm?: boolean;
4419
4724
  entityIdsFunction?: boolean;
4725
+ memberProfilesTableId?: boolean;
4420
4726
  actorTable?: {
4421
4727
  select: TableSelect;
4422
4728
  };
@@ -4651,8 +4957,8 @@ export type UserAuthModuleSelect = {
4651
4957
  checkPasswordFunction?: boolean;
4652
4958
  sendAccountDeletionEmailFunction?: boolean;
4653
4959
  deleteAccountFunction?: boolean;
4654
- signInOneTimeTokenFunction?: boolean;
4655
- oneTimeTokenFunction?: boolean;
4960
+ signInCrossOriginFunction?: boolean;
4961
+ requestCrossOriginTokenFunction?: boolean;
4656
4962
  extendTokenExpires?: boolean;
4657
4963
  database?: {
4658
4964
  select: DatabaseSelect;
@@ -4825,6 +5131,52 @@ export type StorageModuleSelect = {
4825
5131
  select: TableSelect;
4826
5132
  };
4827
5133
  };
5134
+ export type EntityTypeProvisionSelect = {
5135
+ id?: boolean;
5136
+ databaseId?: boolean;
5137
+ name?: boolean;
5138
+ prefix?: boolean;
5139
+ description?: boolean;
5140
+ parentEntity?: boolean;
5141
+ tableName?: boolean;
5142
+ isVisible?: boolean;
5143
+ hasLimits?: boolean;
5144
+ hasProfiles?: boolean;
5145
+ hasLevels?: boolean;
5146
+ skipEntityPolicies?: boolean;
5147
+ tableProvision?: boolean;
5148
+ outMembershipType?: boolean;
5149
+ outEntityTableId?: boolean;
5150
+ outEntityTableName?: boolean;
5151
+ outInstalledModules?: boolean;
5152
+ database?: {
5153
+ select: DatabaseSelect;
5154
+ };
5155
+ };
5156
+ export type WebauthnCredentialsModuleSelect = {
5157
+ id?: boolean;
5158
+ databaseId?: boolean;
5159
+ schemaId?: boolean;
5160
+ privateSchemaId?: boolean;
5161
+ tableId?: boolean;
5162
+ ownerTableId?: boolean;
5163
+ tableName?: boolean;
5164
+ database?: {
5165
+ select: DatabaseSelect;
5166
+ };
5167
+ ownerTable?: {
5168
+ select: TableSelect;
5169
+ };
5170
+ privateSchema?: {
5171
+ select: SchemaSelect;
5172
+ };
5173
+ schema?: {
5174
+ select: SchemaSelect;
5175
+ };
5176
+ table?: {
5177
+ select: TableSelect;
5178
+ };
5179
+ };
4828
5180
  export type DatabaseProvisionModuleSelect = {
4829
5181
  id?: boolean;
4830
5182
  databaseName?: boolean;
@@ -4897,12 +5249,14 @@ export type OrgMembershipSelect = {
4897
5249
  isBanned?: boolean;
4898
5250
  isDisabled?: boolean;
4899
5251
  isActive?: boolean;
5252
+ isExternal?: boolean;
4900
5253
  isOwner?: boolean;
4901
5254
  isAdmin?: boolean;
4902
5255
  permissions?: boolean;
4903
5256
  granted?: boolean;
4904
5257
  actorId?: boolean;
4905
5258
  entityId?: boolean;
5259
+ isReadOnly?: boolean;
4906
5260
  profileId?: boolean;
4907
5261
  actor?: {
4908
5262
  select: UserSelect;
@@ -4910,6 +5264,9 @@ export type OrgMembershipSelect = {
4910
5264
  entity?: {
4911
5265
  select: UserSelect;
4912
5266
  };
5267
+ orgMemberProfileByMembershipId?: {
5268
+ select: OrgMemberProfileSelect;
5269
+ };
4913
5270
  };
4914
5271
  export type OrgMemberSelect = {
4915
5272
  id?: boolean;
@@ -4959,6 +5316,28 @@ export type OrgOwnerGrantSelect = {
4959
5316
  select: UserSelect;
4960
5317
  };
4961
5318
  };
5319
+ export type OrgMemberProfileSelect = {
5320
+ id?: boolean;
5321
+ createdAt?: boolean;
5322
+ updatedAt?: boolean;
5323
+ membershipId?: boolean;
5324
+ entityId?: boolean;
5325
+ actorId?: boolean;
5326
+ displayName?: boolean;
5327
+ email?: boolean;
5328
+ title?: boolean;
5329
+ bio?: boolean;
5330
+ profilePicture?: boolean;
5331
+ actor?: {
5332
+ select: UserSelect;
5333
+ };
5334
+ entity?: {
5335
+ select: UserSelect;
5336
+ };
5337
+ membership?: {
5338
+ select: OrgMembershipSelect;
5339
+ };
5340
+ };
4962
5341
  export type OrgGrantSelect = {
4963
5342
  id?: boolean;
4964
5343
  permissions?: boolean;
@@ -5123,19 +5502,6 @@ export type CryptoAddressSelect = {
5123
5502
  select: UserSelect;
5124
5503
  };
5125
5504
  };
5126
- export type ConnectedAccountSelect = {
5127
- id?: boolean;
5128
- ownerId?: boolean;
5129
- service?: boolean;
5130
- identifier?: boolean;
5131
- details?: boolean;
5132
- isVerified?: boolean;
5133
- createdAt?: boolean;
5134
- updatedAt?: boolean;
5135
- owner?: {
5136
- select: UserSelect;
5137
- };
5138
- };
5139
5505
  export type AppInviteSelect = {
5140
5506
  id?: boolean;
5141
5507
  email?: boolean;
@@ -5260,11 +5626,36 @@ export type OrgLimitDefaultSelect = {
5260
5626
  name?: boolean;
5261
5627
  max?: boolean;
5262
5628
  };
5263
- export type MembershipTypeSelect = {
5629
+ export type DevicesModuleSelect = {
5264
5630
  id?: boolean;
5265
- name?: boolean;
5266
- description?: boolean;
5267
- prefix?: boolean;
5631
+ databaseId?: boolean;
5632
+ schemaId?: boolean;
5633
+ userDevicesTableId?: boolean;
5634
+ deviceSettingsTableId?: boolean;
5635
+ userDevicesTable?: boolean;
5636
+ deviceSettingsTable?: boolean;
5637
+ database?: {
5638
+ select: DatabaseSelect;
5639
+ };
5640
+ deviceSettingsTableByDeviceSettingsTableId?: {
5641
+ select: TableSelect;
5642
+ };
5643
+ schema?: {
5644
+ select: SchemaSelect;
5645
+ };
5646
+ userDevicesTableByUserDevicesTableId?: {
5647
+ select: TableSelect;
5648
+ };
5649
+ };
5650
+ export type UserConnectedAccountSelect = {
5651
+ id?: boolean;
5652
+ ownerId?: boolean;
5653
+ service?: boolean;
5654
+ identifier?: boolean;
5655
+ details?: boolean;
5656
+ isVerified?: boolean;
5657
+ createdAt?: boolean;
5658
+ updatedAt?: boolean;
5268
5659
  };
5269
5660
  export type AppMembershipDefaultSelect = {
5270
5661
  id?: boolean;
@@ -5312,6 +5703,14 @@ export type RateLimitsModuleSelect = {
5312
5703
  select: SchemaSelect;
5313
5704
  };
5314
5705
  };
5706
+ export type MembershipTypeSelect = {
5707
+ id?: boolean;
5708
+ name?: boolean;
5709
+ description?: boolean;
5710
+ prefix?: boolean;
5711
+ parentMembershipType?: boolean;
5712
+ hasUsersTableEntry?: boolean;
5713
+ };
5315
5714
  export type OrgMembershipDefaultSelect = {
5316
5715
  id?: boolean;
5317
5716
  createdAt?: boolean;
@@ -5495,6 +5894,18 @@ export type UserSelect = {
5495
5894
  filter?: OrgOwnerGrantFilter;
5496
5895
  orderBy?: OrgOwnerGrantOrderBy[];
5497
5896
  };
5897
+ orgMemberProfilesByActorId?: {
5898
+ select: OrgMemberProfileSelect;
5899
+ first?: number;
5900
+ filter?: OrgMemberProfileFilter;
5901
+ orderBy?: OrgMemberProfileOrderBy[];
5902
+ };
5903
+ orgMemberProfilesByEntityId?: {
5904
+ select: OrgMemberProfileSelect;
5905
+ first?: number;
5906
+ filter?: OrgMemberProfileFilter;
5907
+ orderBy?: OrgMemberProfileOrderBy[];
5908
+ };
5498
5909
  orgGrantsByActorId?: {
5499
5910
  select: OrgGrantSelect;
5500
5911
  first?: number;
@@ -5615,12 +6026,6 @@ export type UserSelect = {
5615
6026
  filter?: CryptoAddressFilter;
5616
6027
  orderBy?: CryptoAddressOrderBy[];
5617
6028
  };
5618
- ownedConnectedAccounts?: {
5619
- select: ConnectedAccountSelect;
5620
- first?: number;
5621
- filter?: ConnectedAccountFilter;
5622
- orderBy?: ConnectedAccountOrderBy[];
5623
- };
5624
6029
  appInvitesBySenderId?: {
5625
6030
  select: AppInviteSelect;
5626
6031
  first?: number;
@@ -5708,6 +6113,7 @@ export type AppMembershipSelect = {
5708
6113
  isDisabled?: boolean;
5709
6114
  isVerified?: boolean;
5710
6115
  isActive?: boolean;
6116
+ isExternal?: boolean;
5711
6117
  isOwner?: boolean;
5712
6118
  isAdmin?: boolean;
5713
6119
  permissions?: boolean;
@@ -5974,6 +6380,10 @@ export interface DatabaseFilter {
5974
6380
  embeddingChunks?: DatabaseToManyEmbeddingChunkFilter;
5975
6381
  /** `embeddingChunks` exist. */
5976
6382
  embeddingChunksExist?: boolean;
6383
+ /** Filter by the object’s `spatialRelations` relation. */
6384
+ spatialRelations?: DatabaseToManySpatialRelationFilter;
6385
+ /** `spatialRelations` exist. */
6386
+ spatialRelationsExist?: boolean;
5977
6387
  /** Filter by the object’s `databaseTransfers` relation. */
5978
6388
  databaseTransfers?: DatabaseToManyDatabaseTransferFilter;
5979
6389
  /** `databaseTransfers` exist. */
@@ -6098,10 +6508,6 @@ export interface DatabaseFilter {
6098
6508
  hierarchyModule?: HierarchyModuleFilter;
6099
6509
  /** A related `hierarchyModule` exists. */
6100
6510
  hierarchyModuleExists?: boolean;
6101
- /** Filter by the object’s `tableTemplateModules` relation. */
6102
- tableTemplateModules?: DatabaseToManyTableTemplateModuleFilter;
6103
- /** `tableTemplateModules` exist. */
6104
- tableTemplateModulesExist?: boolean;
6105
6511
  /** Filter by the object’s `secureTableProvisions` relation. */
6106
6512
  secureTableProvisions?: DatabaseToManySecureTableProvisionFilter;
6107
6513
  /** `secureTableProvisions` exist. */
@@ -6122,10 +6528,26 @@ export interface DatabaseFilter {
6122
6528
  storageModules?: DatabaseToManyStorageModuleFilter;
6123
6529
  /** `storageModules` exist. */
6124
6530
  storageModulesExist?: boolean;
6531
+ /** Filter by the object’s `entityTypeProvisions` relation. */
6532
+ entityTypeProvisions?: DatabaseToManyEntityTypeProvisionFilter;
6533
+ /** `entityTypeProvisions` exist. */
6534
+ entityTypeProvisionsExist?: boolean;
6125
6535
  /** Filter by the object’s `rateLimitsModule` relation. */
6126
6536
  rateLimitsModule?: RateLimitsModuleFilter;
6127
6537
  /** A related `rateLimitsModule` exists. */
6128
6538
  rateLimitsModuleExists?: boolean;
6539
+ /** Filter by the object’s `devicesModule` relation. */
6540
+ devicesModule?: DevicesModuleFilter;
6541
+ /** A related `devicesModule` exists. */
6542
+ devicesModuleExists?: boolean;
6543
+ /** Filter by the object’s `sessionSecretsModules` relation. */
6544
+ sessionSecretsModules?: DatabaseToManySessionSecretsModuleFilter;
6545
+ /** `sessionSecretsModules` exist. */
6546
+ sessionSecretsModulesExist?: boolean;
6547
+ /** Filter by the object’s `webauthnCredentialsModules` relation. */
6548
+ webauthnCredentialsModules?: DatabaseToManyWebauthnCredentialsModuleFilter;
6549
+ /** `webauthnCredentialsModules` exist. */
6550
+ webauthnCredentialsModulesExist?: boolean;
6129
6551
  /** Filter by the object’s `databaseProvisionModules` relation. */
6130
6552
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
6131
6553
  /** `databaseProvisionModules` exist. */
@@ -6192,14 +6614,10 @@ export interface SchemaFilter {
6192
6614
  apiSchemas?: SchemaToManyApiSchemaFilter;
6193
6615
  /** `apiSchemas` exist. */
6194
6616
  apiSchemasExist?: boolean;
6195
- /** Filter by the object’s `tableTemplateModulesByPrivateSchemaId` relation. */
6196
- tableTemplateModulesByPrivateSchemaId?: SchemaToManyTableTemplateModuleFilter;
6197
- /** `tableTemplateModulesByPrivateSchemaId` exist. */
6198
- tableTemplateModulesByPrivateSchemaIdExist?: boolean;
6199
- /** Filter by the object’s `tableTemplateModules` relation. */
6200
- tableTemplateModules?: SchemaToManyTableTemplateModuleFilter;
6201
- /** `tableTemplateModules` exist. */
6202
- tableTemplateModulesExist?: boolean;
6617
+ /** Filter by the object’s `sessionSecretsModules` relation. */
6618
+ sessionSecretsModules?: SchemaToManySessionSecretsModuleFilter;
6619
+ /** `sessionSecretsModules` exist. */
6620
+ sessionSecretsModulesExist?: boolean;
6203
6621
  }
6204
6622
  export interface TableFilter {
6205
6623
  /** Filter by the object’s `id` field. */
@@ -6310,14 +6728,14 @@ export interface TableFilter {
6310
6728
  embeddingChunks?: TableToManyEmbeddingChunkFilter;
6311
6729
  /** `embeddingChunks` exist. */
6312
6730
  embeddingChunksExist?: boolean;
6313
- /** Filter by the object’s `tableTemplateModulesByOwnerTableId` relation. */
6314
- tableTemplateModulesByOwnerTableId?: TableToManyTableTemplateModuleFilter;
6315
- /** `tableTemplateModulesByOwnerTableId` exist. */
6316
- tableTemplateModulesByOwnerTableIdExist?: boolean;
6317
- /** Filter by the object’s `tableTemplateModules` relation. */
6318
- tableTemplateModules?: TableToManyTableTemplateModuleFilter;
6319
- /** `tableTemplateModules` exist. */
6320
- tableTemplateModulesExist?: boolean;
6731
+ /** Filter by the object’s `spatialRelationsByRefTableId` relation. */
6732
+ spatialRelationsByRefTableId?: TableToManySpatialRelationFilter;
6733
+ /** `spatialRelationsByRefTableId` exist. */
6734
+ spatialRelationsByRefTableIdExist?: boolean;
6735
+ /** Filter by the object’s `spatialRelations` relation. */
6736
+ spatialRelations?: TableToManySpatialRelationFilter;
6737
+ /** `spatialRelations` exist. */
6738
+ spatialRelationsExist?: boolean;
6321
6739
  /** Filter by the object’s `secureTableProvisions` relation. */
6322
6740
  secureTableProvisions?: TableToManySecureTableProvisionFilter;
6323
6741
  /** `secureTableProvisions` exist. */
@@ -6330,6 +6748,14 @@ export interface TableFilter {
6330
6748
  relationProvisionsByTargetTableId?: TableToManyRelationProvisionFilter;
6331
6749
  /** `relationProvisionsByTargetTableId` exist. */
6332
6750
  relationProvisionsByTargetTableIdExist?: boolean;
6751
+ /** Filter by the object’s `sessionSecretsModulesBySessionsTableId` relation. */
6752
+ sessionSecretsModulesBySessionsTableId?: TableToManySessionSecretsModuleFilter;
6753
+ /** `sessionSecretsModulesBySessionsTableId` exist. */
6754
+ sessionSecretsModulesBySessionsTableIdExist?: boolean;
6755
+ /** Filter by the object’s `sessionSecretsModules` relation. */
6756
+ sessionSecretsModules?: TableToManySessionSecretsModuleFilter;
6757
+ /** `sessionSecretsModules` exist. */
6758
+ sessionSecretsModulesExist?: boolean;
6333
6759
  }
6334
6760
  export interface CheckConstraintFilter {
6335
6761
  /** Filter by the object’s `id` field. */
@@ -6430,6 +6856,62 @@ export interface FieldFilter {
6430
6856
  database?: DatabaseFilter;
6431
6857
  /** Filter by the object’s `table` relation. */
6432
6858
  table?: TableFilter;
6859
+ /** Filter by the object’s `spatialRelations` relation. */
6860
+ spatialRelations?: FieldToManySpatialRelationFilter;
6861
+ /** `spatialRelations` exist. */
6862
+ spatialRelationsExist?: boolean;
6863
+ /** Filter by the object’s `spatialRelationsByRefFieldId` relation. */
6864
+ spatialRelationsByRefFieldId?: FieldToManySpatialRelationFilter;
6865
+ /** `spatialRelationsByRefFieldId` exist. */
6866
+ spatialRelationsByRefFieldIdExist?: boolean;
6867
+ }
6868
+ export interface SpatialRelationFilter {
6869
+ /** Filter by the object’s `id` field. */
6870
+ id?: UUIDFilter;
6871
+ /** Filter by the object’s `databaseId` field. */
6872
+ databaseId?: UUIDFilter;
6873
+ /** Filter by the object’s `tableId` field. */
6874
+ tableId?: UUIDFilter;
6875
+ /** Filter by the object’s `fieldId` field. */
6876
+ fieldId?: UUIDFilter;
6877
+ /** Filter by the object’s `refTableId` field. */
6878
+ refTableId?: UUIDFilter;
6879
+ /** Filter by the object’s `refFieldId` field. */
6880
+ refFieldId?: UUIDFilter;
6881
+ /** Filter by the object’s `name` field. */
6882
+ name?: StringFilter;
6883
+ /** Filter by the object’s `operator` field. */
6884
+ operator?: StringFilter;
6885
+ /** Filter by the object’s `paramName` field. */
6886
+ paramName?: StringFilter;
6887
+ /** Filter by the object’s `category` field. */
6888
+ category?: ObjectCategoryFilter;
6889
+ /** Filter by the object’s `module` field. */
6890
+ module?: StringFilter;
6891
+ /** Filter by the object’s `scope` field. */
6892
+ scope?: IntFilter;
6893
+ /** Filter by the object’s `tags` field. */
6894
+ tags?: StringListFilter;
6895
+ /** Filter by the object’s `createdAt` field. */
6896
+ createdAt?: DatetimeFilter;
6897
+ /** Filter by the object’s `updatedAt` field. */
6898
+ updatedAt?: DatetimeFilter;
6899
+ /** Checks for all expressions in this list. */
6900
+ and?: SpatialRelationFilter[];
6901
+ /** Checks for any expressions in this list. */
6902
+ or?: SpatialRelationFilter[];
6903
+ /** Negates the expression. */
6904
+ not?: SpatialRelationFilter;
6905
+ /** Filter by the object’s `database` relation. */
6906
+ database?: DatabaseFilter;
6907
+ /** Filter by the object’s `field` relation. */
6908
+ field?: FieldFilter;
6909
+ /** Filter by the object’s `refField` relation. */
6910
+ refField?: FieldFilter;
6911
+ /** Filter by the object’s `refTable` relation. */
6912
+ refTable?: TableFilter;
6913
+ /** Filter by the object’s `table` relation. */
6914
+ table?: TableFilter;
6433
6915
  }
6434
6916
  export interface ForeignKeyConstraintFilter {
6435
6917
  /** Filter by the object’s `id` field. */
@@ -6930,52 +7412,16 @@ export interface EmbeddingChunkFilter {
6930
7412
  chunksTable?: TableFilter;
6931
7413
  /** A related `chunksTable` exists. */
6932
7414
  chunksTableExists?: boolean;
6933
- /** Filter by the object’s `database` relation. */
6934
- database?: DatabaseFilter;
6935
- /** Filter by the object’s `embeddingField` relation. */
6936
- embeddingField?: FieldFilter;
6937
- /** A related `embeddingField` exists. */
6938
- embeddingFieldExists?: boolean;
6939
- /** Filter by the object’s `parentFkField` relation. */
6940
- parentFkField?: FieldFilter;
6941
- /** A related `parentFkField` exists. */
6942
- parentFkFieldExists?: boolean;
6943
- /** Filter by the object’s `table` relation. */
6944
- table?: TableFilter;
6945
- }
6946
- export interface TableTemplateModuleFilter {
6947
- /** Filter by the object’s `id` field. */
6948
- id?: UUIDFilter;
6949
- /** Filter by the object’s `databaseId` field. */
6950
- databaseId?: UUIDFilter;
6951
- /** Filter by the object’s `schemaId` field. */
6952
- schemaId?: UUIDFilter;
6953
- /** Filter by the object’s `privateSchemaId` field. */
6954
- privateSchemaId?: UUIDFilter;
6955
- /** Filter by the object’s `tableId` field. */
6956
- tableId?: UUIDFilter;
6957
- /** Filter by the object’s `ownerTableId` field. */
6958
- ownerTableId?: UUIDFilter;
6959
- /** Filter by the object’s `tableName` field. */
6960
- tableName?: StringFilter;
6961
- /** Filter by the object’s `nodeType` field. */
6962
- nodeType?: StringFilter;
6963
- /** Filter by the object’s `data` field. */
6964
- data?: JSONFilter;
6965
- /** Checks for all expressions in this list. */
6966
- and?: TableTemplateModuleFilter[];
6967
- /** Checks for any expressions in this list. */
6968
- or?: TableTemplateModuleFilter[];
6969
- /** Negates the expression. */
6970
- not?: TableTemplateModuleFilter;
6971
- /** Filter by the object’s `database` relation. */
6972
- database?: DatabaseFilter;
6973
- /** Filter by the object’s `ownerTable` relation. */
6974
- ownerTable?: TableFilter;
6975
- /** Filter by the object’s `privateSchema` relation. */
6976
- privateSchema?: SchemaFilter;
6977
- /** Filter by the object’s `schema` relation. */
6978
- schema?: SchemaFilter;
7415
+ /** Filter by the object’s `database` relation. */
7416
+ database?: DatabaseFilter;
7417
+ /** Filter by the object’s `embeddingField` relation. */
7418
+ embeddingField?: FieldFilter;
7419
+ /** A related `embeddingField` exists. */
7420
+ embeddingFieldExists?: boolean;
7421
+ /** Filter by the object’s `parentFkField` relation. */
7422
+ parentFkField?: FieldFilter;
7423
+ /** A related `parentFkField` exists. */
7424
+ parentFkFieldExists?: boolean;
6979
7425
  /** Filter by the object’s `table` relation. */
6980
7426
  table?: TableFilter;
6981
7427
  }
@@ -7101,6 +7547,34 @@ export interface RelationProvisionFilter {
7101
7547
  /** Filter by the object’s `targetTable` relation. */
7102
7548
  targetTable?: TableFilter;
7103
7549
  }
7550
+ export interface SessionSecretsModuleFilter {
7551
+ /** Filter by the object’s `id` field. */
7552
+ id?: UUIDFilter;
7553
+ /** Filter by the object’s `databaseId` field. */
7554
+ databaseId?: UUIDFilter;
7555
+ /** Filter by the object’s `schemaId` field. */
7556
+ schemaId?: UUIDFilter;
7557
+ /** Filter by the object’s `tableId` field. */
7558
+ tableId?: UUIDFilter;
7559
+ /** Filter by the object’s `tableName` field. */
7560
+ tableName?: StringFilter;
7561
+ /** Filter by the object’s `sessionsTableId` field. */
7562
+ sessionsTableId?: UUIDFilter;
7563
+ /** Checks for all expressions in this list. */
7564
+ and?: SessionSecretsModuleFilter[];
7565
+ /** Checks for any expressions in this list. */
7566
+ or?: SessionSecretsModuleFilter[];
7567
+ /** Negates the expression. */
7568
+ not?: SessionSecretsModuleFilter;
7569
+ /** Filter by the object’s `database` relation. */
7570
+ database?: DatabaseFilter;
7571
+ /** Filter by the object’s `schema` relation. */
7572
+ schema?: SchemaFilter;
7573
+ /** Filter by the object’s `sessionsTable` relation. */
7574
+ sessionsTable?: TableFilter;
7575
+ /** Filter by the object’s `table` relation. */
7576
+ table?: TableFilter;
7577
+ }
7104
7578
  export interface SchemaGrantFilter {
7105
7579
  /** Filter by the object’s `id` field. */
7106
7580
  id?: UUIDFilter;
@@ -8004,6 +8478,8 @@ export interface MembershipsModuleFilter {
8004
8478
  entityIdsByPerm?: StringFilter;
8005
8479
  /** Filter by the object’s `entityIdsFunction` field. */
8006
8480
  entityIdsFunction?: StringFilter;
8481
+ /** Filter by the object’s `memberProfilesTableId` field. */
8482
+ memberProfilesTableId?: UUIDFilter;
8007
8483
  /** Checks for all expressions in this list. */
8008
8484
  and?: MembershipsModuleFilter[];
8009
8485
  /** Checks for any expressions in this list. */
@@ -8316,10 +8792,10 @@ export interface UserAuthModuleFilter {
8316
8792
  sendAccountDeletionEmailFunction?: StringFilter;
8317
8793
  /** Filter by the object’s `deleteAccountFunction` field. */
8318
8794
  deleteAccountFunction?: StringFilter;
8319
- /** Filter by the object’s `signInOneTimeTokenFunction` field. */
8320
- signInOneTimeTokenFunction?: StringFilter;
8321
- /** Filter by the object’s `oneTimeTokenFunction` field. */
8322
- oneTimeTokenFunction?: StringFilter;
8795
+ /** Filter by the object’s `signInCrossOriginFunction` field. */
8796
+ signInCrossOriginFunction?: StringFilter;
8797
+ /** Filter by the object’s `requestCrossOriginTokenFunction` field. */
8798
+ requestCrossOriginTokenFunction?: StringFilter;
8323
8799
  /** Filter by the object’s `extendTokenExpires` field. */
8324
8800
  extendTokenExpires?: StringFilter;
8325
8801
  /** Checks for all expressions in this list. */
@@ -8575,6 +9051,82 @@ export interface StorageModuleFilter {
8575
9051
  /** Filter by the object’s `uploadRequestsTable` relation. */
8576
9052
  uploadRequestsTable?: TableFilter;
8577
9053
  }
9054
+ export interface EntityTypeProvisionFilter {
9055
+ /** Filter by the object’s `id` field. */
9056
+ id?: UUIDFilter;
9057
+ /** Filter by the object’s `databaseId` field. */
9058
+ databaseId?: UUIDFilter;
9059
+ /** Filter by the object’s `name` field. */
9060
+ name?: StringFilter;
9061
+ /** Filter by the object’s `prefix` field. */
9062
+ prefix?: StringFilter;
9063
+ /** Filter by the object’s `description` field. */
9064
+ description?: StringFilter;
9065
+ /** Filter by the object’s `parentEntity` field. */
9066
+ parentEntity?: StringFilter;
9067
+ /** Filter by the object’s `tableName` field. */
9068
+ tableName?: StringFilter;
9069
+ /** Filter by the object’s `isVisible` field. */
9070
+ isVisible?: BooleanFilter;
9071
+ /** Filter by the object’s `hasLimits` field. */
9072
+ hasLimits?: BooleanFilter;
9073
+ /** Filter by the object’s `hasProfiles` field. */
9074
+ hasProfiles?: BooleanFilter;
9075
+ /** Filter by the object’s `hasLevels` field. */
9076
+ hasLevels?: BooleanFilter;
9077
+ /** Filter by the object’s `skipEntityPolicies` field. */
9078
+ skipEntityPolicies?: BooleanFilter;
9079
+ /** Filter by the object’s `tableProvision` field. */
9080
+ tableProvision?: JSONFilter;
9081
+ /** Filter by the object’s `outMembershipType` field. */
9082
+ outMembershipType?: IntFilter;
9083
+ /** Filter by the object’s `outEntityTableId` field. */
9084
+ outEntityTableId?: UUIDFilter;
9085
+ /** Filter by the object’s `outEntityTableName` field. */
9086
+ outEntityTableName?: StringFilter;
9087
+ /** Filter by the object’s `outInstalledModules` field. */
9088
+ outInstalledModules?: StringListFilter;
9089
+ /** Checks for all expressions in this list. */
9090
+ and?: EntityTypeProvisionFilter[];
9091
+ /** Checks for any expressions in this list. */
9092
+ or?: EntityTypeProvisionFilter[];
9093
+ /** Negates the expression. */
9094
+ not?: EntityTypeProvisionFilter;
9095
+ /** Filter by the object’s `database` relation. */
9096
+ database?: DatabaseFilter;
9097
+ }
9098
+ export interface WebauthnCredentialsModuleFilter {
9099
+ /** Filter by the object’s `id` field. */
9100
+ id?: UUIDFilter;
9101
+ /** Filter by the object’s `databaseId` field. */
9102
+ databaseId?: UUIDFilter;
9103
+ /** Filter by the object’s `schemaId` field. */
9104
+ schemaId?: UUIDFilter;
9105
+ /** Filter by the object’s `privateSchemaId` field. */
9106
+ privateSchemaId?: UUIDFilter;
9107
+ /** Filter by the object’s `tableId` field. */
9108
+ tableId?: UUIDFilter;
9109
+ /** Filter by the object’s `ownerTableId` field. */
9110
+ ownerTableId?: UUIDFilter;
9111
+ /** Filter by the object’s `tableName` field. */
9112
+ tableName?: StringFilter;
9113
+ /** Checks for all expressions in this list. */
9114
+ and?: WebauthnCredentialsModuleFilter[];
9115
+ /** Checks for any expressions in this list. */
9116
+ or?: WebauthnCredentialsModuleFilter[];
9117
+ /** Negates the expression. */
9118
+ not?: WebauthnCredentialsModuleFilter;
9119
+ /** Filter by the object’s `database` relation. */
9120
+ database?: DatabaseFilter;
9121
+ /** Filter by the object’s `ownerTable` relation. */
9122
+ ownerTable?: TableFilter;
9123
+ /** Filter by the object’s `privateSchema` relation. */
9124
+ privateSchema?: SchemaFilter;
9125
+ /** Filter by the object’s `schema` relation. */
9126
+ schema?: SchemaFilter;
9127
+ /** Filter by the object’s `table` relation. */
9128
+ table?: TableFilter;
9129
+ }
8578
9130
  export interface DatabaseProvisionModuleFilter {
8579
9131
  /** Filter by the object’s `id` field. */
8580
9132
  id?: UUIDFilter;
@@ -8714,6 +9266,8 @@ export interface OrgMembershipFilter {
8714
9266
  isDisabled?: BooleanFilter;
8715
9267
  /** Filter by the object’s `isActive` field. */
8716
9268
  isActive?: BooleanFilter;
9269
+ /** Filter by the object’s `isExternal` field. */
9270
+ isExternal?: BooleanFilter;
8717
9271
  /** Filter by the object’s `isOwner` field. */
8718
9272
  isOwner?: BooleanFilter;
8719
9273
  /** Filter by the object’s `isAdmin` field. */
@@ -8726,6 +9280,8 @@ export interface OrgMembershipFilter {
8726
9280
  actorId?: UUIDFilter;
8727
9281
  /** Filter by the object’s `entityId` field. */
8728
9282
  entityId?: UUIDFilter;
9283
+ /** Filter by the object’s `isReadOnly` field. */
9284
+ isReadOnly?: BooleanFilter;
8729
9285
  /** Filter by the object’s `profileId` field. */
8730
9286
  profileId?: UUIDFilter;
8731
9287
  /** Checks for all expressions in this list. */
@@ -8738,6 +9294,10 @@ export interface OrgMembershipFilter {
8738
9294
  actor?: UserFilter;
8739
9295
  /** Filter by the object’s `entity` relation. */
8740
9296
  entity?: UserFilter;
9297
+ /** Filter by the object’s `orgMemberProfileByMembershipId` relation. */
9298
+ orgMemberProfileByMembershipId?: OrgMemberProfileFilter;
9299
+ /** A related `orgMemberProfileByMembershipId` exists. */
9300
+ orgMemberProfileByMembershipIdExists?: boolean;
8741
9301
  }
8742
9302
  export interface OrgMemberFilter {
8743
9303
  /** Filter by the object’s `id` field. */
@@ -8819,6 +9379,42 @@ export interface OrgOwnerGrantFilter {
8819
9379
  /** A related `grantor` exists. */
8820
9380
  grantorExists?: boolean;
8821
9381
  }
9382
+ export interface OrgMemberProfileFilter {
9383
+ /** Filter by the object’s `id` field. */
9384
+ id?: UUIDFilter;
9385
+ /** Filter by the object’s `createdAt` field. */
9386
+ createdAt?: DatetimeFilter;
9387
+ /** Filter by the object’s `updatedAt` field. */
9388
+ updatedAt?: DatetimeFilter;
9389
+ /** Filter by the object’s `membershipId` field. */
9390
+ membershipId?: UUIDFilter;
9391
+ /** Filter by the object’s `entityId` field. */
9392
+ entityId?: UUIDFilter;
9393
+ /** Filter by the object’s `actorId` field. */
9394
+ actorId?: UUIDFilter;
9395
+ /** Filter by the object’s `displayName` field. */
9396
+ displayName?: StringFilter;
9397
+ /** Filter by the object’s `email` field. */
9398
+ email?: StringFilter;
9399
+ /** Filter by the object’s `title` field. */
9400
+ title?: StringFilter;
9401
+ /** Filter by the object’s `bio` field. */
9402
+ bio?: StringFilter;
9403
+ /** Filter by the object’s `profilePicture` field. */
9404
+ profilePicture?: ConstructiveInternalTypeImageFilter;
9405
+ /** Checks for all expressions in this list. */
9406
+ and?: OrgMemberProfileFilter[];
9407
+ /** Checks for any expressions in this list. */
9408
+ or?: OrgMemberProfileFilter[];
9409
+ /** Negates the expression. */
9410
+ not?: OrgMemberProfileFilter;
9411
+ /** Filter by the object’s `actor` relation. */
9412
+ actor?: UserFilter;
9413
+ /** Filter by the object’s `entity` relation. */
9414
+ entity?: UserFilter;
9415
+ /** Filter by the object’s `membership` relation. */
9416
+ membership?: OrgMembershipFilter;
9417
+ }
8822
9418
  export interface OrgGrantFilter {
8823
9419
  /** Filter by the object’s `id` field. */
8824
9420
  id?: UUIDFilter;
@@ -9125,32 +9721,6 @@ export interface CryptoAddressFilter {
9125
9721
  /** Filter by the object’s `owner` relation. */
9126
9722
  owner?: UserFilter;
9127
9723
  }
9128
- export interface ConnectedAccountFilter {
9129
- /** Filter by the object’s `id` field. */
9130
- id?: UUIDFilter;
9131
- /** Filter by the object’s `ownerId` field. */
9132
- ownerId?: UUIDFilter;
9133
- /** Filter by the object’s `service` field. */
9134
- service?: StringFilter;
9135
- /** Filter by the object’s `identifier` field. */
9136
- identifier?: StringFilter;
9137
- /** Filter by the object’s `details` field. */
9138
- details?: JSONFilter;
9139
- /** Filter by the object’s `isVerified` field. */
9140
- isVerified?: BooleanFilter;
9141
- /** Filter by the object’s `createdAt` field. */
9142
- createdAt?: DatetimeFilter;
9143
- /** Filter by the object’s `updatedAt` field. */
9144
- updatedAt?: DatetimeFilter;
9145
- /** Checks for all expressions in this list. */
9146
- and?: ConnectedAccountFilter[];
9147
- /** Checks for any expressions in this list. */
9148
- or?: ConnectedAccountFilter[];
9149
- /** Negates the expression. */
9150
- not?: ConnectedAccountFilter;
9151
- /** Filter by the object’s `owner` relation. */
9152
- owner?: UserFilter;
9153
- }
9154
9724
  export interface AppInviteFilter {
9155
9725
  /** Filter by the object’s `id` field. */
9156
9726
  id?: UUIDFilter;
@@ -9411,21 +9981,59 @@ export interface OrgLimitDefaultFilter {
9411
9981
  /** Negates the expression. */
9412
9982
  not?: OrgLimitDefaultFilter;
9413
9983
  }
9414
- export interface MembershipTypeFilter {
9984
+ export interface DevicesModuleFilter {
9415
9985
  /** Filter by the object’s `id` field. */
9416
- id?: IntFilter;
9417
- /** Filter by the object’s `name` field. */
9418
- name?: StringFilter;
9419
- /** Filter by the object’s `description` field. */
9420
- description?: StringFilter;
9421
- /** Filter by the object’s `prefix` field. */
9422
- prefix?: StringFilter;
9986
+ id?: UUIDFilter;
9987
+ /** Filter by the object’s `databaseId` field. */
9988
+ databaseId?: UUIDFilter;
9989
+ /** Filter by the object’s `schemaId` field. */
9990
+ schemaId?: UUIDFilter;
9991
+ /** Filter by the object’s `userDevicesTableId` field. */
9992
+ userDevicesTableId?: UUIDFilter;
9993
+ /** Filter by the object’s `deviceSettingsTableId` field. */
9994
+ deviceSettingsTableId?: UUIDFilter;
9995
+ /** Filter by the object’s `userDevicesTable` field. */
9996
+ userDevicesTable?: StringFilter;
9997
+ /** Filter by the object’s `deviceSettingsTable` field. */
9998
+ deviceSettingsTable?: StringFilter;
9423
9999
  /** Checks for all expressions in this list. */
9424
- and?: MembershipTypeFilter[];
10000
+ and?: DevicesModuleFilter[];
9425
10001
  /** Checks for any expressions in this list. */
9426
- or?: MembershipTypeFilter[];
10002
+ or?: DevicesModuleFilter[];
9427
10003
  /** Negates the expression. */
9428
- not?: MembershipTypeFilter;
10004
+ not?: DevicesModuleFilter;
10005
+ /** Filter by the object’s `database` relation. */
10006
+ database?: DatabaseFilter;
10007
+ /** Filter by the object’s `deviceSettingsTableByDeviceSettingsTableId` relation. */
10008
+ deviceSettingsTableByDeviceSettingsTableId?: TableFilter;
10009
+ /** Filter by the object’s `schema` relation. */
10010
+ schema?: SchemaFilter;
10011
+ /** Filter by the object’s `userDevicesTableByUserDevicesTableId` relation. */
10012
+ userDevicesTableByUserDevicesTableId?: TableFilter;
10013
+ }
10014
+ export interface UserConnectedAccountFilter {
10015
+ /** Filter by the object’s `id` field. */
10016
+ id?: UUIDFilter;
10017
+ /** Filter by the object’s `ownerId` field. */
10018
+ ownerId?: UUIDFilter;
10019
+ /** Filter by the object’s `service` field. */
10020
+ service?: StringFilter;
10021
+ /** Filter by the object’s `identifier` field. */
10022
+ identifier?: StringFilter;
10023
+ /** Filter by the object’s `details` field. */
10024
+ details?: JSONFilter;
10025
+ /** Filter by the object’s `isVerified` field. */
10026
+ isVerified?: BooleanFilter;
10027
+ /** Filter by the object’s `createdAt` field. */
10028
+ createdAt?: DatetimeFilter;
10029
+ /** Filter by the object’s `updatedAt` field. */
10030
+ updatedAt?: DatetimeFilter;
10031
+ /** Checks for all expressions in this list. */
10032
+ and?: UserConnectedAccountFilter[];
10033
+ /** Checks for any expressions in this list. */
10034
+ or?: UserConnectedAccountFilter[];
10035
+ /** Negates the expression. */
10036
+ not?: UserConnectedAccountFilter;
9429
10037
  }
9430
10038
  export interface AppMembershipDefaultFilter {
9431
10039
  /** Filter by the object’s `id` field. */
@@ -9511,6 +10119,26 @@ export interface RateLimitsModuleFilter {
9511
10119
  /** Filter by the object’s `schema` relation. */
9512
10120
  schema?: SchemaFilter;
9513
10121
  }
10122
+ export interface MembershipTypeFilter {
10123
+ /** Filter by the object’s `id` field. */
10124
+ id?: IntFilter;
10125
+ /** Filter by the object’s `name` field. */
10126
+ name?: StringFilter;
10127
+ /** Filter by the object’s `description` field. */
10128
+ description?: StringFilter;
10129
+ /** Filter by the object’s `prefix` field. */
10130
+ prefix?: StringFilter;
10131
+ /** Filter by the object’s `parentMembershipType` field. */
10132
+ parentMembershipType?: IntFilter;
10133
+ /** Filter by the object’s `hasUsersTableEntry` field. */
10134
+ hasUsersTableEntry?: BooleanFilter;
10135
+ /** Checks for all expressions in this list. */
10136
+ and?: MembershipTypeFilter[];
10137
+ /** Checks for any expressions in this list. */
10138
+ or?: MembershipTypeFilter[];
10139
+ /** Negates the expression. */
10140
+ not?: MembershipTypeFilter;
10141
+ }
9514
10142
  export interface OrgMembershipDefaultFilter {
9515
10143
  /** Filter by the object’s `id` field. */
9516
10144
  id?: UUIDFilter;
@@ -9714,6 +10342,14 @@ export interface UserFilter {
9714
10342
  orgOwnerGrantsByGrantorId?: UserToManyOrgOwnerGrantFilter;
9715
10343
  /** `orgOwnerGrantsByGrantorId` exist. */
9716
10344
  orgOwnerGrantsByGrantorIdExist?: boolean;
10345
+ /** Filter by the object’s `orgMemberProfilesByActorId` relation. */
10346
+ orgMemberProfilesByActorId?: UserToManyOrgMemberProfileFilter;
10347
+ /** `orgMemberProfilesByActorId` exist. */
10348
+ orgMemberProfilesByActorIdExist?: boolean;
10349
+ /** Filter by the object’s `orgMemberProfilesByEntityId` relation. */
10350
+ orgMemberProfilesByEntityId?: UserToManyOrgMemberProfileFilter;
10351
+ /** `orgMemberProfilesByEntityId` exist. */
10352
+ orgMemberProfilesByEntityIdExist?: boolean;
9717
10353
  /** Filter by the object’s `orgGrantsByActorId` relation. */
9718
10354
  orgGrantsByActorId?: UserToManyOrgGrantFilter;
9719
10355
  /** `orgGrantsByActorId` exist. */
@@ -9794,10 +10430,6 @@ export interface UserFilter {
9794
10430
  ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
9795
10431
  /** `ownedCryptoAddresses` exist. */
9796
10432
  ownedCryptoAddressesExist?: boolean;
9797
- /** Filter by the object’s `ownedConnectedAccounts` relation. */
9798
- ownedConnectedAccounts?: UserToManyConnectedAccountFilter;
9799
- /** `ownedConnectedAccounts` exist. */
9800
- ownedConnectedAccountsExist?: boolean;
9801
10433
  /** Filter by the object’s `appInvitesBySenderId` relation. */
9802
10434
  appInvitesBySenderId?: UserToManyAppInviteFilter;
9803
10435
  /** `appInvitesBySenderId` exist. */
@@ -9905,6 +10537,8 @@ export interface AppMembershipFilter {
9905
10537
  isVerified?: BooleanFilter;
9906
10538
  /** Filter by the object’s `isActive` field. */
9907
10539
  isActive?: BooleanFilter;
10540
+ /** Filter by the object’s `isExternal` field. */
10541
+ isExternal?: BooleanFilter;
9908
10542
  /** Filter by the object’s `isOwner` field. */
9909
10543
  isOwner?: BooleanFilter;
9910
10544
  /** Filter by the object’s `isAdmin` field. */
@@ -10002,6 +10636,7 @@ export type SchemaOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' |
10002
10636
  export type TableOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'TIMESTAMPS_ASC' | 'TIMESTAMPS_DESC' | 'PEOPLESTAMPS_ASC' | 'PEOPLESTAMPS_DESC' | 'PLURAL_NAME_ASC' | 'PLURAL_NAME_DESC' | 'SINGULAR_NAME_ASC' | 'SINGULAR_NAME_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'INHERITS_ID_ASC' | 'INHERITS_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10003
10637
  export type CheckConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'EXPR_ASC' | 'EXPR_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10004
10638
  export type FieldOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'DEFAULT_VALUE_ASC' | 'DEFAULT_VALUE_DESC' | 'DEFAULT_VALUE_AST_ASC' | 'DEFAULT_VALUE_AST_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_ORDER_ASC' | 'FIELD_ORDER_DESC' | 'REGEXP_ASC' | 'REGEXP_DESC' | 'CHK_ASC' | 'CHK_DESC' | 'CHK_EXPR_ASC' | 'CHK_EXPR_DESC' | 'MIN_ASC' | 'MIN_DESC' | 'MAX_ASC' | 'MAX_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10639
+ export type SpatialRelationOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'FIELD_ID_ASC' | 'FIELD_ID_DESC' | 'REF_TABLE_ID_ASC' | 'REF_TABLE_ID_DESC' | 'REF_FIELD_ID_ASC' | 'REF_FIELD_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'OPERATOR_ASC' | 'OPERATOR_DESC' | 'PARAM_NAME_ASC' | 'PARAM_NAME_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10005
10640
  export type ForeignKeyConstraintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'REF_TABLE_ID_ASC' | 'REF_TABLE_ID_DESC' | 'REF_FIELD_IDS_ASC' | 'REF_FIELD_IDS_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'UPDATE_ACTION_ASC' | 'UPDATE_ACTION_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10006
10641
  export type FullTextSearchOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'FIELD_ID_ASC' | 'FIELD_ID_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'WEIGHTS_ASC' | 'WEIGHTS_DESC' | 'LANGS_ASC' | 'LANGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10007
10642
  export type IndexOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'FIELD_IDS_ASC' | 'FIELD_IDS_DESC' | 'INCLUDE_FIELD_IDS_ASC' | 'INCLUDE_FIELD_IDS_DESC' | 'ACCESS_METHOD_ASC' | 'ACCESS_METHOD_DESC' | 'INDEX_PARAMS_ASC' | 'INDEX_PARAMS_DESC' | 'WHERE_CLAUSE_ASC' | 'WHERE_CLAUSE_DESC' | 'IS_UNIQUE_ASC' | 'IS_UNIQUE_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'OP_CLASSES_ASC' | 'OP_CLASSES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
@@ -10015,9 +10650,9 @@ export type ViewTableOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
10015
10650
  export type ViewGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'WITH_GRANT_OPTION_ASC' | 'WITH_GRANT_OPTION_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC';
10016
10651
  export type ViewRuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'VIEW_ID_ASC' | 'VIEW_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTION_ASC' | 'ACTION_DESC';
10017
10652
  export type EmbeddingChunkOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'EMBEDDING_FIELD_ID_ASC' | 'EMBEDDING_FIELD_ID_DESC' | 'CHUNKS_TABLE_ID_ASC' | 'CHUNKS_TABLE_ID_DESC' | 'CHUNKS_TABLE_NAME_ASC' | 'CHUNKS_TABLE_NAME_DESC' | 'CONTENT_FIELD_NAME_ASC' | 'CONTENT_FIELD_NAME_DESC' | 'DIMENSIONS_ASC' | 'DIMENSIONS_DESC' | 'METRIC_ASC' | 'METRIC_DESC' | 'CHUNK_SIZE_ASC' | 'CHUNK_SIZE_DESC' | 'CHUNK_OVERLAP_ASC' | 'CHUNK_OVERLAP_DESC' | 'CHUNK_STRATEGY_ASC' | 'CHUNK_STRATEGY_DESC' | 'METADATA_FIELDS_ASC' | 'METADATA_FIELDS_DESC' | 'ENQUEUE_CHUNKING_JOB_ASC' | 'ENQUEUE_CHUNKING_JOB_DESC' | 'CHUNKING_TASK_NAME_ASC' | 'CHUNKING_TASK_NAME_DESC' | 'PARENT_FK_FIELD_ID_ASC' | 'PARENT_FK_FIELD_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10018
- export type TableTemplateModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'NODE_TYPE_ASC' | 'NODE_TYPE_DESC' | 'DATA_ASC' | 'DATA_DESC';
10019
10653
  export type SecureTableProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'USE_RLS_ASC' | 'USE_RLS_DESC' | 'FIELDS_ASC' | 'FIELDS_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELDS_ASC' | 'OUT_FIELDS_DESC';
10020
10654
  export type RelationProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'RELATION_TYPE_ASC' | 'RELATION_TYPE_DESC' | 'SOURCE_TABLE_ID_ASC' | 'SOURCE_TABLE_ID_DESC' | 'TARGET_TABLE_ID_ASC' | 'TARGET_TABLE_ID_DESC' | 'FIELD_NAME_ASC' | 'FIELD_NAME_DESC' | 'DELETE_ACTION_ASC' | 'DELETE_ACTION_DESC' | 'IS_REQUIRED_ASC' | 'IS_REQUIRED_DESC' | 'API_REQUIRED_ASC' | 'API_REQUIRED_DESC' | 'JUNCTION_TABLE_ID_ASC' | 'JUNCTION_TABLE_ID_DESC' | 'JUNCTION_TABLE_NAME_ASC' | 'JUNCTION_TABLE_NAME_DESC' | 'JUNCTION_SCHEMA_ID_ASC' | 'JUNCTION_SCHEMA_ID_DESC' | 'SOURCE_FIELD_NAME_ASC' | 'SOURCE_FIELD_NAME_DESC' | 'TARGET_FIELD_NAME_ASC' | 'TARGET_FIELD_NAME_DESC' | 'USE_COMPOSITE_KEY_ASC' | 'USE_COMPOSITE_KEY_DESC' | 'CREATE_INDEX_ASC' | 'CREATE_INDEX_DESC' | 'EXPOSE_IN_API_ASC' | 'EXPOSE_IN_API_DESC' | 'NODES_ASC' | 'NODES_DESC' | 'GRANT_ROLES_ASC' | 'GRANT_ROLES_DESC' | 'GRANT_PRIVILEGES_ASC' | 'GRANT_PRIVILEGES_DESC' | 'POLICY_TYPE_ASC' | 'POLICY_TYPE_DESC' | 'POLICY_PRIVILEGES_ASC' | 'POLICY_PRIVILEGES_DESC' | 'POLICY_ROLE_ASC' | 'POLICY_ROLE_DESC' | 'POLICY_PERMISSIVE_ASC' | 'POLICY_PERMISSIVE_DESC' | 'POLICY_NAME_ASC' | 'POLICY_NAME_DESC' | 'POLICY_DATA_ASC' | 'POLICY_DATA_DESC' | 'OUT_FIELD_ID_ASC' | 'OUT_FIELD_ID_DESC' | 'OUT_JUNCTION_TABLE_ID_ASC' | 'OUT_JUNCTION_TABLE_ID_DESC' | 'OUT_SOURCE_FIELD_ID_ASC' | 'OUT_SOURCE_FIELD_ID_DESC' | 'OUT_TARGET_FIELD_ID_ASC' | 'OUT_TARGET_FIELD_ID_DESC';
10655
+ export type SessionSecretsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC';
10021
10656
  export type SchemaGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10022
10657
  export type DefaultPrivilegeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'OBJECT_TYPE_ASC' | 'OBJECT_TYPE_DESC' | 'PRIVILEGE_ASC' | 'PRIVILEGE_DESC' | 'GRANTEE_NAME_ASC' | 'GRANTEE_NAME_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC';
10023
10658
  export type EnumOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'VALUES_ASC' | 'VALUES_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
@@ -10043,26 +10678,29 @@ export type InvitesModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
10043
10678
  export type LevelsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'STEPS_TABLE_ID_ASC' | 'STEPS_TABLE_ID_DESC' | 'STEPS_TABLE_NAME_ASC' | 'STEPS_TABLE_NAME_DESC' | 'ACHIEVEMENTS_TABLE_ID_ASC' | 'ACHIEVEMENTS_TABLE_ID_DESC' | 'ACHIEVEMENTS_TABLE_NAME_ASC' | 'ACHIEVEMENTS_TABLE_NAME_DESC' | 'LEVELS_TABLE_ID_ASC' | 'LEVELS_TABLE_ID_DESC' | 'LEVELS_TABLE_NAME_ASC' | 'LEVELS_TABLE_NAME_DESC' | 'LEVEL_REQUIREMENTS_TABLE_ID_ASC' | 'LEVEL_REQUIREMENTS_TABLE_ID_DESC' | 'LEVEL_REQUIREMENTS_TABLE_NAME_ASC' | 'LEVEL_REQUIREMENTS_TABLE_NAME_DESC' | 'COMPLETED_STEP_ASC' | 'COMPLETED_STEP_DESC' | 'INCOMPLETED_STEP_ASC' | 'INCOMPLETED_STEP_DESC' | 'TG_ACHIEVEMENT_ASC' | 'TG_ACHIEVEMENT_DESC' | 'TG_ACHIEVEMENT_TOGGLE_ASC' | 'TG_ACHIEVEMENT_TOGGLE_DESC' | 'TG_ACHIEVEMENT_TOGGLE_BOOLEAN_ASC' | 'TG_ACHIEVEMENT_TOGGLE_BOOLEAN_DESC' | 'TG_ACHIEVEMENT_BOOLEAN_ASC' | 'TG_ACHIEVEMENT_BOOLEAN_DESC' | 'UPSERT_ACHIEVEMENT_ASC' | 'UPSERT_ACHIEVEMENT_DESC' | 'TG_UPDATE_ACHIEVEMENTS_ASC' | 'TG_UPDATE_ACHIEVEMENTS_DESC' | 'STEPS_REQUIRED_ASC' | 'STEPS_REQUIRED_DESC' | 'LEVEL_ACHIEVED_ASC' | 'LEVEL_ACHIEVED_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC';
10044
10679
  export type LimitsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'DEFAULT_TABLE_ID_ASC' | 'DEFAULT_TABLE_ID_DESC' | 'DEFAULT_TABLE_NAME_ASC' | 'DEFAULT_TABLE_NAME_DESC' | 'LIMIT_INCREMENT_FUNCTION_ASC' | 'LIMIT_INCREMENT_FUNCTION_DESC' | 'LIMIT_DECREMENT_FUNCTION_ASC' | 'LIMIT_DECREMENT_FUNCTION_DESC' | 'LIMIT_INCREMENT_TRIGGER_ASC' | 'LIMIT_INCREMENT_TRIGGER_DESC' | 'LIMIT_DECREMENT_TRIGGER_ASC' | 'LIMIT_DECREMENT_TRIGGER_DESC' | 'LIMIT_UPDATE_TRIGGER_ASC' | 'LIMIT_UPDATE_TRIGGER_DESC' | 'LIMIT_CHECK_FUNCTION_ASC' | 'LIMIT_CHECK_FUNCTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC';
10045
10680
  export type MembershipTypesModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
10046
- export type MembershipsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'MEMBERSHIPS_TABLE_NAME_ASC' | 'MEMBERSHIPS_TABLE_NAME_DESC' | 'MEMBERS_TABLE_ID_ASC' | 'MEMBERS_TABLE_ID_DESC' | 'MEMBERS_TABLE_NAME_ASC' | 'MEMBERS_TABLE_NAME_DESC' | 'MEMBERSHIP_DEFAULTS_TABLE_ID_ASC' | 'MEMBERSHIP_DEFAULTS_TABLE_ID_DESC' | 'MEMBERSHIP_DEFAULTS_TABLE_NAME_ASC' | 'MEMBERSHIP_DEFAULTS_TABLE_NAME_DESC' | 'GRANTS_TABLE_ID_ASC' | 'GRANTS_TABLE_ID_DESC' | 'GRANTS_TABLE_NAME_ASC' | 'GRANTS_TABLE_NAME_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'LIMITS_TABLE_ID_ASC' | 'LIMITS_TABLE_ID_DESC' | 'DEFAULT_LIMITS_TABLE_ID_ASC' | 'DEFAULT_LIMITS_TABLE_ID_DESC' | 'PERMISSIONS_TABLE_ID_ASC' | 'PERMISSIONS_TABLE_ID_DESC' | 'DEFAULT_PERMISSIONS_TABLE_ID_ASC' | 'DEFAULT_PERMISSIONS_TABLE_ID_DESC' | 'SPRT_TABLE_ID_ASC' | 'SPRT_TABLE_ID_DESC' | 'ADMIN_GRANTS_TABLE_ID_ASC' | 'ADMIN_GRANTS_TABLE_ID_DESC' | 'ADMIN_GRANTS_TABLE_NAME_ASC' | 'ADMIN_GRANTS_TABLE_NAME_DESC' | 'OWNER_GRANTS_TABLE_ID_ASC' | 'OWNER_GRANTS_TABLE_ID_DESC' | 'OWNER_GRANTS_TABLE_NAME_ASC' | 'OWNER_GRANTS_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENTITY_TABLE_OWNER_ID_ASC' | 'ENTITY_TABLE_OWNER_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ACTOR_MASK_CHECK_ASC' | 'ACTOR_MASK_CHECK_DESC' | 'ACTOR_PERM_CHECK_ASC' | 'ACTOR_PERM_CHECK_DESC' | 'ENTITY_IDS_BY_MASK_ASC' | 'ENTITY_IDS_BY_MASK_DESC' | 'ENTITY_IDS_BY_PERM_ASC' | 'ENTITY_IDS_BY_PERM_DESC' | 'ENTITY_IDS_FUNCTION_ASC' | 'ENTITY_IDS_FUNCTION_DESC';
10681
+ export type MembershipsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'MEMBERSHIPS_TABLE_NAME_ASC' | 'MEMBERSHIPS_TABLE_NAME_DESC' | 'MEMBERS_TABLE_ID_ASC' | 'MEMBERS_TABLE_ID_DESC' | 'MEMBERS_TABLE_NAME_ASC' | 'MEMBERS_TABLE_NAME_DESC' | 'MEMBERSHIP_DEFAULTS_TABLE_ID_ASC' | 'MEMBERSHIP_DEFAULTS_TABLE_ID_DESC' | 'MEMBERSHIP_DEFAULTS_TABLE_NAME_ASC' | 'MEMBERSHIP_DEFAULTS_TABLE_NAME_DESC' | 'GRANTS_TABLE_ID_ASC' | 'GRANTS_TABLE_ID_DESC' | 'GRANTS_TABLE_NAME_ASC' | 'GRANTS_TABLE_NAME_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'LIMITS_TABLE_ID_ASC' | 'LIMITS_TABLE_ID_DESC' | 'DEFAULT_LIMITS_TABLE_ID_ASC' | 'DEFAULT_LIMITS_TABLE_ID_DESC' | 'PERMISSIONS_TABLE_ID_ASC' | 'PERMISSIONS_TABLE_ID_DESC' | 'DEFAULT_PERMISSIONS_TABLE_ID_ASC' | 'DEFAULT_PERMISSIONS_TABLE_ID_DESC' | 'SPRT_TABLE_ID_ASC' | 'SPRT_TABLE_ID_DESC' | 'ADMIN_GRANTS_TABLE_ID_ASC' | 'ADMIN_GRANTS_TABLE_ID_DESC' | 'ADMIN_GRANTS_TABLE_NAME_ASC' | 'ADMIN_GRANTS_TABLE_NAME_DESC' | 'OWNER_GRANTS_TABLE_ID_ASC' | 'OWNER_GRANTS_TABLE_ID_DESC' | 'OWNER_GRANTS_TABLE_NAME_ASC' | 'OWNER_GRANTS_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENTITY_TABLE_OWNER_ID_ASC' | 'ENTITY_TABLE_OWNER_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'ACTOR_MASK_CHECK_ASC' | 'ACTOR_MASK_CHECK_DESC' | 'ACTOR_PERM_CHECK_ASC' | 'ACTOR_PERM_CHECK_DESC' | 'ENTITY_IDS_BY_MASK_ASC' | 'ENTITY_IDS_BY_MASK_DESC' | 'ENTITY_IDS_BY_PERM_ASC' | 'ENTITY_IDS_BY_PERM_DESC' | 'ENTITY_IDS_FUNCTION_ASC' | 'ENTITY_IDS_FUNCTION_DESC' | 'MEMBER_PROFILES_TABLE_ID_ASC' | 'MEMBER_PROFILES_TABLE_ID_DESC';
10047
10682
  export type PermissionsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'DEFAULT_TABLE_ID_ASC' | 'DEFAULT_TABLE_ID_DESC' | 'DEFAULT_TABLE_NAME_ASC' | 'DEFAULT_TABLE_NAME_DESC' | 'BITLEN_ASC' | 'BITLEN_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'GET_PADDED_MASK_ASC' | 'GET_PADDED_MASK_DESC' | 'GET_MASK_ASC' | 'GET_MASK_DESC' | 'GET_BY_MASK_ASC' | 'GET_BY_MASK_DESC' | 'GET_MASK_BY_NAME_ASC' | 'GET_MASK_BY_NAME_DESC';
10048
10683
  export type PhoneNumbersModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
10049
10684
  export type ProfilesModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'PROFILE_PERMISSIONS_TABLE_ID_ASC' | 'PROFILE_PERMISSIONS_TABLE_ID_DESC' | 'PROFILE_PERMISSIONS_TABLE_NAME_ASC' | 'PROFILE_PERMISSIONS_TABLE_NAME_DESC' | 'PROFILE_GRANTS_TABLE_ID_ASC' | 'PROFILE_GRANTS_TABLE_ID_DESC' | 'PROFILE_GRANTS_TABLE_NAME_ASC' | 'PROFILE_GRANTS_TABLE_NAME_DESC' | 'PROFILE_DEFINITION_GRANTS_TABLE_ID_ASC' | 'PROFILE_DEFINITION_GRANTS_TABLE_ID_DESC' | 'PROFILE_DEFINITION_GRANTS_TABLE_NAME_ASC' | 'PROFILE_DEFINITION_GRANTS_TABLE_NAME_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'PERMISSIONS_TABLE_ID_ASC' | 'PERMISSIONS_TABLE_ID_DESC' | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
10050
10685
  export type SecretsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
10051
10686
  export type SessionsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'AUTH_SETTINGS_TABLE_ID_ASC' | 'AUTH_SETTINGS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'SESSIONS_DEFAULT_EXPIRATION_ASC' | 'SESSIONS_DEFAULT_EXPIRATION_DESC' | 'SESSIONS_TABLE_ASC' | 'SESSIONS_TABLE_DESC' | 'SESSION_CREDENTIALS_TABLE_ASC' | 'SESSION_CREDENTIALS_TABLE_DESC' | 'AUTH_SETTINGS_TABLE_ASC' | 'AUTH_SETTINGS_TABLE_DESC';
10052
- export type UserAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'EMAILS_TABLE_ID_ASC' | 'EMAILS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'SECRETS_TABLE_ID_ASC' | 'SECRETS_TABLE_ID_DESC' | 'ENCRYPTED_TABLE_ID_ASC' | 'ENCRYPTED_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'AUDITS_TABLE_ID_ASC' | 'AUDITS_TABLE_ID_DESC' | 'AUDITS_TABLE_NAME_ASC' | 'AUDITS_TABLE_NAME_DESC' | 'SIGN_IN_FUNCTION_ASC' | 'SIGN_IN_FUNCTION_DESC' | 'SIGN_UP_FUNCTION_ASC' | 'SIGN_UP_FUNCTION_DESC' | 'SIGN_OUT_FUNCTION_ASC' | 'SIGN_OUT_FUNCTION_DESC' | 'SET_PASSWORD_FUNCTION_ASC' | 'SET_PASSWORD_FUNCTION_DESC' | 'RESET_PASSWORD_FUNCTION_ASC' | 'RESET_PASSWORD_FUNCTION_DESC' | 'FORGOT_PASSWORD_FUNCTION_ASC' | 'FORGOT_PASSWORD_FUNCTION_DESC' | 'SEND_VERIFICATION_EMAIL_FUNCTION_ASC' | 'SEND_VERIFICATION_EMAIL_FUNCTION_DESC' | 'VERIFY_EMAIL_FUNCTION_ASC' | 'VERIFY_EMAIL_FUNCTION_DESC' | 'VERIFY_PASSWORD_FUNCTION_ASC' | 'VERIFY_PASSWORD_FUNCTION_DESC' | 'CHECK_PASSWORD_FUNCTION_ASC' | 'CHECK_PASSWORD_FUNCTION_DESC' | 'SEND_ACCOUNT_DELETION_EMAIL_FUNCTION_ASC' | 'SEND_ACCOUNT_DELETION_EMAIL_FUNCTION_DESC' | 'DELETE_ACCOUNT_FUNCTION_ASC' | 'DELETE_ACCOUNT_FUNCTION_DESC' | 'SIGN_IN_ONE_TIME_TOKEN_FUNCTION_ASC' | 'SIGN_IN_ONE_TIME_TOKEN_FUNCTION_DESC' | 'ONE_TIME_TOKEN_FUNCTION_ASC' | 'ONE_TIME_TOKEN_FUNCTION_DESC' | 'EXTEND_TOKEN_EXPIRES_ASC' | 'EXTEND_TOKEN_EXPIRES_DESC';
10687
+ export type UserAuthModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'EMAILS_TABLE_ID_ASC' | 'EMAILS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'SECRETS_TABLE_ID_ASC' | 'SECRETS_TABLE_ID_DESC' | 'ENCRYPTED_TABLE_ID_ASC' | 'ENCRYPTED_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'AUDITS_TABLE_ID_ASC' | 'AUDITS_TABLE_ID_DESC' | 'AUDITS_TABLE_NAME_ASC' | 'AUDITS_TABLE_NAME_DESC' | 'SIGN_IN_FUNCTION_ASC' | 'SIGN_IN_FUNCTION_DESC' | 'SIGN_UP_FUNCTION_ASC' | 'SIGN_UP_FUNCTION_DESC' | 'SIGN_OUT_FUNCTION_ASC' | 'SIGN_OUT_FUNCTION_DESC' | 'SET_PASSWORD_FUNCTION_ASC' | 'SET_PASSWORD_FUNCTION_DESC' | 'RESET_PASSWORD_FUNCTION_ASC' | 'RESET_PASSWORD_FUNCTION_DESC' | 'FORGOT_PASSWORD_FUNCTION_ASC' | 'FORGOT_PASSWORD_FUNCTION_DESC' | 'SEND_VERIFICATION_EMAIL_FUNCTION_ASC' | 'SEND_VERIFICATION_EMAIL_FUNCTION_DESC' | 'VERIFY_EMAIL_FUNCTION_ASC' | 'VERIFY_EMAIL_FUNCTION_DESC' | 'VERIFY_PASSWORD_FUNCTION_ASC' | 'VERIFY_PASSWORD_FUNCTION_DESC' | 'CHECK_PASSWORD_FUNCTION_ASC' | 'CHECK_PASSWORD_FUNCTION_DESC' | 'SEND_ACCOUNT_DELETION_EMAIL_FUNCTION_ASC' | 'SEND_ACCOUNT_DELETION_EMAIL_FUNCTION_DESC' | 'DELETE_ACCOUNT_FUNCTION_ASC' | 'DELETE_ACCOUNT_FUNCTION_DESC' | 'SIGN_IN_CROSS_ORIGIN_FUNCTION_ASC' | 'SIGN_IN_CROSS_ORIGIN_FUNCTION_DESC' | 'REQUEST_CROSS_ORIGIN_TOKEN_FUNCTION_ASC' | 'REQUEST_CROSS_ORIGIN_TOKEN_FUNCTION_DESC' | 'EXTEND_TOKEN_EXPIRES_ASC' | 'EXTEND_TOKEN_EXPIRES_DESC';
10053
10688
  export type UsersModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'TYPE_TABLE_ID_ASC' | 'TYPE_TABLE_ID_DESC' | 'TYPE_TABLE_NAME_ASC' | 'TYPE_TABLE_NAME_DESC';
10054
10689
  export type BlueprintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'TEMPLATE_ID_ASC' | 'TEMPLATE_ID_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10055
10690
  export type BlueprintTemplateOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'VERSION_ASC' | 'VERSION_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'VISIBILITY_ASC' | 'VISIBILITY_DESC' | 'CATEGORIES_ASC' | 'CATEGORIES_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'DEFINITION_SCHEMA_VERSION_ASC' | 'DEFINITION_SCHEMA_VERSION_DESC' | 'SOURCE_ASC' | 'SOURCE_DESC' | 'COMPLEXITY_ASC' | 'COMPLEXITY_DESC' | 'COPY_COUNT_ASC' | 'COPY_COUNT_DESC' | 'FORK_COUNT_ASC' | 'FORK_COUNT_DESC' | 'FORKED_FROM_ID_ASC' | 'FORKED_FROM_ID_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10056
10691
  export type BlueprintConstructionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'BLUEPRINT_ID_ASC' | 'BLUEPRINT_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_DETAILS_ASC' | 'ERROR_DETAILS_DESC' | 'TABLE_MAP_ASC' | 'TABLE_MAP_DESC' | 'CONSTRUCTED_DEFINITION_ASC' | 'CONSTRUCTED_DEFINITION_DESC' | 'CONSTRUCTED_AT_ASC' | 'CONSTRUCTED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10057
10692
  export type StorageModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'BUCKETS_TABLE_ID_ASC' | 'BUCKETS_TABLE_ID_DESC' | 'FILES_TABLE_ID_ASC' | 'FILES_TABLE_ID_DESC' | 'UPLOAD_REQUESTS_TABLE_ID_ASC' | 'UPLOAD_REQUESTS_TABLE_ID_DESC' | 'BUCKETS_TABLE_NAME_ASC' | 'BUCKETS_TABLE_NAME_DESC' | 'FILES_TABLE_NAME_ASC' | 'FILES_TABLE_NAME_DESC' | 'UPLOAD_REQUESTS_TABLE_NAME_ASC' | 'UPLOAD_REQUESTS_TABLE_NAME_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ENDPOINT_ASC' | 'ENDPOINT_DESC' | 'PUBLIC_URL_PREFIX_ASC' | 'PUBLIC_URL_PREFIX_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'UPLOAD_URL_EXPIRY_SECONDS_ASC' | 'UPLOAD_URL_EXPIRY_SECONDS_DESC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_ASC' | 'DOWNLOAD_URL_EXPIRY_SECONDS_DESC' | 'DEFAULT_MAX_FILE_SIZE_ASC' | 'DEFAULT_MAX_FILE_SIZE_DESC' | 'MAX_FILENAME_LENGTH_ASC' | 'MAX_FILENAME_LENGTH_DESC' | 'CACHE_TTL_SECONDS_ASC' | 'CACHE_TTL_SECONDS_DESC';
10693
+ export type EntityTypeProvisionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PARENT_ENTITY_ASC' | 'PARENT_ENTITY_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC' | 'IS_VISIBLE_ASC' | 'IS_VISIBLE_DESC' | 'HAS_LIMITS_ASC' | 'HAS_LIMITS_DESC' | 'HAS_PROFILES_ASC' | 'HAS_PROFILES_DESC' | 'HAS_LEVELS_ASC' | 'HAS_LEVELS_DESC' | 'SKIP_ENTITY_POLICIES_ASC' | 'SKIP_ENTITY_POLICIES_DESC' | 'TABLE_PROVISION_ASC' | 'TABLE_PROVISION_DESC' | 'OUT_MEMBERSHIP_TYPE_ASC' | 'OUT_MEMBERSHIP_TYPE_DESC' | 'OUT_ENTITY_TABLE_ID_ASC' | 'OUT_ENTITY_TABLE_ID_DESC' | 'OUT_ENTITY_TABLE_NAME_ASC' | 'OUT_ENTITY_TABLE_NAME_DESC' | 'OUT_INSTALLED_MODULES_ASC' | 'OUT_INSTALLED_MODULES_DESC';
10694
+ export type WebauthnCredentialsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'OWNER_TABLE_ID_ASC' | 'OWNER_TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
10058
10695
  export type DatabaseProvisionModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_NAME_ASC' | 'DATABASE_NAME_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SUBDOMAIN_ASC' | 'SUBDOMAIN_DESC' | 'DOMAIN_ASC' | 'DOMAIN_DESC' | 'MODULES_ASC' | 'MODULES_DESC' | 'OPTIONS_ASC' | 'OPTIONS_DESC' | 'BOOTSTRAP_USER_ASC' | 'BOOTSTRAP_USER_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'ERROR_MESSAGE_ASC' | 'ERROR_MESSAGE_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'COMPLETED_AT_ASC' | 'COMPLETED_AT_DESC';
10059
10696
  export type AppAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10060
10697
  export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10061
10698
  export type AppGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10062
- export type OrgMembershipOrderBy = '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' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
10699
+ export type OrgMembershipOrderBy = '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' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_EXTERNAL_ASC' | 'IS_EXTERNAL_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
10063
10700
  export type OrgMemberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
10064
10701
  export type OrgAdminGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10065
10702
  export type OrgOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10703
+ export type OrgMemberProfileOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'MEMBERSHIP_ID_ASC' | 'MEMBERSHIP_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'TITLE_ASC' | 'TITLE_DESC' | 'BIO_ASC' | 'BIO_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC';
10066
10704
  export type OrgGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10067
10705
  export type OrgChartEdgeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC';
10068
10706
  export type OrgChartEdgeGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'CHILD_ID_ASC' | 'CHILD_ID_DESC' | 'PARENT_ID_ASC' | 'PARENT_ID_DESC' | 'GRANTOR_ID_ASC' | 'GRANTOR_ID_DESC' | 'IS_GRANT_ASC' | 'IS_GRANT_DESC' | 'POSITION_TITLE_ASC' | 'POSITION_TITLE_DESC' | 'POSITION_LEVEL_ASC' | 'POSITION_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
@@ -10075,7 +10713,6 @@ export type AppLevelOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'
10075
10713
  export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10076
10714
  export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CC_ASC' | 'CC_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10077
10715
  export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10078
- export type ConnectedAccountOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'DETAILS_ASC' | 'DETAILS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10079
10716
  export type AppInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10080
10717
  export type AppClaimedInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10081
10718
  export type OrgInviteOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'SENDER_ID_ASC' | 'SENDER_ID_DESC' | 'RECEIVER_ID_ASC' | 'RECEIVER_ID_DESC' | 'INVITE_TOKEN_ASC' | 'INVITE_TOKEN_DESC' | 'INVITE_VALID_ASC' | 'INVITE_VALID_DESC' | 'INVITE_LIMIT_ASC' | 'INVITE_LIMIT_DESC' | 'INVITE_COUNT_ASC' | 'INVITE_COUNT_DESC' | 'MULTIPLE_ASC' | 'MULTIPLE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC';
@@ -10088,16 +10725,18 @@ export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'
10088
10725
  export type MigrateFileOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
10089
10726
  export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
10090
10727
  export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
10091
- export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC';
10728
+ export type DevicesModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'USER_DEVICES_TABLE_ID_ASC' | 'USER_DEVICES_TABLE_ID_DESC' | 'DEVICE_SETTINGS_TABLE_ID_ASC' | 'DEVICE_SETTINGS_TABLE_ID_DESC' | 'USER_DEVICES_TABLE_ASC' | 'USER_DEVICES_TABLE_DESC' | 'DEVICE_SETTINGS_TABLE_ASC' | 'DEVICE_SETTINGS_TABLE_DESC';
10729
+ export type UserConnectedAccountOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'DETAILS_ASC' | 'DETAILS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
10092
10730
  export type AppMembershipDefaultOrderBy = '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' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC';
10093
10731
  export type CommitOrderBy = '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';
10094
10732
  export type RateLimitsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'RATE_LIMIT_SETTINGS_TABLE_ID_ASC' | 'RATE_LIMIT_SETTINGS_TABLE_ID_DESC' | 'IP_RATE_LIMITS_TABLE_ID_ASC' | 'IP_RATE_LIMITS_TABLE_ID_DESC' | 'RATE_LIMITS_TABLE_ID_ASC' | 'RATE_LIMITS_TABLE_ID_DESC' | 'RATE_LIMIT_SETTINGS_TABLE_ASC' | 'RATE_LIMIT_SETTINGS_TABLE_DESC' | 'IP_RATE_LIMITS_TABLE_ASC' | 'IP_RATE_LIMITS_TABLE_DESC' | 'RATE_LIMITS_TABLE_ASC' | 'RATE_LIMITS_TABLE_DESC';
10733
+ export type MembershipTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PARENT_MEMBERSHIP_TYPE_ASC' | 'PARENT_MEMBERSHIP_TYPE_DESC' | 'HAS_USERS_TABLE_ENTRY_ASC' | 'HAS_USERS_TABLE_ENTRY_DESC';
10095
10734
  export type OrgMembershipDefaultOrderBy = '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' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'DELETE_MEMBER_CASCADE_GROUPS_ASC' | 'DELETE_MEMBER_CASCADE_GROUPS_DESC' | 'CREATE_GROUPS_CASCADE_MEMBERS_ASC' | 'CREATE_GROUPS_CASCADE_MEMBERS_DESC';
10096
10735
  export type RlsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'AUTHENTICATE_ASC' | 'AUTHENTICATE_DESC' | 'AUTHENTICATE_STRICT_ASC' | 'AUTHENTICATE_STRICT_DESC' | 'CURRENT_ROLE_ASC' | 'CURRENT_ROLE_DESC' | 'CURRENT_ROLE_ID_ASC' | 'CURRENT_ROLE_ID_DESC';
10097
10736
  export type SqlActionOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ACTION_ASC' | 'ACTION_DESC' | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
10098
10737
  export type UserOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC' | 'SEARCH_TSV_ASC' | 'SEARCH_TSV_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
10099
10738
  export type AstMigrationOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'REQUIRES_ASC' | 'REQUIRES_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'DEPLOYS_ASC' | 'DEPLOYS_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ACTION_ASC' | 'ACTION_DESC' | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
10100
- export type AppMembershipOrderBy = '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' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
10739
+ export type AppMembershipOrderBy = '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' | 'IS_APPROVED_ASC' | 'IS_APPROVED_DESC' | 'IS_BANNED_ASC' | 'IS_BANNED_DESC' | 'IS_DISABLED_ASC' | 'IS_DISABLED_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_EXTERNAL_ASC' | 'IS_EXTERNAL_DESC' | 'IS_OWNER_ASC' | 'IS_OWNER_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'PERMISSIONS_ASC' | 'PERMISSIONS_DESC' | 'GRANTED_ASC' | 'GRANTED_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'PROFILE_ID_ASC' | 'PROFILE_ID_DESC';
10101
10740
  export type HierarchyModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'CHART_EDGES_TABLE_ID_ASC' | 'CHART_EDGES_TABLE_ID_DESC' | 'CHART_EDGES_TABLE_NAME_ASC' | 'CHART_EDGES_TABLE_NAME_DESC' | 'HIERARCHY_SPRT_TABLE_ID_ASC' | 'HIERARCHY_SPRT_TABLE_ID_DESC' | 'HIERARCHY_SPRT_TABLE_NAME_ASC' | 'HIERARCHY_SPRT_TABLE_NAME_DESC' | 'CHART_EDGE_GRANTS_TABLE_ID_ASC' | 'CHART_EDGE_GRANTS_TABLE_ID_DESC' | 'CHART_EDGE_GRANTS_TABLE_NAME_ASC' | 'CHART_EDGE_GRANTS_TABLE_NAME_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'SPRT_TABLE_NAME_ASC' | 'SPRT_TABLE_NAME_DESC' | 'REBUILD_HIERARCHY_FUNCTION_ASC' | 'REBUILD_HIERARCHY_FUNCTION_DESC' | 'GET_SUBORDINATES_FUNCTION_ASC' | 'GET_SUBORDINATES_FUNCTION_DESC' | 'GET_MANAGERS_FUNCTION_ASC' | 'GET_MANAGERS_FUNCTION_DESC' | 'IS_MANAGER_OF_FUNCTION_ASC' | 'IS_MANAGER_OF_FUNCTION_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
10102
10741
  export interface CreateOrgGetManagersRecordInput {
10103
10742
  clientMutationId?: string;
@@ -10467,6 +11106,46 @@ export interface DeleteFieldInput {
10467
11106
  clientMutationId?: string;
10468
11107
  id: string;
10469
11108
  }
11109
+ export interface CreateSpatialRelationInput {
11110
+ clientMutationId?: string;
11111
+ spatialRelation: {
11112
+ databaseId?: string;
11113
+ tableId: string;
11114
+ fieldId: string;
11115
+ refTableId: string;
11116
+ refFieldId: string;
11117
+ name: string;
11118
+ operator: string;
11119
+ paramName?: string;
11120
+ category?: ObjectCategory;
11121
+ module?: string;
11122
+ scope?: number;
11123
+ tags?: string[];
11124
+ };
11125
+ }
11126
+ export interface SpatialRelationPatch {
11127
+ databaseId?: string | null;
11128
+ tableId?: string | null;
11129
+ fieldId?: string | null;
11130
+ refTableId?: string | null;
11131
+ refFieldId?: string | null;
11132
+ name?: string | null;
11133
+ operator?: string | null;
11134
+ paramName?: string | null;
11135
+ category?: ObjectCategory | null;
11136
+ module?: string | null;
11137
+ scope?: number | null;
11138
+ tags?: string[] | null;
11139
+ }
11140
+ export interface UpdateSpatialRelationInput {
11141
+ clientMutationId?: string;
11142
+ id: string;
11143
+ spatialRelationPatch: SpatialRelationPatch;
11144
+ }
11145
+ export interface DeleteSpatialRelationInput {
11146
+ clientMutationId?: string;
11147
+ id: string;
11148
+ }
10470
11149
  export interface CreateForeignKeyConstraintInput {
10471
11150
  clientMutationId?: string;
10472
11151
  foreignKeyConstraint: {
@@ -10939,38 +11618,6 @@ export interface DeleteEmbeddingChunkInput {
10939
11618
  clientMutationId?: string;
10940
11619
  id: string;
10941
11620
  }
10942
- export interface CreateTableTemplateModuleInput {
10943
- clientMutationId?: string;
10944
- tableTemplateModule: {
10945
- databaseId: string;
10946
- schemaId?: string;
10947
- privateSchemaId?: string;
10948
- tableId?: string;
10949
- ownerTableId?: string;
10950
- tableName: string;
10951
- nodeType: string;
10952
- data?: Record<string, unknown>;
10953
- };
10954
- }
10955
- export interface TableTemplateModulePatch {
10956
- databaseId?: string | null;
10957
- schemaId?: string | null;
10958
- privateSchemaId?: string | null;
10959
- tableId?: string | null;
10960
- ownerTableId?: string | null;
10961
- tableName?: string | null;
10962
- nodeType?: string | null;
10963
- data?: Record<string, unknown> | null;
10964
- }
10965
- export interface UpdateTableTemplateModuleInput {
10966
- clientMutationId?: string;
10967
- id: string;
10968
- tableTemplateModulePatch: TableTemplateModulePatch;
10969
- }
10970
- export interface DeleteTableTemplateModuleInput {
10971
- clientMutationId?: string;
10972
- id: string;
10973
- }
10974
11621
  export interface CreateSecureTableProvisionInput {
10975
11622
  clientMutationId?: string;
10976
11623
  secureTableProvision: {
@@ -11084,12 +11731,38 @@ export interface RelationProvisionPatch {
11084
11731
  outSourceFieldId?: string | null;
11085
11732
  outTargetFieldId?: string | null;
11086
11733
  }
11087
- export interface UpdateRelationProvisionInput {
11734
+ export interface UpdateRelationProvisionInput {
11735
+ clientMutationId?: string;
11736
+ id: string;
11737
+ relationProvisionPatch: RelationProvisionPatch;
11738
+ }
11739
+ export interface DeleteRelationProvisionInput {
11740
+ clientMutationId?: string;
11741
+ id: string;
11742
+ }
11743
+ export interface CreateSessionSecretsModuleInput {
11744
+ clientMutationId?: string;
11745
+ sessionSecretsModule: {
11746
+ databaseId: string;
11747
+ schemaId?: string;
11748
+ tableId?: string;
11749
+ tableName?: string;
11750
+ sessionsTableId?: string;
11751
+ };
11752
+ }
11753
+ export interface SessionSecretsModulePatch {
11754
+ databaseId?: string | null;
11755
+ schemaId?: string | null;
11756
+ tableId?: string | null;
11757
+ tableName?: string | null;
11758
+ sessionsTableId?: string | null;
11759
+ }
11760
+ export interface UpdateSessionSecretsModuleInput {
11088
11761
  clientMutationId?: string;
11089
11762
  id: string;
11090
- relationProvisionPatch: RelationProvisionPatch;
11763
+ sessionSecretsModulePatch: SessionSecretsModulePatch;
11091
11764
  }
11092
- export interface DeleteRelationProvisionInput {
11765
+ export interface DeleteSessionSecretsModuleInput {
11093
11766
  clientMutationId?: string;
11094
11767
  id: string;
11095
11768
  }
@@ -11906,6 +12579,7 @@ export interface CreateMembershipsModuleInput {
11906
12579
  entityIdsByMask?: string;
11907
12580
  entityIdsByPerm?: string;
11908
12581
  entityIdsFunction?: string;
12582
+ memberProfilesTableId?: string;
11909
12583
  };
11910
12584
  }
11911
12585
  export interface MembershipsModulePatch {
@@ -11939,6 +12613,7 @@ export interface MembershipsModulePatch {
11939
12613
  entityIdsByMask?: string | null;
11940
12614
  entityIdsByPerm?: string | null;
11941
12615
  entityIdsFunction?: string | null;
12616
+ memberProfilesTableId?: string | null;
11942
12617
  }
11943
12618
  export interface UpdateMembershipsModuleInput {
11944
12619
  clientMutationId?: string;
@@ -12160,8 +12835,8 @@ export interface CreateUserAuthModuleInput {
12160
12835
  checkPasswordFunction?: string;
12161
12836
  sendAccountDeletionEmailFunction?: string;
12162
12837
  deleteAccountFunction?: string;
12163
- signInOneTimeTokenFunction?: string;
12164
- oneTimeTokenFunction?: string;
12838
+ signInCrossOriginFunction?: string;
12839
+ requestCrossOriginTokenFunction?: string;
12165
12840
  extendTokenExpires?: string;
12166
12841
  };
12167
12842
  }
@@ -12188,8 +12863,8 @@ export interface UserAuthModulePatch {
12188
12863
  checkPasswordFunction?: string | null;
12189
12864
  sendAccountDeletionEmailFunction?: string | null;
12190
12865
  deleteAccountFunction?: string | null;
12191
- signInOneTimeTokenFunction?: string | null;
12192
- oneTimeTokenFunction?: string | null;
12866
+ signInCrossOriginFunction?: string | null;
12867
+ requestCrossOriginTokenFunction?: string | null;
12193
12868
  extendTokenExpires?: string | null;
12194
12869
  }
12195
12870
  export interface UpdateUserAuthModuleInput {
@@ -12399,6 +13074,82 @@ export interface DeleteStorageModuleInput {
12399
13074
  clientMutationId?: string;
12400
13075
  id: string;
12401
13076
  }
13077
+ export interface CreateEntityTypeProvisionInput {
13078
+ clientMutationId?: string;
13079
+ entityTypeProvision: {
13080
+ databaseId: string;
13081
+ name: string;
13082
+ prefix: string;
13083
+ description?: string;
13084
+ parentEntity?: string;
13085
+ tableName?: string;
13086
+ isVisible?: boolean;
13087
+ hasLimits?: boolean;
13088
+ hasProfiles?: boolean;
13089
+ hasLevels?: boolean;
13090
+ skipEntityPolicies?: boolean;
13091
+ tableProvision?: Record<string, unknown>;
13092
+ outMembershipType?: number;
13093
+ outEntityTableId?: string;
13094
+ outEntityTableName?: string;
13095
+ outInstalledModules?: string[];
13096
+ };
13097
+ }
13098
+ export interface EntityTypeProvisionPatch {
13099
+ databaseId?: string | null;
13100
+ name?: string | null;
13101
+ prefix?: string | null;
13102
+ description?: string | null;
13103
+ parentEntity?: string | null;
13104
+ tableName?: string | null;
13105
+ isVisible?: boolean | null;
13106
+ hasLimits?: boolean | null;
13107
+ hasProfiles?: boolean | null;
13108
+ hasLevels?: boolean | null;
13109
+ skipEntityPolicies?: boolean | null;
13110
+ tableProvision?: Record<string, unknown> | null;
13111
+ outMembershipType?: number | null;
13112
+ outEntityTableId?: string | null;
13113
+ outEntityTableName?: string | null;
13114
+ outInstalledModules?: string[] | null;
13115
+ }
13116
+ export interface UpdateEntityTypeProvisionInput {
13117
+ clientMutationId?: string;
13118
+ id: string;
13119
+ entityTypeProvisionPatch: EntityTypeProvisionPatch;
13120
+ }
13121
+ export interface DeleteEntityTypeProvisionInput {
13122
+ clientMutationId?: string;
13123
+ id: string;
13124
+ }
13125
+ export interface CreateWebauthnCredentialsModuleInput {
13126
+ clientMutationId?: string;
13127
+ webauthnCredentialsModule: {
13128
+ databaseId: string;
13129
+ schemaId?: string;
13130
+ privateSchemaId?: string;
13131
+ tableId?: string;
13132
+ ownerTableId?: string;
13133
+ tableName?: string;
13134
+ };
13135
+ }
13136
+ export interface WebauthnCredentialsModulePatch {
13137
+ databaseId?: string | null;
13138
+ schemaId?: string | null;
13139
+ privateSchemaId?: string | null;
13140
+ tableId?: string | null;
13141
+ ownerTableId?: string | null;
13142
+ tableName?: string | null;
13143
+ }
13144
+ export interface UpdateWebauthnCredentialsModuleInput {
13145
+ clientMutationId?: string;
13146
+ id: string;
13147
+ webauthnCredentialsModulePatch: WebauthnCredentialsModulePatch;
13148
+ }
13149
+ export interface DeleteWebauthnCredentialsModuleInput {
13150
+ clientMutationId?: string;
13151
+ id: string;
13152
+ }
12402
13153
  export interface CreateDatabaseProvisionModuleInput {
12403
13154
  clientMutationId?: string;
12404
13155
  databaseProvisionModule: {
@@ -12514,12 +13265,14 @@ export interface CreateOrgMembershipInput {
12514
13265
  isBanned?: boolean;
12515
13266
  isDisabled?: boolean;
12516
13267
  isActive?: boolean;
13268
+ isExternal?: boolean;
12517
13269
  isOwner?: boolean;
12518
13270
  isAdmin?: boolean;
12519
13271
  permissions?: string;
12520
13272
  granted?: string;
12521
13273
  actorId: string;
12522
13274
  entityId: string;
13275
+ isReadOnly?: boolean;
12523
13276
  profileId?: string;
12524
13277
  };
12525
13278
  }
@@ -12530,12 +13283,14 @@ export interface OrgMembershipPatch {
12530
13283
  isBanned?: boolean | null;
12531
13284
  isDisabled?: boolean | null;
12532
13285
  isActive?: boolean | null;
13286
+ isExternal?: boolean | null;
12533
13287
  isOwner?: boolean | null;
12534
13288
  isAdmin?: boolean | null;
12535
13289
  permissions?: string | null;
12536
13290
  granted?: string | null;
12537
13291
  actorId?: string | null;
12538
13292
  entityId?: string | null;
13293
+ isReadOnly?: boolean | null;
12539
13294
  profileId?: string | null;
12540
13295
  }
12541
13296
  export interface UpdateOrgMembershipInput {
@@ -12617,6 +13372,39 @@ export interface DeleteOrgOwnerGrantInput {
12617
13372
  clientMutationId?: string;
12618
13373
  id: string;
12619
13374
  }
13375
+ export interface CreateOrgMemberProfileInput {
13376
+ clientMutationId?: string;
13377
+ orgMemberProfile: {
13378
+ membershipId: string;
13379
+ entityId: string;
13380
+ actorId: string;
13381
+ displayName?: string;
13382
+ email?: string;
13383
+ title?: string;
13384
+ bio?: string;
13385
+ profilePicture?: ConstructiveInternalTypeImage;
13386
+ };
13387
+ }
13388
+ export interface OrgMemberProfilePatch {
13389
+ membershipId?: string | null;
13390
+ entityId?: string | null;
13391
+ actorId?: string | null;
13392
+ displayName?: string | null;
13393
+ email?: string | null;
13394
+ title?: string | null;
13395
+ bio?: string | null;
13396
+ profilePicture?: ConstructiveInternalTypeImage | null;
13397
+ profilePictureUpload?: File | null;
13398
+ }
13399
+ export interface UpdateOrgMemberProfileInput {
13400
+ clientMutationId?: string;
13401
+ id: string;
13402
+ orgMemberProfilePatch: OrgMemberProfilePatch;
13403
+ }
13404
+ export interface DeleteOrgMemberProfileInput {
13405
+ clientMutationId?: string;
13406
+ id: string;
13407
+ }
12620
13408
  export interface CreateOrgGrantInput {
12621
13409
  clientMutationId?: string;
12622
13410
  orgGrant: {
@@ -12912,32 +13700,6 @@ export interface DeleteCryptoAddressInput {
12912
13700
  clientMutationId?: string;
12913
13701
  id: string;
12914
13702
  }
12915
- export interface CreateConnectedAccountInput {
12916
- clientMutationId?: string;
12917
- connectedAccount: {
12918
- ownerId?: string;
12919
- service: string;
12920
- identifier: string;
12921
- details: Record<string, unknown>;
12922
- isVerified?: boolean;
12923
- };
12924
- }
12925
- export interface ConnectedAccountPatch {
12926
- ownerId?: string | null;
12927
- service?: string | null;
12928
- identifier?: string | null;
12929
- details?: Record<string, unknown> | null;
12930
- isVerified?: boolean | null;
12931
- }
12932
- export interface UpdateConnectedAccountInput {
12933
- clientMutationId?: string;
12934
- id: string;
12935
- connectedAccountPatch: ConnectedAccountPatch;
12936
- }
12937
- export interface DeleteConnectedAccountInput {
12938
- clientMutationId?: string;
12939
- id: string;
12940
- }
12941
13703
  export interface CreateAppInviteInput {
12942
13704
  clientMutationId?: string;
12943
13705
  appInvite: {
@@ -13226,27 +13988,59 @@ export interface DeleteOrgLimitDefaultInput {
13226
13988
  clientMutationId?: string;
13227
13989
  id: string;
13228
13990
  }
13229
- export interface CreateMembershipTypeInput {
13991
+ export interface CreateDevicesModuleInput {
13230
13992
  clientMutationId?: string;
13231
- membershipType: {
13232
- name: string;
13233
- description: string;
13234
- prefix: string;
13993
+ devicesModule: {
13994
+ databaseId: string;
13995
+ schemaId?: string;
13996
+ userDevicesTableId?: string;
13997
+ deviceSettingsTableId?: string;
13998
+ userDevicesTable?: string;
13999
+ deviceSettingsTable?: string;
13235
14000
  };
13236
14001
  }
13237
- export interface MembershipTypePatch {
13238
- name?: string | null;
13239
- description?: string | null;
13240
- prefix?: string | null;
14002
+ export interface DevicesModulePatch {
14003
+ databaseId?: string | null;
14004
+ schemaId?: string | null;
14005
+ userDevicesTableId?: string | null;
14006
+ deviceSettingsTableId?: string | null;
14007
+ userDevicesTable?: string | null;
14008
+ deviceSettingsTable?: string | null;
13241
14009
  }
13242
- export interface UpdateMembershipTypeInput {
14010
+ export interface UpdateDevicesModuleInput {
13243
14011
  clientMutationId?: string;
13244
- id: number;
13245
- membershipTypePatch: MembershipTypePatch;
14012
+ id: string;
14013
+ devicesModulePatch: DevicesModulePatch;
13246
14014
  }
13247
- export interface DeleteMembershipTypeInput {
14015
+ export interface DeleteDevicesModuleInput {
13248
14016
  clientMutationId?: string;
13249
- id: number;
14017
+ id: string;
14018
+ }
14019
+ export interface CreateUserConnectedAccountInput {
14020
+ clientMutationId?: string;
14021
+ userConnectedAccount: {
14022
+ ownerId?: string;
14023
+ service?: string;
14024
+ identifier?: string;
14025
+ details?: Record<string, unknown>;
14026
+ isVerified?: boolean;
14027
+ };
14028
+ }
14029
+ export interface UserConnectedAccountPatch {
14030
+ ownerId?: string | null;
14031
+ service?: string | null;
14032
+ identifier?: string | null;
14033
+ details?: Record<string, unknown> | null;
14034
+ isVerified?: boolean | null;
14035
+ }
14036
+ export interface UpdateUserConnectedAccountInput {
14037
+ clientMutationId?: string;
14038
+ id: string;
14039
+ userConnectedAccountPatch: UserConnectedAccountPatch;
14040
+ }
14041
+ export interface DeleteUserConnectedAccountInput {
14042
+ clientMutationId?: string;
14043
+ id: string;
13250
14044
  }
13251
14045
  export interface CreateAppMembershipDefaultInput {
13252
14046
  clientMutationId?: string;
@@ -13336,6 +14130,32 @@ export interface DeleteRateLimitsModuleInput {
13336
14130
  clientMutationId?: string;
13337
14131
  id: string;
13338
14132
  }
14133
+ export interface CreateMembershipTypeInput {
14134
+ clientMutationId?: string;
14135
+ membershipType: {
14136
+ name: string;
14137
+ description: string;
14138
+ prefix: string;
14139
+ parentMembershipType?: number;
14140
+ hasUsersTableEntry?: boolean;
14141
+ };
14142
+ }
14143
+ export interface MembershipTypePatch {
14144
+ name?: string | null;
14145
+ description?: string | null;
14146
+ prefix?: string | null;
14147
+ parentMembershipType?: number | null;
14148
+ hasUsersTableEntry?: boolean | null;
14149
+ }
14150
+ export interface UpdateMembershipTypeInput {
14151
+ clientMutationId?: string;
14152
+ id: number;
14153
+ membershipTypePatch: MembershipTypePatch;
14154
+ }
14155
+ export interface DeleteMembershipTypeInput {
14156
+ clientMutationId?: string;
14157
+ id: number;
14158
+ }
13339
14159
  export interface CreateOrgMembershipDefaultInput {
13340
14160
  clientMutationId?: string;
13341
14161
  orgMembershipDefault: {
@@ -13511,6 +14331,7 @@ export interface CreateAppMembershipInput {
13511
14331
  isDisabled?: boolean;
13512
14332
  isVerified?: boolean;
13513
14333
  isActive?: boolean;
14334
+ isExternal?: boolean;
13514
14335
  isOwner?: boolean;
13515
14336
  isAdmin?: boolean;
13516
14337
  permissions?: string;
@@ -13527,6 +14348,7 @@ export interface AppMembershipPatch {
13527
14348
  isDisabled?: boolean | null;
13528
14349
  isVerified?: boolean | null;
13529
14350
  isActive?: boolean | null;
14351
+ isExternal?: boolean | null;
13530
14352
  isOwner?: boolean | null;
13531
14353
  isAdmin?: boolean | null;
13532
14354
  permissions?: string | null;
@@ -13614,6 +14436,18 @@ export interface RejectDatabaseTransferInput {
13614
14436
  clientMutationId?: string;
13615
14437
  transferId?: string;
13616
14438
  }
14439
+ export interface DisconnectAccountInput {
14440
+ clientMutationId?: string;
14441
+ accountId: string;
14442
+ }
14443
+ export interface RevokeApiKeyInput {
14444
+ clientMutationId?: string;
14445
+ keyId: string;
14446
+ }
14447
+ export interface RevokeSessionInput {
14448
+ clientMutationId?: string;
14449
+ sessionId: string;
14450
+ }
13617
14451
  export interface VerifyPasswordInput {
13618
14452
  clientMutationId?: string;
13619
14453
  password: string;
@@ -13664,6 +14498,11 @@ export interface ConstructBlueprintInput {
13664
14498
  blueprintId?: string;
13665
14499
  schemaId?: string;
13666
14500
  }
14501
+ export interface ProvisionNewUserInput {
14502
+ clientMutationId?: string;
14503
+ email?: string;
14504
+ password?: string;
14505
+ }
13667
14506
  export interface ResetPasswordInput {
13668
14507
  clientMutationId?: string;
13669
14508
  roleId?: string;
@@ -13684,6 +14523,23 @@ export interface CopyTemplateToBlueprintInput {
13684
14523
  nameOverride?: string;
13685
14524
  displayNameOverride?: string;
13686
14525
  }
14526
+ export interface CreateApiKeyInput {
14527
+ clientMutationId?: string;
14528
+ keyName: string;
14529
+ accessLevel?: string;
14530
+ mfaLevel?: string;
14531
+ }
14532
+ export interface ProvisionSpatialRelationInput {
14533
+ clientMutationId?: string;
14534
+ pDatabaseId?: string;
14535
+ pSourceTableId?: string;
14536
+ pSourceFieldId?: string;
14537
+ pTargetTableId?: string;
14538
+ pTargetFieldId?: string;
14539
+ pName?: string;
14540
+ pOperator?: string;
14541
+ pParamName?: string;
14542
+ }
13687
14543
  export interface BootstrapUserInput {
13688
14544
  clientMutationId?: string;
13689
14545
  targetDatabaseId?: string;
@@ -13800,7 +14656,7 @@ export interface ApplyRlsInput {
13800
14656
  permissive?: boolean;
13801
14657
  name?: string;
13802
14658
  }
13803
- export interface SignInOneTimeTokenInput {
14659
+ export interface SignInCrossOriginInput {
13804
14660
  clientMutationId?: string;
13805
14661
  token?: string;
13806
14662
  credentialKind?: string;
@@ -13819,7 +14675,7 @@ export interface ExtendTokenExpiresInput {
13819
14675
  clientMutationId?: string;
13820
14676
  amount?: IntervalInput;
13821
14677
  }
13822
- export interface SignInInput {
14678
+ export interface SignUpInput {
13823
14679
  clientMutationId?: string;
13824
14680
  email?: string;
13825
14681
  password?: string;
@@ -13827,20 +14683,21 @@ export interface SignInInput {
13827
14683
  credentialKind?: string;
13828
14684
  csrfToken?: string;
13829
14685
  }
13830
- export interface SignUpInput {
14686
+ export interface RequestCrossOriginTokenInput {
13831
14687
  clientMutationId?: string;
13832
14688
  email?: string;
13833
14689
  password?: string;
14690
+ origin?: ConstructiveInternalTypeOrigin;
13834
14691
  rememberMe?: boolean;
13835
- credentialKind?: string;
13836
- csrfToken?: string;
13837
14692
  }
13838
- export interface OneTimeTokenInput {
14693
+ export interface SignInInput {
13839
14694
  clientMutationId?: string;
13840
14695
  email?: string;
13841
14696
  password?: string;
13842
- origin?: ConstructiveInternalTypeOrigin;
13843
14697
  rememberMe?: boolean;
14698
+ credentialKind?: string;
14699
+ csrfToken?: string;
14700
+ deviceToken?: string;
13844
14701
  }
13845
14702
  export interface ProvisionTableInput {
13846
14703
  clientMutationId?: string;
@@ -14066,6 +14923,15 @@ export interface DatabaseToManyEmbeddingChunkFilter {
14066
14923
  /** Filters to entities where no related entity matches. */
14067
14924
  none?: EmbeddingChunkFilter;
14068
14925
  }
14926
+ /** A filter to be used against many `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
14927
+ export interface DatabaseToManySpatialRelationFilter {
14928
+ /** Filters to entities where at least one related entity matches. */
14929
+ some?: SpatialRelationFilter;
14930
+ /** Filters to entities where every related entity matches. */
14931
+ every?: SpatialRelationFilter;
14932
+ /** Filters to entities where no related entity matches. */
14933
+ none?: SpatialRelationFilter;
14934
+ }
14069
14935
  /** A filter to be used against many `DatabaseTransfer` object types. All fields are combined with a logical ‘and.’ */
14070
14936
  export interface DatabaseToManyDatabaseTransferFilter {
14071
14937
  /** Filters to entities where at least one related entity matches. */
@@ -14327,15 +15193,6 @@ export interface DatabaseToManyUsersModuleFilter {
14327
15193
  /** Filters to entities where no related entity matches. */
14328
15194
  none?: UsersModuleFilter;
14329
15195
  }
14330
- /** A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */
14331
- export interface DatabaseToManyTableTemplateModuleFilter {
14332
- /** Filters to entities where at least one related entity matches. */
14333
- some?: TableTemplateModuleFilter;
14334
- /** Filters to entities where every related entity matches. */
14335
- every?: TableTemplateModuleFilter;
14336
- /** Filters to entities where no related entity matches. */
14337
- none?: TableTemplateModuleFilter;
14338
- }
14339
15196
  /** A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ */
14340
15197
  export interface DatabaseToManySecureTableProvisionFilter {
14341
15198
  /** Filters to entities where at least one related entity matches. */
@@ -14381,6 +15238,33 @@ export interface DatabaseToManyStorageModuleFilter {
14381
15238
  /** Filters to entities where no related entity matches. */
14382
15239
  none?: StorageModuleFilter;
14383
15240
  }
15241
+ /** A filter to be used against many `EntityTypeProvision` object types. All fields are combined with a logical ‘and.’ */
15242
+ export interface DatabaseToManyEntityTypeProvisionFilter {
15243
+ /** Filters to entities where at least one related entity matches. */
15244
+ some?: EntityTypeProvisionFilter;
15245
+ /** Filters to entities where every related entity matches. */
15246
+ every?: EntityTypeProvisionFilter;
15247
+ /** Filters to entities where no related entity matches. */
15248
+ none?: EntityTypeProvisionFilter;
15249
+ }
15250
+ /** A filter to be used against many `SessionSecretsModule` object types. All fields are combined with a logical ‘and.’ */
15251
+ export interface DatabaseToManySessionSecretsModuleFilter {
15252
+ /** Filters to entities where at least one related entity matches. */
15253
+ some?: SessionSecretsModuleFilter;
15254
+ /** Filters to entities where every related entity matches. */
15255
+ every?: SessionSecretsModuleFilter;
15256
+ /** Filters to entities where no related entity matches. */
15257
+ none?: SessionSecretsModuleFilter;
15258
+ }
15259
+ /** A filter to be used against many `WebauthnCredentialsModule` object types. All fields are combined with a logical ‘and.’ */
15260
+ export interface DatabaseToManyWebauthnCredentialsModuleFilter {
15261
+ /** Filters to entities where at least one related entity matches. */
15262
+ some?: WebauthnCredentialsModuleFilter;
15263
+ /** Filters to entities where every related entity matches. */
15264
+ every?: WebauthnCredentialsModuleFilter;
15265
+ /** Filters to entities where no related entity matches. */
15266
+ none?: WebauthnCredentialsModuleFilter;
15267
+ }
14384
15268
  /** A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
14385
15269
  export interface DatabaseToManyDatabaseProvisionModuleFilter {
14386
15270
  /** Filters to entities where at least one related entity matches. */
@@ -14469,14 +15353,14 @@ export interface SchemaToManyApiSchemaFilter {
14469
15353
  /** Filters to entities where no related entity matches. */
14470
15354
  none?: ApiSchemaFilter;
14471
15355
  }
14472
- /** A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */
14473
- export interface SchemaToManyTableTemplateModuleFilter {
15356
+ /** A filter to be used against many `SessionSecretsModule` object types. All fields are combined with a logical ‘and.’ */
15357
+ export interface SchemaToManySessionSecretsModuleFilter {
14474
15358
  /** Filters to entities where at least one related entity matches. */
14475
- some?: TableTemplateModuleFilter;
15359
+ some?: SessionSecretsModuleFilter;
14476
15360
  /** Filters to entities where every related entity matches. */
14477
- every?: TableTemplateModuleFilter;
15361
+ every?: SessionSecretsModuleFilter;
14478
15362
  /** Filters to entities where no related entity matches. */
14479
- none?: TableTemplateModuleFilter;
15363
+ none?: SessionSecretsModuleFilter;
14480
15364
  }
14481
15365
  /** A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */
14482
15366
  export interface TableToManyCheckConstraintFilter {
@@ -14595,14 +15479,14 @@ export interface TableToManyEmbeddingChunkFilter {
14595
15479
  /** Filters to entities where no related entity matches. */
14596
15480
  none?: EmbeddingChunkFilter;
14597
15481
  }
14598
- /** A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */
14599
- export interface TableToManyTableTemplateModuleFilter {
15482
+ /** A filter to be used against many `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
15483
+ export interface TableToManySpatialRelationFilter {
14600
15484
  /** Filters to entities where at least one related entity matches. */
14601
- some?: TableTemplateModuleFilter;
15485
+ some?: SpatialRelationFilter;
14602
15486
  /** Filters to entities where every related entity matches. */
14603
- every?: TableTemplateModuleFilter;
15487
+ every?: SpatialRelationFilter;
14604
15488
  /** Filters to entities where no related entity matches. */
14605
- none?: TableTemplateModuleFilter;
15489
+ none?: SpatialRelationFilter;
14606
15490
  }
14607
15491
  /** A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ */
14608
15492
  export interface TableToManySecureTableProvisionFilter {
@@ -14622,6 +15506,24 @@ export interface TableToManyRelationProvisionFilter {
14622
15506
  /** Filters to entities where no related entity matches. */
14623
15507
  none?: RelationProvisionFilter;
14624
15508
  }
15509
+ /** A filter to be used against many `SessionSecretsModule` object types. All fields are combined with a logical ‘and.’ */
15510
+ export interface TableToManySessionSecretsModuleFilter {
15511
+ /** Filters to entities where at least one related entity matches. */
15512
+ some?: SessionSecretsModuleFilter;
15513
+ /** Filters to entities where every related entity matches. */
15514
+ every?: SessionSecretsModuleFilter;
15515
+ /** Filters to entities where no related entity matches. */
15516
+ none?: SessionSecretsModuleFilter;
15517
+ }
15518
+ /** A filter to be used against many `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
15519
+ export interface FieldToManySpatialRelationFilter {
15520
+ /** Filters to entities where at least one related entity matches. */
15521
+ some?: SpatialRelationFilter;
15522
+ /** Filters to entities where every related entity matches. */
15523
+ every?: SpatialRelationFilter;
15524
+ /** Filters to entities where no related entity matches. */
15525
+ none?: SpatialRelationFilter;
15526
+ }
14625
15527
  /** A filter to be used against many `ViewTable` object types. All fields are combined with a logical ‘and.’ */
14626
15528
  export interface ViewToManyViewTableFilter {
14627
15529
  /** Filters to entities where at least one related entity matches. */
@@ -15411,6 +16313,15 @@ export interface UserToManyOrgOwnerGrantFilter {
15411
16313
  /** Filters to entities where no related entity matches. */
15412
16314
  none?: OrgOwnerGrantFilter;
15413
16315
  }
16316
+ /** A filter to be used against many `OrgMemberProfile` object types. All fields are combined with a logical ‘and.’ */
16317
+ export interface UserToManyOrgMemberProfileFilter {
16318
+ /** Filters to entities where at least one related entity matches. */
16319
+ some?: OrgMemberProfileFilter;
16320
+ /** Filters to entities where every related entity matches. */
16321
+ every?: OrgMemberProfileFilter;
16322
+ /** Filters to entities where no related entity matches. */
16323
+ none?: OrgMemberProfileFilter;
16324
+ }
15414
16325
  /** A filter to be used against many `OrgGrant` object types. All fields are combined with a logical ‘and.’ */
15415
16326
  export interface UserToManyOrgGrantFilter {
15416
16327
  /** Filters to entities where at least one related entity matches. */
@@ -15519,15 +16430,6 @@ export interface UserToManyCryptoAddressFilter {
15519
16430
  /** Filters to entities where no related entity matches. */
15520
16431
  none?: CryptoAddressFilter;
15521
16432
  }
15522
- /** A filter to be used against many `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
15523
- export interface UserToManyConnectedAccountFilter {
15524
- /** Filters to entities where at least one related entity matches. */
15525
- some?: ConnectedAccountFilter;
15526
- /** Filters to entities where every related entity matches. */
15527
- every?: ConnectedAccountFilter;
15528
- /** Filters to entities where no related entity matches. */
15529
- none?: ConnectedAccountFilter;
15530
- }
15531
16433
  /** A filter to be used against many `AppInvite` object types. All fields are combined with a logical ‘and.’ */
15532
16434
  export interface UserToManyAppInviteFilter {
15533
16435
  /** Filters to entities where at least one related entity matches. */
@@ -15661,14 +16563,10 @@ export interface SchemaFilter {
15661
16563
  apiSchemas?: SchemaToManyApiSchemaFilter;
15662
16564
  /** `apiSchemas` exist. */
15663
16565
  apiSchemasExist?: boolean;
15664
- /** Filter by the object’s `tableTemplateModulesByPrivateSchemaId` relation. */
15665
- tableTemplateModulesByPrivateSchemaId?: SchemaToManyTableTemplateModuleFilter;
15666
- /** `tableTemplateModulesByPrivateSchemaId` exist. */
15667
- tableTemplateModulesByPrivateSchemaIdExist?: boolean;
15668
- /** Filter by the object’s `tableTemplateModules` relation. */
15669
- tableTemplateModules?: SchemaToManyTableTemplateModuleFilter;
15670
- /** `tableTemplateModules` exist. */
15671
- tableTemplateModulesExist?: boolean;
16566
+ /** Filter by the object’s `sessionSecretsModules` relation. */
16567
+ sessionSecretsModules?: SchemaToManySessionSecretsModuleFilter;
16568
+ /** `sessionSecretsModules` exist. */
16569
+ sessionSecretsModulesExist?: boolean;
15672
16570
  }
15673
16571
  /** A filter to be used against `Table` object types. All fields are combined with a logical ‘and.’ */
15674
16572
  export interface TableFilter {
@@ -15780,14 +16678,14 @@ export interface TableFilter {
15780
16678
  embeddingChunks?: TableToManyEmbeddingChunkFilter;
15781
16679
  /** `embeddingChunks` exist. */
15782
16680
  embeddingChunksExist?: boolean;
15783
- /** Filter by the object’s `tableTemplateModulesByOwnerTableId` relation. */
15784
- tableTemplateModulesByOwnerTableId?: TableToManyTableTemplateModuleFilter;
15785
- /** `tableTemplateModulesByOwnerTableId` exist. */
15786
- tableTemplateModulesByOwnerTableIdExist?: boolean;
15787
- /** Filter by the object’s `tableTemplateModules` relation. */
15788
- tableTemplateModules?: TableToManyTableTemplateModuleFilter;
15789
- /** `tableTemplateModules` exist. */
15790
- tableTemplateModulesExist?: boolean;
16681
+ /** Filter by the object’s `spatialRelationsByRefTableId` relation. */
16682
+ spatialRelationsByRefTableId?: TableToManySpatialRelationFilter;
16683
+ /** `spatialRelationsByRefTableId` exist. */
16684
+ spatialRelationsByRefTableIdExist?: boolean;
16685
+ /** Filter by the object’s `spatialRelations` relation. */
16686
+ spatialRelations?: TableToManySpatialRelationFilter;
16687
+ /** `spatialRelations` exist. */
16688
+ spatialRelationsExist?: boolean;
15791
16689
  /** Filter by the object’s `secureTableProvisions` relation. */
15792
16690
  secureTableProvisions?: TableToManySecureTableProvisionFilter;
15793
16691
  /** `secureTableProvisions` exist. */
@@ -15800,6 +16698,14 @@ export interface TableFilter {
15800
16698
  relationProvisionsByTargetTableId?: TableToManyRelationProvisionFilter;
15801
16699
  /** `relationProvisionsByTargetTableId` exist. */
15802
16700
  relationProvisionsByTargetTableIdExist?: boolean;
16701
+ /** Filter by the object’s `sessionSecretsModulesBySessionsTableId` relation. */
16702
+ sessionSecretsModulesBySessionsTableId?: TableToManySessionSecretsModuleFilter;
16703
+ /** `sessionSecretsModulesBySessionsTableId` exist. */
16704
+ sessionSecretsModulesBySessionsTableIdExist?: boolean;
16705
+ /** Filter by the object’s `sessionSecretsModules` relation. */
16706
+ sessionSecretsModules?: TableToManySessionSecretsModuleFilter;
16707
+ /** `sessionSecretsModules` exist. */
16708
+ sessionSecretsModulesExist?: boolean;
15803
16709
  }
15804
16710
  /** A filter to be used against `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */
15805
16711
  export interface CheckConstraintFilter {
@@ -15902,6 +16808,14 @@ export interface FieldFilter {
15902
16808
  database?: DatabaseFilter;
15903
16809
  /** Filter by the object’s `table` relation. */
15904
16810
  table?: TableFilter;
16811
+ /** Filter by the object’s `spatialRelations` relation. */
16812
+ spatialRelations?: FieldToManySpatialRelationFilter;
16813
+ /** `spatialRelations` exist. */
16814
+ spatialRelationsExist?: boolean;
16815
+ /** Filter by the object’s `spatialRelationsByRefFieldId` relation. */
16816
+ spatialRelationsByRefFieldId?: FieldToManySpatialRelationFilter;
16817
+ /** `spatialRelationsByRefFieldId` exist. */
16818
+ spatialRelationsByRefFieldIdExist?: boolean;
15905
16819
  }
15906
16820
  /** A filter to be used against `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ */
15907
16821
  export interface ForeignKeyConstraintFilter {
@@ -16499,23 +17413,72 @@ export interface EmbeddingChunkFilter {
16499
17413
  /** Checks for all expressions in this list. */
16500
17414
  and?: EmbeddingChunkFilter[];
16501
17415
  /** Checks for any expressions in this list. */
16502
- or?: EmbeddingChunkFilter[];
17416
+ or?: EmbeddingChunkFilter[];
17417
+ /** Negates the expression. */
17418
+ not?: EmbeddingChunkFilter;
17419
+ /** Filter by the object’s `chunksTable` relation. */
17420
+ chunksTable?: TableFilter;
17421
+ /** A related `chunksTable` exists. */
17422
+ chunksTableExists?: boolean;
17423
+ /** Filter by the object’s `database` relation. */
17424
+ database?: DatabaseFilter;
17425
+ /** Filter by the object’s `embeddingField` relation. */
17426
+ embeddingField?: FieldFilter;
17427
+ /** A related `embeddingField` exists. */
17428
+ embeddingFieldExists?: boolean;
17429
+ /** Filter by the object’s `parentFkField` relation. */
17430
+ parentFkField?: FieldFilter;
17431
+ /** A related `parentFkField` exists. */
17432
+ parentFkFieldExists?: boolean;
17433
+ /** Filter by the object’s `table` relation. */
17434
+ table?: TableFilter;
17435
+ }
17436
+ /** A filter to be used against `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
17437
+ export interface SpatialRelationFilter {
17438
+ /** Filter by the object’s `id` field. */
17439
+ id?: UUIDFilter;
17440
+ /** Filter by the object’s `databaseId` field. */
17441
+ databaseId?: UUIDFilter;
17442
+ /** Filter by the object’s `tableId` field. */
17443
+ tableId?: UUIDFilter;
17444
+ /** Filter by the object’s `fieldId` field. */
17445
+ fieldId?: UUIDFilter;
17446
+ /** Filter by the object’s `refTableId` field. */
17447
+ refTableId?: UUIDFilter;
17448
+ /** Filter by the object’s `refFieldId` field. */
17449
+ refFieldId?: UUIDFilter;
17450
+ /** Filter by the object’s `name` field. */
17451
+ name?: StringFilter;
17452
+ /** Filter by the object’s `operator` field. */
17453
+ operator?: StringFilter;
17454
+ /** Filter by the object’s `paramName` field. */
17455
+ paramName?: StringFilter;
17456
+ /** Filter by the object’s `category` field. */
17457
+ category?: ObjectCategoryFilter;
17458
+ /** Filter by the object’s `module` field. */
17459
+ module?: StringFilter;
17460
+ /** Filter by the object’s `scope` field. */
17461
+ scope?: IntFilter;
17462
+ /** Filter by the object’s `tags` field. */
17463
+ tags?: StringListFilter;
17464
+ /** Filter by the object’s `createdAt` field. */
17465
+ createdAt?: DatetimeFilter;
17466
+ /** Filter by the object’s `updatedAt` field. */
17467
+ updatedAt?: DatetimeFilter;
17468
+ /** Checks for all expressions in this list. */
17469
+ and?: SpatialRelationFilter[];
17470
+ /** Checks for any expressions in this list. */
17471
+ or?: SpatialRelationFilter[];
16503
17472
  /** Negates the expression. */
16504
- not?: EmbeddingChunkFilter;
16505
- /** Filter by the object’s `chunksTable` relation. */
16506
- chunksTable?: TableFilter;
16507
- /** A related `chunksTable` exists. */
16508
- chunksTableExists?: boolean;
17473
+ not?: SpatialRelationFilter;
16509
17474
  /** Filter by the object’s `database` relation. */
16510
17475
  database?: DatabaseFilter;
16511
- /** Filter by the object’s `embeddingField` relation. */
16512
- embeddingField?: FieldFilter;
16513
- /** A related `embeddingField` exists. */
16514
- embeddingFieldExists?: boolean;
16515
- /** Filter by the object’s `parentFkField` relation. */
16516
- parentFkField?: FieldFilter;
16517
- /** A related `parentFkField` exists. */
16518
- parentFkFieldExists?: boolean;
17476
+ /** Filter by the object’s `field` relation. */
17477
+ field?: FieldFilter;
17478
+ /** Filter by the object’s `refField` relation. */
17479
+ refField?: FieldFilter;
17480
+ /** Filter by the object’s `refTable` relation. */
17481
+ refTable?: TableFilter;
16519
17482
  /** Filter by the object’s `table` relation. */
16520
17483
  table?: TableFilter;
16521
17484
  }
@@ -17336,6 +18299,8 @@ export interface MembershipsModuleFilter {
17336
18299
  entityIdsByPerm?: StringFilter;
17337
18300
  /** Filter by the object’s `entityIdsFunction` field. */
17338
18301
  entityIdsFunction?: StringFilter;
18302
+ /** Filter by the object’s `memberProfilesTableId` field. */
18303
+ memberProfilesTableId?: UUIDFilter;
17339
18304
  /** Checks for all expressions in this list. */
17340
18305
  and?: MembershipsModuleFilter[];
17341
18306
  /** Checks for any expressions in this list. */
@@ -17654,10 +18619,10 @@ export interface UserAuthModuleFilter {
17654
18619
  sendAccountDeletionEmailFunction?: StringFilter;
17655
18620
  /** Filter by the object’s `deleteAccountFunction` field. */
17656
18621
  deleteAccountFunction?: StringFilter;
17657
- /** Filter by the object’s `signInOneTimeTokenFunction` field. */
17658
- signInOneTimeTokenFunction?: StringFilter;
17659
- /** Filter by the object’s `oneTimeTokenFunction` field. */
17660
- oneTimeTokenFunction?: StringFilter;
18622
+ /** Filter by the object’s `signInCrossOriginFunction` field. */
18623
+ signInCrossOriginFunction?: StringFilter;
18624
+ /** Filter by the object’s `requestCrossOriginTokenFunction` field. */
18625
+ requestCrossOriginTokenFunction?: StringFilter;
17661
18626
  /** Filter by the object’s `extendTokenExpires` field. */
17662
18627
  extendTokenExpires?: StringFilter;
17663
18628
  /** Checks for all expressions in this list. */
@@ -17714,43 +18679,6 @@ export interface UsersModuleFilter {
17714
18679
  /** Filter by the object’s `typeTable` relation. */
17715
18680
  typeTable?: TableFilter;
17716
18681
  }
17717
- /** A filter to be used against `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */
17718
- export interface TableTemplateModuleFilter {
17719
- /** Filter by the object’s `id` field. */
17720
- id?: UUIDFilter;
17721
- /** Filter by the object’s `databaseId` field. */
17722
- databaseId?: UUIDFilter;
17723
- /** Filter by the object’s `schemaId` field. */
17724
- schemaId?: UUIDFilter;
17725
- /** Filter by the object’s `privateSchemaId` field. */
17726
- privateSchemaId?: UUIDFilter;
17727
- /** Filter by the object’s `tableId` field. */
17728
- tableId?: UUIDFilter;
17729
- /** Filter by the object’s `ownerTableId` field. */
17730
- ownerTableId?: UUIDFilter;
17731
- /** Filter by the object’s `tableName` field. */
17732
- tableName?: StringFilter;
17733
- /** Filter by the object’s `nodeType` field. */
17734
- nodeType?: StringFilter;
17735
- /** Filter by the object’s `data` field. */
17736
- data?: JSONFilter;
17737
- /** Checks for all expressions in this list. */
17738
- and?: TableTemplateModuleFilter[];
17739
- /** Checks for any expressions in this list. */
17740
- or?: TableTemplateModuleFilter[];
17741
- /** Negates the expression. */
17742
- not?: TableTemplateModuleFilter;
17743
- /** Filter by the object’s `database` relation. */
17744
- database?: DatabaseFilter;
17745
- /** Filter by the object’s `ownerTable` relation. */
17746
- ownerTable?: TableFilter;
17747
- /** Filter by the object’s `privateSchema` relation. */
17748
- privateSchema?: SchemaFilter;
17749
- /** Filter by the object’s `schema` relation. */
17750
- schema?: SchemaFilter;
17751
- /** Filter by the object’s `table` relation. */
17752
- table?: TableFilter;
17753
- }
17754
18682
  /** A filter to be used against `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ */
17755
18683
  export interface SecureTableProvisionFilter {
17756
18684
  /** Filter by the object’s `id` field. */
@@ -18018,6 +18946,113 @@ export interface StorageModuleFilter {
18018
18946
  /** Filter by the object’s `uploadRequestsTable` relation. */
18019
18947
  uploadRequestsTable?: TableFilter;
18020
18948
  }
18949
+ /** A filter to be used against `EntityTypeProvision` object types. All fields are combined with a logical ‘and.’ */
18950
+ export interface EntityTypeProvisionFilter {
18951
+ /** Filter by the object’s `id` field. */
18952
+ id?: UUIDFilter;
18953
+ /** Filter by the object’s `databaseId` field. */
18954
+ databaseId?: UUIDFilter;
18955
+ /** Filter by the object’s `name` field. */
18956
+ name?: StringFilter;
18957
+ /** Filter by the object’s `prefix` field. */
18958
+ prefix?: StringFilter;
18959
+ /** Filter by the object’s `description` field. */
18960
+ description?: StringFilter;
18961
+ /** Filter by the object’s `parentEntity` field. */
18962
+ parentEntity?: StringFilter;
18963
+ /** Filter by the object’s `tableName` field. */
18964
+ tableName?: StringFilter;
18965
+ /** Filter by the object’s `isVisible` field. */
18966
+ isVisible?: BooleanFilter;
18967
+ /** Filter by the object’s `hasLimits` field. */
18968
+ hasLimits?: BooleanFilter;
18969
+ /** Filter by the object’s `hasProfiles` field. */
18970
+ hasProfiles?: BooleanFilter;
18971
+ /** Filter by the object’s `hasLevels` field. */
18972
+ hasLevels?: BooleanFilter;
18973
+ /** Filter by the object’s `skipEntityPolicies` field. */
18974
+ skipEntityPolicies?: BooleanFilter;
18975
+ /** Filter by the object’s `tableProvision` field. */
18976
+ tableProvision?: JSONFilter;
18977
+ /** Filter by the object’s `outMembershipType` field. */
18978
+ outMembershipType?: IntFilter;
18979
+ /** Filter by the object’s `outEntityTableId` field. */
18980
+ outEntityTableId?: UUIDFilter;
18981
+ /** Filter by the object’s `outEntityTableName` field. */
18982
+ outEntityTableName?: StringFilter;
18983
+ /** Filter by the object’s `outInstalledModules` field. */
18984
+ outInstalledModules?: StringListFilter;
18985
+ /** Checks for all expressions in this list. */
18986
+ and?: EntityTypeProvisionFilter[];
18987
+ /** Checks for any expressions in this list. */
18988
+ or?: EntityTypeProvisionFilter[];
18989
+ /** Negates the expression. */
18990
+ not?: EntityTypeProvisionFilter;
18991
+ /** Filter by the object’s `database` relation. */
18992
+ database?: DatabaseFilter;
18993
+ }
18994
+ /** A filter to be used against `SessionSecretsModule` object types. All fields are combined with a logical ‘and.’ */
18995
+ export interface SessionSecretsModuleFilter {
18996
+ /** Filter by the object’s `id` field. */
18997
+ id?: UUIDFilter;
18998
+ /** Filter by the object’s `databaseId` field. */
18999
+ databaseId?: UUIDFilter;
19000
+ /** Filter by the object’s `schemaId` field. */
19001
+ schemaId?: UUIDFilter;
19002
+ /** Filter by the object’s `tableId` field. */
19003
+ tableId?: UUIDFilter;
19004
+ /** Filter by the object’s `tableName` field. */
19005
+ tableName?: StringFilter;
19006
+ /** Filter by the object’s `sessionsTableId` field. */
19007
+ sessionsTableId?: UUIDFilter;
19008
+ /** Checks for all expressions in this list. */
19009
+ and?: SessionSecretsModuleFilter[];
19010
+ /** Checks for any expressions in this list. */
19011
+ or?: SessionSecretsModuleFilter[];
19012
+ /** Negates the expression. */
19013
+ not?: SessionSecretsModuleFilter;
19014
+ /** Filter by the object’s `database` relation. */
19015
+ database?: DatabaseFilter;
19016
+ /** Filter by the object’s `schema` relation. */
19017
+ schema?: SchemaFilter;
19018
+ /** Filter by the object’s `sessionsTable` relation. */
19019
+ sessionsTable?: TableFilter;
19020
+ /** Filter by the object’s `table` relation. */
19021
+ table?: TableFilter;
19022
+ }
19023
+ /** A filter to be used against `WebauthnCredentialsModule` object types. All fields are combined with a logical ‘and.’ */
19024
+ export interface WebauthnCredentialsModuleFilter {
19025
+ /** Filter by the object’s `id` field. */
19026
+ id?: UUIDFilter;
19027
+ /** Filter by the object’s `databaseId` field. */
19028
+ databaseId?: UUIDFilter;
19029
+ /** Filter by the object’s `schemaId` field. */
19030
+ schemaId?: UUIDFilter;
19031
+ /** Filter by the object’s `privateSchemaId` field. */
19032
+ privateSchemaId?: UUIDFilter;
19033
+ /** Filter by the object’s `tableId` field. */
19034
+ tableId?: UUIDFilter;
19035
+ /** Filter by the object’s `ownerTableId` field. */
19036
+ ownerTableId?: UUIDFilter;
19037
+ /** Filter by the object’s `tableName` field. */
19038
+ tableName?: StringFilter;
19039
+ /** Checks for all expressions in this list. */
19040
+ and?: WebauthnCredentialsModuleFilter[];
19041
+ /** Checks for any expressions in this list. */
19042
+ or?: WebauthnCredentialsModuleFilter[];
19043
+ /** Negates the expression. */
19044
+ not?: WebauthnCredentialsModuleFilter;
19045
+ /** Filter by the object’s `database` relation. */
19046
+ database?: DatabaseFilter;
19047
+ /** Filter by the object’s `ownerTable` relation. */
19048
+ ownerTable?: TableFilter;
19049
+ /** Filter by the object’s `privateSchema` relation. */
19050
+ privateSchema?: SchemaFilter;
19051
+ /** Filter by the object’s `schema` relation. */
19052
+ schema?: SchemaFilter;
19053
+ /** Filter by the object’s `table` relation. */
19054
+ table?: TableFilter;
19055
+ }
18021
19056
  /** A filter to be used against `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
18022
19057
  export interface DatabaseProvisionModuleFilter {
18023
19058
  /** Filter by the object’s `id` field. */
@@ -18249,6 +19284,10 @@ export interface DatabaseFilter {
18249
19284
  embeddingChunks?: DatabaseToManyEmbeddingChunkFilter;
18250
19285
  /** `embeddingChunks` exist. */
18251
19286
  embeddingChunksExist?: boolean;
19287
+ /** Filter by the object’s `spatialRelations` relation. */
19288
+ spatialRelations?: DatabaseToManySpatialRelationFilter;
19289
+ /** `spatialRelations` exist. */
19290
+ spatialRelationsExist?: boolean;
18252
19291
  /** Filter by the object’s `databaseTransfers` relation. */
18253
19292
  databaseTransfers?: DatabaseToManyDatabaseTransferFilter;
18254
19293
  /** `databaseTransfers` exist. */
@@ -18373,10 +19412,6 @@ export interface DatabaseFilter {
18373
19412
  hierarchyModule?: HierarchyModuleFilter;
18374
19413
  /** A related `hierarchyModule` exists. */
18375
19414
  hierarchyModuleExists?: boolean;
18376
- /** Filter by the object’s `tableTemplateModules` relation. */
18377
- tableTemplateModules?: DatabaseToManyTableTemplateModuleFilter;
18378
- /** `tableTemplateModules` exist. */
18379
- tableTemplateModulesExist?: boolean;
18380
19415
  /** Filter by the object’s `secureTableProvisions` relation. */
18381
19416
  secureTableProvisions?: DatabaseToManySecureTableProvisionFilter;
18382
19417
  /** `secureTableProvisions` exist. */
@@ -18397,10 +19432,26 @@ export interface DatabaseFilter {
18397
19432
  storageModules?: DatabaseToManyStorageModuleFilter;
18398
19433
  /** `storageModules` exist. */
18399
19434
  storageModulesExist?: boolean;
19435
+ /** Filter by the object’s `entityTypeProvisions` relation. */
19436
+ entityTypeProvisions?: DatabaseToManyEntityTypeProvisionFilter;
19437
+ /** `entityTypeProvisions` exist. */
19438
+ entityTypeProvisionsExist?: boolean;
18400
19439
  /** Filter by the object’s `rateLimitsModule` relation. */
18401
19440
  rateLimitsModule?: RateLimitsModuleFilter;
18402
19441
  /** A related `rateLimitsModule` exists. */
18403
19442
  rateLimitsModuleExists?: boolean;
19443
+ /** Filter by the object’s `devicesModule` relation. */
19444
+ devicesModule?: DevicesModuleFilter;
19445
+ /** A related `devicesModule` exists. */
19446
+ devicesModuleExists?: boolean;
19447
+ /** Filter by the object’s `sessionSecretsModules` relation. */
19448
+ sessionSecretsModules?: DatabaseToManySessionSecretsModuleFilter;
19449
+ /** `sessionSecretsModules` exist. */
19450
+ sessionSecretsModulesExist?: boolean;
19451
+ /** Filter by the object’s `webauthnCredentialsModules` relation. */
19452
+ webauthnCredentialsModules?: DatabaseToManyWebauthnCredentialsModuleFilter;
19453
+ /** `webauthnCredentialsModules` exist. */
19454
+ webauthnCredentialsModulesExist?: boolean;
18404
19455
  /** Filter by the object’s `databaseProvisionModules` relation. */
18405
19456
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
18406
19457
  /** `databaseProvisionModules` exist. */
@@ -18509,6 +19560,8 @@ export interface OrgMembershipFilter {
18509
19560
  isDisabled?: BooleanFilter;
18510
19561
  /** Filter by the object’s `isActive` field. */
18511
19562
  isActive?: BooleanFilter;
19563
+ /** Filter by the object’s `isExternal` field. */
19564
+ isExternal?: BooleanFilter;
18512
19565
  /** Filter by the object’s `isOwner` field. */
18513
19566
  isOwner?: BooleanFilter;
18514
19567
  /** Filter by the object’s `isAdmin` field. */
@@ -18521,6 +19574,8 @@ export interface OrgMembershipFilter {
18521
19574
  actorId?: UUIDFilter;
18522
19575
  /** Filter by the object’s `entityId` field. */
18523
19576
  entityId?: UUIDFilter;
19577
+ /** Filter by the object’s `isReadOnly` field. */
19578
+ isReadOnly?: BooleanFilter;
18524
19579
  /** Filter by the object’s `profileId` field. */
18525
19580
  profileId?: UUIDFilter;
18526
19581
  /** Checks for all expressions in this list. */
@@ -18533,6 +19588,10 @@ export interface OrgMembershipFilter {
18533
19588
  actor?: UserFilter;
18534
19589
  /** Filter by the object’s `entity` relation. */
18535
19590
  entity?: UserFilter;
19591
+ /** Filter by the object’s `orgMemberProfileByMembershipId` relation. */
19592
+ orgMemberProfileByMembershipId?: OrgMemberProfileFilter;
19593
+ /** A related `orgMemberProfileByMembershipId` exists. */
19594
+ orgMemberProfileByMembershipIdExists?: boolean;
18536
19595
  }
18537
19596
  /** A filter to be used against `OrgMember` object types. All fields are combined with a logical ‘and.’ */
18538
19597
  export interface OrgMemberFilter {
@@ -18617,6 +19676,43 @@ export interface OrgOwnerGrantFilter {
18617
19676
  /** A related `grantor` exists. */
18618
19677
  grantorExists?: boolean;
18619
19678
  }
19679
+ /** A filter to be used against `OrgMemberProfile` object types. All fields are combined with a logical ‘and.’ */
19680
+ export interface OrgMemberProfileFilter {
19681
+ /** Filter by the object’s `id` field. */
19682
+ id?: UUIDFilter;
19683
+ /** Filter by the object’s `createdAt` field. */
19684
+ createdAt?: DatetimeFilter;
19685
+ /** Filter by the object’s `updatedAt` field. */
19686
+ updatedAt?: DatetimeFilter;
19687
+ /** Filter by the object’s `membershipId` field. */
19688
+ membershipId?: UUIDFilter;
19689
+ /** Filter by the object’s `entityId` field. */
19690
+ entityId?: UUIDFilter;
19691
+ /** Filter by the object’s `actorId` field. */
19692
+ actorId?: UUIDFilter;
19693
+ /** Filter by the object’s `displayName` field. */
19694
+ displayName?: StringFilter;
19695
+ /** Filter by the object’s `email` field. */
19696
+ email?: StringFilter;
19697
+ /** Filter by the object’s `title` field. */
19698
+ title?: StringFilter;
19699
+ /** Filter by the object’s `bio` field. */
19700
+ bio?: StringFilter;
19701
+ /** Filter by the object’s `profilePicture` field. */
19702
+ profilePicture?: ConstructiveInternalTypeImageFilter;
19703
+ /** Checks for all expressions in this list. */
19704
+ and?: OrgMemberProfileFilter[];
19705
+ /** Checks for any expressions in this list. */
19706
+ or?: OrgMemberProfileFilter[];
19707
+ /** Negates the expression. */
19708
+ not?: OrgMemberProfileFilter;
19709
+ /** Filter by the object’s `actor` relation. */
19710
+ actor?: UserFilter;
19711
+ /** Filter by the object’s `entity` relation. */
19712
+ entity?: UserFilter;
19713
+ /** Filter by the object’s `membership` relation. */
19714
+ membership?: OrgMembershipFilter;
19715
+ }
18620
19716
  /** A filter to be used against `OrgGrant` object types. All fields are combined with a logical ‘and.’ */
18621
19717
  export interface OrgGrantFilter {
18622
19718
  /** Filter by the object’s `id` field. */
@@ -18935,33 +20031,6 @@ export interface CryptoAddressFilter {
18935
20031
  /** Filter by the object’s `owner` relation. */
18936
20032
  owner?: UserFilter;
18937
20033
  }
18938
- /** A filter to be used against `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
18939
- export interface ConnectedAccountFilter {
18940
- /** Filter by the object’s `id` field. */
18941
- id?: UUIDFilter;
18942
- /** Filter by the object’s `ownerId` field. */
18943
- ownerId?: UUIDFilter;
18944
- /** Filter by the object’s `service` field. */
18945
- service?: StringFilter;
18946
- /** Filter by the object’s `identifier` field. */
18947
- identifier?: StringFilter;
18948
- /** Filter by the object’s `details` field. */
18949
- details?: JSONFilter;
18950
- /** Filter by the object’s `isVerified` field. */
18951
- isVerified?: BooleanFilter;
18952
- /** Filter by the object’s `createdAt` field. */
18953
- createdAt?: DatetimeFilter;
18954
- /** Filter by the object’s `updatedAt` field. */
18955
- updatedAt?: DatetimeFilter;
18956
- /** Checks for all expressions in this list. */
18957
- and?: ConnectedAccountFilter[];
18958
- /** Checks for any expressions in this list. */
18959
- or?: ConnectedAccountFilter[];
18960
- /** Negates the expression. */
18961
- not?: ConnectedAccountFilter;
18962
- /** Filter by the object’s `owner` relation. */
18963
- owner?: UserFilter;
18964
- }
18965
20034
  /** A filter to be used against `AppInvite` object types. All fields are combined with a logical ‘and.’ */
18966
20035
  export interface AppInviteFilter {
18967
20036
  /** Filter by the object’s `id` field. */
@@ -19567,6 +20636,14 @@ export interface UserFilter {
19567
20636
  orgOwnerGrantsByGrantorId?: UserToManyOrgOwnerGrantFilter;
19568
20637
  /** `orgOwnerGrantsByGrantorId` exist. */
19569
20638
  orgOwnerGrantsByGrantorIdExist?: boolean;
20639
+ /** Filter by the object’s `orgMemberProfilesByActorId` relation. */
20640
+ orgMemberProfilesByActorId?: UserToManyOrgMemberProfileFilter;
20641
+ /** `orgMemberProfilesByActorId` exist. */
20642
+ orgMemberProfilesByActorIdExist?: boolean;
20643
+ /** Filter by the object’s `orgMemberProfilesByEntityId` relation. */
20644
+ orgMemberProfilesByEntityId?: UserToManyOrgMemberProfileFilter;
20645
+ /** `orgMemberProfilesByEntityId` exist. */
20646
+ orgMemberProfilesByEntityIdExist?: boolean;
19570
20647
  /** Filter by the object’s `orgGrantsByActorId` relation. */
19571
20648
  orgGrantsByActorId?: UserToManyOrgGrantFilter;
19572
20649
  /** `orgGrantsByActorId` exist. */
@@ -19647,10 +20724,6 @@ export interface UserFilter {
19647
20724
  ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
19648
20725
  /** `ownedCryptoAddresses` exist. */
19649
20726
  ownedCryptoAddressesExist?: boolean;
19650
- /** Filter by the object’s `ownedConnectedAccounts` relation. */
19651
- ownedConnectedAccounts?: UserToManyConnectedAccountFilter;
19652
- /** `ownedConnectedAccounts` exist. */
19653
- ownedConnectedAccountsExist?: boolean;
19654
20727
  /** Filter by the object’s `appInvitesBySenderId` relation. */
19655
20728
  appInvitesBySenderId?: UserToManyAppInviteFilter;
19656
20729
  /** `appInvitesBySenderId` exist. */
@@ -19848,6 +20921,37 @@ export interface RateLimitsModuleFilter {
19848
20921
  /** Filter by the object’s `schema` relation. */
19849
20922
  schema?: SchemaFilter;
19850
20923
  }
20924
+ /** A filter to be used against `DevicesModule` object types. All fields are combined with a logical ‘and.’ */
20925
+ export interface DevicesModuleFilter {
20926
+ /** Filter by the object’s `id` field. */
20927
+ id?: UUIDFilter;
20928
+ /** Filter by the object’s `databaseId` field. */
20929
+ databaseId?: UUIDFilter;
20930
+ /** Filter by the object’s `schemaId` field. */
20931
+ schemaId?: UUIDFilter;
20932
+ /** Filter by the object’s `userDevicesTableId` field. */
20933
+ userDevicesTableId?: UUIDFilter;
20934
+ /** Filter by the object’s `deviceSettingsTableId` field. */
20935
+ deviceSettingsTableId?: UUIDFilter;
20936
+ /** Filter by the object’s `userDevicesTable` field. */
20937
+ userDevicesTable?: StringFilter;
20938
+ /** Filter by the object’s `deviceSettingsTable` field. */
20939
+ deviceSettingsTable?: StringFilter;
20940
+ /** Checks for all expressions in this list. */
20941
+ and?: DevicesModuleFilter[];
20942
+ /** Checks for any expressions in this list. */
20943
+ or?: DevicesModuleFilter[];
20944
+ /** Negates the expression. */
20945
+ not?: DevicesModuleFilter;
20946
+ /** Filter by the object’s `database` relation. */
20947
+ database?: DatabaseFilter;
20948
+ /** Filter by the object’s `deviceSettingsTableByDeviceSettingsTableId` relation. */
20949
+ deviceSettingsTableByDeviceSettingsTableId?: TableFilter;
20950
+ /** Filter by the object’s `schema` relation. */
20951
+ schema?: SchemaFilter;
20952
+ /** Filter by the object’s `userDevicesTableByUserDevicesTableId` relation. */
20953
+ userDevicesTableByUserDevicesTableId?: TableFilter;
20954
+ }
19851
20955
  /** A filter to be used against BitString fields. All fields are combined with a logical ‘and.’ */
19852
20956
  export interface BitStringFilter {
19853
20957
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
@@ -19962,6 +21066,8 @@ export interface AppMembershipFilter {
19962
21066
  isVerified?: BooleanFilter;
19963
21067
  /** Filter by the object’s `isActive` field. */
19964
21068
  isActive?: BooleanFilter;
21069
+ /** Filter by the object’s `isExternal` field. */
21070
+ isExternal?: BooleanFilter;
19965
21071
  /** Filter by the object’s `isOwner` field. */
19966
21072
  isOwner?: BooleanFilter;
19967
21073
  /** Filter by the object’s `isAdmin` field. */
@@ -20126,6 +21232,30 @@ export type RejectDatabaseTransferPayloadSelect = {
20126
21232
  clientMutationId?: boolean;
20127
21233
  result?: boolean;
20128
21234
  };
21235
+ export interface DisconnectAccountPayload {
21236
+ clientMutationId?: string | null;
21237
+ result?: boolean | null;
21238
+ }
21239
+ export type DisconnectAccountPayloadSelect = {
21240
+ clientMutationId?: boolean;
21241
+ result?: boolean;
21242
+ };
21243
+ export interface RevokeApiKeyPayload {
21244
+ clientMutationId?: string | null;
21245
+ result?: boolean | null;
21246
+ }
21247
+ export type RevokeApiKeyPayloadSelect = {
21248
+ clientMutationId?: boolean;
21249
+ result?: boolean;
21250
+ };
21251
+ export interface RevokeSessionPayload {
21252
+ clientMutationId?: string | null;
21253
+ result?: boolean | null;
21254
+ }
21255
+ export type RevokeSessionPayloadSelect = {
21256
+ clientMutationId?: boolean;
21257
+ result?: boolean;
21258
+ };
20129
21259
  export interface VerifyPasswordPayload {
20130
21260
  clientMutationId?: string | null;
20131
21261
  result?: boolean | null;
@@ -20208,6 +21338,14 @@ export type ConstructBlueprintPayloadSelect = {
20208
21338
  clientMutationId?: boolean;
20209
21339
  result?: boolean;
20210
21340
  };
21341
+ export interface ProvisionNewUserPayload {
21342
+ clientMutationId?: string | null;
21343
+ result?: string | null;
21344
+ }
21345
+ export type ProvisionNewUserPayloadSelect = {
21346
+ clientMutationId?: boolean;
21347
+ result?: boolean;
21348
+ };
20211
21349
  export interface ResetPasswordPayload {
20212
21350
  clientMutationId?: string | null;
20213
21351
  result?: boolean | null;
@@ -20232,6 +21370,24 @@ export type CopyTemplateToBlueprintPayloadSelect = {
20232
21370
  clientMutationId?: boolean;
20233
21371
  result?: boolean;
20234
21372
  };
21373
+ export interface CreateApiKeyPayload {
21374
+ clientMutationId?: string | null;
21375
+ result?: CreateApiKeyRecord | null;
21376
+ }
21377
+ export type CreateApiKeyPayloadSelect = {
21378
+ clientMutationId?: boolean;
21379
+ result?: {
21380
+ select: CreateApiKeyRecordSelect;
21381
+ };
21382
+ };
21383
+ export interface ProvisionSpatialRelationPayload {
21384
+ clientMutationId?: string | null;
21385
+ result?: string | null;
21386
+ }
21387
+ export type ProvisionSpatialRelationPayloadSelect = {
21388
+ clientMutationId?: boolean;
21389
+ result?: boolean;
21390
+ };
20235
21391
  export interface BootstrapUserPayload {
20236
21392
  clientMutationId?: string | null;
20237
21393
  result?: BootstrapUserRecord[] | null;
@@ -20336,14 +21492,14 @@ export interface ApplyRlsPayload {
20336
21492
  export type ApplyRlsPayloadSelect = {
20337
21493
  clientMutationId?: boolean;
20338
21494
  };
20339
- export interface SignInOneTimeTokenPayload {
21495
+ export interface SignInCrossOriginPayload {
20340
21496
  clientMutationId?: string | null;
20341
- result?: SignInOneTimeTokenRecord | null;
21497
+ result?: SignInCrossOriginRecord | null;
20342
21498
  }
20343
- export type SignInOneTimeTokenPayloadSelect = {
21499
+ export type SignInCrossOriginPayloadSelect = {
20344
21500
  clientMutationId?: boolean;
20345
21501
  result?: {
20346
- select: SignInOneTimeTokenRecordSelect;
21502
+ select: SignInCrossOriginRecordSelect;
20347
21503
  };
20348
21504
  };
20349
21505
  export interface CreateUserDatabasePayload {
@@ -20364,16 +21520,6 @@ export type ExtendTokenExpiresPayloadSelect = {
20364
21520
  select: ExtendTokenExpiresRecordSelect;
20365
21521
  };
20366
21522
  };
20367
- export interface SignInPayload {
20368
- clientMutationId?: string | null;
20369
- result?: SignInRecord | null;
20370
- }
20371
- export type SignInPayloadSelect = {
20372
- clientMutationId?: boolean;
20373
- result?: {
20374
- select: SignInRecordSelect;
20375
- };
20376
- };
20377
21523
  export interface SignUpPayload {
20378
21524
  clientMutationId?: string | null;
20379
21525
  result?: SignUpRecord | null;
@@ -20384,14 +21530,24 @@ export type SignUpPayloadSelect = {
20384
21530
  select: SignUpRecordSelect;
20385
21531
  };
20386
21532
  };
20387
- export interface OneTimeTokenPayload {
21533
+ export interface RequestCrossOriginTokenPayload {
20388
21534
  clientMutationId?: string | null;
20389
21535
  result?: string | null;
20390
21536
  }
20391
- export type OneTimeTokenPayloadSelect = {
21537
+ export type RequestCrossOriginTokenPayloadSelect = {
20392
21538
  clientMutationId?: boolean;
20393
21539
  result?: boolean;
20394
21540
  };
21541
+ export interface SignInPayload {
21542
+ clientMutationId?: string | null;
21543
+ result?: SignInRecord | null;
21544
+ }
21545
+ export type SignInPayloadSelect = {
21546
+ clientMutationId?: boolean;
21547
+ result?: {
21548
+ select: SignInRecordSelect;
21549
+ };
21550
+ };
20395
21551
  export interface ProvisionTablePayload {
20396
21552
  clientMutationId?: string | null;
20397
21553
  result?: ProvisionTableRecord[] | null;
@@ -20875,6 +22031,51 @@ export type DeleteFieldPayloadSelect = {
20875
22031
  select: FieldEdgeSelect;
20876
22032
  };
20877
22033
  };
22034
+ export interface CreateSpatialRelationPayload {
22035
+ clientMutationId?: string | null;
22036
+ /** The `SpatialRelation` that was created by this mutation. */
22037
+ spatialRelation?: SpatialRelation | null;
22038
+ spatialRelationEdge?: SpatialRelationEdge | null;
22039
+ }
22040
+ export type CreateSpatialRelationPayloadSelect = {
22041
+ clientMutationId?: boolean;
22042
+ spatialRelation?: {
22043
+ select: SpatialRelationSelect;
22044
+ };
22045
+ spatialRelationEdge?: {
22046
+ select: SpatialRelationEdgeSelect;
22047
+ };
22048
+ };
22049
+ export interface UpdateSpatialRelationPayload {
22050
+ clientMutationId?: string | null;
22051
+ /** The `SpatialRelation` that was updated by this mutation. */
22052
+ spatialRelation?: SpatialRelation | null;
22053
+ spatialRelationEdge?: SpatialRelationEdge | null;
22054
+ }
22055
+ export type UpdateSpatialRelationPayloadSelect = {
22056
+ clientMutationId?: boolean;
22057
+ spatialRelation?: {
22058
+ select: SpatialRelationSelect;
22059
+ };
22060
+ spatialRelationEdge?: {
22061
+ select: SpatialRelationEdgeSelect;
22062
+ };
22063
+ };
22064
+ export interface DeleteSpatialRelationPayload {
22065
+ clientMutationId?: string | null;
22066
+ /** The `SpatialRelation` that was deleted by this mutation. */
22067
+ spatialRelation?: SpatialRelation | null;
22068
+ spatialRelationEdge?: SpatialRelationEdge | null;
22069
+ }
22070
+ export type DeleteSpatialRelationPayloadSelect = {
22071
+ clientMutationId?: boolean;
22072
+ spatialRelation?: {
22073
+ select: SpatialRelationSelect;
22074
+ };
22075
+ spatialRelationEdge?: {
22076
+ select: SpatialRelationEdgeSelect;
22077
+ };
22078
+ };
20878
22079
  export interface CreateForeignKeyConstraintPayload {
20879
22080
  clientMutationId?: string | null;
20880
22081
  /** The `ForeignKeyConstraint` that was created by this mutation. */
@@ -21460,51 +22661,6 @@ export type DeleteEmbeddingChunkPayloadSelect = {
21460
22661
  select: EmbeddingChunkEdgeSelect;
21461
22662
  };
21462
22663
  };
21463
- export interface CreateTableTemplateModulePayload {
21464
- clientMutationId?: string | null;
21465
- /** The `TableTemplateModule` that was created by this mutation. */
21466
- tableTemplateModule?: TableTemplateModule | null;
21467
- tableTemplateModuleEdge?: TableTemplateModuleEdge | null;
21468
- }
21469
- export type CreateTableTemplateModulePayloadSelect = {
21470
- clientMutationId?: boolean;
21471
- tableTemplateModule?: {
21472
- select: TableTemplateModuleSelect;
21473
- };
21474
- tableTemplateModuleEdge?: {
21475
- select: TableTemplateModuleEdgeSelect;
21476
- };
21477
- };
21478
- export interface UpdateTableTemplateModulePayload {
21479
- clientMutationId?: string | null;
21480
- /** The `TableTemplateModule` that was updated by this mutation. */
21481
- tableTemplateModule?: TableTemplateModule | null;
21482
- tableTemplateModuleEdge?: TableTemplateModuleEdge | null;
21483
- }
21484
- export type UpdateTableTemplateModulePayloadSelect = {
21485
- clientMutationId?: boolean;
21486
- tableTemplateModule?: {
21487
- select: TableTemplateModuleSelect;
21488
- };
21489
- tableTemplateModuleEdge?: {
21490
- select: TableTemplateModuleEdgeSelect;
21491
- };
21492
- };
21493
- export interface DeleteTableTemplateModulePayload {
21494
- clientMutationId?: string | null;
21495
- /** The `TableTemplateModule` that was deleted by this mutation. */
21496
- tableTemplateModule?: TableTemplateModule | null;
21497
- tableTemplateModuleEdge?: TableTemplateModuleEdge | null;
21498
- }
21499
- export type DeleteTableTemplateModulePayloadSelect = {
21500
- clientMutationId?: boolean;
21501
- tableTemplateModule?: {
21502
- select: TableTemplateModuleSelect;
21503
- };
21504
- tableTemplateModuleEdge?: {
21505
- select: TableTemplateModuleEdgeSelect;
21506
- };
21507
- };
21508
22664
  export interface CreateSecureTableProvisionPayload {
21509
22665
  clientMutationId?: string | null;
21510
22666
  /** The `SecureTableProvision` that was created by this mutation. */
@@ -21595,6 +22751,51 @@ export type DeleteRelationProvisionPayloadSelect = {
21595
22751
  select: RelationProvisionEdgeSelect;
21596
22752
  };
21597
22753
  };
22754
+ export interface CreateSessionSecretsModulePayload {
22755
+ clientMutationId?: string | null;
22756
+ /** The `SessionSecretsModule` that was created by this mutation. */
22757
+ sessionSecretsModule?: SessionSecretsModule | null;
22758
+ sessionSecretsModuleEdge?: SessionSecretsModuleEdge | null;
22759
+ }
22760
+ export type CreateSessionSecretsModulePayloadSelect = {
22761
+ clientMutationId?: boolean;
22762
+ sessionSecretsModule?: {
22763
+ select: SessionSecretsModuleSelect;
22764
+ };
22765
+ sessionSecretsModuleEdge?: {
22766
+ select: SessionSecretsModuleEdgeSelect;
22767
+ };
22768
+ };
22769
+ export interface UpdateSessionSecretsModulePayload {
22770
+ clientMutationId?: string | null;
22771
+ /** The `SessionSecretsModule` that was updated by this mutation. */
22772
+ sessionSecretsModule?: SessionSecretsModule | null;
22773
+ sessionSecretsModuleEdge?: SessionSecretsModuleEdge | null;
22774
+ }
22775
+ export type UpdateSessionSecretsModulePayloadSelect = {
22776
+ clientMutationId?: boolean;
22777
+ sessionSecretsModule?: {
22778
+ select: SessionSecretsModuleSelect;
22779
+ };
22780
+ sessionSecretsModuleEdge?: {
22781
+ select: SessionSecretsModuleEdgeSelect;
22782
+ };
22783
+ };
22784
+ export interface DeleteSessionSecretsModulePayload {
22785
+ clientMutationId?: string | null;
22786
+ /** The `SessionSecretsModule` that was deleted by this mutation. */
22787
+ sessionSecretsModule?: SessionSecretsModule | null;
22788
+ sessionSecretsModuleEdge?: SessionSecretsModuleEdge | null;
22789
+ }
22790
+ export type DeleteSessionSecretsModulePayloadSelect = {
22791
+ clientMutationId?: boolean;
22792
+ sessionSecretsModule?: {
22793
+ select: SessionSecretsModuleSelect;
22794
+ };
22795
+ sessionSecretsModuleEdge?: {
22796
+ select: SessionSecretsModuleEdgeSelect;
22797
+ };
22798
+ };
21598
22799
  export interface CreateSchemaGrantPayload {
21599
22800
  clientMutationId?: string | null;
21600
22801
  /** The `SchemaGrant` that was created by this mutation. */
@@ -23260,6 +24461,96 @@ export type DeleteStorageModulePayloadSelect = {
23260
24461
  select: StorageModuleEdgeSelect;
23261
24462
  };
23262
24463
  };
24464
+ export interface CreateEntityTypeProvisionPayload {
24465
+ clientMutationId?: string | null;
24466
+ /** The `EntityTypeProvision` that was created by this mutation. */
24467
+ entityTypeProvision?: EntityTypeProvision | null;
24468
+ entityTypeProvisionEdge?: EntityTypeProvisionEdge | null;
24469
+ }
24470
+ export type CreateEntityTypeProvisionPayloadSelect = {
24471
+ clientMutationId?: boolean;
24472
+ entityTypeProvision?: {
24473
+ select: EntityTypeProvisionSelect;
24474
+ };
24475
+ entityTypeProvisionEdge?: {
24476
+ select: EntityTypeProvisionEdgeSelect;
24477
+ };
24478
+ };
24479
+ export interface UpdateEntityTypeProvisionPayload {
24480
+ clientMutationId?: string | null;
24481
+ /** The `EntityTypeProvision` that was updated by this mutation. */
24482
+ entityTypeProvision?: EntityTypeProvision | null;
24483
+ entityTypeProvisionEdge?: EntityTypeProvisionEdge | null;
24484
+ }
24485
+ export type UpdateEntityTypeProvisionPayloadSelect = {
24486
+ clientMutationId?: boolean;
24487
+ entityTypeProvision?: {
24488
+ select: EntityTypeProvisionSelect;
24489
+ };
24490
+ entityTypeProvisionEdge?: {
24491
+ select: EntityTypeProvisionEdgeSelect;
24492
+ };
24493
+ };
24494
+ export interface DeleteEntityTypeProvisionPayload {
24495
+ clientMutationId?: string | null;
24496
+ /** The `EntityTypeProvision` that was deleted by this mutation. */
24497
+ entityTypeProvision?: EntityTypeProvision | null;
24498
+ entityTypeProvisionEdge?: EntityTypeProvisionEdge | null;
24499
+ }
24500
+ export type DeleteEntityTypeProvisionPayloadSelect = {
24501
+ clientMutationId?: boolean;
24502
+ entityTypeProvision?: {
24503
+ select: EntityTypeProvisionSelect;
24504
+ };
24505
+ entityTypeProvisionEdge?: {
24506
+ select: EntityTypeProvisionEdgeSelect;
24507
+ };
24508
+ };
24509
+ export interface CreateWebauthnCredentialsModulePayload {
24510
+ clientMutationId?: string | null;
24511
+ /** The `WebauthnCredentialsModule` that was created by this mutation. */
24512
+ webauthnCredentialsModule?: WebauthnCredentialsModule | null;
24513
+ webauthnCredentialsModuleEdge?: WebauthnCredentialsModuleEdge | null;
24514
+ }
24515
+ export type CreateWebauthnCredentialsModulePayloadSelect = {
24516
+ clientMutationId?: boolean;
24517
+ webauthnCredentialsModule?: {
24518
+ select: WebauthnCredentialsModuleSelect;
24519
+ };
24520
+ webauthnCredentialsModuleEdge?: {
24521
+ select: WebauthnCredentialsModuleEdgeSelect;
24522
+ };
24523
+ };
24524
+ export interface UpdateWebauthnCredentialsModulePayload {
24525
+ clientMutationId?: string | null;
24526
+ /** The `WebauthnCredentialsModule` that was updated by this mutation. */
24527
+ webauthnCredentialsModule?: WebauthnCredentialsModule | null;
24528
+ webauthnCredentialsModuleEdge?: WebauthnCredentialsModuleEdge | null;
24529
+ }
24530
+ export type UpdateWebauthnCredentialsModulePayloadSelect = {
24531
+ clientMutationId?: boolean;
24532
+ webauthnCredentialsModule?: {
24533
+ select: WebauthnCredentialsModuleSelect;
24534
+ };
24535
+ webauthnCredentialsModuleEdge?: {
24536
+ select: WebauthnCredentialsModuleEdgeSelect;
24537
+ };
24538
+ };
24539
+ export interface DeleteWebauthnCredentialsModulePayload {
24540
+ clientMutationId?: string | null;
24541
+ /** The `WebauthnCredentialsModule` that was deleted by this mutation. */
24542
+ webauthnCredentialsModule?: WebauthnCredentialsModule | null;
24543
+ webauthnCredentialsModuleEdge?: WebauthnCredentialsModuleEdge | null;
24544
+ }
24545
+ export type DeleteWebauthnCredentialsModulePayloadSelect = {
24546
+ clientMutationId?: boolean;
24547
+ webauthnCredentialsModule?: {
24548
+ select: WebauthnCredentialsModuleSelect;
24549
+ };
24550
+ webauthnCredentialsModuleEdge?: {
24551
+ select: WebauthnCredentialsModuleEdgeSelect;
24552
+ };
24553
+ };
23263
24554
  export interface CreateDatabaseProvisionModulePayload {
23264
24555
  clientMutationId?: string | null;
23265
24556
  /** The `DatabaseProvisionModule` that was created by this mutation. */
@@ -23620,6 +24911,51 @@ export type DeleteOrgOwnerGrantPayloadSelect = {
23620
24911
  select: OrgOwnerGrantEdgeSelect;
23621
24912
  };
23622
24913
  };
24914
+ export interface CreateOrgMemberProfilePayload {
24915
+ clientMutationId?: string | null;
24916
+ /** The `OrgMemberProfile` that was created by this mutation. */
24917
+ orgMemberProfile?: OrgMemberProfile | null;
24918
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
24919
+ }
24920
+ export type CreateOrgMemberProfilePayloadSelect = {
24921
+ clientMutationId?: boolean;
24922
+ orgMemberProfile?: {
24923
+ select: OrgMemberProfileSelect;
24924
+ };
24925
+ orgMemberProfileEdge?: {
24926
+ select: OrgMemberProfileEdgeSelect;
24927
+ };
24928
+ };
24929
+ export interface UpdateOrgMemberProfilePayload {
24930
+ clientMutationId?: string | null;
24931
+ /** The `OrgMemberProfile` that was updated by this mutation. */
24932
+ orgMemberProfile?: OrgMemberProfile | null;
24933
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
24934
+ }
24935
+ export type UpdateOrgMemberProfilePayloadSelect = {
24936
+ clientMutationId?: boolean;
24937
+ orgMemberProfile?: {
24938
+ select: OrgMemberProfileSelect;
24939
+ };
24940
+ orgMemberProfileEdge?: {
24941
+ select: OrgMemberProfileEdgeSelect;
24942
+ };
24943
+ };
24944
+ export interface DeleteOrgMemberProfilePayload {
24945
+ clientMutationId?: string | null;
24946
+ /** The `OrgMemberProfile` that was deleted by this mutation. */
24947
+ orgMemberProfile?: OrgMemberProfile | null;
24948
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
24949
+ }
24950
+ export type DeleteOrgMemberProfilePayloadSelect = {
24951
+ clientMutationId?: boolean;
24952
+ orgMemberProfile?: {
24953
+ select: OrgMemberProfileSelect;
24954
+ };
24955
+ orgMemberProfileEdge?: {
24956
+ select: OrgMemberProfileEdgeSelect;
24957
+ };
24958
+ };
23623
24959
  export interface CreateOrgGrantPayload {
23624
24960
  clientMutationId?: string | null;
23625
24961
  /** The `OrgGrant` that was created by this mutation. */
@@ -24160,51 +25496,6 @@ export type DeleteCryptoAddressPayloadSelect = {
24160
25496
  select: CryptoAddressEdgeSelect;
24161
25497
  };
24162
25498
  };
24163
- export interface CreateConnectedAccountPayload {
24164
- clientMutationId?: string | null;
24165
- /** The `ConnectedAccount` that was created by this mutation. */
24166
- connectedAccount?: ConnectedAccount | null;
24167
- connectedAccountEdge?: ConnectedAccountEdge | null;
24168
- }
24169
- export type CreateConnectedAccountPayloadSelect = {
24170
- clientMutationId?: boolean;
24171
- connectedAccount?: {
24172
- select: ConnectedAccountSelect;
24173
- };
24174
- connectedAccountEdge?: {
24175
- select: ConnectedAccountEdgeSelect;
24176
- };
24177
- };
24178
- export interface UpdateConnectedAccountPayload {
24179
- clientMutationId?: string | null;
24180
- /** The `ConnectedAccount` that was updated by this mutation. */
24181
- connectedAccount?: ConnectedAccount | null;
24182
- connectedAccountEdge?: ConnectedAccountEdge | null;
24183
- }
24184
- export type UpdateConnectedAccountPayloadSelect = {
24185
- clientMutationId?: boolean;
24186
- connectedAccount?: {
24187
- select: ConnectedAccountSelect;
24188
- };
24189
- connectedAccountEdge?: {
24190
- select: ConnectedAccountEdgeSelect;
24191
- };
24192
- };
24193
- export interface DeleteConnectedAccountPayload {
24194
- clientMutationId?: string | null;
24195
- /** The `ConnectedAccount` that was deleted by this mutation. */
24196
- connectedAccount?: ConnectedAccount | null;
24197
- connectedAccountEdge?: ConnectedAccountEdge | null;
24198
- }
24199
- export type DeleteConnectedAccountPayloadSelect = {
24200
- clientMutationId?: boolean;
24201
- connectedAccount?: {
24202
- select: ConnectedAccountSelect;
24203
- };
24204
- connectedAccountEdge?: {
24205
- select: ConnectedAccountEdgeSelect;
24206
- };
24207
- };
24208
25499
  export interface CreateAppInvitePayload {
24209
25500
  clientMutationId?: string | null;
24210
25501
  /** The `AppInvite` that was created by this mutation. */
@@ -24711,49 +26002,60 @@ export type DeleteOrgLimitDefaultPayloadSelect = {
24711
26002
  select: OrgLimitDefaultEdgeSelect;
24712
26003
  };
24713
26004
  };
24714
- export interface CreateMembershipTypePayload {
26005
+ export interface CreateDevicesModulePayload {
24715
26006
  clientMutationId?: string | null;
24716
- /** The `MembershipType` that was created by this mutation. */
24717
- membershipType?: MembershipType | null;
24718
- membershipTypeEdge?: MembershipTypeEdge | null;
26007
+ /** The `DevicesModule` that was created by this mutation. */
26008
+ devicesModule?: DevicesModule | null;
26009
+ devicesModuleEdge?: DevicesModuleEdge | null;
24719
26010
  }
24720
- export type CreateMembershipTypePayloadSelect = {
26011
+ export type CreateDevicesModulePayloadSelect = {
24721
26012
  clientMutationId?: boolean;
24722
- membershipType?: {
24723
- select: MembershipTypeSelect;
26013
+ devicesModule?: {
26014
+ select: DevicesModuleSelect;
24724
26015
  };
24725
- membershipTypeEdge?: {
24726
- select: MembershipTypeEdgeSelect;
26016
+ devicesModuleEdge?: {
26017
+ select: DevicesModuleEdgeSelect;
24727
26018
  };
24728
26019
  };
24729
- export interface UpdateMembershipTypePayload {
26020
+ export interface UpdateDevicesModulePayload {
24730
26021
  clientMutationId?: string | null;
24731
- /** The `MembershipType` that was updated by this mutation. */
24732
- membershipType?: MembershipType | null;
24733
- membershipTypeEdge?: MembershipTypeEdge | null;
26022
+ /** The `DevicesModule` that was updated by this mutation. */
26023
+ devicesModule?: DevicesModule | null;
26024
+ devicesModuleEdge?: DevicesModuleEdge | null;
24734
26025
  }
24735
- export type UpdateMembershipTypePayloadSelect = {
26026
+ export type UpdateDevicesModulePayloadSelect = {
24736
26027
  clientMutationId?: boolean;
24737
- membershipType?: {
24738
- select: MembershipTypeSelect;
26028
+ devicesModule?: {
26029
+ select: DevicesModuleSelect;
24739
26030
  };
24740
- membershipTypeEdge?: {
24741
- select: MembershipTypeEdgeSelect;
26031
+ devicesModuleEdge?: {
26032
+ select: DevicesModuleEdgeSelect;
24742
26033
  };
24743
26034
  };
24744
- export interface DeleteMembershipTypePayload {
26035
+ export interface DeleteDevicesModulePayload {
24745
26036
  clientMutationId?: string | null;
24746
- /** The `MembershipType` that was deleted by this mutation. */
24747
- membershipType?: MembershipType | null;
24748
- membershipTypeEdge?: MembershipTypeEdge | null;
26037
+ /** The `DevicesModule` that was deleted by this mutation. */
26038
+ devicesModule?: DevicesModule | null;
26039
+ devicesModuleEdge?: DevicesModuleEdge | null;
24749
26040
  }
24750
- export type DeleteMembershipTypePayloadSelect = {
26041
+ export type DeleteDevicesModulePayloadSelect = {
24751
26042
  clientMutationId?: boolean;
24752
- membershipType?: {
24753
- select: MembershipTypeSelect;
26043
+ devicesModule?: {
26044
+ select: DevicesModuleSelect;
24754
26045
  };
24755
- membershipTypeEdge?: {
24756
- select: MembershipTypeEdgeSelect;
26046
+ devicesModuleEdge?: {
26047
+ select: DevicesModuleEdgeSelect;
26048
+ };
26049
+ };
26050
+ export interface CreateUserConnectedAccountPayload {
26051
+ clientMutationId?: string | null;
26052
+ /** The `UserConnectedAccount` that was created by this mutation. */
26053
+ userConnectedAccount?: UserConnectedAccount | null;
26054
+ }
26055
+ export type CreateUserConnectedAccountPayloadSelect = {
26056
+ clientMutationId?: boolean;
26057
+ userConnectedAccount?: {
26058
+ select: UserConnectedAccountSelect;
24757
26059
  };
24758
26060
  };
24759
26061
  export interface CreateAppMembershipDefaultPayload {
@@ -24891,6 +26193,51 @@ export type DeleteRateLimitsModulePayloadSelect = {
24891
26193
  select: RateLimitsModuleEdgeSelect;
24892
26194
  };
24893
26195
  };
26196
+ export interface CreateMembershipTypePayload {
26197
+ clientMutationId?: string | null;
26198
+ /** The `MembershipType` that was created by this mutation. */
26199
+ membershipType?: MembershipType | null;
26200
+ membershipTypeEdge?: MembershipTypeEdge | null;
26201
+ }
26202
+ export type CreateMembershipTypePayloadSelect = {
26203
+ clientMutationId?: boolean;
26204
+ membershipType?: {
26205
+ select: MembershipTypeSelect;
26206
+ };
26207
+ membershipTypeEdge?: {
26208
+ select: MembershipTypeEdgeSelect;
26209
+ };
26210
+ };
26211
+ export interface UpdateMembershipTypePayload {
26212
+ clientMutationId?: string | null;
26213
+ /** The `MembershipType` that was updated by this mutation. */
26214
+ membershipType?: MembershipType | null;
26215
+ membershipTypeEdge?: MembershipTypeEdge | null;
26216
+ }
26217
+ export type UpdateMembershipTypePayloadSelect = {
26218
+ clientMutationId?: boolean;
26219
+ membershipType?: {
26220
+ select: MembershipTypeSelect;
26221
+ };
26222
+ membershipTypeEdge?: {
26223
+ select: MembershipTypeEdgeSelect;
26224
+ };
26225
+ };
26226
+ export interface DeleteMembershipTypePayload {
26227
+ clientMutationId?: string | null;
26228
+ /** The `MembershipType` that was deleted by this mutation. */
26229
+ membershipType?: MembershipType | null;
26230
+ membershipTypeEdge?: MembershipTypeEdge | null;
26231
+ }
26232
+ export type DeleteMembershipTypePayloadSelect = {
26233
+ clientMutationId?: boolean;
26234
+ membershipType?: {
26235
+ select: MembershipTypeSelect;
26236
+ };
26237
+ membershipTypeEdge?: {
26238
+ select: MembershipTypeEdgeSelect;
26239
+ };
26240
+ };
24894
26241
  export interface CreateOrgMembershipDefaultPayload {
24895
26242
  clientMutationId?: string | null;
24896
26243
  /** The `OrgMembershipDefault` that was created by this mutation. */
@@ -25203,6 +26550,14 @@ export type AppLevelRequirementEdgeSelect = {
25203
26550
  select: AppLevelRequirementSelect;
25204
26551
  };
25205
26552
  };
26553
+ export interface CreateApiKeyRecord {
26554
+ apiKey?: string | null;
26555
+ keyId?: string | null;
26556
+ }
26557
+ export type CreateApiKeyRecordSelect = {
26558
+ apiKey?: boolean;
26559
+ keyId?: boolean;
26560
+ };
25206
26561
  export interface BootstrapUserRecord {
25207
26562
  outUserId?: string | null;
25208
26563
  outEmail?: string | null;
@@ -25243,7 +26598,7 @@ export type ProvisionRelationRecordSelect = {
25243
26598
  outSourceFieldId?: boolean;
25244
26599
  outTargetFieldId?: boolean;
25245
26600
  };
25246
- export interface SignInOneTimeTokenRecord {
26601
+ export interface SignInCrossOriginRecord {
25247
26602
  id?: string | null;
25248
26603
  userId?: string | null;
25249
26604
  accessToken?: string | null;
@@ -25251,7 +26606,7 @@ export interface SignInOneTimeTokenRecord {
25251
26606
  isVerified?: boolean | null;
25252
26607
  totpEnabled?: boolean | null;
25253
26608
  }
25254
- export type SignInOneTimeTokenRecordSelect = {
26609
+ export type SignInCrossOriginRecordSelect = {
25255
26610
  id?: boolean;
25256
26611
  userId?: boolean;
25257
26612
  accessToken?: boolean;
@@ -25269,7 +26624,7 @@ export type ExtendTokenExpiresRecordSelect = {
25269
26624
  sessionId?: boolean;
25270
26625
  expiresAt?: boolean;
25271
26626
  };
25272
- export interface SignInRecord {
26627
+ export interface SignUpRecord {
25273
26628
  id?: string | null;
25274
26629
  userId?: string | null;
25275
26630
  accessToken?: string | null;
@@ -25277,7 +26632,7 @@ export interface SignInRecord {
25277
26632
  isVerified?: boolean | null;
25278
26633
  totpEnabled?: boolean | null;
25279
26634
  }
25280
- export type SignInRecordSelect = {
26635
+ export type SignUpRecordSelect = {
25281
26636
  id?: boolean;
25282
26637
  userId?: boolean;
25283
26638
  accessToken?: boolean;
@@ -25285,21 +26640,25 @@ export type SignInRecordSelect = {
25285
26640
  isVerified?: boolean;
25286
26641
  totpEnabled?: boolean;
25287
26642
  };
25288
- export interface SignUpRecord {
26643
+ export interface SignInRecord {
25289
26644
  id?: string | null;
25290
26645
  userId?: string | null;
25291
26646
  accessToken?: string | null;
25292
26647
  accessTokenExpiresAt?: string | null;
25293
26648
  isVerified?: boolean | null;
25294
26649
  totpEnabled?: boolean | null;
26650
+ mfaRequired?: boolean | null;
26651
+ mfaChallengeToken?: string | null;
25295
26652
  }
25296
- export type SignUpRecordSelect = {
26653
+ export type SignInRecordSelect = {
25297
26654
  id?: boolean;
25298
26655
  userId?: boolean;
25299
26656
  accessToken?: boolean;
25300
26657
  accessTokenExpiresAt?: boolean;
25301
26658
  isVerified?: boolean;
25302
26659
  totpEnabled?: boolean;
26660
+ mfaRequired?: boolean;
26661
+ mfaChallengeToken?: boolean;
25303
26662
  };
25304
26663
  export interface ProvisionTableRecord {
25305
26664
  outTableId?: string | null;
@@ -25369,6 +26728,18 @@ export type FieldEdgeSelect = {
25369
26728
  select: FieldSelect;
25370
26729
  };
25371
26730
  };
26731
+ /** A `SpatialRelation` edge in the connection. */
26732
+ export interface SpatialRelationEdge {
26733
+ cursor?: string | null;
26734
+ /** The `SpatialRelation` at the end of the edge. */
26735
+ node?: SpatialRelation | null;
26736
+ }
26737
+ export type SpatialRelationEdgeSelect = {
26738
+ cursor?: boolean;
26739
+ node?: {
26740
+ select: SpatialRelationSelect;
26741
+ };
26742
+ };
25372
26743
  /** A `ForeignKeyConstraint` edge in the connection. */
25373
26744
  export interface ForeignKeyConstraintEdge {
25374
26745
  cursor?: string | null;
@@ -25525,18 +26896,6 @@ export type EmbeddingChunkEdgeSelect = {
25525
26896
  select: EmbeddingChunkSelect;
25526
26897
  };
25527
26898
  };
25528
- /** A `TableTemplateModule` edge in the connection. */
25529
- export interface TableTemplateModuleEdge {
25530
- cursor?: string | null;
25531
- /** The `TableTemplateModule` at the end of the edge. */
25532
- node?: TableTemplateModule | null;
25533
- }
25534
- export type TableTemplateModuleEdgeSelect = {
25535
- cursor?: boolean;
25536
- node?: {
25537
- select: TableTemplateModuleSelect;
25538
- };
25539
- };
25540
26899
  /** A `SecureTableProvision` edge in the connection. */
25541
26900
  export interface SecureTableProvisionEdge {
25542
26901
  cursor?: string | null;
@@ -25561,6 +26920,18 @@ export type RelationProvisionEdgeSelect = {
25561
26920
  select: RelationProvisionSelect;
25562
26921
  };
25563
26922
  };
26923
+ /** A `SessionSecretsModule` edge in the connection. */
26924
+ export interface SessionSecretsModuleEdge {
26925
+ cursor?: string | null;
26926
+ /** The `SessionSecretsModule` at the end of the edge. */
26927
+ node?: SessionSecretsModule | null;
26928
+ }
26929
+ export type SessionSecretsModuleEdgeSelect = {
26930
+ cursor?: boolean;
26931
+ node?: {
26932
+ select: SessionSecretsModuleSelect;
26933
+ };
26934
+ };
25564
26935
  /** A `SchemaGrant` edge in the connection. */
25565
26936
  export interface SchemaGrantEdge {
25566
26937
  cursor?: string | null;
@@ -26005,6 +27376,30 @@ export type StorageModuleEdgeSelect = {
26005
27376
  select: StorageModuleSelect;
26006
27377
  };
26007
27378
  };
27379
+ /** A `EntityTypeProvision` edge in the connection. */
27380
+ export interface EntityTypeProvisionEdge {
27381
+ cursor?: string | null;
27382
+ /** The `EntityTypeProvision` at the end of the edge. */
27383
+ node?: EntityTypeProvision | null;
27384
+ }
27385
+ export type EntityTypeProvisionEdgeSelect = {
27386
+ cursor?: boolean;
27387
+ node?: {
27388
+ select: EntityTypeProvisionSelect;
27389
+ };
27390
+ };
27391
+ /** A `WebauthnCredentialsModule` edge in the connection. */
27392
+ export interface WebauthnCredentialsModuleEdge {
27393
+ cursor?: string | null;
27394
+ /** The `WebauthnCredentialsModule` at the end of the edge. */
27395
+ node?: WebauthnCredentialsModule | null;
27396
+ }
27397
+ export type WebauthnCredentialsModuleEdgeSelect = {
27398
+ cursor?: boolean;
27399
+ node?: {
27400
+ select: WebauthnCredentialsModuleSelect;
27401
+ };
27402
+ };
26008
27403
  /** A `DatabaseProvisionModule` edge in the connection. */
26009
27404
  export interface DatabaseProvisionModuleEdge {
26010
27405
  cursor?: string | null;
@@ -26101,6 +27496,18 @@ export type OrgOwnerGrantEdgeSelect = {
26101
27496
  select: OrgOwnerGrantSelect;
26102
27497
  };
26103
27498
  };
27499
+ /** A `OrgMemberProfile` edge in the connection. */
27500
+ export interface OrgMemberProfileEdge {
27501
+ cursor?: string | null;
27502
+ /** The `OrgMemberProfile` at the end of the edge. */
27503
+ node?: OrgMemberProfile | null;
27504
+ }
27505
+ export type OrgMemberProfileEdgeSelect = {
27506
+ cursor?: boolean;
27507
+ node?: {
27508
+ select: OrgMemberProfileSelect;
27509
+ };
27510
+ };
26104
27511
  /** A `OrgGrant` edge in the connection. */
26105
27512
  export interface OrgGrantEdge {
26106
27513
  cursor?: string | null;
@@ -26245,18 +27652,6 @@ export type CryptoAddressEdgeSelect = {
26245
27652
  select: CryptoAddressSelect;
26246
27653
  };
26247
27654
  };
26248
- /** A `ConnectedAccount` edge in the connection. */
26249
- export interface ConnectedAccountEdge {
26250
- cursor?: string | null;
26251
- /** The `ConnectedAccount` at the end of the edge. */
26252
- node?: ConnectedAccount | null;
26253
- }
26254
- export type ConnectedAccountEdgeSelect = {
26255
- cursor?: boolean;
26256
- node?: {
26257
- select: ConnectedAccountSelect;
26258
- };
26259
- };
26260
27655
  /** A `AppInvite` edge in the connection. */
26261
27656
  export interface AppInviteEdge {
26262
27657
  cursor?: string | null;
@@ -26389,16 +27784,16 @@ export type OrgLimitDefaultEdgeSelect = {
26389
27784
  select: OrgLimitDefaultSelect;
26390
27785
  };
26391
27786
  };
26392
- /** A `MembershipType` edge in the connection. */
26393
- export interface MembershipTypeEdge {
27787
+ /** A `DevicesModule` edge in the connection. */
27788
+ export interface DevicesModuleEdge {
26394
27789
  cursor?: string | null;
26395
- /** The `MembershipType` at the end of the edge. */
26396
- node?: MembershipType | null;
27790
+ /** The `DevicesModule` at the end of the edge. */
27791
+ node?: DevicesModule | null;
26397
27792
  }
26398
- export type MembershipTypeEdgeSelect = {
27793
+ export type DevicesModuleEdgeSelect = {
26399
27794
  cursor?: boolean;
26400
27795
  node?: {
26401
- select: MembershipTypeSelect;
27796
+ select: DevicesModuleSelect;
26402
27797
  };
26403
27798
  };
26404
27799
  /** A `AppMembershipDefault` edge in the connection. */
@@ -26437,6 +27832,18 @@ export type RateLimitsModuleEdgeSelect = {
26437
27832
  select: RateLimitsModuleSelect;
26438
27833
  };
26439
27834
  };
27835
+ /** A `MembershipType` edge in the connection. */
27836
+ export interface MembershipTypeEdge {
27837
+ cursor?: string | null;
27838
+ /** The `MembershipType` at the end of the edge. */
27839
+ node?: MembershipType | null;
27840
+ }
27841
+ export type MembershipTypeEdgeSelect = {
27842
+ cursor?: boolean;
27843
+ node?: {
27844
+ select: MembershipTypeSelect;
27845
+ };
27846
+ };
26440
27847
  /** A `OrgMembershipDefault` edge in the connection. */
26441
27848
  export interface OrgMembershipDefaultEdge {
26442
27849
  cursor?: string | null;