@constructive-io/react 0.28.2 → 0.29.0

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 (511) 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 +120 -120
  4. package/admin/hooks/invalidation.js +232 -232
  5. package/admin/hooks/mutation-keys.d.ts +244 -244
  6. package/admin/hooks/mutation-keys.js +157 -157
  7. package/admin/hooks/mutations/index.d.ts +63 -63
  8. package/admin/hooks/mutations/index.js +63 -63
  9. package/admin/hooks/queries/index.d.ts +47 -47
  10. package/admin/hooks/queries/index.js +47 -47
  11. package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
  12. package/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
  13. package/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
  14. package/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
  15. package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
  16. package/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
  17. package/admin/hooks/query-keys.d.ts +296 -296
  18. package/admin/hooks/query-keys.js +173 -173
  19. package/admin/orm/index.d.ts +67 -67
  20. package/admin/orm/index.js +44 -44
  21. package/admin/orm/input-types.d.ts +3168 -3168
  22. package/admin/orm/input-types.js +1 -1
  23. package/admin/orm/models/index.d.ts +22 -22
  24. package/admin/orm/models/index.js +45 -45
  25. package/admin/orm/mutation/index.d.ts +12 -12
  26. package/admin/orm/mutation/index.js +12 -12
  27. package/admin/orm/query/index.d.ts +47 -47
  28. package/admin/orm/query/index.js +68 -68
  29. package/admin/schema-types.d.ts +2497 -2497
  30. package/admin/types.d.ts +193 -193
  31. package/agent/hooks/index.d.ts +1 -1
  32. package/agent/hooks/index.js +1 -1
  33. package/agent/hooks/invalidation.d.ts +23 -23
  34. package/agent/hooks/invalidation.js +55 -55
  35. package/agent/hooks/mutation-keys.d.ts +46 -46
  36. package/agent/hooks/mutation-keys.js +28 -28
  37. package/agent/hooks/mutations/index.d.ts +12 -12
  38. package/agent/hooks/mutations/index.js +12 -12
  39. package/agent/hooks/queries/index.d.ts +8 -8
  40. package/agent/hooks/queries/index.js +8 -8
  41. package/agent/hooks/query-keys.d.ts +54 -54
  42. package/agent/hooks/query-keys.js +32 -32
  43. package/agent/orm/index.d.ts +8 -8
  44. package/agent/orm/index.js +8 -8
  45. package/agent/orm/input-types.d.ts +1788 -1788
  46. package/agent/orm/input-types.js +9 -9
  47. package/agent/orm/models/index.d.ts +4 -4
  48. package/agent/orm/models/index.js +9 -9
  49. package/agent/schema-types.d.ts +1226 -1226
  50. package/agent/types.d.ts +95 -95
  51. package/api/hooks/index.d.ts +1 -1
  52. package/api/hooks/index.js +1 -1
  53. package/api/hooks/invalidation.d.ts +184 -184
  54. package/api/hooks/invalidation.js +392 -392
  55. package/api/hooks/mutation-keys.d.ts +411 -411
  56. package/api/hooks/mutation-keys.js +227 -227
  57. package/api/hooks/mutations/index.d.ts +93 -93
  58. package/api/hooks/mutations/index.js +93 -93
  59. package/api/hooks/queries/index.d.ts +64 -64
  60. package/api/hooks/queries/index.js +64 -64
  61. package/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
  62. package/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
  63. package/api/hooks/query-keys.d.ts +466 -466
  64. package/api/hooks/query-keys.js +251 -251
  65. package/api/orm/index.d.ts +77 -77
  66. package/api/orm/index.js +64 -64
  67. package/api/orm/input-types.d.ts +8781 -8781
  68. package/api/orm/input-types.js +48 -48
  69. package/api/orm/models/index.d.ts +32 -32
  70. package/api/orm/models/index.js +65 -65
  71. package/api/orm/mutation/index.d.ts +29 -29
  72. package/api/orm/mutation/index.js +30 -30
  73. package/api/orm/query/index.d.ts +1 -1
  74. package/api/orm/query/index.js +4 -4
  75. package/api/schema-types.d.ts +5628 -5628
  76. package/api/types.d.ts +435 -435
  77. package/auth/hooks/index.d.ts +1 -1
  78. package/auth/hooks/index.js +1 -1
  79. package/auth/hooks/invalidation.d.ts +42 -42
  80. package/auth/hooks/invalidation.js +90 -90
  81. package/auth/hooks/mutation-keys.d.ts +124 -124
  82. package/auth/hooks/mutation-keys.js +106 -106
  83. package/auth/hooks/mutations/index.d.ts +36 -36
  84. package/auth/hooks/mutations/index.js +36 -36
  85. package/auth/hooks/queries/index.d.ts +15 -15
  86. package/auth/hooks/queries/index.js +15 -15
  87. package/auth/hooks/query-keys.d.ts +102 -102
  88. package/auth/hooks/query-keys.js +59 -59
  89. package/auth/orm/index.d.ts +103 -103
  90. package/auth/orm/index.js +14 -14
  91. package/auth/orm/input-types.d.ts +2102 -2109
  92. package/auth/orm/input-types.js +5 -5
  93. package/auth/orm/models/index.d.ts +7 -7
  94. package/auth/orm/models/index.js +15 -15
  95. package/auth/orm/mutation/index.d.ts +138 -138
  96. package/auth/orm/mutation/index.js +168 -168
  97. package/auth/orm/query/index.d.ts +10 -10
  98. package/auth/orm/query/index.js +14 -14
  99. package/auth/schema-types.d.ts +1602 -1605
  100. package/auth/types.d.ts +86 -87
  101. package/compute/hooks/index.d.ts +1 -1
  102. package/compute/hooks/index.js +1 -1
  103. package/compute/hooks/invalidation.d.ts +183 -183
  104. package/compute/hooks/invalidation.js +391 -391
  105. package/compute/hooks/mutation-keys.d.ts +388 -388
  106. package/compute/hooks/mutation-keys.js +300 -300
  107. package/compute/hooks/mutations/index.d.ts +97 -97
  108. package/compute/hooks/mutations/index.js +97 -97
  109. package/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
  110. package/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
  111. package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
  112. package/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
  113. package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
  114. package/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
  115. package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
  116. package/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
  117. package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
  118. package/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
  119. package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
  120. package/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
  121. package/compute/hooks/queries/index.d.ts +59 -59
  122. package/compute/hooks/queries/index.js +59 -59
  123. package/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
  124. package/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
  125. package/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
  126. package/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
  127. package/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
  128. package/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
  129. package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
  130. package/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
  131. package/compute/hooks/query-keys.d.ts +438 -438
  132. package/compute/hooks/query-keys.js +256 -256
  133. package/compute/orm/index.d.ts +110 -110
  134. package/compute/orm/index.js +64 -64
  135. package/compute/orm/input-types.d.ts +7256 -7037
  136. package/compute/orm/input-types.js +15 -13
  137. package/compute/orm/models/index.d.ts +32 -32
  138. package/compute/orm/models/index.js +65 -65
  139. package/compute/orm/mutation/index.d.ts +77 -77
  140. package/compute/orm/mutation/index.js +96 -96
  141. package/compute/schema-types.d.ts +4950 -4896
  142. package/compute/types.d.ts +470 -468
  143. package/config/hooks/index.d.ts +1 -1
  144. package/config/hooks/index.js +1 -1
  145. package/config/hooks/invalidation.d.ts +6 -6
  146. package/config/hooks/invalidation.js +15 -15
  147. package/config/hooks/mutation-keys.d.ts +24 -24
  148. package/config/hooks/mutation-keys.js +26 -26
  149. package/config/hooks/mutations/index.d.ts +9 -9
  150. package/config/hooks/mutations/index.js +9 -9
  151. package/config/hooks/queries/index.d.ts +2 -2
  152. package/config/hooks/queries/index.js +2 -2
  153. package/config/hooks/query-keys.d.ts +14 -14
  154. package/config/hooks/query-keys.js +9 -9
  155. package/config/orm/index.d.ts +30 -30
  156. package/config/orm/index.js +2 -2
  157. package/config/orm/input-types.d.ts +416 -416
  158. package/config/orm/models/index.d.ts +1 -1
  159. package/config/orm/models/index.js +3 -3
  160. package/config/orm/mutation/index.d.ts +47 -47
  161. package/config/orm/mutation/index.js +60 -60
  162. package/config/schema-types.d.ts +519 -519
  163. package/config/types.d.ts +35 -35
  164. package/esm/admin/hooks/index.d.ts +1 -1
  165. package/esm/admin/hooks/index.js +1 -1
  166. package/esm/admin/hooks/invalidation.d.ts +120 -120
  167. package/esm/admin/hooks/invalidation.js +233 -233
  168. package/esm/admin/hooks/mutation-keys.d.ts +244 -244
  169. package/esm/admin/hooks/mutation-keys.js +156 -156
  170. package/esm/admin/hooks/mutations/index.d.ts +63 -63
  171. package/esm/admin/hooks/mutations/index.js +63 -63
  172. package/esm/admin/hooks/queries/index.d.ts +47 -47
  173. package/esm/admin/hooks/queries/index.js +47 -47
  174. package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.d.ts +3 -3
  175. package/esm/admin/hooks/queries/useAppPermissionsGetByMaskQuery.js +2 -2
  176. package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.d.ts +3 -3
  177. package/esm/admin/hooks/queries/useOrgIsManagerOfQuery.js +2 -2
  178. package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.d.ts +3 -3
  179. package/esm/admin/hooks/queries/useOrgPermissionsGetByMaskQuery.js +2 -2
  180. package/esm/admin/hooks/query-keys.d.ts +296 -296
  181. package/esm/admin/hooks/query-keys.js +172 -172
  182. package/esm/admin/orm/index.d.ts +67 -67
  183. package/esm/admin/orm/index.js +44 -44
  184. package/esm/admin/orm/input-types.d.ts +3168 -3168
  185. package/esm/admin/orm/input-types.js +1 -1
  186. package/esm/admin/orm/models/index.d.ts +22 -22
  187. package/esm/admin/orm/models/index.js +22 -22
  188. package/esm/admin/orm/mutation/index.d.ts +12 -12
  189. package/esm/admin/orm/mutation/index.js +12 -12
  190. package/esm/admin/orm/query/index.d.ts +47 -47
  191. package/esm/admin/orm/query/index.js +68 -68
  192. package/esm/admin/schema-types.d.ts +2497 -2497
  193. package/esm/admin/types.d.ts +193 -193
  194. package/esm/agent/hooks/index.d.ts +1 -1
  195. package/esm/agent/hooks/index.js +1 -1
  196. package/esm/agent/hooks/invalidation.d.ts +23 -23
  197. package/esm/agent/hooks/invalidation.js +56 -56
  198. package/esm/agent/hooks/mutation-keys.d.ts +46 -46
  199. package/esm/agent/hooks/mutation-keys.js +27 -27
  200. package/esm/agent/hooks/mutations/index.d.ts +12 -12
  201. package/esm/agent/hooks/mutations/index.js +12 -12
  202. package/esm/agent/hooks/queries/index.d.ts +8 -8
  203. package/esm/agent/hooks/queries/index.js +8 -8
  204. package/esm/agent/hooks/query-keys.d.ts +54 -54
  205. package/esm/agent/hooks/query-keys.js +31 -31
  206. package/esm/agent/orm/index.d.ts +8 -8
  207. package/esm/agent/orm/index.js +8 -8
  208. package/esm/agent/orm/input-types.d.ts +1788 -1788
  209. package/esm/agent/orm/input-types.js +9 -9
  210. package/esm/agent/orm/models/index.d.ts +4 -4
  211. package/esm/agent/orm/models/index.js +4 -4
  212. package/esm/agent/schema-types.d.ts +1226 -1226
  213. package/esm/agent/types.d.ts +95 -95
  214. package/esm/api/hooks/index.d.ts +1 -1
  215. package/esm/api/hooks/index.js +1 -1
  216. package/esm/api/hooks/invalidation.d.ts +184 -184
  217. package/esm/api/hooks/invalidation.js +393 -393
  218. package/esm/api/hooks/mutation-keys.d.ts +411 -411
  219. package/esm/api/hooks/mutation-keys.js +226 -226
  220. package/esm/api/hooks/mutations/index.d.ts +93 -93
  221. package/esm/api/hooks/mutations/index.js +93 -93
  222. package/esm/api/hooks/queries/index.d.ts +64 -64
  223. package/esm/api/hooks/queries/index.js +64 -64
  224. package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.d.ts +3 -3
  225. package/esm/api/hooks/queries/useApplyRegistryDefaultsQuery.js +2 -2
  226. package/esm/api/hooks/query-keys.d.ts +466 -466
  227. package/esm/api/hooks/query-keys.js +250 -250
  228. package/esm/api/orm/index.d.ts +77 -77
  229. package/esm/api/orm/index.js +64 -64
  230. package/esm/api/orm/input-types.d.ts +8781 -8781
  231. package/esm/api/orm/input-types.js +48 -48
  232. package/esm/api/orm/models/index.d.ts +32 -32
  233. package/esm/api/orm/models/index.js +32 -32
  234. package/esm/api/orm/mutation/index.d.ts +29 -29
  235. package/esm/api/orm/mutation/index.js +30 -30
  236. package/esm/api/orm/query/index.d.ts +1 -1
  237. package/esm/api/orm/query/index.js +4 -4
  238. package/esm/api/schema-types.d.ts +5628 -5628
  239. package/esm/api/types.d.ts +435 -435
  240. package/esm/auth/hooks/index.d.ts +1 -1
  241. package/esm/auth/hooks/index.js +1 -1
  242. package/esm/auth/hooks/invalidation.d.ts +42 -42
  243. package/esm/auth/hooks/invalidation.js +91 -91
  244. package/esm/auth/hooks/mutation-keys.d.ts +124 -124
  245. package/esm/auth/hooks/mutation-keys.js +105 -105
  246. package/esm/auth/hooks/mutations/index.d.ts +36 -36
  247. package/esm/auth/hooks/mutations/index.js +36 -36
  248. package/esm/auth/hooks/queries/index.d.ts +15 -15
  249. package/esm/auth/hooks/queries/index.js +15 -15
  250. package/esm/auth/hooks/query-keys.d.ts +102 -102
  251. package/esm/auth/hooks/query-keys.js +58 -58
  252. package/esm/auth/orm/index.d.ts +103 -103
  253. package/esm/auth/orm/index.js +14 -14
  254. package/esm/auth/orm/input-types.d.ts +2102 -2109
  255. package/esm/auth/orm/input-types.js +5 -5
  256. package/esm/auth/orm/models/index.d.ts +7 -7
  257. package/esm/auth/orm/models/index.js +7 -7
  258. package/esm/auth/orm/mutation/index.d.ts +138 -138
  259. package/esm/auth/orm/mutation/index.js +168 -168
  260. package/esm/auth/orm/query/index.d.ts +10 -10
  261. package/esm/auth/orm/query/index.js +14 -14
  262. package/esm/auth/schema-types.d.ts +1602 -1605
  263. package/esm/auth/types.d.ts +86 -87
  264. package/esm/compute/hooks/index.d.ts +1 -1
  265. package/esm/compute/hooks/index.js +1 -1
  266. package/esm/compute/hooks/invalidation.d.ts +183 -183
  267. package/esm/compute/hooks/invalidation.js +392 -392
  268. package/esm/compute/hooks/mutation-keys.d.ts +388 -388
  269. package/esm/compute/hooks/mutation-keys.js +299 -299
  270. package/esm/compute/hooks/mutations/index.d.ts +97 -97
  271. package/esm/compute/hooks/mutations/index.js +97 -97
  272. package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.d.ts +2 -2
  273. package/esm/compute/hooks/mutations/useCreateFunctionInvocationMutation.js +1 -1
  274. package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.d.ts +2 -2
  275. package/esm/compute/hooks/mutations/useCreatePlatformFunctionInvocationMutation.js +1 -1
  276. package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.d.ts +2 -2
  277. package/esm/compute/hooks/mutations/useDeleteFunctionInvocationMutation.js +1 -1
  278. package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.d.ts +2 -2
  279. package/esm/compute/hooks/mutations/useDeletePlatformFunctionInvocationMutation.js +1 -1
  280. package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.d.ts +2 -2
  281. package/esm/compute/hooks/mutations/useUpdateFunctionInvocationMutation.js +1 -1
  282. package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.d.ts +2 -2
  283. package/esm/compute/hooks/mutations/useUpdatePlatformFunctionInvocationMutation.js +1 -1
  284. package/esm/compute/hooks/queries/index.d.ts +59 -59
  285. package/esm/compute/hooks/queries/index.js +59 -59
  286. package/esm/compute/hooks/queries/useFunctionInvocationQuery.d.ts +4 -4
  287. package/esm/compute/hooks/queries/useFunctionInvocationQuery.js +1 -1
  288. package/esm/compute/hooks/queries/useFunctionInvocationsQuery.d.ts +4 -4
  289. package/esm/compute/hooks/queries/useFunctionInvocationsQuery.js +1 -1
  290. package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.d.ts +4 -4
  291. package/esm/compute/hooks/queries/usePlatformFunctionInvocationQuery.js +1 -1
  292. package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.d.ts +4 -4
  293. package/esm/compute/hooks/queries/usePlatformFunctionInvocationsQuery.js +1 -1
  294. package/esm/compute/hooks/query-keys.d.ts +438 -438
  295. package/esm/compute/hooks/query-keys.js +255 -255
  296. package/esm/compute/orm/index.d.ts +110 -110
  297. package/esm/compute/orm/index.js +64 -64
  298. package/esm/compute/orm/input-types.d.ts +7256 -7037
  299. package/esm/compute/orm/input-types.js +15 -13
  300. package/esm/compute/orm/models/index.d.ts +32 -32
  301. package/esm/compute/orm/models/index.js +32 -32
  302. package/esm/compute/orm/mutation/index.d.ts +77 -77
  303. package/esm/compute/orm/mutation/index.js +96 -96
  304. package/esm/compute/schema-types.d.ts +4950 -4896
  305. package/esm/compute/types.d.ts +470 -468
  306. package/esm/config/hooks/index.d.ts +1 -1
  307. package/esm/config/hooks/index.js +1 -1
  308. package/esm/config/hooks/invalidation.d.ts +6 -6
  309. package/esm/config/hooks/invalidation.js +16 -16
  310. package/esm/config/hooks/mutation-keys.d.ts +24 -24
  311. package/esm/config/hooks/mutation-keys.js +25 -25
  312. package/esm/config/hooks/mutations/index.d.ts +9 -9
  313. package/esm/config/hooks/mutations/index.js +9 -9
  314. package/esm/config/hooks/queries/index.d.ts +2 -2
  315. package/esm/config/hooks/queries/index.js +2 -2
  316. package/esm/config/hooks/query-keys.d.ts +14 -14
  317. package/esm/config/hooks/query-keys.js +8 -8
  318. package/esm/config/orm/index.d.ts +30 -30
  319. package/esm/config/orm/index.js +2 -2
  320. package/esm/config/orm/input-types.d.ts +416 -416
  321. package/esm/config/orm/models/index.d.ts +1 -1
  322. package/esm/config/orm/models/index.js +1 -1
  323. package/esm/config/orm/mutation/index.d.ts +47 -47
  324. package/esm/config/orm/mutation/index.js +60 -60
  325. package/esm/config/schema-types.d.ts +519 -519
  326. package/esm/config/types.d.ts +35 -35
  327. package/esm/infra/hooks/index.d.ts +1 -1
  328. package/esm/infra/hooks/index.js +1 -1
  329. package/esm/infra/hooks/invalidation.d.ts +28 -28
  330. package/esm/infra/hooks/invalidation.js +66 -66
  331. package/esm/infra/hooks/mutation-keys.d.ts +58 -58
  332. package/esm/infra/hooks/mutation-keys.js +36 -36
  333. package/esm/infra/hooks/mutations/index.d.ts +16 -16
  334. package/esm/infra/hooks/mutations/index.js +16 -16
  335. package/esm/infra/hooks/queries/index.d.ts +10 -10
  336. package/esm/infra/hooks/queries/index.js +10 -10
  337. package/esm/infra/hooks/query-keys.d.ts +66 -66
  338. package/esm/infra/hooks/query-keys.js +38 -38
  339. package/esm/infra/orm/index.d.ts +15 -15
  340. package/esm/infra/orm/index.js +10 -10
  341. package/esm/infra/orm/input-types.d.ts +971 -971
  342. package/esm/infra/orm/models/index.d.ts +5 -5
  343. package/esm/infra/orm/models/index.js +5 -5
  344. package/esm/infra/orm/mutation/index.d.ts +9 -9
  345. package/esm/infra/orm/mutation/index.js +12 -12
  346. package/esm/infra/schema-types.d.ts +979 -979
  347. package/esm/infra/types.d.ts +72 -72
  348. package/esm/modules/hooks/index.d.ts +1 -1
  349. package/esm/modules/hooks/index.js +1 -1
  350. package/esm/modules/hooks/invalidation.d.ts +291 -291
  351. package/esm/modules/hooks/invalidation.js +563 -563
  352. package/esm/modules/hooks/mutation-keys.d.ts +602 -602
  353. package/esm/modules/hooks/mutation-keys.js +384 -384
  354. package/esm/modules/hooks/mutations/index.d.ts +164 -164
  355. package/esm/modules/hooks/mutations/index.js +164 -164
  356. package/esm/modules/hooks/queries/index.d.ts +106 -106
  357. package/esm/modules/hooks/queries/index.js +106 -106
  358. package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
  359. package/esm/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
  360. package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
  361. package/esm/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
  362. package/esm/modules/hooks/query-keys.d.ts +696 -696
  363. package/esm/modules/hooks/query-keys.js +399 -399
  364. package/esm/modules/orm/index.d.ts +126 -126
  365. package/esm/modules/orm/index.js +106 -106
  366. package/esm/modules/orm/input-types.d.ts +11482 -11468
  367. package/esm/modules/orm/input-types.js +1 -1
  368. package/esm/modules/orm/models/index.d.ts +53 -53
  369. package/esm/modules/orm/models/index.js +53 -53
  370. package/esm/modules/orm/mutation/index.d.ts +51 -51
  371. package/esm/modules/orm/mutation/index.js +42 -42
  372. package/esm/modules/orm/query/index.d.ts +3 -3
  373. package/esm/modules/orm/query/index.js +8 -8
  374. package/esm/modules/schema-types.d.ts +8363 -8355
  375. package/esm/modules/types.d.ts +1013 -1011
  376. package/esm/objects/hooks/index.d.ts +1 -1
  377. package/esm/objects/hooks/index.js +1 -1
  378. package/esm/objects/hooks/invalidation.d.ts +12 -12
  379. package/esm/objects/hooks/invalidation.js +33 -33
  380. package/esm/objects/hooks/mutation-keys.d.ts +26 -26
  381. package/esm/objects/hooks/mutation-keys.js +17 -17
  382. package/esm/objects/hooks/mutations/index.d.ts +7 -7
  383. package/esm/objects/hooks/mutations/index.js +7 -7
  384. package/esm/objects/hooks/queries/index.d.ts +4 -4
  385. package/esm/objects/hooks/queries/index.js +4 -4
  386. package/esm/objects/hooks/query-keys.d.ts +28 -28
  387. package/esm/objects/hooks/query-keys.js +16 -16
  388. package/esm/objects/orm/index.d.ts +9 -9
  389. package/esm/objects/orm/index.js +4 -4
  390. package/esm/objects/orm/input-types.d.ts +384 -384
  391. package/esm/objects/orm/models/index.d.ts +2 -2
  392. package/esm/objects/orm/models/index.js +2 -2
  393. package/esm/objects/orm/mutation/index.d.ts +9 -9
  394. package/esm/objects/orm/mutation/index.js +12 -12
  395. package/esm/objects/schema-types.d.ts +438 -438
  396. package/esm/objects/types.d.ts +23 -23
  397. package/esm/usage/hooks/index.d.ts +1 -1
  398. package/esm/usage/hooks/index.js +1 -1
  399. package/esm/usage/hooks/invalidation.d.ts +67 -67
  400. package/esm/usage/hooks/invalidation.js +140 -140
  401. package/esm/usage/hooks/mutation-keys.d.ts +136 -136
  402. package/esm/usage/hooks/mutation-keys.js +82 -82
  403. package/esm/usage/hooks/mutations/index.d.ts +37 -37
  404. package/esm/usage/hooks/mutations/index.js +37 -37
  405. package/esm/usage/hooks/queries/index.d.ts +24 -24
  406. package/esm/usage/hooks/queries/index.js +24 -24
  407. package/esm/usage/hooks/query-keys.d.ts +158 -158
  408. package/esm/usage/hooks/query-keys.js +91 -91
  409. package/esm/usage/orm/index.d.ts +29 -29
  410. package/esm/usage/orm/index.js +24 -24
  411. package/esm/usage/orm/input-types.d.ts +2049 -2049
  412. package/esm/usage/orm/input-types.js +5 -5
  413. package/esm/usage/orm/models/index.d.ts +12 -12
  414. package/esm/usage/orm/models/index.js +12 -12
  415. package/esm/usage/orm/mutation/index.d.ts +16 -16
  416. package/esm/usage/orm/mutation/index.js +12 -12
  417. package/esm/usage/schema-types.d.ts +1591 -1591
  418. package/esm/usage/types.d.ts +99 -99
  419. package/infra/hooks/index.d.ts +1 -1
  420. package/infra/hooks/index.js +1 -1
  421. package/infra/hooks/invalidation.d.ts +28 -28
  422. package/infra/hooks/invalidation.js +65 -65
  423. package/infra/hooks/mutation-keys.d.ts +58 -58
  424. package/infra/hooks/mutation-keys.js +37 -37
  425. package/infra/hooks/mutations/index.d.ts +16 -16
  426. package/infra/hooks/mutations/index.js +16 -16
  427. package/infra/hooks/queries/index.d.ts +10 -10
  428. package/infra/hooks/queries/index.js +10 -10
  429. package/infra/hooks/query-keys.d.ts +66 -66
  430. package/infra/hooks/query-keys.js +39 -39
  431. package/infra/orm/index.d.ts +15 -15
  432. package/infra/orm/index.js +10 -10
  433. package/infra/orm/input-types.d.ts +971 -971
  434. package/infra/orm/models/index.d.ts +5 -5
  435. package/infra/orm/models/index.js +11 -11
  436. package/infra/orm/mutation/index.d.ts +9 -9
  437. package/infra/orm/mutation/index.js +12 -12
  438. package/infra/schema-types.d.ts +979 -979
  439. package/infra/types.d.ts +72 -72
  440. package/modules/hooks/index.d.ts +1 -1
  441. package/modules/hooks/index.js +1 -1
  442. package/modules/hooks/invalidation.d.ts +291 -291
  443. package/modules/hooks/invalidation.js +562 -562
  444. package/modules/hooks/mutation-keys.d.ts +602 -602
  445. package/modules/hooks/mutation-keys.js +386 -386
  446. package/modules/hooks/mutations/index.d.ts +164 -164
  447. package/modules/hooks/mutations/index.js +164 -164
  448. package/modules/hooks/queries/index.d.ts +106 -106
  449. package/modules/hooks/queries/index.js +106 -106
  450. package/modules/hooks/queries/useResolveBlueprintFieldQuery.d.ts +3 -3
  451. package/modules/hooks/queries/useResolveBlueprintFieldQuery.js +2 -2
  452. package/modules/hooks/queries/useResolveBlueprintTableQuery.d.ts +3 -3
  453. package/modules/hooks/queries/useResolveBlueprintTableQuery.js +2 -2
  454. package/modules/hooks/query-keys.d.ts +696 -696
  455. package/modules/hooks/query-keys.js +401 -401
  456. package/modules/orm/index.d.ts +126 -126
  457. package/modules/orm/index.js +106 -106
  458. package/modules/orm/input-types.d.ts +11482 -11468
  459. package/modules/orm/input-types.js +1 -1
  460. package/modules/orm/models/index.d.ts +53 -53
  461. package/modules/orm/models/index.js +108 -108
  462. package/modules/orm/mutation/index.d.ts +51 -51
  463. package/modules/orm/mutation/index.js +42 -42
  464. package/modules/orm/query/index.d.ts +3 -3
  465. package/modules/orm/query/index.js +8 -8
  466. package/modules/schema-types.d.ts +8363 -8355
  467. package/modules/types.d.ts +1013 -1011
  468. package/objects/hooks/index.d.ts +1 -1
  469. package/objects/hooks/index.js +1 -1
  470. package/objects/hooks/invalidation.d.ts +12 -12
  471. package/objects/hooks/invalidation.js +32 -32
  472. package/objects/hooks/mutation-keys.d.ts +26 -26
  473. package/objects/hooks/mutation-keys.js +18 -18
  474. package/objects/hooks/mutations/index.d.ts +7 -7
  475. package/objects/hooks/mutations/index.js +7 -7
  476. package/objects/hooks/queries/index.d.ts +4 -4
  477. package/objects/hooks/queries/index.js +4 -4
  478. package/objects/hooks/query-keys.d.ts +28 -28
  479. package/objects/hooks/query-keys.js +17 -17
  480. package/objects/orm/index.d.ts +9 -9
  481. package/objects/orm/index.js +4 -4
  482. package/objects/orm/input-types.d.ts +384 -384
  483. package/objects/orm/models/index.d.ts +2 -2
  484. package/objects/orm/models/index.js +5 -5
  485. package/objects/orm/mutation/index.d.ts +9 -9
  486. package/objects/orm/mutation/index.js +12 -12
  487. package/objects/schema-types.d.ts +438 -438
  488. package/objects/types.d.ts +23 -23
  489. package/package.json +4 -4
  490. package/usage/hooks/index.d.ts +1 -1
  491. package/usage/hooks/index.js +1 -1
  492. package/usage/hooks/invalidation.d.ts +67 -67
  493. package/usage/hooks/invalidation.js +139 -139
  494. package/usage/hooks/mutation-keys.d.ts +136 -136
  495. package/usage/hooks/mutation-keys.js +83 -83
  496. package/usage/hooks/mutations/index.d.ts +37 -37
  497. package/usage/hooks/mutations/index.js +37 -37
  498. package/usage/hooks/queries/index.d.ts +24 -24
  499. package/usage/hooks/queries/index.js +24 -24
  500. package/usage/hooks/query-keys.d.ts +158 -158
  501. package/usage/hooks/query-keys.js +92 -92
  502. package/usage/orm/index.d.ts +29 -29
  503. package/usage/orm/index.js +24 -24
  504. package/usage/orm/input-types.d.ts +2049 -2049
  505. package/usage/orm/input-types.js +5 -5
  506. package/usage/orm/models/index.d.ts +12 -12
  507. package/usage/orm/models/index.js +25 -25
  508. package/usage/orm/mutation/index.d.ts +16 -16
  509. package/usage/orm/mutation/index.js +12 -12
  510. package/usage/schema-types.d.ts +1591 -1591
  511. package/usage/types.d.ts +99 -99
