@constructive-io/react 0.7.2 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/README.md +0 -8
  2. package/admin/orm/input-types.d.ts +33 -127
  3. package/admin/schema-types.d.ts +20 -110
  4. package/admin/types.d.ts +0 -19
  5. package/auth/hooks/index.d.ts +1 -1
  6. package/auth/hooks/index.js +1 -1
  7. package/auth/hooks/invalidation.d.ts +16 -16
  8. package/auth/hooks/invalidation.js +33 -33
  9. package/auth/hooks/mutation-keys.d.ts +32 -32
  10. package/auth/hooks/mutation-keys.js +20 -20
  11. package/auth/hooks/mutations/index.d.ts +9 -9
  12. package/auth/hooks/mutations/index.js +9 -9
  13. package/auth/hooks/queries/index.d.ts +6 -6
  14. package/auth/hooks/queries/index.js +6 -6
  15. package/auth/hooks/query-keys.d.ts +38 -38
  16. package/auth/hooks/query-keys.js +23 -23
  17. package/auth/orm/index.d.ts +6 -6
  18. package/auth/orm/index.js +6 -6
  19. package/auth/orm/input-types.d.ts +279 -327
  20. package/auth/orm/input-types.js +9 -1
  21. package/auth/orm/models/index.d.ts +3 -3
  22. package/auth/orm/models/index.js +7 -7
  23. package/auth/schema-types.d.ts +276 -188
  24. package/auth/types.d.ts +14 -24
  25. package/esm/admin/orm/input-types.d.ts +33 -127
  26. package/esm/admin/schema-types.d.ts +20 -110
  27. package/esm/admin/types.d.ts +0 -19
  28. package/esm/auth/hooks/index.d.ts +1 -1
  29. package/esm/auth/hooks/index.js +1 -1
  30. package/esm/auth/hooks/invalidation.d.ts +16 -16
  31. package/esm/auth/hooks/invalidation.js +34 -34
  32. package/esm/auth/hooks/mutation-keys.d.ts +32 -32
  33. package/esm/auth/hooks/mutation-keys.js +19 -19
  34. package/esm/auth/hooks/mutations/index.d.ts +9 -9
  35. package/esm/auth/hooks/mutations/index.js +9 -9
  36. package/esm/auth/hooks/queries/index.d.ts +6 -6
  37. package/esm/auth/hooks/queries/index.js +6 -6
  38. package/esm/auth/hooks/query-keys.d.ts +38 -38
  39. package/esm/auth/hooks/query-keys.js +22 -22
  40. package/esm/auth/orm/index.d.ts +6 -6
  41. package/esm/auth/orm/index.js +6 -6
  42. package/esm/auth/orm/input-types.d.ts +279 -327
  43. package/esm/auth/orm/input-types.js +9 -1
  44. package/esm/auth/orm/models/index.d.ts +3 -3
  45. package/esm/auth/orm/models/index.js +3 -3
  46. package/esm/auth/schema-types.d.ts +276 -188
  47. package/esm/auth/types.d.ts +14 -24
  48. package/esm/index.d.ts +5 -1
  49. package/esm/index.js +5 -1
  50. package/esm/objects/orm/input-types.d.ts +17 -48
  51. package/esm/objects/schema-types.d.ts +3 -37
  52. package/esm/objects/types.d.ts +0 -6
  53. package/esm/public/hooks/index.d.ts +1 -1
  54. package/esm/public/hooks/index.js +1 -1
  55. package/esm/public/hooks/invalidation.d.ts +77 -53
  56. package/esm/public/hooks/invalidation.js +202 -138
  57. package/esm/public/hooks/mutation-keys.d.ts +180 -122
  58. package/esm/public/hooks/mutation-keys.js +129 -86
  59. package/esm/public/hooks/mutations/index.d.ts +50 -33
  60. package/esm/public/hooks/mutations/index.js +50 -33
  61. package/esm/public/hooks/mutations/useAcceptDatabaseTransferMutation.d.ts +20 -0
  62. package/esm/public/hooks/mutations/useAcceptDatabaseTransferMutation.js +23 -0
  63. package/esm/public/hooks/mutations/useCancelDatabaseTransferMutation.d.ts +20 -0
  64. package/esm/public/hooks/mutations/useCancelDatabaseTransferMutation.js +23 -0
  65. package/esm/public/hooks/mutations/useConstructBlueprintMutation.d.ts +20 -0
  66. package/esm/public/hooks/mutations/useConstructBlueprintMutation.js +23 -0
  67. package/esm/public/hooks/mutations/useCopyTemplateToBlueprintMutation.d.ts +20 -0
  68. package/esm/public/hooks/mutations/useCopyTemplateToBlueprintMutation.js +23 -0
  69. package/esm/public/hooks/mutations/useCreateBlueprintMutation.d.ts +34 -0
  70. package/esm/public/hooks/mutations/useCreateBlueprintMutation.js +31 -0
  71. package/esm/public/hooks/mutations/useCreateBlueprintTemplateMutation.d.ts +34 -0
  72. package/esm/public/hooks/mutations/useCreateBlueprintTemplateMutation.js +31 -0
  73. package/esm/public/hooks/mutations/useCreateDatabaseTransferMutation.d.ts +34 -0
  74. package/esm/public/hooks/mutations/useCreateDatabaseTransferMutation.js +31 -0
  75. package/esm/public/hooks/mutations/useCreateEmbeddingChunkMutation.d.ts +34 -0
  76. package/esm/public/hooks/mutations/useCreateEmbeddingChunkMutation.js +31 -0
  77. package/esm/public/hooks/mutations/useCreateEnumMutation.d.ts +34 -0
  78. package/esm/public/hooks/mutations/{useCreateUuidModuleMutation.js → useCreateEnumMutation.js} +7 -7
  79. package/esm/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +38 -0
  80. package/esm/public/hooks/mutations/useDeleteBlueprintMutation.js +36 -0
  81. package/esm/public/hooks/mutations/useDeleteBlueprintTemplateMutation.d.ts +38 -0
  82. package/esm/public/hooks/mutations/useDeleteBlueprintTemplateMutation.js +36 -0
  83. package/esm/public/hooks/mutations/useDeleteDatabaseTransferMutation.d.ts +38 -0
  84. package/esm/public/hooks/mutations/useDeleteDatabaseTransferMutation.js +36 -0
  85. package/esm/public/hooks/mutations/useDeleteEmbeddingChunkMutation.d.ts +38 -0
  86. package/esm/public/hooks/mutations/useDeleteEmbeddingChunkMutation.js +36 -0
  87. package/esm/public/hooks/mutations/useDeleteEnumMutation.d.ts +38 -0
  88. package/esm/public/hooks/mutations/{useDeleteUuidModuleMutation.js → useDeleteEnumMutation.js} +8 -8
  89. package/esm/public/hooks/mutations/useRejectDatabaseTransferMutation.d.ts +20 -0
  90. package/esm/public/hooks/mutations/useRejectDatabaseTransferMutation.js +23 -0
  91. package/esm/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +40 -0
  92. package/esm/public/hooks/mutations/useUpdateBlueprintMutation.js +37 -0
  93. package/esm/public/hooks/mutations/useUpdateBlueprintTemplateMutation.d.ts +40 -0
  94. package/esm/public/hooks/mutations/useUpdateBlueprintTemplateMutation.js +37 -0
  95. package/esm/public/hooks/mutations/useUpdateDatabaseTransferMutation.d.ts +40 -0
  96. package/esm/public/hooks/mutations/useUpdateDatabaseTransferMutation.js +37 -0
  97. package/esm/public/hooks/mutations/useUpdateEmbeddingChunkMutation.d.ts +40 -0
  98. package/esm/public/hooks/mutations/useUpdateEmbeddingChunkMutation.js +37 -0
  99. package/esm/public/hooks/mutations/useUpdateEnumMutation.d.ts +40 -0
  100. package/esm/public/hooks/mutations/{useUpdateUuidModuleMutation.js → useUpdateEnumMutation.js} +10 -10
  101. package/esm/public/hooks/queries/index.d.ts +25 -17
  102. package/esm/public/hooks/queries/index.js +25 -17
  103. package/esm/public/hooks/queries/useBlueprintQuery.d.ts +65 -0
  104. package/esm/public/hooks/queries/useBlueprintQuery.js +47 -0
  105. package/esm/public/hooks/queries/useBlueprintTemplateQuery.d.ts +65 -0
  106. package/esm/public/hooks/queries/useBlueprintTemplateQuery.js +47 -0
  107. package/esm/public/hooks/queries/useBlueprintTemplatesQuery.d.ts +69 -0
  108. package/esm/public/hooks/queries/useBlueprintTemplatesQuery.js +32 -0
  109. package/esm/public/hooks/queries/useBlueprintsQuery.d.ts +69 -0
  110. package/esm/public/hooks/queries/useBlueprintsQuery.js +32 -0
  111. package/esm/public/hooks/queries/useDatabaseTransferQuery.d.ts +65 -0
  112. package/esm/public/hooks/queries/useDatabaseTransferQuery.js +47 -0
  113. package/esm/public/hooks/queries/useDatabaseTransfersQuery.d.ts +69 -0
  114. package/esm/public/hooks/queries/useDatabaseTransfersQuery.js +32 -0
  115. package/esm/public/hooks/queries/useEmbeddingChunkQuery.d.ts +65 -0
  116. package/esm/public/hooks/queries/useEmbeddingChunkQuery.js +47 -0
  117. package/esm/public/hooks/queries/useEmbeddingChunksQuery.d.ts +69 -0
  118. package/esm/public/hooks/queries/useEmbeddingChunksQuery.js +32 -0
  119. package/esm/public/hooks/queries/useEnumQuery.d.ts +65 -0
  120. package/esm/public/hooks/queries/{useUuidModuleQuery.js → useEnumQuery.js} +11 -11
  121. package/esm/public/hooks/queries/useEnumsQuery.d.ts +69 -0
  122. package/esm/public/hooks/queries/{useUuidModulesQuery.js → useEnumsQuery.js} +11 -11
  123. package/esm/public/hooks/query-keys.d.ts +180 -124
  124. package/esm/public/hooks/query-keys.js +103 -71
  125. package/esm/public/orm/index.d.ts +81 -48
  126. package/esm/public/orm/index.js +26 -18
  127. package/esm/public/orm/input-types.d.ts +2447 -2980
  128. package/esm/public/orm/input-types.js +26 -1
  129. package/esm/public/orm/models/blueprint.d.ts +56 -0
  130. package/esm/public/orm/models/blueprint.js +94 -0
  131. package/esm/public/orm/models/blueprintTemplate.d.ts +56 -0
  132. package/esm/public/orm/models/blueprintTemplate.js +94 -0
  133. package/esm/public/orm/models/databaseTransfer.d.ts +56 -0
  134. package/esm/public/orm/models/databaseTransfer.js +94 -0
  135. package/esm/public/orm/models/embeddingChunk.d.ts +56 -0
  136. package/esm/public/orm/models/embeddingChunk.js +94 -0
  137. package/esm/public/orm/models/enum.d.ts +56 -0
  138. package/esm/public/orm/models/{uuidModule.js → enum.js} +23 -23
  139. package/esm/public/orm/models/index.d.ts +13 -9
  140. package/esm/public/orm/models/index.js +13 -9
  141. package/esm/public/orm/mutation/index.d.ts +98 -50
  142. package/esm/public/orm/mutation/index.js +126 -66
  143. package/esm/public/schema-types.d.ts +2328 -2206
  144. package/esm/public/types.d.ts +161 -379
  145. package/index.d.ts +5 -1
  146. package/index.js +5 -1
  147. package/objects/orm/input-types.d.ts +17 -48
  148. package/objects/schema-types.d.ts +3 -37
  149. package/objects/types.d.ts +0 -6
  150. package/package.json +3 -3
  151. package/public/hooks/index.d.ts +1 -1
  152. package/public/hooks/index.js +1 -1
  153. package/public/hooks/invalidation.d.ts +77 -53
  154. package/public/hooks/invalidation.js +201 -137
  155. package/public/hooks/mutation-keys.d.ts +180 -122
  156. package/public/hooks/mutation-keys.js +132 -89
  157. package/public/hooks/mutations/index.d.ts +50 -33
  158. package/public/hooks/mutations/index.js +50 -33
  159. package/public/hooks/mutations/useAcceptDatabaseTransferMutation.d.ts +20 -0
  160. package/public/hooks/mutations/useAcceptDatabaseTransferMutation.js +26 -0
  161. package/public/hooks/mutations/useCancelDatabaseTransferMutation.d.ts +20 -0
  162. package/public/hooks/mutations/useCancelDatabaseTransferMutation.js +26 -0
  163. package/public/hooks/mutations/useConstructBlueprintMutation.d.ts +20 -0
  164. package/public/hooks/mutations/useConstructBlueprintMutation.js +26 -0
  165. package/public/hooks/mutations/useCopyTemplateToBlueprintMutation.d.ts +20 -0
  166. package/public/hooks/mutations/useCopyTemplateToBlueprintMutation.js +26 -0
  167. package/public/hooks/mutations/useCreateBlueprintMutation.d.ts +34 -0
  168. package/public/hooks/mutations/useCreateBlueprintMutation.js +34 -0
  169. package/public/hooks/mutations/useCreateBlueprintTemplateMutation.d.ts +34 -0
  170. package/public/hooks/mutations/useCreateBlueprintTemplateMutation.js +34 -0
  171. package/public/hooks/mutations/useCreateDatabaseTransferMutation.d.ts +34 -0
  172. package/public/hooks/mutations/useCreateDatabaseTransferMutation.js +34 -0
  173. package/public/hooks/mutations/useCreateEmbeddingChunkMutation.d.ts +34 -0
  174. package/public/hooks/mutations/useCreateEmbeddingChunkMutation.js +34 -0
  175. package/public/hooks/mutations/useCreateEnumMutation.d.ts +34 -0
  176. package/public/hooks/mutations/{useCreateUuidModuleMutation.js → useCreateEnumMutation.js} +6 -6
  177. package/public/hooks/mutations/useDeleteBlueprintMutation.d.ts +38 -0
  178. package/public/hooks/mutations/useDeleteBlueprintMutation.js +39 -0
  179. package/public/hooks/mutations/useDeleteBlueprintTemplateMutation.d.ts +38 -0
  180. package/public/hooks/mutations/useDeleteBlueprintTemplateMutation.js +39 -0
  181. package/public/hooks/mutations/useDeleteDatabaseTransferMutation.d.ts +38 -0
  182. package/public/hooks/mutations/useDeleteDatabaseTransferMutation.js +39 -0
  183. package/public/hooks/mutations/useDeleteEmbeddingChunkMutation.d.ts +38 -0
  184. package/public/hooks/mutations/useDeleteEmbeddingChunkMutation.js +39 -0
  185. package/public/hooks/mutations/useDeleteEnumMutation.d.ts +38 -0
  186. package/public/hooks/mutations/{useDeleteUuidModuleMutation.js → useDeleteEnumMutation.js} +7 -7
  187. package/public/hooks/mutations/useRejectDatabaseTransferMutation.d.ts +20 -0
  188. package/public/hooks/mutations/useRejectDatabaseTransferMutation.js +26 -0
  189. package/public/hooks/mutations/useUpdateBlueprintMutation.d.ts +40 -0
  190. package/public/hooks/mutations/useUpdateBlueprintMutation.js +40 -0
  191. package/public/hooks/mutations/useUpdateBlueprintTemplateMutation.d.ts +40 -0
  192. package/public/hooks/mutations/useUpdateBlueprintTemplateMutation.js +40 -0
  193. package/public/hooks/mutations/useUpdateDatabaseTransferMutation.d.ts +40 -0
  194. package/public/hooks/mutations/useUpdateDatabaseTransferMutation.js +40 -0
  195. package/public/hooks/mutations/useUpdateEmbeddingChunkMutation.d.ts +40 -0
  196. package/public/hooks/mutations/useUpdateEmbeddingChunkMutation.js +40 -0
  197. package/public/hooks/mutations/useUpdateEnumMutation.d.ts +40 -0
  198. package/public/hooks/mutations/{useUpdateUuidModuleMutation.js → useUpdateEnumMutation.js} +9 -9
  199. package/public/hooks/queries/index.d.ts +25 -17
  200. package/public/hooks/queries/index.js +25 -17
  201. package/public/hooks/queries/useBlueprintQuery.d.ts +65 -0
  202. package/public/hooks/queries/useBlueprintQuery.js +53 -0
  203. package/public/hooks/queries/useBlueprintTemplateQuery.d.ts +65 -0
  204. package/public/hooks/queries/useBlueprintTemplateQuery.js +53 -0
  205. package/public/hooks/queries/useBlueprintTemplatesQuery.d.ts +69 -0
  206. package/public/hooks/queries/useBlueprintTemplatesQuery.js +38 -0
  207. package/public/hooks/queries/useBlueprintsQuery.d.ts +69 -0
  208. package/public/hooks/queries/useBlueprintsQuery.js +38 -0
  209. package/public/hooks/queries/useDatabaseTransferQuery.d.ts +65 -0
  210. package/public/hooks/queries/useDatabaseTransferQuery.js +53 -0
  211. package/public/hooks/queries/useDatabaseTransfersQuery.d.ts +69 -0
  212. package/public/hooks/queries/useDatabaseTransfersQuery.js +38 -0
  213. package/public/hooks/queries/useEmbeddingChunkQuery.d.ts +65 -0
  214. package/public/hooks/queries/useEmbeddingChunkQuery.js +53 -0
  215. package/public/hooks/queries/useEmbeddingChunksQuery.d.ts +69 -0
  216. package/public/hooks/queries/useEmbeddingChunksQuery.js +38 -0
  217. package/public/hooks/queries/useEnumQuery.d.ts +65 -0
  218. package/public/hooks/queries/{useUuidModuleQuery.js → useEnumQuery.js} +14 -14
  219. package/public/hooks/queries/useEnumsQuery.d.ts +69 -0
  220. package/public/hooks/queries/{useUuidModulesQuery.js → useEnumsQuery.js} +14 -14
  221. package/public/hooks/query-keys.d.ts +180 -124
  222. package/public/hooks/query-keys.js +106 -74
  223. package/public/orm/index.d.ts +81 -48
  224. package/public/orm/index.js +26 -18
  225. package/public/orm/input-types.d.ts +2447 -2980
  226. package/public/orm/input-types.js +26 -1
  227. package/public/orm/models/blueprint.d.ts +56 -0
  228. package/public/orm/models/blueprint.js +98 -0
  229. package/public/orm/models/blueprintTemplate.d.ts +56 -0
  230. package/public/orm/models/blueprintTemplate.js +98 -0
  231. package/public/orm/models/databaseTransfer.d.ts +56 -0
  232. package/public/orm/models/databaseTransfer.js +98 -0
  233. package/public/orm/models/embeddingChunk.d.ts +56 -0
  234. package/public/orm/models/embeddingChunk.js +98 -0
  235. package/public/orm/models/enum.d.ts +56 -0
  236. package/public/orm/models/{uuidModule.js → enum.js} +25 -25
  237. package/public/orm/models/index.d.ts +13 -9
  238. package/public/orm/models/index.js +29 -21
  239. package/public/orm/mutation/index.d.ts +98 -50
  240. package/public/orm/mutation/index.js +126 -66
  241. package/public/schema-types.d.ts +2328 -2206
  242. package/public/types.d.ts +161 -379
  243. package/esm/public/hooks/mutations/useCreateUuidModuleMutation.d.ts +0 -34
  244. package/esm/public/hooks/mutations/useDeleteUuidModuleMutation.d.ts +0 -38
  245. package/esm/public/hooks/mutations/useUpdateUuidModuleMutation.d.ts +0 -40
  246. package/esm/public/hooks/queries/useUuidModuleQuery.d.ts +0 -65
  247. package/esm/public/hooks/queries/useUuidModulesQuery.d.ts +0 -69
  248. package/esm/public/orm/models/uuidModule.d.ts +0 -56
  249. package/public/hooks/mutations/useCreateUuidModuleMutation.d.ts +0 -34
  250. package/public/hooks/mutations/useDeleteUuidModuleMutation.d.ts +0 -38
  251. package/public/hooks/mutations/useUpdateUuidModuleMutation.d.ts +0 -40
  252. package/public/hooks/queries/useUuidModuleQuery.d.ts +0 -65
  253. package/public/hooks/queries/useUuidModulesQuery.d.ts +0 -69
  254. package/public/orm/models/uuidModule.d.ts +0 -56
