@constructive-io/sdk 0.10.3 → 0.10.4

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 (311) hide show
  1. package/admin/orm/input-types.d.ts +413 -7
  2. package/admin/orm/models/appAchievement.js +3 -1
  3. package/admin/orm/models/appAdminGrant.js +3 -1
  4. package/admin/orm/models/appGrant.js +3 -1
  5. package/admin/orm/models/appLevel.js +3 -1
  6. package/admin/orm/models/appLevelRequirement.js +3 -1
  7. package/admin/orm/models/appLimit.js +3 -1
  8. package/admin/orm/models/appLimitDefault.js +3 -1
  9. package/admin/orm/models/appMembership.js +3 -1
  10. package/admin/orm/models/appMembershipDefault.js +3 -1
  11. package/admin/orm/models/appOwnerGrant.js +3 -1
  12. package/admin/orm/models/appPermission.js +3 -1
  13. package/admin/orm/models/appPermissionDefault.js +3 -1
  14. package/admin/orm/models/appStep.js +3 -1
  15. package/admin/orm/models/claimedInvite.js +3 -1
  16. package/admin/orm/models/invite.js +3 -1
  17. package/admin/orm/models/membershipType.js +3 -1
  18. package/admin/orm/models/orgAdminGrant.js +3 -1
  19. package/admin/orm/models/orgChartEdge.js +3 -1
  20. package/admin/orm/models/orgChartEdgeGrant.js +3 -1
  21. package/admin/orm/models/orgClaimedInvite.js +3 -1
  22. package/admin/orm/models/orgGrant.js +3 -1
  23. package/admin/orm/models/orgInvite.js +3 -1
  24. package/admin/orm/models/orgLimit.js +3 -1
  25. package/admin/orm/models/orgLimitDefault.js +3 -1
  26. package/admin/orm/models/orgMember.js +3 -1
  27. package/admin/orm/models/orgMembership.js +3 -1
  28. package/admin/orm/models/orgMembershipDefault.js +3 -1
  29. package/admin/orm/models/orgOwnerGrant.js +3 -1
  30. package/admin/orm/models/orgPermission.js +3 -1
  31. package/admin/orm/models/orgPermissionDefault.js +3 -1
  32. package/admin/orm/query-builder.d.ts +5 -1
  33. package/admin/orm/query-builder.js +16 -4
  34. package/auth/orm/input-types.d.ts +911 -8
  35. package/auth/orm/models/auditLog.js +3 -1
  36. package/auth/orm/models/connectedAccount.js +3 -1
  37. package/auth/orm/models/cryptoAddress.js +3 -1
  38. package/auth/orm/models/email.js +3 -1
  39. package/auth/orm/models/phoneNumber.js +3 -1
  40. package/auth/orm/models/roleType.js +3 -1
  41. package/auth/orm/models/user.js +3 -1
  42. package/auth/orm/query-builder.d.ts +5 -1
  43. package/auth/orm/query-builder.js +16 -4
  44. package/esm/admin/orm/input-types.d.ts +413 -7
  45. package/esm/admin/orm/models/appAchievement.js +3 -1
  46. package/esm/admin/orm/models/appAdminGrant.js +3 -1
  47. package/esm/admin/orm/models/appGrant.js +3 -1
  48. package/esm/admin/orm/models/appLevel.js +3 -1
  49. package/esm/admin/orm/models/appLevelRequirement.js +3 -1
  50. package/esm/admin/orm/models/appLimit.js +3 -1
  51. package/esm/admin/orm/models/appLimitDefault.js +3 -1
  52. package/esm/admin/orm/models/appMembership.js +3 -1
  53. package/esm/admin/orm/models/appMembershipDefault.js +3 -1
  54. package/esm/admin/orm/models/appOwnerGrant.js +3 -1
  55. package/esm/admin/orm/models/appPermission.js +3 -1
  56. package/esm/admin/orm/models/appPermissionDefault.js +3 -1
  57. package/esm/admin/orm/models/appStep.js +3 -1
  58. package/esm/admin/orm/models/claimedInvite.js +3 -1
  59. package/esm/admin/orm/models/invite.js +3 -1
  60. package/esm/admin/orm/models/membershipType.js +3 -1
  61. package/esm/admin/orm/models/orgAdminGrant.js +3 -1
  62. package/esm/admin/orm/models/orgChartEdge.js +3 -1
  63. package/esm/admin/orm/models/orgChartEdgeGrant.js +3 -1
  64. package/esm/admin/orm/models/orgClaimedInvite.js +3 -1
  65. package/esm/admin/orm/models/orgGrant.js +3 -1
  66. package/esm/admin/orm/models/orgInvite.js +3 -1
  67. package/esm/admin/orm/models/orgLimit.js +3 -1
  68. package/esm/admin/orm/models/orgLimitDefault.js +3 -1
  69. package/esm/admin/orm/models/orgMember.js +3 -1
  70. package/esm/admin/orm/models/orgMembership.js +3 -1
  71. package/esm/admin/orm/models/orgMembershipDefault.js +3 -1
  72. package/esm/admin/orm/models/orgOwnerGrant.js +3 -1
  73. package/esm/admin/orm/models/orgPermission.js +3 -1
  74. package/esm/admin/orm/models/orgPermissionDefault.js +3 -1
  75. package/esm/admin/orm/query-builder.d.ts +5 -1
  76. package/esm/admin/orm/query-builder.js +15 -4
  77. package/esm/auth/orm/input-types.d.ts +911 -8
  78. package/esm/auth/orm/models/auditLog.js +3 -1
  79. package/esm/auth/orm/models/connectedAccount.js +3 -1
  80. package/esm/auth/orm/models/cryptoAddress.js +3 -1
  81. package/esm/auth/orm/models/email.js +3 -1
  82. package/esm/auth/orm/models/phoneNumber.js +3 -1
  83. package/esm/auth/orm/models/roleType.js +3 -1
  84. package/esm/auth/orm/models/user.js +3 -1
  85. package/esm/auth/orm/query-builder.d.ts +5 -1
  86. package/esm/auth/orm/query-builder.js +15 -4
  87. package/esm/objects/orm/input-types.d.ts +38 -1
  88. package/esm/objects/orm/models/commit.js +3 -1
  89. package/esm/objects/orm/models/object.js +3 -1
  90. package/esm/objects/orm/models/ref.js +3 -1
  91. package/esm/objects/orm/models/store.js +3 -1
  92. package/esm/objects/orm/query-builder.d.ts +5 -1
  93. package/esm/objects/orm/query-builder.js +15 -4
  94. package/esm/public/orm/input-types.d.ts +8520 -45
  95. package/esm/public/orm/models/api.js +3 -1
  96. package/esm/public/orm/models/apiModule.js +3 -1
  97. package/esm/public/orm/models/apiSchema.js +3 -1
  98. package/esm/public/orm/models/app.js +3 -1
  99. package/esm/public/orm/models/appAchievement.js +3 -1
  100. package/esm/public/orm/models/appAdminGrant.js +3 -1
  101. package/esm/public/orm/models/appGrant.js +3 -1
  102. package/esm/public/orm/models/appLevel.js +3 -1
  103. package/esm/public/orm/models/appLevelRequirement.js +3 -1
  104. package/esm/public/orm/models/appLimit.js +3 -1
  105. package/esm/public/orm/models/appLimitDefault.js +3 -1
  106. package/esm/public/orm/models/appMembership.js +3 -1
  107. package/esm/public/orm/models/appMembershipDefault.js +3 -1
  108. package/esm/public/orm/models/appOwnerGrant.js +3 -1
  109. package/esm/public/orm/models/appPermission.js +3 -1
  110. package/esm/public/orm/models/appPermissionDefault.js +3 -1
  111. package/esm/public/orm/models/appStep.js +3 -1
  112. package/esm/public/orm/models/auditLog.js +3 -1
  113. package/esm/public/orm/models/blueprint.js +3 -1
  114. package/esm/public/orm/models/blueprintTemplate.js +3 -1
  115. package/esm/public/orm/models/checkConstraint.js +3 -1
  116. package/esm/public/orm/models/claimedInvite.js +3 -1
  117. package/esm/public/orm/models/commit.js +3 -1
  118. package/esm/public/orm/models/connectedAccount.js +3 -1
  119. package/esm/public/orm/models/connectedAccountsModule.js +3 -1
  120. package/esm/public/orm/models/cryptoAddress.js +3 -1
  121. package/esm/public/orm/models/cryptoAddressesModule.js +3 -1
  122. package/esm/public/orm/models/cryptoAuthModule.js +3 -1
  123. package/esm/public/orm/models/database.js +3 -1
  124. package/esm/public/orm/models/databaseProvisionModule.js +3 -1
  125. package/esm/public/orm/models/databaseTransfer.js +3 -1
  126. package/esm/public/orm/models/defaultIdsModule.js +3 -1
  127. package/esm/public/orm/models/defaultPrivilege.js +3 -1
  128. package/esm/public/orm/models/denormalizedTableField.js +3 -1
  129. package/esm/public/orm/models/domain.js +3 -1
  130. package/esm/public/orm/models/email.js +3 -1
  131. package/esm/public/orm/models/emailsModule.js +3 -1
  132. package/esm/public/orm/models/embeddingChunk.js +3 -1
  133. package/esm/public/orm/models/encryptedSecretsModule.js +3 -1
  134. package/esm/public/orm/models/enum.js +3 -1
  135. package/esm/public/orm/models/field.js +3 -1
  136. package/esm/public/orm/models/fieldModule.js +3 -1
  137. package/esm/public/orm/models/foreignKeyConstraint.js +3 -1
  138. package/esm/public/orm/models/fullTextSearch.js +3 -1
  139. package/esm/public/orm/models/hierarchyModule.js +3 -1
  140. package/esm/public/orm/models/indexModel.js +3 -1
  141. package/esm/public/orm/models/invite.js +3 -1
  142. package/esm/public/orm/models/invitesModule.js +3 -1
  143. package/esm/public/orm/models/levelsModule.js +3 -1
  144. package/esm/public/orm/models/limitsModule.js +3 -1
  145. package/esm/public/orm/models/membershipType.js +3 -1
  146. package/esm/public/orm/models/membershipTypesModule.js +3 -1
  147. package/esm/public/orm/models/membershipsModule.js +3 -1
  148. package/esm/public/orm/models/nodeTypeRegistry.js +3 -1
  149. package/esm/public/orm/models/object.js +3 -1
  150. package/esm/public/orm/models/orgAdminGrant.js +3 -1
  151. package/esm/public/orm/models/orgChartEdge.js +3 -1
  152. package/esm/public/orm/models/orgChartEdgeGrant.js +3 -1
  153. package/esm/public/orm/models/orgClaimedInvite.js +3 -1
  154. package/esm/public/orm/models/orgGrant.js +3 -1
  155. package/esm/public/orm/models/orgInvite.js +3 -1
  156. package/esm/public/orm/models/orgLimit.js +3 -1
  157. package/esm/public/orm/models/orgLimitDefault.js +3 -1
  158. package/esm/public/orm/models/orgMember.js +3 -1
  159. package/esm/public/orm/models/orgMembership.js +3 -1
  160. package/esm/public/orm/models/orgMembershipDefault.js +3 -1
  161. package/esm/public/orm/models/orgOwnerGrant.js +3 -1
  162. package/esm/public/orm/models/orgPermission.js +3 -1
  163. package/esm/public/orm/models/orgPermissionDefault.js +3 -1
  164. package/esm/public/orm/models/permissionsModule.js +3 -1
  165. package/esm/public/orm/models/phoneNumber.js +3 -1
  166. package/esm/public/orm/models/phoneNumbersModule.js +3 -1
  167. package/esm/public/orm/models/policy.js +3 -1
  168. package/esm/public/orm/models/primaryKeyConstraint.js +3 -1
  169. package/esm/public/orm/models/profilesModule.js +3 -1
  170. package/esm/public/orm/models/ref.js +3 -1
  171. package/esm/public/orm/models/relationProvision.js +3 -1
  172. package/esm/public/orm/models/rlsModule.js +3 -1
  173. package/esm/public/orm/models/roleType.js +3 -1
  174. package/esm/public/orm/models/schema.js +3 -1
  175. package/esm/public/orm/models/schemaGrant.js +3 -1
  176. package/esm/public/orm/models/secretsModule.js +3 -1
  177. package/esm/public/orm/models/secureTableProvision.js +3 -1
  178. package/esm/public/orm/models/sessionsModule.js +3 -1
  179. package/esm/public/orm/models/site.js +3 -1
  180. package/esm/public/orm/models/siteMetadatum.js +3 -1
  181. package/esm/public/orm/models/siteModule.js +3 -1
  182. package/esm/public/orm/models/siteTheme.js +3 -1
  183. package/esm/public/orm/models/store.js +3 -1
  184. package/esm/public/orm/models/table.js +3 -1
  185. package/esm/public/orm/models/tableGrant.js +3 -1
  186. package/esm/public/orm/models/tableTemplateModule.js +3 -1
  187. package/esm/public/orm/models/trigger.js +3 -1
  188. package/esm/public/orm/models/triggerFunction.js +3 -1
  189. package/esm/public/orm/models/uniqueConstraint.js +3 -1
  190. package/esm/public/orm/models/user.js +3 -1
  191. package/esm/public/orm/models/userAuthModule.js +3 -1
  192. package/esm/public/orm/models/usersModule.js +3 -1
  193. package/esm/public/orm/models/view.js +3 -1
  194. package/esm/public/orm/models/viewGrant.js +3 -1
  195. package/esm/public/orm/models/viewRule.js +3 -1
  196. package/esm/public/orm/models/viewTable.js +3 -1
  197. package/esm/public/orm/query-builder.d.ts +5 -1
  198. package/esm/public/orm/query-builder.js +15 -4
  199. package/objects/orm/input-types.d.ts +38 -1
  200. package/objects/orm/models/commit.js +3 -1
  201. package/objects/orm/models/object.js +3 -1
  202. package/objects/orm/models/ref.js +3 -1
  203. package/objects/orm/models/store.js +3 -1
  204. package/objects/orm/query-builder.d.ts +5 -1
  205. package/objects/orm/query-builder.js +16 -4
  206. package/package.json +3 -3
  207. package/public/orm/input-types.d.ts +8520 -45
  208. package/public/orm/models/api.js +3 -1
  209. package/public/orm/models/apiModule.js +3 -1
  210. package/public/orm/models/apiSchema.js +3 -1
  211. package/public/orm/models/app.js +3 -1
  212. package/public/orm/models/appAchievement.js +3 -1
  213. package/public/orm/models/appAdminGrant.js +3 -1
  214. package/public/orm/models/appGrant.js +3 -1
  215. package/public/orm/models/appLevel.js +3 -1
  216. package/public/orm/models/appLevelRequirement.js +3 -1
  217. package/public/orm/models/appLimit.js +3 -1
  218. package/public/orm/models/appLimitDefault.js +3 -1
  219. package/public/orm/models/appMembership.js +3 -1
  220. package/public/orm/models/appMembershipDefault.js +3 -1
  221. package/public/orm/models/appOwnerGrant.js +3 -1
  222. package/public/orm/models/appPermission.js +3 -1
  223. package/public/orm/models/appPermissionDefault.js +3 -1
  224. package/public/orm/models/appStep.js +3 -1
  225. package/public/orm/models/auditLog.js +3 -1
  226. package/public/orm/models/blueprint.js +3 -1
  227. package/public/orm/models/blueprintTemplate.js +3 -1
  228. package/public/orm/models/checkConstraint.js +3 -1
  229. package/public/orm/models/claimedInvite.js +3 -1
  230. package/public/orm/models/commit.js +3 -1
  231. package/public/orm/models/connectedAccount.js +3 -1
  232. package/public/orm/models/connectedAccountsModule.js +3 -1
  233. package/public/orm/models/cryptoAddress.js +3 -1
  234. package/public/orm/models/cryptoAddressesModule.js +3 -1
  235. package/public/orm/models/cryptoAuthModule.js +3 -1
  236. package/public/orm/models/database.js +3 -1
  237. package/public/orm/models/databaseProvisionModule.js +3 -1
  238. package/public/orm/models/databaseTransfer.js +3 -1
  239. package/public/orm/models/defaultIdsModule.js +3 -1
  240. package/public/orm/models/defaultPrivilege.js +3 -1
  241. package/public/orm/models/denormalizedTableField.js +3 -1
  242. package/public/orm/models/domain.js +3 -1
  243. package/public/orm/models/email.js +3 -1
  244. package/public/orm/models/emailsModule.js +3 -1
  245. package/public/orm/models/embeddingChunk.js +3 -1
  246. package/public/orm/models/encryptedSecretsModule.js +3 -1
  247. package/public/orm/models/enum.js +3 -1
  248. package/public/orm/models/field.js +3 -1
  249. package/public/orm/models/fieldModule.js +3 -1
  250. package/public/orm/models/foreignKeyConstraint.js +3 -1
  251. package/public/orm/models/fullTextSearch.js +3 -1
  252. package/public/orm/models/hierarchyModule.js +3 -1
  253. package/public/orm/models/indexModel.js +3 -1
  254. package/public/orm/models/invite.js +3 -1
  255. package/public/orm/models/invitesModule.js +3 -1
  256. package/public/orm/models/levelsModule.js +3 -1
  257. package/public/orm/models/limitsModule.js +3 -1
  258. package/public/orm/models/membershipType.js +3 -1
  259. package/public/orm/models/membershipTypesModule.js +3 -1
  260. package/public/orm/models/membershipsModule.js +3 -1
  261. package/public/orm/models/nodeTypeRegistry.js +3 -1
  262. package/public/orm/models/object.js +3 -1
  263. package/public/orm/models/orgAdminGrant.js +3 -1
  264. package/public/orm/models/orgChartEdge.js +3 -1
  265. package/public/orm/models/orgChartEdgeGrant.js +3 -1
  266. package/public/orm/models/orgClaimedInvite.js +3 -1
  267. package/public/orm/models/orgGrant.js +3 -1
  268. package/public/orm/models/orgInvite.js +3 -1
  269. package/public/orm/models/orgLimit.js +3 -1
  270. package/public/orm/models/orgLimitDefault.js +3 -1
  271. package/public/orm/models/orgMember.js +3 -1
  272. package/public/orm/models/orgMembership.js +3 -1
  273. package/public/orm/models/orgMembershipDefault.js +3 -1
  274. package/public/orm/models/orgOwnerGrant.js +3 -1
  275. package/public/orm/models/orgPermission.js +3 -1
  276. package/public/orm/models/orgPermissionDefault.js +3 -1
  277. package/public/orm/models/permissionsModule.js +3 -1
  278. package/public/orm/models/phoneNumber.js +3 -1
  279. package/public/orm/models/phoneNumbersModule.js +3 -1
  280. package/public/orm/models/policy.js +3 -1
  281. package/public/orm/models/primaryKeyConstraint.js +3 -1
  282. package/public/orm/models/profilesModule.js +3 -1
  283. package/public/orm/models/ref.js +3 -1
  284. package/public/orm/models/relationProvision.js +3 -1
  285. package/public/orm/models/rlsModule.js +3 -1
  286. package/public/orm/models/roleType.js +3 -1
  287. package/public/orm/models/schema.js +3 -1
  288. package/public/orm/models/schemaGrant.js +3 -1
  289. package/public/orm/models/secretsModule.js +3 -1
  290. package/public/orm/models/secureTableProvision.js +3 -1
  291. package/public/orm/models/sessionsModule.js +3 -1
  292. package/public/orm/models/site.js +3 -1
  293. package/public/orm/models/siteMetadatum.js +3 -1
  294. package/public/orm/models/siteModule.js +3 -1
  295. package/public/orm/models/siteTheme.js +3 -1
  296. package/public/orm/models/store.js +3 -1
  297. package/public/orm/models/table.js +3 -1
  298. package/public/orm/models/tableGrant.js +3 -1
  299. package/public/orm/models/tableTemplateModule.js +3 -1
  300. package/public/orm/models/trigger.js +3 -1
  301. package/public/orm/models/triggerFunction.js +3 -1
  302. package/public/orm/models/uniqueConstraint.js +3 -1
  303. package/public/orm/models/user.js +3 -1
  304. package/public/orm/models/userAuthModule.js +3 -1
  305. package/public/orm/models/usersModule.js +3 -1
  306. package/public/orm/models/view.js +3 -1
  307. package/public/orm/models/viewGrant.js +3 -1
  308. package/public/orm/models/viewRule.js +3 -1
  309. package/public/orm/models/viewTable.js +3 -1
  310. package/public/orm/query-builder.d.ts +5 -1
  311. package/public/orm/query-builder.js +16 -4
