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

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 +872 -55
  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,6 +54,15 @@ export interface ActiveModelError {
55
54
  type?: Maybe<Scalars['String']['output']>;
56
55
  }
57
56
 
57
+ /** Represents the application instance */
58
+ export interface Application {
59
+ __typename?: 'Application';
60
+ /** Metadata about the application */
61
+ metadata?: Maybe<Metadata>;
62
+ /** Global application settings */
63
+ settings?: Maybe<ApplicationSettings>;
64
+ }
65
+
58
66
  /** Represents the application settings */
59
67
  export interface ApplicationSettings {
60
68
  __typename?: 'ApplicationSettings';
@@ -91,8 +99,12 @@ export type Authentication = UserSession;
91
99
  /** Represents a DataType */
92
100
  export interface DataType {
93
101
  __typename?: 'DataType';
102
+ /** Name of the function */
103
+ aliases?: Maybe<TranslationConnection>;
94
104
  /** Time when this DataType was created */
95
105
  createdAt?: Maybe<Scalars['Time']['output']>;
106
+ /** Display message of the function */
107
+ displayMessages?: Maybe<TranslationConnection>;
96
108
  /** Generic keys of the datatype */
97
109
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
98
110
  /** Global ID of this DataType */
@@ -101,12 +113,10 @@ export interface DataType {
101
113
  identifier?: Maybe<Scalars['String']['output']>;
102
114
  /** Names of the flow type setting */
103
115
  name?: Maybe<TranslationConnection>;
104
- /** The namespace where this datatype belongs to */
105
- namespace?: Maybe<Namespace>;
106
- /** The parent datatype */
107
- parent?: Maybe<DataTypeIdentifier>;
108
116
  /** Rules of the datatype */
109
117
  rules?: Maybe<DataTypeRuleConnection>;
118
+ /** The runtime where this datatype belongs to */
119
+ runtime?: Maybe<Runtime>;
110
120
  /** Time when this DataType was last updated */
111
121
  updatedAt?: Maybe<Scalars['Time']['output']>;
112
122
  /** The type of the datatype */
@@ -114,6 +124,24 @@ export interface DataType {
114
124
  }
115
125
 
116
126
 
127
+ /** Represents a DataType */
128
+ export interface DataTypeAliasesArgs {
129
+ after?: InputMaybe<Scalars['String']['input']>;
130
+ before?: InputMaybe<Scalars['String']['input']>;
131
+ first?: InputMaybe<Scalars['Int']['input']>;
132
+ last?: InputMaybe<Scalars['Int']['input']>;
133
+ }
134
+
135
+
136
+ /** Represents a DataType */
137
+ export interface DataTypeDisplayMessagesArgs {
138
+ after?: InputMaybe<Scalars['String']['input']>;
139
+ before?: InputMaybe<Scalars['String']['input']>;
140
+ first?: InputMaybe<Scalars['Int']['input']>;
141
+ last?: InputMaybe<Scalars['Int']['input']>;
142
+ }
143
+
144
+
117
145
  /** Represents a DataType */
118
146
  export interface DataTypeNameArgs {
119
147
  after?: InputMaybe<Scalars['String']['input']>;
@@ -241,8 +269,8 @@ export interface DataTypeRulesInputTypeConfig {
241
269
  __typename?: 'DataTypeRulesInputTypeConfig';
242
270
  /** The identifier of the data type this input type belongs to */
243
271
  dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
244
- /** The input data type that this configuration applies to */
245
- inputType?: Maybe<DataType>;
272
+ /** The input identifier that this configuration applies to */
273
+ inputIdentifier?: Maybe<Scalars['String']['output']>;
246
274
  }
247
275
 
248
276
  /** Represents a rule that can be applied to a data type. */
@@ -292,13 +320,13 @@ export interface DataTypeRulesReturnTypeConfig {
292
320
  }
293
321
 
294
322
  /** The type of rule that can be applied to a data type. */
295
- export enum DataTypeRulesVariant {
323
+ export const enum DataTypeRulesVariant {
296
324
  /** The rule checks if a key is present in the data type. */
297
325
  ContainsKey = 'CONTAINS_KEY',
298
326
  /** The rule checks if a specific type is present in the data type. */
299
327
  ContainsType = 'CONTAINS_TYPE',
300
328
  /** The rule checks if the data type matches a specific input type. */
301
- InputType = 'INPUT_TYPE',
329
+ InputTypes = 'INPUT_TYPES',
302
330
  /** The rule checks if an item is part of a collection in the data type. */
303
331
  ItemOfCollection = 'ITEM_OF_COLLECTION',
304
332
  /** The rule checks if a number falls within a specified range. */
@@ -312,7 +340,7 @@ export enum DataTypeRulesVariant {
312
340
  }
313
341
 
314
342
  /** Represent all available types of a datatype */
315
- export enum DataTypeVariant {
343
+ export const enum DataTypeVariant {
316
344
  /** Represents an array */
317
345
  Array = 'ARRAY',
318
346
  /** Represents an data type containing a data type */
@@ -329,6 +357,9 @@ export enum DataTypeVariant {
329
357
  Type = 'TYPE'
330
358
  }
331
359
 
360
+ /** Represents a detailed error with either a message or an active model error */
361
+ export type DetailedError = ActiveModelError | FlowValidationError | MessageError;
362
+
332
363
  /** Autogenerated input type of Echo */
333
364
  export interface EchoInput {
334
365
  /** A unique identifier for the client performing the mutation. */
@@ -349,7 +380,171 @@ export interface EchoPayload {
349
380
  }
350
381
 
351
382
  /** Objects that can present an error */
352
- export type Error = ActiveModelError | MessageError;
383
+ export interface Error {
384
+ __typename?: 'Error';
385
+ /** Detailed validation errors if applicable */
386
+ details?: Maybe<Array<DetailedError>>;
387
+ /** The code representing the error type */
388
+ errorCode?: Maybe<ErrorCodeEnum>;
389
+ }
390
+
391
+ /** Represents the available error responses */
392
+ export const enum ErrorCodeEnum {
393
+ /** This action would remove the last administrative role */
394
+ CannotDeleteLastAdminRole = 'CANNOT_DELETE_LAST_ADMIN_ROLE',
395
+ /** Only administrators can modify admin status of users */
396
+ CannotModifyAdmin = 'CANNOT_MODIFY_ADMIN',
397
+ /** Users cannot modify their own admin status */
398
+ CannotModifyOwnAdmin = 'CANNOT_MODIFY_OWN_ADMIN',
399
+ /** This action would remove the last administrator */
400
+ CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
401
+ /** This action would remove the last administrative ability */
402
+ CannotRemoveLastAdminAbility = 'CANNOT_REMOVE_LAST_ADMIN_ABILITY',
403
+ /** The data type identifier with the given identifier was not found */
404
+ DataTypeIdentifierNotFound = 'DATA_TYPE_IDENTIFIER_NOT_FOUND',
405
+ /** The data type with the given identifier was not found */
406
+ DataTypeNotFound = 'DATA_TYPE_NOT_FOUND',
407
+ /** Failed to send the email verification */
408
+ EmailVerificationSendFailed = 'EMAIL_VERIFICATION_SEND_FAILED',
409
+ /** This external identity does not exist */
410
+ ExternalIdentityDoesNotExist = 'EXTERNAL_IDENTITY_DOES_NOT_EXIST',
411
+ /** The old backup codes could not be deleted */
412
+ FailedToInvalidateOldBackupCodes = 'FAILED_TO_INVALIDATE_OLD_BACKUP_CODES',
413
+ /** Failed to reset the user password */
414
+ FailedToResetPassword = 'FAILED_TO_RESET_PASSWORD',
415
+ /** The new backup codes could not be saved */
416
+ FailedToSaveValidBackupCode = 'FAILED_TO_SAVE_VALID_BACKUP_CODE',
417
+ /** The flow with the given identifier was not found */
418
+ FlowNotFound = 'FLOW_NOT_FOUND',
419
+ /** The flow type with the given identifier was not found */
420
+ FlowTypeNotFound = 'FLOW_TYPE_NOT_FOUND',
421
+ /** The flow validation has failed */
422
+ FlowValidationFailed = 'FLOW_VALIDATION_FAILED',
423
+ /** The given key was not found in the data type */
424
+ GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
425
+ /** The external identity with the given identifier was not found */
426
+ IdentityNotFound = 'IDENTITY_NOT_FOUND',
427
+ /** Failed to validate the external identity */
428
+ IdentityValidationFailed = 'IDENTITY_VALIDATION_FAILED',
429
+ /** Resources are from different namespaces */
430
+ InconsistentNamespace = 'INCONSISTENT_NAMESPACE',
431
+ /** The attachment is invalid because of active model errors */
432
+ InvalidAttachment = 'INVALID_ATTACHMENT',
433
+ /** The data type is invalid because of active model errors */
434
+ InvalidDataType = 'INVALID_DATA_TYPE',
435
+ /** This external identity is invalid */
436
+ InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
437
+ /** The flow is invalid because of active model errors */
438
+ InvalidFlow = 'INVALID_FLOW',
439
+ /** The flow setting is invalid because of active model errors */
440
+ InvalidFlowSetting = 'INVALID_FLOW_SETTING',
441
+ /** The flow type is invalid because of active model errors */
442
+ InvalidFlowType = 'INVALID_FLOW_TYPE',
443
+ /** The generic mapper is invalid because of active model errors */
444
+ InvalidGenericMapper = 'INVALID_GENERIC_MAPPER',
445
+ /** Invalid login data provided */
446
+ InvalidLoginData = 'INVALID_LOGIN_DATA',
447
+ /** The namespace license is invalid because of active model errors */
448
+ InvalidNamespaceLicense = 'INVALID_NAMESPACE_LICENSE',
449
+ /** The namespace member is invalid because of active model errors */
450
+ InvalidNamespaceMember = 'INVALID_NAMESPACE_MEMBER',
451
+ /** The namespace project is invalid because of active model errors */
452
+ InvalidNamespaceProject = 'INVALID_NAMESPACE_PROJECT',
453
+ /** The namespace role is invalid because of active model errors */
454
+ InvalidNamespaceRole = 'INVALID_NAMESPACE_ROLE',
455
+ /** The organization is invalid because of active model errors */
456
+ InvalidOrganization = 'INVALID_ORGANIZATION',
457
+ /** The provided password repeat does not match the password */
458
+ InvalidPasswordRepeat = 'INVALID_PASSWORD_REPEAT',
459
+ /** The runtime is invalid because of active model errors */
460
+ InvalidRuntime = 'INVALID_RUNTIME',
461
+ /** The runtime function definition is invalid */
462
+ InvalidRuntimeFunctionDefinition = 'INVALID_RUNTIME_FUNCTION_DEFINITION',
463
+ /** The runtime function ID is invalid */
464
+ InvalidRuntimeFunctionId = 'INVALID_RUNTIME_FUNCTION_ID',
465
+ /** The runtime parameter definition is invalid */
466
+ InvalidRuntimeParameterDefinition = 'INVALID_RUNTIME_PARAMETER_DEFINITION',
467
+ /** The runtime parameter ID is invalid */
468
+ InvalidRuntimeParameterId = 'INVALID_RUNTIME_PARAMETER_ID',
469
+ /** Invalid setting provided */
470
+ InvalidSetting = 'INVALID_SETTING',
471
+ /** The TOTP secret is invalid or cannot be verified */
472
+ InvalidTotpSecret = 'INVALID_TOTP_SECRET',
473
+ /** The user is invalid because of active model errors */
474
+ InvalidUser = 'INVALID_USER',
475
+ /** The user identity is invalid because of active model errors */
476
+ InvalidUserIdentity = 'INVALID_USER_IDENTITY',
477
+ /** The user session is invalid because of active model errors */
478
+ InvalidUserSession = 'INVALID_USER_SESSION',
479
+ /** Invalid verification code provided */
480
+ InvalidVerificationCode = 'INVALID_VERIFICATION_CODE',
481
+ /** The namespace license with the given identifier was not found */
482
+ LicenseNotFound = 'LICENSE_NOT_FOUND',
483
+ /** Failed to load user identity from external provider */
484
+ LoadingIdentityFailed = 'LOADING_IDENTITY_FAILED',
485
+ /** Invalid MFA data provided */
486
+ MfaFailed = 'MFA_FAILED',
487
+ /** MFA is required */
488
+ MfaRequired = 'MFA_REQUIRED',
489
+ /** The primary runtime has more definitions than this one */
490
+ MissingDefinition = 'MISSING_DEFINITION',
491
+ /** This external identity is missing data */
492
+ MissingIdentityData = 'MISSING_IDENTITY_DATA',
493
+ /** Not all required parameters are present */
494
+ MissingParameter = 'MISSING_PARAMETER',
495
+ /** The user is not permitted to perform this operation */
496
+ MissingPermission = 'MISSING_PERMISSION',
497
+ /** The project is missing a primary runtime */
498
+ MissingPrimaryRuntime = 'MISSING_PRIMARY_RUNTIME',
499
+ /** The namespace member with the given identifier was not found */
500
+ NamespaceMemberNotFound = 'NAMESPACE_MEMBER_NOT_FOUND',
501
+ /** The namespace with the given identifier was not found */
502
+ NamespaceNotFound = 'NAMESPACE_NOT_FOUND',
503
+ /** The namespace project with the given identifier was not found */
504
+ NamespaceProjectNotFound = 'NAMESPACE_PROJECT_NOT_FOUND',
505
+ /** The namespace role with the given identifier was not found */
506
+ NamespaceRoleNotFound = 'NAMESPACE_ROLE_NOT_FOUND',
507
+ /** No data type identifier could be found for the given generic key */
508
+ NoDatatypeIdentifierForGenericKey = 'NO_DATATYPE_IDENTIFIER_FOR_GENERIC_KEY',
509
+ /** No data type could be found for the given identifier */
510
+ NoDataTypeForIdentifier = 'NO_DATA_TYPE_FOR_IDENTIFIER',
511
+ /** There are no free license seats to complete this operation */
512
+ NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
513
+ /** No generic type could be found for the given identifier */
514
+ NoGenericTypeForIdentifier = 'NO_GENERIC_TYPE_FOR_IDENTIFIER',
515
+ /** The project does not have a primary runtime */
516
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
517
+ /** The organization with the given identifier was not found */
518
+ OrganizationNotFound = 'ORGANIZATION_NOT_FOUND',
519
+ /** The primary runtime has a newer definition than this one */
520
+ OutdatedDefinition = 'OUTDATED_DEFINITION',
521
+ /** @deprecated Outdated concept */
522
+ PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
523
+ /** The namespace project with the given identifier was not found */
524
+ ProjectNotFound = 'PROJECT_NOT_FOUND',
525
+ /** A referenced value could not be found */
526
+ ReferencedValueNotFound = 'REFERENCED_VALUE_NOT_FOUND',
527
+ /** Self-registration is disabled */
528
+ RegistrationDisabled = 'REGISTRATION_DISABLED',
529
+ /** Resources are from different runtimes */
530
+ RuntimeMismatch = 'RUNTIME_MISMATCH',
531
+ /** The runtime with the given identifier was not found */
532
+ RuntimeNotFound = 'RUNTIME_NOT_FOUND',
533
+ /** @deprecated Outdated concept */
534
+ SecondaryLevelNotFound = 'SECONDARY_LEVEL_NOT_FOUND',
535
+ /** @deprecated Outdated concept */
536
+ TertiaryLevelExceedsParameters = 'TERTIARY_LEVEL_EXCEEDS_PARAMETERS',
537
+ /** This user already has TOTP set up */
538
+ TotpSecretAlreadySet = 'TOTP_SECRET_ALREADY_SET',
539
+ /** The user is not permitted to modify this field */
540
+ UnmodifiableField = 'UNMODIFIABLE_FIELD',
541
+ /** The user with the given identifier was not found */
542
+ UserNotFound = 'USER_NOT_FOUND',
543
+ /** The user session with the given identifier was not found */
544
+ UserSessionNotFound = 'USER_SESSION_NOT_FOUND',
545
+ /** Invalid TOTP code provided */
546
+ WrongTotp = 'WRONG_TOTP'
547
+ }
353
548
 
354
549
  /** Represents a flow */
355
550
  export interface Flow {
@@ -360,18 +555,22 @@ export interface Flow {
360
555
  id?: Maybe<Scalars['FlowID']['output']>;
361
556
  /** The input data type of the flow */
362
557
  inputType?: Maybe<DataType>;
558
+ /** Name of the flow */
559
+ name?: Maybe<Scalars['String']['output']>;
363
560
  /** Nodes of the flow */
364
561
  nodes?: Maybe<NodeFunctionConnection>;
365
562
  /** The return data type of the flow */
366
563
  returnType?: Maybe<DataType>;
367
564
  /** The settings of the flow */
368
- settings?: Maybe<Array<FlowSetting>>;
565
+ settings?: Maybe<FlowSettingConnection>;
369
566
  /** The ID of the starting node of the flow */
370
567
  startingNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
371
568
  /** The flow type of the flow */
372
569
  type?: Maybe<FlowType>;
373
570
  /** Time when this Flow was last updated */
374
571
  updatedAt?: Maybe<Scalars['Time']['output']>;
572
+ /** Abilities for the current user on this Flow */
573
+ userAbilities?: Maybe<FlowUserAbilities>;
375
574
  }
376
575
 
377
576
 
@@ -383,6 +582,15 @@ export interface FlowNodesArgs {
383
582
  last?: InputMaybe<Scalars['Int']['input']>;
384
583
  }
385
584
 
585
+
586
+ /** Represents a flow */
587
+ export interface FlowSettingsArgs {
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
+
386
594
  /** The connection type for Flow. */
387
595
  export interface FlowConnection {
388
596
  __typename?: 'FlowConnection';
@@ -407,10 +615,14 @@ export interface FlowEdge {
407
615
 
408
616
  /** Input type for creating or updating a flow */
409
617
  export interface FlowInput {
618
+ /** The name of the flow */
619
+ name: Scalars['String']['input'];
620
+ /** The node functions of the flow */
621
+ nodes: Array<NodeFunctionInput>;
410
622
  /** The settings of the flow */
411
623
  settings?: InputMaybe<Array<FlowSettingInput>>;
412
624
  /** The starting node of the flow */
413
- startingNode: NodeFunctionInput;
625
+ startingNodeId: Scalars['NodeFunctionID']['input'];
414
626
  /** The identifier of the flow type */
415
627
  type: Scalars['FlowTypeID']['input'];
416
628
  }
@@ -421,7 +633,7 @@ export interface FlowSetting {
421
633
  /** Time when this FlowSetting was created */
422
634
  createdAt?: Maybe<Scalars['Time']['output']>;
423
635
  /** The identifier of the flow setting */
424
- flowSettingId?: Maybe<Scalars['String']['output']>;
636
+ flowSettingIdentifier?: Maybe<Scalars['String']['output']>;
425
637
  /** Global ID of this FlowSetting */
426
638
  id?: Maybe<Scalars['FlowSettingID']['output']>;
427
639
  /** Time when this FlowSetting was last updated */
@@ -430,27 +642,53 @@ export interface FlowSetting {
430
642
  value?: Maybe<Scalars['JSON']['output']>;
431
643
  }
432
644
 
645
+ /** The connection type for FlowSetting. */
646
+ export interface FlowSettingConnection {
647
+ __typename?: 'FlowSettingConnection';
648
+ /** Total count of collection. */
649
+ count?: Maybe<Scalars['Int']['output']>;
650
+ /** A list of edges. */
651
+ edges?: Maybe<Array<Maybe<FlowSettingEdge>>>;
652
+ /** A list of nodes. */
653
+ nodes?: Maybe<Array<Maybe<FlowSetting>>>;
654
+ /** Information to aid in pagination. */
655
+ pageInfo?: Maybe<PageInfo>;
656
+ }
657
+
658
+ /** An edge in a connection. */
659
+ export interface FlowSettingEdge {
660
+ __typename?: 'FlowSettingEdge';
661
+ /** A cursor for use in pagination. */
662
+ cursor?: Maybe<Scalars['String']['output']>;
663
+ /** The item at the end of the edge. */
664
+ node?: Maybe<FlowSetting>;
665
+ }
666
+
433
667
  /** Input type for flow settings */
434
668
  export interface FlowSettingInput {
435
669
  /** The identifier (not database id) of the flow setting */
436
- flowSettingId: Scalars['String']['input'];
670
+ flowSettingIdentifier: Scalars['String']['input'];
437
671
  /** The value of the flow setting */
438
- object: Scalars['JSON']['input'];
672
+ value: Scalars['JSON']['input'];
439
673
  }
440
674
 
441
675
  /** Represents a flow type */
442
676
  export interface FlowType {
443
677
  __typename?: 'FlowType';
678
+ /** Name of the function */
679
+ aliases?: Maybe<TranslationConnection>;
444
680
  /** Time when this FlowType was created */
445
681
  createdAt?: Maybe<Scalars['Time']['output']>;
446
682
  /** Descriptions of the flow type */
447
683
  descriptions?: Maybe<TranslationConnection>;
684
+ /** Display message of the function */
685
+ displayMessages?: Maybe<TranslationConnection>;
448
686
  /** Editable status of the flow type */
449
687
  editable?: Maybe<Scalars['Boolean']['output']>;
450
688
  /** Flow type settings of the flow type */
451
689
  flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
452
690
  /** Global ID of this FlowType */
453
- id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
691
+ id?: Maybe<Scalars['FlowTypeID']['output']>;
454
692
  /** Identifier of the flow type */
455
693
  identifier?: Maybe<Scalars['String']['output']>;
456
694
  /** Input type of the flow type */
@@ -464,6 +702,15 @@ export interface FlowType {
464
702
  }
465
703
 
466
704
 
705
+ /** Represents a flow type */
706
+ export interface FlowTypeAliasesArgs {
707
+ after?: InputMaybe<Scalars['String']['input']>;
708
+ before?: InputMaybe<Scalars['String']['input']>;
709
+ first?: InputMaybe<Scalars['Int']['input']>;
710
+ last?: InputMaybe<Scalars['Int']['input']>;
711
+ }
712
+
713
+
467
714
  /** Represents a flow type */
468
715
  export interface FlowTypeDescriptionsArgs {
469
716
  after?: InputMaybe<Scalars['String']['input']>;
@@ -473,6 +720,15 @@ export interface FlowTypeDescriptionsArgs {
473
720
  }
474
721
 
475
722
 
723
+ /** Represents a flow type */
724
+ export interface FlowTypeDisplayMessagesArgs {
725
+ after?: InputMaybe<Scalars['String']['input']>;
726
+ before?: InputMaybe<Scalars['String']['input']>;
727
+ first?: InputMaybe<Scalars['Int']['input']>;
728
+ last?: InputMaybe<Scalars['Int']['input']>;
729
+ }
730
+
731
+
476
732
  /** Represents a flow type */
477
733
  export interface FlowTypeNamesArgs {
478
734
  after?: InputMaybe<Scalars['String']['input']>;
@@ -544,21 +800,77 @@ export interface FlowTypeSettingNamesArgs {
544
800
  last?: InputMaybe<Scalars['Int']['input']>;
545
801
  }
546
802
 
803
+ /** Abilities for the current user on this Flow */
804
+ export interface FlowUserAbilities {
805
+ __typename?: 'FlowUserAbilities';
806
+ /** Shows if the current user has the `delete_flow` ability on this Flow */
807
+ deleteFlow?: Maybe<Scalars['Boolean']['output']>;
808
+ }
809
+
810
+ /** Represents a flow validation error */
811
+ export interface FlowValidationError {
812
+ __typename?: 'FlowValidationError';
813
+ /** Additional details about the validation error */
814
+ details?: Maybe<ActiveModelError>;
815
+ /** The code representing the validation error type */
816
+ errorCode?: Maybe<FlowValidationErrorCodeEnum>;
817
+ /** The severity of the validation error */
818
+ severity?: Maybe<FlowValidationSeverityEnum>;
819
+ }
820
+
821
+ /** Represents the available error responses */
822
+ export const enum FlowValidationErrorCodeEnum {
823
+ /** The generic key for the data type identifier was not found. */
824
+ DataTypeIdentifierGenericKeyNotFound = 'DATA_TYPE_IDENTIFIER_GENERIC_KEY_NOT_FOUND',
825
+ /** The data type identifier runtime does not match the flow type runtime. */
826
+ DataTypeIdentifierRuntimeMismatch = 'DATA_TYPE_IDENTIFIER_RUNTIME_MISMATCH',
827
+ /** The data type rule model is invalid. */
828
+ DataTypeRuleModelInvalid = 'DATA_TYPE_RULE_MODEL_INVALID',
829
+ /** The data type runtime does not match the flow type runtime. */
830
+ DataTypeRuntimeMismatch = 'DATA_TYPE_RUNTIME_MISMATCH',
831
+ /** The flow setting model is invalid. */
832
+ FlowSettingModelInvalid = 'FLOW_SETTING_MODEL_INVALID',
833
+ /** The flow type runtime does not match the project primary runtime. */
834
+ FlowTypeRuntimeMismatch = 'FLOW_TYPE_RUNTIME_MISMATCH',
835
+ /** The node function runtime does not match the project primary runtime. */
836
+ NodeFunctionRuntimeMismatch = 'NODE_FUNCTION_RUNTIME_MISMATCH',
837
+ /** The project does not have a primary runtime set. */
838
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME'
839
+ }
840
+
841
+ /** Represents the severity of a flow validation error */
842
+ export const enum FlowValidationSeverityEnum {
843
+ /** A blocking validation error */
844
+ Error = 'ERROR',
845
+ /** A minor typographical issue can also be blocking */
846
+ Typo = 'TYPO',
847
+ /** A non-blocking validation warning */
848
+ Warning = 'WARNING',
849
+ /** A weak validation issue that may not need to be addressed */
850
+ Weak = 'WEAK'
851
+ }
852
+
547
853
  /** Represents a function definition */
548
854
  export interface FunctionDefinition {
549
855
  __typename?: 'FunctionDefinition';
856
+ /** Name of the function */
857
+ aliases?: Maybe<TranslationConnection>;
550
858
  /** Time when this FunctionDefinition was created */
551
859
  createdAt?: Maybe<Scalars['Time']['output']>;
552
860
  /** Deprecation message of the function */
553
861
  deprecationMessages?: Maybe<TranslationConnection>;
554
862
  /** Description of the function */
555
863
  descriptions?: Maybe<TranslationConnection>;
864
+ /** Display message of the function */
865
+ displayMessages?: Maybe<TranslationConnection>;
556
866
  /** Documentation of the function */
557
867
  documentations?: Maybe<TranslationConnection>;
558
868
  /** Generic keys of the function */
559
869
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
560
870
  /** Global ID of this FunctionDefinition */
561
871
  id?: Maybe<Scalars['FunctionDefinitionID']['output']>;
872
+ /** Identifier of the function */
873
+ identifier?: Maybe<Scalars['String']['output']>;
562
874
  /** Name of the function */
563
875
  names?: Maybe<TranslationConnection>;
564
876
  /** Parameters of the function */
@@ -574,6 +886,15 @@ export interface FunctionDefinition {
574
886
  }
575
887
 
576
888
 
889
+ /** Represents a function definition */
890
+ export interface FunctionDefinitionAliasesArgs {
891
+ after?: InputMaybe<Scalars['String']['input']>;
892
+ before?: InputMaybe<Scalars['String']['input']>;
893
+ first?: InputMaybe<Scalars['Int']['input']>;
894
+ last?: InputMaybe<Scalars['Int']['input']>;
895
+ }
896
+
897
+
577
898
  /** Represents a function definition */
578
899
  export interface FunctionDefinitionDeprecationMessagesArgs {
579
900
  after?: InputMaybe<Scalars['String']['input']>;
@@ -592,6 +913,15 @@ export interface FunctionDefinitionDescriptionsArgs {
592
913
  }
593
914
 
594
915
 
916
+ /** Represents a function definition */
917
+ export interface FunctionDefinitionDisplayMessagesArgs {
918
+ after?: InputMaybe<Scalars['String']['input']>;
919
+ before?: InputMaybe<Scalars['String']['input']>;
920
+ first?: InputMaybe<Scalars['Int']['input']>;
921
+ last?: InputMaybe<Scalars['Int']['input']>;
922
+ }
923
+
924
+
595
925
  /** Represents a function definition */
596
926
  export interface FunctionDefinitionDocumentationsArgs {
597
927
  after?: InputMaybe<Scalars['String']['input']>;
@@ -656,7 +986,7 @@ export interface GenericCombinationStrategy {
656
986
  }
657
987
 
658
988
  /** The available combination strategy types. */
659
- export enum GenericCombinationStrategyType {
989
+ export const enum GenericCombinationStrategyType {
660
990
  /** Represents a logical AND combination. */
661
991
  And = 'AND',
662
992
  /** Represents a logical OR combination. */
@@ -673,7 +1003,7 @@ export interface GenericMapper {
673
1003
  /** Global ID of this GenericMapper */
674
1004
  id?: Maybe<Scalars['GenericMapperID']['output']>;
675
1005
  /** The source data type identifier. */
676
- sources?: Maybe<Array<DataTypeIdentifier>>;
1006
+ sourceDataTypeIdentifiers?: Maybe<Array<DataTypeIdentifier>>;
677
1007
  /** The target key for the generic value. */
678
1008
  target?: Maybe<Scalars['String']['output']>;
679
1009
  /** Time when this GenericMapper was last updated */
@@ -683,7 +1013,7 @@ export interface GenericMapper {
683
1013
  /** Input type for generic mappers */
684
1014
  export interface GenericMapperInput {
685
1015
  /** The source data type identifier for the mapper */
686
- sources: Array<DataTypeIdentifierInput>;
1016
+ sourceDataTypeIdentifiers: Array<DataTypeIdentifierInput>;
687
1017
  /** The target data type identifier for the mapper */
688
1018
  target: Scalars['String']['input'];
689
1019
  }
@@ -717,6 +1047,23 @@ export interface IdentityInput {
717
1047
  code?: InputMaybe<Scalars['String']['input']>;
718
1048
  }
719
1049
 
1050
+ /** Abilities for the current user on this Instance */
1051
+ export interface InstanceUserAbilities {
1052
+ __typename?: 'InstanceUserAbilities';
1053
+ /** Shows if the current user has the `create_organization` ability on this Instance */
1054
+ createOrganization?: Maybe<Scalars['Boolean']['output']>;
1055
+ /** Shows if the current user has the `create_runtime` ability on this Instance */
1056
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
1057
+ /** Shows if the current user has the `delete_runtime` ability on this Instance */
1058
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
1059
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Instance */
1060
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
1061
+ /** Shows if the current user has the `update_application_setting` ability on this Instance */
1062
+ updateApplicationSetting?: Maybe<Scalars['Boolean']['output']>;
1063
+ /** Shows if the current user has the `update_runtime` ability on this Instance */
1064
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
1065
+ }
1066
+
720
1067
  /** Represents a literal value, such as a string or number. */
721
1068
  export interface LiteralValue {
722
1069
  __typename?: 'LiteralValue';
@@ -735,6 +1082,15 @@ export interface MessageError {
735
1082
  message?: Maybe<Scalars['String']['output']>;
736
1083
  }
737
1084
 
1085
+ /** Application metadata */
1086
+ export interface Metadata {
1087
+ __typename?: 'Metadata';
1088
+ /** List of loaded extensions */
1089
+ extensions?: Maybe<Array<Scalars['String']['output']>>;
1090
+ /** Application version */
1091
+ version?: Maybe<Scalars['String']['output']>;
1092
+ }
1093
+
738
1094
  /** Represents the input for mfa authentication */
739
1095
  export interface MfaInput {
740
1096
  /** The type of the mfa authentication */
@@ -744,7 +1100,7 @@ export interface MfaInput {
744
1100
  }
745
1101
 
746
1102
  /** Represent all available types to authenticate with mfa */
747
- export enum MfaType {
1103
+ export const enum MfaType {
748
1104
  /** Single use backup code */
749
1105
  BackupCode = 'BACKUP_CODE',
750
1106
  /** Time based onetime password */
@@ -764,9 +1120,9 @@ export interface Mutation {
764
1120
  *
765
1121
  */
766
1122
  echo?: Maybe<EchoPayload>;
767
- /** Create a new namespace license. */
1123
+ /** (EE only) Create a new namespace license. */
768
1124
  namespacesLicensesCreate?: Maybe<NamespacesLicensesCreatePayload>;
769
- /** Deletes an namespace license. */
1125
+ /** (EE only) Deletes an namespace license. */
770
1126
  namespacesLicensesDelete?: Maybe<NamespacesLicensesDeletePayload>;
771
1127
  /** Update the roles a member is assigned to. */
772
1128
  namespacesMembersAssignRoles?: Maybe<NamespacesMembersAssignRolesPayload>;
@@ -810,6 +1166,10 @@ export interface Mutation {
810
1166
  runtimesRotateToken?: Maybe<RuntimesRotateTokenPayload>;
811
1167
  /** Update an existing runtime. */
812
1168
  runtimesUpdate?: Maybe<RuntimesUpdatePayload>;
1169
+ /** Admin-create a user. */
1170
+ usersCreate?: Maybe<UsersCreatePayload>;
1171
+ /** Delete an existing user. */
1172
+ usersDelete?: Maybe<UsersDeletePayload>;
813
1173
  /** Verify your email when changing it or signing up */
814
1174
  usersEmailVerification?: Maybe<UsersEmailVerificationPayload>;
815
1175
  /** Links an external identity to an existing user */
@@ -830,6 +1190,10 @@ export interface Mutation {
830
1190
  usersMfaTotpGenerateSecret?: Maybe<UsersMfaTotpGenerateSecretPayload>;
831
1191
  /** Validates a TOTP value for the given secret and enables TOTP MFA for the user */
832
1192
  usersMfaTotpValidateSecret?: Maybe<UsersMfaTotpValidateSecretPayload>;
1193
+ /** Reset the password using a reset token */
1194
+ usersPasswordReset?: Maybe<UsersPasswordResetPayload>;
1195
+ /** Request an password reset */
1196
+ usersPasswordResetRequest?: Maybe<UsersPasswordResetRequestPayload>;
833
1197
  /** Register a new user */
834
1198
  usersRegister?: Maybe<UsersRegisterPayload>;
835
1199
  /** Update an existing user. */
@@ -987,6 +1351,18 @@ export interface MutationRuntimesUpdateArgs {
987
1351
  }
988
1352
 
989
1353
 
1354
+ /** Root Mutation type */
1355
+ export interface MutationUsersCreateArgs {
1356
+ input: UsersCreateInput;
1357
+ }
1358
+
1359
+
1360
+ /** Root Mutation type */
1361
+ export interface MutationUsersDeleteArgs {
1362
+ input: UsersDeleteInput;
1363
+ }
1364
+
1365
+
990
1366
  /** Root Mutation type */
991
1367
  export interface MutationUsersEmailVerificationArgs {
992
1368
  input: UsersEmailVerificationInput;
@@ -1047,6 +1423,18 @@ export interface MutationUsersMfaTotpValidateSecretArgs {
1047
1423
  }
1048
1424
 
1049
1425
 
1426
+ /** Root Mutation type */
1427
+ export interface MutationUsersPasswordResetArgs {
1428
+ input: UsersPasswordResetInput;
1429
+ }
1430
+
1431
+
1432
+ /** Root Mutation type */
1433
+ export interface MutationUsersPasswordResetRequestArgs {
1434
+ input: UsersPasswordResetRequestInput;
1435
+ }
1436
+
1437
+
1050
1438
  /** Root Mutation type */
1051
1439
  export interface MutationUsersRegisterArgs {
1052
1440
  input: UsersRegisterInput;
@@ -1063,11 +1451,13 @@ export interface Namespace {
1063
1451
  __typename?: 'Namespace';
1064
1452
  /** Time when this Namespace was created */
1065
1453
  createdAt?: Maybe<Scalars['Time']['output']>;
1454
+ /** (EE only) Currently active license of the namespace */
1455
+ currentNamespaceLicense?: Maybe<NamespaceLicense>;
1066
1456
  /** Global ID of this Namespace */
1067
1457
  id?: Maybe<Scalars['NamespaceID']['output']>;
1068
1458
  /** Members of the namespace */
1069
1459
  members?: Maybe<NamespaceMemberConnection>;
1070
- /** Licenses of the namespace */
1460
+ /** (EE only) Licenses of the namespace */
1071
1461
  namespaceLicenses?: Maybe<NamespaceLicenseConnection>;
1072
1462
  /** Parent of this namespace */
1073
1463
  parent?: Maybe<NamespaceParent>;
@@ -1079,6 +1469,8 @@ export interface Namespace {
1079
1469
  runtimes?: Maybe<RuntimeConnection>;
1080
1470
  /** Time when this Namespace was last updated */
1081
1471
  updatedAt?: Maybe<Scalars['Time']['output']>;
1472
+ /** Abilities for the current user on this Namespace */
1473
+ userAbilities?: Maybe<NamespaceUserAbilities>;
1082
1474
  }
1083
1475
 
1084
1476
 
@@ -1126,17 +1518,25 @@ export interface NamespaceRuntimesArgs {
1126
1518
  last?: InputMaybe<Scalars['Int']['input']>;
1127
1519
  }
1128
1520
 
1129
- /** Represents a Namespace License */
1521
+ /** (EE only) Represents a Namespace License */
1130
1522
  export interface NamespaceLicense {
1131
1523
  __typename?: 'NamespaceLicense';
1132
1524
  /** Time when this NamespaceLicense was created */
1133
1525
  createdAt?: Maybe<Scalars['Time']['output']>;
1526
+ /** The end date of the license */
1527
+ endDate?: Maybe<Scalars['Time']['output']>;
1134
1528
  /** Global ID of this NamespaceLicense */
1135
1529
  id?: Maybe<Scalars['NamespaceLicenseID']['output']>;
1530
+ /** The licensee information */
1531
+ licensee?: Maybe<Scalars['JSON']['output']>;
1136
1532
  /** The namespace the license belongs to */
1137
1533
  namespace?: Maybe<Namespace>;
1534
+ /** The start date of the license */
1535
+ startDate?: Maybe<Scalars['Time']['output']>;
1138
1536
  /** Time when this NamespaceLicense was last updated */
1139
1537
  updatedAt?: Maybe<Scalars['Time']['output']>;
1538
+ /** Abilities for the current user on this NamespaceLicense */
1539
+ userAbilities?: Maybe<NamespaceLicenseUserAbilities>;
1140
1540
  }
1141
1541
 
1142
1542
  /** The connection type for NamespaceLicense. */
@@ -1161,6 +1561,13 @@ export interface NamespaceLicenseEdge {
1161
1561
  node?: Maybe<NamespaceLicense>;
1162
1562
  }
1163
1563
 
1564
+ /** Abilities for the current user on this NamespaceLicense */
1565
+ export interface NamespaceLicenseUserAbilities {
1566
+ __typename?: 'NamespaceLicenseUserAbilities';
1567
+ /** Shows if the current user has the `delete_namespace_license` ability on this NamespaceLicense */
1568
+ deleteNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1569
+ }
1570
+
1164
1571
  /** Represents a namespace member */
1165
1572
  export interface NamespaceMember {
1166
1573
  __typename?: 'NamespaceMember';
@@ -1168,12 +1575,36 @@ export interface NamespaceMember {
1168
1575
  createdAt?: Maybe<Scalars['Time']['output']>;
1169
1576
  /** Global ID of this NamespaceMember */
1170
1577
  id?: Maybe<Scalars['NamespaceMemberID']['output']>;
1578
+ /** Memberroles of the member */
1579
+ memberRoles?: Maybe<NamespaceMemberRoleConnection>;
1171
1580
  /** Namespace this member belongs to */
1172
1581
  namespace?: Maybe<Namespace>;
1582
+ /** Roles of the member */
1583
+ roles?: Maybe<NamespaceRoleConnection>;
1173
1584
  /** Time when this NamespaceMember was last updated */
1174
1585
  updatedAt?: Maybe<Scalars['Time']['output']>;
1175
1586
  /** User this member belongs to */
1176
1587
  user?: Maybe<User>;
1588
+ /** Abilities for the current user on this NamespaceMember */
1589
+ userAbilities?: Maybe<NamespaceMemberUserAbilities>;
1590
+ }
1591
+
1592
+
1593
+ /** Represents a namespace member */
1594
+ export interface NamespaceMemberMemberRolesArgs {
1595
+ after?: InputMaybe<Scalars['String']['input']>;
1596
+ before?: InputMaybe<Scalars['String']['input']>;
1597
+ first?: InputMaybe<Scalars['Int']['input']>;
1598
+ last?: InputMaybe<Scalars['Int']['input']>;
1599
+ }
1600
+
1601
+
1602
+ /** Represents a namespace member */
1603
+ export interface NamespaceMemberRolesArgs {
1604
+ after?: InputMaybe<Scalars['String']['input']>;
1605
+ before?: InputMaybe<Scalars['String']['input']>;
1606
+ first?: InputMaybe<Scalars['Int']['input']>;
1607
+ last?: InputMaybe<Scalars['Int']['input']>;
1177
1608
  }
1178
1609
 
1179
1610
  /** The connection type for NamespaceMember. */
@@ -1213,8 +1644,39 @@ export interface NamespaceMemberRole {
1213
1644
  updatedAt?: Maybe<Scalars['Time']['output']>;
1214
1645
  }
1215
1646
 
1647
+ /** The connection type for NamespaceMemberRole. */
1648
+ export interface NamespaceMemberRoleConnection {
1649
+ __typename?: 'NamespaceMemberRoleConnection';
1650
+ /** Total count of collection. */
1651
+ count?: Maybe<Scalars['Int']['output']>;
1652
+ /** A list of edges. */
1653
+ edges?: Maybe<Array<Maybe<NamespaceMemberRoleEdge>>>;
1654
+ /** A list of nodes. */
1655
+ nodes?: Maybe<Array<Maybe<NamespaceMemberRole>>>;
1656
+ /** Information to aid in pagination. */
1657
+ pageInfo?: Maybe<PageInfo>;
1658
+ }
1659
+
1660
+ /** An edge in a connection. */
1661
+ export interface NamespaceMemberRoleEdge {
1662
+ __typename?: 'NamespaceMemberRoleEdge';
1663
+ /** A cursor for use in pagination. */
1664
+ cursor?: Maybe<Scalars['String']['output']>;
1665
+ /** The item at the end of the edge. */
1666
+ node?: Maybe<NamespaceMemberRole>;
1667
+ }
1668
+
1669
+ /** Abilities for the current user on this NamespaceMember */
1670
+ export interface NamespaceMemberUserAbilities {
1671
+ __typename?: 'NamespaceMemberUserAbilities';
1672
+ /** Shows if the current user has the `assign_member_roles` ability on this NamespaceMember */
1673
+ assignMemberRoles?: Maybe<Scalars['Boolean']['output']>;
1674
+ /** Shows if the current user has the `delete_member` ability on this NamespaceMember */
1675
+ deleteMember?: Maybe<Scalars['Boolean']['output']>;
1676
+ }
1677
+
1216
1678
  /** Objects that can present a namespace */
1217
- export type NamespaceParent = Organization;
1679
+ export type NamespaceParent = Organization | User;
1218
1680
 
1219
1681
  /** Represents a namespace project */
1220
1682
  export interface NamespaceProject {
@@ -1235,10 +1697,14 @@ export interface NamespaceProject {
1235
1697
  namespace?: Maybe<Namespace>;
1236
1698
  /** The primary runtime for the project */
1237
1699
  primaryRuntime?: Maybe<Runtime>;
1700
+ /** Roles assigned to this project */
1701
+ roles?: Maybe<NamespaceRoleConnection>;
1238
1702
  /** Runtimes assigned to this project */
1239
1703
  runtimes?: Maybe<RuntimeConnection>;
1240
1704
  /** Time when this NamespaceProject was last updated */
1241
1705
  updatedAt?: Maybe<Scalars['Time']['output']>;
1706
+ /** Abilities for the current user on this NamespaceProject */
1707
+ userAbilities?: Maybe<NamespaceProjectUserAbilities>;
1242
1708
  }
1243
1709
 
1244
1710
 
@@ -1257,6 +1723,15 @@ export interface NamespaceProjectFlowsArgs {
1257
1723
  }
1258
1724
 
1259
1725
 
1726
+ /** Represents a namespace project */
1727
+ export interface NamespaceProjectRolesArgs {
1728
+ after?: InputMaybe<Scalars['String']['input']>;
1729
+ before?: InputMaybe<Scalars['String']['input']>;
1730
+ first?: InputMaybe<Scalars['Int']['input']>;
1731
+ last?: InputMaybe<Scalars['Int']['input']>;
1732
+ }
1733
+
1734
+
1260
1735
  /** Represents a namespace project */
1261
1736
  export interface NamespaceProjectRuntimesArgs {
1262
1737
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1287,6 +1762,19 @@ export interface NamespaceProjectEdge {
1287
1762
  node?: Maybe<NamespaceProject>;
1288
1763
  }
1289
1764
 
1765
+ /** Abilities for the current user on this NamespaceProject */
1766
+ export interface NamespaceProjectUserAbilities {
1767
+ __typename?: 'NamespaceProjectUserAbilities';
1768
+ /** Shows if the current user has the `assign_project_runtimes` ability on this NamespaceProject */
1769
+ assignProjectRuntimes?: Maybe<Scalars['Boolean']['output']>;
1770
+ /** Shows if the current user has the `create_flow` ability on this NamespaceProject */
1771
+ createFlow?: Maybe<Scalars['Boolean']['output']>;
1772
+ /** Shows if the current user has the `delete_namespace_project` ability on this NamespaceProject */
1773
+ deleteNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1774
+ /** Shows if the current user has the `update_namespace_project` ability on this NamespaceProject */
1775
+ updateNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1776
+ }
1777
+
1290
1778
  /** Represents a namespace role. */
1291
1779
  export interface NamespaceRole {
1292
1780
  __typename?: 'NamespaceRole';
@@ -1298,12 +1786,16 @@ export interface NamespaceRole {
1298
1786
  createdAt?: Maybe<Scalars['Time']['output']>;
1299
1787
  /** Global ID of this NamespaceRole */
1300
1788
  id?: Maybe<Scalars['NamespaceRoleID']['output']>;
1789
+ /** The members this role is assigned to */
1790
+ members?: Maybe<NamespaceMemberConnection>;
1301
1791
  /** The name of this role */
1302
1792
  name?: Maybe<Scalars['String']['output']>;
1303
1793
  /** The namespace where this role belongs to */
1304
1794
  namespace?: Maybe<Namespace>;
1305
1795
  /** Time when this NamespaceRole was last updated */
1306
1796
  updatedAt?: Maybe<Scalars['Time']['output']>;
1797
+ /** Abilities for the current user on this NamespaceRole */
1798
+ userAbilities?: Maybe<NamespaceRoleUserAbilities>;
1307
1799
  }
1308
1800
 
1309
1801
 
@@ -1315,8 +1807,17 @@ export interface NamespaceRoleAssignedProjectsArgs {
1315
1807
  last?: InputMaybe<Scalars['Int']['input']>;
1316
1808
  }
1317
1809
 
1810
+
1811
+ /** Represents a namespace role. */
1812
+ export interface NamespaceRoleMembersArgs {
1813
+ after?: InputMaybe<Scalars['String']['input']>;
1814
+ before?: InputMaybe<Scalars['String']['input']>;
1815
+ first?: InputMaybe<Scalars['Int']['input']>;
1816
+ last?: InputMaybe<Scalars['Int']['input']>;
1817
+ }
1818
+
1318
1819
  /** Represents abilities that can be granted to roles in namespaces. */
1319
- export enum NamespaceRoleAbility {
1820
+ export const enum NamespaceRoleAbility {
1320
1821
  /** Allows to change the roles of a namespace member */
1321
1822
  AssignMemberRoles = 'ASSIGN_MEMBER_ROLES',
1322
1823
  /** Allows to assign runtimes to a project in the namespace */
@@ -1326,7 +1827,7 @@ export enum NamespaceRoleAbility {
1326
1827
  /** Allows to change the assigned projects of a namespace role */
1327
1828
  AssignRoleProjects = 'ASSIGN_ROLE_PROJECTS',
1328
1829
  /** Allows to create flows in a namespace project */
1329
- CreateFlows = 'CREATE_FLOWS',
1830
+ CreateFlow = 'CREATE_FLOW',
1330
1831
  /** Allows to create a license for the namespace */
1331
1832
  CreateNamespaceLicense = 'CREATE_NAMESPACE_LICENSE',
1332
1833
  /** Allows to create a project in the namespace */
@@ -1336,7 +1837,7 @@ export enum NamespaceRoleAbility {
1336
1837
  /** Allows to create a runtime globally or for the namespace */
1337
1838
  CreateRuntime = 'CREATE_RUNTIME',
1338
1839
  /** Allows to delete flows in a namespace project */
1339
- DeleteFlows = 'DELETE_FLOWS',
1840
+ DeleteFlow = 'DELETE_FLOW',
1340
1841
  /** Allows to remove members of a namespace */
1341
1842
  DeleteMember = 'DELETE_MEMBER',
1342
1843
  /** Allows to delete the license of the namespace */
@@ -1360,7 +1861,7 @@ export enum NamespaceRoleAbility {
1360
1861
  /** Allows to regenerate a runtime token */
1361
1862
  RotateRuntimeToken = 'ROTATE_RUNTIME_TOKEN',
1362
1863
  /** Allows to update flows in the project */
1363
- UpdateFlows = 'UPDATE_FLOWS',
1864
+ UpdateFlow = 'UPDATE_FLOW',
1364
1865
  /** Allows to update the project of the namespace */
1365
1866
  UpdateNamespaceProject = 'UPDATE_NAMESPACE_PROJECT',
1366
1867
  /** Allows to update the namespace role */
@@ -1393,6 +1894,34 @@ export interface NamespaceRoleEdge {
1393
1894
  node?: Maybe<NamespaceRole>;
1394
1895
  }
1395
1896
 
1897
+ /** Abilities for the current user on this NamespaceRole */
1898
+ export interface NamespaceRoleUserAbilities {
1899
+ __typename?: 'NamespaceRoleUserAbilities';
1900
+ /** Shows if the current user has the `assign_role_abilities` ability on this NamespaceRole */
1901
+ assignRoleAbilities?: Maybe<Scalars['Boolean']['output']>;
1902
+ /** Shows if the current user has the `assign_role_projects` ability on this NamespaceRole */
1903
+ assignRoleProjects?: Maybe<Scalars['Boolean']['output']>;
1904
+ /** Shows if the current user has the `delete_namespace_role` ability on this NamespaceRole */
1905
+ deleteNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1906
+ /** Shows if the current user has the `update_namespace_role` ability on this NamespaceRole */
1907
+ updateNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1908
+ }
1909
+
1910
+ /** Abilities for the current user on this Namespace */
1911
+ export interface NamespaceUserAbilities {
1912
+ __typename?: 'NamespaceUserAbilities';
1913
+ /** Shows if the current user has the `create_namespace_license` ability on this Namespace */
1914
+ createNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1915
+ /** Shows if the current user has the `create_namespace_project` ability on this Namespace */
1916
+ createNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1917
+ /** Shows if the current user has the `create_namespace_role` ability on this Namespace */
1918
+ createNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
1919
+ /** Shows if the current user has the `create_runtime` ability on this Namespace */
1920
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
1921
+ /** Shows if the current user has the `invite_member` ability on this Namespace */
1922
+ inviteMember?: Maybe<Scalars['Boolean']['output']>;
1923
+ }
1924
+
1396
1925
  /** Autogenerated input type of NamespacesLicensesCreate */
1397
1926
  export interface NamespacesLicensesCreateInput {
1398
1927
  /** A unique identifier for the client performing the mutation. */
@@ -1736,14 +2265,14 @@ export interface NodeFunction {
1736
2265
  __typename?: 'NodeFunction';
1737
2266
  /** Time when this NodeFunction was created */
1738
2267
  createdAt?: Maybe<Scalars['Time']['output']>;
2268
+ /** The definition of the Node Function */
2269
+ functionDefinition?: Maybe<FunctionDefinition>;
1739
2270
  /** Global ID of this NodeFunction */
1740
2271
  id?: Maybe<Scalars['NodeFunctionID']['output']>;
1741
2272
  /** The ID of the next Node Function in the flow */
1742
2273
  nextNodeId?: Maybe<Scalars['NodeFunctionID']['output']>;
1743
2274
  /** The parameters of the Node Function */
1744
2275
  parameters?: Maybe<NodeParameterConnection>;
1745
- /** The definition of the Node Function */
1746
- runtimeFunction?: Maybe<RuntimeFunctionDefinition>;
1747
2276
  /** Time when this NodeFunction was last updated */
1748
2277
  updatedAt?: Maybe<Scalars['Time']['output']>;
1749
2278
  }
@@ -1781,8 +2310,10 @@ export interface NodeFunctionEdge {
1781
2310
 
1782
2311
  /** Input type for a Node Function */
1783
2312
  export interface NodeFunctionInput {
2313
+ /** The identifier of the Node Function used to create/update the flow */
2314
+ id: Scalars['NodeFunctionID']['input'];
1784
2315
  /** The next Node Function in the flow */
1785
- nextNode?: InputMaybe<NodeFunctionInput>;
2316
+ nextNodeId?: InputMaybe<Scalars['NodeFunctionID']['input']>;
1786
2317
  /** The parameters of the Node Function */
1787
2318
  parameters: Array<NodeParameterInput>;
1788
2319
  /** The identifier of the Runtime Function Definition */
@@ -1860,6 +2391,39 @@ export interface Organization {
1860
2391
  namespace?: Maybe<Namespace>;
1861
2392
  /** Time when this Organization was last updated */
1862
2393
  updatedAt?: Maybe<Scalars['Time']['output']>;
2394
+ /** Abilities for the current user on this Organization */
2395
+ userAbilities?: Maybe<OrganizationUserAbilities>;
2396
+ }
2397
+
2398
+ /** The connection type for Organization. */
2399
+ export interface OrganizationConnection {
2400
+ __typename?: 'OrganizationConnection';
2401
+ /** Total count of collection. */
2402
+ count?: Maybe<Scalars['Int']['output']>;
2403
+ /** A list of edges. */
2404
+ edges?: Maybe<Array<Maybe<OrganizationEdge>>>;
2405
+ /** A list of nodes. */
2406
+ nodes?: Maybe<Array<Maybe<Organization>>>;
2407
+ /** Information to aid in pagination. */
2408
+ pageInfo?: Maybe<PageInfo>;
2409
+ }
2410
+
2411
+ /** An edge in a connection. */
2412
+ export interface OrganizationEdge {
2413
+ __typename?: 'OrganizationEdge';
2414
+ /** A cursor for use in pagination. */
2415
+ cursor?: Maybe<Scalars['String']['output']>;
2416
+ /** The item at the end of the edge. */
2417
+ node?: Maybe<Organization>;
2418
+ }
2419
+
2420
+ /** Abilities for the current user on this Organization */
2421
+ export interface OrganizationUserAbilities {
2422
+ __typename?: 'OrganizationUserAbilities';
2423
+ /** Shows if the current user has the `delete_organization` ability on this Organization */
2424
+ deleteOrganization?: Maybe<Scalars['Boolean']['output']>;
2425
+ /** Shows if the current user has the `update_organization` ability on this Organization */
2426
+ updateOrganization?: Maybe<Scalars['Boolean']['output']>;
1863
2427
  }
1864
2428
 
1865
2429
  /** Autogenerated input type of OrganizationsCreate */
@@ -1940,13 +2504,15 @@ export interface ParameterDefinition {
1940
2504
  /** Time when this ParameterDefinition was created */
1941
2505
  createdAt?: Maybe<Scalars['Time']['output']>;
1942
2506
  /** Data type of the parameter */
1943
- dataType?: Maybe<DataTypeIdentifier>;
2507
+ dataTypeIdentifier?: Maybe<DataTypeIdentifier>;
1944
2508
  /** Description of the parameter */
1945
2509
  descriptions?: Maybe<TranslationConnection>;
1946
2510
  /** Documentation of the parameter */
1947
2511
  documentations?: Maybe<TranslationConnection>;
1948
2512
  /** Global ID of this ParameterDefinition */
1949
2513
  id?: Maybe<Scalars['ParameterDefinitionID']['output']>;
2514
+ /** Identifier of the parameter */
2515
+ identifier?: Maybe<Scalars['String']['output']>;
1950
2516
  /** Name of the parameter */
1951
2517
  names?: Maybe<TranslationConnection>;
1952
2518
  /** Time when this ParameterDefinition was last updated */
@@ -2005,8 +2571,8 @@ export interface ParameterDefinitionEdge {
2005
2571
  /** Root Query type */
2006
2572
  export interface Query {
2007
2573
  __typename?: 'Query';
2008
- /** Get global application settings */
2009
- applicationSettings?: Maybe<ApplicationSettings>;
2574
+ /** Get application information */
2575
+ application?: Maybe<Application>;
2010
2576
  /** Get the currently logged in authentication */
2011
2577
  currentAuthentication?: Maybe<Authentication>;
2012
2578
  /** Get the currently logged in user */
@@ -2023,6 +2589,12 @@ export interface Query {
2023
2589
  nodes?: Maybe<Array<Maybe<Node>>>;
2024
2590
  /** Find a organization */
2025
2591
  organization?: Maybe<Organization>;
2592
+ /** Find organizations */
2593
+ organizations?: Maybe<OrganizationConnection>;
2594
+ /** Find a user */
2595
+ user?: Maybe<User>;
2596
+ /** Abilities for the current user on this Instance */
2597
+ userAbilities?: Maybe<InstanceUserAbilities>;
2026
2598
  /** Find users */
2027
2599
  users?: Maybe<UserConnection>;
2028
2600
  }
@@ -2068,6 +2640,21 @@ export interface QueryOrganizationArgs {
2068
2640
  }
2069
2641
 
2070
2642
 
2643
+ /** Root Query type */
2644
+ export interface QueryOrganizationsArgs {
2645
+ after?: InputMaybe<Scalars['String']['input']>;
2646
+ before?: InputMaybe<Scalars['String']['input']>;
2647
+ first?: InputMaybe<Scalars['Int']['input']>;
2648
+ last?: InputMaybe<Scalars['Int']['input']>;
2649
+ }
2650
+
2651
+
2652
+ /** Root Query type */
2653
+ export interface QueryUserArgs {
2654
+ id: Scalars['UserID']['input'];
2655
+ }
2656
+
2657
+
2071
2658
  /** Root Query type */
2072
2659
  export interface QueryUsersArgs {
2073
2660
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2112,6 +2699,8 @@ export interface ReferenceValue {
2112
2699
  id?: Maybe<Scalars['ReferenceValueID']['output']>;
2113
2700
  /** The node of the reference value. */
2114
2701
  node?: Maybe<Scalars['Int']['output']>;
2702
+ /** The referenced value. */
2703
+ nodeFunctionId?: Maybe<Scalars['NodeFunctionID']['output']>;
2115
2704
  /** The paths associated with this reference value. */
2116
2705
  referencePath?: Maybe<Array<ReferencePath>>;
2117
2706
  /** The scope of the reference value. */
@@ -2124,14 +2713,16 @@ export interface ReferenceValue {
2124
2713
  export interface ReferenceValueInput {
2125
2714
  /** The identifier of the data type this reference value belongs to */
2126
2715
  dataTypeIdentifier: DataTypeIdentifierInput;
2127
- /** The primary level of the reference value */
2128
- primaryLevel: Scalars['Int']['input'];
2716
+ /** The depth of the reference value */
2717
+ depth: Scalars['Int']['input'];
2718
+ /** The node of the reference */
2719
+ node: Scalars['Int']['input'];
2720
+ /** The referenced value */
2721
+ nodeFunctionId: Scalars['NodeFunctionID']['input'];
2129
2722
  /** The paths associated with this reference value */
2130
2723
  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']>;
2724
+ /** The scope of the reference value */
2725
+ scope: Array<Scalars['Int']['input']>;
2135
2726
  }
2136
2727
 
2137
2728
  /** Represents a runtime */
@@ -2159,6 +2750,8 @@ export interface Runtime {
2159
2750
  token?: Maybe<Scalars['String']['output']>;
2160
2751
  /** Time when this Runtime was last updated */
2161
2752
  updatedAt?: Maybe<Scalars['Time']['output']>;
2753
+ /** Abilities for the current user on this Runtime */
2754
+ userAbilities?: Maybe<RuntimeUserAbilities>;
2162
2755
  }
2163
2756
 
2164
2757
 
@@ -2210,25 +2803,27 @@ export interface RuntimeEdge {
2210
2803
  node?: Maybe<Runtime>;
2211
2804
  }
2212
2805
 
2213
- /** Represents a Node Function definition */
2806
+ /** Represents a runtime function definition */
2214
2807
  export interface RuntimeFunctionDefinition {
2215
2808
  __typename?: 'RuntimeFunctionDefinition';
2216
2809
  /** Time when this RuntimeFunctionDefinition was created */
2217
2810
  createdAt?: Maybe<Scalars['Time']['output']>;
2218
- /** Function definitions of the Node Function */
2811
+ /** Function definitions of the runtime function definition */
2219
2812
  functionDefinitions?: Maybe<FunctionDefinitionConnection>;
2220
2813
  /** Global ID of this RuntimeFunctionDefinition */
2221
- id?: Maybe<Scalars['RuntimeParameterDefinitionID']['output']>;
2222
- /** Identifier of the Node Function */
2814
+ id?: Maybe<Scalars['RuntimeFunctionDefinitionID']['output']>;
2815
+ /** Identifier of the runtime function definition */
2223
2816
  identifier?: Maybe<Scalars['String']['output']>;
2224
- /** The runtime this Node Function belongs to */
2817
+ /** The runtime this runtime function definition belongs to */
2225
2818
  runtime?: Maybe<Runtime>;
2819
+ /** Parameter definitions of the runtime function definition */
2820
+ runtimeParameterDefinitions?: Maybe<RuntimeParameterDefinitionConnection>;
2226
2821
  /** Time when this RuntimeFunctionDefinition was last updated */
2227
2822
  updatedAt?: Maybe<Scalars['Time']['output']>;
2228
2823
  }
2229
2824
 
2230
2825
 
2231
- /** Represents a Node Function definition */
2826
+ /** Represents a runtime function definition */
2232
2827
  export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2233
2828
  after?: InputMaybe<Scalars['String']['input']>;
2234
2829
  before?: InputMaybe<Scalars['String']['input']>;
@@ -2236,7 +2831,16 @@ export interface RuntimeFunctionDefinitionFunctionDefinitionsArgs {
2236
2831
  last?: InputMaybe<Scalars['Int']['input']>;
2237
2832
  }
2238
2833
 
2239
- /** Represents a Node parameter definition */
2834
+
2835
+ /** Represents a runtime function definition */
2836
+ export interface RuntimeFunctionDefinitionRuntimeParameterDefinitionsArgs {
2837
+ after?: InputMaybe<Scalars['String']['input']>;
2838
+ before?: InputMaybe<Scalars['String']['input']>;
2839
+ first?: InputMaybe<Scalars['Int']['input']>;
2840
+ last?: InputMaybe<Scalars['Int']['input']>;
2841
+ }
2842
+
2843
+ /** Represents a runtime parameter definition */
2240
2844
  export interface RuntimeParameterDefinition {
2241
2845
  __typename?: 'RuntimeParameterDefinition';
2242
2846
  /** Time when this RuntimeParameterDefinition was created */
@@ -2247,14 +2851,47 @@ export interface RuntimeParameterDefinition {
2247
2851
  updatedAt?: Maybe<Scalars['Time']['output']>;
2248
2852
  }
2249
2853
 
2854
+ /** The connection type for RuntimeParameterDefinition. */
2855
+ export interface RuntimeParameterDefinitionConnection {
2856
+ __typename?: 'RuntimeParameterDefinitionConnection';
2857
+ /** Total count of collection. */
2858
+ count?: Maybe<Scalars['Int']['output']>;
2859
+ /** A list of edges. */
2860
+ edges?: Maybe<Array<Maybe<RuntimeParameterDefinitionEdge>>>;
2861
+ /** A list of nodes. */
2862
+ nodes?: Maybe<Array<Maybe<RuntimeParameterDefinition>>>;
2863
+ /** Information to aid in pagination. */
2864
+ pageInfo?: Maybe<PageInfo>;
2865
+ }
2866
+
2867
+ /** An edge in a connection. */
2868
+ export interface RuntimeParameterDefinitionEdge {
2869
+ __typename?: 'RuntimeParameterDefinitionEdge';
2870
+ /** A cursor for use in pagination. */
2871
+ cursor?: Maybe<Scalars['String']['output']>;
2872
+ /** The item at the end of the edge. */
2873
+ node?: Maybe<RuntimeParameterDefinition>;
2874
+ }
2875
+
2250
2876
  /** Represent all available types of statuses of a runtime */
2251
- export enum RuntimeStatusType {
2877
+ export const enum RuntimeStatusType {
2252
2878
  /** No problem with connection, everything works as expected */
2253
2879
  Connected = 'CONNECTED',
2254
2880
  /** The runtime is disconnected, cause unknown */
2255
2881
  Disconnected = 'DISCONNECTED'
2256
2882
  }
2257
2883
 
2884
+ /** Abilities for the current user on this Runtime */
2885
+ export interface RuntimeUserAbilities {
2886
+ __typename?: 'RuntimeUserAbilities';
2887
+ /** Shows if the current user has the `delete_runtime` ability on this Runtime */
2888
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
2889
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Runtime */
2890
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
2891
+ /** Shows if the current user has the `update_runtime` ability on this Runtime */
2892
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
2893
+ }
2894
+
2258
2895
  /** Autogenerated input type of RuntimesCreate */
2259
2896
  export interface RuntimesCreateInput {
2260
2897
  /** A unique identifier for the client performing the mutation. */
@@ -2381,23 +3018,40 @@ export interface User {
2381
3018
  createdAt?: Maybe<Scalars['Time']['output']>;
2382
3019
  /** Email of the user */
2383
3020
  email?: Maybe<Scalars['String']['output']>;
3021
+ /** Email verification date of the user if present */
3022
+ emailVerifiedAt?: Maybe<Scalars['Time']['output']>;
2384
3023
  /** Firstname of the user */
2385
3024
  firstname?: Maybe<Scalars['String']['output']>;
2386
3025
  /** Global ID of this User */
2387
3026
  id?: Maybe<Scalars['UserID']['output']>;
3027
+ /** Identities of this user */
3028
+ identities?: Maybe<UserIdentityConnection>;
2388
3029
  /** Lastname of the user */
2389
3030
  lastname?: Maybe<Scalars['String']['output']>;
2390
3031
  /** Namespace of this user */
2391
3032
  namespace?: Maybe<Namespace>;
2392
3033
  /** Namespace Memberships of this user */
2393
3034
  namespaceMemberships?: Maybe<NamespaceMemberConnection>;
3035
+ /** Sessions of this user */
3036
+ sessions?: Maybe<UserSessionConnection>;
2394
3037
  /** Time when this User was last updated */
2395
3038
  updatedAt?: Maybe<Scalars['Time']['output']>;
3039
+ /** Abilities for the current user on this User */
3040
+ userAbilities?: Maybe<UserUserAbilities>;
2396
3041
  /** Username of the user */
2397
3042
  username?: Maybe<Scalars['String']['output']>;
2398
3043
  }
2399
3044
 
2400
3045
 
3046
+ /** Represents a user */
3047
+ export interface UserIdentitiesArgs {
3048
+ after?: InputMaybe<Scalars['String']['input']>;
3049
+ before?: InputMaybe<Scalars['String']['input']>;
3050
+ first?: InputMaybe<Scalars['Int']['input']>;
3051
+ last?: InputMaybe<Scalars['Int']['input']>;
3052
+ }
3053
+
3054
+
2401
3055
  /** Represents a user */
2402
3056
  export interface UserNamespaceMembershipsArgs {
2403
3057
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2406,6 +3060,15 @@ export interface UserNamespaceMembershipsArgs {
2406
3060
  last?: InputMaybe<Scalars['Int']['input']>;
2407
3061
  }
2408
3062
 
3063
+
3064
+ /** Represents a user */
3065
+ export interface UserSessionsArgs {
3066
+ after?: InputMaybe<Scalars['String']['input']>;
3067
+ before?: InputMaybe<Scalars['String']['input']>;
3068
+ first?: InputMaybe<Scalars['Int']['input']>;
3069
+ last?: InputMaybe<Scalars['Int']['input']>;
3070
+ }
3071
+
2409
3072
  /** The connection type for User. */
2410
3073
  export interface UserConnection {
2411
3074
  __typename?: 'UserConnection';
@@ -2445,6 +3108,28 @@ export interface UserIdentity {
2445
3108
  user?: Maybe<User>;
2446
3109
  }
2447
3110
 
3111
+ /** The connection type for UserIdentity. */
3112
+ export interface UserIdentityConnection {
3113
+ __typename?: 'UserIdentityConnection';
3114
+ /** Total count of collection. */
3115
+ count?: Maybe<Scalars['Int']['output']>;
3116
+ /** A list of edges. */
3117
+ edges?: Maybe<Array<Maybe<UserIdentityEdge>>>;
3118
+ /** A list of nodes. */
3119
+ nodes?: Maybe<Array<Maybe<UserIdentity>>>;
3120
+ /** Information to aid in pagination. */
3121
+ pageInfo?: Maybe<PageInfo>;
3122
+ }
3123
+
3124
+ /** An edge in a connection. */
3125
+ export interface UserIdentityEdge {
3126
+ __typename?: 'UserIdentityEdge';
3127
+ /** A cursor for use in pagination. */
3128
+ cursor?: Maybe<Scalars['String']['output']>;
3129
+ /** The item at the end of the edge. */
3130
+ node?: Maybe<UserIdentity>;
3131
+ }
3132
+
2448
3133
  /** Represents a user session */
2449
3134
  export interface UserSession {
2450
3135
  __typename?: 'UserSession';
@@ -2460,6 +3145,96 @@ export interface UserSession {
2460
3145
  updatedAt?: Maybe<Scalars['Time']['output']>;
2461
3146
  /** User that belongs to the session */
2462
3147
  user?: Maybe<User>;
3148
+ /** Abilities for the current user on this UserSession */
3149
+ userAbilities?: Maybe<UserSessionUserAbilities>;
3150
+ }
3151
+
3152
+ /** The connection type for UserSession. */
3153
+ export interface UserSessionConnection {
3154
+ __typename?: 'UserSessionConnection';
3155
+ /** Total count of collection. */
3156
+ count?: Maybe<Scalars['Int']['output']>;
3157
+ /** A list of edges. */
3158
+ edges?: Maybe<Array<Maybe<UserSessionEdge>>>;
3159
+ /** A list of nodes. */
3160
+ nodes?: Maybe<Array<Maybe<UserSession>>>;
3161
+ /** Information to aid in pagination. */
3162
+ pageInfo?: Maybe<PageInfo>;
3163
+ }
3164
+
3165
+ /** An edge in a connection. */
3166
+ export interface UserSessionEdge {
3167
+ __typename?: 'UserSessionEdge';
3168
+ /** A cursor for use in pagination. */
3169
+ cursor?: Maybe<Scalars['String']['output']>;
3170
+ /** The item at the end of the edge. */
3171
+ node?: Maybe<UserSession>;
3172
+ }
3173
+
3174
+ /** Abilities for the current user on this UserSession */
3175
+ export interface UserSessionUserAbilities {
3176
+ __typename?: 'UserSessionUserAbilities';
3177
+ /** Shows if the current user has the `logout_session` ability on this UserSession */
3178
+ logoutSession?: Maybe<Scalars['Boolean']['output']>;
3179
+ }
3180
+
3181
+ /** Abilities for the current user on this User */
3182
+ export interface UserUserAbilities {
3183
+ __typename?: 'UserUserAbilities';
3184
+ /** Shows if the current user has the `manage_mfa` ability on this User */
3185
+ manageMfa?: Maybe<Scalars['Boolean']['output']>;
3186
+ /** Shows if the current user has the `update_user` ability on this User */
3187
+ updateUser?: Maybe<Scalars['Boolean']['output']>;
3188
+ }
3189
+
3190
+ /** Autogenerated input type of UsersCreate */
3191
+ export interface UsersCreateInput {
3192
+ /** Admin status for the user. */
3193
+ admin?: InputMaybe<Scalars['Boolean']['input']>;
3194
+ /** A unique identifier for the client performing the mutation. */
3195
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3196
+ /** Email for the user. */
3197
+ email: Scalars['String']['input'];
3198
+ /** Firstname for the user. */
3199
+ firstname?: InputMaybe<Scalars['String']['input']>;
3200
+ /** Lastname for the user. */
3201
+ lastname?: InputMaybe<Scalars['String']['input']>;
3202
+ /** Password for the user. */
3203
+ password: Scalars['String']['input'];
3204
+ /** Password repeat for the user to check for typos. */
3205
+ passwordRepeat: Scalars['String']['input'];
3206
+ /** Username for the user. */
3207
+ username: Scalars['String']['input'];
3208
+ }
3209
+
3210
+ /** Autogenerated return type of UsersCreate. */
3211
+ export interface UsersCreatePayload {
3212
+ __typename?: 'UsersCreatePayload';
3213
+ /** A unique identifier for the client performing the mutation. */
3214
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3215
+ /** Errors encountered during execution of the mutation. */
3216
+ errors?: Maybe<Array<Error>>;
3217
+ /** The created user. */
3218
+ user?: Maybe<User>;
3219
+ }
3220
+
3221
+ /** Autogenerated input type of UsersDelete */
3222
+ export interface UsersDeleteInput {
3223
+ /** A unique identifier for the client performing the mutation. */
3224
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3225
+ /** The user to delete. */
3226
+ userId: Scalars['UserID']['input'];
3227
+ }
3228
+
3229
+ /** Autogenerated return type of UsersDelete. */
3230
+ export interface UsersDeletePayload {
3231
+ __typename?: 'UsersDeletePayload';
3232
+ /** A unique identifier for the client performing the mutation. */
3233
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3234
+ /** Errors encountered during execution of the mutation. */
3235
+ errors?: Maybe<Array<Error>>;
3236
+ /** The deleted user. */
3237
+ user?: Maybe<User>;
2463
3238
  }
2464
3239
 
2465
3240
  /** Autogenerated input type of UsersEmailVerification */
@@ -2665,6 +3440,48 @@ export interface UsersMfaTotpValidateSecretPayload {
2665
3440
  user?: Maybe<User>;
2666
3441
  }
2667
3442
 
3443
+ /** Autogenerated input type of UsersPasswordReset */
3444
+ export interface UsersPasswordResetInput {
3445
+ /** A unique identifier for the client performing the mutation. */
3446
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3447
+ /** The new password to set for the user */
3448
+ newPassword: Scalars['String']['input'];
3449
+ /** The confirmation of the new password to set for the user needs to be the same as the new password */
3450
+ newPasswordConfirmation: Scalars['String']['input'];
3451
+ /** The password reset token sent to the user email */
3452
+ resetToken: Scalars['String']['input'];
3453
+ }
3454
+
3455
+ /** Autogenerated return type of UsersPasswordReset. */
3456
+ export interface UsersPasswordResetPayload {
3457
+ __typename?: 'UsersPasswordResetPayload';
3458
+ /** A unique identifier for the client performing the mutation. */
3459
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3460
+ /** Errors encountered during execution of the mutation. */
3461
+ errors?: Maybe<Array<Error>>;
3462
+ /** A message indicating the result of the password reset request */
3463
+ message?: Maybe<Scalars['String']['output']>;
3464
+ }
3465
+
3466
+ /** Autogenerated input type of UsersPasswordResetRequest */
3467
+ export interface UsersPasswordResetRequestInput {
3468
+ /** A unique identifier for the client performing the mutation. */
3469
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3470
+ /** Email of the user to reset the password */
3471
+ email: Scalars['String']['input'];
3472
+ }
3473
+
3474
+ /** Autogenerated return type of UsersPasswordResetRequest. */
3475
+ export interface UsersPasswordResetRequestPayload {
3476
+ __typename?: 'UsersPasswordResetRequestPayload';
3477
+ /** A unique identifier for the client performing the mutation. */
3478
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3479
+ /** Errors encountered during execution of the mutation. */
3480
+ errors?: Maybe<Array<Error>>;
3481
+ /** A message indicating the result of the password reset request */
3482
+ message?: Maybe<Scalars['String']['output']>;
3483
+ }
3484
+
2668
3485
  /** Autogenerated input type of UsersRegister */
2669
3486
  export interface UsersRegisterInput {
2670
3487
  /** A unique identifier for the client performing the mutation. */