@code0-tech/sagittarius-graphql-types 0.0.0-00f33663039d78ad59e95306730878c687de5c48 → 0.0.0-16d8abee165643bc88d0836cbeec8f0ed4ff6f0f

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 (2) hide show
  1. package/index.d.ts +749 -22
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -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,17 +54,41 @@ export interface ActiveModelError {
55
54
  type?: Maybe<Scalars['String']['output']>;
56
55
  }
57
56
 
57
+ /** Represents the application instance */
58
+ export interface Application {
59
+ __typename?: 'Application';
60
+ /** Metadata about the application */
61
+ metadata?: Maybe<Metadata>;
62
+ /** Global application settings */
63
+ settings?: Maybe<ApplicationSettings>;
64
+ }
65
+
58
66
  /** Represents the application settings */
59
67
  export interface ApplicationSettings {
60
68
  __typename?: 'ApplicationSettings';
69
+ /** Shows if admin status can be queried by non-administrators */
70
+ adminStatusVisible?: Maybe<Scalars['Boolean']['output']>;
71
+ /** List of configured identity providers */
72
+ identityProviders?: Maybe<IdentityProviderConnection>;
61
73
  /** Shows if organization creation is restricted to administrators */
62
74
  organizationCreationRestricted?: Maybe<Scalars['Boolean']['output']>;
63
75
  /** Shows if user registration is enabled */
64
76
  userRegistrationEnabled?: Maybe<Scalars['Boolean']['output']>;
65
77
  }
66
78
 
79
+
80
+ /** Represents the application settings */
81
+ export interface ApplicationSettingsIdentityProvidersArgs {
82
+ after?: InputMaybe<Scalars['String']['input']>;
83
+ before?: InputMaybe<Scalars['String']['input']>;
84
+ first?: InputMaybe<Scalars['Int']['input']>;
85
+ last?: InputMaybe<Scalars['Int']['input']>;
86
+ }
87
+
67
88
  /** Autogenerated input type of ApplicationSettingsUpdate */
