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

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 +1079 -200
  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,21 +54,67 @@ 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
+ /** URL to the legal notice page */
61
+ legalNoticeUrl?: Maybe<Scalars['String']['output']>;
62
+ /** Metadata about the application */
63
+ metadata?: Maybe<Metadata>;
64
+ /** URL to the privacy policy page */
65
+ privacyUrl?: Maybe<Scalars['String']['output']>;
66
+ /** Global application settings */
67
+ settings?: Maybe<ApplicationSettings>;
68
+ /** URL to the terms and conditions page */
69
+ termsAndConditionsUrl?: Maybe<Scalars['String']['output']>;
70
+ /** Abilities for the current user on this Application */
71
+ userAbilities?: Maybe<ApplicationUserAbilities>;
72
+ }
73
+
58
74
  /** Represents the application settings */
59
75
  export interface ApplicationSettings {
60
76
  __typename?: 'ApplicationSettings';
77
+ /** Shows if admin status can be queried by non-administrators */
78
+ adminStatusVisible?: Maybe<Scalars['Boolean']['output']>;
79
+ /** List of configured identity providers */
80
+ identityProviders?: Maybe<IdentityProviderConnection>;
81
+ /** URL to the legal notice page */
82
+ legalNoticeUrl?: Maybe<Scalars['String']['output']>;
61
83
  /** Shows if organization creation is restricted to administrators */
62
84
  organizationCreationRestricted?: Maybe<Scalars['Boolean']['output']>;
85
+ /** URL to the privacy policy page */
86
+ privacyUrl?: Maybe<Scalars['String']['output']>;
87
+ /** URL to the terms and conditions page */
88
+ termsAndConditionsUrl?: Maybe<Scalars['String']['output']>;
63
89
  /** Shows if user registration is enabled */
64
90
  userRegistrationEnabled?: Maybe<Scalars['Boolean']['output']>;
65
91
  }
66
92
 
93
+
94
+ /** Represents the application settings */
95
+ export interface ApplicationSettingsIdentityProvidersArgs {
96
+ after?: InputMaybe<Scalars['String']['input']>;
97
+ before?: InputMaybe<Scalars['String']['input']>;
98
+ first?: InputMaybe<Scalars['Int']['input']>;
99
+ last?: InputMaybe<Scalars['Int']['input']>;
100
+ }
101
+
67
102
  /** Autogenerated input type of ApplicationSettingsUpdate */
68
103
  export interface ApplicationSettingsUpdateInput {
104
+ /** Set if admin status can be queried by non-administrators. */
105
+ adminStatusVisible?: InputMaybe<Scalars['Boolean']['input']>;
69
106
  /** A unique identifier for the client performing the mutation. */
70
107
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
108
+ /** Set the list of configured identity providers. */
109
+ identityProviders?: InputMaybe<Array<IdentityProviderInput>>;
110
+ /** Set the URL to the legal notice page. */
111
+ legalNoticeUrl?: InputMaybe<Scalars['String']['input']>;
71
112
  /** Set if organization creation is restricted to administrators. */
72
113
  organizationCreationRestricted?: InputMaybe<Scalars['Boolean']['input']>;
114
+ /** Set the URL to the privacy policy page. */
115
+ privacyUrl?: InputMaybe<Scalars['String']['input']>;
116
+ /** Set the URL to the terms and conditions page. */
117
+ termsAndConditionsUrl?: InputMaybe<Scalars['String']['input']>;
73
118
  /** Set if user registration is enabled. */
74
119
  userRegistrationEnabled?: InputMaybe<Scalars['Boolean']['input']>;
75
120
  }
@@ -85,14 +130,35 @@ export interface ApplicationSettingsUpdatePayload {
85
130
  errors?: Maybe<Array<Error>>;
86
131
  }
87
132
 
133
+ /** Abilities for the current user on this Application */
134
+ export interface ApplicationUserAbilities {
135
+ __typename?: 'ApplicationUserAbilities';
136
+ /** Shows if the current user has the `create_organization` ability on this Application */
137
+ createOrganization?: Maybe<Scalars['Boolean']['output']>;
138
+ /** Shows if the current user has the `create_runtime` ability on this Application */
139
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
140
+ /** Shows if the current user has the `delete_runtime` ability on this Application */
141
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
142
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Application */
143
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
144
+ /** Shows if the current user has the `update_application_setting` ability on this Application */
145
+ updateApplicationSetting?: Maybe<Scalars['Boolean']['output']>;
146
+ /** Shows if the current user has the `update_runtime` ability on this Application */
147
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
148
+ }
149
+
88
150
  /** Objects that can present an authentication */
89
151
  export type Authentication = UserSession;
90
152
 
91
153
  /** Represents a DataType */