@@ -1,2 +1,10 @@
1
1
  // ============ Connection Fields Map ============
2
- export const connectionFieldsMap = {};
2
+ export const connectionFieldsMap = {
3
+ User: {
4
+ ownedEmails: 'Email',
5
+ ownedPhoneNumbers: 'PhoneNumber',
6
+ ownedCryptoAddresses: 'CryptoAddress',
7
+ ownedConnectedAccounts: 'ConnectedAccount',
8
+ auditLogsByActorId: 'AuditLog',
9
+ },
10
+ };
@@ -3,10 +3,10 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- export { CryptoAddressModel } from './cryptoAddress';
7
- export { RoleTypeModel } from './roleType';
6
+ export { EmailModel } from './email';
8
7
  export { PhoneNumberModel } from './phoneNumber';
8
+ export { CryptoAddressModel } from './cryptoAddress';
9
9
  export { ConnectedAccountModel } from './connectedAccount';
10
10
  export { AuditLogModel } from './auditLog';
11
- export { EmailModel } from './email';
11
+ export { RoleTypeModel } from './roleType';
12
12
  export { UserModel } from './user';
@@ -3,10 +3,10 @@
3
3
  * @generated by @constructive-io/graphql-codegen
4
4
  * DO NOT EDIT - changes will be overwritten
