@constructive-io/sdk 0.9.2 → 0.10.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 (57) hide show
  1. package/README.md +0 -8
  2. package/admin/orm/input-types.d.ts +19 -95
  3. package/auth/orm/index.d.ts +6 -6
  4. package/auth/orm/index.js +6 -6
  5. package/auth/orm/input-types.d.ts +276 -311
  6. package/auth/orm/input-types.js +9 -1
  7. package/auth/orm/models/index.d.ts +3 -3
  8. package/auth/orm/models/index.js +7 -7
  9. package/esm/admin/orm/input-types.d.ts +19 -95
  10. package/esm/auth/orm/index.d.ts +6 -6
  11. package/esm/auth/orm/index.js +6 -6
  12. package/esm/auth/orm/input-types.d.ts +276 -311
  13. package/esm/auth/orm/input-types.js +9 -1
  14. package/esm/auth/orm/models/index.d.ts +3 -3
  15. package/esm/auth/orm/models/index.js +3 -3
  16. package/esm/objects/orm/input-types.d.ts +3 -27
  17. package/esm/public/orm/index.d.ts +81 -48
  18. package/esm/public/orm/index.js +26 -18
  19. package/esm/public/orm/input-types.d.ts +2318 -2557
  20. package/esm/public/orm/input-types.js +26 -1
  21. package/esm/public/orm/models/blueprint.d.ts +56 -0
  22. package/esm/public/orm/models/blueprint.js +94 -0
  23. package/esm/public/orm/models/blueprintTemplate.d.ts +56 -0
  24. package/esm/public/orm/models/blueprintTemplate.js +94 -0
  25. package/esm/public/orm/models/databaseTransfer.d.ts +56 -0
  26. package/esm/public/orm/models/databaseTransfer.js +94 -0
  27. package/esm/public/orm/models/embeddingChunk.d.ts +56 -0
  28. package/esm/public/orm/models/embeddingChunk.js +94 -0
  29. package/esm/public/orm/models/enum.d.ts +56 -0
  30. package/esm/public/orm/models/{uuidModule.js → enum.js} +23 -23
  31. package/esm/public/orm/models/index.d.ts +13 -9
  32. package/esm/public/orm/models/index.js +13 -9
  33. package/esm/public/orm/mutation/index.d.ts +98 -50
  34. package/esm/public/orm/mutation/index.js +126 -66
  35. package/index.js +8 -8
  36. package/objects/orm/input-types.d.ts +3 -27
  37. package/package.json +3 -3
  38. package/public/orm/index.d.ts +81 -48
  39. package/public/orm/index.js +26 -18
  40. package/public/orm/input-types.d.ts +2318 -2557
  41. package/public/orm/input-types.js +26 -1
  42. package/public/orm/models/blueprint.d.ts +56 -0
  43. package/public/orm/models/blueprint.js +98 -0
  44. package/public/orm/models/blueprintTemplate.d.ts +56 -0
  45. package/public/orm/models/blueprintTemplate.js +98 -0
  46. package/public/orm/models/databaseTransfer.d.ts +56 -0
  47. package/public/orm/models/databaseTransfer.js +98 -0
  48. package/public/orm/models/embeddingChunk.d.ts +56 -0
  49. package/public/orm/models/embeddingChunk.js +98 -0
  50. package/public/orm/models/enum.d.ts +56 -0
  51. package/public/orm/models/{uuidModule.js → enum.js} +25 -25
  52. package/public/orm/models/index.d.ts +13 -9
  53. package/public/orm/models/index.js +29 -21
  54. package/public/orm/mutation/index.d.ts +98 -50
  55. package/public/orm/mutation/index.js +126 -66
  56. package/esm/public/orm/models/uuidModule.d.ts +0 -56
  57. package/public/orm/models/uuidModule.d.ts +0 -56
