@code0-tech/sagittarius-graphql-types 0.0.0-beb91167a8ea12eb6d4a6e3933483bacf845f2f6 → 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 (2) hide show
  1. package/index.d.ts +342 -16
  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,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 */
@@ -112,6 +124,24 @@ export interface DataType {
112
124
  }
113
125
 
114
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
+
115
145
  /** Represents a DataType */
116
146
  export interface DataTypeNameArgs {
117
147
  after?: InputMaybe<Scalars['String']['input']>;
@@ -296,7 +326,7 @@ export const enum DataTypeRulesVariant {
296
326
  /** The rule checks if a specific type is present in the data type. */
297
327
  ContainsType = 'CONTAINS_TYPE',
298
328
  /** The rule checks if the data type matches a specific input type. */
299
- InputType = 'INPUT_TYPE',
329
+ InputTypes = 'INPUT_TYPES',
300
330
  /** The rule checks if an item is part of a collection in the data type. */
301
331
  ItemOfCollection = 'ITEM_OF_COLLECTION',
302
332
  /** The rule checks if a number falls within a specified range. */
@@ -327,6 +357,9 @@ export const enum DataTypeVariant {
327
357
  Type = 'TYPE'
328
358
  }
329
359
 
360
+ /** Represents a detailed error with either a message or an active model error */
361
+ export type DetailedError = ActiveModelError | FlowValidationError | MessageError;
362
+
330
363
  /** Autogenerated input type of Echo */
331
364
  export interface EchoInput {
332
365
  /** A unique identifier for the client performing the mutation. */
@@ -347,12 +380,11 @@ export interface EchoPayload {
347
380
  }
348
381
 
349
382
  /** Objects that can present an error */
350
- export type Error = ActiveModelError | ErrorCode | MessageError;
351
-
352
- /** Represents an error code */
353
- export interface ErrorCode {
354
- __typename?: 'ErrorCode';
355
- /** The error code */
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 */
356
388
  errorCode?: Maybe<ErrorCodeEnum>;
357
389
  }
358
390
 
@@ -360,50 +392,144 @@ export interface ErrorCode {
360
392
  export const enum ErrorCodeEnum {
361
393
  /** This action would remove the last administrative role */
362
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',
363
399
  /** This action would remove the last administrator */
364
400
  CannotRemoveLastAdministrator = 'CANNOT_REMOVE_LAST_ADMINISTRATOR',
365
401
  /** This action would remove the last administrative ability */
366
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',
367
409
  /** This external identity does not exist */
368
410
  ExternalIdentityDoesNotExist = 'EXTERNAL_IDENTITY_DOES_NOT_EXIST',
369
411
  /** The old backup codes could not be deleted */
370
412
  FailedToInvalidateOldBackupCodes = 'FAILED_TO_INVALIDATE_OLD_BACKUP_CODES',
413
+ /** Failed to reset the user password */
414
+ FailedToResetPassword = 'FAILED_TO_RESET_PASSWORD',
371
415
  /** The new backup codes could not be saved */
372
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',
373
423
  /** The given key was not found in the data type */
374
424
  GenericKeyNotFound = 'GENERIC_KEY_NOT_FOUND',
425
+ /** The external identity with the given identifier was not found */
426
+ IdentityNotFound = 'IDENTITY_NOT_FOUND',
375
427
  /** Failed to validate the external identity */
376
428
  IdentityValidationFailed = 'IDENTITY_VALIDATION_FAILED',
377
429
  /** Resources are from different namespaces */
378
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',
379
435
  /** This external identity is invalid */
380
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',
381
445
  /** Invalid login data provided */
382
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',
383
469
  /** Invalid setting provided */
384
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',
385
479
  /** Invalid verification code provided */
386
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',
387
485
  /** Invalid MFA data provided */
388
486
  MfaFailed = 'MFA_FAILED',
389
487
  /** MFA is required */
390
488
  MfaRequired = 'MFA_REQUIRED',
489
+ /** The primary runtime has more definitions than this one */
490
+ MissingDefinition = 'MISSING_DEFINITION',
391
491
  /** This external identity is missing data */
392
492
  MissingIdentityData = 'MISSING_IDENTITY_DATA',
393
493
  /** Not all required parameters are present */
394
494
  MissingParameter = 'MISSING_PARAMETER',
395
495
  /** The user is not permitted to perform this operation */
396
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',
397
511
  /** There are no free license seats to complete this operation */
398
512
  NoFreeLicenseSeats = 'NO_FREE_LICENSE_SEATS',
513
+ /** No generic type could be found for the given identifier */
514
+ NoGenericTypeForIdentifier = 'NO_GENERIC_TYPE_FOR_IDENTIFIER',
399
515
  /** The project does not have a primary runtime */
400
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',
401
521
  /** @deprecated Outdated concept */
402
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',
403
527
  /** Self-registration is disabled */
404
528
  RegistrationDisabled = 'REGISTRATION_DISABLED',
405
529
  /** Resources are from different runtimes */
406
530
  RuntimeMismatch = 'RUNTIME_MISMATCH',
531
+ /** The runtime with the given identifier was not found */
532
+ RuntimeNotFound = 'RUNTIME_NOT_FOUND',
407
533
  /** @deprecated Outdated concept */
408
534
  SecondaryLevelNotFound = 'SECONDARY_LEVEL_NOT_FOUND',
409
535
  /** @deprecated Outdated concept */
@@ -412,6 +538,10 @@ export const enum ErrorCodeEnum {
412
538
  TotpSecretAlreadySet = 'TOTP_SECRET_ALREADY_SET',
413
539
  /** The user is not permitted to modify this field */
414
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',
415
545
  /** Invalid TOTP code provided */
416
546
  WrongTotp = 'WRONG_TOTP'
417
547
  }
@@ -487,10 +617,12 @@ export interface FlowEdge {
487
617
  export interface FlowInput {
488
618
  /** The name of the flow */
489
619
  name: Scalars['String']['input'];
620
+ /** The node functions of the flow */
621
+ nodes: Array<NodeFunctionInput>;
490
622
  /** The settings of the flow */
491
623
  settings?: InputMaybe<Array<FlowSettingInput>>;
492
624
  /** The starting node of the flow */
493
- startingNode: NodeFunctionInput;
625
+ startingNodeId: Scalars['NodeFunctionID']['input'];
494
626
  /** The identifier of the flow type */
495
627
  type: Scalars['FlowTypeID']['input'];
496
628
  }
@@ -535,24 +667,28 @@ export interface FlowSettingEdge {
535
667
  /** Input type for flow settings */
536
668
  export interface FlowSettingInput {
537
669
  /** The identifier (not database id) of the flow setting */
538
- flowSettingId: Scalars['String']['input'];
670
+ flowSettingIdentifier: Scalars['String']['input'];
539
671
  /** The value of the flow setting */
540
- object: Scalars['JSON']['input'];
672
+ value: Scalars['JSON']['input'];
541
673
  }
542
674
 
543
675
  /** Represents a flow type */
544
676
  export interface FlowType {
545
677
  __typename?: 'FlowType';
678
+ /** Name of the function */
679
+ aliases?: Maybe<TranslationConnection>;
546
680
  /** Time when this FlowType was created */
547
681
  createdAt?: Maybe<Scalars['Time']['output']>;
548
682
  /** Descriptions of the flow type */
549
683
  descriptions?: Maybe<TranslationConnection>;
684
+ /** Display message of the function */
685
+ displayMessages?: Maybe<TranslationConnection>;
550
686
  /** Editable status of the flow type */
551
687
  editable?: Maybe<Scalars['Boolean']['output']>;
552
688
  /** Flow type settings of the flow type */
553
689
  flowTypeSettings?: Maybe<Array<FlowTypeSetting>>;
554
690
  /** Global ID of this FlowType */
555
- id?: Maybe<Scalars['TypesFlowTypeID']['output']>;
691
+ id?: Maybe<Scalars['FlowTypeID']['output']>;
556
692
  /** Identifier of the flow type */
557
693
  identifier?: Maybe<Scalars['String']['output']>;
558
694
  /** Input type of the flow type */
@@ -566,6 +702,15 @@ export interface FlowType {
566
702
  }
567
703
 
568
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
+
569
714
  /** Represents a flow type */
570
715
  export interface FlowTypeDescriptionsArgs {
571
716
  after?: InputMaybe<Scalars['String']['input']>;
@@ -575,6 +720,15 @@ export interface FlowTypeDescriptionsArgs {
575
720
  }
576
721
 
577
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
+
578
732
  /** Represents a flow type */
579
733
  export interface FlowTypeNamesArgs {
580
734
  after?: InputMaybe<Scalars['String']['input']>;
@@ -653,15 +807,62 @@ export interface FlowUserAbilities {
653
807
  deleteFlow?: Maybe<Scalars['Boolean']['output']>;
654
808
  }
655
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
+
656
853
  /** Represents a function definition */
657
854
  export interface FunctionDefinition {
658
855
  __typename?: 'FunctionDefinition';
856
+ /** Name of the function */
857
+ aliases?: Maybe<TranslationConnection>;
659
858
  /** Time when this FunctionDefinition was created */
660
859
  createdAt?: Maybe<Scalars['Time']['output']>;
661
860
  /** Deprecation message of the function */
662
861
  deprecationMessages?: Maybe<TranslationConnection>;
663
862
  /** Description of the function */
664
863
  descriptions?: Maybe<TranslationConnection>;
864
+ /** Display message of the function */
865
+ displayMessages?: Maybe<TranslationConnection>;
665
866
  /** Documentation of the function */
666
867
  documentations?: Maybe<TranslationConnection>;
667
868
  /** Generic keys of the function */
@@ -685,6 +886,15 @@ export interface FunctionDefinition {
685
886
  }
686
887
 
687
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
+
688
898
  /** Represents a function definition */
689
899
  export interface FunctionDefinitionDeprecationMessagesArgs {
690
900
  after?: InputMaybe<Scalars['String']['input']>;
@@ -703,6 +913,15 @@ export interface FunctionDefinitionDescriptionsArgs {
703
913
  }
704
914
 
705
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
+
706
925
  /** Represents a function definition */
707
926
  export interface FunctionDefinitionDocumentationsArgs {
708
927
  after?: InputMaybe<Scalars['String']['input']>;
@@ -794,7 +1013,7 @@ export interface GenericMapper {
794
1013
  /** Input type for generic mappers */
795
1014
  export interface GenericMapperInput {
796
1015
  /** The source data type identifier for the mapper */
797
- sources: Array<DataTypeIdentifierInput>;
1016
+ sourceDataTypeIdentifiers: Array<DataTypeIdentifierInput>;
798
1017
  /** The target data type identifier for the mapper */
799
1018
  target: Scalars['String']['input'];
800
1019
  }
@@ -863,6 +1082,15 @@ export interface MessageError {
863
1082
  message?: Maybe<Scalars['String']['output']>;
864
1083
  }
865
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
+
866
1094
  /** Represents the input for mfa authentication */
867
1095
  export interface MfaInput {
868
1096
  /** The type of the mfa authentication */
@@ -938,6 +1166,10 @@ export interface Mutation {
938
1166
  runtimesRotateToken?: Maybe<RuntimesRotateTokenPayload>;
939
1167
  /** Update an existing runtime. */
940
1168
  runtimesUpdate?: Maybe<RuntimesUpdatePayload>;
1169
+ /** Admin-create a user. */
1170
+ usersCreate?: Maybe<UsersCreatePayload>;
1171
+ /** Delete an existing user. */
1172
+ usersDelete?: Maybe<UsersDeletePayload>;
941
1173
  /** Verify your email when changing it or signing up */
942
1174
  usersEmailVerification?: Maybe<UsersEmailVerificationPayload>;
943
1175
  /** Links an external identity to an existing user */
@@ -1119,6 +1351,18 @@ export interface MutationRuntimesUpdateArgs {
1119
1351
  }
1120
1352
 
1121
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
+
1122
1366
  /** Root Mutation type */
1123
1367
  export interface MutationUsersEmailVerificationArgs {
1124
1368
  input: UsersEmailVerificationInput;
@@ -1453,6 +1697,8 @@ export interface NamespaceProject {
1453
1697
  namespace?: Maybe<Namespace>;
1454
1698
  /** The primary runtime for the project */
1455
1699
  primaryRuntime?: Maybe<Runtime>;
1700
+ /** Roles assigned to this project */
1701
+ roles?: Maybe<NamespaceRoleConnection>;
1456
1702
  /** Runtimes assigned to this project */
1457
1703
  runtimes?: Maybe<RuntimeConnection>;
1458
1704
  /** Time when this NamespaceProject was last updated */
@@ -1477,6 +1723,15 @@ export interface NamespaceProjectFlowsArgs {
1477
1723
  }
1478
1724
 
1479
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
+
1480
1735
  /** Represents a namespace project */
1481
1736
  export interface NamespaceProjectRuntimesArgs {
1482
1737
  after?: InputMaybe<Scalars['String']['input']>;
@@ -1531,6 +1786,8 @@ export interface NamespaceRole {
1531
1786
  createdAt?: Maybe<Scalars['Time']['output']>;
1532
1787
  /** Global ID of this NamespaceRole */
1533
1788
  id?: Maybe<Scalars['NamespaceRoleID']['output']>;
1789
+ /** The members this role is assigned to */
1790
+ members?: Maybe<NamespaceMemberConnection>;
1534
1791
  /** The name of this role */
1535
1792
  name?: Maybe<Scalars['String']['output']>;
1536
1793
  /** The namespace where this role belongs to */
@@ -1550,6 +1807,15 @@ export interface NamespaceRoleAssignedProjectsArgs {
1550
1807
  last?: InputMaybe<Scalars['Int']['input']>;
1551
1808
  }
1552
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
+
1553
1819
  /** Represents abilities that can be granted to roles in namespaces. */
1554
1820
  export const enum NamespaceRoleAbility {
1555
1821
  /** Allows to change the roles of a namespace member */
@@ -2044,8 +2310,10 @@ export interface NodeFunctionEdge {
2044
2310
 
2045
2311
  /** Input type for a Node Function */
2046
2312
  export interface NodeFunctionInput {
2313
+ /** The identifier of the Node Function used to create/update the flow */
2314
+ id: Scalars['NodeFunctionID']['input'];
2047
2315
  /** The next Node Function in the flow */
2048
- nextNode?: InputMaybe<NodeFunctionInput>;
2316
+ nextNodeId?: InputMaybe<Scalars['NodeFunctionID']['input']>;
2049
2317
  /** The parameters of the Node Function */
2050
2318
  parameters: Array<NodeParameterInput>;
2051
2319
  /** The identifier of the Runtime Function Definition */
@@ -2303,8 +2571,8 @@ export interface ParameterDefinitionEdge {
2303
2571
  /** Root Query type */
2304
2572
  export interface Query {
2305
2573
  __typename?: 'Query';
2306
- /** Get global application settings */
2307
- applicationSettings?: Maybe<ApplicationSettings>;
2574
+ /** Get application information */
2575
+ application?: Maybe<Application>;
2308
2576
  /** Get the currently logged in authentication */
2309
2577
  currentAuthentication?: Maybe<Authentication>;
2310
2578
  /** Get the currently logged in user */
@@ -2323,6 +2591,8 @@ export interface Query {
2323
2591
  organization?: Maybe<Organization>;
2324
2592
  /** Find organizations */
2325
2593
  organizations?: Maybe<OrganizationConnection>;
2594
+ /** Find a user */
2595
+ user?: Maybe<User>;
2326
2596
  /** Abilities for the current user on this Instance */
2327
2597
  userAbilities?: Maybe<InstanceUserAbilities>;
2328
2598
  /** Find users */
@@ -2379,6 +2649,12 @@ export interface QueryOrganizationsArgs {
2379
2649
  }
2380
2650
 
2381
2651
 
2652
+ /** Root Query type */
2653
+ export interface QueryUserArgs {
2654
+ id: Scalars['UserID']['input'];
2655
+ }
2656
+
2657
+
2382
2658
  /** Root Query type */
2383
2659
  export interface QueryUsersArgs {
2384
2660
  after?: InputMaybe<Scalars['String']['input']>;
@@ -2911,6 +3187,56 @@ export interface UserUserAbilities {
2911
3187
  updateUser?: Maybe<Scalars['Boolean']['output']>;
2912
3188
  }
2913
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>;
3238
+ }
3239
+
2914
3240
  /** Autogenerated input type of UsersEmailVerification */
2915
3241
  export interface UsersEmailVerificationInput {
2916
3242
  /** 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-beb91167a8ea12eb6d4a6e3933483bacf845f2f6",
3
+ "version": "0.0.0-ca5a2e89e8ecc3f5f20bf795a7da11d37e15e88e",
4
4
  "description": "",
5
5
  "main": "index.d.ts",
6
6
  "types": "index.d.ts",