5
5
  */
6
- export { CryptoAddressModel } from './cryptoAddress';
7
- export { RoleTypeModel } from './roleType';
6
+ export { EmailModel } from './email';
8
7
  export { PhoneNumberModel } from './phoneNumber';
8
+ export { CryptoAddressModel } from './cryptoAddress';
9
9
  export { ConnectedAccountModel } from './connectedAccount';
10
10
  export { AuditLogModel } from './auditLog';
11
- export { EmailModel } from './email';
11
+ export { RoleTypeModel } from './roleType';
12
12
  export { UserModel } from './user';
@@ -7,28 +7,28 @@ import type { AuditLog, ConnectedAccount, CryptoAddress, Email, PhoneNumber, Rol
7
7
  export type ConstructiveInternalTypeEmail = unknown;
8
8
  export type ConstructiveInternalTypeImage = unknown;
9
9
  export type ConstructiveInternalTypeOrigin = unknown;
10
- /** Methods to use when ordering `CryptoAddress`. */
11
- export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ADDRESS_TRGM_SIMILARITY_ASC' | 'ADDRESS_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
12
- /** Methods to use when ordering `RoleType`. */
13
- export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
10
+ /** Methods to use when ordering `Email`. */
11
+ export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14
12
  /** Methods to use when ordering `PhoneNumber`. */
15
- export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'CC_TRGM_SIMILARITY_ASC' | 'CC_TRGM_SIMILARITY_DESC' | 'NUMBER_TRGM_SIMILARITY_ASC' | 'NUMBER_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
13
+ export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
14
+ /** Methods to use when ordering `CryptoAddress`. */
15
+ export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
16
16
  /** Methods to use when ordering `ConnectedAccount`. */
17
- export type ConnectedAccountOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SERVICE_TRGM_SIMILARITY_ASC' | 'SERVICE_TRGM_SIMILARITY_DESC' | 'IDENTIFIER_TRGM_SIMILARITY_ASC' | 'IDENTIFIER_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
17
+ export type ConnectedAccountOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
18
18
  /** Methods to use when ordering `AuditLog`. */
19
- export type AuditLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'USER_AGENT_TRGM_SIMILARITY_ASC' | 'USER_AGENT_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
20
- /** Methods to use when ordering `Email`. */
21
- export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
19
+ export type AuditLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
20
+ /** Methods to use when ordering `RoleType`. */
21
+ export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
22
22
  /** Methods to use when ordering `User`. */
23
23
  export type UserOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'USERNAME_ASC' | 'USERNAME_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';
24
- /** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
25
- export interface CryptoAddressFilter {
24
+ /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */
25
+ export interface EmailFilter {
26
26
  /** Filter by the object’s `id` field. */
27
27
  id?: UUIDFilter;
28
28
  /** Filter by the object’s `ownerId` field. */
29
29
  ownerId?: UUIDFilter;
30
- /** Filter by the object’s `address` field. */
31
- address?: StringFilter;
30
+ /** Filter by the object’s `email` field. */
31
+ email?: ConstructiveInternalTypeEmailFilter;
32
32
  /** Filter by the object’s `isVerified` field. */
33
33
  isVerified?: BooleanFilter;
34
34
  /** Filter by the object’s `isPrimary` field. */
@@ -38,38 +38,99 @@ export interface CryptoAddressFilter {
38
38
  /** Filter by the object’s `updatedAt` field. */
39
39
  updatedAt?: DatetimeFilter;
40
40
  /** Checks for all expressions in this list. */
41
- and?: CryptoAddressFilter[];
41
+ and?: EmailFilter[];
42
42
  /** Checks for any expressions in this list. */
43
- or?: CryptoAddressFilter[];
43
+ or?: EmailFilter[];
44
44
  /** Negates the expression. */
45
- not?: CryptoAddressFilter;
45
+ not?: EmailFilter;
46
46
  /** Filter by the object’s `owner` relation. */
47
47
  owner?: UserFilter;
48
- /** TRGM search on the `address` column. */
49
- trgmAddress?: TrgmSearchInput;
50
- /**
51
- * Composite full-text search. Provide a search string and it will be dispatched
52
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
53
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
54
- * fields are populated.
55
- */
56
- fullTextSearch?: string;
57
48
  }
58
- /** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
59
- export interface TrgmSearchInput {
60
- /** The text to fuzzy-match against. Typos and misspellings are tolerated. */
61
- value: string;
62
- /** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
63
- threshold?: number;
49
+ /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
50
+ export interface ConstructiveInternalTypeEmailFilter {
51
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
52
+ isNull?: boolean;
53
+ /** Equal to the specified value. */
54
+ equalTo?: string;
55
+ /** Not equal to the specified value. */
56
+ notEqualTo?: string;
57
+ /** Not equal to the specified value, treating null like an ordinary value. */
58
+ distinctFrom?: string;
59
+ /** Equal to the specified value, treating null like an ordinary value. */
60
+ notDistinctFrom?: string;
61
+ /** Included in the specified list. */
62
+ in?: string[];
63
+ /** Not included in the specified list. */
64
+ notIn?: string[];
65
+ /** Less than the specified value. */
66
+ lessThan?: string;
67
+ /** Less than or equal to the specified value. */
68
+ lessThanOrEqualTo?: string;
69
+ /** Greater than the specified value. */
70
+ greaterThan?: string;
71
+ /** Greater than or equal to the specified value. */
72
+ greaterThanOrEqualTo?: string;
73
+ /** Contains the specified string (case-sensitive). */
74
+ includes?: string;
75
+ /** Does not contain the specified string (case-sensitive). */
76
+ notIncludes?: string;
77
+ /** Contains the specified string (case-insensitive). */
78
+ includesInsensitive?: ConstructiveInternalTypeEmail;
79
+ /** Does not contain the specified string (case-insensitive). */
80
+ notIncludesInsensitive?: ConstructiveInternalTypeEmail;
81
+ /** Starts with the specified string (case-sensitive). */
82
+ startsWith?: string;
83
+ /** Does not start with the specified string (case-sensitive). */
84
+ notStartsWith?: string;
85
+ /** Starts with the specified string (case-insensitive). */
86
+ startsWithInsensitive?: ConstructiveInternalTypeEmail;
87
+ /** Does not start with the specified string (case-insensitive). */
88
+ notStartsWithInsensitive?: ConstructiveInternalTypeEmail;
89
+ /** Ends with the specified string (case-sensitive). */
90
+ endsWith?: string;
91
+ /** Does not end with the specified string (case-sensitive). */
92
+ notEndsWith?: string;
93
+ /** Ends with the specified string (case-insensitive). */
94
+ endsWithInsensitive?: ConstructiveInternalTypeEmail;
95
+ /** Does not end with the specified string (case-insensitive). */
96
+ notEndsWithInsensitive?: ConstructiveInternalTypeEmail;
97
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
98
+ like?: string;
99
+ /** 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. */
100
+ notLike?: string;
101
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
102
+ likeInsensitive?: ConstructiveInternalTypeEmail;
103
+ /** 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. */
104
+ notLikeInsensitive?: ConstructiveInternalTypeEmail;
105
+ /** Equal to the specified value (case-insensitive). */
106
+ equalToInsensitive?: ConstructiveInternalTypeEmail;
107
+ /** Not equal to the specified value (case-insensitive). */
108
+ notEqualToInsensitive?: ConstructiveInternalTypeEmail;
109
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
110
+ distinctFromInsensitive?: ConstructiveInternalTypeEmail;
111
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
112
+ notDistinctFromInsensitive?: ConstructiveInternalTypeEmail;
113
+ /** Included in the specified list (case-insensitive). */
114
+ inInsensitive?: ConstructiveInternalTypeEmail[];
115
+ /** Not included in the specified list (case-insensitive). */
116
+ notInInsensitive?: ConstructiveInternalTypeEmail[];
117
+ /** Less than the specified value (case-insensitive). */
118
+ lessThanInsensitive?: ConstructiveInternalTypeEmail;
119
+ /** Less than or equal to the specified value (case-insensitive). */
120
+ lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
121
+ /** Greater than the specified value (case-insensitive). */
122
+ greaterThanInsensitive?: ConstructiveInternalTypeEmail;
123
+ /** Greater than or equal to the specified value (case-insensitive). */
124
+ greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
64
125
  }
65
126
  /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
66
127
  export interface UserFilter {
67
128
  /** Filter by the object’s `id` field. */
68
129
  id?: UUIDFilter;
69
130
  /** Filter by the object’s `username` field. */
70
- username?: StringFilter;
131
+ username?: StringTrgmFilter;
71
132
  /** Filter by the object’s `displayName` field. */
72
- displayName?: StringFilter;
133
+ displayName?: StringTrgmFilter;
73
134
  /** Filter by the object’s `profilePicture` field. */
74
135
  profilePicture?: ConstructiveInternalTypeImageFilter;
75
136
  /** Filter by the object’s `searchTsv` field. */
@@ -88,6 +149,26 @@ export interface UserFilter {
88
149
  not?: UserFilter;
89
150
  /** Filter by the object’s `roleType` relation. */
90
151
  roleType?: RoleTypeFilter;
152
+ /** Filter by the object’s `ownedEmails` relation. */
153
+ ownedEmails?: UserToManyEmailFilter;
154
+ /** `ownedEmails` exist. */
155
+ ownedEmailsExist?: boolean;
156
+ /** Filter by the object’s `ownedPhoneNumbers` relation. */
157
+ ownedPhoneNumbers?: UserToManyPhoneNumberFilter;
158
+ /** `ownedPhoneNumbers` exist. */
159
+ ownedPhoneNumbersExist?: boolean;
160
+ /** Filter by the object’s `ownedCryptoAddresses` relation. */
161
+ ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
162
+ /** `ownedCryptoAddresses` exist. */
163
+ ownedCryptoAddressesExist?: boolean;
164
+ /** Filter by the object’s `ownedConnectedAccounts` relation. */
165
+ ownedConnectedAccounts?: UserToManyConnectedAccountFilter;
166
+ /** `ownedConnectedAccounts` exist. */
167
+ ownedConnectedAccountsExist?: boolean;
168
+ /** Filter by the object’s `auditLogsByActorId` relation. */
169
+ auditLogsByActorId?: UserToManyAuditLogFilter;
170
+ /** `auditLogsByActorId` exist. */
171
+ auditLogsByActorIdExist?: boolean;
91
172
  /** TSV search on the `search_tsv` column. */
92
173
  tsvSearchTsv?: string;
93
174
  /** TRGM search on the `display_name` column. */
@@ -100,6 +181,94 @@ export interface UserFilter {
100
181
  */
101
182
  fullTextSearch?: string;
102
183
  }
184
+ /** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */
185
+ export interface StringTrgmFilter {
186
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
187
+ isNull?: boolean;
188
+ /** Equal to the specified value. */
189
+ equalTo?: string;
190
+ /** Not equal to the specified value. */
191
+ notEqualTo?: string;
192
+ /** Not equal to the specified value, treating null like an ordinary value. */
193
+ distinctFrom?: string;
194
+ /** Equal to the specified value, treating null like an ordinary value. */
195
+ notDistinctFrom?: string;
196
+ /** Included in the specified list. */
197
+ in?: string[];
198
+ /** Not included in the specified list. */
199
+ notIn?: string[];
200
+ /** Less than the specified value. */
201
+ lessThan?: string;
202
+ /** Less than or equal to the specified value. */
203
+ lessThanOrEqualTo?: string;
204
+ /** Greater than the specified value. */
205
+ greaterThan?: string;
206
+ /** Greater than or equal to the specified value. */
207
+ greaterThanOrEqualTo?: string;
208
+ /** Contains the specified string (case-sensitive). */
209
+ includes?: string;
210
+ /** Does not contain the specified string (case-sensitive). */
211
+ notIncludes?: string;
212
+ /** Contains the specified string (case-insensitive). */
213
+ includesInsensitive?: string;
214
+ /** Does not contain the specified string (case-insensitive). */
215
+ notIncludesInsensitive?: string;
216
+ /** Starts with the specified string (case-sensitive). */
217
+ startsWith?: string;
218
+ /** Does not start with the specified string (case-sensitive). */
219
+ notStartsWith?: string;
220
+ /** Starts with the specified string (case-insensitive). */
221
+ startsWithInsensitive?: string;
222
+ /** Does not start with the specified string (case-insensitive). */
223
+ notStartsWithInsensitive?: string;
224
+ /** Ends with the specified string (case-sensitive). */
225
+ endsWith?: string;
226
+ /** Does not end with the specified string (case-sensitive). */
227
+ notEndsWith?: string;
228
+ /** Ends with the specified string (case-insensitive). */
229
+ endsWithInsensitive?: string;
230
+ /** Does not end with the specified string (case-insensitive). */
231
+ notEndsWithInsensitive?: string;
232
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
233
+ like?: string;
234
+ /** 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. */
235
+ notLike?: string;
236
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
237
+ likeInsensitive?: string;
238
+ /** 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. */
239
+ notLikeInsensitive?: string;
240
+ /** Equal to the specified value (case-insensitive). */
241
+ equalToInsensitive?: string;
242
+ /** Not equal to the specified value (case-insensitive). */
243
+ notEqualToInsensitive?: string;
244
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
245
+ distinctFromInsensitive?: string;
246
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
247
+ notDistinctFromInsensitive?: string;
248
+ /** Included in the specified list (case-insensitive). */
249
+ inInsensitive?: string[];
250
+ /** Not included in the specified list (case-insensitive). */
251
+ notInInsensitive?: string[];
252
+ /** Less than the specified value (case-insensitive). */
253
+ lessThanInsensitive?: string;
254
+ /** Less than or equal to the specified value (case-insensitive). */
255
+ lessThanOrEqualToInsensitive?: string;
256
+ /** Greater than the specified value (case-insensitive). */
257
+ greaterThanInsensitive?: string;
258
+ /** Greater than or equal to the specified value (case-insensitive). */
259
+ greaterThanOrEqualToInsensitive?: string;
260
+ /** Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. */
261
+ similarTo?: TrgmSearchInput;
262
+ /** Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. */
263
+ wordSimilarTo?: TrgmSearchInput;
264
+ }
265
+ /** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
266
+ export interface TrgmSearchInput {
267
+ /** The text to fuzzy-match against. Typos and misspellings are tolerated. */
268
+ value: string;
269
+ /** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
270
+ threshold?: number;
271
+ }
103
272
  /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */
104
273
  export interface ConstructiveInternalTypeImageFilter {
105
274
  /** Is null (if `true` is specified) or is not null (if `false` is specified). */
@@ -148,6 +317,24 @@ export interface RoleTypeFilter {
148
317
  /** Negates the expression. */
149
318
  not?: RoleTypeFilter;
150
319
  }
320
+ /** A filter to be used against many `Email` object types. All fields are combined with a logical ‘and.’ */
321
+ export interface UserToManyEmailFilter {
322
+ /** Filters to entities where at least one related entity matches. */
323
+ some?: EmailFilter;
324
+ /** Filters to entities where every related entity matches. */
325
+ every?: EmailFilter;
326
+ /** Filters to entities where no related entity matches. */
327
+ none?: EmailFilter;
328
+ }
329
+ /** A filter to be used against many `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
330
+ export interface UserToManyPhoneNumberFilter {
331
+ /** Filters to entities where at least one related entity matches. */
332
+ some?: PhoneNumberFilter;
333
+ /** Filters to entities where every related entity matches. */
334
+ every?: PhoneNumberFilter;
335
+ /** Filters to entities where no related entity matches. */
336
+ none?: PhoneNumberFilter;
337
+ }
151
338
  /** A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
152
339
  export interface PhoneNumberFilter {
153
340
  /** Filter by the object’s `id` field. */
@@ -174,17 +361,49 @@ export interface PhoneNumberFilter {
174
361
  not?: PhoneNumberFilter;
175
362
  /** Filter by the object’s `owner` relation. */
176
363
  owner?: UserFilter;
177
- /** TRGM search on the `cc` column. */
178
- trgmCc?: TrgmSearchInput;
179
- /** TRGM search on the `number` column. */
180
- trgmNumber?: TrgmSearchInput;
181
- /**
182
- * Composite full-text search. Provide a search string and it will be dispatched
183
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
184
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
185
- * fields are populated.
186
- */
187
- fullTextSearch?: string;
364
+ }
365
+ /** A filter to be used against many `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
366
+ export interface UserToManyCryptoAddressFilter {
367
+ /** Filters to entities where at least one related entity matches. */
368
+ some?: CryptoAddressFilter;
369
+ /** Filters to entities where every related entity matches. */
370
+ every?: CryptoAddressFilter;
371
+ /** Filters to entities where no related entity matches. */
372
+ none?: CryptoAddressFilter;
373
+ }
374
+ /** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
375
+ export interface CryptoAddressFilter {
376
+ /** Filter by the object’s `id` field. */
377
+ id?: UUIDFilter;
378
+ /** Filter by the object’s `ownerId` field. */
379
+ ownerId?: UUIDFilter;
380
+ /** Filter by the object’s `address` field. */
381
+ address?: StringFilter;
382
+ /** Filter by the object’s `isVerified` field. */
383
+ isVerified?: BooleanFilter;
384
+ /** Filter by the object’s `isPrimary` field. */
385
+ isPrimary?: BooleanFilter;
386
+ /** Filter by the object’s `createdAt` field. */
387
+ createdAt?: DatetimeFilter;
388
+ /** Filter by the object’s `updatedAt` field. */
389
+ updatedAt?: DatetimeFilter;
390
+ /** Checks for all expressions in this list. */
391
+ and?: CryptoAddressFilter[];
392
+ /** Checks for any expressions in this list. */
393
+ or?: CryptoAddressFilter[];
394
+ /** Negates the expression. */
395
+ not?: CryptoAddressFilter;
396
+ /** Filter by the object’s `owner` relation. */
397
+ owner?: UserFilter;
398
+ }
399
+ /** A filter to be used against many `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
400
+ export interface UserToManyConnectedAccountFilter {
401
+ /** Filters to entities where at least one related entity matches. */
402
+ some?: ConnectedAccountFilter;
403
+ /** Filters to entities where every related entity matches. */
404
+ every?: ConnectedAccountFilter;
405
+ /** Filters to entities where no related entity matches. */
406
+ none?: ConnectedAccountFilter;
188
407
  }