@@ -483,90 +483,201 @@ export type UserSelect = {
483
483
  };
484
484
  };
485
485
  export interface EmailFilter {
486
+ /** Filter by the object’s `id` field. */
486
487
  id?: UUIDFilter;
488
+ /** Filter by the object’s `ownerId` field. */
487
489
  ownerId?: UUIDFilter;
488
- email?: StringFilter;
490
+ /** Filter by the object’s `email` field. */
491
+ email?: ConstructiveInternalTypeEmailFilter;
492
+ /** Filter by the object’s `isVerified` field. */
489
493
  isVerified?: BooleanFilter;
494
+ /** Filter by the object’s `isPrimary` field. */
490
495
  isPrimary?: BooleanFilter;
496
+ /** Filter by the object’s `createdAt` field. */
491
497
  createdAt?: DatetimeFilter;
498
+ /** Filter by the object’s `updatedAt` field. */
492
499
  updatedAt?: DatetimeFilter;
500
+ /** Checks for all expressions in this list. */
493
501
  and?: EmailFilter[];
502
+ /** Checks for any expressions in this list. */
494
503
  or?: EmailFilter[];
504
+ /** Negates the expression. */
495
505
  not?: EmailFilter;
506
+ /** Filter by the object’s `owner` relation. */
507
+ owner?: UserFilter;
496
508
  }