92
154
  export interface DataType {
93
155
  __typename?: 'DataType';
156
+ /** Name of the function */
157
+ aliases?: Maybe<Array<Translation>>;
94
158
  /** Time when this DataType was created */
95
159
  createdAt?: Maybe<Scalars['Time']['output']>;
160
+ /** Display message of the function */
161
+ displayMessages?: Maybe<Array<Translation>>;
96
162
  /** Generic keys of the datatype */
97
163
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
98
164
  /** Global ID of this DataType */
@@ -100,13 +166,11 @@ export interface DataType {
100
166
  /** The identifier scoped to the namespace */
101
167
  identifier?: Maybe<Scalars['String']['output']>;
102
168
  /** Names of the flow type setting */
103
- name?: Maybe<TranslationConnection>;
104
- /** The namespace where this datatype belongs to */
105
- namespace?: Maybe<Namespace>;
106
- /** The parent datatype */
107
- parent?: Maybe<DataTypeIdentifier>;
169
+ name?: Maybe<Array<Translation>>;
108
170
  /** Rules of the datatype */
109
171
  rules?: Maybe<DataTypeRuleConnection>;
172
+ /** The runtime where this datatype belongs to */
173
+ runtime?: Maybe<Runtime>;
110
174
  /** Time when this DataType was last updated */
111
175
  updatedAt?: Maybe<Scalars['Time']['output']>;
112
176
  /** The type of the datatype */
@@ -114,15 +178,6 @@ export interface DataType {
114
178
  }
115
179
 
116
180
 
117
- /** Represents a DataType */
118
- export interface DataTypeNameArgs {
119
- after?: InputMaybe<Scalars['String']['input']>;
120
- before?: InputMaybe<Scalars['String']['input']>;
121
- first?: InputMaybe<Scalars['Int']['input']>;
122
- last?: InputMaybe<Scalars['Int']['input']>;
123
- }
124
-
125
-
126
181
  /** Represents a DataType */
127
182
  export interface DataTypeRulesArgs {
128
183
  after?: InputMaybe<Scalars['String']['input']>;
@@ -241,8 +296,8 @@ export interface DataTypeRulesInputTypeConfig {
241
296
  __typename?: 'DataTypeRulesInputTypeConfig';
242
297
  /** The identifier of the data type this input type belongs to */
243
298
  dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
244
- /** The input data type that this configuration applies to */
245
- inputType?: Maybe<DataType>;
299
+ /** The input identifier that this configuration applies to */
300
+ inputIdentifier?: Maybe<Scalars['String']['output']>;
246
301
  }
247
302
 
248
303
  /** Represents a rule that can be applied to a data type. */
@@ -292,13 +347,13 @@ export interface DataTypeRulesReturnTypeConfig {
292
347
  }
293
348
 
294
349
  /** The type of rule that can be applied to a data type. */
295
- export enum DataTypeRulesVariant {
350
+ export const enum DataTypeRulesVariant {
296
351
  /** The rule checks if a key is present in the data type. */
297
352
  ContainsKey = 'CONTAINS_KEY',
298
353
  /** The rule checks if a specific type is present in the data type. */
299
354
  ContainsType = 'CONTAINS_TYPE',
300
355
  /** The rule checks if the data type matches a specific input type. */
301
- InputType = 'INPUT_TYPE',
356
+ InputTypes = 'INPUT_TYPES',
302
357
  /** The rule checks if an item is part of a collection in the data type. */
303
358
  ItemOfCollection = 'ITEM_OF_COLLECTION',
304
359
  /** The rule checks if a number falls within a specified range. */
@@ -312,7 +367,7 @@ export enum DataTypeRulesVariant {
312
367
  }
313
368
 
314
369
  /** Represent all available types of a datatype */
315
- export enum DataTypeVariant {
370
+ export const enum DataTypeVariant {
316
371
  /** Represents an array */
317
372
  Array = 'ARRAY',
318
373
  /** Represents an data type containing a data type */
@@ -329,6 +384,9 @@ export enum DataTypeVariant {
329
384
  Type = 'TYPE'
330
385
  }
331
386
 
387
+ /** Represents a detailed error with either a message or an active model error */
388
+ export type DetailedError = ActiveModelError | FlowValidationError | MessageError;
389
+
332
390
  /** Autogenerated input type of Echo */
333
391
  export interface EchoInput {
334
392
  /** A unique identifier for the client performing the mutation. */
@@ -349,7 +407,179 @@ export interface EchoPayload {
349
407
  }
350
408
 
351
409
  /** Objects that can present an error */
352
- export type Error = ActiveModelError | MessageError;
410
+ export interface Error {
411
+ __typename?: 'Error';
412
+ /** Detailed validation errors if applicable */
413
+ details?: Maybe<Array<DetailedError>>;
414
+ /** The code representing the error type */
415
+ errorCode?: Maybe<ErrorCodeEnum>;
416
+ }
417
+
418
+ /** Represents the available error responses */
419
+ export const enum ErrorCodeEnum {
420
+ /** This action would remove the last administrative role */
421
+ CannotDeleteLastAdminRole = 'CANNOT_DELETE_LAST_ADMIN_ROLE',
422
+ /** Only administrators can modify admin status of users */
423
+ CannotModifyAdmin = 'CANNOT_MODIFY_ADMIN',
424
+ /** Users cannot modify their own admin status */
425
+ CannotModifyOwnAdmin = 'CANNOT_MODIFY_OWN_ADMIN',
426
+ /** This action would remove the last administrator */
427
+ CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
428
+ /** This action would remove the last administrative ability */
429
+ CannotRemoveLastAdminAbility = 'CANNOT_REMOVE_LAST_ADMIN_ABILITY',
430
+ /** The data type identifier with the given identifier was not found */
431
+ DataTypeIdentifierNotFound = 'DATA_TYPE_IDENTIFIER_NOT_FOUND',
432
+ /** The data type with the given identifier was not found */
433
+ DataTypeNotFound = 'DATA_TYPE_NOT_FOUND',
434
+ /** Failed to send the email verification */
435
+ EmailVerificationSendFailed = 'EMAIL_VERIFICATION_SEND_FAILED',
436
+ /** This external identity does not exist */
437
+ ExternalIdentityDoesNotExist = 'EXTERNAL_IDENTITY_DOES_NOT_EXIST',
438
+ /** The old backup codes could not be deleted */
439
+ FailedToInvalidateOldBackupCodes = 'FAILED_TO_INVALIDATE_OLD_BACKUP_CODES',
440
+ /** Failed to reset the user password */
441
+ FailedToResetPassword = 'FAILED_TO_RESET_PASSWORD',
442
+ /** The new backup codes could not be saved */
443
+ FailedToSaveValidBackupCode = 'FAILED_TO_SAVE_VALID_BACKUP_CODE',
444
+ /** The flow with the given identifier was not found */
445
+ FlowNotFound = 'FLOW_NOT_FOUND',
446
+ /** The flow type with the given identifier was not found */
447
+ FlowTypeNotFound = 'FLOW_TYPE_NOT_FOUND',
448
+ /** The flow validation has failed */
449
+ FlowValidationFailed = 'FLOW_VALIDATION_FAILED',
450
+ /** The id for the function value node does not exist */
451
+ FunctionValueNotFound = 'FUNCTION_VALUE_NOT_FOUND',
452
+ /** The given key was not found in the data type */
453
+ GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
454
+ /** The external identity with the given identifier was not found */
455
+ IdentityNotFound = 'IDENTITY_NOT_FOUND',
456
+ /** Failed to validate the external identity */
457
+ IdentityValidationFailed = 'IDENTITY_VALIDATION_FAILED',
458
+ /** Resources are from different namespaces */
459
+ InconsistentNamespace = 'INCONSISTENT_NAMESPACE',
460
+ /** The attachment is invalid because of active model errors */
461
+ InvalidAttachment = 'INVALID_ATTACHMENT',
462
+ /** The data type is invalid because of active model errors */
463
+ InvalidDataType = 'INVALID_DATA_TYPE',
464
+ /** This external identity is invalid */
465
+ InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
466
+ /** The flow is invalid because of active model errors */
467
+ InvalidFlow = 'INVALID_FLOW',
468
+ /** The flow setting is invalid because of active model errors */
469
+ InvalidFlowSetting = 'INVALID_FLOW_SETTING',
470
+ /** The flow type is invalid because of active model errors */
471
+ InvalidFlowType = 'INVALID_FLOW_TYPE',
472
+ /** The generic mapper is invalid because of active model errors */
473
+ InvalidGenericMapper = 'INVALID_GENERIC_MAPPER',
474
+ /** Invalid login data provided */
475
+ InvalidLoginData = 'INVALID_LOGIN_DATA',
476
+ /** The namespace license is invalid because of active model errors */
477
+ InvalidNamespaceLicense = 'INVALID_NAMESPACE_LICENSE',
478
+ /** The namespace member is invalid because of active model errors */
479
+ InvalidNamespaceMember = 'INVALID_NAMESPACE_MEMBER',
480
+ /** The namespace project is invalid because of active model errors */
481
+ InvalidNamespaceProject = 'INVALID_NAMESPACE_PROJECT',
482
+ /** The namespace role is invalid because of active model errors */
483
+ InvalidNamespaceRole = 'INVALID_NAMESPACE_ROLE',
484
+ /** The node function is invalid */
485
+ InvalidNodeFunction = 'INVALID_NODE_FUNCTION',
486
+ /** The node parameter is invalid */
487
+ InvalidNodeParameter = 'INVALID_NODE_PARAMETER',
488
+ /** The organization is invalid because of active model errors */
489
+ InvalidOrganization = 'INVALID_ORGANIZATION',
490
+ /** The provided password repeat does not match the password */
491
+ InvalidPasswordRepeat = 'INVALID_PASSWORD_REPEAT',
492
+ /** The runtime is invalid because of active model errors */
493
+ InvalidRuntime = 'INVALID_RUNTIME',
494
+ /** The runtime function definition is invalid */
495
+ InvalidRuntimeFunctionDefinition = 'INVALID_RUNTIME_FUNCTION_DEFINITION',
496
+ /** The runtime function ID is invalid */
497
+ InvalidRuntimeFunctionId = 'INVALID_RUNTIME_FUNCTION_ID',
498
+ /** The runtime parameter definition is invalid */
499
+ InvalidRuntimeParameterDefinition = 'INVALID_RUNTIME_PARAMETER_DEFINITION',
500
+ /** The runtime parameter ID is invalid */
501
+ InvalidRuntimeParameterId = 'INVALID_RUNTIME_PARAMETER_ID',
502
+ /** Invalid setting provided */
503
+ InvalidSetting = 'INVALID_SETTING',
504
+ /** The TOTP secret is invalid or cannot be verified */
505
+ InvalidTotpSecret = 'INVALID_TOTP_SECRET',
506
+ /** The user is invalid because of active model errors */
507
+ InvalidUser = 'INVALID_USER',
508
+ /** The user identity is invalid because of active model errors */
509
+ InvalidUserIdentity = 'INVALID_USER_IDENTITY',
510
+ /** The user session is invalid because of active model errors */
511
+ InvalidUserSession = 'INVALID_USER_SESSION',
512
+ /** Invalid verification code provided */
513
+ InvalidVerificationCode = 'INVALID_VERIFICATION_CODE',
514
+ /** The namespace license with the given identifier was not found */
515
+ LicenseNotFound = 'LICENSE_NOT_FOUND',
516
+ /** Failed to load user identity from external provider */
517
+ LoadingIdentityFailed = 'LOADING_IDENTITY_FAILED',
518
+ /** Invalid MFA data provided */
519
+ MfaFailed = 'MFA_FAILED',
520
+ /** MFA is required */
521
+ MfaRequired = 'MFA_REQUIRED',
522
+ /** The primary runtime has more definitions than this one */
523
+ MissingDefinition = 'MISSING_DEFINITION',
524
+ /** This external identity is missing data */
525
+ MissingIdentityData = 'MISSING_IDENTITY_DATA',
526
+ /** Not all required parameters are present */
527
+ MissingParameter = 'MISSING_PARAMETER',
528
+ /** The user is not permitted to perform this operation */
529
+ MissingPermission = 'MISSING_PERMISSION',
530
+ /** The project is missing a primary runtime */
531
+ MissingPrimaryRuntime = 'MISSING_PRIMARY_RUNTIME',
532
+ /** The namespace member with the given identifier was not found */
533
+ NamespaceMemberNotFound = 'NAMESPACE_MEMBER_NOT_FOUND',
534
+ /** The namespace with the given identifier was not found */
535
+ NamespaceNotFound = 'NAMESPACE_NOT_FOUND',
536
+ /** The namespace project with the given identifier was not found */
537
+ NamespaceProjectNotFound = 'NAMESPACE_PROJECT_NOT_FOUND',
538
+ /** The namespace role with the given identifier was not found */
539
+ NamespaceRoleNotFound = 'NAMESPACE_ROLE_NOT_FOUND',
540
+ /** The node with this id does not exist */
541
+ NodeNotFound = 'NODE_NOT_FOUND',
542
+ /** No data type identifier could be found for the given generic key */
543
+ NoDatatypeIdentifierForGenericKey = 'NO_DATATYPE_IDENTIFIER_FOR_GENERIC_KEY',
544
+ /** No data type could be found for the given identifier */
545
+ NoDataTypeForIdentifier = 'NO_DATA_TYPE_FOR_IDENTIFIER',
546
+ /** There are no free license seats to complete this operation */
547
+ NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
548
+ /** No generic type could be found for the given identifier */
549
+ NoGenericTypeForIdentifier = 'NO_GENERIC_TYPE_FOR_IDENTIFIER',
550
+ /** The project does not have a primary runtime */
551
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
552
+ /** The organization with the given identifier was not found */
553
+ OrganizationNotFound = 'ORGANIZATION_NOT_FOUND',
554
+ /** The primary runtime has a newer definition than this one */
555
+ OutdatedDefinition = 'OUTDATED_DEFINITION',
556
+ /** @deprecated Outdated concept */
557
+ PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
558
+ /** The namespace project with the given identifier was not found */
559
+ ProjectNotFound = 'PROJECT_NOT_FOUND',
560
+ /** A referenced value could not be found */
561
+ ReferencedValueNotFound = 'REFERENCED_VALUE_NOT_FOUND',
562
+ /** Self-registration is disabled */
563
+ RegistrationDisabled = 'REGISTRATION_DISABLED',
564
+ /** Resources are from different runtimes */
565
+ RuntimeMismatch = 'RUNTIME_MISMATCH',
566
+ /** The runtime with the given identifier was not found */
567
+ RuntimeNotFound = 'RUNTIME_NOT_FOUND',
568
+ /** @deprecated Outdated concept */
569
+ SecondaryLevelNotFound = 'SECONDARY_LEVEL_NOT_FOUND',
570
+ /** @deprecated Outdated concept */
571
+ TertiaryLevelExceedsParameters = 'TERTIARY_LEVEL_EXCEEDS_PARAMETERS',
572
+ /** This user already has TOTP set up */
573
+ TotpSecretAlreadySet = 'TOTP_SECRET_ALREADY_SET',
574
+ /** The user is not permitted to modify this field */
575
+ UnmodifiableField = 'UNMODIFIABLE_FIELD',
576
+ /** The user with the given identifier was not found */
577
+ UserNotFound = 'USER_NOT_FOUND',
578
+ /** The user session with the given identifier was not found */
579
+ UserSessionNotFound = 'USER_SESSION_NOT_FOUND',
580
+ /** Invalid TOTP code provided */
581
+ WrongTotp = 'WRONG_TOTP'
582
+ }
353
583
 
354
584
  /** Represents a flow */
355
585
  export interface Flow {
@@ -360,18 +590,24 @@ export interface Flow {
360
590
  id?: Maybe<Scalars['FlowID']['output']>;
361
591
  /** The input data type of the flow */
362
592
  inputType?: Maybe<DataType>;
593
+ /** Name of the flow */
594
+ name?: Maybe<Scalars['String']['output']>;
363
595
  /** Nodes of the flow */
364
596
  nodes?: Maybe<NodeFunctionConnection>;
597
+ /** The project the flow belongs to */
598
+ project?: Maybe<NamespaceProject>;
365
599
  /** The return data type of the flow */
366
600
  returnType?: Maybe<DataType>;
367
601
  /** The settings of the flow */
368
- settings?: Maybe<Array<FlowSetting>>;
602
+ settings?: Maybe<FlowSettingConnection>;
369
603
  /** The ID of the starting node of the flow */
370
604
  startingNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
371
605
  /** The flow type of the flow */
372
606
  type?: Maybe<FlowType>;
373
607
  /** Time when this Flow was last updated */
374
608
  updatedAt?: Maybe<Scalars['Time']['output']>;
609
+ /** Abilities for the current user on this Flow */
610
+ userAbilities?: Maybe<FlowUserAbilities>;
375
611
  }
376
612
 
377
613
 
@@ -383,6 +619,15 @@ export interface FlowNodesArgs {
383
619
  last?: InputMaybe<Scalars['Int']['input']>;
384
620
  }
385
621
 
622
+
623
+ /** Represents a flow */
624
+ export interface FlowSettingsArgs {
625
+ after?: InputMaybe<Scalars['String']['input']>;
626
+ before?: InputMaybe<Scalars['String']['input']>;
627
+ first?: InputMaybe<Scalars['Int']['input']>;
628
+ last?: InputMaybe<Scalars['Int']['input']>;
629
+ }
630
+
386
631
  /** The connection type for Flow. */
387
632
  export interface FlowConnection {
388
633
  __typename?: 'FlowConnection';
@@ -407,10 +652,14 @@ export interface FlowEdge {
407
652
 
408
653
  /** Input type for creating or updating a flow */
409
654
  export interface FlowInput {
655
+ /** The name of the flow */
656
+ name: Scalars['String']['input'];
657
+ /** The node functions of the flow */
658
+ nodes: Array<NodeFunctionInput>;
410
659
  /** The settings of the flow */
411
660
  settings?: InputMaybe<Array<FlowSettingInput>>;
412
661
  /** The starting node of the flow */
413
- startingNode: NodeFunctionInput;
662
+ startingNodeId: Scalars['NodeFunctionID']['input'];
414
663
  /** The identifier of the flow type */
415
664
  type: Scalars['FlowTypeID']['input'];
416
665
  }
@@ -421,7 +670,7 @@ export interface FlowSetting {
421
670
  /** Time when this FlowSetting was created */
422
671
  createdAt?: Maybe<Scalars['Time']['output']>;
423
672
  /** The identifier of the flow setting */
424
- flowSettingId?: Maybe<Scalars['String']['output']>;
673
+ flowSettingIdentifier?: Maybe<Scalars['String']['output']>;
425
674
  /** Global ID of this FlowSetting */
426
675
  id?: Maybe<Scalars['FlowSettingID']['output']>;
427
676
  /** Time when this FlowSetting was last updated */
@@ -430,57 +679,67 @@ export interface FlowSetting {
430
679
  value?: Maybe<Scalars['JSON']['output']>;
431
680
  }
432
681
 
682
+ /** The connection type for FlowSetting. */
683
+ export interface FlowSettingConnection {
684
+ __typename?: 'FlowSettingConnection';
685
+ /** Total count of collection. */
686
+ count?: Maybe<Scalars['Int']['output']>;
687
+ /** A list of edges. */
688
+ edges?: Maybe<Array<Maybe<FlowSettingEdge>>>;
689
+ /** A list of nodes. */
690
+ nodes?: Maybe<Array<Maybe<FlowSetting>>>;
691
+ /** Information to aid in pagination. */
692
+ pageInfo?: Maybe<PageInfo>;
693
+ }
694
+
695
+ /** An edge in a connection. */
696
+ export interface FlowSettingEdge {
697
+ __typename?: 'FlowSettingEdge';
698
+ /** A cursor for use in pagination. */
699
+ cursor?: Maybe<Scalars['String']['output']>;
700
+ /** The item at the end of the edge. */
701
+ node?: Maybe<FlowSetting>;
702
+ }
703
+
433
704
  /** Input type for flow settings */
434
705
  export interface FlowSettingInput {
435
706
  /** The identifier (not database id) of the flow setting */
436
- flowSettingId: Scalars['String']['input'];
707
+ flowSettingIdentifier: Scalars['String']['input'];
437
708
  /** The value of the flow setting */
438
- object: Scalars['JSON']['input'];
709
+ value: Scalars['JSON']['input'];
439
710
  }
440
711
 
441
712
  /** Represents a flow type */
442
713
  export interface FlowType {
443
714
  __typename?: 'FlowType';
715
+ /** Name of the function */
716
+ aliases?: Maybe<Array<Translation>>;
444
717
  /** Time when this FlowType was created */
445
718
  createdAt?: Maybe<Scalars['Time']['output']>;
446
719
  /** Descriptions of the flow type */
447
- descriptions?: Maybe<TranslationConnection>;
720
+ descriptions?: Maybe<Array<Translation>>;
721
+ /** Display message of the function */
722
+ displayMessages?: Maybe<Array<Translation>>;
448
723
  /** Editable status of the flow type */
449
724
  editable?: Maybe<Scalars['Boolean']['output']>;
450
725
  /** Flow type settings of the flow type */
451
726
  flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
452
727
  /** Global ID of this FlowType */
453
- id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
728
+ id?: Maybe<Scalars['FlowTypeID']['output']>;
454
729
  /** Identifier of the flow type */
455
730
  identifier?: Maybe<Scalars['String']['output']>;
456
731
  /** Input type of the flow type */
457
732
  inputType?: Maybe<DataType>;
458
733
  /** Names of the flow type */
459
- names?: Maybe<TranslationConnection>;
734
+ names?: Maybe<Array<Translation>>;
460
735
  /** Return type of the flow type */
461
736
  returnType?: Maybe<DataType>;
737
+ /** Runtime of the flow type */
738
+ runtime?: Maybe<Runtime>;
462
739
  /** Time when this FlowType was last updated */
463
740
  updatedAt?: Maybe<Scalars['Time']['output']>;
464
741
  }
465
742
 
466
-
467
- /** Represents a flow type */
468
- export interface FlowTypeDescriptionsArgs {
469
- after?: InputMaybe<Scalars['String']['input']>;
470
- before?: InputMaybe<Scalars['String']['input']>;
471
- first?: InputMaybe<Scalars['Int']['input']>;
472
- last?: InputMaybe<Scalars['Int']['input']>;
473
- }
474
-
475
-
476
- /** Represents a flow type */
477
- export interface FlowTypeNamesArgs {
478
- after?: InputMaybe<Scalars['String']['input']>;
479
- before?: InputMaybe<Scalars['String']['input']>;
480
- first?: InputMaybe<Scalars['Int']['input']>;
481
- last?: InputMaybe<Scalars['Int']['input']>;
482
- }
483
-
484
743
  /** The connection type for FlowType. */
485
744
  export interface FlowTypeConnection {
486
745
  __typename?: 'FlowTypeConnection';
@@ -511,7 +770,7 @@ export interface FlowTypeSetting {
511
770
  /** Data type of the flow type setting */
512
771
  dataType?: Maybe<DataType>;
513
772
  /** Descriptions of the flow type setting */
514
- descriptions?: Maybe<TranslationConnection>;
773
+ descriptions?: Maybe<Array<Translation>>;
515
774
  /** Flow type of the flow type setting */
516
775
  flowType?: Maybe<FlowType>;
517
776
  /** Global ID of this FlowTypeSetting */
@@ -519,48 +778,86 @@ export interface FlowTypeSetting {
519
778
  /** Identifier of the flow type setting */
520
779
  identifier?: Maybe<Scalars['String']['output']>;
521
780
  /** Names of the flow type setting */
522
- names?: Maybe<TranslationConnection>;
781
+ names?: Maybe<Array<Translation>>;
523
782
  /** Unique status of the flow type setting */
524
783
  unique?: Maybe<Scalars['Boolean']['output']>;
525
784
  /** Time when this FlowTypeSetting was last updated */
526
785
  updatedAt?: Maybe<Scalars['Time']['output']>;
527
786
  }
528
787
 
529
-
530
- /** Represents a flow type setting */
531
- export interface FlowTypeSettingDescriptionsArgs {
532
- after?: InputMaybe<Scalars['String']['input']>;
533
- before?: InputMaybe<Scalars['String']['input']>;
534
- first?: InputMaybe<Scalars['Int']['input']>;
535
- last?: InputMaybe<Scalars['Int']['input']>;
536
- }
537
-
538
-
539
- /** Represents a flow type setting */
540
- export interface FlowTypeSettingNamesArgs {
541
- after?: InputMaybe<Scalars['String']['input']>;
542
- before?: InputMaybe<Scalars['String']['input']>;
543
- first?: InputMaybe<Scalars['Int']['input']>;
544
- last?: InputMaybe<Scalars['Int']['input']>;
788
+ /** Abilities for the current user on this Flow */
789
+ export interface FlowUserAbilities {
790
+ __typename?: 'FlowUserAbilities';
791
+ /** Shows if the current user has the `delete_flow` ability on this Flow */
792
+ deleteFlow?: Maybe<Scalars['Boolean']['output']>;
793
+ }
794
+
795
+ /** Represents a flow validation error */
796
+ export interface FlowValidationError {
797
+ __typename?: 'FlowValidationError';
798
+ /** Additional details about the validation error */
799
+ details?: Maybe<ActiveModelError>;
800
+ /** The code representing the validation error type */
801
+ errorCode?: Maybe<FlowValidationErrorCodeEnum>;
802
+ /** The severity of the validation error */
803
+ severity?: Maybe<FlowValidationSeverityEnum>;
804
+ }
805
+
806
+ /** Represents the available error responses */
807
+ export const enum FlowValidationErrorCodeEnum {
808
+ /** The generic key for the data type identifier was not found. */
809
+ DataTypeIdentifierGenericKeyNotFound = 'DATA_TYPE_IDENTIFIER_GENERIC_KEY_NOT_FOUND',
810
+ /** The data type identifier runtime does not match the flow type runtime. */
811
+ DataTypeIdentifierRuntimeMismatch = 'DATA_TYPE_IDENTIFIER_RUNTIME_MISMATCH',
812
+ /** The data type rule model is invalid. */
813
+ DataTypeRuleModelInvalid = 'DATA_TYPE_RULE_MODEL_INVALID',
814
+ /** The data type runtime does not match the flow type runtime. */
815
+ DataTypeRuntimeMismatch = 'DATA_TYPE_RUNTIME_MISMATCH',
816
+ /** The flow setting model is invalid. */
817
+ FlowSettingModelInvalid = 'FLOW_SETTING_MODEL_INVALID',
818
+ /** The flow type runtime does not match the project primary runtime. */
819
+ FlowTypeRuntimeMismatch = 'FLOW_TYPE_RUNTIME_MISMATCH',
820
+ /** The node function runtime does not match the project primary runtime. */
821
+ NodeFunctionRuntimeMismatch = 'NODE_FUNCTION_RUNTIME_MISMATCH',
822
+ /** The project does not have a primary runtime set. */
823
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME'
824
+ }
825
+
826
+ /** Represents the severity of a flow validation error */
827
+ export const enum FlowValidationSeverityEnum {
828
+ /** A blocking validation error */
829
+ Error = 'ERROR',
830
+ /** A minor typographical issue can also be blocking */
831
+ Typo = 'TYPO',
832
+ /** A non-blocking validation warning */
833
+ Warning = 'WARNING',
834
+ /** A weak validation issue that may not need to be addressed */
835
+ Weak = 'WEAK'
545
836
  }
546
837
 
547
838
  /** Represents a function definition */
548
839
  export interface FunctionDefinition {
549
840
  __typename?: 'FunctionDefinition';
841
+ /** Name of the function */
842
+ aliases?: Maybe<Array<Translation>>;
550
843
  /** Time when this FunctionDefinition was created */
551
844
  createdAt?: Maybe<Scalars['Time']['output']>;
552
845
  /** Deprecation message of the function */
553
- deprecationMessages?: Maybe<TranslationConnection>;
846
+ deprecationMessages?: Maybe<Array<Translation>>;
554
847
  /** Description of the function */
555
- descriptions?: Maybe<TranslationConnection>;
848
+ descriptions?: Maybe<Array<Translation>>;
849
+ /** Display message of the function */
850
+ displayMessages?: Maybe<Array<Translation>>;
556
851
  /** Documentation of the function */
557
- documentations?: Maybe<TranslationConnection>;
852
+ documentations?: Maybe<Array<Translation>>;
558
853
  /** Generic keys of the function */
559
854
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
560
855
  /** Global ID of this FunctionDefinition */
561
856
  id?: Maybe<Scalars['FunctionDefinitionID']['output']>;
857
+ /** Identifier of the function */
858
+ identifier?: Maybe<Scalars['String']['output']>;
562
859
  /** Name of the function */
563
- names?: Maybe<TranslationConnection>;
860
+ names?: Maybe<Array<Translation>>;
564
861
  /** Parameters of the function */
565
862
  parameterDefinitions?: Maybe<ParameterDefinitionConnection>;
566
863
  /** Return type of the function */
@@ -574,42 +871,6 @@ export interface FunctionDefinition {
574
871
  }
575
872
 
576
873
 
577
- /** Represents a function definition */
578
- export interface FunctionDefinitionDeprecationMessagesArgs {
579
- after?: InputMaybe<Scalars['String']['input']>;
580
- before?: InputMaybe<Scalars['String']['input']>;
581
- first?: InputMaybe<Scalars['Int']['input']>;
582
- last?: InputMaybe<Scalars['Int']['input']>;
583
- }
584
-
585
-
586
- /** Represents a function definition */
587
- export interface FunctionDefinitionDescriptionsArgs {
588
- after?: InputMaybe<Scalars['String']['input']>;
589
- before?: InputMaybe<Scalars['String']['input']>;
590
- first?: InputMaybe<Scalars['Int']['input']>;
591
- last?: InputMaybe<Scalars['Int']['input']>;
592
- }
593
-
594
-
595
- /** Represents a function definition */
596
- export interface FunctionDefinitionDocumentationsArgs {
597
- after?: InputMaybe<Scalars['String']['input']>;
598
- before?: InputMaybe<Scalars['String']['input']>;
599
- first?: InputMaybe<Scalars['Int']['input']>;
600
- last?: InputMaybe<Scalars['Int']['input']>;
601
- }
602
-
603
-
604
- /** Represents a function definition */
605
- export interface FunctionDefinitionNamesArgs {
606
- after?: InputMaybe<Scalars['String']['input']>;
607
- before?: InputMaybe<Scalars['String']['input']>;
608
- first?: InputMaybe<Scalars['Int']['input']>;
609
- last?: InputMaybe<Scalars['Int']['input']>;
610
- }
611
-
612
-
613
874
  /** Represents a function definition */
614
875
  export interface FunctionDefinitionParameterDefinitionsArgs {
615
876
  after?: InputMaybe<Scalars['String']['input']>;
@@ -656,7 +917,7 @@ export interface GenericCombinationStrategy {
656
917
  }
657
918
 
658
919
  /** The available combination strategy types. */
659
- export enum GenericCombinationStrategyType {
920
+ export const enum GenericCombinationStrategyType {
660
921
  /** Represents a logical AND combination. */
661
922
  And = 'AND',
662
923
  /** Represents a logical OR combination. */
@@ -673,7 +934,7 @@ export interface GenericMapper {
673
934
  /** Global ID of this GenericMapper */
674
935
  id?: Maybe<Scalars['GenericMapperID']['output']>;
675
936
  /** The source data type identifier. */
676
- sources?: Maybe<Array<DataTypeIdentifier>>;
937
+ sourceDataTypeIdentifiers?: Maybe<Array<DataTypeIdentifier>>;
677
938
  /** The target key for the generic value. */
678
939
  target?: Maybe<Scalars['String']['output']>;
679
940
  /** Time when this GenericMapper was last updated */
@@ -683,7 +944,7 @@ export interface GenericMapper {
683
944
  /** Input type for generic mappers */
684
945
  export interface GenericMapperInput {
685
946
  /** The source data type identifier for the mapper */
686
- sources: Array<DataTypeIdentifierInput>;
947
+ sourceDataTypeIdentifiers: Array<DataTypeIdentifierInput>;
687
948
  /** The target data type identifier for the mapper */
688
949
  target: Scalars['String']['input'];
689
950
  }
@@ -717,6 +978,94 @@ export interface IdentityInput {
717
978
  code?: InputMaybe<Scalars['String']['input']>;
718
979
  }
719
980
 
981
+ /** Represents an identity provider configuration. */
982
+ export interface IdentityProvider {
983
+ __typename?: 'IdentityProvider';
984
+ /** Configuration details of the identity provider. */
985
+ config?: Maybe<IdentityProviderConfig>;
986
+ /** Unique identifier of the identity provider. */
987
+ id?: Maybe<Scalars['String']['output']>;
988
+ /** Type of the identity provider. */
989
+ type?: Maybe<IdentityProviderType>;
990
+ }
991
+
992
+ /** Represents the configuration of an identity provider. */
993
+ export type IdentityProviderConfig = OidcIdentityProviderConfig | SamlIdentityProviderConfig;
994
+
995
+ /** Input for identity provider configuration. Contains fields for both OIDC and SAML. */
996
+ export interface IdentityProviderConfigInput {
997
+ /** List of attribute statements for the identity provider */
998
+ attributeStatements?: InputMaybe<Scalars['JSON']['input']>;
999
+ /** The authorization URL for the OIDC identity provider */
1000
+ authorizationUrl?: InputMaybe<Scalars['String']['input']>;
1001
+ /** The client ID for the OIDC identity provider */
1002
+ clientId?: InputMaybe<Scalars['String']['input']>;
1003
+ /** The client secret for the OIDC identity provider */
1004
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
1005
+ /** Optional metadata URL to fetch metadata (alternative to settings) */
1006
+ metadataUrl?: InputMaybe<Scalars['String']['input']>;
1007
+ /** The name of the identity provider */
1008
+ providerName?: InputMaybe<Scalars['String']['input']>;
1009
+ /** The redirect URI for the OIDC identity provider */
1010
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
1011
+ /** The SAML response settings for the identity provider */
1012
+ responseSettings?: InputMaybe<Scalars['JSON']['input']>;
1013
+ /** The SAML settings for the identity provider */
1014
+ settings?: InputMaybe<Scalars['JSON']['input']>;
1015
+ /** The user details URL for the OIDC identity provider */
1016
+ userDetailsUrl?: InputMaybe<Scalars['String']['input']>;
1017
+ }
1018
+
1019
+ /** The connection type for IdentityProvider. */
1020
+ export interface IdentityProviderConnection {
1021
+ __typename?: 'IdentityProviderConnection';
1022
+ /** Total count of collection. */
1023
+ count?: Maybe<Scalars['Int']['output']>;
1024
+ /** A list of edges. */
1025
+ edges?: Maybe<Array<Maybe<IdentityProviderEdge>>>;
1026
+ /** A list of nodes. */
1027
+ nodes?: Maybe<Array<Maybe<IdentityProvider>>>;
1028
+ /** Information to aid in pagination. */
1029
+ pageInfo?: Maybe<PageInfo>;
1030
+ }
1031
+
1032
+ /** An edge in a connection. */
1033
+ export interface IdentityProviderEdge {
1034
+ __typename?: 'IdentityProviderEdge';
1035
+ /** A cursor for use in pagination. */
1036
+ cursor?: Maybe<Scalars['String']['output']>;
1037
+ /** The item at the end of the edge. */
1038
+ node?: Maybe<IdentityProvider>;
1039
+ }
1040
+
1041
+ /** Input for creating or updating an identity provider */
1042
+ export interface IdentityProviderInput {
1043
+ /** Configuration for the identity provider */
1044
+ config: IdentityProviderConfigInput;
1045
+ /** Unique identifier of the identity provider */
1046
+ id: Scalars['String']['input'];
1047
+ /** Type of the identity provider */
1048
+ type: IdentityProviderType;
1049
+ }
1050
+
1051
+ /** The available identity provider types. */
1052
+ export const enum IdentityProviderType {
1053
+ /** Identity provider of type discord */
1054
+ Discord = 'DISCORD',
1055
+ /** Identity provider of type github */
1056
+ Github = 'GITHUB',
1057
+ /** Identity provider of type gitlab */
1058
+ Gitlab = 'GITLAB',
1059
+ /** Identity provider of type google */
1060
+ Google = 'GOOGLE',
1061
+ /** Identity provider of type microsoft */
1062
+ Microsoft = 'MICROSOFT',
1063
+ /** Identity provider of type oidc */
1064
+ Oidc = 'OIDC',
1065
+ /** Identity provider of type saml */
1066
+ Saml = 'SAML'
1067
+ }
1068
+
720
1069
  /** Represents a literal value, such as a string or number. */
721
1070
  export interface LiteralValue {
722
1071
  __typename?: 'LiteralValue';
@@ -735,6 +1084,15 @@ export interface MessageError {
735
1084
  message?: Maybe<Scalars['String']['output']>;
736
1085
  }
737
1086
 
1087
+ /** Application metadata */
1088
+ export interface Metadata {
1089
+ __typename?: 'Metadata';
1090
+ /** List of loaded extensions */
1091
+ extensions?: Maybe<Array<Scalars['String']['output']>>;
1092
+ /** Application version */
1093
+ version?: Maybe<Scalars['String']['output']>;
1094
+ }
1095
+
738
1096
  /** Represents the input for mfa authentication */
739
1097
  export interface MfaInput {
740
1098
  /** The type of the mfa authentication */
@@ -743,8 +1101,19 @@ export interface MfaInput {
743
1101
  value: Scalars['String']['input'];
744
1102
  }
745
1103
 
1104
+ /** Represents the MFA status of a user */
1105
+ export interface MfaStatus {
1106
+ __typename?: 'MfaStatus';
1107
+ /** The number of backup codes remaining for the user. */
1108
+ backupCodesCount?: Maybe<Scalars['Int']['output']>;
1109
+ /** Indicates whether MFA is enabled for the user. */
1110
+ enabled?: Maybe<Scalars['Boolean']['output']>;
1111
+ /** Indicates whether TOTP MFA is enabled for the user. */
1112
+ totpEnabled?: Maybe<Scalars['Boolean']['output']>;
1113
+ }
1114
+
746
1115
  /** Represent all available types to authenticate with mfa */
747
- export enum MfaType {
1116
+ export const enum MfaType {
748
1117
  /** Single use backup code */
749
1118
  BackupCode = 'BACKUP_CODE',
750
1119
  /** Time based onetime password */
@@ -764,9 +1133,9 @@ export interface Mutation {
764
1133
  *
765
1134
  */
766
1135
  echo?: Maybe<EchoPayload>;
767
- /** Create a new namespace license. */
1136
+ /** (EE only) Create a new namespace license. */
768
1137
  namespacesLicensesCreate?: Maybe<NamespacesLicensesCreatePayload>;
769
- /** Deletes an namespace license. */
1138
+ /** (EE only) Deletes an namespace license. */
770
1139
  namespacesLicensesDelete?: Maybe<NamespacesLicensesDeletePayload>;
771
1140
  /** Update the roles a member is assigned to. */
772
1141
  namespacesMembersAssignRoles?: Maybe<NamespacesMembersAssignRolesPayload>;
@@ -784,6 +1153,8 @@ export interface Mutation {
784
1153
  namespacesProjectsFlowsCreate?: Maybe<NamespacesProjectsFlowsCreatePayload>;
785
1154
  /** Deletes a namespace project. */
786
1155
  namespacesProjectsFlowsDelete?: Maybe<NamespacesProjectsFlowsDeletePayload>;
1156
+ /** Update an existing flow. */
1157
+ namespacesProjectsFlowsUpdate?: Maybe<NamespacesProjectsFlowsUpdatePayload>;
787
1158
  /** Updates a namespace project. */
788
1159
  namespacesProjectsUpdate?: Maybe<NamespacesProjectsUpdatePayload>;
789
1160
  /** Update the abilities a role is granted. */
@@ -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. */
@@ -909,6 +1288,12 @@ export interface MutationNamespacesProjectsFlowsDeleteArgs {
909
1288
  }
910
1289
 
911
1290
 
1291
+ /** Root Mutation type */
1292
+ export interface MutationNamespacesProjectsFlowsUpdateArgs {
1293
+ input: NamespacesProjectsFlowsUpdateInput;
1294
+ }
1295
+
1296
+
912
1297
  /** Root Mutation type */
913
1298
  export interface MutationNamespacesProjectsUpdateArgs {
914
1299
  input: NamespacesProjectsUpdateInput;
@@ -987,6 +1372,18 @@ export interface MutationRuntimesUpdateArgs {
987
1372
  }
988
1373
 
989
1374
 
1375
+ /** Root Mutation type */
1376
+ export interface MutationUsersCreateArgs {
1377
+ input: UsersCreateInput;
1378
+ }
1379
+
1380
+
1381
+ /** Root Mutation type */
1382
+ export interface MutationUsersDeleteArgs {
1383
+ input: UsersDeleteInput;
1384
+ }
1385
+
1386
+
990
1387
  /** Root Mutation type */
991
1388
  export interface MutationUsersEmailVerificationArgs {
992
1389
  input: UsersEmailVerificationInput;
@@ -1047,6 +1444,18 @@ export interface MutationUsersMfaTotpValidateSecretArgs {
1047
1444
  }
1048
1445
 
1049
1446
 
1447
+ /** Root Mutation type */
1448
+ export interface MutationUsersPasswordResetArgs {
1449
+ input: UsersPasswordResetInput;
1450
+ }
1451
+
1452
+
1453
+ /** Root Mutation type */
1454
+ export interface MutationUsersPasswordResetRequestArgs {
1455
+ input: UsersPasswordResetRequestInput;
1456
+ }
1457
+
1458
+
1050
1459
  /** Root Mutation type */
1051
1460
  export interface MutationUsersRegisterArgs {
1052
1461
  input: UsersRegisterInput;
@@ -1063,14 +1472,18 @@ export interface Namespace {
1063
1472
  __typename?: 'Namespace';
1064
1473
  /** Time when this Namespace was created */
1065
1474
  createdAt?: Maybe<Scalars['Time']['output']>;
1475
+ /** (EE only) Currently active license of the namespace */
1476
+ currentNamespaceLicense?: Maybe<NamespaceLicense>;
1066
1477
  /** Global ID of this Namespace */
1067
1478
  id?: Maybe<Scalars['NamespaceID']['output']>;
1068
1479
  /** Members of the namespace */
1069
1480
  members?: Maybe<NamespaceMemberConnection>;
1070
- /** Licenses of the namespace */
1481
+ /** (EE only) Licenses of the namespace */
1071
1482
  namespaceLicenses?: Maybe<NamespaceLicenseConnection>;
1072
1483
  /** Parent of this namespace */
1073
1484
  parent?: Maybe<NamespaceParent>;
1485
+ /** Query a project by its id */
1486
+ project?: Maybe<NamespaceProject>;
1074
1487
  /** Projects of the namespace */
1075
1488
  projects?: Maybe<NamespaceProjectConnection>;
1076
1489
  /** Roles of the namespace */
@@ -1079,6 +1492,8 @@ export interface Namespace {
1079
1492
  runtimes?: Maybe<RuntimeConnection>;
1080
1493
  /** Time when this Namespace was last updated */
1081
1494
  updatedAt?: Maybe<Scalars['Time']['output']>;
1495
+ /** Abilities for the current user on this Namespace */
1496
+ userAbilities?: Maybe<NamespaceUserAbilities>;
1082
1497
  }
1083
1498
 
1084
1499
 
@@ -1100,6 +1515,12 @@ export interface NamespaceNamespaceLicensesArgs {
1100
1515
  }
1101
1516
 
1102
1517
 
1518
+ /** Represents a Namespace */
1519
+ export interface NamespaceProjectArgs {
1520
+ id: Scalars['NamespaceProjectID']['input'];
1521
+ }
1522
+
1523
+
1103
1524
  /** Represents a Namespace */
1104
1525
  export interface NamespaceProjectsArgs {
1105
1526
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1126,17 +1547,25 @@ export interface NamespaceRuntimesArgs {
1126
1547
  last?: InputMaybe<Scalars['Int']['input']>;
1127
1548
  }
1128
1549
 
1129
- /** Represents a Namespace License */
1550
+ /** (EE only) Represents a Namespace License */
1130
1551
  export interface NamespaceLicense {
1131
1552
  __typename?: 'NamespaceLicense';
1132
1553
  /** Time when this NamespaceLicense was created */
1133
1554
  createdAt?: Maybe<Scalars['Time']['output']>;
1555
+ /** The end date of the license */
1556
+ endDate?: Maybe<Scalars['Time']['output']>;
1134
1557
  /** Global ID of this NamespaceLicense */
1135
1558
  id?: Maybe<Scalars['NamespaceLicenseID']['output']>;
1559
+ /** The licensee information */
1560
+ licensee?: Maybe<Scalars['JSON']['output']>;
1136
1561
  /** The namespace the license belongs to */
1137
1562
  namespace?: Maybe<Namespace>;
1563
+ /** The start date of the license */
1564
+ startDate?: Maybe<Scalars['Time']['output']>;
1138
1565
  /** Time when this NamespaceLicense was last updated */
1139
1566
  updatedAt?: Maybe<Scalars['Time']['output']>;
1567
+ /** Abilities for the current user on this NamespaceLicense */
1568
+ userAbilities?: Maybe<NamespaceLicenseUserAbilities>;
1140
1569
  }
1141
1570
 
1142
1571
  /** The connection type for NamespaceLicense. */
@@ -1161,6 +1590,13 @@ export interface NamespaceLicenseEdge {
1161
1590
  node?: Maybe<NamespaceLicense>;
1162
1591
  }
1163
1592
 
1593
+ /** Abilities for the current user on this NamespaceLicense */
1594
+ export interface NamespaceLicenseUserAbilities {
1595
+ __typename?: 'NamespaceLicenseUserAbilities';
1596
+ /** Shows if the current user has the `delete_namespace_license` ability on this NamespaceLicense */
1597
+ deleteNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1598
+ }
1599
+
1164
1600
  /** Represents a namespace member */
1165
1601
  export interface NamespaceMember {
1166
1602
  __typename?: 'NamespaceMember';
@@ -1168,12 +1604,36 @@ export interface NamespaceMember {
1168
1604
  createdAt?: Maybe<Scalars['Time']['output']>;
1169
1605
  /** Global ID of this NamespaceMember */
1170
1606
  id?: Maybe<Scalars['NamespaceMemberID']['output']>;
1607
+ /** Memberroles of the member */
1608
+ memberRoles?: Maybe<NamespaceMemberRoleConnection>;
1171
1609
  /** Namespace this member belongs to */
1172
1610
  namespace?: Maybe<Namespace>;
1611
+ /** Roles of the member */
1612
+ roles?: Maybe<NamespaceRoleConnection>;
1173
1613
  /** Time when this NamespaceMember was last updated */
1174
1614
  updatedAt?: Maybe<Scalars['Time']['output']>;
1175
1615
  /** User this member belongs to */
1176
1616
  user?: Maybe<User>;
1617
+ /** Abilities for the current user on this NamespaceMember */
1618
+ userAbilities?: Maybe<NamespaceMemberUserAbilities>;
1619
+ }
1620
+
1621
+
1622
+ /** Represents a namespace member */
1623
+ export interface NamespaceMemberMemberRolesArgs {
1624
+ after?: InputMaybe<Scalars['String']['input']>;
1625
+ before?: InputMaybe<Scalars['String']['input']>;
1626
+ first?: InputMaybe<Scalars['Int']['input']>;
1627
+ last?: InputMaybe<Scalars['Int']['input']>;
1628
+ }
1629
+
1630
+
1631
+ /** Represents a namespace member */
1632
+ export interface NamespaceMemberRolesArgs {
1633
+ after?: InputMaybe<Scalars['String']['input']>;
1634
+ before?: InputMaybe<Scalars['String']['input']>;
1635
+ first?: InputMaybe<Scalars['Int']['input']>;
1636
+ last?: InputMaybe<Scalars['Int']['input']>;
1177
1637
  }
1178
1638
 
1179
1639
  /** The connection type for NamespaceMember. */
@@ -1213,8 +1673,39 @@ export interface NamespaceMemberRole {
1213
1673
  updatedAt?: Maybe<Scalars['Time']['output']>;
1214
1674
  }
1215
1675
 
1676
+ /** The connection type for NamespaceMemberRole. */
1677
+ export interface NamespaceMemberRoleConnection {
1678
+ __typename?: 'NamespaceMemberRoleConnection';
1679
+ /** Total count of collection. */
1680
+ count?: Maybe<Scalars['Int']['output']>;
1681
+ /** A list of edges. */
1682
+ edges?: Maybe<Array<Maybe<NamespaceMemberRoleEdge>>>;
1683
+ /** A list of nodes. */
1684
+ nodes?: Maybe<Array<Maybe<NamespaceMemberRole>>>;
1685
+ /** Information to aid in pagination. */
1686
+ pageInfo?: Maybe<PageInfo>;
1687
+ }
1688
+
1689
+ /** An edge in a connection. */
1690
+ export interface NamespaceMemberRoleEdge {
1691
+ __typename?: 'NamespaceMemberRoleEdge';
1692
+ /** A cursor for use in pagination. */
1693
+ cursor?: Maybe<Scalars['String']['output']>;
1694
+ /** The item at the end of the edge. */
1695
+ node?: Maybe<NamespaceMemberRole>;
1696
+ }
1697
+
1698
+ /** Abilities for the current user on this NamespaceMember */
1699
+ export interface NamespaceMemberUserAbilities {
1700
+ __typename?: 'NamespaceMemberUserAbilities';
1701
+ /** Shows if the current user has the `assign_member_roles` ability on this NamespaceMember */
1702
+ assignMemberRoles?: Maybe<Scalars['Boolean']['output']>;
1703
+ /** Shows if the current user has the `delete_member` ability on this NamespaceMember */
1704
+ deleteMember?: Maybe<Scalars['Boolean']['output']>;
1705
+ }
1706
+
1216
1707
  /** Objects that can present a namespace */
1217
- export type NamespaceParent = Organization;
1708
+ export type NamespaceParent = Organization | User;
1218
1709
 
1219
1710
  /** Represents a namespace project */
1220
1711
  export interface NamespaceProject {
@@ -1235,10 +1726,16 @@ export interface NamespaceProject {
1235
1726
  namespace?: Maybe<Namespace>;
1236
1727
  /** The primary runtime for the project */
1237
1728
  primaryRuntime?: Maybe<Runtime>;
1729
+ /** Roles assigned to this project */
1730
+ roles?: Maybe<NamespaceRoleConnection>;
1238
1731
  /** Runtimes assigned to this project */
1239
1732
  runtimes?: Maybe<RuntimeConnection>;
1733
+ /** Slug of the project used in URLs to identify flows */
1734
+ slug?: Maybe<Scalars['String']['output']>;
1240
1735
  /** Time when this NamespaceProject was last updated */
1241
1736
  updatedAt?: Maybe<Scalars['Time']['output']>;
1737
+ /** Abilities for the current user on this NamespaceProject */
1738
+ userAbilities?: Maybe<NamespaceProjectUserAbilities>;
1242
1739
  }
1243
1740
 
1244
1741
 
@@ -1257,6 +1754,15 @@ export interface NamespaceProjectFlowsArgs {
1257
1754
  }
1258
1755
 
1259
1756
 
1757
+ /** Represents a namespace project */
1758
+ export interface NamespaceProjectRolesArgs {
1759
+ after?: InputMaybe<Scalars['String']['input']>;
1760
+ before?: InputMaybe<Scalars['String']['input']>;
1761
+ first?: InputMaybe<Scalars['Int']['input']>;
1762
+ last?: InputMaybe<Scalars['Int']['input']>;
1763
+ }
1764
+
1765
+
1260
1766
  /** Represents a namespace project */
1261
1767
  export interface NamespaceProjectRuntimesArgs {
1262
1768
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1287,6 +1793,19 @@ export interface NamespaceProjectEdge {
1287
1793
  node?: Maybe<NamespaceProject>;
1288
1794
  }
1289
1795
 
1796
+ /** Abilities for the current user on this NamespaceProject */
1797
+ export interface NamespaceProjectUserAbilities {
1798
+ __typename?: 'NamespaceProjectUserAbilities';
1799
+ /** Shows if the current user has the `assign_project_runtimes` ability on this NamespaceProject */
1800
+ assignProjectRuntimes?: Maybe<Scalars['Boolean']['output']>;
1801
+ /** Shows if the current user has the `create_flow` ability on this NamespaceProject */
1802
+ createFlow?: Maybe<Scalars['Boolean']['output']>;
1803
+ /** Shows if the current user has the `delete_namespace_project` ability on this NamespaceProject */
1804
+ deleteNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1805
+ /** Shows if the current user has the `update_namespace_project` ability on this NamespaceProject */
1806
+ updateNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1807
+ }
1808
+
1290
1809
  /** Represents a namespace role. */
1291
1810
  export interface NamespaceRole {
1292
1811
  __typename?: 'NamespaceRole';
@@ -1298,12 +1817,16 @@ export interface NamespaceRole {
1298
1817
  createdAt?: Maybe<Scalars['Time']['output']>;
1299
1818
  /** Global ID of this NamespaceRole */
1300
1819
  id?: Maybe<Scalars['NamespaceRoleID']['output']>;
1820
+ /** The members this role is assigned to */
1821
+ members?: Maybe<NamespaceMemberConnection>;
1301
1822
  /** The name of this role */
1302
1823
  name?: Maybe<Scalars['String']['output']>;
1303
1824
  /** The namespace where this role belongs to */
1304
1825
  namespace?: Maybe<Namespace>;
1305
1826
  /** Time when this NamespaceRole was last updated */
1306
1827
  updatedAt?: Maybe<Scalars['Time']['output']>;
1828
+ /** Abilities for the current user on this NamespaceRole */
1829
+ userAbilities?: Maybe<NamespaceRoleUserAbilities>;
1307
1830
  }
1308
1831
 
1309
1832
 
@@ -1315,8 +1838,17 @@ export interface NamespaceRoleAssignedProjectsArgs {
1315
1838
  last?: InputMaybe<Scalars['Int']['input']>;
1316
1839
  }
1317
1840
 
1841
+
1842
+ /** Represents a namespace role. */
1843
+ export interface NamespaceRoleMembersArgs {
1844
+ after?: InputMaybe<Scalars['String']['input']>;
1845
+ before?: InputMaybe<Scalars['String']['input']>;
1846
+ first?: InputMaybe<Scalars['Int']['input']>;
1847
+ last?: InputMaybe<Scalars['Int']['input']>;
1848
+ }
1849
+
1318
1850
  /** Represents abilities that can be granted to roles in namespaces. */
1319
- export enum NamespaceRoleAbility {
1851
+ export const enum NamespaceRoleAbility {
1320
1852
  /** Allows to change the roles of a namespace member */
1321
1853
  AssignMemberRoles = 'ASSIGN_MEMBER_ROLES',
1322
1854
  /** Allows to assign runtimes to a project in the namespace */
@@ -1326,7 +1858,7 @@ export enum NamespaceRoleAbility {
1326
1858
  /** Allows to change the assigned projects of a namespace role */
1327
1859
  AssignRoleProjects = 'ASSIGN_ROLE_PROJECTS',
1328
1860
  /** Allows to create flows in a namespace project */
1329
- CreateFlows = 'CREATE_FLOWS',
1861
+ CreateFlow = 'CREATE_FLOW',
1330
1862
  /** Allows to create a license for the namespace */
1331
1863
  CreateNamespaceLicense = 'CREATE_NAMESPACE_LICENSE',
1332
1864
  /** Allows to create a project in the namespace */
@@ -1336,7 +1868,7 @@ export enum NamespaceRoleAbility {
1336
1868
  /** Allows to create a runtime globally or for the namespace */
1337
1869
  CreateRuntime = 'CREATE_RUNTIME',
1338
1870
  /** Allows to delete flows in a namespace project */
1339
- DeleteFlows = 'DELETE_FLOWS',
1871
+ DeleteFlow = 'DELETE_FLOW',
1340
1872
  /** Allows to remove members of a namespace */
1341
1873
  DeleteMember = 'DELETE_MEMBER',
1342
1874
  /** Allows to delete the license of the namespace */
@@ -1360,7 +1892,7 @@ export enum NamespaceRoleAbility {
1360
1892
  /** Allows to regenerate a runtime token */
1361
1893
  RotateRuntimeToken = 'ROTATE_RUNTIME_TOKEN',
1362
1894
  /** Allows to update flows in the project */
1363
- UpdateFlows = 'UPDATE_FLOWS',
1895
+ UpdateFlow = 'UPDATE_FLOW',
1364
1896
  /** Allows to update the project of the namespace */
1365
1897
  UpdateNamespaceProject = 'UPDATE_NAMESPACE_PROJECT',
1366
1898
  /** Allows to update the namespace role */
@@ -1393,6 +1925,34 @@ export interface NamespaceRoleEdge {
1393
1925
  node?: Maybe<NamespaceRole>;
1394
1926
  }
1395
1927
 
1928
+ /** Abilities for the current user on this NamespaceRole */
1929
+ export interface NamespaceRoleUserAbilities {
1930
+ __typename?: 'NamespaceRoleUserAbilities';
1931
+ /** Shows if the current user has the `assign_role_abilities` ability on this NamespaceRole */
1932
+ assignRoleAbilities?: Maybe<Scalars['Boolean']['output']>;
1933
+ /** Shows if the current user has the `assign_role_projects` ability on this NamespaceRole */
1934
+ assignRoleProjects?: Maybe<Scalars['Boolean']['output']>;
1935
+ /** Shows if the current user has the `delete_namespace_role` ability on this NamespaceRole */
1936
+ deleteNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1937
+ /** Shows if the current user has the `update_namespace_role` ability on this NamespaceRole */
1938
+ updateNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1939
+ }
1940
+
1941
+ /** Abilities for the current user on this Namespace */
1942
+ export interface NamespaceUserAbilities {
1943
+ __typename?: 'NamespaceUserAbilities';
1944
+ /** Shows if the current user has the `create_namespace_license` ability on this Namespace */
1945
+ createNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1946
+ /** Shows if the current user has the `create_namespace_project` ability on this Namespace */
1947
+ createNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1948
+ /** Shows if the current user has the `create_namespace_role` ability on this Namespace */
1949
+ createNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1950
+ /** Shows if the current user has the `create_runtime` ability on this Namespace */
1951
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
1952
+ /** Shows if the current user has the `invite_member` ability on this Namespace */
1953
+ inviteMember?: Maybe<Scalars['Boolean']['output']>;
1954
+ }
1955
+
1396
1956
  /** Autogenerated input type of NamespacesLicensesCreate */
1397
1957
  export interface NamespacesLicensesCreateInput {
1398
1958
  /** A unique identifier for the client performing the mutation. */
@@ -1450,8 +2010,8 @@ export interface NamespacesMembersAssignRolesPayload {
1450
2010
  clientMutationId?: Maybe<Scalars['String']['output']>;
1451
2011
  /** Errors encountered during execution of the mutation. */
1452
2012
  errors?: Maybe<Array<Error>>;
1453
- /** The roles the member is now assigned to */
1454
- namespaceMemberRoles?: Maybe<Array<NamespaceMemberRole>>;
2013
+ /** The member which was assigned the roles */
2014
+ member?: Maybe<NamespaceMember>;
1455
2015
  }
1456
2016
 
1457
2017
  /** Autogenerated input type of NamespacesMembersDelete */
@@ -1525,6 +2085,8 @@ export interface NamespacesProjectsCreateInput {
1525
2085
  name: Scalars['String']['input'];
1526
2086
  /** The id of the namespace which this project will belong to */
1527
2087
  namespaceId: Scalars['NamespaceID']['input'];
2088
+ /** Slug for the new project. */
2089
+ slug?: InputMaybe<Scalars['String']['input']>;
1528
2090
  }
1529
2091
 
1530
2092
  /** Autogenerated return type of NamespacesProjectsCreate. */
@@ -1597,6 +2159,27 @@ export interface NamespacesProjectsFlowsDeletePayload {
1597
2159
  flow?: Maybe<Flow>;
1598
2160
  }
1599
2161
 
2162
+ /** Autogenerated input type of NamespacesProjectsFlowsUpdate */
2163
+ export interface NamespacesProjectsFlowsUpdateInput {
2164
+ /** A unique identifier for the client performing the mutation. */
2165
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
2166
+ /** The ID of the flow to update */
2167
+ flowId: Scalars['FlowID']['input'];
2168
+ /** The updated flow */
2169
+ flowInput: FlowInput;
2170
+ }
2171
+
2172
+ /** Autogenerated return type of NamespacesProjectsFlowsUpdate. */
2173
+ export interface NamespacesProjectsFlowsUpdatePayload {
2174
+ __typename?: 'NamespacesProjectsFlowsUpdatePayload';
2175
+ /** A unique identifier for the client performing the mutation. */
2176
+ clientMutationId?: Maybe<Scalars['String']['output']>;
2177
+ /** Errors encountered during execution of the mutation. */
2178
+ errors?: Maybe<Array<Error>>;
2179
+ /** The updated flow. */
2180
+ flow?: Maybe<Flow>;
2181
+ }
2182
+
1600
2183
  /** Autogenerated input type of NamespacesProjectsUpdate */
1601
2184
  export interface NamespacesProjectsUpdateInput {
1602
2185
  /** A unique identifier for the client performing the mutation. */
@@ -1609,6 +2192,8 @@ export interface NamespacesProjectsUpdateInput {
1609
2192
  namespaceProjectId: Scalars['NamespaceProjectID']['input'];
1610
2193
  /** The primary runtime for the updated project. */
1611
2194
  primaryRuntimeId?: InputMaybe<Scalars['RuntimeID']['input']>;
2195
+ /** Slug for the updated project. */
2196
+ slug?: InputMaybe<Scalars['String']['input']>;
1612
2197
  }
1613
2198
 
1614
2199
  /** Autogenerated return type of NamespacesProjectsUpdate. */
@@ -1736,14 +2321,14 @@ export interface NodeFunction {
1736
2321
  __typename?: 'NodeFunction';
1737
2322
  /** Time when this NodeFunction was created */
1738
2323
  createdAt?: Maybe<Scalars['Time']['output']>;
2324
+ /** The definition of the Node Function */
2325
+ functionDefinition?: Maybe<FunctionDefinition>;
1739
2326
  /** Global ID of this NodeFunction */
1740
2327
  id?: Maybe<Scalars['NodeFunctionID']['output']>;
1741
2328
  /** The ID of the next Node Function in the flow */
1742
2329
  nextNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
1743
2330
  /** The parameters of the Node Function */
1744
2331
  parameters?: Maybe<NodeParameterConnection>;
1745
- /** The definition of the Node Function */
1746
- runtimeFunction?: Maybe<RuntimeFunctionDefinition>;
1747
2332
  /** Time when this NodeFunction was last updated */
1748
2333
  updatedAt?: Maybe<Scalars['Time']['output']>;
1749
2334
  }
@@ -1779,10 +2364,19 @@ export interface NodeFunctionEdge {
1779
2364
  node?: Maybe<NodeFunction>;
1780
2365
  }
1781
2366
 
2367
+ /** Represents a Node Function id wrapper. */
2368
+ export interface NodeFunctionIdWrapper {
2369
+ __typename?: 'NodeFunctionIdWrapper';
2370
+ /** Global ID of this NodeFunctionIdWrapper */
2371
+ id?: Maybe<Scalars['NodeFunctionID']['output']>;
2372
+ }
2373
+
1782
2374
  /** Input type for a Node Function */
1783
2375
  export interface NodeFunctionInput {
2376
+ /** The identifier of the Node Function used to create/update the flow */
2377
+ id: Scalars['NodeFunctionID']['input'];
1784
2378
  /** The next Node Function in the flow */
1785
- nextNode?: InputMaybe<NodeFunctionInput>;
2379
+ nextNodeId?: InputMaybe<Scalars['NodeFunctionID']['input']>;
1786
2380
  /** The parameters of the Node Function */
1787
2381
  parameters: Array<NodeParameterInput>;
1788
2382
  /** The identifier of the Runtime Function Definition */
@@ -1835,18 +2429,37 @@ export interface NodeParameterInput {
1835
2429
  }
1836
2430
 
1837
2431
  /** Represents a parameter value for a node. */
1838
- export type NodeParameterValue = LiteralValue | NodeFunction | ReferenceValue;
2432
+ export type NodeParameterValue = LiteralValue | NodeFunctionIdWrapper | ReferenceValue;
1839
2433
 
1840
2434
  /** Input type for parameter value */
1841
2435
  export interface NodeParameterValueInput {
1842
- /** The function value of the parameter */
1843
- functionValue?: InputMaybe<NodeFunctionInput>;
1844
2436
  /** The literal value of the parameter */
1845
2437
  literalValue?: InputMaybe<Scalars['JSON']['input']>;
2438
+ /** The function value of the parameter as an id */
2439
+ nodeFunctionId?: InputMaybe<Scalars['NodeFunctionID']['input']>;
1846
2440
  /** The reference value of the parameter */
1847
2441
  referenceValue?: InputMaybe<ReferenceValueInput>;
1848
2442
  }
1849
2443
 
2444
+ /** Represents an OIDC identity provider configuration */
2445
+ export interface OidcIdentityProviderConfig {
2446
+ __typename?: 'OidcIdentityProviderConfig';
2447
+ /** List of attribute statements for the OIDC identity provider */
2448
+ attributeStatements?: Maybe<Scalars['JSON']['output']>;
2449
+ /** The authorization URL for the OIDC identity provider */
2450
+ authorizationUrl?: Maybe<Scalars['String']['output']>;
2451
+ /** The client ID for the OIDC identity provider */
2452
+ clientId?: Maybe<Scalars['String']['output']>;
2453
+ /** The client secret for the OIDC identity provider */
2454
+ clientSecret?: Maybe<Scalars['String']['output']>;
2455
+ /** The name of the OIDC identity provider */
2456
+ providerName?: Maybe<Scalars['String']['output']>;
2457
+ /** The redirect URI for the OIDC identity provider */
2458
+ redirectUri?: Maybe<Scalars['String']['output']>;
2459
+ /** The user details URL for the OIDC identity provider */
2460
+ userDetailsUrl?: Maybe<Scalars['String']['output']>;
2461
+ }
2462
+
1850
2463
  /** Represents a Organization */
1851
2464
  export interface Organization {
1852
2465
  __typename?: 'Organization';
@@ -1860,6 +2473,39 @@ export interface Organization {
1860
2473
  namespace?: Maybe<Namespace>;
1861
2474
  /** Time when this Organization was last updated */
1862
2475
  updatedAt?: Maybe<Scalars['Time']['output']>;
2476
+ /** Abilities for the current user on this Organization */
2477
+ userAbilities?: Maybe<OrganizationUserAbilities>;
2478
+ }
2479
+
2480
+ /** The connection type for Organization. */
2481
+ export interface OrganizationConnection {
2482
+ __typename?: 'OrganizationConnection';
2483
+ /** Total count of collection. */
2484
+ count?: Maybe<Scalars['Int']['output']>;
2485
+ /** A list of edges. */
2486
+ edges?: Maybe<Array<Maybe<OrganizationEdge>>>;
2487
+ /** A list of nodes. */
2488
+ nodes?: Maybe<Array<Maybe<Organization>>>;
2489
+ /** Information to aid in pagination. */
2490
+ pageInfo?: Maybe<PageInfo>;
2491
+ }
2492
+
2493
+ /** An edge in a connection. */
2494
+ export interface OrganizationEdge {
2495
+ __typename?: 'OrganizationEdge';
2496
+ /** A cursor for use in pagination. */
2497
+ cursor?: Maybe<Scalars['String']['output']>;
2498
+ /** The item at the end of the edge. */
2499
+ node?: Maybe<Organization>;
2500
+ }
2501
+
2502
+ /** Abilities for the current user on this Organization */
2503
+ export interface OrganizationUserAbilities {
2504
+ __typename?: 'OrganizationUserAbilities';
2505
+ /** Shows if the current user has the `delete_organization` ability on this Organization */
2506
+ deleteOrganization?: Maybe<Scalars['Boolean']['output']>;
2507
+ /** Shows if the current user has the `update_organization` ability on this Organization */
2508
+ updateOrganization?: Maybe<Scalars['Boolean']['output']>;
1863
2509
  }
1864
2510
 
1865
2511
  /** Autogenerated input type of OrganizationsCreate */
@@ -1940,46 +2586,21 @@ export interface ParameterDefinition {
1940
2586
  /** Time when this ParameterDefinition was created */
1941
2587
  createdAt?: Maybe<Scalars['Time']['output']>;
1942
2588
  /** Data type of the parameter */
1943
- dataType?: Maybe<DataTypeIdentifier>;
2589
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
1944
2590
  /** Description of the parameter */
1945
- descriptions?: Maybe<TranslationConnection>;
2591
+ descriptions?: Maybe<Array<Translation>>;
1946
2592
  /** Documentation of the parameter */
1947
- documentations?: Maybe<TranslationConnection>;
2593
+ documentations?: Maybe<Array<Translation>>;
1948
2594
  /** Global ID of this ParameterDefinition */
1949
2595
  id?: Maybe<Scalars['ParameterDefinitionID']['output']>;
2596
+ /** Identifier of the parameter */
2597
+ identifier?: Maybe<Scalars['String']['output']>;
1950
2598
  /** Name of the parameter */
1951
- names?: Maybe<TranslationConnection>;
2599
+ names?: Maybe<Array<Translation>>;
1952
2600
  /** Time when this ParameterDefinition was last updated */
1953
2601
  updatedAt?: Maybe<Scalars['Time']['output']>;
1954
2602
  }
1955
2603
 
1956
-
1957
- /** Represents a parameter definition */
1958
- export interface ParameterDefinitionDescriptionsArgs {
1959
- after?: InputMaybe<Scalars['String']['input']>;
1960
- before?: InputMaybe<Scalars['String']['input']>;
1961
- first?: InputMaybe<Scalars['Int']['input']>;
1962
- last?: InputMaybe<Scalars['Int']['input']>;
1963
- }
1964
-
1965
-
1966
- /** Represents a parameter definition */
1967
- export interface ParameterDefinitionDocumentationsArgs {
1968
- after?: InputMaybe<Scalars['String']['input']>;
1969
- before?: InputMaybe<Scalars['String']['input']>;
1970
- first?: InputMaybe<Scalars['Int']['input']>;
1971
- last?: InputMaybe<Scalars['Int']['input']>;
1972
- }
1973
-
1974
-
1975
- /** Represents a parameter definition */
1976
- export interface ParameterDefinitionNamesArgs {
1977
- after?: InputMaybe<Scalars['String']['input']>;
1978
- before?: InputMaybe<Scalars['String']['input']>;
1979
- first?: InputMaybe<Scalars['Int']['input']>;
1980
- last?: InputMaybe<Scalars['Int']['input']>;
1981
- }
1982
-
1983
2604
  /** The connection type for ParameterDefinition. */
1984
2605
  export interface ParameterDefinitionConnection {
1985
2606
  __typename?: 'ParameterDefinitionConnection';
@@ -2005,8 +2626,8 @@ export interface ParameterDefinitionEdge {
2005
2626
  /** Root Query type */
2006
2627
  export interface Query {
2007
2628
  __typename?: 'Query';
2008
- /** Get global application settings */
2009
- applicationSettings?: Maybe<ApplicationSettings>;
2629
+ /** Get application information */
2630
+ application?: Maybe<Application>;
2010
2631
  /** Get the currently logged in authentication */
2011
2632
  currentAuthentication?: Maybe<Authentication>;
2012
2633
  /** Get the currently logged in user */
@@ -2023,6 +2644,10 @@ export interface Query {
2023
2644
  nodes?: Maybe<Array<Maybe<Node>>>;
2024
2645
  /** Find a organization */
2025
2646
  organization?: Maybe<Organization>;
2647
+ /** Find organizations */
2648
+ organizations?: Maybe<OrganizationConnection>;
2649
+ /** Find a user */
2650
+ user?: Maybe<User>;
2026
2651
  /** Find users */
2027
2652
  users?: Maybe<UserConnection>;
2028
2653
  }
@@ -2068,6 +2693,22 @@ export interface QueryOrganizationArgs {
2068
2693
  }
2069
2694
 
2070
2695
 
2696
+ /** Root Query type */
2697
+ export interface QueryOrganizationsArgs {
2698
+ after?: InputMaybe<Scalars['String']['input']>;
2699
+ before?: InputMaybe<Scalars['String']['input']>;
2700
+ first?: InputMaybe<Scalars['Int']['input']>;
2701
+ last?: InputMaybe<Scalars['Int']['input']>;
2702
+ }
2703
+
2704
+
2705
+ /** Root Query type */
2706
+ export interface QueryUserArgs {
2707
+ id?: InputMaybe<Scalars['UserID']['input']>;
2708
+ username?: InputMaybe<Scalars['String']['input']>;
2709
+ }
2710
+
2711
+
2071
2712
  /** Root Query type */
2072
2713
  export interface QueryUsersArgs {
2073
2714
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2112,6 +2753,8 @@ export interface ReferenceValue {
2112
2753
  id?: Maybe<Scalars['ReferenceValueID']['output']>;
2113
2754
  /** The node of the reference value. */
2114
2755
  node?: Maybe<Scalars['Int']['output']>;
2756
+ /** The referenced value. */
2757
+ nodeFunctionId?: Maybe<Scalars['NodeFunctionID']['output']>;
2115
2758
  /** The paths associated with this reference value. */
2116
2759
  referencePath?: Maybe<Array<ReferencePath>>;
2117
2760
  /** The scope of the reference value. */
@@ -2124,14 +2767,16 @@ export interface ReferenceValue {
2124
2767
  export interface ReferenceValueInput {
2125
2768
  /** The identifier of the data type this reference value belongs to */
2126
2769
  dataTypeIdentifier: DataTypeIdentifierInput;
2127
- /** The primary level of the reference value */
2128
- primaryLevel: Scalars['Int']['input'];
2770
+ /** The depth of the reference value */
2771
+ depth: Scalars['Int']['input'];
2772
+ /** The node of the reference */
2773
+ node: Scalars['Int']['input'];
2774
+ /** The referenced value */
2775
+ nodeFunctionId: Scalars['NodeFunctionID']['input'];
2129
2776
  /** The paths associated with this reference value */
2130
2777
  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']>;
2778
+ /** The scope of the reference value */
2779
+ scope: Array<Scalars['Int']['input']>;
2135
2780
  }
2136
2781
 
2137
2782
  /** Represents a runtime */
@@ -2145,6 +2790,8 @@ export interface Runtime {
2145
2790
  description?: Maybe<Scalars['String']['output']>;
2146
2791
  /** FlowTypes of the runtime */
2147
2792
  flowTypes?: Maybe<FlowTypeConnection>;
2793
+ /** Function definitions of the runtime */
2794
+ functionDefinitions?: Maybe<FunctionDefinitionConnection>;
2148
2795
  /** Global ID of this Runtime */
2149
2796
  id?: Maybe<Scalars['RuntimeID']['output']>;
2150
2797
  /** The name for the runtime */
@@ -2159,6 +2806,8 @@ export interface Runtime {
2159
2806
  token?: Maybe<Scalars['String']['output']>;
2160
2807
  /** Time when this Runtime was last updated */
2161
2808
  updatedAt?: Maybe<Scalars['Time']['output']>;
2809
+ /** Abilities for the current user on this Runtime */
2810
+ userAbilities?: Maybe<RuntimeUserAbilities>;
2162
2811
  }
2163
2812
 
2164
2813
 
@@ -2180,6 +2829,15 @@ export interface RuntimeFlowTypesArgs {
2180
2829
  }
2181
2830
 
2182
2831
 
2832
+ /** Represents a runtime */
2833
+ export interface RuntimeFunctionDefinitionsArgs {
2834
+ after?: InputMaybe<Scalars['String']['input']>;
2835
+ before?: InputMaybe<Scalars['String']['input']>;
2836
+ first?: InputMaybe<Scalars['Int']['input']>;
2837
+ last?: InputMaybe<Scalars['Int']['input']>;
2838
+ }
2839
+
2840
+
2183
2841
  /** Represents a runtime */
2184
2842
  export interface RuntimeProjectsArgs {
2185
2843
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2210,25 +2868,27 @@ export interface RuntimeEdge {
2210
2868
  node?: Maybe<Runtime>;
2211
2869
  }
2212
2870
 
2213
- /** Represents a Node Function definition */
2871
+ /** Represents a runtime function definition */
2214
2872
  export interface RuntimeFunctionDefinition {
2215
2873
  __typename?: 'RuntimeFunctionDefinition';
2216
2874
  /** Time when this RuntimeFunctionDefinition was created */
2217
2875
  createdAt?: Maybe<Scalars['Time']['output']>;
2218
- /** Function definitions of the Node Function */
2876
+ /** Function definitions of the runtime function definition */
2219
2877
  functionDefinitions?: Maybe<FunctionDefinitionConnection>;
2220
2878
  /** Global ID of this RuntimeFunctionDefinition */
2221
- id?: Maybe<Scalars['RuntimeParameterDefinitionID']['output']>;
2222
- /** Identifier of the Node Function */
2879
+ id?: Maybe<Scalars['RuntimeFunctionDefinitionID']['output']>;
2880
+ /** Identifier of the runtime function definition */
2223
2881
  identifier?: Maybe<Scalars['String']['output']>;
2224
- /** The runtime this Node Function belongs to */
2882
+ /** The runtime this runtime function definition belongs to */
2225
2883
  runtime?: Maybe<Runtime>;
2884
+ /** Parameter definitions of the runtime function definition */
2885
+ runtimeParameterDefinitions?: Maybe<RuntimeParameterDefinitionConnection>;
2226
2886
  /** Time when this RuntimeFunctionDefinition was last updated */
2227
2887
  updatedAt?: Maybe<Scalars['Time']['output']>;
2228
2888
  }
2229
2889
 
2230
2890
 
2231
- /** Represents a Node Function definition */
2891
+ /** Represents a runtime function definition */
2232
2892
  export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2233
2893
  after?: InputMaybe<Scalars['String']['input']>;
2234
2894
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2236,25 +2896,69 @@ export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2236
2896
  last?: InputMaybe<Scalars['Int']['input']>;
2237
2897
  }
2238
2898
 
2239
- /** Represents a Node parameter definition */
2899
+
2900
+ /** Represents a runtime function definition */
2901
+ export interface RuntimeFunctionDefinitionRuntimeParameterDefinitionsArgs {
2902
+ after?: InputMaybe<Scalars['String']['input']>;
2903
+ before?: InputMaybe<Scalars['String']['input']>;
2904
+ first?: InputMaybe<Scalars['Int']['input']>;
2905
+ last?: InputMaybe<Scalars['Int']['input']>;
2906
+ }
2907
+
2908
+ /** Represents a runtime parameter definition */
2240
2909
  export interface RuntimeParameterDefinition {
2241
2910
  __typename?: 'RuntimeParameterDefinition';
2242
2911
  /** Time when this RuntimeParameterDefinition was created */
2243
2912
  createdAt?: Maybe<Scalars['Time']['output']>;
2244
2913
  /** Global ID of this RuntimeParameterDefinition */
2245
2914
  id?: Maybe<Scalars['RuntimeParameterDefinitionID']['output']>;
2915
+ /** Identifier of the runtime parameter definition */
2916
+ identifier?: Maybe<Scalars['String']['output']>;
2246
2917
  /** Time when this RuntimeParameterDefinition was last updated */
2247
2918
  updatedAt?: Maybe<Scalars['Time']['output']>;
2248
2919
  }
2249
2920
 
2921
+ /** The connection type for RuntimeParameterDefinition. */
2922
+ export interface RuntimeParameterDefinitionConnection {
2923
+ __typename?: 'RuntimeParameterDefinitionConnection';
2924
+ /** Total count of collection. */
2925
+ count?: Maybe<Scalars['Int']['output']>;
2926
+ /** A list of edges. */
2927
+ edges?: Maybe<Array<Maybe<RuntimeParameterDefinitionEdge>>>;
2928
+ /** A list of nodes. */
2929
+ nodes?: Maybe<Array<Maybe<RuntimeParameterDefinition>>>;
2930
+ /** Information to aid in pagination. */
2931
+ pageInfo?: Maybe<PageInfo>;
2932
+ }
2933
+
2934
+ /** An edge in a connection. */
2935
+ export interface RuntimeParameterDefinitionEdge {
2936
+ __typename?: 'RuntimeParameterDefinitionEdge';
2937
+ /** A cursor for use in pagination. */
2938
+ cursor?: Maybe<Scalars['String']['output']>;
2939
+ /** The item at the end of the edge. */
2940
+ node?: Maybe<RuntimeParameterDefinition>;
2941
+ }
2942
+
2250
2943
  /** Represent all available types of statuses of a runtime */
2251
- export enum RuntimeStatusType {
2944
+ export const enum RuntimeStatusType {
2252
2945
  /** No problem with connection, everything works as expected */
2253
2946
  Connected = 'CONNECTED',
2254
2947
  /** The runtime is disconnected, cause unknown */
2255
2948
  Disconnected = 'DISCONNECTED'
2256
2949
  }
2257
2950
 
2951
+ /** Abilities for the current user on this Runtime */
2952
+ export interface RuntimeUserAbilities {
2953
+ __typename?: 'RuntimeUserAbilities';
2954
+ /** Shows if the current user has the `delete_runtime` ability on this Runtime */
2955
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
2956
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Runtime */
2957
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
2958
+ /** Shows if the current user has the `update_runtime` ability on this Runtime */
2959
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
2960
+ }
2961
+
2258
2962
  /** Autogenerated input type of RuntimesCreate */
2259
2963
  export interface RuntimesCreateInput {
2260
2964
  /** A unique identifier for the client performing the mutation. */
@@ -2339,6 +3043,21 @@ export interface RuntimesUpdatePayload {
2339
3043
  runtime?: Maybe<Runtime>;
2340
3044
  }
2341
3045
 
3046
+ /** Represents the configuration for a SAML identity provider. */
3047
+ export interface SamlIdentityProviderConfig {
3048
+ __typename?: 'SamlIdentityProviderConfig';
3049
+ /** List of attribute statements for the SAML identity provider */
3050
+ attributeStatements?: Maybe<Scalars['JSON']['output']>;
3051
+ /** The metadata url to fetch the metadatas (replacement for settings) */
3052
+ metadataUrl?: Maybe<Scalars['String']['output']>;
3053
+ /** The name of the SAML identity provider */
3054
+ providerName?: Maybe<Scalars['String']['output']>;
3055
+ /** The SAML response settings for the identity provider */
3056
+ responseSettings?: Maybe<Scalars['JSON']['output']>;
3057
+ /** The SAML settings for the identity provider */
3058
+ settings?: Maybe<Scalars['JSON']['output']>;
3059
+ }
3060
+
2342
3061
  /** Represents a translation */
2343
3062
  export interface Translation {
2344
3063
  __typename?: 'Translation';
@@ -2348,28 +3067,6 @@ export interface Translation {
2348
3067
  content?: Maybe<Scalars['String']['output']>;
2349
3068
  }
2350
3069
 
2351
- /** The connection type for Translation. */
2352
- export interface TranslationConnection {
2353
- __typename?: 'TranslationConnection';
2354
- /** Total count of collection. */
2355
- count?: Maybe<Scalars['Int']['output']>;
2356
- /** A list of edges. */
2357
- edges?: Maybe<Array<Maybe<TranslationEdge>>>;
2358
- /** A list of nodes. */
2359
- nodes?: Maybe<Array<Maybe<Translation>>>;
2360
- /** Information to aid in pagination. */
2361
- pageInfo?: Maybe<PageInfo>;
2362
- }
2363
-
2364
- /** An edge in a connection. */
2365
- export interface TranslationEdge {
2366
- __typename?: 'TranslationEdge';
2367
- /** A cursor for use in pagination. */
2368
- cursor?: Maybe<Scalars['String']['output']>;
2369
- /** The item at the end of the edge. */
2370
- node?: Maybe<Translation>;
2371
- }
2372
-
2373
3070
  /** Represents a user */
2374
3071
  export interface User {
2375
3072
  __typename?: 'User';
@@ -2381,23 +3078,42 @@ export interface User {
2381
3078
  createdAt?: Maybe<Scalars['Time']['output']>;
2382
3079
  /** Email of the user */
2383
3080
  email?: Maybe<Scalars['String']['output']>;
3081
+ /** Email verification date of the user if present */
3082
+ emailVerifiedAt?: Maybe<Scalars['Time']['output']>;
2384
3083
  /** Firstname of the user */
2385
3084
  firstname?: Maybe<Scalars['String']['output']>;
2386
3085
  /** Global ID of this User */
2387
3086
  id?: Maybe<Scalars['UserID']['output']>;
3087
+ /** Identities of this user */
3088
+ identities?: Maybe<UserIdentityConnection>;
2388
3089
  /** Lastname of the user */
2389
3090
  lastname?: Maybe<Scalars['String']['output']>;
3091
+ /** Multi-factor authentication status of this user */
3092
+ mfaStatus?: Maybe<MfaStatus>;
2390
3093
  /** Namespace of this user */
2391
3094
  namespace?: Maybe<Namespace>;
2392
3095
  /** Namespace Memberships of this user */
2393
3096
  namespaceMemberships?: Maybe<NamespaceMemberConnection>;
3097
+ /** Sessions of this user */
3098
+ sessions?: Maybe<UserSessionConnection>;
2394
3099
  /** Time when this User was last updated */
2395
3100
  updatedAt?: Maybe<Scalars['Time']['output']>;
3101
+ /** Abilities for the current user on this User */
3102
+ userAbilities?: Maybe<UserUserAbilities>;
2396
3103
  /** Username of the user */
2397
3104
  username?: Maybe<Scalars['String']['output']>;
2398
3105
  }
2399
3106
 
2400
3107
 
3108
+ /** Represents a user */
3109
+ export interface UserIdentitiesArgs {
3110
+ after?: InputMaybe<Scalars['String']['input']>;
3111
+ before?: InputMaybe<Scalars['String']['input']>;
3112
+ first?: InputMaybe<Scalars['Int']['input']>;
3113
+ last?: InputMaybe<Scalars['Int']['input']>;
3114
+ }
3115
+
3116
+
2401
3117
  /** Represents a user */
2402
3118
  export interface UserNamespaceMembershipsArgs {
2403
3119
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2406,6 +3122,15 @@ export interface UserNamespaceMembershipsArgs {
2406
3122
  last?: InputMaybe<Scalars['Int']['input']>;
2407
3123
  }
2408
3124
 
3125
+
3126
+ /** Represents a user */
3127
+ export interface UserSessionsArgs {
3128
+ after?: InputMaybe<Scalars['String']['input']>;
3129
+ before?: InputMaybe<Scalars['String']['input']>;
3130
+ first?: InputMaybe<Scalars['Int']['input']>;
3131
+ last?: InputMaybe<Scalars['Int']['input']>;
3132
+ }
3133
+
2409
3134
  /** The connection type for User. */
2410
3135
  export interface UserConnection {
2411
3136
  __typename?: 'UserConnection';
@@ -2445,6 +3170,28 @@ export interface UserIdentity {
2445
3170
  user?: Maybe<User>;
2446
3171
  }
2447
3172
 
3173
+ /** The connection type for UserIdentity. */
3174
+ export interface UserIdentityConnection {
3175
+ __typename?: 'UserIdentityConnection';
3176
+ /** Total count of collection. */
3177
+ count?: Maybe<Scalars['Int']['output']>;
3178
+ /** A list of edges. */
3179
+ edges?: Maybe<Array<Maybe<UserIdentityEdge>>>;
3180
+ /** A list of nodes. */
3181
+ nodes?: Maybe<Array<Maybe<UserIdentity>>>;
3182
+ /** Information to aid in pagination. */
3183
+ pageInfo?: Maybe<PageInfo>;
3184
+ }
3185
+
3186
+ /** An edge in a connection. */
3187
+ export interface UserIdentityEdge {
3188
+ __typename?: 'UserIdentityEdge';
3189
+ /** A cursor for use in pagination. */
3190
+ cursor?: Maybe<Scalars['String']['output']>;
3191
+ /** The item at the end of the edge. */
3192
+ node?: Maybe<UserIdentity>;
3193
+ }
3194
+
2448
3195
  /** Represents a user session */
2449
3196
  export interface UserSession {
2450
3197
  __typename?: 'UserSession';
@@ -2460,6 +3207,96 @@ export interface UserSession {
2460
3207
  updatedAt?: Maybe<Scalars['Time']['output']>;
2461
3208
  /** User that belongs to the session */
2462
3209
  user?: Maybe<User>;
3210
+ /** Abilities for the current user on this UserSession */
3211
+ userAbilities?: Maybe<UserSessionUserAbilities>;
3212
+ }
3213
+
3214
+ /** The connection type for UserSession. */
3215
+ export interface UserSessionConnection {
3216
+ __typename?: 'UserSessionConnection';
3217
+ /** Total count of collection. */
3218
+ count?: Maybe<Scalars['Int']['output']>;
3219
+ /** A list of edges. */
3220
+ edges?: Maybe<Array<Maybe<UserSessionEdge>>>;
3221
+ /** A list of nodes. */
3222
+ nodes?: Maybe<Array<Maybe<UserSession>>>;
3223
+ /** Information to aid in pagination. */
3224
+ pageInfo?: Maybe<PageInfo>;
3225
+ }
3226
+
3227
+ /** An edge in a connection. */
3228
+ export interface UserSessionEdge {
3229
+ __typename?: 'UserSessionEdge';
3230
+ /** A cursor for use in pagination. */
3231
+ cursor?: Maybe<Scalars['String']['output']>;
3232
+ /** The item at the end of the edge. */
3233
+ node?: Maybe<UserSession>;
3234
+ }
3235
+
3236
+ /** Abilities for the current user on this UserSession */
3237
+ export interface UserSessionUserAbilities {
3238
+ __typename?: 'UserSessionUserAbilities';
3239
+ /** Shows if the current user has the `logout_session` ability on this UserSession */
3240
+ logoutSession?: Maybe<Scalars['Boolean']['output']>;
3241
+ }
3242
+
3243
+ /** Abilities for the current user on this User */
3244
+ export interface UserUserAbilities {
3245
+ __typename?: 'UserUserAbilities';
3246
+ /** Shows if the current user has the `manage_mfa` ability on this User */
3247
+ manageMfa?: Maybe<Scalars['Boolean']['output']>;
3248
+ /** Shows if the current user has the `update_user` ability on this User */
3249
+ updateUser?: Maybe<Scalars['Boolean']['output']>;
3250
+ }
3251
+
3252
+ /** Autogenerated input type of UsersCreate */
3253
+ export interface UsersCreateInput {
3254
+ /** Admin status for the user. */
3255
+ admin?: InputMaybe<Scalars['Boolean']['input']>;
3256
+ /** A unique identifier for the client performing the mutation. */
3257
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3258
+ /** Email for the user. */
3259
+ email: Scalars['String']['input'];
3260
+ /** Firstname for the user. */
3261
+ firstname?: InputMaybe<Scalars['String']['input']>;
3262
+ /** Lastname for the user. */
3263
+ lastname?: InputMaybe<Scalars['String']['input']>;
3264
+ /** Password for the user. */
3265
+ password: Scalars['String']['input'];
3266
+ /** Password repeat for the user to check for typos. */
3267
+ passwordRepeat: Scalars['String']['input'];
3268
+ /** Username for the user. */
3269
+ username: Scalars['String']['input'];
3270
+ }
3271
+
3272
+ /** Autogenerated return type of UsersCreate. */
3273
+ export interface UsersCreatePayload {
3274
+ __typename?: 'UsersCreatePayload';
3275
+ /** A unique identifier for the client performing the mutation. */
3276
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3277
+ /** Errors encountered during execution of the mutation. */
3278
+ errors?: Maybe<Array<Error>>;
3279
+ /** The created user. */
3280
+ user?: Maybe<User>;
3281
+ }
3282
+
3283
+ /** Autogenerated input type of UsersDelete */
3284
+ export interface UsersDeleteInput {
3285
+ /** A unique identifier for the client performing the mutation. */
3286
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3287
+ /** The user to delete. */
3288
+ userId: Scalars['UserID']['input'];
3289
+ }
3290
+
3291
+ /** Autogenerated return type of UsersDelete. */
3292
+ export interface UsersDeletePayload {
3293
+ __typename?: 'UsersDeletePayload';
3294
+ /** A unique identifier for the client performing the mutation. */
3295
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3296
+ /** Errors encountered during execution of the mutation. */
3297
+ errors?: Maybe<Array<Error>>;
3298
+ /** The deleted user. */
3299
+ user?: Maybe<User>;
2463
3300
  }
2464
3301
 
2465
3302
  /** Autogenerated input type of UsersEmailVerification */
@@ -2665,6 +3502,48 @@ export interface UsersMfaTotpValidateSecretPayload {
2665
3502
  user?: Maybe<User>;
2666
3503
  }
2667
3504
 
3505
+ /** Autogenerated input type of UsersPasswordReset */
3506
+ export interface UsersPasswordResetInput {
3507
+ /** A unique identifier for the client performing the mutation. */
3508
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3509
+ /** The new password to set for the user */
3510
+ newPassword: Scalars['String']['input'];
3511
+ /** The confirmation of the new password to set for the user needs to be the same as the new password */
3512
+ newPasswordConfirmation: Scalars['String']['input'];
3513
+ /** The password reset token sent to the user email */
3514
+ resetToken: Scalars['String']['input'];
3515
+ }
3516
+
3517
+ /** Autogenerated return type of UsersPasswordReset. */
3518
+ export interface UsersPasswordResetPayload {
3519
+ __typename?: 'UsersPasswordResetPayload';
3520
+ /** A unique identifier for the client performing the mutation. */
3521
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3522
+ /** Errors encountered during execution of the mutation. */
3523
+ errors?: Maybe<Array<Error>>;
3524
+ /** A message indicating the result of the password reset request */
3525
+ message?: Maybe<Scalars['String']['output']>;
3526
+ }
3527
+
3528
+ /** Autogenerated input type of UsersPasswordResetRequest */
3529
+ export interface UsersPasswordResetRequestInput {
3530
+ /** A unique identifier for the client performing the mutation. */
3531
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3532
+ /** Email of the user to reset the password */
3533
+ email: Scalars['String']['input'];
3534
+ }
3535
+
3536
+ /** Autogenerated return type of UsersPasswordResetRequest. */
3537
+ export interface UsersPasswordResetRequestPayload {
3538
+ __typename?: 'UsersPasswordResetRequestPayload';
3539
+ /** A unique identifier for the client performing the mutation. */
3540
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3541
+ /** Errors encountered during execution of the mutation. */
3542
+ errors?: Maybe<Array<Error>>;
3543
+ /** A message indicating the result of the password reset request */
3544
+ message?: Maybe<Scalars['String']['output']>;
3545
+ }
3546
+
2668
3547
  /** Autogenerated input type of UsersRegister */
2669
3548
  export interface UsersRegisterInput {
2670
3549
  /** A unique identifier for the client performing the mutation. */