@constructive-io/sdk 0.14.6 → 0.14.8
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.
- package/admin/orm/index.d.ts +4 -2
- package/admin/orm/index.js +4 -2
- package/admin/orm/input-types.d.ts +303 -142
- package/admin/orm/models/index.d.ts +2 -1
- package/admin/orm/models/index.js +5 -3
- package/admin/orm/models/orgMembershipSetting.d.ts +56 -0
- package/admin/orm/models/orgMembershipSetting.js +100 -0
- package/auth/orm/index.d.ts +9 -5
- package/auth/orm/index.js +4 -0
- package/auth/orm/input-types.d.ts +525 -81
- package/auth/orm/input-types.js +1 -0
- package/auth/orm/models/identityProvider.d.ts +32 -0
- package/auth/orm/models/identityProvider.js +55 -0
- package/auth/orm/models/index.d.ts +2 -0
- package/auth/orm/models/index.js +5 -1
- package/auth/orm/models/webauthnCredential.d.ts +56 -0
- package/auth/orm/models/webauthnCredential.js +100 -0
- package/auth/orm/mutation/index.d.ts +9 -9
- package/auth/orm/mutation/index.js +12 -12
- package/esm/admin/orm/index.d.ts +4 -2
- package/esm/admin/orm/index.js +4 -2
- package/esm/admin/orm/input-types.d.ts +303 -142
- package/esm/admin/orm/models/index.d.ts +2 -1
- package/esm/admin/orm/models/index.js +2 -1
- package/esm/admin/orm/models/orgMembershipSetting.d.ts +56 -0
- package/esm/admin/orm/models/orgMembershipSetting.js +96 -0
- package/esm/auth/orm/index.d.ts +9 -5
- package/esm/auth/orm/index.js +4 -0
- package/esm/auth/orm/input-types.d.ts +525 -81
- package/esm/auth/orm/input-types.js +1 -0
- package/esm/auth/orm/models/identityProvider.d.ts +32 -0
- package/esm/auth/orm/models/identityProvider.js +51 -0
- package/esm/auth/orm/models/index.d.ts +2 -0
- package/esm/auth/orm/models/index.js +2 -0
- package/esm/auth/orm/models/webauthnCredential.d.ts +56 -0
- package/esm/auth/orm/models/webauthnCredential.js +96 -0
- package/esm/auth/orm/mutation/index.d.ts +9 -9
- package/esm/auth/orm/mutation/index.js +12 -12
- package/esm/objects/orm/input-types.d.ts +12 -0
- package/esm/public/orm/index.d.ts +19 -7
- package/esm/public/orm/index.js +14 -2
- package/esm/public/orm/input-types.d.ts +1827 -366
- package/esm/public/orm/input-types.js +7 -0
- package/esm/public/orm/models/identityProvider.d.ts +32 -0
- package/esm/public/orm/models/identityProvider.js +51 -0
- package/esm/public/orm/models/identityProvidersModule.d.ts +56 -0
- package/esm/public/orm/models/identityProvidersModule.js +96 -0
- package/esm/public/orm/models/index.d.ts +7 -1
- package/esm/public/orm/models/index.js +7 -1
- package/esm/public/orm/models/notificationsModule.d.ts +56 -0
- package/esm/public/orm/models/notificationsModule.js +96 -0
- package/esm/public/orm/models/orgMembershipSetting.d.ts +56 -0
- package/esm/public/orm/models/orgMembershipSetting.js +96 -0
- package/esm/public/orm/models/webauthnAuthModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnAuthModule.js +96 -0
- package/esm/public/orm/models/webauthnCredential.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredential.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +9 -9
- package/esm/public/orm/mutation/index.js +12 -12
- package/objects/orm/input-types.d.ts +12 -0
- package/package.json +3 -3
- package/public/orm/index.d.ts +19 -7
- package/public/orm/index.js +14 -2
- package/public/orm/input-types.d.ts +1827 -366
- package/public/orm/input-types.js +7 -0
- package/public/orm/models/identityProvider.d.ts +32 -0
- package/public/orm/models/identityProvider.js +55 -0
- package/public/orm/models/identityProvidersModule.d.ts +56 -0
- package/public/orm/models/identityProvidersModule.js +100 -0
- package/public/orm/models/index.d.ts +7 -1
- package/public/orm/models/index.js +17 -5
- package/public/orm/models/notificationsModule.d.ts +56 -0
- package/public/orm/models/notificationsModule.js +100 -0
- package/public/orm/models/orgMembershipSetting.d.ts +56 -0
- package/public/orm/models/orgMembershipSetting.js +100 -0
- package/public/orm/models/webauthnAuthModule.d.ts +56 -0
- package/public/orm/models/webauthnAuthModule.js +100 -0
- package/public/orm/models/webauthnCredential.d.ts +56 -0
- package/public/orm/models/webauthnCredential.js +100 -0
- package/public/orm/mutation/index.d.ts +9 -9
- package/public/orm/mutation/index.js +12 -12
|
@@ -229,6 +229,7 @@ export interface UUIDListFilter {
|
|
|
229
229
|
anyGreaterThan?: string;
|
|
230
230
|
anyGreaterThanOrEqualTo?: string;
|
|
231
231
|
}
|
|
232
|
+
export type Base64EncodedBinary = unknown;
|
|
232
233
|
export type ConstructiveInternalTypeEmail = unknown;
|
|
233
234
|
export type ConstructiveInternalTypeImage = unknown;
|
|
234
235
|
export type ConstructiveInternalTypeOrigin = unknown;
|
|
@@ -242,6 +243,8 @@ export interface Email {
|
|
|
242
243
|
isVerified?: boolean | null;
|
|
243
244
|
/** Whether this is the user's primary email address */
|
|
244
245
|
isPrimary?: boolean | null;
|
|
246
|
+
/** Optional user-provided label for this email (e.g. "Work", "Personal"). */
|
|
247
|
+
name?: string | null;
|
|
245
248
|
createdAt?: string | null;
|
|
246
249
|
updatedAt?: string | null;
|
|
247
250
|
}
|
|
@@ -257,6 +260,8 @@ export interface PhoneNumber {
|
|
|
257
260
|
isVerified?: boolean | null;
|
|
258
261
|
/** Whether this is the user's primary phone number */
|
|
259
262
|
isPrimary?: boolean | null;
|
|
263
|
+
/** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */
|
|
264
|
+
name?: string | null;
|
|
260
265
|
createdAt?: string | null;
|
|
261
266
|
updatedAt?: string | null;
|
|
262
267
|
}
|
|
@@ -270,6 +275,35 @@ export interface CryptoAddress {
|
|
|
270
275
|
isVerified?: boolean | null;
|
|
271
276
|
/** Whether this is the user's primary cryptocurrency address */
|
|
272
277
|
isPrimary?: boolean | null;
|
|
278
|
+
/** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */
|
|
279
|
+
name?: string | null;
|
|
280
|
+
createdAt?: string | null;
|
|
281
|
+
updatedAt?: string | null;
|
|
282
|
+
}
|
|
283
|
+
/** WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object. */
|
|
284
|
+
export interface WebauthnCredential {
|
|
285
|
+
id: string;
|
|
286
|
+
ownerId?: string | null;
|
|
287
|
+
/** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */
|
|
288
|
+
credentialId?: string | null;
|
|
289
|
+
/** COSE-encoded public key bytes from the authenticator attestation. */
|
|
290
|
+
publicKey?: Base64EncodedBinary | null;
|
|
291
|
+
/** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */
|
|
292
|
+
signCount?: string | null;
|
|
293
|
+
/** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */
|
|
294
|
+
webauthnUserId?: string | null;
|
|
295
|
+
/** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */
|
|
296
|
+
transports?: string[] | null;
|
|
297
|
+
/** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */
|
|
298
|
+
credentialDeviceType?: string | null;
|
|
299
|
+
/** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
|
|
300
|
+
backupEligible?: boolean | null;
|
|
301
|
+
/** Current backup state; updated on each successful sign-in assertion. */
|
|
302
|
+
backupState?: boolean | null;
|
|
303
|
+
/** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */
|
|
304
|
+
name?: string | null;
|
|
305
|
+
/** Timestamp of the most recent successful sign-in assertion using this credential. */
|
|
306
|
+
lastUsedAt?: string | null;
|
|
273
307
|
createdAt?: string | null;
|
|
274
308
|
updatedAt?: string | null;
|
|
275
309
|
}
|
|
@@ -291,6 +325,13 @@ export interface AuditLog {
|
|
|
291
325
|
/** Timestamp when the audit event was recorded */
|
|
292
326
|
createdAt?: string | null;
|
|
293
327
|
}
|
|
328
|
+
export interface IdentityProvider {
|
|
329
|
+
slug?: string | null;
|
|
330
|
+
kind?: string | null;
|
|
331
|
+
displayName?: string | null;
|
|
332
|
+
enabled?: boolean | null;
|
|
333
|
+
isBuiltIn?: boolean | null;
|
|
334
|
+
}
|
|
294
335
|
export interface RoleType {
|
|
295
336
|
id: number;
|
|
296
337
|
name?: string | null;
|
|
@@ -341,9 +382,14 @@ export interface PhoneNumberRelations {
|
|
|
341
382
|
export interface CryptoAddressRelations {
|
|
342
383
|
owner?: User | null;
|
|
343
384
|
}
|
|
385
|
+
export interface WebauthnCredentialRelations {
|
|
386
|
+
owner?: User | null;
|
|
387
|
+
}
|
|
344
388
|
export interface AuditLogRelations {
|
|
345
389
|
actor?: User | null;
|
|
346
390
|
}
|
|
391
|
+
export interface IdentityProviderRelations {
|
|
392
|
+
}
|
|
347
393
|
export interface RoleTypeRelations {
|
|
348
394
|
}
|
|
349
395
|
export interface UserConnectedAccountRelations {
|
|
@@ -353,12 +399,15 @@ export interface UserRelations {
|
|
|
353
399
|
ownedEmails?: ConnectionResult<Email>;
|
|
354
400
|
ownedPhoneNumbers?: ConnectionResult<PhoneNumber>;
|
|
355
401
|
ownedCryptoAddresses?: ConnectionResult<CryptoAddress>;
|
|
402
|
+
ownedWebauthnCredentials?: ConnectionResult<WebauthnCredential>;
|
|
356
403
|
auditLogsByActorId?: ConnectionResult<AuditLog>;
|
|
357
404
|
}
|
|
358
405
|
export type EmailWithRelations = Email & EmailRelations;
|
|
359
406
|
export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations;
|
|
360
407
|
export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations;
|
|
408
|
+
export type WebauthnCredentialWithRelations = WebauthnCredential & WebauthnCredentialRelations;
|
|
361
409
|
export type AuditLogWithRelations = AuditLog & AuditLogRelations;
|
|
410
|
+
export type IdentityProviderWithRelations = IdentityProvider & IdentityProviderRelations;
|
|
362
411
|
export type RoleTypeWithRelations = RoleType & RoleTypeRelations;
|
|
363
412
|
export type UserConnectedAccountWithRelations = UserConnectedAccount & UserConnectedAccountRelations;
|
|
364
413
|
export type UserWithRelations = User & UserRelations;
|
|
@@ -368,6 +417,7 @@ export type EmailSelect = {
|
|
|
368
417
|
email?: boolean;
|
|
369
418
|
isVerified?: boolean;
|
|
370
419
|
isPrimary?: boolean;
|
|
420
|
+
name?: boolean;
|
|
371
421
|
createdAt?: boolean;
|
|
372
422
|
updatedAt?: boolean;
|
|
373
423
|
owner?: {
|
|
@@ -381,6 +431,7 @@ export type PhoneNumberSelect = {
|
|
|
381
431
|
number?: boolean;
|
|
382
432
|
isVerified?: boolean;
|
|
383
433
|
isPrimary?: boolean;
|
|
434
|
+
name?: boolean;
|
|
384
435
|
createdAt?: boolean;
|
|
385
436
|
updatedAt?: boolean;
|
|
386
437
|
owner?: {
|
|
@@ -393,6 +444,26 @@ export type CryptoAddressSelect = {
|
|
|
393
444
|
address?: boolean;
|
|
394
445
|
isVerified?: boolean;
|
|
395
446
|
isPrimary?: boolean;
|
|
447
|
+
name?: boolean;
|
|
448
|
+
createdAt?: boolean;
|
|
449
|
+
updatedAt?: boolean;
|
|
450
|
+
owner?: {
|
|
451
|
+
select: UserSelect;
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
export type WebauthnCredentialSelect = {
|
|
455
|
+
id?: boolean;
|
|
456
|
+
ownerId?: boolean;
|
|
457
|
+
credentialId?: boolean;
|
|
458
|
+
publicKey?: boolean;
|
|
459
|
+
signCount?: boolean;
|
|
460
|
+
webauthnUserId?: boolean;
|
|
461
|
+
transports?: boolean;
|
|
462
|
+
credentialDeviceType?: boolean;
|
|
463
|
+
backupEligible?: boolean;
|
|
464
|
+
backupState?: boolean;
|
|
465
|
+
name?: boolean;
|
|
466
|
+
lastUsedAt?: boolean;
|
|
396
467
|
createdAt?: boolean;
|
|
397
468
|
updatedAt?: boolean;
|
|
398
469
|
owner?: {
|
|
@@ -412,6 +483,13 @@ export type AuditLogSelect = {
|
|
|
412
483
|
select: UserSelect;
|
|
413
484
|
};
|
|
414
485
|
};
|
|
486
|
+
export type IdentityProviderSelect = {
|
|
487
|
+
slug?: boolean;
|
|
488
|
+
kind?: boolean;
|
|
489
|
+
displayName?: boolean;
|
|
490
|
+
enabled?: boolean;
|
|
491
|
+
isBuiltIn?: boolean;
|
|
492
|
+
};
|
|
415
493
|
export type RoleTypeSelect = {
|
|
416
494
|
id?: boolean;
|
|
417
495
|
name?: boolean;
|
|
@@ -459,6 +537,12 @@ export type UserSelect = {
|
|
|
459
537
|
filter?: CryptoAddressFilter;
|
|
460
538
|
orderBy?: CryptoAddressOrderBy[];
|
|
461
539
|
};
|
|
540
|
+
ownedWebauthnCredentials?: {
|
|
541
|
+
select: WebauthnCredentialSelect;
|
|
542
|
+
first?: number;
|
|
543
|
+
filter?: WebauthnCredentialFilter;
|
|
544
|
+
orderBy?: WebauthnCredentialOrderBy[];
|
|
545
|
+
};
|
|
462
546
|
auditLogsByActorId?: {
|
|
463
547
|
select: AuditLogSelect;
|
|
464
548
|
first?: number;
|
|
@@ -477,6 +561,8 @@ export interface EmailFilter {
|
|
|
477
561
|
isVerified?: BooleanFilter;
|
|
478
562
|
/** Filter by the object’s `isPrimary` field. */
|
|
479
563
|
isPrimary?: BooleanFilter;
|
|
564
|
+
/** Filter by the object’s `name` field. */
|
|
565
|
+
name?: StringFilter;
|
|
480
566
|
/** Filter by the object’s `createdAt` field. */
|
|
481
567
|
createdAt?: DatetimeFilter;
|
|
482
568
|
/** Filter by the object’s `updatedAt` field. */
|
|
@@ -503,6 +589,8 @@ export interface PhoneNumberFilter {
|
|
|
503
589
|
isVerified?: BooleanFilter;
|
|
504
590
|
/** Filter by the object’s `isPrimary` field. */
|
|
505
591
|
isPrimary?: BooleanFilter;
|
|
592
|
+
/** Filter by the object’s `name` field. */
|
|
593
|
+
name?: StringFilter;
|
|
506
594
|
/** Filter by the object’s `createdAt` field. */
|
|
507
595
|
createdAt?: DatetimeFilter;
|
|
508
596
|
/** Filter by the object’s `updatedAt` field. */
|
|
@@ -527,6 +615,8 @@ export interface CryptoAddressFilter {
|
|
|
527
615
|
isVerified?: BooleanFilter;
|
|
528
616
|
/** Filter by the object’s `isPrimary` field. */
|
|
529
617
|
isPrimary?: BooleanFilter;
|
|
618
|
+
/** Filter by the object’s `name` field. */
|
|
619
|
+
name?: StringFilter;
|
|
530
620
|
/** Filter by the object’s `createdAt` field. */
|
|
531
621
|
createdAt?: DatetimeFilter;
|
|
532
622
|
/** Filter by the object’s `updatedAt` field. */
|
|
@@ -540,6 +630,44 @@ export interface CryptoAddressFilter {
|
|
|
540
630
|
/** Filter by the object’s `owner` relation. */
|
|
541
631
|
owner?: UserFilter;
|
|
542
632
|
}
|
|
633
|
+
export interface WebauthnCredentialFilter {
|
|
634
|
+
/** Filter by the object’s `id` field. */
|
|
635
|
+
id?: UUIDFilter;
|
|
636
|
+
/** Filter by the object’s `ownerId` field. */
|
|
637
|
+
ownerId?: UUIDFilter;
|
|
638
|
+
/** Filter by the object’s `credentialId` field. */
|
|
639
|
+
credentialId?: StringFilter;
|
|
640
|
+
/** Filter by the object’s `publicKey` field. */
|
|
641
|
+
publicKey?: Base64EncodedBinaryFilter;
|
|
642
|
+
/** Filter by the object’s `signCount` field. */
|
|
643
|
+
signCount?: BigIntFilter;
|
|
644
|
+
/** Filter by the object’s `webauthnUserId` field. */
|
|
645
|
+
webauthnUserId?: StringFilter;
|
|
646
|
+
/** Filter by the object’s `transports` field. */
|
|
647
|
+
transports?: StringListFilter;
|
|
648
|
+
/** Filter by the object’s `credentialDeviceType` field. */
|
|
649
|
+
credentialDeviceType?: StringFilter;
|
|
650
|
+
/** Filter by the object’s `backupEligible` field. */
|
|
651
|
+
backupEligible?: BooleanFilter;
|
|
652
|
+
/** Filter by the object’s `backupState` field. */
|
|
653
|
+
backupState?: BooleanFilter;
|
|
654
|
+
/** Filter by the object’s `name` field. */
|
|
655
|
+
name?: StringFilter;
|
|
656
|
+
/** Filter by the object’s `lastUsedAt` field. */
|
|
657
|
+
lastUsedAt?: DatetimeFilter;
|
|
658
|
+
/** Filter by the object’s `createdAt` field. */
|
|
659
|
+
createdAt?: DatetimeFilter;
|
|
660
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
661
|
+
updatedAt?: DatetimeFilter;
|
|
662
|
+
/** Checks for all expressions in this list. */
|
|
663
|
+
and?: WebauthnCredentialFilter[];
|
|
664
|
+
/** Checks for any expressions in this list. */
|
|
665
|
+
or?: WebauthnCredentialFilter[];
|
|
666
|
+
/** Negates the expression. */
|
|
667
|
+
not?: WebauthnCredentialFilter;
|
|
668
|
+
/** Filter by the object’s `owner` relation. */
|
|
669
|
+
owner?: UserFilter;
|
|
670
|
+
}
|
|
543
671
|
export interface AuditLogFilter {
|
|
544
672
|
/** Filter by the object’s `id` field. */
|
|
545
673
|
id?: UUIDFilter;
|
|
@@ -568,6 +696,24 @@ export interface AuditLogFilter {
|
|
|
568
696
|
/** A related `actor` exists. */
|
|
569
697
|
actorExists?: boolean;
|
|
570
698
|
}
|
|
699
|
+
export interface IdentityProviderFilter {
|
|
700
|
+
/** Filter by the object’s `slug` field. */
|
|
701
|
+
slug?: StringFilter;
|
|
702
|
+
/** Filter by the object’s `kind` field. */
|
|
703
|
+
kind?: StringFilter;
|
|
704
|
+
/** Filter by the object’s `displayName` field. */
|
|
705
|
+
displayName?: StringFilter;
|
|
706
|
+
/** Filter by the object’s `enabled` field. */
|
|
707
|
+
enabled?: BooleanFilter;
|
|
708
|
+
/** Filter by the object’s `isBuiltIn` field. */
|
|
709
|
+
isBuiltIn?: BooleanFilter;
|
|
710
|
+
/** Checks for all expressions in this list. */
|
|
711
|
+
and?: IdentityProviderFilter[];
|
|
712
|
+
/** Checks for any expressions in this list. */
|
|
713
|
+
or?: IdentityProviderFilter[];
|
|
714
|
+
/** Negates the expression. */
|
|
715
|
+
not?: IdentityProviderFilter;
|
|
716
|
+
}
|
|
571
717
|
export interface RoleTypeFilter {
|
|
572
718
|
/** Filter by the object’s `id` field. */
|
|
573
719
|
id?: IntFilter;
|
|
@@ -641,6 +787,10 @@ export interface UserFilter {
|
|
|
641
787
|
ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
|
|
642
788
|
/** `ownedCryptoAddresses` exist. */
|
|
643
789
|
ownedCryptoAddressesExist?: boolean;
|
|
790
|
+
/** Filter by the object’s `ownedWebauthnCredentials` relation. */
|
|
791
|
+
ownedWebauthnCredentials?: UserToManyWebauthnCredentialFilter;
|
|
792
|
+
/** `ownedWebauthnCredentials` exist. */
|
|
793
|
+
ownedWebauthnCredentialsExist?: boolean;
|
|
644
794
|
/** Filter by the object’s `auditLogsByActorId` relation. */
|
|
645
795
|
auditLogsByActorId?: UserToManyAuditLogFilter;
|
|
646
796
|
/** `auditLogsByActorId` exist. */
|
|
@@ -657,10 +807,12 @@ export interface UserFilter {
|
|
|
657
807
|
*/
|
|
658
808
|
unifiedSearch?: string;
|
|
659
809
|
}
|
|
660
|
-
export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
661
|
-
export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CC_ASC' | 'CC_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
662
|
-
export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
810
|
+
export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
811
|
+
export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CC_ASC' | 'CC_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
812
|
+
export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
813
|
+
export type WebauthnCredentialOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREDENTIAL_ID_ASC' | 'CREDENTIAL_ID_DESC' | 'PUBLIC_KEY_ASC' | 'PUBLIC_KEY_DESC' | 'SIGN_COUNT_ASC' | 'SIGN_COUNT_DESC' | 'WEBAUTHN_USER_ID_ASC' | 'WEBAUTHN_USER_ID_DESC' | 'TRANSPORTS_ASC' | 'TRANSPORTS_DESC' | 'CREDENTIAL_DEVICE_TYPE_ASC' | 'CREDENTIAL_DEVICE_TYPE_DESC' | 'BACKUP_ELIGIBLE_ASC' | 'BACKUP_ELIGIBLE_DESC' | 'BACKUP_STATE_ASC' | 'BACKUP_STATE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
663
814
|
export type AuditLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ORIGIN_ASC' | 'ORIGIN_DESC' | 'USER_AGENT_ASC' | 'USER_AGENT_DESC' | 'IP_ADDRESS_ASC' | 'IP_ADDRESS_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
|
|
815
|
+
export type IdentityProviderOrderBy = 'NATURAL' | 'SLUG_ASC' | 'SLUG_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ENABLED_ASC' | 'ENABLED_DESC' | 'IS_BUILT_IN_ASC' | 'IS_BUILT_IN_DESC';
|
|
664
816
|
export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
|
|
665
817
|
export type UserConnectedAccountOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'DETAILS_ASC' | 'DETAILS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
666
818
|
export type UserOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC' | 'SEARCH_TSV_ASC' | 'SEARCH_TSV_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC';
|
|
@@ -671,6 +823,7 @@ export interface CreateEmailInput {
|
|
|
671
823
|
email: ConstructiveInternalTypeEmail;
|
|
672
824
|
isVerified?: boolean;
|
|
673
825
|
isPrimary?: boolean;
|
|
826
|
+
name?: string;
|
|
674
827
|
};
|
|
675
828
|
}
|
|
676
829
|
export interface EmailPatch {
|
|
@@ -678,6 +831,7 @@ export interface EmailPatch {
|
|
|
678
831
|
email?: ConstructiveInternalTypeEmail | null;
|
|
679
832
|
isVerified?: boolean | null;
|
|
680
833
|
isPrimary?: boolean | null;
|
|
834
|
+
name?: string | null;
|
|
681
835
|
}
|
|
682
836
|
export interface UpdateEmailInput {
|
|
683
837
|
clientMutationId?: string;
|
|
@@ -696,6 +850,7 @@ export interface CreatePhoneNumberInput {
|
|
|
696
850
|
number: string;
|
|
697
851
|
isVerified?: boolean;
|
|
698
852
|
isPrimary?: boolean;
|
|
853
|
+
name?: string;
|
|
699
854
|
};
|
|
700
855
|
}
|
|
701
856
|
export interface PhoneNumberPatch {
|
|
@@ -704,6 +859,7 @@ export interface PhoneNumberPatch {
|
|
|
704
859
|
number?: string | null;
|
|
705
860
|
isVerified?: boolean | null;
|
|
706
861
|
isPrimary?: boolean | null;
|
|
862
|
+
name?: string | null;
|
|
707
863
|
}
|
|
708
864
|
export interface UpdatePhoneNumberInput {
|
|
709
865
|
clientMutationId?: string;
|
|
@@ -721,6 +877,7 @@ export interface CreateCryptoAddressInput {
|
|
|
721
877
|
address: string;
|
|
722
878
|
isVerified?: boolean;
|
|
723
879
|
isPrimary?: boolean;
|
|
880
|
+
name?: string;
|
|
724
881
|
};
|
|
725
882
|
}
|
|
726
883
|
export interface CryptoAddressPatch {
|
|
@@ -728,6 +885,7 @@ export interface CryptoAddressPatch {
|
|
|
728
885
|
address?: string | null;
|
|
729
886
|
isVerified?: boolean | null;
|
|
730
887
|
isPrimary?: boolean | null;
|
|
888
|
+
name?: string | null;
|
|
731
889
|
}
|
|
732
890
|
export interface UpdateCryptoAddressInput {
|
|
733
891
|
clientMutationId?: string;
|
|
@@ -738,6 +896,44 @@ export interface DeleteCryptoAddressInput {
|
|
|
738
896
|
clientMutationId?: string;
|
|
739
897
|
id: string;
|
|
740
898
|
}
|
|
899
|
+
export interface CreateWebauthnCredentialInput {
|
|
900
|
+
clientMutationId?: string;
|
|
901
|
+
webauthnCredential: {
|
|
902
|
+
ownerId?: string;
|
|
903
|
+
credentialId: string;
|
|
904
|
+
publicKey: Base64EncodedBinary;
|
|
905
|
+
signCount?: string;
|
|
906
|
+
webauthnUserId: string;
|
|
907
|
+
transports?: string[];
|
|
908
|
+
credentialDeviceType: string;
|
|
909
|
+
backupEligible?: boolean;
|
|
910
|
+
backupState?: boolean;
|
|
911
|
+
name?: string;
|
|
912
|
+
lastUsedAt?: string;
|
|
913
|
+
};
|
|
914
|
+
}
|
|
915
|
+
export interface WebauthnCredentialPatch {
|
|
916
|
+
ownerId?: string | null;
|
|
917
|
+
credentialId?: string | null;
|
|
918
|
+
publicKey?: Base64EncodedBinary | null;
|
|
919
|
+
signCount?: string | null;
|
|
920
|
+
webauthnUserId?: string | null;
|
|
921
|
+
transports?: string[] | null;
|
|
922
|
+
credentialDeviceType?: string | null;
|
|
923
|
+
backupEligible?: boolean | null;
|
|
924
|
+
backupState?: boolean | null;
|
|
925
|
+
name?: string | null;
|
|
926
|
+
lastUsedAt?: string | null;
|
|
927
|
+
}
|
|
928
|
+
export interface UpdateWebauthnCredentialInput {
|
|
929
|
+
clientMutationId?: string;
|
|
930
|
+
id: string;
|
|
931
|
+
webauthnCredentialPatch: WebauthnCredentialPatch;
|
|
932
|
+
}
|
|
933
|
+
export interface DeleteWebauthnCredentialInput {
|
|
934
|
+
clientMutationId?: string;
|
|
935
|
+
id: string;
|
|
936
|
+
}
|
|
741
937
|
export interface CreateAuditLogInput {
|
|
742
938
|
clientMutationId?: string;
|
|
743
939
|
auditLog: {
|
|
@@ -766,6 +962,32 @@ export interface DeleteAuditLogInput {
|
|
|
766
962
|
clientMutationId?: string;
|
|
767
963
|
id: string;
|
|
768
964
|
}
|
|
965
|
+
export interface CreateIdentityProviderInput {
|
|
966
|
+
clientMutationId?: string;
|
|
967
|
+
identityProvider: {
|
|
968
|
+
slug?: string;
|
|
969
|
+
kind?: string;
|
|
970
|
+
displayName?: string;
|
|
971
|
+
enabled?: boolean;
|
|
972
|
+
isBuiltIn?: boolean;
|
|
973
|
+
};
|
|
974
|
+
}
|
|
975
|
+
export interface IdentityProviderPatch {
|
|
976
|
+
slug?: string | null;
|
|
977
|
+
kind?: string | null;
|
|
978
|
+
displayName?: string | null;
|
|
979
|
+
enabled?: boolean | null;
|
|
980
|
+
isBuiltIn?: boolean | null;
|
|
981
|
+
}
|
|
982
|
+
export interface UpdateIdentityProviderInput {
|
|
983
|
+
clientMutationId?: string;
|
|
984
|
+
id: string;
|
|
985
|
+
identityProviderPatch: IdentityProviderPatch;
|
|
986
|
+
}
|
|
987
|
+
export interface DeleteIdentityProviderInput {
|
|
988
|
+
clientMutationId?: string;
|
|
989
|
+
id: string;
|
|
990
|
+
}
|
|
769
991
|
export interface CreateRoleTypeInput {
|
|
770
992
|
clientMutationId?: string;
|
|
771
993
|
roleType: {
|
|
@@ -892,12 +1114,6 @@ export interface ResetPasswordInput {
|
|
|
892
1114
|
resetToken?: string;
|
|
893
1115
|
newPassword?: string;
|
|
894
1116
|
}
|
|
895
|
-
export interface CreateApiKeyInput {
|
|
896
|
-
clientMutationId?: string;
|
|
897
|
-
keyName: string;
|
|
898
|
-
accessLevel?: string;
|
|
899
|
-
mfaLevel?: string;
|
|
900
|
-
}
|
|
901
1117
|
export interface SignInCrossOriginInput {
|
|
902
1118
|
clientMutationId?: string;
|
|
903
1119
|
token?: string;
|
|
@@ -931,6 +1147,13 @@ export interface ExtendTokenExpiresInput {
|
|
|
931
1147
|
clientMutationId?: string;
|
|
932
1148
|
amount?: IntervalInput;
|
|
933
1149
|
}
|
|
1150
|
+
export interface CreateApiKeyInput {
|
|
1151
|
+
clientMutationId?: string;
|
|
1152
|
+
keyName?: string;
|
|
1153
|
+
accessLevel?: string;
|
|
1154
|
+
mfaLevel?: string;
|
|
1155
|
+
expiresIn?: IntervalInput;
|
|
1156
|
+
}
|
|
934
1157
|
export interface ForgotPasswordInput {
|
|
935
1158
|
clientMutationId?: string;
|
|
936
1159
|
email?: ConstructiveInternalTypeEmail;
|
|
@@ -942,6 +1165,13 @@ export interface SendVerificationEmailInput {
|
|
|
942
1165
|
export interface RequestUploadUrlInput {
|
|
943
1166
|
/** Bucket key (e.g., "public", "private") */
|
|
944
1167
|
bucketKey: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* Owner entity ID for entity-scoped uploads.
|
|
1170
|
+
* Omit for app-level (database-wide) storage.
|
|
1171
|
+
* When provided, resolves the storage module for the entity type
|
|
1172
|
+
* that owns this entity instance (e.g., a data room ID, team ID).
|
|
1173
|
+
*/
|
|
1174
|
+
ownerId?: string;
|
|
945
1175
|
/** SHA-256 content hash computed by the client (hex-encoded, 64 chars) */
|
|
946
1176
|
contentHash: string;
|
|
947
1177
|
/** MIME type of the file (e.g., "image/png") */
|
|
@@ -958,6 +1188,11 @@ export interface ConfirmUploadInput {
|
|
|
958
1188
|
export interface ProvisionBucketInput {
|
|
959
1189
|
/** The logical bucket key (e.g., "public", "private") */
|
|
960
1190
|
bucketKey: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* Owner entity ID for entity-scoped bucket provisioning.
|
|
1193
|
+
* Omit for app-level (database-wide) storage.
|
|
1194
|
+
*/
|
|
1195
|
+
ownerId?: string;
|
|
961
1196
|
}
|
|
962
1197
|
/** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
|
|
963
1198
|
export interface ConstructiveInternalTypeEmailFilter {
|
|
@@ -1036,6 +1271,23 @@ export interface ConstructiveInternalTypeEmailFilter {
|
|
|
1036
1271
|
/** Greater than or equal to the specified value (case-insensitive). */
|
|
1037
1272
|
greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail;
|
|
1038
1273
|
}
|
|
1274
|
+
/** A filter to be used against Base64EncodedBinary fields. All fields are combined with a logical ‘and.’ */
|
|
1275
|
+
export interface Base64EncodedBinaryFilter {
|
|
1276
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1277
|
+
isNull?: boolean;
|
|
1278
|
+
/** Equal to the specified value. */
|
|
1279
|
+
equalTo?: Base64EncodedBinary;
|
|
1280
|
+
/** Not equal to the specified value. */
|
|
1281
|
+
notEqualTo?: Base64EncodedBinary;
|
|
1282
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1283
|
+
distinctFrom?: Base64EncodedBinary;
|
|
1284
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1285
|
+
notDistinctFrom?: Base64EncodedBinary;
|
|
1286
|
+
/** Included in the specified list. */
|
|
1287
|
+
in?: Base64EncodedBinary[];
|
|
1288
|
+
/** Not included in the specified list. */
|
|
1289
|
+
notIn?: Base64EncodedBinary[];
|
|
1290
|
+
}
|
|
1039
1291
|
/** A filter to be used against ConstructiveInternalTypeOrigin fields. All fields are combined with a logical ‘and.’ */
|
|
1040
1292
|
export interface ConstructiveInternalTypeOriginFilter {
|
|
1041
1293
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
@@ -1256,6 +1508,15 @@ export interface UserToManyCryptoAddressFilter {
|
|
|
1256
1508
|
/** Filters to entities where no related entity matches. */
|
|
1257
1509
|
none?: CryptoAddressFilter;
|
|
1258
1510
|
}
|
|
1511
|
+
/** A filter to be used against many `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
|
|
1512
|
+
export interface UserToManyWebauthnCredentialFilter {
|
|
1513
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1514
|
+
some?: WebauthnCredentialFilter;
|
|
1515
|
+
/** Filters to entities where every related entity matches. */
|
|
1516
|
+
every?: WebauthnCredentialFilter;
|
|
1517
|
+
/** Filters to entities where no related entity matches. */
|
|
1518
|
+
none?: WebauthnCredentialFilter;
|
|
1519
|
+
}
|
|
1259
1520
|
/** A filter to be used against many `AuditLog` object types. All fields are combined with a logical ‘and.’ */
|
|
1260
1521
|
export interface UserToManyAuditLogFilter {
|
|
1261
1522
|
/** Filters to entities where at least one related entity matches. */
|
|
@@ -1303,6 +1564,8 @@ export interface EmailFilter {
|
|
|
1303
1564
|
isVerified?: BooleanFilter;
|
|
1304
1565
|
/** Filter by the object’s `isPrimary` field. */
|
|
1305
1566
|
isPrimary?: BooleanFilter;
|
|
1567
|
+
/** Filter by the object’s `name` field. */
|
|
1568
|
+
name?: StringFilter;
|
|
1306
1569
|
/** Filter by the object’s `createdAt` field. */
|
|
1307
1570
|
createdAt?: DatetimeFilter;
|
|
1308
1571
|
/** Filter by the object’s `updatedAt` field. */
|
|
@@ -1330,6 +1593,8 @@ export interface PhoneNumberFilter {
|
|
|
1330
1593
|
isVerified?: BooleanFilter;
|
|
1331
1594
|
/** Filter by the object’s `isPrimary` field. */
|
|
1332
1595
|
isPrimary?: BooleanFilter;
|
|
1596
|
+
/** Filter by the object’s `name` field. */
|
|
1597
|
+
name?: StringFilter;
|
|
1333
1598
|
/** Filter by the object’s `createdAt` field. */
|
|
1334
1599
|
createdAt?: DatetimeFilter;
|
|
1335
1600
|
/** Filter by the object’s `updatedAt` field. */
|
|
@@ -1355,6 +1620,8 @@ export interface CryptoAddressFilter {
|
|
|
1355
1620
|
isVerified?: BooleanFilter;
|
|
1356
1621
|
/** Filter by the object’s `isPrimary` field. */
|
|
1357
1622
|
isPrimary?: BooleanFilter;
|
|
1623
|
+
/** Filter by the object’s `name` field. */
|
|
1624
|
+
name?: StringFilter;
|
|
1358
1625
|
/** Filter by the object’s `createdAt` field. */
|
|
1359
1626
|
createdAt?: DatetimeFilter;
|
|
1360
1627
|
/** Filter by the object’s `updatedAt` field. */
|
|
@@ -1368,6 +1635,45 @@ export interface CryptoAddressFilter {
|
|
|
1368
1635
|
/** Filter by the object’s `owner` relation. */
|
|
1369
1636
|
owner?: UserFilter;
|
|
1370
1637
|
}
|
|
1638
|
+
/** A filter to be used against `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
|
|
1639
|
+
export interface WebauthnCredentialFilter {
|
|
1640
|
+
/** Filter by the object’s `id` field. */
|
|
1641
|
+
id?: UUIDFilter;
|
|
1642
|
+
/** Filter by the object’s `ownerId` field. */
|
|
1643
|
+
ownerId?: UUIDFilter;
|
|
1644
|
+
/** Filter by the object’s `credentialId` field. */
|
|
1645
|
+
credentialId?: StringFilter;
|
|
1646
|
+
/** Filter by the object’s `publicKey` field. */
|
|
1647
|
+
publicKey?: Base64EncodedBinaryFilter;
|
|
1648
|
+
/** Filter by the object’s `signCount` field. */
|
|
1649
|
+
signCount?: BigIntFilter;
|
|
1650
|
+
/** Filter by the object’s `webauthnUserId` field. */
|
|
1651
|
+
webauthnUserId?: StringFilter;
|
|
1652
|
+
/** Filter by the object’s `transports` field. */
|
|
1653
|
+
transports?: StringListFilter;
|
|
1654
|
+
/** Filter by the object’s `credentialDeviceType` field. */
|
|
1655
|
+
credentialDeviceType?: StringFilter;
|
|
1656
|
+
/** Filter by the object’s `backupEligible` field. */
|
|
1657
|
+
backupEligible?: BooleanFilter;
|
|
1658
|
+
/** Filter by the object’s `backupState` field. */
|
|
1659
|
+
backupState?: BooleanFilter;
|
|
1660
|
+
/** Filter by the object’s `name` field. */
|
|
1661
|
+
name?: StringFilter;
|
|
1662
|
+
/** Filter by the object’s `lastUsedAt` field. */
|
|
1663
|
+
lastUsedAt?: DatetimeFilter;
|
|
1664
|
+
/** Filter by the object’s `createdAt` field. */
|
|
1665
|
+
createdAt?: DatetimeFilter;
|
|
1666
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
1667
|
+
updatedAt?: DatetimeFilter;
|
|
1668
|
+
/** Checks for all expressions in this list. */
|
|
1669
|
+
and?: WebauthnCredentialFilter[];
|
|
1670
|
+
/** Checks for any expressions in this list. */
|
|
1671
|
+
or?: WebauthnCredentialFilter[];
|
|
1672
|
+
/** Negates the expression. */
|
|
1673
|
+
not?: WebauthnCredentialFilter;
|
|
1674
|
+
/** Filter by the object’s `owner` relation. */
|
|
1675
|
+
owner?: UserFilter;
|
|
1676
|
+
}
|
|
1371
1677
|
/** A filter to be used against `AuditLog` object types. All fields are combined with a logical ‘and.’ */
|
|
1372
1678
|
export interface AuditLogFilter {
|
|
1373
1679
|
/** Filter by the object’s `id` field. */
|
|
@@ -1447,6 +1753,83 @@ export interface BooleanFilter {
|
|
|
1447
1753
|
/** Greater than or equal to the specified value. */
|
|
1448
1754
|
greaterThanOrEqualTo?: boolean;
|
|
1449
1755
|
}
|
|
1756
|
+
/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
|
|
1757
|
+
export interface StringFilter {
|
|
1758
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1759
|
+
isNull?: boolean;
|
|
1760
|
+
/** Equal to the specified value. */
|
|
1761
|
+
equalTo?: string;
|
|
1762
|
+
/** Not equal to the specified value. */
|
|
1763
|
+
notEqualTo?: string;
|
|
1764
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1765
|
+
distinctFrom?: string;
|
|
1766
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1767
|
+
notDistinctFrom?: string;
|
|
1768
|
+
/** Included in the specified list. */
|
|
1769
|
+
in?: string[];
|
|
1770
|
+
/** Not included in the specified list. */
|
|
1771
|
+
notIn?: string[];
|
|
1772
|
+
/** Less than the specified value. */
|
|
1773
|
+
lessThan?: string;
|
|
1774
|
+
/** Less than or equal to the specified value. */
|
|
1775
|
+
lessThanOrEqualTo?: string;
|
|
1776
|
+
/** Greater than the specified value. */
|
|
1777
|
+
greaterThan?: string;
|
|
1778
|
+
/** Greater than or equal to the specified value. */
|
|
1779
|
+
greaterThanOrEqualTo?: string;
|
|
1780
|
+
/** Contains the specified string (case-sensitive). */
|
|
1781
|
+
includes?: string;
|
|
1782
|
+
/** Does not contain the specified string (case-sensitive). */
|
|
1783
|
+
notIncludes?: string;
|
|
1784
|
+
/** Contains the specified string (case-insensitive). */
|
|
1785
|
+
includesInsensitive?: string;
|
|
1786
|
+
/** Does not contain the specified string (case-insensitive). */
|
|
1787
|
+
notIncludesInsensitive?: string;
|
|
1788
|
+
/** Starts with the specified string (case-sensitive). */
|
|
1789
|
+
startsWith?: string;
|
|
1790
|
+
/** Does not start with the specified string (case-sensitive). */
|
|
1791
|
+
notStartsWith?: string;
|
|
1792
|
+
/** Starts with the specified string (case-insensitive). */
|
|
1793
|
+
startsWithInsensitive?: string;
|
|
1794
|
+
/** Does not start with the specified string (case-insensitive). */
|
|
1795
|
+
notStartsWithInsensitive?: string;
|
|
1796
|
+
/** Ends with the specified string (case-sensitive). */
|
|
1797
|
+
endsWith?: string;
|
|
1798
|
+
/** Does not end with the specified string (case-sensitive). */
|
|
1799
|
+
notEndsWith?: string;
|
|
1800
|
+
/** Ends with the specified string (case-insensitive). */
|
|
1801
|
+
endsWithInsensitive?: string;
|
|
1802
|
+
/** Does not end with the specified string (case-insensitive). */
|
|
1803
|
+
notEndsWithInsensitive?: string;
|
|
1804
|
+
/** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1805
|
+
like?: string;
|
|
1806
|
+
/** 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. */
|
|
1807
|
+
notLike?: string;
|
|
1808
|
+
/** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */
|
|
1809
|
+
likeInsensitive?: string;
|
|
1810
|
+
/** 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. */
|
|
1811
|
+
notLikeInsensitive?: string;
|
|
1812
|
+
/** Equal to the specified value (case-insensitive). */
|
|
1813
|
+
equalToInsensitive?: string;
|
|
1814
|
+
/** Not equal to the specified value (case-insensitive). */
|
|
1815
|
+
notEqualToInsensitive?: string;
|
|
1816
|
+
/** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
1817
|
+
distinctFromInsensitive?: string;
|
|
1818
|
+
/** Equal to the specified value, treating null like an ordinary value (case-insensitive). */
|
|
1819
|
+
notDistinctFromInsensitive?: string;
|
|
1820
|
+
/** Included in the specified list (case-insensitive). */
|
|
1821
|
+
inInsensitive?: string[];
|
|
1822
|
+
/** Not included in the specified list (case-insensitive). */
|
|
1823
|
+
notInInsensitive?: string[];
|
|
1824
|
+
/** Less than the specified value (case-insensitive). */
|
|
1825
|
+
lessThanInsensitive?: string;
|
|
1826
|
+
/** Less than or equal to the specified value (case-insensitive). */
|
|
1827
|
+
lessThanOrEqualToInsensitive?: string;
|
|
1828
|
+
/** Greater than the specified value (case-insensitive). */
|
|
1829
|
+
greaterThanInsensitive?: string;
|
|
1830
|
+
/** Greater than or equal to the specified value (case-insensitive). */
|
|
1831
|
+
greaterThanOrEqualToInsensitive?: string;
|
|
1832
|
+
}
|
|
1450
1833
|
/** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
|
|
1451
1834
|
export interface DatetimeFilter {
|
|
1452
1835
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
@@ -1510,6 +1893,10 @@ export interface UserFilter {
|
|
|
1510
1893
|
ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
|
|
1511
1894
|
/** `ownedCryptoAddresses` exist. */
|
|
1512
1895
|
ownedCryptoAddressesExist?: boolean;
|
|
1896
|
+
/** Filter by the object’s `ownedWebauthnCredentials` relation. */
|
|
1897
|
+
ownedWebauthnCredentials?: UserToManyWebauthnCredentialFilter;
|
|
1898
|
+
/** `ownedWebauthnCredentials` exist. */
|
|
1899
|
+
ownedWebauthnCredentialsExist?: boolean;
|
|
1513
1900
|
/** Filter by the object’s `auditLogsByActorId` relation. */
|
|
1514
1901
|
auditLogsByActorId?: UserToManyAuditLogFilter;
|
|
1515
1902
|
/** `auditLogsByActorId` exist. */
|
|
@@ -1526,8 +1913,8 @@ export interface UserFilter {
|
|
|
1526
1913
|
*/
|
|
1527
1914
|
unifiedSearch?: string;
|
|
1528
1915
|
}
|
|
1529
|
-
/** A filter to be used against
|
|
1530
|
-
export interface
|
|
1916
|
+
/** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */
|
|
1917
|
+
export interface BigIntFilter {
|
|
1531
1918
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1532
1919
|
isNull?: boolean;
|
|
1533
1920
|
/** Equal to the specified value. */
|
|
@@ -1550,58 +1937,45 @@ export interface StringFilter {
|
|
|
1550
1937
|
greaterThan?: string;
|
|
1551
1938
|
/** Greater than or equal to the specified value. */
|
|
1552
1939
|
greaterThanOrEqualTo?: string;
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
notDistinctFromInsensitive?: string;
|
|
1593
|
-
/** Included in the specified list (case-insensitive). */
|
|
1594
|
-
inInsensitive?: string[];
|
|
1595
|
-
/** Not included in the specified list (case-insensitive). */
|
|
1596
|
-
notInInsensitive?: string[];
|
|
1597
|
-
/** Less than the specified value (case-insensitive). */
|
|
1598
|
-
lessThanInsensitive?: string;
|
|
1599
|
-
/** Less than or equal to the specified value (case-insensitive). */
|
|
1600
|
-
lessThanOrEqualToInsensitive?: string;
|
|
1601
|
-
/** Greater than the specified value (case-insensitive). */
|
|
1602
|
-
greaterThanInsensitive?: string;
|
|
1603
|
-
/** Greater than or equal to the specified value (case-insensitive). */
|
|
1604
|
-
greaterThanOrEqualToInsensitive?: string;
|
|
1940
|
+
}
|
|
1941
|
+
/** A filter to be used against String List fields. All fields are combined with a logical ‘and.’ */
|
|
1942
|
+
export interface StringListFilter {
|
|
1943
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1944
|
+
isNull?: boolean;
|
|
1945
|
+
/** Equal to the specified value. */
|
|
1946
|
+
equalTo?: string[];
|
|
1947
|
+
/** Not equal to the specified value. */
|
|
1948
|
+
notEqualTo?: string[];
|
|
1949
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1950
|
+
distinctFrom?: string[];
|
|
1951
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1952
|
+
notDistinctFrom?: string[];
|
|
1953
|
+
/** Less than the specified value. */
|
|
1954
|
+
lessThan?: string[];
|
|
1955
|
+
/** Less than or equal to the specified value. */
|
|
1956
|
+
lessThanOrEqualTo?: string[];
|
|
1957
|
+
/** Greater than the specified value. */
|
|
1958
|
+
greaterThan?: string[];
|
|
1959
|
+
/** Greater than or equal to the specified value. */
|
|
1960
|
+
greaterThanOrEqualTo?: string[];
|
|
1961
|
+
/** Contains the specified list of values. */
|
|
1962
|
+
contains?: string[];
|
|
1963
|
+
/** Contained by the specified list of values. */
|
|
1964
|
+
containedBy?: string[];
|
|
1965
|
+
/** Overlaps the specified list of values. */
|
|
1966
|
+
overlaps?: string[];
|
|
1967
|
+
/** Any array item is equal to the specified value. */
|
|
1968
|
+
anyEqualTo?: string;
|
|
1969
|
+
/** Any array item is not equal to the specified value. */
|
|
1970
|
+
anyNotEqualTo?: string;
|
|
1971
|
+
/** Any array item is less than the specified value. */
|
|
1972
|
+
anyLessThan?: string;
|
|
1973
|
+
/** Any array item is less than or equal to the specified value. */
|
|
1974
|
+
anyLessThanOrEqualTo?: string;
|
|
1975
|
+
/** Any array item is greater than the specified value. */
|
|
1976
|
+
anyGreaterThan?: string;
|
|
1977
|
+
/** Any array item is greater than or equal to the specified value. */
|
|
1978
|
+
anyGreaterThanOrEqualTo?: string;
|
|
1605
1979
|
}
|
|
1606
1980
|
/** A filter to be used against InternetAddress fields. All fields are combined with a logical ‘and.’ */
|
|
1607
1981
|
export interface InternetAddressFilter {
|
|
@@ -1795,16 +2169,6 @@ export type ResetPasswordPayloadSelect = {
|
|
|
1795
2169
|
clientMutationId?: boolean;
|
|
1796
2170
|
result?: boolean;
|
|
1797
2171
|
};
|
|
1798
|
-
export interface CreateApiKeyPayload {
|
|
1799
|
-
clientMutationId?: string | null;
|
|
1800
|
-
result?: CreateApiKeyRecord | null;
|
|
1801
|
-
}
|
|
1802
|
-
export type CreateApiKeyPayloadSelect = {
|
|
1803
|
-
clientMutationId?: boolean;
|
|
1804
|
-
result?: {
|
|
1805
|
-
select: CreateApiKeyRecordSelect;
|
|
1806
|
-
};
|
|
1807
|
-
};
|
|
1808
2172
|
export interface SignInCrossOriginPayload {
|
|
1809
2173
|
clientMutationId?: string | null;
|
|
1810
2174
|
result?: SignInCrossOriginRecord | null;
|
|
@@ -1853,6 +2217,16 @@ export type ExtendTokenExpiresPayloadSelect = {
|
|
|
1853
2217
|
select: ExtendTokenExpiresRecordSelect;
|
|
1854
2218
|
};
|
|
1855
2219
|
};
|
|
2220
|
+
export interface CreateApiKeyPayload {
|
|
2221
|
+
clientMutationId?: string | null;
|
|
2222
|
+
result?: CreateApiKeyRecord | null;
|
|
2223
|
+
}
|
|
2224
|
+
export type CreateApiKeyPayloadSelect = {
|
|
2225
|
+
clientMutationId?: boolean;
|
|
2226
|
+
result?: {
|
|
2227
|
+
select: CreateApiKeyRecordSelect;
|
|
2228
|
+
};
|
|
2229
|
+
};
|
|
1856
2230
|
export interface ForgotPasswordPayload {
|
|
1857
2231
|
clientMutationId?: string | null;
|
|
1858
2232
|
}
|
|
@@ -2056,6 +2430,51 @@ export type DeleteCryptoAddressPayloadSelect = {
|
|
|
2056
2430
|
select: CryptoAddressEdgeSelect;
|
|
2057
2431
|
};
|
|
2058
2432
|
};
|
|
2433
|
+
export interface CreateWebauthnCredentialPayload {
|
|
2434
|
+
clientMutationId?: string | null;
|
|
2435
|
+
/** The `WebauthnCredential` that was created by this mutation. */
|
|
2436
|
+
webauthnCredential?: WebauthnCredential | null;
|
|
2437
|
+
webauthnCredentialEdge?: WebauthnCredentialEdge | null;
|
|
2438
|
+
}
|
|
2439
|
+
export type CreateWebauthnCredentialPayloadSelect = {
|
|
2440
|
+
clientMutationId?: boolean;
|
|
2441
|
+
webauthnCredential?: {
|
|
2442
|
+
select: WebauthnCredentialSelect;
|
|
2443
|
+
};
|
|
2444
|
+
webauthnCredentialEdge?: {
|
|
2445
|
+
select: WebauthnCredentialEdgeSelect;
|
|
2446
|
+
};
|
|
2447
|
+
};
|
|
2448
|
+
export interface UpdateWebauthnCredentialPayload {
|
|
2449
|
+
clientMutationId?: string | null;
|
|
2450
|
+
/** The `WebauthnCredential` that was updated by this mutation. */
|
|
2451
|
+
webauthnCredential?: WebauthnCredential | null;
|
|
2452
|
+
webauthnCredentialEdge?: WebauthnCredentialEdge | null;
|
|
2453
|
+
}
|
|
2454
|
+
export type UpdateWebauthnCredentialPayloadSelect = {
|
|
2455
|
+
clientMutationId?: boolean;
|
|
2456
|
+
webauthnCredential?: {
|
|
2457
|
+
select: WebauthnCredentialSelect;
|
|
2458
|
+
};
|
|
2459
|
+
webauthnCredentialEdge?: {
|
|
2460
|
+
select: WebauthnCredentialEdgeSelect;
|
|
2461
|
+
};
|
|
2462
|
+
};
|
|
2463
|
+
export interface DeleteWebauthnCredentialPayload {
|
|
2464
|
+
clientMutationId?: string | null;
|
|
2465
|
+
/** The `WebauthnCredential` that was deleted by this mutation. */
|
|
2466
|
+
webauthnCredential?: WebauthnCredential | null;
|
|
2467
|
+
webauthnCredentialEdge?: WebauthnCredentialEdge | null;
|
|
2468
|
+
}
|
|
2469
|
+
export type DeleteWebauthnCredentialPayloadSelect = {
|
|
2470
|
+
clientMutationId?: boolean;
|
|
2471
|
+
webauthnCredential?: {
|
|
2472
|
+
select: WebauthnCredentialSelect;
|
|
2473
|
+
};
|
|
2474
|
+
webauthnCredentialEdge?: {
|
|
2475
|
+
select: WebauthnCredentialEdgeSelect;
|
|
2476
|
+
};
|
|
2477
|
+
};
|
|
2059
2478
|
export interface CreateAuditLogPayload {
|
|
2060
2479
|
clientMutationId?: string | null;
|
|
2061
2480
|
/** The `AuditLog` that was created by this mutation. */
|
|
@@ -2101,6 +2520,17 @@ export type DeleteAuditLogPayloadSelect = {
|
|
|
2101
2520
|
select: AuditLogEdgeSelect;
|
|
2102
2521
|
};
|
|
2103
2522
|
};
|
|
2523
|
+
export interface CreateIdentityProviderPayload {
|
|
2524
|
+
clientMutationId?: string | null;
|
|
2525
|
+
/** The `IdentityProvider` that was created by this mutation. */
|
|
2526
|
+
identityProvider?: IdentityProvider | null;
|
|
2527
|
+
}
|
|
2528
|
+
export type CreateIdentityProviderPayloadSelect = {
|
|
2529
|
+
clientMutationId?: boolean;
|
|
2530
|
+
identityProvider?: {
|
|
2531
|
+
select: IdentityProviderSelect;
|
|
2532
|
+
};
|
|
2533
|
+
};
|
|
2104
2534
|
export interface CreateRoleTypePayload {
|
|
2105
2535
|
clientMutationId?: string | null;
|
|
2106
2536
|
/** The `RoleType` that was created by this mutation. */
|
|
@@ -2202,14 +2632,6 @@ export type DeleteUserPayloadSelect = {
|
|
|
2202
2632
|
select: UserEdgeSelect;
|
|
2203
2633
|
};
|
|
2204
2634
|
};
|
|
2205
|
-
export interface CreateApiKeyRecord {
|
|
2206
|
-
apiKey?: string | null;
|
|
2207
|
-
keyId?: string | null;
|
|
2208
|
-
}
|
|
2209
|
-
export type CreateApiKeyRecordSelect = {
|
|
2210
|
-
apiKey?: boolean;
|
|
2211
|
-
keyId?: boolean;
|
|
2212
|
-
};
|
|
2213
2635
|
export interface SignInCrossOriginRecord {
|
|
2214
2636
|
id?: string | null;
|
|
2215
2637
|
userId?: string | null;
|
|
@@ -2272,6 +2694,16 @@ export type ExtendTokenExpiresRecordSelect = {
|
|
|
2272
2694
|
sessionId?: boolean;
|
|
2273
2695
|
expiresAt?: boolean;
|
|
2274
2696
|
};
|
|
2697
|
+
export interface CreateApiKeyRecord {
|
|
2698
|
+
apiKey?: string | null;
|
|
2699
|
+
keyId?: string | null;
|
|
2700
|
+
expiresAt?: string | null;
|
|
2701
|
+
}
|
|
2702
|
+
export type CreateApiKeyRecordSelect = {
|
|
2703
|
+
apiKey?: boolean;
|
|
2704
|
+
keyId?: boolean;
|
|
2705
|
+
expiresAt?: boolean;
|
|
2706
|
+
};
|
|
2275
2707
|
/** A `Email` edge in the connection. */
|
|
2276
2708
|
export interface EmailEdge {
|
|
2277
2709
|
cursor?: string | null;
|
|
@@ -2308,6 +2740,18 @@ export type CryptoAddressEdgeSelect = {
|
|
|
2308
2740
|
select: CryptoAddressSelect;
|
|
2309
2741
|
};
|
|
2310
2742
|
};
|
|
2743
|
+
/** A `WebauthnCredential` edge in the connection. */
|
|
2744
|
+
export interface WebauthnCredentialEdge {
|
|
2745
|
+
cursor?: string | null;
|
|
2746
|
+
/** The `WebauthnCredential` at the end of the edge. */
|
|
2747
|
+
node?: WebauthnCredential | null;
|
|
2748
|
+
}
|
|
2749
|
+
export type WebauthnCredentialEdgeSelect = {
|
|
2750
|
+
cursor?: boolean;
|
|
2751
|
+
node?: {
|
|
2752
|
+
select: WebauthnCredentialSelect;
|
|
2753
|
+
};
|
|
2754
|
+
};
|
|
2311
2755
|
/** A `AuditLog` edge in the connection. */
|
|
2312
2756
|
export interface AuditLogEdge {
|
|
2313
2757
|
cursor?: string | null;
|