@@ -8,1256 +8,1089 @@ export type Base64EncodedBinary = unknown;
8
8
  export type ConstructiveInternalTypeEmail = unknown;
9
9
  export type ConstructiveInternalTypeImage = unknown;
10
10
  export type ConstructiveInternalTypeOrigin = unknown;
11
- /** Methods to use when ordering `PrincipalEntity`. */
12
- export type PrincipalEntityOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC';
13
- /** Methods to use when ordering `PrincipalScopeOverride`. */
14
- export type PrincipalScopeOverrideOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ALLOWED_MASK_ASC' | 'ALLOWED_MASK_DESC' | 'USE_ADMIN_OWNER_ASC' | 'USE_ADMIN_OWNER_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC';
15
- /** Methods to use when ordering `Principal`. */
16
- export type PrincipalOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'USE_ADMIN_OWNER_ASC' | 'USE_ADMIN_OWNER_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'BYPASS_STEP_UP_ASC' | 'BYPASS_STEP_UP_DESC';
17
- /** Methods to use when ordering `Email`. */
18
- export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
19
- /** Methods to use when ordering `PhoneNumber`. */
20
- 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' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
21
- /** Methods to use when ordering `CryptoAddress`. */
22
- 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' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
23
- /** Methods to use when ordering `WebauthnCredential`. */
24
- export type WebauthnCredentialOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREDENTIAL_ID_ASC' | 'CREDENTIAL_ID_DESC' | 'PUBLIC_KEY_ASC' | 'PUBLIC_KEY_DESC' | 'SIGN_COUNT_ASC' | 'SIGN_COUNT_DESC' | 'WEBAUTHN_USER_ID_ASC' | 'WEBAUTHN_USER_ID_DESC' | 'TRANSPORTS_ASC' | 'TRANSPORTS_DESC' | 'CREDENTIAL_DEVICE_TYPE_ASC' | 'CREDENTIAL_DEVICE_TYPE_DESC' | 'BACKUP_ELIGIBLE_ASC' | 'BACKUP_ELIGIBLE_DESC' | 'BACKUP_STATE_ASC' | 'BACKUP_STATE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
25
11
  /** Methods to use when ordering `AuditLogAuth`. */
26
- export type AuditLogAuthOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ORIGIN_ASC' | 'ORIGIN_DESC' | 'USER_AGENT_ASC' | 'USER_AGENT_DESC' | 'IP_ADDRESS_ASC' | 'IP_ADDRESS_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC';
12
+ export type AuditLogAuthOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IP_ADDRESS_ASC' | 'IP_ADDRESS_DESC' | 'NATURAL' | 'ORIGIN_ASC' | 'ORIGIN_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'USER_AGENT_ASC' | 'USER_AGENT_DESC';
13
+ /** Methods to use when ordering `CryptoAddress`. */
14
+ export type CryptoAddressOrderBy = 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
15
+ /** Methods to use when ordering `Email`. */
16
+ export type EmailOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
27
17
  /** Methods to use when ordering `IdentityProvider`. */
28
- export type IdentityProviderOrderBy = 'NATURAL' | 'SLUG_ASC' | 'SLUG_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ENABLED_ASC' | 'ENABLED_DESC' | 'IS_BUILT_IN_ASC' | 'IS_BUILT_IN_DESC';
18
+ export type IdentityProviderOrderBy = 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ENABLED_ASC' | 'ENABLED_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'NATURAL' | 'SLUG_ASC' | 'SLUG_DESC';
19
+ /** Methods to use when ordering `OrgApiKeyList`. */
20
+ export type OrgApiKeyListOrderBy = 'ACCESS_LEVEL_ASC' | 'ACCESS_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'KEY_ID_ASC' | 'KEY_ID_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'MFA_LEVEL_ASC' | 'MFA_LEVEL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'ORG_ID_ASC' | 'ORG_ID_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
21
+ /** Methods to use when ordering `PhoneNumber`. */
22
+ export type PhoneNumberOrderBy = 'CC_ASC' | 'CC_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
23
+ /** Methods to use when ordering `PrincipalEntity`. */
24
+ export type PrincipalEntityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
25
+ /** Methods to use when ordering `Principal`. */
26
+ export type PrincipalOrderBy = 'BYPASS_STEP_UP_ASC' | 'BYPASS_STEP_UP_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'USE_ADMIN_OWNER_ASC' | 'USE_ADMIN_OWNER_DESC';
27
+ /** Methods to use when ordering `PrincipalScopeOverride`. */
28
+ export type PrincipalScopeOverrideOrderBy = 'ALLOWED_MASK_ASC' | 'ALLOWED_MASK_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USE_ADMIN_OWNER_ASC' | 'USE_ADMIN_OWNER_DESC';
29
29
  /** Methods to use when ordering `RoleType`. */
30
- export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
30
+ export type RoleTypeOrderBy = 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
31
31
  /** Methods to use when ordering `UserConnectedAccount`. */
32
- 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';
33
- /** Methods to use when ordering `OrgApiKeyList`. */
34
- export type OrgApiKeyListOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'KEY_ID_ASC' | 'KEY_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'ORG_ID_ASC' | 'ORG_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'MFA_LEVEL_ASC' | 'MFA_LEVEL_DESC' | 'ACCESS_LEVEL_ASC' | 'ACCESS_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
32
+ export type UserConnectedAccountOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DETAILS_ASC' | 'DETAILS_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
35
33
  /** Methods to use when ordering `User`. */
36
- export type UserOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC' | 'SEARCH_TSV_ASC' | 'SEARCH_TSV_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
37
- /** A filter to be used against `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
38
- export interface PrincipalEntityFilter {
39
- /** Filter by the object’s `id` field. */
40
- id?: UUIDFilter;
34
+ export type UserOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'SEARCH_TSV_ASC' | 'SEARCH_TSV_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC';
35
+ /** Methods to use when ordering `WebauthnCredential`. */
36
+ export type WebauthnCredentialOrderBy = 'BACKUP_ELIGIBLE_ASC' | 'BACKUP_ELIGIBLE_DESC' | 'BACKUP_STATE_ASC' | 'BACKUP_STATE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDENTIAL_DEVICE_TYPE_ASC' | 'CREDENTIAL_DEVICE_TYPE_DESC' | 'CREDENTIAL_ID_ASC' | 'CREDENTIAL_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PUBLIC_KEY_ASC' | 'PUBLIC_KEY_DESC' | 'SIGN_COUNT_ASC' | 'SIGN_COUNT_DESC' | 'TRANSPORTS_ASC' | 'TRANSPORTS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'WEBAUTHN_USER_ID_ASC' | 'WEBAUTHN_USER_ID_DESC';
37
+ /** A filter to be used against `AuditLogAuth` object types. All fields are combined with a logical ‘and.’ */
38
+ export interface AuditLogAuthFilter {
39
+ /** Filter by the object’s `actor` relation. */
40
+ actor?: UserFilter;
41
+ /** A related `actor` exists. */
42
+ actorExists?: boolean;
43
+ /** Filter by the object’s `actorId` field. */
44
+ actorId?: UUIDFilter;
45
+ /** Checks for all expressions in this list. */
46
+ and?: AuditLogAuthFilter[];
41
47
  /** Filter by the object’s `createdAt` field. */
42
48
  createdAt?: DatetimeFilter;
43
- /** Filter by the object’s `updatedAt` field. */
44
- updatedAt?: DatetimeFilter;
45
- /** Filter by the object’s `principalId` field. */
46
- principalId?: UUIDFilter;
47
- /** Filter by the object’s `entityId` field. */
48
- entityId?: UUIDFilter;
49
- /** Filter by the object’s `ownerId` field. */
50
- ownerId?: UUIDFilter;
51
- /** Checks for all expressions in this list. */
52
- and?: PrincipalEntityFilter[];
53
- /** Checks for any expressions in this list. */
54
- or?: PrincipalEntityFilter[];
55
- /** Negates the expression. */
56
- not?: PrincipalEntityFilter;
57
- /** Filter by the object’s `entity` relation. */
58
- entity?: UserFilter;
59
- /** Filter by the object’s `owner` relation. */
60
- owner?: UserFilter;
61
- /** Filter by the object’s `principal` relation. */
62
- principal?: PrincipalFilter;
63
- }
64
- /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
65
- export interface UserFilter {
49
+ /** Filter by the object’s `event` field. */
50
+ event?: StringFilter;
66
51
  /** Filter by the object’s `id` field. */
67
52
  id?: UUIDFilter;
68
- /** Filter by the object’s `username` field. */
69
- username?: StringTrgmFilter;
70
- /** Filter by the object’s `displayName` field. */
71
- displayName?: StringTrgmFilter;
72
- /** Filter by the object’s `profilePicture` field. */
73
- profilePicture?: ConstructiveInternalTypeImageFilter;
74
- /** Filter by the object’s `searchTsv` field. */
75
- searchTsv?: FullTextFilter;
76
- /** Filter by the object’s `type` field. */
77
- type?: IntFilter;
78
- /** Filter by the object’s `createdAt` field. */
79
- createdAt?: DatetimeFilter;
80
- /** Filter by the object’s `updatedAt` field. */
81
- updatedAt?: DatetimeFilter;
82
- /** Checks for all expressions in this list. */
83
- and?: UserFilter[];
84
- /** Checks for any expressions in this list. */
85
- or?: UserFilter[];
53
+ /** Filter by the object’s `ipAddress` field. */
54
+ ipAddress?: InternetAddressFilter;
86
55
  /** Negates the expression. */
87
- not?: UserFilter;
88
- /** Filter by the object’s `roleType` relation. */
89
- roleType?: RoleTypeFilter;
90
- /** Filter by the object’s `ownedPrincipals` relation. */
91
- ownedPrincipals?: UserToManyPrincipalFilter;
92
- /** `ownedPrincipals` exist. */
93
- ownedPrincipalsExist?: boolean;
94
- /** Filter by the object’s `principals` relation. */
95
- principals?: UserToManyPrincipalFilter;
96
- /** `principals` exist. */
97
- principalsExist?: boolean;
98
- /** Filter by the object’s `principalEntitiesByEntityId` relation. */
99
- principalEntitiesByEntityId?: UserToManyPrincipalEntityFilter;
100
- /** `principalEntitiesByEntityId` exist. */
101
- principalEntitiesByEntityIdExist?: boolean;
102
- /** Filter by the object’s `ownedEmails` relation. */
103
- ownedEmails?: UserToManyEmailFilter;
104
- /** `ownedEmails` exist. */
105
- ownedEmailsExist?: boolean;
106
- /** Filter by the object’s `ownedPhoneNumbers` relation. */
107
- ownedPhoneNumbers?: UserToManyPhoneNumberFilter;
108
- /** `ownedPhoneNumbers` exist. */
109
- ownedPhoneNumbersExist?: boolean;
110
- /** Filter by the object’s `ownedCryptoAddresses` relation. */
111
- ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
112
- /** `ownedCryptoAddresses` exist. */
113
- ownedCryptoAddressesExist?: boolean;
114
- /** Filter by the object’s `ownedWebauthnCredentials` relation. */
115
- ownedWebauthnCredentials?: UserToManyWebauthnCredentialFilter;
116
- /** `ownedWebauthnCredentials` exist. */
117
- ownedWebauthnCredentialsExist?: boolean;
118
- /** Filter by the object’s `auditLogAuthsByActorId` relation. */
119
- auditLogAuthsByActorId?: UserToManyAuditLogAuthFilter;
120
- /** `auditLogAuthsByActorId` exist. */
121
- auditLogAuthsByActorIdExist?: boolean;
122
- /** TSV search on the `search_tsv` column. */
123
- tsvSearchTsv?: string;
124
- /** TRGM search on the `display_name` column. */
125
- trgmDisplayName?: TrgmSearchInput;
126
- /**
127
- * Composite unified search. Provide a search string and it will be dispatched to
128
- * all text-compatible search algorithms (tsvector, BM25, pg_trgm)
129
- * simultaneously. When the LLM plugin is active, pgvector also participates via
130
- * auto-embedding. Rows matching ANY algorithm are returned. All matching score
131
- * fields are populated.
132
- */
133
- unifiedSearch?: string;
56
+ not?: AuditLogAuthFilter;
57
+ /** Checks for any expressions in this list. */
58
+ or?: AuditLogAuthFilter[];
59
+ /** Filter by the object’s `origin` field. */
60
+ origin?: ConstructiveInternalTypeOriginFilter;
61
+ /** Filter by the object’s `success` field. */
62
+ success?: BooleanFilter;
63
+ /** Filter by the object’s `userAgent` field. */
64
+ userAgent?: StringFilter;
134
65
  }