189
408
  /** A filter to be used against `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
190
409
  export interface ConnectedAccountFilter {
@@ -212,17 +431,15 @@ export interface ConnectedAccountFilter {
212
431
  not?: ConnectedAccountFilter;
213
432
  /** Filter by the object’s `owner` relation. */
214
433
  owner?: UserFilter;
215
- /** TRGM search on the `service` column. */
216
- trgmService?: TrgmSearchInput;
217
- /** TRGM search on the `identifier` column. */
218
- trgmIdentifier?: TrgmSearchInput;
219
- /**
220
- * Composite full-text search. Provide a search string and it will be dispatched
221
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
222
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
223
- * fields are populated.
224
- */
225
- fullTextSearch?: string;
434
+ }
435
+ /** A filter to be used against many `AuditLog` object types. All fields are combined with a logical ‘and.’ */
436
+ export interface UserToManyAuditLogFilter {
437
+ /** Filters to entities where at least one related entity matches. */
438
+ some?: AuditLogFilter;
439
+ /** Filters to entities where every related entity matches. */
440
+ every?: AuditLogFilter;
441
+ /** Filters to entities where no related entity matches. */
442
+ none?: AuditLogFilter;
226
443
  }
227
444
  /** A filter to be used against `AuditLog` object types. All fields are combined with a logical ‘and.’ */