497
509
  export interface PhoneNumberFilter {
510
+ /** Filter by the object’s `id` field. */
498
511
  id?: UUIDFilter;
512
+ /** Filter by the object’s `ownerId` field. */
499
513
  ownerId?: UUIDFilter;
514
+ /** Filter by the object’s `cc` field. */
500
515
  cc?: StringFilter;
516
+ /** Filter by the object’s `number` field. */
501
517
  number?: StringFilter;
518
+ /** Filter by the object’s `isVerified` field. */
502
519
  isVerified?: BooleanFilter;
520
+ /** Filter by the object’s `isPrimary` field. */
503
521
  isPrimary?: BooleanFilter;
522
+ /** Filter by the object’s `createdAt` field. */
504
523
  createdAt?: DatetimeFilter;
524
+ /** Filter by the object’s `updatedAt` field. */
505
525
  updatedAt?: DatetimeFilter;
526
+ /** Checks for all expressions in this list. */
506
527
  and?: PhoneNumberFilter[];
528
+ /** Checks for any expressions in this list. */
507
529
  or?: PhoneNumberFilter[];
530
+ /** Negates the expression. */
508
531
  not?: PhoneNumberFilter;
532
+ /** Filter by the object’s `owner` relation. */
533
+ owner?: UserFilter;
509
534
  }
510
535
  export interface CryptoAddressFilter {
536
+ /** Filter by the object’s `id` field. */
511
537
  id?: UUIDFilter;
538
+ /** Filter by the object’s `ownerId` field. */
512
539
  ownerId?: UUIDFilter;
540
+ /** Filter by the object’s `address` field. */
513
541
  address?: StringFilter;
542
+ /** Filter by the object’s `isVerified` field. */
514
543
  isVerified?: BooleanFilter;
544
+ /** Filter by the object’s `isPrimary` field. */
515
545
  isPrimary?: BooleanFilter;
546
+ /** Filter by the object’s `createdAt` field. */
516
547
  createdAt?: DatetimeFilter;
548
+ /** Filter by the object’s `updatedAt` field. */
517
549
  updatedAt?: DatetimeFilter;
550
+ /** Checks for all expressions in this list. */
518
551
  and?: CryptoAddressFilter[];
552
+ /** Checks for any expressions in this list. */
519
553
  or?: CryptoAddressFilter[];
554
+ /** Negates the expression. */
520
555
  not?: CryptoAddressFilter;
556
+ /** Filter by the object’s `owner` relation. */
557
+ owner?: UserFilter;
521
558
  }
522
559
  export interface ConnectedAccountFilter {
560
+ /** Filter by the object’s `id` field. */
523
561
  id?: UUIDFilter;
562
+ /** Filter by the object’s `ownerId` field. */
524
563
  ownerId?: UUIDFilter;
564
+ /** Filter by the object’s `service` field. */
525
565
  service?: StringFilter;
566
+ /** Filter by the object’s `identifier` field. */
526
567
  identifier?: StringFilter;
568
+ /** Filter by the object’s `details` field. */
527
569
  details?: JSONFilter;
570
+ /** Filter by the object’s `isVerified` field. */
528
571
  isVerified?: BooleanFilter;
572
+ /** Filter by the object’s `createdAt` field. */
529
573
  createdAt?: DatetimeFilter;
574
+ /** Filter by the object’s `updatedAt` field. */
530
575
  updatedAt?: DatetimeFilter;
576
+ /** Checks for all expressions in this list. */
531
577
  and?: ConnectedAccountFilter[];
578
+ /** Checks for any expressions in this list. */
532
579
  or?: ConnectedAccountFilter[];
580
+ /** Negates the expression. */
533
581
  not?: ConnectedAccountFilter;
582
+ /** Filter by the object’s `owner` relation. */
583
+ owner?: UserFilter;
534
584
  }
535
585
  export interface AuditLogFilter {
586
+ /** Filter by the object’s `id` field. */
536
587
  id?: UUIDFilter;
588
+ /** Filter by the object’s `event` field. */
537
589
  event?: StringFilter;
590
+ /** Filter by the object’s `actorId` field. */
538
591
  actorId?: UUIDFilter;
539
- origin?: StringFilter;
592
+ /** Filter by the object’s `origin` field. */
593
+ origin?: ConstructiveInternalTypeOriginFilter;
594
+ /** Filter by the object’s `userAgent` field. */
540
595
  userAgent?: StringFilter;
596
+ /** Filter by the object’s `ipAddress` field. */
541
597
  ipAddress?: InternetAddressFilter;
598
+ /** Filter by the object’s `success` field. */
542
599
  success?: BooleanFilter;
600
+ /** Filter by the object’s `createdAt` field. */
543
601
  createdAt?: DatetimeFilter;
602
+ /** Checks for all expressions in this list. */
544
603
  and?: AuditLogFilter[];
604
+ /** Checks for any expressions in this list. */
545
605
  or?: AuditLogFilter[];
606
+ /** Negates the expression. */
546
607
  not?: AuditLogFilter;
608
+ /** Filter by the object’s `actor` relation. */
609
+ actor?: UserFilter;
610
+ /** A related `actor` exists. */
611
+ actorExists?: boolean;
547
612
  }