135
- /** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */
136
- export interface StringTrgmFilter {
66
+ /** An input for mutations affecting `AuditLogAuth` */
67
+ export interface AuditLogAuthInput {
68
+ /** User who performed the authentication action; NULL if user was deleted */
69
+ actorId?: string;
70
+ createdAt?: string;
71
+ /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
72
+ event: string;
73
+ /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
74
+ id?: string;
75
+ /** IP address of the client that initiated the auth event */
76
+ ipAddress?: string;
77
+ /** Request origin (domain) where the auth event occurred */
78
+ origin?: ConstructiveInternalTypeOrigin;
79
+ /** Whether the authentication attempt succeeded */
80
+ success: boolean;
81
+ /** Browser or client user-agent string from the request */
82
+ userAgent?: string;
83
+ }
84
+ /** Represents an update to a `AuditLogAuth`. Fields that are set will be updated. */
85
+ export interface AuditLogAuthPatch {
86
+ /** User who performed the authentication action; NULL if user was deleted */
87
+ actorId?: string;
88
+ createdAt?: string;
89
+ /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
90
+ event?: string;
91
+ /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
92
+ id?: string;
93
+ /** IP address of the client that initiated the auth event */
94
+ ipAddress?: string;
95
+ /** Request origin (domain) where the auth event occurred */
96
+ origin?: ConstructiveInternalTypeOrigin;
97
+ /** Whether the authentication attempt succeeded */
98
+ success?: boolean;
99
+ /** Browser or client user-agent string from the request */
100
+ userAgent?: string;
101
+ }
102
+ /** A filter to be used against Base64EncodedBinary fields. All fields are combined with a logical ‘and.’ */
103
+ export interface Base64EncodedBinaryFilter {
104
+ /** Not equal to the specified value, treating null like an ordinary value. */
105
+ distinctFrom?: Base64EncodedBinary;
106
+ /** Equal to the specified value. */
107
+ equalTo?: Base64EncodedBinary;
108
+ /** Included in the specified list. */
109
+ in?: Base64EncodedBinary[];
137
110
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
138
111
  isNull?: boolean;
139
- /** Equal to the specified value. */
140
- equalTo?: string;
112
+ /** Equal to the specified value, treating null like an ordinary value. */
113
+ notDistinctFrom?: Base64EncodedBinary;
141
114
  /** Not equal to the specified value. */
142
- notEqualTo?: string;
115
+ notEqualTo?: Base64EncodedBinary;
116
+ /** Not included in the specified list. */
117
+ notIn?: Base64EncodedBinary[];
118
+ }
119
+ export interface CheckPasswordInput {
120
+ clientMutationId?: string;
121
+ password?: string;
122
+ }
123
+ export interface ConfirmDeleteAccountInput {
124
+ clientMutationId?: string;
125
+ token?: string;
126
+ userId?: string;
127
+ }
128
+ /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
129
+ export interface ConstructiveInternalTypeEmailFilter {
143
130
  /** Not equal to the specified value, treating null like an ordinary value. */
144
131
  distinctFrom?: string;
145
- /** Equal to the specified value, treating null like an ordinary value. */
146
- notDistinctFrom?: string;
147
- /** Included in the specified list. */
148
- in?: string[];
149
- /** Not included in the specified list. */
150
- notIn?: string[];
151
- /** Less than the specified value. */
152
- lessThan?: string;
153
- /** Less than or equal to the specified value. */
154
- lessThanOrEqualTo?: string;
132
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
133
+ distinctFromInsensitive?: ConstructiveInternalTypeEmail;
134
+ /** Ends with the specified string (case-sensitive). */
135
+ endsWith?: string;
136
+ /** Ends with the specified string (case-insensitive). */
137
+ endsWithInsensitive?: ConstructiveInternalTypeEmail;
138
+ /** Equal to the specified value. */
139
+ equalTo?: string;
140
+ /** Equal to the specified value (case-insensitive). */
141
+ equalToInsensitive?: ConstructiveInternalTypeEmail;
155
142
  /** Greater than the specified value. */
156
143
  greaterThan?: string;
144
+ /** Greater than the specified value (case-insensitive). */
145
+ greaterThanInsensitive?: ConstructiveInternalTypeEmail;
157
146
  /** Greater than or equal to the specified value. */
158
147
  greaterThanOrEqualTo?: string;
148
+ /** Greater than or equal to the specified value (case-insensitive). */
149
+ greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
150
+ /** Included in the specified list. */
151
+ in?: string[];
152
+ /** Included in the specified list (case-insensitive). */
153
+ inInsensitive?: ConstructiveInternalTypeEmail[];
159
154
  /** Contains the specified string (case-sensitive). */
160
155
  includes?: string;
161
- /** Does not contain the specified string (case-sensitive). */
162
- notIncludes?: string;
163
156
  /** Contains the specified string (case-insensitive). */
164
- includesInsensitive?: string;
165
- /** Does not contain the specified string (case-insensitive). */
166
- notIncludesInsensitive?: string;
167
- /** Starts with the specified string (case-sensitive). */
168
- startsWith?: string;
169
- /** Does not start with the specified string (case-sensitive). */
170
- notStartsWith?: string;
171
- /** Starts with the specified string (case-insensitive). */
172
- startsWithInsensitive?: string;
173
- /** Does not start with the specified string (case-insensitive). */
174
- notStartsWithInsensitive?: string;
175
- /** Ends with the specified string (case-sensitive). */
176
- endsWith?: string;
177
- /** Does not end with the specified string (case-sensitive). */
178
- notEndsWith?: string;
179
- /** Ends with the specified string (case-insensitive). */
180
- endsWithInsensitive?: string;
181
- /** Does not end with the specified string (case-insensitive). */
182
- notEndsWithInsensitive?: string;
183
- /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
184
- like?: string;
185
- /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
186
- notLike?: string;
187
- /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
188
- likeInsensitive?: string;
189
- /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
190
- notLikeInsensitive?: string;
191
- /** Equal to the specified value (case-insensitive). */
192
- equalToInsensitive?: string;
193
- /** Not equal to the specified value (case-insensitive). */
194
- notEqualToInsensitive?: string;
195
- /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
196
- distinctFromInsensitive?: string;
197
- /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
198
- notDistinctFromInsensitive?: string;
199
- /** Included in the specified list (case-insensitive). */
200
- inInsensitive?: string[];
201
- /** Not included in the specified list (case-insensitive). */
202
- notInInsensitive?: string[];
203
- /** Less than the specified value (case-insensitive). */
204
- lessThanInsensitive?: string;
205
- /** Less than or equal to the specified value (case-insensitive). */
206
- lessThanOrEqualToInsensitive?: string;
207
- /** Greater than the specified value (case-insensitive). */
208
- greaterThanInsensitive?: string;
209
- /** Greater than or equal to the specified value (case-insensitive). */
210
- greaterThanOrEqualToInsensitive?: string;
211
- /** Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. */
212
- similarTo?: TrgmSearchInput;
213
- /** Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. */
214
- wordSimilarTo?: TrgmSearchInput;
215
- }
216
- /** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
217
- export interface TrgmSearchInput {
218
- /** The text to fuzzy-match against. Typos and misspellings are tolerated. */
219
- value: string;
220
- /** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
221
- threshold?: number;
222
- }
223
- /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */
224
- export interface ConstructiveInternalTypeImageFilter {
225
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
226
- isNull?: boolean;
227
- /** Equal to the specified value. */
228
- equalTo?: ConstructiveInternalTypeImage;
229
- /** Not equal to the specified value. */
230
- notEqualTo?: ConstructiveInternalTypeImage;
231
- /** Not equal to the specified value, treating null like an ordinary value. */
232
- distinctFrom?: ConstructiveInternalTypeImage;
233
- /** Equal to the specified value, treating null like an ordinary value. */
234
- notDistinctFrom?: ConstructiveInternalTypeImage;
235
- /** Included in the specified list. */
236
- in?: ConstructiveInternalTypeImage[];
237
- /** Not included in the specified list. */
238
- notIn?: ConstructiveInternalTypeImage[];
239
- /** Less than the specified value. */
240
- lessThan?: ConstructiveInternalTypeImage;
241
- /** Less than or equal to the specified value. */
242
- lessThanOrEqualTo?: ConstructiveInternalTypeImage;
243
- /** Greater than the specified value. */
244
- greaterThan?: ConstructiveInternalTypeImage;
245
- /** Greater than or equal to the specified value. */
246
- greaterThanOrEqualTo?: ConstructiveInternalTypeImage;
247
- /** Contains the specified JSON. */
248
- contains?: ConstructiveInternalTypeImage;
249
- /** Contains the specified key. */
250
- containsKey?: string;
251
- /** Contains all of the specified keys. */
252
- containsAllKeys?: string[];
253
- /** Contains any of the specified keys. */
254
- containsAnyKeys?: string[];
255
- /** Contained by the specified JSON. */
256
- containedBy?: ConstructiveInternalTypeImage;
257
- }
258
- /** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */
259
- export interface RoleTypeFilter {
260
- /** Filter by the object’s `id` field. */
261
- id?: IntFilter;
262
- /** Filter by the object’s `name` field. */
263
- name?: StringFilter;
264
- /** Checks for all expressions in this list. */
265
- and?: RoleTypeFilter[];
266
- /** Checks for any expressions in this list. */
267
- or?: RoleTypeFilter[];
268
- /** Negates the expression. */
269
- not?: RoleTypeFilter;
270
- }
271
- /** A filter to be used against many `Principal` object types. All fields are combined with a logical ‘and.’ */
272
- export interface UserToManyPrincipalFilter {
273
- /** Filters to entities where at least one related entity matches. */
274
- some?: PrincipalFilter;
275
- /** Filters to entities where every related entity matches. */
276
- every?: PrincipalFilter;
277
- /** Filters to entities where no related entity matches. */
278
- none?: PrincipalFilter;
279
- }
280
- /** A filter to be used against `Principal` object types. All fields are combined with a logical ‘and.’ */
281
- export interface PrincipalFilter {
282
- /** Filter by the object’s `id` field. */
283
- id?: UUIDFilter;
284
- /** Filter by the object’s `createdAt` field. */
285
- createdAt?: DatetimeFilter;
286
- /** Filter by the object’s `updatedAt` field. */
287
- updatedAt?: DatetimeFilter;
288
- /** Filter by the object’s `ownerId` field. */
289
- ownerId?: UUIDFilter;
290
- /** Filter by the object’s `userId` field. */
291
- userId?: UUIDFilter;
292
- /** Filter by the object’s `name` field. */
293
- name?: StringFilter;
294
- /** Filter by the object’s `useAdminOwner` field. */
295
- useAdminOwner?: BooleanFilter;
296
- /** Filter by the object’s `isReadOnly` field. */
297
- isReadOnly?: BooleanFilter;
298
- /** Filter by the object’s `bypassStepUp` field. */
299
- bypassStepUp?: BooleanFilter;
300
- /** Checks for all expressions in this list. */
301
- and?: PrincipalFilter[];
302
- /** Checks for any expressions in this list. */
303
- or?: PrincipalFilter[];
304
- /** Negates the expression. */
305
- not?: PrincipalFilter;
306
- /** Filter by the object’s `owner` relation. */
307
- owner?: UserFilter;
308
- /** Filter by the object’s `user` relation. */
309
- user?: UserFilter;
310
- /** Filter by the object’s `principalEntities` relation. */
311
- principalEntities?: PrincipalToManyPrincipalEntityFilter;
312
- /** `principalEntities` exist. */
313
- principalEntitiesExist?: boolean;
314
- /** Filter by the object’s `principalScopeOverrides` relation. */
315
- principalScopeOverrides?: PrincipalToManyPrincipalScopeOverrideFilter;
316
- /** `principalScopeOverrides` exist. */
317
- principalScopeOverridesExist?: boolean;
318
- }
319
- /** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
320
- export interface PrincipalToManyPrincipalEntityFilter {
321
- /** Filters to entities where at least one related entity matches. */
322
- some?: PrincipalEntityFilter;
323
- /** Filters to entities where every related entity matches. */
324
- every?: PrincipalEntityFilter;
325
- /** Filters to entities where no related entity matches. */
326
- none?: PrincipalEntityFilter;
327
- }
328
- /** A filter to be used against many `PrincipalScopeOverride` object types. All fields are combined with a logical ‘and.’ */
329
- export interface PrincipalToManyPrincipalScopeOverrideFilter {
330
- /** Filters to entities where at least one related entity matches. */
331
- some?: PrincipalScopeOverrideFilter;
332
- /** Filters to entities where every related entity matches. */
333
- every?: PrincipalScopeOverrideFilter;
334
- /** Filters to entities where no related entity matches. */
335
- none?: PrincipalScopeOverrideFilter;
336
- }
337
- /** A filter to be used against `PrincipalScopeOverride` object types. All fields are combined with a logical ‘and.’ */
338
- export interface PrincipalScopeOverrideFilter {
339
- /** Filter by the object’s `id` field. */
340
- id?: UUIDFilter;
341
- /** Filter by the object’s `createdAt` field. */
342
- createdAt?: DatetimeFilter;
343
- /** Filter by the object’s `updatedAt` field. */
344
- updatedAt?: DatetimeFilter;
345
- /** Filter by the object’s `principalId` field. */
346
- principalId?: UUIDFilter;
347
- /** Filter by the object’s `membershipType` field. */
348
- membershipType?: IntFilter;
349
- /** Filter by the object’s `allowedMask` field. */
350
- allowedMask?: BitStringFilter;
351
- /** Filter by the object’s `useAdminOwner` field. */
352
- useAdminOwner?: BooleanFilter;
353
- /** Filter by the object’s `isActive` field. */
354
- isActive?: BooleanFilter;
355
- /** Filter by the object’s `isReadOnly` field. */
356
- isReadOnly?: BooleanFilter;
357
- /** Checks for all expressions in this list. */
358
- and?: PrincipalScopeOverrideFilter[];
359
- /** Checks for any expressions in this list. */
360
- or?: PrincipalScopeOverrideFilter[];
361
- /** Negates the expression. */
362
- not?: PrincipalScopeOverrideFilter;
363
- /** Filter by the object’s `principal` relation. */
364
- principal?: PrincipalFilter;
365
- }
366
- /** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
367
- export interface UserToManyPrincipalEntityFilter {
368
- /** Filters to entities where at least one related entity matches. */
369
- some?: PrincipalEntityFilter;
370
- /** Filters to entities where every related entity matches. */
371
- every?: PrincipalEntityFilter;
372
- /** Filters to entities where no related entity matches. */
373
- none?: PrincipalEntityFilter;
374
- }
375
- /** A filter to be used against many `Email` object types. All fields are combined with a logical ‘and.’ */
376
- export interface UserToManyEmailFilter {
377
- /** Filters to entities where at least one related entity matches. */
378
- some?: EmailFilter;
379
- /** Filters to entities where every related entity matches. */
380
- every?: EmailFilter;
381
- /** Filters to entities where no related entity matches. */
382
- none?: EmailFilter;
383
- }
384
- /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */
385
- export interface EmailFilter {
386
- /** Filter by the object’s `id` field. */
387
- id?: UUIDFilter;
388
- /** Filter by the object’s `ownerId` field. */
389
- ownerId?: UUIDFilter;
390
- /** Filter by the object’s `email` field. */
391
- email?: ConstructiveInternalTypeEmailFilter;
392
- /** Filter by the object’s `isVerified` field. */
393
- isVerified?: BooleanFilter;
394
- /** Filter by the object’s `isPrimary` field. */
395
- isPrimary?: BooleanFilter;
396
- /** Filter by the object’s `name` field. */
397
- name?: StringFilter;
398
- /** Filter by the object’s `createdAt` field. */
399
- createdAt?: DatetimeFilter;
400
- /** Filter by the object’s `updatedAt` field. */
401
- updatedAt?: DatetimeFilter;
402
- /** Checks for all expressions in this list. */
403
- and?: EmailFilter[];
404
- /** Checks for any expressions in this list. */
405
- or?: EmailFilter[];
406
- /** Negates the expression. */
407
- not?: EmailFilter;
408
- /** Filter by the object’s `owner` relation. */
409
- owner?: UserFilter;
410
- }
411
- /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
412
- export interface ConstructiveInternalTypeEmailFilter {
413
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
414
- isNull?: boolean;
415
- /** Equal to the specified value. */
416
- equalTo?: string;
417
- /** Not equal to the specified value. */
418
- notEqualTo?: string;
419
- /** Not equal to the specified value, treating null like an ordinary value. */
420
- distinctFrom?: string;
421
- /** Equal to the specified value, treating null like an ordinary value. */
422
- notDistinctFrom?: string;
423
- /** Included in the specified list. */
424
- in?: string[];
425
- /** Not included in the specified list. */
426
- notIn?: string[];
427
- /** Less than the specified value. */
428
- lessThan?: string;
429
- /** Less than or equal to the specified value. */
430
- lessThanOrEqualTo?: string;
431
- /** Greater than the specified value. */
432
- greaterThan?: string;
433
- /** Greater than or equal to the specified value. */
434
- greaterThanOrEqualTo?: string;
435
- /** Contains the specified string (case-sensitive). */
436
- includes?: string;
437
- /** Does not contain the specified string (case-sensitive). */
438
- notIncludes?: string;
439
- /** Contains the specified string (case-insensitive). */
440
- includesInsensitive?: ConstructiveInternalTypeEmail;
441
- /** Does not contain the specified string (case-insensitive). */
442
- notIncludesInsensitive?: ConstructiveInternalTypeEmail;
443
- /** Starts with the specified string (case-sensitive). */
444
- startsWith?: string;
445
- /** Does not start with the specified string (case-sensitive). */
446
- notStartsWith?: string;
447
- /** Starts with the specified string (case-insensitive). */
448
- startsWithInsensitive?: ConstructiveInternalTypeEmail;
449
- /** Does not start with the specified string (case-insensitive). */
450
- notStartsWithInsensitive?: ConstructiveInternalTypeEmail;
451
- /** Ends with the specified string (case-sensitive). */
452
- endsWith?: string;
453
- /** Does not end with the specified string (case-sensitive). */
454
- notEndsWith?: string;
455
- /** Ends with the specified string (case-insensitive). */
456
- endsWithInsensitive?: ConstructiveInternalTypeEmail;
457
- /** Does not end with the specified string (case-insensitive). */
458
- notEndsWithInsensitive?: ConstructiveInternalTypeEmail;
459
- /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
460
- like?: string;
461
- /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
462
- notLike?: string;
463
- /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
464
- likeInsensitive?: ConstructiveInternalTypeEmail;
465
- /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
466
- notLikeInsensitive?: ConstructiveInternalTypeEmail;
467
- /** Equal to the specified value (case-insensitive). */
468
- equalToInsensitive?: ConstructiveInternalTypeEmail;
469
- /** Not equal to the specified value (case-insensitive). */
470
- notEqualToInsensitive?: ConstructiveInternalTypeEmail;
471
- /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
472
- distinctFromInsensitive?: ConstructiveInternalTypeEmail;
473
- /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
474
- notDistinctFromInsensitive?: ConstructiveInternalTypeEmail;
475
- /** Included in the specified list (case-insensitive). */
476
- inInsensitive?: ConstructiveInternalTypeEmail[];
477
- /** Not included in the specified list (case-insensitive). */
478
- notInInsensitive?: ConstructiveInternalTypeEmail[];
479
- /** Less than the specified value (case-insensitive). */
480
- lessThanInsensitive?: ConstructiveInternalTypeEmail;
481
- /** Less than or equal to the specified value (case-insensitive). */
482
- lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
483
- /** Greater than the specified value (case-insensitive). */
484
- greaterThanInsensitive?: ConstructiveInternalTypeEmail;
485
- /** Greater than or equal to the specified value (case-insensitive). */
486
- greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
487
- }
488
- /** A filter to be used against many `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
489
- export interface UserToManyPhoneNumberFilter {
490
- /** Filters to entities where at least one related entity matches. */
491
- some?: PhoneNumberFilter;
492
- /** Filters to entities where every related entity matches. */
493
- every?: PhoneNumberFilter;
494
- /** Filters to entities where no related entity matches. */
495
- none?: PhoneNumberFilter;
496
- }
497
- /** A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
498
- export interface PhoneNumberFilter {
499
- /** Filter by the object’s `id` field. */
500
- id?: UUIDFilter;
501
- /** Filter by the object’s `ownerId` field. */
502
- ownerId?: UUIDFilter;
503
- /** Filter by the object’s `cc` field. */
504
- cc?: StringFilter;
505
- /** Filter by the object’s `number` field. */
506
- number?: StringFilter;
507
- /** Filter by the object’s `isVerified` field. */
508
- isVerified?: BooleanFilter;
509
- /** Filter by the object’s `isPrimary` field. */
510
- isPrimary?: BooleanFilter;
511
- /** Filter by the object’s `name` field. */
512
- name?: StringFilter;
513
- /** Filter by the object’s `createdAt` field. */
514
- createdAt?: DatetimeFilter;
515
- /** Filter by the object’s `updatedAt` field. */
516
- updatedAt?: DatetimeFilter;
517
- /** Checks for all expressions in this list. */
518
- and?: PhoneNumberFilter[];
519
- /** Checks for any expressions in this list. */
520
- or?: PhoneNumberFilter[];
521
- /** Negates the expression. */
522
- not?: PhoneNumberFilter;
523
- /** Filter by the object’s `owner` relation. */
524
- owner?: UserFilter;
525
- }
526
- /** A filter to be used against many `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
527
- export interface UserToManyCryptoAddressFilter {
528
- /** Filters to entities where at least one related entity matches. */
529
- some?: CryptoAddressFilter;
530
- /** Filters to entities where every related entity matches. */
531
- every?: CryptoAddressFilter;
532
- /** Filters to entities where no related entity matches. */
533
- none?: CryptoAddressFilter;
534
- }
535
- /** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
536
- export interface CryptoAddressFilter {
537
- /** Filter by the object’s `id` field. */
538
- id?: UUIDFilter;
539
- /** Filter by the object’s `ownerId` field. */
540
- ownerId?: UUIDFilter;
541
- /** Filter by the object’s `address` field. */
542
- address?: StringFilter;
543
- /** Filter by the object’s `isVerified` field. */
544
- isVerified?: BooleanFilter;
545
- /** Filter by the object’s `isPrimary` field. */
546
- isPrimary?: BooleanFilter;
547
- /** Filter by the object’s `name` field. */
548
- name?: StringFilter;
549
- /** Filter by the object’s `createdAt` field. */
550
- createdAt?: DatetimeFilter;
551
- /** Filter by the object’s `updatedAt` field. */
552
- updatedAt?: DatetimeFilter;
553
- /** Checks for all expressions in this list. */
554
- and?: CryptoAddressFilter[];
555
- /** Checks for any expressions in this list. */
556
- or?: CryptoAddressFilter[];
557
- /** Negates the expression. */
558
- not?: CryptoAddressFilter;
559
- /** Filter by the object’s `owner` relation. */
560
- owner?: UserFilter;
561
- }
562
- /** A filter to be used against many `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
563
- export interface UserToManyWebauthnCredentialFilter {
564
- /** Filters to entities where at least one related entity matches. */
565
- some?: WebauthnCredentialFilter;
566
- /** Filters to entities where every related entity matches. */
567
- every?: WebauthnCredentialFilter;
568
- /** Filters to entities where no related entity matches. */
569
- none?: WebauthnCredentialFilter;
570
- }
571
- /** A filter to be used against `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
572
- export interface WebauthnCredentialFilter {
573
- /** Filter by the object’s `id` field. */
574
- id?: UUIDFilter;
575
- /** Filter by the object’s `ownerId` field. */
576
- ownerId?: UUIDFilter;
577
- /** Filter by the object’s `credentialId` field. */
578
- credentialId?: StringFilter;
579
- /** Filter by the object’s `publicKey` field. */
580
- publicKey?: Base64EncodedBinaryFilter;
581
- /** Filter by the object’s `signCount` field. */
582
- signCount?: BigIntFilter;
583
- /** Filter by the object’s `webauthnUserId` field. */
584
- webauthnUserId?: StringFilter;
585
- /** Filter by the object’s `transports` field. */
586
- transports?: StringListFilter;
587
- /** Filter by the object’s `credentialDeviceType` field. */
588
- credentialDeviceType?: StringFilter;
589
- /** Filter by the object’s `backupEligible` field. */
590
- backupEligible?: BooleanFilter;
591
- /** Filter by the object’s `backupState` field. */
592
- backupState?: BooleanFilter;
593
- /** Filter by the object’s `name` field. */
594
- name?: StringFilter;
595
- /** Filter by the object’s `lastUsedAt` field. */
596
- lastUsedAt?: DatetimeFilter;
597
- /** Filter by the object’s `createdAt` field. */
598
- createdAt?: DatetimeFilter;
599
- /** Filter by the object’s `updatedAt` field. */
600
- updatedAt?: DatetimeFilter;
601
- /** Checks for all expressions in this list. */
602
- and?: WebauthnCredentialFilter[];
603
- /** Checks for any expressions in this list. */
604
- or?: WebauthnCredentialFilter[];
605
- /** Negates the expression. */
606
- not?: WebauthnCredentialFilter;
607
- /** Filter by the object’s `owner` relation. */
608
- owner?: UserFilter;
609
- }
610
- /** A filter to be used against Base64EncodedBinary fields. All fields are combined with a logical ‘and.’ */
611
- export interface Base64EncodedBinaryFilter {
157
+ includesInsensitive?: ConstructiveInternalTypeEmail;
612
158
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
613
159
  isNull?: boolean;
614
- /** Equal to the specified value. */
615
- equalTo?: Base64EncodedBinary;
160
+ /** Less than the specified value. */
161
+ lessThan?: string;
162
+ /** Less than the specified value (case-insensitive). */
163
+ lessThanInsensitive?: ConstructiveInternalTypeEmail;
164
+ /** Less than or equal to the specified value. */
165
+ lessThanOrEqualTo?: string;
166
+ /** Less than or equal to the specified value (case-insensitive). */
167
+ lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
168
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
169
+ like?: string;
170
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
171
+ likeInsensitive?: ConstructiveInternalTypeEmail;
172
+ /** Equal to the specified value, treating null like an ordinary value. */
173
+ notDistinctFrom?: string;
174
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
175
+ notDistinctFromInsensitive?: ConstructiveInternalTypeEmail;
176
+ /** Does not end with the specified string (case-sensitive). */
177
+ notEndsWith?: string;
178
+ /** Does not end with the specified string (case-insensitive). */
179
+ notEndsWithInsensitive?: ConstructiveInternalTypeEmail;
616
180
  /** Not equal to the specified value. */
617
- notEqualTo?: Base64EncodedBinary;
181
+ notEqualTo?: string;
182
+ /** Not equal to the specified value (case-insensitive). */
183
+ notEqualToInsensitive?: ConstructiveInternalTypeEmail;
184
+ /** Not included in the specified list. */
185
+ notIn?: string[];
186
+ /** Not included in the specified list (case-insensitive). */
187
+ notInInsensitive?: ConstructiveInternalTypeEmail[];
188
+ /** Does not contain the specified string (case-sensitive). */
189
+ notIncludes?: string;
190
+ /** Does not contain the specified string (case-insensitive). */
191
+ notIncludesInsensitive?: ConstructiveInternalTypeEmail;
192
+ /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
193
+ notLike?: string;
194
+ /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
195
+ notLikeInsensitive?: ConstructiveInternalTypeEmail;
196
+ /** Does not start with the specified string (case-sensitive). */
197
+ notStartsWith?: string;
198
+ /** Does not start with the specified string (case-insensitive). */
199
+ notStartsWithInsensitive?: ConstructiveInternalTypeEmail;
200
+ /** Starts with the specified string (case-sensitive). */
201
+ startsWith?: string;
202
+ /** Starts with the specified string (case-insensitive). */
203
+ startsWithInsensitive?: ConstructiveInternalTypeEmail;
204
+ }
205
+ /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */
206
+ export interface ConstructiveInternalTypeImageFilter {
207
+ /** Contained by the specified JSON. */
208
+ containedBy?: ConstructiveInternalTypeImage;
209
+ /** Contains the specified JSON. */
210
+ contains?: ConstructiveInternalTypeImage;
211
+ /** Contains all of the specified keys. */
212
+ containsAllKeys?: string[];
213
+ /** Contains any of the specified keys. */
214
+ containsAnyKeys?: string[];
215
+ /** Contains the specified key. */
216
+ containsKey?: string;
618
217
  /** Not equal to the specified value, treating null like an ordinary value. */
619
- distinctFrom?: Base64EncodedBinary;
620
- /** Equal to the specified value, treating null like an ordinary value. */
621
- notDistinctFrom?: Base64EncodedBinary;
218
+ distinctFrom?: ConstructiveInternalTypeImage;
219
+ /** Equal to the specified value. */
220
+ equalTo?: ConstructiveInternalTypeImage;
221
+ /** Greater than the specified value. */
222
+ greaterThan?: ConstructiveInternalTypeImage;
223
+ /** Greater than or equal to the specified value. */
224
+ greaterThanOrEqualTo?: ConstructiveInternalTypeImage;
622
225
  /** Included in the specified list. */
623
- in?: Base64EncodedBinary[];
226
+ in?: ConstructiveInternalTypeImage[];
227
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
228
+ isNull?: boolean;
229
+ /** Less than the specified value. */
230
+ lessThan?: ConstructiveInternalTypeImage;
231
+ /** Less than or equal to the specified value. */
232
+ lessThanOrEqualTo?: ConstructiveInternalTypeImage;
233
+ /** Equal to the specified value, treating null like an ordinary value. */
234
+ notDistinctFrom?: ConstructiveInternalTypeImage;
235
+ /** Not equal to the specified value. */
236
+ notEqualTo?: ConstructiveInternalTypeImage;
624
237
  /** Not included in the specified list. */
625
- notIn?: Base64EncodedBinary[];
626
- }
627
- /** A filter to be used against many `AuditLogAuth` object types. All fields are combined with a logical ‘and.’ */
628
- export interface UserToManyAuditLogAuthFilter {
629
- /** Filters to entities where at least one related entity matches. */
630
- some?: AuditLogAuthFilter;
631
- /** Filters to entities where every related entity matches. */
632
- every?: AuditLogAuthFilter;
633
- /** Filters to entities where no related entity matches. */
634
- none?: AuditLogAuthFilter;
635
- }
636
- /** A filter to be used against `AuditLogAuth` object types. All fields are combined with a logical ‘and.’ */
637
- export interface AuditLogAuthFilter {
638
- /** Filter by the object’s `createdAt` field. */
639
- createdAt?: DatetimeFilter;
640
- /** Filter by the object’s `id` field. */
641
- id?: UUIDFilter;
642
- /** Filter by the object’s `event` field. */
643
- event?: StringFilter;
644
- /** Filter by the object’s `actorId` field. */
645
- actorId?: UUIDFilter;
646
- /** Filter by the object’s `origin` field. */
647
- origin?: ConstructiveInternalTypeOriginFilter;
648
- /** Filter by the object’s `userAgent` field. */
649
- userAgent?: StringFilter;
650
- /** Filter by the object’s `ipAddress` field. */
651
- ipAddress?: InternetAddressFilter;
652
- /** Filter by the object’s `success` field. */
653
- success?: BooleanFilter;
654
- /** Checks for all expressions in this list. */
655
- and?: AuditLogAuthFilter[];
656
- /** Checks for any expressions in this list. */
657
- or?: AuditLogAuthFilter[];
658
- /** Negates the expression. */
659
- not?: AuditLogAuthFilter;
660
- /** Filter by the object’s `actor` relation. */
661
- actor?: UserFilter;
662
- /** A related `actor` exists. */
663
- actorExists?: boolean;
238
+ notIn?: ConstructiveInternalTypeImage[];
664
239
  }
665
240
  /** A filter to be used against ConstructiveInternalTypeOrigin fields. All fields are combined with a logical ‘and.’ */