68
89
  export interface ApplicationSettingsUpdateInput {
90
+ /** Set if admin status can be queried by non-administrators. */
91
+ adminStatusVisible?: InputMaybe<Scalars['Boolean']['input']>;
69
92
  /** A unique identifier for the client performing the mutation. */
70
93
  clientMutationId?: InputMaybe<Scalars['String']['input']>;
71
94
  /** Set if organization creation is restricted to administrators. */
@@ -91,8 +114,12 @@ export type Authentication = UserSession;
91
114
  /** Represents a DataType */
92
115
  export interface DataType {
93
116
  __typename?: 'DataType';
117
+ /** Name of the function */
118
+ aliases?: Maybe<TranslationConnection>;
94
119
  /** Time when this DataType was created */
95
120
  createdAt?: Maybe<Scalars['Time']['output']>;
121
+ /** Display message of the function */
122
+ displayMessages?: Maybe<TranslationConnection>;
96
123
  /** Generic keys of the datatype */
97
124
  genericKeys?: Maybe<Array<Scalars['String']['output']>>;
98
125
  /** Global ID of this DataType */
@@ -112,6 +139,24 @@ export interface DataType {
112
139
  }
113
140
 
114
141
 
142
+ /** Represents a DataType */
143
+ export interface DataTypeAliasesArgs {
144
+ after?: InputMaybe<Scalars['String']['input']>;
145
+ before?: InputMaybe<Scalars['String']['input']>;
146
+ first?: InputMaybe<Scalars['Int']['input']>;
147
+ last?: InputMaybe<Scalars['Int']['input']>;
148
+ }
149
+
150
+
151
+ /** Represents a DataType */
152
+ export interface DataTypeDisplayMessagesArgs {
153
+ after?: InputMaybe<Scalars['String']['input']>;
154
+ before?: InputMaybe<Scalars['String']['input']>;
155
+ first?: InputMaybe<Scalars['Int']['input']>;
156
+ last?: InputMaybe<Scalars['Int']['input']>;
157
+ }
158
+
159
+
115
160
  /** Represents a DataType */
116
161
  export interface DataTypeNameArgs {
117
162
  after?: InputMaybe<Scalars['String']['input']>;
@@ -296,7 +341,7 @@ export const enum DataTypeRulesVariant {
296
341
  /** The rule checks if a specific type is present in the data type. */
297
342
  ContainsType = 'CONTAINS_TYPE',
298
343
  /** The rule checks if the data type matches a specific input type. */
299
- InputType = 'INPUT_TYPE',
344
+ InputTypes = 'INPUT_TYPES',
300
345
  /** The rule checks if an item is part of a collection in the data type. */
301
346
  ItemOfCollection = 'ITEM_OF_COLLECTION',
302
347
  /** The rule checks if a number falls within a specified range. */
@@ -327,6 +372,9 @@ export const enum DataTypeVariant {
327
372
  Type = 'TYPE'
328
373
  }
329
374
 
375
+ /** Represents a detailed error with either a message or an active model error */
376
+ export type DetailedError = ActiveModelError | FlowValidationError | MessageError;
377
+
330
378
  /** Autogenerated input type of Echo */
331
379
  export interface EchoInput {
332
380
  /** A unique identifier for the client performing the mutation. */
@@ -347,7 +395,179 @@ export interface EchoPayload {
347
395
  }
348
396
 
349
397
  /** Objects that can present an error */
350
- export type Error = ActiveModelError | MessageError;
398
+ export interface Error {
399
+ __typename?: 'Error';
400
+ /** Detailed validation errors if applicable */
401
+ details?: Maybe<Array<DetailedError>>;
402
+ /** The code representing the error type */
403
+ errorCode?: Maybe<ErrorCodeEnum>;
404
+ }
405
+
406
+ /** Represents the available error responses */
407
+ export const enum ErrorCodeEnum {
408
+ /** This action would remove the last administrative role */
409
+ CannotDeleteLastAdminRole = 'CANNOT_DELETE_LAST_ADMIN_ROLE',
410
+ /** Only administrators can modify admin status of users */
411
+ CannotModifyAdmin = 'CANNOT_MODIFY_ADMIN',
412
+ /** Users cannot modify their own admin status */
413
+ CannotModifyOwnAdmin = 'CANNOT_MODIFY_OWN_ADMIN',
414
+ /** This action would remove the last administrator */
415
+ CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
416
+ /** This action would remove the last administrative ability */
417
+ CannotRemoveLastAdminAbility = 'CANNOT_REMOVE_LAST_ADMIN_ABILITY',
418
+ /** The data type identifier with the given identifier was not found */
419
+ DataTypeIdentifierNotFound = 'DATA_TYPE_IDENTIFIER_NOT_FOUND',
420
+ /** The data type with the given identifier was not found */
421
+ DataTypeNotFound = 'DATA_TYPE_NOT_FOUND',
422
+ /** Failed to send the email verification */
423
+ EmailVerificationSendFailed = 'EMAIL_VERIFICATION_SEND_FAILED',
424
+ /** This external identity does not exist */
425
+ ExternalIdentityDoesNotExist = 'EXTERNAL_IDENTITY_DOES_NOT_EXIST',
426
+ /** The old backup codes could not be deleted */
427
+ FailedToInvalidateOldBackupCodes = 'FAILED_TO_INVALIDATE_OLD_BACKUP_CODES',
428
+ /** Failed to reset the user password */
429
+ FailedToResetPassword = 'FAILED_TO_RESET_PASSWORD',
430
+ /** The new backup codes could not be saved */
431
+ FailedToSaveValidBackupCode = 'FAILED_TO_SAVE_VALID_BACKUP_CODE',
432
+ /** The flow with the given identifier was not found */
433
+ FlowNotFound = 'FLOW_NOT_FOUND',
434
+ /** The flow type with the given identifier was not found */
435
+ FlowTypeNotFound = 'FLOW_TYPE_NOT_FOUND',
436
+ /** The flow validation has failed */
437
+ FlowValidationFailed = 'FLOW_VALIDATION_FAILED',
438
+ /** The id for the function value node does not exist */
439
+ FunctionValueNotFound = 'FUNCTION_VALUE_NOT_FOUND',
440
+ /** The given key was not found in the data type */
441
+ GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
442
+ /** The external identity with the given identifier was not found */
443
+ IdentityNotFound = 'IDENTITY_NOT_FOUND',
444
+ /** Failed to validate the external identity */
445
+ IdentityValidationFailed = 'IDENTITY_VALIDATION_FAILED',
446
+ /** Resources are from different namespaces */
447
+ InconsistentNamespace = 'INCONSISTENT_NAMESPACE',
448
+ /** The attachment is invalid because of active model errors */
449
+ InvalidAttachment = 'INVALID_ATTACHMENT',
450
+ /** The data type is invalid because of active model errors */
451
+ InvalidDataType = 'INVALID_DATA_TYPE',
452
+ /** This external identity is invalid */
453
+ InvalidExternalIdentity = 'INVALID_EXTERNAL_IDENTITY',
454
+ /** The flow is invalid because of active model errors */
455
+ InvalidFlow = 'INVALID_FLOW',
456
+ /** The flow setting is invalid because of active model errors */
457
+ InvalidFlowSetting = 'INVALID_FLOW_SETTING',
458
+ /** The flow type is invalid because of active model errors */
459
+ InvalidFlowType = 'INVALID_FLOW_TYPE',
460
+ /** The generic mapper is invalid because of active model errors */
461
+ InvalidGenericMapper = 'INVALID_GENERIC_MAPPER',
462
+ /** Invalid login data provided */
463
+ InvalidLoginData = 'INVALID_LOGIN_DATA',
464
+ /** The namespace license is invalid because of active model errors */
465
+ InvalidNamespaceLicense = 'INVALID_NAMESPACE_LICENSE',
466
+ /** The namespace member is invalid because of active model errors */
467
+ InvalidNamespaceMember = 'INVALID_NAMESPACE_MEMBER',
468
+ /** The namespace project is invalid because of active model errors */
469
+ InvalidNamespaceProject = 'INVALID_NAMESPACE_PROJECT',
470
+ /** The namespace role is invalid because of active model errors */
471
+ InvalidNamespaceRole = 'INVALID_NAMESPACE_ROLE',
472
+ /** The node function is invalid */
473
+ InvalidNodeFunction = 'INVALID_NODE_FUNCTION',
474
+ /** The node parameter is invalid */
475
+ InvalidNodeParameter = 'INVALID_NODE_PARAMETER',
476
+ /** The organization is invalid because of active model errors */
477
+ InvalidOrganization = 'INVALID_ORGANIZATION',
478
+ /** The provided password repeat does not match the password */
479
+ InvalidPasswordRepeat = 'INVALID_PASSWORD_REPEAT',
480
+ /** The runtime is invalid because of active model errors */
481
+ InvalidRuntime = 'INVALID_RUNTIME',
482
+ /** The runtime function definition is invalid */
483
+ InvalidRuntimeFunctionDefinition = 'INVALID_RUNTIME_FUNCTION_DEFINITION',
484
+ /** The runtime function ID is invalid */
485
+ InvalidRuntimeFunctionId = 'INVALID_RUNTIME_FUNCTION_ID',
486
+ /** The runtime parameter definition is invalid */
487
+ InvalidRuntimeParameterDefinition = 'INVALID_RUNTIME_PARAMETER_DEFINITION',
488
+ /** The runtime parameter ID is invalid */
489
+ InvalidRuntimeParameterId = 'INVALID_RUNTIME_PARAMETER_ID',
490
+ /** Invalid setting provided */
491
+ InvalidSetting = 'INVALID_SETTING',
492
+ /** The TOTP secret is invalid or cannot be verified */
493
+ InvalidTotpSecret = 'INVALID_TOTP_SECRET',
494
+ /** The user is invalid because of active model errors */
495
+ InvalidUser = 'INVALID_USER',
496
+ /** The user identity is invalid because of active model errors */
497
+ InvalidUserIdentity = 'INVALID_USER_IDENTITY',
498
+ /** The user session is invalid because of active model errors */
499
+ InvalidUserSession = 'INVALID_USER_SESSION',
500
+ /** Invalid verification code provided */
501
+ InvalidVerificationCode = 'INVALID_VERIFICATION_CODE',
502
+ /** The namespace license with the given identifier was not found */
503
+ LicenseNotFound = 'LICENSE_NOT_FOUND',
504
+ /** Failed to load user identity from external provider */
505
+ LoadingIdentityFailed = 'LOADING_IDENTITY_FAILED',
506
+ /** Invalid MFA data provided */
507
+ MfaFailed = 'MFA_FAILED',
508
+ /** MFA is required */
509
+ MfaRequired = 'MFA_REQUIRED',
510
+ /** The primary runtime has more definitions than this one */
511
+ MissingDefinition = 'MISSING_DEFINITION',
512
+ /** This external identity is missing data */
513
+ MissingIdentityData = 'MISSING_IDENTITY_DATA',
514
+ /** Not all required parameters are present */
515
+ MissingParameter = 'MISSING_PARAMETER',
516
+ /** The user is not permitted to perform this operation */
517
+ MissingPermission = 'MISSING_PERMISSION',
518
+ /** The project is missing a primary runtime */
519
+ MissingPrimaryRuntime = 'MISSING_PRIMARY_RUNTIME',
520
+ /** The namespace member with the given identifier was not found */
521
+ NamespaceMemberNotFound = 'NAMESPACE_MEMBER_NOT_FOUND',
522
+ /** The namespace with the given identifier was not found */
523
+ NamespaceNotFound = 'NAMESPACE_NOT_FOUND',
524
+ /** The namespace project with the given identifier was not found */
525
+ NamespaceProjectNotFound = 'NAMESPACE_PROJECT_NOT_FOUND',
526
+ /** The namespace role with the given identifier was not found */
527
+ NamespaceRoleNotFound = 'NAMESPACE_ROLE_NOT_FOUND',
528
+ /** The node with this id does not exist */
529
+ NodeNotFound = 'NODE_NOT_FOUND',
530
+ /** No data type identifier could be found for the given generic key */
531
+ NoDatatypeIdentifierForGenericKey = 'NO_DATATYPE_IDENTIFIER_FOR_GENERIC_KEY',
532
+ /** No data type could be found for the given identifier */
533
+ NoDataTypeForIdentifier = 'NO_DATA_TYPE_FOR_IDENTIFIER',
534
+ /** There are no free license seats to complete this operation */
535
+ NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
536
+ /** No generic type could be found for the given identifier */
537
+ NoGenericTypeForIdentifier = 'NO_GENERIC_TYPE_FOR_IDENTIFIER',
538
+ /** The project does not have a primary runtime */
539
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME',
540
+ /** The organization with the given identifier was not found */
541
+ OrganizationNotFound = 'ORGANIZATION_NOT_FOUND',
542
+ /** The primary runtime has a newer definition than this one */
543
+ OutdatedDefinition = 'OUTDATED_DEFINITION',
544
+ /** @deprecated Outdated concept */
545
+ PrimaryLevelNotFound = 'PRIMARY_LEVEL_NOT_FOUND',
546
+ /** The namespace project with the given identifier was not found */
547
+ ProjectNotFound = 'PROJECT_NOT_FOUND',
548
+ /** A referenced value could not be found */
549
+ ReferencedValueNotFound = 'REFERENCED_VALUE_NOT_FOUND',
550
+ /** Self-registration is disabled */
551
+ RegistrationDisabled = 'REGISTRATION_DISABLED',
552
+ /** Resources are from different runtimes */
553
+ RuntimeMismatch = 'RUNTIME_MISMATCH',
554
+ /** The runtime with the given identifier was not found */
555
+ RuntimeNotFound = 'RUNTIME_NOT_FOUND',
556
+ /** @deprecated Outdated concept */
557
+ SecondaryLevelNotFound = 'SECONDARY_LEVEL_NOT_FOUND',
558
+ /** @deprecated Outdated concept */
559
+ TertiaryLevelExceedsParameters = 'TERTIARY_LEVEL_EXCEEDS_PARAMETERS',
560
+ /** This user already has TOTP set up */
561
+ TotpSecretAlreadySet = 'TOTP_SECRET_ALREADY_SET',
562
+ /** The user is not permitted to modify this field */
563
+ UnmodifiableField = 'UNMODIFIABLE_FIELD',
564
+ /** The user with the given identifier was not found */
565
+ UserNotFound = 'USER_NOT_FOUND',
566
+ /** The user session with the given identifier was not found */
567
+ UserSessionNotFound = 'USER_SESSION_NOT_FOUND',
568
+ /** Invalid TOTP code provided */
569
+ WrongTotp = 'WRONG_TOTP'
570
+ }
351
571
 
352
572
  /** Represents a flow */
353
573
  export interface Flow {
@@ -358,6 +578,8 @@ export interface Flow {
358
578
  id?: Maybe<Scalars['FlowID']['output']>;
359
579
  /** The input data type of the flow */
360
580
  inputType?: Maybe<DataType>;
581
+ /** Name of the flow */
582
+ name?: Maybe<Scalars['String']['output']>;
361
583
  /** Nodes of the flow */
362
584
  nodes?: Maybe<NodeFunctionConnection>;
363
585
  /** The return data type of the flow */
@@ -370,6 +592,8 @@ export interface Flow {
370
592
  type?: Maybe<FlowType>;
371
593
  /** Time when this Flow was last updated */
372
594
  updatedAt?: Maybe<Scalars['Time']['output']>;
595
+ /** Abilities for the current user on this Flow */
596
+ userAbilities?: Maybe<FlowUserAbilities>;
373
597
  }
374
598
 
375
599
 
@@ -414,10 +638,14 @@ export interface FlowEdge {
414
638
 
415
639
  /** Input type for creating or updating a flow */
416
640
  export interface FlowInput {
641
+ /** The name of the flow */
642
+ name: Scalars['String']['input'];
643
+ /** The node functions of the flow */
644
+ nodes: Array<NodeFunctionInput>;
417
645
  /** The settings of the flow */
418
646
  settings?: InputMaybe<Array<FlowSettingInput>>;
419
647
  /** The starting node of the flow */
420
- startingNode: NodeFunctionInput;
648
+ startingNodeId: Scalars['NodeFunctionID']['input'];
421
649
  /** The identifier of the flow type */
422
650
  type: Scalars['FlowTypeID']['input'];
423
651
  }
@@ -462,24 +690,28 @@ export interface FlowSettingEdge {
462
690
  /** Input type for flow settings */
463
691
  export interface FlowSettingInput {
464
692
  /** The identifier (not database id) of the flow setting */
465
- flowSettingId: Scalars['String']['input'];
693
+ flowSettingIdentifier: Scalars['String']['input'];
466
694
  /** The value of the flow setting */
467
- object: Scalars['JSON']['input'];
695
+ value: Scalars['JSON']['input'];
468
696
  }
469
697
 
470
698
  /** Represents a flow type */
471
699
  export interface FlowType {
472
700
  __typename?: 'FlowType';
701
+ /** Name of the function */
702
+ aliases?: Maybe<TranslationConnection>;
473
703
  /** Time when this FlowType was created */
474
704
  createdAt?: Maybe<Scalars['Time']['output']>;
475
705
  /** Descriptions of the flow type */
476
706
  descriptions?: Maybe<TranslationConnection>;
707
+ /** Display message of the function */
708
+ displayMessages?: Maybe<TranslationConnection>;
477
709
  /** Editable status of the flow type */
478
710
  editable?: Maybe<Scalars['Boolean']['output']>;
479
711
  /** Flow type settings of the flow type */
480
712
  flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
481
713
  /** Global ID of this FlowType */
482
- id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
714
+ id?: Maybe<Scalars['FlowTypeID']['output']>;
483
715
  /** Identifier of the flow type */
484
716
  identifier?: Maybe<Scalars['String']['output']>;
485
717
  /** Input type of the flow type */
@@ -493,6 +725,15 @@ export interface FlowType {
493
725
  }
494
726
 
495
727
 
728
+ /** Represents a flow type */
729
+ export interface FlowTypeAliasesArgs {
730
+ after?: InputMaybe<Scalars['String']['input']>;
731
+ before?: InputMaybe<Scalars['String']['input']>;
732
+ first?: InputMaybe<Scalars['Int']['input']>;
733
+ last?: InputMaybe<Scalars['Int']['input']>;
734
+ }
735
+
736
+
496
737
  /** Represents a flow type */
497
738
  export interface FlowTypeDescriptionsArgs {
498
739
  after?: InputMaybe<Scalars['String']['input']>;
@@ -502,6 +743,15 @@ export interface FlowTypeDescriptionsArgs {
502
743
  }
503
744
 
504
745
 
746
+ /** Represents a flow type */
747
+ export interface FlowTypeDisplayMessagesArgs {
748
+ after?: InputMaybe<Scalars['String']['input']>;
749
+ before?: InputMaybe<Scalars['String']['input']>;
750
+ first?: InputMaybe<Scalars['Int']['input']>;
751
+ last?: InputMaybe<Scalars['Int']['input']>;
752
+ }
753
+
754
+
505
755
  /** Represents a flow type */
506
756
  export interface FlowTypeNamesArgs {
507
757
  after?: InputMaybe<Scalars['String']['input']>;
@@ -573,15 +823,69 @@ export interface FlowTypeSettingNamesArgs {
573
823
  last?: InputMaybe<Scalars['Int']['input']>;
574
824
  }
575
825
 
826
+ /** Abilities for the current user on this Flow */
827
+ export interface FlowUserAbilities {
828
+ __typename?: 'FlowUserAbilities';
829
+ /** Shows if the current user has the `delete_flow` ability on this Flow */
830
+ deleteFlow?: Maybe<Scalars['Boolean']['output']>;
831
+ }
832
+
833
+ /** Represents a flow validation error */
834
+ export interface FlowValidationError {
835
+ __typename?: 'FlowValidationError';
836
+ /** Additional details about the validation error */
837
+ details?: Maybe<ActiveModelError>;
838
+ /** The code representing the validation error type */
839
+ errorCode?: Maybe<FlowValidationErrorCodeEnum>;
840
+ /** The severity of the validation error */
841
+ severity?: Maybe<FlowValidationSeverityEnum>;
842
+ }
843
+
844
+ /** Represents the available error responses */
845
+ export const enum FlowValidationErrorCodeEnum {
846
+ /** The generic key for the data type identifier was not found. */
847
+ DataTypeIdentifierGenericKeyNotFound = 'DATA_TYPE_IDENTIFIER_GENERIC_KEY_NOT_FOUND',
848
+ /** The data type identifier runtime does not match the flow type runtime. */
849
+ DataTypeIdentifierRuntimeMismatch = 'DATA_TYPE_IDENTIFIER_RUNTIME_MISMATCH',
850
+ /** The data type rule model is invalid. */
851
+ DataTypeRuleModelInvalid = 'DATA_TYPE_RULE_MODEL_INVALID',
852
+ /** The data type runtime does not match the flow type runtime. */
853
+ DataTypeRuntimeMismatch = 'DATA_TYPE_RUNTIME_MISMATCH',
854
+ /** The flow setting model is invalid. */
855
+ FlowSettingModelInvalid = 'FLOW_SETTING_MODEL_INVALID',
856
+ /** The flow type runtime does not match the project primary runtime. */
857
+ FlowTypeRuntimeMismatch = 'FLOW_TYPE_RUNTIME_MISMATCH',
858
+ /** The node function runtime does not match the project primary runtime. */
859
+ NodeFunctionRuntimeMismatch = 'NODE_FUNCTION_RUNTIME_MISMATCH',
860
+ /** The project does not have a primary runtime set. */
861
+ NoPrimaryRuntime = 'NO_PRIMARY_RUNTIME'
862
+ }
863
+
864
+ /** Represents the severity of a flow validation error */
865
+ export const enum FlowValidationSeverityEnum {
866
+ /** A blocking validation error */
867
+ Error = 'ERROR',
868
+ /** A minor typographical issue can also be blocking */
869
+ Typo = 'TYPO',
870
+ /** A non-blocking validation warning */
871
+ Warning = 'WARNING',
872
+ /** A weak validation issue that may not need to be addressed */
873
+ Weak = 'WEAK'
874
+ }
875
+
576
876
  /** Represents a function definition */
577
877
  export interface FunctionDefinition {
578
878
  __typename?: 'FunctionDefinition';
879
+ /** Name of the function */
880
+ aliases?: Maybe<TranslationConnection>;
579
881
  /** Time when this FunctionDefinition was created */
580
882
  createdAt?: Maybe<Scalars['Time']['output']>;
581
883
  /** Deprecation message of the function */
582
884
  deprecationMessages?: Maybe<TranslationConnection>;
583
885
  /** Description of the function */
584
886
  descriptions?: Maybe<TranslationConnection>;
887
+ /** Display message of the function */
888
+ displayMessages?: Maybe<TranslationConnection>;
585
889
  /** Documentation of the function */
586
890
  documentations?: Maybe<TranslationConnection>;
587
891
  /** Generic keys of the function */
@@ -605,6 +909,15 @@ export interface FunctionDefinition {
605
909
  }
606
910
 
607
911
 
912
+ /** Represents a function definition */
913
+ export interface FunctionDefinitionAliasesArgs {
914
+ after?: InputMaybe<Scalars['String']['input']>;
915
+ before?: InputMaybe<Scalars['String']['input']>;
916
+ first?: InputMaybe<Scalars['Int']['input']>;
917
+ last?: InputMaybe<Scalars['Int']['input']>;
918
+ }
919
+
920
+
608
921
  /** Represents a function definition */
609
922
  export interface FunctionDefinitionDeprecationMessagesArgs {
610
923
  after?: InputMaybe<Scalars['String']['input']>;
@@ -623,6 +936,15 @@ export interface FunctionDefinitionDescriptionsArgs {
623
936
  }
624
937
 
625
938
 
939
+ /** Represents a function definition */
940
+ export interface FunctionDefinitionDisplayMessagesArgs {
941
+ after?: InputMaybe<Scalars['String']['input']>;
942
+ before?: InputMaybe<Scalars['String']['input']>;
943
+ first?: InputMaybe<Scalars['Int']['input']>;
944
+ last?: InputMaybe<Scalars['Int']['input']>;
945
+ }
946
+
947
+
626
948
  /** Represents a function definition */
627
949
  export interface FunctionDefinitionDocumentationsArgs {
628
950
  after?: InputMaybe<Scalars['String']['input']>;
@@ -714,7 +1036,7 @@ export interface GenericMapper {
714
1036
  /** Input type for generic mappers */
715
1037
  export interface GenericMapperInput {
716
1038
  /** The source data type identifier for the mapper */
717
- sources: Array<DataTypeIdentifierInput>;
1039
+ sourceDataTypeIdentifiers: Array<DataTypeIdentifierInput>;
718
1040
  /** The target data type identifier for the mapper */
719
1041
  target: Scalars['String']['input'];
720
1042
  }
@@ -748,6 +1070,75 @@ export interface IdentityInput {
748
1070
  code?: InputMaybe<Scalars['String']['input']>;
749
1071
  }
750
1072
 
1073
+ /** Represents an identity provider configuration. */
1074
+ export interface IdentityProvider {
1075
+ __typename?: 'IdentityProvider';
1076
+ /** Configuration details of the identity provider. */
1077
+ config?: Maybe<IdentityProviderConfig>;
1078
+ /** Unique identifier of the identity provider. */
1079
+ id?: Maybe<Scalars['String']['output']>;
1080
+ /** Type of the identity provider. */
1081
+ type?: Maybe<IdentityProviderType>;
1082
+ }
1083
+
1084
+ /** Represents the configuration of an identity provider. */
1085
+ export type IdentityProviderConfig = OidcIdentityProviderConfig | SamlIdentityProviderConfig;
1086
+
1087
+ /** The connection type for IdentityProvider. */
1088
+ export interface IdentityProviderConnection {
1089
+ __typename?: 'IdentityProviderConnection';
1090
+ /** Total count of collection. */
1091
+ count?: Maybe<Scalars['Int']['output']>;
1092
+ /** A list of edges. */
1093
+ edges?: Maybe<Array<Maybe<IdentityProviderEdge>>>;
1094
+ /** A list of nodes. */
1095
+ nodes?: Maybe<Array<Maybe<IdentityProvider>>>;
1096
+ /** Information to aid in pagination. */
1097
+ pageInfo?: Maybe<PageInfo>;
1098
+ }
1099
+
1100
+ /** An edge in a connection. */
1101
+ export interface IdentityProviderEdge {
1102
+ __typename?: 'IdentityProviderEdge';
1103
+ /** A cursor for use in pagination. */
1104
+ cursor?: Maybe<Scalars['String']['output']>;
1105
+ /** The item at the end of the edge. */
1106
+ node?: Maybe<IdentityProvider>;
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 google */
1116
+ Google = 'GOOGLE',
1117
+ /** Identity provider of type microsoft */
1118
+ Microsoft = 'MICROSOFT',
1119
+ /** Identity provider of type oidc */
1120
+ Oidc = 'OIDC',
1121
+ /** Identity provider of type saml */
1122
+ Saml = 'SAML'
1123
+ }
1124
+
1125
+ /** Abilities for the current user on this Instance */
1126
+ export interface InstanceUserAbilities {
1127
+ __typename?: 'InstanceUserAbilities';
1128
+ /** Shows if the current user has the `create_organization` ability on this Instance */
1129
+ createOrganization?: Maybe<Scalars['Boolean']['output']>;
1130
+ /** Shows if the current user has the `create_runtime` ability on this Instance */
1131
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
1132
+ /** Shows if the current user has the `delete_runtime` ability on this Instance */
1133
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
1134
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Instance */
1135
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
1136
+ /** Shows if the current user has the `update_application_setting` ability on this Instance */
1137
+ updateApplicationSetting?: Maybe<Scalars['Boolean']['output']>;
1138
+ /** Shows if the current user has the `update_runtime` ability on this Instance */
1139
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
1140
+ }
1141
+
751
1142
  /** Represents a literal value, such as a string or number. */
752
1143
  export interface LiteralValue {
753
1144
  __typename?: 'LiteralValue';
@@ -766,6 +1157,15 @@ export interface MessageError {
766
1157
  message?: Maybe<Scalars['String']['output']>;
767
1158
  }
768
1159
 
1160
+ /** Application metadata */
1161
+ export interface Metadata {
1162
+ __typename?: 'Metadata';
1163
+ /** List of loaded extensions */
1164
+ extensions?: Maybe<Array<Scalars['String']['output']>>;
1165
+ /** Application version */
1166
+ version?: Maybe<Scalars['String']['output']>;
1167
+ }
1168
+
769
1169
  /** Represents the input for mfa authentication */
770
1170
  export interface MfaInput {
771
1171
  /** The type of the mfa authentication */
@@ -774,6 +1174,17 @@ export interface MfaInput {
774
1174
  value: Scalars['String']['input'];
775
1175
  }
776
1176
 
1177
+ /** Represents the MFA status of a user */
1178
+ export interface MfaStatus {
1179
+ __typename?: 'MfaStatus';
1180
+ /** The number of backup codes remaining for the user. */
1181
+ backupCodesCount?: Maybe<Scalars['Int']['output']>;
1182
+ /** Indicates whether MFA is enabled for the user. */
1183
+ enabled?: Maybe<Scalars['Boolean']['output']>;
1184
+ /** Indicates whether TOTP MFA is enabled for the user. */
1185
+ totpEnabled?: Maybe<Scalars['Boolean']['output']>;
1186
+ }
1187
+
777
1188
  /** Represent all available types to authenticate with mfa */
778
1189
  export const enum MfaType {
779
1190
  /** Single use backup code */
@@ -815,6 +1226,8 @@ export interface Mutation {
815
1226
  namespacesProjectsFlowsCreate?: Maybe<NamespacesProjectsFlowsCreatePayload>;
816
1227
  /** Deletes a namespace project. */
817
1228
  namespacesProjectsFlowsDelete?: Maybe<NamespacesProjectsFlowsDeletePayload>;
1229
+ /** Update an existing flow. */
1230
+ namespacesProjectsFlowsUpdate?: Maybe<NamespacesProjectsFlowsUpdatePayload>;
818
1231
  /** Updates a namespace project. */
819
1232
  namespacesProjectsUpdate?: Maybe<NamespacesProjectsUpdatePayload>;
820
1233
  /** Update the abilities a role is granted. */
@@ -841,6 +1254,10 @@ export interface Mutation {
841
1254
  runtimesRotateToken?: Maybe<RuntimesRotateTokenPayload>;
842
1255
  /** Update an existing runtime. */
843
1256
  runtimesUpdate?: Maybe<RuntimesUpdatePayload>;
1257
+ /** Admin-create a user. */
1258
+ usersCreate?: Maybe<UsersCreatePayload>;
1259
+ /** Delete an existing user. */
1260
+ usersDelete?: Maybe<UsersDeletePayload>;
844
1261
  /** Verify your email when changing it or signing up */
845
1262
  usersEmailVerification?: Maybe<UsersEmailVerificationPayload>;
846
1263
  /** Links an external identity to an existing user */
@@ -944,6 +1361,12 @@ export interface MutationNamespacesProjectsFlowsDeleteArgs {
944
1361
  }
945
1362
 
946
1363
 
1364
+ /** Root Mutation type */
1365
+ export interface MutationNamespacesProjectsFlowsUpdateArgs {
1366
+ input: NamespacesProjectsFlowsUpdateInput;
1367
+ }
1368
+
1369
+
947
1370
  /** Root Mutation type */
948
1371
  export interface MutationNamespacesProjectsUpdateArgs {
949
1372
  input: NamespacesProjectsUpdateInput;
@@ -1022,6 +1445,18 @@ export interface MutationRuntimesUpdateArgs {
1022
1445
  }
1023
1446
 
1024
1447
 
1448
+ /** Root Mutation type */
1449
+ export interface MutationUsersCreateArgs {
1450
+ input: UsersCreateInput;
1451
+ }
1452
+
1453
+
1454
+ /** Root Mutation type */
1455
+ export interface MutationUsersDeleteArgs {
1456
+ input: UsersDeleteInput;
1457
+ }
1458
+
1459
+
1025
1460
  /** Root Mutation type */
1026
1461
  export interface MutationUsersEmailVerificationArgs {
1027
1462
  input: UsersEmailVerificationInput;
@@ -1110,6 +1545,8 @@ export interface Namespace {
1110
1545
  __typename?: 'Namespace';
1111
1546
  /** Time when this Namespace was created */
1112
1547
  createdAt?: Maybe<Scalars['Time']['output']>;
1548
+ /** (EE only) Currently active license of the namespace */
1549
+ currentNamespaceLicense?: Maybe<NamespaceLicense>;
1113
1550
  /** Global ID of this Namespace */
1114
1551
  id?: Maybe<Scalars['NamespaceID']['output']>;
1115
1552
  /** Members of the namespace */
@@ -1126,6 +1563,8 @@ export interface Namespace {
1126
1563
  runtimes?: Maybe<RuntimeConnection>;
1127
1564
  /** Time when this Namespace was last updated */
1128
1565
  updatedAt?: Maybe<Scalars['Time']['output']>;
1566
+ /** Abilities for the current user on this Namespace */
1567
+ userAbilities?: Maybe<NamespaceUserAbilities>;
1129
1568
  }
1130
1569
 
1131
1570
 
@@ -1190,6 +1629,8 @@ export interface NamespaceLicense {
1190
1629
  startDate?: Maybe<Scalars['Time']['output']>;
1191
1630
  /** Time when this NamespaceLicense was last updated */
1192
1631
  updatedAt?: Maybe<Scalars['Time']['output']>;
1632
+ /** Abilities for the current user on this NamespaceLicense */
1633
+ userAbilities?: Maybe<NamespaceLicenseUserAbilities>;
1193
1634
  }
1194
1635
 
1195
1636
  /** The connection type for NamespaceLicense. */
@@ -1214,6 +1655,13 @@ export interface NamespaceLicenseEdge {
1214
1655
  node?: Maybe<NamespaceLicense>;
1215
1656
  }
1216
1657
 
1658
+ /** Abilities for the current user on this NamespaceLicense */
1659
+ export interface NamespaceLicenseUserAbilities {
1660
+ __typename?: 'NamespaceLicenseUserAbilities';
1661
+ /** Shows if the current user has the `delete_namespace_license` ability on this NamespaceLicense */
1662
+ deleteNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
1663
+ }
1664
+
1217
1665
  /** Represents a namespace member */
1218
1666
  export interface NamespaceMember {
1219
1667
  __typename?: 'NamespaceMember';
@@ -1231,6 +1679,8 @@ export interface NamespaceMember {
1231
1679
  updatedAt?: Maybe<Scalars['Time']['output']>;
1232
1680
  /** User this member belongs to */
1233
1681
  user?: Maybe<User>;
1682
+ /** Abilities for the current user on this NamespaceMember */
1683
+ userAbilities?: Maybe<NamespaceMemberUserAbilities>;
1234
1684
  }
1235
1685
 
1236
1686
 
@@ -1310,6 +1760,15 @@ export interface NamespaceMemberRoleEdge {
1310
1760
  node?: Maybe<NamespaceMemberRole>;
1311
1761
  }
1312
1762
 
1763
+ /** Abilities for the current user on this NamespaceMember */
1764
+ export interface NamespaceMemberUserAbilities {
1765
+ __typename?: 'NamespaceMemberUserAbilities';
1766
+ /** Shows if the current user has the `assign_member_roles` ability on this NamespaceMember */
1767
+ assignMemberRoles?: Maybe<Scalars['Boolean']['output']>;
1768
+ /** Shows if the current user has the `delete_member` ability on this NamespaceMember */
1769
+ deleteMember?: Maybe<Scalars['Boolean']['output']>;
1770
+ }
1771
+
1313
1772
  /** Objects that can present a namespace */
1314
1773
  export type NamespaceParent = Organization | User;
1315
1774
 
@@ -1332,10 +1791,14 @@ export interface NamespaceProject {
1332
1791
  namespace?: Maybe<Namespace>;
1333
1792
  /** The primary runtime for the project */
1334
1793
  primaryRuntime?: Maybe<Runtime>;
1794
+ /** Roles assigned to this project */
1795
+ roles?: Maybe<NamespaceRoleConnection>;
1335
1796
  /** Runtimes assigned to this project */
1336
1797
  runtimes?: Maybe<RuntimeConnection>;
1337
1798
  /** Time when this NamespaceProject was last updated */
1338
1799
  updatedAt?: Maybe<Scalars['Time']['output']>;
1800
+ /** Abilities for the current user on this NamespaceProject */
1801
+ userAbilities?: Maybe<NamespaceProjectUserAbilities>;
1339
1802
  }
1340
1803
 
1341
1804
 
@@ -1354,6 +1817,15 @@ export interface NamespaceProjectFlowsArgs {
1354
1817
  }
1355
1818
 
1356
1819
 
1820
+ /** Represents a namespace project */
1821
+ export interface NamespaceProjectRolesArgs {
1822
+ after?: InputMaybe<Scalars['String']['input']>;
1823
+ before?: InputMaybe<Scalars['String']['input']>;
1824
+ first?: InputMaybe<Scalars['Int']['input']>;
1825
+ last?: InputMaybe<Scalars['Int']['input']>;
1826
+ }
1827
+
1828
+
1357
1829
  /** Represents a namespace project */
1358
1830
  export interface NamespaceProjectRuntimesArgs {
1359
1831
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1384,6 +1856,19 @@ export interface NamespaceProjectEdge {
1384
1856
  node?: Maybe<NamespaceProject>;
1385
1857
  }
1386
1858
 
1859
+ /** Abilities for the current user on this NamespaceProject */
1860
+ export interface NamespaceProjectUserAbilities {
1861
+ __typename?: 'NamespaceProjectUserAbilities';
1862
+ /** Shows if the current user has the `assign_project_runtimes` ability on this NamespaceProject */
1863
+ assignProjectRuntimes?: Maybe<Scalars['Boolean']['output']>;
1864
+ /** Shows if the current user has the `create_flow` ability on this NamespaceProject */
1865
+ createFlow?: Maybe<Scalars['Boolean']['output']>;
1866
+ /** Shows if the current user has the `delete_namespace_project` ability on this NamespaceProject */
1867
+ deleteNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1868
+ /** Shows if the current user has the `update_namespace_project` ability on this NamespaceProject */
1869
+ updateNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
1870
+ }
1871
+
1387
1872
  /** Represents a namespace role. */
1388
1873
  export interface NamespaceRole {
1389
1874
  __typename?: 'NamespaceRole';
@@ -1395,12 +1880,16 @@ export interface NamespaceRole {
1395
1880
  createdAt?: Maybe<Scalars['Time']['output']>;
1396
1881
  /** Global ID of this NamespaceRole */
1397
1882
  id?: Maybe<Scalars['NamespaceRoleID']['output']>;
1883
+ /** The members this role is assigned to */
1884
+ members?: Maybe<NamespaceMemberConnection>;
1398
1885
  /** The name of this role */
1399
1886
  name?: Maybe<Scalars['String']['output']>;
1400
1887
  /** The namespace where this role belongs to */
1401
1888
  namespace?: Maybe<Namespace>;
1402
1889
  /** Time when this NamespaceRole was last updated */
1403
1890
  updatedAt?: Maybe<Scalars['Time']['output']>;
1891
+ /** Abilities for the current user on this NamespaceRole */
1892
+ userAbilities?: Maybe<NamespaceRoleUserAbilities>;
1404
1893
  }
1405
1894
 
1406
1895
 
@@ -1412,6 +1901,15 @@ export interface NamespaceRoleAssignedProjectsArgs {
1412
1901
  last?: InputMaybe<Scalars['Int']['input']>;
1413
1902
  }
1414
1903
 
1904
+
1905
+ /** Represents a namespace role. */
1906
+ export interface NamespaceRoleMembersArgs {
1907
+ after?: InputMaybe<Scalars['String']['input']>;
1908
+ before?: InputMaybe<Scalars['String']['input']>;
1909
+ first?: InputMaybe<Scalars['Int']['input']>;
1910
+ last?: InputMaybe<Scalars['Int']['input']>;
1911
+ }
1912
+
1415
1913
  /** Represents abilities that can be granted to roles in namespaces. */
1416
1914
  export const enum NamespaceRoleAbility {
1417
1915
  /** Allows to change the roles of a namespace member */
@@ -1423,7 +1921,7 @@ export const enum NamespaceRoleAbility {
1423
1921
  /** Allows to change the assigned projects of a namespace role */
1424
1922
  AssignRoleProjects = 'ASSIGN_ROLE_PROJECTS',
1425
1923
  /** Allows to create flows in a namespace project */
1426
- CreateFlows = 'CREATE_FLOWS',
1924
+ CreateFlow = 'CREATE_FLOW',
1427
1925
  /** Allows to create a license for the namespace */
1428
1926
  CreateNamespaceLicense = 'CREATE_NAMESPACE_LICENSE',
1429
1927
  /** Allows to create a project in the namespace */
@@ -1433,7 +1931,7 @@ export const enum NamespaceRoleAbility {
1433
1931
  /** Allows to create a runtime globally or for the namespace */
1434
1932
  CreateRuntime = 'CREATE_RUNTIME',
1435
1933
  /** Allows to delete flows in a namespace project */
1436
- DeleteFlows = 'DELETE_FLOWS',
1934
+ DeleteFlow = 'DELETE_FLOW',
1437
1935
  /** Allows to remove members of a namespace */
1438
1936
  DeleteMember = 'DELETE_MEMBER',
1439
1937
  /** Allows to delete the license of the namespace */
@@ -1457,7 +1955,7 @@ export const enum NamespaceRoleAbility {
1457
1955
  /** Allows to regenerate a runtime token */
1458
1956
  RotateRuntimeToken = 'ROTATE_RUNTIME_TOKEN',
1459
1957
  /** Allows to update flows in the project */
1460
- UpdateFlows = 'UPDATE_FLOWS',
1958
+ UpdateFlow = 'UPDATE_FLOW',
1461
1959
  /** Allows to update the project of the namespace */
1462
1960
  UpdateNamespaceProject = 'UPDATE_NAMESPACE_PROJECT',
1463
1961
  /** Allows to update the namespace role */
@@ -1490,6 +1988,34 @@ export interface NamespaceRoleEdge {
1490
1988
  node?: Maybe<NamespaceRole>;
1491
1989
  }
1492
1990
 
1991
+ /** Abilities for the current user on this NamespaceRole */
1992
+ export interface NamespaceRoleUserAbilities {
1993
+ __typename?: 'NamespaceRoleUserAbilities';
1994
+ /** Shows if the current user has the `assign_role_abilities` ability on this NamespaceRole */
1995
+ assignRoleAbilities?: Maybe<Scalars['Boolean']['output']>;
1996
+ /** Shows if the current user has the `assign_role_projects` ability on this NamespaceRole */
1997
+ assignRoleProjects?: Maybe<Scalars['Boolean']['output']>;
1998
+ /** Shows if the current user has the `delete_namespace_role` ability on this NamespaceRole */
1999
+ deleteNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
2000
+ /** Shows if the current user has the `update_namespace_role` ability on this NamespaceRole */
2001
+ updateNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
2002
+ }
2003
+
2004
+ /** Abilities for the current user on this Namespace */
2005
+ export interface NamespaceUserAbilities {
2006
+ __typename?: 'NamespaceUserAbilities';
2007
+ /** Shows if the current user has the `create_namespace_license` ability on this Namespace */
2008
+ createNamespaceLicense?: Maybe<Scalars['Boolean']['output']>;
2009
+ /** Shows if the current user has the `create_namespace_project` ability on this Namespace */
2010
+ createNamespaceProject?: Maybe<Scalars['Boolean']['output']>;
2011
+ /** Shows if the current user has the `create_namespace_role` ability on this Namespace */
2012
+ createNamespaceRole?: Maybe<Scalars['Boolean']['output']>;
2013
+ /** Shows if the current user has the `create_runtime` ability on this Namespace */
2014
+ createRuntime?: Maybe<Scalars['Boolean']['output']>;
2015
+ /** Shows if the current user has the `invite_member` ability on this Namespace */
2016
+ inviteMember?: Maybe<Scalars['Boolean']['output']>;
2017
+ }
2018
+
1493
2019
  /** Autogenerated input type of NamespacesLicensesCreate */
1494
2020
  export interface NamespacesLicensesCreateInput {
1495
2021
  /** A unique identifier for the client performing the mutation. */
@@ -1547,8 +2073,8 @@ export interface NamespacesMembersAssignRolesPayload {
1547
2073
  clientMutationId?: Maybe<Scalars['String']['output']>;
1548
2074
  /** Errors encountered during execution of the mutation. */
1549
2075
  errors?: Maybe<Array<Error>>;
1550
- /** The roles the member is now assigned to */
1551
- namespaceMemberRoles?: Maybe<Array<NamespaceMemberRole>>;
2076
+ /** The member which was assigned the roles */
2077
+ member?: Maybe<NamespaceMember>;
1552
2078
  }
1553
2079
 
1554
2080
  /** Autogenerated input type of NamespacesMembersDelete */
@@ -1694,6 +2220,27 @@ export interface NamespacesProjectsFlowsDeletePayload {
1694
2220
  flow?: Maybe<Flow>;
1695
2221
  }
1696
2222
 
2223
+ /** Autogenerated input type of NamespacesProjectsFlowsUpdate */
2224
+ export interface NamespacesProjectsFlowsUpdateInput {
2225
+ /** A unique identifier for the client performing the mutation. */
2226
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
2227
+ /** The ID of the flow to update */
2228
+ flowId: Scalars['FlowID']['input'];
2229
+ /** The updated flow */
2230
+ flowInput: FlowInput;
2231
+ }
2232
+
2233
+ /** Autogenerated return type of NamespacesProjectsFlowsUpdate. */
2234
+ export interface NamespacesProjectsFlowsUpdatePayload {
2235
+ __typename?: 'NamespacesProjectsFlowsUpdatePayload';
2236
+ /** A unique identifier for the client performing the mutation. */
2237
+ clientMutationId?: Maybe<Scalars['String']['output']>;
2238
+ /** Errors encountered during execution of the mutation. */
2239
+ errors?: Maybe<Array<Error>>;
2240
+ /** The updated flow. */
2241
+ flow?: Maybe<Flow>;
2242
+ }
2243
+
1697
2244
  /** Autogenerated input type of NamespacesProjectsUpdate */
1698
2245
  export interface NamespacesProjectsUpdateInput {
1699
2246
  /** A unique identifier for the client performing the mutation. */
@@ -1878,8 +2425,10 @@ export interface NodeFunctionEdge {
1878
2425
 
1879
2426
  /** Input type for a Node Function */
1880
2427
  export interface NodeFunctionInput {
2428
+ /** The identifier of the Node Function used to create/update the flow */
2429
+ id: Scalars['NodeFunctionID']['input'];
1881
2430
  /** The next Node Function in the flow */
1882
- nextNode?: InputMaybe<NodeFunctionInput>;
2431
+ nextNodeId?: InputMaybe<Scalars['NodeFunctionID']['input']>;
1883
2432
  /** The parameters of the Node Function */
1884
2433
  parameters: Array<NodeParameterInput>;
1885
2434
  /** The identifier of the Runtime Function Definition */
@@ -1944,6 +2493,25 @@ export interface NodeParameterValueInput {
1944
2493
  referenceValue?: InputMaybe<ReferenceValueInput>;
1945
2494
  }
1946
2495
 
2496
+ /** Represents an OIDC identity provider configuration */
2497
+ export interface OidcIdentityProviderConfig {
2498
+ __typename?: 'OidcIdentityProviderConfig';
2499
+ /** List of attribute statements for the OIDC identity provider */
2500
+ attributeStatements?: Maybe<Scalars['JSON']['output']>;
2501
+ /** The authorization URL for the OIDC identity provider */
2502
+ authorizationUrl?: Maybe<Scalars['String']['output']>;
2503
+ /** The client ID for the OIDC identity provider */
2504
+ clientId?: Maybe<Scalars['String']['output']>;
2505
+ /** The client secret for the OIDC identity provider */
2506
+ clientSecret?: Maybe<Scalars['String']['output']>;
2507
+ /** The name of the OIDC identity provider */
2508
+ providerName?: Maybe<Scalars['String']['output']>;
2509
+ /** The redirect URI for the OIDC identity provider */
2510
+ redirectUri?: Maybe<Scalars['String']['output']>;
2511
+ /** The user details URL for the OIDC identity provider */
2512
+ userDetailsUrl?: Maybe<Scalars['String']['output']>;
2513
+ }
2514
+
1947
2515
  /** Represents a Organization */
1948
2516
  export interface Organization {
1949
2517
  __typename?: 'Organization';
@@ -1957,6 +2525,39 @@ export interface Organization {
1957
2525
  namespace?: Maybe<Namespace>;
1958
2526
  /** Time when this Organization was last updated */
1959
2527
  updatedAt?: Maybe<Scalars['Time']['output']>;
2528
+ /** Abilities for the current user on this Organization */
2529
+ userAbilities?: Maybe<OrganizationUserAbilities>;
2530
+ }
2531
+
2532
+ /** The connection type for Organization. */
2533
+ export interface OrganizationConnection {
2534
+ __typename?: 'OrganizationConnection';
2535
+ /** Total count of collection. */
2536
+ count?: Maybe<Scalars['Int']['output']>;
2537
+ /** A list of edges. */
2538
+ edges?: Maybe<Array<Maybe<OrganizationEdge>>>;
2539
+ /** A list of nodes. */
2540
+ nodes?: Maybe<Array<Maybe<Organization>>>;
2541
+ /** Information to aid in pagination. */
2542
+ pageInfo?: Maybe<PageInfo>;
2543
+ }
2544
+
2545
+ /** An edge in a connection. */
2546
+ export interface OrganizationEdge {
2547
+ __typename?: 'OrganizationEdge';
2548
+ /** A cursor for use in pagination. */
2549
+ cursor?: Maybe<Scalars['String']['output']>;
2550
+ /** The item at the end of the edge. */
2551
+ node?: Maybe<Organization>;
2552
+ }
2553
+
2554
+ /** Abilities for the current user on this Organization */
2555
+ export interface OrganizationUserAbilities {
2556
+ __typename?: 'OrganizationUserAbilities';
2557
+ /** Shows if the current user has the `delete_organization` ability on this Organization */
2558
+ deleteOrganization?: Maybe<Scalars['Boolean']['output']>;
2559
+ /** Shows if the current user has the `update_organization` ability on this Organization */
2560
+ updateOrganization?: Maybe<Scalars['Boolean']['output']>;
1960
2561
  }
1961
2562
 
1962
2563
  /** Autogenerated input type of OrganizationsCreate */
@@ -2104,8 +2705,8 @@ export interface ParameterDefinitionEdge {
2104
2705
  /** Root Query type */
2105
2706
  export interface Query {
2106
2707
  __typename?: 'Query';
2107
- /** Get global application settings */
2108
- applicationSettings?: Maybe<ApplicationSettings>;
2708
+ /** Get application information */
2709
+ application?: Maybe<Application>;
2109
2710
  /** Get the currently logged in authentication */
2110
2711
  currentAuthentication?: Maybe<Authentication>;
2111
2712
  /** Get the currently logged in user */
@@ -2122,6 +2723,12 @@ export interface Query {
2122
2723
  nodes?: Maybe<Array<Maybe<Node>>>;
2123
2724
  /** Find a organization */
2124
2725
  organization?: Maybe<Organization>;
2726
+ /** Find organizations */
2727
+ organizations?: Maybe<OrganizationConnection>;
2728
+ /** Find a user */
2729
+ user?: Maybe<User>;
2730
+ /** Abilities for the current user on this Instance */
2731
+ userAbilities?: Maybe<InstanceUserAbilities>;
2125
2732
  /** Find users */
2126
2733
  users?: Maybe<UserConnection>;
2127
2734
  }
@@ -2167,6 +2774,22 @@ export interface QueryOrganizationArgs {
2167
2774
  }
2168
2775
 
2169
2776
 
2777
+ /** Root Query type */
2778
+ export interface QueryOrganizationsArgs {
2779
+ after?: InputMaybe<Scalars['String']['input']>;
2780
+ before?: InputMaybe<Scalars['String']['input']>;
2781
+ first?: InputMaybe<Scalars['Int']['input']>;
2782
+ last?: InputMaybe<Scalars['Int']['input']>;
2783
+ }
2784
+
2785
+
2786
+ /** Root Query type */
2787
+ export interface QueryUserArgs {
2788
+ id?: InputMaybe<Scalars['UserID']['input']>;
2789
+ username?: InputMaybe<Scalars['String']['input']>;
2790
+ }
2791
+
2792
+
2170
2793
  /** Root Query type */
2171
2794
  export interface QueryUsersArgs {
2172
2795
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2211,6 +2834,8 @@ export interface ReferenceValue {
2211
2834
  id?: Maybe<Scalars['ReferenceValueID']['output']>;
2212
2835
  /** The node of the reference value. */
2213
2836
  node?: Maybe<Scalars['Int']['output']>;
2837
+ /** The referenced value. */
2838
+ nodeFunctionId?: Maybe<Scalars['NodeFunctionID']['output']>;
2214
2839
  /** The paths associated with this reference value. */
2215
2840
  referencePath?: Maybe<Array<ReferencePath>>;
2216
2841
  /** The scope of the reference value. */
@@ -2223,14 +2848,16 @@ export interface ReferenceValue {
2223
2848
  export interface ReferenceValueInput {
2224
2849
  /** The identifier of the data type this reference value belongs to */
2225
2850
  dataTypeIdentifier: DataTypeIdentifierInput;
2226
- /** The primary level of the reference value */
2227
- primaryLevel: Scalars['Int']['input'];
2851
+ /** The depth of the reference value */
2852
+ depth: Scalars['Int']['input'];
2853
+ /** The node of the reference */
2854
+ node: Scalars['Int']['input'];
2855
+ /** The referenced value */
2856
+ nodeFunctionId: Scalars['NodeFunctionID']['input'];
2228
2857
  /** The paths associated with this reference value */
2229
2858
  referencePath: Array<ReferencePathInput>;
2230
- /** The secondary level of the reference value */
2231
- secondaryLevel: Scalars['Int']['input'];
2232
- /** The tertiary level of the reference value */
2233
- tertiaryLevel?: InputMaybe<Scalars['Int']['input']>;
2859
+ /** The scope of the reference value */
2860
+ scope: Array<Scalars['Int']['input']>;
2234
2861
  }
2235
2862
 
2236
2863
  /** Represents a runtime */
@@ -2258,6 +2885,8 @@ export interface Runtime {
2258
2885
  token?: Maybe<Scalars['String']['output']>;
2259
2886
  /** Time when this Runtime was last updated */
2260
2887
  updatedAt?: Maybe<Scalars['Time']['output']>;
2888
+ /** Abilities for the current user on this Runtime */
2889
+ userAbilities?: Maybe<RuntimeUserAbilities>;
2261
2890
  }
2262
2891
 
2263
2892
 
@@ -2387,6 +3016,17 @@ export const enum RuntimeStatusType {
2387
3016
  Disconnected = 'DISCONNECTED'
2388
3017
  }
2389
3018
 
3019
+ /** Abilities for the current user on this Runtime */
3020
+ export interface RuntimeUserAbilities {
3021
+ __typename?: 'RuntimeUserAbilities';
3022
+ /** Shows if the current user has the `delete_runtime` ability on this Runtime */
3023
+ deleteRuntime?: Maybe<Scalars['Boolean']['output']>;
3024
+ /** Shows if the current user has the `rotate_runtime_token` ability on this Runtime */
3025
+ rotateRuntimeToken?: Maybe<Scalars['Boolean']['output']>;
3026
+ /** Shows if the current user has the `update_runtime` ability on this Runtime */
3027
+ updateRuntime?: Maybe<Scalars['Boolean']['output']>;
3028
+ }
3029
+
2390
3030
  /** Autogenerated input type of RuntimesCreate */
2391
3031
  export interface RuntimesCreateInput {
2392
3032
  /** A unique identifier for the client performing the mutation. */
@@ -2471,6 +3111,21 @@ export interface RuntimesUpdatePayload {
2471
3111
  runtime?: Maybe<Runtime>;
2472
3112
  }
2473
3113
 
3114
+ /** Represents the configuration for a SAML identity provider. */
3115
+ export interface SamlIdentityProviderConfig {
3116
+ __typename?: 'SamlIdentityProviderConfig';
3117
+ /** List of attribute statements for the SAML identity provider */
3118
+ attributeStatements?: Maybe<Scalars['JSON']['output']>;
3119
+ /** The metadata url to fetch the metadatas (replacement for settings) */
3120
+ metadataUrl?: Maybe<Scalars['String']['output']>;
3121
+ /** The name of the SAML identity provider */
3122
+ providerName?: Maybe<Scalars['String']['output']>;
3123
+ /** The SAML response settings for the identity provider */
3124
+ responseSettings?: Maybe<Scalars['JSON']['output']>;
3125
+ /** The SAML settings for the identity provider */
3126
+ settings?: Maybe<Scalars['JSON']['output']>;
3127
+ }
3128
+
2474
3129
  /** Represents a translation */
2475
3130
  export interface Translation {
2476
3131
  __typename?: 'Translation';
@@ -2523,6 +3178,8 @@ export interface User {
2523
3178
  identities?: Maybe<UserIdentityConnection>;
2524
3179
  /** Lastname of the user */
2525
3180
  lastname?: Maybe<Scalars['String']['output']>;
3181
+ /** Multi-factor authentication status of this user */
3182
+ mfaStatus?: Maybe<MfaStatus>;
2526
3183
  /** Namespace of this user */
2527
3184
  namespace?: Maybe<Namespace>;
2528
3185
  /** Namespace Memberships of this user */
@@ -2531,6 +3188,8 @@ export interface User {
2531
3188
  sessions?: Maybe<UserSessionConnection>;
2532
3189
  /** Time when this User was last updated */
2533
3190
  updatedAt?: Maybe<Scalars['Time']['output']>;
3191
+ /** Abilities for the current user on this User */
3192
+ userAbilities?: Maybe<UserUserAbilities>;
2534
3193
  /** Username of the user */
2535
3194
  username?: Maybe<Scalars['String']['output']>;
2536
3195
  }
@@ -2638,6 +3297,8 @@ export interface UserSession {
2638
3297
  updatedAt?: Maybe<Scalars['Time']['output']>;
2639
3298
  /** User that belongs to the session */
2640
3299
  user?: Maybe<User>;
3300
+ /** Abilities for the current user on this UserSession */
3301
+ userAbilities?: Maybe<UserSessionUserAbilities>;
2641
3302
  }
2642
3303
 
2643
3304
  /** The connection type for UserSession. */
@@ -2662,6 +3323,72 @@ export interface UserSessionEdge {
2662
3323
  node?: Maybe<UserSession>;
2663
3324
  }
2664
3325
 
3326
+ /** Abilities for the current user on this UserSession */
3327
+ export interface UserSessionUserAbilities {
3328
+ __typename?: 'UserSessionUserAbilities';
3329
+ /** Shows if the current user has the `logout_session` ability on this UserSession */
3330
+ logoutSession?: Maybe<Scalars['Boolean']['output']>;
3331
+ }
3332
+
3333
+ /** Abilities for the current user on this User */
3334
+ export interface UserUserAbilities {
3335
+ __typename?: 'UserUserAbilities';
3336
+ /** Shows if the current user has the `manage_mfa` ability on this User */
3337
+ manageMfa?: Maybe<Scalars['Boolean']['output']>;
3338
+ /** Shows if the current user has the `update_user` ability on this User */
3339
+ updateUser?: Maybe<Scalars['Boolean']['output']>;
3340
+ }
3341
+
3342
+ /** Autogenerated input type of UsersCreate */
3343
+ export interface UsersCreateInput {
3344
+ /** Admin status for the user. */
3345
+ admin?: InputMaybe<Scalars['Boolean']['input']>;
3346
+ /** A unique identifier for the client performing the mutation. */
3347
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3348
+ /** Email for the user. */
3349
+ email: Scalars['String']['input'];
3350
+ /** Firstname for the user. */
3351
+ firstname?: InputMaybe<Scalars['String']['input']>;
3352
+ /** Lastname for the user. */
3353
+ lastname?: InputMaybe<Scalars['String']['input']>;
3354
+ /** Password for the user. */
3355
+ password: Scalars['String']['input'];
3356
+ /** Password repeat for the user to check for typos. */
3357
+ passwordRepeat: Scalars['String']['input'];
3358
+ /** Username for the user. */
3359
+ username: Scalars['String']['input'];
3360
+ }
3361
+
3362
+ /** Autogenerated return type of UsersCreate. */
3363
+ export interface UsersCreatePayload {
3364
+ __typename?: 'UsersCreatePayload';
3365
+ /** A unique identifier for the client performing the mutation. */
3366
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3367
+ /** Errors encountered during execution of the mutation. */
3368
+ errors?: Maybe<Array<Error>>;
3369
+ /** The created user. */
3370
+ user?: Maybe<User>;
3371
+ }
3372
+
3373
+ /** Autogenerated input type of UsersDelete */
3374
+ export interface UsersDeleteInput {
3375
+ /** A unique identifier for the client performing the mutation. */
3376
+ clientMutationId?: InputMaybe<Scalars['String']['input']>;
3377
+ /** The user to delete. */
3378
+ userId: Scalars['UserID']['input'];
3379
+ }
3380
+
3381
+ /** Autogenerated return type of UsersDelete. */
3382
+ export interface UsersDeletePayload {
3383
+ __typename?: 'UsersDeletePayload';
3384
+ /** A unique identifier for the client performing the mutation. */
3385
+ clientMutationId?: Maybe<Scalars['String']['output']>;
3386
+ /** Errors encountered during execution of the mutation. */
3387
+ errors?: Maybe<Array<Error>>;
3388
+ /** The deleted user. */
3389
+ user?: Maybe<User>;
3390
+ }
3391
+
2665
3392
  /** Autogenerated input type of UsersEmailVerification */
2666
3393
  export interface UsersEmailVerificationInput {
2667
3394
  /** A unique identifier for the client performing the mutation. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/sagittarius-graphql-types",
3
- "version": "0.0.0-00f33663039d78ad59e95306730878c687de5c48",
3
+ "version": "0.0.0-16d8abee165643bc88d0836cbeec8f0ed4ff6f0f",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",