@code0-tech/sagittarius-graphql-types 0.0.0-967667e8c736081887d32d99a5e2ab0445718798 → 0.0.0-c63274fdd34593b8aa24f9f977659fd3d6270150

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +892 -57
  2. package/package.json +2 -3
  3. package/index.js +0 -0
package/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  export type Maybe<T> = T | null;
2
2
  export type InputMaybe<T> = Maybe<T>;
3
- export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
4
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
5
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
6
- export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
7
- export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
3
+ export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] }
4
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> }
5
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> }
6
+ export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never }
7
+ export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }
8
8
  /** All built-in and custom scalars, mapped to their actual values */
9
9
  export interface Scalars {
10
10
  ID: { input: `gid://sagittarius//${number}`; output: `gid://sagittarius//${number}`; }
@@ -40,7 +40,6 @@ export interface Scalars {
40
40
  RuntimeID: { input: `gid://sagittarius/Runtime/${number}`; output: `gid://sagittarius/Runtime/${number}`; }
41
41
  RuntimeParameterDefinitionID: { input: `gid://sagittarius/RuntimeParameterDefinition/${number}`; output: `gid://sagittarius/RuntimeParameterDefinition/${number}`; }
42
42
  Time: { input: string; output: string; }
43
- TypesFlowTypeID: { input: `gid://sagittarius/TypesFlowType/${number}`; output: `gid://sagittarius/TypesFlowType/${number}`; }
44
43
  UserID: { input: `gid://sagittarius/User/${number}`; output: `gid://sagittarius/User/${number}`; }
45
44
  UserIdentityID: { input: `gid://sagittarius/UserIdentity/${number}`; output: `gid://sagittarius/UserIdentity/${number}`; }
46
45
  UserSessionID: { input: `gid://sagittarius/UserSession/${number}`; output: `gid://sagittarius/UserSession/${number}`; }
@@ -55,9 +54,20 @@ export interface ActiveModelError {
55
54
  type?: Maybe<Scalars['String']['output']>;
56
55
  }
57
56
 
57
+ /** Represents the application instance */
58
+ export interface Application {
59
+ __typename?: 'Application';
60
+ /** Metadata about the application */
61
+ metadata?: Maybe<Metadata>;
62
+ /** Global application settings */
63
+ settings?: Maybe<ApplicationSettings>;
64
+ }
65
+
58
66
  /** Represents the application settings */
59
67
  export interface ApplicationSettings {
60
68
  __typename?: 'ApplicationSettings';
69
+ /** Shows if admin status can be queried by non-administrators */
70
+ adminStatusVisible?: Maybe<Scalars['Boolean']['output']>;
61
71
  /** Shows if organization creation is restricted to administrators */
62
72
  organizationCreationRestricted?: Maybe<Scalars['Boolean']['output']>;
63
73
  /** Shows if user registration is enabled */
@@ -66,6 +76,8 @@ export interface ApplicationSettings {
66
76
 
67
77
  /** Autogenerated input type of ApplicationSettingsUpdate */
68
78
  export interface ApplicationSettingsUpdateInput {
79
+ /** Set if admin status can be queried by non-administrators. */
80
+ adminStatusVisible?: InputMaybe<Scalars['Boolean']['input']>;
69
81
  /** A unique identifier for the client performing the mutation. */
70
82
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
71
83
  /** Set if organization creation is restricted to administrators. */
@@ -91,8 +103,12 @@ export type Authentication = UserSession;
91
103
  /** Represents a DataType */
92
104
  export interface DataType {
93
105
  __typename?: 'DataType';
106
+ /** Name of the function */
107
+ aliases?: Maybe<TranslationConnection>;
94
108
  /** Time when this DataType was created */
95
109
  createdAt?: Maybe<Scalars['Time']['output']>;
110
+ /** Display message of the function */
111
+ displayMessages?: Maybe<TranslationConnection>;
96
112
  /** Generic keys of the datatype */
97
113
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
98
114
  /** Global ID of this DataType */
@@ -101,12 +117,10 @@ export interface DataType {
101
117
  identifier?: Maybe<Scalars['String']['output']>;
102
118
  /** Names of the flow type setting */
103
119
  name?: Maybe<TranslationConnection>;
104
- /** The namespace where this datatype belongs to */
105
- namespace?: Maybe<Namespace>;
106
- /** The parent datatype */
107
- parent?: Maybe<DataTypeIdentifier>;
108
120
  /** Rules of the datatype */
109
121
  rules?: Maybe<DataTypeRuleConnection>;
122
+ /** The runtime where this datatype belongs to */
123
+ runtime?: Maybe<Runtime>;
110
124
  /** Time when this DataType was last updated */
111
125
  updatedAt?: Maybe<Scalars['Time']['output']>;
112
126
  /** The type of the datatype */
@@ -114,6 +128,24 @@ export interface DataType {
114
128
  }
115
129
 
116
130
 
131
+ /** Represents a DataType */
132
+ export interface DataTypeAliasesArgs {
133
+ after?: InputMaybe<Scalars['String']['input']>;
134
+ before?: InputMaybe<Scalars['String']['input']>;
135
+ first?: InputMaybe<Scalars['Int']['input']>;
136
+ last?: InputMaybe<Scalars['Int']['input']>;
137
+ }
138
+
139
+
140
+ /** Represents a DataType */
141
+ export interface DataTypeDisplayMessagesArgs {
142
+ after?: InputMaybe<Scalars['String']['input']>;
143
+ before?: InputMaybe<Scalars['String']['input']>;
144
+ first?: InputMaybe<Scalars['Int']['input']>;
145
+ last?: InputMaybe<Scalars['Int']['input']>;
146
+ }
147
+
148
+
117
149
  /** Represents a DataType */
118
150
  export interface DataTypeNameArgs {
119
151
  after?: InputMaybe<Scalars['String']['input']>;
@@ -241,8 +273,8 @@ export interface DataTypeRulesInputTypeConfig {
241
273
  __typename?: 'DataTypeRulesInputTypeConfig';
242
274
  /** The identifier of the data type this input type belongs to */
243
275
  dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
244
- /** The input data type that this configuration applies to */
245
- inputType?: Maybe<DataType>;
276
+ /** The input identifier that this configuration applies to */
277
+ inputIdentifier?: Maybe<Scalars['String']['output']>;
246
278
  }
247
279
 
248
280
  /** Represents a rule that can be applied to a data type. */
@@ -292,13 +324,13 @@ export interface DataTypeRulesReturnTypeConfig {
292
324
  }
293
325
 
294
326
  /** The type of rule that can be applied to a data type. */
295
- export enum DataTypeRulesVariant {
327
+ export const enum DataTypeRulesVariant {
296
328
  /** The rule checks if a key is present in the data type. */
297
329
  ContainsKey = 'CONTAINS_KEY',
298
330
  /** The rule checks if a specific type is present in the data type. */
299
331
  ContainsType = 'CONTAINS_TYPE',
300
332
  /** The rule checks if the data type matches a specific input type. */
301
- InputType = 'INPUT_TYPE',
333
+ InputTypes = 'INPUT_TYPES',
302
334
  /** The rule checks if an item is part of a collection in the data type. */
303
335
  ItemOfCollection = 'ITEM_OF_COLLECTION',
304
336
  /** The rule checks if a number falls within a specified range. */
@@ -312,7 +344,7 @@ export enum DataTypeRulesVariant {
312
344
  }
313
345
 
314
346
  /** Represent all available types of a datatype */
315
- export enum DataTypeVariant {
347
+ export const enum DataTypeVariant {
316
348
  /** Represents an array */
317
349
  Array = 'ARRAY',
318
350
  /** Represents an data type containing a data type */
@@ -329,6 +361,9 @@ export enum DataTypeVariant {
329
361
  Type = 'TYPE'
330
362
  }
331
363
 
364
+ /** Represents a detailed error with either a message or an active model error */
365
+ export type DetailedError = ActiveModelError | FlowValidationError | MessageError;
366
+
332
367
  /** Autogenerated input type of Echo */
333
368
  export interface EchoInput {
334
369
  /** A unique identifier for the client performing the mutation. */
@@ -349,7 +384,171 @@ export interface EchoPayload {
349
384
  }
350
385
 
351
386
  /** Objects that can present an error */
352
- export type Error = ActiveModelError | MessageError;
387
+ export interface Error {
388
+ __typename?: 'Error';
389
+ /** Detailed validation errors if applicable */
390
+ details?: Maybe<Array<DetailedError>>;
391
+ /** The code representing the error type */
392
+ errorCode?: Maybe<ErrorCodeEnum>;
393
+ }
394
+
395
+ /** Represents the available error responses */
396
+ export const enum ErrorCodeEnum {
397
+ /** This action would remove the last administrative role */
398
+ CannotDeleteLastAdminRole = 'CANNOT_DELETE_LAST_ADMIN_ROLE',
399
+ /** Only administrators can modify admin status of users */
400
+ CannotModifyAdmin = 'CANNOT_MODIFY_ADMIN',
401
+ /** Users cannot modify their own admin status */
402
+ CannotModifyOwnAdmin = 'CANNOT_MODIFY_OWN_ADMIN',
403
+ /** This action would remove the last administrator */
404
+ CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
405
+ /** This action would remove the last administrative ability */
406
+ CannotRemoveLastAdminAbility = 'CANNOT_REMOVE_LAST_ADMIN_ABILITY',
407
+ /** The data type identifier with the given identifier was not found */
408
+ DataTypeIdentifierNotFound = 'DATA_TYPE_IDENTIFIER_NOT_FOUND',
409
+ /** The data type with the given identifier was not found */
410
+ DataTypeNotFound = 'DATA_TYPE_NOT_FOUND',
411
+ /** Failed to send the email verification */
412
+ EmailVerificationSendFailed = 'EMAIL_VERIFICATION_SEND_FAILED',
413
+ /** This external identity does not exist */
414
+ ExternalIdentityDoesNotExist = 'EXTERNAL_IDENTITY_DOES_NOT_EXIST',
415
+ /** The old backup codes could not be deleted */
416
+ FailedToInvalidateOldBackupCodes = 'FAILED_TO_INVALIDATE_OLD_BACKUP_CODES',
417
+ /** Failed to reset the user password */
418
+ FailedToResetPassword = 'FAILED_TO_RESET_PASSWORD',
419
+ /** The new backup codes could not be saved */
420
+ FailedToSaveValidBackupCode = 'FAILED_TO_SAVE_VALID_BACKUP_CODE',
421
+ /** The flow with the given identifier was not found */
422
+ FlowNotFound = 'FLOW_NOT_FOUND',
423
+ /** The flow type with the given identifier was not found */
424
+ FlowTypeNotFound = 'FLOW_TYPE_NOT_FOUND',
425
+ /** The flow validation has failed */
426
+ FlowValidationFailed = 'FLOW_VALIDATION_FAILED',
427
+ /** The given key was not found in the data type */
428
+ GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
429
+ /** The external identity with the given identifier was not found */
430
+ IdentityNotFound = 'IDENTITY_NOT_FOUND',
431
+ /** Failed to validate the external identity */
432
+ IdentityValidationFailed = 'IDENTITY_VALIDATION_FAILED',
433
+ /** Resources are from different namespaces */
434
+ InconsistentNamespace = 'INCONSISTENT_NAMESPACE',
435
+ /** The attachment is invalid because of active model errors */
436
+ InvalidAttachment = 'INVALID_ATTACHMENT',
437
+ /** The data type is invalid because of active model errors */
438
+ InvalidDataType = 'INVALID_DATA_TYPE',
439
+ /** This external identity is invalid */
440
+ InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
441
+ /** The flow is invalid because of active model errors */
442
+ InvalidFlow = 'INVALID_FLOW',
443
+ /** The flow setting is invalid because of active model errors */
444
+ InvalidFlowSetting = 'INVALID_FLOW_SETTING',
445
+ /** The flow type is invalid because of active model errors */
446
+ InvalidFlowType = 'INVALID_FLOW_TYPE',
447
+ /** The generic mapper is invalid because of active model errors */
448
+ InvalidGenericMapper = 'INVALID_GENERIC_MAPPER',
449
+ /** Invalid login data provided */
450
+ InvalidLoginData = 'INVALID_LOGIN_DATA',
451
+ /** The namespace license is invalid because of active model errors */
452
+ InvalidNamespaceLicense = 'INVALID_NAMESPACE_LICENSE',
453
+ /** The namespace member is invalid because of active model errors */
454
+ InvalidNamespaceMember = 'INVALID_NAMESPACE_MEMBER',
455
+ /** The namespace project is invalid because of active model errors */
456
+ InvalidNamespaceProject = 'INVALID_NAMESPACE_PROJECT',
457
+ /** The namespace role is invalid because of active model errors */
458
+ InvalidNamespaceRole = 'INVALID_NAMESPACE_ROLE',
459
+ /** The organization is invalid because of active model errors */
460
+ InvalidOrganization = 'INVALID_ORGANIZATION',
461
+ /** The provided password repeat does not match the password */
462
+ InvalidPasswordRepeat = 'INVALID_PASSWORD_REPEAT',
463
+ /** The runtime is invalid because of active model errors */
464
+ InvalidRuntime = 'INVALID_RUNTIME',
465
+ /** The runtime function definition is invalid */
466
+ InvalidRuntimeFunctionDefinition = 'INVALID_RUNTIME_FUNCTION_DEFINITION',
467
+ /** The runtime function ID is invalid */
468
+ InvalidRuntimeFunctionId = 'INVALID_RUNTIME_FUNCTION_ID',
469
+ /** The runtime parameter definition is invalid */
470
+ InvalidRuntimeParameterDefinition = 'INVALID_RUNTIME_PARAMETER_DEFINITION',
471
+ /** The runtime parameter ID is invalid */
472
+ InvalidRuntimeParameterId = 'INVALID_RUNTIME_PARAMETER_ID',
473
+ /** Invalid setting provided */
474
+ InvalidSetting = 'INVALID_SETTING',
475
+ /** The TOTP secret is invalid or cannot be verified */
476
+ InvalidTotpSecret = 'INVALID_TOTP_SECRET',
477
+ /** The user is invalid because of active model errors */
478
+ InvalidUser = 'INVALID_USER',
479
+ /** The user identity is invalid because of active model errors */
480
+ InvalidUserIdentity = 'INVALID_USER_IDENTITY',
481
+ /** The user session is invalid because of active model errors */
482
+ InvalidUserSession = 'INVALID_USER_SESSION',
483
+ /** Invalid verification code provided */
484
+ InvalidVerificationCode = 'INVALID_VERIFICATION_CODE',
485
+ /** The namespace license with the given identifier was not found */
486
+ LicenseNotFound = 'LICENSE_NOT_FOUND',
487
+ /** Failed to load user identity from external provider */
488
+ LoadingIdentityFailed = 'LOADING_IDENTITY_FAILED',
489
+ /** Invalid MFA data provided */
490
+ MfaFailed = 'MFA_FAILED',
491
+ /** MFA is required */
492
+ MfaRequired = 'MFA_REQUIRED',
493
+ /** The primary runtime has more definitions than this one */
494
+ MissingDefinition = 'MISSING_DEFINITION',
495
+ /** This external identity is missing data */
496
+ MissingIdentityData = 'MISSING_IDENTITY_DATA',
497
+ /** Not all required parameters are present */
498
+ MissingParameter = 'MISSING_PARAMETER',
499
+ /** The user is not permitted to perform this operation */
500
+ MissingPermission = 'MISSING_PERMISSION',
501
+ /** The project is missing a primary runtime */
502
+ MissingPrimaryRuntime = 'MISSING_PRIMARY_RUNTIME',
503
+ /** The namespace member with the given identifier was not found */
504
+ NamespaceMemberNotFound = 'NAMESPACE_MEMBER_NOT_FOUND',
505
+ /** The namespace with the given identifier was not found */
506
+ NamespaceNotFound = 'NAMESPACE_NOT_FOUND',
507
+ /** The namespace project with the given identifier was not found */
508
+ NamespaceProjectNotFound = 'NAMESPACE_PROJECT_NOT_FOUND',
509
+ /** The namespace role with the given identifier was not found */
510
+ NamespaceRoleNotFound = 'NAMESPACE_ROLE_NOT_FOUND',
511
+ /** No data type identifier could be found for the given generic key */
512
+ NoDatatypeIdentifierForGenericKey = 'NO_DATATYPE_IDENTIFIER_FOR_GENERIC_KEY',
513
+ /** No data type could be found for the given identifier */
514
+ NoDataTypeForIdentifier = 'NO_DATA_TYPE_FOR_IDENTIFIER',
515
+ /** There are no free license seats to complete this operation */
516
+ NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
517
+ /** No generic type could be found for the given identifier */
518
+ NoGenericTypeForIdentifier = 'NO_GENERIC_TYPE_FOR_IDENTIFIER',
519
+ /** The project does not have a primary runtime */
520
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
521
+ /** The organization with the given identifier was not found */
522
+ OrganizationNotFound = 'ORGANIZATION_NOT_FOUND',
523
+ /** The primary runtime has a newer definition than this one */
524
+ OutdatedDefinition = 'OUTDATED_DEFINITION',
525
+ /** @deprecated Outdated concept */
526
+ PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
527
+ /** The namespace project with the given identifier was not found */
528
+ ProjectNotFound = 'PROJECT_NOT_FOUND',
529
+ /** A referenced value could not be found */
530
+ ReferencedValueNotFound = 'REFERENCED_VALUE_NOT_FOUND',
531
+ /** Self-registration is disabled */
532
+ RegistrationDisabled = 'REGISTRATION_DISABLED',
533
+ /** Resources are from different runtimes */
534
+ RuntimeMismatch = 'RUNTIME_MISMATCH',
535
+ /** The runtime with the given identifier was not found */
536
+ RuntimeNotFound = 'RUNTIME_NOT_FOUND',
537
+ /** @deprecated Outdated concept */
538
+ SecondaryLevelNotFound = 'SECONDARY_LEVEL_NOT_FOUND',
539
+ /** @deprecated Outdated concept */
540
+ TertiaryLevelExceedsParameters = 'TERTIARY_LEVEL_EXCEEDS_PARAMETERS',
541
+ /** This user already has TOTP set up */
542
+ TotpSecretAlreadySet = 'TOTP_SECRET_ALREADY_SET',
543
+ /** The user is not permitted to modify this field */
544
+ UnmodifiableField = 'UNMODIFIABLE_FIELD',
545
+ /** The user with the given identifier was not found */
546
+ UserNotFound = 'USER_NOT_FOUND',
547
+ /** The user session with the given identifier was not found */
548
+ UserSessionNotFound = 'USER_SESSION_NOT_FOUND',
549
+ /** Invalid TOTP code provided */
550
+ WrongTotp = 'WRONG_TOTP'
551
+ }
353
552
 
354
553
  /** Represents a flow */
355
554
  export interface Flow {
@@ -360,18 +559,22 @@ export interface Flow {
360
559
  id?: Maybe<Scalars['FlowID']['output']>;
361
560
  /** The input data type of the flow */
362
561
  inputType?: Maybe<DataType>;
562
+ /** Name of the flow */
563
+ name?: Maybe<Scalars['String']['output']>;
363
564
  /** Nodes of the flow */
364
565
  nodes?: Maybe<NodeFunctionConnection>;
365
566
  /** The return data type of the flow */
366
567
  returnType?: Maybe<DataType>;
367
568
  /** The settings of the flow */
368
- settings?: Maybe<Array<FlowSetting>>;
569
+ settings?: Maybe<FlowSettingConnection>;
369
570
  /** The ID of the starting node of the flow */
370
571
  startingNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
371
572
  /** The flow type of the flow */
372
573
  type?: Maybe<FlowType>;
373
574
  /** Time when this Flow was last updated */
374
575
  updatedAt?: Maybe<Scalars['Time']['output']>;
576
+ /** Abilities for the current user on this Flow */
577
+ userAbilities?: Maybe<FlowUserAbilities>;
375
578
  }
376
579
 
377
580
 
@@ -383,6 +586,15 @@ export interface FlowNodesArgs {
383
586
  last?: InputMaybe<Scalars['Int']['input']>;
384
587
  }
385
588
 
589
+
590
+ /** Represents a flow */
591
+ export interface FlowSettingsArgs {
592
+ after?: InputMaybe<Scalars['String']['input']>;
593
+ before?: InputMaybe<Scalars['String']['input']>;
594
+ first?: InputMaybe<Scalars['Int']['input']>;
595
+ last?: InputMaybe<Scalars['Int']['input']>;
596
+ }
597
+
386
598
  /** The connection type for Flow. */
387
599
  export interface FlowConnection {
388
600
  __typename?: 'FlowConnection';
@@ -407,10 +619,14 @@ export interface FlowEdge {
407
619
 
408
620
  /** Input type for creating or updating a flow */
409
621
  export interface FlowInput {
622
+ /** The name of the flow */
623
+ name: Scalars['String']['input'];
624
+ /** The node functions of the flow */
625
+ nodes: Array<NodeFunctionInput>;
410
626
  /** The settings of the flow */
411
627
  settings?: InputMaybe<Array<FlowSettingInput>>;
412
628
  /** The starting node of the flow */
413
- startingNode: NodeFunctionInput;
629
+ startingNodeId: Scalars['NodeFunctionID']['input'];
414
630
  /** The identifier of the flow type */
415
631
  type: Scalars['FlowTypeID']['input'];
416
632
  }
@@ -421,7 +637,7 @@ export interface FlowSetting {
421
637
  /** Time when this FlowSetting was created */
422
638
  createdAt?: Maybe<Scalars['Time']['output']>;
423
639
  /** The identifier of the flow setting */
424
- flowSettingId?: Maybe<Scalars['String']['output']>;
640
+ flowSettingIdentifier?: Maybe<Scalars['String']['output']>;
425
641
  /** Global ID of this FlowSetting */
426
642
  id?: Maybe<Scalars['FlowSettingID']['output']>;
427
643
  /** Time when this FlowSetting was last updated */
@@ -430,27 +646,53 @@ export interface FlowSetting {
430
646
  value?: Maybe<Scalars['JSON']['output']>;
431
647
  }
432
648
 
649
+ /** The connection type for FlowSetting. */
650
+ export interface FlowSettingConnection {
651
+ __typename?: 'FlowSettingConnection';
652
+ /** Total count of collection. */
653
+ count?: Maybe<Scalars['Int']['output']>;
654
+ /** A list of edges. */
655
+ edges?: Maybe<Array<Maybe<FlowSettingEdge>>>;
656
+ /** A list of nodes. */
657
+ nodes?: Maybe<Array<Maybe<FlowSetting>>>;
658
+ /** Information to aid in pagination. */
659
+ pageInfo?: Maybe<PageInfo>;
660
+ }
661
+
662
+ /** An edge in a connection. */
663
+ export interface FlowSettingEdge {
664
+ __typename?: 'FlowSettingEdge';
665
+ /** A cursor for use in pagination. */
666
+ cursor?: Maybe<Scalars['String']['output']>;
667
+ /** The item at the end of the edge. */
668
+ node?: Maybe<FlowSetting>;
669
+ }
670
+
433
671
  /** Input type for flow settings */
434
672
  export interface FlowSettingInput {
435
673
  /** The identifier (not database id) of the flow setting */
436
- flowSettingId: Scalars['String']['input'];
674
+ flowSettingIdentifier: Scalars['String']['input'];
437
675
  /** The value of the flow setting */
438
- object: Scalars['JSON']['input'];
676
+ value: Scalars['JSON']['input'];
439
677
  }
440
678
 
441
679
  /** Represents a flow type */
442
680
  export interface FlowType {
443
681
  __typename?: 'FlowType';
682
+ /** Name of the function */
683
+ aliases?: Maybe<TranslationConnection>;
444
684
  /** Time when this FlowType was created */
445
685
  createdAt?: Maybe<Scalars['Time']['output']>;
446
686
  /** Descriptions of the flow type */
447
687
  descriptions?: Maybe<TranslationConnection>;
688
+ /** Display message of the function */
689
+ displayMessages?: Maybe<TranslationConnection>;
448
690
  /** Editable status of the flow type */
449
691
  editable?: Maybe<Scalars['Boolean']['output']>;
450
692
  /** Flow type settings of the flow type */
451
693
  flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
452
694
  /** Global ID of this FlowType */
453
- id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
695
+ id?: Maybe<Scalars['FlowTypeID']['output']>;
454
696
  /** Identifier of the flow type */
455
697
  identifier?: Maybe<Scalars['String']['output']>;
456
698
  /** Input type of the flow type */
@@ -464,6 +706,15 @@ export interface FlowType {
464
706
  }
465
707
 
466
708
 
709
+ /** Represents a flow type */
710
+ export interface FlowTypeAliasesArgs {
711
+ after?: InputMaybe<Scalars['String']['input']>;
712
+ before?: InputMaybe<Scalars['String']['input']>;
713
+ first?: InputMaybe<Scalars['Int']['input']>;
714
+ last?: InputMaybe<Scalars['Int']['input']>;
715
+ }
716
+
717
+
467
718
  /** Represents a flow type */
468
719
  export interface FlowTypeDescriptionsArgs {
469
720
  after?: InputMaybe<Scalars['String']['input']>;
@@ -473,6 +724,15 @@ export interface FlowTypeDescriptionsArgs {
473
724
  }
474
725
 
475
726
 
727
+ /** Represents a flow type */
728
+ export interface FlowTypeDisplayMessagesArgs {
729
+ after?: InputMaybe<Scalars['String']['input']>;
730
+ before?: InputMaybe<Scalars['String']['input']>;
731
+ first?: InputMaybe<Scalars['Int']['input']>;
732
+ last?: InputMaybe<Scalars['Int']['input']>;
733
+ }
734
+
735
+
476
736
  /** Represents a flow type */
477
737
  export interface FlowTypeNamesArgs {
478
738
  after?: InputMaybe<Scalars['String']['input']>;
@@ -544,21 +804,77 @@ export interface FlowTypeSettingNamesArgs {
544
804
  last?: InputMaybe<Scalars['Int']['input']>;
545
805
  }
546
806
 
807
+ /** Abilities for the current user on this Flow */
808
+ export interface FlowUserAbilities {
809
+ __typename?: 'FlowUserAbilities';
810
+ /** Shows if the current user has the `delete_flow` ability on this Flow */
811
+ deleteFlow?: Maybe<Scalars['Boolean']['output']>;
812
+ }
813
+
814
+ /** Represents a flow validation error */
815
+ export interface FlowValidationError {
816
+ __typename?: 'FlowValidationError';
817
+ /** Additional details about the validation error */
818
+ details?: Maybe<ActiveModelError>;
819
+ /** The code representing the validation error type */
820
+ errorCode?: Maybe<FlowValidationErrorCodeEnum>;
821
+ /** The severity of the validation error */
822
+ severity?: Maybe<FlowValidationSeverityEnum>;
823
+ }
824
+
825
+ /** Represents the available error responses */
826
+ export const enum FlowValidationErrorCodeEnum {
827
+ /** The generic key for the data type identifier was not found. */
828
+ DataTypeIdentifierGenericKeyNotFound = 'DATA_TYPE_IDENTIFIER_GENERIC_KEY_NOT_FOUND',
829
+ /** The data type identifier runtime does not match the flow type runtime. */
830
+ DataTypeIdentifierRuntimeMismatch = 'DATA_TYPE_IDENTIFIER_RUNTIME_MISMATCH',
831
+ /** The data type rule model is invalid. */
832
+ DataTypeRuleModelInvalid = 'DATA_TYPE_RULE_MODEL_INVALID',
833
+ /** The data type runtime does not match the flow type runtime. */
834
+ DataTypeRuntimeMismatch = 'DATA_TYPE_RUNTIME_MISMATCH',
835
+ /** The flow setting model is invalid. */
836
+ FlowSettingModelInvalid = 'FLOW_SETTING_MODEL_INVALID',
837
+ /** The flow type runtime does not match the project primary runtime. */
838
+ FlowTypeRuntimeMismatch = 'FLOW_TYPE_RUNTIME_MISMATCH',
839
+ /** The node function runtime does not match the project primary runtime. */
840
+ NodeFunctionRuntimeMismatch = 'NODE_FUNCTION_RUNTIME_MISMATCH',
841
+ /** The project does not have a primary runtime set. */
842
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME'
843
+ }
844
+
845
+ /** Represents the severity of a flow validation error */
846
+ export const enum FlowValidationSeverityEnum {
847
+ /** A blocking validation error */
848
+ Error = 'ERROR',
849
+ /** A minor typographical issue can also be blocking */
850
+ Typo = 'TYPO',
851
+ /** A non-blocking validation warning */
852
+ Warning = 'WARNING',
853
+ /** A weak validation issue that may not need to be addressed */
854
+ Weak = 'WEAK'
855
+ }
856
+
547
857
  /** Represents a function definition */
548
858
  export interface FunctionDefinition {
549
859
  __typename?: 'FunctionDefinition';
860
+ /** Name of the function */
861
+ aliases?: Maybe<TranslationConnection>;
550
862
  /** Time when this FunctionDefinition was created */
551
863
  createdAt?: Maybe<Scalars['Time']['output']>;
552
864
  /** Deprecation message of the function */
553
865
  deprecationMessages?: Maybe<TranslationConnection>;
554
866
  /** Description of the function */
555
867
  descriptions?: Maybe<TranslationConnection>;
868
+ /** Display message of the function */
869
+ displayMessages?: Maybe<TranslationConnection>;
556
870
  /** Documentation of the function */
557
871
  documentations?: Maybe<TranslationConnection>;
558
872
  /** Generic keys of the function */
559
873
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
560
874
  /** Global ID of this FunctionDefinition */
561
875
  id?: Maybe<Scalars['FunctionDefinitionID']['output']>;
876
+ /** Identifier of the function */
877
+ identifier?: Maybe<Scalars['String']['output']>;
562
878
  /** Name of the function */
563
879
  names?: Maybe<TranslationConnection>;
564
880
  /** Parameters of the function */
@@ -574,6 +890,15 @@ export interface FunctionDefinition {
574
890
  }
575
891
 
576
892
 
893
+ /** Represents a function definition */
894
+ export interface FunctionDefinitionAliasesArgs {
895
+ after?: InputMaybe<Scalars['String']['input']>;
896
+ before?: InputMaybe<Scalars['String']['input']>;
897
+ first?: InputMaybe<Scalars['Int']['input']>;
898
+ last?: InputMaybe<Scalars['Int']['input']>;
899
+ }
900
+
901
+
577
902
  /** Represents a function definition */
578
903
  export interface FunctionDefinitionDeprecationMessagesArgs {
579
904
  after?: InputMaybe<Scalars['String']['input']>;
@@ -592,6 +917,15 @@ export interface FunctionDefinitionDescriptionsArgs {
592
917
  }
593
918
 
594
919
 
920
+ /** Represents a function definition */
921
+ export interface FunctionDefinitionDisplayMessagesArgs {
922
+ after?: InputMaybe<Scalars['String']['input']>;
923
+ before?: InputMaybe<Scalars['String']['input']>;
924
+ first?: InputMaybe<Scalars['Int']['input']>;
925
+ last?: InputMaybe<Scalars['Int']['input']>;
926
+ }
927
+
928
+
595
929
  /** Represents a function definition */
596
930
  export interface FunctionDefinitionDocumentationsArgs {
597
931
  after?: InputMaybe<Scalars['String']['input']>;
@@ -656,7 +990,7 @@ export interface GenericCombinationStrategy {
656
990
  }
657
991
 
658
992
  /** The available combination strategy types. */
659
- export enum GenericCombinationStrategyType {
993
+ export const enum GenericCombinationStrategyType {
660
994
  /** Represents a logical AND combination. */
661
995
  And = 'AND',
662
996
  /** Represents a logical OR combination. */
@@ -673,7 +1007,7 @@ export interface GenericMapper {
673
1007
  /** Global ID of this GenericMapper */
674
1008
  id?: Maybe<Scalars['GenericMapperID']['output']>;
675
1009
  /** The source data type identifier. */
676
- sources?: Maybe<Array<DataTypeIdentifier>>;
1010
+ sourceDataTypeIdentifiers?: Maybe<Array<DataTypeIdentifier>>;
677
1011
  /** The target key for the generic value. */
678
1012
  target?: Maybe<Scalars['String']['output']>;
679
1013
  /** Time when this GenericMapper was last updated */
@@ -683,7 +1017,7 @@ export interface GenericMapper {
683
1017
  /** Input type for generic mappers */
684
1018
  export interface GenericMapperInput {
685
1019
  /** The source data type identifier for the mapper */
686
- sources: Array<DataTypeIdentifierInput>;
1020
+ sourceDataTypeIdentifiers: Array<DataTypeIdentifierInput>;
687
1021
  /** The target data type identifier for the mapper */
688
1022
  target: Scalars['String']['input'];
689
1023
  }
@@ -717,6 +1051,23 @@ export interface IdentityInput {
717
1051
  code?: InputMaybe<Scalars['String']['input']>;
718
1052
  }
719
1053
 
1054
+ /** Abilities for the current user on this Instance */
1055
+ export interface InstanceUserAbilities {
1056
+ __typename?: 'InstanceUserAbilities';
1057
+ /** Shows if the current user has the `create_organization` ability on this Instance */
1058
+ createOrganization?: Maybe<Scalars['Boolean']['output']>;
1059
+ /** Shows if the current user has the `create_runtime` ability on this Instance */
1060
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
1061
+ /** Shows if the current user has the `delete_runtime` ability on this Instance */
1062
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
1063
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Instance */
1064
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
1065
+ /** Shows if the current user has the `update_application_setting` ability on this Instance */
1066
+ updateApplicationSetting?: Maybe<Scalars['Boolean']['output']>;
1067
+ /** Shows if the current user has the `update_runtime` ability on this Instance */
1068
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
1069
+ }
1070
+
720
1071
  /** Represents a literal value, such as a string or number. */
721
1072
  export interface LiteralValue {
722
1073
  __typename?: 'LiteralValue';
@@ -735,6 +1086,15 @@ export interface MessageError {
735
1086
  message?: Maybe<Scalars['String']['output']>;
736
1087
  }
737
1088
 
1089
+ /** Application metadata */
1090
+ export interface Metadata {
1091
+ __typename?: 'Metadata';
1092
+ /** List of loaded extensions */
1093
+ extensions?: Maybe<Array<Scalars['String']['output']>>;
1094
+ /** Application version */
1095
+ version?: Maybe<Scalars['String']['output']>;
1096
+ }
1097
+
738
1098
  /** Represents the input for mfa authentication */
739
1099
  export interface MfaInput {
740
1100
  /** The type of the mfa authentication */
@@ -743,8 +1103,19 @@ export interface MfaInput {
743
1103
  value: Scalars['String']['input'];
744
1104
  }
745
1105
 
1106
+ /** Represents the MFA status of a user */
1107
+ export interface MfaStatus {
1108
+ __typename?: 'MfaStatus';
1109
+ /** The number of backup codes remaining for the user. */
1110
+ backupCodesCount?: Maybe<Scalars['Int']['output']>;
1111
+ /** Indicates whether MFA is enabled for the user. */
1112
+ enabled?: Maybe<Scalars['Boolean']['output']>;
1113
+ /** Indicates whether TOTP MFA is enabled for the user. */
1114
+ totpEnabled?: Maybe<Scalars['Boolean']['output']>;
1115
+ }
1116
+
746
1117
  /** Represent all available types to authenticate with mfa */
747
- export enum MfaType {
1118
+ export const enum MfaType {
748
1119
  /** Single use backup code */
749
1120
  BackupCode = 'BACKUP_CODE',
750
1121
  /** Time based onetime password */
@@ -764,9 +1135,9 @@ export interface Mutation {
764
1135
  *
765
1136
  */
766
1137
  echo?: Maybe<EchoPayload>;
767
- /** Create a new namespace license. */
1138
+ /** (EE only) Create a new namespace license. */
768
1139
  namespacesLicensesCreate?: Maybe<NamespacesLicensesCreatePayload>;
769
- /** Deletes an namespace license. */
1140
+ /** (EE only) Deletes an namespace license. */
770
1141
  namespacesLicensesDelete?: Maybe<NamespacesLicensesDeletePayload>;
771
1142
  /** Update the roles a member is assigned to. */
772
1143
  namespacesMembersAssignRoles?: Maybe<NamespacesMembersAssignRolesPayload>;
@@ -810,6 +1181,10 @@ export interface Mutation {
810
1181
  runtimesRotateToken?: Maybe<RuntimesRotateTokenPayload>;
811
1182
  /** Update an existing runtime. */
812
1183
  runtimesUpdate?: Maybe<RuntimesUpdatePayload>;
1184
+ /** Admin-create a user. */
1185
+ usersCreate?: Maybe<UsersCreatePayload>;
1186
+ /** Delete an existing user. */
1187
+ usersDelete?: Maybe<UsersDeletePayload>;
813
1188
  /** Verify your email when changing it or signing up */
814
1189
  usersEmailVerification?: Maybe<UsersEmailVerificationPayload>;
815
1190
  /** Links an external identity to an existing user */
@@ -830,6 +1205,10 @@ export interface Mutation {
830
1205
  usersMfaTotpGenerateSecret?: Maybe<UsersMfaTotpGenerateSecretPayload>;
831
1206
  /** Validates a TOTP value for the given secret and enables TOTP MFA for the user */
832
1207
  usersMfaTotpValidateSecret?: Maybe<UsersMfaTotpValidateSecretPayload>;
1208
+ /** Reset the password using a reset token */
1209
+ usersPasswordReset?: Maybe<UsersPasswordResetPayload>;
1210
+ /** Request an password reset */
1211
+ usersPasswordResetRequest?: Maybe<UsersPasswordResetRequestPayload>;
833
1212
  /** Register a new user */
834
1213
  usersRegister?: Maybe<UsersRegisterPayload>;
835
1214
  /** Update an existing user. */
@@ -987,6 +1366,18 @@ export interface MutationRuntimesUpdateArgs {
987
1366
  }
988
1367
 
989
1368
 
1369
+ /** Root Mutation type */
1370
+ export interface MutationUsersCreateArgs {
1371
+ input: UsersCreateInput;
1372
+ }
1373
+
1374
+
1375
+ /** Root Mutation type */
1376
+ export interface MutationUsersDeleteArgs {
1377
+ input: UsersDeleteInput;
1378
+ }
1379
+
1380
+
990
1381
  /** Root Mutation type */
991
1382
  export interface MutationUsersEmailVerificationArgs {
992
1383
  input: UsersEmailVerificationInput;
@@ -1047,6 +1438,18 @@ export interface MutationUsersMfaTotpValidateSecretArgs {
1047
1438
  }
1048
1439
 
1049
1440
 
1441
+ /** Root Mutation type */
1442
+ export interface MutationUsersPasswordResetArgs {
1443
+ input: UsersPasswordResetInput;
1444
+ }
1445
+
1446
+
1447
+ /** Root Mutation type */
1448
+ export interface MutationUsersPasswordResetRequestArgs {
1449
+ input: UsersPasswordResetRequestInput;
1450
+ }
1451
+
1452
+
1050
1453
  /** Root Mutation type */
1051
1454
  export interface MutationUsersRegisterArgs {
1052
1455
  input: UsersRegisterInput;
@@ -1063,11 +1466,13 @@ export interface Namespace {
1063
1466
  __typename?: 'Namespace';
1064
1467
  /** Time when this Namespace was created */
1065
1468
  createdAt?: Maybe<Scalars['Time']['output']>;
1469
+ /** (EE only) Currently active license of the namespace */
1470
+ currentNamespaceLicense?: Maybe<NamespaceLicense>;
1066
1471
  /** Global ID of this Namespace */
1067
1472
  id?: Maybe<Scalars['NamespaceID']['output']>;
1068
1473
  /** Members of the namespace */
1069
1474
  members?: Maybe<NamespaceMemberConnection>;
1070
- /** Licenses of the namespace */
1475
+ /** (EE only) Licenses of the namespace */
1071
1476
  namespaceLicenses?: Maybe<NamespaceLicenseConnection>;
1072
1477
  /** Parent of this namespace */
1073
1478
  parent?: Maybe<NamespaceParent>;
@@ -1079,6 +1484,8 @@ export interface Namespace {
1079
1484
  runtimes?: Maybe<RuntimeConnection>;
1080
1485
  /** Time when this Namespace was last updated */
1081
1486
  updatedAt?: Maybe<Scalars['Time']['output']>;
1487
+ /** Abilities for the current user on this Namespace */
1488
+ userAbilities?: Maybe<NamespaceUserAbilities>;
1082
1489
  }
1083
1490
 
1084
1491
 
@@ -1126,17 +1533,25 @@ export interface NamespaceRuntimesArgs {
1126
1533
  last?: InputMaybe<Scalars['Int']['input']>;
1127
1534
  }
1128
1535
 
1129
- /** Represents a Namespace License */
1536
+ /** (EE only) Represents a Namespace License */
1130
1537
  export interface NamespaceLicense {
1131
1538
  __typename?: 'NamespaceLicense';
1132
1539
  /** Time when this NamespaceLicense was created */
1133
1540
  createdAt?: Maybe<Scalars['Time']['output']>;
1541
+ /** The end date of the license */
1542
+ endDate?: Maybe<Scalars['Time']['output']>;
1134
1543
  /** Global ID of this NamespaceLicense */
1135
1544
  id?: Maybe<Scalars['NamespaceLicenseID']['output']>;
1545
+ /** The licensee information */
1546
+ licensee?: Maybe<Scalars['JSON']['output']>;
1136
1547
  /** The namespace the license belongs to */
1137
1548
  namespace?: Maybe<Namespace>;
1549
+ /** The start date of the license */
1550
+ startDate?: Maybe<Scalars['Time']['output']>;
1138
1551
  /** Time when this NamespaceLicense was last updated */
1139
1552
  updatedAt?: Maybe<Scalars['Time']['output']>;
1553
+ /** Abilities for the current user on this NamespaceLicense */
1554
+ userAbilities?: Maybe<NamespaceLicenseUserAbilities>;
1140
1555
  }
1141
1556
 
1142
1557
  /** The connection type for NamespaceLicense. */
@@ -1161,6 +1576,13 @@ export interface NamespaceLicenseEdge {
1161
1576
  node?: Maybe<NamespaceLicense>;
1162
1577
  }
1163
1578
 
1579
+ /** Abilities for the current user on this NamespaceLicense */
1580
+ export interface NamespaceLicenseUserAbilities {
1581
+ __typename?: 'NamespaceLicenseUserAbilities';
1582
+ /** Shows if the current user has the `delete_namespace_license` ability on this NamespaceLicense */
1583
+ deleteNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1584
+ }
1585
+
1164
1586
  /** Represents a namespace member */
1165
1587
  export interface NamespaceMember {
1166
1588
  __typename?: 'NamespaceMember';
@@ -1168,12 +1590,36 @@ export interface NamespaceMember {
1168
1590
  createdAt?: Maybe<Scalars['Time']['output']>;
1169
1591
  /** Global ID of this NamespaceMember */
1170
1592
  id?: Maybe<Scalars['NamespaceMemberID']['output']>;
1593
+ /** Memberroles of the member */
1594
+ memberRoles?: Maybe<NamespaceMemberRoleConnection>;
1171
1595
  /** Namespace this member belongs to */
1172
1596
  namespace?: Maybe<Namespace>;
1597
+ /** Roles of the member */
1598
+ roles?: Maybe<NamespaceRoleConnection>;
1173
1599
  /** Time when this NamespaceMember was last updated */
1174
1600
  updatedAt?: Maybe<Scalars['Time']['output']>;
1175
1601
  /** User this member belongs to */
1176
1602
  user?: Maybe<User>;
1603
+ /** Abilities for the current user on this NamespaceMember */
1604
+ userAbilities?: Maybe<NamespaceMemberUserAbilities>;
1605
+ }
1606
+
1607
+
1608
+ /** Represents a namespace member */
1609
+ export interface NamespaceMemberMemberRolesArgs {
1610
+ after?: InputMaybe<Scalars['String']['input']>;
1611
+ before?: InputMaybe<Scalars['String']['input']>;
1612
+ first?: InputMaybe<Scalars['Int']['input']>;
1613
+ last?: InputMaybe<Scalars['Int']['input']>;
1614
+ }
1615
+
1616
+
1617
+ /** Represents a namespace member */
1618
+ export interface NamespaceMemberRolesArgs {
1619
+ after?: InputMaybe<Scalars['String']['input']>;
1620
+ before?: InputMaybe<Scalars['String']['input']>;
1621
+ first?: InputMaybe<Scalars['Int']['input']>;
1622
+ last?: InputMaybe<Scalars['Int']['input']>;
1177
1623
  }
1178
1624
 
1179
1625
  /** The connection type for NamespaceMember. */
@@ -1213,8 +1659,39 @@ export interface NamespaceMemberRole {
1213
1659
  updatedAt?: Maybe<Scalars['Time']['output']>;
1214
1660
  }
1215
1661
 
1662
+ /** The connection type for NamespaceMemberRole. */
1663
+ export interface NamespaceMemberRoleConnection {
1664
+ __typename?: 'NamespaceMemberRoleConnection';
1665
+ /** Total count of collection. */
1666
+ count?: Maybe<Scalars['Int']['output']>;
1667
+ /** A list of edges. */
1668
+ edges?: Maybe<Array<Maybe<NamespaceMemberRoleEdge>>>;
1669
+ /** A list of nodes. */
1670
+ nodes?: Maybe<Array<Maybe<NamespaceMemberRole>>>;
1671
+ /** Information to aid in pagination. */
1672
+ pageInfo?: Maybe<PageInfo>;
1673
+ }
1674
+
1675
+ /** An edge in a connection. */
1676
+ export interface NamespaceMemberRoleEdge {
1677
+ __typename?: 'NamespaceMemberRoleEdge';
1678
+ /** A cursor for use in pagination. */
1679
+ cursor?: Maybe<Scalars['String']['output']>;
1680
+ /** The item at the end of the edge. */
1681
+ node?: Maybe<NamespaceMemberRole>;
1682
+ }
1683
+
1684
+ /** Abilities for the current user on this NamespaceMember */
1685
+ export interface NamespaceMemberUserAbilities {
1686
+ __typename?: 'NamespaceMemberUserAbilities';
1687
+ /** Shows if the current user has the `assign_member_roles` ability on this NamespaceMember */
1688
+ assignMemberRoles?: Maybe<Scalars['Boolean']['output']>;
1689
+ /** Shows if the current user has the `delete_member` ability on this NamespaceMember */
1690
+ deleteMember?: Maybe<Scalars['Boolean']['output']>;
1691
+ }
1692
+
1216
1693
  /** Objects that can present a namespace */
1217
- export type NamespaceParent = Organization;
1694
+ export type NamespaceParent = Organization | User;
1218
1695
 
1219
1696
  /** Represents a namespace project */
1220
1697
  export interface NamespaceProject {
@@ -1235,10 +1712,14 @@ export interface NamespaceProject {
1235
1712
  namespace?: Maybe<Namespace>;
1236
1713
  /** The primary runtime for the project */
1237
1714
  primaryRuntime?: Maybe<Runtime>;
1715
+ /** Roles assigned to this project */
1716
+ roles?: Maybe<NamespaceRoleConnection>;
1238
1717
  /** Runtimes assigned to this project */
1239
1718
  runtimes?: Maybe<RuntimeConnection>;
1240
1719
  /** Time when this NamespaceProject was last updated */
1241
1720
  updatedAt?: Maybe<Scalars['Time']['output']>;
1721
+ /** Abilities for the current user on this NamespaceProject */
1722
+ userAbilities?: Maybe<NamespaceProjectUserAbilities>;
1242
1723
  }
1243
1724
 
1244
1725
 
@@ -1257,6 +1738,15 @@ export interface NamespaceProjectFlowsArgs {
1257
1738
  }
1258
1739
 
1259
1740
 
1741
+ /** Represents a namespace project */
1742
+ export interface NamespaceProjectRolesArgs {
1743
+ after?: InputMaybe<Scalars['String']['input']>;
1744
+ before?: InputMaybe<Scalars['String']['input']>;
1745
+ first?: InputMaybe<Scalars['Int']['input']>;
1746
+ last?: InputMaybe<Scalars['Int']['input']>;
1747
+ }
1748
+
1749
+
1260
1750
  /** Represents a namespace project */
1261
1751
  export interface NamespaceProjectRuntimesArgs {
1262
1752
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1287,6 +1777,19 @@ export interface NamespaceProjectEdge {
1287
1777
  node?: Maybe<NamespaceProject>;
1288
1778
  }
1289
1779
 
1780
+ /** Abilities for the current user on this NamespaceProject */
1781
+ export interface NamespaceProjectUserAbilities {
1782
+ __typename?: 'NamespaceProjectUserAbilities';
1783
+ /** Shows if the current user has the `assign_project_runtimes` ability on this NamespaceProject */
1784
+ assignProjectRuntimes?: Maybe<Scalars['Boolean']['output']>;
1785
+ /** Shows if the current user has the `create_flow` ability on this NamespaceProject */
1786
+ createFlow?: Maybe<Scalars['Boolean']['output']>;
1787
+ /** Shows if the current user has the `delete_namespace_project` ability on this NamespaceProject */
1788
+ deleteNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1789
+ /** Shows if the current user has the `update_namespace_project` ability on this NamespaceProject */
1790
+ updateNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1791
+ }
1792
+
1290
1793
  /** Represents a namespace role. */
1291
1794
  export interface NamespaceRole {
1292
1795
  __typename?: 'NamespaceRole';
@@ -1298,12 +1801,16 @@ export interface NamespaceRole {
1298
1801
  createdAt?: Maybe<Scalars['Time']['output']>;
1299
1802
  /** Global ID of this NamespaceRole */
1300
1803
  id?: Maybe<Scalars['NamespaceRoleID']['output']>;
1804
+ /** The members this role is assigned to */
1805
+ members?: Maybe<NamespaceMemberConnection>;
1301
1806
  /** The name of this role */
1302
1807
  name?: Maybe<Scalars['String']['output']>;
1303
1808
  /** The namespace where this role belongs to */
1304
1809
  namespace?: Maybe<Namespace>;
1305
1810
  /** Time when this NamespaceRole was last updated */
1306
1811
  updatedAt?: Maybe<Scalars['Time']['output']>;
1812
+ /** Abilities for the current user on this NamespaceRole */
1813
+ userAbilities?: Maybe<NamespaceRoleUserAbilities>;
1307
1814
  }
1308
1815
 
1309
1816
 
@@ -1315,8 +1822,17 @@ export interface NamespaceRoleAssignedProjectsArgs {
1315
1822
  last?: InputMaybe<Scalars['Int']['input']>;
1316
1823
  }
1317
1824
 
1825
+
1826
+ /** Represents a namespace role. */
1827
+ export interface NamespaceRoleMembersArgs {
1828
+ after?: InputMaybe<Scalars['String']['input']>;
1829
+ before?: InputMaybe<Scalars['String']['input']>;
1830
+ first?: InputMaybe<Scalars['Int']['input']>;
1831
+ last?: InputMaybe<Scalars['Int']['input']>;
1832
+ }
1833
+
1318
1834
  /** Represents abilities that can be granted to roles in namespaces. */
1319
- export enum NamespaceRoleAbility {
1835
+ export const enum NamespaceRoleAbility {
1320
1836
  /** Allows to change the roles of a namespace member */
1321
1837
  AssignMemberRoles = 'ASSIGN_MEMBER_ROLES',
1322
1838
  /** Allows to assign runtimes to a project in the namespace */
@@ -1326,7 +1842,7 @@ export enum NamespaceRoleAbility {
1326
1842
  /** Allows to change the assigned projects of a namespace role */
1327
1843
  AssignRoleProjects = 'ASSIGN_ROLE_PROJECTS',
1328
1844
  /** Allows to create flows in a namespace project */
1329
- CreateFlows = 'CREATE_FLOWS',
1845
+ CreateFlow = 'CREATE_FLOW',
1330
1846
  /** Allows to create a license for the namespace */
1331
1847
  CreateNamespaceLicense = 'CREATE_NAMESPACE_LICENSE',
1332
1848
  /** Allows to create a project in the namespace */
@@ -1336,7 +1852,7 @@ export enum NamespaceRoleAbility {
1336
1852
  /** Allows to create a runtime globally or for the namespace */
1337
1853
  CreateRuntime = 'CREATE_RUNTIME',
1338
1854
  /** Allows to delete flows in a namespace project */
1339
- DeleteFlows = 'DELETE_FLOWS',
1855
+ DeleteFlow = 'DELETE_FLOW',
1340
1856
  /** Allows to remove members of a namespace */
1341
1857
  DeleteMember = 'DELETE_MEMBER',
1342
1858
  /** Allows to delete the license of the namespace */
@@ -1360,7 +1876,7 @@ export enum NamespaceRoleAbility {
1360
1876
  /** Allows to regenerate a runtime token */
1361
1877
  RotateRuntimeToken = 'ROTATE_RUNTIME_TOKEN',
1362
1878
  /** Allows to update flows in the project */
1363
- UpdateFlows = 'UPDATE_FLOWS',
1879
+ UpdateFlow = 'UPDATE_FLOW',
1364
1880
  /** Allows to update the project of the namespace */
1365
1881
  UpdateNamespaceProject = 'UPDATE_NAMESPACE_PROJECT',
1366
1882
  /** Allows to update the namespace role */
@@ -1393,6 +1909,34 @@ export interface NamespaceRoleEdge {
1393
1909
  node?: Maybe<NamespaceRole>;
1394
1910
  }
1395
1911
 
1912
+ /** Abilities for the current user on this NamespaceRole */
1913
+ export interface NamespaceRoleUserAbilities {
1914
+ __typename?: 'NamespaceRoleUserAbilities';
1915
+ /** Shows if the current user has the `assign_role_abilities` ability on this NamespaceRole */
1916
+ assignRoleAbilities?: Maybe<Scalars['Boolean']['output']>;
1917
+ /** Shows if the current user has the `assign_role_projects` ability on this NamespaceRole */
1918
+ assignRoleProjects?: Maybe<Scalars['Boolean']['output']>;
1919
+ /** Shows if the current user has the `delete_namespace_role` ability on this NamespaceRole */
1920
+ deleteNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1921
+ /** Shows if the current user has the `update_namespace_role` ability on this NamespaceRole */
1922
+ updateNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1923
+ }
1924
+
1925
+ /** Abilities for the current user on this Namespace */
1926
+ export interface NamespaceUserAbilities {
1927
+ __typename?: 'NamespaceUserAbilities';
1928
+ /** Shows if the current user has the `create_namespace_license` ability on this Namespace */
1929
+ createNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1930
+ /** Shows if the current user has the `create_namespace_project` ability on this Namespace */
1931
+ createNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1932
+ /** Shows if the current user has the `create_namespace_role` ability on this Namespace */
1933
+ createNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1934
+ /** Shows if the current user has the `create_runtime` ability on this Namespace */
1935
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
1936
+ /** Shows if the current user has the `invite_member` ability on this Namespace */
1937
+ inviteMember?: Maybe<Scalars['Boolean']['output']>;
1938
+ }
1939
+
1396
1940
  /** Autogenerated input type of NamespacesLicensesCreate */
1397
1941
  export interface NamespacesLicensesCreateInput {
1398
1942
  /** A unique identifier for the client performing the mutation. */
@@ -1450,8 +1994,8 @@ export interface NamespacesMembersAssignRolesPayload {
1450
1994
  clientMutationId?: Maybe<Scalars['String']['output']>;
1451
1995
  /** Errors encountered during execution of the mutation. */
1452
1996
  errors?: Maybe<Array<Error>>;
1453
- /** The roles the member is now assigned to */
1454
- namespaceMemberRoles?: Maybe<Array<NamespaceMemberRole>>;
1997
+ /** The member which was assigned the roles */
1998
+ member?: Maybe<NamespaceMember>;
1455
1999
  }
1456
2000
 
1457
2001
  /** Autogenerated input type of NamespacesMembersDelete */
@@ -1736,14 +2280,14 @@ export interface NodeFunction {
1736
2280
  __typename?: 'NodeFunction';
1737
2281
  /** Time when this NodeFunction was created */
1738
2282
  createdAt?: Maybe<Scalars['Time']['output']>;
2283
+ /** The definition of the Node Function */
2284
+ functionDefinition?: Maybe<FunctionDefinition>;
1739
2285
  /** Global ID of this NodeFunction */
1740
2286
  id?: Maybe<Scalars['NodeFunctionID']['output']>;
1741
2287
  /** The ID of the next Node Function in the flow */
1742
2288
  nextNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
1743
2289
  /** The parameters of the Node Function */
1744
2290
  parameters?: Maybe<NodeParameterConnection>;
1745
- /** The definition of the Node Function */
1746
- runtimeFunction?: Maybe<RuntimeFunctionDefinition>;
1747
2291
  /** Time when this NodeFunction was last updated */
1748
2292
  updatedAt?: Maybe<Scalars['Time']['output']>;
1749
2293
  }
@@ -1781,8 +2325,10 @@ export interface NodeFunctionEdge {
1781
2325
 
1782
2326
  /** Input type for a Node Function */
1783
2327
  export interface NodeFunctionInput {
2328
+ /** The identifier of the Node Function used to create/update the flow */
2329
+ id: Scalars['NodeFunctionID']['input'];
1784
2330
  /** The next Node Function in the flow */
1785
- nextNode?: InputMaybe<NodeFunctionInput>;
2331
+ nextNodeId?: InputMaybe<Scalars['NodeFunctionID']['input']>;
1786
2332
  /** The parameters of the Node Function */
1787
2333
  parameters: Array<NodeParameterInput>;
1788
2334
  /** The identifier of the Runtime Function Definition */
@@ -1860,6 +2406,39 @@ export interface Organization {
1860
2406
  namespace?: Maybe<Namespace>;
1861
2407
  /** Time when this Organization was last updated */
1862
2408
  updatedAt?: Maybe<Scalars['Time']['output']>;
2409
+ /** Abilities for the current user on this Organization */
2410
+ userAbilities?: Maybe<OrganizationUserAbilities>;
2411
+ }
2412
+
2413
+ /** The connection type for Organization. */
2414
+ export interface OrganizationConnection {
2415
+ __typename?: 'OrganizationConnection';
2416
+ /** Total count of collection. */
2417
+ count?: Maybe<Scalars['Int']['output']>;
2418
+ /** A list of edges. */
2419
+ edges?: Maybe<Array<Maybe<OrganizationEdge>>>;
2420
+ /** A list of nodes. */
2421
+ nodes?: Maybe<Array<Maybe<Organization>>>;
2422
+ /** Information to aid in pagination. */
2423
+ pageInfo?: Maybe<PageInfo>;
2424
+ }
2425
+
2426
+ /** An edge in a connection. */
2427
+ export interface OrganizationEdge {
2428
+ __typename?: 'OrganizationEdge';
2429
+ /** A cursor for use in pagination. */
2430
+ cursor?: Maybe<Scalars['String']['output']>;
2431
+ /** The item at the end of the edge. */
2432
+ node?: Maybe<Organization>;
2433
+ }
2434
+
2435
+ /** Abilities for the current user on this Organization */
2436
+ export interface OrganizationUserAbilities {
2437
+ __typename?: 'OrganizationUserAbilities';
2438
+ /** Shows if the current user has the `delete_organization` ability on this Organization */
2439
+ deleteOrganization?: Maybe<Scalars['Boolean']['output']>;
2440
+ /** Shows if the current user has the `update_organization` ability on this Organization */
2441
+ updateOrganization?: Maybe<Scalars['Boolean']['output']>;
1863
2442
  }
1864
2443
 
1865
2444
  /** Autogenerated input type of OrganizationsCreate */
@@ -1940,13 +2519,15 @@ export interface ParameterDefinition {
1940
2519
  /** Time when this ParameterDefinition was created */
1941
2520
  createdAt?: Maybe<Scalars['Time']['output']>;
1942
2521
  /** Data type of the parameter */
1943
- dataType?: Maybe<DataTypeIdentifier>;
2522
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
1944
2523
  /** Description of the parameter */
1945
2524
  descriptions?: Maybe<TranslationConnection>;
1946
2525
  /** Documentation of the parameter */
1947
2526
  documentations?: Maybe<TranslationConnection>;
1948
2527
  /** Global ID of this ParameterDefinition */
1949
2528
  id?: Maybe<Scalars['ParameterDefinitionID']['output']>;
2529
+ /** Identifier of the parameter */
2530
+ identifier?: Maybe<Scalars['String']['output']>;
1950
2531
  /** Name of the parameter */
1951
2532
  names?: Maybe<TranslationConnection>;
1952
2533
  /** Time when this ParameterDefinition was last updated */
@@ -2005,8 +2586,8 @@ export interface ParameterDefinitionEdge {
2005
2586
  /** Root Query type */
2006
2587
  export interface Query {
2007
2588
  __typename?: 'Query';
2008
- /** Get global application settings */
2009
- applicationSettings?: Maybe<ApplicationSettings>;
2589
+ /** Get application information */
2590
+ application?: Maybe<Application>;
2010
2591
  /** Get the currently logged in authentication */
2011
2592
  currentAuthentication?: Maybe<Authentication>;
2012
2593
  /** Get the currently logged in user */
@@ -2023,6 +2604,12 @@ export interface Query {
2023
2604
  nodes?: Maybe<Array<Maybe<Node>>>;
2024
2605
  /** Find a organization */
2025
2606
  organization?: Maybe<Organization>;
2607
+ /** Find organizations */
2608
+ organizations?: Maybe<OrganizationConnection>;
2609
+ /** Find a user */
2610
+ user?: Maybe<User>;
2611
+ /** Abilities for the current user on this Instance */
2612
+ userAbilities?: Maybe<InstanceUserAbilities>;
2026
2613
  /** Find users */
2027
2614
  users?: Maybe<UserConnection>;
2028
2615
  }
@@ -2068,6 +2655,22 @@ export interface QueryOrganizationArgs {
2068
2655
  }
2069
2656
 
2070
2657
 
2658
+ /** Root Query type */
2659
+ export interface QueryOrganizationsArgs {
2660
+ after?: InputMaybe<Scalars['String']['input']>;
2661
+ before?: InputMaybe<Scalars['String']['input']>;
2662
+ first?: InputMaybe<Scalars['Int']['input']>;
2663
+ last?: InputMaybe<Scalars['Int']['input']>;
2664
+ }
2665
+
2666
+
2667
+ /** Root Query type */
2668
+ export interface QueryUserArgs {
2669
+ id?: InputMaybe<Scalars['UserID']['input']>;
2670
+ username?: InputMaybe<Scalars['String']['input']>;
2671
+ }
2672
+
2673
+
2071
2674
  /** Root Query type */
2072
2675
  export interface QueryUsersArgs {
2073
2676
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2112,6 +2715,8 @@ export interface ReferenceValue {
2112
2715
  id?: Maybe<Scalars['ReferenceValueID']['output']>;
2113
2716
  /** The node of the reference value. */
2114
2717
  node?: Maybe<Scalars['Int']['output']>;
2718
+ /** The referenced value. */
2719
+ nodeFunctionId?: Maybe<Scalars['NodeFunctionID']['output']>;
2115
2720
  /** The paths associated with this reference value. */
2116
2721
  referencePath?: Maybe<Array<ReferencePath>>;
2117
2722
  /** The scope of the reference value. */
@@ -2124,14 +2729,16 @@ export interface ReferenceValue {
2124
2729
  export interface ReferenceValueInput {
2125
2730
  /** The identifier of the data type this reference value belongs to */
2126
2731
  dataTypeIdentifier: DataTypeIdentifierInput;
2127
- /** The primary level of the reference value */
2128
- primaryLevel: Scalars['Int']['input'];
2732
+ /** The depth of the reference value */
2733
+ depth: Scalars['Int']['input'];
2734
+ /** The node of the reference */
2735
+ node: Scalars['Int']['input'];
2736
+ /** The referenced value */
2737
+ nodeFunctionId: Scalars['NodeFunctionID']['input'];
2129
2738
  /** The paths associated with this reference value */
2130
2739
  referencePath: Array<ReferencePathInput>;
2131
- /** The secondary level of the reference value */
2132
- secondaryLevel: Scalars['Int']['input'];
2133
- /** The tertiary level of the reference value */
2134
- tertiaryLevel?: InputMaybe<Scalars['Int']['input']>;
2740
+ /** The scope of the reference value */
2741
+ scope: Array<Scalars['Int']['input']>;
2135
2742
  }
2136
2743
 
2137
2744
  /** Represents a runtime */
@@ -2159,6 +2766,8 @@ export interface Runtime {
2159
2766
  token?: Maybe<Scalars['String']['output']>;
2160
2767
  /** Time when this Runtime was last updated */
2161
2768
  updatedAt?: Maybe<Scalars['Time']['output']>;
2769
+ /** Abilities for the current user on this Runtime */
2770
+ userAbilities?: Maybe<RuntimeUserAbilities>;
2162
2771
  }
2163
2772
 
2164
2773
 
@@ -2210,25 +2819,27 @@ export interface RuntimeEdge {
2210
2819
  node?: Maybe<Runtime>;
2211
2820
  }
2212
2821
 
2213
- /** Represents a Node Function definition */
2822
+ /** Represents a runtime function definition */
2214
2823
  export interface RuntimeFunctionDefinition {
2215
2824
  __typename?: 'RuntimeFunctionDefinition';
2216
2825
  /** Time when this RuntimeFunctionDefinition was created */
2217
2826
  createdAt?: Maybe<Scalars['Time']['output']>;
2218
- /** Function definitions of the Node Function */
2827
+ /** Function definitions of the runtime function definition */
2219
2828
  functionDefinitions?: Maybe<FunctionDefinitionConnection>;
2220
2829
  /** Global ID of this RuntimeFunctionDefinition */
2221
- id?: Maybe<Scalars['RuntimeParameterDefinitionID']['output']>;
2222
- /** Identifier of the Node Function */
2830
+ id?: Maybe<Scalars['RuntimeFunctionDefinitionID']['output']>;
2831
+ /** Identifier of the runtime function definition */
2223
2832
  identifier?: Maybe<Scalars['String']['output']>;
2224
- /** The runtime this Node Function belongs to */
2833
+ /** The runtime this runtime function definition belongs to */
2225
2834
  runtime?: Maybe<Runtime>;
2835
+ /** Parameter definitions of the runtime function definition */
2836
+ runtimeParameterDefinitions?: Maybe<RuntimeParameterDefinitionConnection>;
2226
2837
  /** Time when this RuntimeFunctionDefinition was last updated */
2227
2838
  updatedAt?: Maybe<Scalars['Time']['output']>;
2228
2839
  }
2229
2840
 
2230
2841
 
2231
- /** Represents a Node Function definition */
2842
+ /** Represents a runtime function definition */
2232
2843
  export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2233
2844
  after?: InputMaybe<Scalars['String']['input']>;
2234
2845
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2236,7 +2847,16 @@ export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2236
2847
  last?: InputMaybe<Scalars['Int']['input']>;
2237
2848
  }
2238
2849
 
2239
- /** Represents a Node parameter definition */
2850
+
2851
+ /** Represents a runtime function definition */
2852
+ export interface RuntimeFunctionDefinitionRuntimeParameterDefinitionsArgs {
2853
+ after?: InputMaybe<Scalars['String']['input']>;
2854
+ before?: InputMaybe<Scalars['String']['input']>;
2855
+ first?: InputMaybe<Scalars['Int']['input']>;
2856
+ last?: InputMaybe<Scalars['Int']['input']>;
2857
+ }
2858
+
2859
+ /** Represents a runtime parameter definition */
2240
2860
  export interface RuntimeParameterDefinition {
2241
2861
  __typename?: 'RuntimeParameterDefinition';
2242
2862
  /** Time when this RuntimeParameterDefinition was created */
@@ -2247,14 +2867,47 @@ export interface RuntimeParameterDefinition {
2247
2867
  updatedAt?: Maybe<Scalars['Time']['output']>;
2248
2868
  }
2249
2869
 
2870
+ /** The connection type for RuntimeParameterDefinition. */
2871
+ export interface RuntimeParameterDefinitionConnection {
2872
+ __typename?: 'RuntimeParameterDefinitionConnection';
2873
+ /** Total count of collection. */
2874
+ count?: Maybe<Scalars['Int']['output']>;
2875
+ /** A list of edges. */
2876
+ edges?: Maybe<Array<Maybe<RuntimeParameterDefinitionEdge>>>;
2877
+ /** A list of nodes. */
2878
+ nodes?: Maybe<Array<Maybe<RuntimeParameterDefinition>>>;
2879
+ /** Information to aid in pagination. */
2880
+ pageInfo?: Maybe<PageInfo>;
2881
+ }
2882
+
2883
+ /** An edge in a connection. */
2884
+ export interface RuntimeParameterDefinitionEdge {
2885
+ __typename?: 'RuntimeParameterDefinitionEdge';
2886
+ /** A cursor for use in pagination. */
2887
+ cursor?: Maybe<Scalars['String']['output']>;
2888
+ /** The item at the end of the edge. */
2889
+ node?: Maybe<RuntimeParameterDefinition>;
2890
+ }
2891
+
2250
2892
  /** Represent all available types of statuses of a runtime */
2251
- export enum RuntimeStatusType {
2893
+ export const enum RuntimeStatusType {
2252
2894
  /** No problem with connection, everything works as expected */
2253
2895
  Connected = 'CONNECTED',
2254
2896
  /** The runtime is disconnected, cause unknown */
2255
2897
  Disconnected = 'DISCONNECTED'
2256
2898
  }
2257
2899
 
2900
+ /** Abilities for the current user on this Runtime */
2901
+ export interface RuntimeUserAbilities {
2902
+ __typename?: 'RuntimeUserAbilities';
2903
+ /** Shows if the current user has the `delete_runtime` ability on this Runtime */
2904
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
2905
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Runtime */
2906
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
2907
+ /** Shows if the current user has the `update_runtime` ability on this Runtime */
2908
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
2909
+ }
2910
+
2258
2911
  /** Autogenerated input type of RuntimesCreate */
2259
2912
  export interface RuntimesCreateInput {
2260
2913
  /** A unique identifier for the client performing the mutation. */
@@ -2381,23 +3034,42 @@ export interface User {
2381
3034
  createdAt?: Maybe<Scalars['Time']['output']>;
2382
3035
  /** Email of the user */
2383
3036
  email?: Maybe<Scalars['String']['output']>;
3037
+ /** Email verification date of the user if present */
3038
+ emailVerifiedAt?: Maybe<Scalars['Time']['output']>;
2384
3039
  /** Firstname of the user */
2385
3040
  firstname?: Maybe<Scalars['String']['output']>;
2386
3041
  /** Global ID of this User */
2387
3042
  id?: Maybe<Scalars['UserID']['output']>;
3043
+ /** Identities of this user */
3044
+ identities?: Maybe<UserIdentityConnection>;
2388
3045
  /** Lastname of the user */
2389
3046
  lastname?: Maybe<Scalars['String']['output']>;
3047
+ /** Multi-factor authentication status of this user */
3048
+ mfaStatus?: Maybe<MfaStatus>;
2390
3049
  /** Namespace of this user */
2391
3050
  namespace?: Maybe<Namespace>;
2392
3051
  /** Namespace Memberships of this user */
2393
3052
  namespaceMemberships?: Maybe<NamespaceMemberConnection>;
3053
+ /** Sessions of this user */
3054
+ sessions?: Maybe<UserSessionConnection>;
2394
3055
  /** Time when this User was last updated */
2395
3056
  updatedAt?: Maybe<Scalars['Time']['output']>;
3057
+ /** Abilities for the current user on this User */
3058
+ userAbilities?: Maybe<UserUserAbilities>;
2396
3059
  /** Username of the user */
2397
3060
  username?: Maybe<Scalars['String']['output']>;
2398
3061
  }
2399
3062
 
2400
3063
 
3064
+ /** Represents a user */
3065
+ export interface UserIdentitiesArgs {
3066
+ after?: InputMaybe<Scalars['String']['input']>;
3067
+ before?: InputMaybe<Scalars['String']['input']>;
3068
+ first?: InputMaybe<Scalars['Int']['input']>;
3069
+ last?: InputMaybe<Scalars['Int']['input']>;
3070
+ }
3071
+
3072
+
2401
3073
  /** Represents a user */
2402
3074
  export interface UserNamespaceMembershipsArgs {
2403
3075
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2406,6 +3078,15 @@ export interface UserNamespaceMembershipsArgs {
2406
3078
  last?: InputMaybe<Scalars['Int']['input']>;
2407
3079
  }
2408
3080
 
3081
+
3082
+ /** Represents a user */
3083
+ export interface UserSessionsArgs {
3084
+ after?: InputMaybe<Scalars['String']['input']>;
3085
+ before?: InputMaybe<Scalars['String']['input']>;
3086
+ first?: InputMaybe<Scalars['Int']['input']>;
3087
+ last?: InputMaybe<Scalars['Int']['input']>;
3088
+ }
3089
+
2409
3090
  /** The connection type for User. */
2410
3091
  export interface UserConnection {
2411
3092
  __typename?: 'UserConnection';
@@ -2445,6 +3126,28 @@ export interface UserIdentity {
2445
3126
  user?: Maybe<User>;
2446
3127
  }
2447
3128
 
3129
+ /** The connection type for UserIdentity. */
3130
+ export interface UserIdentityConnection {
3131
+ __typename?: 'UserIdentityConnection';
3132
+ /** Total count of collection. */
3133
+ count?: Maybe<Scalars['Int']['output']>;
3134
+ /** A list of edges. */
3135
+ edges?: Maybe<Array<Maybe<UserIdentityEdge>>>;
3136
+ /** A list of nodes. */
3137
+ nodes?: Maybe<Array<Maybe<UserIdentity>>>;
3138
+ /** Information to aid in pagination. */
3139
+ pageInfo?: Maybe<PageInfo>;
3140
+ }
3141
+
3142
+ /** An edge in a connection. */
3143
+ export interface UserIdentityEdge {
3144
+ __typename?: 'UserIdentityEdge';
3145
+ /** A cursor for use in pagination. */
3146
+ cursor?: Maybe<Scalars['String']['output']>;
3147
+ /** The item at the end of the edge. */
3148
+ node?: Maybe<UserIdentity>;
3149
+ }
3150
+
2448
3151
  /** Represents a user session */
2449
3152
  export interface UserSession {
2450
3153
  __typename?: 'UserSession';
@@ -2460,6 +3163,96 @@ export interface UserSession {
2460
3163
  updatedAt?: Maybe<Scalars['Time']['output']>;
2461
3164
  /** User that belongs to the session */
2462
3165
  user?: Maybe<User>;
3166
+ /** Abilities for the current user on this UserSession */
3167
+ userAbilities?: Maybe<UserSessionUserAbilities>;
3168
+ }
3169
+
3170
+ /** The connection type for UserSession. */
3171
+ export interface UserSessionConnection {
3172
+ __typename?: 'UserSessionConnection';
3173
+ /** Total count of collection. */
3174
+ count?: Maybe<Scalars['Int']['output']>;
3175
+ /** A list of edges. */
3176
+ edges?: Maybe<Array<Maybe<UserSessionEdge>>>;
3177
+ /** A list of nodes. */
3178
+ nodes?: Maybe<Array<Maybe<UserSession>>>;
3179
+ /** Information to aid in pagination. */
3180
+ pageInfo?: Maybe<PageInfo>;
3181
+ }
3182
+
3183
+ /** An edge in a connection. */
3184
+ export interface UserSessionEdge {
3185
+ __typename?: 'UserSessionEdge';
3186
+ /** A cursor for use in pagination. */
3187
+ cursor?: Maybe<Scalars['String']['output']>;
3188
+ /** The item at the end of the edge. */
3189
+ node?: Maybe<UserSession>;
3190
+ }
3191
+
3192
+ /** Abilities for the current user on this UserSession */
3193
+ export interface UserSessionUserAbilities {
3194
+ __typename?: 'UserSessionUserAbilities';
3195
+ /** Shows if the current user has the `logout_session` ability on this UserSession */
3196
+ logoutSession?: Maybe<Scalars['Boolean']['output']>;
3197
+ }
3198
+
3199
+ /** Abilities for the current user on this User */
3200
+ export interface UserUserAbilities {
3201
+ __typename?: 'UserUserAbilities';
3202
+ /** Shows if the current user has the `manage_mfa` ability on this User */
3203
+ manageMfa?: Maybe<Scalars['Boolean']['output']>;
3204
+ /** Shows if the current user has the `update_user` ability on this User */
3205
+ updateUser?: Maybe<Scalars['Boolean']['output']>;
3206
+ }
3207
+
3208
+ /** Autogenerated input type of UsersCreate */
3209
+ export interface UsersCreateInput {
3210
+ /** Admin status for the user. */
3211
+ admin?: InputMaybe<Scalars['Boolean']['input']>;
3212
+ /** A unique identifier for the client performing the mutation. */
3213
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3214
+ /** Email for the user. */
3215
+ email: Scalars['String']['input'];
3216
+ /** Firstname for the user. */
3217
+ firstname?: InputMaybe<Scalars['String']['input']>;
3218
+ /** Lastname for the user. */
3219
+ lastname?: InputMaybe<Scalars['String']['input']>;
3220
+ /** Password for the user. */
3221
+ password: Scalars['String']['input'];
3222
+ /** Password repeat for the user to check for typos. */
3223
+ passwordRepeat: Scalars['String']['input'];
3224
+ /** Username for the user. */
3225
+ username: Scalars['String']['input'];
3226
+ }
3227
+
3228
+ /** Autogenerated return type of UsersCreate. */
3229
+ export interface UsersCreatePayload {
3230
+ __typename?: 'UsersCreatePayload';
3231
+ /** A unique identifier for the client performing the mutation. */
3232
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3233
+ /** Errors encountered during execution of the mutation. */
3234
+ errors?: Maybe<Array<Error>>;
3235
+ /** The created user. */
3236
+ user?: Maybe<User>;
3237
+ }
3238
+
3239
+ /** Autogenerated input type of UsersDelete */
3240
+ export interface UsersDeleteInput {
3241
+ /** A unique identifier for the client performing the mutation. */
3242
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3243
+ /** The user to delete. */
3244
+ userId: Scalars['UserID']['input'];
3245
+ }
3246
+
3247
+ /** Autogenerated return type of UsersDelete. */
3248
+ export interface UsersDeletePayload {
3249
+ __typename?: 'UsersDeletePayload';
3250
+ /** A unique identifier for the client performing the mutation. */
3251
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3252
+ /** Errors encountered during execution of the mutation. */
3253
+ errors?: Maybe<Array<Error>>;
3254
+ /** The deleted user. */
3255
+ user?: Maybe<User>;
2463
3256
  }
2464
3257
 
2465
3258
  /** Autogenerated input type of UsersEmailVerification */
@@ -2665,6 +3458,48 @@ export interface UsersMfaTotpValidateSecretPayload {
2665
3458
  user?: Maybe<User>;
2666
3459
  }
2667
3460
 
3461
+ /** Autogenerated input type of UsersPasswordReset */
3462
+ export interface UsersPasswordResetInput {
3463
+ /** A unique identifier for the client performing the mutation. */
3464
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3465
+ /** The new password to set for the user */
3466
+ newPassword: Scalars['String']['input'];
3467
+ /** The confirmation of the new password to set for the user needs to be the same as the new password */
3468
+ newPasswordConfirmation: Scalars['String']['input'];
3469
+ /** The password reset token sent to the user email */
3470
+ resetToken: Scalars['String']['input'];
3471
+ }
3472
+
3473
+ /** Autogenerated return type of UsersPasswordReset. */
3474
+ export interface UsersPasswordResetPayload {
3475
+ __typename?: 'UsersPasswordResetPayload';
3476
+ /** A unique identifier for the client performing the mutation. */
3477
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3478
+ /** Errors encountered during execution of the mutation. */
3479
+ errors?: Maybe<Array<Error>>;
3480
+ /** A message indicating the result of the password reset request */
3481
+ message?: Maybe<Scalars['String']['output']>;
3482
+ }
3483
+
3484
+ /** Autogenerated input type of UsersPasswordResetRequest */
3485
+ export interface UsersPasswordResetRequestInput {
3486
+ /** A unique identifier for the client performing the mutation. */
3487
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3488
+ /** Email of the user to reset the password */
3489
+ email: Scalars['String']['input'];
3490
+ }
3491
+
3492
+ /** Autogenerated return type of UsersPasswordResetRequest. */
3493
+ export interface UsersPasswordResetRequestPayload {
3494
+ __typename?: 'UsersPasswordResetRequestPayload';
3495
+ /** A unique identifier for the client performing the mutation. */
3496
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3497
+ /** Errors encountered during execution of the mutation. */
3498
+ errors?: Maybe<Array<Error>>;
3499
+ /** A message indicating the result of the password reset request */
3500
+ message?: Maybe<Scalars['String']['output']>;
3501
+ }
3502
+
2668
3503
  /** Autogenerated input type of UsersRegister */
2669
3504
  export interface UsersRegisterInput {
2670
3505
  /** A unique identifier for the client performing the mutation. */