666
241
  export interface ConstructiveInternalTypeOriginFilter {
667
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
668
- isNull?: boolean;
669
- /** Equal to the specified value. */
670
- equalTo?: ConstructiveInternalTypeOrigin;
671
- /** Not equal to the specified value. */
672
- notEqualTo?: ConstructiveInternalTypeOrigin;
673
242
  /** Not equal to the specified value, treating null like an ordinary value. */
674
243
  distinctFrom?: ConstructiveInternalTypeOrigin;
675
- /** Equal to the specified value, treating null like an ordinary value. */
676
- notDistinctFrom?: ConstructiveInternalTypeOrigin;
677
- /** Included in the specified list. */
678
- in?: ConstructiveInternalTypeOrigin[];
679
- /** Not included in the specified list. */
680
- notIn?: ConstructiveInternalTypeOrigin[];
681
- /** Less than the specified value. */
682
- lessThan?: ConstructiveInternalTypeOrigin;
683
- /** Less than or equal to the specified value. */
684
- lessThanOrEqualTo?: ConstructiveInternalTypeOrigin;
685
- /** Greater than the specified value. */
686
- greaterThan?: ConstructiveInternalTypeOrigin;
687
- /** Greater than or equal to the specified value. */
688
- greaterThanOrEqualTo?: ConstructiveInternalTypeOrigin;
689
- /** Contains the specified string (case-sensitive). */
690
- includes?: ConstructiveInternalTypeOrigin;
691
- /** Does not contain the specified string (case-sensitive). */
692
- notIncludes?: ConstructiveInternalTypeOrigin;
693
- /** Contains the specified string (case-insensitive). */
694
- includesInsensitive?: ConstructiveInternalTypeOrigin;
695
- /** Does not contain the specified string (case-insensitive). */
696
- notIncludesInsensitive?: ConstructiveInternalTypeOrigin;
697
- /** Starts with the specified string (case-sensitive). */
698
- startsWith?: ConstructiveInternalTypeOrigin;
699
- /** Does not start with the specified string (case-sensitive). */
700
- notStartsWith?: ConstructiveInternalTypeOrigin;
701
- /** Starts with the specified string (case-insensitive). */
702
- startsWithInsensitive?: ConstructiveInternalTypeOrigin;
703
- /** Does not start with the specified string (case-insensitive). */
704
- notStartsWithInsensitive?: ConstructiveInternalTypeOrigin;
244
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
245
+ distinctFromInsensitive?: string;
705
246
  /** Ends with the specified string (case-sensitive). */
706
247
  endsWith?: ConstructiveInternalTypeOrigin;
707
- /** Does not end with the specified string (case-sensitive). */
708
- notEndsWith?: ConstructiveInternalTypeOrigin;
709
248
  /** Ends with the specified string (case-insensitive). */
710
249
  endsWithInsensitive?: ConstructiveInternalTypeOrigin;
711
- /** Does not end with the specified string (case-insensitive). */
712
- notEndsWithInsensitive?: ConstructiveInternalTypeOrigin;
713
- /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
714
- like?: ConstructiveInternalTypeOrigin;
715
- /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
716
- notLike?: ConstructiveInternalTypeOrigin;
717
- /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
718
- likeInsensitive?: ConstructiveInternalTypeOrigin;
719
- /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
720
- notLikeInsensitive?: ConstructiveInternalTypeOrigin;
250
+ /** Equal to the specified value. */
251
+ equalTo?: ConstructiveInternalTypeOrigin;
721
252
  /** Equal to the specified value (case-insensitive). */
722
253
  equalToInsensitive?: string;
723
- /** Not equal to the specified value (case-insensitive). */
724
- notEqualToInsensitive?: string;
725
- /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
726
- distinctFromInsensitive?: string;
727
- /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
728
- notDistinctFromInsensitive?: string;
254
+ /** Greater than the specified value. */
255
+ greaterThan?: ConstructiveInternalTypeOrigin;
256
+ /** Greater than the specified value (case-insensitive). */
257
+ greaterThanInsensitive?: string;
258
+ /** Greater than or equal to the specified value. */
259
+ greaterThanOrEqualTo?: ConstructiveInternalTypeOrigin;
260
+ /** Greater than or equal to the specified value (case-insensitive). */
261
+ greaterThanOrEqualToInsensitive?: string;
262
+ /** Included in the specified list. */
263
+ in?: ConstructiveInternalTypeOrigin[];
729
264
  /** Included in the specified list (case-insensitive). */
730
265
  inInsensitive?: string[];
731
- /** Not included in the specified list (case-insensitive). */
732
- notInInsensitive?: string[];
266
+ /** Contains the specified string (case-sensitive). */
267
+ includes?: ConstructiveInternalTypeOrigin;
268
+ /** Contains the specified string (case-insensitive). */
269
+ includesInsensitive?: ConstructiveInternalTypeOrigin;
270
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
271
+ isNull?: boolean;
272
+ /** Less than the specified value. */
273
+ lessThan?: ConstructiveInternalTypeOrigin;
733
274
  /** Less than the specified value (case-insensitive). */
734
275
  lessThanInsensitive?: string;
276
+ /** Less than or equal to the specified value. */
277
+ lessThanOrEqualTo?: ConstructiveInternalTypeOrigin;
735
278
  /** Less than or equal to the specified value (case-insensitive). */
736
279
  lessThanOrEqualToInsensitive?: string;
737
- /** Greater than the specified value (case-insensitive). */
738
- greaterThanInsensitive?: string;
739
- /** Greater than or equal to the specified value (case-insensitive). */
740
- greaterThanOrEqualToInsensitive?: string;
741
- }
742
- /** A filter to be used against `IdentityProvider` object types. All fields are combined with a logical ‘and.’ */
743
- export interface IdentityProviderFilter {
744
- /** Filter by the object’s `slug` field. */
745
- slug?: StringFilter;
746
- /** Filter by the object’s `kind` field. */
747
- kind?: StringFilter;
748
- /** Filter by the object’s `displayName` field. */
749
- displayName?: StringFilter;
750
- /** Filter by the object’s `enabled` field. */
751
- enabled?: BooleanFilter;
752
- /** Filter by the object’s `isBuiltIn` field. */
753
- isBuiltIn?: BooleanFilter;
754
- /** Checks for all expressions in this list. */
755
- and?: IdentityProviderFilter[];
756
- /** Checks for any expressions in this list. */
757
- or?: IdentityProviderFilter[];
758
- /** Negates the expression. */
759
- not?: IdentityProviderFilter;
280
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
281
+ like?: ConstructiveInternalTypeOrigin;
282
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
283
+ likeInsensitive?: ConstructiveInternalTypeOrigin;
284
+ /** Equal to the specified value, treating null like an ordinary value. */
285
+ notDistinctFrom?: ConstructiveInternalTypeOrigin;
286
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
287
+ notDistinctFromInsensitive?: string;
288
+ /** Does not end with the specified string (case-sensitive). */
289
+ notEndsWith?: ConstructiveInternalTypeOrigin;
290
+ /** Does not end with the specified string (case-insensitive). */
291
+ notEndsWithInsensitive?: ConstructiveInternalTypeOrigin;
292
+ /** Not equal to the specified value. */
293
+ notEqualTo?: ConstructiveInternalTypeOrigin;
294
+ /** Not equal to the specified value (case-insensitive). */
295
+ notEqualToInsensitive?: string;
296
+ /** Not included in the specified list. */
297
+ notIn?: ConstructiveInternalTypeOrigin[];
298
+ /** Not included in the specified list (case-insensitive). */
299
+ notInInsensitive?: string[];
300
+ /** Does not contain the specified string (case-sensitive). */
301
+ notIncludes?: ConstructiveInternalTypeOrigin;
302
+ /** Does not contain the specified string (case-insensitive). */
303
+ notIncludesInsensitive?: ConstructiveInternalTypeOrigin;
304
+ /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
305
+ notLike?: ConstructiveInternalTypeOrigin;
306
+ /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
307
+ notLikeInsensitive?: ConstructiveInternalTypeOrigin;
308
+ /** Does not start with the specified string (case-sensitive). */
309
+ notStartsWith?: ConstructiveInternalTypeOrigin;
310
+ /** Does not start with the specified string (case-insensitive). */
311
+ notStartsWithInsensitive?: ConstructiveInternalTypeOrigin;
312
+ /** Starts with the specified string (case-sensitive). */
313
+ startsWith?: ConstructiveInternalTypeOrigin;
314
+ /** Starts with the specified string (case-insensitive). */
315
+ startsWithInsensitive?: ConstructiveInternalTypeOrigin;
760
316
  }
761
- /** A filter to be used against `UserConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
762
- export interface UserConnectedAccountFilter {
763
- /** Filter by the object’s `id` field. */
764
- id?: UUIDFilter;
765
- /** Filter by the object’s `ownerId` field. */
766
- ownerId?: UUIDFilter;
767
- /** Filter by the object’s `service` field. */
768
- service?: StringFilter;
769
- /** Filter by the object’s `identifier` field. */
770
- identifier?: StringFilter;
771
- /** Filter by the object’s `details` field. */
772
- details?: JSONFilter;
773
- /** Filter by the object’s `isVerified` field. */
774
- isVerified?: BooleanFilter;
775
- /** Filter by the object’s `createdAt` field. */
776
- createdAt?: DatetimeFilter;
777
- /** Filter by the object’s `updatedAt` field. */
778
- updatedAt?: DatetimeFilter;
779
- /** Checks for all expressions in this list. */
780
- and?: UserConnectedAccountFilter[];
781
- /** Checks for any expressions in this list. */
782
- or?: UserConnectedAccountFilter[];
783
- /** Negates the expression. */
784
- not?: UserConnectedAccountFilter;
317
+ export interface CreateApiKeyInput {
318
+ accessLevel?: string;
319
+ clientMutationId?: string;
320
+ expiresIn?: IntervalInput;
321
+ keyName?: string;
322
+ mfaLevel?: string;
323
+ principalId?: string;
785
324
  }
