@constructive-sdk/cli 0.29.0 → 0.29.2
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/api/cli/commands/api.js +44 -0
- package/api/cli/commands/check-constraint.js +0 -22
- package/api/cli/commands/composite-type.js +0 -22
- package/api/cli/commands/database-setting.js +44 -0
- package/api/cli/commands/domain.js +66 -0
- package/api/cli/commands/enum.js +0 -22
- package/api/cli/commands/field.js +0 -22
- package/api/cli/commands/foreign-key-constraint.js +0 -22
- package/api/cli/commands/index.js +0 -22
- package/api/cli/commands/policy.js +0 -22
- package/api/cli/commands/primary-key-constraint.js +0 -22
- package/api/cli/commands/schema.js +0 -22
- package/api/cli/commands/site.js +44 -0
- package/api/cli/commands/spatial-relation.js +0 -22
- package/api/cli/commands/table.js +0 -22
- package/api/cli/commands/trigger.js +0 -22
- package/api/cli/commands/unique-constraint.js +0 -22
- package/api/cli/commands/view.js +0 -22
- package/api/orm/input-types.d.ts +144 -171
- package/auth/cli/commands/create-org-api-key.d.ts +8 -0
- package/auth/cli/commands/create-org-api-key.js +36 -0
- package/auth/cli/commands/create-org-principal.d.ts +8 -0
- package/auth/cli/commands/create-org-principal.js +36 -0
- package/auth/cli/commands/delete-org-principal.d.ts +8 -0
- package/auth/cli/commands/delete-org-principal.js +36 -0
- package/auth/cli/commands/org-api-key-list.d.ts +8 -0
- package/auth/cli/commands/org-api-key-list.js +224 -0
- package/auth/cli/commands/principal-entity.d.ts +8 -0
- package/auth/cli/commands/principal-entity.js +282 -0
- package/auth/cli/commands/principal-scope-override.d.ts +8 -0
- package/auth/cli/commands/principal-scope-override.js +171 -0
- package/auth/cli/commands/principal.d.ts +8 -0
- package/auth/cli/commands/principal.js +171 -0
- package/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
- package/auth/cli/commands/revoke-org-api-key.js +36 -0
- package/auth/cli/commands.js +19 -3
- package/auth/cli/executor.d.ts +28 -4
- package/auth/orm/index.d.ts +32 -4
- package/auth/orm/index.js +8 -0
- package/auth/orm/input-types.d.ts +915 -145
- package/auth/orm/input-types.js +7 -0
- package/auth/orm/models/index.d.ts +4 -0
- package/auth/orm/models/index.js +9 -1
- package/auth/orm/models/orgApiKeyList.d.ts +36 -0
- package/auth/orm/models/orgApiKeyList.js +80 -0
- package/auth/orm/models/principal.d.ts +45 -0
- package/auth/orm/models/principal.js +93 -0
- package/auth/orm/models/principalEntity.d.ts +54 -0
- package/auth/orm/models/principalEntity.js +104 -0
- package/auth/orm/models/principalScopeOverride.d.ts +36 -0
- package/auth/orm/models/principalScopeOverride.js +80 -0
- package/auth/orm/mutation/index.d.ts +33 -1
- package/auth/orm/mutation/index.js +48 -0
- package/auth/orm/query/index.d.ts +4 -4
- package/auth/orm/query/index.js +7 -7
- package/compute/cli/commands/function-graph-execution.js +0 -22
- package/compute/cli/commands/function-graph.js +0 -20
- package/compute/cli/commands/platform-namespace-event.d.ts +8 -0
- package/compute/cli/commands/platform-namespace-event.js +510 -0
- package/compute/cli/commands/platform-namespace.d.ts +8 -0
- package/compute/cli/commands/platform-namespace.js +436 -0
- package/compute/cli/commands/resource-event.d.ts +8 -0
- package/compute/cli/commands/resource-event.js +356 -0
- package/compute/cli/commands/resource.d.ts +8 -0
- package/compute/cli/commands/resource.js +520 -0
- package/compute/cli/commands.js +13 -5
- package/compute/cli/executor.d.ts +10 -6
- package/compute/orm/index.d.ts +15 -7
- package/compute/orm/index.js +10 -2
- package/compute/orm/input-types.d.ts +1159 -221
- package/compute/orm/input-types.js +4 -0
- package/compute/orm/models/index.d.ts +5 -1
- package/compute/orm/models/index.js +11 -3
- package/compute/orm/models/platformNamespace.d.ts +54 -0
- package/compute/orm/models/platformNamespace.js +104 -0
- package/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/compute/orm/models/platformNamespaceEvent.js +107 -0
- package/compute/orm/models/resource.d.ts +54 -0
- package/compute/orm/models/resource.js +104 -0
- package/compute/orm/models/resourceEvent.d.ts +56 -0
- package/compute/orm/models/resourceEvent.js +107 -0
- package/compute/orm/mutation/index.d.ts +9 -9
- package/compute/orm/mutation/index.js +12 -12
- package/esm/api/cli/commands/api.js +44 -0
- package/esm/api/cli/commands/check-constraint.js +0 -22
- package/esm/api/cli/commands/composite-type.js +0 -22
- package/esm/api/cli/commands/database-setting.js +44 -0
- package/esm/api/cli/commands/domain.js +66 -0
- package/esm/api/cli/commands/enum.js +0 -22
- package/esm/api/cli/commands/field.js +0 -22
- package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
- package/esm/api/cli/commands/index.js +0 -22
- package/esm/api/cli/commands/policy.js +0 -22
- package/esm/api/cli/commands/primary-key-constraint.js +0 -22
- package/esm/api/cli/commands/schema.js +0 -22
- package/esm/api/cli/commands/site.js +44 -0
- package/esm/api/cli/commands/spatial-relation.js +0 -22
- package/esm/api/cli/commands/table.js +0 -22
- package/esm/api/cli/commands/trigger.js +0 -22
- package/esm/api/cli/commands/unique-constraint.js +0 -22
- package/esm/api/cli/commands/view.js +0 -22
- package/esm/api/orm/input-types.d.ts +144 -171
- package/esm/auth/cli/commands/create-org-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/create-org-api-key.js +34 -0
- package/esm/auth/cli/commands/create-org-principal.d.ts +8 -0
- package/esm/auth/cli/commands/create-org-principal.js +34 -0
- package/esm/auth/cli/commands/delete-org-principal.d.ts +8 -0
- package/esm/auth/cli/commands/delete-org-principal.js +34 -0
- package/esm/auth/cli/commands/org-api-key-list.d.ts +8 -0
- package/esm/auth/cli/commands/org-api-key-list.js +222 -0
- package/esm/auth/cli/commands/principal-entity.d.ts +8 -0
- package/esm/auth/cli/commands/principal-entity.js +280 -0
- package/esm/auth/cli/commands/principal-scope-override.d.ts +8 -0
- package/esm/auth/cli/commands/principal-scope-override.js +169 -0
- package/esm/auth/cli/commands/principal.d.ts +8 -0
- package/esm/auth/cli/commands/principal.js +169 -0
- package/esm/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/revoke-org-api-key.js +34 -0
- package/esm/auth/cli/commands.js +19 -3
- package/esm/auth/cli/executor.d.ts +28 -4
- package/esm/auth/orm/index.d.ts +32 -4
- package/esm/auth/orm/index.js +8 -0
- package/esm/auth/orm/input-types.d.ts +915 -145
- package/esm/auth/orm/input-types.js +7 -0
- package/esm/auth/orm/models/index.d.ts +4 -0
- package/esm/auth/orm/models/index.js +4 -0
- package/esm/auth/orm/models/orgApiKeyList.d.ts +36 -0
- package/esm/auth/orm/models/orgApiKeyList.js +76 -0
- package/esm/auth/orm/models/principal.d.ts +45 -0
- package/esm/auth/orm/models/principal.js +89 -0
- package/esm/auth/orm/models/principalEntity.d.ts +54 -0
- package/esm/auth/orm/models/principalEntity.js +100 -0
- package/esm/auth/orm/models/principalScopeOverride.d.ts +36 -0
- package/esm/auth/orm/models/principalScopeOverride.js +76 -0
- package/esm/auth/orm/mutation/index.d.ts +33 -1
- package/esm/auth/orm/mutation/index.js +48 -0
- package/esm/auth/orm/query/index.d.ts +4 -4
- package/esm/auth/orm/query/index.js +7 -7
- package/esm/compute/cli/commands/function-graph-execution.js +0 -22
- package/esm/compute/cli/commands/function-graph.js +0 -20
- package/esm/compute/cli/commands/platform-namespace-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-namespace-event.js +508 -0
- package/esm/compute/cli/commands/platform-namespace.d.ts +8 -0
- package/esm/compute/cli/commands/platform-namespace.js +434 -0
- package/esm/compute/cli/commands/resource-event.d.ts +8 -0
- package/esm/compute/cli/commands/resource-event.js +354 -0
- package/esm/compute/cli/commands/resource.d.ts +8 -0
- package/esm/compute/cli/commands/resource.js +518 -0
- package/esm/compute/cli/commands.js +13 -5
- package/esm/compute/cli/executor.d.ts +10 -6
- package/esm/compute/orm/index.d.ts +15 -7
- package/esm/compute/orm/index.js +10 -2
- package/esm/compute/orm/input-types.d.ts +1159 -221
- package/esm/compute/orm/input-types.js +4 -0
- package/esm/compute/orm/models/index.d.ts +5 -1
- package/esm/compute/orm/models/index.js +5 -1
- package/esm/compute/orm/models/platformNamespace.d.ts +54 -0
- package/esm/compute/orm/models/platformNamespace.js +100 -0
- package/esm/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/esm/compute/orm/models/platformNamespaceEvent.js +103 -0
- package/esm/compute/orm/models/resource.d.ts +54 -0
- package/esm/compute/orm/models/resource.js +100 -0
- package/esm/compute/orm/models/resourceEvent.d.ts +56 -0
- package/esm/compute/orm/models/resourceEvent.js +103 -0
- package/esm/compute/orm/mutation/index.d.ts +9 -9
- package/esm/compute/orm/mutation/index.js +12 -12
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/principal-auth-module.d.ts +8 -0
- package/esm/modules/cli/commands/principal-auth-module.js +580 -0
- package/esm/modules/cli/commands/resource-module.d.ts +8 -0
- package/esm/modules/cli/commands/resource-module.js +602 -0
- package/esm/modules/cli/commands.js +9 -5
- package/esm/modules/cli/executor.d.ts +4 -2
- package/esm/modules/orm/index.d.ts +8 -4
- package/esm/modules/orm/index.js +8 -4
- package/esm/modules/orm/input-types.d.ts +868 -411
- package/esm/modules/orm/models/index.d.ts +4 -2
- package/esm/modules/orm/models/index.js +4 -2
- package/esm/modules/orm/models/principalAuthModule.d.ts +54 -0
- package/esm/modules/orm/models/principalAuthModule.js +100 -0
- package/esm/modules/orm/models/resourceModule.d.ts +54 -0
- package/esm/modules/orm/models/resourceModule.js +100 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/principal-auth-module.d.ts +8 -0
- package/modules/cli/commands/principal-auth-module.js +582 -0
- package/modules/cli/commands/resource-module.d.ts +8 -0
- package/modules/cli/commands/resource-module.js +604 -0
- package/modules/cli/commands.js +9 -5
- package/modules/cli/executor.d.ts +4 -2
- package/modules/orm/index.d.ts +8 -4
- package/modules/orm/index.js +8 -4
- package/modules/orm/input-types.d.ts +868 -411
- package/modules/orm/models/index.d.ts +4 -2
- package/modules/orm/models/index.js +10 -6
- package/modules/orm/models/principalAuthModule.d.ts +54 -0
- package/modules/orm/models/principalAuthModule.js +104 -0
- package/modules/orm/models/resourceModule.d.ts +54 -0
- package/modules/orm/models/resourceModule.js +104 -0
- package/package.json +5 -5
|
@@ -233,6 +233,52 @@ export type Base64EncodedBinary = unknown;
|
|
|
233
233
|
export type ConstructiveInternalTypeEmail = unknown;
|
|
234
234
|
export type ConstructiveInternalTypeImage = unknown;
|
|
235
235
|
export type ConstructiveInternalTypeOrigin = unknown;
|
|
236
|
+
/** Scoped sub-identities (API keys and agents) with precomputed SPRT */
|
|
237
|
+
export interface Principal {
|
|
238
|
+
id: string;
|
|
239
|
+
createdAt?: string | null;
|
|
240
|
+
updatedAt?: string | null;
|
|
241
|
+
/** The human user who owns and manages this principal */
|
|
242
|
+
ownerId?: string | null;
|
|
243
|
+
/** The user row (type=3 Principal) that represents this principal identity */
|
|
244
|
+
userId?: string | null;
|
|
245
|
+
/** Human-readable label for this principal (e.g., billing-bot, ci-deploy-key) */
|
|
246
|
+
name?: string | null;
|
|
247
|
+
/** Permission bitmask subset; all-1s means inherit all parent permissions */
|
|
248
|
+
allowedMask?: string | null;
|
|
249
|
+
/** Whether this principal is restricted to read-only operations */
|
|
250
|
+
isReadOnly?: boolean | null;
|
|
251
|
+
/** Whether this principal bypasses MFA step-up requirements */
|
|
252
|
+
bypassStepUp?: boolean | null;
|
|
253
|
+
}
|
|
254
|
+
/** Association table scoping principals to specific organizations */
|
|
255
|
+
export interface PrincipalEntity {
|
|
256
|
+
id: string;
|
|
257
|
+
createdAt?: string | null;
|
|
258
|
+
updatedAt?: string | null;
|
|
259
|
+
/** The principal this scoping row belongs to */
|
|
260
|
+
principalId?: string | null;
|
|
261
|
+
/** The organization this principal is scoped to */
|
|
262
|
+
entityId?: string | null;
|
|
263
|
+
/** Denormalized owner_id from principals table for RLS */
|
|
264
|
+
ownerId?: string | null;
|
|
265
|
+
}
|
|
266
|
+
/** Per-scope permission overrides for principals. No row = full access; row exists = apply restrictions. */
|
|
267
|
+
export interface PrincipalScopeOverride {
|
|
268
|
+
id: string;
|
|
269
|
+
createdAt?: string | null;
|
|
270
|
+
updatedAt?: string | null;
|
|
271
|
+
/** The principal this override applies to */
|
|
272
|
+
principalId?: string | null;
|
|
273
|
+
/** The scope level (membership_type) this override restricts */
|
|
274
|
+
membershipType?: number | null;
|
|
275
|
+
/** Permission bitmask for this scope; AND-masked with parent permissions during cascade */
|
|
276
|
+
allowedMask?: string | null;
|
|
277
|
+
/** Whether this principal has admin access at this scope (default true = inherit from parent) */
|
|
278
|
+
isAdmin?: boolean | null;
|
|
279
|
+
/** Whether this principal is restricted to read-only at this scope */
|
|
280
|
+
isReadOnly?: boolean | null;
|
|
281
|
+
}
|
|
236
282
|
/** User email addresses with verification and primary-email management */
|
|
237
283
|
export interface Email {
|
|
238
284
|
id: string;
|
|
@@ -346,6 +392,20 @@ export interface UserConnectedAccount {
|
|
|
346
392
|
createdAt?: string | null;
|
|
347
393
|
updatedAt?: string | null;
|
|
348
394
|
}
|
|
395
|
+
export interface OrgApiKeyList {
|
|
396
|
+
id: string;
|
|
397
|
+
keyId?: string | null;
|
|
398
|
+
name?: string | null;
|
|
399
|
+
principalId?: string | null;
|
|
400
|
+
orgId?: string | null;
|
|
401
|
+
expiresAt?: string | null;
|
|
402
|
+
revokedAt?: string | null;
|
|
403
|
+
lastUsedAt?: string | null;
|
|
404
|
+
mfaLevel?: string | null;
|
|
405
|
+
accessLevel?: string | null;
|
|
406
|
+
createdAt?: string | null;
|
|
407
|
+
updatedAt?: string | null;
|
|
408
|
+
}
|
|
349
409
|
export interface User {
|
|
350
410
|
id: string;
|
|
351
411
|
username?: string | null;
|
|
@@ -373,6 +433,20 @@ export interface PageInfo {
|
|
|
373
433
|
startCursor?: string | null;
|
|
374
434
|
endCursor?: string | null;
|
|
375
435
|
}
|
|
436
|
+
export interface PrincipalRelations {
|
|
437
|
+
owner?: User | null;
|
|
438
|
+
user?: User | null;
|
|
439
|
+
principalEntities?: ConnectionResult<PrincipalEntity>;
|
|
440
|
+
principalScopeOverrides?: ConnectionResult<PrincipalScopeOverride>;
|
|
441
|
+
}
|
|
442
|
+
export interface PrincipalEntityRelations {
|
|
443
|
+
entity?: User | null;
|
|
444
|
+
owner?: User | null;
|
|
445
|
+
principal?: Principal | null;
|
|
446
|
+
}
|
|
447
|
+
export interface PrincipalScopeOverrideRelations {
|
|
448
|
+
principal?: Principal | null;
|
|
449
|
+
}
|
|
376
450
|
export interface EmailRelations {
|
|
377
451
|
owner?: User | null;
|
|
378
452
|
}
|
|
@@ -394,14 +468,22 @@ export interface RoleTypeRelations {
|
|
|
394
468
|
}
|
|
395
469
|
export interface UserConnectedAccountRelations {
|
|
396
470
|
}
|
|
471
|
+
export interface OrgApiKeyListRelations {
|
|
472
|
+
}
|
|
397
473
|
export interface UserRelations {
|
|
398
474
|
roleType?: RoleType | null;
|
|
475
|
+
ownedPrincipals?: ConnectionResult<Principal>;
|
|
476
|
+
principals?: ConnectionResult<Principal>;
|
|
477
|
+
principalEntitiesByEntityId?: ConnectionResult<PrincipalEntity>;
|
|
399
478
|
ownedEmails?: ConnectionResult<Email>;
|
|
400
479
|
ownedPhoneNumbers?: ConnectionResult<PhoneNumber>;
|
|
401
480
|
ownedCryptoAddresses?: ConnectionResult<CryptoAddress>;
|
|
402
481
|
ownedWebauthnCredentials?: ConnectionResult<WebauthnCredential>;
|
|
403
482
|
auditLogAuthsByActorId?: ConnectionResult<AuditLogAuth>;
|
|
404
483
|
}
|
|
484
|
+
export type PrincipalWithRelations = Principal & PrincipalRelations;
|
|
485
|
+
export type PrincipalEntityWithRelations = PrincipalEntity & PrincipalEntityRelations;
|
|
486
|
+
export type PrincipalScopeOverrideWithRelations = PrincipalScopeOverride & PrincipalScopeOverrideRelations;
|
|
405
487
|
export type EmailWithRelations = Email & EmailRelations;
|
|
406
488
|
export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations;
|
|
407
489
|
export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations;
|
|
@@ -410,7 +492,67 @@ export type AuditLogAuthWithRelations = AuditLogAuth & AuditLogAuthRelations;
|
|
|
410
492
|
export type IdentityProviderWithRelations = IdentityProvider & IdentityProviderRelations;
|
|
411
493
|
export type RoleTypeWithRelations = RoleType & RoleTypeRelations;
|
|
412
494
|
export type UserConnectedAccountWithRelations = UserConnectedAccount & UserConnectedAccountRelations;
|
|
495
|
+
export type OrgApiKeyListWithRelations = OrgApiKeyList & OrgApiKeyListRelations;
|
|
413
496
|
export type UserWithRelations = User & UserRelations;
|
|
497
|
+
export type PrincipalSelect = {
|
|
498
|
+
id?: boolean;
|
|
499
|
+
createdAt?: boolean;
|
|
500
|
+
updatedAt?: boolean;
|
|
501
|
+
ownerId?: boolean;
|
|
502
|
+
userId?: boolean;
|
|
503
|
+
name?: boolean;
|
|
504
|
+
allowedMask?: boolean;
|
|
505
|
+
isReadOnly?: boolean;
|
|
506
|
+
bypassStepUp?: boolean;
|
|
507
|
+
owner?: {
|
|
508
|
+
select: UserSelect;
|
|
509
|
+
};
|
|
510
|
+
user?: {
|
|
511
|
+
select: UserSelect;
|
|
512
|
+
};
|
|
513
|
+
principalEntities?: {
|
|
514
|
+
select: PrincipalEntitySelect;
|
|
515
|
+
first?: number;
|
|
516
|
+
filter?: PrincipalEntityFilter;
|
|
517
|
+
orderBy?: PrincipalEntityOrderBy[];
|
|
518
|
+
};
|
|
519
|
+
principalScopeOverrides?: {
|
|
520
|
+
select: PrincipalScopeOverrideSelect;
|
|
521
|
+
first?: number;
|
|
522
|
+
filter?: PrincipalScopeOverrideFilter;
|
|
523
|
+
orderBy?: PrincipalScopeOverrideOrderBy[];
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
export type PrincipalEntitySelect = {
|
|
527
|
+
id?: boolean;
|
|
528
|
+
createdAt?: boolean;
|
|
529
|
+
updatedAt?: boolean;
|
|
530
|
+
principalId?: boolean;
|
|
531
|
+
entityId?: boolean;
|
|
532
|
+
ownerId?: boolean;
|
|
533
|
+
entity?: {
|
|
534
|
+
select: UserSelect;
|
|
535
|
+
};
|
|
536
|
+
owner?: {
|
|
537
|
+
select: UserSelect;
|
|
538
|
+
};
|
|
539
|
+
principal?: {
|
|
540
|
+
select: PrincipalSelect;
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
export type PrincipalScopeOverrideSelect = {
|
|
544
|
+
id?: boolean;
|
|
545
|
+
createdAt?: boolean;
|
|
546
|
+
updatedAt?: boolean;
|
|
547
|
+
principalId?: boolean;
|
|
548
|
+
membershipType?: boolean;
|
|
549
|
+
allowedMask?: boolean;
|
|
550
|
+
isAdmin?: boolean;
|
|
551
|
+
isReadOnly?: boolean;
|
|
552
|
+
principal?: {
|
|
553
|
+
select: PrincipalSelect;
|
|
554
|
+
};
|
|
555
|
+
};
|
|
414
556
|
export type EmailSelect = {
|
|
415
557
|
id?: boolean;
|
|
416
558
|
ownerId?: boolean;
|
|
@@ -504,6 +646,20 @@ export type UserConnectedAccountSelect = {
|
|
|
504
646
|
createdAt?: boolean;
|
|
505
647
|
updatedAt?: boolean;
|
|
506
648
|
};
|
|
649
|
+
export type OrgApiKeyListSelect = {
|
|
650
|
+
id?: boolean;
|
|
651
|
+
keyId?: boolean;
|
|
652
|
+
name?: boolean;
|
|
653
|
+
principalId?: boolean;
|
|
654
|
+
orgId?: boolean;
|
|
655
|
+
expiresAt?: boolean;
|
|
656
|
+
revokedAt?: boolean;
|
|
657
|
+
lastUsedAt?: boolean;
|
|
658
|
+
mfaLevel?: boolean;
|
|
659
|
+
accessLevel?: boolean;
|
|
660
|
+
createdAt?: boolean;
|
|
661
|
+
updatedAt?: boolean;
|
|
662
|
+
};
|
|
507
663
|
export type UserSelect = {
|
|
508
664
|
id?: boolean;
|
|
509
665
|
username?: boolean;
|
|
@@ -519,6 +675,24 @@ export type UserSelect = {
|
|
|
519
675
|
roleType?: {
|
|
520
676
|
select: RoleTypeSelect;
|
|
521
677
|
};
|
|
678
|
+
ownedPrincipals?: {
|
|
679
|
+
select: PrincipalSelect;
|
|
680
|
+
first?: number;
|
|
681
|
+
filter?: PrincipalFilter;
|
|
682
|
+
orderBy?: PrincipalOrderBy[];
|
|
683
|
+
};
|
|
684
|
+
principals?: {
|
|
685
|
+
select: PrincipalSelect;
|
|
686
|
+
first?: number;
|
|
687
|
+
filter?: PrincipalFilter;
|
|
688
|
+
orderBy?: PrincipalOrderBy[];
|
|
689
|
+
};
|
|
690
|
+
principalEntitiesByEntityId?: {
|
|
691
|
+
select: PrincipalEntitySelect;
|
|
692
|
+
first?: number;
|
|
693
|
+
filter?: PrincipalEntityFilter;
|
|
694
|
+
orderBy?: PrincipalEntityOrderBy[];
|
|
695
|
+
};
|
|
522
696
|
ownedEmails?: {
|
|
523
697
|
select: EmailSelect;
|
|
524
698
|
first?: number;
|
|
@@ -550,6 +724,96 @@ export type UserSelect = {
|
|
|
550
724
|
orderBy?: AuditLogAuthOrderBy[];
|
|
551
725
|
};
|
|
552
726
|
};
|
|
727
|
+
export interface PrincipalFilter {
|
|
728
|
+
/** Filter by the object’s `id` field. */
|
|
729
|
+
id?: UUIDFilter;
|
|
730
|
+
/** Filter by the object’s `createdAt` field. */
|
|
731
|
+
createdAt?: DatetimeFilter;
|
|
732
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
733
|
+
updatedAt?: DatetimeFilter;
|
|
734
|
+
/** Filter by the object’s `ownerId` field. */
|
|
735
|
+
ownerId?: UUIDFilter;
|
|
736
|
+
/** Filter by the object’s `userId` field. */
|
|
737
|
+
userId?: UUIDFilter;
|
|
738
|
+
/** Filter by the object’s `name` field. */
|
|
739
|
+
name?: StringFilter;
|
|
740
|
+
/** Filter by the object’s `allowedMask` field. */
|
|
741
|
+
allowedMask?: BitStringFilter;
|
|
742
|
+
/** Filter by the object’s `isReadOnly` field. */
|
|
743
|
+
isReadOnly?: BooleanFilter;
|
|
744
|
+
/** Filter by the object’s `bypassStepUp` field. */
|
|
745
|
+
bypassStepUp?: BooleanFilter;
|
|
746
|
+
/** Checks for all expressions in this list. */
|
|
747
|
+
and?: PrincipalFilter[];
|
|
748
|
+
/** Checks for any expressions in this list. */
|
|
749
|
+
or?: PrincipalFilter[];
|
|
750
|
+
/** Negates the expression. */
|
|
751
|
+
not?: PrincipalFilter;
|
|
752
|
+
/** Filter by the object’s `owner` relation. */
|
|
753
|
+
owner?: UserFilter;
|
|
754
|
+
/** Filter by the object’s `user` relation. */
|
|
755
|
+
user?: UserFilter;
|
|
756
|
+
/** Filter by the object’s `principalEntities` relation. */
|
|
757
|
+
principalEntities?: PrincipalToManyPrincipalEntityFilter;
|
|
758
|
+
/** `principalEntities` exist. */
|
|
759
|
+
principalEntitiesExist?: boolean;
|
|
760
|
+
/** Filter by the object’s `principalScopeOverrides` relation. */
|
|
761
|
+
principalScopeOverrides?: PrincipalToManyPrincipalScopeOverrideFilter;
|
|
762
|
+
/** `principalScopeOverrides` exist. */
|
|
763
|
+
principalScopeOverridesExist?: boolean;
|
|
764
|
+
}
|
|
765
|
+
export interface PrincipalEntityFilter {
|
|
766
|
+
/** Filter by the object’s `id` field. */
|
|
767
|
+
id?: UUIDFilter;
|
|
768
|
+
/** Filter by the object’s `createdAt` field. */
|
|
769
|
+
createdAt?: DatetimeFilter;
|
|
770
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
771
|
+
updatedAt?: DatetimeFilter;
|
|
772
|
+
/** Filter by the object’s `principalId` field. */
|
|
773
|
+
principalId?: UUIDFilter;
|
|
774
|
+
/** Filter by the object’s `entityId` field. */
|
|
775
|
+
entityId?: UUIDFilter;
|
|
776
|
+
/** Filter by the object’s `ownerId` field. */
|
|
777
|
+
ownerId?: UUIDFilter;
|
|
778
|
+
/** Checks for all expressions in this list. */
|
|
779
|
+
and?: PrincipalEntityFilter[];
|
|
780
|
+
/** Checks for any expressions in this list. */
|
|
781
|
+
or?: PrincipalEntityFilter[];
|
|
782
|
+
/** Negates the expression. */
|
|
783
|
+
not?: PrincipalEntityFilter;
|
|
784
|
+
/** Filter by the object’s `entity` relation. */
|
|
785
|
+
entity?: UserFilter;
|
|
786
|
+
/** Filter by the object’s `owner` relation. */
|
|
787
|
+
owner?: UserFilter;
|
|
788
|
+
/** Filter by the object’s `principal` relation. */
|
|
789
|
+
principal?: PrincipalFilter;
|
|
790
|
+
}
|
|
791
|
+
export interface PrincipalScopeOverrideFilter {
|
|
792
|
+
/** Filter by the object’s `id` field. */
|
|
793
|
+
id?: UUIDFilter;
|
|
794
|
+
/** Filter by the object’s `createdAt` field. */
|
|
795
|
+
createdAt?: DatetimeFilter;
|
|
796
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
797
|
+
updatedAt?: DatetimeFilter;
|
|
798
|
+
/** Filter by the object’s `principalId` field. */
|
|
799
|
+
principalId?: UUIDFilter;
|
|
800
|
+
/** Filter by the object’s `membershipType` field. */
|
|
801
|
+
membershipType?: IntFilter;
|
|
802
|
+
/** Filter by the object’s `allowedMask` field. */
|
|
803
|
+
allowedMask?: BitStringFilter;
|
|
804
|
+
/** Filter by the object’s `isAdmin` field. */
|
|
805
|
+
isAdmin?: BooleanFilter;
|
|
806
|
+
/** Filter by the object’s `isReadOnly` field. */
|
|
807
|
+
isReadOnly?: BooleanFilter;
|
|
808
|
+
/** Checks for all expressions in this list. */
|
|
809
|
+
and?: PrincipalScopeOverrideFilter[];
|
|
810
|
+
/** Checks for any expressions in this list. */
|
|
811
|
+
or?: PrincipalScopeOverrideFilter[];
|
|
812
|
+
/** Negates the expression. */
|
|
813
|
+
not?: PrincipalScopeOverrideFilter;
|
|
814
|
+
/** Filter by the object’s `principal` relation. */
|
|
815
|
+
principal?: PrincipalFilter;
|
|
816
|
+
}
|
|
553
817
|
export interface EmailFilter {
|
|
554
818
|
/** Filter by the object’s `id` field. */
|
|
555
819
|
id?: UUIDFilter;
|
|
@@ -750,6 +1014,38 @@ export interface UserConnectedAccountFilter {
|
|
|
750
1014
|
/** Negates the expression. */
|
|
751
1015
|
not?: UserConnectedAccountFilter;
|
|
752
1016
|
}
|
|
1017
|
+
export interface OrgApiKeyListFilter {
|
|
1018
|
+
/** Filter by the object’s `id` field. */
|
|
1019
|
+
id?: UUIDFilter;
|
|
1020
|
+
/** Filter by the object’s `keyId` field. */
|
|
1021
|
+
keyId?: StringFilter;
|
|
1022
|
+
/** Filter by the object’s `name` field. */
|
|
1023
|
+
name?: StringFilter;
|
|
1024
|
+
/** Filter by the object’s `principalId` field. */
|
|
1025
|
+
principalId?: UUIDFilter;
|
|
1026
|
+
/** Filter by the object’s `orgId` field. */
|
|
1027
|
+
orgId?: UUIDFilter;
|
|
1028
|
+
/** Filter by the object’s `expiresAt` field. */
|
|
1029
|
+
expiresAt?: DatetimeFilter;
|
|
1030
|
+
/** Filter by the object’s `revokedAt` field. */
|
|
1031
|
+
revokedAt?: DatetimeFilter;
|
|
1032
|
+
/** Filter by the object’s `lastUsedAt` field. */
|
|
1033
|
+
lastUsedAt?: DatetimeFilter;
|
|
1034
|
+
/** Filter by the object’s `mfaLevel` field. */
|
|
1035
|
+
mfaLevel?: StringFilter;
|
|
1036
|
+
/** Filter by the object’s `accessLevel` field. */
|
|
1037
|
+
accessLevel?: StringFilter;
|
|
1038
|
+
/** Filter by the object’s `createdAt` field. */
|
|
1039
|
+
createdAt?: DatetimeFilter;
|
|
1040
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
1041
|
+
updatedAt?: DatetimeFilter;
|
|
1042
|
+
/** Checks for all expressions in this list. */
|
|
1043
|
+
and?: OrgApiKeyListFilter[];
|
|
1044
|
+
/** Checks for any expressions in this list. */
|
|
1045
|
+
or?: OrgApiKeyListFilter[];
|
|
1046
|
+
/** Negates the expression. */
|
|
1047
|
+
not?: OrgApiKeyListFilter;
|
|
1048
|
+
}
|
|
753
1049
|
export interface UserFilter {
|
|
754
1050
|
/** Filter by the object’s `id` field. */
|
|
755
1051
|
id?: UUIDFilter;
|
|
@@ -775,6 +1071,18 @@ export interface UserFilter {
|
|
|
775
1071
|
not?: UserFilter;
|
|
776
1072
|
/** Filter by the object’s `roleType` relation. */
|
|
777
1073
|
roleType?: RoleTypeFilter;
|
|
1074
|
+
/** Filter by the object’s `ownedPrincipals` relation. */
|
|
1075
|
+
ownedPrincipals?: UserToManyPrincipalFilter;
|
|
1076
|
+
/** `ownedPrincipals` exist. */
|
|
1077
|
+
ownedPrincipalsExist?: boolean;
|
|
1078
|
+
/** Filter by the object’s `principals` relation. */
|
|
1079
|
+
principals?: UserToManyPrincipalFilter;
|
|
1080
|
+
/** `principals` exist. */
|
|
1081
|
+
principalsExist?: boolean;
|
|
1082
|
+
/** Filter by the object’s `principalEntitiesByEntityId` relation. */
|
|
1083
|
+
principalEntitiesByEntityId?: UserToManyPrincipalEntityFilter;
|
|
1084
|
+
/** `principalEntitiesByEntityId` exist. */
|
|
1085
|
+
principalEntitiesByEntityIdExist?: boolean;
|
|
778
1086
|
/** Filter by the object’s `ownedEmails` relation. */
|
|
779
1087
|
ownedEmails?: UserToManyEmailFilter;
|
|
780
1088
|
/** `ownedEmails` exist. */
|
|
@@ -808,6 +1116,9 @@ export interface UserFilter {
|
|
|
808
1116
|
*/
|
|
809
1117
|
unifiedSearch?: string;
|
|
810
1118
|
}
|
|
1119
|
+
export type PrincipalOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'ALLOWED_MASK_ASC' | 'ALLOWED_MASK_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'BYPASS_STEP_UP_ASC' | 'BYPASS_STEP_UP_DESC';
|
|
1120
|
+
export type PrincipalEntityOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC';
|
|
1121
|
+
export type PrincipalScopeOverrideOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'ALLOWED_MASK_ASC' | 'ALLOWED_MASK_DESC' | 'IS_ADMIN_ASC' | 'IS_ADMIN_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC';
|
|
811
1122
|
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';
|
|
812
1123
|
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';
|
|
813
1124
|
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';
|
|
@@ -816,7 +1127,84 @@ export type AuditLogAuthOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_D
|
|
|
816
1127
|
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';
|
|
817
1128
|
export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
|
|
818
1129
|
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';
|
|
1130
|
+
export type OrgApiKeyListOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'KEY_ID_ASC' | 'KEY_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'ORG_ID_ASC' | 'ORG_ID_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'MFA_LEVEL_ASC' | 'MFA_LEVEL_DESC' | 'ACCESS_LEVEL_ASC' | 'ACCESS_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
819
1131
|
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';
|
|
1132
|
+
export interface CreatePrincipalInput {
|
|
1133
|
+
clientMutationId?: string;
|
|
1134
|
+
principal: {
|
|
1135
|
+
ownerId: string;
|
|
1136
|
+
userId: string;
|
|
1137
|
+
name?: string;
|
|
1138
|
+
allowedMask?: string;
|
|
1139
|
+
isReadOnly?: boolean;
|
|
1140
|
+
bypassStepUp?: boolean;
|
|
1141
|
+
};
|
|
1142
|
+
}
|
|
1143
|
+
export interface PrincipalPatch {
|
|
1144
|
+
ownerId?: string | null;
|
|
1145
|
+
userId?: string | null;
|
|
1146
|
+
name?: string | null;
|
|
1147
|
+
allowedMask?: string | null;
|
|
1148
|
+
isReadOnly?: boolean | null;
|
|
1149
|
+
bypassStepUp?: boolean | null;
|
|
1150
|
+
}
|
|
1151
|
+
export interface UpdatePrincipalInput {
|
|
1152
|
+
clientMutationId?: string;
|
|
1153
|
+
principalId: string;
|
|
1154
|
+
principalPatch: PrincipalPatch;
|
|
1155
|
+
}
|
|
1156
|
+
export interface DeletePrincipalInput {
|
|
1157
|
+
clientMutationId?: string;
|
|
1158
|
+
principalId: string;
|
|
1159
|
+
}
|
|
1160
|
+
export interface CreatePrincipalEntityInput {
|
|
1161
|
+
clientMutationId?: string;
|
|
1162
|
+
principalEntity: {
|
|
1163
|
+
principalId: string;
|
|
1164
|
+
entityId: string;
|
|
1165
|
+
ownerId: string;
|
|
1166
|
+
};
|
|
1167
|
+
}
|
|
1168
|
+
export interface PrincipalEntityPatch {
|
|
1169
|
+
principalId?: string | null;
|
|
1170
|
+
entityId?: string | null;
|
|
1171
|
+
ownerId?: string | null;
|
|
1172
|
+
}
|
|
1173
|
+
export interface UpdatePrincipalEntityInput {
|
|
1174
|
+
clientMutationId?: string;
|
|
1175
|
+
id: string;
|
|
1176
|
+
principalEntityPatch: PrincipalEntityPatch;
|
|
1177
|
+
}
|
|
1178
|
+
export interface DeletePrincipalEntityInput {
|
|
1179
|
+
clientMutationId?: string;
|
|
1180
|
+
id: string;
|
|
1181
|
+
}
|
|
1182
|
+
export interface CreatePrincipalScopeOverrideInput {
|
|
1183
|
+
clientMutationId?: string;
|
|
1184
|
+
principalScopeOverride: {
|
|
1185
|
+
principalId: string;
|
|
1186
|
+
membershipType?: number;
|
|
1187
|
+
allowedMask?: string;
|
|
1188
|
+
isAdmin?: boolean;
|
|
1189
|
+
isReadOnly?: boolean;
|
|
1190
|
+
};
|
|
1191
|
+
}
|
|
1192
|
+
export interface PrincipalScopeOverridePatch {
|
|
1193
|
+
principalId?: string | null;
|
|
1194
|
+
membershipType?: number | null;
|
|
1195
|
+
allowedMask?: string | null;
|
|
1196
|
+
isAdmin?: boolean | null;
|
|
1197
|
+
isReadOnly?: boolean | null;
|
|
1198
|
+
}
|
|
1199
|
+
export interface UpdatePrincipalScopeOverrideInput {
|
|
1200
|
+
clientMutationId?: string;
|
|
1201
|
+
id: string;
|
|
1202
|
+
principalScopeOverridePatch: PrincipalScopeOverridePatch;
|
|
1203
|
+
}
|
|
1204
|
+
export interface DeletePrincipalScopeOverrideInput {
|
|
1205
|
+
clientMutationId?: string;
|
|
1206
|
+
id: string;
|
|
1207
|
+
}
|
|
820
1208
|
export interface CreateEmailInput {
|
|
821
1209
|
clientMutationId?: string;
|
|
822
1210
|
email: {
|
|
@@ -1033,6 +1421,40 @@ export interface DeleteUserConnectedAccountInput {
|
|
|
1033
1421
|
clientMutationId?: string;
|
|
1034
1422
|
id: string;
|
|
1035
1423
|
}
|
|
1424
|
+
export interface CreateOrgApiKeyListInput {
|
|
1425
|
+
clientMutationId?: string;
|
|
1426
|
+
orgApiKeyList: {
|
|
1427
|
+
keyId?: string;
|
|
1428
|
+
name?: string;
|
|
1429
|
+
principalId?: string;
|
|
1430
|
+
orgId?: string;
|
|
1431
|
+
expiresAt?: string;
|
|
1432
|
+
revokedAt?: string;
|
|
1433
|
+
lastUsedAt?: string;
|
|
1434
|
+
mfaLevel?: string;
|
|
1435
|
+
accessLevel?: string;
|
|
1436
|
+
};
|
|
1437
|
+
}
|
|
1438
|
+
export interface OrgApiKeyListPatch {
|
|
1439
|
+
keyId?: string | null;
|
|
1440
|
+
name?: string | null;
|
|
1441
|
+
principalId?: string | null;
|
|
1442
|
+
orgId?: string | null;
|
|
1443
|
+
expiresAt?: string | null;
|
|
1444
|
+
revokedAt?: string | null;
|
|
1445
|
+
lastUsedAt?: string | null;
|
|
1446
|
+
mfaLevel?: string | null;
|
|
1447
|
+
accessLevel?: string | null;
|
|
1448
|
+
}
|
|
1449
|
+
export interface UpdateOrgApiKeyListInput {
|
|
1450
|
+
clientMutationId?: string;
|
|
1451
|
+
id: string;
|
|
1452
|
+
orgApiKeyListPatch: OrgApiKeyListPatch;
|
|
1453
|
+
}
|
|
1454
|
+
export interface DeleteOrgApiKeyListInput {
|
|
1455
|
+
clientMutationId?: string;
|
|
1456
|
+
id: string;
|
|
1457
|
+
}
|
|
1036
1458
|
export interface CreateUserInput {
|
|
1037
1459
|
clientMutationId?: string;
|
|
1038
1460
|
user: {
|
|
@@ -1069,6 +1491,10 @@ export interface CheckPasswordInput {
|
|
|
1069
1491
|
clientMutationId?: string;
|
|
1070
1492
|
password?: string;
|
|
1071
1493
|
}
|
|
1494
|
+
export interface DeleteOrgPrincipalInput {
|
|
1495
|
+
clientMutationId?: string;
|
|
1496
|
+
principalId?: string;
|
|
1497
|
+
}
|
|
1072
1498
|
export interface DisconnectAccountInput {
|
|
1073
1499
|
clientMutationId?: string;
|
|
1074
1500
|
accountId: string;
|
|
@@ -1094,6 +1520,11 @@ export interface ConfirmDeleteAccountInput {
|
|
|
1094
1520
|
userId?: string;
|
|
1095
1521
|
token?: string;
|
|
1096
1522
|
}
|
|
1523
|
+
export interface RevokeOrgApiKeyInput {
|
|
1524
|
+
clientMutationId?: string;
|
|
1525
|
+
keyId: string;
|
|
1526
|
+
orgId: string;
|
|
1527
|
+
}
|
|
1097
1528
|
export interface SetPasswordInput {
|
|
1098
1529
|
clientMutationId?: string;
|
|
1099
1530
|
currentPassword?: string;
|
|
@@ -1160,16 +1591,34 @@ export interface LinkIdentityInput {
|
|
|
1160
1591
|
identifier: string;
|
|
1161
1592
|
details?: Record<string, unknown>;
|
|
1162
1593
|
}
|
|
1594
|
+
export interface CreateOrgPrincipalInput {
|
|
1595
|
+
clientMutationId?: string;
|
|
1596
|
+
name?: string;
|
|
1597
|
+
orgId?: string;
|
|
1598
|
+
allowedMask?: string;
|
|
1599
|
+
isReadOnly?: boolean;
|
|
1600
|
+
bypassStepUp?: boolean;
|
|
1601
|
+
}
|
|
1163
1602
|
export interface ExtendTokenExpiresInput {
|
|
1164
1603
|
clientMutationId?: string;
|
|
1165
1604
|
amount?: IntervalInput;
|
|
1166
1605
|
}
|
|
1606
|
+
export interface CreateOrgApiKeyInput {
|
|
1607
|
+
clientMutationId?: string;
|
|
1608
|
+
orgId?: string;
|
|
1609
|
+
principalId?: string;
|
|
1610
|
+
keyName?: string;
|
|
1611
|
+
accessLevel?: string;
|
|
1612
|
+
mfaLevel?: string;
|
|
1613
|
+
expiresIn?: IntervalInput;
|
|
1614
|
+
}
|
|
1167
1615
|
export interface CreateApiKeyInput {
|
|
1168
1616
|
clientMutationId?: string;
|
|
1169
1617
|
keyName?: string;
|
|
1170
1618
|
accessLevel?: string;
|
|
1171
1619
|
mfaLevel?: string;
|
|
1172
1620
|
expiresIn?: IntervalInput;
|
|
1621
|
+
principalId?: string;
|
|
1173
1622
|
}
|
|
1174
1623
|
export interface RequestCrossOriginTokenInput {
|
|
1175
1624
|
clientMutationId?: string;
|
|
@@ -1195,6 +1644,24 @@ export interface ProvisionBucketInput {
|
|
|
1195
1644
|
*/
|
|
1196
1645
|
ownerId?: string;
|
|
1197
1646
|
}
|
|
1647
|
+
/** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
|
|
1648
|
+
export interface PrincipalToManyPrincipalEntityFilter {
|
|
1649
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1650
|
+
some?: PrincipalEntityFilter;
|
|
1651
|
+
/** Filters to entities where every related entity matches. */
|
|
1652
|
+
every?: PrincipalEntityFilter;
|
|
1653
|
+
/** Filters to entities where no related entity matches. */
|
|
1654
|
+
none?: PrincipalEntityFilter;
|
|
1655
|
+
}
|
|
1656
|
+
/** A filter to be used against many `PrincipalScopeOverride` object types. All fields are combined with a logical ‘and.’ */
|
|
1657
|
+
export interface PrincipalToManyPrincipalScopeOverrideFilter {
|
|
1658
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1659
|
+
some?: PrincipalScopeOverrideFilter;
|
|
1660
|
+
/** Filters to entities where every related entity matches. */
|
|
1661
|
+
every?: PrincipalScopeOverrideFilter;
|
|
1662
|
+
/** Filters to entities where no related entity matches. */
|
|
1663
|
+
none?: PrincipalScopeOverrideFilter;
|
|
1664
|
+
}
|
|
1198
1665
|
/** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */
|
|
1199
1666
|
export interface ConstructiveInternalTypeEmailFilter {
|
|
1200
1667
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
@@ -1482,6 +1949,24 @@ export interface ConstructiveInternalTypeImageFilter {
|
|
|
1482
1949
|
/** Contained by the specified JSON. */
|
|
1483
1950
|
containedBy?: ConstructiveInternalTypeImage;
|
|
1484
1951
|
}
|
|
1952
|
+
/** A filter to be used against many `Principal` object types. All fields are combined with a logical ‘and.’ */
|
|
1953
|
+
export interface UserToManyPrincipalFilter {
|
|
1954
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1955
|
+
some?: PrincipalFilter;
|
|
1956
|
+
/** Filters to entities where every related entity matches. */
|
|
1957
|
+
every?: PrincipalFilter;
|
|
1958
|
+
/** Filters to entities where no related entity matches. */
|
|
1959
|
+
none?: PrincipalFilter;
|
|
1960
|
+
}
|
|
1961
|
+
/** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
|
|
1962
|
+
export interface UserToManyPrincipalEntityFilter {
|
|
1963
|
+
/** Filters to entities where at least one related entity matches. */
|
|
1964
|
+
some?: PrincipalEntityFilter;
|
|
1965
|
+
/** Filters to entities where every related entity matches. */
|
|
1966
|
+
every?: PrincipalEntityFilter;
|
|
1967
|
+
/** Filters to entities where no related entity matches. */
|
|
1968
|
+
none?: PrincipalEntityFilter;
|
|
1969
|
+
}
|
|
1485
1970
|
/** A filter to be used against many `Email` object types. All fields are combined with a logical ‘and.’ */
|
|
1486
1971
|
export interface UserToManyEmailFilter {
|
|
1487
1972
|
/** Filters to entities where at least one related entity matches. */
|
|
@@ -1534,6 +2019,18 @@ export interface TrgmSearchInput {
|
|
|
1534
2019
|
/** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
|
|
1535
2020
|
threshold?: number;
|
|
1536
2021
|
}
|
|
2022
|
+
/** An input for mutations affecting `PrincipalEntity` */
|
|
2023
|
+
export interface PrincipalEntityInput {
|
|
2024
|
+
id?: string;
|
|
2025
|
+
createdAt?: string;
|
|
2026
|
+
updatedAt?: string;
|
|
2027
|
+
/** The principal this scoping row belongs to */
|
|
2028
|
+
principalId: string;
|
|
2029
|
+
/** The organization this principal is scoped to */
|
|
2030
|
+
entityId: string;
|
|
2031
|
+
/** Denormalized owner_id from principals table for RLS */
|
|
2032
|
+
ownerId: string;
|
|
2033
|
+
}
|
|
1537
2034
|
/** An input for mutations affecting `Email` */
|
|
1538
2035
|
export interface EmailInput {
|
|
1539
2036
|
id?: string;
|
|
@@ -1650,6 +2147,21 @@ export interface UserConnectedAccountInput {
|
|
|
1650
2147
|
createdAt?: string;
|
|
1651
2148
|
updatedAt?: string;
|
|
1652
2149
|
}
|
|
2150
|
+
/** An input for mutations affecting `OrgApiKeyList` */
|
|
2151
|
+
export interface OrgApiKeyListInput {
|
|
2152
|
+
id?: string;
|
|
2153
|
+
keyId?: string;
|
|
2154
|
+
name?: string;
|
|
2155
|
+
principalId?: string;
|
|
2156
|
+
orgId?: string;
|
|
2157
|
+
expiresAt?: string;
|
|
2158
|
+
revokedAt?: string;
|
|
2159
|
+
lastUsedAt?: string;
|
|
2160
|
+
mfaLevel?: string;
|
|
2161
|
+
accessLevel?: string;
|
|
2162
|
+
createdAt?: string;
|
|
2163
|
+
updatedAt?: string;
|
|
2164
|
+
}
|
|
1653
2165
|
/** An input for mutations affecting `User` */
|
|
1654
2166
|
export interface UserInput {
|
|
1655
2167
|
id?: string;
|
|
@@ -1679,64 +2191,157 @@ export interface IntervalInput {
|
|
|
1679
2191
|
/** A quantity of years. */
|
|
1680
2192
|
years?: number;
|
|
1681
2193
|
}
|
|
1682
|
-
/** A filter to be used against `
|
|
1683
|
-
export interface
|
|
2194
|
+
/** A filter to be used against `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */
|
|
2195
|
+
export interface PrincipalEntityFilter {
|
|
1684
2196
|
/** Filter by the object’s `id` field. */
|
|
1685
2197
|
id?: UUIDFilter;
|
|
1686
|
-
/** Filter by the object’s `ownerId` field. */
|
|
1687
|
-
ownerId?: UUIDFilter;
|
|
1688
|
-
/** Filter by the object’s `email` field. */
|
|
1689
|
-
email?: ConstructiveInternalTypeEmailFilter;
|
|
1690
|
-
/** Filter by the object’s `isVerified` field. */
|
|
1691
|
-
isVerified?: BooleanFilter;
|
|
1692
|
-
/** Filter by the object’s `isPrimary` field. */
|
|
1693
|
-
isPrimary?: BooleanFilter;
|
|
1694
|
-
/** Filter by the object’s `name` field. */
|
|
1695
|
-
name?: StringFilter;
|
|
1696
2198
|
/** Filter by the object’s `createdAt` field. */
|
|
1697
2199
|
createdAt?: DatetimeFilter;
|
|
1698
2200
|
/** Filter by the object’s `updatedAt` field. */
|
|
1699
2201
|
updatedAt?: DatetimeFilter;
|
|
2202
|
+
/** Filter by the object’s `principalId` field. */
|
|
2203
|
+
principalId?: UUIDFilter;
|
|
2204
|
+
/** Filter by the object’s `entityId` field. */
|
|
2205
|
+
entityId?: UUIDFilter;
|
|
2206
|
+
/** Filter by the object’s `ownerId` field. */
|
|
2207
|
+
ownerId?: UUIDFilter;
|
|
1700
2208
|
/** Checks for all expressions in this list. */
|
|
1701
|
-
and?:
|
|
2209
|
+
and?: PrincipalEntityFilter[];
|
|
1702
2210
|
/** Checks for any expressions in this list. */
|
|
1703
|
-
or?:
|
|
2211
|
+
or?: PrincipalEntityFilter[];
|
|
1704
2212
|
/** Negates the expression. */
|
|
1705
|
-
not?:
|
|
2213
|
+
not?: PrincipalEntityFilter;
|
|
2214
|
+
/** Filter by the object’s `entity` relation. */
|
|
2215
|
+
entity?: UserFilter;
|
|
1706
2216
|
/** Filter by the object’s `owner` relation. */
|
|
1707
2217
|
owner?: UserFilter;
|
|
2218
|
+
/** Filter by the object’s `principal` relation. */
|
|
2219
|
+
principal?: PrincipalFilter;
|
|
1708
2220
|
}
|
|
1709
|
-
/** A filter to be used against `
|
|
1710
|
-
export interface
|
|
2221
|
+
/** A filter to be used against `PrincipalScopeOverride` object types. All fields are combined with a logical ‘and.’ */
|
|
2222
|
+
export interface PrincipalScopeOverrideFilter {
|
|
1711
2223
|
/** Filter by the object’s `id` field. */
|
|
1712
2224
|
id?: UUIDFilter;
|
|
1713
|
-
/** Filter by the object’s `ownerId` field. */
|
|
1714
|
-
ownerId?: UUIDFilter;
|
|
1715
|
-
/** Filter by the object’s `cc` field. */
|
|
1716
|
-
cc?: StringFilter;
|
|
1717
|
-
/** Filter by the object’s `number` field. */
|
|
1718
|
-
number?: StringFilter;
|
|
1719
|
-
/** Filter by the object’s `isVerified` field. */
|
|
1720
|
-
isVerified?: BooleanFilter;
|
|
1721
|
-
/** Filter by the object’s `isPrimary` field. */
|
|
1722
|
-
isPrimary?: BooleanFilter;
|
|
1723
|
-
/** Filter by the object’s `name` field. */
|
|
1724
|
-
name?: StringFilter;
|
|
1725
2225
|
/** Filter by the object’s `createdAt` field. */
|
|
1726
2226
|
createdAt?: DatetimeFilter;
|
|
1727
2227
|
/** Filter by the object’s `updatedAt` field. */
|
|
1728
2228
|
updatedAt?: DatetimeFilter;
|
|
2229
|
+
/** Filter by the object’s `principalId` field. */
|
|
2230
|
+
principalId?: UUIDFilter;
|
|
2231
|
+
/** Filter by the object’s `membershipType` field. */
|
|
2232
|
+
membershipType?: IntFilter;
|
|
2233
|
+
/** Filter by the object’s `allowedMask` field. */
|
|
2234
|
+
allowedMask?: BitStringFilter;
|
|
2235
|
+
/** Filter by the object’s `isAdmin` field. */
|
|
2236
|
+
isAdmin?: BooleanFilter;
|
|
2237
|
+
/** Filter by the object’s `isReadOnly` field. */
|
|
2238
|
+
isReadOnly?: BooleanFilter;
|
|
1729
2239
|
/** Checks for all expressions in this list. */
|
|
1730
|
-
and?:
|
|
2240
|
+
and?: PrincipalScopeOverrideFilter[];
|
|
1731
2241
|
/** Checks for any expressions in this list. */
|
|
1732
|
-
or?:
|
|
2242
|
+
or?: PrincipalScopeOverrideFilter[];
|
|
1733
2243
|
/** Negates the expression. */
|
|
1734
|
-
not?:
|
|
1735
|
-
/** Filter by the object’s `
|
|
1736
|
-
|
|
2244
|
+
not?: PrincipalScopeOverrideFilter;
|
|
2245
|
+
/** Filter by the object’s `principal` relation. */
|
|
2246
|
+
principal?: PrincipalFilter;
|
|
1737
2247
|
}
|
|
1738
|
-
/** A filter to be used against `
|
|
1739
|
-
export interface
|
|
2248
|
+
/** A filter to be used against `Principal` object types. All fields are combined with a logical ‘and.’ */
|
|
2249
|
+
export interface PrincipalFilter {
|
|
2250
|
+
/** Filter by the object’s `id` field. */
|
|
2251
|
+
id?: UUIDFilter;
|
|
2252
|
+
/** Filter by the object’s `createdAt` field. */
|
|
2253
|
+
createdAt?: DatetimeFilter;
|
|
2254
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2255
|
+
updatedAt?: DatetimeFilter;
|
|
2256
|
+
/** Filter by the object’s `ownerId` field. */
|
|
2257
|
+
ownerId?: UUIDFilter;
|
|
2258
|
+
/** Filter by the object’s `userId` field. */
|
|
2259
|
+
userId?: UUIDFilter;
|
|
2260
|
+
/** Filter by the object’s `name` field. */
|
|
2261
|
+
name?: StringFilter;
|
|
2262
|
+
/** Filter by the object’s `allowedMask` field. */
|
|
2263
|
+
allowedMask?: BitStringFilter;
|
|
2264
|
+
/** Filter by the object’s `isReadOnly` field. */
|
|
2265
|
+
isReadOnly?: BooleanFilter;
|
|
2266
|
+
/** Filter by the object’s `bypassStepUp` field. */
|
|
2267
|
+
bypassStepUp?: BooleanFilter;
|
|
2268
|
+
/** Checks for all expressions in this list. */
|
|
2269
|
+
and?: PrincipalFilter[];
|
|
2270
|
+
/** Checks for any expressions in this list. */
|
|
2271
|
+
or?: PrincipalFilter[];
|
|
2272
|
+
/** Negates the expression. */
|
|
2273
|
+
not?: PrincipalFilter;
|
|
2274
|
+
/** Filter by the object’s `owner` relation. */
|
|
2275
|
+
owner?: UserFilter;
|
|
2276
|
+
/** Filter by the object’s `user` relation. */
|
|
2277
|
+
user?: UserFilter;
|
|
2278
|
+
/** Filter by the object’s `principalEntities` relation. */
|
|
2279
|
+
principalEntities?: PrincipalToManyPrincipalEntityFilter;
|
|
2280
|
+
/** `principalEntities` exist. */
|
|
2281
|
+
principalEntitiesExist?: boolean;
|
|
2282
|
+
/** Filter by the object’s `principalScopeOverrides` relation. */
|
|
2283
|
+
principalScopeOverrides?: PrincipalToManyPrincipalScopeOverrideFilter;
|
|
2284
|
+
/** `principalScopeOverrides` exist. */
|
|
2285
|
+
principalScopeOverridesExist?: boolean;
|
|
2286
|
+
}
|
|
2287
|
+
/** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */
|
|
2288
|
+
export interface EmailFilter {
|
|
2289
|
+
/** Filter by the object’s `id` field. */
|
|
2290
|
+
id?: UUIDFilter;
|
|
2291
|
+
/** Filter by the object’s `ownerId` field. */
|
|
2292
|
+
ownerId?: UUIDFilter;
|
|
2293
|
+
/** Filter by the object’s `email` field. */
|
|
2294
|
+
email?: ConstructiveInternalTypeEmailFilter;
|
|
2295
|
+
/** Filter by the object’s `isVerified` field. */
|
|
2296
|
+
isVerified?: BooleanFilter;
|
|
2297
|
+
/** Filter by the object’s `isPrimary` field. */
|
|
2298
|
+
isPrimary?: BooleanFilter;
|
|
2299
|
+
/** Filter by the object’s `name` field. */
|
|
2300
|
+
name?: StringFilter;
|
|
2301
|
+
/** Filter by the object’s `createdAt` field. */
|
|
2302
|
+
createdAt?: DatetimeFilter;
|
|
2303
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2304
|
+
updatedAt?: DatetimeFilter;
|
|
2305
|
+
/** Checks for all expressions in this list. */
|
|
2306
|
+
and?: EmailFilter[];
|
|
2307
|
+
/** Checks for any expressions in this list. */
|
|
2308
|
+
or?: EmailFilter[];
|
|
2309
|
+
/** Negates the expression. */
|
|
2310
|
+
not?: EmailFilter;
|
|
2311
|
+
/** Filter by the object’s `owner` relation. */
|
|
2312
|
+
owner?: UserFilter;
|
|
2313
|
+
}
|
|
2314
|
+
/** A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */
|
|
2315
|
+
export interface PhoneNumberFilter {
|
|
2316
|
+
/** Filter by the object’s `id` field. */
|
|
2317
|
+
id?: UUIDFilter;
|
|
2318
|
+
/** Filter by the object’s `ownerId` field. */
|
|
2319
|
+
ownerId?: UUIDFilter;
|
|
2320
|
+
/** Filter by the object’s `cc` field. */
|
|
2321
|
+
cc?: StringFilter;
|
|
2322
|
+
/** Filter by the object’s `number` field. */
|
|
2323
|
+
number?: StringFilter;
|
|
2324
|
+
/** Filter by the object’s `isVerified` field. */
|
|
2325
|
+
isVerified?: BooleanFilter;
|
|
2326
|
+
/** Filter by the object’s `isPrimary` field. */
|
|
2327
|
+
isPrimary?: BooleanFilter;
|
|
2328
|
+
/** Filter by the object’s `name` field. */
|
|
2329
|
+
name?: StringFilter;
|
|
2330
|
+
/** Filter by the object’s `createdAt` field. */
|
|
2331
|
+
createdAt?: DatetimeFilter;
|
|
2332
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2333
|
+
updatedAt?: DatetimeFilter;
|
|
2334
|
+
/** Checks for all expressions in this list. */
|
|
2335
|
+
and?: PhoneNumberFilter[];
|
|
2336
|
+
/** Checks for any expressions in this list. */
|
|
2337
|
+
or?: PhoneNumberFilter[];
|
|
2338
|
+
/** Negates the expression. */
|
|
2339
|
+
not?: PhoneNumberFilter;
|
|
2340
|
+
/** Filter by the object’s `owner` relation. */
|
|
2341
|
+
owner?: UserFilter;
|
|
2342
|
+
}
|
|
2343
|
+
/** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */
|
|
2344
|
+
export interface CryptoAddressFilter {
|
|
1740
2345
|
/** Filter by the object’s `id` field. */
|
|
1741
2346
|
id?: UUIDFilter;
|
|
1742
2347
|
/** Filter by the object’s `ownerId` field. */
|
|
@@ -1855,6 +2460,152 @@ export interface UUIDFilter {
|
|
|
1855
2460
|
/** Greater than or equal to the specified value. */
|
|
1856
2461
|
greaterThanOrEqualTo?: string;
|
|
1857
2462
|
}
|
|
2463
|
+
/** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
|
|
2464
|
+
export interface DatetimeFilter {
|
|
2465
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2466
|
+
isNull?: boolean;
|
|
2467
|
+
/** Equal to the specified value. */
|
|
2468
|
+
equalTo?: string;
|
|
2469
|
+
/** Not equal to the specified value. */
|
|
2470
|
+
notEqualTo?: string;
|
|
2471
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2472
|
+
distinctFrom?: string;
|
|
2473
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2474
|
+
notDistinctFrom?: string;
|
|
2475
|
+
/** Included in the specified list. */
|
|
2476
|
+
in?: string[];
|
|
2477
|
+
/** Not included in the specified list. */
|
|
2478
|
+
notIn?: string[];
|
|
2479
|
+
/** Less than the specified value. */
|
|
2480
|
+
lessThan?: string;
|
|
2481
|
+
/** Less than or equal to the specified value. */
|
|
2482
|
+
lessThanOrEqualTo?: string;
|
|
2483
|
+
/** Greater than the specified value. */
|
|
2484
|
+
greaterThan?: string;
|
|
2485
|
+
/** Greater than or equal to the specified value. */
|
|
2486
|
+
greaterThanOrEqualTo?: string;
|
|
2487
|
+
}
|
|
2488
|
+
/** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
|
|
2489
|
+
export interface UserFilter {
|
|
2490
|
+
/** Filter by the object’s `id` field. */
|
|
2491
|
+
id?: UUIDFilter;
|
|
2492
|
+
/** Filter by the object’s `username` field. */
|
|
2493
|
+
username?: StringTrgmFilter;
|
|
2494
|
+
/** Filter by the object’s `displayName` field. */
|
|
2495
|
+
displayName?: StringTrgmFilter;
|
|
2496
|
+
/** Filter by the object’s `profilePicture` field. */
|
|
2497
|
+
profilePicture?: ConstructiveInternalTypeImageFilter;
|
|
2498
|
+
/** Filter by the object’s `searchTsv` field. */
|
|
2499
|
+
searchTsv?: FullTextFilter;
|
|
2500
|
+
/** Filter by the object’s `type` field. */
|
|
2501
|
+
type?: IntFilter;
|
|
2502
|
+
/** Filter by the object’s `createdAt` field. */
|
|
2503
|
+
createdAt?: DatetimeFilter;
|
|
2504
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
2505
|
+
updatedAt?: DatetimeFilter;
|
|
2506
|
+
/** Checks for all expressions in this list. */
|
|
2507
|
+
and?: UserFilter[];
|
|
2508
|
+
/** Checks for any expressions in this list. */
|
|
2509
|
+
or?: UserFilter[];
|
|
2510
|
+
/** Negates the expression. */
|
|
2511
|
+
not?: UserFilter;
|
|
2512
|
+
/** Filter by the object’s `roleType` relation. */
|
|
2513
|
+
roleType?: RoleTypeFilter;
|
|
2514
|
+
/** Filter by the object’s `ownedPrincipals` relation. */
|
|
2515
|
+
ownedPrincipals?: UserToManyPrincipalFilter;
|
|
2516
|
+
/** `ownedPrincipals` exist. */
|
|
2517
|
+
ownedPrincipalsExist?: boolean;
|
|
2518
|
+
/** Filter by the object’s `principals` relation. */
|
|
2519
|
+
principals?: UserToManyPrincipalFilter;
|
|
2520
|
+
/** `principals` exist. */
|
|
2521
|
+
principalsExist?: boolean;
|
|
2522
|
+
/** Filter by the object’s `principalEntitiesByEntityId` relation. */
|
|
2523
|
+
principalEntitiesByEntityId?: UserToManyPrincipalEntityFilter;
|
|
2524
|
+
/** `principalEntitiesByEntityId` exist. */
|
|
2525
|
+
principalEntitiesByEntityIdExist?: boolean;
|
|
2526
|
+
/** Filter by the object’s `ownedEmails` relation. */
|
|
2527
|
+
ownedEmails?: UserToManyEmailFilter;
|
|
2528
|
+
/** `ownedEmails` exist. */
|
|
2529
|
+
ownedEmailsExist?: boolean;
|
|
2530
|
+
/** Filter by the object’s `ownedPhoneNumbers` relation. */
|
|
2531
|
+
ownedPhoneNumbers?: UserToManyPhoneNumberFilter;
|
|
2532
|
+
/** `ownedPhoneNumbers` exist. */
|
|
2533
|
+
ownedPhoneNumbersExist?: boolean;
|
|
2534
|
+
/** Filter by the object’s `ownedCryptoAddresses` relation. */
|
|
2535
|
+
ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
|
|
2536
|
+
/** `ownedCryptoAddresses` exist. */
|
|
2537
|
+
ownedCryptoAddressesExist?: boolean;
|
|
2538
|
+
/** Filter by the object’s `ownedWebauthnCredentials` relation. */
|
|
2539
|
+
ownedWebauthnCredentials?: UserToManyWebauthnCredentialFilter;
|
|
2540
|
+
/** `ownedWebauthnCredentials` exist. */
|
|
2541
|
+
ownedWebauthnCredentialsExist?: boolean;
|
|
2542
|
+
/** Filter by the object’s `auditLogAuthsByActorId` relation. */
|
|
2543
|
+
auditLogAuthsByActorId?: UserToManyAuditLogAuthFilter;
|
|
2544
|
+
/** `auditLogAuthsByActorId` exist. */
|
|
2545
|
+
auditLogAuthsByActorIdExist?: boolean;
|
|
2546
|
+
/** TSV search on the `search_tsv` column. */
|
|
2547
|
+
tsvSearchTsv?: string;
|
|
2548
|
+
/** TRGM search on the `display_name` column. */
|
|
2549
|
+
trgmDisplayName?: TrgmSearchInput;
|
|
2550
|
+
/**
|
|
2551
|
+
* Composite unified search. Provide a search string and it will be dispatched to
|
|
2552
|
+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
|
|
2553
|
+
* simultaneously. When the LLM plugin is active, pgvector also participates via
|
|
2554
|
+
* auto-embedding. Rows matching ANY algorithm are returned. All matching score
|
|
2555
|
+
* fields are populated.
|
|
2556
|
+
*/
|
|
2557
|
+
unifiedSearch?: string;
|
|
2558
|
+
}
|
|
2559
|
+
/** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
|
|
2560
|
+
export interface IntFilter {
|
|
2561
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2562
|
+
isNull?: boolean;
|
|
2563
|
+
/** Equal to the specified value. */
|
|
2564
|
+
equalTo?: number;
|
|
2565
|
+
/** Not equal to the specified value. */
|
|
2566
|
+
notEqualTo?: number;
|
|
2567
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2568
|
+
distinctFrom?: number;
|
|
2569
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2570
|
+
notDistinctFrom?: number;
|
|
2571
|
+
/** Included in the specified list. */
|
|
2572
|
+
in?: number[];
|
|
2573
|
+
/** Not included in the specified list. */
|
|
2574
|
+
notIn?: number[];
|
|
2575
|
+
/** Less than the specified value. */
|
|
2576
|
+
lessThan?: number;
|
|
2577
|
+
/** Less than or equal to the specified value. */
|
|
2578
|
+
lessThanOrEqualTo?: number;
|
|
2579
|
+
/** Greater than the specified value. */
|
|
2580
|
+
greaterThan?: number;
|
|
2581
|
+
/** Greater than or equal to the specified value. */
|
|
2582
|
+
greaterThanOrEqualTo?: number;
|
|
2583
|
+
}
|
|
2584
|
+
/** A filter to be used against BitString fields. All fields are combined with a logical ‘and.’ */
|
|
2585
|
+
export interface BitStringFilter {
|
|
2586
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2587
|
+
isNull?: boolean;
|
|
2588
|
+
/** Equal to the specified value. */
|
|
2589
|
+
equalTo?: string;
|
|
2590
|
+
/** Not equal to the specified value. */
|
|
2591
|
+
notEqualTo?: string;
|
|
2592
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2593
|
+
distinctFrom?: string;
|
|
2594
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2595
|
+
notDistinctFrom?: string;
|
|
2596
|
+
/** Included in the specified list. */
|
|
2597
|
+
in?: string[];
|
|
2598
|
+
/** Not included in the specified list. */
|
|
2599
|
+
notIn?: string[];
|
|
2600
|
+
/** Less than the specified value. */
|
|
2601
|
+
lessThan?: string;
|
|
2602
|
+
/** Less than or equal to the specified value. */
|
|
2603
|
+
lessThanOrEqualTo?: string;
|
|
2604
|
+
/** Greater than the specified value. */
|
|
2605
|
+
greaterThan?: string;
|
|
2606
|
+
/** Greater than or equal to the specified value. */
|
|
2607
|
+
greaterThanOrEqualTo?: string;
|
|
2608
|
+
}
|
|
1858
2609
|
/** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */
|
|
1859
2610
|
export interface BooleanFilter {
|
|
1860
2611
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
@@ -1957,90 +2708,6 @@ export interface StringFilter {
|
|
|
1957
2708
|
/** Greater than or equal to the specified value (case-insensitive). */
|
|
1958
2709
|
greaterThanOrEqualToInsensitive?: string;
|
|
1959
2710
|
}
|
|
1960
|
-
/** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */
|
|
1961
|
-
export interface DatetimeFilter {
|
|
1962
|
-
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
1963
|
-
isNull?: boolean;
|
|
1964
|
-
/** Equal to the specified value. */
|
|
1965
|
-
equalTo?: string;
|
|
1966
|
-
/** Not equal to the specified value. */
|
|
1967
|
-
notEqualTo?: string;
|
|
1968
|
-
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
1969
|
-
distinctFrom?: string;
|
|
1970
|
-
/** Equal to the specified value, treating null like an ordinary value. */
|
|
1971
|
-
notDistinctFrom?: string;
|
|
1972
|
-
/** Included in the specified list. */
|
|
1973
|
-
in?: string[];
|
|
1974
|
-
/** Not included in the specified list. */
|
|
1975
|
-
notIn?: string[];
|
|
1976
|
-
/** Less than the specified value. */
|
|
1977
|
-
lessThan?: string;
|
|
1978
|
-
/** Less than or equal to the specified value. */
|
|
1979
|
-
lessThanOrEqualTo?: string;
|
|
1980
|
-
/** Greater than the specified value. */
|
|
1981
|
-
greaterThan?: string;
|
|
1982
|
-
/** Greater than or equal to the specified value. */
|
|
1983
|
-
greaterThanOrEqualTo?: string;
|
|
1984
|
-
}
|
|
1985
|
-
/** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */
|
|
1986
|
-
export interface UserFilter {
|
|
1987
|
-
/** Filter by the object’s `id` field. */
|
|
1988
|
-
id?: UUIDFilter;
|
|
1989
|
-
/** Filter by the object’s `username` field. */
|
|
1990
|
-
username?: StringTrgmFilter;
|
|
1991
|
-
/** Filter by the object’s `displayName` field. */
|
|
1992
|
-
displayName?: StringTrgmFilter;
|
|
1993
|
-
/** Filter by the object’s `profilePicture` field. */
|
|
1994
|
-
profilePicture?: ConstructiveInternalTypeImageFilter;
|
|
1995
|
-
/** Filter by the object’s `searchTsv` field. */
|
|
1996
|
-
searchTsv?: FullTextFilter;
|
|
1997
|
-
/** Filter by the object’s `type` field. */
|
|
1998
|
-
type?: IntFilter;
|
|
1999
|
-
/** Filter by the object’s `createdAt` field. */
|
|
2000
|
-
createdAt?: DatetimeFilter;
|
|
2001
|
-
/** Filter by the object’s `updatedAt` field. */
|
|
2002
|
-
updatedAt?: DatetimeFilter;
|
|
2003
|
-
/** Checks for all expressions in this list. */
|
|
2004
|
-
and?: UserFilter[];
|
|
2005
|
-
/** Checks for any expressions in this list. */
|
|
2006
|
-
or?: UserFilter[];
|
|
2007
|
-
/** Negates the expression. */
|
|
2008
|
-
not?: UserFilter;
|
|
2009
|
-
/** Filter by the object’s `roleType` relation. */
|
|
2010
|
-
roleType?: RoleTypeFilter;
|
|
2011
|
-
/** Filter by the object’s `ownedEmails` relation. */
|
|
2012
|
-
ownedEmails?: UserToManyEmailFilter;
|
|
2013
|
-
/** `ownedEmails` exist. */
|
|
2014
|
-
ownedEmailsExist?: boolean;
|
|
2015
|
-
/** Filter by the object’s `ownedPhoneNumbers` relation. */
|
|
2016
|
-
ownedPhoneNumbers?: UserToManyPhoneNumberFilter;
|
|
2017
|
-
/** `ownedPhoneNumbers` exist. */
|
|
2018
|
-
ownedPhoneNumbersExist?: boolean;
|
|
2019
|
-
/** Filter by the object’s `ownedCryptoAddresses` relation. */
|
|
2020
|
-
ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
|
|
2021
|
-
/** `ownedCryptoAddresses` exist. */
|
|
2022
|
-
ownedCryptoAddressesExist?: boolean;
|
|
2023
|
-
/** Filter by the object’s `ownedWebauthnCredentials` relation. */
|
|
2024
|
-
ownedWebauthnCredentials?: UserToManyWebauthnCredentialFilter;
|
|
2025
|
-
/** `ownedWebauthnCredentials` exist. */
|
|
2026
|
-
ownedWebauthnCredentialsExist?: boolean;
|
|
2027
|
-
/** Filter by the object’s `auditLogAuthsByActorId` relation. */
|
|
2028
|
-
auditLogAuthsByActorId?: UserToManyAuditLogAuthFilter;
|
|
2029
|
-
/** `auditLogAuthsByActorId` exist. */
|
|
2030
|
-
auditLogAuthsByActorIdExist?: boolean;
|
|
2031
|
-
/** TSV search on the `search_tsv` column. */
|
|
2032
|
-
tsvSearchTsv?: string;
|
|
2033
|
-
/** TRGM search on the `display_name` column. */
|
|
2034
|
-
trgmDisplayName?: TrgmSearchInput;
|
|
2035
|
-
/**
|
|
2036
|
-
* Composite unified search. Provide a search string and it will be dispatched to
|
|
2037
|
-
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
|
|
2038
|
-
* simultaneously. When the LLM plugin is active, pgvector also participates via
|
|
2039
|
-
* auto-embedding. Rows matching ANY algorithm are returned. All matching score
|
|
2040
|
-
* fields are populated.
|
|
2041
|
-
*/
|
|
2042
|
-
unifiedSearch?: string;
|
|
2043
|
-
}
|
|
2044
2711
|
/** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */
|
|
2045
2712
|
export interface BigIntFilter {
|
|
2046
2713
|
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
@@ -2159,31 +2826,6 @@ export interface FullTextFilter {
|
|
|
2159
2826
|
/** Performs a full text search on the field. */
|
|
2160
2827
|
matches?: string;
|
|
2161
2828
|
}
|
|
2162
|
-
/** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */
|
|
2163
|
-
export interface IntFilter {
|
|
2164
|
-
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
2165
|
-
isNull?: boolean;
|
|
2166
|
-
/** Equal to the specified value. */
|
|
2167
|
-
equalTo?: number;
|
|
2168
|
-
/** Not equal to the specified value. */
|
|
2169
|
-
notEqualTo?: number;
|
|
2170
|
-
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
2171
|
-
distinctFrom?: number;
|
|
2172
|
-
/** Equal to the specified value, treating null like an ordinary value. */
|
|
2173
|
-
notDistinctFrom?: number;
|
|
2174
|
-
/** Included in the specified list. */
|
|
2175
|
-
in?: number[];
|
|
2176
|
-
/** Not included in the specified list. */
|
|
2177
|
-
notIn?: number[];
|
|
2178
|
-
/** Less than the specified value. */
|
|
2179
|
-
lessThan?: number;
|
|
2180
|
-
/** Less than or equal to the specified value. */
|
|
2181
|
-
lessThanOrEqualTo?: number;
|
|
2182
|
-
/** Greater than the specified value. */
|
|
2183
|
-
greaterThan?: number;
|
|
2184
|
-
/** Greater than or equal to the specified value. */
|
|
2185
|
-
greaterThanOrEqualTo?: number;
|
|
2186
|
-
}
|
|
2187
2829
|
/** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */
|
|
2188
2830
|
export interface RoleTypeFilter {
|
|
2189
2831
|
/** Filter by the object’s `id` field. */
|
|
@@ -2217,6 +2859,14 @@ export interface CheckPasswordPayload {
|
|
|
2217
2859
|
export type CheckPasswordPayloadSelect = {
|
|
2218
2860
|
clientMutationId?: boolean;
|
|
2219
2861
|
};
|
|
2862
|
+
export interface DeleteOrgPrincipalPayload {
|
|
2863
|
+
clientMutationId?: string | null;
|
|
2864
|
+
result?: boolean | null;
|
|
2865
|
+
}
|
|
2866
|
+
export type DeleteOrgPrincipalPayloadSelect = {
|
|
2867
|
+
clientMutationId?: boolean;
|
|
2868
|
+
result?: boolean;
|
|
2869
|
+
};
|
|
2220
2870
|
export interface DisconnectAccountPayload {
|
|
2221
2871
|
clientMutationId?: string | null;
|
|
2222
2872
|
result?: boolean | null;
|
|
@@ -2265,6 +2915,14 @@ export type ConfirmDeleteAccountPayloadSelect = {
|
|
|
2265
2915
|
clientMutationId?: boolean;
|
|
2266
2916
|
result?: boolean;
|
|
2267
2917
|
};
|
|
2918
|
+
export interface RevokeOrgApiKeyPayload {
|
|
2919
|
+
clientMutationId?: string | null;
|
|
2920
|
+
result?: boolean | null;
|
|
2921
|
+
}
|
|
2922
|
+
export type RevokeOrgApiKeyPayloadSelect = {
|
|
2923
|
+
clientMutationId?: boolean;
|
|
2924
|
+
result?: boolean;
|
|
2925
|
+
};
|
|
2268
2926
|
export interface SetPasswordPayload {
|
|
2269
2927
|
clientMutationId?: string | null;
|
|
2270
2928
|
result?: boolean | null;
|
|
@@ -2355,6 +3013,14 @@ export type LinkIdentityPayloadSelect = {
|
|
|
2355
3013
|
clientMutationId?: boolean;
|
|
2356
3014
|
result?: boolean;
|
|
2357
3015
|
};
|
|
3016
|
+
export interface CreateOrgPrincipalPayload {
|
|
3017
|
+
clientMutationId?: string | null;
|
|
3018
|
+
result?: string | null;
|
|
3019
|
+
}
|
|
3020
|
+
export type CreateOrgPrincipalPayloadSelect = {
|
|
3021
|
+
clientMutationId?: boolean;
|
|
3022
|
+
result?: boolean;
|
|
3023
|
+
};
|
|
2358
3024
|
export interface ExtendTokenExpiresPayload {
|
|
2359
3025
|
clientMutationId?: string | null;
|
|
2360
3026
|
result?: ExtendTokenExpiresRecord[] | null;
|
|
@@ -2365,6 +3031,16 @@ export type ExtendTokenExpiresPayloadSelect = {
|
|
|
2365
3031
|
select: ExtendTokenExpiresRecordSelect;
|
|
2366
3032
|
};
|
|
2367
3033
|
};
|
|
3034
|
+
export interface CreateOrgApiKeyPayload {
|
|
3035
|
+
clientMutationId?: string | null;
|
|
3036
|
+
result?: CreateOrgApiKeyRecord | null;
|
|
3037
|
+
}
|
|
3038
|
+
export type CreateOrgApiKeyPayloadSelect = {
|
|
3039
|
+
clientMutationId?: boolean;
|
|
3040
|
+
result?: {
|
|
3041
|
+
select: CreateOrgApiKeyRecordSelect;
|
|
3042
|
+
};
|
|
3043
|
+
};
|
|
2368
3044
|
export interface CreateApiKeyPayload {
|
|
2369
3045
|
clientMutationId?: string | null;
|
|
2370
3046
|
result?: CreateApiKeyRecord | null;
|
|
@@ -2419,6 +3095,67 @@ export type ProvisionBucketPayloadSelect = {
|
|
|
2419
3095
|
endpoint?: boolean;
|
|
2420
3096
|
error?: boolean;
|
|
2421
3097
|
};
|
|
3098
|
+
export interface CreatePrincipalPayload {
|
|
3099
|
+
clientMutationId?: string | null;
|
|
3100
|
+
result?: string | null;
|
|
3101
|
+
}
|
|
3102
|
+
export type CreatePrincipalPayloadSelect = {
|
|
3103
|
+
clientMutationId?: boolean;
|
|
3104
|
+
result?: boolean;
|
|
3105
|
+
};
|
|
3106
|
+
export interface DeletePrincipalPayload {
|
|
3107
|
+
clientMutationId?: string | null;
|
|
3108
|
+
result?: boolean | null;
|
|
3109
|
+
}
|
|
3110
|
+
export type DeletePrincipalPayloadSelect = {
|
|
3111
|
+
clientMutationId?: boolean;
|
|
3112
|
+
result?: boolean;
|
|
3113
|
+
};
|
|
3114
|
+
export interface CreatePrincipalEntityPayload {
|
|
3115
|
+
clientMutationId?: string | null;
|
|
3116
|
+
/** The `PrincipalEntity` that was created by this mutation. */
|
|
3117
|
+
principalEntity?: PrincipalEntity | null;
|
|
3118
|
+
principalEntityEdge?: PrincipalEntityEdge | null;
|
|
3119
|
+
}
|
|
3120
|
+
export type CreatePrincipalEntityPayloadSelect = {
|
|
3121
|
+
clientMutationId?: boolean;
|
|
3122
|
+
principalEntity?: {
|
|
3123
|
+
select: PrincipalEntitySelect;
|
|
3124
|
+
};
|
|
3125
|
+
principalEntityEdge?: {
|
|
3126
|
+
select: PrincipalEntityEdgeSelect;
|
|
3127
|
+
};
|
|
3128
|
+
};
|
|
3129
|
+
export interface UpdatePrincipalEntityPayload {
|
|
3130
|
+
clientMutationId?: string | null;
|
|
3131
|
+
/** The `PrincipalEntity` that was updated by this mutation. */
|
|
3132
|
+
principalEntity?: PrincipalEntity | null;
|
|
3133
|
+
principalEntityEdge?: PrincipalEntityEdge | null;
|
|
3134
|
+
}
|
|
3135
|
+
export type UpdatePrincipalEntityPayloadSelect = {
|
|
3136
|
+
clientMutationId?: boolean;
|
|
3137
|
+
principalEntity?: {
|
|
3138
|
+
select: PrincipalEntitySelect;
|
|
3139
|
+
};
|
|
3140
|
+
principalEntityEdge?: {
|
|
3141
|
+
select: PrincipalEntityEdgeSelect;
|
|
3142
|
+
};
|
|
3143
|
+
};
|
|
3144
|
+
export interface DeletePrincipalEntityPayload {
|
|
3145
|
+
clientMutationId?: string | null;
|
|
3146
|
+
/** The `PrincipalEntity` that was deleted by this mutation. */
|
|
3147
|
+
principalEntity?: PrincipalEntity | null;
|
|
3148
|
+
principalEntityEdge?: PrincipalEntityEdge | null;
|
|
3149
|
+
}
|
|
3150
|
+
export type DeletePrincipalEntityPayloadSelect = {
|
|
3151
|
+
clientMutationId?: boolean;
|
|
3152
|
+
principalEntity?: {
|
|
3153
|
+
select: PrincipalEntitySelect;
|
|
3154
|
+
};
|
|
3155
|
+
principalEntityEdge?: {
|
|
3156
|
+
select: PrincipalEntityEdgeSelect;
|
|
3157
|
+
};
|
|
3158
|
+
};
|
|
2422
3159
|
export interface CreateEmailPayload {
|
|
2423
3160
|
clientMutationId?: string | null;
|
|
2424
3161
|
/** The `Email` that was created by this mutation. */
|
|
@@ -2711,6 +3448,17 @@ export type CreateUserConnectedAccountPayloadSelect = {
|
|
|
2711
3448
|
select: UserConnectedAccountSelect;
|
|
2712
3449
|
};
|
|
2713
3450
|
};
|
|
3451
|
+
export interface CreateOrgApiKeyListPayload {
|
|
3452
|
+
clientMutationId?: string | null;
|
|
3453
|
+
/** The `OrgApiKeyList` that was created by this mutation. */
|
|
3454
|
+
orgApiKeyList?: OrgApiKeyList | null;
|
|
3455
|
+
}
|
|
3456
|
+
export type CreateOrgApiKeyListPayloadSelect = {
|
|
3457
|
+
clientMutationId?: boolean;
|
|
3458
|
+
orgApiKeyList?: {
|
|
3459
|
+
select: OrgApiKeyListSelect;
|
|
3460
|
+
};
|
|
3461
|
+
};
|
|
2714
3462
|
export interface CreateUserPayload {
|
|
2715
3463
|
clientMutationId?: string | null;
|
|
2716
3464
|
/** The `User` that was created by this mutation. */
|
|
@@ -2838,6 +3586,16 @@ export type ExtendTokenExpiresRecordSelect = {
|
|
|
2838
3586
|
sessionId?: boolean;
|
|
2839
3587
|
expiresAt?: boolean;
|
|
2840
3588
|
};
|
|
3589
|
+
export interface CreateOrgApiKeyRecord {
|
|
3590
|
+
apiKey?: string | null;
|
|
3591
|
+
keyId?: string | null;
|
|
3592
|
+
expiresAt?: string | null;
|
|
3593
|
+
}
|
|
3594
|
+
export type CreateOrgApiKeyRecordSelect = {
|
|
3595
|
+
apiKey?: boolean;
|
|
3596
|
+
keyId?: boolean;
|
|
3597
|
+
expiresAt?: boolean;
|
|
3598
|
+
};
|
|
2841
3599
|
export interface CreateApiKeyRecord {
|
|
2842
3600
|
apiKey?: string | null;
|
|
2843
3601
|
keyId?: string | null;
|
|
@@ -2848,6 +3606,18 @@ export type CreateApiKeyRecordSelect = {
|
|
|
2848
3606
|
keyId?: boolean;
|
|
2849
3607
|
expiresAt?: boolean;
|
|
2850
3608
|
};
|
|
3609
|
+
/** A `PrincipalEntity` edge in the connection. */
|
|
3610
|
+
export interface PrincipalEntityEdge {
|
|
3611
|
+
cursor?: string | null;
|
|
3612
|
+
/** The `PrincipalEntity` at the end of the edge. */
|
|
3613
|
+
node?: PrincipalEntity | null;
|
|
3614
|
+
}
|
|
3615
|
+
export type PrincipalEntityEdgeSelect = {
|
|
3616
|
+
cursor?: boolean;
|
|
3617
|
+
node?: {
|
|
3618
|
+
select: PrincipalEntitySelect;
|
|
3619
|
+
};
|
|
3620
|
+
};
|
|
2851
3621
|
/** A `Email` edge in the connection. */
|
|
2852
3622
|
export interface EmailEdge {
|
|
2853
3623
|
cursor?: string | null;
|