@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
@@ -3,7 +3,7 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- import type { Api, ApiModule, ApiSchema, App, AppAchievement, AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppLevel, AppLevelRequirement, AppLimit, AppLimitDefault, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppStep, AstMigration, AuditLog, Blueprint, BlueprintConstruction, BlueprintTemplate, CheckConstraint, Commit, ConnectedAccount, ConnectedAccountsModule, CryptoAddress, CryptoAddressesModule, CryptoAuthModule, Database, DatabaseProvisionModule, DatabaseTransfer, DefaultIdsModule, DefaultPrivilege, DenormalizedTableField, Domain, Email, EmailsModule, EmbeddingChunk, EncryptedSecretsModule, Enum, Field, ForeignKeyConstraint, FullTextSearch, GetAllRecord, HierarchyModule, Index, InvitesModule, LevelsModule, LimitsModule, MembershipType, MembershipTypesModule, MembershipsModule, MigrateFile, Object, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgLimit, OrgLimitDefault, OrgMember, OrgMembership, OrgMembershipDefault, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, PermissionsModule, PhoneNumber, PhoneNumbersModule, Policy, PrimaryKeyConstraint, ProfilesModule, RateLimitsModule, Ref, RelationProvision, RlsModule, RoleType, Schema, SchemaGrant, SecretsModule, SecureTableProvision, SessionsModule, Site, SiteMetadatum, SiteModule, SiteTheme, SqlAction, StorageModule, Store, Table, TableGrant, TableTemplateModule, Trigger, TriggerFunction, UniqueConstraint, User, UserAuthModule, UsersModule, View, ViewGrant, ViewRule, ViewTable, BigIntFilter, BitStringFilter, BooleanFilter, DatetimeFilter, FloatFilter, FullTextFilter, IntFilter, InternetAddressFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
6
+ import type { Api, ApiModule, ApiSchema, App, AppAchievement, AppAdminGrant, AppClaimedInvite, AppGrant, AppInvite, AppLevel, AppLevelRequirement, AppLimit, AppLimitDefault, AppMembership, AppMembershipDefault, AppOwnerGrant, AppPermission, AppPermissionDefault, AppStep, AstMigration, AuditLog, Blueprint, BlueprintConstruction, BlueprintTemplate, CheckConstraint, Commit, ConnectedAccountsModule, CryptoAddress, CryptoAddressesModule, CryptoAuthModule, Database, DatabaseProvisionModule, DatabaseTransfer, DefaultIdsModule, DefaultPrivilege, DenormalizedTableField, DevicesModule, Domain, Email, EmailsModule, EmbeddingChunk, EncryptedSecretsModule, EntityTypeProvision, Enum, Field, ForeignKeyConstraint, FullTextSearch, GetAllRecord, HierarchyModule, Index, InvitesModule, LevelsModule, LimitsModule, MembershipType, MembershipTypesModule, MembershipsModule, MigrateFile, Object, OrgAdminGrant, OrgChartEdge, OrgChartEdgeGrant, OrgClaimedInvite, OrgGetManagersRecord, OrgGetSubordinatesRecord, OrgGrant, OrgInvite, OrgLimit, OrgLimitDefault, OrgMember, OrgMemberProfile, OrgMembership, OrgMembershipDefault, OrgOwnerGrant, OrgPermission, OrgPermissionDefault, PermissionsModule, PhoneNumber, PhoneNumbersModule, Policy, PrimaryKeyConstraint, ProfilesModule, RateLimitsModule, Ref, RelationProvision, RlsModule, RoleType, Schema, SchemaGrant, SecretsModule, SecureTableProvision, SessionSecretsModule, SessionsModule, Site, SiteMetadatum, SiteModule, SiteTheme, SpatialRelation, SqlAction, StorageModule, Store, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraint, User, UserAuthModule, UserConnectedAccount, UsersModule, View, ViewGrant, ViewRule, ViewTable, WebauthnCredentialsModule, BigIntFilter, BitStringFilter, BooleanFilter, DatetimeFilter, FloatFilter, FullTextFilter, IntFilter, InternetAddressFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
7
7
  export type ConstructiveInternalTypeAttachment = unknown;
8
8
  export type ConstructiveInternalTypeEmail = unknown;
9
9
  export type ConstructiveInternalTypeHostname = unknown;
@@ -14,6 +14,8 @@ export type ConstructiveInternalTypeUrl = unknown;
14
14
  export type ObjectCategory = 'CORE' | 'MODULE' | 'APP';
15
15
  /** Methods to use when ordering `CheckConstraint`. */
16
16
  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';
17
+ /** Methods to use when ordering `SpatialRelation`. */
18
+ 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';
17
19
  /** Methods to use when ordering `Field`. */
18
20
  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';
19
21
  /** Methods to use when ordering `ForeignKeyConstraint`. */
@@ -42,12 +44,12 @@ export type ViewRuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'
42
44
  export type ViewOrderBy = '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' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'VIEW_TYPE_ASC' | 'VIEW_TYPE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'FILTER_TYPE_ASC' | 'FILTER_TYPE_DESC' | 'FILTER_DATA_ASC' | 'FILTER_DATA_DESC' | 'SECURITY_INVOKER_ASC' | 'SECURITY_INVOKER_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'SMART_TAGS_ASC' | 'SMART_TAGS_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'MODULE_ASC' | 'MODULE_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TAGS_ASC' | 'TAGS_DESC';
43
45
  /** Methods to use when ordering `EmbeddingChunk`. */
44
46
  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';
45
- /** Methods to use when ordering `TableTemplateModule`. */
46
- 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';
47
47
  /** Methods to use when ordering `SecureTableProvision`. */
48
48
  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';
49
49
  /** Methods to use when ordering `RelationProvision`. */
50
50
  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';
51
+ /** Methods to use when ordering `SessionSecretsModule`. */
52
+ 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';
51
53
  /** Methods to use when ordering `Table`. */
52
54
  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';
53
55
  /** Methods to use when ordering `SchemaGrant`. */
@@ -103,7 +105,7 @@ export type LimitsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_D
103
105
  /** Methods to use when ordering `MembershipTypesModule`. */
104
106
  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';
105
107
  /** Methods to use when ordering `MembershipsModule`. */
106
- 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';
108
+ 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';
107
109
  /** Methods to use when ordering `PermissionsModule`. */
108
110
  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';
109
111
  /** Methods to use when ordering `PhoneNumbersModule`. */
@@ -115,7 +117,7 @@ export type SecretsModuleOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
115
117
  /** Methods to use when ordering `SessionsModule`. */
116
118
  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';
117
119
  /** Methods to use when ordering `UserAuthModule`. */
118
- 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';
120
+ 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';
119
121
  /** Methods to use when ordering `UsersModule`. */
120
122
  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';
121
123
  /** Methods to use when ordering `BlueprintTemplate`. */
@@ -126,6 +128,10 @@ export type BlueprintOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC
126
128
  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';
127
129
  /** Methods to use when ordering `StorageModule`. */
128
130
  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';
131
+ /** Methods to use when ordering `EntityTypeProvision`. */
132
+ 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';
133
+ /** Methods to use when ordering `WebauthnCredentialsModule`. */
134
+ 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';
129
135
  /** Methods to use when ordering `DatabaseProvisionModule`. */
130
136
  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';
131
137
  /** Methods to use when ordering `Database`. */
@@ -137,13 +143,15 @@ export type AppOwnerGrantOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_
137
143
  /** Methods to use when ordering `AppGrant`. */
138
144
  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';
139
145
  /** Methods to use when ordering `OrgMembership`. */
140
- 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';
146
+ 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';
141
147
  /** Methods to use when ordering `OrgMember`. */
142
148
  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';
143
149
  /** Methods to use when ordering `OrgAdminGrant`. */
144
150
  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';
145
151
  /** Methods to use when ordering `OrgOwnerGrant`. */
146
152
  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';
153
+ /** Methods to use when ordering `OrgMemberProfile`. */
154
+ 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';
147
155
  /** Methods to use when ordering `OrgGrant`. */
148
156
  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';
149
157
  /** Methods to use when ordering `OrgChartEdge`. */
@@ -168,8 +176,6 @@ export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' |
168
176
  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';
169
177
  /** Methods to use when ordering `CryptoAddress`. */
170
178
  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';
171
- /** Methods to use when ordering `ConnectedAccount`. */
172
- 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';
173
179
  /** Methods to use when ordering `AppInvite`. */
174
180
  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';
175
181
  /** Methods to use when ordering `AppClaimedInvite`. */
@@ -194,8 +200,10 @@ export type MigrateFileOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID
194
200
  export type AppLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
195
201
  /** Methods to use when ordering `OrgLimitDefault`. */
196
202
  export type OrgLimitDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'MAX_ASC' | 'MAX_DESC';
197
- /** Methods to use when ordering `MembershipType`. */
198
- 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';
203
+ /** Methods to use when ordering `DevicesModule`. */
204
+ 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';
205
+ /** Methods to use when ordering `UserConnectedAccount`. */
206
+ 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';
199
207
  /** Methods to use when ordering `Object`. */
200
208
  export type ObjectOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'FRZN_ASC' | 'FRZN_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
201
209
  /** Methods to use when ordering `AppPermission`. */
@@ -208,6 +216,8 @@ export type AppMembershipDefaultOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMA
208
216
  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';
209
217
  /** Methods to use when ordering `RateLimitsModule`. */
210
218
  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';
219
+ /** Methods to use when ordering `MembershipType`. */
220
+ 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';
211
221
  /** Methods to use when ordering `OrgMembershipDefault`. */
212
222
  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';
213
223
  /** Methods to use when ordering `RlsModule`. */
@@ -221,7 +231,7 @@ export type UserOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | '
221
231
  /** Methods to use when ordering `AstMigration`. */
222
232
  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';
223
233
  /** Methods to use when ordering `AppMembership`. */
224
- 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';
234
+ 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';
225
235
  /** Methods to use when ordering `HierarchyModule`. */
226
236
  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';
227
237
  /** A filter to be used against `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */
@@ -398,6 +408,10 @@ export interface DatabaseFilter {
398
408
  embeddingChunks?: DatabaseToManyEmbeddingChunkFilter;
399
409
  /** `embeddingChunks` exist. */
400
410
  embeddingChunksExist?: boolean;
411
+ /** Filter by the object’s `spatialRelations` relation. */
412
+ spatialRelations?: DatabaseToManySpatialRelationFilter;
413
+ /** `spatialRelations` exist. */
414
+ spatialRelationsExist?: boolean;
401
415
  /** Filter by the object’s `databaseTransfers` relation. */
402
416
  databaseTransfers?: DatabaseToManyDatabaseTransferFilter;
403
417
  /** `databaseTransfers` exist. */
@@ -522,10 +536,6 @@ export interface DatabaseFilter {
522
536
  hierarchyModule?: HierarchyModuleFilter;
523
537
  /** A related `hierarchyModule` exists. */
524
538
  hierarchyModuleExists?: boolean;
525
- /** Filter by the object’s `tableTemplateModules` relation. */
526
- tableTemplateModules?: DatabaseToManyTableTemplateModuleFilter;
527
- /** `tableTemplateModules` exist. */
528
- tableTemplateModulesExist?: boolean;
529
539
  /** Filter by the object’s `secureTableProvisions` relation. */
530
540
  secureTableProvisions?: DatabaseToManySecureTableProvisionFilter;
531
541
  /** `secureTableProvisions` exist. */
@@ -546,10 +556,26 @@ export interface DatabaseFilter {
546
556
  storageModules?: DatabaseToManyStorageModuleFilter;
547
557
  /** `storageModules` exist. */
548
558
  storageModulesExist?: boolean;
559
+ /** Filter by the object’s `entityTypeProvisions` relation. */
560
+ entityTypeProvisions?: DatabaseToManyEntityTypeProvisionFilter;
561
+ /** `entityTypeProvisions` exist. */
562
+ entityTypeProvisionsExist?: boolean;
549
563
  /** Filter by the object’s `rateLimitsModule` relation. */
550
564
  rateLimitsModule?: RateLimitsModuleFilter;
551
565
  /** A related `rateLimitsModule` exists. */
552
566
  rateLimitsModuleExists?: boolean;
567
+ /** Filter by the object’s `devicesModule` relation. */
568
+ devicesModule?: DevicesModuleFilter;
569
+ /** A related `devicesModule` exists. */
570
+ devicesModuleExists?: boolean;
571
+ /** Filter by the object’s `sessionSecretsModules` relation. */
572
+ sessionSecretsModules?: DatabaseToManySessionSecretsModuleFilter;
573
+ /** `sessionSecretsModules` exist. */
574
+ sessionSecretsModulesExist?: boolean;
575
+ /** Filter by the object’s `webauthnCredentialsModules` relation. */
576
+ webauthnCredentialsModules?: DatabaseToManyWebauthnCredentialsModuleFilter;
577
+ /** `webauthnCredentialsModules` exist. */
578
+ webauthnCredentialsModulesExist?: boolean;
553
579
  /** Filter by the object’s `databaseProvisionModules` relation. */
554
580
  databaseProvisionModules?: DatabaseToManyDatabaseProvisionModuleFilter;
555
581
  /** `databaseProvisionModules` exist. */
@@ -657,6 +683,14 @@ export interface UserFilter {
657
683
  orgOwnerGrantsByGrantorId?: UserToManyOrgOwnerGrantFilter;
658
684
  /** `orgOwnerGrantsByGrantorId` exist. */
659
685
  orgOwnerGrantsByGrantorIdExist?: boolean;
686
+ /** Filter by the object’s `orgMemberProfilesByActorId` relation. */
687
+ orgMemberProfilesByActorId?: UserToManyOrgMemberProfileFilter;
688
+ /** `orgMemberProfilesByActorId` exist. */
689
+ orgMemberProfilesByActorIdExist?: boolean;
690
+ /** Filter by the object’s `orgMemberProfilesByEntityId` relation. */
691
+ orgMemberProfilesByEntityId?: UserToManyOrgMemberProfileFilter;
692
+ /** `orgMemberProfilesByEntityId` exist. */
693
+ orgMemberProfilesByEntityIdExist?: boolean;
660
694
  /** Filter by the object’s `orgGrantsByActorId` relation. */
661
695
  orgGrantsByActorId?: UserToManyOrgGrantFilter;
662
696
  /** `orgGrantsByActorId` exist. */
@@ -737,10 +771,6 @@ export interface UserFilter {
737
771
  ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
738
772
  /** `ownedCryptoAddresses` exist. */
739
773
  ownedCryptoAddressesExist?: boolean;
740
- /** Filter by the object’s `ownedConnectedAccounts` relation. */
741
- ownedConnectedAccounts?: UserToManyConnectedAccountFilter;
742
- /** `ownedConnectedAccounts` exist. */
743
- ownedConnectedAccountsExist?: boolean;
744
774
  /** Filter by the object’s `appInvitesBySenderId` relation. */
745
775
  appInvitesBySenderId?: UserToManyAppInviteFilter;
746
776
  /** `appInvitesBySenderId` exist. */
@@ -960,6 +990,8 @@ export interface AppMembershipFilter {
960
990
  isVerified?: BooleanFilter;
961
991
  /** Filter by the object’s `isActive` field. */
962
992
  isActive?: BooleanFilter;
993
+ /** Filter by the object’s `isExternal` field. */
994
+ isExternal?: BooleanFilter;
963
995
  /** Filter by the object’s `isOwner` field. */
964
996
  isOwner?: BooleanFilter;
965
997
  /** Filter by the object’s `isAdmin` field. */
@@ -1120,6 +1152,8 @@ export interface OrgMembershipFilter {
1120
1152
  isDisabled?: BooleanFilter;
1121
1153
  /** Filter by the object’s `isActive` field. */
1122
1154
  isActive?: BooleanFilter;
1155
+ /** Filter by the object’s `isExternal` field. */
1156
+ isExternal?: BooleanFilter;
1123
1157
  /** Filter by the object’s `isOwner` field. */
1124
1158
  isOwner?: BooleanFilter;
1125
1159
  /** Filter by the object’s `isAdmin` field. */
@@ -1132,6 +1166,8 @@ export interface OrgMembershipFilter {
1132
1166
  actorId?: UUIDFilter;
1133
1167
  /** Filter by the object’s `entityId` field. */
1134
1168
  entityId?: UUIDFilter;
1169
+ /** Filter by the object’s `isReadOnly` field. */
1170
+ isReadOnly?: BooleanFilter;
1135
1171
  /** Filter by the object’s `profileId` field. */
1136
1172
  profileId?: UUIDFilter;
1137
1173
  /** Checks for all expressions in this list. */
@@ -1144,6 +1180,47 @@ export interface OrgMembershipFilter {
1144
1180
  actor?: UserFilter;
1145
1181
  /** Filter by the object’s `entity` relation. */
1146
1182
  entity?: UserFilter;
1183
+ /** Filter by the object’s `orgMemberProfileByMembershipId` relation. */
1184
+ orgMemberProfileByMembershipId?: OrgMemberProfileFilter;
1185
+ /** A related `orgMemberProfileByMembershipId` exists. */
1186
+ orgMemberProfileByMembershipIdExists?: boolean;
1187
+ }
1188
+ /** A filter to be used against `OrgMemberProfile` object types. All fields are combined with a logical ‘and.’ */
1189
+ export interface OrgMemberProfileFilter {
1190
+ /** Filter by the object’s `id` field. */
1191
+ id?: UUIDFilter;
1192
+ /** Filter by the object’s `createdAt` field. */
1193
+ createdAt?: DatetimeFilter;
1194
+ /** Filter by the object’s `updatedAt` field. */
1195
+ updatedAt?: DatetimeFilter;
1196
+ /** Filter by the object’s `membershipId` field. */
1197
+ membershipId?: UUIDFilter;
1198
+ /** Filter by the object’s `entityId` field. */
1199
+ entityId?: UUIDFilter;
1200
+ /** Filter by the object’s `actorId` field. */
1201
+ actorId?: UUIDFilter;
1202
+ /** Filter by the object’s `displayName` field. */
1203
+ displayName?: StringFilter;
1204
+ /** Filter by the object’s `email` field. */
1205
+ email?: StringFilter;
1206
+ /** Filter by the object’s `title` field. */
1207
+ title?: StringFilter;
1208
+ /** Filter by the object’s `bio` field. */
1209
+ bio?: StringFilter;
1210
+ /** Filter by the object’s `profilePicture` field. */
1211
+ profilePicture?: ConstructiveInternalTypeImageFilter;
1212
+ /** Checks for all expressions in this list. */
1213
+ and?: OrgMemberProfileFilter[];
1214
+ /** Checks for any expressions in this list. */
1215
+ or?: OrgMemberProfileFilter[];
1216
+ /** Negates the expression. */
1217
+ not?: OrgMemberProfileFilter;
1218
+ /** Filter by the object’s `actor` relation. */
1219
+ actor?: UserFilter;
1220
+ /** Filter by the object’s `entity` relation. */
1221
+ entity?: UserFilter;
1222
+ /** Filter by the object’s `membership` relation. */
1223
+ membership?: OrgMembershipFilter;
1147
1224
  }
1148
1225
  /** A filter to be used against `OrgMembershipDefault` object types. All fields are combined with a logical ‘and.’ */
1149
1226
  export interface OrgMembershipDefaultFilter {
@@ -1284,6 +1361,15 @@ export interface OrgOwnerGrantFilter {
1284
1361
  /** A related `grantor` exists. */
1285
1362
  grantorExists?: boolean;
1286
1363
  }
1364
+ /** A filter to be used against many `OrgMemberProfile` object types. All fields are combined with a logical ‘and.’ */
1365
+ export interface UserToManyOrgMemberProfileFilter {
1366
+ /** Filters to entities where at least one related entity matches. */
1367
+ some?: OrgMemberProfileFilter;
1368
+ /** Filters to entities where every related entity matches. */
1369
+ every?: OrgMemberProfileFilter;
1370
+ /** Filters to entities where no related entity matches. */
1371
+ none?: OrgMemberProfileFilter;
1372
+ }
1287
1373
  /** A filter to be used against many `OrgGrant` object types. All fields are combined with a logical ‘and.’ */
1288
1374
  export interface UserToManyOrgGrantFilter {
1289
1375
  /** Filters to entities where at least one related entity matches. */
@@ -1787,42 +1873,6 @@ export interface CryptoAddressFilter {
1787
1873
  /** Filter by the object’s `owner` relation. */
1788
1874
  owner?: UserFilter;
1789
1875
  }
1790
- /** A filter to be used against many `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
1791
- export interface UserToManyConnectedAccountFilter {
1792
- /** Filters to entities where at least one related entity matches. */
1793
- some?: ConnectedAccountFilter;
1794
- /** Filters to entities where every related entity matches. */
1795
- every?: ConnectedAccountFilter;
1796
- /** Filters to entities where no related entity matches. */
1797
- none?: ConnectedAccountFilter;
1798
- }
1799
- /** A filter to be used against `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
1800
- export interface ConnectedAccountFilter {
1801
- /** Filter by the object’s `id` field. */
1802
- id?: UUIDFilter;
1803
- /** Filter by the object’s `ownerId` field. */
1804
- ownerId?: UUIDFilter;
1805
- /** Filter by the object’s `service` field. */
1806
- service?: StringFilter;
1807
- /** Filter by the object’s `identifier` field. */
1808
- identifier?: StringFilter;
1809
- /** Filter by the object’s `details` field. */
1810
- details?: JSONFilter;
1811
- /** Filter by the object’s `isVerified` field. */
1812
- isVerified?: BooleanFilter;
1813
- /** Filter by the object’s `createdAt` field. */
1814
- createdAt?: DatetimeFilter;
1815
- /** Filter by the object’s `updatedAt` field. */
1816
- updatedAt?: DatetimeFilter;
1817
- /** Checks for all expressions in this list. */
1818
- and?: ConnectedAccountFilter[];
1819
- /** Checks for any expressions in this list. */
1820
- or?: ConnectedAccountFilter[];
1821
- /** Negates the expression. */
1822
- not?: ConnectedAccountFilter;
1823
- /** Filter by the object’s `owner` relation. */
1824
- owner?: UserFilter;
1825
- }
1826
1876
  /** A filter to be used against many `AppInvite` object types. All fields are combined with a logical ‘and.’ */
1827
1877
  export interface UserToManyAppInviteFilter {
1828
1878
  /** Filters to entities where at least one related entity matches. */
@@ -2179,14 +2229,10 @@ export interface SchemaFilter {
2179
2229
  apiSchemas?: SchemaToManyApiSchemaFilter;
2180
2230
  /** `apiSchemas` exist. */
2181
2231
  apiSchemasExist?: boolean;
2182
- /** Filter by the object’s `tableTemplateModulesByPrivateSchemaId` relation. */
2183
- tableTemplateModulesByPrivateSchemaId?: SchemaToManyTableTemplateModuleFilter;
2184
- /** `tableTemplateModulesByPrivateSchemaId` exist. */
2185
- tableTemplateModulesByPrivateSchemaIdExist?: boolean;
2186
- /** Filter by the object’s `tableTemplateModules` relation. */
2187
- tableTemplateModules?: SchemaToManyTableTemplateModuleFilter;
2188
- /** `tableTemplateModules` exist. */
2189
- tableTemplateModulesExist?: boolean;
2232
+ /** Filter by the object’s `sessionSecretsModules` relation. */
2233
+ sessionSecretsModules?: SchemaToManySessionSecretsModuleFilter;
2234
+ /** `sessionSecretsModules` exist. */
2235
+ sessionSecretsModulesExist?: boolean;
2190
2236
  }
2191
2237
  /** A filter to be used against many `Table` object types. All fields are combined with a logical ‘and.’ */
2192
2238
  export interface SchemaToManyTableFilter {
@@ -2307,14 +2353,14 @@ export interface TableFilter {
2307
2353
  embeddingChunks?: TableToManyEmbeddingChunkFilter;
2308
2354
  /** `embeddingChunks` exist. */
2309
2355
  embeddingChunksExist?: boolean;
2310
- /** Filter by the object’s `tableTemplateModulesByOwnerTableId` relation. */
2311
- tableTemplateModulesByOwnerTableId?: TableToManyTableTemplateModuleFilter;
2312
- /** `tableTemplateModulesByOwnerTableId` exist. */
2313
- tableTemplateModulesByOwnerTableIdExist?: boolean;
2314
- /** Filter by the object’s `tableTemplateModules` relation. */
2315
- tableTemplateModules?: TableToManyTableTemplateModuleFilter;
2316
- /** `tableTemplateModules` exist. */
2317
- tableTemplateModulesExist?: boolean;
2356
+ /** Filter by the object’s `spatialRelationsByRefTableId` relation. */
2357
+ spatialRelationsByRefTableId?: TableToManySpatialRelationFilter;
2358
+ /** `spatialRelationsByRefTableId` exist. */
2359
+ spatialRelationsByRefTableIdExist?: boolean;
2360
+ /** Filter by the object’s `spatialRelations` relation. */
2361
+ spatialRelations?: TableToManySpatialRelationFilter;
2362
+ /** `spatialRelations` exist. */
2363
+ spatialRelationsExist?: boolean;
2318
2364
  /** Filter by the object’s `secureTableProvisions` relation. */
2319
2365
  secureTableProvisions?: TableToManySecureTableProvisionFilter;
2320
2366
  /** `secureTableProvisions` exist. */
@@ -2327,6 +2373,14 @@ export interface TableFilter {
2327
2373
  relationProvisionsByTargetTableId?: TableToManyRelationProvisionFilter;
2328
2374
  /** `relationProvisionsByTargetTableId` exist. */
2329
2375
  relationProvisionsByTargetTableIdExist?: boolean;
2376
+ /** Filter by the object’s `sessionSecretsModulesBySessionsTableId` relation. */
2377
+ sessionSecretsModulesBySessionsTableId?: TableToManySessionSecretsModuleFilter;
2378
+ /** `sessionSecretsModulesBySessionsTableId` exist. */
2379
+ sessionSecretsModulesBySessionsTableIdExist?: boolean;
2380
+ /** Filter by the object’s `sessionSecretsModules` relation. */
2381
+ sessionSecretsModules?: TableToManySessionSecretsModuleFilter;
2382
+ /** `sessionSecretsModules` exist. */
2383
+ sessionSecretsModulesExist?: boolean;
2330
2384
  }
2331
2385
  /** A filter to be used against many `CheckConstraint` object types. All fields are combined with a logical ‘and.’ */
2332
2386
  export interface TableToManyCheckConstraintFilter {
@@ -2406,6 +2460,72 @@ export interface FieldFilter {
2406
2460
  database?: DatabaseFilter;
2407
2461
  /** Filter by the object’s `table` relation. */
2408
2462
  table?: TableFilter;
2463
+ /** Filter by the object’s `spatialRelations` relation. */
2464
+ spatialRelations?: FieldToManySpatialRelationFilter;
2465
+ /** `spatialRelations` exist. */
2466
+ spatialRelationsExist?: boolean;
2467
+ /** Filter by the object’s `spatialRelationsByRefFieldId` relation. */
2468
+ spatialRelationsByRefFieldId?: FieldToManySpatialRelationFilter;
2469
+ /** `spatialRelationsByRefFieldId` exist. */
2470
+ spatialRelationsByRefFieldIdExist?: boolean;
2471
+ }
2472
+ /** A filter to be used against many `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
2473
+ export interface FieldToManySpatialRelationFilter {
2474
+ /** Filters to entities where at least one related entity matches. */
2475
+ some?: SpatialRelationFilter;
2476
+ /** Filters to entities where every related entity matches. */
2477
+ every?: SpatialRelationFilter;
2478
+ /** Filters to entities where no related entity matches. */
2479
+ none?: SpatialRelationFilter;
2480
+ }
2481
+ /** A filter to be used against `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
2482
+ export interface SpatialRelationFilter {
2483
+ /** Filter by the object’s `id` field. */
2484
+ id?: UUIDFilter;
2485
+ /** Filter by the object’s `databaseId` field. */
2486
+ databaseId?: UUIDFilter;
2487
+ /** Filter by the object’s `tableId` field. */
2488
+ tableId?: UUIDFilter;
2489
+ /** Filter by the object’s `fieldId` field. */
2490
+ fieldId?: UUIDFilter;
2491
+ /** Filter by the object’s `refTableId` field. */
2492
+ refTableId?: UUIDFilter;
2493
+ /** Filter by the object’s `refFieldId` field. */
2494
+ refFieldId?: UUIDFilter;
2495
+ /** Filter by the object’s `name` field. */
2496
+ name?: StringFilter;
2497
+ /** Filter by the object’s `operator` field. */
2498
+ operator?: StringFilter;
2499
+ /** Filter by the object’s `paramName` field. */
2500
+ paramName?: StringFilter;
2501
+ /** Filter by the object’s `category` field. */
2502
+ category?: ObjectCategoryFilter;
2503
+ /** Filter by the object’s `module` field. */
2504
+ module?: StringFilter;
2505
+ /** Filter by the object’s `scope` field. */
2506
+ scope?: IntFilter;
2507
+ /** Filter by the object’s `tags` field. */
2508
+ tags?: StringListFilter;
2509
+ /** Filter by the object’s `createdAt` field. */
2510
+ createdAt?: DatetimeFilter;
2511
+ /** Filter by the object’s `updatedAt` field. */
2512
+ updatedAt?: DatetimeFilter;
2513
+ /** Checks for all expressions in this list. */
2514
+ and?: SpatialRelationFilter[];
2515
+ /** Checks for any expressions in this list. */
2516
+ or?: SpatialRelationFilter[];
2517
+ /** Negates the expression. */
2518
+ not?: SpatialRelationFilter;
2519
+ /** Filter by the object’s `database` relation. */
2520
+ database?: DatabaseFilter;
2521
+ /** Filter by the object’s `field` relation. */
2522
+ field?: FieldFilter;
2523
+ /** Filter by the object’s `refField` relation. */
2524
+ refField?: FieldFilter;
2525
+ /** Filter by the object’s `refTable` relation. */
2526
+ refTable?: TableFilter;
2527
+ /** Filter by the object’s `table` relation. */
2528
+ table?: TableFilter;
2409
2529
  }
2410
2530
  /** A filter to be used against many `ForeignKeyConstraint` object types. All fields are combined with a logical ‘and.’ */
2411
2531
  export interface TableToManyForeignKeyConstraintFilter {
@@ -3058,51 +3178,14 @@ export interface EmbeddingChunkFilter {
3058
3178
  /** Filter by the object’s `table` relation. */
3059
3179
  table?: TableFilter;
3060
3180
  }
3061
- /** A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */
3062
- export interface TableToManyTableTemplateModuleFilter {
3181
+ /** A filter to be used against many `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
3182
+ export interface TableToManySpatialRelationFilter {
3063
3183
  /** Filters to entities where at least one related entity matches. */
3064
- some?: TableTemplateModuleFilter;
3184
+ some?: SpatialRelationFilter;
3065
3185
  /** Filters to entities where every related entity matches. */
3066
- every?: TableTemplateModuleFilter;
3186
+ every?: SpatialRelationFilter;
3067
3187
  /** Filters to entities where no related entity matches. */
3068
- none?: TableTemplateModuleFilter;
3069
- }
3070
- /** A filter to be used against `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */
3071
- export interface TableTemplateModuleFilter {
3072
- /** Filter by the object’s `id` field. */
3073
- id?: UUIDFilter;
3074
- /** Filter by the object’s `databaseId` field. */
3075
- databaseId?: UUIDFilter;
3076
- /** Filter by the object’s `schemaId` field. */
3077
- schemaId?: UUIDFilter;
3078
- /** Filter by the object’s `privateSchemaId` field. */
3079
- privateSchemaId?: UUIDFilter;
3080
- /** Filter by the object’s `tableId` field. */
3081
- tableId?: UUIDFilter;
3082
- /** Filter by the object’s `ownerTableId` field. */
3083
- ownerTableId?: UUIDFilter;
3084
- /** Filter by the object’s `tableName` field. */
3085
- tableName?: StringFilter;
3086
- /** Filter by the object’s `nodeType` field. */
3087
- nodeType?: StringFilter;
3088
- /** Filter by the object’s `data` field. */
3089
- data?: JSONFilter;
3090
- /** Checks for all expressions in this list. */
3091
- and?: TableTemplateModuleFilter[];
3092
- /** Checks for any expressions in this list. */
3093
- or?: TableTemplateModuleFilter[];
3094
- /** Negates the expression. */
3095
- not?: TableTemplateModuleFilter;
3096
- /** Filter by the object’s `database` relation. */
3097
- database?: DatabaseFilter;
3098
- /** Filter by the object’s `ownerTable` relation. */
3099
- ownerTable?: TableFilter;
3100
- /** Filter by the object’s `privateSchema` relation. */
3101
- privateSchema?: SchemaFilter;
3102
- /** Filter by the object’s `schema` relation. */
3103
- schema?: SchemaFilter;
3104
- /** Filter by the object’s `table` relation. */
3105
- table?: TableFilter;
3188
+ none?: SpatialRelationFilter;
3106
3189
  }
3107
3190
  /** A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ */
3108
3191
  export interface TableToManySecureTableProvisionFilter {
@@ -3285,6 +3368,44 @@ export interface RelationProvisionFilter {
3285
3368
  /** Filter by the object’s `targetTable` relation. */
3286
3369
  targetTable?: TableFilter;
3287
3370
  }
3371
+ /** A filter to be used against many `SessionSecretsModule` object types. All fields are combined with a logical ‘and.’ */
3372
+ export interface TableToManySessionSecretsModuleFilter {
3373
+ /** Filters to entities where at least one related entity matches. */
3374
+ some?: SessionSecretsModuleFilter;
3375
+ /** Filters to entities where every related entity matches. */
3376
+ every?: SessionSecretsModuleFilter;
3377
+ /** Filters to entities where no related entity matches. */
3378
+ none?: SessionSecretsModuleFilter;
3379
+ }
3380
+ /** A filter to be used against `SessionSecretsModule` object types. All fields are combined with a logical ‘and.’ */
3381
+ export interface SessionSecretsModuleFilter {
3382
+ /** Filter by the object’s `id` field. */
3383
+ id?: UUIDFilter;
3384
+ /** Filter by the object’s `databaseId` field. */
3385
+ databaseId?: UUIDFilter;
3386
+ /** Filter by the object’s `schemaId` field. */
3387
+ schemaId?: UUIDFilter;
3388
+ /** Filter by the object’s `tableId` field. */
3389
+ tableId?: UUIDFilter;
3390
+ /** Filter by the object’s `tableName` field. */
3391
+ tableName?: StringFilter;
3392
+ /** Filter by the object’s `sessionsTableId` field. */
3393
+ sessionsTableId?: UUIDFilter;
3394
+ /** Checks for all expressions in this list. */
3395
+ and?: SessionSecretsModuleFilter[];
3396
+ /** Checks for any expressions in this list. */
3397
+ or?: SessionSecretsModuleFilter[];
3398
+ /** Negates the expression. */
3399
+ not?: SessionSecretsModuleFilter;
3400
+ /** Filter by the object’s `database` relation. */
3401
+ database?: DatabaseFilter;
3402
+ /** Filter by the object’s `schema` relation. */
3403
+ schema?: SchemaFilter;
3404
+ /** Filter by the object’s `sessionsTable` relation. */
3405
+ sessionsTable?: TableFilter;
3406
+ /** Filter by the object’s `table` relation. */
3407
+ table?: TableFilter;
3408
+ }
3288
3409
  /** A filter to be used against many `SchemaGrant` object types. All fields are combined with a logical ‘and.’ */
3289
3410
  export interface SchemaToManySchemaGrantFilter {
3290
3411
  /** Filters to entities where at least one related entity matches. */
@@ -3972,14 +4093,14 @@ export interface SiteThemeFilter {
3972
4093
  /** Filter by the object’s `site` relation. */
3973
4094
  site?: SiteFilter;
3974
4095
  }
3975
- /** A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */
3976
- export interface SchemaToManyTableTemplateModuleFilter {
4096
+ /** A filter to be used against many `SessionSecretsModule` object types. All fields are combined with a logical ‘and.’ */
4097
+ export interface SchemaToManySessionSecretsModuleFilter {
3977
4098
  /** Filters to entities where at least one related entity matches. */
3978
- some?: TableTemplateModuleFilter;
4099
+ some?: SessionSecretsModuleFilter;
3979
4100
  /** Filters to entities where every related entity matches. */
3980
- every?: TableTemplateModuleFilter;
4101
+ every?: SessionSecretsModuleFilter;
3981
4102
  /** Filters to entities where no related entity matches. */
3982
- none?: TableTemplateModuleFilter;
4103
+ none?: SessionSecretsModuleFilter;
3983
4104
  }
3984
4105
  /** A filter to be used against many `Table` object types. All fields are combined with a logical ‘and.’ */
3985
4106
  export interface DatabaseToManyTableFilter {
@@ -4175,6 +4296,15 @@ export interface DatabaseToManyEmbeddingChunkFilter {
4175
4296
  /** Filters to entities where no related entity matches. */
4176
4297
  none?: EmbeddingChunkFilter;
4177
4298
  }
4299
+ /** A filter to be used against many `SpatialRelation` object types. All fields are combined with a logical ‘and.’ */
4300
+ export interface DatabaseToManySpatialRelationFilter {
4301
+ /** Filters to entities where at least one related entity matches. */
4302
+ some?: SpatialRelationFilter;
4303
+ /** Filters to entities where every related entity matches. */
4304
+ every?: SpatialRelationFilter;
4305
+ /** Filters to entities where no related entity matches. */
4306
+ none?: SpatialRelationFilter;
4307
+ }
4178
4308
  /** A filter to be used against many `DatabaseTransfer` object types. All fields are combined with a logical ‘and.’ */
4179
4309
  export interface DatabaseToManyDatabaseTransferFilter {
4180
4310
  /** Filters to entities where at least one related entity matches. */
@@ -4931,6 +5061,8 @@ export interface MembershipsModuleFilter {
4931
5061
  entityIdsByPerm?: StringFilter;
4932
5062
  /** Filter by the object’s `entityIdsFunction` field. */
4933
5063
  entityIdsFunction?: StringFilter;
5064
+ /** Filter by the object’s `memberProfilesTableId` field. */
5065
+ memberProfilesTableId?: UUIDFilter;
4934
5066
  /** Checks for all expressions in this list. */
4935
5067
  and?: MembershipsModuleFilter[];
4936
5068
  /** Checks for any expressions in this list. */
@@ -5390,10 +5522,10 @@ export interface UserAuthModuleFilter {
5390
5522
  sendAccountDeletionEmailFunction?: StringFilter;
5391
5523
  /** Filter by the object’s `deleteAccountFunction` field. */
5392
5524
  deleteAccountFunction?: StringFilter;
5393
- /** Filter by the object’s `signInOneTimeTokenFunction` field. */
5394
- signInOneTimeTokenFunction?: StringFilter;
5395
- /** Filter by the object’s `oneTimeTokenFunction` field. */
5396
- oneTimeTokenFunction?: StringFilter;
5525
+ /** Filter by the object’s `signInCrossOriginFunction` field. */
5526
+ signInCrossOriginFunction?: StringFilter;
5527
+ /** Filter by the object’s `requestCrossOriginTokenFunction` field. */
5528
+ requestCrossOriginTokenFunction?: StringFilter;
5397
5529
  /** Filter by the object’s `extendTokenExpires` field. */
5398
5530
  extendTokenExpires?: StringFilter;
5399
5531
  /** Checks for all expressions in this list. */
@@ -5524,15 +5656,6 @@ export interface HierarchyModuleFilter {
5524
5656
  /** Filter by the object’s `usersTable` relation. */
5525
5657
  usersTable?: TableFilter;
5526
5658
  }
5527
- /** A filter to be used against many `TableTemplateModule` object types. All fields are combined with a logical ‘and.’ */
5528
- export interface DatabaseToManyTableTemplateModuleFilter {
5529
- /** Filters to entities where at least one related entity matches. */
5530
- some?: TableTemplateModuleFilter;
5531
- /** Filters to entities where every related entity matches. */
5532
- every?: TableTemplateModuleFilter;
5533
- /** Filters to entities where no related entity matches. */
5534
- none?: TableTemplateModuleFilter;
5535
- }
5536
5659
  /** A filter to be used against many `SecureTableProvision` object types. All fields are combined with a logical ‘and.’ */
5537
5660
  export interface DatabaseToManySecureTableProvisionFilter {
5538
5661
  /** Filters to entities where at least one related entity matches. */
@@ -5809,6 +5932,60 @@ export interface StorageModuleFilter {
5809
5932
  /** Filter by the object’s `uploadRequestsTable` relation. */
5810
5933
  uploadRequestsTable?: TableFilter;
5811
5934
  }
5935
+ /** A filter to be used against many `EntityTypeProvision` object types. All fields are combined with a logical ‘and.’ */
5936
+ export interface DatabaseToManyEntityTypeProvisionFilter {
5937
+ /** Filters to entities where at least one related entity matches. */
5938
+ some?: EntityTypeProvisionFilter;
5939
+ /** Filters to entities where every related entity matches. */
5940
+ every?: EntityTypeProvisionFilter;
5941
+ /** Filters to entities where no related entity matches. */
5942
+ none?: EntityTypeProvisionFilter;
5943
+ }
5944
+ /** A filter to be used against `EntityTypeProvision` object types. All fields are combined with a logical ‘and.’ */
5945
+ export interface EntityTypeProvisionFilter {
5946
+ /** Filter by the object’s `id` field. */
5947
+ id?: UUIDFilter;
5948
+ /** Filter by the object’s `databaseId` field. */
5949
+ databaseId?: UUIDFilter;
5950
+ /** Filter by the object’s `name` field. */
5951
+ name?: StringFilter;
5952
+ /** Filter by the object’s `prefix` field. */
5953
+ prefix?: StringFilter;
5954
+ /** Filter by the object’s `description` field. */
5955
+ description?: StringFilter;
5956
+ /** Filter by the object’s `parentEntity` field. */
5957
+ parentEntity?: StringFilter;
5958
+ /** Filter by the object’s `tableName` field. */
5959
+ tableName?: StringFilter;
5960
+ /** Filter by the object’s `isVisible` field. */
5961
+ isVisible?: BooleanFilter;
5962
+ /** Filter by the object’s `hasLimits` field. */
5963
+ hasLimits?: BooleanFilter;
5964
+ /** Filter by the object’s `hasProfiles` field. */
5965
+ hasProfiles?: BooleanFilter;
5966
+ /** Filter by the object’s `hasLevels` field. */
5967
+ hasLevels?: BooleanFilter;
5968
+ /** Filter by the object’s `skipEntityPolicies` field. */
5969
+ skipEntityPolicies?: BooleanFilter;
5970
+ /** Filter by the object’s `tableProvision` field. */
5971
+ tableProvision?: JSONFilter;
5972
+ /** Filter by the object’s `outMembershipType` field. */
5973
+ outMembershipType?: IntFilter;
5974
+ /** Filter by the object’s `outEntityTableId` field. */
5975
+ outEntityTableId?: UUIDFilter;
5976
+ /** Filter by the object’s `outEntityTableName` field. */
5977
+ outEntityTableName?: StringFilter;
5978
+ /** Filter by the object’s `outInstalledModules` field. */
5979
+ outInstalledModules?: StringListFilter;
5980
+ /** Checks for all expressions in this list. */
5981
+ and?: EntityTypeProvisionFilter[];
5982
+ /** Checks for any expressions in this list. */
5983
+ or?: EntityTypeProvisionFilter[];
5984
+ /** Negates the expression. */
5985
+ not?: EntityTypeProvisionFilter;
5986
+ /** Filter by the object’s `database` relation. */
5987
+ database?: DatabaseFilter;
5988
+ }
5812
5989
  /** A filter to be used against `RateLimitsModule` object types. All fields are combined with a logical ‘and.’ */
5813
5990
  export interface RateLimitsModuleFilter {
5814
5991
  /** Filter by the object’s `id` field. */
@@ -5846,6 +6023,88 @@ export interface RateLimitsModuleFilter {
5846
6023
  /** Filter by the object’s `schema` relation. */
5847
6024
  schema?: SchemaFilter;
5848
6025
  }
6026
+ /** A filter to be used against `DevicesModule` object types. All fields are combined with a logical ‘and.’ */
6027
+ export interface DevicesModuleFilter {
6028
+ /** Filter by the object’s `id` field. */
6029
+ id?: UUIDFilter;
6030
+ /** Filter by the object’s `databaseId` field. */
6031
+ databaseId?: UUIDFilter;
6032
+ /** Filter by the object’s `schemaId` field. */
6033
+ schemaId?: UUIDFilter;
6034
+ /** Filter by the object’s `userDevicesTableId` field. */
6035
+ userDevicesTableId?: UUIDFilter;
6036
+ /** Filter by the object’s `deviceSettingsTableId` field. */
6037
+ deviceSettingsTableId?: UUIDFilter;
6038
+ /** Filter by the object’s `userDevicesTable` field. */
6039
+ userDevicesTable?: StringFilter;
6040
+ /** Filter by the object’s `deviceSettingsTable` field. */
6041
+ deviceSettingsTable?: StringFilter;
6042
+ /** Checks for all expressions in this list. */
6043
+ and?: DevicesModuleFilter[];
6044
+ /** Checks for any expressions in this list. */
6045
+ or?: DevicesModuleFilter[];
6046
+ /** Negates the expression. */
6047
+ not?: DevicesModuleFilter;
6048
+ /** Filter by the object’s `database` relation. */
6049
+ database?: DatabaseFilter;
6050
+ /** Filter by the object’s `deviceSettingsTableByDeviceSettingsTableId` relation. */
6051
+ deviceSettingsTableByDeviceSettingsTableId?: TableFilter;
6052
+ /** Filter by the object’s `schema` relation. */
6053
+ schema?: SchemaFilter;
6054
+ /** Filter by the object’s `userDevicesTableByUserDevicesTableId` relation. */
6055
+ userDevicesTableByUserDevicesTableId?: TableFilter;
6056
+ }
6057
+ /** A filter to be used against many `SessionSecretsModule` object types. All fields are combined with a logical ‘and.’ */
6058
+ export interface DatabaseToManySessionSecretsModuleFilter {
6059
+ /** Filters to entities where at least one related entity matches. */
6060
+ some?: SessionSecretsModuleFilter;
6061
+ /** Filters to entities where every related entity matches. */
6062
+ every?: SessionSecretsModuleFilter;
6063
+ /** Filters to entities where no related entity matches. */
6064
+ none?: SessionSecretsModuleFilter;
6065
+ }
6066
+ /** A filter to be used against many `WebauthnCredentialsModule` object types. All fields are combined with a logical ‘and.’ */
6067
+ export interface DatabaseToManyWebauthnCredentialsModuleFilter {
6068
+ /** Filters to entities where at least one related entity matches. */
6069
+ some?: WebauthnCredentialsModuleFilter;
6070
+ /** Filters to entities where every related entity matches. */
6071
+ every?: WebauthnCredentialsModuleFilter;
6072
+ /** Filters to entities where no related entity matches. */
6073
+ none?: WebauthnCredentialsModuleFilter;
6074
+ }
6075
+ /** A filter to be used against `WebauthnCredentialsModule` object types. All fields are combined with a logical ‘and.’ */
6076
+ export interface WebauthnCredentialsModuleFilter {
6077
+ /** Filter by the object’s `id` field. */
6078
+ id?: UUIDFilter;
6079
+ /** Filter by the object’s `databaseId` field. */
6080
+ databaseId?: UUIDFilter;
6081
+ /** Filter by the object’s `schemaId` field. */
6082
+ schemaId?: UUIDFilter;
6083
+ /** Filter by the object’s `privateSchemaId` field. */
6084
+ privateSchemaId?: UUIDFilter;
6085
+ /** Filter by the object’s `tableId` field. */
6086
+ tableId?: UUIDFilter;
6087
+ /** Filter by the object’s `ownerTableId` field. */
6088
+ ownerTableId?: UUIDFilter;
6089
+ /** Filter by the object’s `tableName` field. */
6090
+ tableName?: StringFilter;
6091
+ /** Checks for all expressions in this list. */
6092
+ and?: WebauthnCredentialsModuleFilter[];
6093
+ /** Checks for any expressions in this list. */
6094
+ or?: WebauthnCredentialsModuleFilter[];
6095
+ /** Negates the expression. */
6096
+ not?: WebauthnCredentialsModuleFilter;
6097
+ /** Filter by the object’s `database` relation. */
6098
+ database?: DatabaseFilter;
6099
+ /** Filter by the object’s `ownerTable` relation. */
6100
+ ownerTable?: TableFilter;
6101
+ /** Filter by the object’s `privateSchema` relation. */
6102
+ privateSchema?: SchemaFilter;
6103
+ /** Filter by the object’s `schema` relation. */
6104
+ schema?: SchemaFilter;
6105
+ /** Filter by the object’s `table` relation. */
6106
+ table?: TableFilter;
6107
+ }
5849
6108
  /** A filter to be used against many `DatabaseProvisionModule` object types. All fields are combined with a logical ‘and.’ */
5850
6109
  export interface DatabaseToManyDatabaseProvisionModuleFilter {
5851
6110
  /** Filters to entities where at least one related entity matches. */
@@ -6027,23 +6286,31 @@ export interface OrgLimitDefaultFilter {
6027
6286
  /** Negates the expression. */
6028
6287
  not?: OrgLimitDefaultFilter;
6029
6288
  }
6030
- /** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */
6031
- export interface MembershipTypeFilter {
6289
+ /** A filter to be used against `UserConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
6290
+ export interface UserConnectedAccountFilter {
6032
6291
  /** Filter by the object’s `id` field. */
6033
- id?: IntFilter;
6034
- /** Filter by the object’s `name` field. */
6035
- name?: StringFilter;
6036
- /** Filter by the object’s `description` field. */
6037
- description?: StringFilter;
6038
- /** Filter by the object’s `prefix` field. */
6039
- prefix?: StringFilter;
6040
- /** Checks for all expressions in this list. */
6041
- and?: MembershipTypeFilter[];
6042
- /** Checks for any expressions in this list. */
6043
- or?: MembershipTypeFilter[];
6044
- /** Negates the expression. */
6045
- not?: MembershipTypeFilter;
6046
- }
6292
+ id?: UUIDFilter;
6293
+ /** Filter by the object’s `ownerId` field. */
6294
+ ownerId?: UUIDFilter;
6295
+ /** Filter by the object’s `service` field. */
6296
+ service?: StringFilter;
6297
+ /** Filter by the object’s `identifier` field. */
6298
+ identifier?: StringFilter;
6299
+ /** Filter by the object’s `details` field. */
6300
+ details?: JSONFilter;
6301
+ /** Filter by the object’s `isVerified` field. */
6302
+ isVerified?: BooleanFilter;
6303
+ /** Filter by the object’s `createdAt` field. */
6304
+ createdAt?: DatetimeFilter;
6305
+ /** Filter by the object’s `updatedAt` field. */
6306
+ updatedAt?: DatetimeFilter;
6307
+ /** Checks for all expressions in this list. */
6308
+ and?: UserConnectedAccountFilter[];
6309
+ /** Checks for any expressions in this list. */
6310
+ or?: UserConnectedAccountFilter[];
6311
+ /** Negates the expression. */
6312
+ not?: UserConnectedAccountFilter;
6313
+ }
6047
6314
  /** A filter to be used against `Object` object types. All fields are combined with a logical ‘and.’ */
6048
6315
  export interface ObjectFilter {
6049
6316
  /** Filter by the object’s `id` field. */
@@ -6155,6 +6422,27 @@ export interface CommitFilter {
6155
6422
  /** Negates the expression. */
6156
6423
  not?: CommitFilter;
6157
6424
  }
6425
+ /** A filter to be used against `MembershipType` object types. All fields are combined with a logical ‘and.’ */
6426
+ export interface MembershipTypeFilter {
6427
+ /** Filter by the object’s `id` field. */
6428
+ id?: IntFilter;
6429
+ /** Filter by the object’s `name` field. */
6430
+ name?: StringFilter;
6431
+ /** Filter by the object’s `description` field. */
6432
+ description?: StringFilter;
6433
+ /** Filter by the object’s `prefix` field. */
6434
+ prefix?: StringFilter;
6435
+ /** Filter by the object’s `parentMembershipType` field. */
6436
+ parentMembershipType?: IntFilter;
6437
+ /** Filter by the object’s `hasUsersTableEntry` field. */
6438
+ hasUsersTableEntry?: BooleanFilter;
6439
+ /** Checks for all expressions in this list. */
6440
+ and?: MembershipTypeFilter[];
6441
+ /** Checks for any expressions in this list. */
6442
+ or?: MembershipTypeFilter[];
6443
+ /** Negates the expression. */
6444
+ not?: MembershipTypeFilter;
6445
+ }
6158
6446
  /** A filter to be used against `AppLevelRequirement` object types. All fields are combined with a logical ‘and.’ */
6159
6447
  export interface AppLevelRequirementFilter {
6160
6448
  /** Filter by the object’s `id` field. */
@@ -6266,6 +6554,18 @@ export interface RejectDatabaseTransferInput {
6266
6554
  clientMutationId?: string;
6267
6555
  transferId?: string;
6268
6556
  }
6557
+ export interface DisconnectAccountInput {
6558
+ clientMutationId?: string;
6559
+ accountId: string;
6560
+ }
6561
+ export interface RevokeApiKeyInput {
6562
+ clientMutationId?: string;
6563
+ keyId: string;
6564
+ }
6565
+ export interface RevokeSessionInput {
6566
+ clientMutationId?: string;
6567
+ sessionId: string;
6568
+ }
6269
6569
  export interface VerifyPasswordInput {
6270
6570
  clientMutationId?: string;
6271
6571
  password: string;
@@ -6316,6 +6616,11 @@ export interface ConstructBlueprintInput {
6316
6616
  blueprintId?: string;
6317
6617
  schemaId?: string;
6318
6618
  }
6619
+ export interface ProvisionNewUserInput {
6620
+ clientMutationId?: string;
6621
+ email?: string;
6622
+ password?: string;
6623
+ }
6319
6624
  export interface ResetPasswordInput {
6320
6625
  clientMutationId?: string;
6321
6626
  roleId?: string;
@@ -6336,6 +6641,23 @@ export interface CopyTemplateToBlueprintInput {
6336
6641
  nameOverride?: string;
6337
6642
  displayNameOverride?: string;
6338
6643
  }
6644
+ export interface CreateApiKeyInput {
6645
+ clientMutationId?: string;
6646
+ keyName: string;
6647
+ accessLevel?: string;
6648
+ mfaLevel?: string;
6649
+ }
6650
+ export interface ProvisionSpatialRelationInput {
6651
+ clientMutationId?: string;
6652
+ pDatabaseId?: string;
6653
+ pSourceTableId?: string;
6654
+ pSourceFieldId?: string;
6655
+ pTargetTableId?: string;
6656
+ pTargetFieldId?: string;
6657
+ pName?: string;
6658
+ pOperator?: string;
6659
+ pParamName?: string;
6660
+ }
6339
6661
  export interface BootstrapUserInput {
6340
6662
  clientMutationId?: string;
6341
6663
  targetDatabaseId?: string;
@@ -6452,7 +6774,7 @@ export interface ApplyRlsInput {
6452
6774
  permissive?: boolean;
6453
6775
  name?: string;
6454
6776
  }
6455
- export interface SignInOneTimeTokenInput {
6777
+ export interface SignInCrossOriginInput {
6456
6778
  clientMutationId?: string;
6457
6779
  token?: string;
6458
6780
  credentialKind?: string;
@@ -6471,7 +6793,7 @@ export interface ExtendTokenExpiresInput {
6471
6793
  clientMutationId?: string;
6472
6794
  amount?: IntervalInput;
6473
6795
  }
6474
- export interface SignInInput {
6796
+ export interface SignUpInput {
6475
6797
  clientMutationId?: string;
6476
6798
  email?: string;
6477
6799
  password?: string;
@@ -6479,20 +6801,21 @@ export interface SignInInput {
6479
6801
  credentialKind?: string;
6480
6802
  csrfToken?: string;
6481
6803
  }
6482
- export interface SignUpInput {
6804
+ export interface RequestCrossOriginTokenInput {
6483
6805
  clientMutationId?: string;
6484
6806
  email?: string;
6485
6807
  password?: string;
6808
+ origin?: ConstructiveInternalTypeOrigin;
6486
6809
  rememberMe?: boolean;
6487
- credentialKind?: string;
6488
- csrfToken?: string;
6489
6810
  }
6490
- export interface OneTimeTokenInput {
6811
+ export interface SignInInput {
6491
6812
  clientMutationId?: string;
6492
6813
  email?: string;
6493
6814
  password?: string;
6494
- origin?: ConstructiveInternalTypeOrigin;
6495
6815
  rememberMe?: boolean;
6816
+ credentialKind?: string;
6817
+ csrfToken?: string;
6818
+ deviceToken?: string;
6496
6819
  }
6497
6820
  export interface ProvisionTableInput {
6498
6821
  clientMutationId?: string;
@@ -6772,6 +7095,21 @@ export interface ViewRuleInput {
6772
7095
  /** NOTHING (for read-only) or custom action */
6773
7096
  action?: string;
6774
7097
  }
7098
+ export interface CreateSessionSecretsModuleInput {
7099
+ clientMutationId?: string;
7100
+ /** The `SessionSecretsModule` to be created by this mutation. */
7101
+ sessionSecretsModule: SessionSecretsModuleInput;
7102
+ }
7103
+ /** An input for mutations affecting `SessionSecretsModule` */
7104
+ export interface SessionSecretsModuleInput {
7105
+ id?: string;
7106
+ databaseId: string;
7107
+ schemaId?: string;
7108
+ tableId?: string;
7109
+ tableName?: string;
7110
+ /** Resolved reference to sessions_module.sessions_table, used to FK session_secrets.session_id with ON DELETE CASCADE. */
7111
+ sessionsTableId?: string;
7112
+ }
6775
7113
  export interface CreateAppAdminGrantInput {
6776
7114
  clientMutationId?: string;
6777
7115
  /** The `AppAdminGrant` to be created by this mutation. */
@@ -6908,6 +7246,21 @@ export interface ConnectedAccountsModuleInput {
6908
7246
  ownerTableId?: string;
6909
7247
  tableName: string;
6910
7248
  }
7249
+ export interface CreateDevicesModuleInput {
7250
+ clientMutationId?: string;
7251
+ /** The `DevicesModule` to be created by this mutation. */
7252
+ devicesModule: DevicesModuleInput;
7253
+ }
7254
+ /** An input for mutations affecting `DevicesModule` */
7255
+ export interface DevicesModuleInput {
7256
+ id?: string;
7257
+ databaseId: string;
7258
+ schemaId?: string;
7259
+ userDevicesTableId?: string;
7260
+ deviceSettingsTableId?: string;
7261
+ userDevicesTable?: string;
7262
+ deviceSettingsTable?: string;
7263
+ }
6911
7264
  export interface CreateEmailsModuleInput {
6912
7265
  clientMutationId?: string;
6913
7266
  /** The `EmailsModule` to be created by this mutation. */
@@ -6953,6 +7306,22 @@ export interface UsersModuleInput {
6953
7306
  typeTableId?: string;
6954
7307
  typeTableName?: string;
6955
7308
  }
7309
+ export interface CreateWebauthnCredentialsModuleInput {
7310
+ clientMutationId?: string;
7311
+ /** The `WebauthnCredentialsModule` to be created by this mutation. */
7312
+ webauthnCredentialsModule: WebauthnCredentialsModuleInput;
7313
+ }
7314
+ /** An input for mutations affecting `WebauthnCredentialsModule` */
7315
+ export interface WebauthnCredentialsModuleInput {
7316
+ id?: string;
7317
+ databaseId: string;
7318
+ schemaId?: string;
7319
+ /** Reserved for future SECURITY DEFINER helpers on webauthn_credentials; unused in Phase 11a. */
7320
+ privateSchemaId?: string;
7321
+ tableId?: string;
7322
+ ownerTableId?: string;
7323
+ tableName?: string;
7324
+ }
6956
7325
  export interface CreateOrgAdminGrantInput {
6957
7326
  clientMutationId?: string;
6958
7327
  /** The `OrgAdminGrant` to be created by this mutation. */
@@ -7007,21 +7376,21 @@ export interface CryptoAddressInput {
7007
7376
  createdAt?: string;
7008
7377
  updatedAt?: string;
7009
7378
  }
7010
- export interface CreateMembershipTypeInput {
7379
+ export interface CreateUserConnectedAccountInput {
7011
7380
  clientMutationId?: string;
7012
- /** The `MembershipType` to be created by this mutation. */
7013
- membershipType: MembershipTypeInput;
7381
+ /** The `UserConnectedAccount` to be created by this mutation. */
7382
+ userConnectedAccount: UserConnectedAccountInput;
7014
7383
  }
7015
- /** An input for mutations affecting `MembershipType` */
7016
- export interface MembershipTypeInput {
7017
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
7018
- id: number;
7019
- /** Human-readable name of the membership type */
7020
- name: string;
7021
- /** Description of what this membership type represents */
7022
- description: string;
7023
- /** Short prefix used to namespace tables and functions for this membership scope */
7024
- prefix: string;
7384
+ /** An input for mutations affecting `UserConnectedAccount` */
7385
+ export interface UserConnectedAccountInput {
7386
+ id?: string;
7387
+ ownerId?: string;
7388
+ service?: string;
7389
+ identifier?: string;
7390
+ details?: unknown;
7391
+ isVerified?: boolean;
7392
+ createdAt?: string;
7393
+ updatedAt?: string;
7025
7394
  }
7026
7395
  export interface CreateObjectInput {
7027
7396
  clientMutationId?: string;
@@ -7070,26 +7439,6 @@ export interface CryptoAddressesModuleInput {
7070
7439
  tableName: string;
7071
7440
  cryptoNetwork?: string;
7072
7441
  }
7073
- export interface CreateConnectedAccountInput {
7074
- clientMutationId?: string;
7075
- /** The `ConnectedAccount` to be created by this mutation. */
7076
- connectedAccount: ConnectedAccountInput;
7077
- }
7078
- /** An input for mutations affecting `ConnectedAccount` */
7079
- export interface ConnectedAccountInput {
7080
- id?: string;
7081
- ownerId?: string;
7082
- /** The service used, e.g. `twitter` or `github`. */
7083
- service: string;
7084
- /** A unique identifier for the user within the service */
7085
- identifier: string;
7086
- /** Additional profile details extracted from this login method */
7087
- details: unknown;
7088
- /** Whether this connected account has been verified */
7089
- isVerified?: boolean;
7090
- createdAt?: string;
7091
- updatedAt?: string;
7092
- }
7093
7442
  export interface CreatePhoneNumberInput {
7094
7443
  clientMutationId?: string;
7095
7444
  /** The `PhoneNumber` to be created by this mutation. */
@@ -7322,23 +7671,6 @@ export interface RateLimitsModuleInput {
7322
7671
  ipRateLimitsTable?: string;
7323
7672
  rateLimitsTable?: string;
7324
7673
  }
7325
- export interface CreateTableTemplateModuleInput {
7326
- clientMutationId?: string;
7327
- /** The `TableTemplateModule` to be created by this mutation. */
7328
- tableTemplateModule: TableTemplateModuleInput;
7329
- }
7330
- /** An input for mutations affecting `TableTemplateModule` */
7331
- export interface TableTemplateModuleInput {
7332
- id?: string;
7333
- databaseId: string;
7334
- schemaId?: string;
7335
- privateSchemaId?: string;
7336
- tableId?: string;
7337
- ownerTableId?: string;
7338
- tableName: string;
7339
- nodeType: string;
7340
- data?: unknown;
7341
- }
7342
7674
  export interface CreateOrgChartEdgeGrantInput {
7343
7675
  clientMutationId?: string;
7344
7676
  /** The `OrgChartEdgeGrant` to be created by this mutation. */
@@ -7382,6 +7714,26 @@ export interface OrgLimitInput {
7382
7714
  max?: number;
7383
7715
  entityId: string;
7384
7716
  }
7717
+ export interface CreateMembershipTypeInput {
7718
+ clientMutationId?: string;
7719
+ /** The `MembershipType` to be created by this mutation. */
7720
+ membershipType: MembershipTypeInput;
7721
+ }
7722
+ /** An input for mutations affecting `MembershipType` */
7723
+ export interface MembershipTypeInput {
7724
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
7725
+ id: number;
7726
+ /** Human-readable name of the membership type */
7727
+ name: string;
7728
+ /** Description of what this membership type represents */
7729
+ description: string;
7730
+ /** Short prefix used to namespace tables and functions for this membership scope */
7731
+ prefix: string;
7732
+ /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
7733
+ parentMembershipType?: number;
7734
+ /** 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 */
7735
+ hasUsersTableEntry?: boolean;
7736
+ }
7385
7737
  export interface CreateDomainInput {
7386
7738
  clientMutationId?: string;
7387
7739
  /** The `Domain` to be created by this mutation. */
@@ -7701,6 +8053,33 @@ export interface DenormalizedTableFieldInput {
7701
8053
  funcName?: string;
7702
8054
  funcOrder?: number;
7703
8055
  }
8056
+ export interface CreateOrgMemberProfileInput {
8057
+ clientMutationId?: string;
8058
+ /** The `OrgMemberProfile` to be created by this mutation. */
8059
+ orgMemberProfile: OrgMemberProfileInput;
8060
+ }
8061
+ /** An input for mutations affecting `OrgMemberProfile` */
8062
+ export interface OrgMemberProfileInput {
8063
+ id?: string;
8064
+ createdAt?: string;
8065
+ updatedAt?: string;
8066
+ /** References the membership this profile belongs to (1:1) */
8067
+ membershipId: string;
8068
+ /** References the entity this profile belongs to (used for RLS lookups) */
8069
+ entityId: string;
8070
+ /** References the user who owns this profile (for self-edit RLS) */
8071
+ actorId: string;
8072
+ /** Display name shown to other entity members */
8073
+ displayName?: string;
8074
+ /** Email address visible to other entity members (auto-populated from verified primary email) */
8075
+ email?: string;
8076
+ /** Job title or role description visible to other entity members */
8077
+ title?: string;
8078
+ /** Short biography visible to other entity members */
8079
+ bio?: string;
8080
+ /** Profile picture visible to other entity members */
8081
+ profilePicture?: ConstructiveInternalTypeImage;
8082
+ }
7704
8083
  export interface CreateSqlActionInput {
7705
8084
  clientMutationId?: string;
7706
8085
  /** The `SqlAction` to be created by this mutation. */
@@ -8037,6 +8416,29 @@ export interface UniqueConstraintInput {
8037
8416
  createdAt?: string;
8038
8417
  updatedAt?: string;
8039
8418
  }
8419
+ export interface CreateSpatialRelationInput {
8420
+ clientMutationId?: string;
8421
+ /** The `SpatialRelation` to be created by this mutation. */
8422
+ spatialRelation: SpatialRelationInput;
8423
+ }
8424
+ /** An input for mutations affecting `SpatialRelation` */
8425
+ export interface SpatialRelationInput {
8426
+ id?: string;
8427
+ databaseId?: string;
8428
+ tableId: string;
8429
+ fieldId: string;
8430
+ refTableId: string;
8431
+ refFieldId: string;
8432
+ name: string;
8433
+ operator: string;
8434
+ paramName?: string;
8435
+ category?: ObjectCategory;
8436
+ module?: string;
8437
+ scope?: number;
8438
+ tags?: string[];
8439
+ createdAt?: string;
8440
+ updatedAt?: string;
8441
+ }
8040
8442
  export interface CreatePolicyInput {
8041
8443
  clientMutationId?: string;
8042
8444
  /** The `Policy` to be created by this mutation. */
@@ -8062,6 +8464,138 @@ export interface PolicyInput {
8062
8464
  createdAt?: string;
8063
8465
  updatedAt?: string;
8064
8466
  }
8467
+ export interface CreateEntityTypeProvisionInput {
8468
+ clientMutationId?: string;
8469
+ /** The `EntityTypeProvision` to be created by this mutation. */
8470
+ entityTypeProvision: EntityTypeProvisionInput;
8471
+ }
8472
+ /** An input for mutations affecting `EntityTypeProvision` */
8473
+ export interface EntityTypeProvisionInput {
8474
+ /** Unique identifier for this provision row. */
8475
+ id?: string;
8476
+ /** The database to provision this entity type in. Required. */
8477
+ databaseId: string;
8478
+ /**
8479
+ * Human-readable name for this membership type, e.g. 'Data Room Member', 'Team Channel Member'. Required.
8480
+ * Stored in the membership_types registry table.
8481
+ */
8482
+ name: string;
8483
+ /**
8484
+ * SQL prefix used for table and module naming, e.g. 'data_room', 'team_channel'. Required.
8485
+ * Drives entity table name (prefix || 's' by default), module labels (permissions_module:prefix),
8486
+ * and membership table names (prefix_memberships, prefix_members, etc.).
8487
+ * Must be unique per database — the (database_id, prefix) constraint ensures graceful ON CONFLICT DO NOTHING.
8488
+ */
8489
+ prefix: string;
8490
+ /** Description of this membership type. Stored in the membership_types registry table. Defaults to empty string. */
8491
+ description?: string;
8492
+ /**
8493
+ * Prefix of the parent entity type. The trigger resolves this to a membership_type integer
8494
+ * by looking up memberships_module WHERE prefix = parent_entity.
8495
+ * Defaults to 'org' (the organization-level type). For nested types, set to the parent's prefix
8496
+ * (e.g. 'data_room' for a team_channel nested under data_room).
8497
+ * The parent type must already be provisioned before this INSERT.
8498
+ */
8499
+ parentEntity?: string;
8500
+ /**
8501
+ * Override the entity table name. When NULL (default), the table name is derived as prefix || 's'
8502
+ * (e.g. prefix 'data_room' produces table 'data_rooms').
8503
+ * Set this when the pluralization rule doesn't apply (e.g. prefix 'staff' should produce 'staff' not 'staffs').
8504
+ */
8505
+ tableName?: string;
8506
+ /**
8507
+ * Whether members of the parent entity can see child entities. Defaults to true.
8508
+ * When true: a SELECT policy allows parent members to list child entities (e.g. org members can see all data rooms).
8509
+ * When false: only direct members of the entity itself can see it (private entity mode).
8510
+ * Controls whether the parent_member SELECT policy is created on the entity table.
8511
+ * Only meaningful on the defaults path — ignored (no-op) when table_provision is non-NULL or
8512
+ * skip_entity_policies=true, since no default policies are being applied in those cases.
8513
+ */
8514
+ isVisible?: boolean;
8515
+ /**
8516
+ * Whether to apply limits_module security for this type. Defaults to false.
8517
+ * The limits_module table structure is always created (memberships_module requires it),
8518
+ * but when false, no RLS policies are applied to the limits tables.
8519
+ * Set to true if this entity type needs configurable resource limits per membership.
8520
+ */
8521
+ hasLimits?: boolean;
8522
+ /**
8523
+ * Whether to provision profiles_module for this type. Defaults to false.
8524
+ * Profiles provide named permission roles (e.g. 'Editor', 'Viewer') with pre-configured permission bitmasks.
8525
+ * When true, creates profile tables and applies profiles security.
8526
+ */
8527
+ hasProfiles?: boolean;
8528
+ /**
8529
+ * Whether to provision levels_module for this type. Defaults to false.
8530
+ * Levels provide gamification/achievement tracking for members.
8531
+ * When true, creates level steps, achievements, and level tables with security.
8532
+ */
8533
+ hasLevels?: boolean;
8534
+ /**
8535
+ * Escape hatch: when true, apply zero RLS policies to the entity table. Defaults to false.
8536
+ * Use this only when you want the entity table provisioned with zero policies (e.g. because you
8537
+ * plan to insert secure_table_provision rows yourself later). In most cases, prefer leaving this
8538
+ * false and either accepting the five defaults (table_provision=NULL) or overriding them via
8539
+ * table_provision.
8540
+ * Defaults (applied when table_provision IS NULL and skip_entity_policies=false):
8541
+ * - SELECT (parent_member): parent entity members can see child entities (only when is_visible=true)
8542
+ * - SELECT (self_member): direct members of the entity can see it
8543
+ * - INSERT: create_entity permission on the parent entity
8544
+ * - UPDATE: admin_entity permission on the entity itself
8545
+ * - DELETE: owner of the entity can delete it
8546
+ */
8547
+ skipEntityPolicies?: boolean;
8548
+ /**
8549
+ * Single jsonb object describing the full security setup to apply to the entity table.
8550
+ * Uses the same vocabulary as metaschema_modules_public.provision_table() and blueprint tables[]
8551
+ * entries, so an entity table is configured the same way an ordinary blueprint table is.
8552
+ * Defaults to NULL; when non-NULL, the five default policies are implicitly replaced by
8553
+ * table_provision.policies[] (is_visible becomes a no-op on this path).
8554
+ * Recognized keys (all optional):
8555
+ * - use_rls (boolean, default true)
8556
+ * - nodes (jsonb array of {"$type","data"} Data* module entries)
8557
+ * - fields (jsonb array of field objects: name,type,is_required,default,min,max,regexp,index)
8558
+ * - grant_privileges (jsonb array of [privilege, columns] tuples)
8559
+ * - grant_roles (jsonb array of role names; defaults to ["authenticated"])
8560
+ * - policies (jsonb array of policy objects; each with $type, privileges, data, name, role, permissive)
8561
+ * The trigger fans policies[] into N secure_table_provision rows against the newly created entity table,
8562
+ * with table-level setup (nodes/fields/grants) attached to the first row.
8563
+ * Example — override with two SELECT policies:
8564
+ * table_provision := jsonb_build_object(
8565
+ * 'policies', jsonb_build_array(
8566
+ * jsonb_build_object(
8567
+ * '$type', 'AuthzEntityMembership',
8568
+ * 'privileges', jsonb_build_array('select'),
8569
+ * 'data', jsonb_build_object('entity_field', 'id', 'membership_type', 3),
8570
+ * 'name', 'self_member'
8571
+ * ),
8572
+ * jsonb_build_object(
8573
+ * '$type', 'AuthzDirectOwner',
8574
+ * 'privileges', jsonb_build_array('select', 'update'),
8575
+ * 'data', jsonb_build_object('owner_field', 'owner_id')
8576
+ * )
8577
+ * )
8578
+ * )
8579
+ */
8580
+ tableProvision?: unknown;
8581
+ /**
8582
+ * Output: the auto-assigned integer membership type ID. Populated by the trigger after successful provisioning.
8583
+ * This is the ID used in membership_types, memberships_module, and all module tables.
8584
+ */
8585
+ outMembershipType?: number;
8586
+ /**
8587
+ * Output: the UUID of the created entity table. Populated by the trigger.
8588
+ * Use this to reference the entity table in subsequent relation_provision or secure_table_provision rows.
8589
+ */
8590
+ outEntityTableId?: string;
8591
+ /** Output: the name of the created entity table (e.g. 'data_rooms'). Populated by the trigger. */
8592
+ outEntityTableName?: string;
8593
+ /**
8594
+ * Output: array of installed module labels (e.g. ARRAY['permissions_module:data_room', 'memberships_module:data_room', 'invites_module:data_room']).
8595
+ * Populated by the trigger. Useful for verifying which modules were provisioned.
8596
+ */
8597
+ outInstalledModules?: string[];
8598
+ }
8065
8599
  export interface CreatePermissionsModuleInput {
8066
8600
  clientMutationId?: string;
8067
8601
  /** The `PermissionsModule` to be created by this mutation. */
@@ -8116,101 +8650,33 @@ export interface AppInviteInput {
8116
8650
  createdAt?: string;
8117
8651
  updatedAt?: string;
8118
8652
  }
8119
- export interface CreateAppMembershipInput {
8653
+ export interface CreateEmbeddingChunkInput {
8120
8654
  clientMutationId?: string;
8121
- /** The `AppMembership` to be created by this mutation. */
8122
- appMembership: AppMembershipInput;
8655
+ /** The `EmbeddingChunk` to be created by this mutation. */
8656
+ embeddingChunk: EmbeddingChunkInput;
8123
8657
  }
8124
- /** An input for mutations affecting `AppMembership` */
8125
- export interface AppMembershipInput {
8658
+ /** An input for mutations affecting `EmbeddingChunk` */
8659
+ export interface EmbeddingChunkInput {
8126
8660
  id?: string;
8661
+ databaseId?: string;
8662
+ tableId: string;
8663
+ embeddingFieldId?: string;
8664
+ chunksTableId?: string;
8665
+ chunksTableName?: string;
8666
+ contentFieldName?: string;
8667
+ dimensions?: number;
8668
+ metric?: string;
8669
+ chunkSize?: number;
8670
+ chunkOverlap?: number;
8671
+ chunkStrategy?: string;
8672
+ metadataFields?: unknown;
8673
+ enqueueChunkingJob?: boolean;
8674
+ chunkingTaskName?: string;
8675
+ parentFkFieldId?: string;
8127
8676
  createdAt?: string;
8128
8677
  updatedAt?: string;
8129
- createdBy?: string;
8130
- updatedBy?: string;
8131
- /** Whether this membership has been approved by an admin */
8132
- isApproved?: boolean;
8133
- /** Whether this member has been banned from the entity */
8134
- isBanned?: boolean;
8135
- /** Whether this membership is temporarily disabled */
8136
- isDisabled?: boolean;
8137
- /** Whether this member has been verified (e.g. email confirmation) */
8138
- isVerified?: boolean;
8139
- /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
8140
- isActive?: boolean;
8141
- /** Whether the actor is the owner of this entity */
8142
- isOwner?: boolean;
8143
- /** Whether the actor has admin privileges on this entity */
8144
- isAdmin?: boolean;
8145
- /** Aggregated permission bitmask combining profile-based and directly granted permissions */
8146
- permissions?: string;
8147
- /** Bitmask of permissions directly granted to this member (not from profiles) */
8148
- granted?: string;
8149
- /** References the user who holds this membership */
8150
- actorId: string;
8151
- profileId?: string;
8152
8678
  }
8153
- export interface CreateOrgMembershipInput {
8154
- clientMutationId?: string;
8155
- /** The `OrgMembership` to be created by this mutation. */
8156
- orgMembership: OrgMembershipInput;
8157
- }
8158
- /** An input for mutations affecting `OrgMembership` */
8159
- export interface OrgMembershipInput {
8160
- id?: string;
8161
- createdAt?: string;
8162
- updatedAt?: string;
8163
- createdBy?: string;
8164
- updatedBy?: string;
8165
- /** Whether this membership has been approved by an admin */
8166
- isApproved?: boolean;
8167
- /** Whether this member has been banned from the entity */
8168
- isBanned?: boolean;
8169
- /** Whether this membership is temporarily disabled */
8170
- isDisabled?: boolean;
8171
- /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
8172
- isActive?: boolean;
8173
- /** Whether the actor is the owner of this entity */
8174
- isOwner?: boolean;
8175
- /** Whether the actor has admin privileges on this entity */
8176
- isAdmin?: boolean;
8177
- /** Aggregated permission bitmask combining profile-based and directly granted permissions */
8178
- permissions?: string;
8179
- /** Bitmask of permissions directly granted to this member (not from profiles) */
8180
- granted?: string;
8181
- /** References the user who holds this membership */
8182
- actorId: string;
8183
- /** References the entity (org or group) this membership belongs to */
8184
- entityId: string;
8185
- profileId?: string;
8186
- }
8187
- export interface CreateEmbeddingChunkInput {
8188
- clientMutationId?: string;
8189
- /** The `EmbeddingChunk` to be created by this mutation. */
8190
- embeddingChunk: EmbeddingChunkInput;
8191
- }
8192
- /** An input for mutations affecting `EmbeddingChunk` */
8193
- export interface EmbeddingChunkInput {
8194
- id?: string;
8195
- databaseId?: string;
8196
- tableId: string;
8197
- embeddingFieldId?: string;
8198
- chunksTableId?: string;
8199
- chunksTableName?: string;
8200
- contentFieldName?: string;
8201
- dimensions?: number;
8202
- metric?: string;
8203
- chunkSize?: number;
8204
- chunkOverlap?: number;
8205
- chunkStrategy?: string;
8206
- metadataFields?: unknown;
8207
- enqueueChunkingJob?: boolean;
8208
- chunkingTaskName?: string;
8209
- parentFkFieldId?: string;
8210
- createdAt?: string;
8211
- updatedAt?: string;
8212
- }
8213
- export interface CreateSchemaInput {
8679
+ export interface CreateSchemaInput {
8214
8680
  clientMutationId?: string;
8215
8681
  /** The `Schema` to be created by this mutation. */
8216
8682
  schema: SchemaInput;
@@ -8284,6 +8750,42 @@ export interface ProfilesModuleInput {
8284
8750
  membershipsTableId?: string;
8285
8751
  prefix?: string;
8286
8752
  }
8753
+ export interface CreateAppMembershipInput {
8754
+ clientMutationId?: string;
8755
+ /** The `AppMembership` to be created by this mutation. */
8756
+ appMembership: AppMembershipInput;
8757
+ }
8758
+ /** An input for mutations affecting `AppMembership` */
8759
+ export interface AppMembershipInput {
8760
+ id?: string;
8761
+ createdAt?: string;
8762
+ updatedAt?: string;
8763
+ createdBy?: string;
8764
+ updatedBy?: string;
8765
+ /** Whether this membership has been approved by an admin */
8766
+ isApproved?: boolean;
8767
+ /** Whether this member has been banned from the entity */
8768
+ isBanned?: boolean;
8769
+ /** Whether this membership is temporarily disabled */
8770
+ isDisabled?: boolean;
8771
+ /** Whether this member has been verified (e.g. email confirmation) */
8772
+ isVerified?: boolean;
8773
+ /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
8774
+ isActive?: boolean;
8775
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
8776
+ isExternal?: boolean;
8777
+ /** Whether the actor is the owner of this entity */
8778
+ isOwner?: boolean;
8779
+ /** Whether the actor has admin privileges on this entity */
8780
+ isAdmin?: boolean;
8781
+ /** Aggregated permission bitmask combining profile-based and directly granted permissions */
8782
+ permissions?: string;
8783
+ /** Bitmask of permissions directly granted to this member (not from profiles) */
8784
+ granted?: string;
8785
+ /** References the user who holds this membership */
8786
+ actorId: string;
8787
+ profileId?: string;
8788
+ }
8287
8789
  export interface CreateIndexInput {
8288
8790
  clientMutationId?: string;
8289
8791
  /** The `Index` to be created by this mutation. */
@@ -8385,6 +8887,44 @@ export interface SecureTableProvisionInput {
8385
8887
  /** Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's nodes. NULL when nodes is empty or before the trigger runs. Callers should not set this directly. */
8386
8888
  outFields?: string[];
8387
8889
  }
8890
+ export interface CreateOrgMembershipInput {
8891
+ clientMutationId?: string;
8892
+ /** The `OrgMembership` to be created by this mutation. */
8893
+ orgMembership: OrgMembershipInput;
8894
+ }
8895
+ /** An input for mutations affecting `OrgMembership` */
8896
+ export interface OrgMembershipInput {
8897
+ id?: string;
8898
+ createdAt?: string;
8899
+ updatedAt?: string;
8900
+ createdBy?: string;
8901
+ updatedBy?: string;
8902
+ /** Whether this membership has been approved by an admin */
8903
+ isApproved?: boolean;
8904
+ /** Whether this member has been banned from the entity */
8905
+ isBanned?: boolean;
8906
+ /** Whether this membership is temporarily disabled */
8907
+ isDisabled?: boolean;
8908
+ /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
8909
+ isActive?: boolean;
8910
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
8911
+ isExternal?: boolean;
8912
+ /** Whether the actor is the owner of this entity */
8913
+ isOwner?: boolean;
8914
+ /** Whether the actor has admin privileges on this entity */
8915
+ isAdmin?: boolean;
8916
+ /** Aggregated permission bitmask combining profile-based and directly granted permissions */
8917
+ permissions?: string;
8918
+ /** Bitmask of permissions directly granted to this member (not from profiles) */
8919
+ granted?: string;
8920
+ /** References the user who holds this membership */
8921
+ actorId: string;
8922
+ /** References the entity (org or group) this membership belongs to */
8923
+ entityId: string;
8924
+ /** Whether this member has read-only access (blocks mutations when true) */
8925
+ isReadOnly?: boolean;
8926
+ profileId?: string;
8927
+ }
8388
8928
  export interface CreateBlueprintTemplateInput {
8389
8929
  clientMutationId?: string;
8390
8930
  /** The `BlueprintTemplate` to be created by this mutation. */
@@ -8606,8 +9146,8 @@ export interface UserAuthModuleInput {
8606
9146
  checkPasswordFunction?: string;
8607
9147
  sendAccountDeletionEmailFunction?: string;
8608
9148
  deleteAccountFunction?: string;
8609
- signInOneTimeTokenFunction?: string;
8610
- oneTimeTokenFunction?: string;
9149
+ signInCrossOriginFunction?: string;
9150
+ requestCrossOriginTokenFunction?: string;
8611
9151
  extendTokenExpires?: string;
8612
9152
  }
8613
9153
  export interface CreateFieldInput {
@@ -8828,6 +9368,7 @@ export interface MembershipsModuleInput {
8828
9368
  entityIdsByMask?: string;
8829
9369
  entityIdsByPerm?: string;
8830
9370
  entityIdsFunction?: string;
9371
+ memberProfilesTableId?: string;
8831
9372
  }
8832
9373
  export interface UpdateDefaultIdsModuleInput {
8833
9374
  clientMutationId?: string;
@@ -9108,6 +9649,22 @@ export interface ViewRulePatch {
9108
9649
  /** NOTHING (for read-only) or custom action */
9109
9650
  action?: string;
9110
9651
  }
9652
+ export interface UpdateSessionSecretsModuleInput {
9653
+ clientMutationId?: string;
9654
+ id: string;
9655
+ /** An object where the defined keys will be set on the `SessionSecretsModule` being updated. */
9656
+ sessionSecretsModulePatch: SessionSecretsModulePatch;
9657
+ }
9658
+ /** Represents an update to a `SessionSecretsModule`. Fields that are set will be updated. */
9659
+ export interface SessionSecretsModulePatch {
9660
+ id?: string;
9661
+ databaseId?: string;
9662
+ schemaId?: string;
9663
+ tableId?: string;
9664
+ tableName?: string;
9665
+ /** Resolved reference to sessions_module.sessions_table, used to FK session_secrets.session_id with ON DELETE CASCADE. */
9666
+ sessionsTableId?: string;
9667
+ }
9111
9668
  export interface UpdateAppAdminGrantInput {
9112
9669
  clientMutationId?: string;
9113
9670
  id: string;
@@ -9242,6 +9799,22 @@ export interface ConnectedAccountsModulePatch {
9242
9799
  ownerTableId?: string;
9243
9800
  tableName?: string;
9244
9801
  }
9802
+ export interface UpdateDevicesModuleInput {
9803
+ clientMutationId?: string;
9804
+ id: string;
9805
+ /** An object where the defined keys will be set on the `DevicesModule` being updated. */
9806
+ devicesModulePatch: DevicesModulePatch;
9807
+ }
9808
+ /** Represents an update to a `DevicesModule`. Fields that are set will be updated. */
9809
+ export interface DevicesModulePatch {
9810
+ id?: string;
9811
+ databaseId?: string;
9812
+ schemaId?: string;
9813
+ userDevicesTableId?: string;
9814
+ deviceSettingsTableId?: string;
9815
+ userDevicesTable?: string;
9816
+ deviceSettingsTable?: string;
9817
+ }
9245
9818
  export interface UpdateEmailsModuleInput {
9246
9819
  clientMutationId?: string;
9247
9820
  id: string;
@@ -9290,6 +9863,23 @@ export interface UsersModulePatch {
9290
9863
  typeTableId?: string;
9291
9864
  typeTableName?: string;
9292
9865
  }
9866
+ export interface UpdateWebauthnCredentialsModuleInput {
9867
+ clientMutationId?: string;
9868
+ id: string;
9869
+ /** An object where the defined keys will be set on the `WebauthnCredentialsModule` being updated. */
9870
+ webauthnCredentialsModulePatch: WebauthnCredentialsModulePatch;
9871
+ }
9872
+ /** Represents an update to a `WebauthnCredentialsModule`. Fields that are set will be updated. */
9873
+ export interface WebauthnCredentialsModulePatch {
9874
+ id?: string;
9875
+ databaseId?: string;
9876
+ schemaId?: string;
9877
+ /** Reserved for future SECURITY DEFINER helpers on webauthn_credentials; unused in Phase 11a. */
9878
+ privateSchemaId?: string;
9879
+ tableId?: string;
9880
+ ownerTableId?: string;
9881
+ tableName?: string;
9882
+ }
9293
9883
  export interface UpdateOrgAdminGrantInput {
9294
9884
  clientMutationId?: string;
9295
9885
  id: string;
@@ -9347,24 +9937,6 @@ export interface CryptoAddressPatch {
9347
9937
  createdAt?: string;
9348
9938
  updatedAt?: string;
9349
9939
  }
9350
- export interface UpdateMembershipTypeInput {
9351
- clientMutationId?: string;
9352
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
9353
- id: number;
9354
- /** An object where the defined keys will be set on the `MembershipType` being updated. */
9355
- membershipTypePatch: MembershipTypePatch;
9356
- }
9357
- /** Represents an update to a `MembershipType`. Fields that are set will be updated. */
9358
- export interface MembershipTypePatch {
9359
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
9360
- id?: number;
9361
- /** Human-readable name of the membership type */
9362
- name?: string;
9363
- /** Description of what this membership type represents */
9364
- description?: string;
9365
- /** Short prefix used to namespace tables and functions for this membership scope */
9366
- prefix?: string;
9367
- }
9368
9940
  export interface UpdateObjectInput {
9369
9941
  clientMutationId?: string;
9370
9942
  id: string;
@@ -9416,27 +9988,6 @@ export interface CryptoAddressesModulePatch {
9416
9988
  tableName?: string;
9417
9989
  cryptoNetwork?: string;
9418
9990
  }
9419
- export interface UpdateConnectedAccountInput {
9420
- clientMutationId?: string;
9421
- id: string;
9422
- /** An object where the defined keys will be set on the `ConnectedAccount` being updated. */
9423
- connectedAccountPatch: ConnectedAccountPatch;
9424
- }
9425
- /** Represents an update to a `ConnectedAccount`. Fields that are set will be updated. */
9426
- export interface ConnectedAccountPatch {
9427
- id?: string;
9428
- ownerId?: string;
9429
- /** The service used, e.g. `twitter` or `github`. */
9430
- service?: string;
9431
- /** A unique identifier for the user within the service */
9432
- identifier?: string;
9433
- /** Additional profile details extracted from this login method */
9434
- details?: unknown;
9435
- /** Whether this connected account has been verified */
9436
- isVerified?: boolean;
9437
- createdAt?: string;
9438
- updatedAt?: string;
9439
- }
9440
9991
  export interface UpdatePhoneNumberInput {
9441
9992
  clientMutationId?: string;
9442
9993
  id: string;
@@ -9688,24 +10239,6 @@ export interface RateLimitsModulePatch {
9688
10239
  ipRateLimitsTable?: string;
9689
10240
  rateLimitsTable?: string;
9690
10241
  }
9691
- export interface UpdateTableTemplateModuleInput {
9692
- clientMutationId?: string;
9693
- id: string;
9694
- /** An object where the defined keys will be set on the `TableTemplateModule` being updated. */
9695
- tableTemplateModulePatch: TableTemplateModulePatch;
9696
- }
9697
- /** Represents an update to a `TableTemplateModule`. Fields that are set will be updated. */
9698
- export interface TableTemplateModulePatch {
9699
- id?: string;
9700
- databaseId?: string;
9701
- schemaId?: string;
9702
- privateSchemaId?: string;
9703
- tableId?: string;
9704
- ownerTableId?: string;
9705
- tableName?: string;
9706
- nodeType?: string;
9707
- data?: unknown;
9708
- }
9709
10242
  export interface UpdateOrgChartEdgeGrantInput {
9710
10243
  clientMutationId?: string;
9711
10244
  id: string;
@@ -9751,6 +10284,28 @@ export interface OrgLimitPatch {
9751
10284
  max?: number;
9752
10285
  entityId?: string;
9753
10286
  }
10287
+ export interface UpdateMembershipTypeInput {
10288
+ clientMutationId?: string;
10289
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
10290
+ id: number;
10291
+ /** An object where the defined keys will be set on the `MembershipType` being updated. */
10292
+ membershipTypePatch: MembershipTypePatch;
10293
+ }
10294
+ /** Represents an update to a `MembershipType`. Fields that are set will be updated. */
10295
+ export interface MembershipTypePatch {
10296
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
10297
+ id?: number;
10298
+ /** Human-readable name of the membership type */
10299
+ name?: string;
10300
+ /** Description of what this membership type represents */
10301
+ description?: string;
10302
+ /** Short prefix used to namespace tables and functions for this membership scope */
10303
+ prefix?: string;
10304
+ /** Parent membership type ID for SPRT cascade chain (e.g. type 2 parent=1, type 3 parent=2) */
10305
+ parentMembershipType?: number;
10306
+ /** 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 */
10307
+ hasUsersTableEntry?: boolean;
10308
+ }
9754
10309
  export interface UpdateDomainInput {
9755
10310
  clientMutationId?: string;
9756
10311
  /** Unique identifier for this domain record */
@@ -10090,6 +10645,36 @@ export interface DenormalizedTableFieldPatch {
10090
10645
  funcName?: string;
10091
10646
  funcOrder?: number;
10092
10647
  }
10648
+ export interface UpdateOrgMemberProfileInput {
10649
+ clientMutationId?: string;
10650
+ id: string;
10651
+ /** An object where the defined keys will be set on the `OrgMemberProfile` being updated. */
10652
+ orgMemberProfilePatch: OrgMemberProfilePatch;
10653
+ }
10654
+ /** Represents an update to a `OrgMemberProfile`. Fields that are set will be updated. */
10655
+ export interface OrgMemberProfilePatch {
10656
+ id?: string;
10657
+ createdAt?: string;
10658
+ updatedAt?: string;
10659
+ /** References the membership this profile belongs to (1:1) */
10660
+ membershipId?: string;
10661
+ /** References the entity this profile belongs to (used for RLS lookups) */
10662
+ entityId?: string;
10663
+ /** References the user who owns this profile (for self-edit RLS) */
10664
+ actorId?: string;
10665
+ /** Display name shown to other entity members */
10666
+ displayName?: string;
10667
+ /** Email address visible to other entity members (auto-populated from verified primary email) */
10668
+ email?: string;
10669
+ /** Job title or role description visible to other entity members */
10670
+ title?: string;
10671
+ /** Short biography visible to other entity members */
10672
+ bio?: string;
10673
+ /** Profile picture visible to other entity members */
10674
+ profilePicture?: ConstructiveInternalTypeImage;
10675
+ /** Upload for Profile picture visible to other entity members */
10676
+ profilePictureUpload?: File;
10677
+ }
10093
10678
  export interface UpdateDatabaseTransferInput {
10094
10679
  clientMutationId?: string;
10095
10680
  id: string;
@@ -10411,6 +10996,30 @@ export interface UniqueConstraintPatch {
10411
10996
  createdAt?: string;
10412
10997
  updatedAt?: string;
10413
10998
  }
10999
+ export interface UpdateSpatialRelationInput {
11000
+ clientMutationId?: string;
11001
+ id: string;
11002
+ /** An object where the defined keys will be set on the `SpatialRelation` being updated. */
11003
+ spatialRelationPatch: SpatialRelationPatch;
11004
+ }
11005
+ /** Represents an update to a `SpatialRelation`. Fields that are set will be updated. */
11006
+ export interface SpatialRelationPatch {
11007
+ id?: string;
11008
+ databaseId?: string;
11009
+ tableId?: string;
11010
+ fieldId?: string;
11011
+ refTableId?: string;
11012
+ refFieldId?: string;
11013
+ name?: string;
11014
+ operator?: string;
11015
+ paramName?: string;
11016
+ category?: ObjectCategory;
11017
+ module?: string;
11018
+ scope?: number;
11019
+ tags?: string[];
11020
+ createdAt?: string;
11021
+ updatedAt?: string;
11022
+ }
10414
11023
  export interface UpdatePolicyInput {
10415
11024
  clientMutationId?: string;
10416
11025
  id: string;
@@ -10437,18 +11046,152 @@ export interface PolicyPatch {
10437
11046
  createdAt?: string;
10438
11047
  updatedAt?: string;
10439
11048
  }
10440
- export interface UpdatePermissionsModuleInput {
11049
+ export interface UpdateEntityTypeProvisionInput {
10441
11050
  clientMutationId?: string;
11051
+ /** Unique identifier for this provision row. */
10442
11052
  id: string;
10443
- /** An object where the defined keys will be set on the `PermissionsModule` being updated. */
10444
- permissionsModulePatch: PermissionsModulePatch;
11053
+ /** An object where the defined keys will be set on the `EntityTypeProvision` being updated. */
11054
+ entityTypeProvisionPatch: EntityTypeProvisionPatch;
10445
11055
  }
10446
- /** Represents an update to a `PermissionsModule`. Fields that are set will be updated. */
10447
- export interface PermissionsModulePatch {
11056
+ /** Represents an update to a `EntityTypeProvision`. Fields that are set will be updated. */
11057
+ export interface EntityTypeProvisionPatch {
11058
+ /** Unique identifier for this provision row. */
10448
11059
  id?: string;
11060
+ /** The database to provision this entity type in. Required. */
10449
11061
  databaseId?: string;
10450
- schemaId?: string;
10451
- privateSchemaId?: string;
11062
+ /**
11063
+ * Human-readable name for this membership type, e.g. 'Data Room Member', 'Team Channel Member'. Required.
11064
+ * Stored in the membership_types registry table.
11065
+ */
11066
+ name?: string;
11067
+ /**
11068
+ * SQL prefix used for table and module naming, e.g. 'data_room', 'team_channel'. Required.
11069
+ * Drives entity table name (prefix || 's' by default), module labels (permissions_module:prefix),
11070
+ * and membership table names (prefix_memberships, prefix_members, etc.).
11071
+ * Must be unique per database — the (database_id, prefix) constraint ensures graceful ON CONFLICT DO NOTHING.
11072
+ */
11073
+ prefix?: string;
11074
+ /** Description of this membership type. Stored in the membership_types registry table. Defaults to empty string. */
11075
+ description?: string;
11076
+ /**
11077
+ * Prefix of the parent entity type. The trigger resolves this to a membership_type integer
11078
+ * by looking up memberships_module WHERE prefix = parent_entity.
11079
+ * Defaults to 'org' (the organization-level type). For nested types, set to the parent's prefix
11080
+ * (e.g. 'data_room' for a team_channel nested under data_room).
11081
+ * The parent type must already be provisioned before this INSERT.
11082
+ */
11083
+ parentEntity?: string;
11084
+ /**
11085
+ * Override the entity table name. When NULL (default), the table name is derived as prefix || 's'
11086
+ * (e.g. prefix 'data_room' produces table 'data_rooms').
11087
+ * Set this when the pluralization rule doesn't apply (e.g. prefix 'staff' should produce 'staff' not 'staffs').
11088
+ */
11089
+ tableName?: string;
11090
+ /**
11091
+ * Whether members of the parent entity can see child entities. Defaults to true.
11092
+ * When true: a SELECT policy allows parent members to list child entities (e.g. org members can see all data rooms).
11093
+ * When false: only direct members of the entity itself can see it (private entity mode).
11094
+ * Controls whether the parent_member SELECT policy is created on the entity table.
11095
+ * Only meaningful on the defaults path — ignored (no-op) when table_provision is non-NULL or
11096
+ * skip_entity_policies=true, since no default policies are being applied in those cases.
11097
+ */
11098
+ isVisible?: boolean;
11099
+ /**
11100
+ * Whether to apply limits_module security for this type. Defaults to false.
11101
+ * The limits_module table structure is always created (memberships_module requires it),
11102
+ * but when false, no RLS policies are applied to the limits tables.
11103
+ * Set to true if this entity type needs configurable resource limits per membership.
11104
+ */
11105
+ hasLimits?: boolean;
11106
+ /**
11107
+ * Whether to provision profiles_module for this type. Defaults to false.
11108
+ * Profiles provide named permission roles (e.g. 'Editor', 'Viewer') with pre-configured permission bitmasks.
11109
+ * When true, creates profile tables and applies profiles security.
11110
+ */
11111
+ hasProfiles?: boolean;
11112
+ /**
11113
+ * Whether to provision levels_module for this type. Defaults to false.
11114
+ * Levels provide gamification/achievement tracking for members.
11115
+ * When true, creates level steps, achievements, and level tables with security.
11116
+ */
11117
+ hasLevels?: boolean;
11118
+ /**
11119
+ * Escape hatch: when true, apply zero RLS policies to the entity table. Defaults to false.
11120
+ * Use this only when you want the entity table provisioned with zero policies (e.g. because you
11121
+ * plan to insert secure_table_provision rows yourself later). In most cases, prefer leaving this
11122
+ * false and either accepting the five defaults (table_provision=NULL) or overriding them via
11123
+ * table_provision.
11124
+ * Defaults (applied when table_provision IS NULL and skip_entity_policies=false):
11125
+ * - SELECT (parent_member): parent entity members can see child entities (only when is_visible=true)
11126
+ * - SELECT (self_member): direct members of the entity can see it
11127
+ * - INSERT: create_entity permission on the parent entity
11128
+ * - UPDATE: admin_entity permission on the entity itself
11129
+ * - DELETE: owner of the entity can delete it
11130
+ */
11131
+ skipEntityPolicies?: boolean;
11132
+ /**
11133
+ * Single jsonb object describing the full security setup to apply to the entity table.
11134
+ * Uses the same vocabulary as metaschema_modules_public.provision_table() and blueprint tables[]
11135
+ * entries, so an entity table is configured the same way an ordinary blueprint table is.
11136
+ * Defaults to NULL; when non-NULL, the five default policies are implicitly replaced by
11137
+ * table_provision.policies[] (is_visible becomes a no-op on this path).
11138
+ * Recognized keys (all optional):
11139
+ * - use_rls (boolean, default true)
11140
+ * - nodes (jsonb array of {"$type","data"} Data* module entries)
11141
+ * - fields (jsonb array of field objects: name,type,is_required,default,min,max,regexp,index)
11142
+ * - grant_privileges (jsonb array of [privilege, columns] tuples)
11143
+ * - grant_roles (jsonb array of role names; defaults to ["authenticated"])
11144
+ * - policies (jsonb array of policy objects; each with $type, privileges, data, name, role, permissive)
11145
+ * The trigger fans policies[] into N secure_table_provision rows against the newly created entity table,
11146
+ * with table-level setup (nodes/fields/grants) attached to the first row.
11147
+ * Example — override with two SELECT policies:
11148
+ * table_provision := jsonb_build_object(
11149
+ * 'policies', jsonb_build_array(
11150
+ * jsonb_build_object(
11151
+ * '$type', 'AuthzEntityMembership',
11152
+ * 'privileges', jsonb_build_array('select'),
11153
+ * 'data', jsonb_build_object('entity_field', 'id', 'membership_type', 3),
11154
+ * 'name', 'self_member'
11155
+ * ),
11156
+ * jsonb_build_object(
11157
+ * '$type', 'AuthzDirectOwner',
11158
+ * 'privileges', jsonb_build_array('select', 'update'),
11159
+ * 'data', jsonb_build_object('owner_field', 'owner_id')
11160
+ * )
11161
+ * )
11162
+ * )
11163
+ */
11164
+ tableProvision?: unknown;
11165
+ /**
11166
+ * Output: the auto-assigned integer membership type ID. Populated by the trigger after successful provisioning.
11167
+ * This is the ID used in membership_types, memberships_module, and all module tables.
11168
+ */
11169
+ outMembershipType?: number;
11170
+ /**
11171
+ * Output: the UUID of the created entity table. Populated by the trigger.
11172
+ * Use this to reference the entity table in subsequent relation_provision or secure_table_provision rows.
11173
+ */
11174
+ outEntityTableId?: string;
11175
+ /** Output: the name of the created entity table (e.g. 'data_rooms'). Populated by the trigger. */
11176
+ outEntityTableName?: string;
11177
+ /**
11178
+ * Output: array of installed module labels (e.g. ARRAY['permissions_module:data_room', 'memberships_module:data_room', 'invites_module:data_room']).
11179
+ * Populated by the trigger. Useful for verifying which modules were provisioned.
11180
+ */
11181
+ outInstalledModules?: string[];
11182
+ }
11183
+ export interface UpdatePermissionsModuleInput {
11184
+ clientMutationId?: string;
11185
+ id: string;
11186
+ /** An object where the defined keys will be set on the `PermissionsModule` being updated. */
11187
+ permissionsModulePatch: PermissionsModulePatch;
11188
+ }
11189
+ /** Represents an update to a `PermissionsModule`. Fields that are set will be updated. */
11190
+ export interface PermissionsModulePatch {
11191
+ id?: string;
11192
+ databaseId?: string;
11193
+ schemaId?: string;
11194
+ privateSchemaId?: string;
10452
11195
  tableId?: string;
10453
11196
  tableName?: string;
10454
11197
  defaultTableId?: string;
@@ -10493,76 +11236,6 @@ export interface AppInvitePatch {
10493
11236
  createdAt?: string;
10494
11237
  updatedAt?: string;
10495
11238
  }
10496
- export interface UpdateAppMembershipInput {
10497
- clientMutationId?: string;
10498
- id: string;
10499
- /** An object where the defined keys will be set on the `AppMembership` being updated. */
10500
- appMembershipPatch: AppMembershipPatch;
10501
- }
10502
- /** Represents an update to a `AppMembership`. Fields that are set will be updated. */
10503
- export interface AppMembershipPatch {
10504
- id?: string;
10505
- createdAt?: string;
10506
- updatedAt?: string;
10507
- createdBy?: string;
10508
- updatedBy?: string;
10509
- /** Whether this membership has been approved by an admin */
10510
- isApproved?: boolean;
10511
- /** Whether this member has been banned from the entity */
10512
- isBanned?: boolean;
10513
- /** Whether this membership is temporarily disabled */
10514
- isDisabled?: boolean;
10515
- /** Whether this member has been verified (e.g. email confirmation) */
10516
- isVerified?: boolean;
10517
- /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
10518
- isActive?: boolean;
10519
- /** Whether the actor is the owner of this entity */
10520
- isOwner?: boolean;
10521
- /** Whether the actor has admin privileges on this entity */
10522
- isAdmin?: boolean;
10523
- /** Aggregated permission bitmask combining profile-based and directly granted permissions */
10524
- permissions?: string;
10525
- /** Bitmask of permissions directly granted to this member (not from profiles) */
10526
- granted?: string;
10527
- /** References the user who holds this membership */
10528
- actorId?: string;
10529
- profileId?: string;
10530
- }
10531
- export interface UpdateOrgMembershipInput {
10532
- clientMutationId?: string;
10533
- id: string;
10534
- /** An object where the defined keys will be set on the `OrgMembership` being updated. */
10535
- orgMembershipPatch: OrgMembershipPatch;
10536
- }
10537
- /** Represents an update to a `OrgMembership`. Fields that are set will be updated. */
10538
- export interface OrgMembershipPatch {
10539
- id?: string;
10540
- createdAt?: string;
10541
- updatedAt?: string;
10542
- createdBy?: string;
10543
- updatedBy?: string;
10544
- /** Whether this membership has been approved by an admin */
10545
- isApproved?: boolean;
10546
- /** Whether this member has been banned from the entity */
10547
- isBanned?: boolean;
10548
- /** Whether this membership is temporarily disabled */
10549
- isDisabled?: boolean;
10550
- /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
10551
- isActive?: boolean;
10552
- /** Whether the actor is the owner of this entity */
10553
- isOwner?: boolean;
10554
- /** Whether the actor has admin privileges on this entity */
10555
- isAdmin?: boolean;
10556
- /** Aggregated permission bitmask combining profile-based and directly granted permissions */
10557
- permissions?: string;
10558
- /** Bitmask of permissions directly granted to this member (not from profiles) */
10559
- granted?: string;
10560
- /** References the user who holds this membership */
10561
- actorId?: string;
10562
- /** References the entity (org or group) this membership belongs to */
10563
- entityId?: string;
10564
- profileId?: string;
10565
- }
10566
11239
  export interface UpdateEmbeddingChunkInput {
10567
11240
  clientMutationId?: string;
10568
11241
  id: string;
@@ -10667,6 +11340,43 @@ export interface ProfilesModulePatch {
10667
11340
  membershipsTableId?: string;
10668
11341
  prefix?: string;
10669
11342
  }
11343
+ export interface UpdateAppMembershipInput {
11344
+ clientMutationId?: string;
11345
+ id: string;
11346
+ /** An object where the defined keys will be set on the `AppMembership` being updated. */
11347
+ appMembershipPatch: AppMembershipPatch;
11348
+ }
11349
+ /** Represents an update to a `AppMembership`. Fields that are set will be updated. */
11350
+ export interface AppMembershipPatch {
11351
+ id?: string;
11352
+ createdAt?: string;
11353
+ updatedAt?: string;
11354
+ createdBy?: string;
11355
+ updatedBy?: string;
11356
+ /** Whether this membership has been approved by an admin */
11357
+ isApproved?: boolean;
11358
+ /** Whether this member has been banned from the entity */
11359
+ isBanned?: boolean;
11360
+ /** Whether this membership is temporarily disabled */
11361
+ isDisabled?: boolean;
11362
+ /** Whether this member has been verified (e.g. email confirmation) */
11363
+ isVerified?: boolean;
11364
+ /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
11365
+ isActive?: boolean;
11366
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
11367
+ isExternal?: boolean;
11368
+ /** Whether the actor is the owner of this entity */
11369
+ isOwner?: boolean;
11370
+ /** Whether the actor has admin privileges on this entity */
11371
+ isAdmin?: boolean;
11372
+ /** Aggregated permission bitmask combining profile-based and directly granted permissions */
11373
+ permissions?: string;
11374
+ /** Bitmask of permissions directly granted to this member (not from profiles) */
11375
+ granted?: string;
11376
+ /** References the user who holds this membership */
11377
+ actorId?: string;
11378
+ profileId?: string;
11379
+ }
10670
11380
  export interface UpdateIndexInput {
10671
11381
  clientMutationId?: string;
10672
11382
  id: string;
@@ -10772,6 +11482,45 @@ export interface SecureTableProvisionPatch {
10772
11482
  /** Output column populated by the trigger after field creation. Contains the UUIDs of the metaschema fields created on the target table by this provision row's nodes. NULL when nodes is empty or before the trigger runs. Callers should not set this directly. */
10773
11483
  outFields?: string[];
10774
11484
  }
11485
+ export interface UpdateOrgMembershipInput {
11486
+ clientMutationId?: string;
11487
+ id: string;
11488
+ /** An object where the defined keys will be set on the `OrgMembership` being updated. */
11489
+ orgMembershipPatch: OrgMembershipPatch;
11490
+ }
11491
+ /** Represents an update to a `OrgMembership`. Fields that are set will be updated. */
11492
+ export interface OrgMembershipPatch {
11493
+ id?: string;
11494
+ createdAt?: string;
11495
+ updatedAt?: string;
11496
+ createdBy?: string;
11497
+ updatedBy?: string;
11498
+ /** Whether this membership has been approved by an admin */
11499
+ isApproved?: boolean;
11500
+ /** Whether this member has been banned from the entity */
11501
+ isBanned?: boolean;
11502
+ /** Whether this membership is temporarily disabled */
11503
+ isDisabled?: boolean;
11504
+ /** Computed field indicating the membership is approved, verified, not banned, and not disabled */
11505
+ isActive?: boolean;
11506
+ /** Whether this member is external (not a member of the parent scope). External members may have restricted permissions. */
11507
+ isExternal?: boolean;
11508
+ /** Whether the actor is the owner of this entity */
11509
+ isOwner?: boolean;
11510
+ /** Whether the actor has admin privileges on this entity */
11511
+ isAdmin?: boolean;
11512
+ /** Aggregated permission bitmask combining profile-based and directly granted permissions */
11513
+ permissions?: string;
11514
+ /** Bitmask of permissions directly granted to this member (not from profiles) */
11515
+ granted?: string;
11516
+ /** References the user who holds this membership */
11517
+ actorId?: string;
11518
+ /** References the entity (org or group) this membership belongs to */
11519
+ entityId?: string;
11520
+ /** Whether this member has read-only access (blocks mutations when true) */
11521
+ isReadOnly?: boolean;
11522
+ profileId?: string;
11523
+ }
10775
11524
  export interface UpdateBlueprintTemplateInput {
10776
11525
  clientMutationId?: string;
10777
11526
  /** Unique identifier for this template. */
@@ -11001,8 +11750,8 @@ export interface UserAuthModulePatch {
11001
11750
  checkPasswordFunction?: string;
11002
11751
  sendAccountDeletionEmailFunction?: string;
11003
11752
  deleteAccountFunction?: string;
11004
- signInOneTimeTokenFunction?: string;
11005
- oneTimeTokenFunction?: string;
11753
+ signInCrossOriginFunction?: string;
11754
+ requestCrossOriginTokenFunction?: string;
11006
11755
  extendTokenExpires?: string;
11007
11756
  }
11008
11757
  export interface UpdateFieldInput {
@@ -11227,6 +11976,7 @@ export interface MembershipsModulePatch {
11227
11976
  entityIdsByMask?: string;
11228
11977
  entityIdsByPerm?: string;
11229
11978
  entityIdsFunction?: string;
11979
+ memberProfilesTableId?: string;
11230
11980
  }
11231
11981
  export interface DeleteDefaultIdsModuleInput {
11232
11982
  clientMutationId?: string;
@@ -11307,6 +12057,10 @@ export interface DeleteViewRuleInput {
11307
12057
  clientMutationId?: string;
11308
12058
  id: string;
11309
12059
  }
12060
+ export interface DeleteSessionSecretsModuleInput {
12061
+ clientMutationId?: string;
12062
+ id: string;
12063
+ }
11310
12064
  export interface DeleteAppAdminGrantInput {
11311
12065
  clientMutationId?: string;
11312
12066
  id: string;
@@ -11340,6 +12094,10 @@ export interface DeleteConnectedAccountsModuleInput {
11340
12094
  clientMutationId?: string;
11341
12095
  id: string;
11342
12096
  }
12097
+ export interface DeleteDevicesModuleInput {
12098
+ clientMutationId?: string;
12099
+ id: string;
12100
+ }
11343
12101
  export interface DeleteEmailsModuleInput {
11344
12102
  clientMutationId?: string;
11345
12103
  id: string;
@@ -11352,6 +12110,10 @@ export interface DeleteUsersModuleInput {
11352
12110
  clientMutationId?: string;
11353
12111
  id: string;
11354
12112
  }
12113
+ export interface DeleteWebauthnCredentialsModuleInput {
12114
+ clientMutationId?: string;
12115
+ id: string;
12116
+ }
11355
12117
  export interface DeleteOrgAdminGrantInput {
11356
12118
  clientMutationId?: string;
11357
12119
  id: string;
@@ -11364,11 +12126,6 @@ export interface DeleteCryptoAddressInput {
11364
12126
  clientMutationId?: string;
11365
12127
  id: string;
11366
12128
  }
11367
- export interface DeleteMembershipTypeInput {
11368
- clientMutationId?: string;
11369
- /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
11370
- id: number;
11371
- }
11372
12129
  export interface DeleteObjectInput {
11373
12130
  clientMutationId?: string;
11374
12131
  id: string;
@@ -11382,10 +12139,6 @@ export interface DeleteCryptoAddressesModuleInput {
11382
12139
  clientMutationId?: string;
11383
12140
  id: string;
11384
12141
  }
11385
- export interface DeleteConnectedAccountInput {
11386
- clientMutationId?: string;
11387
- id: string;
11388
- }
11389
12142
  export interface DeletePhoneNumberInput {
11390
12143
  clientMutationId?: string;
11391
12144
  id: string;
@@ -11442,10 +12195,6 @@ export interface DeleteRateLimitsModuleInput {
11442
12195
  clientMutationId?: string;
11443
12196
  id: string;
11444
12197
  }
11445
- export interface DeleteTableTemplateModuleInput {
11446
- clientMutationId?: string;
11447
- id: string;
11448
- }
11449
12198
  export interface DeleteOrgChartEdgeGrantInput {
11450
12199
  clientMutationId?: string;
11451
12200
  id: string;
@@ -11454,6 +12203,11 @@ export interface DeleteOrgLimitInput {
11454
12203
  clientMutationId?: string;
11455
12204
  id: string;
11456
12205
  }
12206
+ export interface DeleteMembershipTypeInput {
12207
+ clientMutationId?: string;
12208
+ /** Integer identifier for the membership type (1=App, 2=Organization, 3=Group) */
12209
+ id: number;
12210
+ }
11457
12211
  export interface DeleteDomainInput {
11458
12212
  clientMutationId?: string;
11459
12213
  /** Unique identifier for this domain record */
@@ -11517,6 +12271,10 @@ export interface DeleteDenormalizedTableFieldInput {
11517
12271
  clientMutationId?: string;
11518
12272
  id: string;
11519
12273
  }
12274
+ export interface DeleteOrgMemberProfileInput {
12275
+ clientMutationId?: string;
12276
+ id: string;
12277
+ }
11520
12278
  export interface DeleteDatabaseTransferInput {
11521
12279
  clientMutationId?: string;
11522
12280
  id: string;
@@ -11571,23 +12329,24 @@ export interface DeleteUniqueConstraintInput {
11571
12329
  clientMutationId?: string;
11572
12330
  id: string;
11573
12331
  }
11574
- export interface DeletePolicyInput {
12332
+ export interface DeleteSpatialRelationInput {
11575
12333
  clientMutationId?: string;
11576
12334
  id: string;
11577
12335
  }
11578
- export interface DeletePermissionsModuleInput {
12336
+ export interface DeletePolicyInput {
11579
12337
  clientMutationId?: string;
11580
12338
  id: string;
11581
12339
  }
11582
- export interface DeleteAppInviteInput {
12340
+ export interface DeleteEntityTypeProvisionInput {
11583
12341
  clientMutationId?: string;
12342
+ /** Unique identifier for this provision row. */
11584
12343
  id: string;
11585
12344
  }
11586
- export interface DeleteAppMembershipInput {
12345
+ export interface DeletePermissionsModuleInput {
11587
12346
  clientMutationId?: string;
11588
12347
  id: string;
11589
12348
  }
11590
- export interface DeleteOrgMembershipInput {
12349
+ export interface DeleteAppInviteInput {
11591
12350
  clientMutationId?: string;
11592
12351
  id: string;
11593
12352
  }
@@ -11607,6 +12366,10 @@ export interface DeleteProfilesModuleInput {
11607
12366
  clientMutationId?: string;
11608
12367
  id: string;
11609
12368
  }
12369
+ export interface DeleteAppMembershipInput {
12370
+ clientMutationId?: string;
12371
+ id: string;
12372
+ }
11610
12373
  export interface DeleteIndexInput {
11611
12374
  clientMutationId?: string;
11612
12375
  id: string;
@@ -11620,6 +12383,10 @@ export interface DeleteSecureTableProvisionInput {
11620
12383
  /** Unique identifier for this provision row. */
11621
12384
  id: string;
11622
12385
  }
12386
+ export interface DeleteOrgMembershipInput {
12387
+ clientMutationId?: string;
12388
+ id: string;
12389
+ }
11623
12390
  export interface DeleteBlueprintTemplateInput {
11624
12391
  clientMutationId?: string;
11625
12392
  /** Unique identifier for this template. */
@@ -11857,6 +12624,13 @@ export interface ViewRuleConnection {
11857
12624
  pageInfo: PageInfo;
11858
12625
  totalCount: number;
11859
12626
  }
12627
+ /** A connection to a list of `SessionSecretsModule` values. */
12628
+ export interface SessionSecretsModuleConnection {
12629
+ nodes: SessionSecretsModule[];
12630
+ edges: SessionSecretsModuleEdge[];
12631
+ pageInfo: PageInfo;
12632
+ totalCount: number;
12633
+ }
11860
12634
  /** A connection to a list of `AppAdminGrant` values. */
11861
12635
  export interface AppAdminGrantConnection {
11862
12636
  nodes: AppAdminGrant[];
@@ -11920,6 +12694,13 @@ export interface ConnectedAccountsModuleConnection {
11920
12694
  pageInfo: PageInfo;
11921
12695
  totalCount: number;
11922
12696
  }
12697
+ /** A connection to a list of `DevicesModule` values. */
12698
+ export interface DevicesModuleConnection {
12699
+ nodes: DevicesModule[];
12700
+ edges: DevicesModuleEdge[];
12701
+ pageInfo: PageInfo;
12702
+ totalCount: number;
12703
+ }
11923
12704
  /** A connection to a list of `EmailsModule` values. */
11924
12705
  export interface EmailsModuleConnection {
11925
12706
  nodes: EmailsModule[];
@@ -11941,6 +12722,13 @@ export interface UsersModuleConnection {
11941
12722
  pageInfo: PageInfo;
11942
12723
  totalCount: number;
11943
12724
  }
12725
+ /** A connection to a list of `WebauthnCredentialsModule` values. */
12726
+ export interface WebauthnCredentialsModuleConnection {
12727
+ nodes: WebauthnCredentialsModule[];
12728
+ edges: WebauthnCredentialsModuleEdge[];
12729
+ pageInfo: PageInfo;
12730
+ totalCount: number;
12731
+ }
11944
12732
  /** A connection to a list of `OrgAdminGrant` values. */
11945
12733
  export interface OrgAdminGrantConnection {
11946
12734
  nodes: OrgAdminGrant[];
@@ -11962,10 +12750,10 @@ export interface CryptoAddressConnection {
11962
12750
  pageInfo: PageInfo;
11963
12751
  totalCount: number;
11964
12752
  }
11965
- /** A connection to a list of `MembershipType` values. */
11966
- export interface MembershipTypeConnection {
11967
- nodes: MembershipType[];
11968
- edges: MembershipTypeEdge[];
12753
+ /** A connection to a list of `UserConnectedAccount` values. */
12754
+ export interface UserConnectedAccountConnection {
12755
+ nodes: UserConnectedAccount[];
12756
+ edges: UserConnectedAccountEdge[];
11969
12757
  pageInfo: PageInfo;
11970
12758
  totalCount: number;
11971
12759
  }
@@ -11983,13 +12771,6 @@ export interface CryptoAddressesModuleConnection {
11983
12771
  pageInfo: PageInfo;
11984
12772
  totalCount: number;
11985
12773
  }
11986
- /** A connection to a list of `ConnectedAccount` values. */
11987
- export interface ConnectedAccountConnection {
11988
- nodes: ConnectedAccount[];
11989
- edges: ConnectedAccountEdge[];
11990
- pageInfo: PageInfo;
11991
- totalCount: number;
11992
- }
11993
12774
  /** A connection to a list of `PhoneNumber` values. */
11994
12775
  export interface PhoneNumberConnection {
11995
12776
  nodes: PhoneNumber[];
@@ -12067,13 +12848,6 @@ export interface RateLimitsModuleConnection {
12067
12848
  pageInfo: PageInfo;
12068
12849
  totalCount: number;
12069
12850
  }
12070
- /** A connection to a list of `TableTemplateModule` values. */
12071
- export interface TableTemplateModuleConnection {
12072
- nodes: TableTemplateModule[];
12073
- edges: TableTemplateModuleEdge[];
12074
- pageInfo: PageInfo;
12075
- totalCount: number;
12076
- }
12077
12851
  /** A connection to a list of `OrgChartEdgeGrant` values. */
12078
12852
  export interface OrgChartEdgeGrantConnection {
12079
12853
  nodes: OrgChartEdgeGrant[];
@@ -12088,6 +12862,13 @@ export interface OrgLimitConnection {
12088
12862
  pageInfo: PageInfo;
12089
12863
  totalCount: number;
12090
12864
  }
12865
+ /** A connection to a list of `MembershipType` values. */
12866
+ export interface MembershipTypeConnection {
12867
+ nodes: MembershipType[];
12868
+ edges: MembershipTypeEdge[];
12869
+ pageInfo: PageInfo;
12870
+ totalCount: number;
12871
+ }
12091
12872
  /** A connection to a list of `Domain` values. */
12092
12873
  export interface DomainConnection {
12093
12874
  nodes: Domain[];
@@ -12186,6 +12967,13 @@ export interface DenormalizedTableFieldConnection {
12186
12967
  pageInfo: PageInfo;
12187
12968
  totalCount: number;
12188
12969
  }
12970
+ /** A connection to a list of `OrgMemberProfile` values. */
12971
+ export interface OrgMemberProfileConnection {
12972
+ nodes: OrgMemberProfile[];
12973
+ edges: OrgMemberProfileEdge[];
12974
+ pageInfo: PageInfo;
12975
+ totalCount: number;
12976
+ }
12189
12977
  /** A connection to a list of `SqlAction` values. */
12190
12978
  export interface SqlActionConnection {
12191
12979
  nodes: SqlAction[];
@@ -12291,6 +13079,13 @@ export interface UniqueConstraintConnection {
12291
13079
  pageInfo: PageInfo;
12292
13080
  totalCount: number;
12293
13081
  }
13082
+ /** A connection to a list of `SpatialRelation` values. */
13083
+ export interface SpatialRelationConnection {
13084
+ nodes: SpatialRelation[];
13085
+ edges: SpatialRelationEdge[];
13086
+ pageInfo: PageInfo;
13087
+ totalCount: number;
13088
+ }
12294
13089
  /** A connection to a list of `Policy` values. */
12295
13090
  export interface PolicyConnection {
12296
13091
  nodes: Policy[];
@@ -12298,6 +13093,13 @@ export interface PolicyConnection {
12298
13093
  pageInfo: PageInfo;
12299
13094
  totalCount: number;
12300
13095
  }
13096
+ /** A connection to a list of `EntityTypeProvision` values. */
13097
+ export interface EntityTypeProvisionConnection {
13098
+ nodes: EntityTypeProvision[];
13099
+ edges: EntityTypeProvisionEdge[];
13100
+ pageInfo: PageInfo;
13101
+ totalCount: number;
13102
+ }
12301
13103
  /** A connection to a list of `PermissionsModule` values. */
12302
13104
  export interface PermissionsModuleConnection {
12303
13105
  nodes: PermissionsModule[];
@@ -12305,24 +13107,10 @@ export interface PermissionsModuleConnection {
12305
13107
  pageInfo: PageInfo;
12306
13108
  totalCount: number;
12307
13109
  }
12308
- /** A connection to a list of `AppInvite` values. */
12309
- export interface AppInviteConnection {
12310
- nodes: AppInvite[];
12311
- edges: AppInviteEdge[];
12312
- pageInfo: PageInfo;
12313
- totalCount: number;
12314
- }
12315
- /** A connection to a list of `AppMembership` values. */
12316
- export interface AppMembershipConnection {
12317
- nodes: AppMembership[];
12318
- edges: AppMembershipEdge[];
12319
- pageInfo: PageInfo;
12320
- totalCount: number;
12321
- }
12322
- /** A connection to a list of `OrgMembership` values. */
12323
- export interface OrgMembershipConnection {
12324
- nodes: OrgMembership[];
12325
- edges: OrgMembershipEdge[];
13110
+ /** A connection to a list of `AppInvite` values. */
13111
+ export interface AppInviteConnection {
13112
+ nodes: AppInvite[];
13113
+ edges: AppInviteEdge[];
12326
13114
  pageInfo: PageInfo;
12327
13115
  totalCount: number;
12328
13116
  }
@@ -12354,6 +13142,13 @@ export interface ProfilesModuleConnection {
12354
13142
  pageInfo: PageInfo;
12355
13143
  totalCount: number;
12356
13144
  }
13145
+ /** A connection to a list of `AppMembership` values. */
13146
+ export interface AppMembershipConnection {
13147
+ nodes: AppMembership[];
13148
+ edges: AppMembershipEdge[];
13149
+ pageInfo: PageInfo;
13150
+ totalCount: number;
13151
+ }
12357
13152
  /** A connection to a list of `Index` values. */
12358
13153
  export interface IndexConnection {
12359
13154
  nodes: Index[];
@@ -12375,6 +13170,13 @@ export interface SecureTableProvisionConnection {
12375
13170
  pageInfo: PageInfo;
12376
13171
  totalCount: number;
12377
13172
  }
13173
+ /** A connection to a list of `OrgMembership` values. */
13174
+ export interface OrgMembershipConnection {
13175
+ nodes: OrgMembership[];
13176
+ edges: OrgMembershipEdge[];
13177
+ pageInfo: PageInfo;
13178
+ totalCount: number;
13179
+ }
12378
13180
  /** A connection to a list of `BlueprintTemplate` values. */
12379
13181
  export interface BlueprintTemplateConnection {
12380
13182
  nodes: BlueprintTemplate[];
@@ -12468,6 +13270,18 @@ export interface RejectDatabaseTransferPayload {
12468
13270
  clientMutationId?: string | null;
12469
13271
  result?: boolean | null;
12470
13272
  }
13273
+ export interface DisconnectAccountPayload {
13274
+ clientMutationId?: string | null;
13275
+ result?: boolean | null;
13276
+ }
13277
+ export interface RevokeApiKeyPayload {
13278
+ clientMutationId?: string | null;
13279
+ result?: boolean | null;
13280
+ }
13281
+ export interface RevokeSessionPayload {
13282
+ clientMutationId?: string | null;
13283
+ result?: boolean | null;
13284
+ }
12471
13285
  export interface VerifyPasswordPayload {
12472
13286
  clientMutationId?: string | null;
12473
13287
  result?: boolean | null;
@@ -12509,6 +13323,10 @@ export interface ConstructBlueprintPayload {
12509
13323
  clientMutationId?: string | null;
12510
13324
  result?: string | null;
12511
13325
  }
13326
+ export interface ProvisionNewUserPayload {
13327
+ clientMutationId?: string | null;
13328
+ result?: string | null;
13329
+ }
12512
13330
  export interface ResetPasswordPayload {
12513
13331
  clientMutationId?: string | null;
12514
13332
  result?: boolean | null;
@@ -12521,6 +13339,14 @@ export interface CopyTemplateToBlueprintPayload {
12521
13339
  clientMutationId?: string | null;
12522
13340
  result?: string | null;
12523
13341
  }
13342
+ export interface CreateApiKeyPayload {
13343
+ clientMutationId?: string | null;
13344
+ result?: CreateApiKeyRecord | null;
13345
+ }
13346
+ export interface ProvisionSpatialRelationPayload {
13347
+ clientMutationId?: string | null;
13348
+ result?: string | null;
13349
+ }
12524
13350
  export interface BootstrapUserPayload {
12525
13351
  clientMutationId?: string | null;
12526
13352
  result?: BootstrapUserRecord[] | null;
@@ -12570,9 +13396,9 @@ export interface ProvisionRelationPayload {
12570
13396
  export interface ApplyRlsPayload {
12571
13397
  clientMutationId?: string | null;
12572
13398
  }
12573
- export interface SignInOneTimeTokenPayload {
13399
+ export interface SignInCrossOriginPayload {
12574
13400
  clientMutationId?: string | null;
12575
- result?: SignInOneTimeTokenRecord | null;
13401
+ result?: SignInCrossOriginRecord | null;
12576
13402
  }
12577
13403
  export interface CreateUserDatabasePayload {
12578
13404
  clientMutationId?: string | null;
@@ -12582,18 +13408,18 @@ export interface ExtendTokenExpiresPayload {
12582
13408
  clientMutationId?: string | null;
12583
13409
  result?: ExtendTokenExpiresRecord[] | null;
12584
13410
  }
12585
- export interface SignInPayload {
12586
- clientMutationId?: string | null;
12587
- result?: SignInRecord | null;
12588
- }
12589
13411
  export interface SignUpPayload {
12590
13412
  clientMutationId?: string | null;
12591
13413
  result?: SignUpRecord | null;
12592
13414
  }
12593
- export interface OneTimeTokenPayload {
13415
+ export interface RequestCrossOriginTokenPayload {
12594
13416
  clientMutationId?: string | null;
12595
13417
  result?: string | null;
12596
13418
  }
13419
+ export interface SignInPayload {
13420
+ clientMutationId?: string | null;
13421
+ result?: SignInRecord | null;
13422
+ }
12597
13423
  export interface ProvisionTablePayload {
12598
13424
  clientMutationId?: string | null;
12599
13425
  result?: ProvisionTableRecord[] | null;
@@ -12713,6 +13539,12 @@ export interface CreateViewRulePayload {
12713
13539
  viewRule?: ViewRule | null;
12714
13540
  viewRuleEdge?: ViewRuleEdge | null;
12715
13541
  }
13542
+ export interface CreateSessionSecretsModulePayload {
13543
+ clientMutationId?: string | null;
13544
+ /** The `SessionSecretsModule` that was created by this mutation. */
13545
+ sessionSecretsModule?: SessionSecretsModule | null;
13546
+ sessionSecretsModuleEdge?: SessionSecretsModuleEdge | null;
13547
+ }
12716
13548
  export interface CreateAppAdminGrantPayload {
12717
13549
  clientMutationId?: string | null;
12718
13550
  /** The `AppAdminGrant` that was created by this mutation. */
@@ -12766,6 +13598,12 @@ export interface CreateConnectedAccountsModulePayload {
12766
13598
  connectedAccountsModule?: ConnectedAccountsModule | null;
12767
13599
  connectedAccountsModuleEdge?: ConnectedAccountsModuleEdge | null;
12768
13600
  }
13601
+ export interface CreateDevicesModulePayload {
13602
+ clientMutationId?: string | null;
13603
+ /** The `DevicesModule` that was created by this mutation. */
13604
+ devicesModule?: DevicesModule | null;
13605
+ devicesModuleEdge?: DevicesModuleEdge | null;
13606
+ }
12769
13607
  export interface CreateEmailsModulePayload {
12770
13608
  clientMutationId?: string | null;
12771
13609
  /** The `EmailsModule` that was created by this mutation. */
@@ -12784,6 +13622,12 @@ export interface CreateUsersModulePayload {
12784
13622
  usersModule?: UsersModule | null;
12785
13623
  usersModuleEdge?: UsersModuleEdge | null;
12786
13624
  }
13625
+ export interface CreateWebauthnCredentialsModulePayload {
13626
+ clientMutationId?: string | null;
13627
+ /** The `WebauthnCredentialsModule` that was created by this mutation. */
13628
+ webauthnCredentialsModule?: WebauthnCredentialsModule | null;
13629
+ webauthnCredentialsModuleEdge?: WebauthnCredentialsModuleEdge | null;
13630
+ }
12787
13631
  export interface CreateOrgAdminGrantPayload {
12788
13632
  clientMutationId?: string | null;
12789
13633
  /** The `OrgAdminGrant` that was created by this mutation. */
@@ -12802,11 +13646,10 @@ export interface CreateCryptoAddressPayload {
12802
13646
  cryptoAddress?: CryptoAddress | null;
12803
13647
  cryptoAddressEdge?: CryptoAddressEdge | null;
12804
13648
  }
12805
- export interface CreateMembershipTypePayload {
13649
+ export interface CreateUserConnectedAccountPayload {
12806
13650
  clientMutationId?: string | null;
12807
- /** The `MembershipType` that was created by this mutation. */
12808
- membershipType?: MembershipType | null;
12809
- membershipTypeEdge?: MembershipTypeEdge | null;
13651
+ /** The `UserConnectedAccount` that was created by this mutation. */
13652
+ userConnectedAccount?: UserConnectedAccount | null;
12810
13653
  }
12811
13654
  export interface CreateObjectPayload {
12812
13655
  clientMutationId?: string | null;
@@ -12826,12 +13669,6 @@ export interface CreateCryptoAddressesModulePayload {
12826
13669
  cryptoAddressesModule?: CryptoAddressesModule | null;
12827
13670
  cryptoAddressesModuleEdge?: CryptoAddressesModuleEdge | null;
12828
13671
  }
12829
- export interface CreateConnectedAccountPayload {
12830
- clientMutationId?: string | null;
12831
- /** The `ConnectedAccount` that was created by this mutation. */
12832
- connectedAccount?: ConnectedAccount | null;
12833
- connectedAccountEdge?: ConnectedAccountEdge | null;
12834
- }
12835
13672
  export interface CreatePhoneNumberPayload {
12836
13673
  clientMutationId?: string | null;
12837
13674
  /** The `PhoneNumber` that was created by this mutation. */
@@ -12910,12 +13747,6 @@ export interface CreateRateLimitsModulePayload {
12910
13747
  rateLimitsModule?: RateLimitsModule | null;
12911
13748
  rateLimitsModuleEdge?: RateLimitsModuleEdge | null;
12912
13749
  }
12913
- export interface CreateTableTemplateModulePayload {
12914
- clientMutationId?: string | null;
12915
- /** The `TableTemplateModule` that was created by this mutation. */
12916
- tableTemplateModule?: TableTemplateModule | null;
12917
- tableTemplateModuleEdge?: TableTemplateModuleEdge | null;
12918
- }
12919
13750
  export interface CreateOrgChartEdgeGrantPayload {
12920
13751
  clientMutationId?: string | null;
12921
13752
  /** The `OrgChartEdgeGrant` that was created by this mutation. */
@@ -12928,6 +13759,12 @@ export interface CreateOrgLimitPayload {
12928
13759
  orgLimit?: OrgLimit | null;
12929
13760
  orgLimitEdge?: OrgLimitEdge | null;
12930
13761
  }
13762
+ export interface CreateMembershipTypePayload {
13763
+ clientMutationId?: string | null;
13764
+ /** The `MembershipType` that was created by this mutation. */
13765
+ membershipType?: MembershipType | null;
13766
+ membershipTypeEdge?: MembershipTypeEdge | null;
13767
+ }
12931
13768
  export interface CreateDomainPayload {
12932
13769
  clientMutationId?: string | null;
12933
13770
  /** The `Domain` that was created by this mutation. */
@@ -13018,6 +13855,12 @@ export interface CreateDenormalizedTableFieldPayload {
13018
13855
  denormalizedTableField?: DenormalizedTableField | null;
13019
13856
  denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
13020
13857
  }
13858
+ export interface CreateOrgMemberProfilePayload {
13859
+ clientMutationId?: string | null;
13860
+ /** The `OrgMemberProfile` that was created by this mutation. */
13861
+ orgMemberProfile?: OrgMemberProfile | null;
13862
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
13863
+ }
13021
13864
  export interface CreateSqlActionPayload {
13022
13865
  clientMutationId?: string | null;
13023
13866
  /** The `SqlAction` that was created by this mutation. */
@@ -13106,12 +13949,24 @@ export interface CreateUniqueConstraintPayload {
13106
13949
  uniqueConstraint?: UniqueConstraint | null;
13107
13950
  uniqueConstraintEdge?: UniqueConstraintEdge | null;
13108
13951
  }
13952
+ export interface CreateSpatialRelationPayload {
13953
+ clientMutationId?: string | null;
13954
+ /** The `SpatialRelation` that was created by this mutation. */
13955
+ spatialRelation?: SpatialRelation | null;
13956
+ spatialRelationEdge?: SpatialRelationEdge | null;
13957
+ }
13109
13958
  export interface CreatePolicyPayload {
13110
13959
  clientMutationId?: string | null;
13111
13960
  /** The `Policy` that was created by this mutation. */
13112
13961
  policy?: Policy | null;
13113
13962
  policyEdge?: PolicyEdge | null;
13114
13963
  }
13964
+ export interface CreateEntityTypeProvisionPayload {
13965
+ clientMutationId?: string | null;
13966
+ /** The `EntityTypeProvision` that was created by this mutation. */
13967
+ entityTypeProvision?: EntityTypeProvision | null;
13968
+ entityTypeProvisionEdge?: EntityTypeProvisionEdge | null;
13969
+ }
13115
13970
  export interface CreatePermissionsModulePayload {
13116
13971
  clientMutationId?: string | null;
13117
13972
  /** The `PermissionsModule` that was created by this mutation. */
@@ -13124,18 +13979,6 @@ export interface CreateAppInvitePayload {
13124
13979
  appInvite?: AppInvite | null;
13125
13980
  appInviteEdge?: AppInviteEdge | null;
13126
13981
  }
13127
- export interface CreateAppMembershipPayload {
13128
- clientMutationId?: string | null;
13129
- /** The `AppMembership` that was created by this mutation. */
13130
- appMembership?: AppMembership | null;
13131
- appMembershipEdge?: AppMembershipEdge | null;
13132
- }
13133
- export interface CreateOrgMembershipPayload {
13134
- clientMutationId?: string | null;
13135
- /** The `OrgMembership` that was created by this mutation. */
13136
- orgMembership?: OrgMembership | null;
13137
- orgMembershipEdge?: OrgMembershipEdge | null;
13138
- }
13139
13982
  export interface CreateEmbeddingChunkPayload {
13140
13983
  clientMutationId?: string | null;
13141
13984
  /** The `EmbeddingChunk` that was created by this mutation. */
@@ -13160,6 +14003,12 @@ export interface CreateProfilesModulePayload {
13160
14003
  profilesModule?: ProfilesModule | null;
13161
14004
  profilesModuleEdge?: ProfilesModuleEdge | null;
13162
14005
  }
14006
+ export interface CreateAppMembershipPayload {
14007
+ clientMutationId?: string | null;
14008
+ /** The `AppMembership` that was created by this mutation. */
14009
+ appMembership?: AppMembership | null;
14010
+ appMembershipEdge?: AppMembershipEdge | null;
14011
+ }
13163
14012
  export interface CreateIndexPayload {
13164
14013
  clientMutationId?: string | null;
13165
14014
  /** The `Index` that was created by this mutation. */
@@ -13178,6 +14027,12 @@ export interface CreateSecureTableProvisionPayload {
13178
14027
  secureTableProvision?: SecureTableProvision | null;
13179
14028
  secureTableProvisionEdge?: SecureTableProvisionEdge | null;
13180
14029
  }
14030
+ export interface CreateOrgMembershipPayload {
14031
+ clientMutationId?: string | null;
14032
+ /** The `OrgMembership` that was created by this mutation. */
14033
+ orgMembership?: OrgMembership | null;
14034
+ orgMembershipEdge?: OrgMembershipEdge | null;
14035
+ }
13181
14036
  export interface CreateBlueprintTemplatePayload {
13182
14037
  clientMutationId?: string | null;
13183
14038
  /** The `BlueprintTemplate` that was created by this mutation. */
@@ -13346,6 +14201,12 @@ export interface UpdateViewRulePayload {
13346
14201
  viewRule?: ViewRule | null;
13347
14202
  viewRuleEdge?: ViewRuleEdge | null;
13348
14203
  }
14204
+ export interface UpdateSessionSecretsModulePayload {
14205
+ clientMutationId?: string | null;
14206
+ /** The `SessionSecretsModule` that was updated by this mutation. */
14207
+ sessionSecretsModule?: SessionSecretsModule | null;
14208
+ sessionSecretsModuleEdge?: SessionSecretsModuleEdge | null;
14209
+ }
13349
14210
  export interface UpdateAppAdminGrantPayload {
13350
14211
  clientMutationId?: string | null;
13351
14212
  /** The `AppAdminGrant` that was updated by this mutation. */
@@ -13394,6 +14255,12 @@ export interface UpdateConnectedAccountsModulePayload {
13394
14255
  connectedAccountsModule?: ConnectedAccountsModule | null;
13395
14256
  connectedAccountsModuleEdge?: ConnectedAccountsModuleEdge | null;
13396
14257
  }
14258
+ export interface UpdateDevicesModulePayload {
14259
+ clientMutationId?: string | null;
14260
+ /** The `DevicesModule` that was updated by this mutation. */
14261
+ devicesModule?: DevicesModule | null;
14262
+ devicesModuleEdge?: DevicesModuleEdge | null;
14263
+ }
13397
14264
  export interface UpdateEmailsModulePayload {
13398
14265
  clientMutationId?: string | null;
13399
14266
  /** The `EmailsModule` that was updated by this mutation. */
@@ -13412,6 +14279,12 @@ export interface UpdateUsersModulePayload {
13412
14279
  usersModule?: UsersModule | null;
13413
14280
  usersModuleEdge?: UsersModuleEdge | null;
13414
14281
  }
14282
+ export interface UpdateWebauthnCredentialsModulePayload {
14283
+ clientMutationId?: string | null;
14284
+ /** The `WebauthnCredentialsModule` that was updated by this mutation. */
14285
+ webauthnCredentialsModule?: WebauthnCredentialsModule | null;
14286
+ webauthnCredentialsModuleEdge?: WebauthnCredentialsModuleEdge | null;
14287
+ }
13415
14288
  export interface UpdateOrgAdminGrantPayload {
13416
14289
  clientMutationId?: string | null;
13417
14290
  /** The `OrgAdminGrant` that was updated by this mutation. */
@@ -13430,12 +14303,6 @@ export interface UpdateCryptoAddressPayload {
13430
14303
  cryptoAddress?: CryptoAddress | null;
13431
14304
  cryptoAddressEdge?: CryptoAddressEdge | null;
13432
14305
  }
13433
- export interface UpdateMembershipTypePayload {
13434
- clientMutationId?: string | null;
13435
- /** The `MembershipType` that was updated by this mutation. */
13436
- membershipType?: MembershipType | null;
13437
- membershipTypeEdge?: MembershipTypeEdge | null;
13438
- }
13439
14306
  export interface UpdateObjectPayload {
13440
14307
  clientMutationId?: string | null;
13441
14308
  /** The `Object` that was updated by this mutation. */
@@ -13454,12 +14321,6 @@ export interface UpdateCryptoAddressesModulePayload {
13454
14321
  cryptoAddressesModule?: CryptoAddressesModule | null;
13455
14322
  cryptoAddressesModuleEdge?: CryptoAddressesModuleEdge | null;
13456
14323
  }
13457
- export interface UpdateConnectedAccountPayload {
13458
- clientMutationId?: string | null;
13459
- /** The `ConnectedAccount` that was updated by this mutation. */
13460
- connectedAccount?: ConnectedAccount | null;
13461
- connectedAccountEdge?: ConnectedAccountEdge | null;
13462
- }
13463
14324
  export interface UpdatePhoneNumberPayload {
13464
14325
  clientMutationId?: string | null;
13465
14326
  /** The `PhoneNumber` that was updated by this mutation. */
@@ -13538,12 +14399,6 @@ export interface UpdateRateLimitsModulePayload {
13538
14399
  rateLimitsModule?: RateLimitsModule | null;
13539
14400
  rateLimitsModuleEdge?: RateLimitsModuleEdge | null;
13540
14401
  }
13541
- export interface UpdateTableTemplateModulePayload {
13542
- clientMutationId?: string | null;
13543
- /** The `TableTemplateModule` that was updated by this mutation. */
13544
- tableTemplateModule?: TableTemplateModule | null;
13545
- tableTemplateModuleEdge?: TableTemplateModuleEdge | null;
13546
- }
13547
14402
  export interface UpdateOrgChartEdgeGrantPayload {
13548
14403
  clientMutationId?: string | null;
13549
14404
  /** The `OrgChartEdgeGrant` that was updated by this mutation. */
@@ -13556,6 +14411,12 @@ export interface UpdateOrgLimitPayload {
13556
14411
  orgLimit?: OrgLimit | null;
13557
14412
  orgLimitEdge?: OrgLimitEdge | null;
13558
14413
  }
14414
+ export interface UpdateMembershipTypePayload {
14415
+ clientMutationId?: string | null;
14416
+ /** The `MembershipType` that was updated by this mutation. */
14417
+ membershipType?: MembershipType | null;
14418
+ membershipTypeEdge?: MembershipTypeEdge | null;
14419
+ }
13559
14420
  export interface UpdateDomainPayload {
13560
14421
  clientMutationId?: string | null;
13561
14422
  /** The `Domain` that was updated by this mutation. */
@@ -13646,6 +14507,12 @@ export interface UpdateDenormalizedTableFieldPayload {
13646
14507
  denormalizedTableField?: DenormalizedTableField | null;
13647
14508
  denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
13648
14509
  }
14510
+ export interface UpdateOrgMemberProfilePayload {
14511
+ clientMutationId?: string | null;
14512
+ /** The `OrgMemberProfile` that was updated by this mutation. */
14513
+ orgMemberProfile?: OrgMemberProfile | null;
14514
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
14515
+ }
13649
14516
  export interface UpdateDatabaseTransferPayload {
13650
14517
  clientMutationId?: string | null;
13651
14518
  /** The `DatabaseTransfer` that was updated by this mutation. */
@@ -13724,12 +14591,24 @@ export interface UpdateUniqueConstraintPayload {
13724
14591
  uniqueConstraint?: UniqueConstraint | null;
13725
14592
  uniqueConstraintEdge?: UniqueConstraintEdge | null;
13726
14593
  }
14594
+ export interface UpdateSpatialRelationPayload {
14595
+ clientMutationId?: string | null;
14596
+ /** The `SpatialRelation` that was updated by this mutation. */
14597
+ spatialRelation?: SpatialRelation | null;
14598
+ spatialRelationEdge?: SpatialRelationEdge | null;
14599
+ }
13727
14600
  export interface UpdatePolicyPayload {
13728
14601
  clientMutationId?: string | null;
13729
14602
  /** The `Policy` that was updated by this mutation. */
13730
14603
  policy?: Policy | null;
13731
14604
  policyEdge?: PolicyEdge | null;
13732
14605
  }
14606
+ export interface UpdateEntityTypeProvisionPayload {
14607
+ clientMutationId?: string | null;
14608
+ /** The `EntityTypeProvision` that was updated by this mutation. */
14609
+ entityTypeProvision?: EntityTypeProvision | null;
14610
+ entityTypeProvisionEdge?: EntityTypeProvisionEdge | null;
14611
+ }
13733
14612
  export interface UpdatePermissionsModulePayload {
13734
14613
  clientMutationId?: string | null;
13735
14614
  /** The `PermissionsModule` that was updated by this mutation. */
@@ -13742,18 +14621,6 @@ export interface UpdateAppInvitePayload {
13742
14621
  appInvite?: AppInvite | null;
13743
14622
  appInviteEdge?: AppInviteEdge | null;
13744
14623
  }
13745
- export interface UpdateAppMembershipPayload {
13746
- clientMutationId?: string | null;
13747
- /** The `AppMembership` that was updated by this mutation. */
13748
- appMembership?: AppMembership | null;
13749
- appMembershipEdge?: AppMembershipEdge | null;
13750
- }
13751
- export interface UpdateOrgMembershipPayload {
13752
- clientMutationId?: string | null;
13753
- /** The `OrgMembership` that was updated by this mutation. */
13754
- orgMembership?: OrgMembership | null;
13755
- orgMembershipEdge?: OrgMembershipEdge | null;
13756
- }
13757
14624
  export interface UpdateEmbeddingChunkPayload {
13758
14625
  clientMutationId?: string | null;
13759
14626
  /** The `EmbeddingChunk` that was updated by this mutation. */
@@ -13778,6 +14645,12 @@ export interface UpdateProfilesModulePayload {
13778
14645
  profilesModule?: ProfilesModule | null;
13779
14646
  profilesModuleEdge?: ProfilesModuleEdge | null;
13780
14647
  }
14648
+ export interface UpdateAppMembershipPayload {
14649
+ clientMutationId?: string | null;
14650
+ /** The `AppMembership` that was updated by this mutation. */
14651
+ appMembership?: AppMembership | null;
14652
+ appMembershipEdge?: AppMembershipEdge | null;
14653
+ }
13781
14654
  export interface UpdateIndexPayload {
13782
14655
  clientMutationId?: string | null;
13783
14656
  /** The `Index` that was updated by this mutation. */
@@ -13796,6 +14669,12 @@ export interface UpdateSecureTableProvisionPayload {
13796
14669
  secureTableProvision?: SecureTableProvision | null;
13797
14670
  secureTableProvisionEdge?: SecureTableProvisionEdge | null;
13798
14671
  }
14672
+ export interface UpdateOrgMembershipPayload {
14673
+ clientMutationId?: string | null;
14674
+ /** The `OrgMembership` that was updated by this mutation. */
14675
+ orgMembership?: OrgMembership | null;
14676
+ orgMembershipEdge?: OrgMembershipEdge | null;
14677
+ }
13799
14678
  export interface UpdateBlueprintTemplatePayload {
13800
14679
  clientMutationId?: string | null;
13801
14680
  /** The `BlueprintTemplate` that was updated by this mutation. */
@@ -13964,6 +14843,12 @@ export interface DeleteViewRulePayload {
13964
14843
  viewRule?: ViewRule | null;
13965
14844
  viewRuleEdge?: ViewRuleEdge | null;
13966
14845
  }
14846
+ export interface DeleteSessionSecretsModulePayload {
14847
+ clientMutationId?: string | null;
14848
+ /** The `SessionSecretsModule` that was deleted by this mutation. */
14849
+ sessionSecretsModule?: SessionSecretsModule | null;
14850
+ sessionSecretsModuleEdge?: SessionSecretsModuleEdge | null;
14851
+ }
13967
14852
  export interface DeleteAppAdminGrantPayload {
13968
14853
  clientMutationId?: string | null;
13969
14854
  /** The `AppAdminGrant` that was deleted by this mutation. */
@@ -14012,6 +14897,12 @@ export interface DeleteConnectedAccountsModulePayload {
14012
14897
  connectedAccountsModule?: ConnectedAccountsModule | null;
14013
14898
  connectedAccountsModuleEdge?: ConnectedAccountsModuleEdge | null;
14014
14899
  }
14900
+ export interface DeleteDevicesModulePayload {
14901
+ clientMutationId?: string | null;
14902
+ /** The `DevicesModule` that was deleted by this mutation. */
14903
+ devicesModule?: DevicesModule | null;
14904
+ devicesModuleEdge?: DevicesModuleEdge | null;
14905
+ }
14015
14906
  export interface DeleteEmailsModulePayload {
14016
14907
  clientMutationId?: string | null;
14017
14908
  /** The `EmailsModule` that was deleted by this mutation. */
@@ -14030,6 +14921,12 @@ export interface DeleteUsersModulePayload {
14030
14921
  usersModule?: UsersModule | null;
14031
14922
  usersModuleEdge?: UsersModuleEdge | null;
14032
14923
  }
14924
+ export interface DeleteWebauthnCredentialsModulePayload {
14925
+ clientMutationId?: string | null;
14926
+ /** The `WebauthnCredentialsModule` that was deleted by this mutation. */
14927
+ webauthnCredentialsModule?: WebauthnCredentialsModule | null;
14928
+ webauthnCredentialsModuleEdge?: WebauthnCredentialsModuleEdge | null;
14929
+ }
14033
14930
  export interface DeleteOrgAdminGrantPayload {
14034
14931
  clientMutationId?: string | null;
14035
14932
  /** The `OrgAdminGrant` that was deleted by this mutation. */
@@ -14048,12 +14945,6 @@ export interface DeleteCryptoAddressPayload {
14048
14945
  cryptoAddress?: CryptoAddress | null;
14049
14946
  cryptoAddressEdge?: CryptoAddressEdge | null;
14050
14947
  }
14051
- export interface DeleteMembershipTypePayload {
14052
- clientMutationId?: string | null;
14053
- /** The `MembershipType` that was deleted by this mutation. */
14054
- membershipType?: MembershipType | null;
14055
- membershipTypeEdge?: MembershipTypeEdge | null;
14056
- }
14057
14948
  export interface DeleteObjectPayload {
14058
14949
  clientMutationId?: string | null;
14059
14950
  /** The `Object` that was deleted by this mutation. */
@@ -14072,12 +14963,6 @@ export interface DeleteCryptoAddressesModulePayload {
14072
14963
  cryptoAddressesModule?: CryptoAddressesModule | null;
14073
14964
  cryptoAddressesModuleEdge?: CryptoAddressesModuleEdge | null;
14074
14965
  }
14075
- export interface DeleteConnectedAccountPayload {
14076
- clientMutationId?: string | null;
14077
- /** The `ConnectedAccount` that was deleted by this mutation. */
14078
- connectedAccount?: ConnectedAccount | null;
14079
- connectedAccountEdge?: ConnectedAccountEdge | null;
14080
- }
14081
14966
  export interface DeletePhoneNumberPayload {
14082
14967
  clientMutationId?: string | null;
14083
14968
  /** The `PhoneNumber` that was deleted by this mutation. */
@@ -14156,12 +15041,6 @@ export interface DeleteRateLimitsModulePayload {
14156
15041
  rateLimitsModule?: RateLimitsModule | null;
14157
15042
  rateLimitsModuleEdge?: RateLimitsModuleEdge | null;
14158
15043
  }
14159
- export interface DeleteTableTemplateModulePayload {
14160
- clientMutationId?: string | null;
14161
- /** The `TableTemplateModule` that was deleted by this mutation. */
14162
- tableTemplateModule?: TableTemplateModule | null;
14163
- tableTemplateModuleEdge?: TableTemplateModuleEdge | null;
14164
- }
14165
15044
  export interface DeleteOrgChartEdgeGrantPayload {
14166
15045
  clientMutationId?: string | null;
14167
15046
  /** The `OrgChartEdgeGrant` that was deleted by this mutation. */
@@ -14174,6 +15053,12 @@ export interface DeleteOrgLimitPayload {
14174
15053
  orgLimit?: OrgLimit | null;
14175
15054
  orgLimitEdge?: OrgLimitEdge | null;
14176
15055
  }
15056
+ export interface DeleteMembershipTypePayload {
15057
+ clientMutationId?: string | null;
15058
+ /** The `MembershipType` that was deleted by this mutation. */
15059
+ membershipType?: MembershipType | null;
15060
+ membershipTypeEdge?: MembershipTypeEdge | null;
15061
+ }
14177
15062
  export interface DeleteDomainPayload {
14178
15063
  clientMutationId?: string | null;
14179
15064
  /** The `Domain` that was deleted by this mutation. */
@@ -14264,6 +15149,12 @@ export interface DeleteDenormalizedTableFieldPayload {
14264
15149
  denormalizedTableField?: DenormalizedTableField | null;
14265
15150
  denormalizedTableFieldEdge?: DenormalizedTableFieldEdge | null;
14266
15151
  }
15152
+ export interface DeleteOrgMemberProfilePayload {
15153
+ clientMutationId?: string | null;
15154
+ /** The `OrgMemberProfile` that was deleted by this mutation. */
15155
+ orgMemberProfile?: OrgMemberProfile | null;
15156
+ orgMemberProfileEdge?: OrgMemberProfileEdge | null;
15157
+ }
14267
15158
  export interface DeleteDatabaseTransferPayload {
14268
15159
  clientMutationId?: string | null;
14269
15160
  /** The `DatabaseTransfer` that was deleted by this mutation. */
@@ -14342,12 +15233,24 @@ export interface DeleteUniqueConstraintPayload {
14342
15233
  uniqueConstraint?: UniqueConstraint | null;
14343
15234
  uniqueConstraintEdge?: UniqueConstraintEdge | null;
14344
15235
  }
15236
+ export interface DeleteSpatialRelationPayload {
15237
+ clientMutationId?: string | null;
15238
+ /** The `SpatialRelation` that was deleted by this mutation. */
15239
+ spatialRelation?: SpatialRelation | null;
15240
+ spatialRelationEdge?: SpatialRelationEdge | null;
15241
+ }
14345
15242
  export interface DeletePolicyPayload {
14346
15243
  clientMutationId?: string | null;
14347
15244
  /** The `Policy` that was deleted by this mutation. */
14348
15245
  policy?: Policy | null;
14349
15246
  policyEdge?: PolicyEdge | null;
14350
15247
  }
15248
+ export interface DeleteEntityTypeProvisionPayload {
15249
+ clientMutationId?: string | null;
15250
+ /** The `EntityTypeProvision` that was deleted by this mutation. */
15251
+ entityTypeProvision?: EntityTypeProvision | null;
15252
+ entityTypeProvisionEdge?: EntityTypeProvisionEdge | null;
15253
+ }
14351
15254
  export interface DeletePermissionsModulePayload {
14352
15255
  clientMutationId?: string | null;
14353
15256
  /** The `PermissionsModule` that was deleted by this mutation. */
@@ -14360,18 +15263,6 @@ export interface DeleteAppInvitePayload {
14360
15263
  appInvite?: AppInvite | null;
14361
15264
  appInviteEdge?: AppInviteEdge | null;
14362
15265
  }
14363
- export interface DeleteAppMembershipPayload {
14364
- clientMutationId?: string | null;
14365
- /** The `AppMembership` that was deleted by this mutation. */
14366
- appMembership?: AppMembership | null;
14367
- appMembershipEdge?: AppMembershipEdge | null;
14368
- }
14369
- export interface DeleteOrgMembershipPayload {
14370
- clientMutationId?: string | null;
14371
- /** The `OrgMembership` that was deleted by this mutation. */
14372
- orgMembership?: OrgMembership | null;
14373
- orgMembershipEdge?: OrgMembershipEdge | null;
14374
- }
14375
15266
  export interface DeleteEmbeddingChunkPayload {
14376
15267
  clientMutationId?: string | null;
14377
15268
  /** The `EmbeddingChunk` that was deleted by this mutation. */
@@ -14396,6 +15287,12 @@ export interface DeleteProfilesModulePayload {
14396
15287
  profilesModule?: ProfilesModule | null;
14397
15288
  profilesModuleEdge?: ProfilesModuleEdge | null;
14398
15289
  }
15290
+ export interface DeleteAppMembershipPayload {
15291
+ clientMutationId?: string | null;
15292
+ /** The `AppMembership` that was deleted by this mutation. */
15293
+ appMembership?: AppMembership | null;
15294
+ appMembershipEdge?: AppMembershipEdge | null;
15295
+ }
14399
15296
  export interface DeleteIndexPayload {
14400
15297
  clientMutationId?: string | null;
14401
15298
  /** The `Index` that was deleted by this mutation. */
@@ -14414,6 +15311,12 @@ export interface DeleteSecureTableProvisionPayload {
14414
15311
  secureTableProvision?: SecureTableProvision | null;
14415
15312
  secureTableProvisionEdge?: SecureTableProvisionEdge | null;
14416
15313
  }
15314
+ export interface DeleteOrgMembershipPayload {
15315
+ clientMutationId?: string | null;
15316
+ /** The `OrgMembership` that was deleted by this mutation. */
15317
+ orgMembership?: OrgMembership | null;
15318
+ orgMembershipEdge?: OrgMembershipEdge | null;
15319
+ }
14417
15320
  export interface DeleteBlueprintTemplatePayload {
14418
15321
  clientMutationId?: string | null;
14419
15322
  /** The `BlueprintTemplate` that was deleted by this mutation. */
@@ -14669,6 +15572,12 @@ export interface ViewRuleEdge {
14669
15572
  /** The `ViewRule` at the end of the edge. */
14670
15573
  node?: ViewRule | null;
14671
15574
  }
15575
+ /** A `SessionSecretsModule` edge in the connection. */
15576
+ export interface SessionSecretsModuleEdge {
15577
+ cursor?: string | null;
15578
+ /** The `SessionSecretsModule` at the end of the edge. */
15579
+ node?: SessionSecretsModule | null;
15580
+ }
14672
15581
  /** A `AppAdminGrant` edge in the connection. */
14673
15582
  export interface AppAdminGrantEdge {
14674
15583
  cursor?: string | null;
@@ -14723,6 +15632,12 @@ export interface ConnectedAccountsModuleEdge {
14723
15632
  /** The `ConnectedAccountsModule` at the end of the edge. */
14724
15633
  node?: ConnectedAccountsModule | null;
14725
15634
  }
15635
+ /** A `DevicesModule` edge in the connection. */
15636
+ export interface DevicesModuleEdge {
15637
+ cursor?: string | null;
15638
+ /** The `DevicesModule` at the end of the edge. */
15639
+ node?: DevicesModule | null;
15640
+ }
14726
15641
  /** A `EmailsModule` edge in the connection. */
14727
15642
  export interface EmailsModuleEdge {
14728
15643
  cursor?: string | null;
@@ -14741,6 +15656,12 @@ export interface UsersModuleEdge {
14741
15656
  /** The `UsersModule` at the end of the edge. */
14742
15657
  node?: UsersModule | null;
14743
15658
  }
15659
+ /** A `WebauthnCredentialsModule` edge in the connection. */
15660
+ export interface WebauthnCredentialsModuleEdge {
15661
+ cursor?: string | null;
15662
+ /** The `WebauthnCredentialsModule` at the end of the edge. */
15663
+ node?: WebauthnCredentialsModule | null;
15664
+ }
14744
15665
  /** A `OrgAdminGrant` edge in the connection. */
14745
15666
  export interface OrgAdminGrantEdge {
14746
15667
  cursor?: string | null;
@@ -14759,11 +15680,11 @@ export interface CryptoAddressEdge {
14759
15680
  /** The `CryptoAddress` at the end of the edge. */
14760
15681
  node?: CryptoAddress | null;
14761
15682
  }
14762
- /** A `MembershipType` edge in the connection. */
14763
- export interface MembershipTypeEdge {
15683
+ /** A `UserConnectedAccount` edge in the connection. */
15684
+ export interface UserConnectedAccountEdge {
14764
15685
  cursor?: string | null;
14765
- /** The `MembershipType` at the end of the edge. */
14766
- node?: MembershipType | null;
15686
+ /** The `UserConnectedAccount` at the end of the edge. */
15687
+ node?: UserConnectedAccount | null;
14767
15688
  }
14768
15689
  /** A `Database` edge in the connection. */
14769
15690
  export interface DatabaseEdge {
@@ -14777,12 +15698,6 @@ export interface CryptoAddressesModuleEdge {
14777
15698
  /** The `CryptoAddressesModule` at the end of the edge. */
14778
15699
  node?: CryptoAddressesModule | null;
14779
15700
  }
14780
- /** A `ConnectedAccount` edge in the connection. */
14781
- export interface ConnectedAccountEdge {
14782
- cursor?: string | null;
14783
- /** The `ConnectedAccount` at the end of the edge. */
14784
- node?: ConnectedAccount | null;
14785
- }
14786
15701
  /** A `PhoneNumber` edge in the connection. */
14787
15702
  export interface PhoneNumberEdge {
14788
15703
  cursor?: string | null;
@@ -14849,12 +15764,6 @@ export interface RateLimitsModuleEdge {
14849
15764
  /** The `RateLimitsModule` at the end of the edge. */
14850
15765
  node?: RateLimitsModule | null;
14851
15766
  }
14852
- /** A `TableTemplateModule` edge in the connection. */
14853
- export interface TableTemplateModuleEdge {
14854
- cursor?: string | null;
14855
- /** The `TableTemplateModule` at the end of the edge. */
14856
- node?: TableTemplateModule | null;
14857
- }
14858
15767
  /** A `OrgChartEdgeGrant` edge in the connection. */
14859
15768
  export interface OrgChartEdgeGrantEdge {
14860
15769
  cursor?: string | null;
@@ -14867,6 +15776,12 @@ export interface OrgLimitEdge {
14867
15776
  /** The `OrgLimit` at the end of the edge. */
14868
15777
  node?: OrgLimit | null;
14869
15778
  }
15779
+ /** A `MembershipType` edge in the connection. */
15780
+ export interface MembershipTypeEdge {
15781
+ cursor?: string | null;
15782
+ /** The `MembershipType` at the end of the edge. */
15783
+ node?: MembershipType | null;
15784
+ }
14870
15785
  /** A `Domain` edge in the connection. */
14871
15786
  export interface DomainEdge {
14872
15787
  cursor?: string | null;
@@ -14951,6 +15866,12 @@ export interface DenormalizedTableFieldEdge {
14951
15866
  /** The `DenormalizedTableField` at the end of the edge. */
14952
15867
  node?: DenormalizedTableField | null;
14953
15868
  }
15869
+ /** A `OrgMemberProfile` edge in the connection. */
15870
+ export interface OrgMemberProfileEdge {
15871
+ cursor?: string | null;
15872
+ /** The `OrgMemberProfile` at the end of the edge. */
15873
+ node?: OrgMemberProfile | null;
15874
+ }
14954
15875
  /** A `SqlAction` edge in the connection. */
14955
15876
  export interface SqlActionEdge {
14956
15877
  cursor?: string | null;
@@ -15041,12 +15962,24 @@ export interface UniqueConstraintEdge {
15041
15962
  /** The `UniqueConstraint` at the end of the edge. */
15042
15963
  node?: UniqueConstraint | null;
15043
15964
  }
15965
+ /** A `SpatialRelation` edge in the connection. */
15966
+ export interface SpatialRelationEdge {
15967
+ cursor?: string | null;
15968
+ /** The `SpatialRelation` at the end of the edge. */
15969
+ node?: SpatialRelation | null;
15970
+ }
15044
15971
  /** A `Policy` edge in the connection. */
15045
15972
  export interface PolicyEdge {
15046
15973
  cursor?: string | null;
15047
15974
  /** The `Policy` at the end of the edge. */
15048
15975
  node?: Policy | null;
15049
15976
  }
15977
+ /** A `EntityTypeProvision` edge in the connection. */
15978
+ export interface EntityTypeProvisionEdge {
15979
+ cursor?: string | null;
15980
+ /** The `EntityTypeProvision` at the end of the edge. */
15981
+ node?: EntityTypeProvision | null;
15982
+ }
15050
15983
  /** A `PermissionsModule` edge in the connection. */
15051
15984
  export interface PermissionsModuleEdge {
15052
15985
  cursor?: string | null;
@@ -15059,18 +15992,6 @@ export interface AppInviteEdge {
15059
15992
  /** The `AppInvite` at the end of the edge. */
15060
15993
  node?: AppInvite | null;
15061
15994
  }
15062
- /** A `AppMembership` edge in the connection. */
15063
- export interface AppMembershipEdge {
15064
- cursor?: string | null;
15065
- /** The `AppMembership` at the end of the edge. */
15066
- node?: AppMembership | null;
15067
- }
15068
- /** A `OrgMembership` edge in the connection. */
15069
- export interface OrgMembershipEdge {
15070
- cursor?: string | null;
15071
- /** The `OrgMembership` at the end of the edge. */
15072
- node?: OrgMembership | null;
15073
- }
15074
15995
  /** A `EmbeddingChunk` edge in the connection. */
15075
15996
  export interface EmbeddingChunkEdge {
15076
15997
  cursor?: string | null;
@@ -15095,6 +16016,12 @@ export interface ProfilesModuleEdge {
15095
16016
  /** The `ProfilesModule` at the end of the edge. */
15096
16017
  node?: ProfilesModule | null;
15097
16018
  }
16019
+ /** A `AppMembership` edge in the connection. */
16020
+ export interface AppMembershipEdge {
16021
+ cursor?: string | null;
16022
+ /** The `AppMembership` at the end of the edge. */
16023
+ node?: AppMembership | null;
16024
+ }
15098
16025
  /** A `Index` edge in the connection. */
15099
16026
  export interface IndexEdge {
15100
16027
  cursor?: string | null;
@@ -15113,6 +16040,12 @@ export interface SecureTableProvisionEdge {
15113
16040
  /** The `SecureTableProvision` at the end of the edge. */
15114
16041
  node?: SecureTableProvision | null;
15115
16042
  }
16043
+ /** A `OrgMembership` edge in the connection. */
16044
+ export interface OrgMembershipEdge {
16045
+ cursor?: string | null;
16046
+ /** The `OrgMembership` at the end of the edge. */
16047
+ node?: OrgMembership | null;
16048
+ }
15116
16049
  /** A `BlueprintTemplate` edge in the connection. */
15117
16050
  export interface BlueprintTemplateEdge {
15118
16051
  cursor?: string | null;
@@ -15187,6 +16120,10 @@ export interface MetaTable {
15187
16120
  inflection: MetaInflection;
15188
16121
  query: MetaQuery;
15189
16122
  }
16123
+ export interface CreateApiKeyRecord {
16124
+ apiKey?: string | null;
16125
+ keyId?: string | null;
16126
+ }
15190
16127
  export interface BootstrapUserRecord {
15191
16128
  outUserId?: string | null;
15192
16129
  outEmail?: string | null;
@@ -15207,7 +16144,7 @@ export interface ProvisionRelationRecord {
15207
16144
  outSourceFieldId?: string | null;
15208
16145
  outTargetFieldId?: string | null;
15209
16146
  }
15210
- export interface SignInOneTimeTokenRecord {
16147
+ export interface SignInCrossOriginRecord {
15211
16148
  id?: string | null;
15212
16149
  userId?: string | null;
15213
16150
  accessToken?: string | null;
@@ -15220,7 +16157,7 @@ export interface ExtendTokenExpiresRecord {
15220
16157
  sessionId?: string | null;
15221
16158
  expiresAt?: string | null;
15222
16159
  }
15223
- export interface SignInRecord {
16160
+ export interface SignUpRecord {
15224
16161
  id?: string | null;
15225
16162
  userId?: string | null;
15226
16163
  accessToken?: string | null;
@@ -15228,13 +16165,15 @@ export interface SignInRecord {
15228
16165
  isVerified?: boolean | null;
15229
16166
  totpEnabled?: boolean | null;
15230
16167
  }
15231
- export interface SignUpRecord {
16168
+ export interface SignInRecord {
15232
16169
  id?: string | null;
15233
16170
  userId?: string | null;
15234
16171
  accessToken?: string | null;
15235
16172
  accessTokenExpiresAt?: string | null;
15236
16173
  isVerified?: boolean | null;
15237
16174
  totpEnabled?: boolean | null;
16175
+ mfaRequired?: boolean | null;
16176
+ mfaChallengeToken?: string | null;
15238
16177
  }
15239
16178
  export interface ProvisionTableRecord {
15240
16179
  outTableId?: string | null;