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

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 +1126 -189
  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,37 @@ 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
+ /** The data type identifiers that are referenced in this data type and its rules */
161
+ dataTypeIdentifiers?: Maybe<DataTypeIdentifierConnection>;
162
+ /** Display message of the function */
163
+ displayMessages?: Maybe<Array<Translation>>;
96
164
  /** Generic keys of the datatype */
97
165
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
98
166
  /** Global ID of this DataType */
@@ -100,13 +168,11 @@ export interface DataType {
100
168
  /** The identifier scoped to the namespace */
101
169
  identifier?: Maybe<Scalars['String']['output']>;
102
170
  /** 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>;
171
+ name?: Maybe<Array<Translation>>;
108
172
  /** Rules of the datatype */
109
173
  rules?: Maybe<DataTypeRuleConnection>;
174
+ /** The runtime where this datatype belongs to */
175
+ runtime?: Maybe<Runtime>;
110
176
  /** Time when this DataType was last updated */
111
177
  updatedAt?: Maybe<Scalars['Time']['output']>;
112
178
  /** The type of the datatype */
@@ -115,7 +181,7 @@ export interface DataType {
115
181
 
116
182
 
117
183
  /** Represents a DataType */
118
- export interface DataTypeNameArgs {
184
+ export interface DataTypeDataTypeIdentifiersArgs {
119
185
  after?: InputMaybe<Scalars['String']['input']>;
120
186
  before?: InputMaybe<Scalars['String']['input']>;
121
187
  first?: InputMaybe<Scalars['Int']['input']>;
@@ -170,6 +236,28 @@ export interface DataTypeIdentifier {
170
236
  updatedAt?: Maybe<Scalars['Time']['output']>;
171
237
  }
172
238
 
239
+ /** The connection type for DataTypeIdentifier. */
240
+ export interface DataTypeIdentifierConnection {
241
+ __typename?: 'DataTypeIdentifierConnection';
242
+ /** Total count of collection. */
243
+ count?: Maybe<Scalars['Int']['output']>;
244
+ /** A list of edges. */
245
+ edges?: Maybe<Array<Maybe<DataTypeIdentifierEdge>>>;
246
+ /** A list of nodes. */
247
+ nodes?: Maybe<Array<Maybe<DataTypeIdentifier>>>;
248
+ /** Information to aid in pagination. */
249
+ pageInfo?: Maybe<PageInfo>;
250
+ }
251
+
252
+ /** An edge in a connection. */
253
+ export interface DataTypeIdentifierEdge {
254
+ __typename?: 'DataTypeIdentifierEdge';
255
+ /** A cursor for use in pagination. */
256
+ cursor?: Maybe<Scalars['String']['output']>;
257
+ /** The item at the end of the edge. */
258
+ node?: Maybe<DataTypeIdentifier>;
259
+ }
260
+
173
261
  /** Input type for data type identifier */
174
262
  export interface DataTypeIdentifierInput {
175
263
  /** Data type ID */
@@ -223,8 +311,10 @@ export type DataTypeRulesConfig = DataTypeRulesContainsKeyConfig | DataTypeRules
223
311
  /** Represents a rule that can be applied to a data type. */
224
312
  export interface DataTypeRulesContainsKeyConfig {
225
313
  __typename?: 'DataTypeRulesContainsKeyConfig';
226
- /** The identifier of the data type this rule belongs to */
314
+ /** types-only field */
227
315
  dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
316
+ /** ID of the identifier of the data type this rule belongs to */
317
+ dataTypeIdentifierId?: Maybe<Scalars['DataTypeIdentifierID']['output']>;
228
318
  /** The key of the rule */
229
319
  key?: Maybe<Scalars['String']['output']>;
230
320
  }
@@ -232,17 +322,21 @@ export interface DataTypeRulesContainsKeyConfig {
232
322
  /** Represents a rule that can be applied to a data type. */
233
323
  export interface DataTypeRulesContainsTypeConfig {
234
324
  __typename?: 'DataTypeRulesContainsTypeConfig';
235
- /** The identifier of the data type this rule belongs to */
325
+ /** types-only field */
236
326
  dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
327
+ /** ID of the identifier of the data type this rule belongs to */
328
+ dataTypeIdentifierId?: Maybe<Scalars['DataTypeIdentifierID']['output']>;
237
329
  }
238
330
 
239
331
  /** Represents a subtype of input type configuration for a input data type. */
240
332
  export interface DataTypeRulesInputTypeConfig {
241
333
  __typename?: 'DataTypeRulesInputTypeConfig';
242
- /** The identifier of the data type this input type belongs to */
334
+ /** types-only field */
243
335
  dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
244
- /** The input data type that this configuration applies to */
245
- inputType?: Maybe<DataType>;
336
+ /** ID of the identifier of the data type this input type belongs to */
337
+ dataTypeIdentifierId?: Maybe<Scalars['DataTypeIdentifierID']['output']>;
338
+ /** The input identifier that this configuration applies to */
339
+ inputIdentifier?: Maybe<Scalars['String']['output']>;
246
340
  }
247
341
 
248
342
  /** Represents a rule that can be applied to a data type. */
@@ -273,8 +367,10 @@ export interface DataTypeRulesNumberRangeConfig {
273
367
  /** Represents a rule that can be applied to a data type. */
274
368
  export interface DataTypeRulesParentTypeConfig {
275
369
  __typename?: 'DataTypeRulesParentTypeConfig';
276
- /** The data type identifier for the parent type. */
370
+ /** types-only field */
277
371
  dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
372
+ /** ID of the data type identifier for the parent type. */
373
+ dataTypeIdentifierId?: Maybe<Scalars['DataTypeIdentifierID']['output']>;
278
374
  }
279
375
 
280
376
  /** Represents a rule that can be applied to a data type. */
@@ -287,18 +383,20 @@ export interface DataTypeRulesRegexConfig {
287
383
  /** Represents a rule that can be applied to a data type. */
288
384
  export interface DataTypeRulesReturnTypeConfig {
289
385
  __typename?: 'DataTypeRulesReturnTypeConfig';
290
- /** The data type identifier for the return type. */
386
+ /** types-only field */
291
387
  dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
388
+ /** The data type identifier for the return type. */
389
+ dataTypeIdentifierId?: Maybe<Scalars['DataTypeIdentifierID']['output']>;
292
390
  }
293
391
 
294
392
  /** The type of rule that can be applied to a data type. */
295
- export enum DataTypeRulesVariant {
393
+ export const enum DataTypeRulesVariant {
296
394
  /** The rule checks if a key is present in the data type. */
297
395
  ContainsKey = 'CONTAINS_KEY',
298
396
  /** The rule checks if a specific type is present in the data type. */
299
397
  ContainsType = 'CONTAINS_TYPE',
300
398
  /** The rule checks if the data type matches a specific input type. */
301
- InputType = 'INPUT_TYPE',
399
+ InputTypes = 'INPUT_TYPES',
302
400
  /** The rule checks if an item is part of a collection in the data type. */
303
401
  ItemOfCollection = 'ITEM_OF_COLLECTION',
304
402
  /** The rule checks if a number falls within a specified range. */
@@ -312,7 +410,7 @@ export enum DataTypeRulesVariant {
312
410
  }
313
411
 
314
412
  /** Represent all available types of a datatype */
315
- export enum DataTypeVariant {
413
+ export const enum DataTypeVariant {
316
414
  /** Represents an array */
317
415
  Array = 'ARRAY',
318
416
  /** Represents an data type containing a data type */
@@ -329,6 +427,9 @@ export enum DataTypeVariant {
329
427
  Type = 'TYPE'
330
428
  }
331
429
 
430
+ /** Represents a detailed error with either a message or an active model error */
431
+ export type DetailedError = ActiveModelError | FlowValidationError | MessageError;
432
+
332
433
  /** Autogenerated input type of Echo */
333
434
  export interface EchoInput {
334
435
  /** A unique identifier for the client performing the mutation. */
@@ -349,7 +450,181 @@ export interface EchoPayload {
349
450
  }
350
451
 
351
452
  /** Objects that can present an error */
352
- export type Error = ActiveModelError | MessageError;
453
+ export interface Error {
454
+ __typename?: 'Error';
455
+ /** Detailed validation errors if applicable */
456
+ details?: Maybe<Array<DetailedError>>;
457
+ /** The code representing the error type */
458
+ errorCode?: Maybe<ErrorCodeEnum>;
459
+ }
460
+
461
+ /** Represents the available error responses */
462
+ export const enum ErrorCodeEnum {
463
+ /** This action would remove the last administrative role */
464
+ CannotDeleteLastAdminRole = 'CANNOT_DELETE_LAST_ADMIN_ROLE',
465
+ /** Only administrators can modify admin status of users */
466
+ CannotModifyAdmin = 'CANNOT_MODIFY_ADMIN',
467
+ /** Users cannot modify their own admin status */
468
+ CannotModifyOwnAdmin = 'CANNOT_MODIFY_OWN_ADMIN',
469
+ /** This action would remove the last administrator */
470
+ CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
471
+ /** This action would remove the last administrative ability */
472
+ CannotRemoveLastAdminAbility = 'CANNOT_REMOVE_LAST_ADMIN_ABILITY',
473
+ /** The data type identifier with the given identifier was not found */
474
+ DataTypeIdentifierNotFound = 'DATA_TYPE_IDENTIFIER_NOT_FOUND',
475
+ /** The data type with the given identifier was not found */
476
+ DataTypeNotFound = 'DATA_TYPE_NOT_FOUND',
477
+ /** Failed to send the email verification */
478
+ EmailVerificationSendFailed = 'EMAIL_VERIFICATION_SEND_FAILED',
479
+ /** This external identity does not exist */
480
+ ExternalIdentityDoesNotExist = 'EXTERNAL_IDENTITY_DOES_NOT_EXIST',
481
+ /** The old backup codes could not be deleted */
482
+ FailedToInvalidateOldBackupCodes = 'FAILED_TO_INVALIDATE_OLD_BACKUP_CODES',
483
+ /** Failed to reset the user password */
484
+ FailedToResetPassword = 'FAILED_TO_RESET_PASSWORD',
485
+ /** The new backup codes could not be saved */
486
+ FailedToSaveValidBackupCode = 'FAILED_TO_SAVE_VALID_BACKUP_CODE',
487
+ /** The flow with the given identifier was not found */
488
+ FlowNotFound = 'FLOW_NOT_FOUND',
489
+ /** The flow type with the given identifier was not found */
490
+ FlowTypeNotFound = 'FLOW_TYPE_NOT_FOUND',
491
+ /** The flow validation has failed */
492
+ FlowValidationFailed = 'FLOW_VALIDATION_FAILED',
493
+ /** The id for the function value node does not exist */
494
+ FunctionValueNotFound = 'FUNCTION_VALUE_NOT_FOUND',
495
+ /** The given key was not found in the data type */
496
+ GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
497
+ /** The external identity with the given identifier was not found */
498
+ IdentityNotFound = 'IDENTITY_NOT_FOUND',
499
+ /** Failed to validate the external identity */
500
+ IdentityValidationFailed = 'IDENTITY_VALIDATION_FAILED',
501
+ /** Resources are from different namespaces */
502
+ InconsistentNamespace = 'INCONSISTENT_NAMESPACE',
503
+ /** The attachment is invalid because of active model errors */
504
+ InvalidAttachment = 'INVALID_ATTACHMENT',
505
+ /** The data type is invalid because of active model errors */
506
+ InvalidDataType = 'INVALID_DATA_TYPE',
507
+ /** This external identity is invalid */
508
+ InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
509
+ /** The flow is invalid because of active model errors */
510
+ InvalidFlow = 'INVALID_FLOW',
511
+ /** The flow setting is invalid because of active model errors */
512
+ InvalidFlowSetting = 'INVALID_FLOW_SETTING',
513
+ /** The flow type is invalid because of active model errors */
514
+ InvalidFlowType = 'INVALID_FLOW_TYPE',
515
+ /** The flow type setting is invalid because of active model errors */
516
+ InvalidFlowTypeSetting = 'INVALID_FLOW_TYPE_SETTING',
517
+ /** The generic mapper is invalid because of active model errors */
518
+ InvalidGenericMapper = 'INVALID_GENERIC_MAPPER',
519
+ /** Invalid login data provided */
520
+ InvalidLoginData = 'INVALID_LOGIN_DATA',
521
+ /** The namespace license is invalid because of active model errors */
522
+ InvalidNamespaceLicense = 'INVALID_NAMESPACE_LICENSE',
523
+ /** The namespace member is invalid because of active model errors */
524
+ InvalidNamespaceMember = 'INVALID_NAMESPACE_MEMBER',
525
+ /** The namespace project is invalid because of active model errors */
526
+ InvalidNamespaceProject = 'INVALID_NAMESPACE_PROJECT',
527
+ /** The namespace role is invalid because of active model errors */
528
+ InvalidNamespaceRole = 'INVALID_NAMESPACE_ROLE',
529
+ /** The node function is invalid */
530
+ InvalidNodeFunction = 'INVALID_NODE_FUNCTION',
531
+ /** The node parameter is invalid */
532
+ InvalidNodeParameter = 'INVALID_NODE_PARAMETER',
533
+ /** The organization is invalid because of active model errors */
534
+ InvalidOrganization = 'INVALID_ORGANIZATION',
535
+ /** The provided password repeat does not match the password */
536
+ InvalidPasswordRepeat = 'INVALID_PASSWORD_REPEAT',
537
+ /** The runtime is invalid because of active model errors */
538
+ InvalidRuntime = 'INVALID_RUNTIME',
539
+ /** The runtime function definition is invalid */
540
+ InvalidRuntimeFunctionDefinition = 'INVALID_RUNTIME_FUNCTION_DEFINITION',
541
+ /** The runtime function ID is invalid */
542
+ InvalidRuntimeFunctionId = 'INVALID_RUNTIME_FUNCTION_ID',
543
+ /** The runtime parameter definition is invalid */
544
+ InvalidRuntimeParameterDefinition = 'INVALID_RUNTIME_PARAMETER_DEFINITION',
545
+ /** The runtime parameter ID is invalid */
546
+ InvalidRuntimeParameterId = 'INVALID_RUNTIME_PARAMETER_ID',
547
+ /** Invalid setting provided */
548
+ InvalidSetting = 'INVALID_SETTING',
549
+ /** The TOTP secret is invalid or cannot be verified */
550
+ InvalidTotpSecret = 'INVALID_TOTP_SECRET',
551
+ /** The user is invalid because of active model errors */
552
+ InvalidUser = 'INVALID_USER',
553
+ /** The user identity is invalid because of active model errors */
554
+ InvalidUserIdentity = 'INVALID_USER_IDENTITY',
555
+ /** The user session is invalid because of active model errors */
556
+ InvalidUserSession = 'INVALID_USER_SESSION',
557
+ /** Invalid verification code provided */
558
+ InvalidVerificationCode = 'INVALID_VERIFICATION_CODE',
559
+ /** The namespace license with the given identifier was not found */
560
+ LicenseNotFound = 'LICENSE_NOT_FOUND',
561
+ /** Failed to load user identity from external provider */
562
+ LoadingIdentityFailed = 'LOADING_IDENTITY_FAILED',
563
+ /** Invalid MFA data provided */
564
+ MfaFailed = 'MFA_FAILED',
565
+ /** MFA is required */
566
+ MfaRequired = 'MFA_REQUIRED',
567
+ /** The primary runtime has more definitions than this one */
568
+ MissingDefinition = 'MISSING_DEFINITION',
569
+ /** This external identity is missing data */
570
+ MissingIdentityData = 'MISSING_IDENTITY_DATA',
571
+ /** Not all required parameters are present */
572
+ MissingParameter = 'MISSING_PARAMETER',
573
+ /** The user is not permitted to perform this operation */
574
+ MissingPermission = 'MISSING_PERMISSION',
575
+ /** The project is missing a primary runtime */
576
+ MissingPrimaryRuntime = 'MISSING_PRIMARY_RUNTIME',
577
+ /** The namespace member with the given identifier was not found */
578
+ NamespaceMemberNotFound = 'NAMESPACE_MEMBER_NOT_FOUND',
579
+ /** The namespace with the given identifier was not found */
580
+ NamespaceNotFound = 'NAMESPACE_NOT_FOUND',
581
+ /** The namespace project with the given identifier was not found */
582
+ NamespaceProjectNotFound = 'NAMESPACE_PROJECT_NOT_FOUND',
583
+ /** The namespace role with the given identifier was not found */
584
+ NamespaceRoleNotFound = 'NAMESPACE_ROLE_NOT_FOUND',
585
+ /** The node with this id does not exist */
586
+ NodeNotFound = 'NODE_NOT_FOUND',
587
+ /** No data type identifier could be found for the given generic key */
588
+ NoDatatypeIdentifierForGenericKey = 'NO_DATATYPE_IDENTIFIER_FOR_GENERIC_KEY',
589
+ /** No data type could be found for the given identifier */
590
+ NoDataTypeForIdentifier = 'NO_DATA_TYPE_FOR_IDENTIFIER',
591
+ /** There are no free license seats to complete this operation */
592
+ NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
593
+ /** No generic type could be found for the given identifier */
594
+ NoGenericTypeForIdentifier = 'NO_GENERIC_TYPE_FOR_IDENTIFIER',
595
+ /** The project does not have a primary runtime */
596
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
597
+ /** The organization with the given identifier was not found */
598
+ OrganizationNotFound = 'ORGANIZATION_NOT_FOUND',
599
+ /** The primary runtime has a newer definition than this one */
600
+ OutdatedDefinition = 'OUTDATED_DEFINITION',
601
+ /** @deprecated Outdated concept */
602
+ PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
603
+ /** The namespace project with the given identifier was not found */
604
+ ProjectNotFound = 'PROJECT_NOT_FOUND',
605
+ /** A referenced value could not be found */
606
+ ReferencedValueNotFound = 'REFERENCED_VALUE_NOT_FOUND',
607
+ /** Self-registration is disabled */
608
+ RegistrationDisabled = 'REGISTRATION_DISABLED',
609
+ /** Resources are from different runtimes */
610
+ RuntimeMismatch = 'RUNTIME_MISMATCH',
611
+ /** The runtime with the given identifier was not found */
612
+ RuntimeNotFound = 'RUNTIME_NOT_FOUND',
613
+ /** @deprecated Outdated concept */
614
+ SecondaryLevelNotFound = 'SECONDARY_LEVEL_NOT_FOUND',
615
+ /** @deprecated Outdated concept */
616
+ TertiaryLevelExceedsParameters = 'TERTIARY_LEVEL_EXCEEDS_PARAMETERS',
617
+ /** This user already has TOTP set up */
618
+ TotpSecretAlreadySet = 'TOTP_SECRET_ALREADY_SET',
619
+ /** The user is not permitted to modify this field */
620
+ UnmodifiableField = 'UNMODIFIABLE_FIELD',
621
+ /** The user with the given identifier was not found */
622
+ UserNotFound = 'USER_NOT_FOUND',
623
+ /** The user session with the given identifier was not found */
624
+ UserSessionNotFound = 'USER_SESSION_NOT_FOUND',
625
+ /** Invalid TOTP code provided */
626
+ WrongTotp = 'WRONG_TOTP'
627
+ }
353
628
 
354
629
  /** Represents a flow */
355
630
  export interface Flow {
@@ -360,18 +635,24 @@ export interface Flow {
360
635
  id?: Maybe<Scalars['FlowID']['output']>;
361
636
  /** The input data type of the flow */
362
637
  inputType?: Maybe<DataType>;
638
+ /** Name of the flow */
639
+ name?: Maybe<Scalars['String']['output']>;
363
640
  /** Nodes of the flow */
364
641
  nodes?: Maybe<NodeFunctionConnection>;
642
+ /** The project the flow belongs to */
643
+ project?: Maybe<NamespaceProject>;
365
644
  /** The return data type of the flow */
366
645
  returnType?: Maybe<DataType>;
367
646
  /** The settings of the flow */
368
- settings?: Maybe<Array<FlowSetting>>;
647
+ settings?: Maybe<FlowSettingConnection>;
369
648
  /** The ID of the starting node of the flow */
370
649
  startingNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
371
650
  /** The flow type of the flow */
372
651
  type?: Maybe<FlowType>;
373
652
  /** Time when this Flow was last updated */
374
653
  updatedAt?: Maybe<Scalars['Time']['output']>;
654
+ /** Abilities for the current user on this Flow */
655
+ userAbilities?: Maybe<FlowUserAbilities>;
375
656
  }
376
657
 
377
658
 
@@ -383,6 +664,15 @@ export interface FlowNodesArgs {
383
664
  last?: InputMaybe<Scalars['Int']['input']>;
384
665
  }
385
666
 
667
+
668
+ /** Represents a flow */
669
+ export interface FlowSettingsArgs {
670
+ after?: InputMaybe<Scalars['String']['input']>;
671
+ before?: InputMaybe<Scalars['String']['input']>;
672
+ first?: InputMaybe<Scalars['Int']['input']>;
673
+ last?: InputMaybe<Scalars['Int']['input']>;
674
+ }
675
+
386
676
  /** The connection type for Flow. */
387
677
  export interface FlowConnection {
388
678
  __typename?: 'FlowConnection';
@@ -407,10 +697,14 @@ export interface FlowEdge {
407
697
 
408
698
  /** Input type for creating or updating a flow */
409
699
  export interface FlowInput {
700
+ /** The name of the flow */
701
+ name: Scalars['String']['input'];
702
+ /** The node functions of the flow */
703
+ nodes: Array<NodeFunctionInput>;
410
704
  /** The settings of the flow */
411
705
  settings?: InputMaybe<Array<FlowSettingInput>>;
412
706
  /** The starting node of the flow */
413
- startingNode: NodeFunctionInput;
707
+ startingNodeId: Scalars['NodeFunctionID']['input'];
414
708
  /** The identifier of the flow type */
415
709
  type: Scalars['FlowTypeID']['input'];
416
710
  }
@@ -421,7 +715,7 @@ export interface FlowSetting {
421
715
  /** Time when this FlowSetting was created */
422
716
  createdAt?: Maybe<Scalars['Time']['output']>;
423
717
  /** The identifier of the flow setting */
424
- flowSettingId?: Maybe<Scalars['String']['output']>;
718
+ flowSettingIdentifier?: Maybe<Scalars['String']['output']>;
425
719
  /** Global ID of this FlowSetting */
426
720
  id?: Maybe<Scalars['FlowSettingID']['output']>;
427
721
  /** Time when this FlowSetting was last updated */
@@ -430,57 +724,67 @@ export interface FlowSetting {
430
724
  value?: Maybe<Scalars['JSON']['output']>;
431
725
  }
432
726
 
727
+ /** The connection type for FlowSetting. */
728
+ export interface FlowSettingConnection {
729
+ __typename?: 'FlowSettingConnection';
730
+ /** Total count of collection. */
731
+ count?: Maybe<Scalars['Int']['output']>;
732
+ /** A list of edges. */
733
+ edges?: Maybe<Array<Maybe<FlowSettingEdge>>>;
734
+ /** A list of nodes. */
735
+ nodes?: Maybe<Array<Maybe<FlowSetting>>>;
736
+ /** Information to aid in pagination. */
737
+ pageInfo?: Maybe<PageInfo>;
738
+ }
739
+
740
+ /** An edge in a connection. */
741
+ export interface FlowSettingEdge {
742
+ __typename?: 'FlowSettingEdge';
743
+ /** A cursor for use in pagination. */
744
+ cursor?: Maybe<Scalars['String']['output']>;
745
+ /** The item at the end of the edge. */
746
+ node?: Maybe<FlowSetting>;
747
+ }
748
+
433
749
  /** Input type for flow settings */
434
750
  export interface FlowSettingInput {
435
751
  /** The identifier (not database id) of the flow setting */
436
- flowSettingId: Scalars['String']['input'];
752
+ flowSettingIdentifier: Scalars['String']['input'];
437
753
  /** The value of the flow setting */
438
- object: Scalars['JSON']['input'];
754
+ value: Scalars['JSON']['input'];
439
755
  }
440
756
 
441
757
  /** Represents a flow type */
442
758
  export interface FlowType {
443
759
  __typename?: 'FlowType';
760
+ /** Name of the function */
761
+ aliases?: Maybe<Array<Translation>>;
444
762
  /** Time when this FlowType was created */
445
763
  createdAt?: Maybe<Scalars['Time']['output']>;
446
764
  /** Descriptions of the flow type */
447
- descriptions?: Maybe<TranslationConnection>;
765
+ descriptions?: Maybe<Array<Translation>>;
766
+ /** Display message of the function */
767
+ displayMessages?: Maybe<Array<Translation>>;
448
768
  /** Editable status of the flow type */
449
769
  editable?: Maybe<Scalars['Boolean']['output']>;
450
770
  /** Flow type settings of the flow type */
451
771
  flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
452
772
  /** Global ID of this FlowType */
453
- id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
773
+ id?: Maybe<Scalars['FlowTypeID']['output']>;
454
774
  /** Identifier of the flow type */
455
775
  identifier?: Maybe<Scalars['String']['output']>;
456
776
  /** Input type of the flow type */
457
777
  inputType?: Maybe<DataType>;
458
778
  /** Names of the flow type */
459
- names?: Maybe<TranslationConnection>;
779
+ names?: Maybe<Array<Translation>>;
460
780
  /** Return type of the flow type */
461
781
  returnType?: Maybe<DataType>;
782
+ /** Runtime of the flow type */
783
+ runtime?: Maybe<Runtime>;
462
784
  /** Time when this FlowType was last updated */
463
785
  updatedAt?: Maybe<Scalars['Time']['output']>;
464
786
  }
465
787
 
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
788
  /** The connection type for FlowType. */
485
789
  export interface FlowTypeConnection {
486
790
  __typename?: 'FlowTypeConnection';
@@ -511,7 +815,7 @@ export interface FlowTypeSetting {
511
815
  /** Data type of the flow type setting */
512
816
  dataType?: Maybe<DataType>;
513
817
  /** Descriptions of the flow type setting */
514
- descriptions?: Maybe<TranslationConnection>;
818
+ descriptions?: Maybe<Array<Translation>>;
515
819
  /** Flow type of the flow type setting */
516
820
  flowType?: Maybe<FlowType>;
517
821
  /** Global ID of this FlowTypeSetting */
@@ -519,48 +823,88 @@ export interface FlowTypeSetting {
519
823
  /** Identifier of the flow type setting */
520
824
  identifier?: Maybe<Scalars['String']['output']>;
521
825
  /** Names of the flow type setting */
522
- names?: Maybe<TranslationConnection>;
826
+ names?: Maybe<Array<Translation>>;
523
827
  /** Unique status of the flow type setting */
524
828
  unique?: Maybe<Scalars['Boolean']['output']>;
525
829
  /** Time when this FlowTypeSetting was last updated */
526
830
  updatedAt?: Maybe<Scalars['Time']['output']>;
527
831
  }
528
832
 
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']>;
833
+ /** Abilities for the current user on this Flow */
834
+ export interface FlowUserAbilities {
835
+ __typename?: 'FlowUserAbilities';
836
+ /** Shows if the current user has the `delete_flow` ability on this Flow */
837
+ deleteFlow?: Maybe<Scalars['Boolean']['output']>;
838
+ }
839
+
840
+ /** Represents a flow validation error */
841
+ export interface FlowValidationError {
842
+ __typename?: 'FlowValidationError';
843
+ /** Additional details about the validation error */
844
+ details?: Maybe<ActiveModelError>;
845
+ /** The code representing the validation error type */
846
+ errorCode?: Maybe<FlowValidationErrorCodeEnum>;
847
+ /** The severity of the validation error */
848
+ severity?: Maybe<FlowValidationSeverityEnum>;
849
+ }
850
+
851
+ /** Represents the available error responses */
852
+ export const enum FlowValidationErrorCodeEnum {
853
+ /** The generic key for the data type identifier was not found. */
854
+ DataTypeIdentifierGenericKeyNotFound = 'DATA_TYPE_IDENTIFIER_GENERIC_KEY_NOT_FOUND',
855
+ /** The data type identifier runtime does not match the flow type runtime. */
856
+ DataTypeIdentifierRuntimeMismatch = 'DATA_TYPE_IDENTIFIER_RUNTIME_MISMATCH',
857
+ /** The data type rule model is invalid. */
858
+ DataTypeRuleModelInvalid = 'DATA_TYPE_RULE_MODEL_INVALID',
859
+ /** The data type runtime does not match the flow type runtime. */
860
+ DataTypeRuntimeMismatch = 'DATA_TYPE_RUNTIME_MISMATCH',
861
+ /** The flow setting model is invalid. */
862
+ FlowSettingModelInvalid = 'FLOW_SETTING_MODEL_INVALID',
863
+ /** The flow type runtime does not match the project primary runtime. */
864
+ FlowTypeRuntimeMismatch = 'FLOW_TYPE_RUNTIME_MISMATCH',
865
+ /** The node function runtime does not match the project primary runtime. */
866
+ NodeFunctionRuntimeMismatch = 'NODE_FUNCTION_RUNTIME_MISMATCH',
867
+ /** The project does not have a primary runtime set. */
868
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME'
869
+ }
870
+
871
+ /** Represents the severity of a flow validation error */
872
+ export const enum FlowValidationSeverityEnum {
873
+ /** A blocking validation error */
874
+ Error = 'ERROR',
875
+ /** A minor typographical issue can also be blocking */
876
+ Typo = 'TYPO',
877
+ /** A non-blocking validation warning */
878
+ Warning = 'WARNING',
879
+ /** A weak validation issue that may not need to be addressed */
880
+ Weak = 'WEAK'
545
881
  }
546
882
 
547
883
  /** Represents a function definition */
548
884
  export interface FunctionDefinition {
549
885
  __typename?: 'FunctionDefinition';
886
+ /** Name of the function */
887
+ aliases?: Maybe<Array<Translation>>;
550
888
  /** Time when this FunctionDefinition was created */
551
889
  createdAt?: Maybe<Scalars['Time']['output']>;
890
+ /** All data type identifiers used within this Node Function */
891
+ dataTypeIdentifiers?: Maybe<DataTypeIdentifierConnection>;
552
892
  /** Deprecation message of the function */
553
- deprecationMessages?: Maybe<TranslationConnection>;
893
+ deprecationMessages?: Maybe<Array<Translation>>;
554
894
  /** Description of the function */
555
- descriptions?: Maybe<TranslationConnection>;
895
+ descriptions?: Maybe<Array<Translation>>;
896
+ /** Display message of the function */
897
+ displayMessages?: Maybe<Array<Translation>>;
556
898
  /** Documentation of the function */
557
- documentations?: Maybe<TranslationConnection>;
899
+ documentations?: Maybe<Array<Translation>>;
558
900
  /** Generic keys of the function */
559
901
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
560
902
  /** Global ID of this FunctionDefinition */
561
903
  id?: Maybe<Scalars['FunctionDefinitionID']['output']>;
904
+ /** Identifier of the function */
905
+ identifier?: Maybe<Scalars['String']['output']>;
562
906
  /** Name of the function */
563
- names?: Maybe<TranslationConnection>;
907
+ names?: Maybe<Array<Translation>>;
564
908
  /** Parameters of the function */
565
909
  parameterDefinitions?: Maybe<ParameterDefinitionConnection>;
566
910
  /** Return type of the function */
@@ -575,34 +919,7 @@ export interface FunctionDefinition {
575
919
 
576
920
 
577
921
  /** 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 {
922
+ export interface FunctionDefinitionDataTypeIdentifiersArgs {
606
923
  after?: InputMaybe<Scalars['String']['input']>;
607
924
  before?: InputMaybe<Scalars['String']['input']>;
608
925
  first?: InputMaybe<Scalars['Int']['input']>;
@@ -656,7 +973,7 @@ export interface GenericCombinationStrategy {
656
973
  }
657
974
 
658
975
  /** The available combination strategy types. */
659
- export enum GenericCombinationStrategyType {
976
+ export const enum GenericCombinationStrategyType {
660
977
  /** Represents a logical AND combination. */
661
978
  And = 'AND',
662
979
  /** Represents a logical OR combination. */
@@ -673,7 +990,9 @@ export interface GenericMapper {
673
990
  /** Global ID of this GenericMapper */
674
991
  id?: Maybe<Scalars['GenericMapperID']['output']>;
675
992
  /** The source data type identifier. */
676
- sources?: Maybe<Array<DataTypeIdentifier>>;
993
+ sourceDataTypeIdentifierIds?: Maybe<Array<Scalars['DataTypeIdentifierID']['output']>>;
994
+ /** types-only field */
995
+ sourceDataTypeIdentifiers?: Maybe<Array<DataTypeIdentifier>>;
677
996
  /** The target key for the generic value. */
678
997
  target?: Maybe<Scalars['String']['output']>;
679
998
  /** Time when this GenericMapper was last updated */
@@ -683,7 +1002,7 @@ export interface GenericMapper {
683
1002
  /** Input type for generic mappers */
684
1003
  export interface GenericMapperInput {
685
1004
  /** The source data type identifier for the mapper */
686
- sources: Array<DataTypeIdentifierInput>;
1005
+ sourceDataTypeIdentifiers: Array<DataTypeIdentifierInput>;
687
1006
  /** The target data type identifier for the mapper */
688
1007
  target: Scalars['String']['input'];
689
1008
  }
@@ -717,6 +1036,94 @@ export interface IdentityInput {
717
1036
  code?: InputMaybe<Scalars['String']['input']>;
718
1037
  }
719
1038
 
1039
+ /** Represents an identity provider configuration. */
1040
+ export interface IdentityProvider {
1041
+ __typename?: 'IdentityProvider';
1042
+ /** Configuration details of the identity provider. */
1043
+ config?: Maybe<IdentityProviderConfig>;
1044
+ /** Unique identifier of the identity provider. */
1045
+ id?: Maybe<Scalars['String']['output']>;
1046
+ /** Type of the identity provider. */
1047
+ type?: Maybe<IdentityProviderType>;
1048
+ }
1049
+
1050
+ /** Represents the configuration of an identity provider. */
1051
+ export type IdentityProviderConfig = OidcIdentityProviderConfig | SamlIdentityProviderConfig;
1052
+
1053
+ /** Input for identity provider configuration. Contains fields for both OIDC and SAML. */
1054
+ export interface IdentityProviderConfigInput {
1055
+ /** List of attribute statements for the identity provider */
1056
+ attributeStatements?: InputMaybe<Scalars['JSON']['input']>;
1057
+ /** The authorization URL for the OIDC identity provider */
1058
+ authorizationUrl?: InputMaybe<Scalars['String']['input']>;
1059
+ /** The client ID for the OIDC identity provider */
1060
+ clientId?: InputMaybe<Scalars['String']['input']>;
1061
+ /** The client secret for the OIDC identity provider */
1062
+ clientSecret?: InputMaybe<Scalars['String']['input']>;
1063
+ /** Optional metadata URL to fetch metadata (alternative to settings) */
1064
+ metadataUrl?: InputMaybe<Scalars['String']['input']>;
1065
+ /** The name of the identity provider */
1066
+ providerName?: InputMaybe<Scalars['String']['input']>;
1067
+ /** The redirect URI for the OIDC identity provider */
1068
+ redirectUri?: InputMaybe<Scalars['String']['input']>;
1069
+ /** The SAML response settings for the identity provider */
1070
+ responseSettings?: InputMaybe<Scalars['JSON']['input']>;
1071
+ /** The SAML settings for the identity provider */
1072
+ settings?: InputMaybe<Scalars['JSON']['input']>;
1073
+ /** The user details URL for the OIDC identity provider */
1074
+ userDetailsUrl?: InputMaybe<Scalars['String']['input']>;
1075
+ }
1076
+
1077
+ /** The connection type for IdentityProvider. */
1078
+ export interface IdentityProviderConnection {
1079
+ __typename?: 'IdentityProviderConnection';
1080
+ /** Total count of collection. */
1081
+ count?: Maybe<Scalars['Int']['output']>;
1082
+ /** A list of edges. */
1083
+ edges?: Maybe<Array<Maybe<IdentityProviderEdge>>>;
1084
+ /** A list of nodes. */
1085
+ nodes?: Maybe<Array<Maybe<IdentityProvider>>>;
1086
+ /** Information to aid in pagination. */
1087
+ pageInfo?: Maybe<PageInfo>;
1088
+ }
1089
+
1090
+ /** An edge in a connection. */
1091
+ export interface IdentityProviderEdge {
1092
+ __typename?: 'IdentityProviderEdge';
1093
+ /** A cursor for use in pagination. */
1094
+ cursor?: Maybe<Scalars['String']['output']>;
1095
+ /** The item at the end of the edge. */
1096
+ node?: Maybe<IdentityProvider>;
1097
+ }
1098
+
1099
+ /** Input for creating or updating an identity provider */
1100
+ export interface IdentityProviderInput {
1101
+ /** Configuration for the identity provider */
1102
+ config: IdentityProviderConfigInput;
1103
+ /** Unique identifier of the identity provider */
1104
+ id: Scalars['String']['input'];
1105
+ /** Type of the identity provider */
1106
+ type: IdentityProviderType;
1107
+ }
1108
+
1109
+ /** The available identity provider types. */
1110
+ export const enum IdentityProviderType {
1111
+ /** Identity provider of type discord */
1112
+ Discord = 'DISCORD',
1113
+ /** Identity provider of type github */
1114
+ Github = 'GITHUB',
1115
+ /** Identity provider of type gitlab */
1116
+ Gitlab = 'GITLAB',
1117
+ /** Identity provider of type google */
1118
+ Google = 'GOOGLE',
1119
+ /** Identity provider of type microsoft */
1120
+ Microsoft = 'MICROSOFT',
1121
+ /** Identity provider of type oidc */
1122
+ Oidc = 'OIDC',
1123
+ /** Identity provider of type saml */
1124
+ Saml = 'SAML'
1125
+ }
1126
+
720
1127
  /** Represents a literal value, such as a string or number. */
721
1128
  export interface LiteralValue {
722
1129
  __typename?: 'LiteralValue';
@@ -735,6 +1142,15 @@ export interface MessageError {
735
1142
  message?: Maybe<Scalars['String']['output']>;
736
1143
  }
737
1144
 
1145
+ /** Application metadata */
1146
+ export interface Metadata {
1147
+ __typename?: 'Metadata';
1148
+ /** List of loaded extensions */
1149
+ extensions?: Maybe<Array<Scalars['String']['output']>>;
1150
+ /** Application version */
1151
+ version?: Maybe<Scalars['String']['output']>;
1152
+ }
1153
+
738
1154
  /** Represents the input for mfa authentication */
739
1155
  export interface MfaInput {
740
1156
  /** The type of the mfa authentication */
@@ -743,8 +1159,19 @@ export interface MfaInput {
743
1159
  value: Scalars['String']['input'];
744
1160
  }
745
1161
 
1162
+ /** Represents the MFA status of a user */
1163
+ export interface MfaStatus {
1164
+ __typename?: 'MfaStatus';
1165
+ /** The number of backup codes remaining for the user. */
1166
+ backupCodesCount?: Maybe<Scalars['Int']['output']>;
1167
+ /** Indicates whether MFA is enabled for the user. */
1168
+ enabled?: Maybe<Scalars['Boolean']['output']>;
1169
+ /** Indicates whether TOTP MFA is enabled for the user. */
1170
+ totpEnabled?: Maybe<Scalars['Boolean']['output']>;
1171
+ }
1172
+
746
1173
  /** Represent all available types to authenticate with mfa */
747
- export enum MfaType {
1174
+ export const enum MfaType {
748
1175
  /** Single use backup code */
749
1176
  BackupCode = 'BACKUP_CODE',
750
1177
  /** Time based onetime password */
@@ -764,9 +1191,9 @@ export interface Mutation {
764
1191
  *
765
1192
  */
766
1193
  echo?: Maybe<EchoPayload>;
767
- /** Create a new namespace license. */
1194
+ /** (EE only) Create a new namespace license. */
768
1195
  namespacesLicensesCreate?: Maybe<NamespacesLicensesCreatePayload>;
769
- /** Deletes an namespace license. */
1196
+ /** (EE only) Deletes an namespace license. */
770
1197
  namespacesLicensesDelete?: Maybe<NamespacesLicensesDeletePayload>;
771
1198
  /** Update the roles a member is assigned to. */
772
1199
  namespacesMembersAssignRoles?: Maybe<NamespacesMembersAssignRolesPayload>;
@@ -784,6 +1211,8 @@ export interface Mutation {
784
1211
  namespacesProjectsFlowsCreate?: Maybe<NamespacesProjectsFlowsCreatePayload>;
785
1212
  /** Deletes a namespace project. */
786
1213
  namespacesProjectsFlowsDelete?: Maybe<NamespacesProjectsFlowsDeletePayload>;
1214
+ /** Update an existing flow. */
1215
+ namespacesProjectsFlowsUpdate?: Maybe<NamespacesProjectsFlowsUpdatePayload>;
787
1216
  /** Updates a namespace project. */
788
1217
  namespacesProjectsUpdate?: Maybe<NamespacesProjectsUpdatePayload>;
789
1218
  /** Update the abilities a role is granted. */
@@ -810,6 +1239,10 @@ export interface Mutation {
810
1239
  runtimesRotateToken?: Maybe<RuntimesRotateTokenPayload>;
811
1240
  /** Update an existing runtime. */
812
1241
  runtimesUpdate?: Maybe<RuntimesUpdatePayload>;
1242
+ /** Admin-create a user. */
1243
+ usersCreate?: Maybe<UsersCreatePayload>;
1244
+ /** Delete an existing user. */
1245
+ usersDelete?: Maybe<UsersDeletePayload>;
813
1246
  /** Verify your email when changing it or signing up */
814
1247
  usersEmailVerification?: Maybe<UsersEmailVerificationPayload>;
815
1248
  /** Links an external identity to an existing user */
@@ -830,6 +1263,10 @@ export interface Mutation {
830
1263
  usersMfaTotpGenerateSecret?: Maybe<UsersMfaTotpGenerateSecretPayload>;
831
1264
  /** Validates a TOTP value for the given secret and enables TOTP MFA for the user */
832
1265
  usersMfaTotpValidateSecret?: Maybe<UsersMfaTotpValidateSecretPayload>;
1266
+ /** Reset the password using a reset token */
1267
+ usersPasswordReset?: Maybe<UsersPasswordResetPayload>;
1268
+ /** Request an password reset */
1269
+ usersPasswordResetRequest?: Maybe<UsersPasswordResetRequestPayload>;
833
1270
  /** Register a new user */
834
1271
  usersRegister?: Maybe<UsersRegisterPayload>;
835
1272
  /** Update an existing user. */
@@ -909,6 +1346,12 @@ export interface MutationNamespacesProjectsFlowsDeleteArgs {
909
1346
  }
910
1347
 
911
1348
 
1349
+ /** Root Mutation type */
1350
+ export interface MutationNamespacesProjectsFlowsUpdateArgs {
1351
+ input: NamespacesProjectsFlowsUpdateInput;
1352
+ }
1353
+
1354
+
912
1355
  /** Root Mutation type */
913
1356
  export interface MutationNamespacesProjectsUpdateArgs {
914
1357
  input: NamespacesProjectsUpdateInput;
@@ -987,6 +1430,18 @@ export interface MutationRuntimesUpdateArgs {
987
1430
  }
988
1431
 
989
1432
 
1433
+ /** Root Mutation type */
1434
+ export interface MutationUsersCreateArgs {
1435
+ input: UsersCreateInput;
1436
+ }
1437
+
1438
+
1439
+ /** Root Mutation type */
1440
+ export interface MutationUsersDeleteArgs {
1441
+ input: UsersDeleteInput;
1442
+ }
1443
+
1444
+
990
1445
  /** Root Mutation type */
991
1446
  export interface MutationUsersEmailVerificationArgs {
992
1447
  input: UsersEmailVerificationInput;
@@ -1047,6 +1502,18 @@ export interface MutationUsersMfaTotpValidateSecretArgs {
1047
1502
  }
1048
1503
 
1049
1504
 
1505
+ /** Root Mutation type */
1506
+ export interface MutationUsersPasswordResetArgs {
1507
+ input: UsersPasswordResetInput;
1508
+ }
1509
+
1510
+
1511
+ /** Root Mutation type */
1512
+ export interface MutationUsersPasswordResetRequestArgs {
1513
+ input: UsersPasswordResetRequestInput;
1514
+ }
1515
+
1516
+
1050
1517
  /** Root Mutation type */
1051
1518
  export interface MutationUsersRegisterArgs {
1052
1519
  input: UsersRegisterInput;
@@ -1063,14 +1530,18 @@ export interface Namespace {
1063
1530
  __typename?: 'Namespace';
1064
1531
  /** Time when this Namespace was created */
1065
1532
  createdAt?: Maybe<Scalars['Time']['output']>;
1533
+ /** (EE only) Currently active license of the namespace */
1534
+ currentNamespaceLicense?: Maybe<NamespaceLicense>;
1066
1535
  /** Global ID of this Namespace */
1067
1536
  id?: Maybe<Scalars['NamespaceID']['output']>;
1068
1537
  /** Members of the namespace */
1069
1538
  members?: Maybe<NamespaceMemberConnection>;
1070
- /** Licenses of the namespace */
1539
+ /** (EE only) Licenses of the namespace */
1071
1540
  namespaceLicenses?: Maybe<NamespaceLicenseConnection>;
1072
1541
  /** Parent of this namespace */
1073
1542
  parent?: Maybe<NamespaceParent>;
1543
+ /** Query a project by its id */
1544
+ project?: Maybe<NamespaceProject>;
1074
1545
  /** Projects of the namespace */
1075
1546
  projects?: Maybe<NamespaceProjectConnection>;
1076
1547
  /** Roles of the namespace */
@@ -1079,6 +1550,8 @@ export interface Namespace {
1079
1550
  runtimes?: Maybe<RuntimeConnection>;
1080
1551
  /** Time when this Namespace was last updated */
1081
1552
  updatedAt?: Maybe<Scalars['Time']['output']>;
1553
+ /** Abilities for the current user on this Namespace */
1554
+ userAbilities?: Maybe<NamespaceUserAbilities>;
1082
1555
  }
1083
1556
 
1084
1557
 
@@ -1100,6 +1573,12 @@ export interface NamespaceNamespaceLicensesArgs {
1100
1573
  }
1101
1574
 
1102
1575
 
1576
+ /** Represents a Namespace */
1577
+ export interface NamespaceProjectArgs {
1578
+ id: Scalars['NamespaceProjectID']['input'];
1579
+ }
1580
+
1581
+
1103
1582
  /** Represents a Namespace */
1104
1583
  export interface NamespaceProjectsArgs {
1105
1584
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1126,17 +1605,25 @@ export interface NamespaceRuntimesArgs {
1126
1605
  last?: InputMaybe<Scalars['Int']['input']>;
1127
1606
  }
1128
1607
 
1129
- /** Represents a Namespace License */
1608
+ /** (EE only) Represents a Namespace License */
1130
1609
  export interface NamespaceLicense {
1131
1610
  __typename?: 'NamespaceLicense';
1132
1611
  /** Time when this NamespaceLicense was created */
1133
1612
  createdAt?: Maybe<Scalars['Time']['output']>;
1613
+ /** The end date of the license */
1614
+ endDate?: Maybe<Scalars['Time']['output']>;
1134
1615
  /** Global ID of this NamespaceLicense */
1135
1616
  id?: Maybe<Scalars['NamespaceLicenseID']['output']>;
1617
+ /** The licensee information */
1618
+ licensee?: Maybe<Scalars['JSON']['output']>;
1136
1619
  /** The namespace the license belongs to */
1137
1620
  namespace?: Maybe<Namespace>;
1621
+ /** The start date of the license */
1622
+ startDate?: Maybe<Scalars['Time']['output']>;
1138
1623
  /** Time when this NamespaceLicense was last updated */
1139
1624
  updatedAt?: Maybe<Scalars['Time']['output']>;
1625
+ /** Abilities for the current user on this NamespaceLicense */
1626
+ userAbilities?: Maybe<NamespaceLicenseUserAbilities>;
1140
1627
  }
1141
1628
 
1142
1629
  /** The connection type for NamespaceLicense. */
@@ -1161,6 +1648,13 @@ export interface NamespaceLicenseEdge {
1161
1648
  node?: Maybe<NamespaceLicense>;
1162
1649
  }
1163
1650
 
1651
+ /** Abilities for the current user on this NamespaceLicense */
1652
+ export interface NamespaceLicenseUserAbilities {
1653
+ __typename?: 'NamespaceLicenseUserAbilities';
1654
+ /** Shows if the current user has the `delete_namespace_license` ability on this NamespaceLicense */
1655
+ deleteNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1656
+ }
1657
+
1164
1658
  /** Represents a namespace member */
1165
1659
  export interface NamespaceMember {
1166
1660
  __typename?: 'NamespaceMember';
@@ -1168,12 +1662,36 @@ export interface NamespaceMember {
1168
1662
  createdAt?: Maybe<Scalars['Time']['output']>;
1169
1663
  /** Global ID of this NamespaceMember */
1170
1664
  id?: Maybe<Scalars['NamespaceMemberID']['output']>;
1665
+ /** Memberroles of the member */
1666
+ memberRoles?: Maybe<NamespaceMemberRoleConnection>;
1171
1667
  /** Namespace this member belongs to */
1172
1668
  namespace?: Maybe<Namespace>;
1669
+ /** Roles of the member */
1670
+ roles?: Maybe<NamespaceRoleConnection>;
1173
1671
  /** Time when this NamespaceMember was last updated */
1174
1672
  updatedAt?: Maybe<Scalars['Time']['output']>;
1175
1673
  /** User this member belongs to */
1176
1674
  user?: Maybe<User>;
1675
+ /** Abilities for the current user on this NamespaceMember */
1676
+ userAbilities?: Maybe<NamespaceMemberUserAbilities>;
1677
+ }
1678
+
1679
+
1680
+ /** Represents a namespace member */
1681
+ export interface NamespaceMemberMemberRolesArgs {
1682
+ after?: InputMaybe<Scalars['String']['input']>;
1683
+ before?: InputMaybe<Scalars['String']['input']>;
1684
+ first?: InputMaybe<Scalars['Int']['input']>;
1685
+ last?: InputMaybe<Scalars['Int']['input']>;
1686
+ }
1687
+
1688
+
1689
+ /** Represents a namespace member */
1690
+ export interface NamespaceMemberRolesArgs {
1691
+ after?: InputMaybe<Scalars['String']['input']>;
1692
+ before?: InputMaybe<Scalars['String']['input']>;
1693
+ first?: InputMaybe<Scalars['Int']['input']>;
1694
+ last?: InputMaybe<Scalars['Int']['input']>;
1177
1695
  }
1178
1696
 
1179
1697
  /** The connection type for NamespaceMember. */
@@ -1213,8 +1731,39 @@ export interface NamespaceMemberRole {
1213
1731
  updatedAt?: Maybe<Scalars['Time']['output']>;
1214
1732
  }
1215
1733
 
1734
+ /** The connection type for NamespaceMemberRole. */
1735
+ export interface NamespaceMemberRoleConnection {
1736
+ __typename?: 'NamespaceMemberRoleConnection';
1737
+ /** Total count of collection. */
1738
+ count?: Maybe<Scalars['Int']['output']>;
1739
+ /** A list of edges. */
1740
+ edges?: Maybe<Array<Maybe<NamespaceMemberRoleEdge>>>;
1741
+ /** A list of nodes. */
1742
+ nodes?: Maybe<Array<Maybe<NamespaceMemberRole>>>;
1743
+ /** Information to aid in pagination. */
1744
+ pageInfo?: Maybe<PageInfo>;
1745
+ }
1746
+
1747
+ /** An edge in a connection. */
1748
+ export interface NamespaceMemberRoleEdge {
1749
+ __typename?: 'NamespaceMemberRoleEdge';
1750
+ /** A cursor for use in pagination. */
1751
+ cursor?: Maybe<Scalars['String']['output']>;
1752
+ /** The item at the end of the edge. */
1753
+ node?: Maybe<NamespaceMemberRole>;
1754
+ }
1755
+
1756
+ /** Abilities for the current user on this NamespaceMember */
1757
+ export interface NamespaceMemberUserAbilities {
1758
+ __typename?: 'NamespaceMemberUserAbilities';
1759
+ /** Shows if the current user has the `assign_member_roles` ability on this NamespaceMember */
1760
+ assignMemberRoles?: Maybe<Scalars['Boolean']['output']>;
1761
+ /** Shows if the current user has the `delete_member` ability on this NamespaceMember */
1762
+ deleteMember?: Maybe<Scalars['Boolean']['output']>;
1763
+ }
1764
+
1216
1765
  /** Objects that can present a namespace */
1217
- export type NamespaceParent = Organization;
1766
+ export type NamespaceParent = Organization | User;
1218
1767
 
1219
1768
  /** Represents a namespace project */
1220
1769
  export interface NamespaceProject {
@@ -1235,10 +1784,16 @@ export interface NamespaceProject {
1235
1784
  namespace?: Maybe<Namespace>;
1236
1785
  /** The primary runtime for the project */
1237
1786
  primaryRuntime?: Maybe<Runtime>;
1787
+ /** Roles assigned to this project */
1788
+ roles?: Maybe<NamespaceRoleConnection>;
1238
1789
  /** Runtimes assigned to this project */
1239
1790
  runtimes?: Maybe<RuntimeConnection>;
1791
+ /** Slug of the project used in URLs to identify flows */
1792
+ slug?: Maybe<Scalars['String']['output']>;
1240
1793
  /** Time when this NamespaceProject was last updated */
1241
1794
  updatedAt?: Maybe<Scalars['Time']['output']>;
1795
+ /** Abilities for the current user on this NamespaceProject */
1796
+ userAbilities?: Maybe<NamespaceProjectUserAbilities>;
1242
1797
  }
1243
1798
 
1244
1799
 
@@ -1257,6 +1812,15 @@ export interface NamespaceProjectFlowsArgs {
1257
1812
  }
1258
1813
 
1259
1814
 
1815
+ /** Represents a namespace project */
1816
+ export interface NamespaceProjectRolesArgs {
1817
+ after?: InputMaybe<Scalars['String']['input']>;
1818
+ before?: InputMaybe<Scalars['String']['input']>;
1819
+ first?: InputMaybe<Scalars['Int']['input']>;
1820
+ last?: InputMaybe<Scalars['Int']['input']>;
1821
+ }
1822
+
1823
+
1260
1824
  /** Represents a namespace project */
1261
1825
  export interface NamespaceProjectRuntimesArgs {
1262
1826
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1287,6 +1851,19 @@ export interface NamespaceProjectEdge {
1287
1851
  node?: Maybe<NamespaceProject>;
1288
1852
  }
1289
1853
 
1854
+ /** Abilities for the current user on this NamespaceProject */
1855
+ export interface NamespaceProjectUserAbilities {
1856
+ __typename?: 'NamespaceProjectUserAbilities';
1857
+ /** Shows if the current user has the `assign_project_runtimes` ability on this NamespaceProject */
1858
+ assignProjectRuntimes?: Maybe<Scalars['Boolean']['output']>;
1859
+ /** Shows if the current user has the `create_flow` ability on this NamespaceProject */
1860
+ createFlow?: Maybe<Scalars['Boolean']['output']>;
1861
+ /** Shows if the current user has the `delete_namespace_project` ability on this NamespaceProject */
1862
+ deleteNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1863
+ /** Shows if the current user has the `update_namespace_project` ability on this NamespaceProject */
1864
+ updateNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1865
+ }
1866
+
1290
1867
  /** Represents a namespace role. */
1291
1868
  export interface NamespaceRole {
1292
1869
  __typename?: 'NamespaceRole';
@@ -1298,12 +1875,16 @@ export interface NamespaceRole {
1298
1875
  createdAt?: Maybe<Scalars['Time']['output']>;
1299
1876
  /** Global ID of this NamespaceRole */
1300
1877
  id?: Maybe<Scalars['NamespaceRoleID']['output']>;
1878
+ /** The members this role is assigned to */
1879
+ members?: Maybe<NamespaceMemberConnection>;
1301
1880
  /** The name of this role */
1302
1881
  name?: Maybe<Scalars['String']['output']>;
1303
1882
  /** The namespace where this role belongs to */
1304
1883
  namespace?: Maybe<Namespace>;
1305
1884
  /** Time when this NamespaceRole was last updated */
1306
1885
  updatedAt?: Maybe<Scalars['Time']['output']>;
1886
+ /** Abilities for the current user on this NamespaceRole */
1887
+ userAbilities?: Maybe<NamespaceRoleUserAbilities>;
1307
1888
  }
1308
1889
 
1309
1890
 
@@ -1315,8 +1896,17 @@ export interface NamespaceRoleAssignedProjectsArgs {
1315
1896
  last?: InputMaybe<Scalars['Int']['input']>;
1316
1897
  }
1317
1898
 
1899
+
1900
+ /** Represents a namespace role. */
1901
+ export interface NamespaceRoleMembersArgs {
1902
+ after?: InputMaybe<Scalars['String']['input']>;
1903
+ before?: InputMaybe<Scalars['String']['input']>;
1904
+ first?: InputMaybe<Scalars['Int']['input']>;
1905
+ last?: InputMaybe<Scalars['Int']['input']>;
1906
+ }
1907
+
1318
1908
  /** Represents abilities that can be granted to roles in namespaces. */
1319
- export enum NamespaceRoleAbility {
1909
+ export const enum NamespaceRoleAbility {
1320
1910
  /** Allows to change the roles of a namespace member */
1321
1911
  AssignMemberRoles = 'ASSIGN_MEMBER_ROLES',
1322
1912
  /** Allows to assign runtimes to a project in the namespace */
@@ -1326,7 +1916,7 @@ export enum NamespaceRoleAbility {
1326
1916
  /** Allows to change the assigned projects of a namespace role */
1327
1917
  AssignRoleProjects = 'ASSIGN_ROLE_PROJECTS',
1328
1918
  /** Allows to create flows in a namespace project */
1329
- CreateFlows = 'CREATE_FLOWS',
1919
+ CreateFlow = 'CREATE_FLOW',
1330
1920
  /** Allows to create a license for the namespace */
1331
1921
  CreateNamespaceLicense = 'CREATE_NAMESPACE_LICENSE',
1332
1922
  /** Allows to create a project in the namespace */
@@ -1336,7 +1926,7 @@ export enum NamespaceRoleAbility {
1336
1926
  /** Allows to create a runtime globally or for the namespace */
1337
1927
  CreateRuntime = 'CREATE_RUNTIME',
1338
1928
  /** Allows to delete flows in a namespace project */
1339
- DeleteFlows = 'DELETE_FLOWS',
1929
+ DeleteFlow = 'DELETE_FLOW',
1340
1930
  /** Allows to remove members of a namespace */
1341
1931
  DeleteMember = 'DELETE_MEMBER',
1342
1932
  /** Allows to delete the license of the namespace */
@@ -1360,7 +1950,7 @@ export enum NamespaceRoleAbility {
1360
1950
  /** Allows to regenerate a runtime token */
1361
1951
  RotateRuntimeToken = 'ROTATE_RUNTIME_TOKEN',
1362
1952
  /** Allows to update flows in the project */
1363
- UpdateFlows = 'UPDATE_FLOWS',
1953
+ UpdateFlow = 'UPDATE_FLOW',
1364
1954
  /** Allows to update the project of the namespace */
1365
1955
  UpdateNamespaceProject = 'UPDATE_NAMESPACE_PROJECT',
1366
1956
  /** Allows to update the namespace role */
@@ -1393,6 +1983,34 @@ export interface NamespaceRoleEdge {
1393
1983
  node?: Maybe<NamespaceRole>;
1394
1984
  }
1395
1985
 
1986
+ /** Abilities for the current user on this NamespaceRole */
1987
+ export interface NamespaceRoleUserAbilities {
1988
+ __typename?: 'NamespaceRoleUserAbilities';
1989
+ /** Shows if the current user has the `assign_role_abilities` ability on this NamespaceRole */
1990
+ assignRoleAbilities?: Maybe<Scalars['Boolean']['output']>;
1991
+ /** Shows if the current user has the `assign_role_projects` ability on this NamespaceRole */
1992
+ assignRoleProjects?: Maybe<Scalars['Boolean']['output']>;
1993
+ /** Shows if the current user has the `delete_namespace_role` ability on this NamespaceRole */
1994
+ deleteNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1995
+ /** Shows if the current user has the `update_namespace_role` ability on this NamespaceRole */
1996
+ updateNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1997
+ }
1998
+
1999
+ /** Abilities for the current user on this Namespace */
2000
+ export interface NamespaceUserAbilities {
2001
+ __typename?: 'NamespaceUserAbilities';
2002
+ /** Shows if the current user has the `create_namespace_license` ability on this Namespace */
2003
+ createNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
2004
+ /** Shows if the current user has the `create_namespace_project` ability on this Namespace */
2005
+ createNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
2006
+ /** Shows if the current user has the `create_namespace_role` ability on this Namespace */
2007
+ createNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
2008
+ /** Shows if the current user has the `create_runtime` ability on this Namespace */
2009
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
2010
+ /** Shows if the current user has the `invite_member` ability on this Namespace */
2011
+ inviteMember?: Maybe<Scalars['Boolean']['output']>;
2012
+ }
2013
+
1396
2014
  /** Autogenerated input type of NamespacesLicensesCreate */
1397
2015
  export interface NamespacesLicensesCreateInput {
1398
2016
  /** A unique identifier for the client performing the mutation. */
@@ -1450,8 +2068,8 @@ export interface NamespacesMembersAssignRolesPayload {
1450
2068
  clientMutationId?: Maybe<Scalars['String']['output']>;
1451
2069
  /** Errors encountered during execution of the mutation. */
1452
2070
  errors?: Maybe<Array<Error>>;
1453
- /** The roles the member is now assigned to */
1454
- namespaceMemberRoles?: Maybe<Array<NamespaceMemberRole>>;
2071
+ /** The member which was assigned the roles */
2072
+ member?: Maybe<NamespaceMember>;
1455
2073
  }
1456
2074
 
1457
2075
  /** Autogenerated input type of NamespacesMembersDelete */
@@ -1525,6 +2143,8 @@ export interface NamespacesProjectsCreateInput {
1525
2143
  name: Scalars['String']['input'];
1526
2144
  /** The id of the namespace which this project will belong to */
1527
2145
  namespaceId: Scalars['NamespaceID']['input'];
2146
+ /** Slug for the new project. */
2147
+ slug?: InputMaybe<Scalars['String']['input']>;
1528
2148
  }
1529
2149
 
1530
2150
  /** Autogenerated return type of NamespacesProjectsCreate. */
@@ -1597,6 +2217,27 @@ export interface NamespacesProjectsFlowsDeletePayload {
1597
2217
  flow?: Maybe<Flow>;
1598
2218
  }
1599
2219
 
2220
+ /** Autogenerated input type of NamespacesProjectsFlowsUpdate */
2221
+ export interface NamespacesProjectsFlowsUpdateInput {
2222
+ /** A unique identifier for the client performing the mutation. */
2223
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
2224
+ /** The ID of the flow to update */
2225
+ flowId: Scalars['FlowID']['input'];
2226
+ /** The updated flow */
2227
+ flowInput: FlowInput;
2228
+ }
2229
+
2230
+ /** Autogenerated return type of NamespacesProjectsFlowsUpdate. */
2231
+ export interface NamespacesProjectsFlowsUpdatePayload {
2232
+ __typename?: 'NamespacesProjectsFlowsUpdatePayload';
2233
+ /** A unique identifier for the client performing the mutation. */
2234
+ clientMutationId?: Maybe<Scalars['String']['output']>;
2235
+ /** Errors encountered during execution of the mutation. */
2236
+ errors?: Maybe<Array<Error>>;
2237
+ /** The updated flow. */
2238
+ flow?: Maybe<Flow>;
2239
+ }
2240
+
1600
2241
  /** Autogenerated input type of NamespacesProjectsUpdate */
1601
2242
  export interface NamespacesProjectsUpdateInput {
1602
2243
  /** A unique identifier for the client performing the mutation. */
@@ -1609,6 +2250,8 @@ export interface NamespacesProjectsUpdateInput {
1609
2250
  namespaceProjectId: Scalars['NamespaceProjectID']['input'];
1610
2251
  /** The primary runtime for the updated project. */
1611
2252
  primaryRuntimeId?: InputMaybe<Scalars['RuntimeID']['input']>;
2253
+ /** Slug for the updated project. */
2254
+ slug?: InputMaybe<Scalars['String']['input']>;
1612
2255
  }
1613
2256
 
1614
2257
  /** Autogenerated return type of NamespacesProjectsUpdate. */
@@ -1736,14 +2379,14 @@ export interface NodeFunction {
1736
2379
  __typename?: 'NodeFunction';
1737
2380
  /** Time when this NodeFunction was created */
1738
2381
  createdAt?: Maybe<Scalars['Time']['output']>;
2382
+ /** The definition of the Node Function */
2383
+ functionDefinition?: Maybe<FunctionDefinition>;
1739
2384
  /** Global ID of this NodeFunction */
1740
2385
  id?: Maybe<Scalars['NodeFunctionID']['output']>;
1741
2386
  /** The ID of the next Node Function in the flow */
1742
2387
  nextNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
1743
2388
  /** The parameters of the Node Function */
1744
2389
  parameters?: Maybe<NodeParameterConnection>;
1745
- /** The definition of the Node Function */
1746
- runtimeFunction?: Maybe<RuntimeFunctionDefinition>;
1747
2390
  /** Time when this NodeFunction was last updated */
1748
2391
  updatedAt?: Maybe<Scalars['Time']['output']>;
1749
2392
  }
@@ -1779,10 +2422,19 @@ export interface NodeFunctionEdge {
1779
2422
  node?: Maybe<NodeFunction>;
1780
2423
  }
1781
2424
 
2425
+ /** Represents a Node Function id wrapper. */
2426
+ export interface NodeFunctionIdWrapper {
2427
+ __typename?: 'NodeFunctionIdWrapper';
2428
+ /** Global ID of this NodeFunctionIdWrapper */
2429
+ id?: Maybe<Scalars['NodeFunctionID']['output']>;
2430
+ }
2431
+
1782
2432
  /** Input type for a Node Function */
1783
2433
  export interface NodeFunctionInput {
2434
+ /** The identifier of the Node Function used to create/update the flow */
2435
+ id: Scalars['NodeFunctionID']['input'];
1784
2436
  /** The next Node Function in the flow */
1785
- nextNode?: InputMaybe<NodeFunctionInput>;
2437
+ nextNodeId?: InputMaybe<Scalars['NodeFunctionID']['input']>;
1786
2438
  /** The parameters of the Node Function */
1787
2439
  parameters: Array<NodeParameterInput>;
1788
2440
  /** The identifier of the Runtime Function Definition */
@@ -1835,18 +2487,37 @@ export interface NodeParameterInput {
1835
2487
  }
1836
2488
 
1837
2489
  /** Represents a parameter value for a node. */
1838
- export type NodeParameterValue = LiteralValue | NodeFunction | ReferenceValue;
2490
+ export type NodeParameterValue = LiteralValue | NodeFunctionIdWrapper | ReferenceValue;
1839
2491
 
1840
2492
  /** Input type for parameter value */
1841
2493
  export interface NodeParameterValueInput {
1842
- /** The function value of the parameter */
1843
- functionValue?: InputMaybe<NodeFunctionInput>;
1844
2494
  /** The literal value of the parameter */
1845
2495
  literalValue?: InputMaybe<Scalars['JSON']['input']>;
2496
+ /** The function value of the parameter as an id */
2497
+ nodeFunctionId?: InputMaybe<Scalars['NodeFunctionID']['input']>;
1846
2498
  /** The reference value of the parameter */
1847
2499
  referenceValue?: InputMaybe<ReferenceValueInput>;
1848
2500
  }
1849
2501
 
2502
+ /** Represents an OIDC identity provider configuration */
2503
+ export interface OidcIdentityProviderConfig {
2504
+ __typename?: 'OidcIdentityProviderConfig';
2505
+ /** List of attribute statements for the OIDC identity provider */
2506
+ attributeStatements?: Maybe<Scalars['JSON']['output']>;
2507
+ /** The authorization URL for the OIDC identity provider */
2508
+ authorizationUrl?: Maybe<Scalars['String']['output']>;
2509
+ /** The client ID for the OIDC identity provider */
2510
+ clientId?: Maybe<Scalars['String']['output']>;
2511
+ /** The client secret for the OIDC identity provider */
2512
+ clientSecret?: Maybe<Scalars['String']['output']>;
2513
+ /** The name of the OIDC identity provider */
2514
+ providerName?: Maybe<Scalars['String']['output']>;
2515
+ /** The redirect URI for the OIDC identity provider */
2516
+ redirectUri?: Maybe<Scalars['String']['output']>;
2517
+ /** The user details URL for the OIDC identity provider */
2518
+ userDetailsUrl?: Maybe<Scalars['String']['output']>;
2519
+ }
2520
+
1850
2521
  /** Represents a Organization */
1851
2522
  export interface Organization {
1852
2523
  __typename?: 'Organization';
@@ -1860,6 +2531,39 @@ export interface Organization {
1860
2531
  namespace?: Maybe<Namespace>;
1861
2532
  /** Time when this Organization was last updated */
1862
2533
  updatedAt?: Maybe<Scalars['Time']['output']>;
2534
+ /** Abilities for the current user on this Organization */
2535
+ userAbilities?: Maybe<OrganizationUserAbilities>;
2536
+ }
2537
+
2538
+ /** The connection type for Organization. */
2539
+ export interface OrganizationConnection {
2540
+ __typename?: 'OrganizationConnection';
2541
+ /** Total count of collection. */
2542
+ count?: Maybe<Scalars['Int']['output']>;
2543
+ /** A list of edges. */
2544
+ edges?: Maybe<Array<Maybe<OrganizationEdge>>>;
2545
+ /** A list of nodes. */
2546
+ nodes?: Maybe<Array<Maybe<Organization>>>;
2547
+ /** Information to aid in pagination. */
2548
+ pageInfo?: Maybe<PageInfo>;
2549
+ }
2550
+
2551
+ /** An edge in a connection. */
2552
+ export interface OrganizationEdge {
2553
+ __typename?: 'OrganizationEdge';
2554
+ /** A cursor for use in pagination. */
2555
+ cursor?: Maybe<Scalars['String']['output']>;
2556
+ /** The item at the end of the edge. */
2557
+ node?: Maybe<Organization>;
2558
+ }
2559
+
2560
+ /** Abilities for the current user on this Organization */
2561
+ export interface OrganizationUserAbilities {
2562
+ __typename?: 'OrganizationUserAbilities';
2563
+ /** Shows if the current user has the `delete_organization` ability on this Organization */
2564
+ deleteOrganization?: Maybe<Scalars['Boolean']['output']>;
2565
+ /** Shows if the current user has the `update_organization` ability on this Organization */
2566
+ updateOrganization?: Maybe<Scalars['Boolean']['output']>;
1863
2567
  }
1864
2568
 
1865
2569
  /** Autogenerated input type of OrganizationsCreate */
@@ -1940,46 +2644,21 @@ export interface ParameterDefinition {
1940
2644
  /** Time when this ParameterDefinition was created */
1941
2645
  createdAt?: Maybe<Scalars['Time']['output']>;
1942
2646
  /** Data type of the parameter */
1943
- dataType?: Maybe<DataTypeIdentifier>;
2647
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
1944
2648
  /** Description of the parameter */
1945
- descriptions?: Maybe<TranslationConnection>;
2649
+ descriptions?: Maybe<Array<Translation>>;
1946
2650
  /** Documentation of the parameter */
1947
- documentations?: Maybe<TranslationConnection>;
2651
+ documentations?: Maybe<Array<Translation>>;
1948
2652
  /** Global ID of this ParameterDefinition */
1949
2653
  id?: Maybe<Scalars['ParameterDefinitionID']['output']>;
2654
+ /** Identifier of the parameter */
2655
+ identifier?: Maybe<Scalars['String']['output']>;
1950
2656
  /** Name of the parameter */
1951
- names?: Maybe<TranslationConnection>;
2657
+ names?: Maybe<Array<Translation>>;
1952
2658
  /** Time when this ParameterDefinition was last updated */
1953
2659
  updatedAt?: Maybe<Scalars['Time']['output']>;
1954
2660
  }
1955
2661
 
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
2662
  /** The connection type for ParameterDefinition. */
1984
2663
  export interface ParameterDefinitionConnection {
1985
2664
  __typename?: 'ParameterDefinitionConnection';
@@ -2005,8 +2684,8 @@ export interface ParameterDefinitionEdge {
2005
2684
  /** Root Query type */
2006
2685
  export interface Query {
2007
2686
  __typename?: 'Query';
2008
- /** Get global application settings */
2009
- applicationSettings?: Maybe<ApplicationSettings>;
2687
+ /** Get application information */
2688
+ application?: Maybe<Application>;
2010
2689
  /** Get the currently logged in authentication */
2011
2690
  currentAuthentication?: Maybe<Authentication>;
2012
2691
  /** Get the currently logged in user */
@@ -2023,6 +2702,10 @@ export interface Query {
2023
2702
  nodes?: Maybe<Array<Maybe<Node>>>;
2024
2703
  /** Find a organization */
2025
2704
  organization?: Maybe<Organization>;
2705
+ /** Find organizations */
2706
+ organizations?: Maybe<OrganizationConnection>;
2707
+ /** Find a user */
2708
+ user?: Maybe<User>;
2026
2709
  /** Find users */
2027
2710
  users?: Maybe<UserConnection>;
2028
2711
  }
@@ -2068,6 +2751,22 @@ export interface QueryOrganizationArgs {
2068
2751
  }
2069
2752
 
2070
2753
 
2754
+ /** Root Query type */
2755
+ export interface QueryOrganizationsArgs {
2756
+ after?: InputMaybe<Scalars['String']['input']>;
2757
+ before?: InputMaybe<Scalars['String']['input']>;
2758
+ first?: InputMaybe<Scalars['Int']['input']>;
2759
+ last?: InputMaybe<Scalars['Int']['input']>;
2760
+ }
2761
+
2762
+
2763
+ /** Root Query type */
2764
+ export interface QueryUserArgs {
2765
+ id?: InputMaybe<Scalars['UserID']['input']>;
2766
+ username?: InputMaybe<Scalars['String']['input']>;
2767
+ }
2768
+
2769
+
2071
2770
  /** Root Query type */
2072
2771
  export interface QueryUsersArgs {
2073
2772
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2112,6 +2811,8 @@ export interface ReferenceValue {
2112
2811
  id?: Maybe<Scalars['ReferenceValueID']['output']>;
2113
2812
  /** The node of the reference value. */
2114
2813
  node?: Maybe<Scalars['Int']['output']>;
2814
+ /** The referenced value. */
2815
+ nodeFunctionId?: Maybe<Scalars['NodeFunctionID']['output']>;
2115
2816
  /** The paths associated with this reference value. */
2116
2817
  referencePath?: Maybe<Array<ReferencePath>>;
2117
2818
  /** The scope of the reference value. */
@@ -2124,14 +2825,16 @@ export interface ReferenceValue {
2124
2825
  export interface ReferenceValueInput {
2125
2826
  /** The identifier of the data type this reference value belongs to */
2126
2827
  dataTypeIdentifier: DataTypeIdentifierInput;
2127
- /** The primary level of the reference value */
2128
- primaryLevel: Scalars['Int']['input'];
2828
+ /** The depth of the reference value */
2829
+ depth: Scalars['Int']['input'];
2830
+ /** The node of the reference */
2831
+ node: Scalars['Int']['input'];
2832
+ /** The referenced value */
2833
+ nodeFunctionId: Scalars['NodeFunctionID']['input'];
2129
2834
  /** The paths associated with this reference value */
2130
2835
  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']>;
2836
+ /** The scope of the reference value */
2837
+ scope: Array<Scalars['Int']['input']>;
2135
2838
  }
2136
2839
 
2137
2840
  /** Represents a runtime */
@@ -2145,6 +2848,8 @@ export interface Runtime {
2145
2848
  description?: Maybe<Scalars['String']['output']>;
2146
2849
  /** FlowTypes of the runtime */
2147
2850
  flowTypes?: Maybe<FlowTypeConnection>;
2851
+ /** Function definitions of the runtime */
2852
+ functionDefinitions?: Maybe<FunctionDefinitionConnection>;
2148
2853
  /** Global ID of this Runtime */
2149
2854
  id?: Maybe<Scalars['RuntimeID']['output']>;
2150
2855
  /** The name for the runtime */
@@ -2159,6 +2864,8 @@ export interface Runtime {
2159
2864
  token?: Maybe<Scalars['String']['output']>;
2160
2865
  /** Time when this Runtime was last updated */
2161
2866
  updatedAt?: Maybe<Scalars['Time']['output']>;
2867
+ /** Abilities for the current user on this Runtime */
2868
+ userAbilities?: Maybe<RuntimeUserAbilities>;
2162
2869
  }
2163
2870
 
2164
2871
 
@@ -2180,6 +2887,15 @@ export interface RuntimeFlowTypesArgs {
2180
2887
  }
2181
2888
 
2182
2889
 
2890
+ /** Represents a runtime */
2891
+ export interface RuntimeFunctionDefinitionsArgs {
2892
+ after?: InputMaybe<Scalars['String']['input']>;
2893
+ before?: InputMaybe<Scalars['String']['input']>;
2894
+ first?: InputMaybe<Scalars['Int']['input']>;
2895
+ last?: InputMaybe<Scalars['Int']['input']>;
2896
+ }
2897
+
2898
+
2183
2899
  /** Represents a runtime */
2184
2900
  export interface RuntimeProjectsArgs {
2185
2901
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2210,25 +2926,27 @@ export interface RuntimeEdge {
2210
2926
  node?: Maybe<Runtime>;
2211
2927
  }
2212
2928
 
2213
- /** Represents a Node Function definition */
2929
+ /** Represents a runtime function definition */
2214
2930
  export interface RuntimeFunctionDefinition {
2215
2931
  __typename?: 'RuntimeFunctionDefinition';
2216
2932
  /** Time when this RuntimeFunctionDefinition was created */
2217
2933
  createdAt?: Maybe<Scalars['Time']['output']>;
2218
- /** Function definitions of the Node Function */
2934
+ /** Function definitions of the runtime function definition */
2219
2935
  functionDefinitions?: Maybe<FunctionDefinitionConnection>;
2220
2936
  /** Global ID of this RuntimeFunctionDefinition */
2221
- id?: Maybe<Scalars['RuntimeParameterDefinitionID']['output']>;
2222
- /** Identifier of the Node Function */
2937
+ id?: Maybe<Scalars['RuntimeFunctionDefinitionID']['output']>;
2938
+ /** Identifier of the runtime function definition */
2223
2939
  identifier?: Maybe<Scalars['String']['output']>;
2224
- /** The runtime this Node Function belongs to */
2940
+ /** The runtime this runtime function definition belongs to */
2225
2941
  runtime?: Maybe<Runtime>;
2942
+ /** Parameter definitions of the runtime function definition */
2943
+ runtimeParameterDefinitions?: Maybe<RuntimeParameterDefinitionConnection>;
2226
2944
  /** Time when this RuntimeFunctionDefinition was last updated */
2227
2945
  updatedAt?: Maybe<Scalars['Time']['output']>;
2228
2946
  }
2229
2947
 
2230
2948
 
2231
- /** Represents a Node Function definition */
2949
+ /** Represents a runtime function definition */
2232
2950
  export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2233
2951
  after?: InputMaybe<Scalars['String']['input']>;
2234
2952
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2236,25 +2954,69 @@ export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2236
2954
  last?: InputMaybe<Scalars['Int']['input']>;
2237
2955
  }
2238
2956
 
2239
- /** Represents a Node parameter definition */
2957
+
2958
+ /** Represents a runtime function definition */
2959
+ export interface RuntimeFunctionDefinitionRuntimeParameterDefinitionsArgs {
2960
+ after?: InputMaybe<Scalars['String']['input']>;
2961
+ before?: InputMaybe<Scalars['String']['input']>;
2962
+ first?: InputMaybe<Scalars['Int']['input']>;
2963
+ last?: InputMaybe<Scalars['Int']['input']>;
2964
+ }
2965
+
2966
+ /** Represents a runtime parameter definition */
2240
2967
  export interface RuntimeParameterDefinition {
2241
2968
  __typename?: 'RuntimeParameterDefinition';
2242
2969
  /** Time when this RuntimeParameterDefinition was created */
2243
2970
  createdAt?: Maybe<Scalars['Time']['output']>;
2244
2971
  /** Global ID of this RuntimeParameterDefinition */
2245
2972
  id?: Maybe<Scalars['RuntimeParameterDefinitionID']['output']>;
2973
+ /** Identifier of the runtime parameter definition */
2974
+ identifier?: Maybe<Scalars['String']['output']>;
2246
2975
  /** Time when this RuntimeParameterDefinition was last updated */
2247
2976
  updatedAt?: Maybe<Scalars['Time']['output']>;
2248
2977
  }
2249
2978
 
2979
+ /** The connection type for RuntimeParameterDefinition. */
2980
+ export interface RuntimeParameterDefinitionConnection {
2981
+ __typename?: 'RuntimeParameterDefinitionConnection';
2982
+ /** Total count of collection. */
2983
+ count?: Maybe<Scalars['Int']['output']>;
2984
+ /** A list of edges. */
2985
+ edges?: Maybe<Array<Maybe<RuntimeParameterDefinitionEdge>>>;
2986
+ /** A list of nodes. */
2987
+ nodes?: Maybe<Array<Maybe<RuntimeParameterDefinition>>>;
2988
+ /** Information to aid in pagination. */
2989
+ pageInfo?: Maybe<PageInfo>;
2990
+ }
2991
+
2992
+ /** An edge in a connection. */
2993
+ export interface RuntimeParameterDefinitionEdge {
2994
+ __typename?: 'RuntimeParameterDefinitionEdge';
2995
+ /** A cursor for use in pagination. */
2996
+ cursor?: Maybe<Scalars['String']['output']>;
2997
+ /** The item at the end of the edge. */
2998
+ node?: Maybe<RuntimeParameterDefinition>;
2999
+ }
3000
+
2250
3001
  /** Represent all available types of statuses of a runtime */
2251
- export enum RuntimeStatusType {
3002
+ export const enum RuntimeStatusType {
2252
3003
  /** No problem with connection, everything works as expected */
2253
3004
  Connected = 'CONNECTED',
2254
3005
  /** The runtime is disconnected, cause unknown */
2255
3006
  Disconnected = 'DISCONNECTED'
2256
3007
  }
2257
3008
 
3009
+ /** Abilities for the current user on this Runtime */
3010
+ export interface RuntimeUserAbilities {
3011
+ __typename?: 'RuntimeUserAbilities';
3012
+ /** Shows if the current user has the `delete_runtime` ability on this Runtime */
3013
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
3014
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Runtime */
3015
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
3016
+ /** Shows if the current user has the `update_runtime` ability on this Runtime */
3017
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
3018
+ }
3019
+
2258
3020
  /** Autogenerated input type of RuntimesCreate */
2259
3021
  export interface RuntimesCreateInput {
2260
3022
  /** A unique identifier for the client performing the mutation. */
@@ -2339,6 +3101,21 @@ export interface RuntimesUpdatePayload {
2339
3101
  runtime?: Maybe<Runtime>;
2340
3102
  }
2341
3103
 
3104
+ /** Represents the configuration for a SAML identity provider. */
3105
+ export interface SamlIdentityProviderConfig {
3106
+ __typename?: 'SamlIdentityProviderConfig';
3107
+ /** List of attribute statements for the SAML identity provider */
3108
+ attributeStatements?: Maybe<Scalars['JSON']['output']>;
3109
+ /** The metadata url to fetch the metadatas (replacement for settings) */
3110
+ metadataUrl?: Maybe<Scalars['String']['output']>;
3111
+ /** The name of the SAML identity provider */
3112
+ providerName?: Maybe<Scalars['String']['output']>;
3113
+ /** The SAML response settings for the identity provider */
3114
+ responseSettings?: Maybe<Scalars['JSON']['output']>;
3115
+ /** The SAML settings for the identity provider */
3116
+ settings?: Maybe<Scalars['JSON']['output']>;
3117
+ }
3118
+
2342
3119
  /** Represents a translation */
2343
3120
  export interface Translation {
2344
3121
  __typename?: 'Translation';
@@ -2348,28 +3125,6 @@ export interface Translation {
2348
3125
  content?: Maybe<Scalars['String']['output']>;
2349
3126
  }
2350
3127
 
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
3128
  /** Represents a user */
2374
3129
  export interface User {
2375
3130
  __typename?: 'User';
@@ -2381,23 +3136,42 @@ export interface User {
2381
3136
  createdAt?: Maybe<Scalars['Time']['output']>;
2382
3137
  /** Email of the user */
2383
3138
  email?: Maybe<Scalars['String']['output']>;
3139
+ /** Email verification date of the user if present */
3140
+ emailVerifiedAt?: Maybe<Scalars['Time']['output']>;
2384
3141
  /** Firstname of the user */
2385
3142
  firstname?: Maybe<Scalars['String']['output']>;
2386
3143
  /** Global ID of this User */
2387
3144
  id?: Maybe<Scalars['UserID']['output']>;
3145
+ /** Identities of this user */
3146
+ identities?: Maybe<UserIdentityConnection>;
2388
3147
  /** Lastname of the user */
2389
3148
  lastname?: Maybe<Scalars['String']['output']>;
3149
+ /** Multi-factor authentication status of this user */
3150
+ mfaStatus?: Maybe<MfaStatus>;
2390
3151
  /** Namespace of this user */
2391
3152
  namespace?: Maybe<Namespace>;
2392
3153
  /** Namespace Memberships of this user */
2393
3154
  namespaceMemberships?: Maybe<NamespaceMemberConnection>;
3155
+ /** Sessions of this user */
3156
+ sessions?: Maybe<UserSessionConnection>;
2394
3157
  /** Time when this User was last updated */
2395
3158
  updatedAt?: Maybe<Scalars['Time']['output']>;
3159
+ /** Abilities for the current user on this User */
3160
+ userAbilities?: Maybe<UserUserAbilities>;
2396
3161
  /** Username of the user */
2397
3162
  username?: Maybe<Scalars['String']['output']>;
2398
3163
  }
2399
3164
 
2400
3165
 
3166
+ /** Represents a user */
3167
+ export interface UserIdentitiesArgs {
3168
+ after?: InputMaybe<Scalars['String']['input']>;
3169
+ before?: InputMaybe<Scalars['String']['input']>;
3170
+ first?: InputMaybe<Scalars['Int']['input']>;
3171
+ last?: InputMaybe<Scalars['Int']['input']>;
3172
+ }
3173
+
3174
+
2401
3175
  /** Represents a user */
2402
3176
  export interface UserNamespaceMembershipsArgs {
2403
3177
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2406,6 +3180,15 @@ export interface UserNamespaceMembershipsArgs {
2406
3180
  last?: InputMaybe<Scalars['Int']['input']>;
2407
3181
  }
2408
3182
 
3183
+
3184
+ /** Represents a user */
3185
+ export interface UserSessionsArgs {
3186
+ after?: InputMaybe<Scalars['String']['input']>;
3187
+ before?: InputMaybe<Scalars['String']['input']>;
3188
+ first?: InputMaybe<Scalars['Int']['input']>;
3189
+ last?: InputMaybe<Scalars['Int']['input']>;
3190
+ }
3191
+
2409
3192
  /** The connection type for User. */
2410
3193
  export interface UserConnection {
2411
3194
  __typename?: 'UserConnection';
@@ -2445,6 +3228,28 @@ export interface UserIdentity {
2445
3228
  user?: Maybe<User>;
2446
3229
  }
2447
3230
 
3231
+ /** The connection type for UserIdentity. */
3232
+ export interface UserIdentityConnection {
3233
+ __typename?: 'UserIdentityConnection';
3234
+ /** Total count of collection. */
3235
+ count?: Maybe<Scalars['Int']['output']>;
3236
+ /** A list of edges. */
3237
+ edges?: Maybe<Array<Maybe<UserIdentityEdge>>>;
3238
+ /** A list of nodes. */
3239
+ nodes?: Maybe<Array<Maybe<UserIdentity>>>;
3240
+ /** Information to aid in pagination. */
3241
+ pageInfo?: Maybe<PageInfo>;
3242
+ }
3243
+
3244
+ /** An edge in a connection. */
3245
+ export interface UserIdentityEdge {
3246
+ __typename?: 'UserIdentityEdge';
3247
+ /** A cursor for use in pagination. */
3248
+ cursor?: Maybe<Scalars['String']['output']>;
3249
+ /** The item at the end of the edge. */
3250
+ node?: Maybe<UserIdentity>;
3251
+ }
3252
+
2448
3253
  /** Represents a user session */
2449
3254
  export interface UserSession {
2450
3255
  __typename?: 'UserSession';
@@ -2460,6 +3265,96 @@ export interface UserSession {
2460
3265
  updatedAt?: Maybe<Scalars['Time']['output']>;
2461
3266
  /** User that belongs to the session */
2462
3267
  user?: Maybe<User>;
3268
+ /** Abilities for the current user on this UserSession */
3269
+ userAbilities?: Maybe<UserSessionUserAbilities>;
3270
+ }
3271
+
3272
+ /** The connection type for UserSession. */
3273
+ export interface UserSessionConnection {
3274
+ __typename?: 'UserSessionConnection';
3275
+ /** Total count of collection. */
3276
+ count?: Maybe<Scalars['Int']['output']>;
3277
+ /** A list of edges. */
3278
+ edges?: Maybe<Array<Maybe<UserSessionEdge>>>;
3279
+ /** A list of nodes. */
3280
+ nodes?: Maybe<Array<Maybe<UserSession>>>;
3281
+ /** Information to aid in pagination. */
3282
+ pageInfo?: Maybe<PageInfo>;
3283
+ }
3284
+
3285
+ /** An edge in a connection. */
3286
+ export interface UserSessionEdge {
3287
+ __typename?: 'UserSessionEdge';
3288
+ /** A cursor for use in pagination. */
3289
+ cursor?: Maybe<Scalars['String']['output']>;
3290
+ /** The item at the end of the edge. */
3291
+ node?: Maybe<UserSession>;
3292
+ }
3293
+
3294
+ /** Abilities for the current user on this UserSession */
3295
+ export interface UserSessionUserAbilities {
3296
+ __typename?: 'UserSessionUserAbilities';
3297
+ /** Shows if the current user has the `logout_session` ability on this UserSession */
3298
+ logoutSession?: Maybe<Scalars['Boolean']['output']>;
3299
+ }
3300
+
3301
+ /** Abilities for the current user on this User */
3302
+ export interface UserUserAbilities {
3303
+ __typename?: 'UserUserAbilities';
3304
+ /** Shows if the current user has the `manage_mfa` ability on this User */
3305
+ manageMfa?: Maybe<Scalars['Boolean']['output']>;
3306
+ /** Shows if the current user has the `update_user` ability on this User */
3307
+ updateUser?: Maybe<Scalars['Boolean']['output']>;
3308
+ }
3309
+
3310
+ /** Autogenerated input type of UsersCreate */
3311
+ export interface UsersCreateInput {
3312
+ /** Admin status for the user. */
3313
+ admin?: InputMaybe<Scalars['Boolean']['input']>;
3314
+ /** A unique identifier for the client performing the mutation. */
3315
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3316
+ /** Email for the user. */
3317
+ email: Scalars['String']['input'];
3318
+ /** Firstname for the user. */
3319
+ firstname?: InputMaybe<Scalars['String']['input']>;
3320
+ /** Lastname for the user. */
3321
+ lastname?: InputMaybe<Scalars['String']['input']>;
3322
+ /** Password for the user. */
3323
+ password: Scalars['String']['input'];
3324
+ /** Password repeat for the user to check for typos. */
3325
+ passwordRepeat: Scalars['String']['input'];
3326
+ /** Username for the user. */
3327
+ username: Scalars['String']['input'];
3328
+ }
3329
+
3330
+ /** Autogenerated return type of UsersCreate. */
3331
+ export interface UsersCreatePayload {
3332
+ __typename?: 'UsersCreatePayload';
3333
+ /** A unique identifier for the client performing the mutation. */
3334
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3335
+ /** Errors encountered during execution of the mutation. */
3336
+ errors?: Maybe<Array<Error>>;
3337
+ /** The created user. */
3338
+ user?: Maybe<User>;
3339
+ }
3340
+
3341
+ /** Autogenerated input type of UsersDelete */
3342
+ export interface UsersDeleteInput {
3343
+ /** A unique identifier for the client performing the mutation. */
3344
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3345
+ /** The user to delete. */
3346
+ userId: Scalars['UserID']['input'];
3347
+ }
3348
+
3349
+ /** Autogenerated return type of UsersDelete. */
3350
+ export interface UsersDeletePayload {
3351
+ __typename?: 'UsersDeletePayload';
3352
+ /** A unique identifier for the client performing the mutation. */
3353
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3354
+ /** Errors encountered during execution of the mutation. */
3355
+ errors?: Maybe<Array<Error>>;
3356
+ /** The deleted user. */
3357
+ user?: Maybe<User>;
2463
3358
  }
2464
3359
 
2465
3360
  /** Autogenerated input type of UsersEmailVerification */
@@ -2665,6 +3560,48 @@ export interface UsersMfaTotpValidateSecretPayload {
2665
3560
  user?: Maybe<User>;
2666
3561
  }
2667
3562
 
3563
+ /** Autogenerated input type of UsersPasswordReset */
3564
+ export interface UsersPasswordResetInput {
3565
+ /** A unique identifier for the client performing the mutation. */
3566
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3567
+ /** The new password to set for the user */
3568
+ newPassword: Scalars['String']['input'];
3569
+ /** The confirmation of the new password to set for the user needs to be the same as the new password */
3570
+ newPasswordConfirmation: Scalars['String']['input'];
3571
+ /** The password reset token sent to the user email */
3572
+ resetToken: Scalars['String']['input'];
3573
+ }
3574
+
3575
+ /** Autogenerated return type of UsersPasswordReset. */
3576
+ export interface UsersPasswordResetPayload {
3577
+ __typename?: 'UsersPasswordResetPayload';
3578
+ /** A unique identifier for the client performing the mutation. */
3579
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3580
+ /** Errors encountered during execution of the mutation. */
3581
+ errors?: Maybe<Array<Error>>;
3582
+ /** A message indicating the result of the password reset request */
3583
+ message?: Maybe<Scalars['String']['output']>;
3584
+ }
3585
+
3586
+ /** Autogenerated input type of UsersPasswordResetRequest */
3587
+ export interface UsersPasswordResetRequestInput {
3588
+ /** A unique identifier for the client performing the mutation. */
3589
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3590
+ /** Email of the user to reset the password */
3591
+ email: Scalars['String']['input'];
3592
+ }
3593
+
3594
+ /** Autogenerated return type of UsersPasswordResetRequest. */
3595
+ export interface UsersPasswordResetRequestPayload {
3596
+ __typename?: 'UsersPasswordResetRequestPayload';
3597
+ /** A unique identifier for the client performing the mutation. */
3598
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3599
+ /** Errors encountered during execution of the mutation. */
3600
+ errors?: Maybe<Array<Error>>;
3601
+ /** A message indicating the result of the password reset request */
3602
+ message?: Maybe<Scalars['String']['output']>;
3603
+ }
3604
+
2668
3605
  /** Autogenerated input type of UsersRegister */
2669
3606
  export interface UsersRegisterInput {
2670
3607
  /** A unique identifier for the client performing the mutation. */