548
613
  export interface RoleTypeFilter {
614
+ /** Filter by the object’s `id` field. */
549
615
  id?: IntFilter;
616
+ /** Filter by the object’s `name` field. */
550
617
  name?: StringFilter;
618
+ /** Checks for all expressions in this list. */
551
619
  and?: RoleTypeFilter[];
620
+ /** Checks for any expressions in this list. */
552
621
  or?: RoleTypeFilter[];
622
+ /** Negates the expression. */
553
623
  not?: RoleTypeFilter;
554
624
  }
555
625
  export interface UserFilter {
626
+ /** Filter by the object’s `id` field. */
556
627
  id?: UUIDFilter;
557
- username?: StringFilter;
558
- displayName?: StringFilter;
559
- profilePicture?: StringFilter;
628
+ /** Filter by the object’s `username` field. */
629
+ username?: StringTrgmFilter;
630
+ /** Filter by the object’s `displayName` field. */
631
+ displayName?: StringTrgmFilter;
632
+ /** Filter by the object’s `profilePicture` field. */
633
+ profilePicture?: ConstructiveInternalTypeImageFilter;
634
+ /** Filter by the object’s `searchTsv` field. */
560
635
  searchTsv?: FullTextFilter;
636
+ /** Filter by the object’s `type` field. */
561
637
  type?: IntFilter;
638
+ /** Filter by the object’s `createdAt` field. */
562
639
  createdAt?: DatetimeFilter;
640
+ /** Filter by the object’s `updatedAt` field. */
563
641
  updatedAt?: DatetimeFilter;
564
- searchTsvRank?: FloatFilter;
565
- displayNameTrgmSimilarity?: FloatFilter;
566
- searchScore?: FloatFilter;
642
+ /** Checks for all expressions in this list. */
567
643
  and?: UserFilter[];
644
+ /** Checks for any expressions in this list. */
568
645
  or?: UserFilter[];
646
+ /** Negates the expression. */
569
647
  not?: UserFilter;
648
+ /** Filter by the object’s `roleType` relation. */
649
+ roleType?: RoleTypeFilter;
650
+ /** Filter by the object’s `ownedEmails` relation. */
651
+ ownedEmails?: UserToManyEmailFilter;
652
+ /** `ownedEmails` exist. */
653
+ ownedEmailsExist?: boolean;
654
+ /** Filter by the object’s `ownedPhoneNumbers` relation. */
655
+ ownedPhoneNumbers?: UserToManyPhoneNumberFilter;
656
+ /** `ownedPhoneNumbers` exist. */
657
+ ownedPhoneNumbersExist?: boolean;
658
+ /** Filter by the object’s `ownedCryptoAddresses` relation. */
659
+ ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
660
+ /** `ownedCryptoAddresses` exist. */
661
+ ownedCryptoAddressesExist?: boolean;
662
+ /** Filter by the object’s `ownedConnectedAccounts` relation. */
663
+ ownedConnectedAccounts?: UserToManyConnectedAccountFilter;
664
+ /** `ownedConnectedAccounts` exist. */
665
+ ownedConnectedAccountsExist?: boolean;
666
+ /** Filter by the object’s `auditLogsByActorId` relation. */
667
+ auditLogsByActorId?: UserToManyAuditLogFilter;
668
+ /** `auditLogsByActorId` exist. */
669
+ auditLogsByActorIdExist?: boolean;
670
+ /** TSV search on the `search_tsv` column. */
671
+ tsvSearchTsv?: string;
672
+ /** TRGM search on the `display_name` column. */
673
+ trgmDisplayName?: TrgmSearchInput;
674
+ /**
675
+ * Composite full-text search. Provide a search string and it will be dispatched
676
+ * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
677
+ * simultaneously. Rows matching ANY algorithm are returned. All matching score
678
+ * fields are populated.
679
+ */
680
+ fullTextSearch?: string;
570
681
  }
571
682
  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';
572
683
  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';
@@ -826,6 +937,328 @@ export interface VerifyTotpInput {
826
937
  clientMutationId?: string;
827
938
  totpValue: string;
828
939
  }