786
- /** A filter to be used against `OrgApiKeyList` object types. All fields are combined with a logical ‘and.’ */
787
- export interface OrgApiKeyListFilter {
788
- /** Filter by the object’s `id` field. */
789
- id?: UUIDFilter;
790
- /** Filter by the object’s `keyId` field. */
791
- keyId?: StringFilter;
792
- /** Filter by the object’s `name` field. */
793
- name?: StringFilter;
794
- /** Filter by the object’s `principalId` field. */
795
- principalId?: UUIDFilter;
796
- /** Filter by the object’s `orgId` field. */
797
- orgId?: UUIDFilter;
798
- /** Filter by the object’s `expiresAt` field. */
799
- expiresAt?: DatetimeFilter;
800
- /** Filter by the object’s `revokedAt` field. */
801
- revokedAt?: DatetimeFilter;
802
- /** Filter by the object’s `lastUsedAt` field. */
803
- lastUsedAt?: DatetimeFilter;
804
- /** Filter by the object’s `mfaLevel` field. */
805
- mfaLevel?: StringFilter;
806
- /** Filter by the object’s `accessLevel` field. */
807
- accessLevel?: StringFilter;
808
- /** Filter by the object’s `createdAt` field. */
809
- createdAt?: DatetimeFilter;
810
- /** Filter by the object’s `updatedAt` field. */
811
- updatedAt?: DatetimeFilter;
812
- /** Checks for all expressions in this list. */
813
- and?: OrgApiKeyListFilter[];
814
- /** Checks for any expressions in this list. */
815
- or?: OrgApiKeyListFilter[];
816
- /** Negates the expression. */
817
- not?: OrgApiKeyListFilter;
325
+ export interface CreateAuditLogAuthInput {
326
+ /** The `AuditLogAuth` to be created by this mutation. */
327
+ auditLogAuth: AuditLogAuthInput;
328
+ clientMutationId?: string;
818
329
  }
819
- export interface SignOutInput {
330
+ export interface CreateCryptoAddressInput {
820
331
  clientMutationId?: string;
332
+ /** The `CryptoAddress` to be created by this mutation. */
333
+ cryptoAddress: CryptoAddressInput;
821
334
  }
822
- export interface SendAccountDeletionEmailInput {
335
+ export interface CreateEmailInput {
823
336
  clientMutationId?: string;
337
+ /** The `Email` to be created by this mutation. */
338
+ email: EmailInput;
824
339
  }
825
- export interface CheckPasswordInput {
340
+ export interface CreateIdentityProviderInput {
826
341
  clientMutationId?: string;
827
- password?: string;
342
+ /** The `IdentityProvider` to be created by this mutation. */
343
+ identityProvider: IdentityProviderInput;
828
344
  }
829
- export interface DeleteOrgPrincipalInput {
345
+ export interface CreateOrgApiKeyInput {
346
+ accessLevel?: string;
830
347
  clientMutationId?: string;
348
+ expiresIn?: IntervalInput;
349
+ keyName?: string;
350
+ mfaLevel?: string;
351
+ orgId?: string;
831
352
  principalId?: string;
832
353
  }
833
- export interface DeletePrincipalInput {
354
+ export interface CreateOrgApiKeyListInput {
834
355
  clientMutationId?: string;
835
- principalId?: string;
356
+ /** The `OrgApiKeyList` to be created by this mutation. */
357
+ orgApiKeyList: OrgApiKeyListInput;
836
358
  }
837
- export interface DisconnectAccountInput {
359
+ export interface CreateOrgPrincipalInput {
360
+ bypassStepUp?: boolean;
838
361
  clientMutationId?: string;
839
- accountId: string;
362
+ isReadOnly?: boolean;
363
+ name?: string;
364
+ orgId?: string;
365
+ useAdminOwner?: boolean;
840
366
  }
841
- export interface RevokeApiKeyInput {
367
+ export interface CreatePhoneNumberInput {
842
368
  clientMutationId?: string;
843
- keyId: string;
369
+ /** The `PhoneNumber` to be created by this mutation. */
370
+ phoneNumber: PhoneNumberInput;
844
371
  }
845
- export interface RevokeSessionInput {
372
+ export interface CreatePrincipalEntityInput {
846
373
  clientMutationId?: string;
847
- sessionId: string;
374
+ /** The `PrincipalEntity` to be created by this mutation. */
375
+ principalEntity: PrincipalEntityInput;
848
376
  }
849
- export interface VerifyPasswordInput {
377
+ export interface CreatePrincipalInput {
378
+ bypassStepUp?: boolean;
850
379
  clientMutationId?: string;
851
- password: string;
380
+ entityIds?: string[];
381
+ isReadOnly?: boolean;
382
+ name?: string;
383
+ useAdminOwner?: boolean;
852
384
  }
853
- export interface VerifyTotpInput {
385
+ export interface CreateRoleTypeInput {
854
386
  clientMutationId?: string;
855
- totpValue: string;
387
+ /** The `RoleType` to be created by this mutation. */
388
+ roleType: RoleTypeInput;
856
389
  }
857
- export interface ConfirmDeleteAccountInput {
390
+ export interface CreateUserConnectedAccountInput {
858
391
  clientMutationId?: string;
859
- userId?: string;
860
- token?: string;
392
+ /** The `UserConnectedAccount` to be created by this mutation. */
393
+ userConnectedAccount: UserConnectedAccountInput;
861
394
  }
862
- export interface RevokeOrgApiKeyInput {
395
+ export interface CreateUserInput {
863
396
  clientMutationId?: string;
864
- keyId: string;
865
- orgId: string;
397
+ /** The `User` to be created by this mutation. */
398
+ user: UserInput;
399
+ }
400
+ export interface CreateWebauthnCredentialInput {
401
+ clientMutationId?: string;
402
+ /** The `WebauthnCredential` to be created by this mutation. */
403
+ webauthnCredential: WebauthnCredentialInput;
404
+ }
405
+ /** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
406
+ export interface CryptoAddressFilter {
407
+ /** Filter by the object’s `address` field. */
408
+ address?: StringFilter;
409
+ /** Checks for all expressions in this list. */
410
+ and?: CryptoAddressFilter[];
411
+ /** Filter by the object’s `createdAt` field. */
412
+ createdAt?: DatetimeFilter;
413
+ /** Filter by the object’s `id` field. */
414
+ id?: UUIDFilter;
415
+ /** Filter by the object’s `isPrimary` field. */
416
+ isPrimary?: BooleanFilter;
417
+ /** Filter by the object’s `isVerified` field. */
418
+ isVerified?: BooleanFilter;
419
+ /** Filter by the object’s `name` field. */
420
+ name?: StringFilter;
421
+ /** Negates the expression. */
422
+ not?: CryptoAddressFilter;
423
+ /** Checks for any expressions in this list. */
424
+ or?: CryptoAddressFilter[];
425
+ /** Filter by the object’s `owner` relation. */
426
+ owner?: UserFilter;
427
+ /** Filter by the object’s `ownerId` field. */
428
+ ownerId?: UUIDFilter;
429
+ /** Filter by the object’s `updatedAt` field. */
430
+ updatedAt?: DatetimeFilter;
431
+ }
432
+ /** An input for mutations affecting `CryptoAddress` */
433
+ export interface CryptoAddressInput {
434
+ /** The cryptocurrency wallet address, validated against network-specific patterns */
435
+ address: string;
436
+ createdAt?: string;
437
+ id?: string;
438
+ /** Whether this is the user's primary cryptocurrency address */
439
+ isPrimary?: boolean;
440
+ /** Whether ownership of this address has been cryptographically verified */
441
+ isVerified?: boolean;
442
+ /** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */
443
+ name?: string;
444
+ ownerId?: string;
445
+ updatedAt?: string;
446
+ }
447
+ /** Represents an update to a `CryptoAddress`. Fields that are set will be updated. */
448
+ export interface CryptoAddressPatch {
449
+ /** The cryptocurrency wallet address, validated against network-specific patterns */
450
+ address?: string;
451
+ createdAt?: string;
452
+ id?: string;
453
+ /** Whether this is the user's primary cryptocurrency address */
454
+ isPrimary?: boolean;
455
+ /** Whether ownership of this address has been cryptographically verified */
456
+ isVerified?: boolean;
457
+ /** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */
458
+ name?: string;
459
+ ownerId?: string;
460
+ updatedAt?: string;
866
461
  }
867
- export interface SetPasswordInput {
462
+ export interface DeleteAuditLogAuthInput {
868
463
  clientMutationId?: string;
869
- currentPassword?: string;
870
- newPassword?: string;
464
+ createdAt: string;
465
+ /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
466
+ id: string;
871
467
  }
872
- export interface VerifyEmailInput {
468
+ export interface DeleteCryptoAddressInput {
873
469
  clientMutationId?: string;
874
- emailId?: string;
875
- token?: string;
470
+ id: string;
876
471
  }
877
- export interface ProvisionNewUserInput {
472
+ export interface DeleteEmailInput {
878
473
  clientMutationId?: string;
879
- email?: string;
880
- password?: string;
474
+ id: string;
881
475
  }
882
- export interface ResetPasswordInput {
476
+ export interface DeleteOrgPrincipalInput {
883
477
  clientMutationId?: string;
884
- roleId?: string;
885
- resetToken?: string;
886
- newPassword?: string;
478
+ principalId?: string;
887
479
  }
888
- export interface CreateOrgPrincipalInput {
480
+ export interface DeletePhoneNumberInput {
889
481
  clientMutationId?: string;
890
- name?: string;
891
- orgId?: string;
892
- useAdminOwner?: boolean;
893
- isReadOnly?: boolean;
894
- bypassStepUp?: boolean;
482
+ id: string;
895
483
  }
896
- export interface SignInCrossOriginInput {
484
+ export interface DeletePrincipalEntityInput {
897
485
  clientMutationId?: string;
898
- token?: string;
899
- credentialKind?: string;
486
+ id: string;
900
487
  }
901
- export interface SignInSmsOtpInput {
488
+ export interface DeletePrincipalInput {
902
489
  clientMutationId?: string;
903
- phone?: string;
904
- code?: string;
905
- credentialKind?: string;
906
- rememberMe?: boolean;
907
- deviceToken?: string;
490
+ principalId?: string;
908
491
  }
909
- export interface SignUpSmsInput {
492
+ export interface DeleteRoleTypeInput {
910
493
  clientMutationId?: string;
911
- phone?: string;
912
- code?: string;
913
- credentialKind?: string;
914
- rememberMe?: boolean;
915
- deviceToken?: string;
494
+ id: number;
916
495
  }
917
- export interface SignUpInput {
496
+ export interface DeleteUserInput {
918
497
  clientMutationId?: string;
919
- email?: string;
920
- password?: string;
921
- rememberMe?: boolean;
922
- credentialKind?: string;
923
- csrfToken?: string;
924
- deviceToken?: string;
498
+ id: string;
925
499
  }
926
- export interface SignInInput {
500
+ export interface DeleteWebauthnCredentialInput {
927
501
  clientMutationId?: string;
928
- email?: string;
929
- password?: string;
930
- rememberMe?: boolean;
931
- credentialKind?: string;
932
- csrfToken?: string;
933
- deviceToken?: string;
502
+ id: string;
934
503
  }
935
- export interface LinkIdentityInput {
504
+ export interface DisconnectAccountInput {
505
+ accountId: string;
936
506
  clientMutationId?: string;
937
- service: string;
938
- identifier: string;
939
- details?: unknown;
940
507
  }
941
- export interface CreatePrincipalInput {
942
- clientMutationId?: string;
508
+ /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */
509
+ export interface EmailFilter {
510
+ /** Checks for all expressions in this list. */
511
+ and?: EmailFilter[];
512
+ /** Filter by the object’s `createdAt` field. */
513
+ createdAt?: DatetimeFilter;
514
+ /** Filter by the object’s `email` field. */
515
+ email?: ConstructiveInternalTypeEmailFilter;
516
+ /** Filter by the object’s `id` field. */
517
+ id?: UUIDFilter;
518
+ /** Filter by the object’s `isPrimary` field. */
519
+ isPrimary?: BooleanFilter;
520
+ /** Filter by the object’s `isVerified` field. */
521
+ isVerified?: BooleanFilter;
522
+ /** Filter by the object’s `name` field. */
523
+ name?: StringFilter;
524
+ /** Negates the expression. */
525
+ not?: EmailFilter;
526
+ /** Checks for any expressions in this list. */
527
+ or?: EmailFilter[];
528
+ /** Filter by the object’s `owner` relation. */
529
+ owner?: UserFilter;
530
+ /** Filter by the object’s `ownerId` field. */
531
+ ownerId?: UUIDFilter;
532
+ /** Filter by the object’s `updatedAt` field. */
533
+ updatedAt?: DatetimeFilter;
534
+ }
535
+ /** An input for mutations affecting `Email` */
536
+ export interface EmailInput {
537
+ createdAt?: string;
538
+ /** The email address */
539
+ email: ConstructiveInternalTypeEmail;
540
+ id?: string;
541
+ /** Whether this is the user's primary email address */
542
+ isPrimary?: boolean;
543
+ /** Whether the email address has been verified via confirmation link */
544
+ isVerified?: boolean;
545
+ /** Optional user-provided label for this email (e.g. "Work", "Personal"). */
943
546
  name?: string;
944
- useAdminOwner?: boolean;
945
- entityIds?: string[];
946
- isReadOnly?: boolean;
947
- bypassStepUp?: boolean;
547
+ ownerId?: string;
548
+ updatedAt?: string;
549
+ }
550
+ /** Represents an update to a `Email`. Fields that are set will be updated. */
551
+ export interface EmailPatch {
552
+ createdAt?: string;
553
+ /** The email address */
554
+ email?: ConstructiveInternalTypeEmail;
555
+ id?: string;
556
+ /** Whether this is the user's primary email address */
557
+ isPrimary?: boolean;
558
+ /** Whether the email address has been verified via confirmation link */
559
+ isVerified?: boolean;
560
+ /** Optional user-provided label for this email (e.g. "Work", "Personal"). */
561
+ name?: string;
562
+ ownerId?: string;
563
+ updatedAt?: string;
948
564
  }
949
565
  export interface ExtendTokenExpiresInput {
950
- clientMutationId?: string;
951
566
  amount?: IntervalInput;
567
+ clientMutationId?: string;
568
+ }
569
+ export interface ForgotPasswordInput {
570
+ clientMutationId?: string;
571
+ email?: ConstructiveInternalTypeEmail;
572
+ }
573
+ /** A filter to be used against `IdentityProvider` object types. All fields are combined with a logical ‘and.’ */
574
+ export interface IdentityProviderFilter {
575
+ /** Checks for all expressions in this list. */
576
+ and?: IdentityProviderFilter[];
577
+ /** Filter by the object’s `displayName` field. */
578
+ displayName?: StringFilter;
579
+ /** Filter by the object’s `enabled` field. */
580
+ enabled?: BooleanFilter;
581
+ /** Filter by the object’s `kind` field. */
582
+ kind?: StringFilter;
583
+ /** Negates the expression. */
584
+ not?: IdentityProviderFilter;
585
+ /** Checks for any expressions in this list. */
586
+ or?: IdentityProviderFilter[];
587
+ /** Filter by the object’s `slug` field. */
588
+ slug?: StringFilter;
589
+ }
590
+ /** An input for mutations affecting `IdentityProvider` */
591
+ export interface IdentityProviderInput {
592
+ displayName?: string;
593
+ enabled?: boolean;
594
+ kind?: string;
595
+ slug?: string;
952
596
  }
953
597
  /** An interval of time that has passed where the smallest distinct unit is a second. */
954
598
  export interface IntervalInput {
599
+ /** A quantity of days. */
600
+ days?: number;
601
+ /** A quantity of hours. */
602
+ hours?: number;
603
+ /** A quantity of minutes. */
604
+ minutes?: number;
605
+ /** A quantity of months. */
606
+ months?: number;
955
607
  /**
956
608
  * A quantity of seconds. This is the only non-integer field, as all the other
957
609
  * fields will dump their overflow into a smaller unit of time. Intervals don’t
958
610
  * have a smaller unit than seconds.
959
611
  */
960
612
  seconds?: number;
961
- /** A quantity of minutes. */
962
- minutes?: number;
963
- /** A quantity of hours. */
964
- hours?: number;
965
- /** A quantity of days. */
966
- days?: number;
967
- /** A quantity of months. */
968
- months?: number;
969
613
  /** A quantity of years. */
970
614
  years?: number;
971
615
  }
972
- export interface CreateOrgApiKeyInput {
973
- clientMutationId?: string;
974
- orgId?: string;
975
- principalId?: string;
976
- keyName?: string;
977
- accessLevel?: string;
978
- mfaLevel?: string;
979
- expiresIn?: IntervalInput;
980
- }
981
- export interface CreateApiKeyInput {
982
- clientMutationId?: string;
983
- keyName?: string;
984
- accessLevel?: string;
985
- mfaLevel?: string;
986
- expiresIn?: IntervalInput;
987
- principalId?: string;
988
- }
989
- export interface RequestCrossOriginTokenInput {
990
- clientMutationId?: string;
991
- email?: string;
992
- password?: string;
993
- origin?: ConstructiveInternalTypeOrigin;
994
- rememberMe?: boolean;
995
- }
996
- export interface ForgotPasswordInput {
616
+ export interface LinkIdentityInput {
997
617
  clientMutationId?: string;
998
- email?: ConstructiveInternalTypeEmail;
618
+ details?: unknown;
619
+ identifier: string;
620
+ service: string;
999
621
  }
1000
- export interface SendVerificationEmailInput {
1001
- clientMutationId?: string;
1002
- email?: ConstructiveInternalTypeEmail;
622
+ /** A filter to be used against `OrgApiKeyList` object types. All fields are combined with a logical ‘and.’ */
623
+ export interface OrgApiKeyListFilter {
624
+ /** Filter by the object’s `accessLevel` field. */
625
+ accessLevel?: StringFilter;
626
+ /** Checks for all expressions in this list. */
627
+ and?: OrgApiKeyListFilter[];
628
+ /** Filter by the object’s `createdAt` field. */
629
+ createdAt?: DatetimeFilter;
630
+ /** Filter by the object’s `expiresAt` field. */
631
+ expiresAt?: DatetimeFilter;
632
+ /** Filter by the object’s `id` field. */
633
+ id?: UUIDFilter;
634
+ /** Filter by the object’s `keyId` field. */
635
+ keyId?: StringFilter;
636
+ /** Filter by the object’s `lastUsedAt` field. */
637
+ lastUsedAt?: DatetimeFilter;
638
+ /** Filter by the object’s `mfaLevel` field. */
639
+ mfaLevel?: StringFilter;
640
+ /** Filter by the object’s `name` field. */
641
+ name?: StringFilter;
642
+ /** Negates the expression. */
643
+ not?: OrgApiKeyListFilter;
644
+ /** Checks for any expressions in this list. */
645
+ or?: OrgApiKeyListFilter[];
646
+ /** Filter by the object’s `orgId` field. */
647
+ orgId?: UUIDFilter;
648
+ /** Filter by the object’s `principalId` field. */
649
+ principalId?: UUIDFilter;
650
+ /** Filter by the object’s `revokedAt` field. */
651
+ revokedAt?: DatetimeFilter;
652
+ /** Filter by the object’s `updatedAt` field. */
653
+ updatedAt?: DatetimeFilter;
1003
654
  }
1004
- export interface CreateIdentityProviderInput {
1005
- clientMutationId?: string;
1006
- /** The `IdentityProvider` to be created by this mutation. */
1007
- identityProvider: IdentityProviderInput;
655
+ /** An input for mutations affecting `OrgApiKeyList` */
656
+ export interface OrgApiKeyListInput {
657
+ accessLevel?: string;
658
+ createdAt?: string;
659
+ expiresAt?: string;
660
+ id?: string;
661
+ keyId?: string;
662
+ lastUsedAt?: string;
663
+ mfaLevel?: string;
664
+ name?: string;
665
+ orgId?: string;
666
+ principalId?: string;
667
+ revokedAt?: string;
668
+ updatedAt?: string;
1008
669
  }
1009
- /** An input for mutations affecting `IdentityProvider` */
1010
- export interface IdentityProviderInput {
1011
- slug?: string;
1012
- kind?: string;
1013
- displayName?: string;
1014
- enabled?: boolean;
1015
- isBuiltIn?: boolean;
670
+ /** A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
671
+ export interface PhoneNumberFilter {
672
+ /** Checks for all expressions in this list. */
673
+ and?: PhoneNumberFilter[];
674
+ /** Filter by the object’s `cc` field. */
675
+ cc?: StringFilter;
676
+ /** Filter by the object’s `createdAt` field. */
677
+ createdAt?: DatetimeFilter;
678
+ /** Filter by the object’s `id` field. */
679
+ id?: UUIDFilter;
680
+ /** Filter by the object’s `isPrimary` field. */
681
+ isPrimary?: BooleanFilter;
682
+ /** Filter by the object’s `isVerified` field. */
683
+ isVerified?: BooleanFilter;
684
+ /** Filter by the object’s `name` field. */
685
+ name?: StringFilter;
686
+ /** Negates the expression. */
687
+ not?: PhoneNumberFilter;
688
+ /** Filter by the object’s `number` field. */
689
+ number?: StringFilter;
690
+ /** Checks for any expressions in this list. */
691
+ or?: PhoneNumberFilter[];
692
+ /** Filter by the object’s `owner` relation. */
693
+ owner?: UserFilter;
694
+ /** Filter by the object’s `ownerId` field. */
695
+ ownerId?: UUIDFilter;
696
+ /** Filter by the object’s `updatedAt` field. */
697
+ updatedAt?: DatetimeFilter;
1016
698
  }
1017
- export interface CreateRoleTypeInput {
1018
- clientMutationId?: string;
1019
- /** The `RoleType` to be created by this mutation. */
1020
- roleType: RoleTypeInput;
699
+ /** An input for mutations affecting `PhoneNumber` */
700
+ export interface PhoneNumberInput {
701
+ /** Country calling code (e.g. +1, +44) */
702
+ cc: string;
703
+ createdAt?: string;
704
+ id?: string;
705
+ /** Whether this is the user's primary phone number */
706
+ isPrimary?: boolean;
707
+ /** Whether the phone number has been verified via SMS code */
708
+ isVerified?: boolean;
709
+ /** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */
710
+ name?: string;
711
+ /** The phone number without country code */
712
+ number: string;
713
+ ownerId?: string;
714
+ updatedAt?: string;
1021
715
  }
1022
- /** An input for mutations affecting `RoleType` */
1023
- export interface RoleTypeInput {
1024
- id: number;
1025
- name: string;
716
+ /** Represents an update to a `PhoneNumber`. Fields that are set will be updated. */
717
+ export interface PhoneNumberPatch {
718
+ /** Country calling code (e.g. +1, +44) */
719
+ cc?: string;
720
+ createdAt?: string;
721
+ id?: string;
722
+ /** Whether this is the user's primary phone number */
723
+ isPrimary?: boolean;
724
+ /** Whether the phone number has been verified via SMS code */
725
+ isVerified?: boolean;
726
+ /** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */
727
+ name?: string;
728
+ /** The phone number without country code */
729
+ number?: string;
730
+ ownerId?: string;
731
+ updatedAt?: string;
1026
732
  }
1027
- export interface CreatePrincipalEntityInput {
1028
- clientMutationId?: string;
1029
- /** The `PrincipalEntity` to be created by this mutation. */
1030
- principalEntity: PrincipalEntityInput;
733
+ /** A filter to be used against `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
734
+ export interface PrincipalEntityFilter {
735
+ /** Checks for all expressions in this list. */
736
+ and?: PrincipalEntityFilter[];
737
+ /** Filter by the object’s `createdAt` field. */
738
+ createdAt?: DatetimeFilter;
739
+ /** Filter by the object’s `entity` relation. */
740
+ entity?: UserFilter;
741
+ /** Filter by the object’s `entityId` field. */
742
+ entityId?: UUIDFilter;
743
+ /** Filter by the object’s `id` field. */
744
+ id?: UUIDFilter;
745
+ /** Negates the expression. */
746
+ not?: PrincipalEntityFilter;
747
+ /** Checks for any expressions in this list. */
748
+ or?: PrincipalEntityFilter[];
749
+ /** Filter by the object’s `owner` relation. */
750
+ owner?: UserFilter;
751
+ /** Filter by the object’s `ownerId` field. */
752
+ ownerId?: UUIDFilter;
753
+ /** Filter by the object’s `principal` relation. */
754
+ principal?: PrincipalFilter;
755
+ /** Filter by the object’s `principalId` field. */
756
+ principalId?: UUIDFilter;
757
+ /** Filter by the object’s `updatedAt` field. */
758
+ updatedAt?: DatetimeFilter;
1031
759
  }
1032
760
  /** An input for mutations affecting `PrincipalEntity` */
1033
761
  export interface PrincipalEntityInput {
1034
- id?: string;
1035
762
  createdAt?: string;
1036
- updatedAt?: string;
1037
- /** The principal this scoping row belongs to */
1038
- principalId: string;
1039
763
  /** The organization this principal is scoped to */
1040
764
  entityId: string;
765
+ id?: string;
1041
766
  /** Denormalized owner_id from principals table for RLS */
1042
767
  ownerId: string;
768
+ /** The principal this scoping row belongs to */
769
+ principalId: string;
770
+ updatedAt?: string;
1043
771
  }
1044
- export interface CreateUserConnectedAccountInput {
1045
- clientMutationId?: string;
1046
- /** The `UserConnectedAccount` to be created by this mutation. */
1047
- userConnectedAccount: UserConnectedAccountInput;
1048
- }
1049
- /** An input for mutations affecting `UserConnectedAccount` */
1050
- export interface UserConnectedAccountInput {
772
+ /** Represents an update to a `PrincipalEntity`. Fields that are set will be updated. */
773
+ export interface PrincipalEntityPatch {
774
+ createdAt?: string;
775
+ /** The organization this principal is scoped to */
776
+ entityId?: string;
1051
777
  id?: string;
778
+ /** Denormalized owner_id from principals table for RLS */
1052
779
  ownerId?: string;
1053
- service?: string;
1054
- identifier?: string;
1055
- details?: unknown;
1056
- isVerified?: boolean;
1057
- createdAt?: string;
780
+ /** The principal this scoping row belongs to */
781
+ principalId?: string;
1058
782
  updatedAt?: string;
1059
783
  }
1060
- export interface CreateCryptoAddressInput {
1061
- clientMutationId?: string;
1062
- /** The `CryptoAddress` to be created by this mutation. */
1063
- cryptoAddress: CryptoAddressInput;
784
+ /** A filter to be used against `Principal` object types. All fields are combined with a logical ‘and.’ */
785
+ export interface PrincipalFilter {
786
+ /** Checks for all expressions in this list. */
787
+ and?: PrincipalFilter[];
788
+ /** Filter by the object’s `bypassStepUp` field. */
789
+ bypassStepUp?: BooleanFilter;
790
+ /** Filter by the object’s `createdAt` field. */
791
+ createdAt?: DatetimeFilter;
792
+ /** Filter by the object’s `id` field. */
793
+ id?: UUIDFilter;
794
+ /** Filter by the object’s `isReadOnly` field. */
795
+ isReadOnly?: BooleanFilter;
796
+ /** Filter by the object’s `name` field. */
797
+ name?: StringFilter;
798
+ /** Negates the expression. */
799
+ not?: PrincipalFilter;
800
+ /** Checks for any expressions in this list. */
801
+ or?: PrincipalFilter[];
802
+ /** Filter by the object’s `owner` relation. */
803
+ owner?: UserFilter;
804
+ /** Filter by the object’s `ownerId` field. */
805
+ ownerId?: UUIDFilter;
806
+ /** Filter by the object’s `principalEntities` relation. */
807
+ principalEntities?: PrincipalToManyPrincipalEntityFilter;
808
+ /** `principalEntities` exist. */
809
+ principalEntitiesExist?: boolean;
810
+ /** Filter by the object’s `principalScopeOverrides` relation. */
811
+ principalScopeOverrides?: PrincipalToManyPrincipalScopeOverrideFilter;
812
+ /** `principalScopeOverrides` exist. */
813
+ principalScopeOverridesExist?: boolean;
814
+ /** Filter by the object’s `updatedAt` field. */
815
+ updatedAt?: DatetimeFilter;
816
+ /** Filter by the object’s `useAdminOwner` field. */
817
+ useAdminOwner?: BooleanFilter;
818
+ /** Filter by the object’s `user` relation. */
819
+ user?: UserFilter;
820
+ /** Filter by the object’s `userId` field. */
821
+ userId?: UUIDFilter;
1064
822
  }
1065
- /** An input for mutations affecting `CryptoAddress` */
1066
- export interface CryptoAddressInput {
1067
- id?: string;
823
+ /** A filter to be used against `PrincipalScopeOverride` object types. All fields are combined with a logical ‘and.’ */
824
+ export interface PrincipalScopeOverrideFilter {
825
+ /** Filter by the object’s `allowedMask` field. */
826
+ allowedMask?: BitStringFilter;
827
+ /** Checks for all expressions in this list. */
828
+ and?: PrincipalScopeOverrideFilter[];
829
+ /** Filter by the object’s `createdAt` field. */
830
+ createdAt?: DatetimeFilter;
831
+ /** Filter by the object’s `id` field. */
832
+ id?: UUIDFilter;
833
+ /** Filter by the object’s `isActive` field. */
834
+ isActive?: BooleanFilter;
835
+ /** Filter by the object’s `isReadOnly` field. */
836
+ isReadOnly?: BooleanFilter;
837
+ /** Filter by the object’s `membershipType` field. */
838
+ membershipType?: IntFilter;
839
+ /** Negates the expression. */
840
+ not?: PrincipalScopeOverrideFilter;
841
+ /** Checks for any expressions in this list. */
842
+ or?: PrincipalScopeOverrideFilter[];
843
+ /** Filter by the object’s `principal` relation. */
844
+ principal?: PrincipalFilter;
845
+ /** Filter by the object’s `principalId` field. */
846
+ principalId?: UUIDFilter;
847
+ /** Filter by the object’s `updatedAt` field. */
848
+ updatedAt?: DatetimeFilter;
849
+ /** Filter by the object’s `useAdminOwner` field. */
850
+ useAdminOwner?: BooleanFilter;
851
+ }
852
+ /** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
853
+ export interface PrincipalToManyPrincipalEntityFilter {
854
+ /** Filters to entities where every related entity matches. */
855
+ every?: PrincipalEntityFilter;
856
+ /** Filters to entities where no related entity matches. */
857
+ none?: PrincipalEntityFilter;
858
+ /** Filters to entities where at least one related entity matches. */
859
+ some?: PrincipalEntityFilter;
860
+ }
861
+ /** A filter to be used against many `PrincipalScopeOverride` object types. All fields are combined with a logical ‘and.’ */
862
+ export interface PrincipalToManyPrincipalScopeOverrideFilter {
863
+ /** Filters to entities where every related entity matches. */
864
+ every?: PrincipalScopeOverrideFilter;
865
+ /** Filters to entities where no related entity matches. */
866
+ none?: PrincipalScopeOverrideFilter;
867
+ /** Filters to entities where at least one related entity matches. */
868
+ some?: PrincipalScopeOverrideFilter;
869
+ }
870
+ export interface ProvisionBucketInput {
871
+ /** The logical bucket key (e.g., "public", "private") */
872
+ bucketKey: string;
873
+ /**
874
+ * Owner entity ID for entity-scoped bucket provisioning.
875
+ * Omit for app-level (database-wide) storage.
876
+ */
1068
877
  ownerId?: string;
1069
- /** The cryptocurrency wallet address, validated against network-specific patterns */
1070
- address: string;
1071
- /** Whether ownership of this address has been cryptographically verified */
1072
- isVerified?: boolean;
1073
- /** Whether this is the user's primary cryptocurrency address */
1074
- isPrimary?: boolean;
1075
- /** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */
1076
- name?: string;
1077
- createdAt?: string;
1078
- updatedAt?: string;
1079
878
  }
1080
- export interface CreatePhoneNumberInput {
879
+ export interface ProvisionNewUserInput {
880
+ clientMutationId?: string;
881
+ email?: string;
882
+ password?: string;
883
+ }
884
+ export interface RequestCrossOriginTokenInput {
1081
885
  clientMutationId?: string;
1082
- /** The `PhoneNumber` to be created by this mutation. */
1083
- phoneNumber: PhoneNumberInput;
886
+ email?: string;
887
+ origin?: ConstructiveInternalTypeOrigin;
888
+ password?: string;
889
+ rememberMe?: boolean;
1084
890
  }
1085
- /** An input for mutations affecting `PhoneNumber` */
1086
- export interface PhoneNumberInput {
1087
- id?: string;
1088
- ownerId?: string;
1089
- /** Country calling code (e.g. +1, +44) */
1090
- cc: string;
1091
- /** The phone number without country code */
1092
- number: string;
1093
- /** Whether the phone number has been verified via SMS code */
1094
- isVerified?: boolean;
1095
- /** Whether this is the user's primary phone number */
1096
- isPrimary?: boolean;
1097
- /** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */
1098
- name?: string;
1099
- createdAt?: string;
1100
- updatedAt?: string;
891
+ export interface ResetPasswordInput {
892
+ clientMutationId?: string;
893
+ newPassword?: string;
894
+ resetToken?: string;
895
+ roleId?: string;
1101
896
  }
1102
- export interface CreateAuditLogAuthInput {
897
+ export interface RevokeApiKeyInput {
1103
898
  clientMutationId?: string;
1104
- /** The `AuditLogAuth` to be created by this mutation. */
1105
- auditLogAuth: AuditLogAuthInput;
899
+ keyId: string;
1106
900
  }
1107
- /** An input for mutations affecting `AuditLogAuth` */
1108
- export interface AuditLogAuthInput {
1109
- createdAt?: string;
1110
- /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
1111
- id?: string;
1112
- /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
1113
- event: string;
1114
- /** User who performed the authentication action; NULL if user was deleted */
1115
- actorId?: string;
1116
- /** Request origin (domain) where the auth event occurred */
1117
- origin?: ConstructiveInternalTypeOrigin;
1118
- /** Browser or client user-agent string from the request */
1119
- userAgent?: string;
1120
- /** IP address of the client that initiated the auth event */
1121
- ipAddress?: string;
1122
- /** Whether the authentication attempt succeeded */
1123
- success: boolean;
901
+ export interface RevokeOrgApiKeyInput {
902
+ clientMutationId?: string;
903
+ keyId: string;
904
+ orgId: string;
1124
905
  }
1125
- export interface CreateOrgApiKeyListInput {
906
+ export interface RevokeSessionInput {
1126
907
  clientMutationId?: string;
1127
- /** The `OrgApiKeyList` to be created by this mutation. */
1128
- orgApiKeyList: OrgApiKeyListInput;
908
+ sessionId: string;
1129
909
  }
1130
- /** An input for mutations affecting `OrgApiKeyList` */
1131
- export interface OrgApiKeyListInput {
1132
- id?: string;
1133
- keyId?: string;
910
+ /** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */
911
+ export interface RoleTypeFilter {
912
+ /** Checks for all expressions in this list. */
913
+ and?: RoleTypeFilter[];
914
+ /** Filter by the object’s `id` field. */
915
+ id?: IntFilter;
916
+ /** Filter by the object’s `name` field. */
917
+ name?: StringFilter;
918
+ /** Negates the expression. */
919
+ not?: RoleTypeFilter;
920
+ /** Checks for any expressions in this list. */
921
+ or?: RoleTypeFilter[];
922
+ }
923
+ /** An input for mutations affecting `RoleType` */
924
+ export interface RoleTypeInput {
925
+ id: number;
926
+ name: string;
927
+ }
928
+ /** Represents an update to a `RoleType`. Fields that are set will be updated. */
929
+ export interface RoleTypePatch {
930
+ id?: number;
1134
931
  name?: string;
1135
- principalId?: string;
1136
- orgId?: string;
1137
- expiresAt?: string;
1138
- revokedAt?: string;
1139
- lastUsedAt?: string;
1140
- mfaLevel?: string;
1141
- accessLevel?: string;
1142
- createdAt?: string;
1143
- updatedAt?: string;
1144
932
  }
1145
- export interface CreateEmailInput {
933
+ export interface SendAccountDeletionEmailInput {
1146
934
  clientMutationId?: string;
1147
- /** The `Email` to be created by this mutation. */
1148
- email: EmailInput;
1149
935
  }
1150
- /** An input for mutations affecting `Email` */
1151
- export interface EmailInput {
1152
- id?: string;
1153
- ownerId?: string;
1154
- /** The email address */
1155
- email: ConstructiveInternalTypeEmail;
1156
- /** Whether the email address has been verified via confirmation link */
1157
- isVerified?: boolean;
1158
- /** Whether this is the user's primary email address */
1159
- isPrimary?: boolean;
1160
- /** Optional user-provided label for this email (e.g. "Work", "Personal"). */
1161
- name?: string;
1162
- createdAt?: string;
1163
- updatedAt?: string;
936
+ export interface SendVerificationEmailInput {
937
+ clientMutationId?: string;
938
+ email?: ConstructiveInternalTypeEmail;
1164
939
  }
1165
- export interface CreateUserInput {
940
+ export interface SetPasswordInput {
1166
941
  clientMutationId?: string;
1167
- /** The `User` to be created by this mutation. */
1168
- user: UserInput;
942
+ currentPassword?: string;
943
+ newPassword?: string;
1169
944
  }
1170
- /** An input for mutations affecting `User` */
1171
- export interface UserInput {
1172
- id?: string;
1173
- username?: string;
1174
- displayName?: string;
1175
- profilePicture?: ConstructiveInternalTypeImage;
1176
- type?: number;
1177
- createdAt?: string;
1178
- updatedAt?: string;
945
+ export interface SignInCrossOriginInput {
946
+ clientMutationId?: string;
947
+ credentialKind?: string;
948
+ token?: string;
1179
949
  }
1180
- export interface CreateWebauthnCredentialInput {
950
+ export interface SignInInput {
1181
951
  clientMutationId?: string;
1182
- /** The `WebauthnCredential` to be created by this mutation. */
1183
- webauthnCredential: WebauthnCredentialInput;
952
+ credentialKind?: string;
953
+ csrfToken?: string;
954
+ deviceToken?: string;
955
+ email?: string;
956
+ password?: string;
957
+ rememberMe?: boolean;
1184
958
  }
1185
- /** An input for mutations affecting `WebauthnCredential` */
1186
- export interface WebauthnCredentialInput {
1187
- id?: string;
1188
- ownerId?: string;
1189
- /** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */
1190
- credentialId: string;
1191
- /** COSE-encoded public key bytes from the authenticator attestation. */
1192
- publicKey: Base64EncodedBinary;
1193
- /** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */
1194
- signCount?: string;
1195
- /** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */
1196
- webauthnUserId: string;
1197
- /** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */
1198
- transports?: string[];
1199
- /** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */
1200
- credentialDeviceType: string;
1201
- /** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
1202
- backupEligible?: boolean;
1203
- /** Current backup state; updated on each successful sign-in assertion. */
1204
- backupState?: boolean;
1205
- /** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */
1206
- name?: string;
1207
- /** Timestamp of the most recent successful sign-in assertion using this credential. */
1208
- lastUsedAt?: string;
1209
- createdAt?: string;
1210
- updatedAt?: string;
959
+ export interface SignInSmsOtpInput {
960
+ clientMutationId?: string;
961
+ code?: string;
962
+ credentialKind?: string;
963
+ deviceToken?: string;
964
+ phone?: string;
965
+ rememberMe?: boolean;
1211
966
  }
1212
- export interface UpdateRoleTypeInput {
967
+ export interface SignOutInput {
1213
968
  clientMutationId?: string;
1214
- id: number;
1215
- /** An object where the defined keys will be set on the `RoleType` being updated. */
1216
- roleTypePatch: RoleTypePatch;
1217
969
  }
1218
- /** Represents an update to a `RoleType`. Fields that are set will be updated. */
1219
- export interface RoleTypePatch {
1220
- id?: number;
1221
- name?: string;
970
+ export interface SignUpInput {
971
+ clientMutationId?: string;
972
+ credentialKind?: string;
973
+ csrfToken?: string;
974
+ deviceToken?: string;
975
+ email?: string;
976
+ password?: string;
977
+ rememberMe?: boolean;
978
+ }
979
+ export interface SignUpSmsInput {
980
+ clientMutationId?: string;
981
+ code?: string;
982
+ credentialKind?: string;
983
+ deviceToken?: string;
984
+ phone?: string;
985
+ rememberMe?: boolean;
986
+ }
987
+ /** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */
988
+ export interface StringTrgmFilter {
989
+ /** Not equal to the specified value, treating null like an ordinary value. */
990
+ distinctFrom?: string;
991
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
992
+ distinctFromInsensitive?: string;
993
+ /** Ends with the specified string (case-sensitive). */
994
+ endsWith?: string;
995
+ /** Ends with the specified string (case-insensitive). */
996
+ endsWithInsensitive?: string;
997
+ /** Equal to the specified value. */
998
+ equalTo?: string;
999
+ /** Equal to the specified value (case-insensitive). */
1000
+ equalToInsensitive?: string;
1001
+ /** Greater than the specified value. */
1002
+ greaterThan?: string;
1003
+ /** Greater than the specified value (case-insensitive). */
1004
+ greaterThanInsensitive?: string;
1005
+ /** Greater than or equal to the specified value. */
1006
+ greaterThanOrEqualTo?: string;
1007
+ /** Greater than or equal to the specified value (case-insensitive). */
1008
+ greaterThanOrEqualToInsensitive?: string;
1009
+ /** Included in the specified list. */
1010
+ in?: string[];
1011
+ /** Included in the specified list (case-insensitive). */
1012
+ inInsensitive?: string[];
1013
+ /** Contains the specified string (case-sensitive). */
1014
+ includes?: string;
1015
+ /** Contains the specified string (case-insensitive). */
1016
+ includesInsensitive?: string;
1017
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1018
+ isNull?: boolean;
1019
+ /** Less than the specified value. */
1020
+ lessThan?: string;
1021
+ /** Less than the specified value (case-insensitive). */
1022
+ lessThanInsensitive?: string;
1023
+ /** Less than or equal to the specified value. */
1024
+ lessThanOrEqualTo?: string;
1025
+ /** Less than or equal to the specified value (case-insensitive). */
1026
+ lessThanOrEqualToInsensitive?: string;
1027
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1028
+ like?: string;
1029
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1030
+ likeInsensitive?: string;
1031
+ /** Equal to the specified value, treating null like an ordinary value. */
1032
+ notDistinctFrom?: string;
1033
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
1034
+ notDistinctFromInsensitive?: string;
1035
+ /** Does not end with the specified string (case-sensitive). */
1036
+ notEndsWith?: string;
1037
+ /** Does not end with the specified string (case-insensitive). */
1038
+ notEndsWithInsensitive?: string;
1039
+ /** Not equal to the specified value. */
1040
+ notEqualTo?: string;
1041
+ /** Not equal to the specified value (case-insensitive). */
1042
+ notEqualToInsensitive?: string;
1043
+ /** Not included in the specified list. */
1044
+ notIn?: string[];
1045
+ /** Not included in the specified list (case-insensitive). */
1046
+ notInInsensitive?: string[];
1047
+ /** Does not contain the specified string (case-sensitive). */
1048
+ notIncludes?: string;
1049
+ /** Does not contain the specified string (case-insensitive). */
1050
+ notIncludesInsensitive?: string;
1051
+ /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1052
+ notLike?: string;
1053
+ /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1054
+ notLikeInsensitive?: string;
1055
+ /** Does not start with the specified string (case-sensitive). */
1056
+ notStartsWith?: string;
1057
+ /** Does not start with the specified string (case-insensitive). */
1058
+ notStartsWithInsensitive?: string;
1059
+ /** Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. */
1060
+ similarTo?: TrgmSearchInput;
1061
+ /** Starts with the specified string (case-sensitive). */
1062
+ startsWith?: string;
1063
+ /** Starts with the specified string (case-insensitive). */
1064
+ startsWithInsensitive?: string;
1065
+ /** Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. */
1066
+ wordSimilarTo?: TrgmSearchInput;
1067
+ }
1068
+ /** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
1069
+ export interface TrgmSearchInput {
1070
+ /** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
1071
+ threshold?: number;
1072
+ /** The text to fuzzy-match against. Typos and misspellings are tolerated. */
1073
+ value: string;
1222
1074
  }
1223
- export interface UpdatePrincipalEntityInput {
1075
+ export interface UpdateAuditLogAuthInput {
1076
+ /** An object where the defined keys will be set on the `AuditLogAuth` being updated. */
1077
+ auditLogAuthPatch: AuditLogAuthPatch;
1224
1078
  clientMutationId?: string;
1079
+ createdAt: string;
1080
+ /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
1225
1081
  id: string;
1226
- /** An object where the defined keys will be set on the `PrincipalEntity` being updated. */
1227
- principalEntityPatch: PrincipalEntityPatch;
1228
- }
1229
- /** Represents an update to a `PrincipalEntity`. Fields that are set will be updated. */
1230
- export interface PrincipalEntityPatch {
1231
- id?: string;
1232
- createdAt?: string;
1233
- updatedAt?: string;
1234
- /** The principal this scoping row belongs to */
1235
- principalId?: string;
1236
- /** The organization this principal is scoped to */
1237
- entityId?: string;
1238
- /** Denormalized owner_id from principals table for RLS */
1239
- ownerId?: string;
1240
1082
  }
1241
1083
  export interface UpdateCryptoAddressInput {
1242
1084
  clientMutationId?: string;
1243
- id: string;
1244
1085
  /** An object where the defined keys will be set on the `CryptoAddress` being updated. */
1245
1086
  cryptoAddressPatch: CryptoAddressPatch;
1087
+ id: string;
1246
1088
  }
1247
- /** Represents an update to a `CryptoAddress`. Fields that are set will be updated. */
1248
- export interface CryptoAddressPatch {
1249
- id?: string;
1250
- ownerId?: string;
1251
- /** The cryptocurrency wallet address, validated against network-specific patterns */
1252
- address?: string;
1253
- /** Whether ownership of this address has been cryptographically verified */
1254
- isVerified?: boolean;
1255
- /** Whether this is the user's primary cryptocurrency address */
1256
- isPrimary?: boolean;
1257
- /** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */
1258
- name?: string;
1259
- createdAt?: string;
1260
- updatedAt?: string;
1089
+ export interface UpdateEmailInput {
1090
+ clientMutationId?: string;
1091
+ /** An object where the defined keys will be set on the `Email` being updated. */
1092
+ emailPatch: EmailPatch;
1093
+ id: string;
1261
1094
  }
1262
1095
  export interface UpdatePhoneNumberInput {
1263
1096
  clientMutationId?: string;
@@ -1265,450 +1098,658 @@ export interface UpdatePhoneNumberInput {
1265
1098
  /** An object where the defined keys will be set on the `PhoneNumber` being updated. */
1266
1099
  phoneNumberPatch: PhoneNumberPatch;
1267
1100
  }
1268
- /** Represents an update to a `PhoneNumber`. Fields that are set will be updated. */
1269
- export interface PhoneNumberPatch {
1270
- id?: string;
1271
- ownerId?: string;
1272
- /** Country calling code (e.g. +1, +44) */
1273
- cc?: string;
1274
- /** The phone number without country code */
1275
- number?: string;
1276
- /** Whether the phone number has been verified via SMS code */
1277
- isVerified?: boolean;
1278
- /** Whether this is the user's primary phone number */
1279
- isPrimary?: boolean;
1280
- /** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */
1281
- name?: string;
1282
- createdAt?: string;
1283
- updatedAt?: string;
1284
- }
1285
- export interface UpdateAuditLogAuthInput {
1101
+ export interface UpdatePrincipalEntityInput {
1286
1102
  clientMutationId?: string;
1287
- createdAt: string;
1288
- /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
1289
1103
  id: string;
1290
- /** An object where the defined keys will be set on the `AuditLogAuth` being updated. */
1291
- auditLogAuthPatch: AuditLogAuthPatch;
1104
+ /** An object where the defined keys will be set on the `PrincipalEntity` being updated. */
1105
+ principalEntityPatch: PrincipalEntityPatch;
1292
1106
  }
1293
- /** Represents an update to a `AuditLogAuth`. Fields that are set will be updated. */
1294
- export interface AuditLogAuthPatch {
1295
- createdAt?: string;
1296
- /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
1297
- id?: string;
1298
- /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
1299
- event?: string;
1300
- /** User who performed the authentication action; NULL if user was deleted */
1301
- actorId?: string;
1302
- /** Request origin (domain) where the auth event occurred */
1303
- origin?: ConstructiveInternalTypeOrigin;
1304
- /** Browser or client user-agent string from the request */
1305
- userAgent?: string;
1306
- /** IP address of the client that initiated the auth event */
1307
- ipAddress?: string;
1308
- /** Whether the authentication attempt succeeded */
1309
- success?: boolean;
1107
+ export interface UpdateRoleTypeInput {
1108
+ clientMutationId?: string;
1109
+ id: number;
1110
+ /** An object where the defined keys will be set on the `RoleType` being updated. */
1111
+ roleTypePatch: RoleTypePatch;
1310
1112
  }
1311
- export interface UpdateEmailInput {
1113
+ export interface UpdateUserInput {
1312
1114
  clientMutationId?: string;
1313
1115
  id: string;
1314
- /** An object where the defined keys will be set on the `Email` being updated. */
1315
- emailPatch: EmailPatch;
1116
+ /** An object where the defined keys will be set on the `User` being updated. */
1117
+ userPatch: UserPatch;
1316
1118
  }
1317
- /** Represents an update to a `Email`. Fields that are set will be updated. */
1318
- export interface EmailPatch {
1119
+ export interface UpdateWebauthnCredentialInput {
1120
+ clientMutationId?: string;
1121
+ id: string;
1122
+ /** An object where the defined keys will be set on the `WebauthnCredential` being updated. */
1123
+ webauthnCredentialPatch: WebauthnCredentialPatch;
1124
+ }
1125
+ /** A filter to be used against `UserConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
1126
+ export interface UserConnectedAccountFilter {
1127
+ /** Checks for all expressions in this list. */
1128
+ and?: UserConnectedAccountFilter[];
1129
+ /** Filter by the object’s `createdAt` field. */
1130
+ createdAt?: DatetimeFilter;
1131
+ /** Filter by the object’s `details` field. */
1132
+ details?: JSONFilter;
1133
+ /** Filter by the object’s `id` field. */
1134
+ id?: UUIDFilter;
1135
+ /** Filter by the object’s `identifier` field. */
1136
+ identifier?: StringFilter;
1137
+ /** Filter by the object’s `isVerified` field. */
1138
+ isVerified?: BooleanFilter;
1139
+ /** Negates the expression. */
1140
+ not?: UserConnectedAccountFilter;
1141
+ /** Checks for any expressions in this list. */
1142
+ or?: UserConnectedAccountFilter[];
1143
+ /** Filter by the object’s `ownerId` field. */
1144
+ ownerId?: UUIDFilter;
1145
+ /** Filter by the object’s `service` field. */
1146
+ service?: StringFilter;
1147
+ /** Filter by the object’s `updatedAt` field. */
1148
+ updatedAt?: DatetimeFilter;
1149
+ }
1150
+ /** An input for mutations affecting `UserConnectedAccount` */
1151
+ export interface UserConnectedAccountInput {
1152
+ createdAt?: string;
1153
+ details?: unknown;
1319
1154
  id?: string;
1320
- ownerId?: string;
1321
- /** The email address */
1322
- email?: ConstructiveInternalTypeEmail;
1323
- /** Whether the email address has been verified via confirmation link */
1155
+ identifier?: string;
1324
1156
  isVerified?: boolean;
1325
- /** Whether this is the user's primary email address */
1326
- isPrimary?: boolean;
1327
- /** Optional user-provided label for this email (e.g. "Work", "Personal"). */
1328
- name?: string;
1157
+ ownerId?: string;
1158
+ service?: string;
1159
+ updatedAt?: string;
1160
+ }
1161
+ /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
1162
+ export interface UserFilter {
1163
+ /** Checks for all expressions in this list. */
1164
+ and?: UserFilter[];
1165
+ /** Filter by the object’s `auditLogAuthsByActorId` relation. */
1166
+ auditLogAuthsByActorId?: UserToManyAuditLogAuthFilter;
1167
+ /** `auditLogAuthsByActorId` exist. */
1168
+ auditLogAuthsByActorIdExist?: boolean;
1169
+ /** Filter by the object’s `createdAt` field. */
1170
+ createdAt?: DatetimeFilter;
1171
+ /** Filter by the object’s `displayName` field. */
1172
+ displayName?: StringTrgmFilter;
1173
+ /** Filter by the object’s `id` field. */
1174
+ id?: UUIDFilter;
1175
+ /** Negates the expression. */
1176
+ not?: UserFilter;
1177
+ /** Checks for any expressions in this list. */
1178
+ or?: UserFilter[];
1179
+ /** Filter by the object’s `ownedCryptoAddresses` relation. */
1180
+ ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
1181
+ /** `ownedCryptoAddresses` exist. */
1182
+ ownedCryptoAddressesExist?: boolean;
1183
+ /** Filter by the object’s `ownedEmails` relation. */
1184
+ ownedEmails?: UserToManyEmailFilter;
1185
+ /** `ownedEmails` exist. */
1186
+ ownedEmailsExist?: boolean;
1187
+ /** Filter by the object’s `ownedPhoneNumbers` relation. */
1188
+ ownedPhoneNumbers?: UserToManyPhoneNumberFilter;
1189
+ /** `ownedPhoneNumbers` exist. */
1190
+ ownedPhoneNumbersExist?: boolean;
1191
+ /** Filter by the object’s `ownedPrincipals` relation. */
1192
+ ownedPrincipals?: UserToManyPrincipalFilter;
1193
+ /** `ownedPrincipals` exist. */
1194
+ ownedPrincipalsExist?: boolean;
1195
+ /** Filter by the object’s `ownedWebauthnCredentials` relation. */
1196
+ ownedWebauthnCredentials?: UserToManyWebauthnCredentialFilter;
1197
+ /** `ownedWebauthnCredentials` exist. */
1198
+ ownedWebauthnCredentialsExist?: boolean;
1199
+ /** Filter by the object’s `principalEntitiesByEntityId` relation. */
1200
+ principalEntitiesByEntityId?: UserToManyPrincipalEntityFilter;
1201
+ /** `principalEntitiesByEntityId` exist. */
1202
+ principalEntitiesByEntityIdExist?: boolean;
1203
+ /** Filter by the object’s `principals` relation. */
1204
+ principals?: UserToManyPrincipalFilter;
1205
+ /** `principals` exist. */
1206
+ principalsExist?: boolean;
1207
+ /** Filter by the object’s `profilePicture` field. */
1208
+ profilePicture?: ConstructiveInternalTypeImageFilter;
1209
+ /** Filter by the object’s `roleType` relation. */
1210
+ roleType?: RoleTypeFilter;
1211
+ /** Filter by the object’s `searchTsv` field. */
1212
+ searchTsv?: FullTextFilter;
1213
+ /** TRGM search on the `display_name` column. */
1214
+ trgmDisplayName?: TrgmSearchInput;
1215
+ /** TSV search on the `search_tsv` column. */
1216
+ tsvSearchTsv?: string;
1217
+ /** Filter by the object’s `type` field. */
1218
+ type?: IntFilter;
1219
+ /**
1220
+ * Composite unified search. Provide a search string and it will be dispatched to
1221
+ * all text-compatible search algorithms (tsvector, BM25, pg_trgm)
1222
+ * simultaneously. When the LLM plugin is active, pgvector also participates via
1223
+ * auto-embedding. Rows matching ANY algorithm are returned. All matching score
1224
+ * fields are populated.
1225
+ */
1226
+ unifiedSearch?: string;
1227
+ /** Filter by the object’s `updatedAt` field. */
1228
+ updatedAt?: DatetimeFilter;
1229
+ /** Filter by the object’s `username` field. */
1230
+ username?: StringTrgmFilter;
1231
+ }
1232
+ /** An input for mutations affecting `User` */
1233
+ export interface UserInput {
1329
1234
  createdAt?: string;
1235
+ displayName?: string;
1236
+ id?: string;
1237
+ profilePicture?: ConstructiveInternalTypeImage;
1238
+ type?: number;
1330
1239
  updatedAt?: string;
1331
- }
1332
- export interface UpdateUserInput {
1333
- clientMutationId?: string;
1334
- id: string;
1335
- /** An object where the defined keys will be set on the `User` being updated. */
1336
- userPatch: UserPatch;
1240
+ username?: string;
1337
1241
  }
1338
1242
  /** Represents an update to a `User`. Fields that are set will be updated. */
1339
1243
  export interface UserPatch {
1340
- id?: string;
1341
- username?: string;
1244
+ createdAt?: string;
1342
1245
  displayName?: string;
1246
+ id?: string;
1343
1247
  profilePicture?: ConstructiveInternalTypeImage;
1344
- type?: number;
1345
- createdAt?: string;
1346
- updatedAt?: string;
1347
1248
  /** File upload for the `profilePicture` field. */
1348
1249
  profilePictureUpload?: File;
1250
+ type?: number;
1251
+ updatedAt?: string;
1252
+ username?: string;
1349
1253
  }
1350
- export interface UpdateWebauthnCredentialInput {
1254
+ /** A filter to be used against many `AuditLogAuth` object types. All fields are combined with a logical ‘and.’ */
1255
+ export interface UserToManyAuditLogAuthFilter {
1256
+ /** Filters to entities where every related entity matches. */
1257
+ every?: AuditLogAuthFilter;
1258
+ /** Filters to entities where no related entity matches. */
1259
+ none?: AuditLogAuthFilter;
1260
+ /** Filters to entities where at least one related entity matches. */
1261
+ some?: AuditLogAuthFilter;
1262
+ }
1263
+ /** A filter to be used against many `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
1264
+ export interface UserToManyCryptoAddressFilter {
1265
+ /** Filters to entities where every related entity matches. */
1266
+ every?: CryptoAddressFilter;
1267
+ /** Filters to entities where no related entity matches. */
1268
+ none?: CryptoAddressFilter;
1269
+ /** Filters to entities where at least one related entity matches. */
1270
+ some?: CryptoAddressFilter;
1271
+ }
1272
+ /** A filter to be used against many `Email` object types. All fields are combined with a logical ‘and.’ */
1273
+ export interface UserToManyEmailFilter {
1274
+ /** Filters to entities where every related entity matches. */
1275
+ every?: EmailFilter;
1276
+ /** Filters to entities where no related entity matches. */
1277
+ none?: EmailFilter;
1278
+ /** Filters to entities where at least one related entity matches. */
1279
+ some?: EmailFilter;
1280
+ }
1281
+ /** A filter to be used against many `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
1282
+ export interface UserToManyPhoneNumberFilter {
1283
+ /** Filters to entities where every related entity matches. */
1284
+ every?: PhoneNumberFilter;
1285
+ /** Filters to entities where no related entity matches. */
1286
+ none?: PhoneNumberFilter;
1287
+ /** Filters to entities where at least one related entity matches. */
1288
+ some?: PhoneNumberFilter;
1289
+ }
1290
+ /** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
1291
+ export interface UserToManyPrincipalEntityFilter {
1292
+ /** Filters to entities where every related entity matches. */
1293
+ every?: PrincipalEntityFilter;
1294
+ /** Filters to entities where no related entity matches. */
1295
+ none?: PrincipalEntityFilter;
1296
+ /** Filters to entities where at least one related entity matches. */
1297
+ some?: PrincipalEntityFilter;
1298
+ }
1299
+ /** A filter to be used against many `Principal` object types. All fields are combined with a logical ‘and.’ */
1300
+ export interface UserToManyPrincipalFilter {
1301
+ /** Filters to entities where every related entity matches. */
1302
+ every?: PrincipalFilter;
1303
+ /** Filters to entities where no related entity matches. */
1304
+ none?: PrincipalFilter;
1305
+ /** Filters to entities where at least one related entity matches. */
1306
+ some?: PrincipalFilter;
1307
+ }
1308
+ /** A filter to be used against many `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
1309
+ export interface UserToManyWebauthnCredentialFilter {
1310
+ /** Filters to entities where every related entity matches. */
1311
+ every?: WebauthnCredentialFilter;
1312
+ /** Filters to entities where no related entity matches. */
1313
+ none?: WebauthnCredentialFilter;
1314
+ /** Filters to entities where at least one related entity matches. */
1315
+ some?: WebauthnCredentialFilter;
1316
+ }
1317
+ export interface VerifyEmailInput {
1351
1318
  clientMutationId?: string;
1352
- id: string;
1353
- /** An object where the defined keys will be set on the `WebauthnCredential` being updated. */
1354
- webauthnCredentialPatch: WebauthnCredentialPatch;
1319
+ emailId?: string;
1320
+ token?: string;
1355
1321
  }
1356
- /** Represents an update to a `WebauthnCredential`. Fields that are set will be updated. */
1357
- export interface WebauthnCredentialPatch {
1322
+ export interface VerifyPasswordInput {
1323
+ clientMutationId?: string;
1324
+ password: string;
1325
+ }
1326
+ export interface VerifyTotpInput {
1327
+ clientMutationId?: string;
1328
+ totpValue: string;
1329
+ }
1330
+ /** A filter to be used against `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
1331
+ export interface WebauthnCredentialFilter {
1332
+ /** Checks for all expressions in this list. */
1333
+ and?: WebauthnCredentialFilter[];
1334
+ /** Filter by the object’s `backupEligible` field. */
1335
+ backupEligible?: BooleanFilter;
1336
+ /** Filter by the object’s `backupState` field. */
1337
+ backupState?: BooleanFilter;
1338
+ /** Filter by the object’s `createdAt` field. */
1339
+ createdAt?: DatetimeFilter;
1340
+ /** Filter by the object’s `credentialDeviceType` field. */
1341
+ credentialDeviceType?: StringFilter;
1342
+ /** Filter by the object’s `credentialId` field. */
1343
+ credentialId?: StringFilter;
1344
+ /** Filter by the object’s `id` field. */
1345
+ id?: UUIDFilter;
1346
+ /** Filter by the object’s `lastUsedAt` field. */
1347
+ lastUsedAt?: DatetimeFilter;
1348
+ /** Filter by the object’s `name` field. */
1349
+ name?: StringFilter;
1350
+ /** Negates the expression. */
1351
+ not?: WebauthnCredentialFilter;
1352
+ /** Checks for any expressions in this list. */
1353
+ or?: WebauthnCredentialFilter[];
1354
+ /** Filter by the object’s `owner` relation. */
1355
+ owner?: UserFilter;
1356
+ /** Filter by the object’s `ownerId` field. */
1357
+ ownerId?: UUIDFilter;
1358
+ /** Filter by the object’s `publicKey` field. */
1359
+ publicKey?: Base64EncodedBinaryFilter;
1360
+ /** Filter by the object’s `signCount` field. */
1361
+ signCount?: BigIntFilter;
1362
+ /** Filter by the object’s `transports` field. */
1363
+ transports?: StringListFilter;
1364
+ /** Filter by the object’s `updatedAt` field. */
1365
+ updatedAt?: DatetimeFilter;
1366
+ /** Filter by the object’s `webauthnUserId` field. */
1367
+ webauthnUserId?: StringFilter;
1368
+ }
1369
+ /** An input for mutations affecting `WebauthnCredential` */
1370
+ export interface WebauthnCredentialInput {
1371
+ /** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
1372
+ backupEligible?: boolean;
1373
+ /** Current backup state; updated on each successful sign-in assertion. */
1374
+ backupState?: boolean;
1375
+ createdAt?: string;
1376
+ /** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */
1377
+ credentialDeviceType: string;
1378
+ /** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */
1379
+ credentialId: string;
1358
1380
  id?: string;
1381
+ /** Timestamp of the most recent successful sign-in assertion using this credential. */
1382
+ lastUsedAt?: string;
1383
+ /** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */
1384
+ name?: string;
1359
1385
  ownerId?: string;
1360
- /** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */
1361
- credentialId?: string;
1362
1386
  /** COSE-encoded public key bytes from the authenticator attestation. */
1363
- publicKey?: Base64EncodedBinary;
1387
+ publicKey: Base64EncodedBinary;
1364
1388
  /** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */
1365
1389
  signCount?: string;
1366
- /** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */
1367
- webauthnUserId?: string;
1368
1390
  /** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */
1369
1391
  transports?: string[];
1370
- /** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */
1371
- credentialDeviceType?: string;
1392
+ updatedAt?: string;
1393
+ /** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */
1394
+ webauthnUserId: string;
1395
+ }
1396
+ /** Represents an update to a `WebauthnCredential`. Fields that are set will be updated. */
1397
+ export interface WebauthnCredentialPatch {
1372
1398
  /** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
1373
1399
  backupEligible?: boolean;
1374
1400
  /** Current backup state; updated on each successful sign-in assertion. */
1375
1401
  backupState?: boolean;
1376
- /** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */
1377
- name?: string;
1402
+ createdAt?: string;
1403
+ /** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */
1404
+ credentialDeviceType?: string;
1405
+ /** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */
1406
+ credentialId?: string;
1407
+ id?: string;
1378
1408
  /** Timestamp of the most recent successful sign-in assertion using this credential. */
1379
1409
  lastUsedAt?: string;
1380
- createdAt?: string;
1381
- updatedAt?: string;
1382
- }
1383
- export interface DeleteRoleTypeInput {
1384
- clientMutationId?: string;
1385
- id: number;
1386
- }
1387
- export interface DeletePrincipalEntityInput {
1388
- clientMutationId?: string;
1389
- id: string;
1390
- }
1391
- export interface DeleteCryptoAddressInput {
1392
- clientMutationId?: string;
1393
- id: string;
1394
- }
1395
- export interface DeletePhoneNumberInput {
1396
- clientMutationId?: string;
1397
- id: string;
1398
- }
1399
- export interface DeleteAuditLogAuthInput {
1400
- clientMutationId?: string;
1401
- createdAt: string;
1402
- /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
1403
- id: string;
1404
- }
1405
- export interface DeleteEmailInput {
1406
- clientMutationId?: string;
1407
- id: string;
1408
- }
1409
- export interface DeleteUserInput {
1410
- clientMutationId?: string;
1411
- id: string;
1412
- }
1413
- export interface DeleteWebauthnCredentialInput {
1414
- clientMutationId?: string;
1415
- id: string;
1416
- }
1417
- export interface ProvisionBucketInput {
1418
- /** The logical bucket key (e.g., "public", "private") */
1419
- bucketKey: string;
1420
- /**
1421
- * Owner entity ID for entity-scoped bucket provisioning.
1422
- * Omit for app-level (database-wide) storage.
1423
- */
1410
+ /** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */
1411
+ name?: string;
1424
1412
  ownerId?: string;
1413
+ /** COSE-encoded public key bytes from the authenticator attestation. */
1414
+ publicKey?: Base64EncodedBinary;
1415
+ /** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */
1416
+ signCount?: string;
1417
+ /** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */
1418
+ transports?: string[];
1419
+ updatedAt?: string;
1420
+ /** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */
1421
+ webauthnUserId?: string;
1425
1422
  }
1426
- /** A connection to a list of `IdentityProvider` values. */
1427
- export interface IdentityProviderConnection {
1428
- nodes: IdentityProvider[];
1429
- edges: IdentityProviderEdge[];
1430
- pageInfo: PageInfo;
1431
- totalCount: number;
1432
- }
1433
- /** A connection to a list of `RoleType` values. */
1434
- export interface RoleTypeConnection {
1435
- nodes: RoleType[];
1436
- edges: RoleTypeEdge[];
1437
- pageInfo: PageInfo;
1438
- totalCount: number;
1439
- }
1440
- /** A connection to a list of `PrincipalEntity` values. */
1441
- export interface PrincipalEntityConnection {
1442
- nodes: PrincipalEntity[];
1443
- edges: PrincipalEntityEdge[];
1444
- pageInfo: PageInfo;
1445
- totalCount: number;
1446
- }
1447
- /** A connection to a list of `UserConnectedAccount` values. */
1448
- export interface UserConnectedAccountConnection {
1449
- nodes: UserConnectedAccount[];
1450
- edges: UserConnectedAccountEdge[];
1423
+ /** Root meta schema type */
1424
+ export interface MetaSchema {
1425
+ tables: MetaTable[];
1426
+ }
1427
+ /** A connection to a list of `AuditLogAuth` values. */
1428
+ export interface AuditLogAuthConnection {
1429
+ edges: AuditLogAuthEdge[];
1430
+ nodes: AuditLogAuth[];
1451
1431
  pageInfo: PageInfo;
1452
1432
  totalCount: number;
1453
1433
  }
1454
1434
  /** A connection to a list of `CryptoAddress` values. */
1455
1435
  export interface CryptoAddressConnection {
1456
- nodes: CryptoAddress[];
1457
1436
  edges: CryptoAddressEdge[];
1437
+ nodes: CryptoAddress[];
1458
1438
  pageInfo: PageInfo;
1459
1439
  totalCount: number;
1460
1440
  }
1461
- /** A connection to a list of `Principal` values. */
1462
- export interface PrincipalConnection {
1463
- nodes: Principal[];
1464
- edges: PrincipalEdge[];
1465
- pageInfo: PageInfo;
1466
- totalCount: number;
1467
- }
1468
- /** A connection to a list of `PhoneNumber` values. */
1469
- export interface PhoneNumberConnection {
1470
- nodes: PhoneNumber[];
1471
- edges: PhoneNumberEdge[];
1441
+ /** A connection to a list of `Email` values. */
1442
+ export interface EmailConnection {
1443
+ edges: EmailEdge[];
1444
+ nodes: Email[];
1472
1445
  pageInfo: PageInfo;
1473
1446
  totalCount: number;
1474
1447
  }
1475
- /** A connection to a list of `AuditLogAuth` values. */
1476
- export interface AuditLogAuthConnection {
1477
- nodes: AuditLogAuth[];
1478
- edges: AuditLogAuthEdge[];
1448
+ /** A connection to a list of `IdentityProvider` values. */
1449
+ export interface IdentityProviderConnection {
1450
+ edges: IdentityProviderEdge[];
1451
+ nodes: IdentityProvider[];
1479
1452
  pageInfo: PageInfo;
1480
1453
  totalCount: number;
1481
1454
  }
1482
1455
  /** A connection to a list of `OrgApiKeyList` values. */
1483
1456
  export interface OrgApiKeyListConnection {
1484
- nodes: OrgApiKeyList[];
1485
1457
  edges: OrgApiKeyListEdge[];
1458
+ nodes: OrgApiKeyList[];
1459
+ pageInfo: PageInfo;
1460
+ totalCount: number;
1461
+ }
1462
+ /** A connection to a list of `PhoneNumber` values. */
1463
+ export interface PhoneNumberConnection {
1464
+ edges: PhoneNumberEdge[];
1465
+ nodes: PhoneNumber[];
1466
+ pageInfo: PageInfo;
1467
+ totalCount: number;
1468
+ }
1469
+ /** A connection to a list of `PrincipalEntity` values. */
1470
+ export interface PrincipalEntityConnection {
1471
+ edges: PrincipalEntityEdge[];
1472
+ nodes: PrincipalEntity[];
1486
1473
  pageInfo: PageInfo;
1487
1474
  totalCount: number;
1488
1475
  }
1489
1476
  /** A connection to a list of `PrincipalScopeOverride` values. */
1490
1477
  export interface PrincipalScopeOverrideConnection {
1491
- nodes: PrincipalScopeOverride[];
1492
1478
  edges: PrincipalScopeOverrideEdge[];
1479
+ nodes: PrincipalScopeOverride[];
1493
1480
  pageInfo: PageInfo;
1494
1481
  totalCount: number;
1495
1482
  }
1496
- /** A connection to a list of `Email` values. */
1497
- export interface EmailConnection {
1498
- nodes: Email[];
1499
- edges: EmailEdge[];
1483
+ /** A connection to a list of `Principal` values. */
1484
+ export interface PrincipalConnection {
1485
+ edges: PrincipalEdge[];
1486
+ nodes: Principal[];
1487
+ pageInfo: PageInfo;
1488
+ totalCount: number;
1489
+ }
1490
+ /** A connection to a list of `RoleType` values. */
1491
+ export interface RoleTypeConnection {
1492
+ edges: RoleTypeEdge[];
1493
+ nodes: RoleType[];
1494
+ pageInfo: PageInfo;
1495
+ totalCount: number;
1496
+ }
1497
+ /** A connection to a list of `UserConnectedAccount` values. */
1498
+ export interface UserConnectedAccountConnection {
1499
+ edges: UserConnectedAccountEdge[];
1500
+ nodes: UserConnectedAccount[];
1500
1501
  pageInfo: PageInfo;
1501
1502
  totalCount: number;
1502
1503
  }
1503
1504
  /** A connection to a list of `User` values. */
1504
1505
  export interface UserConnection {
1505
- nodes: User[];
1506
1506
  edges: UserEdge[];
1507
+ nodes: User[];
1507
1508
  pageInfo: PageInfo;
1508
1509
  totalCount: number;
1509
1510
  }
1510
1511
  /** A connection to a list of `WebauthnCredential` values. */
1511
1512
  export interface WebauthnCredentialConnection {
1512
- nodes: WebauthnCredential[];
1513
1513
  edges: WebauthnCredentialEdge[];
1514
+ nodes: WebauthnCredential[];
1514
1515
  pageInfo: PageInfo;
1515
1516
  totalCount: number;
1516
1517
  }
1517
- /** Root meta schema type */
1518
- export interface MetaSchema {
1519
- tables: MetaTable[];
1520
- }
1521
- export interface SignOutPayload {
1518
+ export interface CheckPasswordPayload {
1522
1519
  clientMutationId?: string | null;
1523
1520
  }
1524
- export interface SendAccountDeletionEmailPayload {
1521
+ export interface ConfirmDeleteAccountPayload {
1525
1522
  clientMutationId?: string | null;
1526
1523
  result?: boolean | null;
1527
1524
  }
1528
- export interface CheckPasswordPayload {
1525
+ export interface CreateApiKeyPayload {
1529
1526
  clientMutationId?: string | null;
1527
+ result?: CreateApiKeyRecord | null;
1530
1528
  }
1531
- export interface DeleteOrgPrincipalPayload {
1529
+ export interface CreateAuditLogAuthPayload {
1530
+ /** The `AuditLogAuth` that was created by this mutation. */
1531
+ auditLogAuth?: AuditLogAuth | null;
1532
+ auditLogAuthEdge?: AuditLogAuthEdge | null;
1532
1533
  clientMutationId?: string | null;
1533
- result?: boolean | null;
1534
1534
  }
1535
- export interface DeletePrincipalPayload {
1535
+ export interface CreateCryptoAddressPayload {
1536
1536
  clientMutationId?: string | null;
1537
- result?: boolean | null;
1537
+ /** The `CryptoAddress` that was created by this mutation. */
1538
+ cryptoAddress?: CryptoAddress | null;
1539
+ cryptoAddressEdge?: CryptoAddressEdge | null;
1538
1540
  }
1539
- export interface DisconnectAccountPayload {
1541
+ export interface CreateEmailPayload {
1540
1542
  clientMutationId?: string | null;
1541
- result?: boolean | null;
1543
+ /** The `Email` that was created by this mutation. */
1544
+ email?: Email | null;
1545
+ emailEdge?: EmailEdge | null;
1542
1546
  }
1543
- export interface RevokeApiKeyPayload {
1547
+ export interface CreateIdentityProviderPayload {
1544
1548
  clientMutationId?: string | null;
1545
- result?: boolean | null;
1549
+ /** The `IdentityProvider` that was created by this mutation. */
1550
+ identityProvider?: IdentityProvider | null;
1546
1551
  }
1547
- export interface RevokeSessionPayload {
1552
+ export interface CreateOrgApiKeyPayload {
1548
1553
  clientMutationId?: string | null;
1549
- result?: boolean | null;
1554
+ result?: CreateOrgApiKeyRecord | null;
1550
1555
  }
1551
- export interface VerifyPasswordPayload {
1556
+ export interface CreateOrgApiKeyListPayload {
1552
1557
  clientMutationId?: string | null;
1553
- result?: boolean | null;
1558
+ /** The `OrgApiKeyList` that was created by this mutation. */
1559
+ orgApiKeyList?: OrgApiKeyList | null;
1554
1560
  }
1555
- export interface VerifyTotpPayload {
1561
+ export interface CreateOrgPrincipalPayload {
1556
1562
  clientMutationId?: string | null;
1557
- result?: boolean | null;
1563
+ result?: string | null;
1558
1564
  }
1559
- export interface ConfirmDeleteAccountPayload {
1565
+ export interface CreatePhoneNumberPayload {
1560
1566
  clientMutationId?: string | null;
1561
- result?: boolean | null;
1567
+ /** The `PhoneNumber` that was created by this mutation. */
1568
+ phoneNumber?: PhoneNumber | null;
1569
+ phoneNumberEdge?: PhoneNumberEdge | null;
1562
1570
  }
1563
- export interface RevokeOrgApiKeyPayload {
1571
+ export interface CreatePrincipalPayload {
1564
1572
  clientMutationId?: string | null;
1565
- result?: boolean | null;
1573
+ result?: string | null;
1566
1574
  }
1567
- export interface SetPasswordPayload {
1575
+ export interface CreatePrincipalEntityPayload {
1568
1576
  clientMutationId?: string | null;
1569
- result?: boolean | null;
1577
+ /** The `PrincipalEntity` that was created by this mutation. */
1578
+ principalEntity?: PrincipalEntity | null;
1579
+ principalEntityEdge?: PrincipalEntityEdge | null;
1570
1580
  }
1571
- export interface VerifyEmailPayload {
1581
+ export interface CreateRoleTypePayload {
1572
1582
  clientMutationId?: string | null;
1573
- result?: boolean | null;
1583
+ /** The `RoleType` that was created by this mutation. */
1584
+ roleType?: RoleType | null;
1585
+ roleTypeEdge?: RoleTypeEdge | null;
1574
1586
  }
1575
- export interface ProvisionNewUserPayload {
1587
+ export interface CreateUserPayload {
1576
1588
  clientMutationId?: string | null;
1577
- result?: string | null;
1589
+ /** The `User` that was created by this mutation. */
1590
+ user?: User | null;
1591
+ userEdge?: UserEdge | null;
1578
1592
  }
1579
- export interface ResetPasswordPayload {
1593
+ export interface CreateUserConnectedAccountPayload {
1580
1594
  clientMutationId?: string | null;
1581
- result?: boolean | null;
1595
+ /** The `UserConnectedAccount` that was created by this mutation. */
1596
+ userConnectedAccount?: UserConnectedAccount | null;
1582
1597
  }
1583
- export interface CreateOrgPrincipalPayload {
1598
+ export interface CreateWebauthnCredentialPayload {
1584
1599
  clientMutationId?: string | null;
1585
- result?: string | null;
1600
+ /** The `WebauthnCredential` that was created by this mutation. */
1601
+ webauthnCredential?: WebauthnCredential | null;
1602
+ webauthnCredentialEdge?: WebauthnCredentialEdge | null;
1586
1603
  }
1587
- export interface SignInCrossOriginPayload {
1604
+ export interface DeleteAuditLogAuthPayload {
1605
+ /** The `AuditLogAuth` that was deleted by this mutation. */
1606
+ auditLogAuth?: AuditLogAuth | null;
1607
+ auditLogAuthEdge?: AuditLogAuthEdge | null;
1588
1608
  clientMutationId?: string | null;
1589
- result?: SignInCrossOriginRecord | null;
1590
1609
  }
1591
- export interface SignInSmsOtpPayload {
1610
+ export interface DeleteCryptoAddressPayload {
1592
1611
  clientMutationId?: string | null;
1593
- result?: SignInSmsOtpRecord | null;
1612
+ /** The `CryptoAddress` that was deleted by this mutation. */
1613
+ cryptoAddress?: CryptoAddress | null;
1614
+ cryptoAddressEdge?: CryptoAddressEdge | null;
1594
1615
  }
1595
- export interface SignUpSmsPayload {
1616
+ export interface DeleteEmailPayload {
1596
1617
  clientMutationId?: string | null;
1597
- result?: SignUpSmsRecord | null;
1618
+ /** The `Email` that was deleted by this mutation. */
1619
+ email?: Email | null;
1620
+ emailEdge?: EmailEdge | null;
1598
1621
  }
1599
- export interface SignUpPayload {
1622
+ export interface DeleteOrgPrincipalPayload {
1600
1623
  clientMutationId?: string | null;
1601
- result?: SignUpRecord | null;
1624
+ result?: boolean | null;
1602
1625
  }
1603
- export interface SignInPayload {
1626
+ export interface DeletePhoneNumberPayload {
1604
1627
  clientMutationId?: string | null;
1605
- result?: SignInRecord | null;
1628
+ /** The `PhoneNumber` that was deleted by this mutation. */
1629
+ phoneNumber?: PhoneNumber | null;
1630
+ phoneNumberEdge?: PhoneNumberEdge | null;
1606
1631
  }
1607
- export interface LinkIdentityPayload {
1632
+ export interface DeletePrincipalPayload {
1608
1633
  clientMutationId?: string | null;
1609
1634
  result?: boolean | null;
1610
1635
  }
1611
- export interface CreatePrincipalPayload {
1636
+ export interface DeletePrincipalEntityPayload {
1612
1637
  clientMutationId?: string | null;
1613
- result?: string | null;
1638
+ /** The `PrincipalEntity` that was deleted by this mutation. */
1639
+ principalEntity?: PrincipalEntity | null;
1640
+ principalEntityEdge?: PrincipalEntityEdge | null;
1641
+ }
1642
+ export interface DeleteRoleTypePayload {
1643
+ clientMutationId?: string | null;
1644
+ /** The `RoleType` that was deleted by this mutation. */
1645
+ roleType?: RoleType | null;
1646
+ roleTypeEdge?: RoleTypeEdge | null;
1647
+ }
1648
+ export interface DeleteUserPayload {
1649
+ clientMutationId?: string | null;
1650
+ /** The `User` that was deleted by this mutation. */
1651
+ user?: User | null;
1652
+ userEdge?: UserEdge | null;
1653
+ }
1654
+ export interface DeleteWebauthnCredentialPayload {
1655
+ clientMutationId?: string | null;
1656
+ /** The `WebauthnCredential` that was deleted by this mutation. */
1657
+ webauthnCredential?: WebauthnCredential | null;
1658
+ webauthnCredentialEdge?: WebauthnCredentialEdge | null;
1659
+ }
1660
+ export interface DisconnectAccountPayload {
1661
+ clientMutationId?: string | null;
1662
+ result?: boolean | null;
1614
1663
  }
1615
1664
  export interface ExtendTokenExpiresPayload {
1616
1665
  clientMutationId?: string | null;
1617
1666
  result?: ExtendTokenExpiresRecord[] | null;
1618
1667
  }
1619
- export interface CreateOrgApiKeyPayload {
1668
+ export interface ForgotPasswordPayload {
1620
1669
  clientMutationId?: string | null;
1621
- result?: CreateOrgApiKeyRecord | null;
1622
1670
  }
1623
- export interface CreateApiKeyPayload {
1671
+ export interface LinkIdentityPayload {
1624
1672
  clientMutationId?: string | null;
1625
- result?: CreateApiKeyRecord | null;
1673
+ result?: boolean | null;
1626
1674
  }
1627
- export interface RequestCrossOriginTokenPayload {
1675
+ export interface ProvisionBucketPayload {
1676
+ /** The access type applied */
1677
+ accessType: string;
1678
+ /** The S3 bucket name that was provisioned */
1679
+ bucketName: string;
1680
+ /** The S3 endpoint (null for AWS S3 default) */
1681
+ endpoint?: string | null;
1682
+ /** Error message if provisioning failed */
1683
+ error?: string | null;
1684
+ /** The storage provider used */
1685
+ provider: string;
1686
+ /** Whether provisioning succeeded */
1687
+ success: boolean;
1688
+ }
1689
+ export interface ProvisionNewUserPayload {
1628
1690
  clientMutationId?: string | null;
1629
1691
  result?: string | null;
1630
1692
  }
1631
- export interface ForgotPasswordPayload {
1693
+ export interface RequestCrossOriginTokenPayload {
1632
1694
  clientMutationId?: string | null;
1695
+ result?: string | null;
1633
1696
  }
1634
- export interface SendVerificationEmailPayload {
1697
+ export interface ResetPasswordPayload {
1635
1698
  clientMutationId?: string | null;
1636
1699
  result?: boolean | null;
1637
1700
  }
1638
- export interface CreateIdentityProviderPayload {
1701
+ export interface RevokeApiKeyPayload {
1639
1702
  clientMutationId?: string | null;
1640
- /** The `IdentityProvider` that was created by this mutation. */
1641
- identityProvider?: IdentityProvider | null;
1703
+ result?: boolean | null;
1642
1704
  }
1643
- export interface CreateRoleTypePayload {
1705
+ export interface RevokeOrgApiKeyPayload {
1644
1706
  clientMutationId?: string | null;
1645
- /** The `RoleType` that was created by this mutation. */
1646
- roleType?: RoleType | null;
1647
- roleTypeEdge?: RoleTypeEdge | null;
1707
+ result?: boolean | null;
1648
1708
  }
1649
- export interface CreatePrincipalEntityPayload {
1709
+ export interface RevokeSessionPayload {
1650
1710
  clientMutationId?: string | null;
1651
- /** The `PrincipalEntity` that was created by this mutation. */
1652
- principalEntity?: PrincipalEntity | null;
1653
- principalEntityEdge?: PrincipalEntityEdge | null;
1711
+ result?: boolean | null;
1654
1712
  }
1655
- export interface CreateUserConnectedAccountPayload {
1713
+ export interface SendAccountDeletionEmailPayload {
1656
1714
  clientMutationId?: string | null;
1657
- /** The `UserConnectedAccount` that was created by this mutation. */
1658
- userConnectedAccount?: UserConnectedAccount | null;
1715
+ result?: boolean | null;
1659
1716
  }
1660
- export interface CreateCryptoAddressPayload {
1717
+ export interface SendVerificationEmailPayload {
1661
1718
  clientMutationId?: string | null;
1662
- /** The `CryptoAddress` that was created by this mutation. */
1663
- cryptoAddress?: CryptoAddress | null;
1664
- cryptoAddressEdge?: CryptoAddressEdge | null;
1719
+ result?: boolean | null;
1665
1720
  }
1666
- export interface CreatePhoneNumberPayload {
1721
+ export interface SetPasswordPayload {
1667
1722
  clientMutationId?: string | null;
1668
- /** The `PhoneNumber` that was created by this mutation. */
1669
- phoneNumber?: PhoneNumber | null;
1670
- phoneNumberEdge?: PhoneNumberEdge | null;
1723
+ result?: boolean | null;
1671
1724
  }
1672
- export interface CreateAuditLogAuthPayload {
1725
+ export interface SignInPayload {
1673
1726
  clientMutationId?: string | null;
1674
- /** The `AuditLogAuth` that was created by this mutation. */
1675
- auditLogAuth?: AuditLogAuth | null;
1676
- auditLogAuthEdge?: AuditLogAuthEdge | null;
1727
+ result?: SignInRecord | null;
1677
1728
  }
1678
- export interface CreateOrgApiKeyListPayload {
1729
+ export interface SignInCrossOriginPayload {
1679
1730
  clientMutationId?: string | null;
1680
- /** The `OrgApiKeyList` that was created by this mutation. */
1681
- orgApiKeyList?: OrgApiKeyList | null;
1731
+ result?: SignInCrossOriginRecord | null;
1682
1732
  }
1683
- export interface CreateEmailPayload {
1733
+ export interface SignInSmsOtpPayload {
1684
1734
  clientMutationId?: string | null;
1685
- /** The `Email` that was created by this mutation. */
1686
- email?: Email | null;
1687
- emailEdge?: EmailEdge | null;
1735
+ result?: SignInSmsOtpRecord | null;
1688
1736
  }
1689
- export interface CreateUserPayload {
1737
+ export interface SignOutPayload {
1690
1738
  clientMutationId?: string | null;
1691
- /** The `User` that was created by this mutation. */
1692
- user?: User | null;
1693
- userEdge?: UserEdge | null;
1694
1739
  }
1695
- export interface CreateWebauthnCredentialPayload {
1740
+ export interface SignUpPayload {
1696
1741
  clientMutationId?: string | null;
1697
- /** The `WebauthnCredential` that was created by this mutation. */
1698
- webauthnCredential?: WebauthnCredential | null;
1699
- webauthnCredentialEdge?: WebauthnCredentialEdge | null;
1742
+ result?: SignUpRecord | null;
1700
1743
  }
1701
- export interface UpdateRoleTypePayload {
1744
+ export interface SignUpSmsPayload {
1702
1745
  clientMutationId?: string | null;
1703
- /** The `RoleType` that was updated by this mutation. */
1704
- roleType?: RoleType | null;
1705
- roleTypeEdge?: RoleTypeEdge | null;
1746
+ result?: SignUpSmsRecord | null;
1706
1747
  }
1707
- export interface UpdatePrincipalEntityPayload {
1748
+ export interface UpdateAuditLogAuthPayload {
1749
+ /** The `AuditLogAuth` that was updated by this mutation. */
1750
+ auditLogAuth?: AuditLogAuth | null;
1751
+ auditLogAuthEdge?: AuditLogAuthEdge | null;
1708
1752
  clientMutationId?: string | null;
1709
- /** The `PrincipalEntity` that was updated by this mutation. */
1710
- principalEntity?: PrincipalEntity | null;
1711
- principalEntityEdge?: PrincipalEntityEdge | null;
1712
1753
  }
1713
1754
  export interface UpdateCryptoAddressPayload {
1714
1755
  clientMutationId?: string | null;
@@ -1716,23 +1757,29 @@ export interface UpdateCryptoAddressPayload {
1716
1757
  cryptoAddress?: CryptoAddress | null;
1717
1758
  cryptoAddressEdge?: CryptoAddressEdge | null;
1718
1759
  }
1760
+ export interface UpdateEmailPayload {
1761
+ clientMutationId?: string | null;
1762
+ /** The `Email` that was updated by this mutation. */
1763
+ email?: Email | null;
1764
+ emailEdge?: EmailEdge | null;
1765
+ }
1719
1766
  export interface UpdatePhoneNumberPayload {
1720
1767
  clientMutationId?: string | null;
1721
1768
  /** The `PhoneNumber` that was updated by this mutation. */
1722
1769
  phoneNumber?: PhoneNumber | null;
1723
1770
  phoneNumberEdge?: PhoneNumberEdge | null;
1724
1771
  }
1725
- export interface UpdateAuditLogAuthPayload {
1772
+ export interface UpdatePrincipalEntityPayload {
1726
1773
  clientMutationId?: string | null;
1727
- /** The `AuditLogAuth` that was updated by this mutation. */
1728
- auditLogAuth?: AuditLogAuth | null;
1729
- auditLogAuthEdge?: AuditLogAuthEdge | null;
1774
+ /** The `PrincipalEntity` that was updated by this mutation. */
1775
+ principalEntity?: PrincipalEntity | null;
1776
+ principalEntityEdge?: PrincipalEntityEdge | null;
1730
1777
  }
1731
- export interface UpdateEmailPayload {
1778
+ export interface UpdateRoleTypePayload {
1732
1779
  clientMutationId?: string | null;
1733
- /** The `Email` that was updated by this mutation. */
1734
- email?: Email | null;
1735
- emailEdge?: EmailEdge | null;
1780
+ /** The `RoleType` that was updated by this mutation. */
1781
+ roleType?: RoleType | null;
1782
+ roleTypeEdge?: RoleTypeEdge | null;
1736
1783
  }
1737
1784
  export interface UpdateUserPayload {
1738
1785
  clientMutationId?: string | null;
@@ -1746,102 +1793,56 @@ export interface UpdateWebauthnCredentialPayload {
1746
1793
  webauthnCredential?: WebauthnCredential | null;
1747
1794
  webauthnCredentialEdge?: WebauthnCredentialEdge | null;
1748
1795
  }
1749
- export interface DeleteRoleTypePayload {
1750
- clientMutationId?: string | null;
1751
- /** The `RoleType` that was deleted by this mutation. */
1752
- roleType?: RoleType | null;
1753
- roleTypeEdge?: RoleTypeEdge | null;
1754
- }
1755
- export interface DeletePrincipalEntityPayload {
1756
- clientMutationId?: string | null;
1757
- /** The `PrincipalEntity` that was deleted by this mutation. */
1758
- principalEntity?: PrincipalEntity | null;
1759
- principalEntityEdge?: PrincipalEntityEdge | null;
1760
- }
1761
- export interface DeleteCryptoAddressPayload {
1762
- clientMutationId?: string | null;
1763
- /** The `CryptoAddress` that was deleted by this mutation. */
1764
- cryptoAddress?: CryptoAddress | null;
1765
- cryptoAddressEdge?: CryptoAddressEdge | null;
1766
- }
1767
- export interface DeletePhoneNumberPayload {
1768
- clientMutationId?: string | null;
1769
- /** The `PhoneNumber` that was deleted by this mutation. */
1770
- phoneNumber?: PhoneNumber | null;
1771
- phoneNumberEdge?: PhoneNumberEdge | null;
1772
- }
1773
- export interface DeleteAuditLogAuthPayload {
1774
- clientMutationId?: string | null;
1775
- /** The `AuditLogAuth` that was deleted by this mutation. */
1776
- auditLogAuth?: AuditLogAuth | null;
1777
- auditLogAuthEdge?: AuditLogAuthEdge | null;
1778
- }
1779
- export interface DeleteEmailPayload {
1796
+ export interface VerifyEmailPayload {
1780
1797
  clientMutationId?: string | null;
1781
- /** The `Email` that was deleted by this mutation. */
1782
- email?: Email | null;
1783
- emailEdge?: EmailEdge | null;
1798
+ result?: boolean | null;
1784
1799
  }
1785
- export interface DeleteUserPayload {
1800
+ export interface VerifyPasswordPayload {
1786
1801
  clientMutationId?: string | null;
1787
- /** The `User` that was deleted by this mutation. */
1788
- user?: User | null;
1789
- userEdge?: UserEdge | null;
1802
+ result?: boolean | null;
1790
1803
  }
1791
- export interface DeleteWebauthnCredentialPayload {
1804
+ export interface VerifyTotpPayload {
1792
1805
  clientMutationId?: string | null;
1793
- /** The `WebauthnCredential` that was deleted by this mutation. */
1794
- webauthnCredential?: WebauthnCredential | null;
1795
- webauthnCredentialEdge?: WebauthnCredentialEdge | null;
1806
+ result?: boolean | null;
1796
1807
  }
1797
- export interface ProvisionBucketPayload {
1798
- /** Whether provisioning succeeded */
1799
- success: boolean;
1800
- /** The S3 bucket name that was provisioned */
1801
- bucketName: string;
1802
- /** The access type applied */
1803
- accessType: string;
1804
- /** The storage provider used */
1805
- provider: string;
1806
- /** The S3 endpoint (null for AWS S3 default) */
1807
- endpoint?: string | null;
1808
- /** Error message if provisioning failed */
1809
- error?: string | null;
1808
+ /** Information about a database table */
1809
+ export interface MetaTable {
1810
+ constraints: MetaConstraints;
1811
+ fields: MetaField[];
1812
+ foreignKeyConstraints: MetaForeignKeyConstraint[];
1813
+ /** i18n metadata (null if no @i18n tag) */
1814
+ i18n?: MetaI18n | null;
1815
+ indexes: MetaIndex[];
1816
+ inflection: MetaInflection;
1817
+ name: string;
1818
+ primaryKeyConstraints: MetaPrimaryKeyConstraint[];
1819
+ query: MetaQuery;
1820
+ /** Realtime metadata (null if no @realtime tag) */
1821
+ realtime?: MetaRealtime | null;
1822
+ relations: MetaRelations;
1823
+ schemaName: string;
1824
+ /** Search metadata (null if no search configured) */
1825
+ search?: MetaSearch | null;
1826
+ /** Storage metadata (null if not a storage table) */
1827
+ storage?: MetaStorage | null;
1828
+ uniqueConstraints: MetaUniqueConstraint[];
1810
1829
  }
1811
- /** A `IdentityProvider` edge in the connection. */
1812
- export interface IdentityProviderEdge {
1830
+ /** A `AuditLogAuth` edge in the connection. */
1831
+ export interface AuditLogAuthEdge {
1813
1832
  cursor?: string | null;
1814
- /** The `IdentityProvider` at the end of the edge. */
1815
- node?: IdentityProvider | null;
1833
+ /** The `AuditLogAuth` at the end of the edge. */
1834
+ node?: AuditLogAuth | null;
1816
1835
  }
1817
1836
  /** Information about pagination in a connection. */
1818
1837
  export interface PageInfo {
1838
+ /** When paginating forwards, the cursor to continue. */
1839
+ endCursor?: string | null;
1819
1840
  /** When paginating forwards, are there more items? */
1820
1841
  hasNextPage: boolean;
1821
1842
  /** When paginating backwards, are there more items? */
1822
1843
  hasPreviousPage: boolean;
1823
1844
  /** When paginating backwards, the cursor to continue. */
1824
1845
  startCursor?: string | null;
1825
- /** When paginating forwards, the cursor to continue. */
1826
- endCursor?: string | null;
1827
- }
1828
- /** A `RoleType` edge in the connection. */
1829
- export interface RoleTypeEdge {
1830
- cursor?: string | null;
1831
- /** The `RoleType` at the end of the edge. */
1832
- node?: RoleType | null;
1833
- }
1834
- /** A `PrincipalEntity` edge in the connection. */
1835
- export interface PrincipalEntityEdge {
1836
- cursor?: string | null;
1837
- /** The `PrincipalEntity` at the end of the edge. */
1838
- node?: PrincipalEntity | null;
1839
- }
1840
- /** A `UserConnectedAccount` edge in the connection. */
1841
- export interface UserConnectedAccountEdge {
1842
- cursor?: string | null;
1843
- /** The `UserConnectedAccount` at the end of the edge. */
1844
- node?: UserConnectedAccount | null;
1845
1846
  }
1846
1847
  /** A `CryptoAddress` edge in the connection. */
1847
1848
  export interface CryptoAddressEdge {
@@ -1849,23 +1850,17 @@ export interface CryptoAddressEdge {
1849
1850
  /** The `CryptoAddress` at the end of the edge. */
1850
1851
  node?: CryptoAddress | null;
1851
1852
  }
1852
- /** A `Principal` edge in the connection. */
1853
- export interface PrincipalEdge {
1854
- cursor?: string | null;
1855
- /** The `Principal` at the end of the edge. */
1856
- node?: Principal | null;
1857
- }
1858
- /** A `PhoneNumber` edge in the connection. */
1859
- export interface PhoneNumberEdge {
1853
+ /** A `Email` edge in the connection. */
1854
+ export interface EmailEdge {
1860
1855
  cursor?: string | null;
1861
- /** The `PhoneNumber` at the end of the edge. */
1862
- node?: PhoneNumber | null;
1856
+ /** The `Email` at the end of the edge. */
1857
+ node?: Email | null;
1863
1858
  }
1864
- /** A `AuditLogAuth` edge in the connection. */
1865
- export interface AuditLogAuthEdge {
1859
+ /** A `IdentityProvider` edge in the connection. */
1860
+ export interface IdentityProviderEdge {
1866
1861
  cursor?: string | null;
1867
- /** The `AuditLogAuth` at the end of the edge. */
1868
- node?: AuditLogAuth | null;
1862
+ /** The `IdentityProvider` at the end of the edge. */
1863
+ node?: IdentityProvider | null;
1869
1864
  }
1870
1865
  /** A `OrgApiKeyList` edge in the connection. */
1871
1866
  export interface OrgApiKeyListEdge {
@@ -1873,17 +1868,41 @@ export interface OrgApiKeyListEdge {
1873
1868
  /** The `OrgApiKeyList` at the end of the edge. */
1874
1869
  node?: OrgApiKeyList | null;
1875
1870
  }
1871
+ /** A `PhoneNumber` edge in the connection. */
1872
+ export interface PhoneNumberEdge {
1873
+ cursor?: string | null;
1874
+ /** The `PhoneNumber` at the end of the edge. */
1875
+ node?: PhoneNumber | null;
1876
+ }
1877
+ /** A `PrincipalEntity` edge in the connection. */
1878
+ export interface PrincipalEntityEdge {
1879
+ cursor?: string | null;
1880
+ /** The `PrincipalEntity` at the end of the edge. */
1881
+ node?: PrincipalEntity | null;
1882
+ }
1876
1883
  /** A `PrincipalScopeOverride` edge in the connection. */
1877
1884
  export interface PrincipalScopeOverrideEdge {
1878
1885
  cursor?: string | null;
1879
1886
  /** The `PrincipalScopeOverride` at the end of the edge. */
1880
1887
  node?: PrincipalScopeOverride | null;
1881
1888
  }
1882
- /** A `Email` edge in the connection. */
1883
- export interface EmailEdge {
1889
+ /** A `Principal` edge in the connection. */
1890
+ export interface PrincipalEdge {
1884
1891
  cursor?: string | null;
1885
- /** The `Email` at the end of the edge. */
1886
- node?: Email | null;
1892
+ /** The `Principal` at the end of the edge. */
1893
+ node?: Principal | null;
1894
+ }
1895
+ /** A `RoleType` edge in the connection. */
1896
+ export interface RoleTypeEdge {
1897
+ cursor?: string | null;
1898
+ /** The `RoleType` at the end of the edge. */
1899
+ node?: RoleType | null;
1900
+ }
1901
+ /** A `UserConnectedAccount` edge in the connection. */
1902
+ export interface UserConnectedAccountEdge {
1903
+ cursor?: string | null;
1904
+ /** The `UserConnectedAccount` at the end of the edge. */
1905
+ node?: UserConnectedAccount | null;
1887
1906
  }
1888
1907
  /** A `User` edge in the connection. */
1889
1908
  export interface UserEdge {
@@ -1897,161 +1916,139 @@ export interface WebauthnCredentialEdge {
1897
1916
  /** The `WebauthnCredential` at the end of the edge. */
1898
1917
  node?: WebauthnCredential | null;
1899
1918
  }
1900
- /** Information about a database table */
1901
- export interface MetaTable {
1902
- name: string;
1903
- schemaName: string;
1904
- fields: MetaField[];
1905
- indexes: MetaIndex[];
1906
- constraints: MetaConstraints;
1907
- foreignKeyConstraints: MetaForeignKeyConstraint[];
1908
- primaryKeyConstraints: MetaPrimaryKeyConstraint[];
1909
- uniqueConstraints: MetaUniqueConstraint[];
1910
- relations: MetaRelations;
1911
- inflection: MetaInflection;
1912
- query: MetaQuery;
1913
- /** Storage metadata (null if not a storage table) */
1914
- storage?: MetaStorage | null;
1915
- /** Search metadata (null if no search configured) */
1916
- search?: MetaSearch | null;
1917
- /** i18n metadata (null if no @i18n tag) */
1918
- i18n?: MetaI18n | null;
1919
- /** Realtime metadata (null if no @realtime tag) */
1920
- realtime?: MetaRealtime | null;
1919
+ export interface CreateApiKeyRecord {
1920
+ apiKey?: string | null;
1921
+ expiresAt?: string | null;
1922
+ keyId?: string | null;
1923
+ }
1924
+ export interface CreateOrgApiKeyRecord {
1925
+ apiKey?: string | null;
1926
+ expiresAt?: string | null;
1927
+ keyId?: string | null;
1921
1928
  }
1922
- export interface SignInCrossOriginRecord {
1929
+ export interface ExtendTokenExpiresRecord {
1930
+ expiresAt?: string | null;
1923
1931
  id?: string | null;
1924
- userId?: string | null;
1932
+ sessionId?: string | null;
1933
+ }
1934
+ export interface SignInRecord {
1925
1935
  accessToken?: string | null;
1926
1936
  accessTokenExpiresAt?: string | null;
1937
+ id?: string | null;
1927
1938
  isVerified?: boolean | null;
1939
+ mfaChallengeToken?: string | null;
1940
+ mfaRequired?: boolean | null;
1928
1941
  totpEnabled?: boolean | null;
1929
- }
1930
- export interface SignInSmsOtpRecord {
1931
1942
  userId?: string | null;
1943
+ }
1944
+ export interface SignInCrossOriginRecord {
1932
1945
  accessToken?: string | null;
1933
1946
  accessTokenExpiresAt?: string | null;
1934
- }
1935
- export interface SignUpSmsRecord {
1947
+ id?: string | null;
1948
+ isVerified?: boolean | null;
1949
+ totpEnabled?: boolean | null;
1936
1950
  userId?: string | null;
1951
+ }
1952
+ export interface SignInSmsOtpRecord {
1937
1953
  accessToken?: string | null;
1938
1954
  accessTokenExpiresAt?: string | null;
1955
+ userId?: string | null;
1939
1956
  }
1940
1957
  export interface SignUpRecord {
1941
- id?: string | null;
1942
- userId?: string | null;
1943
1958
  accessToken?: string | null;
1944
1959
  accessTokenExpiresAt?: string | null;
1960
+ id?: string | null;
1945
1961
  isVerified?: boolean | null;
1946
1962
  totpEnabled?: boolean | null;
1947
- }
1948
- export interface SignInRecord {
1949
- id?: string | null;
1950
1963
  userId?: string | null;
1964
+ }
1965
+ export interface SignUpSmsRecord {
1951
1966
  accessToken?: string | null;
1952
1967
  accessTokenExpiresAt?: string | null;
1953
- isVerified?: boolean | null;
1954
- totpEnabled?: boolean | null;
1955
- mfaRequired?: boolean | null;
1956
- mfaChallengeToken?: string | null;
1957
- }
1958
- export interface ExtendTokenExpiresRecord {
1959
- id?: string | null;
1960
- sessionId?: string | null;
1961
- expiresAt?: string | null;
1962
- }
1963
- export interface CreateOrgApiKeyRecord {
1964
- apiKey?: string | null;
1965
- keyId?: string | null;
1966
- expiresAt?: string | null;
1968
+ userId?: string | null;
1967
1969
  }
1968
- export interface CreateApiKeyRecord {
1969
- apiKey?: string | null;
1970
- keyId?: string | null;
1971
- expiresAt?: string | null;
1970
+ /** Table constraints */
1971
+ export interface MetaConstraints {
1972
+ foreignKey: MetaForeignKeyConstraint[];
1973
+ primaryKey?: MetaPrimaryKeyConstraint | null;
1974
+ unique: MetaUniqueConstraint[];
1972
1975
  }
1973
1976
  /** Information about a table field/column */
1974
1977
  export interface MetaField {
1975
- name: string;
1976
- type: MetaType;
1977
- isNotNull: boolean;
1978
- hasDefault: boolean;
1979
- isPrimaryKey: boolean;
1980
- isForeignKey: boolean;
1981
1978
  description?: string | null;
1982
1979
  /** Enum metadata if this field has an enum type */
1983
1980
  enumValues?: MetaEnum | null;
1984
- }
1985
- /** Information about a database index */
1986
- export interface MetaIndex {
1981
+ hasDefault: boolean;
1982
+ isForeignKey: boolean;
1983
+ isNotNull: boolean;
1984
+ isPrimaryKey: boolean;
1987
1985
  name: string;
1988
- isUnique: boolean;
1989
- isPrimary: boolean;
1990
- columns: string[];
1991
- fields?: MetaField[] | null;
1992
- }
1993
- /** Table constraints */
1994
- export interface MetaConstraints {
1995
- primaryKey?: MetaPrimaryKeyConstraint | null;
1996
- unique: MetaUniqueConstraint[];
1997
- foreignKey: MetaForeignKeyConstraint[];
1986
+ type: MetaType;
1998
1987
  }
1999
1988
  /** Information about a foreign key constraint */
2000
1989
  export interface MetaForeignKeyConstraint {
2001
- name: string;
2002
1990
  fields: MetaField[];
2003
- referencedTable: string;
2004
- referencedFields: string[];
1991
+ name: string;
2005
1992
  refFields?: MetaField[] | null;
2006
1993
  refTable?: MetaRefTable | null;
1994
+ referencedFields: string[];
1995
+ referencedTable: string;
2007
1996
  }
2008
- /** Information about a primary key constraint */
2009
- export interface MetaPrimaryKeyConstraint {
2010
- name: string;
2011
- fields: MetaField[];
1997
+ /** i18n metadata for a table with @i18n tag */
1998
+ export interface MetaI18n {
1999
+ /** Fields that are translatable */
2000
+ translatableFields: MetaI18nField[];
2001
+ /** Name of the translation table */
2002
+ translationTable: string;
2012
2003
  }
2013
- /** Information about a unique constraint */
2014
- export interface MetaUniqueConstraint {
2004
+ /** Information about a database index */
2005
+ export interface MetaIndex {
2006
+ columns: string[];
2007
+ fields?: MetaField[] | null;
2008
+ isPrimary: boolean;
2009
+ isUnique: boolean;
2015
2010
  name: string;
2016
- fields: MetaField[];
2017
- }
2018
- /** Table relations */
2019
- export interface MetaRelations {
2020
- belongsTo: MetaBelongsToRelation[];
2021
- has: MetaHasRelation[];
2022
- hasOne: MetaHasRelation[];
2023
- hasMany: MetaHasRelation[];
2024
- manyToMany: MetaManyToManyRelation[];
2025
2011
  }
2026
2012
  /** Table inflection names */
2027
2013
  export interface MetaInflection {
2028
- tableType: string;
2029
2014
  allRows: string;
2015
+ conditionType: string;
2030
2016
  connection: string;
2017
+ createInputType: string;
2018
+ createPayloadType: string;
2019
+ deletePayloadType: string;
2031
2020
  edge: string;
2032
2021
  filterType?: string | null;
2033
2022
  orderByType: string;
2034
- conditionType: string;
2035
2023
  patchType?: string | null;
2036
- createInputType: string;
2037
- createPayloadType: string;
2024
+ tableType: string;
2038
2025
  updatePayloadType?: string | null;
2039
- deletePayloadType: string;
2026
+ }
2027
+ /** Information about a primary key constraint */
2028
+ export interface MetaPrimaryKeyConstraint {
2029
+ fields: MetaField[];
2030
+ name: string;
2040
2031
  }
2041
2032
  /** Table query/mutation names */
2042
2033
  export interface MetaQuery {
2043
2034
  all: string;
2044
- one?: string | null;
2045
2035
  create?: string | null;
2046
- update?: string | null;
2047
2036
  delete?: string | null;
2037
+ one?: string | null;
2038
+ update?: string | null;
2048
2039
  }
2049
- /** Storage metadata for a table */
2050
- export interface MetaStorage {
2051
- /** Whether this table is a storage files table */
2052
- isFilesTable: boolean;
2053
- /** Whether this table is a storage buckets table */
2054
- isBucketsTable: boolean;
2040
+ /** Realtime metadata for a table with @realtime tag */
2041
+ export interface MetaRealtime {
2042
+ /** The generated subscription field name (e.g. onPostChanged) */
2043
+ subscriptionFieldName: string;
2044
+ }
2045
+ /** Table relations */
2046
+ export interface MetaRelations {
2047
+ belongsTo: MetaBelongsToRelation[];
2048
+ has: MetaHasRelation[];
2049
+ hasMany: MetaHasRelation[];
2050
+ hasOne: MetaHasRelation[];
2051
+ manyToMany: MetaManyToManyRelation[];
2055
2052
  }
2056
2053
  /** Search metadata for a table */
2057
2054
  export interface MetaSearch {
@@ -2059,31 +2056,22 @@ export interface MetaSearch {
2059
2056
  algorithms: string[];
2060
2057
  /** Searchable columns with their algorithm */
2061
2058
  columns: MetaSearchColumn[];
2062
- /** Whether unifiedSearch composite filter is available */
2063
- hasUnifiedSearch: boolean;
2064
2059
  /** Per-table search configuration */
2065
2060
  config?: MetaSearchConfig | null;
2061
+ /** Whether unifiedSearch composite filter is available */
2062
+ hasUnifiedSearch: boolean;
2066
2063
  }
2067
- /** i18n metadata for a table with @i18n tag */
2068
- export interface MetaI18n {
2069
- /** Name of the translation table */
2070
- translationTable: string;
2071
- /** Fields that are translatable */
2072
- translatableFields: MetaI18nField[];
2073
- }
2074
- /** Realtime metadata for a table with @realtime tag */
2075
- export interface MetaRealtime {
2076
- /** The generated subscription field name (e.g. onPostChanged) */
2077
- subscriptionFieldName: string;
2064
+ /** Storage metadata for a table */
2065
+ export interface MetaStorage {
2066
+ /** Whether this table is a storage buckets table */
2067
+ isBucketsTable: boolean;
2068
+ /** Whether this table is a storage files table */
2069
+ isFilesTable: boolean;
2078
2070
  }
2079
- /** Information about a PostgreSQL type */
2080
- export interface MetaType {
2081
- pgType: string;
2082
- gqlType: string;
2083
- isArray: boolean;
2084
- isNotNull?: boolean | null;
2085
- hasDefault?: boolean | null;
2086
- subtype?: string | null;
2071
+ /** Information about a unique constraint */
2072
+ export interface MetaUniqueConstraint {
2073
+ fields: MetaField[];
2074
+ name: string;
2087
2075
  }
2088
2076
  /** Information about a PostgreSQL enum type */
2089
2077
  export interface MetaEnum {
@@ -2092,61 +2080,70 @@ export interface MetaEnum {
2092
2080
  /** Allowed values for this enum */
2093
2081
  values: string[];
2094
2082
  }
2083
+ /** Information about a PostgreSQL type */
2084
+ export interface MetaType {
2085
+ gqlType: string;
2086
+ hasDefault?: boolean | null;
2087
+ isArray: boolean;
2088
+ isNotNull?: boolean | null;
2089
+ pgType: string;
2090
+ subtype?: string | null;
2091
+ }
2095
2092
  /** Reference to a related table */
2096
2093
  export interface MetaRefTable {
2097
2094
  name: string;
2098
2095
  }
2096
+ /** A translatable field */
2097
+ export interface MetaI18nField {
2098
+ /** GraphQL field name */
2099
+ name: string;
2100
+ /** PostgreSQL column type (text, citext) */
2101
+ type: string;
2102
+ }
2099
2103
  /** A belongs-to (forward FK) relation */
2100
2104
  export interface MetaBelongsToRelation {
2101
2105
  fieldName?: string | null;
2102
2106
  isUnique: boolean;
2103
- type?: string | null;
2104
2107
  keys: MetaField[];
2105
2108
  references: MetaRefTable;
2109
+ type?: string | null;
2106
2110
  }
2107
2111
  /** A has-one or has-many (reverse FK) relation */
2108
2112
  export interface MetaHasRelation {
2109
2113
  fieldName?: string | null;
2110
2114
  isUnique: boolean;
2111
- type?: string | null;
2112
2115
  keys: MetaField[];
2113
2116
  referencedBy: MetaRefTable;
2117
+ type?: string | null;
2114
2118
  }
2115
2119
  /** A many-to-many relation via junction table */
2116
2120
  export interface MetaManyToManyRelation {
2117
2121
  fieldName?: string | null;
2118
- type?: string | null;
2119
- junctionTable: MetaRefTable;
2120
2122
  junctionLeftConstraint: MetaForeignKeyConstraint;
2121
2123
  junctionLeftKeyAttributes: MetaField[];
2122
2124
  junctionRightConstraint: MetaForeignKeyConstraint;
2123
2125
  junctionRightKeyAttributes: MetaField[];
2126
+ junctionTable: MetaRefTable;
2124
2127
  leftKeyAttributes: MetaField[];
2125
2128
  rightKeyAttributes: MetaField[];
2126
2129
  rightTable: MetaRefTable;
2130
+ type?: string | null;
2127
2131
  }
2128
2132
  /** A searchable column with its algorithm */
2129
2133
  export interface MetaSearchColumn {
2130
- /** Column name (camelCase) */
2131
- name: string;
2132
2134
  /** Search algorithm: tsvector, bm25, trgm, or vector */
2133
2135
  algorithm: string;
2136
+ /** Column name (camelCase) */
2137
+ name: string;
2134
2138
  }
2135
2139
  /** Per-table search configuration from @searchConfig smart tag */
2136
2140
  export interface MetaSearchConfig {
2137
- /** JSON-encoded per-adapter score weights */
2138
- weights?: string | null;
2139
- /** Whether recency boosting is enabled */
2140
- boostRecent: boolean;
2141
- /** Field used for recency decay */
2142
- boostRecencyField?: string | null;
2143
2141
  /** Exponential decay factor per day */
2144
2142
  boostRecencyDecay?: number | null;
2145
- }
2146
- /** A translatable field */
2147
- export interface MetaI18nField {
2148
- /** GraphQL field name */
2149
- name: string;
2150
- /** PostgreSQL column type (text, citext) */
2151
- type: string;
2143
+ /** Field used for recency decay */
2144
+ boostRecencyField?: string | null;
2145
+ /** Whether recency boosting is enabled */
2146
+ boostRecent: boolean;
2147
+ /** JSON-encoded per-adapter score weights */
2148
+ weights?: string | null;
2152
2149
  }