228
445
  export interface AuditLogFilter {
@@ -250,15 +467,8 @@ export interface AuditLogFilter {
250
467
  not?: AuditLogFilter;
251
468
  /** Filter by the object’s `actor` relation. */
252
469
  actor?: UserFilter;
253
- /** TRGM search on the `user_agent` column. */
254
- trgmUserAgent?: TrgmSearchInput;
255
- /**
256
- * Composite full-text search. Provide a search string and it will be dispatched
257
- * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
258
- * simultaneously. Rows matching ANY algorithm are returned. All matching score
259
- * fields are populated.
260
- */
261
- fullTextSearch?: string;
470
+ /** A related `actor` exists. */
471
+ actorExists?: boolean;
262
472
  }
263
473
  /** A filter to be used against ConstructiveInternalTypeOrigin fields. All fields are combined with a logical ‘and.’ */
264
474
  export interface ConstructiveInternalTypeOriginFilter {
@@ -337,108 +547,6 @@ export interface ConstructiveInternalTypeOriginFilter {
337
547
  /** Greater than or equal to the specified value (case-insensitive). */
338
548
  greaterThanOrEqualToInsensitive?: string;
339
549
  }
340
- /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */
341
- export interface EmailFilter {
342
- /** Filter by the object’s `id` field. */
343
- id?: UUIDFilter;
344
- /** Filter by the object’s `ownerId` field. */
345
- ownerId?: UUIDFilter;
346
- /** Filter by the object’s `email` field. */
347
- email?: ConstructiveInternalTypeEmailFilter;
348
- /** Filter by the object’s `isVerified` field. */
349
- isVerified?: BooleanFilter;
350
- /** Filter by the object’s `isPrimary` field. */
351
- isPrimary?: BooleanFilter;
352
- /** Filter by the object’s `createdAt` field. */
353
- createdAt?: DatetimeFilter;
354
- /** Filter by the object’s `updatedAt` field. */
355
- updatedAt?: DatetimeFilter;
356
- /** Checks for all expressions in this list. */
357
- and?: EmailFilter[];
358
- /** Checks for any expressions in this list. */
359
- or?: EmailFilter[];
360
- /** Negates the expression. */
361
- not?: EmailFilter;
362
- /** Filter by the object’s `owner` relation. */
363
- owner?: UserFilter;
364
- }
365
- /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
366
- export interface ConstructiveInternalTypeEmailFilter {
367
- /** Is null (if `true` is specified) or is not null (if `false` is specified). */
368
- isNull?: boolean;
369
- /** Equal to the specified value. */
370
- equalTo?: string;
371
- /** Not equal to the specified value. */
372
- notEqualTo?: string;
373
- /** Not equal to the specified value, treating null like an ordinary value. */
374
- distinctFrom?: string;
375
- /** Equal to the specified value, treating null like an ordinary value. */
376
- notDistinctFrom?: string;
377
- /** Included in the specified list. */
378
- in?: string[];
379
- /** Not included in the specified list. */
380
- notIn?: string[];
381
- /** Less than the specified value. */
382
- lessThan?: string;
383
- /** Less than or equal to the specified value. */
384
- lessThanOrEqualTo?: string;
385
- /** Greater than the specified value. */
386
- greaterThan?: string;
387
- /** Greater than or equal to the specified value. */
388
- greaterThanOrEqualTo?: string;
389
- /** Contains the specified string (case-sensitive). */
390
- includes?: string;
391
- /** Does not contain the specified string (case-sensitive). */
392
- notIncludes?: string;
393
- /** Contains the specified string (case-insensitive). */
394
- includesInsensitive?: ConstructiveInternalTypeEmail;
395
- /** Does not contain the specified string (case-insensitive). */
396
- notIncludesInsensitive?: ConstructiveInternalTypeEmail;
397
- /** Starts with the specified string (case-sensitive). */
398
- startsWith?: string;
399
- /** Does not start with the specified string (case-sensitive). */
400
- notStartsWith?: string;
401
- /** Starts with the specified string (case-insensitive). */
402
- startsWithInsensitive?: ConstructiveInternalTypeEmail;
403
- /** Does not start with the specified string (case-insensitive). */
404
- notStartsWithInsensitive?: ConstructiveInternalTypeEmail;
405
- /** Ends with the specified string (case-sensitive). */
406
- endsWith?: string;
407
- /** Does not end with the specified string (case-sensitive). */
408
- notEndsWith?: string;
409
- /** Ends with the specified string (case-insensitive). */
410
- endsWithInsensitive?: ConstructiveInternalTypeEmail;
411
- /** Does not end with the specified string (case-insensitive). */
412
- notEndsWithInsensitive?: ConstructiveInternalTypeEmail;
413
- /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
414
- like?: string;
415
- /** 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. */
416
- notLike?: string;
417
- /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
418
- likeInsensitive?: ConstructiveInternalTypeEmail;
419
- /** 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. */
420
- notLikeInsensitive?: ConstructiveInternalTypeEmail;
421
- /** Equal to the specified value (case-insensitive). */
422
- equalToInsensitive?: ConstructiveInternalTypeEmail;
423
- /** Not equal to the specified value (case-insensitive). */
424
- notEqualToInsensitive?: ConstructiveInternalTypeEmail;
425
- /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
426
- distinctFromInsensitive?: ConstructiveInternalTypeEmail;
427
- /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
428
- notDistinctFromInsensitive?: ConstructiveInternalTypeEmail;
429
- /** Included in the specified list (case-insensitive). */
430
- inInsensitive?: ConstructiveInternalTypeEmail[];
431
- /** Not included in the specified list (case-insensitive). */
432
- notInInsensitive?: ConstructiveInternalTypeEmail[];
433
- /** Less than the specified value (case-insensitive). */
434
- lessThanInsensitive?: ConstructiveInternalTypeEmail;
435
- /** Less than or equal to the specified value (case-insensitive). */
436
- lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
437
- /** Greater than the specified value (case-insensitive). */
438
- greaterThanInsensitive?: ConstructiveInternalTypeEmail;
439
- /** Greater than or equal to the specified value (case-insensitive). */
440
- greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
441
- }
442
550
  export interface SignOutInput {
443
551
  clientMutationId?: string;
444
552
  }
@@ -615,7 +723,7 @@ export interface AuditLogInput {
615
723
  id?: string;
616
724
  /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
617
725
  event: string;
618
- /** User who performed the authentication action */
726
+ /** User who performed the authentication action; NULL if user was deleted */
619
727
  actorId?: string;
620
728
  /** Request origin (domain) where the auth event occurred */
621
729
  origin?: ConstructiveInternalTypeOrigin;
@@ -744,7 +852,7 @@ export interface AuditLogPatch {
744
852
  id?: string;
745
853
  /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
746
854
  event?: string;
747
- /** User who performed the authentication action */
855
+ /** User who performed the authentication action; NULL if user was deleted */
748
856
  actorId?: string;
749
857
  /** Request origin (domain) where the auth event occurred */
750
858
  origin?: ConstructiveInternalTypeOrigin;
@@ -1136,10 +1244,6 @@ export interface SignInOneTimeTokenRecord {
1136
1244
  accessTokenExpiresAt?: string | null;
1137
1245
  isVerified?: boolean | null;
1138
1246
  totpEnabled?: boolean | null;
1139
- /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */
1140
- accessTokenTrgmSimilarity?: number | null;
1141
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
1142
- searchScore?: number | null;
1143
1247
  }
1144
1248
  export interface SignInRecord {
1145
1249
  id?: string | null;
@@ -1148,10 +1252,6 @@ export interface SignInRecord {
1148
1252
  accessTokenExpiresAt?: string | null;
1149
1253
  isVerified?: boolean | null;
1150
1254
  totpEnabled?: boolean | null;
1151
- /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */
1152
- accessTokenTrgmSimilarity?: number | null;
1153
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
1154
- searchScore?: number | null;
1155
1255
  }
1156
1256
  export interface SignUpRecord {
1157
1257
  id?: string | null;
@@ -1160,10 +1260,6 @@ export interface SignUpRecord {
1160
1260
  accessTokenExpiresAt?: string | null;
1161
1261
  isVerified?: boolean | null;
1162
1262
  totpEnabled?: boolean | null;
1163
- /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */
1164
- accessTokenTrgmSimilarity?: number | null;
1165
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
1166
- searchScore?: number | null;
1167
1263
  }
1168
1264
  export interface ExtendTokenExpiresRecord {
1169
1265
  id?: string | null;
@@ -1197,14 +1293,6 @@ export interface Session {
1197
1293
  csrfSecret?: string | null;
1198
1294
  createdAt?: string | null;
1199
1295
  updatedAt?: string | null;
1200
- /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */
1201
- uagentTrgmSimilarity?: number | null;
1202
- /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */
1203
- fingerprintModeTrgmSimilarity?: number | null;
1204
- /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */
1205
- csrfSecretTrgmSimilarity?: number | null;
1206
- /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Returns null when no search filters are active. */
1207
- searchScore?: number | null;
1208
1296
  }
1209
1297
  /** Information about a table field/column */
1210
1298
  export interface MetaField {