940
+ /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
941
+ export interface ConstructiveInternalTypeEmailFilter {
942
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
943
+ isNull?: boolean;
944
+ /** Equal to the specified value. */
945
+ equalTo?: string;
946
+ /** Not equal to the specified value. */
947
+ notEqualTo?: string;
948
+ /** Not equal to the specified value, treating null like an ordinary value. */
949
+ distinctFrom?: string;
950
+ /** Equal to the specified value, treating null like an ordinary value. */
951
+ notDistinctFrom?: string;
952
+ /** Included in the specified list. */
953
+ in?: string[];
954
+ /** Not included in the specified list. */
955
+ notIn?: string[];
956
+ /** Less than the specified value. */
957
+ lessThan?: string;
958
+ /** Less than or equal to the specified value. */
959
+ lessThanOrEqualTo?: string;
960
+ /** Greater than the specified value. */
961
+ greaterThan?: string;
962
+ /** Greater than or equal to the specified value. */
963
+ greaterThanOrEqualTo?: string;
964
+ /** Contains the specified string (case-sensitive). */
965
+ includes?: string;
966
+ /** Does not contain the specified string (case-sensitive). */
967
+ notIncludes?: string;
968
+ /** Contains the specified string (case-insensitive). */
969
+ includesInsensitive?: ConstructiveInternalTypeEmail;
970
+ /** Does not contain the specified string (case-insensitive). */
971
+ notIncludesInsensitive?: ConstructiveInternalTypeEmail;
972
+ /** Starts with the specified string (case-sensitive). */
973
+ startsWith?: string;
974
+ /** Does not start with the specified string (case-sensitive). */
975
+ notStartsWith?: string;
976
+ /** Starts with the specified string (case-insensitive). */
977
+ startsWithInsensitive?: ConstructiveInternalTypeEmail;
978
+ /** Does not start with the specified string (case-insensitive). */
979
+ notStartsWithInsensitive?: ConstructiveInternalTypeEmail;
980
+ /** Ends with the specified string (case-sensitive). */
981
+ endsWith?: string;
982
+ /** Does not end with the specified string (case-sensitive). */
983
+ notEndsWith?: string;
984
+ /** Ends with the specified string (case-insensitive). */
985
+ endsWithInsensitive?: ConstructiveInternalTypeEmail;
986
+ /** Does not end with the specified string (case-insensitive). */
987
+ notEndsWithInsensitive?: ConstructiveInternalTypeEmail;
988
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
989
+ like?: string;
990
+ /** 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. */
991
+ notLike?: string;
992
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
993
+ likeInsensitive?: ConstructiveInternalTypeEmail;
994
+ /** 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. */
995
+ notLikeInsensitive?: ConstructiveInternalTypeEmail;
996
+ /** Equal to the specified value (case-insensitive). */
997
+ equalToInsensitive?: ConstructiveInternalTypeEmail;
998
+ /** Not equal to the specified value (case-insensitive). */
999
+ notEqualToInsensitive?: ConstructiveInternalTypeEmail;
1000
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
1001
+ distinctFromInsensitive?: ConstructiveInternalTypeEmail;
1002
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
1003
+ notDistinctFromInsensitive?: ConstructiveInternalTypeEmail;
1004
+ /** Included in the specified list (case-insensitive). */
1005
+ inInsensitive?: ConstructiveInternalTypeEmail[];
1006
+ /** Not included in the specified list (case-insensitive). */
1007
+ notInInsensitive?: ConstructiveInternalTypeEmail[];
1008
+ /** Less than the specified value (case-insensitive). */
1009
+ lessThanInsensitive?: ConstructiveInternalTypeEmail;
1010
+ /** Less than or equal to the specified value (case-insensitive). */
1011
+ lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
1012
+ /** Greater than the specified value (case-insensitive). */
1013
+ greaterThanInsensitive?: ConstructiveInternalTypeEmail;
1014
+ /** Greater than or equal to the specified value (case-insensitive). */
1015
+ greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
1016
+ }
1017
+ /** A filter to be used against ConstructiveInternalTypeOrigin fields. All fields are combined with a logical ‘and.’ */
1018
+ export interface ConstructiveInternalTypeOriginFilter {
1019
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1020
+ isNull?: boolean;
1021
+ /** Equal to the specified value. */
1022
+ equalTo?: ConstructiveInternalTypeOrigin;
1023
+ /** Not equal to the specified value. */
1024
+ notEqualTo?: ConstructiveInternalTypeOrigin;
1025
+ /** Not equal to the specified value, treating null like an ordinary value. */
1026
+ distinctFrom?: ConstructiveInternalTypeOrigin;
1027
+ /** Equal to the specified value, treating null like an ordinary value. */
1028
+ notDistinctFrom?: ConstructiveInternalTypeOrigin;
1029
+ /** Included in the specified list. */
1030
+ in?: ConstructiveInternalTypeOrigin[];
1031
+ /** Not included in the specified list. */
1032
+ notIn?: ConstructiveInternalTypeOrigin[];
1033
+ /** Less than the specified value. */
1034
+ lessThan?: ConstructiveInternalTypeOrigin;
1035
+ /** Less than or equal to the specified value. */
1036
+ lessThanOrEqualTo?: ConstructiveInternalTypeOrigin;
1037
+ /** Greater than the specified value. */
1038
+ greaterThan?: ConstructiveInternalTypeOrigin;
1039
+ /** Greater than or equal to the specified value. */
1040
+ greaterThanOrEqualTo?: ConstructiveInternalTypeOrigin;
1041
+ /** Contains the specified string (case-sensitive). */
1042
+ includes?: ConstructiveInternalTypeOrigin;
1043
+ /** Does not contain the specified string (case-sensitive). */
1044
+ notIncludes?: ConstructiveInternalTypeOrigin;
1045
+ /** Contains the specified string (case-insensitive). */
1046
+ includesInsensitive?: ConstructiveInternalTypeOrigin;
1047
+ /** Does not contain the specified string (case-insensitive). */
1048
+ notIncludesInsensitive?: ConstructiveInternalTypeOrigin;
1049
+ /** Starts with the specified string (case-sensitive). */
1050
+ startsWith?: ConstructiveInternalTypeOrigin;
1051
+ /** Does not start with the specified string (case-sensitive). */
1052
+ notStartsWith?: ConstructiveInternalTypeOrigin;
1053
+ /** Starts with the specified string (case-insensitive). */
1054
+ startsWithInsensitive?: ConstructiveInternalTypeOrigin;
1055
+ /** Does not start with the specified string (case-insensitive). */
1056
+ notStartsWithInsensitive?: ConstructiveInternalTypeOrigin;
1057
+ /** Ends with the specified string (case-sensitive). */
1058
+ endsWith?: ConstructiveInternalTypeOrigin;
1059
+ /** Does not end with the specified string (case-sensitive). */
1060
+ notEndsWith?: ConstructiveInternalTypeOrigin;
1061
+ /** Ends with the specified string (case-insensitive). */
1062
+ endsWithInsensitive?: ConstructiveInternalTypeOrigin;
1063
+ /** Does not end with the specified string (case-insensitive). */
1064
+ notEndsWithInsensitive?: ConstructiveInternalTypeOrigin;
1065
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1066
+ like?: ConstructiveInternalTypeOrigin;
1067
+ /** 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. */
1068
+ notLike?: ConstructiveInternalTypeOrigin;
1069
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1070
+ likeInsensitive?: ConstructiveInternalTypeOrigin;
1071
+ /** 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. */
1072
+ notLikeInsensitive?: ConstructiveInternalTypeOrigin;
1073
+ /** Equal to the specified value (case-insensitive). */
1074
+ equalToInsensitive?: string;
1075
+ /** Not equal to the specified value (case-insensitive). */
1076
+ notEqualToInsensitive?: string;
1077
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
1078
+ distinctFromInsensitive?: string;
1079
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
1080
+ notDistinctFromInsensitive?: string;
1081
+ /** Included in the specified list (case-insensitive). */
1082
+ inInsensitive?: string[];
1083
+ /** Not included in the specified list (case-insensitive). */
1084
+ notInInsensitive?: string[];
1085
+ /** Less than the specified value (case-insensitive). */
1086
+ lessThanInsensitive?: string;
1087
+ /** Less than or equal to the specified value (case-insensitive). */
1088
+ lessThanOrEqualToInsensitive?: string;
1089
+ /** Greater than the specified value (case-insensitive). */
1090
+ greaterThanInsensitive?: string;
1091
+ /** Greater than or equal to the specified value (case-insensitive). */
1092
+ greaterThanOrEqualToInsensitive?: string;
1093
+ }
1094
+ /** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */
1095
+ export interface StringTrgmFilter {
1096
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1097
+ isNull?: boolean;
1098
+ /** Equal to the specified value. */
1099
+ equalTo?: string;
1100
+ /** Not equal to the specified value. */
1101
+ notEqualTo?: string;
1102
+ /** Not equal to the specified value, treating null like an ordinary value. */
1103
+ distinctFrom?: string;
1104
+ /** Equal to the specified value, treating null like an ordinary value. */
1105
+ notDistinctFrom?: string;
1106
+ /** Included in the specified list. */
1107
+ in?: string[];
1108
+ /** Not included in the specified list. */
1109
+ notIn?: string[];
1110
+ /** Less than the specified value. */
1111
+ lessThan?: string;
1112
+ /** Less than or equal to the specified value. */
1113
+ lessThanOrEqualTo?: string;
1114
+ /** Greater than the specified value. */
1115
+ greaterThan?: string;
1116
+ /** Greater than or equal to the specified value. */
1117
+ greaterThanOrEqualTo?: string;
1118
+ /** Contains the specified string (case-sensitive). */
1119
+ includes?: string;
1120
+ /** Does not contain the specified string (case-sensitive). */
1121
+ notIncludes?: string;
1122
+ /** Contains the specified string (case-insensitive). */
1123
+ includesInsensitive?: string;
1124
+ /** Does not contain the specified string (case-insensitive). */
1125
+ notIncludesInsensitive?: string;
1126
+ /** Starts with the specified string (case-sensitive). */
1127
+ startsWith?: string;
1128
+ /** Does not start with the specified string (case-sensitive). */
1129
+ notStartsWith?: string;
1130
+ /** Starts with the specified string (case-insensitive). */
1131
+ startsWithInsensitive?: string;
1132
+ /** Does not start with the specified string (case-insensitive). */
1133
+ notStartsWithInsensitive?: string;
1134
+ /** Ends with the specified string (case-sensitive). */
1135
+ endsWith?: string;
1136
+ /** Does not end with the specified string (case-sensitive). */
1137
+ notEndsWith?: string;
1138
+ /** Ends with the specified string (case-insensitive). */
1139
+ endsWithInsensitive?: string;
1140
+ /** Does not end with the specified string (case-insensitive). */
1141
+ notEndsWithInsensitive?: string;
1142
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1143
+ like?: string;
1144
+ /** 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. */
1145
+ notLike?: string;
1146
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1147
+ likeInsensitive?: string;
1148
+ /** 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. */
1149
+ notLikeInsensitive?: string;
1150
+ /** Equal to the specified value (case-insensitive). */
1151
+ equalToInsensitive?: string;
1152
+ /** Not equal to the specified value (case-insensitive). */
1153
+ notEqualToInsensitive?: string;
1154
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
1155
+ distinctFromInsensitive?: string;
1156
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
1157
+ notDistinctFromInsensitive?: string;
1158
+ /** Included in the specified list (case-insensitive). */
1159
+ inInsensitive?: string[];
1160
+ /** Not included in the specified list (case-insensitive). */
1161
+ notInInsensitive?: string[];
1162
+ /** Less than the specified value (case-insensitive). */
1163
+ lessThanInsensitive?: string;
1164
+ /** Less than or equal to the specified value (case-insensitive). */
1165
+ lessThanOrEqualToInsensitive?: string;
1166
+ /** Greater than the specified value (case-insensitive). */
1167
+ greaterThanInsensitive?: string;
1168
+ /** Greater than or equal to the specified value (case-insensitive). */
1169
+ greaterThanOrEqualToInsensitive?: string;
1170
+ /** Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. */
1171
+ similarTo?: TrgmSearchInput;
1172
+ /** Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. */
1173
+ wordSimilarTo?: TrgmSearchInput;
1174
+ }
1175
+ /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */
1176
+ export interface ConstructiveInternalTypeImageFilter {
1177
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1178
+ isNull?: boolean;
1179
+ /** Equal to the specified value. */
1180
+ equalTo?: ConstructiveInternalTypeImage;
1181
+ /** Not equal to the specified value. */
1182
+ notEqualTo?: ConstructiveInternalTypeImage;
1183
+ /** Not equal to the specified value, treating null like an ordinary value. */
1184
+ distinctFrom?: ConstructiveInternalTypeImage;
1185
+ /** Equal to the specified value, treating null like an ordinary value. */
1186
+ notDistinctFrom?: ConstructiveInternalTypeImage;
1187
+ /** Included in the specified list. */
1188
+ in?: ConstructiveInternalTypeImage[];
1189
+ /** Not included in the specified list. */
1190
+ notIn?: ConstructiveInternalTypeImage[];
1191
+ /** Less than the specified value. */
1192
+ lessThan?: ConstructiveInternalTypeImage;
1193
+ /** Less than or equal to the specified value. */
1194
+ lessThanOrEqualTo?: ConstructiveInternalTypeImage;
1195
+ /** Greater than the specified value. */
1196
+ greaterThan?: ConstructiveInternalTypeImage;
1197
+ /** Greater than or equal to the specified value. */
1198
+ greaterThanOrEqualTo?: ConstructiveInternalTypeImage;
1199
+ /** Contains the specified JSON. */
1200
+ contains?: ConstructiveInternalTypeImage;
1201
+ /** Contains the specified key. */
1202
+ containsKey?: string;
1203
+ /** Contains all of the specified keys. */
1204
+ containsAllKeys?: string[];
1205
+ /** Contains any of the specified keys. */
1206
+ containsAnyKeys?: string[];
1207
+ /** Contained by the specified JSON. */
1208
+ containedBy?: ConstructiveInternalTypeImage;
1209
+ }
1210
+ /** A filter to be used against many `Email` object types. All fields are combined with a logical ‘and.’ */
1211
+ export interface UserToManyEmailFilter {
1212
+ /** Filters to entities where at least one related entity matches. */
1213
+ some?: EmailFilter;
1214
+ /** Filters to entities where every related entity matches. */
1215
+ every?: EmailFilter;
1216
+ /** Filters to entities where no related entity matches. */
1217
+ none?: EmailFilter;
1218
+ }
1219
+ /** A filter to be used against many `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
1220
+ export interface UserToManyPhoneNumberFilter {
1221
+ /** Filters to entities where at least one related entity matches. */
1222
+ some?: PhoneNumberFilter;
1223
+ /** Filters to entities where every related entity matches. */
1224
+ every?: PhoneNumberFilter;
1225
+ /** Filters to entities where no related entity matches. */
1226
+ none?: PhoneNumberFilter;
1227
+ }
1228
+ /** A filter to be used against many `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
1229
+ export interface UserToManyCryptoAddressFilter {
1230
+ /** Filters to entities where at least one related entity matches. */
1231
+ some?: CryptoAddressFilter;
1232
+ /** Filters to entities where every related entity matches. */
1233
+ every?: CryptoAddressFilter;
1234
+ /** Filters to entities where no related entity matches. */
1235
+ none?: CryptoAddressFilter;
1236
+ }
1237
+ /** A filter to be used against many `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
1238
+ export interface UserToManyConnectedAccountFilter {
1239
+ /** Filters to entities where at least one related entity matches. */
1240
+ some?: ConnectedAccountFilter;
1241
+ /** Filters to entities where every related entity matches. */
1242
+ every?: ConnectedAccountFilter;
1243
+ /** Filters to entities where no related entity matches. */
1244
+ none?: ConnectedAccountFilter;
1245
+ }
1246
+ /** A filter to be used against many `AuditLog` object types. All fields are combined with a logical ‘and.’ */
1247
+ export interface UserToManyAuditLogFilter {
1248
+ /** Filters to entities where at least one related entity matches. */
1249
+ some?: AuditLogFilter;
1250
+ /** Filters to entities where every related entity matches. */
1251
+ every?: AuditLogFilter;
1252
+ /** Filters to entities where no related entity matches. */
1253
+ none?: AuditLogFilter;
1254
+ }
1255
+ /** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */
1256
+ export interface TrgmSearchInput {
1257
+ /** The text to fuzzy-match against. Typos and misspellings are tolerated. */
1258
+ value: string;
1259
+ /** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
1260
+ threshold?: number;
1261
+ }
829
1262
  /** An interval of time that has passed where the smallest distinct unit is a second. */
830
1263
  export interface IntervalInput {
831
1264
  /**
@@ -845,6 +1278,476 @@ export interface IntervalInput {
845
1278
  /** A quantity of years. */
846
1279
  years?: number;
847
1280
  }
1281
+ /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */
1282
+ export interface EmailFilter {
1283
+ /** Filter by the object’s `id` field. */
1284
+ id?: UUIDFilter;
1285
+ /** Filter by the object’s `ownerId` field. */
1286
+ ownerId?: UUIDFilter;
1287
+ /** Filter by the object’s `email` field. */
1288
+ email?: ConstructiveInternalTypeEmailFilter;
1289
+ /** Filter by the object’s `isVerified` field. */
1290
+ isVerified?: BooleanFilter;
1291
+ /** Filter by the object’s `isPrimary` field. */
1292
+ isPrimary?: BooleanFilter;
1293
+ /** Filter by the object’s `createdAt` field. */
1294
+ createdAt?: DatetimeFilter;
1295
+ /** Filter by the object’s `updatedAt` field. */
1296
+ updatedAt?: DatetimeFilter;
1297
+ /** Checks for all expressions in this list. */
1298
+ and?: EmailFilter[];
1299
+ /** Checks for any expressions in this list. */
1300
+ or?: EmailFilter[];
1301
+ /** Negates the expression. */
1302
+ not?: EmailFilter;
1303
+ /** Filter by the object’s `owner` relation. */
1304
+ owner?: UserFilter;
1305
+ }
1306
+ /** A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
1307
+ export interface PhoneNumberFilter {
1308
+ /** Filter by the object’s `id` field. */
1309
+ id?: UUIDFilter;
1310
+ /** Filter by the object’s `ownerId` field. */
1311
+ ownerId?: UUIDFilter;
1312
+ /** Filter by the object’s `cc` field. */
1313
+ cc?: StringFilter;
1314
+ /** Filter by the object’s `number` field. */
1315
+ number?: StringFilter;
1316
+ /** Filter by the object’s `isVerified` field. */
1317
+ isVerified?: BooleanFilter;
1318
+ /** Filter by the object’s `isPrimary` field. */
1319
+ isPrimary?: BooleanFilter;
1320
+ /** Filter by the object’s `createdAt` field. */
1321
+ createdAt?: DatetimeFilter;
1322
+ /** Filter by the object’s `updatedAt` field. */
1323
+ updatedAt?: DatetimeFilter;
1324
+ /** Checks for all expressions in this list. */
1325
+ and?: PhoneNumberFilter[];
1326
+ /** Checks for any expressions in this list. */
1327
+ or?: PhoneNumberFilter[];
1328
+ /** Negates the expression. */
1329
+ not?: PhoneNumberFilter;
1330
+ /** Filter by the object’s `owner` relation. */
1331
+ owner?: UserFilter;
1332
+ }
1333
+ /** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
1334
+ export interface CryptoAddressFilter {
1335
+ /** Filter by the object’s `id` field. */
1336
+ id?: UUIDFilter;
1337
+ /** Filter by the object’s `ownerId` field. */
1338
+ ownerId?: UUIDFilter;
1339
+ /** Filter by the object’s `address` field. */
1340
+ address?: StringFilter;
1341
+ /** Filter by the object’s `isVerified` field. */
1342
+ isVerified?: BooleanFilter;
1343
+ /** Filter by the object’s `isPrimary` field. */
1344
+ isPrimary?: BooleanFilter;
1345
+ /** Filter by the object’s `createdAt` field. */
1346
+ createdAt?: DatetimeFilter;
1347
+ /** Filter by the object’s `updatedAt` field. */
1348
+ updatedAt?: DatetimeFilter;
1349
+ /** Checks for all expressions in this list. */
1350
+ and?: CryptoAddressFilter[];
1351
+ /** Checks for any expressions in this list. */
1352
+ or?: CryptoAddressFilter[];
1353
+ /** Negates the expression. */
1354
+ not?: CryptoAddressFilter;
1355
+ /** Filter by the object’s `owner` relation. */
1356
+ owner?: UserFilter;
1357
+ }
1358
+ /** A filter to be used against `ConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
1359
+ export interface ConnectedAccountFilter {
1360
+ /** Filter by the object’s `id` field. */
1361
+ id?: UUIDFilter;
1362
+ /** Filter by the object’s `ownerId` field. */
1363
+ ownerId?: UUIDFilter;
1364
+ /** Filter by the object’s `service` field. */
1365
+ service?: StringFilter;
1366
+ /** Filter by the object’s `identifier` field. */
1367
+ identifier?: StringFilter;
1368
+ /** Filter by the object’s `details` field. */
1369
+ details?: JSONFilter;
1370
+ /** Filter by the object’s `isVerified` field. */
1371
+ isVerified?: BooleanFilter;
1372
+ /** Filter by the object’s `createdAt` field. */
1373
+ createdAt?: DatetimeFilter;
1374
+ /** Filter by the object’s `updatedAt` field. */
1375
+ updatedAt?: DatetimeFilter;
1376
+ /** Checks for all expressions in this list. */
1377
+ and?: ConnectedAccountFilter[];
1378
+ /** Checks for any expressions in this list. */
1379
+ or?: ConnectedAccountFilter[];
1380
+ /** Negates the expression. */
1381
+ not?: ConnectedAccountFilter;
1382
+ /** Filter by the object’s `owner` relation. */
1383
+ owner?: UserFilter;
1384
+ }
1385
+ /** A filter to be used against `AuditLog` object types. All fields are combined with a logical ‘and.’ */
1386
+ export interface AuditLogFilter {
1387
+ /** Filter by the object’s `id` field. */
1388
+ id?: UUIDFilter;
1389
+ /** Filter by the object’s `event` field. */
1390
+ event?: StringFilter;
1391
+ /** Filter by the object’s `actorId` field. */
1392
+ actorId?: UUIDFilter;
1393
+ /** Filter by the object’s `origin` field. */
1394
+ origin?: ConstructiveInternalTypeOriginFilter;
1395
+ /** Filter by the object’s `userAgent` field. */
1396
+ userAgent?: StringFilter;
1397
+ /** Filter by the object’s `ipAddress` field. */
1398
+ ipAddress?: InternetAddressFilter;
1399
+ /** Filter by the object’s `success` field. */
1400
+ success?: BooleanFilter;
1401
+ /** Filter by the object’s `createdAt` field. */
1402
+ createdAt?: DatetimeFilter;
1403
+ /** Checks for all expressions in this list. */
1404
+ and?: AuditLogFilter[];
1405
+ /** Checks for any expressions in this list. */
1406
+ or?: AuditLogFilter[];
1407
+ /** Negates the expression. */
1408
+ not?: AuditLogFilter;
1409
+ /** Filter by the object’s `actor` relation. */
1410
+ actor?: UserFilter;
1411
+ /** A related `actor` exists. */
1412
+ actorExists?: boolean;
1413
+ }
1414
+ /** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */
1415
+ export interface UUIDFilter {
1416
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1417
+ isNull?: boolean;
1418
+ /** Equal to the specified value. */
1419
+ equalTo?: string;
1420
+ /** Not equal to the specified value. */
1421
+ notEqualTo?: string;
1422
+ /** Not equal to the specified value, treating null like an ordinary value. */
1423
+ distinctFrom?: string;
1424
+ /** Equal to the specified value, treating null like an ordinary value. */
1425
+ notDistinctFrom?: string;
1426
+ /** Included in the specified list. */
1427
+ in?: string[];
1428
+ /** Not included in the specified list. */
1429
+ notIn?: string[];
1430
+ /** Less than the specified value. */
1431
+ lessThan?: string;
1432
+ /** Less than or equal to the specified value. */
1433
+ lessThanOrEqualTo?: string;
1434
+ /** Greater than the specified value. */
1435
+ greaterThan?: string;
1436
+ /** Greater than or equal to the specified value. */
1437
+ greaterThanOrEqualTo?: string;
1438
+ }
1439
+ /** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
1440
+ export interface BooleanFilter {
1441
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1442
+ isNull?: boolean;
1443
+ /** Equal to the specified value. */
1444
+ equalTo?: boolean;
1445
+ /** Not equal to the specified value. */
1446
+ notEqualTo?: boolean;
1447
+ /** Not equal to the specified value, treating null like an ordinary value. */
1448
+ distinctFrom?: boolean;
1449
+ /** Equal to the specified value, treating null like an ordinary value. */
1450
+ notDistinctFrom?: boolean;
1451
+ /** Included in the specified list. */
1452
+ in?: boolean[];
1453
+ /** Not included in the specified list. */
1454
+ notIn?: boolean[];
1455
+ /** Less than the specified value. */
1456
+ lessThan?: boolean;
1457
+ /** Less than or equal to the specified value. */
1458
+ lessThanOrEqualTo?: boolean;
1459
+ /** Greater than the specified value. */
1460
+ greaterThan?: boolean;
1461
+ /** Greater than or equal to the specified value. */
1462
+ greaterThanOrEqualTo?: boolean;
1463
+ }
1464
+ /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
1465
+ export interface DatetimeFilter {
1466
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1467
+ isNull?: boolean;
1468
+ /** Equal to the specified value. */
1469
+ equalTo?: string;
1470
+ /** Not equal to the specified value. */
1471
+ notEqualTo?: string;
1472
+ /** Not equal to the specified value, treating null like an ordinary value. */
1473
+ distinctFrom?: string;
1474
+ /** Equal to the specified value, treating null like an ordinary value. */
1475
+ notDistinctFrom?: string;
1476
+ /** Included in the specified list. */
1477
+ in?: string[];
1478
+ /** Not included in the specified list. */
1479
+ notIn?: string[];
1480
+ /** Less than the specified value. */
1481
+ lessThan?: string;
1482
+ /** Less than or equal to the specified value. */
1483
+ lessThanOrEqualTo?: string;
1484
+ /** Greater than the specified value. */
1485
+ greaterThan?: string;
1486
+ /** Greater than or equal to the specified value. */
1487
+ greaterThanOrEqualTo?: string;
1488
+ }
1489
+ /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
1490
+ export interface UserFilter {
1491
+ /** Filter by the object’s `id` field. */
1492
+ id?: UUIDFilter;
1493
+ /** Filter by the object’s `username` field. */
1494
+ username?: StringTrgmFilter;
1495
+ /** Filter by the object’s `displayName` field. */
1496
+ displayName?: StringTrgmFilter;
1497
+ /** Filter by the object’s `profilePicture` field. */
1498
+ profilePicture?: ConstructiveInternalTypeImageFilter;
1499
+ /** Filter by the object’s `searchTsv` field. */
1500
+ searchTsv?: FullTextFilter;
1501
+ /** Filter by the object’s `type` field. */
1502
+ type?: IntFilter;
1503
+ /** Filter by the object’s `createdAt` field. */
1504
+ createdAt?: DatetimeFilter;
1505
+ /** Filter by the object’s `updatedAt` field. */
1506
+ updatedAt?: DatetimeFilter;
1507
+ /** Checks for all expressions in this list. */
1508
+ and?: UserFilter[];
1509
+ /** Checks for any expressions in this list. */
1510
+ or?: UserFilter[];
1511
+ /** Negates the expression. */
1512
+ not?: UserFilter;
1513
+ /** Filter by the object’s `roleType` relation. */
1514
+ roleType?: RoleTypeFilter;
1515
+ /** Filter by the object’s `ownedEmails` relation. */
1516
+ ownedEmails?: UserToManyEmailFilter;
1517
+ /** `ownedEmails` exist. */
1518
+ ownedEmailsExist?: boolean;
1519
+ /** Filter by the object’s `ownedPhoneNumbers` relation. */
1520
+ ownedPhoneNumbers?: UserToManyPhoneNumberFilter;
1521
+ /** `ownedPhoneNumbers` exist. */
1522
+ ownedPhoneNumbersExist?: boolean;
1523
+ /** Filter by the object’s `ownedCryptoAddresses` relation. */
1524
+ ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
1525
+ /** `ownedCryptoAddresses` exist. */
1526
+ ownedCryptoAddressesExist?: boolean;
1527
+ /** Filter by the object’s `ownedConnectedAccounts` relation. */
1528
+ ownedConnectedAccounts?: UserToManyConnectedAccountFilter;
1529
+ /** `ownedConnectedAccounts` exist. */
1530
+ ownedConnectedAccountsExist?: boolean;
1531
+ /** Filter by the object’s `auditLogsByActorId` relation. */
1532
+ auditLogsByActorId?: UserToManyAuditLogFilter;
1533
+ /** `auditLogsByActorId` exist. */
1534
+ auditLogsByActorIdExist?: boolean;
1535
+ /** TSV search on the `search_tsv` column. */
1536
+ tsvSearchTsv?: string;
1537
+ /** TRGM search on the `display_name` column. */
1538
+ trgmDisplayName?: TrgmSearchInput;
1539
+ /**
1540
+ * Composite full-text search. Provide a search string and it will be dispatched
1541
+ * to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
1542
+ * simultaneously. Rows matching ANY algorithm are returned. All matching score
1543
+ * fields are populated.
1544
+ */
1545
+ fullTextSearch?: string;
1546
+ }
1547
+ /** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
1548
+ export interface StringFilter {
1549
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1550
+ isNull?: boolean;
1551
+ /** Equal to the specified value. */
1552
+ equalTo?: string;
1553
+ /** Not equal to the specified value. */
1554
+ notEqualTo?: string;
1555
+ /** Not equal to the specified value, treating null like an ordinary value. */
1556
+ distinctFrom?: string;
1557
+ /** Equal to the specified value, treating null like an ordinary value. */
1558
+ notDistinctFrom?: string;
1559
+ /** Included in the specified list. */
1560
+ in?: string[];
1561
+ /** Not included in the specified list. */
1562
+ notIn?: string[];
1563
+ /** Less than the specified value. */
1564
+ lessThan?: string;
1565
+ /** Less than or equal to the specified value. */
1566
+ lessThanOrEqualTo?: string;
1567
+ /** Greater than the specified value. */
1568
+ greaterThan?: string;
1569
+ /** Greater than or equal to the specified value. */
1570
+ greaterThanOrEqualTo?: string;
1571
+ /** Contains the specified string (case-sensitive). */
1572
+ includes?: string;
1573
+ /** Does not contain the specified string (case-sensitive). */
1574
+ notIncludes?: string;
1575
+ /** Contains the specified string (case-insensitive). */
1576
+ includesInsensitive?: string;
1577
+ /** Does not contain the specified string (case-insensitive). */
1578
+ notIncludesInsensitive?: string;
1579
+ /** Starts with the specified string (case-sensitive). */
1580
+ startsWith?: string;
1581
+ /** Does not start with the specified string (case-sensitive). */
1582
+ notStartsWith?: string;
1583
+ /** Starts with the specified string (case-insensitive). */
1584
+ startsWithInsensitive?: string;
1585
+ /** Does not start with the specified string (case-insensitive). */
1586
+ notStartsWithInsensitive?: string;
1587
+ /** Ends with the specified string (case-sensitive). */
1588
+ endsWith?: string;
1589
+ /** Does not end with the specified string (case-sensitive). */
1590
+ notEndsWith?: string;
1591
+ /** Ends with the specified string (case-insensitive). */
1592
+ endsWithInsensitive?: string;
1593
+ /** Does not end with the specified string (case-insensitive). */
1594
+ notEndsWithInsensitive?: string;
1595
+ /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1596
+ like?: string;
1597
+ /** 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. */
1598
+ notLike?: string;
1599
+ /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
1600
+ likeInsensitive?: string;
1601
+ /** 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. */
1602
+ notLikeInsensitive?: string;
1603
+ /** Equal to the specified value (case-insensitive). */
1604
+ equalToInsensitive?: string;
1605
+ /** Not equal to the specified value (case-insensitive). */
1606
+ notEqualToInsensitive?: string;
1607
+ /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
1608
+ distinctFromInsensitive?: string;
1609
+ /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
1610
+ notDistinctFromInsensitive?: string;
1611
+ /** Included in the specified list (case-insensitive). */
1612
+ inInsensitive?: string[];
1613
+ /** Not included in the specified list (case-insensitive). */
1614
+ notInInsensitive?: string[];
1615
+ /** Less than the specified value (case-insensitive). */
1616
+ lessThanInsensitive?: string;
1617
+ /** Less than or equal to the specified value (case-insensitive). */
1618
+ lessThanOrEqualToInsensitive?: string;
1619
+ /** Greater than the specified value (case-insensitive). */
1620
+ greaterThanInsensitive?: string;
1621
+ /** Greater than or equal to the specified value (case-insensitive). */
1622
+ greaterThanOrEqualToInsensitive?: string;
1623
+ }
1624
+ /** A filter to be used against JSON fields. All fields are combined with a logical ‘and.’ */
1625
+ export interface JSONFilter {
1626
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1627
+ isNull?: boolean;
1628
+ /** Equal to the specified value. */
1629
+ equalTo?: Record<string, unknown>;
1630
+ /** Not equal to the specified value. */
1631
+ notEqualTo?: Record<string, unknown>;
1632
+ /** Not equal to the specified value, treating null like an ordinary value. */
1633
+ distinctFrom?: Record<string, unknown>;
1634
+ /** Equal to the specified value, treating null like an ordinary value. */
1635
+ notDistinctFrom?: Record<string, unknown>;
1636
+ /** Included in the specified list. */
1637
+ in?: Record<string, unknown>[];
1638
+ /** Not included in the specified list. */
1639
+ notIn?: Record<string, unknown>[];
1640
+ /** Less than the specified value. */
1641
+ lessThan?: Record<string, unknown>;
1642
+ /** Less than or equal to the specified value. */
1643
+ lessThanOrEqualTo?: Record<string, unknown>;
1644
+ /** Greater than the specified value. */
1645
+ greaterThan?: Record<string, unknown>;
1646
+ /** Greater than or equal to the specified value. */
1647
+ greaterThanOrEqualTo?: Record<string, unknown>;
1648
+ /** Contains the specified JSON. */
1649
+ contains?: Record<string, unknown>;
1650
+ /** Contains the specified key. */
1651
+ containsKey?: string;
1652
+ /** Contains all of the specified keys. */
1653
+ containsAllKeys?: string[];
1654
+ /** Contains any of the specified keys. */
1655
+ containsAnyKeys?: string[];
1656
+ /** Contained by the specified JSON. */
1657
+ containedBy?: Record<string, unknown>;
1658
+ }
1659
+ /** A filter to be used against InternetAddress fields. All fields are combined with a logical ‘and.’ */
1660
+ export interface InternetAddressFilter {
1661
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1662
+ isNull?: boolean;
1663
+ /** Equal to the specified value. */
1664
+ equalTo?: string;
1665
+ /** Not equal to the specified value. */
1666
+ notEqualTo?: string;
1667
+ /** Not equal to the specified value, treating null like an ordinary value. */
1668
+ distinctFrom?: string;
1669
+ /** Equal to the specified value, treating null like an ordinary value. */
1670
+ notDistinctFrom?: string;
1671
+ /** Included in the specified list. */
1672
+ in?: string[];
1673
+ /** Not included in the specified list. */
1674
+ notIn?: string[];
1675
+ /** Less than the specified value. */
1676
+ lessThan?: string;
1677
+ /** Less than or equal to the specified value. */
1678
+ lessThanOrEqualTo?: string;
1679
+ /** Greater than the specified value. */
1680
+ greaterThan?: string;
1681
+ /** Greater than or equal to the specified value. */
1682
+ greaterThanOrEqualTo?: string;
1683
+ /** Contains the specified internet address. */
1684
+ contains?: string;
1685
+ /** Contains or equal to the specified internet address. */
1686
+ containsOrEqualTo?: string;
1687
+ /** Contained by the specified internet address. */
1688
+ containedBy?: string;
1689
+ /** Contained by or equal to the specified internet address. */
1690
+ containedByOrEqualTo?: string;
1691
+ /** Contains or contained by the specified internet address. */
1692
+ containsOrContainedBy?: string;
1693
+ }
1694
+ /** A filter to be used against FullText fields. All fields are combined with a logical ‘and.’ */
1695
+ export interface FullTextFilter {
1696
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1697
+ isNull?: boolean;
1698
+ /** Equal to the specified value. */
1699
+ equalTo?: string;
1700
+ /** Not equal to the specified value. */
1701
+ notEqualTo?: string;
1702
+ /** Not equal to the specified value, treating null like an ordinary value. */
1703
+ distinctFrom?: string;
1704
+ /** Equal to the specified value, treating null like an ordinary value. */
1705
+ notDistinctFrom?: string;
1706
+ /** Included in the specified list. */
1707
+ in?: string[];
1708
+ /** Not included in the specified list. */
1709
+ notIn?: string[];
1710
+ /** Performs a full text search on the field. */
1711
+ matches?: string;
1712
+ }
1713
+ /** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
1714
+ export interface IntFilter {
1715
+ /** Is null (if `true` is specified) or is not null (if `false` is specified). */
1716
+ isNull?: boolean;
1717
+ /** Equal to the specified value. */
1718
+ equalTo?: number;
1719
+ /** Not equal to the specified value. */
1720
+ notEqualTo?: number;
1721
+ /** Not equal to the specified value, treating null like an ordinary value. */
1722
+ distinctFrom?: number;
1723
+ /** Equal to the specified value, treating null like an ordinary value. */
1724
+ notDistinctFrom?: number;
1725
+ /** Included in the specified list. */
1726
+ in?: number[];
1727
+ /** Not included in the specified list. */
1728
+ notIn?: number[];
1729
+ /** Less than the specified value. */
1730
+ lessThan?: number;
1731
+ /** Less than or equal to the specified value. */
1732
+ lessThanOrEqualTo?: number;
1733
+ /** Greater than the specified value. */
1734
+ greaterThan?: number;
1735
+ /** Greater than or equal to the specified value. */
1736
+ greaterThanOrEqualTo?: number;
1737
+ }
1738
+ /** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */
1739
+ export interface RoleTypeFilter {
1740
+ /** Filter by the object’s `id` field. */
1741
+ id?: IntFilter;
1742
+ /** Filter by the object’s `name` field. */
1743
+ name?: StringFilter;
1744
+ /** Checks for all expressions in this list. */
1745
+ and?: RoleTypeFilter[];
1746
+ /** Checks for any expressions in this list. */
1747
+ or?: RoleTypeFilter[];
1748
+ /** Negates the expression. */
1749
+ not?: RoleTypeFilter;
1750
+ }
848
1751
  export interface SignOutPayload {
849
1752
  clientMutationId?: string | null;
850
1753
  }