@@ -232,26 +232,18 @@ export interface UUIDListFilter {
232
232
  export type ConstructiveInternalTypeEmail = unknown;
233
233
  export type ConstructiveInternalTypeImage = unknown;
234
234
  export type ConstructiveInternalTypeOrigin = unknown;
235
- /** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */
236
- export interface CryptoAddress {
235
+ /** User email addresses with verification and primary-email management */
236
+ export interface Email {
237
237
  id: string;
238
238
  ownerId?: string | null;
239
- /** The cryptocurrency wallet address, validated against network-specific patterns */
240
- address?: string | null;
241
- /** Whether ownership of this address has been cryptographically verified */
239
+ /** The email address */
240
+ email?: ConstructiveInternalTypeEmail | null;
241
+ /** Whether the email address has been verified via confirmation link */
242
242
  isVerified?: boolean | null;
243
- /** Whether this is the user's primary cryptocurrency address */
243
+ /** Whether this is the user's primary email address */
244
244
  isPrimary?: boolean | null;
245
245
  createdAt?: string | null;
246
246
  updatedAt?: string | null;
247
- /** TRGM similarity when searching `address`. Returns null when no trgm search filter is active. */
248
- addressTrgmSimilarity?: number | null;
249
- /** 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. */
250
- searchScore?: number | null;
251
- }
252
- export interface RoleType {
253
- id: number;
254
- name?: string | null;
255
247
  }
256
248
  /** User phone numbers with country code, verification, and primary-number management */
257
249
  export interface PhoneNumber {
@@ -267,12 +259,19 @@ export interface PhoneNumber {
267
259
  isPrimary?: boolean | null;
268
260
  createdAt?: string | null;
269
261
  updatedAt?: string | null;
270
- /** TRGM similarity when searching `cc`. Returns null when no trgm search filter is active. */
271
- ccTrgmSimilarity?: number | null;
272
- /** TRGM similarity when searching `number`. Returns null when no trgm search filter is active. */
273
- numberTrgmSimilarity?: number | null;
274
- /** 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. */
275
- searchScore?: number | null;
262
+ }
263
+ /** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */
264
+ export interface CryptoAddress {
265
+ id: string;
266
+ ownerId?: string | null;
267
+ /** The cryptocurrency wallet address, validated against network-specific patterns */
268
+ address?: string | null;
269
+ /** Whether ownership of this address has been cryptographically verified */
270
+ isVerified?: boolean | null;
271
+ /** Whether this is the user's primary cryptocurrency address */
272
+ isPrimary?: boolean | null;
273
+ createdAt?: string | null;
274
+ updatedAt?: string | null;
276
275
  }
277
276
  /** OAuth and social login connections linking external service accounts to users */
278
277
  export interface ConnectedAccount {
@@ -288,19 +287,13 @@ export interface ConnectedAccount {
288
287
  isVerified?: boolean | null;
289
288
  createdAt?: string | null;
290
289
  updatedAt?: string | null;
291
- /** TRGM similarity when searching `service`. Returns null when no trgm search filter is active. */
292
- serviceTrgmSimilarity?: number | null;
293
- /** TRGM similarity when searching `identifier`. Returns null when no trgm search filter is active. */
294
- identifierTrgmSimilarity?: number | null;
295
- /** 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. */
296
- searchScore?: number | null;
297
290
  }
298
291
  /** Append-only audit log of authentication events (sign-in, sign-up, password changes, etc.) */
299
292
  export interface AuditLog {
300
293
  id: string;
301
294
  /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
302
295
  event?: string | null;
303
- /** User who performed the authentication action */
296
+ /** User who performed the authentication action; NULL if user was deleted */
304
297
  actorId?: string | null;
305
298
  /** Request origin (domain) where the auth event occurred */
306
299
  origin?: ConstructiveInternalTypeOrigin | null;
@@ -312,23 +305,10 @@ export interface AuditLog {
312
305
  success?: boolean | null;
313
306
  /** Timestamp when the audit event was recorded */
314
307
  createdAt?: string | null;
315
- /** TRGM similarity when searching `userAgent`. Returns null when no trgm search filter is active. */
316
- userAgentTrgmSimilarity?: number | null;
317
- /** 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. */
318
- searchScore?: number | null;
319
308
  }
320
- /** User email addresses with verification and primary-email management */
321
- export interface Email {
322
- id: string;
323
- ownerId?: string | null;
324
- /** The email address */
325
- email?: ConstructiveInternalTypeEmail | null;
326
- /** Whether the email address has been verified via confirmation link */
327
- isVerified?: boolean | null;
328
- /** Whether this is the user's primary email address */
329
- isPrimary?: boolean | null;
330
- createdAt?: string | null;
331
- updatedAt?: string | null;
309
+ export interface RoleType {
310
+ id: number;
311
+ name?: string | null;
332
312
  }
333
313
  export interface User {
334
314
  id: string;
@@ -343,7 +323,7 @@ export interface User {
343
323
  searchTsvRank?: number | null;
344
324
  /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */
345
325
  displayNameTrgmSimilarity?: number | null;
346
- /** 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. */
326
+ /** Composite search relevance score (0..1, higher = more relevant). Computed by normalizing and averaging all active search signals. Supports per-table weight customization via @searchConfig smart tag. Returns null when no search filters are active. */
347
327
  searchScore?: number | null;
348
328
  }
349
329
  export interface ConnectionResult<T> {
@@ -357,51 +337,50 @@ export interface PageInfo {
357
337
  startCursor?: string | null;
358
338
  endCursor?: string | null;
359
339
  }
360
- export interface CryptoAddressRelations {
340
+ export interface EmailRelations {
361
341
  owner?: User | null;
362
342
  }
363
- export interface RoleTypeRelations {
364
- }
365
343
  export interface PhoneNumberRelations {
366
344
  owner?: User | null;
367
345
  }
346
+ export interface CryptoAddressRelations {
347
+ owner?: User | null;
348
+ }
368
349
  export interface ConnectedAccountRelations {
369
350
  owner?: User | null;
370
351
  }
371
352
  export interface AuditLogRelations {
372
353
  actor?: User | null;
373
354
  }
374
- export interface EmailRelations {
375
- owner?: User | null;
355
+ export interface RoleTypeRelations {
376
356
  }
377
357
  export interface UserRelations {
378
358
  roleType?: RoleType | null;
359
+ ownedEmails?: ConnectionResult<Email>;
360
+ ownedPhoneNumbers?: ConnectionResult<PhoneNumber>;
361
+ ownedCryptoAddresses?: ConnectionResult<CryptoAddress>;
362
+ ownedConnectedAccounts?: ConnectionResult<ConnectedAccount>;
363
+ auditLogsByActorId?: ConnectionResult<AuditLog>;
379
364
  }
380
- export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations;
381
- export type RoleTypeWithRelations = RoleType & RoleTypeRelations;
365
+ export type EmailWithRelations = Email & EmailRelations;
382
366
  export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations;
367
+ export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations;
383
368
  export type ConnectedAccountWithRelations = ConnectedAccount & ConnectedAccountRelations;
384
369
  export type AuditLogWithRelations = AuditLog & AuditLogRelations;
385
- export type EmailWithRelations = Email & EmailRelations;
370
+ export type RoleTypeWithRelations = RoleType & RoleTypeRelations;
386
371
  export type UserWithRelations = User & UserRelations;
387
- export type CryptoAddressSelect = {
372
+ export type EmailSelect = {
388
373
  id?: boolean;
389
374
  ownerId?: boolean;
390
- address?: boolean;
375
+ email?: boolean;
391
376
  isVerified?: boolean;
392
377
  isPrimary?: boolean;
393
378
  createdAt?: boolean;
394
379
  updatedAt?: boolean;
395
- addressTrgmSimilarity?: boolean;
396
- searchScore?: boolean;
397
380
  owner?: {
398
381
  select: UserSelect;
399
382
  };
400
383
  };
401
- export type RoleTypeSelect = {
402
- id?: boolean;
403
- name?: boolean;
404
- };
405
384
  export type PhoneNumberSelect = {
406
385
  id?: boolean;
407
386
  ownerId?: boolean;
@@ -411,9 +390,18 @@ export type PhoneNumberSelect = {
411
390
  isPrimary?: boolean;
412
391
  createdAt?: boolean;
413
392
  updatedAt?: boolean;
414
- ccTrgmSimilarity?: boolean;
415
- numberTrgmSimilarity?: boolean;
416
- searchScore?: boolean;
393
+ owner?: {
394
+ select: UserSelect;
395
+ };
396
+ };
397
+ export type CryptoAddressSelect = {
398
+ id?: boolean;
399
+ ownerId?: boolean;
400
+ address?: boolean;
401
+ isVerified?: boolean;
402
+ isPrimary?: boolean;
403
+ createdAt?: boolean;
404
+ updatedAt?: boolean;
417
405
  owner?: {
418
406
  select: UserSelect;
419
407
  };
@@ -427,9 +415,6 @@ export type ConnectedAccountSelect = {
427
415
  isVerified?: boolean;
428
416
  createdAt?: boolean;
429
417
  updatedAt?: boolean;
430
- serviceTrgmSimilarity?: boolean;
431
- identifierTrgmSimilarity?: boolean;
432
- searchScore?: boolean;
433
418
  owner?: {
434
419
  select: UserSelect;
435
420
  };
@@ -443,23 +428,13 @@ export type AuditLogSelect = {
443
428
  ipAddress?: boolean;
444
429
  success?: boolean;
445
430
  createdAt?: boolean;
446
- userAgentTrgmSimilarity?: boolean;
447
- searchScore?: boolean;
448
431
  actor?: {
449
432
  select: UserSelect;
450
433
  };
451
434
  };
452
- export type EmailSelect = {
435
+ export type RoleTypeSelect = {
453
436
  id?: boolean;
454
- ownerId?: boolean;
455
- email?: boolean;
456
- isVerified?: boolean;
457
- isPrimary?: boolean;
458
- createdAt?: boolean;
459
- updatedAt?: boolean;
460
- owner?: {
461
- select: UserSelect;
462
- };
437
+ name?: boolean;
463
438
  };
464
439
  export type UserSelect = {
465
440
  id?: boolean;
@@ -476,27 +451,48 @@ export type UserSelect = {
476
451
  roleType?: {
477
452
  select: RoleTypeSelect;
478
453
  };
454
+ ownedEmails?: {
455
+ select: EmailSelect;
456
+ first?: number;
457
+ filter?: EmailFilter;
458
+ orderBy?: EmailOrderBy[];
459
+ };
460
+ ownedPhoneNumbers?: {
461
+ select: PhoneNumberSelect;
462
+ first?: number;
463
+ filter?: PhoneNumberFilter;
464
+ orderBy?: PhoneNumberOrderBy[];
465
+ };
466
+ ownedCryptoAddresses?: {
467
+ select: CryptoAddressSelect;
468
+ first?: number;
469
+ filter?: CryptoAddressFilter;
470
+ orderBy?: CryptoAddressOrderBy[];
471
+ };
472
+ ownedConnectedAccounts?: {
473
+ select: ConnectedAccountSelect;
474
+ first?: number;
475
+ filter?: ConnectedAccountFilter;
476
+ orderBy?: ConnectedAccountOrderBy[];
477
+ };
478
+ auditLogsByActorId?: {
479
+ select: AuditLogSelect;
480
+ first?: number;
481
+ filter?: AuditLogFilter;
482
+ orderBy?: AuditLogOrderBy[];
483
+ };
479
484
  };
480
- export interface CryptoAddressFilter {
485
+ export interface EmailFilter {
481
486
  id?: UUIDFilter;
482
487
  ownerId?: UUIDFilter;
483
- address?: StringFilter;
488
+ email?: StringFilter;
484
489
  isVerified?: BooleanFilter;
485
490
  isPrimary?: BooleanFilter;
486
491
  createdAt?: DatetimeFilter;
487
492
  updatedAt?: DatetimeFilter;
488
- addressTrgmSimilarity?: FloatFilter;
489
- searchScore?: FloatFilter;
490
- and?: CryptoAddressFilter[];
491
- or?: CryptoAddressFilter[];
492
- not?: CryptoAddressFilter;
493
- }
494
- export interface RoleTypeFilter {
495
- id?: IntFilter;
496
- name?: StringFilter;
497
- and?: RoleTypeFilter[];
498
- or?: RoleTypeFilter[];
499
- not?: RoleTypeFilter;
493
+ and?: EmailFilter[];
494
+ or?: EmailFilter[];
495
+ not?: EmailFilter;
500
496
  }
501
497
  export interface PhoneNumberFilter {
502
498
  id?: UUIDFilter;
@@ -507,13 +503,22 @@ export interface PhoneNumberFilter {
507
503
  isPrimary?: BooleanFilter;
508
504
  createdAt?: DatetimeFilter;
509
505
  updatedAt?: DatetimeFilter;
510
- ccTrgmSimilarity?: FloatFilter;
511
- numberTrgmSimilarity?: FloatFilter;
512
- searchScore?: FloatFilter;
513
506
  and?: PhoneNumberFilter[];
514
507
  or?: PhoneNumberFilter[];
515
508
  not?: PhoneNumberFilter;
516
509
  }
510
+ export interface CryptoAddressFilter {
511
+ id?: UUIDFilter;
512
+ ownerId?: UUIDFilter;
513
+ address?: StringFilter;
514
+ isVerified?: BooleanFilter;
515
+ isPrimary?: BooleanFilter;
516
+ createdAt?: DatetimeFilter;
517
+ updatedAt?: DatetimeFilter;
518
+ and?: CryptoAddressFilter[];
519
+ or?: CryptoAddressFilter[];
520
+ not?: CryptoAddressFilter;
521
+ }
517
522
  export interface ConnectedAccountFilter {
518
523
  id?: UUIDFilter;
519
524
  ownerId?: UUIDFilter;
@@ -523,9 +528,6 @@ export interface ConnectedAccountFilter {
523
528
  isVerified?: BooleanFilter;
524
529
  createdAt?: DatetimeFilter;
525
530
  updatedAt?: DatetimeFilter;
526
- serviceTrgmSimilarity?: FloatFilter;
527
- identifierTrgmSimilarity?: FloatFilter;
528
- searchScore?: FloatFilter;
529
531
  and?: ConnectedAccountFilter[];
530
532
  or?: ConnectedAccountFilter[];
531
533
  not?: ConnectedAccountFilter;
@@ -539,23 +541,16 @@ export interface AuditLogFilter {
539
541
  ipAddress?: InternetAddressFilter;
540
542
  success?: BooleanFilter;
541
543
  createdAt?: DatetimeFilter;
542
- userAgentTrgmSimilarity?: FloatFilter;
543
- searchScore?: FloatFilter;
544
544
  and?: AuditLogFilter[];
545
545
  or?: AuditLogFilter[];
546
546
  not?: AuditLogFilter;
547
547
  }
548
- export interface EmailFilter {
549
- id?: UUIDFilter;
550
- ownerId?: UUIDFilter;
551
- email?: StringFilter;
552
- isVerified?: BooleanFilter;
553
- isPrimary?: BooleanFilter;
554
- createdAt?: DatetimeFilter;
555
- updatedAt?: DatetimeFilter;
556
- and?: EmailFilter[];
557
- or?: EmailFilter[];
558
- not?: EmailFilter;
548
+ export interface RoleTypeFilter {
549
+ id?: IntFilter;
550
+ name?: StringFilter;
551
+ and?: RoleTypeFilter[];
552
+ or?: RoleTypeFilter[];
553
+ not?: RoleTypeFilter;
559
554
  }
560
555
  export interface UserFilter {
561
556
  id?: UUIDFilter;
@@ -573,55 +568,37 @@ export interface UserFilter {
573
568
  or?: UserFilter[];
574
569
  not?: UserFilter;
575
570
  }
576
- 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';
571
+ 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
+ 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';
573
+ 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';
574
+ 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';
575
+ export type AuditLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
577
576
  export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
578
- 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';
579
- 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';
580
- 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';
581
- 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';
582
577
  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';
583
- export interface CreateCryptoAddressInput {
578
+ export interface CreateEmailInput {
584
579
  clientMutationId?: string;
585
- cryptoAddress: {
580
+ email: {
586
581
  ownerId?: string;
587
- address: string;
582
+ email: ConstructiveInternalTypeEmail;
588
583
  isVerified?: boolean;
589
584
  isPrimary?: boolean;
590
585
  };
591
586
  }
592
- export interface CryptoAddressPatch {
587
+ export interface EmailPatch {
593
588
  ownerId?: string | null;
594
- address?: string | null;
589
+ email?: ConstructiveInternalTypeEmail | null;
595
590
  isVerified?: boolean | null;
596
591
  isPrimary?: boolean | null;
597
592
  }
598
- export interface UpdateCryptoAddressInput {
593
+ export interface UpdateEmailInput {
599
594
  clientMutationId?: string;
600
595
  id: string;
601
- cryptoAddressPatch: CryptoAddressPatch;
596
+ emailPatch: EmailPatch;
602
597
  }
603
- export interface DeleteCryptoAddressInput {
598
+ export interface DeleteEmailInput {
604
599
  clientMutationId?: string;
605
600
  id: string;
606
601
  }
607
- export interface CreateRoleTypeInput {
608
- clientMutationId?: string;
609
- roleType: {
610
- name: string;
611
- };
612
- }
613
- export interface RoleTypePatch {
614
- name?: string | null;
615
- }
616
- export interface UpdateRoleTypeInput {
617
- clientMutationId?: string;
618
- id: number;
619
- roleTypePatch: RoleTypePatch;
620
- }
621
- export interface DeleteRoleTypeInput {
622
- clientMutationId?: string;
623
- id: number;
624
- }
625
602
  export interface CreatePhoneNumberInput {
626
603
  clientMutationId?: string;
627
604
  phoneNumber: {
@@ -648,6 +625,30 @@ export interface DeletePhoneNumberInput {
648
625
  clientMutationId?: string;
649
626
  id: string;
650
627
  }
628
+ export interface CreateCryptoAddressInput {
629
+ clientMutationId?: string;
630
+ cryptoAddress: {
631
+ ownerId?: string;
632
+ address: string;
633
+ isVerified?: boolean;
634
+ isPrimary?: boolean;
635
+ };
636
+ }
637
+ export interface CryptoAddressPatch {
638
+ ownerId?: string | null;
639
+ address?: string | null;
640
+ isVerified?: boolean | null;
641
+ isPrimary?: boolean | null;
642
+ }
643
+ export interface UpdateCryptoAddressInput {
644
+ clientMutationId?: string;
645
+ id: string;
646
+ cryptoAddressPatch: CryptoAddressPatch;
647
+ }
648
+ export interface DeleteCryptoAddressInput {
649
+ clientMutationId?: string;
650
+ id: string;
651
+ }
651
652
  export interface CreateConnectedAccountInput {
652
653
  clientMutationId?: string;
653
654
  connectedAccount: {
@@ -702,29 +703,23 @@ export interface DeleteAuditLogInput {
702
703
  clientMutationId?: string;
703
704
  id: string;
704
705
  }
705
- export interface CreateEmailInput {
706
+ export interface CreateRoleTypeInput {
706
707
  clientMutationId?: string;
707
- email: {
708
- ownerId?: string;
709
- email: ConstructiveInternalTypeEmail;
710
- isVerified?: boolean;
711
- isPrimary?: boolean;
708
+ roleType: {
709
+ name: string;
712
710
  };
713
711
  }
714
- export interface EmailPatch {
715
- ownerId?: string | null;
716
- email?: ConstructiveInternalTypeEmail | null;
717
- isVerified?: boolean | null;
718
- isPrimary?: boolean | null;
712
+ export interface RoleTypePatch {
713
+ name?: string | null;
719
714
  }
720
- export interface UpdateEmailInput {
715
+ export interface UpdateRoleTypeInput {
721
716
  clientMutationId?: string;
722
- id: string;
723
- emailPatch: EmailPatch;
717
+ id: number;
718
+ roleTypePatch: RoleTypePatch;
724
719
  }
725
- export interface DeleteEmailInput {
720
+ export interface DeleteRoleTypeInput {
726
721
  clientMutationId?: string;
727
- id: string;
722
+ id: number;
728
723
  }
729
724
  export interface CreateUserInput {
730
725
  clientMutationId?: string;
@@ -984,94 +979,49 @@ export type VerifyTotpPayloadSelect = {
984
979
  select: SessionSelect;
985
980
  };
986
981
  };
987
- export interface CreateCryptoAddressPayload {
988
- clientMutationId?: string | null;
989
- /** The `CryptoAddress` that was created by this mutation. */
990
- cryptoAddress?: CryptoAddress | null;
991
- cryptoAddressEdge?: CryptoAddressEdge | null;
992
- }
993
- export type CreateCryptoAddressPayloadSelect = {
994
- clientMutationId?: boolean;
995
- cryptoAddress?: {
996
- select: CryptoAddressSelect;
997
- };
998
- cryptoAddressEdge?: {
999
- select: CryptoAddressEdgeSelect;
1000
- };
1001
- };
1002
- export interface UpdateCryptoAddressPayload {
1003
- clientMutationId?: string | null;
1004
- /** The `CryptoAddress` that was updated by this mutation. */
1005
- cryptoAddress?: CryptoAddress | null;
1006
- cryptoAddressEdge?: CryptoAddressEdge | null;
1007
- }
1008
- export type UpdateCryptoAddressPayloadSelect = {
1009
- clientMutationId?: boolean;
1010
- cryptoAddress?: {
1011
- select: CryptoAddressSelect;
1012
- };
1013
- cryptoAddressEdge?: {
1014
- select: CryptoAddressEdgeSelect;
1015
- };
1016
- };
1017
- export interface DeleteCryptoAddressPayload {
1018
- clientMutationId?: string | null;
1019
- /** The `CryptoAddress` that was deleted by this mutation. */
1020
- cryptoAddress?: CryptoAddress | null;
1021
- cryptoAddressEdge?: CryptoAddressEdge | null;
1022
- }
1023
- export type DeleteCryptoAddressPayloadSelect = {
1024
- clientMutationId?: boolean;
1025
- cryptoAddress?: {
1026
- select: CryptoAddressSelect;
1027
- };
1028
- cryptoAddressEdge?: {
1029
- select: CryptoAddressEdgeSelect;
1030
- };
1031
- };
1032
- export interface CreateRoleTypePayload {
982
+ export interface CreateEmailPayload {
1033
983
  clientMutationId?: string | null;
1034
- /** The `RoleType` that was created by this mutation. */
1035
- roleType?: RoleType | null;
1036
- roleTypeEdge?: RoleTypeEdge | null;
984
+ /** The `Email` that was created by this mutation. */
985
+ email?: Email | null;
986
+ emailEdge?: EmailEdge | null;
1037
987
  }
1038
- export type CreateRoleTypePayloadSelect = {
988
+ export type CreateEmailPayloadSelect = {
1039
989
  clientMutationId?: boolean;
1040
- roleType?: {
1041
- select: RoleTypeSelect;
990
+ email?: {
991
+ select: EmailSelect;
1042
992
  };
1043
- roleTypeEdge?: {
1044
- select: RoleTypeEdgeSelect;
993
+ emailEdge?: {
994
+ select: EmailEdgeSelect;
1045
995
  };
1046
996
  };
1047
- export interface UpdateRoleTypePayload {
997
+ export interface UpdateEmailPayload {
1048
998
  clientMutationId?: string | null;
1049
- /** The `RoleType` that was updated by this mutation. */
1050
- roleType?: RoleType | null;
1051
- roleTypeEdge?: RoleTypeEdge | null;
999
+ /** The `Email` that was updated by this mutation. */
1000
+ email?: Email | null;
1001
+ emailEdge?: EmailEdge | null;
1052
1002
  }
1053
- export type UpdateRoleTypePayloadSelect = {
1003
+ export type UpdateEmailPayloadSelect = {
1054
1004
  clientMutationId?: boolean;
1055
- roleType?: {
1056
- select: RoleTypeSelect;
1005
+ email?: {
1006
+ select: EmailSelect;
1057
1007
  };
1058
- roleTypeEdge?: {
1059
- select: RoleTypeEdgeSelect;
1008
+ emailEdge?: {
1009
+ select: EmailEdgeSelect;
1060
1010
  };
1061
1011
  };
1062
- export interface DeleteRoleTypePayload {
1012
+ export interface DeleteEmailPayload {
1063
1013
  clientMutationId?: string | null;
1064
- /** The `RoleType` that was deleted by this mutation. */
1065
- roleType?: RoleType | null;
1066
- roleTypeEdge?: RoleTypeEdge | null;
1014
+ /** The `Email` that was deleted by this mutation. */
1015
+ email?: Email | null;
1016
+ emailEdge?: EmailEdge | null;
1067
1017
  }
1068
- export type DeleteRoleTypePayloadSelect = {
1018
+ export type DeleteEmailPayloadSelect = {
1069
1019
  clientMutationId?: boolean;
1070
- roleType?: {
1071
- select: RoleTypeSelect;
1020
+ email?: {
1021
+ select: EmailSelect;
1072
1022
  };
1073
- roleTypeEdge?: {
1074
- select: RoleTypeEdgeSelect;
1023
+ emailEdge?: {
1024
+ select: EmailEdgeSelect;
1075
1025
  };
1076
1026
  };
1077
1027
  export interface CreatePhoneNumberPayload {
@@ -1119,6 +1069,51 @@ export type DeletePhoneNumberPayloadSelect = {
1119
1069
  select: PhoneNumberEdgeSelect;
1120
1070
  };
1121
1071
  };
1072
+ export interface CreateCryptoAddressPayload {
1073
+ clientMutationId?: string | null;
1074
+ /** The `CryptoAddress` that was created by this mutation. */
1075
+ cryptoAddress?: CryptoAddress | null;
1076
+ cryptoAddressEdge?: CryptoAddressEdge | null;
1077
+ }
1078
+ export type CreateCryptoAddressPayloadSelect = {
1079
+ clientMutationId?: boolean;
1080
+ cryptoAddress?: {
1081
+ select: CryptoAddressSelect;
1082
+ };
1083
+ cryptoAddressEdge?: {
1084
+ select: CryptoAddressEdgeSelect;
1085
+ };
1086
+ };
1087
+ export interface UpdateCryptoAddressPayload {
1088
+ clientMutationId?: string | null;
1089
+ /** The `CryptoAddress` that was updated by this mutation. */
1090
+ cryptoAddress?: CryptoAddress | null;
1091
+ cryptoAddressEdge?: CryptoAddressEdge | null;
1092
+ }
1093
+ export type UpdateCryptoAddressPayloadSelect = {
1094
+ clientMutationId?: boolean;
1095
+ cryptoAddress?: {
1096
+ select: CryptoAddressSelect;
1097
+ };
1098
+ cryptoAddressEdge?: {
1099
+ select: CryptoAddressEdgeSelect;
1100
+ };
1101
+ };
1102
+ export interface DeleteCryptoAddressPayload {
1103
+ clientMutationId?: string | null;
1104
+ /** The `CryptoAddress` that was deleted by this mutation. */
1105
+ cryptoAddress?: CryptoAddress | null;
1106
+ cryptoAddressEdge?: CryptoAddressEdge | null;
1107
+ }
1108
+ export type DeleteCryptoAddressPayloadSelect = {
1109
+ clientMutationId?: boolean;
1110
+ cryptoAddress?: {
1111
+ select: CryptoAddressSelect;
1112
+ };
1113
+ cryptoAddressEdge?: {
1114
+ select: CryptoAddressEdgeSelect;
1115
+ };
1116
+ };
1122
1117
  export interface CreateConnectedAccountPayload {
1123
1118
  clientMutationId?: string | null;
1124
1119
  /** The `ConnectedAccount` that was created by this mutation. */
@@ -1209,49 +1204,49 @@ export type DeleteAuditLogPayloadSelect = {
1209
1204
  select: AuditLogEdgeSelect;
1210
1205
  };
1211
1206
  };
1212
- export interface CreateEmailPayload {
1207
+ export interface CreateRoleTypePayload {
1213
1208
  clientMutationId?: string | null;
1214
- /** The `Email` that was created by this mutation. */
1215
- email?: Email | null;
1216
- emailEdge?: EmailEdge | null;
1209
+ /** The `RoleType` that was created by this mutation. */
1210
+ roleType?: RoleType | null;
1211
+ roleTypeEdge?: RoleTypeEdge | null;
1217
1212
  }
1218
- export type CreateEmailPayloadSelect = {
1213
+ export type CreateRoleTypePayloadSelect = {
1219
1214
  clientMutationId?: boolean;
1220
- email?: {
1221
- select: EmailSelect;
1215
+ roleType?: {
1216
+ select: RoleTypeSelect;
1222
1217
  };
1223
- emailEdge?: {
1224
- select: EmailEdgeSelect;
1218
+ roleTypeEdge?: {
1219
+ select: RoleTypeEdgeSelect;
1225
1220
  };
1226
1221
  };
1227
- export interface UpdateEmailPayload {
1222
+ export interface UpdateRoleTypePayload {
1228
1223
  clientMutationId?: string | null;
1229
- /** The `Email` that was updated by this mutation. */
1230
- email?: Email | null;
1231
- emailEdge?: EmailEdge | null;
1224
+ /** The `RoleType` that was updated by this mutation. */
1225
+ roleType?: RoleType | null;
1226
+ roleTypeEdge?: RoleTypeEdge | null;
1232
1227
  }
1233
- export type UpdateEmailPayloadSelect = {
1228
+ export type UpdateRoleTypePayloadSelect = {
1234
1229
  clientMutationId?: boolean;
1235
- email?: {
1236
- select: EmailSelect;
1230
+ roleType?: {
1231
+ select: RoleTypeSelect;
1237
1232
  };
1238
- emailEdge?: {
1239
- select: EmailEdgeSelect;
1233
+ roleTypeEdge?: {
1234
+ select: RoleTypeEdgeSelect;
1240
1235
  };
1241
1236
  };
1242
- export interface DeleteEmailPayload {
1237
+ export interface DeleteRoleTypePayload {
1243
1238
  clientMutationId?: string | null;
1244
- /** The `Email` that was deleted by this mutation. */
1245
- email?: Email | null;
1246
- emailEdge?: EmailEdge | null;
1239
+ /** The `RoleType` that was deleted by this mutation. */
1240
+ roleType?: RoleType | null;
1241
+ roleTypeEdge?: RoleTypeEdge | null;
1247
1242
  }
1248
- export type DeleteEmailPayloadSelect = {
1243
+ export type DeleteRoleTypePayloadSelect = {
1249
1244
  clientMutationId?: boolean;
1250
- email?: {
1251
- select: EmailSelect;
1245
+ roleType?: {
1246
+ select: RoleTypeSelect;
1252
1247
  };
1253
- emailEdge?: {
1254
- select: EmailEdgeSelect;
1248
+ roleTypeEdge?: {
1249
+ select: RoleTypeEdgeSelect;
1255
1250
  };
1256
1251
  };
1257
1252
  export interface CreateUserPayload {
@@ -1306,10 +1301,6 @@ export interface SignInOneTimeTokenRecord {
1306
1301
  accessTokenExpiresAt?: string | null;
1307
1302
  isVerified?: boolean | null;
1308
1303
  totpEnabled?: boolean | null;
1309
- /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */
1310
- accessTokenTrgmSimilarity?: number | null;
1311
- /** 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. */
1312
- searchScore?: number | null;
1313
1304
  }
1314
1305
  export type SignInOneTimeTokenRecordSelect = {
1315
1306
  id?: boolean;
@@ -1318,8 +1309,6 @@ export type SignInOneTimeTokenRecordSelect = {
1318
1309
  accessTokenExpiresAt?: boolean;
1319
1310
  isVerified?: boolean;
1320
1311
  totpEnabled?: boolean;
1321
- accessTokenTrgmSimilarity?: boolean;
1322
- searchScore?: boolean;
1323
1312
  };
1324
1313
  export interface SignInRecord {
1325
1314
  id?: string | null;
@@ -1328,10 +1317,6 @@ export interface SignInRecord {
1328
1317
  accessTokenExpiresAt?: string | null;
1329
1318
  isVerified?: boolean | null;
1330
1319
  totpEnabled?: boolean | null;
1331
- /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */
1332
- accessTokenTrgmSimilarity?: number | null;
1333
- /** 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. */
1334
- searchScore?: number | null;
1335
1320
  }
1336
1321
  export type SignInRecordSelect = {
1337
1322
  id?: boolean;
@@ -1340,8 +1325,6 @@ export type SignInRecordSelect = {
1340
1325
  accessTokenExpiresAt?: boolean;
1341
1326
  isVerified?: boolean;
1342
1327
  totpEnabled?: boolean;
1343
- accessTokenTrgmSimilarity?: boolean;
1344
- searchScore?: boolean;
1345
1328
  };
1346
1329
  export interface SignUpRecord {
1347
1330
  id?: string | null;
@@ -1350,10 +1333,6 @@ export interface SignUpRecord {
1350
1333
  accessTokenExpiresAt?: string | null;
1351
1334
  isVerified?: boolean | null;
1352
1335
  totpEnabled?: boolean | null;
1353
- /** TRGM similarity when searching `accessToken`. Returns null when no trgm search filter is active. */
1354
- accessTokenTrgmSimilarity?: number | null;
1355
- /** 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. */
1356
- searchScore?: number | null;
1357
1336
  }
1358
1337
  export type SignUpRecordSelect = {
1359
1338
  id?: boolean;
@@ -1362,8 +1341,6 @@ export type SignUpRecordSelect = {
1362
1341
  accessTokenExpiresAt?: boolean;
1363
1342
  isVerified?: boolean;
1364
1343
  totpEnabled?: boolean;
1365
- accessTokenTrgmSimilarity?: boolean;
1366
- searchScore?: boolean;
1367
1344
  };
1368
1345
  export interface ExtendTokenExpiresRecord {
1369
1346
  id?: string | null;
@@ -1402,14 +1379,6 @@ export interface Session {
1402
1379
  csrfSecret?: string | null;
1403
1380
  createdAt?: string | null;
1404
1381
  updatedAt?: string | null;
1405
- /** TRGM similarity when searching `uagent`. Returns null when no trgm search filter is active. */
1406
- uagentTrgmSimilarity?: number | null;
1407
- /** TRGM similarity when searching `fingerprintMode`. Returns null when no trgm search filter is active. */
1408
- fingerprintModeTrgmSimilarity?: number | null;
1409
- /** TRGM similarity when searching `csrfSecret`. Returns null when no trgm search filter is active. */
1410
- csrfSecretTrgmSimilarity?: number | null;
1411
- /** 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. */
1412
- searchScore?: number | null;
1413
1382
  }
1414
1383
  export type SessionSelect = {
1415
1384
  id?: boolean;
@@ -1426,33 +1395,17 @@ export type SessionSelect = {
1426
1395
  csrfSecret?: boolean;
1427
1396
  createdAt?: boolean;
1428
1397
  updatedAt?: boolean;
1429
- uagentTrgmSimilarity?: boolean;
1430
- fingerprintModeTrgmSimilarity?: boolean;
1431
- csrfSecretTrgmSimilarity?: boolean;
1432
- searchScore?: boolean;
1433
1398
  };
1434
- /** A `CryptoAddress` edge in the connection. */
1435
- export interface CryptoAddressEdge {
1436
- cursor?: string | null;
1437
- /** The `CryptoAddress` at the end of the edge. */
1438
- node?: CryptoAddress | null;
1439
- }
1440
- export type CryptoAddressEdgeSelect = {
1441
- cursor?: boolean;
1442
- node?: {
1443
- select: CryptoAddressSelect;
1444
- };
1445
- };
1446
- /** A `RoleType` edge in the connection. */
1447
- export interface RoleTypeEdge {
1399
+ /** A `Email` edge in the connection. */
1400
+ export interface EmailEdge {
1448
1401
  cursor?: string | null;
1449
- /** The `RoleType` at the end of the edge. */
1450
- node?: RoleType | null;
1402
+ /** The `Email` at the end of the edge. */
1403
+ node?: Email | null;
1451
1404
  }
1452
- export type RoleTypeEdgeSelect = {
1405
+ export type EmailEdgeSelect = {
1453
1406
  cursor?: boolean;
1454
1407
  node?: {
1455
- select: RoleTypeSelect;
1408
+ select: EmailSelect;
1456
1409
  };
1457
1410
  };
1458
1411
  /** A `PhoneNumber` edge in the connection. */
@@ -1467,6 +1420,18 @@ export type PhoneNumberEdgeSelect = {
1467
1420
  select: PhoneNumberSelect;
1468
1421
  };
1469
1422
  };
1423
+ /** A `CryptoAddress` edge in the connection. */
1424
+ export interface CryptoAddressEdge {
1425
+ cursor?: string | null;
1426
+ /** The `CryptoAddress` at the end of the edge. */
1427
+ node?: CryptoAddress | null;
1428
+ }
1429
+ export type CryptoAddressEdgeSelect = {
1430
+ cursor?: boolean;
1431
+ node?: {
1432
+ select: CryptoAddressSelect;
1433
+ };
1434
+ };
1470
1435
  /** A `ConnectedAccount` edge in the connection. */
1471
1436
  export interface ConnectedAccountEdge {
1472
1437
  cursor?: string | null;
@@ -1491,16 +1456,16 @@ export type AuditLogEdgeSelect = {
1491
1456
  select: AuditLogSelect;
1492
1457
  };
1493
1458
  };
1494
- /** A `Email` edge in the connection. */
1495
- export interface EmailEdge {
1459
+ /** A `RoleType` edge in the connection. */
1460
+ export interface RoleTypeEdge {
1496
1461
  cursor?: string | null;
1497
- /** The `Email` at the end of the edge. */
1498
- node?: Email | null;
1462
+ /** The `RoleType` at the end of the edge. */
1463
+ node?: RoleType | null;
1499
1464
  }
1500
- export type EmailEdgeSelect = {
1465
+ export type RoleTypeEdgeSelect = {
1501
1466
  cursor?: boolean;
1502
1467
  node?: {
1503
- select: EmailSelect;
1468
+ select: RoleTypeSelect;
1504
1469
  };
1505
1470
  };
1506
1471
  /** A `User` edge in the connection. */